Andrew Dolgov
|
ebf16a36a1
|
remove a bunch of return type hints that didn't quite fit
|
2021-02-26 19:27:40 +03:00 |
Andrew Dolgov
|
3fd7856543
|
* switch to composer for qrcode and otp dependencies
* move most OTP-related stuff into userhelper
* remove old phpqrcode and otphp libraries
|
2021-02-26 19:16:17 +03:00 |
Andrew Dolgov
|
89ad25405e
|
userhelper: only notify failed login for actual logins
|
2021-02-25 18:26:37 +03:00 |
Andrew Dolgov
|
8915bd1b21
|
fix crash caused by non-numeric non-null _SESSION[uid] passed to sql logger
|
2021-02-25 18:21:48 +03:00 |
Andrew Dolgov
|
dcf0135285
|
logger: shorter syntax
|
2021-02-25 15:49:30 +03:00 |
Andrew Dolgov
|
59c14e9c00
|
api: remove base64 encoded passwords (wtf), log all authentication failures in userhelper
|
2021-02-25 15:39:46 +03:00 |
Andrew Dolgov
|
efd196839a
|
stop caching schema version entirely, fix some session_start() related warnings
|
2021-02-25 15:28:27 +03:00 |
Andrew Dolgov
|
c96172fa04
|
use constants in get_pref()/set_pref()
|
2021-02-25 14:49:58 +03:00 |
Andrew Dolgov
|
bd2314170d
|
implement prefs UI based on new prefs class and a few more things
|
2021-02-25 12:46:13 +03:00 |
Andrew Dolgov
|
988eb3ac91
|
initial (wip) for new prefs
|
2021-02-25 09:33:36 +03:00 |
Andrew Dolgov
|
e4107ac952
|
wip: initial for config object
|
2021-02-22 21:47:48 +03:00 |
Andrew Dolgov
|
fc0ebf0891
|
move bookmarklet-related methods out of public.php into the plugin
|
2021-02-19 20:21:36 +03:00 |
Andrew Dolgov
|
9d7ba773ec
|
move session-related functions to their own namespace
|
2021-02-16 17:13:16 +03:00 |
Andrew Dolgov
|
39604bedef
|
move reset_password to UserHelper
|
2021-02-15 16:59:54 +03:00 |
Andrew Dolgov
|
8e79f1717d
|
prefs: unify naming
|
2021-02-15 16:07:22 +03:00 |
Andrew Dolgov
|
a8cc43a0ff
|
move logout_user() to UserHelper
|
2021-02-14 15:31:03 +03:00 |
Andrew Dolgov
|
71dfc83466
|
force _ENABLED_PLUGINS to string when passed to pluginhost
|
2021-02-12 17:20:37 +03:00 |
Andrew Dolgov
|
09e9f34bb4
|
add UserHelper::find_user_by_login() and rewrite some user checks to invoke it instead of going through PDO
|
2021-02-11 10:22:27 +03:00 |
Andrew Dolgov
|
51d2deeea9
|
fix hierarchy of authentication modules, make everything extend Auth_Base and implement hook_auth_user() for pluginhost
|
2021-02-08 19:11:31 +03:00 |
Andrew Dolgov
|
6e774a58fe
|
more php8 fixes mostly related to login
|
2021-02-06 00:12:15 +03:00 |
Andrew Dolgov
|
403dca154c
|
initial WIP for php8; bump php version requirement to 7.0
|
2021-02-05 23:41:32 +03:00 |
Andrew Dolgov
|
40f38fc87f
|
pluginhost: load plugin data automatically (also marks load_data method as private)
|
2021-01-15 08:32:06 +03:00 |
Andrew Dolgov
|
4e3ef7a4dd
|
get_user_ip: remove REMOTEADDR for the time being
|
2021-01-05 10:25:43 +03:00 |
Andrew Dolgov
|
a8302fb253
|
use X-Real-IP headers if possible while authenticating
|
2021-01-05 10:17:24 +03:00 |
Andrew Dolgov
|
6811d0bde2
|
use self:: in some places to invoke static methods from the same class
|
2020-09-22 14:54:15 +03:00 |
Andrew Dolgov
|
74568df4ff
|
remove a lot of stuff from global context (functions.php), add a few helper classes instead
|
2020-09-22 09:04:33 +03:00 |