Commit Graph

173 Commits

Author SHA1 Message Date
Julian Lam
745a9589e9 Use topics:read privilege for topic filtering use cases (#7462)
* fix: use topics:read privilege for topic filtering use cases

* fix: tests

* fix: more broken tests
2019-03-16 14:51:46 -04:00
Barış Soner Uşaklı
26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Barış Soner Uşaklı
f77091d1ed change user delete so it returns quickly 2018-10-03 19:12:46 -04:00
Barış Soner Uşaklı
b7eaf4191e return correct post count if its out of sync 2018-09-30 16:37:10 -04:00
Barış Soner Uşaklı
c1fb3c2da4 closes #6525 2018-05-27 12:45:33 -04:00
Barış Soner Uşaklı
4f2f84e47c #4804 2017-11-30 12:39:07 -05:00
Barış Soner Uşaklı
f161bbf956 Post queue (#5878)
* #5876

* add user to post queue table

* add time of post into queue

add posting restrictions to queue

* fix shouldQueueLogic for guests

* add test for post-queue route
2017-08-15 12:59:40 -04:00
barisusakli
cd448f90cd more topic tests 2017-03-02 19:03:49 +03:00
Peter Jaszkowiak
4bb49a7171 ESlint no-unused-vars 2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
50aac3c6a4 closes #4979 closes #4984 2016-08-27 14:06:14 +03:00
barisusakli
795b00a3af closes #4810 2016-07-01 13:01:09 +03:00
barisusakli
8ddcc237a7 removed submit and lock 2016-05-25 19:33:50 +03:00
barisusakli
bf2133ed7c topic watching 2016-05-18 19:02:43 +03:00
barisusakli
a9828a1465 closes #4611 2016-05-11 16:40:44 +03:00
boomzilla
52e4a37df8 When forking a topic, updates user bookmarks in the topic to keep the last read position (#4554)
from inadvertently being too far down the topic due to post indices decreasing because
some posts were moved to a new topic.
2016-05-04 10:29:43 -04:00
barisusakli
52cec92df8 some cleanup, dont send ip on newpost 2016-03-24 20:55:17 +02:00
barisusakli
8d9f7d8e19 added socket methods 2016-03-08 11:24:32 +02:00
barisusakli
1ecf27417a removed commented out stuff removed topics.enter 2015-11-05 11:53:17 -05:00
barisusakli
12da13acc5 closes #3701 2015-10-02 18:55:23 -04:00
barisusakli
fffca0e425 fix topic follow 2015-09-25 20:26:44 -04:00
barisusakli
53411f809b follow command 2015-09-25 15:34:53 -04:00
barisusakli
e2896ef6b9 socketio/posts socketio/topics refactor 2015-09-25 15:09:30 -04:00
barisusakli
de2f336d53 data uid check 2015-09-25 00:08:25 -04:00
barisusakli
b618f67a00 fix tab 2015-09-24 21:21:19 -04:00
barisusakli
c617a3f008 inf scroll changes
dont load main post if start > 0
2015-09-24 21:14:41 -04:00
barisusakli
0c6495de72 moved postTools and threadTools into posts/ and topics/ 2015-09-17 15:05:29 -04:00
barisusakli
faae98892d privilege fixes 2015-09-15 18:21:17 -04:00
barisusakli
d01736a726 cleanup 2015-09-14 22:43:09 -04:00
barisusakli
a5e9394d93 closes #3612 2015-09-14 22:41:15 -04:00
barisusakli
ffff8093ba make sure user is admin/mod before forking 2015-09-01 12:38:26 -04:00
Barış Soner Uşaklı
2968dbb9ac Merge pull request #3346 from bdharrington7/bookmark2
Saves user bookmarks on server if available
2015-08-01 17:08:40 -04:00
bdharrington7
25203ee67e changes bookmark storage to sortedset, gets uid from socket rather than being passed from client 2015-07-30 23:13:34 -07:00
barisusakli
47cc1083df fix mark all read 2015-07-28 15:03:20 -04:00
bdharrington7
45df5a3d0b stores the user's bookmark on the server 2015-07-21 21:20:13 +08:00
barisusakli
daf1a388eb closes #3039 2015-07-14 17:03:33 -04:00
barisusakli
81eeab42ed category filter on /unread 2015-07-13 14:47:15 -04:00
barisusakli
b292aeea72 closes #3120
also dont allow loading posts of a topic if its deleted via
topics.loadMore
2015-05-11 15:12:23 -04:00
barisusakli
f81e3ad358 categoryTools componets 2015-04-03 13:57:20 -04:00
barisusakli
878e548296 renamed end to stop globally
fixed getting favourites for admins
2015-03-31 23:40:58 -04:00
barisusakli
5bc2e7dac2 closes #2309 2015-03-18 17:50:53 -04:00
Barış Soner Uşaklı
d3dca842cb also #2858 2015-03-13 15:06:23 -04:00
Barış Soner Uşaklı
cda38d6ed6 closes #2515 2015-03-09 13:16:23 -04:00
barisusakli
f7f453f8cd closes #2794 2015-02-26 12:22:52 -05:00
barisusakli
cc2ab12f29 removed bans from downvotes and flags
cleanup thread tools emits
2015-02-01 21:38:14 -05:00
barisusakli
2c8e8a1f1c closes #2550, closes #2518 2015-02-01 19:12:03 -05:00
barisusakli
e31bf9131f added topics.follow and toggleFollow 2015-01-25 16:47:51 -05:00
barisusakli
4b3aa26abd closes #2633 2015-01-23 18:19:30 -05:00
barisusakli
6ccdf187ea closes #2595 2015-01-13 14:54:13 -05:00