Commit Graph

389 Commits

Author SHA1 Message Date
Julian Lam
528cd258c4 feat: support remote Dislike activity, federate out a Dislike on downvote, bwahahah 2025-12-10 12:40:46 -05:00
Barış Soner Uşaklı
f6fbb0226b Merge branch 'master' into develop 2025-12-06 20:40:30 -05:00
Barış Soner Uşaklı
193aaf55d5 fix: closes #13666, update category label
on topic move if we are not on category page
2025-12-06 20:08:05 -05:00
Barış Soner Uşaklı
823c6cb340 Merge branch 'master' into develop 2025-12-05 12:28:29 -05:00
Nephilim
ebf2a2c5af fix: respect user pagination settings in infinite scroll (#13765) (#13788)
- Changed hardcoded topicsPerPage value of 20 to use settings.topicsPerPage
- Allows infinite scroll to respect user's configured page size preference
- Consistent with pagination handling in other controllers (category.js, recent.js, etc)
- Validates against admin's maxTopicsPerPage setting
- Fixes issue where all users were limited to 20 topics per request regardless of settings
2025-12-05 12:26:53 -05:00
Julian Lam
3ab61615af feat: federate out topic removal activities when topic is deleted and purged from a local category 2025-12-01 11:11:27 -05:00
Julian Lam
832477f819 feat: federate out undo(announce) when moving topics 2025-11-24 11:53:59 -05:00
Julian Lam
9bb8a955cf fix: rename activitypub.out.announce.category, federate out Delete on topic move to cid -1 2025-11-06 11:59:56 -05:00
Julian Lam
e6911be35d refactor: deleteOrRestore internal method to federate out a Delete on delete, not just purge; better adheres to FEP 4f05 2025-11-06 11:30:17 -05:00
Julian Lam
d02e188a5f feat: update Remove(Context) to use target instead of origin, federate out Move(Context) on topic move between local cids 2025-10-22 15:04:47 -04:00
Julian Lam
3ede64d8a1 refactor: move all methods in src/api/activitypub.js to src/activitypub.out.js 2025-10-22 14:41:56 -04:00
Julian Lam
34e95e6d46 feat: context removal logic (aka moving topics to uncategorized, and federating this to other NodeBBs)
Squashed commit of the following:

commit 3309117eb1
Author: Julian Lam <julian@nodebb.org>
Date:   Tue Oct 21 11:48:12 2025 -0400

    fix: activitypubApi.remove.context to use oldCid instead of cid

commit e90c5f79eb
Author: Julian Lam <julian@nodebb.org>
Date:   Tue Oct 21 11:41:05 2025 -0400

    fix: parseInt cid in cid detection for api.topics.move

commit ab6561e60f
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Oct 20 14:03:45 2025 -0400

    feat: inbox handler for Remove(Context)

commit 30dc527cc0
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Oct 20 12:17:23 2025 -0400

    feat: unwind announce(delete), federate out Remove(Context) on delete, but not on purge
2025-10-21 12:00:01 -04:00
Julian Lam
e09bb8b611 refactor: user announces no longer occur on topic move. Instead, the new category announces. Only occurs when topic moved to local categories. 2025-10-16 15:57:01 -04:00
Julian Lam
fadac6165e fix: move Announce(Delete) out of topics.move and into topics API method 2025-10-15 15:02:23 -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
8d7e35378f fix: remove unused dependency 2025-09-04 11:47:40 -04:00
Julian Lam
7adfe39ea1 fix: remove faulty code that tried to announce a remote object but couldn't as the ID was not a number 2025-09-03 14:46:01 -04:00
Julian Lam
cb0b609289 refactor: category listing logic to allow remote categories to be added, disabled, and re-arranged in main forum index 2025-08-18 16:08:11 -04:00
Barış Soner Uşaklı
1071ac0cea test: fix openapi 2025-07-31 09:33:18 -04:00
Barış Soner Uşaklı
90a6512970 feat: add filter:post.getDiffs 2025-07-31 09:03:14 -04:00
Barış Soner Uşaklı
6eab44a01d refactor: use promise.all 2025-07-31 09:00:40 -04:00
Barış Soner Uşaklı
e4a0160e08 refactor: copy session/headers when building req 2025-07-17 21:34:14 -04:00
Barış Uşaklı
24e7cf4a00 refactor: move post uploads to post hash (#13533)
* refactor: move post uploads to post hash

* test: add uploads to api definition

* refactor: move thumbs to topic hash

* chore: up composer

* refactor: dont use old zset
2025-07-07 10:22:24 -04:00
Barış Soner Uşaklı
92a3859f7b feat: add option to toggle chat join/leave message
closes #13508
2025-06-27 14:18:53 -04:00
Barış Soner Uşaklı
806e54bf5a fix: closes #13475, don't store escaped username
when updating profile
2025-06-05 11:42:29 -04:00
Barış Uşaklı
4fbcfae8b1 Post queue write api (#13473)
* move post queue from socket.io to rest api

* move harmony post-queue to core

add canEdit, allow users to edit their queued posts

* fix: openapi spec

* lint: whitespace
2025-06-05 07:15:45 -04:00
Julian Lam
49b5268e52 fix: send actor in undo(follow) 2025-05-28 14:53:32 -04:00
Julian Lam
b20a6ed0d7 fix: missed handling zset on ap unfollow 2025-05-28 12:31:53 -04:00
Julian Lam
5802c7ddd9 fix: missing awaits, more comprehensive 1b12 tests 2025-05-12 15:00:00 -04:00
Julian Lam
d5349b39f5 Merge branch 'master' into develop 2025-05-08 14:12:33 -04:00
Julian Lam
401ff797c9 fix: #13392, regression from c6f2c87, unable to unfollow from pending follows 2025-05-08 13:55:17 -04:00
Julian Lam
a9a5ab5e4b fix: #13397, update getCidByHandle to work with remote categories, fix sync with handles causing issues with null entries 2025-05-08 13:41:43 -04:00
Julian Lam
625ce96f94 fix: leftover handle var 2025-05-06 10:03:33 -04:00
Julian Lam
7cf61ab080 fix: update AP api (un)follow ids to be url encoded id instead of handle 2025-05-05 16:35:12 -04:00
Julian Lam
c6f2c87478 fix: do not send out ap (undo:)follow if local user or category is (not)already following 2025-04-29 10:28:17 -04:00
Julian Lam
85e7c1a20d test: #13255, reply to topic in remote category addresses remote category 2025-04-29 10:28:17 -04:00
Julian Lam
b8c531d53d feat: #13255 new topics in remote category addresses remote category, tests, fixes to tests 2025-04-29 10:28:17 -04:00
Julian Lam
f483e883a7 feat: asserted topics and posts to remote categories will notify and add to unread based on remote category watch state 2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
4cdfcf95e6 lint: fix tabs 2025-03-28 16:06:38 -04:00
Julian Lam
4b22f29778 fix: commenting out outward federation of Add activity, pending forumwg discussion 2025-03-28 12:39:19 -04:00
Julian Lam
08796a0a59 fix: wrong property name used 2025-03-19 14:01:09 -04:00
Julian Lam
291af926a6 fix: bug where remote post was attempted to be announced on post move 2025-03-11 15:17:10 -04:00
Julian Lam
254f0738bb feat: 1b12 category announce on post move to a new tid, #13236 2025-03-11 15:06:24 -04:00
Julian Lam
74443c3b15 refactor: remove announceObject in favour of feps.announce, added create activity mock to support 2025-03-11 13:24:21 -04:00
Barış Soner Uşaklı
8c6bfa95e4 Merge branch 'master' into develop 2025-02-18 11:43:52 -05:00
Barış Soner Uşaklı
80cc1d34b0 fix: closes #13176, check if uid is number when creating tokens 2025-02-18 10:42:52 -05:00
Julian Lam
b7f9983a2f feat: federate out Announce of a tid's mainPid if the tid is moved out of cid -1
closes #13097
2025-02-14 21:07:26 -05:00
Barış Soner Uşaklı
7804b301d5 Merge branch 'master' into develop 2025-02-08 21:19:14 -05:00
Julian Lam
040584f035 fix: missing actor on some local activities when federating out 2025-02-08 20:27:55 -05:00
Barış Soner Uşaklı
1b4e0c8726 fix: delete from payload instead of setting null 2025-02-08 19:52:06 -05:00