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.
2019-04-14 12:01:52 +02:00
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
16a9bdc387
make_password: generate longer passwords by default, use better random function if available
2019-03-05 20:16:50 +03:00
Andrew Dolgov
ef6d2b8a4e
update notifications to make them more visible
...
cleanup some minor stuff in pref-users
2019-03-05 20:09:06 +03:00
Andrew Dolgov
7724aa9b7c
pref-users: fix typo which stopped search from working; quote style stuff
2019-02-23 08:01:29 +03:00
Andrew Dolgov
335147e572
dialogs: use semantic markup instead of dlgsec stuff
...
continue unifying quoting style for html strings
2019-02-22 10:48:56 +03:00
Andrew Dolgov
4d9141d762
simplify dlgSec-related markup
2019-02-20 14:37:59 +03:00
Andrew Dolgov
c11f32ac38
center and rework some utility screens
2019-02-19 14:59:29 +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
a0b1664620
prefs: change user icon
2018-12-05 21:40:46 +03:00
Andrew Dolgov
cad6d1d7fd
various icon updates; use new icons in feed tree
2018-12-05 20:26:27 +03:00
Andrew Dolgov
8c5c762a85
some more icon styling updates + user control panel
2018-12-05 16:58:00 +03:00
Andrew Dolgov
6befff30d7
updates for flat theme (mostly disable old dijit overrides)
2018-12-04 19:03:42 +03:00
Andrew Dolgov
b9869dbc01
prefs: remove some more stuff from global context (user management, etc)
2018-12-02 16:17:36 +03:00
Andrew Dolgov
e23b6e397d
prefs: store active tab for reload, remove most old table row functions
2018-12-02 11:25:32 +03:00
Andrew Dolgov
874560db54
remove obsolete row selection functions
...
move getUrlParam() to Utils
2018-12-02 10:33:58 +03:00
Andrew Dolgov
a2ef54cd92
toggleMark, togglePub: refactor implementation
...
shorten marked/published img CSS classes
2018-12-01 08:20:09 +03:00
Andrew Dolgov
55bf4bc1d3
mailer: split to/from name/addresses
2018-11-22 16:36:10 +03:00
Andrew Dolgov
57932e1837
remove PHPMailer and related directives from config.php-dist; add pluggable Mailer class
2018-11-22 14:45:14 +03:00
Andrew Dolgov
3a0292303e
php: remove trailing whitespaces
2018-11-03 15:08:43 +03:00
Andrew Dolgov
05e81655c3
user editor: add primary action
2017-12-11 18:41:32 +03:00
Andrew Dolgov
e6532439d6
force strip_tags() on all user input unless explicitly allowed
2017-12-03 23:35:38 +03:00
Andrew Dolgov
2cf93c046c
pref-users: fix sorting the table
2017-12-03 13:54:31 +03:00
Andrew Dolgov
c2418a559b
pref-users: PDO
2017-12-02 12:23:41 +03:00
Andrew Dolgov
ea79a0e033
remove some redundant php closing tags
2017-04-26 20:24:18 +03:00
Andrew Dolgov
7b55001eee
fix various issues reported by static analysis
...
update gitlab-ci config
2017-04-26 15:29:22 +03:00
Andrew Dolgov
328118d12e
use print_hidden() for hidden dojo form fields
2017-02-10 14:36:21 +03:00
Andrew Dolgov
a84fb943b4
pre-users: disallow renaming admin user
2016-08-17 17:54:27 +03:00
Andrew Dolgov
bf9cc9ad95
combine user edit & user details
2015-08-12 20:19:38 +03:00
Andrew Dolgov
f232aa5a34
remove num_articles from main pref_users query
2015-08-12 18:24:16 +03:00
Andrew Dolgov
1edff0d439
user manager: show stored feeds/articles
2015-08-12 16:01:47 +03:00
Andrew Dolgov
b41c5741fe
disable OTP on user password reset
2014-03-09 10:33:41 +04:00
Andrew Dolgov
2f20dd58d2
integrate silk icons by Mark James
2013-07-10 13:09:12 +04:00
Andrew Dolgov
da8d534ac1
minor user editor updates
2013-06-11 12:12:43 +04:00
Andrew Dolgov
d9afd9b2b5
use dojo stuff for user details
2013-06-11 12:11:02 +04:00
Andrew Dolgov
808ef3d4fc
pref-users: remove useless javascript: prefix
2013-06-11 12:05:45 +04:00
Andrew Dolgov
222a61c222
user editor: use dojo stuff
2013-06-11 12:04:29 +04:00
Andrew Dolgov
610fe11535
add HOOK_PREFS_TAB_SECTION to user manager toolbar
2013-05-22 12:02:43 +04:00
Andrew Dolgov
0e72dbd79e
Merge pull request #179 from nottwo/$link-cleanup
...
Remove obsolete $link parameter for password reset
2013-05-05 21:06:43 -07:00
Andrew Dolgov
8d090a910b
use css nth-child instead of old even/odd class hacks for normal mode
2013-05-04 12:01:53 +04:00
Trannie Carter
233b74ad22
Remove obsolete $link parameter for password reset
2013-05-03 20:44:24 -04:00
Andrew Dolgov
1ffe3391f9
make pluginhost a singleton
2013-04-18 12:27:34 +04:00
Andrew Dolgov
d9c85e0f11
classes: use OO DB interface
2013-04-17 20:12:14 +04:00
Andrew Dolgov
a42c55f02b
fix blank character after opening bracket in function calls
2013-04-17 18:34:18 +04:00
Andrew Dolgov
6322ac79a0
remove $link
2013-04-17 16:48:41 +04:00
Andrew Dolgov
a5680acbe8
replace split with explode
2013-04-16 20:40:23 +04:00
Andrew Dolgov
977580a41c
remove obsolete xml stuff in pref-users infoboxes
2013-04-01 18:28:47 +04:00
Andrew Dolgov
483f15d538
update utility.css related stuff some more
2013-03-28 13:19:28 +04:00
Andrew Dolgov
c72069b098
pref_users: do not escape password to prevent special character
...
mishandling; remove inconsistent trimming of passwords
2013-03-27 13:47:35 +04:00
Tomas Chvatal
1844694351
gettext whitespace fix
2013-03-24 13:37:40 +01:00