Commit Graph

411 Commits (283ae564f2771459592e8a36a46e09e4bcafc1d1)

Author SHA1 Message Date
barisusakli 53fe432d8a fix hook
barisusakli 97c0b33cf6 filter:middleware.render
Julian Lam acf2e4078b fixes
Julian Lam 33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit
Julian Lam 23cdeeb344 linting :shipit:
Julian Lam a1b49a98e7 locking down session deletion route to admins and global mods only
barisusakli 6beacdb80c fix headers for new installs
encodeURI(undefined) === "undefined"
Julian Lam b7fa8c1db1 fixes
Peter Jaszkowiak c5237443cd Standard language codes ()
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
barisusakli 17f8afd0dc closes
barisusakli 38bc8ad5ae maintenance tests
barisusakli 2476ab3684 closes
barisusakli ce9be7e694 closes
Julian Lam 663f05b972 adding back banReason to header rendering, as it regressed in 1f10e0b
Julian Lam 1f10e0b287 fixed
Julian Lam f97f45a138 logic to show a modal to banned users when they try to log in via SSO
Sergii Paryzhskyi e515b791da Fix eslint rules ()
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
barisusakli a995afbfe0 fix style
Julian Lam 2463e85c0d allowing moderators access to the account info page
Barış Soner Uşaklı 041022db63
dont crash if res.locals.config is undefined
barisusakli c972a339e6 fix value
barisusakli 862678eefe encodeURIComponent header values
Julian Lam ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint
Julian Lam eb16eb318e exposing links to moderator tools pages in user logged-in dropdown, closes
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
HeeL 3fa1c1f927 Fix space-infix-ops linter rule
barisusakli 98fff29869 closes
barisusakli 15409f92cd escape history data, hide moderation note in api
barisusakli 282ac56bf6 adde expose methods back
used by plugins
barisusakli aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
barisusakli 478da29423 closes
barisusakli 07fe5057e1 make sure validator.escape() receives strings only
barisusakli a0f2e8a8ec use req.uid 👍
barisusakli 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
barisusakli f7540a7edc closes
barisusakli 409621c661 closes
Mathias Schreck ce9ee62fa0 Handle callback errors
barisusakli 2103880d61 only extend 5mins if less than 5mins left
barisusakli 514c12aa68 closes
barisusakli 2606844d98 closes
Julian Lam 71a5e4a8a1 better error handling for session revocation if no login session is present,
Ben Lubar 40b57d6cbe add "Admin Approval for IPs", which works like Normal for new users and Admin Approval for sockpuppet accounts ()
barisusakli fcf145fc81 403 if not logged in, show error
psychobunny f3c48eb14a oops,
psychobunny 6df3157748 closes
barisusakli 8ea5752b50 added url property to all routes
akhoury 46a57f5d5c rm cls because it's not ready yet
Julian Lam f03018b7cc updated middlewares so if you have not completed registration, you will be required to do so
barisusakli bdc23b4a8d add reputation to app.user
Julian Lam 149565169b closes