Philip Klempin
fa22e1bc35
Add coalescing operator to otp_enabled when changing user password
4 years ago
Andrew Dolgov
68ecf52594
some small layout fixes, remove a few inline styles
4 years ago
Andrew Dolgov
2cd159e2ce
use separate database column for OTP secrets (migrate previous format if needed)
4 years ago
Andrew Dolgov
08ff629af5
limit user data sent to frontend
4 years ago
Andrew Dolgov
d4ad483add
user editor: allow toggling otp
4 years ago
Andrew Dolgov
031ee47a3e
don't try to pass string literal NOW() to ORM as a timestamp
4 years ago
Andrew Dolgov
8b1a2406e6
userhelper: use orm for a few more user-related things
4 years ago
Andrew Dolgov
127a868e40
userhelper: use orm for some things
4 years ago
Andrew Dolgov
f38be747d1
initial for idiorm
4 years ago
Andrew Dolgov
6359259dbb
simplify internal authentication code and bump default algo to SSHA-512
4 years ago
Andrew Dolgov
8d2e3c2528
drop errors.php and simplify error handling
4 years ago
Andrew Dolgov
211f699aa0
migrate the rest into Config::
4 years ago
Andrew Dolgov
75435aa960
user details: cleanup
4 years ago
Andrew Dolgov
39604bedef
move reset_password to UserHelper
4 years ago
Andrew Dolgov
8e79f1717d
prefs: unify naming
4 years ago
Andrew Dolgov
4996d8ccfe
pref-users edit: use client dialog
4 years ago
Andrew Dolgov
0b7377238a
add Handler_Administrative
4 years ago
Andrew Dolgov
33ea46c2bc
pref-users/add: remove unused variable
4 years ago
Andrew Dolgov
0fbf109912
* remove users/filters toolbar edit button (just click on it)
...
* fix title of edit filter dialog always showing create filter
4 years ago
Andrew Dolgov
a8cc43a0ff
move logout_user() to UserHelper
4 years ago
Andrew Dolgov
2547ece0ca
pref-users: cleanup index
4 years ago
Andrew Dolgov
3d11c61f32
* OPML import: don't reload everything, just feed tree
...
* dialogs: use auto-destroying dialog for almost all dialogs instead of destroying them manually
* some general dialog-related cleanup
4 years ago
Andrew Dolgov
bf6d0f2817
various dialog-related fixes; stop referring to many dialogs by name; move filter test initial dialog to client side
4 years ago
Andrew Dolgov
09e9f34bb4
add UserHelper::find_user_by_login() and rewrite some user checks to invoke it instead of going through PDO
4 years ago
Andrew Dolgov
7af8744c85
authentication: make logins case-insensitive (force lowercase)
4 years ago
Andrew Dolgov
1eb1629d9e
pluginhost: rework run_hooks() to be shorter, add callback variant; implement exception handling for both
4 years ago
Andrew Dolgov
ce2335deaf
pref-users: css fixes
4 years ago
Andrew Dolgov
73e697a0df
fix some warnings in prefs (filters, users)
4 years ago
Andrew Dolgov
6e774a58fe
more php8 fixes mostly related to login
4 years ago
Andrew Dolgov
403dca154c
initial WIP for php8; bump php version requirement to 7.0
4 years ago
Andrew Dolgov
215f388992
move timestamp-related stuff to a separate class
4 years ago
Andrew Dolgov
6811d0bde2
use self:: in some places to invoke static methods from the same class
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
088fcf8131
move more globals to more appropriate places
...
set libxml to always use internal errors
6 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
16a9bdc387
make_password: generate longer passwords by default, use better random function if available
6 years ago
Andrew Dolgov
ef6d2b8a4e
update notifications to make them more visible
...
cleanup some minor stuff in pref-users
6 years ago
Andrew Dolgov
7724aa9b7c
pref-users: fix typo which stopped search from working; quote style stuff
6 years ago
Andrew Dolgov
335147e572
dialogs: use semantic markup instead of dlgsec stuff
...
continue unifying quoting style for html strings
6 years ago
Andrew Dolgov
4d9141d762
simplify dlgSec-related markup
6 years ago
Andrew Dolgov
c11f32ac38
center and rework some utility screens
6 years ago
Andrew Dolgov
a68b150601
remove separate classes for various panels, unify under .panel
...
remove a few other unnecessary css classes/ids
6 years ago
Andrew Dolgov
a0b1664620
prefs: change user icon
6 years ago
Andrew Dolgov
cad6d1d7fd
various icon updates; use new icons in feed tree
6 years ago
Andrew Dolgov
8c5c762a85
some more icon styling updates + user control panel
6 years ago
Andrew Dolgov
6befff30d7
updates for flat theme (mostly disable old dijit overrides)
6 years ago
Andrew Dolgov
b9869dbc01
prefs: remove some more stuff from global context (user management, etc)
6 years ago
Andrew Dolgov
e23b6e397d
prefs: store active tab for reload, remove most old table row functions
6 years ago
Andrew Dolgov
874560db54
remove obsolete row selection functions
...
move getUrlParam() to Utils
6 years ago