Barış Soner Uşaklı
767973717b
perf: WIP #10449 , allow array of pids for posts.purge ( #10465 )
...
* perf: WIP #10449 , allow array of pids for posts.purge
* refactor: deletePostDiffs
* perf: deletePostFromReplies/deletePostFromGroups
* refactor: upload
* refactor: deleteFromCategoryRecentPosts
deleteFromUsersBookmarks
deleteFromUsersVotes
* feat: closes #10468 , add incrObjectFieldByBulk
* refactor: allow nids for notifications.rescind
* refactor: allow uids array for user.updatePostCount
* refactor: rewrite deleteFromTopicUserNotification to work with an array
* feat: deprecate action:post.purge as well
* lint: add missing comma
2022-04-07 14:06:25 -04:00
Barış Soner Uşaklı
e9e48a756f
feat: delete diffs on post purge, closes #10291
2022-02-16 13:23:27 -05:00
Barış Soner Uşaklı
830166d120
fix : #10067 , count posts instead of incr/decr
2021-12-07 18:40:23 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Barış Soner Uşaklı
5bb5ec4618
fix : #8954 , clear purged replies and toPids ( #8959 )
...
* fix : #8954 , clear purged replies and toPids
* fix: redis test
2020-11-26 12:04:01 -05:00
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
2020-11-20 16:32:39 -05:00
Barış Soner Uşaklı
8bd63f61e0
feat: resolve flag on delete/purge/ban/delete account
2020-07-25 18:26:09 -04:00
Julian Lam
30a86ed553
fix : #7853 , dissociation on post purge
2019-09-04 16:59:04 -04:00
Barış Soner Uşaklı
3c32d8600f
fix : #7788 No new posts ( #7793 )
...
* feat: debug no-new-posts
* feat: add test for user delete
* fix: timeout for flag test
* feat: shorter
2019-07-23 21:11:04 -04:00
Barış Soner Uşaklı
1b2b308a7e
feat: #7743 , posts module
2019-07-17 00:17:21 -04:00
Barış Soner Uşaklı
a39f0ef592
fix : #5570 , create per category user post zsets
2019-06-24 15:21:43 -04:00
Barış Soner Uşaklı
4caaa046d7
dont load post data again
...
shorter async.parallel
2018-10-30 20:25:29 -04:00
Barış Soner Uşaklı
d3e4daebec
posts/delete cleanup
2018-10-30 19:41:06 -04:00
Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
5c7dd54815
fix zsets and update them on post move, closes #6823 ( #6827 )
2018-10-11 16:00:22 -04:00
Barış Soner Uşaklı
ddb83b3eab
closes #5731
2017-06-01 20:57:56 -04:00
Peter Jaszkowiak
3c2d4fe649
Switch from underscore to lodash
2017-05-27 14:51:45 -06:00
Baris Usakli
062bced3dd
cleanup and tests
2017-05-25 16:40:07 -04:00
Barış Soner Uşaklı
17d0759672
fix lint
2017-05-04 16:39:47 -04:00
Barış Soner Uşaklı
14f3907aa4
change the way group member posts are stored
2017-05-04 16:32:51 -04:00
Julian Lam
6e7b505ea7
more linting
2017-02-24 12:55:31 -05:00
Julian Lam
72e77772db
Merge branch 'master' into develop
2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
8f916343f0
closes #5361
2017-01-12 14:41:35 +03:00
barisusakli
938022a0f7
add postData to action:post.delete, closes #5360
2017-01-12 14:32:38 +03:00
barisusakli
dd9e286633
closes #5355
2017-01-10 18:31:08 +03:00
Julian Lam
ad633aad45
additional tests and proper handling for purged flag targets, #5232
2016-12-19 11:16:03 -05:00
Julian Lam
1aa70c57eb
WIP
2016-11-25 13:28:55 -05:00
barisusakli
1b34ebe230
closes #5133
2016-11-10 15:26:53 +03:00
barisusakli
218a1b7aab
closes #5015
2016-10-31 22:39:58 +03:00
Ben Lubar
123c66e3ec
Cache the number of replies in the post object. See #5050 .
...
https://github.com/NodeBB/NodeBB/pull/5050#pullrequestreview-4248269
2016-10-27 12:40:51 -05:00
Ben Lubar
fae28ed3cc
Add an index for going from a post to its replies
2016-10-27 12:40:51 -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
Julian Lam
d1721303ab
fixes #5079 , fixes #5088
2016-10-06 14:39:17 -04:00
barisusakli
f9f4b3b91f
closes #4632
2016-05-13 10:28:05 +03:00
barisusakli
ff88186d41
closes #4537
2016-04-19 20:04:39 +03:00
barisusakli
46c8101c5c
closes #4152
2016-02-23 13:08:51 +02:00
barisusakli
f005231996
closes #3664
2015-09-23 20:38:08 -04:00
barisusakli
6f046af34b
fix callback
2015-09-23 20:09:05 -04:00
barisusakli
0c6495de72
moved postTools and threadTools into posts/ and topics/
2015-09-17 15:05:29 -04:00
Barış Soner Uşaklı
e7dd881092
teaser fixes
...
if a post is deleted/restored update the teaser to the latest undeleted
pid, if all posts are deleted it will be set to null
2015-04-16 13:23:21 -04:00
barisusakli
78c65aee05
even more search changes
2015-03-15 01:12:13 -04:00
barisusakli
56d18666d6
closes #2752
2015-02-22 14:47:07 -05:00
Barış Soner Uşaklı
743cd20441
closes #2267
2015-02-19 15:56:12 -05:00
barisusakli
a77a761433
closes #1917
2015-01-08 13:47:21 -05:00
barisusakli
e74d39889e
removed extra comma
2014-12-12 23:26:01 -05:00
barisusakli
2c7d9e1a7c
store teaserPid in topic
...
-update teaser pid as necessary in addPostToTopic, removePostFromTopic,
post purge
-removed 20x db calls from getTeasers
-fixed scroll to post in sub folder install
-upgrade script to update topics with teaserPid
2014-12-12 18:52:37 -05:00