Commit Graph

1228 Commits

Author SHA1 Message Date
Andrew Dolgov 009646d23a backend/view: use JSON instead of XML; backend: output session invalid error using JSON 2011-03-18 12:48:26 +03:00
Andrew Dolgov 014d3ad823 use CURL when it is available, remove option USE_CURL 2011-03-17 19:16:44 +03:00
Andrew Dolgov 8d505d78e3 make it possible to subscribe to password-protected feeds (closes #314) 2011-03-17 19:05:28 +03:00
Andrew Dolgov 530f5cdafa allow rdf:about as a guid source 2011-03-08 19:04:54 +03:00
Andrew Dolgov 176b8ba62f subtoolbar: add shortcut to catchupPage() 2011-03-07 15:21:31 +03:00
Andrew Dolgov dc891b1201 fetch_twitter_rss: use proper uid 2011-03-06 12:10:32 +03:00
Andrew Dolgov 54a3dd8d10 switch twitter support from twitteroauth to tmhOAuth 2011-03-06 12:05:58 +03:00
Andrew Dolgov ab4b768ff9 allow searching for date using @keyword syntax 2011-03-05 10:02:49 +03:00
Andrew Dolgov aeaa69919f subcribe_to_feed: only try to use twitter OAuth when authentication information is available (closes #325) 2011-02-26 15:11:20 +03:00
Andrew Dolgov d564f2835c update_rss_feed: do not strip tags of entry_content (refs #323) 2011-02-20 00:13:13 +03:00
Andrew Dolgov c7a8deacd9 db_escape_string: remove tags by default (refs #323) 2011-02-19 16:55:36 +03:00
Andrew Dolgov b899847009 implement a proper fix of cached images URL (refs #305, closes #300) 2011-01-31 13:22:36 +03:00
Andrew Dolgov 9fcbc76fda update image caching handler code (refs #300) 2011-01-26 12:29:45 +03:00
Andrew Dolgov 6615cc366c properly handle redirecting back to requested page after logging in (closes #302) 2011-01-18 16:47:52 +03:00
Andrew Dolgov 0569a7122c re-add ForceUpdate to viewfeed for update debugging, add some filter debugging 2011-01-18 00:32:48 +03:00
andre-hub 08ac193a41 small fixes 2011-01-16 11:04:05 +03:00
Andrew Dolgov 0efa586a10 fix simplepie image cache being requested from the wrong address (close #300) 2011-01-11 11:38:03 +03:00
Andrew Dolgov 12df6592f3 add optional AUTO_LOGIN for when remote authentication is allowed (closes #295) 2011-01-11 11:36:35 +03:00
Andrew Dolgov 5823f9fbab fix USER_STYLESHEET for mysql (was broken because of CR escaping 2010-12-28 09:11:49 +03:00
Andrew Dolgov 476edbbb5f backend/rss: always use secret key to get uid when it is available instead of defaulting to session information; fix published url syntax being incorrect (closes #287) 2010-12-27 16:47:33 +03:00
Andrew Dolgov 32a5e3444d rename USE_CURL_FOR_ICONS to USE_CURL 2010-12-27 15:45:28 +03:00
Andrew Dolgov ed29b175eb add <s> to valid tags when cleaning content 2010-12-15 13:00:10 +03:00
Andrew Dolgov 46137483a5 sanitize_rss: do not try to rewrite urls when article seems to contain href= attributes 2010-11-30 18:35:24 +03:00
Andrew Dolgov c3edc667f1 use html5 audio player instead of flash when possible 2010-11-30 12:40:23 +03:00
Andrew Dolgov d769a0f75a fix session ip checking 2010-11-29 21:29:58 +03:00
Andrew Dolgov 741b60909f tweak article notes 2010-11-29 20:36:39 +03:00
Andrew Dolgov 30b6ee8c08 clean obsolete options from schema (bump schema version) 2010-11-29 13:02:44 +03:00
Andrew Dolgov 0f9b4a60c2 tweak subtoolbar dropbox 2010-11-29 11:57:17 +03:00
Andrew Dolgov a64029e55f shorten long titles in postHeader/cdmHeader 2010-11-28 12:26:09 +03:00
Andrew Dolgov cd2cc43dfe limit fresh feed to articles with non-negative score 2010-11-27 12:22:34 +03:00
Andrew Dolgov 284642aabf remove compat.php 2010-11-26 19:18:06 +03:00
Andrew Dolgov 533c0ea6ec make plaintext urls in article content clickable 2010-11-26 13:13:09 +03:00
Andrew Dolgov 0f41fce845 change behaviour of SESSION_CHECK_ADDRESS 2010-11-26 12:31:01 +03:00
Andrew Dolgov 7515cb51d1 blacklist option ENABLE_FLASH_PLAYER 2010-11-25 15:32:53 +03:00
Andrew Dolgov 8353bd26f2 cdmClicked: use proper response handler 2010-11-25 15:30:28 +03:00
Andrew Dolgov e91ad1e9ab tweak new version dialog 2010-11-25 14:57:32 +03:00
Andrew Dolgov ba7e88e5a5 add tweet button to digest, misc digest fixes; rework article tweeting to use ajax loading of needed info 2010-11-25 12:58:29 +03:00
Andrew Dolgov 411fe209d6 tweak display of tweet button 2010-11-25 12:06:09 +03:00
Andrew Dolgov 26a1e185e2 show feed update error (if any) in subtoolbar 2010-11-24 19:30:41 +03:00
Andrew Dolgov 88e4e5979c rework user CSS support (bump schema) 2010-11-24 19:23:24 +03:00
Andrew Dolgov dcb38ced56 tweak browsing by tag query 2010-11-24 14:47:18 +03:00
Andrew Dolgov 2fe5afc63a remove MarkAllRead from viewfeed 2010-11-24 14:42:16 +03:00
Andrew Dolgov 8cd576a12a better feedlist reloading on subscribed feeds count change 2010-11-23 13:03:36 +03:00
Andrew Dolgov da4fb53f55 headlines: layout fix for feeds with no images 2010-11-23 11:44:19 +03:00
Andrew Dolgov 76a46b6b37 show tweet buttons on a new line 2010-11-23 11:41:30 +03:00
Andrew Dolgov 63855db147 rework version checking 2010-11-23 10:30:36 +03:00
Andrew Dolgov b3009bcdde add separate update method for Twitter, select it as default when subscribing to twitter.com feeds 2010-11-22 17:03:31 +03:00
Andrew Dolgov 57e24c8267 add experimental support for Twitter OAuth and Twitter feeds (bump schema) 2010-11-22 16:26:00 +03:00
Andrew Dolgov c0ed037106 disable post context menu 2010-11-22 14:04:51 +03:00
Andrew Dolgov 96d446011b add support for twitter buttons 2010-11-22 14:04:32 +03:00
Andrew Dolgov c401d5c906 blacklist option OPEN_LINKS_IN_NEW_WINDOW, default to rewrite links to open in new windows 2010-11-21 21:50:11 +03:00
Andrew Dolgov d4f46bc1fd feedlist: do not show labels folder when there are no labels 2010-11-21 20:54:25 +03:00
Andrew Dolgov 9fe80bcdad experimental display of labelColorIndicators in FeedTree 2010-11-21 16:11:14 +03:00
Andrew Dolgov 33d8b5d091 subtoolbar-related fixes 2010-11-21 00:17:36 +03:00
Andrew Dolgov d6034614e0 properly reset selected index of subtoolbar actions dropdown 2010-11-21 00:08:42 +03:00
Andrew Dolgov 6080730067 rework pref-prefs to use dijit Form 2010-11-20 22:36:01 +03:00
Andrew Dolgov ec39a02cd8 better feed url checking 2010-11-20 16:23:23 +03:00
Andrew Dolgov e2eda97930 getFeedIcon: check if real feed icon file exists 2010-11-20 15:30:45 +03:00
Andrew Dolgov f9c388f509 refactor feed edit dialog 2010-11-20 15:29:50 +03:00
Andrew Dolgov d90868d719 rework filter dialogs to use dijit.Form 2010-11-20 14:10:26 +03:00
Andrew Dolgov cd1bb36d5b startup speed improvements 2010-11-20 01:31:20 +03:00
Andrew Dolgov 2547c9ec18 cdm: make author clickable 2010-11-20 00:30:13 +03:00
Andrew Dolgov bc372fe30f add post header menu 2010-11-19 21:20:59 +03:00
Andrew Dolgov ca07f49ee0 opening articles in new tab tweaks 2010-11-19 21:14:36 +03:00
Andrew Dolgov b509d64e96 rework headlines menu and openArticleInNewWindow() 2010-11-19 21:05:28 +03:00
Andrew Dolgov 7b5e74c75c add popup menu for headlines 2010-11-19 19:35:35 +03:00
Andrew Dolgov 4d65b7dfc5 feeds: fix JSON output when there are no subscribed feeds 2010-11-19 15:34:14 +03:00
Andrew Dolgov 7b8a143f1b allow onclick editing of categories and drag-reordering of feeds and categories 2010-11-18 13:46:11 +03:00
Andrew Dolgov d69fa6d66a further pref-pane updates 2010-11-17 21:39:51 +03:00
Andrew Dolgov 1985a5e0d7 rework pref-feeds dialog; update other pref panes 2010-11-17 21:13:41 +03:00
Andrew Dolgov 8d3cb8c0a9 enable triple-pane theme; fix theme system not working 2010-11-17 13:40:38 +03:00
Andrew Dolgov 500943a45b set php built-in user-agent 2010-11-17 12:52:17 +03:00
Andrew Dolgov 6e88da8223 js: misc code cleanup, handle ctrl-clicking on postContent 2010-11-17 12:51:30 +03:00
Andrew Dolgov 8a6702ad7a fix article header open in new tab button 2010-11-17 10:16:17 +03:00
Andrew Dolgov 76657c46b8 outputFeedList: properly generate last category; override order for the time being 2010-11-17 09:36:22 +03:00
Andrew Dolgov db34e084e7 feedlist_init_cat: assume cat_id is integer 2010-11-16 16:42:55 +03:00
Andrew Dolgov 296c8134c1 blacklist option EXTENDED_FEEDLIST 2010-11-16 16:13:22 +03:00
Andrew Dolgov 0c425dc745 force required theme version 2010-11-16 15:14:31 +03:00
Andrew Dolgov dd4c869748 CDM behaviour fixes 2010-11-16 15:04:13 +03:00
Andrew Dolgov e3387e2d10 misc tab fixes 2010-11-16 14:52:09 +03:00
Andrew Dolgov 6f3976c9a3 support opening articles in new tab, misc fixes 2010-11-16 14:43:43 +03:00
Andrew Dolgov 8e289ca1ff fix feed icons size 2010-11-16 13:01:28 +03:00
Andrew Dolgov 9c99281f20 code cleanup 2010-11-16 12:23:06 +03:00
Andrew Dolgov 2ef5c21f61 show icons in feedlist 2010-11-16 09:49:00 +03:00
Andrew Dolgov ac4bedc341 disable resort_feedlist; misc fixes in plain feedlist 2010-11-15 22:59:05 +03:00
Andrew Dolgov fcf70c5106 dijit.tree feedlist improvements 2010-11-15 21:49:00 +03:00
Andrew Dolgov 13e785e069 initial implementation of feedlist based on dijit.Tree 2010-11-15 16:52:56 +03:00
Andrew Dolgov 6e4f4ce14b remove modalbox; use dijit.Dialog; further dojo-related updates 2010-11-15 13:12:02 +03:00
Andrew Dolgov ca8e3d75f4 use multiple classes to mark statuses, JS code cleanup 2010-11-14 15:55:51 +03:00
Andrew Dolgov 7d12b6c8be do not enable infscroll when number of loaded headlines is less than headline limit 2010-11-14 02:12:24 +03:00
Andrew Dolgov e3b42c5a80 misc daemon updates 2010-11-13 21:03:31 +03:00
Andrew Dolgov 0526ffdd4c update_rss_feed: respect size limit of feeds.icon_url 2010-11-13 20:46:32 +03:00
Andrew Dolgov b5ec13fa89 make sure cleanup_tags() actually cleans stuff up 2010-11-13 20:12:19 +03:00
Andrew Dolgov 868650e463 implement automatic tags table maintenance 2010-11-13 19:59:42 +03:00
Andrew Dolgov 428b704dbc bring back update button, it makes async update request to the daemon 2010-11-13 18:48:56 +03:00
Andrew Dolgov a18a4f387a change default user-agent 2010-11-13 18:20:51 +03:00
Andrew Dolgov 8cc5e96512 use css-based layout in normal mode 2010-11-13 14:04:37 +03:00
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