Commit Graph

219 Commits

Author SHA1 Message Date
Julian Lam
973075cfbc feat: added new filter hook filter:post.getRawPost 2019-08-07 14:10:25 -04:00
Julian Lam
924d332c2c Revert "refactor: rewrote SocketPosts.getRawPost in await style"
This reverts commit 08530bb33f.
2019-08-07 14:10:24 -04:00
Julian Lam
08530bb33f refactor: rewrote SocketPosts.getRawPost in await style
Added new filter hook filter:post.getRawPost
2019-08-07 13:18:53 -04:00
Baris Usakli
9780f5b975 fix: #7809, dont check postDelay if submitting from queue 2019-07-30 13:19:50 -04:00
Barış Soner Uşaklı
a39f0ef592 fix: #5570, create per category user post zsets 2019-06-24 15:21:43 -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ı
f0dead7aba more tooltip work 2018-11-14 13:53:35 -05:00
Barış Soner Uşaklı
f3a679e268 remove parseInts 2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
9c022afae1 Parse int (#6853)
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
2018-10-21 16:47:51 -04:00
Barış Soner Uşaklı
274b33e9e1 move addPostData before modifyPostPrivilege 2018-06-08 17:46:49 -04:00
Barış Soner Uşaklı
acf2f2a776 move modifyPostByPrivilege call before filtering posts so index is correct 2018-06-08 17:39:17 -04:00
Julian Lam
cb3b2bd27b closes #6562 2018-06-08 16:01:33 -04:00
Barış Soner Uşaklı
11bb2f1560 closes #6528 2018-05-30 14:21:03 -04:00
Barış Soner Uşaklı
c1fb3c2da4 closes #6525 2018-05-27 12:45:33 -04:00
Barış Soner Uşaklı
adf9d8eb83 closes #6469 2018-04-25 12:45:25 -04:00
Julian Lam
501fc3cee9 WIP post diffs 2018-02-16 18:29:19 -05:00
Barış Soner Uşaklı
5b2a674a4f closes #6020 2017-10-31 16:04:25 -04:00
Barış Soner Uşaklı
25cd21fba8 closes #6019 2017-10-31 10:53:28 -04: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
Julian Lam
3bd02d58e3 fixes logic that allowed posts beyond maximum post length if min is set to 0, @barisusakli 2017-06-28 12:25:51 -04:00
Barış Soner Uşaklı
f6ac92111b style changes 2017-05-26 00:02:20 -04:00
Julian Lam
d18cfced96 Merge remote-tracking branch 'origin/master' into develop 2017-04-12 23:57:14 -04:00
Peter Jaszkowiak
1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Julian Lam
72e77772db Merge branch 'master' into develop 2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
dd2b930824 Resolve merge conflicts, minify only .js files 2017-02-23 18:31:49 -07:00
Julian Lam
672d7352bb Merge branch 'master' into develop 2017-02-23 12:32:03 -05:00
barisusakli
0de21cb3ff fix tab 2017-02-23 17:12:46 +03:00
barisusakli
09d0ce4778 post tests 2017-02-23 17:02:54 +03:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
Julian Lam
d9d60c20bd flag updating and note appending, #5232 2016-12-01 11:42:06 -05:00
barisusakli
49267d54b7 topics unread tests 2016-11-28 14:15:20 +03:00
barisusakli
c1d28af2a7 filter posts that you cant read 2016-11-10 13:37:34 +03:00
Ben Lubar
5937fefa39 Check whether the user can read the replies and allow filtering the reply count in plugins 2016-11-08 18:50:10 -06:00
barisusakli
96d05b58d4 show deleted replies like regular deleted posts 2016-11-02 13:21:57 +03:00
barisusakli
ff08cbf677 replies to posts 2016-10-31 11:20:52 +03:00
Ben Lubar
ea10f51f2e UI for replies-to-post (needs theme update) 2016-10-27 18:45:21 -05:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
6f86621e30 closes #5096 2016-10-08 19:09:55 +03:00
barisusakli
3b0eca3be2 fix timestamp on posts.reply 2016-08-16 22:27:26 +03:00
barisusakli
795b00a3af closes #4810 2016-07-01 13:01:09 +03:00
barisusakli
abb1c1c010 closes #4758 2016-06-15 21:04:42 +03:00
barisusakli
8ddcc237a7 removed submit and lock 2016-05-25 19:33:50 +03:00
barisusakli
5e5e46e95f closes #4499 2016-04-29 20:35:57 +03: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
92f0e2d86a closes #3586
added account/upvoted, account/downvoted, account/best
2016-01-14 13:47:26 +02:00
barisusakli
12da13acc5 closes #3701 2015-10-02 18:55:23 -04:00
barisusakli
75e2228989 closes #3689 2015-09-29 16:36:37 -04:00
barisusakli
00bc9f51c9 dont display post just scroll 2015-09-29 15:46:11 -04:00