411 Commits (c927eb15d708ac4f5c68783596ee182322ba59ff)

Author SHA1 Message Date
barisusakli 53fe432d8a fix hook 8 years ago
barisusakli 97c0b33cf6 filter:middleware.render 8 years ago
Julian Lam acf2e4078b fixes #5263 8 years ago
Julian Lam 33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 8 years ago
Julian Lam 23cdeeb344 linting :shipit: 8 years ago
Julian Lam a1b49a98e7 locking down session deletion route to admins and global mods only 8 years ago
barisusakli 6beacdb80c fix headers for new installs
encodeURI(undefined) === "undefined"
8 years ago
Julian Lam b7fa8c1db1 fixes #5230 8 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* 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
8 years ago
barisusakli 17f8afd0dc closes #5230 8 years ago
barisusakli 38bc8ad5ae maintenance tests 8 years ago
barisusakli 2476ab3684 closes #5202 8 years ago
barisusakli ce9be7e694 closes #5132 8 years ago
Julian Lam 663f05b972 adding back banReason to header rendering, as it regressed in 1f10e0b 8 years ago
Julian Lam 1f10e0b287 fixed #5166 8 years ago
Julian Lam f97f45a138 logic to show a modal to banned users when they try to log in via SSO 8 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

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