Commit Graph

412 Commits

Author SHA1 Message Date
Peter Jaszkowiak
ffa2bd14f8 Fix reverse proxies breaking admin translations 2017-01-07 22:48:57 -07:00
barisusakli
53fe432d8a fix hook 2016-12-13 14:27:54 +03:00
barisusakli
97c0b33cf6 filter:middleware.render 2016-12-13 14:22:37 +03:00
Julian Lam
acf2e4078b fixes #5263 2016-12-08 11:28:20 -05:00
Julian Lam
33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 2016-12-02 10:50:47 -05:00
Julian Lam
23cdeeb344 linting :shipit: 2016-12-02 10:07:33 -05:00
Julian Lam
a1b49a98e7 locking down session deletion route to admins and global mods only 2016-12-02 09:49:52 -05:00
barisusakli
6beacdb80c fix headers for new installs
encodeURI(undefined) === "undefined"
2016-11-23 21:06:02 +03:00
Julian Lam
b7fa8c1db1 fixes #5230 2016-11-23 12:25:01 -05:00
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
2016-11-23 11:50:49 -05:00
barisusakli
17f8afd0dc closes #5230 2016-11-23 16:09:46 +03:00
barisusakli
38bc8ad5ae maintenance tests 2016-11-22 14:37:19 +03:00
barisusakli
2476ab3684 closes #5202 2016-11-15 12:45:07 +03:00
barisusakli
ce9be7e694 closes #5132 2016-11-10 15:59:08 +03:00
Julian Lam
663f05b972 adding back banReason to header rendering, as it regressed in 1f10e0b 2016-10-31 11:35:15 -04:00
Julian Lam
1f10e0b287 fixed #5166 2016-10-29 09:35:05 -04:00
Julian Lam
f97f45a138 logic to show a modal to banned users when they try to log in via SSO 2016-10-27 14:16:37 -04:00
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
2016-10-25 15:34:47 -04:00
barisusakli
a995afbfe0 fix style 2016-10-25 12:53:43 +03:00
Julian Lam
2463e85c0d allowing moderators access to the account info page 2016-10-24 15:58:57 -04:00
Barış Soner Uşaklı
041022db63 #5145
dont crash if res.locals.config is undefined
2016-10-22 10:41:45 +03:00
barisusakli
c972a339e6 fix value 2016-10-17 19:01:11 +03:00
barisusakli
862678eefe encodeURIComponent header values 2016-10-17 18:58:25 +03:00
Julian Lam
ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 2016-10-13 14:43:28 -04:00
Julian Lam
eb16eb318e exposing links to moderator tools pages in user logged-in dropdown, closes #5113 2016-10-13 14:13:48 -04:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
98fff29869 closes #5082 2016-10-05 15:22:35 +03:00
barisusakli
15409f92cd escape history data, hide moderation note in api 2016-09-30 18:42:29 +03:00
barisusakli
282ac56bf6 adde expose methods back
used by plugins
2016-09-14 21:21:32 +03:00
barisusakli
aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
2016-09-14 14:33:39 +03:00
barisusakli
478da29423 closes #5020 2016-09-12 15:59:42 +03:00
barisusakli
07fe5057e1 make sure validator.escape() receives strings only 2016-08-27 15:45:15 +03:00
barisusakli
a0f2e8a8ec use req.uid 👍 2016-08-26 18:55:44 +03:00
barisusakli
8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
2016-08-26 18:50:37 +03:00
barisusakli
f7540a7edc closes #4811 2016-08-25 21:56:17 +03:00
barisusakli
409621c661 closes #4843 2016-08-19 17:50:16 +03:00
Mathias Schreck
ce9ee62fa0 Handle callback errors 2016-08-17 12:54:59 +02:00
barisusakli
2103880d61 only extend 5mins if less than 5mins left 2016-08-05 21:54:47 +03:00
barisusakli
514c12aa68 closes #4885 2016-07-29 16:26:32 +03:00
barisusakli
2606844d98 closes #4868 2016-07-29 14:26:04 +03:00
Julian Lam
71a5e4a8a1 better error handling for session revocation if no login session is present, #4214 2016-07-25 12:15:02 -04:00
Ben Lubar
40b57d6cbe add "Admin Approval for IPs", which works like Normal for new users and Admin Approval for sockpuppet accounts (#4882) 2016-07-25 10:56:29 -04:00
barisusakli
fcf145fc81 403 if not logged in, show error 2016-07-11 13:03:47 +03:00
psychobunny
f3c48eb14a oops, #4832 2016-07-08 17:17:59 -04:00
psychobunny
6df3157748 closes #4832 2016-07-08 17:09:47 -04:00
barisusakli
8ea5752b50 added url property to all routes 2016-07-06 20:31:29 +03:00
akhoury
46a57f5d5c rm cls because it's not ready yet 2016-06-24 16:57:58 -04:00
Julian Lam
f03018b7cc updated middlewares so if you have not completed registration, you will be required to do so 2016-06-22 16:54:17 -04:00
barisusakli
bdc23b4a8d add reputation to app.user 2016-05-25 20:17:02 +03:00