Commit Graph

395 Commits

Author SHA1 Message Date
Andrew Dolgov 2b28c8f2da try to fill the buffer with headlines if possible 2013-04-06 10:33:30 +04:00
Sunjay Cauligi 8b35d17172 Added functionality for navigation without opening articles and toggling expansion of headlines 2013-04-05 18:57:05 -07:00
Andrew Dolgov bf87833884 fix prefs reset not working properly 2013-04-05 07:52:50 +04:00
Andrew Dolgov 4429463dff feedTree: pass new copies of parent arrays while looking for category nodes to auto-expand to prevent siblings uncollapsing due to objects being passed by reference 2013-04-04 20:58:43 +04:00
Andrew Dolgov ba1c7d7cc9 do not set active feed id in headlines callback, bailout if received data for currently deselected feed 2013-04-04 20:14:39 +04:00
Andrew Dolgov f240d26e46 move db-updater functionality to public, remove db-updater.php 2013-04-04 19:45:26 +04:00
Andrew Dolgov ae31704bb3 only unmark articles which had been processed when automarking (for realz) 2013-04-04 09:49:37 +04:00
Andrew Dolgov dfd071e28d add experimental cooldown after headlines buffer had been manipulated before auto catchup is enabled
only unmark articles which had been processed when automarking
2013-04-04 09:45:34 +04:00
Andrew Dolgov e3ca32a818 replace catchupCurrentFeed dropdown with a better control 2013-04-03 18:20:14 +04:00
Andrew Dolgov f17cac6b26 retire DEFAULT_ARTICLE_LIMIT, infinite scrolling is fast enough to make it superfluous 2013-04-02 15:32:47 +04:00
Andrew Dolgov 4b7726f0b4 rpc: move labelops to article 2013-04-02 14:56:08 +04:00
Andrew Dolgov c83554bddd rpc: move completeTags to article 2013-04-02 14:53:36 +04:00
Andrew Dolgov 195187c490 rpc: move several feed-related calls to pref-feeds 2013-04-02 14:47:43 +04:00
Andrew Dolgov d719b06240 rpc: move setScore to article 2013-04-02 14:41:41 +04:00
Andrew Dolgov 8956b3a607 remove obsolete checkDate stuff 2013-04-02 14:36:00 +04:00
Andrew Dolgov c88e4a2af3 remove small_article_preview 2013-04-02 14:34:17 +04:00
Andrew Dolgov 977580a41c remove obsolete xml stuff in pref-users infoboxes 2013-04-01 18:28:47 +04:00
Andrew Dolgov 417591034a remove experimental view_settings stuff from master 2013-04-01 13:02:29 +04:00
Andrew Dolgov 201bb1ca54 move batchSubscribe to pref-feeds 2013-04-01 12:36:57 +04:00
Andrew Dolgov 9d76e75451 move editPrefProfiles to pref-prefs 2013-04-01 12:34:49 +04:00
Andrew Dolgov 00e347410e move customizeCSS to pref-prefs 2013-04-01 12:30:34 +04:00
Andrew Dolgov 1c9bda915b move several methods from dlg; fix displayed tags not updated after editing 2013-04-01 11:14:27 +04:00
Andrew Dolgov fb54e3b188 remove xml stuff from backend/dlg 2013-04-01 10:47:41 +04:00
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 2013-04-01 10:09:22 +04:00
Andrew Dolgov d880b5da9d depiggified 2013-03-31 23:53:00 +04:00
Andrew Dolgov 0db3db2e37 dismissArticle: check if target element exists 2013-03-31 21:58:05 +04:00
Andrew Dolgov a86ba0a67a implement filter drag and drop sorting 2013-03-31 17:15:23 +04:00
Andrew Dolgov 3dd0306f3e subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function 2013-03-31 15:39:10 +04:00
Andrew Dolgov 90ede186d2 disable small article preview for now 2013-03-31 15:21:35 +04:00
Andrew Dolgov c8b693cf7f implement catchup with selectable updated criteria 2013-03-31 12:37:42 +04:00
Andrew Dolgov b029f91621 archive: automatically subscribe user to originating feed while unarchiving 2013-03-30 21:59:52 +04:00
Andrew Dolgov 22af123269 make toggling combined mode work without reload 2013-03-30 19:55:52 +04:00
Andrew Dolgov 60b88b254c add hotkey toggle_cdm_expanded (f c) 2013-03-30 14:28:13 +04:00
Andrew Dolgov be7bb7d5ee headline menu: add ability to toggle unread/published/starred 2013-03-30 13:42:33 +04:00
Andrew Dolgov a7c0e150b6 fix invisible active headline in 3pane mode 2013-03-29 23:04:27 +04:00
Andrew Dolgov ffd3e8e35e toggleUnread: remove scriptaculous highlight 2013-03-29 19:51:58 +04:00
Andrew Dolgov c409d34a30 fix cdmExpandArticle not always removing active class; make moving between posts take expanded cdm margins into account 2013-03-29 19:31:10 +04:00
Andrew Dolgov a0ddecb98d remove cdm tiles; update cdm stylesheet as to stop reading on yellow 2013-03-29 18:53:16 +04:00
Andrew Dolgov 90f5a9d28b remove active className on collapse (closes #644) 2013-03-29 14:20:10 +04:00
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
2013-03-28 20:44:43 +04:00
Andrew Dolgov 67b9d740ae setActiveFeedId: assign feed/is-cat attributes to headlines-frame 2013-03-28 19:20:12 +04:00
Andrew Dolgov f9432f2630 since dojo dropdowns won't work in article content because of html escaping trick, replace attachment dropdown with generic html controls 2013-03-28 10:56:29 +04:00
Andrew Dolgov f820f205d0 css cleanup; remove auxDlg; add separate prefs.css 2013-03-27 22:41:12 +04:00
Andrew Dolgov 919984a436 css cleanup; change notify css a bit 2013-03-27 22:24:26 +04:00
Andrew Dolgov eb0ea018c1 reduce moveToPost longpost scroll height 2013-03-27 16:38:58 +04:00
Andrew Dolgov b6c2c963ad if hotkey is handled, return false 2013-03-27 16:34:06 +04:00
Daniel Andersson cee09850f1 Default scroll length closer to expected (i.e. browser default). 2013-03-27 12:17:04 +01:00
Andrew Dolgov 88a41b64a2 add label_base_index to init params 2013-03-27 10:27:04 +04:00
Andrew Dolgov f822a8e56c experimentally rebase labels; make base index configurable 2013-03-27 09:40:07 +04:00
Philippe Mongeau d725f0ce99 move global hotkey_actions var to the top 2013-03-26 20:48:44 -04:00
Philippe Mongeau 9fabf9fc4a convert hotkey_action switch to a dict
this will permit plugins to register hockey actions.
2013-03-26 20:40:32 -04:00
Andrew Dolgov 2196b517cd manually find and expand all parent nodes of a selected feed in feedTree
because dojo is incapable of doing it itself in a situation where tree
persistence cookie is at initial state, bloody fucking hell
2013-03-26 16:32:06 +04:00
Andrew Dolgov 5165a4d366 fix small preview location 2013-03-26 15:04:43 +04:00
Andrew Dolgov c4fcffab46 lower catchup_timeout_id to 500ms 2013-03-26 14:41:03 +04:00
Andrew Dolgov 25d2c8d771 lower catchup_timeout_id to 1s 2013-03-26 14:39:20 +04:00
Andrew Dolgov 72394a1e2d enable tooltips on normal mode 2013-03-25 20:41:23 +04:00
Andrew Dolgov 45b9c6fbcb remove unused clearTwitterCredentials 2013-03-25 20:26:43 +04:00
Andrew Dolgov d2f3467bb6 add a simple appearing preview for unexpanded cdm and normal mode 2013-03-25 16:09:05 +04:00
Andrew Dolgov 4cdb81737a add a knob to disable reload on js change 2013-03-25 16:07:39 +04:00
Andrew Dolgov 4401813325 unpackVisibleHeadlines: do nothing if not in cdm 2013-03-25 14:15:22 +04:00
Andrew Dolgov 62b1f587ab do some tweaks to prevent potential self-reading 2013-03-25 14:01:33 +04:00
Andrew Dolgov 0b0822c2f1 cdmExpandArticle: bail out if id not present in buffer (closes #628) 2013-03-25 11:56:48 +04:00
Tomas Chvatal 49807c2b3d Fix remaining plural forms to work with gettext. 2013-03-24 13:32:03 +01:00
Andrew Dolgov 99534a3dde remove page title stuff for the time being 2013-03-23 09:51:30 +04:00
Andrew Dolgov 9972b7cdd7 Revert "update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title"
This reverts commit 8d051fa076.
2013-03-23 09:48:15 +04:00
Andrew Dolgov b68dce191f Revert "fix tabs"
This reverts commit d6cb941459.
2013-03-23 09:48:07 +04:00
Andrew Dolgov d5a8e86417 show loading indicator when appending headlines 2013-03-23 09:30:57 +04:00
Andrew Dolgov 1da5179c5d add active class for unexpanded cdm 2013-03-22 13:04:41 +04:00
Andrew Dolgov 5defc29ff8 remove PTITLE kludge; use ajax 2013-03-22 09:49:45 +04:00
Andrew Dolgov d6cb941459 fix tabs 2013-03-22 09:40:02 +04:00
Richard Beales 8d051fa076 update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title 2013-03-21 20:24:26 +00:00
Richard Beales 15c1a04d10 Merge remote-tracking branch 'upstream/master' 2013-03-21 19:42:53 +00:00
Andrew Dolgov 7fc2e87e17 add headline menu entry to show article url 2013-03-21 23:29:06 +04:00
Richard Beales 96f19f11d7 Merge remote-tracking branch 'upstream/master' 2013-03-21 18:57:21 +00:00
Andrew Dolgov 3a693fa76f updateTitle: show counter before title 2013-03-21 22:17:32 +04:00
Andrew Dolgov a60446bed0 remove sign_* from init params 2013-03-21 21:49:52 +04:00
Andrew Dolgov c186beae48 switchPanelMode: don't try to do anything in cdm (closes #609) 2013-03-21 19:01:51 +04:00
Andrew Dolgov 16314ddafe implement basic auto-reload on some dependent file timestamp changing 2013-03-21 18:01:42 +04:00
Andrew Dolgov 2ccc7b8e07 add a e hotkey for embed_original 2013-03-21 16:57:36 +04:00
Andrew Dolgov 84b48db4a7 FeedTree: fix initial src of loading node 2013-03-21 14:13:13 +04:00
Richard Beales f1fdfbea43 Merge remote-tracking branch 'upstream/master' 2013-03-21 07:04:54 +00:00
Andrew Dolgov b74c513428 experimental: limit initialized html content for expanded cdm 2013-03-21 10:34:39 +04:00
Andrew Dolgov 24c215e2bb moveToPost: tweak unexpanded 'prev' behavior 2013-03-21 09:38:25 +04:00
Andrew Dolgov 7b7daed93b moveToPost: tweak unexpanded 'next' behavior 2013-03-21 09:36:13 +04:00
Andrew Dolgov 5b9cb07d01 tweak cdmExpandArticle behavior with scrolling (refs #604) (2) 2013-03-21 09:32:04 +04:00
Andrew Dolgov f06f201f1e tweak cdmExpandArticle behavior with scrolling (refs #604) 2013-03-21 09:21:14 +04:00
Andrew Dolgov 943de334a3 removefromarchive: fix another typo (refs #603) 2013-03-20 21:30:21 +04:00
Andrew Dolgov 10534e860b feedBrowser: fix typo in removeFromArchive (closes #603) 2013-03-20 21:05:19 +04:00
Richard Beales 77accf45df fix merge conflict with stylesheet tags 2013-03-20 16:59:19 +00:00
Andrew Dolgov 79074013cb tweak moveToPost behaviour in unexpanded mode 2013-03-20 13:23:24 +04:00
Andrew Dolgov f0540b598a add a hack to prevent loading of stuff for hidden content in unexpanded combined mode (refs #602) 2013-03-20 13:17:48 +04:00
Richard Beales 04ed8b423a Merge remote-tracking branch 'upstream/master' 2013-03-20 07:26:49 +00:00
Andrew Dolgov 3ac153f1b3 update styling for unexpanded cdm; misc fixes related to collapsing 2013-03-20 10:59:12 +04:00
Andrew Dolgov c582bf25dd Revert "cdmExpandArticle: force-scroll to headline"
This reverts commit 4895f99b9a.
2013-03-20 10:43:55 +04:00
Andrew Dolgov 4895f99b9a cdmExpandArticle: force-scroll to headline 2013-03-20 10:27:47 +04:00
Andrew Dolgov 414191d428 make a separate headline button to collapse current article in
unexpanded cdm mode; modify a q hotkey to collapse article in unexpanded
mode and dismiss article in expanded mode
2013-03-20 10:22:15 +04:00
Richard Beales 598a8f37a2 Merge remote-tracking branch 'upstream/master' 2013-03-19 19:20:14 +00:00
Andrew Dolgov bfd61d3f85 rework STRIP_IMAGES to remove embedding; add per-feed control over embedded images (bump schema) 2013-03-19 22:41:10 +04:00
Richard Beales 05809dfdf7 Merge remote-tracking branch 'upstream/master' 2013-03-19 18:19:07 +00:00
Andrew Dolgov 6cf60c881f add little loading indicator for feed categories 2013-03-19 20:29:20 +04:00
Andrew Dolgov d2db81a5f6 improve hotkey buffer scrolling speed; bind viewport scrolling to shift-arrows 2013-03-19 19:14:28 +04:00
Andrew Dolgov 1d5cf085a3 implement mail plugin using mailto: links; deprecate mail plugin 2013-03-19 18:32:49 +04:00
Andrew Dolgov 4b74648909 remove two unnecessary hideOrShowFeeds calls 2013-03-19 16:46:27 +04:00
Andrew Dolgov 714b063f6b hideReadFeeds also hides labels 2013-03-19 16:11:43 +04:00
Andrew Dolgov 4f7d69e185 detect whether browser supports iframe.sandbox and allow iframes accordingly; allow object and embed elements 2013-03-19 12:49:55 +04:00
Andrew Dolgov 5b18c93622 tweak hotkey map notation to allow stuff like shift-arrows 2013-03-18 20:59:48 +04:00
Richard Beales 1d707e9f03 Merge remote-tracking branch 'upstream/master' 2013-03-18 13:55:54 +00:00
Andrew Dolgov 478d406767 make sure reset password notification does not hide automatically; add manual close link to persistent notifications (closes #569) 2013-03-18 16:44:23 +04:00
Richard Beales 7c97d17aaf Merge remote-tracking branch 'upstream/master' 2013-03-18 07:32:01 +00:00
Andrew Dolgov f01c8ec4f1 prevent absolutely useless 'exploit' (not really) while editing filters (closes #572) 2013-03-17 14:55:55 +04:00
Richard Beales ffbab555b8 Feature #446 - Allow customizing page title 2013-03-16 14:27:55 +00:00
Andrew Dolgov 4b27f0c06d add f C hotkey to toggle combined mode (closes #549) 2013-03-12 09:52:45 +04:00
Andrew Dolgov f6a260c65e cdmClicked: allow shift-lclick 2013-02-28 20:15:17 +04:00
Andrew Dolgov 8a77553595 unsubscribeFeed: call updateFeedList() when unsubscribing from labels 2013-02-28 20:09:25 +04:00
Andrew Dolgov 4480b26e66 assign hash-stored feed_id/is_cat earlier on startup 2013-02-28 19:16:17 +04:00
Andrew Dolgov 535a4c7d16 only use hash feed/cat parameters on startup 2013-02-28 15:56:22 +04:00
Andrew Dolgov 2bee32ffa7 remove headline precaching stuff, conflicts with dijit widgets in
headlines buffer
2013-02-28 15:52:30 +04:00
Andrew Dolgov 524de8dcf6 Revert "headlines buffer: remove dijit-based RCHK elements"
This reverts commit f7945c99d0.
2013-02-28 15:48:09 +04:00
Andrew Dolgov f7945c99d0 headlines buffer: remove dijit-based RCHK elements 2013-02-28 15:04:33 +04:00
Andrew Dolgov 831408f0e8 fix cdm checkbox not selecting entire cell 2013-02-28 14:22:13 +04:00
Andrew Dolgov 18e1a773d1 change ctrl-arrow bindings to always keep current article on top
(previous behavior)
replace direct active_post_id references with get/set functions
2013-02-28 13:18:58 +04:00
Andrew Dolgov 1b04a298ef store active feed id in url hash and restore on reload 2013-02-28 13:06:54 +04:00
Andrew Dolgov 67cad82e60 cdmExpandArticle: do not perform offset manipulation 2013-02-27 23:04:23 +04:00
Andrew Dolgov c22580b55f implement classic next/prev article movement behavior, bind to ctrl-arrows 2013-02-27 22:48:43 +04:00
Andrew Dolgov 104e5c6557 moveToPost: implement more natural next/prev moving in combined mode 2013-02-27 22:27:49 +04:00
Andrew Dolgov 3af9dbd350 cdmScrollToArticleId: use more natural scrolling 2013-02-27 18:44:45 +04:00
Andrew Dolgov 0a7b15207e remove previous counter hacks; force request counters when there's no
unread stuff left in current feed (e.g. finished reading)
2013-02-27 16:57:26 +04:00
Andrew Dolgov 5129d29d65 reduce counters request minimum interval 2013-02-27 16:47:25 +04:00
Andrew Dolgov bf40c12408 request_counters: force request 50% of the time to keep all counters updated 2013-02-27 16:11:44 +04:00
Andrew Dolgov 88918ca637 remove server-side feedtree collapse implementation 2013-02-27 15:34:13 +04:00
Andrew Dolgov 5321e775f9 remove update on checksum change (updated status has been removed); rtl stuff (unused) 2013-02-26 19:20:58 +04:00
Andrew Dolgov 8853f0ed5b switchPanelMode: fix typo 2013-02-07 00:12:22 +04:00
Andrew Dolgov 533bd7b73f switchPanelMode: cosmetic fixes 2013-02-06 20:23:40 +04:00
Andrew Dolgov 2d1282d4d1 remove top hello - feedback - preferences line 2013-02-06 20:14:06 +04:00
Andrew Dolgov d9013d8351 enable displayNewContentPrompt() for cats 2013-02-06 12:35:11 +04:00
Andrew Dolgov be5a5cd26d view: abort when requested RROW is not present 2013-02-06 12:27:26 +04:00
Andrew Dolgov 35be65a1da remove zoomToArticle() and PTITLE bits 2013-02-06 12:24:17 +04:00
Andrew Dolgov 38325ad6d1 remove tt-rss tabcontrol 2013-02-06 11:09:45 +04:00
Andrew Dolgov 17b236efab viewfeed: force request counters 2013-02-04 10:55:29 +04:00
Andrew Dolgov 14501332e0 js: remove several commented out functions 2013-02-01 16:06:14 +04:00
Andrew Dolgov 5b55e9e25c js: simplify counter updating, remove some unused stuff 2013-02-01 13:09:43 +04:00
Andrew Dolgov 96f0a3e79d remove themes/ 2013-01-23 15:36:32 +04:00
Andrew Dolgov fd535b317c switchPanelMode: fix css manipulation for firefox 2013-01-23 15:28:59 +04:00
Andrew Dolgov 2cda431400 add a q shortcut; remove close_article button 2013-01-23 13:39:36 +04:00
Andrew Dolgov 8b83bf5fa1 implement fallback _SIMPLE_UPDATE_MODE 2013-01-22 19:56:46 +04:00
Andrew Dolgov 3fb401120a support ctrl key hotkeys 2013-01-22 13:00:20 +04:00
Andrew Dolgov e5e2cf3b88 add hack to support arbitrary key descriptions for hotkeys 2013-01-22 12:52:52 +04:00
Andrew Dolgov 7d8f56571b persist widescreen mode in session 2013-01-19 10:55:51 +04:00
Andrew Dolgov ec6e51556d add context menu to Special category 2013-01-18 18:12:39 +04:00
Andrew Dolgov 057cc81302 fix missing context menu of Uncategorized 2013-01-18 18:09:44 +04:00