Andrew Dolgov
3b67abb0ea
reddit: import comment counts
4 years ago
Andrew Dolgov
7cf12233d7
use ORM when subscribing feeds
4 years ago
Andrew Dolgov
70adfd4a74
* sanitize: never rewrite relative links to our own prefix
...
* use Config::get_self_url() instead of get_self_url_prefix() in a bunch
of places
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
2d1391a02b
come to think of it, we don't need it at all
4 years ago
Andrew Dolgov
dbad39d7a2
auth_internal: don't try to get otp_enabled on old schema
4 years ago
Andrew Dolgov
6359259dbb
simplify internal authentication code and bump default algo to SSHA-512
4 years ago
Andrew Dolgov
320503dd39
move version-related stuff to Config; fix conditional feed requests
4 years ago
Andrew Dolgov
20a844085f
hide version for bundled plugins because it's meaningless; for everything else support showing version using git (if about[0] is null)
4 years ago
Andrew Dolgov
7ef72fe0dc
move startup checks to Config, set a bunch of @deprecated annotations
4 years ago
Andrew Dolgov
bada1601fc
OTP form: simplify layout, use dojo controls
4 years ago
Andrew Dolgov
afc7142250
move all $fetch globals to UrlHelper
4 years ago
Andrew Dolgov
78a7b3642f
af_redditimgur: allow adding custom tags for NSFW posts
4 years ago
Andrew Dolgov
c521e26a19
use absolute namespace for readability
4 years ago
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
bc4475b669
add missing composer files
4 years ago
Andrew Dolgov
cf1ede0ba8
pull latest readability-php via composer
4 years ago
Andrew Dolgov
167c9fc34e
silence php8 warnings in otp secondary login form
4 years ago
Andrew Dolgov
c96172fa04
use constants in get_pref()/set_pref()
4 years ago
Andrew Dolgov
bd2314170d
implement prefs UI based on new prefs class and a few more things
4 years ago
Andrew Dolgov
2ae0b7059f
cleanup some defined-stuff
4 years ago
Andrew Dolgov
cae54dad56
af_redditimgur: fix an oopsie
4 years ago
Andrew Dolgov
211f699aa0
migrate the rest into Config::
4 years ago
Andrew Dolgov
e4107ac952
wip: initial for config object
4 years ago
Andrew Dolgov
42173386b3
dirname(__FILE__) -> __DIR__
4 years ago
Andrew Dolgov
be4e7b1340
fix several issues reported by phpstan
4 years ago
Andrew Dolgov
33fff26869
reinstate HOOK_RENDER_ENCLOSURE
4 years ago
Andrew Dolgov
94560132dd
for the most part, deal with filter rules UI
4 years ago
Andrew Dolgov
545bcc3e4b
bookmarklets: cleanup some more markup
4 years ago
Andrew Dolgov
fc0ebf0891
move bookmarklet-related methods out of public.php into the plugin
4 years ago
Andrew Dolgov
cf249d7e8c
modify classname helpers to use element.classList; fix feed debugger & share--get
4 years ago
Andrew Dolgov
5cec4eb015
af_readability: fix selector
4 years ago
Andrew Dolgov
d445530fa0
format note on the client
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
6b43b788d9
migrate xhrJson invocations to the new helper
4 years ago
Andrew Dolgov
00310d2d23
cleanup some unused code, fix App.byId() invoked by wrong name
4 years ago
Andrew Dolgov
c088e9d9d8
get rid of a few more prototype-isms
4 years ago
Andrew Dolgov
70fa423026
initial for RIP prototype/scriptaculous
4 years ago
Andrew Dolgov
bed36cbf9f
af_psql_trgm: cleanup
4 years ago
Andrew Dolgov
a2c75257f1
bookmarklets: cleanup
4 years ago
Andrew Dolgov
d8a99ce06a
remove unneeded headings
4 years ago
Andrew Dolgov
39c0fe3697
shorten many invocations of Ajax.Request in inline form methods
4 years ago
Andrew Dolgov
ee0b66b6bd
af_proxy_http: markup cleanup
4 years ago
Andrew Dolgov
b888bc2091
cache_starred_images: don't try to use undefined array index
4 years ago
Andrew Dolgov
e4609c18ef
* add (disabled) shortcut syntax for plugin methods
...
* add controls shortcut for pluginhandler tags
* add similar shortcut for frontend
* allow plugins to selectively exclude their methods from CSRF checking
4 years ago
Andrew Dolgov
35b6d63289
af_proxy_http: don't try to proxy back to ourselves
4 years ago
Andrew Dolgov
6ecee2abbd
cache_starred_images: minor fixes
4 years ago
Andrew Dolgov
ea37d05a83
delete unused mail .pngs
4 years ago
Andrew Dolgov
2ac6508fe6
mail, mailto: cleanup markup
4 years ago