Commit Graph

14434 Commits

Author SHA1 Message Date
Shlomo
577eee2f6a feat(config): add acpPluginInstallDisabled option (#13189) 2025-02-21 09:38:45 -05:00
Julian Lam
2ad48f1714 fix: relaxing strict allowedTags configuration for incoming AP content (allowing picture, source, and additional attributes for img)
re: #13185
2025-02-20 14:08:51 -05:00
Julian Lam
e63f1234a7 fix: typo 2025-02-20 12:50:05 -05:00
Julian Lam
93f48409c5 fix: #13136, do not log 404s for AP requests 2025-02-20 12:24:17 -05:00
Julian Lam
b8200095c0 fix: #13129, serve category backgroundImage as actor icon, not image
+ tests for category actor
2025-02-20 11:38:47 -05:00
Barış Soner Uşaklı
625f47514f fix: escape ip blacklist rules 2025-02-20 09:18:03 -05:00
Barış Soner Uşaklı
a410587ce1 fix: closes #13180, don't execute cron jobs if ap disabled 2025-02-19 20:09:31 -05:00
Julian Lam
bb9687bd89 fix: #13172, Topics.addParentPosts not sending sourceContent in calling parsePosts 2025-02-19 12:02:14 -05:00
Julian Lam
6245e33d6e fix: #13179, fix context resolution failure bug with frequency 2025-02-18 13:34:17 -05:00
Julian Lam
de6e63bbd7 fix: add back chronological sorting of asserted notes 2025-02-18 13:33:11 -05:00
Julian Lam
4bc0031f58 chore: add test helper to activitypub file 2025-02-18 13:07:11 -05:00
Barış Soner Uşaklı
9997189aea feat: remove activities older than a week 2025-02-18 13:00:08 -05:00
Barış Soner Uşaklı
669755d1e9 test: dont clear local when testing 2025-02-18 11:57:28 -05:00
Julian Lam
92708d2f6b fix: #13170, remove mime-type and regex test for "Emoji" attachment, wrap tag name in colons if not provided 2025-02-18 10:58:04 -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
5e71d597a4 fix: notes.assertPrivate sanity checks 2025-02-18 10:12:26 -05:00
Barış Soner Uşaklı
b0e8058f58 fix: page index for single page, closes #13173
add test case
2025-02-17 21:03:49 -05:00
Barış Soner Uşaklı
4134a075c8 fix: remove handle on category purge
closes #13171
2025-02-17 14:27:04 -05:00
Julian Lam
33d7b9b3ab fix: clear parsed post cache when updating a post's attachments, #13164 2025-02-16 14:48:44 -05:00
Julian Lam
d936d5c073 fix: logic failure causing remote posts with image to not parse properly, #13164 2025-02-16 14:27:57 -05:00
Barış Soner Uşaklı
f1da510f04 chore: up harmony 2025-02-15 20:36:07 -05:00
Julian Lam
04f51cc63a fix: change the passed-in notificatiom id for notifyTagFollowers to contain the list of matched tags
fixes: #13087
2025-02-14 20:25:10 -05:00
Barış Soner Uşaklı
77dd6dd0e7 refactor: single remove 2025-02-14 10:42:05 -05:00
Barış Soner Uşaklı
d872470843 refactor: cleanup ip:recent 2025-02-14 10:25:59 -05:00
Barış Soner Uşaklı
ffbe4b7bb7 fix: actor.prune, dont try deleting same users
over and over if they have local content
2025-02-11 14:32:54 -05:00
Barış Soner Uşaklı
c4b013308f refactor: hooks button 2025-02-11 13:57:38 -05:00
Barış Soner Uşaklı
de457210e9 show non deletions 2025-02-11 13:51:42 -05:00
Barış Soner Uşaklı
cfbb8ff887 fix: getLocalFollowCounts, show non existing deletes 2025-02-11 13:45:38 -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ı
e85662a536 fix: getUserField so that it always returns null
if field doesn't exist
user.getUserField('foo', 'bar') returned undefined vs user.getUserField('1', 'bar') which returned null
2025-02-11 13:28:25 -05:00
Barış Soner Uşaklı
d590c2afcf perf: closes #13145, reduce calls in actors.prune
instead of deleting 18k users everyday delete max 500 every 30mins like notifications.prune

refactor getLocalFollowCounts so it works with an array of actors

dont make dbcalls for uids that dont exist
2025-02-11 11:01:32 -05:00
Barış Soner Uşaklı
224910b133 fix: isArray check 2025-02-11 10:56:56 -05:00
Barış Soner Uşaklı
893089709c add await to notify functions
and wrap in try/catch
2025-02-11 10:16:40 -05:00
Julian Lam
5cbf3dd7ea fix: sanity-check the id when mocking a post 2025-02-08 20:28:17 -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
Barış Soner Uşaklı
1090dbd85e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2025-02-08 19:40:20 -05:00
Barış Soner Uşaklı
f5328aa80c fix: regression :tmi: 2025-02-08 19:40:12 -05:00
Barış Soner Uşaklı
2b7961e0e2 add brand:logo to config 2025-02-07 17:19:52 -05:00
Barış Soner Uşaklı
b6b766395d chore: update persona 2025-02-07 12:01:50 -05:00
Barış Soner Uşaklı
3ab22c2c8c refactor: events are returned inside post objects
to load all events of a topic use api/v3/topics/:tid/events
2025-02-06 19:59:09 -05:00
Barış Soner Uşaklı
d687f0810c fix: #13135, tids are not numeric for ap topics
this fixes other issues like posts not disappearing when purged and many others
2025-02-06 19:12:32 -05:00
Julian Lam
865c09a5cf chore: forgot to remove bad code 2025-02-06 18:03:47 -05:00
Julian Lam
5baa46d0bc fix: handle cases where url passed to mime does not pass because url contained a query string 2025-02-06 17:58:54 -05: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ı
c41815ab81 remove w-100 2025-02-04 20:11:33 -05:00
Barış Soner Uşaklı
b993be6fd7 refactor: move dropdown search inputs into dropdown
get rid of position-absolute on search inputs
2025-02-04 19:59:16 -05:00
Barış Soner Uşaklı
72091ec4e1 refactor: server.destroy 2025-02-03 13:40:52 -05:00
Barış Soner Uşaklı
21156673e3 fix: isDraft logic, closes #13119
topic.exists returns an array
2025-02-03 13:13:49 -05:00
Barış Soner Uşaklı
36063d1f33 fix: path on windows, #13119 2025-02-03 12:47:45 -05:00