summaryrefslogtreecommitdiff
path: root/classes/article.php
AgeCommit message (Collapse)Author
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
2018-12-07format_article_enclosures: i don't think we need so many <hr>sAndrew Dolgov
2018-12-06article note format updatesAndrew Dolgov
2018-12-06simplify zoom mode displayAndrew Dolgov
2018-12-06rework article header to use flexboxAndrew Dolgov
2018-12-06rework scoring display, JS processing and iconsAndrew Dolgov
2018-12-05remove pub_{set,unset}.png usage in main codeAndrew Dolgov
2018-12-03remove some plugin JS code out of global contextAndrew Dolgov
2018-12-02Feeds: shorten some method namesAndrew Dolgov
finally rename "view as rss"
2018-12-02Article, Headlines: shorten several method namesAndrew Dolgov
2018-12-01further effocts to wrap JS stuff into objectsAndrew Dolgov
2018-12-01WIP reshuffling of JS global context into separate logical objectsAndrew Dolgov
2018-12-01minor refactoring: normalize some function names; cleanup; etcAndrew Dolgov
2018-11-30minor css fixes (mostly for zoom mode)Andrew Dolgov
2018-11-30rework some styles related to three panel modeAndrew Dolgov
2018-11-30debug logging system rework:Andrew Dolgov
* support various logging levels per-message * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc * _debug() is kept as a compatibility shim for plugins