Commit Graph

1081 Commits

Author SHA1 Message Date
Andrew Dolgov dd1c068056 implement ajax loading of cdm content when not in expand mode 2010-11-13 02:09:30 +03:00
Andrew Dolgov 62b800b47c cdm: bring back updated/new pic 2010-11-13 01:41:18 +03:00
Andrew Dolgov 35ffb5b91d sanitize_rss: small speed improvement 2010-11-13 01:02:41 +03:00
Andrew Dolgov a7f003e0e0 cdm: display mark/pub icons on the left 2010-11-13 00:42:28 +03:00
Andrew Dolgov e591894444 cdm: display article author 2010-11-13 00:36:51 +03:00
Andrew Dolgov 3f770c8778 sanitize_rss: only insert linebreak after first img 2010-11-13 00:24:15 +03:00
Andrew Dolgov fbc95c5b70 truncate title in feedlist 2010-11-12 22:17:57 +03:00
Andrew Dolgov af32a59aef outputHeadlinesList: do not show feed title inline in vfeeds 2010-11-12 21:57:26 +03:00
Andrew Dolgov e4f7f8dff2 add support for Sphinx search engine 2010-11-12 21:44:19 +03:00
Andrew Dolgov 6b32516bd0 do not show subtoolbar when no headlines are available 2010-11-12 18:46:27 +03:00
Andrew Dolgov 5b463b229c print_runtime_info: fix syntax error 2010-11-12 18:09:25 +03:00
Andrew Dolgov 4169bb67e8 misc code cleanup 2010-11-12 17:41:32 +03:00
Andrew Dolgov 1e87951df5 update_rss_feed: lowercase and strip duplicate tags before checking for filters 2010-11-12 15:52:00 +03:00
Andrew Dolgov 76d453330d new category (un)collapse icons 2010-11-12 15:14:47 +03:00
Andrew Dolgov e69fb880a3 js: misc fixes, code cleanup 2010-11-12 14:54:06 +03:00
Andrew Dolgov 8f7c631ed8 viewfeed: show dashboard contents when there are no headlines to display 2010-11-12 11:56:30 +03:00
Andrew Dolgov 08e49bb91d remove tooltip from cdmContent 2010-11-11 20:40:11 +03:00
Andrew Dolgov 0ce338f3cd remove tooltip from hlContent 2010-11-11 19:20:31 +03:00
Andrew Dolgov 85469e1baa try to validate feed-specific icon before adding it to the database 2010-11-11 16:21:53 +03:00
Andrew Dolgov ed2142982b get_favicon_url: rewrite using DOMDocument 2010-11-11 16:10:39 +03:00
Andrew Dolgov fa40373395 use dom to generate linebreaks after images in articles 2010-11-11 15:54:30 +03:00
Andrew Dolgov a9d63d29a1 get_article_filters: silence preg_match() warnings on incorrect user input 2010-11-11 14:06:08 +03:00
Andrew Dolgov 1ede58149d allow selecting multiple headlines/articles by ctrl-click; change click handling on CDM article content 2010-11-11 13:37:03 +03:00
Andrew Dolgov f412e5ad48 make postIcon link to originating website 2010-11-11 12:37:52 +03:00
Andrew Dolgov 5ae8f858a9 fix frontend not knowing about always expanded cdm 2010-11-11 12:19:28 +03:00
Andrew Dolgov 98833033a2 fix ttrss_feeds.icon_url handling 2010-11-11 11:52:44 +03:00
Andrew Dolgov d36f560740 viewfeed: return counters when subop is present or when in CDM 2010-11-11 09:56:07 +03:00
Andrew Dolgov 96811a55e6 sanitize_rss: properly handle empty input 2010-11-11 09:52:19 +03:00
Christian Weiske 923818fc8d use rewrite_relative_url() in get_feeds_from_html() instead of using that hack 2010-11-11 09:44:28 +03:00
Christian Weiske f679105cb2 add unit tests for rewrite_relative_url and fix a number of bugs in it 2010-11-11 09:44:05 +03:00
Christian Weiske 24eb4c780f add unit tests for url_is_html and fix a bug with UPPERCASE <HTML> in it 2010-11-11 09:43:18 +03:00
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 2010-11-11 09:41:51 +03:00
Christian Weiske 8a7f576735 do not show deprecated errors on php 5.3.0+; the rss libraries throw many of them 2010-11-11 09:40:53 +03:00
Andrew Dolgov 1f6131f515 sanitize_rss: fix wrong element being returned after DOMDocument parsing 2010-11-11 09:39:05 +03:00
Andrew Dolgov 9d3c031ddf add test implementation of automatic rewrite of relative urls based on DOMDocument (CDM) 2010-11-10 23:28:19 +03:00
Andrew Dolgov 8cc3c778ad add test implementation of automatic rewrite of relative urls based on DOMDocument 2010-11-10 23:24:00 +03:00
Andrew Dolgov f8fb44989f js: code cleanup, disable some debugging 2010-11-10 21:56:28 +03:00
Andrew Dolgov 3d28f9cd2d obsolete FEEDS_FRAME_REFRESH 2010-11-10 19:13:29 +03:00
Andrew Dolgov 905ff52a36 implement label cache; misc fixes (bump schema) 2010-11-10 19:01:14 +03:00
Andrew Dolgov 5225d4209e js: code cleanup; move to async counter sending mode 2010-11-10 14:48:35 +03:00
Andrew Dolgov c4f7ba8018 move runtime-info to JSON, simplify init-params format 2010-11-10 14:23:26 +03:00
Andrew Dolgov bd40aca6c0 outputHeadlinesList: don't try to force update categories 2010-11-10 14:07:02 +03:00
Andrew Dolgov b3990c92e7 add option to sort headlines by feed-specified date (bump schema) 2010-11-10 13:56:42 +03:00
Andrew Dolgov 5414ad4c80 subscribe_to_feed: do not subscribe to feeds which can't be downloaded 2010-11-10 13:27:44 +03:00
Andrew Dolgov fb0742394a remove error_reporting() hacks; set default error reporting level in functions.php 2010-11-10 13:14:44 +03:00
Andrew Dolgov 6e63a7c306 remove feed linking 2010-11-10 12:05:55 +03:00
Andrew Dolgov bfa0e7921d cdm: tweak the way hotkey article dismissing works; toggle select article by clicking on it 2010-11-10 11:38:55 +03:00
Andrew Dolgov 779560b7a3 fix tag caching issues 2010-11-10 11:08:33 +03:00
Christian Weiske 9a8ce9561d add another status code to subscribe_to_feed to prevent the frontend to do double work (refs #276) 2010-11-10 07:16:10 +03:00
Christian Weiske f6d8345b01 move url resolution before duplicate checks - otherwise we may get duplicates (refs #276) 2010-11-10 07:15:47 +03:00
Andrew Dolgov 490c366d39 add tag cache for user_entries (bump schema) 2010-11-09 22:41:13 +03:00
Andrew Dolgov 02ef7e0277 fix expand_cdm option working in reverse 2010-11-09 20:58:35 +03:00
Andrew Dolgov dad14b513d refactor combined mode, code cleanup 2010-11-09 20:57:23 +03:00
Andrew Dolgov 24e2bb3a92 move print_label_select to functions.php 2010-11-09 18:10:22 +03:00
Andrew Dolgov e75df19d50 update_rss_feed: properly define 2010-11-09 16:31:15 +03:00
Andrew Dolgov c3fc5e470e allow filtering by article tags (bump schema) 2010-11-09 14:49:41 +03:00
Andrew Dolgov c00907f2ed properly handle on-the-fly adding of categories 2010-11-09 13:28:10 +03:00
Andrew Dolgov 10249c41b7 properly handle on-the-fly adding of labels 2010-11-09 13:15:26 +03:00
Christian Weiske ec16da866b part of #276: if the html page has only one single feed, we subscribe to that one directly without asking 2010-11-08 23:33:04 +03:00
Christian Weiske f33479dab8 part of #276: determine if the url contents are html 2010-11-08 23:30:10 +03:00
Christian Weiske 2b8290cd5b docblock for subscribe_to_feed 2010-11-08 23:12:25 +03:00
Christian Weiske f0266f51ab add "extractfeedurls" rpc action that extracts the feed URLs from a HTML page 2010-11-08 23:10:22 +03:00
Christian Weiske f2c6c0088b part of feature request #276: automatically prepend http:// if feed URL is incomplete 2010-11-08 23:09:45 +03:00
Andrew Dolgov 2e7f046f65 make published OPML use common secret key code 2010-11-08 19:36:24 +03:00
Andrew Dolgov aa1c2aa4f9 subtoolbar: remove adaptive/all_articles view modes from generated feed urls by default 2010-11-08 14:37:19 +03:00
Andrew Dolgov 019dd98d05 send digest: mark digest sent attempt even if there were no headlines 2010-11-08 13:58:50 +03:00
Andrew Dolgov 7d4dba8fc3 subtoolbar: properly link to generatedFeed dialog 2010-11-08 13:53:04 +03:00
Andrew Dolgov c0105d4e57 headlines subtoolbar: align feed icon 2010-11-08 13:48:00 +03:00
Andrew Dolgov e5208bac87 generate_syndicated_feed: use CDATA section for item title 2010-11-08 13:36:12 +03:00
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 2010-11-08 13:15:00 +03:00
Andrew Dolgov 811bea0522 remove get_script_dt_add() 2010-11-08 11:42:05 +03:00
Andrew Dolgov 2a5c136e96 smart_date_time: properly support local TZ; use user-defined date formats 2010-11-08 00:31:43 +03:00
Andrew Dolgov 5c7c7da9e1 allow adding cats from feed editor 2010-11-07 23:30:05 +03:00
Andrew Dolgov 324944f332 implement per-user timezone support; store dates in UTC internally (closes #254) 2010-11-07 18:14:48 +03:00
Andrew Dolgov 50eefedbfd js: code cleanup 2010-11-07 12:11:05 +03:00
Andrew Dolgov 9ed0b90f63 outputArticleXML: markup cleanup 2010-11-06 22:24:43 +03:00
Andrew Dolgov ffbe082dd0 headlines: use JSON instead of separate helper xml objects like headlines-unread 2010-11-06 22:19:08 +03:00
Andrew Dolgov f72a7b6696 allow forwarding multiple articles by email 2010-11-06 11:13:07 +03:00
Andrew Dolgov 31a53903e6 add article forwarding by email (closes #271) 2010-11-06 00:47:02 +03:00
Andrew Dolgov f0855b88af slightly better prompt when no feeds are subscribed 2010-11-05 18:48:55 +03:00
Andrew Dolgov 9798b2b4c6 api: rewrite getCounters to use getAllCounters() 2010-11-05 18:04:07 +03:00
Andrew Dolgov 8945282432 remove obsolete init-params 2010-11-05 17:44:59 +03:00
Andrew Dolgov e325d70075 fix category display 2010-11-05 17:41:21 +03:00
Andrew Dolgov c3fddd057f do some warning housekeeping 2010-11-05 17:16:29 +03:00
Andrew Dolgov 1ea20897a2 remove read_stampfile() 2010-11-05 16:49:23 +03:00
Andrew Dolgov 8acc449c6b change counter.cat and counter.tag to counter.kind 2010-11-05 16:38:55 +03:00
Andrew Dolgov 2abc7af064 getVirtCounters: remove description 2010-11-05 16:34:37 +03:00
Andrew Dolgov 1123270361 api: fix getFeeds usage of getLabelCounters 2010-11-05 16:32:52 +03:00
Andrew Dolgov c7adf76040 fix sign_progress_tiny init-param 2010-11-05 16:28:05 +03:00
Andrew Dolgov d822130165 rename print_init_params() to make_init_params() 2010-11-05 16:25:33 +03:00
Andrew Dolgov f1f3a642d6 use JSON for init-params 2010-11-05 16:16:30 +03:00
Andrew Dolgov 2188495806 counters: fix feed.update attribute 2010-11-05 10:43:19 +03:00
Andrew Dolgov 6a7817c1ad handle counters using JSON instead of XML 2010-11-04 22:38:03 +03:00
Andrew Dolgov 9fdeb07e6c add one more tooltip to subtoolbar 2010-11-04 20:58:42 +03:00
Andrew Dolgov 5d128c9589 dashboard: show last feed update time 2010-11-04 20:49:49 +03:00
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) 2010-11-04 19:11:54 +03:00
Andrew Dolgov 85a922895f prefs: disable option ENABLE_FEED_ICONS 2010-11-04 18:11:15 +03:00
Andrew Dolgov f0361de20b add subtoolbar dropdown action to view generated feed 2010-11-04 17:28:38 +03:00
Andrew Dolgov c784546704 generated feeds: support enclosures 2010-11-04 14:40:55 +03:00
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 2010-11-04 13:52:16 +03:00