Commit Graph

801 Commits (ba86c64d38d9995d38af163ae4c51a42b21d5de7)

Author SHA1 Message Date
Andrew Dolgov 7cf12233d7 use ORM when subscribing feeds 3 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
3 years ago
Andrew Dolgov 031ee47a3e don't try to pass string literal NOW() to ORM as a timestamp 3 years ago
Andrew Dolgov 8b1a2406e6 userhelper: use orm for a few more user-related things 3 years ago
Andrew Dolgov 2d1391a02b come to think of it, we don't need it at all 3 years ago
Andrew Dolgov dbad39d7a2 auth_internal: don't try to get otp_enabled on old schema 3 years ago
Andrew Dolgov 6359259dbb simplify internal authentication code and bump default algo to SSHA-512 3 years ago
Andrew Dolgov 320503dd39 move version-related stuff to Config; fix conditional feed requests 3 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) 3 years ago
Andrew Dolgov 7ef72fe0dc move startup checks to Config, set a bunch of @deprecated annotations 3 years ago
Andrew Dolgov bada1601fc OTP form: simplify layout, use dojo controls 3 years ago
Andrew Dolgov afc7142250 move all $fetch globals to UrlHelper 3 years ago
Andrew Dolgov 78a7b3642f af_redditimgur: allow adding custom tags for NSFW posts 3 years ago
Andrew Dolgov c521e26a19 use absolute namespace for readability 3 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
3 years ago
Andrew Dolgov bc4475b669 add missing composer files 3 years ago
Andrew Dolgov cf1ede0ba8 pull latest readability-php via composer 3 years ago
Andrew Dolgov 167c9fc34e silence php8 warnings in otp secondary login form 3 years ago
Andrew Dolgov c96172fa04 use constants in get_pref()/set_pref() 3 years ago
Andrew Dolgov bd2314170d implement prefs UI based on new prefs class and a few more things 3 years ago
Andrew Dolgov 2ae0b7059f cleanup some defined-stuff 3 years ago
Andrew Dolgov cae54dad56 af_redditimgur: fix an oopsie 3 years ago
Andrew Dolgov 211f699aa0 migrate the rest into Config:: 3 years ago
Andrew Dolgov e4107ac952 wip: initial for config object 3 years ago
Andrew Dolgov 42173386b3 dirname(__FILE__) -> __DIR__ 3 years ago
Andrew Dolgov be4e7b1340 fix several issues reported by phpstan 3 years ago
Andrew Dolgov 33fff26869 reinstate HOOK_RENDER_ENCLOSURE 3 years ago
Andrew Dolgov 94560132dd for the most part, deal with filter rules UI 3 years ago
Andrew Dolgov 545bcc3e4b bookmarklets: cleanup some more markup 3 years ago
Andrew Dolgov fc0ebf0891 move bookmarklet-related methods out of public.php into the plugin 3 years ago
Andrew Dolgov cf249d7e8c modify classname helpers to use element.classList; fix feed debugger & share--get 3 years ago
Andrew Dolgov 5cec4eb015 af_readability: fix selector 3 years ago
Andrew Dolgov d445530fa0 format note on the client 3 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
3 years ago
Andrew Dolgov 6b43b788d9 migrate xhrJson invocations to the new helper 3 years ago
Andrew Dolgov 00310d2d23 cleanup some unused code, fix App.byId() invoked by wrong name 3 years ago
Andrew Dolgov c088e9d9d8 get rid of a few more prototype-isms 3 years ago
Andrew Dolgov 70fa423026 initial for RIP prototype/scriptaculous 3 years ago
Andrew Dolgov bed36cbf9f af_psql_trgm: cleanup 3 years ago
Andrew Dolgov a2c75257f1 bookmarklets: cleanup 3 years ago
Andrew Dolgov d8a99ce06a remove unneeded headings 3 years ago
Andrew Dolgov 39c0fe3697 shorten many invocations of Ajax.Request in inline form methods 3 years ago
Andrew Dolgov ee0b66b6bd af_proxy_http: markup cleanup 3 years ago
Andrew Dolgov b888bc2091 cache_starred_images: don't try to use undefined array index 3 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
3 years ago
Andrew Dolgov 35b6d63289 af_proxy_http: don't try to proxy back to ourselves 3 years ago
Andrew Dolgov 6ecee2abbd cache_starred_images: minor fixes 3 years ago
Andrew Dolgov ea37d05a83 delete unused mail .pngs 3 years ago
Andrew Dolgov 2ac6508fe6 mail, mailto: cleanup markup 3 years ago
Andrew Dolgov 2b2833bb4f plugins: load dialogs via xhr instead of http 3 years ago