Barış Soner Uşaklı
57a5de2682
refactor: use strings for cids
2025-05-30 11:15:02 -04:00
Barış Soner Uşaklı
28c021a01b
fix: remove null categories
2025-05-30 11:11:45 -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
93a5b35f33
feat: notice on remote categories that have no local followers, #13255
2025-04-29 10:28:18 -04:00
Julian Lam
695312f17f
fix: missing teasers for remote categories on /world
2025-04-29 10:28:18 -04:00
Julian Lam
23b3148c84
feat: allowing manual group assertion via category search input
2025-04-29 10:28:17 -04:00
Julian Lam
6e23de46d6
fix : #13255 , update category search logic to allow for remote categories
2025-04-29 10:28:17 -04:00
Julian Lam
bfc7daf255
refactor: categories.sortTidsBySet to not take cid, retrieve from tids themselves
...
re: ##13255, this fixes the issue with topics outside of cid -1 in /world being sorted incorrectly
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
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
Julian Lam
804052f272
test: add tests for topics slotting into remote categories if addressed
2025-04-29 10:28:17 -04:00
Julian Lam
f73f727d90
feat: also include category in to field when mocking post for federation
2025-04-29 10:28:17 -04:00
Julian Lam
1f40995f79
refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet
2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
6832541c02
lint: fix semi
2025-04-16 10:31:28 -04:00
Julian Lam
2a98a9b334
fix: bug where generateHandle would throw when passed in an invalid slug
2025-04-14 13:35:22 -04:00
Barış Soner Uşaklı
747457d7b6
refactor: remove pointless true
2025-03-19 21:14:02 -04:00
Julian Lam
dfabadbeab
feat: add federatedDescription property to a category.
...
The federated description will be appended to the category description when queried remotely.
The default string is translatable, and tells users that it identifies as a forum category and that topics can be created within by mentioning the category directly.
closes #13127
2025-03-06 11:51:56 -05:00
Barış Soner Uşaklı
a3596772ec
Merge branch 'master' into develop
2025-02-22 17:12:52 -05:00
Barış Soner Uşaklı
2c83056778
fix : #13193 , add lang strings
2025-02-22 17:12:45 -05:00
Julian Lam
d0561a602e
refactor: remove cid:-1:tids (and variants) from intersection in /world, fixes #13125
...
- remove "poor man's intersect" but not considering the main `cid:-1:tids` set at all
including its variants (voting, reply time, etc.)
- added a new method Categories.sortTidsBySet which allows after-the-fact sorting
of tids by their score in a set.
2025-02-19 14:18:20 -05:00
Barış Soner Uşaklı
4134a075c8
fix: remove handle on category purge
...
closes #13171
2025-02-17 14:27:04 -05:00
Barış Soner Uşaklı
adb430f27e
fix: remove handle on category purge
...
closes #13171
2025-02-17 14:26:49 -05:00
Barış Soner Uşaklı
70a9f6d337
fix: return null if field isn't in hash
2025-02-11 13:37:21 -05:00
Barış Soner Uşaklı
265e44f03e
refactor: remove deprecated methods
2025-02-02 14:31:58 -05:00
Julian Lam
6d88dcb2b5
fix: encoding of pid in notifyCategoryFollowers, #13087
2025-01-29 12:29:12 -05:00
Julian Lam
c17809e450
fix: bug where newly create cids were not responding via webfinger, 404 on webfinger errors, not 400
2025-01-15 15:14:15 -05:00
Julian Lam
2ab72ada3f
Merge remote-tracking branch 'origin/develop' into activitypub
2024-12-11 10:12:33 -05:00
Barış Soner Uşaklı
9d2af7e10c
refactor: replace math.random with crypto
2024-12-09 18:18:02 -05:00
Barış Soner Uşaklı
dd3634462f
fix: topic count not showing up on category page
2024-10-30 11:56:36 -04:00
Julian Lam
c1093c928f
refactor: buildTopicsSortedSet
...
- use Set internally
- if cid -1 and logged in, add user inbox to sets
2024-10-29 10:36:05 -04:00
Julian Lam
edff339498
feat: dynamic category icon generation
...
When a category is retrieved via activitypub, NodeBB will now
generate an SVG and PNG representation of the category utilising
the "icon", "color", and "bgColor" values.
closes #12507
2024-09-27 13:29:41 -04:00
Julian Lam
9219199591
fix: skip topic retrieval when cid is -1, as it is done again later
2024-07-11 15:27:26 -04:00
Julian Lam
cf291a518d
feat: help modal for world page
2024-04-29 12:48:06 -04:00
Julian Lam
7645365007
tests: fix some but not all tests
2024-04-26 14:10:42 -04:00
Julian Lam
40b9dabda3
fix: unintentional object pollution by buildForSelectCategories
2024-04-26 13:43:38 -04:00
Julian Lam
88a5dfb7b7
fix: unintentional object pollution by buildForSelectCategories
2024-04-26 12:14:11 -04:00
Julian Lam
e9df15bbb8
Merge branch 'develop' into activitypub
2024-04-26 10:41:18 -04:00
Julian Lam
dc35bf8bb5
fix: getCategoryById to return shallow clone of object
2024-04-26 10:41:09 -04:00
Julian Lam
af324dae55
feat: remove /world/all route, add intro header to /world
2024-04-25 15:47:00 -04:00
Barış Soner Uşaklı
91c3434fda
Merge branch 'develop' into activitypub
2024-04-25 11:16:42 -04:00
Barış Soner Uşaklı
7218a9d8cb
add tid/uid to teaser
2024-04-12 11:44:00 -04:00
Julian Lam
e828e87ec7
fix: have getCidsByPrivilege include cid -1 when set is categories:cid
2024-04-02 16:47:44 -04:00
Opliko
e266b44745
feat: make the /api/world data more category-like
2024-03-28 13:14:02 +01:00
Julian Lam
9dc20d0c54
feat: ability to update category handles
...
#12434
2024-03-22 12:59:24 -04:00
Julian Lam
3cc99a178e
feat: category handles, #12434
2024-03-22 12:39:48 -04:00
Julian Lam
9a5d4ffb2d
feat: rename 'world' category to 'uncategorized'
2024-03-21 14:12:31 -04:00
Julian Lam
c76d4018f2
fix: properly handle empty fields param
2024-03-15 12:07:33 -04:00
Julian Lam
7af0715146
fix: circular object ref.
...
getCategoriesFields was returning full pseudo-category object even if fields were specific, now it only returns fields requested.
navigating to /category/-1 now redirects to /world
2024-03-15 12:00:23 -04:00
Barış Soner Uşaklı
07c1ea2876
Merge branch 'develop' into activitypub
2024-03-04 16:09:11 -05:00
Barış Soner Uşaklı
2a9b0a3c9c
feat: add new sorting option to categories
...
add new zset for category topics
fix sorting names
2024-03-04 16:06:04 -05:00