Barış Soner Uşaklı
57a73c4854
refactor: crossposts.get to support multiple tids
2026-01-14 18:47:52 -05:00
Julian Lam
bcc204fa93
fix: derp
2026-01-12 15:42:33 -05:00
Julian Lam
2f96eed4af
fix: guard against negative uids crossposting
2026-01-12 14:07:45 -05:00
Julian Lam
82507c0fb1
fix: calling sortedSetRemove to remove multiple values, instead of baking it into sortedSetRemoveBulk
2026-01-12 12:55:18 -05:00
Julian Lam
b9b33f9f8d
fix: unused values
2026-01-12 12:55:18 -05:00
Julian Lam
47e37ed571
test: intify uid/cid if they are numbers (when getting crossposts)
2026-01-12 12:55:18 -05:00
Julian Lam
148663c536
fix: update auto-categorization rules to also handle already-categorized topics via crosspost
2026-01-12 12:55:18 -05:00
Julian Lam
f6cc556d37
fix: topic crosspost delete and purge handling
2026-01-12 12:55:18 -05:00
Julian Lam
0a0a7da9ba
fix: bug where privileges users could not uncrosspost others' crossposts. Tests
2026-01-12 12:55:18 -05:00
Julian Lam
b981082dd7
fix: removed ajaxify refresh on crosspost commit, dynamically update post stats in template, logic fix
2026-01-12 12:55:18 -05:00
Julian Lam
349b087502
refactor: crossposts.get to return limited category data (name, icon, etc.), fixed up crosspost modal to hide uncategorized and all categories options
2026-01-12 12:55:18 -05:00
Julian Lam
1be88ca0ea
refactor: move crosspost methods into their own file in src/topics
2026-01-12 12:55:18 -05:00
Julian Lam
ea1e4c7dff
feat: disallow moving topics to and from remote categories, + basic tests for topic moving
2026-01-12 12:55:18 -05:00
Julian Lam
74172ecc5d
feat: API v3 calls to crosspost and uncrosspost a topic to and from a category
2026-01-12 12:55:18 -05:00
Julian Lam
097d0802b7
feat: stop extraneous vote and tids_read data from being saved for remote users
2025-12-11 10:57:00 -05:00
Julian Lam
2b733e4a8e
fix: incorrect topic event added when topic moved out of cid -1 (used to be a share by the user; since removed.)
2025-11-21 15:20:44 -05:00
Barış Soner Uşaklı
179440372a
refactor: get rid of post.exists check, if post doesnt exist content is falsy
2025-10-30 20:34:01 -04:00
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
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
Barış Soner Uşaklı
97e59fbe04
feat: add new setting to control posts uploads being shown as thumbs
2025-10-21 10:11:18 -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
07bed55e33
fix: add attachments to retrieved post data onNewPost
2025-10-09 13:58:13 -04:00
Julian Lam
4d24309a06
feat: federate topic deletion on topic deletion as well as purge
2025-10-07 11:35:36 -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
8c553b1854
fix: regression 218f5ea from via, stricter check on whether the calling user is a remote uid
2025-09-24 10:01:20 -04:00
Julian Lam
218f5eabe2
fix : #13668 , privilege checking on topic create for remote users; was not properly checking against fediverse pseudo-user
2025-09-23 11:00:17 -04:00
Barış Soner Uşaklı
72fec565c2
fix: check topic and thumbs
2025-07-07 11:28:22 -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ı
37f0fa961e
Refactor hook call for filterSortedTids
2025-07-01 10:01:10 -04:00
Barış Uşaklı
14043ab0fd
Node redis ( #13500 )
...
* refactor: start migrating to node-redis
* few more zset fixes
* fix: db.scan
* fix: list methods
* fix set methods
* fix: hash methods
* use hasOwn, remove cloning
* sorted set fixes
* fix: so data is converted to strings before saving
otherwise node-redis throws below error
TypeError: "arguments[2]" must be of type "string | Buffer", got number instead.
* chore: remove comments
* fix: zrank string param
* use new close
* chore: up dbsearch
* test: add log
* test: more log
* test: log failing test
* test: catch errors in formatApiResponse
add await so exception goes to catch
* tetst: add log
* fix: dont set null/undefined values
* test: more fixes
2025-06-18 13:04:57 -04:00
Julian Lam
6411c19765
fix : #13459 , unread indicators for remote categories
2025-06-02 11:58:54 -04:00
Julian Lam
0fab4255cc
fix: remove superfluous privilege filter in markAllRead
2025-04-29 10:28:18 -04:00
Julian Lam
4a7111d042
fix: marking remote category topics as read
2025-04-29 10:28:18 -04:00
Julian Lam
b0236735f2
fix: markAllRead to get tids based on same logic as unread page, instead of marking all recent posts read
2025-04-29 10:28:18 -04:00
Julian Lam
2cb6d10d9e
fix: missing dep
2025-04-29 10:28:18 -04:00
Julian Lam
c4274a3dca
fix: topics in remote categories showing up in /recent
2025-04-29 10:28:17 -04:00
Julian Lam
4be0f73ace
feat: migration of group-as-user to group-as-category, remote category purging, more tests
2025-04-29 10:28:17 -04:00
Julian Lam
804052f272
test: add tests for topics slotting into remote categories if addressed
2025-04-29 10:28:17 -04:00
Julian Lam
0fa98237af
refactor: allow topics to be asserted directly into a remote category, or -1 otherwise
2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
71cd46e132
Merge branch 'master' into develop
2025-04-22 11:46:43 -04:00
Barış Soner Uşaklı
42a5a127b6
fix: escape displayname in topic events
2025-04-22 11:46:03 -04:00
Barış Soner Uşaklı
bf2d4c46f8
feat: show topic follower counts ( #13326 )
...
fix upgrade script dates
add upgrade script to count topic followers for each topic
2025-04-15 10:07:45 -04:00
Barış Soner Uşaklı
3526c937cc
fix: tag urls getting double escaped ( #13306 )
...
* fix: tag urls getting double escaped
get rid of weird decodeURIComponent($.param()) usage
$.param returns a string suitable for use in query param string
* add a new test
2025-04-07 13:23:22 -04:00
Barış Soner Uşaklı
3ad6ee075b
Thumb uploads/post uploads normalization ( #13300 )
...
* testing thumn/post upload refactor
* fix: isOrphan check
* lint: fix md5
* test: fix upload test
* user
* fix: upgrade script
* refactor: long line
* lint: lint
* test: fix tests
* Squashed commit of the following:
commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Fri Apr 4 09:24:54 2025 -0400
fix: req.body can be undefined
* refactor: show data on test fail
* test: logs
* test: change test
* make sure timestamps are different
2025-04-04 10:45:05 -04:00
Julian Lam
945617cbcf
fix: only 1b12 announce topic fork if OP is local, fix race condition in tests
2025-03-11 15:32:10 -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ı
2c0fdfeea1
Merge branch 'master' into develop
2025-03-05 17:19:52 -05:00
Barış Soner Uşaklı
48f0f47a2e
fix : #13228 , use timestamp from mainpost/lastpost
...
when forking a topic
2025-03-05 11:30:46 -05:00
Julian Lam
e3edfef865
feat: call announceObject on topic fork, #13215
2025-03-03 11:54:26 -05:00