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.
2019-04-13 22:34:57 +02:00
Andrew Dolgov
83650fffa4
actions dropdown: use material menu icon
2019-03-06 09:20:06 +03:00
Andrew Dolgov
54c1b5c611
fill in some missing doctypes; use short doctype where it wasn't
2019-02-23 13:49:40 +03:00
Andrew Dolgov
2bd51c48d8
remove lib/mobile_detect
2018-12-26 09:07:58 +03:00
Andrew Dolgov
356729310b
remove jshrink
2018-12-13 20:13:30 +03:00
Andrew Dolgov
7915706946
move all status icons like net-alert together on the toolbar
2018-12-10 11:54:19 +03: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
703351c79e
remove theme supports-version etc checking
2018-12-09 11:37:26 +03:00
Andrew Dolgov
e28a993955
replace a few more hardcoded colors with less variables
2018-12-09 10:00:41 +03:00
Andrew Dolgov
0b8cbc9156
remove some bitmaps and rework stuff using it to use iconfont instead
2018-12-06 15:22:52 +03:00
Andrew Dolgov
0ea0b606be
rework net-alert to use iconfont, move it to toolbar start
2018-12-06 12:30:11 +03:00
Andrew Dolgov
2cd1ec5816
remove seemingly useless bordercontainer from main layout
2018-12-05 10:33:30 +03:00
Andrew Dolgov
05200a3840
rename main toolbar elements to be more consistent
2018-12-05 10:03:58 +03:00
Andrew Dolgov
a1407b35e4
add map files; night.css fixes
2018-12-04 22:36:01 +03:00
Andrew Dolgov
2ab097b2e5
initial work for flat modern theme
2018-12-04 22:24:31 +03:00
Andrew Dolgov
88b8830a6b
various CSS updates for flat theme
2018-12-04 20:17:50 +03:00
Andrew Dolgov
563a46f55a
initial
2018-12-04 16:53:01 +03:00
Andrew Dolgov
7c1bc3c5a8
add separate body class for main UI page
2018-12-04 12:01:08 +03:00
Andrew Dolgov
84affc7b1d
rework dojo singleton modules to better work with phpstorm completion (ugh) - declare() is not needed there anyway
...
remove event.observe from login form (not needed)
load pluginhost via amd
2018-12-03 09:33:44 +03:00
Andrew Dolgov
ac8361e6f6
add AppBase as a shared ancestor for main and prefs app objects
...
remove event.observe stuff from startup, unneeded
2018-12-02 21:52:50 +03:00
Andrew Dolgov
d9c5c93cef
move some more stuff out of common.js
...
rework client-side cookie functions a bit
limit dojo cachebust based on server scripts modification time
remove param_escape()
2018-12-02 20:07:57 +03:00
Andrew Dolgov
f89924f7a1
set use strict on JS modules; remove some mostly useless stuff like get_minified_js()
2018-12-02 18:38:27 +03:00
Andrew Dolgov
807ff07454
split main objects to dojo modules
2018-12-02 17:18:59 +03:00
Andrew Dolgov
0a18d0b1ed
Feeds: shorten some method names
...
finally rename "view as rss"
2018-12-02 08:57:22 +03:00
Michael Kuhn
f11933e1fe
Fix typo
2018-12-01 22:22:06 +03:00
Andrew Dolgov
cc26be0793
migrate tt-rss.js contents to App
2018-12-01 21:51:00 +03:00
Andrew Dolgov
1d82bd4f19
further objectification
2018-12-01 17:42:21 +03:00
Andrew Dolgov
d86ddbc635
further objectification of JS code
2018-12-01 17:21:26 +03:00
Andrew Dolgov
e84adbba37
rate-limit headlinesScrollHandler via timeout instead of distance scrolled
...
minor floating title cleanup
2018-12-01 09:33:09 +03:00
Andrew Dolgov
0d27227359
use xhrPost in more places; various minor cleanup
2018-11-29 22:21:09 +03:00
Andrew Dolgov
803b8ead1e
update previous to not die on errors
2018-08-24 17:23:46 +03:00
Andrew Dolgov
f7fe28d059
fix user theme ignoring active settings profile
2018-08-24 17:22:32 +03:00
Andrew Dolgov
c4869cd573
if PHP_VERSION check fails, show current version
2018-08-13 20:13:08 +03:00
wn_
db4b6b9757
Check for PHP 5.6 minimum everywhere.
2018-08-13 08:41:47 -05:00
Andrew Dolgov
a9105e2a61
move JShrink Minifier to vendor/
2018-06-20 15:04:59 +03:00
Andrew Dolgov
a72643257a
do not enforce strict mode for plugins
2018-03-08 18:41:03 +03:00
Andrew Dolgov
3009ecc44f
initial for JS strict mode
2018-03-08 18:33:42 +03:00
Andrew Dolgov
c4a08e4ff0
remove mentions of deprecated.js
2017-12-05 07:09:01 +03:00
Andrew Dolgov
3f2a871421
upd: default css url if no theme
2017-12-03 13:10:25 +03:00
Andrew Dolgov
6bd13fc55f
remove layout.css
2017-12-03 13:07:28 +03:00
Andrew Dolgov
5e68e24679
css/less updates
2017-12-03 12:50:07 +03:00
jr conlin
b486510385
Add "viewport" meta to allow mobile devices ability to resize and display page.
2017-09-02 14:15:19 -07:00
Andrew Dolgov
7590f03961
feedtree.selectFeed: focus headlines-frame after selection
2017-05-12 08:05:35 +03:00
Andrew Dolgov
3188e863b3
handle_rpc_json: fix netalert button never appearing on JSON parse error
2017-02-09 23:04:34 +03:00
Andrew Dolgov
e432b8fbe2
implement cache-busting for default theme.css
...
night theme: small fixes
2017-01-25 12:17:41 +03:00
Andrew Dolgov
6f84bf7b0a
dojoConfig: use cacheBust
2017-01-22 13:43:32 +03:00
Andrew Dolgov
6293d3717c
add toggle_sidebar plugin, remove obsolete toggle button
...
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
2017-01-07 15:29:17 +03:00
Andrew Dolgov
546b419f52
catch plugin JS errors
2016-08-10 12:23:35 +03:00