Commit Graph

183 Commits

Author SHA1 Message Date
Julian Lam
9ecfac9b68 feat(api): #9123, migrate rest of the getObject controllers to Write API 2020-12-29 10:32:01 -05:00
Julian Lam
9ee3cb9b62 refactor: topic follow/ignore to use api lib 2020-10-16 12:30:14 -04:00
Julian Lam
40598b368e refactor: topic creation to use api lib 2020-10-16 11:01:18 -04:00
Julian Lam
3ea1aa4780 refactor(writeapi): update route prefix to api/v3, default error option 2020-10-08 15:33:10 -04:00
Julian Lam
9be5629458 feat(writeapi): topic follow/ignore 2020-10-08 15:33:10 -04:00
Julian Lam
4c833d0bf0 feat(writeapi): topic posting and replying 2020-10-08 15:33:10 -04:00
Barış Soner Uşaklı
f983f536c6 fix: check threshold before setting bookmark 2019-10-07 00:47:14 -04:00
Barış Soner Uşaklı
5c2afe5eac refactor: async/await socket.io/topics 2019-09-12 23:27:36 -04:00
Barış Soner Uşaklı
e93ef0d7fd refactor: async/await socket.io/posts 2019-09-09 19:19:56 -04:00
Baris Usakli
9780f5b975 fix: #7809, dont check postDelay if submitting from queue 2019-07-30 13:19:50 -04:00
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