Commit Graph

201 Commits (dd9d017f7d5041eedc31a126d023f5f4d406e557)

Author SHA1 Message Date
Andrew Dolgov cfb4882591 cleanup javascript_tag and stylesheet_tag 4 years ago
Andrew Dolgov 1fb7125f90 minor cleanup related to toolbar-main (use dijit methods, etc) 4 years ago
Andrew Dolgov 7ef72fe0dc move startup checks to Config, set a bunch of @deprecated annotations 4 years ago
Andrew Dolgov 56b10fea18 pass translations to frontend as a json object 4 years ago
Andrew Dolgov c96172fa04 use constants in get_pref()/set_pref() 4 years ago
Andrew Dolgov 2621fe7955 fix get_pref always using default profile; remove unneeded code from db_prefs 4 years ago
Andrew Dolgov 8d2e3c2528 drop errors.php and simplify error handling 4 years ago
Andrew Dolgov 29ada58b4a move db-prefs shortcut functions to functions.php 4 years ago
Andrew Dolgov 12bcf826e4 don't include config.php everywhere 4 years ago
Andrew Dolgov 211f699aa0 migrate the rest into Config:: 4 years ago
Andrew Dolgov e4107ac952 wip: initial for config object 4 years ago
Andrew Dolgov 42173386b3 dirname(__FILE__) -> __DIR__ 4 years ago
Andrew Dolgov c088e9d9d8 get rid of a few more prototype-isms 4 years ago
Andrew Dolgov 70fa423026 initial for RIP prototype/scriptaculous 4 years ago
Andrew Dolgov a2e688fcb2 render headline-specific toolbar on the client 4 years ago
Andrew Dolgov 15fd23c374 use shortcut echo syntax for php templates 4 years ago
Andrew Dolgov 1f2ba932b8 RIP easy-installer 4 years ago
Andrew Dolgov 848bc57f29 disable themes in safe mode; rework safe mode warning/login prompt 4 years ago
Andrew Dolgov 74986d1ac6 shorten pref tab names; make log-alert clickable 4 years ago
Andrew Dolgov 3b52cea811 move some old-style handlers to new callback ones 4 years ago
Andrew Dolgov 403dca154c initial WIP for php8; bump php version requirement to 7.0 4 years ago
Andrew Dolgov 81c52b4b1e add support for an override stylesheet which applies to all users 4 years ago
Andrew Dolgov 74568df4ff remove a lot of stuff from global context (functions.php), add a few helper classes instead 4 years ago
Andrew Dolgov b4cb67e77f remove csrf token from rpc method sanityCheck 4 years ago
Andrew Dolgov ddf9227dc4 pluginhost: allow overriding default sort modes via HOOK_HEADLINES_CUSTOM_SORT_MAP etc 4 years ago
Andrew Dolgov 7adbc95acc remove floating title, use position: sticky for cdm headers instead 5 years ago
Andrew Dolgov 19e1d13460 add URL parameter to ignore user theme on startup 5 years ago
Andrew Dolgov 72d0fac80c remove version.php and VERSION global constant, do version-related things in a slightly less ridiculous way 5 years ago
Andrew Dolgov 07f4878d59 workaround for a race condition between dojo.parse() and tt-rss loading proper day/night css on startup because of firefox async CSS loader 5 years ago
Andrew Dolgov 0237dee980 implement automatic night mode detection using MQL
add separate light.css to force light theme
remove manual night mode toggle and related code
5 years ago
jc f56ae1dcc9 Add HOOK_FEED_TREE to div feeds-holder 5 years ago
Andrew Dolgov 5829ee9498 main toolbar: set order values for main toolbar elements 5 years ago
Michael Kuhn e38fcd6dea Fix button focus issues
This change introduces derived classes for ComboButton, DropDownButton
and Select that make sure that buttons do not remain focused after their
menus are closed. This allows using hotkeys after closing them.
6 years ago
Michael Kuhn 4a2a90c980 Fix focus issues with hotkeys
Since making use of keypress in addition to keydown, hotkeys did not
work in certain scenarios, including clicking on the feed tree expanders
or empty spaces of the toolbar.

This issue is caused by dijit.Tree and dijit.Toolbar implementing the
_KeyNavMixin, which explicitly stops propagation of keypress events.

This change contains two main fixes plus a smaller hotfix:
1. It overrides _onContainerKeydown and _onContainerKeypress for
   fox.FeedTree (which inherits from dijit.Tree).
2. It adds fox.Toolbar, which overrides _onContainerKeydown,
   _onContainerKeypress and focus. This fixes hotkeys being swallowed
   and the first focusable child receiving focus when clicking on an
   empty space of the toolbar.
3. It adds the same handling of keydown and keypress to the prefs hotkey
   handler as is done in the main hotkey handler.
6 years ago
Andrew Dolgov 83650fffa4 actions dropdown: use material menu icon 6 years ago
Andrew Dolgov 54c1b5c611 fill in some missing doctypes; use short doctype where it wasn't 6 years ago
Andrew Dolgov 2bd51c48d8 remove lib/mobile_detect 6 years ago
Andrew Dolgov 356729310b remove jshrink 6 years ago
Andrew Dolgov 7915706946 move all status icons like net-alert together on the toolbar 6 years ago
Andrew Dolgov 7e5c999146 show alert if recent_log_events > 0 6 years ago
Andrew Dolgov fca78f7417 add qmcToggleNightMode to actions dropdown 6 years ago
Andrew Dolgov 1c8593c1fa add hotkey (a N) to toggle night.css 6 years ago
Andrew Dolgov 703351c79e remove theme supports-version etc checking 6 years ago
Andrew Dolgov e28a993955 replace a few more hardcoded colors with less variables 6 years ago
Andrew Dolgov 0b8cbc9156 remove some bitmaps and rework stuff using it to use iconfont instead 6 years ago
Andrew Dolgov 0ea0b606be rework net-alert to use iconfont, move it to toolbar start 6 years ago
Andrew Dolgov 2cd1ec5816 remove seemingly useless bordercontainer from main layout 6 years ago
Andrew Dolgov 05200a3840 rename main toolbar elements to be more consistent 6 years ago
Andrew Dolgov a1407b35e4 add map files; night.css fixes 6 years ago
Andrew Dolgov 2ab097b2e5 initial work for flat modern theme 6 years ago