Commit Graph

1165 Commits (84e9a8c7e602b17e45e370659fe7a9f1a1fd5c27)

Author SHA1 Message Date
Andrew Dolgov 08e49bb91d remove tooltip from cdmContent 14 years ago
Andrew Dolgov 0ce338f3cd remove tooltip from hlContent 14 years ago
Andrew Dolgov 85469e1baa try to validate feed-specific icon before adding it to the database 14 years ago
Andrew Dolgov ed2142982b get_favicon_url: rewrite using DOMDocument 14 years ago
Andrew Dolgov fa40373395 use dom to generate linebreaks after images in articles 14 years ago
Andrew Dolgov a9d63d29a1 get_article_filters: silence preg_match() warnings on incorrect user input 14 years ago
Andrew Dolgov 1ede58149d allow selecting multiple headlines/articles by ctrl-click; change click handling on CDM article content 14 years ago
Andrew Dolgov f412e5ad48 make postIcon link to originating website 14 years ago
Andrew Dolgov 5ae8f858a9 fix frontend not knowing about always expanded cdm 14 years ago
Andrew Dolgov 98833033a2 fix ttrss_feeds.icon_url handling 14 years ago
Andrew Dolgov d36f560740 viewfeed: return counters when subop is present or when in CDM 14 years ago
Andrew Dolgov 96811a55e6 sanitize_rss: properly handle empty input 14 years ago
Christian Weiske 923818fc8d use rewrite_relative_url() in get_feeds_from_html() instead of using that hack 14 years ago
Christian Weiske f679105cb2 add unit tests for rewrite_relative_url and fix a number of bugs in it 14 years ago
Christian Weiske 24eb4c780f add unit tests for url_is_html and fix a bug with UPPERCASE <HTML> in it 14 years ago
Christian Weiske 444537736b add unit tests for fix_url() and fix a bug I discovered because of them - protocols longer than "http" broke url fixing 14 years ago
Christian Weiske 8a7f576735 do not show deprecated errors on php 5.3.0+; the rss libraries throw many of them 14 years ago
Andrew Dolgov 1f6131f515 sanitize_rss: fix wrong element being returned after DOMDocument parsing 14 years ago
Andrew Dolgov 9d3c031ddf add test implementation of automatic rewrite of relative urls based on DOMDocument (CDM) 14 years ago
Andrew Dolgov 8cc3c778ad add test implementation of automatic rewrite of relative urls based on DOMDocument 14 years ago
Andrew Dolgov f8fb44989f js: code cleanup, disable some debugging 14 years ago
Andrew Dolgov 3d28f9cd2d obsolete FEEDS_FRAME_REFRESH 14 years ago
Andrew Dolgov 905ff52a36 implement label cache; misc fixes (bump schema) 14 years ago
Andrew Dolgov 5225d4209e js: code cleanup; move to async counter sending mode 14 years ago
Andrew Dolgov c4f7ba8018 move runtime-info to JSON, simplify init-params format 14 years ago
Andrew Dolgov bd40aca6c0 outputHeadlinesList: don't try to force update categories 14 years ago
Andrew Dolgov b3990c92e7 add option to sort headlines by feed-specified date (bump schema) 14 years ago
Andrew Dolgov 5414ad4c80 subscribe_to_feed: do not subscribe to feeds which can't be downloaded 14 years ago
Andrew Dolgov fb0742394a remove error_reporting() hacks; set default error reporting level in functions.php 14 years ago
Andrew Dolgov 6e63a7c306 remove feed linking 14 years ago
Andrew Dolgov bfa0e7921d cdm: tweak the way hotkey article dismissing works; toggle select article by clicking on it 14 years ago
Andrew Dolgov 779560b7a3 fix tag caching issues 14 years ago
Christian Weiske 9a8ce9561d add another status code to subscribe_to_feed to prevent the frontend to do double work (refs #276) 14 years ago
Christian Weiske f6d8345b01 move url resolution before duplicate checks - otherwise we may get duplicates (refs #276) 14 years ago
Andrew Dolgov 490c366d39 add tag cache for user_entries (bump schema) 14 years ago
Andrew Dolgov 02ef7e0277 fix expand_cdm option working in reverse 14 years ago
Andrew Dolgov dad14b513d refactor combined mode, code cleanup 14 years ago
Andrew Dolgov 24e2bb3a92 move print_label_select to functions.php 14 years ago
Andrew Dolgov e75df19d50 update_rss_feed: properly define 14 years ago
Andrew Dolgov c3fc5e470e allow filtering by article tags (bump schema) 14 years ago
Andrew Dolgov c00907f2ed properly handle on-the-fly adding of categories 14 years ago
Andrew Dolgov 10249c41b7 properly handle on-the-fly adding of labels 14 years ago
Christian Weiske ec16da866b part of #276: if the html page has only one single feed, we subscribe to that one directly without asking 14 years ago
Christian Weiske f33479dab8 part of #276: determine if the url contents are html 14 years ago
Christian Weiske 2b8290cd5b docblock for subscribe_to_feed 14 years ago
Christian Weiske f0266f51ab add "extractfeedurls" rpc action that extracts the feed URLs from a HTML page 14 years ago
Christian Weiske f2c6c0088b part of feature request #276: automatically prepend http:// if feed URL is incomplete 14 years ago
Andrew Dolgov 2e7f046f65 make published OPML use common secret key code 14 years ago
Andrew Dolgov aa1c2aa4f9 subtoolbar: remove adaptive/all_articles view modes from generated feed urls by default 14 years ago
Andrew Dolgov 019dd98d05 send digest: mark digest sent attempt even if there were no headlines 14 years ago
Andrew Dolgov 7d4dba8fc3 subtoolbar: properly link to generatedFeed dialog 14 years ago
Andrew Dolgov c0105d4e57 headlines subtoolbar: align feed icon 14 years ago
Andrew Dolgov e5208bac87 generate_syndicated_feed: use CDATA section for item title 14 years ago
Andrew Dolgov 8801fb017c replace old-style published feed with universal secretkey-based approach used for all feeds; do not allow user/pass handling in generated feed urls; bump schema 14 years ago
Andrew Dolgov 811bea0522 remove get_script_dt_add() 14 years ago
Andrew Dolgov 2a5c136e96 smart_date_time: properly support local TZ; use user-defined date formats 14 years ago
Andrew Dolgov 5c7c7da9e1 allow adding cats from feed editor 14 years ago
Andrew Dolgov 324944f332 implement per-user timezone support; store dates in UTC internally (closes #254) 14 years ago
Andrew Dolgov 50eefedbfd js: code cleanup 14 years ago
Andrew Dolgov 9ed0b90f63 outputArticleXML: markup cleanup 14 years ago
Andrew Dolgov ffbe082dd0 headlines: use JSON instead of separate helper xml objects like headlines-unread 14 years ago
Andrew Dolgov f72a7b6696 allow forwarding multiple articles by email 14 years ago
Andrew Dolgov 31a53903e6 add article forwarding by email (closes #271) 14 years ago
Andrew Dolgov f0855b88af slightly better prompt when no feeds are subscribed 14 years ago
Andrew Dolgov 9798b2b4c6 api: rewrite getCounters to use getAllCounters() 14 years ago
Andrew Dolgov 8945282432 remove obsolete init-params 14 years ago
Andrew Dolgov e325d70075 fix category display 14 years ago
Andrew Dolgov c3fddd057f do some warning housekeeping 14 years ago
Andrew Dolgov 1ea20897a2 remove read_stampfile() 14 years ago
Andrew Dolgov 8acc449c6b change counter.cat and counter.tag to counter.kind 14 years ago
Andrew Dolgov 2abc7af064 getVirtCounters: remove description 14 years ago
Andrew Dolgov 1123270361 api: fix getFeeds usage of getLabelCounters 14 years ago
Andrew Dolgov c7adf76040 fix sign_progress_tiny init-param 14 years ago
Andrew Dolgov d822130165 rename print_init_params() to make_init_params() 14 years ago
Andrew Dolgov f1f3a642d6 use JSON for init-params 14 years ago
Andrew Dolgov 2188495806 counters: fix feed.update attribute 14 years ago
Andrew Dolgov 6a7817c1ad handle counters using JSON instead of XML 14 years ago
Andrew Dolgov 9fdeb07e6c add one more tooltip to subtoolbar 14 years ago
Andrew Dolgov 5d128c9589 dashboard: show last feed update time 14 years ago
Andrew Dolgov fe1087fbb7 implement a simple pseudo-dashboard feed; display feeds having update errors there instead of client-based 'no feed selected' whiteBox plug (closes #189) 14 years ago
Andrew Dolgov 85a922895f prefs: disable option ENABLE_FEED_ICONS 14 years ago
Andrew Dolgov f0361de20b add subtoolbar dropdown action to view generated feed 14 years ago
Andrew Dolgov c784546704 generated feeds: support enclosures 14 years ago
Andrew Dolgov fb8d17f3fb api: getFeeds: fix cat_id handling, allow access to Uncategorized category, reserve -3 and -4 cat_ids for getting flat feed lists 14 years ago
Andrew Dolgov 9c5b98adaa update op=rss tooltip 14 years ago
Andrew Dolgov 23d72f3999 allow generated feeds to use view_mode 14 years ago
Andrew Dolgov db2443846c fix the syndicated feeds being broken on postgresql 14 years ago
Andrew Dolgov f9b2d27c70 default headline sort order by date_entered instead of updated 14 years ago
Andrew Dolgov 25ea280502 add ttrss_entries.date_updated; use date_updated instead of date_enered for expiry checking (bump schema) 14 years ago
Andrew Dolgov 6a69b6ad44 revert to sorting by updated instead of date_entering unless Date sorting is requested 14 years ago
Andrew Dolgov 8872d5f022 queryFeedHeadlines: fix select bug 14 years ago
Andrew Dolgov 9c57be20a2 Merge branch 'master' of madoka.volgo-balt.ru:public_html/testbox/tt-rss 14 years ago
Andrew Dolgov 7b20c97780 order feed output by date_entered instead of updated to properly keep new stuff topmost; support REVERSE_HEADLINES in more headline output modes 14 years ago
Andrew Dolgov cd9c29de80 Merge branch 'digest-experimental' 14 years ago
Andrew Dolgov a16a62c02d outputHeadlinesList: properly handle always_display_enclosures when feed_id is null 14 years ago
Andrew Dolgov 98d684f99b Merge branch 'master' of madoka.volgo-balt.ru:public_html/testbox/tt-rss 14 years ago
Andrew Dolgov a2d799815a remove unnecessary mentions of global_purge_old_posts; add debugging to purge_orphans() 14 years ago
Andrew Dolgov 9a4dd417c4 Merge branch 'master' into digest-experimental 14 years ago
Andrew Dolgov 66438f2922 init params: add fresh article age 14 years ago
Andrew Dolgov 1284402268 Merge branch 'master' into digest-experimental 14 years ago
Andrew Dolgov 91c5f22946 skip new version checking right after login to speed up startup 14 years ago
Andrew Dolgov 63def06ca8 check_for_update: fix typo which caused incorrect output of print_runtime_error() which caused RPC errors when DEFAULT_UPDATE_METHOD was set to SimplePie 14 years ago
Andrew Dolgov 78ac6caf00 digest: support tags 14 years ago
Andrew Dolgov 9ed133e7a9 api: support published status in getHeadlines; digest: code cleanup 14 years ago
Andrew Dolgov d5d5632952 code cleanup 14 years ago
Andrew Dolgov 432c64cace Merge branch 'master' into digest-experimental 14 years ago
Andrew Dolgov bfe5ddfc82 queryFeedHeadlines: properly handle Uncategorized category 14 years ago
Andrew Dolgov b41c254984 small digest page improvements 14 years ago
Andrew Dolgov 911d4c0836 add experimental digest thingie 14 years ago
Andrew Dolgov c5701e70a4 getFeedArticles: properly escape tags 14 years ago
Andrew Dolgov cce9822a53 daemon2: make sure daemon actually updates feeds, duh 14 years ago
Andrew Dolgov c90a028cdc daemon2: properly abort stuck children 14 years ago
Andrew Dolgov 2f0903a625 add author info to generated feeds 15 years ago
Andrew Dolgov 78a5c296ae config: replace confusing option ENABLE_SIMPLEPIE with DEFAULT_UPDATE_METHOD; bump config version 15 years ago
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