Commit Graph

951 Commits (9798b2b4c659ba7f626c5cdad68453def0f01fc2)

Author SHA1 Message Date
Andrew Dolgov e955834551 support import and export of tt-rss preferences in OPML with DOMDocument OPML path 15 years ago
Andrew Dolgov a1af157410 Fix several problems with image download
Fix fetch_file_contents, so that it returns the contents even if the data isn't
an image. This is needed because the get_favicon_url function tries to download
the webpage using this function, to see if there is a favicon in the page.

The function now takes an optional $type parameter. This parameter control if
the calling function cares about the content-type, or if the function should
just return everything. If the $type parameter is set, the content-type should
contain the string contained in $type, otherwise the function returns false.

The second problem solved with this patch, is that the temporary file that
should contain the image was empty in some cases. I never found out why this
happended, but as curl_exec is capable of returning the fetched data, thus
eliminating the need for the temporary file all together, the function have
been changed to use this way of obtaining the data.

The last problem fixed by this patch is that curl will now follow redirects.

Author: Klaus S. Madsen <ksm@42.dk>
15 years ago
Matt Katz e0dc56d466 added function for publish_opml 15 years ago
Andrew Dolgov e656b9f7db update_rss_feed: properly handle enginge changes when using memcached 15 years ago
Andrew Dolgov ed41f171cb catchupArticlesById: return when there are no ids to catchup 15 years ago
Andrew Dolgov fa3317be48 allow filtering by article author (bump schema) 15 years ago
Andrew Dolgov 02b289d661 feedlist: replace a elements with spans 15 years ago
Andrew Dolgov 4c59adb1de make_lockfile: only call posix_getpid() if it actually exists (hello, win32) 15 years ago
Andrew Dolgov 82acc36dba make_lockfile: save current PID 15 years ago
Andrew Dolgov 44cfa02554 better image attachment detection for inlining 15 years ago
Andrew Dolgov b92fbcd8a5 only check for themes when there is a logged-in user 15 years ago
Andrew Dolgov a522a76734 Revert "theme_image: do not display themed image if noone is logged in"
bad patch

This reverts commit 0b9751cd65.
15 years ago
Andrew Dolgov e8f2df110d Merge branch 'master' of bah.org.ru:public_html/testbox/tt-rss 15 years ago
Andrew Dolgov 0b9751cd65 theme_image: do not display themed image if noone is logged in 15 years ago
Andrew Dolgov 4d50f419ee fix multiple TAG filters not being applied properly 15 years ago
Andrew Dolgov 2712bcea09 unbreak published feed when not logged in 15 years ago
Andrew Dolgov c633e370ec update_rss_feed: handle multiple feeds with the same URL at once 15 years ago
Andrew Dolgov 6e4f0519b7 update_rss_feed: remove memcache support 15 years ago
Andrew Dolgov 2bef21a79f update_rss_feed: compress memcache data 15 years ago
Andrew Dolgov 602690e577 update_rss_feed: use memcache 15 years ago
Andrew Dolgov c517f9b7e5 load_filters: use memcache (2) 15 years ago
Andrew Dolgov 1f01132802 load_filters: use memcache (fix obj_id) 15 years ago
Andrew Dolgov b8ffa322a8 load_filters: use memcache 15 years ago
Andrew Dolgov eb6c7f4240 getSearchSql: support excluding keywords with - 15 years ago
Andrew Dolgov d721a5471f support memcached in label ops 15 years ago
Andrew Dolgov bd3f2ade87 editTagsSave: invalidate article cache 15 years ago
Andrew Dolgov 99857ae330 get_article_enclosures: remove debugging 15 years ago
Andrew Dolgov be35798b84 add get_article_enclosures(); initial support for memcached 15 years ago
Andrew Dolgov 3809b27874 remove config option SMART_RPC_COUNTERS 15 years ago
Andrew Dolgov e71f261009 replace some theme-specific frontend hooks with theme options 15 years ago
Andrew Dolgov ba5698285b display proper loading indicator for categories 15 years ago
Andrew Dolgov 883fee8df0 neon updates; make more icons themeable; misc fixes 15 years ago
Andrew Dolgov e982360967 do not require themed images to be overridden 15 years ago
Andrew Dolgov b97e6e0267 reorganize theme support; add some themeable icons; add neon theme 15 years ago
Andrew Dolgov dce46cade3 query themes from filesystem; obsolete ttrss_themes 15 years ago
Andrew Dolgov 6ba506224e get_user_theme_path: cache data 15 years ago
Andrew Dolgov cd039c0473 get_user_theme_path: fix typecasting 15 years ago
Andrew Dolgov 05044a59d7 validate_session: check for schema version 15 years ago
Andrew Dolgov 199db684f3 get_schema_version: add nocache parameter 15 years ago
Andrew Dolgov f9aa6a898f updating issue fix for schema 63 (2) 15 years ago
Andrew Dolgov e4c51a6ce9 probable fix for schema 63 updating problem 15 years ago
Andrew Dolgov f0c33497b1 remove _DEBUG_USER_SWITCH 15 years ago
Andrew Dolgov d9084cf220 implement settings profiles (bump schema) 15 years ago
Andrew Dolgov a5819bb35d code cleanup; remove unnecessary callbacks; rework subscribtion dialog 15 years ago
Andrew Dolgov 7514749de7 rewrite links to open in new window in sanitize_rss(); css tweaks 15 years ago
Andrew Dolgov 2ae691263f some more button-related fixes; code cleanup 15 years ago
Andrew Dolgov 698776460d move feed browser to subscribe to feed dialog 15 years ago
Andrew Dolgov 84d7198a10 only allow delete action for articles from archived feed 15 years ago
Andrew Dolgov 117335bfcb obsolete and disable use of ttrss_feeds.hidden 15 years ago
Andrew Dolgov 74d22f0c30 remove_feed: properly save orig_feed_id when moving articles to archive 15 years ago
Andrew Dolgov 80db11136e getFeedTitle: fix for tag vfeeds (2) 15 years ago
Andrew Dolgov d5e7166533 getFeedTitle: fix for tag vfeeds 15 years ago
Andrew Dolgov fbaca24658 do not display image attachments inline when STRIP_IMAGES is enabled 15 years ago
Andrew Dolgov 938052bac8 add catchup button to main toolbar 15 years ago
Andrew Dolgov 0a6e5382cf move virt feeds counter display to getVirtCounters() 15 years ago
Andrew Dolgov 22fdebff47 misc code cleanup around queryFeedHeadlines() 15 years ago
Andrew Dolgov 326469fcb5 getFeedArticles/getFeedUnread: add support for tag feeds 15 years ago
Andrew Dolgov b4e75b2a25 use POST parameters for frontend requests 15 years ago
Andrew Dolgov 59e15af458 getCategoryUnread: properly calculate counts for cat -1 15 years ago
Andrew Dolgov a545dc31a4 properly check for article ownership in getArticleFeed() 15 years ago
Andrew Dolgov ab197ae1de update ccache in catchupArticleById(); misc counter-related tweaks; add getArticleFeed() 15 years ago
Andrew Dolgov e1050aec22 reorder virtual feeds 15 years ago
Andrew Dolgov f65ffc2d74 various icon tweaks 15 years ago
Andrew Dolgov 4bee8b5f9d assorted fixes 15 years ago
Andrew Dolgov 494a64eaac show originating feed info in CDM 15 years ago
Andrew Dolgov ef83538d2e show originating feed info when viewing archived article 15 years ago
Andrew Dolgov 8056ec5011 properly initialize archived_feed info when removing feed 15 years ago
Andrew Dolgov 16fdac16c0 add archive_article() 15 years ago
Andrew Dolgov dbfc436519 getFeedUnread: fix incorrect counters being returned 15 years ago
Andrew Dolgov e04c18a2c2 implement archived articles feed; bump schema 15 years ago
Andrew Dolgov 7e329f13ab add remove_feed() and remove_feed_category() 15 years ago
Andrew Dolgov 5163fc709e display label colors in headlines subtoolbar 15 years ago
Andrew Dolgov 7f969260c1 add toggle_collapse_cat() 15 years ago
Andrew Dolgov 57937c42b9 obsolete cookie storage for collapsed status of feedlist and special categories (bump schema) 15 years ago
Andrew Dolgov 5de668eddc move some aux files to lib/ 15 years ago
Andrew Dolgov afb12ed0d0 prepare login redirect for mobile/classic 15 years ago
Andrew Dolgov af88c48a3a mobile: misc fixes; add getFeedIcon() 15 years ago
Andrew Dolgov 95004daf9d mobile: implement WIP pagination for flat feedlist 15 years ago
Andrew Dolgov c6dbeedc44 printCategoryHeader: unbreak Konqueror 15 years ago
Andrew Dolgov 2a41fc9790 only accept favicons which are actual images while using CURL (closes #261) 15 years ago
Andrew Dolgov 24ecbcae50 outputArticleXML: display tags in zoom mode 15 years ago
Andrew Dolgov a3162add37 add ca_CA translation 15 years ago
Andrew Dolgov ceb0cab568 generate_syndicated_feed: properly pass owner_uid to sanitize_rss() (closes #256) 15 years ago
Andrew Dolgov 36d0510ced add es_ES translation 15 years ago
Andrew Dolgov b171066641 misc dialog tweaks 15 years ago
Andrew Dolgov 6e35a862dd fix view() being called twice on every headline click, experimental progress indicators for feedlist/headlines 15 years ago
Andrew Dolgov 54e61a6809 add option to force display attachments in feeds (implementation) 15 years ago
Andrew Dolgov 275a0af23d format_tags_string: improve detection of layout breaking extra-long tag strings 15 years ago
Andrew Dolgov 51682b2330 move inline player generation code into separate function; disable support for native html5 player due to unsolved usability reasons (closes #246) 15 years ago
Andrew Dolgov 7d939be751 fix width/height for static img tags (excludes selected dynamic content) (closes #245) 15 years ago
Andrew Dolgov db54143e88 rework article note appearance 15 years ago
Andrew Dolgov c9efd838a9 properly allow article to be expanded in CDM mode when article excerpt is blank 15 years ago
Andrew Dolgov 784ac51f88 add separate indicator for fresh articles 15 years ago
Andrew Dolgov 9324c2c24f rework appearance of audio/video tags patch 16 years ago
Andrew Dolgov 99ea1043da http_authenticate_user: remove unnecessary logging 16 years ago
Andrew Dolgov bc03c563de call sanitize_rss() when generating syndicated feeds 16 years ago
Andrew Dolgov f45a286b8d strip_tags_long: use htmlpurifier to properly reformat html content 16 years ago
Andrew Dolgov 95f67d2ebc add support for HTML5 way of playing audio/video enclosures (closes #246) 16 years ago
Andrew Dolgov 70c9b17314 feedlist: htmlspecialchars() feed title 16 years ago
Andrew Dolgov 41f7498af3 tag_is_valid: add length checking 16 years ago