Commit Graph

217 Commits (06932602abf616c9a9c3a63d7cd8bc76391856c2)

Author SHA1 Message Date
Julian Lam 08530bb33f refactor: rewrote SocketPosts.getRawPost in await style
Added new filter hook filter:post.getRawPost
Baris Usakli 9780f5b975 fix: , dont check postDelay if submitting from queue
Barış Soner Uşaklı a39f0ef592 fix: , create per category user post zsets
Julian Lam 745a9589e9
Use topics:read privilege for topic filtering use cases ()
* fix: use topics:read privilege for topic filtering use cases

* fix: tests

* fix: more broken tests
Barış Soner Uşaklı f0dead7aba more tooltip work
Barış Soner Uşaklı f3a679e268 remove parseInts
Barış Soner Uşaklı 9c022afae1
Parse int ()
* 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
Barış Soner Uşaklı 274b33e9e1 move addPostData before modifyPostPrivilege
Barış Soner Uşaklı acf2f2a776 move modifyPostByPrivilege call before filtering posts so index is correct
Julian Lam cb3b2bd27b closes
Barış Soner Uşaklı 11bb2f1560 closes
Barış Soner Uşaklı c1fb3c2da4 closes
Barış Soner Uşaklı adf9d8eb83 closes
Julian Lam 501fc3cee9 WIP post diffs
Barış Soner Uşaklı 5b2a674a4f closes
Barış Soner Uşaklı 25cd21fba8 closes
Barış Soner Uşaklı f161bbf956 Post queue ()
* 

* 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
Julian Lam 3bd02d58e3 fixes logic that allowed posts beyond maximum post length if min is set to 0, @barisusakli
Barış Soner Uşaklı f6ac92111b style changes
Julian Lam d18cfced96 Merge remote-tracking branch 'origin/master' into develop
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
Julian Lam 72e77772db Merge branch 'master' into develop
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files
Julian Lam 672d7352bb Merge branch 'master' into develop
barisusakli 0de21cb3ff fix tab
barisusakli 09d0ce4778 post tests
Peter Jaszkowiak a038c66549 ESlint quotes
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
Julian Lam d9d60c20bd flag updating and note appending,
barisusakli 49267d54b7 topics unread tests
barisusakli c1d28af2a7 filter posts that you cant read
Ben Lubar 5937fefa39
Check whether the user can read the replies and allow filtering the reply count in plugins
barisusakli 96d05b58d4 show deleted replies like regular deleted posts
barisusakli ff08cbf677 replies to posts
Ben Lubar ea10f51f2e
UI for replies-to-post (needs theme update)
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
barisusakli 6f86621e30 closes
barisusakli 3b0eca3be2 fix timestamp on posts.reply
barisusakli 795b00a3af closes
barisusakli abb1c1c010 closes
barisusakli 8ddcc237a7 removed submit and lock
barisusakli 5e5e46e95f closes
barisusakli 52cec92df8 some cleanup, dont send ip on newpost
barisusakli 8d9f7d8e19 added socket methods
barisusakli 92f0e2d86a closes
added account/upvoted, account/downvoted, account/best
barisusakli 12da13acc5 closes
barisusakli 75e2228989 closes
barisusakli 00bc9f51c9 dont display post just scroll
barisusakli b7ce4312a9 show toPid inline
barisusakli e2896ef6b9 socketio/posts socketio/topics refactor