summaryrefslogtreecommitdiff
path: root/classes/article.php
AgeCommit message (Collapse)Author
2021-02-16_format_enclosures: always return entries arrayAndrew Dolgov
2021-02-15diskcache: unify namingAndrew Dolgov
2021-02-15article: unify namingAndrew Dolgov
2021-02-15edit tags: use client dialogAndrew Dolgov
2021-02-15render enclosures on the clientAndrew Dolgov
2021-02-14Lazy load image attachmentsJoseph
2021-02-13fail better if requested article URL is blankAndrew Dolgov
2021-02-12rework a few more dialogs to use App.dialogOf()Andrew Dolgov
2021-02-09make ARTICLE_KIND_ constants class membersAndrew Dolgov
2021-02-08more hooks, also add type hint for PluginHost::getInstance()Andrew Dolgov
2021-02-08some more hooksAndrew Dolgov
2021-02-08move some old-style handlers to new callback onesAndrew Dolgov
2021-02-06fix even more warnings reported by phpstanAndrew Dolgov
2021-02-05initial WIP for php8; bump php version requirement to 7.0Andrew Dolgov
2021-01-15pluginhost: load plugin data automatically (also marks load_data method as ↵Andrew Dolgov
private)
2020-12-20update_rss_feed: fix BLACKLISTED_TAGS not working properly, simplify ↵Andrew Dolgov
tag-related code
2020-12-08Merge branch 'master' of git.fakecake.org:tt-rssAndrew Dolgov
2020-12-08get_article_image: add support for ARTICLE_KIND_ALBUMAndrew Dolgov
2020-12-07setArticleTags: prevent duplicate tags being assigned if called twiceAndrew Dolgov
editTagsDlg: prevent dialot from being submitted twice normalize_categories: filter out empty values that failed validation
2020-12-07get_article_image: return basic kind to which flavor image belongsAndrew Dolgov
2020-09-22use self:: in some places to invoke static methods from the same classAndrew Dolgov
2020-09-17replace FALSE with false so that static analyzer shuts up about itAndrew Dolgov
2020-09-17fix several cases of Db class being invoked as wrong name (as DB)Andrew Dolgov
2020-09-15editarticletags: load dialog via XHRAndrew Dolgov
2020-09-15require CSRF token for Article/redirectAndrew Dolgov
2020-06-05eslint-related fixes; move a few things from global context to AppAndrew Dolgov
2020-01-24scrap counter cache system; rework counters to sum() booleans insteadAndrew Dolgov
2019-11-20tag-related fixesAndrew Dolgov
1. move tag sanitization to feedparser common item class 2. enforce length limit on tags when parsing 3. support multiple tags passed via one dc:subject and other such elements, parse them as a comma-separated list 4. sort resulting tag list to prevent different order between feed updates 5. remove some duplicate code related to tag validation 6. allow + symbol in tags
2019-08-15HOOK_ARTICLE_IMAGE: allow hooks to modify article contentAndrew Dolgov
2019-08-15add HOOK_ARTICLE_IMAGE for Article::get_article_image()Andrew Dolgov
2019-08-14Article::get_article_image() - provide cached URLs if possibleAndrew Dolgov
2019-08-14Article::get_article_image() - set default to "" instead of "false"Andrew Dolgov
2019-08-14Article::get_article_image() - also return stream URI if possibleAndrew Dolgov
2019-08-14* move get_article_image to Article; implement better og:image detection ↵Andrew Dolgov
(similar to android app) * pass article image to API clients in headlines row object
2019-08-14DiskCache: more strict checking for input filenames, getUrl() is no longer ↵Andrew Dolgov
static
2019-08-13* HOOK_ENCLOSURE_ENTRY: pass article_id to handlerAndrew Dolgov
* DiskCache: multiple fixes; support isWritable() for cache entries, set content-disposition for send() * public/cached_url: allow selecting files from sub-caches other than images * plugins/Cache_Starred_Images: rework to use DiskCache, can be enabled per-user, properly handles article enclosures, etc
2019-08-13add DiskCache.getUrl() and use it in a bunch of placesAndrew Dolgov
2019-06-20move several more global functions to more appropriate classesAndrew Dolgov
2019-05-01af_readability: fix HOOK_GET_FULL_TEXT not being installed because plugin ↵Andrew Dolgov
init() is called before load_data()
2019-04-17plugins: add HOOK_GET_FULL_TEXT which may be used to provide full text ↵Andrew Dolgov
extraction to core code and other plugins, instead of trying to invoke af_readability specifically
2019-04-14Merge branch 'hotkeys-focus' of suraia/tt-rss into masterfox
2019-04-14Fix button focus issuesMichael Kuhn
This change introduces derived classes for ComboButton, DropDownButton and Select that make sure that buttons do not remain focused after their menus are closed. This allows using hotkeys after closing them.
2019-04-14update the tsvector_combined when create_published_articlezeed
https://discourse.tt-rss.org/t/create-published-article-doesnt-update-the-tsvector-combined/2277
2019-03-21update: add option to send digestsAndrew Dolgov
2019-02-22dialogs: use semantic markup instead of dlgsec stuffAndrew Dolgov
continue unifying quoting style for html strings
2019-02-01label display: fix unneeded nested container in headlines, increase overall ↵Andrew Dolgov
minimalism, fix label element typo (div1)
2018-12-11score: get correct classes for rows/score icons on the clientAndrew Dolgov
2018-12-10exp: tweak headline label stylesAndrew Dolgov
2018-12-09move Article::format_article() to Handler_PublicAndrew Dolgov
2018-12-08render article on the client using headlines dataAndrew Dolgov