Commit Graph

212 Commits (c521e26a1961371fcacde467d79bd3ee4162c2b2)

Author SHA1 Message Date
Andrew Dolgov 3fd7856543 * switch to composer for qrcode and otp dependencies
* move most OTP-related stuff into userhelper
* remove old phpqrcode and otphp libraries
4 years ago
Andrew Dolgov 26a6177bc9 upd previous 4 years ago
Andrew Dolgov 9689f884ab add Prefs::DEBUG_HEADLINE_IDS 4 years ago
Andrew Dolgov 05f690c86b add a separator before HEADLINES_NO_DISTINCT 4 years ago
Andrew Dolgov f3d4bae32e add an option to disable DISTINCT on headlines query (unless it's Labels category) 4 years ago
Andrew Dolgov 1464abbbfc prefs cleanup 4 years ago
Andrew Dolgov c96172fa04 use constants in get_pref()/set_pref() 4 years ago
Andrew Dolgov 5aa05c90e1 pref-prefs: use constants instead of hardcoded strings 4 years ago
Andrew Dolgov 6f02b1afd0 cleanup a bunch of old prefs code 4 years ago
Andrew Dolgov bd2314170d implement prefs UI based on new prefs class and a few more things 4 years ago
Andrew Dolgov 988eb3ac91 initial (wip) for new prefs 4 years ago
Andrew Dolgov 8d2e3c2528 drop errors.php and simplify error handling 4 years ago
Andrew Dolgov 2ae0b7059f cleanup some defined-stuff 4 years ago
Andrew Dolgov e4107ac952 wip: initial for config object 4 years ago
Andrew Dolgov be4e7b1340 fix several issues reported by phpstan 4 years ago
Andrew Dolgov f6bfb89b29 pref-prefs: switch to new control shorthand in a few places 4 years ago
Andrew Dolgov 660a1bbe01 * switch to xhr.post() almost everywhere
* call App.handlerpcjson() automatically on json request (if possible)
 * show net/log indicators in prefs
4 years ago
Andrew Dolgov 00310d2d23 cleanup some unused code, fix App.byId() invoked by wrong name 4 years ago
Andrew Dolgov 70fa423026 initial for RIP prototype/scriptaculous 4 years ago
Andrew Dolgov 39c0fe3697 shorten many invocations of Ajax.Request in inline form methods 4 years ago
Andrew Dolgov 1adb9bb6b6 profiles: use client dialog; move related methods to pref-prefs 4 years ago
Andrew Dolgov bdbbdbb0ed rework controls to accept parameters as array 4 years ago
Andrew Dolgov 26d6b84a57 add namespaced controls with unified naming; deprecated old-style control shortcuts 4 years ago
Andrew Dolgov 8e79f1717d prefs: unify naming 4 years ago
Andrew Dolgov 1c7e4782aa prefs system: load phpinfo using inline method 4 years ago
Andrew Dolgov 6b5c9c781b pref prefs: load secondary tabs when needed 4 years ago
Andrew Dolgov e5cedc7d5f appPasswordList: markup cleanup 4 years ago
Andrew Dolgov 8e75551f95 pref prefs: split index into manageable chunks 4 years ago
Andrew Dolgov 481bd76100 pref helpers: move some methods to their own sections 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 20fb056323 remove customizecss from csrf-ignored methods 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 d466284fab * customizeCSS: client dialog
* remove hardcoded width from most dialogs (move to css)
* add helper to easily get dialog from its widget
* rework some dialog buttons to use current object instead of calling dialog by name
4 years ago
Andrew Dolgov e7e73193fe fix warning in profile edit dialog (2) 4 years ago
Andrew Dolgov 2505ae43a9 fix warning in profile edit dialog 4 years ago
Andrew Dolgov 9e1459d5db pref/prefs: fix warning when in non-default profile 4 years ago
Andrew Dolgov 1d5c8ee500 prefs: fix user plugins shown by incorrect criteria 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 a544123b59 fix clean() for arrays and user plugin list 4 years ago
Andrew Dolgov 403dca154c initial WIP for php8; bump php version requirement to 7.0 4 years ago
Andrew Dolgov 40f38fc87f pluginhost: load plugin data automatically (also marks load_data method as private) 4 years ago
Andrew Dolgov 6da576dbe4 BLACKLISTED_TAGS: use textarea for editing; normalize value when saving 4 years ago
wn 8c4ca7c8ef Fix some 'isset' checks in 'classes/pref/prefs.php'. 4 years ago
Andrew Dolgov 215f388992 move timestamp-related stuff to a separate 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 03a337a660 add basic safe mode which doesn't load any user plugins 4 years ago
Andrew Dolgov a4525d31b2 replace FALSE with false so that static analyzer shuts up about it 4 years ago
Andrew Dolgov 89d53a7f49 fix typo in previous 4 years ago
Andrew Dolgov 1f79d614c4 fix OTP QR code not displayed because of CSRF token passed as a query
parameter
use type-strict comparison when validating CSRF token on the backend
4 years ago
Andrew Dolgov 4a074111b5 user preferences: forbid < and > characters when changing passwords (were silently stripped on save because of clean()) 4 years ago