Julian Lam
f6219d0026
fix: update logic so that purging a post does not remove toPid fields from children, updated addParentPosts so that post existence is checked
2025-10-29 15:18:19 -04:00
Julian Lam
93b6cb5984
feat: federate Delete on post delete as well as purge, topic deletion federates Announce(Delete(Object))
2025-10-06 13:45:46 -04:00
Julian Lam
df5c1a938d
breaking: removal of filter:post.purge
2025-05-06 13:38:42 -04:00
Julian Lam
c84b72fb37
breaking: removal of filter:post.purge
2025-05-06 13:38:42 -04:00
Barış Soner Uşaklı
c2f7754ae0
Post/parent ( #13133 )
...
* post.parent wip
* feat: post parent
handle delete/restore/purge privileges etc.
* remove whitespace
* fix: this in each
* lint
* up harmony fix text break
2025-02-06 14:37:50 -05:00
Barış Soner Uşaklı
1327316d8f
Merge branch 'develop' into activitypub
2024-11-14 10:53:51 -05:00
Barış Soner Uşaklı
bc00df3cd9
feat: closes #12902 , allow adding users as post editors
2024-11-06 11:36:53 -05:00
Julian Lam
fe70a2b8b5
fix : #12652 , incorrect user, post, topic counters with AP enabled
2024-06-25 12:36:11 -04:00
Julian Lam
bcfac00bec
fix: unintentional parseInt during post purge
2024-06-10 12:30:48 -04:00
Julian Lam
ccd187e000
feat: Note deletion logic and refactoring, #12551
2024-05-09 15:49:03 -04:00
Barış Soner Uşaklı
d725679648
fix : #12485 , resolve flags on a topics posts on topic delete
2024-04-09 10:54:45 -04:00
Barış Soner Uşaklı
00be053e94
fix: topic postercount field if owner is changed
...
also fix when posts are purged
2023-07-18 12:38:17 -04:00
Barış Soner Uşaklı
bb82eb71e2
fix : #11052 , add missing await
2022-11-21 13:37:35 -05:00
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