Commit Graph

386 Commits

Author SHA1 Message Date
Julian Lam
eb16eb318e exposing links to moderator tools pages in user logged-in dropdown, closes #5113 2016-10-13 14:13:48 -04: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
Julian Lam
149565169b closes #4658 2016-05-24 22:01:46 -04:00
Nate Lee
07c59ae174 changed cls.getItem to equal cls.get from cls.set
based off of naming schema
2016-05-24 10:02:27 -07:00
Dravere
2fd6391081 Made the session cookie aware of the possible relative path (#4663) 2016-05-18 12:43:46 -04:00
Julian Lam
ef4a94857d fixed admin lockout timer for subfolder installs @barisusakli :trollface: 2016-05-18 11:05:25 -04:00
Julian Lam
437770538c work-in-progress commit for #4655 2016-05-16 10:32:28 -04:00
barisusakli
16ba7ee840 fix #1972 2016-05-15 20:35:37 +03:00
barisusakli
2e0763b0a8 closes #1972 2016-05-15 20:33:57 +03:00
Julian Lam
621e0d145e closes #4617
Serving english timeago strings from server instead of round-trip
re-request on failure.
2016-05-10 11:07:03 -04:00
Barış Soner Uşaklı
f0685468f8 Merge pull request #4162 from akhoury/master
add continuation-local-storage (CLS) support
2016-05-09 19:28:59 +03:00
barisusakli
702597d759 change /user/uid to /uid/:uid
so it doesn't conflict with actual user routes
was causing incorrect redirects if a user had a numeric userslug
@julianlam
2016-05-06 09:41:35 +03:00
psychobunny
4cdeae33e5 don't add "page-xxx-" class if trailing slash exists 2016-05-05 22:44:14 -04:00
barisusakli
eb0aea6390 add /user/<uid> and /post/<pid> redirects
change notifications to use new redirects
2016-05-05 20:24:09 +03:00
barisusakli
cef7fb545b closes #1972 2016-05-03 19:13:10 +03:00
barisusakli
25f3a31ff1 closes #4587 2016-04-30 10:47:28 +03:00
Julian Lam
2e2c8b8e77 fixes #4584 2016-04-29 13:46:13 -04:00
Aziz Khoury
01ee020750 bring back disconnect only for CLS purposes 2016-04-15 16:39:08 -04:00
Aziz Khoury
53e9627001 unify request as a store key for both http and websockets calls 2016-04-15 15:55:55 -04:00
pichalite
c5e62f9a58 fixes #4454 2016-03-23 21:41:04 +00:00
barisusakli
86106971c4 closes #4382 2016-03-21 15:50:25 +02:00
Ben Lubar
3c607f2612 fix two crashes 2016-03-20 15:11:32 -05:00
barisusakli
c71ffed69c closes #4362 2016-03-17 11:38:21 +02:00
barisusakli
b1284f900d up toobusy default 2016-03-15 15:38:53 +02:00
Julian Lam
184a2c4540 IP blacklist functionality -- re: #4367
Squashed commit of the following:

commit 5c42fd732d091fa66cf5b45a2af5e1697cc1efcd
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Mar 14 17:29:45 2016 -0400

    allowing blacklist.test to be called synchronously

commit 979faf2dba5e6f6e2ae1bd07341e63678438daf1
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Mar 14 17:01:14 2016 -0400

    added plain ipv6 support and finished middleware logic

commit d4b72fc1aadff34df3ed7dec52ca8d3c3728a078
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 16:05:31 2016 -0500

    WIP IP Banning logic middleware

commit f08b2553890c5522b6a1eaf521fe4e94df40574a
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 15:26:27 2016 -0500

    tweaks to ACP, rule validator

commit 868abacaa494e6b8a88bd4ea429b1b066a9ecb2e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 13:50:05 2016 -0500

    IP Banning ACP page, styling, save&load functionality
2016-03-14 17:31:36 -04:00
barisusakli
c156d1cb34 closes #4344 2016-03-11 13:24:42 +02:00
akhoury
07586c9023 merge 2016-02-28 14:52:32 -05:00
Julian Lam
088940d4c7 Squashed commit of the following:
commit 49e6c0040cc82c1e2684933a8e167ef14854aff8
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 16:12:15 2016 -0500

    added recording and charts for topic and post counts globally and by cid

commit e02ff70757f778aa016fbc42ef10a5da2d07a9d9
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 15:35:49 2016 -0500

    added labels to charts

commit e75d83bf3886e5183bcf5fcd848d71c513761e01
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 13:30:47 2016 -0500

    added per category graphs to ACP management page

commit e3f543200950925cc9e8bf33cccb592f949a100e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 12:36:11 2016 -0500

    updated analytics to move helper methods to analytics lib and sending per category analytics to ACP page

commit 01891d8f7c408925fcdad18dcaa941e5ebbeb9b2
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Feb 24 16:48:55 2016 -0500

    saving per-category analytics, and updated the writeData method to use async for "clarity"
2016-02-25 16:12:50 -05:00