Commit Graph

750 Commits

Author SHA1 Message Date
Andrew Dolgov 7cfd04ffb4 xhr helpers: wrap in promises 2018-12-11 08:42:38 +03:00
Andrew Dolgov 36f3299ddf use window.requestIdleCallback to sync observed modifications 2018-12-11 08:25:22 +03:00
Andrew Dolgov ad5a43bf66 sync article selected status via mutation observer
remove all rchk-related hacks
2018-12-10 21:19:33 +03:00
Andrew Dolgov c97c755195 remove _active_article_id; use selector instead 2018-12-10 20:56:09 +03:00
Andrew Dolgov d9bf0f17c6 sync unread state to server via mutation observer 2018-12-10 20:50:44 +03:00
Andrew Dolgov e5efde26ac sync marked and published states to server via mutation observer 2018-12-10 20:18:45 +03:00
Andrew Dolgov 6616c7cf67 keep track of selected prompt and floating title status using headline row mutation observer 2018-12-10 19:51:20 +03:00
Andrew Dolgov f96cdb7d5d renderAgain flag fixes 2018-12-10 16:10:19 +03:00
Andrew Dolgov 109910424c renderAgain: restore marked/published flags 2018-12-10 15:19:56 +03:00
fox cc267217e1 Merge branch 'tree_tooltip_error' of ggrandou/tt-rss into master 2018-12-10 12:07:54 +00:00
Andrew Dolgov 54f02a3b31 add Headlines.renderAgain() to switch between combined/expanded modes faster 2018-12-10 15:06:47 +03:00
Gilles Grandou df05794032 show errors in feedtree's tooltips 2018-12-10 11:38:59 +01:00
Andrew Dolgov 7e5c999146 show alert if recent_log_events > 0 2018-12-10 10:53:11 +03:00
Andrew Dolgov fca78f7417 add qmcToggleNightMode to actions dropdown 2018-12-09 21:20:59 +03:00
Andrew Dolgov 1c8593c1fa add hotkey (a N) to toggle night.css 2018-12-09 21:17:50 +03:00
Andrew Dolgov 95e1038e6d consistency: show author in multipanel headlines row 2018-12-09 16:12:04 +03:00
Andrew Dolgov a1c595687e fix previous to not crash in prefs 2018-12-09 16:09:51 +03:00
Andrew Dolgov 5e007e0090 headlines-spacer: only set 100% height if auto catchup is enabled 2018-12-09 16:02:20 +03:00
Andrew Dolgov 42780ddeb3 in grouped mode, don't display feed titles twice 2018-12-09 13:57:54 +03:00
Andrew Dolgov 302cffb1a7 catchupFeedInGroup: better icon 2018-12-09 13:53:26 +03:00
Andrew Dolgov dc84e10ba1 catchupFeedInGroup: overhaul
1. less hacky way to catchup actually unread headlines
2. don't fade rows away because it's inconsistent with different mark-as-read functions
3. fix stuck progress alert
2018-12-09 13:52:21 +03:00
Andrew Dolgov fa538a6c86 implement year-week sorting window if headlines buffer is grouped by feed titles 2018-12-09 13:35:37 +03:00
fox e338014d99 Merge branch 'pluginhost_fix' of ggrandou/tt-rss into master 2018-12-09 01:34:48 +00:00
Andrew Dolgov c8253f0e64 Article.openInNewWindow: do not crash if window is null 2018-12-09 04:32:41 +03:00
Gilles Grandou 392ad0bd83 fix PluginHost run method.
callbacks have no return value and anyway we should not prevent
to run subsequent plugins because one has failed.
2018-12-08 19:14:40 +01:00
Andrew Dolgov a0d332326c add PluginHost.HOOK_HEADLINE_RENDERED 2018-12-08 20:08:57 +03:00
Andrew Dolgov a400a8ffc1 add PluginHost.HOOK_INIT_COMPLETE (and make no_title_counters use it) 2018-12-08 20:06:07 +03:00
Andrew Dolgov f3737c0b24 update_rss_feed: add log message if article is filtered out
combine filters: fix crash on missing global function
2018-12-08 17:01:30 +03:00
Andrew Dolgov cf1ef002bc show disabled feeds in pref feed tree, use opacity instead of fixed gray color 2018-12-08 16:10:37 +03:00
Andrew Dolgov 4887db9820 update css for disabled filters; remove strikethrough 2018-12-08 15:49:52 +03:00
Michael Kuhn b43b7be9d5 Fix two more typos 2018-12-08 11:02:39 +01:00
Andrew Dolgov 41bf063e46 switchPanelMode: allow modifying layout in combined mode so that widescreen status won't be initially lost if starting in cdm 2018-12-08 09:46:48 +03:00
Andrew Dolgov bd66a9ef28 render article on the client using headlines data 2018-12-08 09:32:14 +03:00
Andrew Dolgov d1efcb7fc0 cdm: put originally_from into footer 2018-12-07 23:24:59 +03:00
Andrew Dolgov c31ae870c9 popupOpenArticle: don't cause an exception if popups are blocked 2018-12-07 22:07:13 +03:00
Andrew Dolgov 6e30af755c viewfeed: bring back comments prompt 2018-12-07 22:05:39 +03:00
Andrew Dolgov 76885fc5ad viewfeed: general code cleanup 2018-12-07 21:22:51 +03:00
Andrew Dolgov 8f75b06835 implement feed grouping display, remove unneeded server vgrlf passing 2018-12-07 21:11:50 +03:00
Andrew Dolgov 9d2caaefe7 viewfeed: show originally from... 2018-12-07 20:42:51 +03:00
Andrew Dolgov 20d460296d fix unread hl styling 2018-12-07 20:36:10 +03:00
Andrew Dolgov e075e6141b json-viewfeed updates 2018-12-07 18:24:56 +03:00
Andrew Dolgov 249c93a228 initial for js templates 2018-12-07 16:00:11 +03:00
Andrew Dolgov a68b150601 remove separate classes for various panels, unify under .panel
remove a few other unnecessary css classes/ids
2018-12-07 14:03:33 +03:00
Andrew Dolgov 7b0f4f1e46 updateFloatingTitle: marginRight correction no longer needed 2018-12-07 10:12:01 +03:00
Andrew Dolgov 7a276f9898 updateFloatingTitle: add safety offset to hide/show because mozilla can't into math 2018-12-07 10:09:37 +03:00
Andrew Dolgov c4b01dd547 updateFloatingTitle: sync row marked/published status 2018-12-07 09:09:09 +03:00
Andrew Dolgov 75666ac7ab Headlines.click: clicking in body of currently active cdm article should mark
it as read, otherwise it's not possible without a kb shortcut or auto catchup
2018-12-06 20:41:15 +03:00
Andrew Dolgov 7805b291b6 update floating title in toggleUnread functions post-xhr 2018-12-06 20:38:55 +03:00
Andrew Dolgov db3c7d2050 remove floating title appear animation for now 2018-12-06 20:34:46 +03:00
Andrew Dolgov 3e4326e34d add ttrss_filters2.last_triggered (bump schema version) 2018-12-06 19:37:20 +03:00