Commit Graph

309 Commits

Author SHA1 Message Date
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