Commit Graph

14176 Commits

Author SHA1 Message Date
Julian Lam
b1d779ca6f fix: don't trust timestamps on received items
Trust the order you get from reply chain traversal and context retrieval instead.
2024-10-29 11:16:18 -04:00
Julian Lam
7bf411383e fix: use categories.getTopicIds instead of duplicating existing logic to get world tids 2024-10-29 10:36:35 -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
beb85604bd fix: #12866, improve title generator, refactor tests 2024-10-25 13:18:45 -04:00
Julian Lam
eccad588f4 fix: one more fix 2024-10-25 12:49:49 -04:00
Julian Lam
0e982fcf9e fix: debug return not restored back 2024-10-25 12:37:45 -04:00
Julian Lam
fc3243d617 fix: #12865, crash on liking a chat message 2024-10-25 12:11:48 -04:00
Barış Soner Uşaklı
7e450e1d2e lint: remove unused utils 2024-10-24 20:10:52 -04:00
Barış Soner Uşaklı
f532450139 fix: possible fix to escaped emoji in titles 2024-10-24 20:03:40 -04:00
Barış Soner Uşaklı
fb9965f8f6 Merge branch 'develop' into activitypub 2024-10-24 19:25:58 -04:00
Barış Soner Uşaklı
bcdcae7b9b Merge branch 'master' into develop 2024-10-24 19:25:39 -04:00
Barış Soner Uşaklı
d24bc5c52e fix: use postData.topic.title instead of topicData.title 2024-10-24 19:25:24 -04:00
Julian Lam
998273cdc4 fix: #12707 ensure actor matches context attributedTo 2024-10-24 14:44:18 -04:00
Julian Lam
3023b25172 feat: handle receipt of Add activity #12707 2024-10-24 14:36:42 -04:00
Julian Lam
6f237c57cd feat: associate new topics created from asserted notes with their originating context, if that context is resolvable
re: #12647
2024-10-24 14:35:34 -04:00
Julian Lam
15516862ce fix: federate out an Add on post creation even if there are no category followers 2024-10-24 13:33:04 -04:00
Julian Lam
3030a720e9 fix: accidental sending of Set to ActivityPub.send 2024-10-24 13:30:51 -04:00
Julian Lam
e5331b840c docs: fix comment 2024-10-24 13:17:32 -04:00
Barış Soner Uşaklı
10a85e9401 fix: another missing await 2024-10-23 16:57:23 -04:00
Barış Soner Uşaklı
0082ac981d fix: add missing await 2024-10-23 16:32:11 -04:00
Julian Lam
069c8228e7 feat: #12822, send all outgoing links to /ap first to see if it's activitypub enabled, parse if able, otherwise redirect as normal 2024-10-23 15:25:16 -04:00
Barış Soner Uşaklı
e6ab4b07dd fix: closes #12858 2024-10-23 11:34:47 -04:00
Julian Lam
5e47b19488 refactor: expose buildRecipients as a main activitypub lib method, call buildReceipients in ap controller actors for notes 2024-10-23 11:28:55 -04:00
Barış Soner Uşaklı
8a89c5d759 fix: don't crash if profile folder doesn't exist 2024-10-23 11:25:32 -04:00
Julian Lam
8492b5f402 fix: #12857 byebye cheerio 2024-10-18 14:41:22 -04:00
Julian Lam
cac4f8e7d6 fix: inputIndex check 2024-10-18 11:15:53 -04:00
Barış Soner Uşaklı
d82d2c5cd7 Merge branch 'develop' into activitypub 2024-10-18 09:17:53 -04:00
Barış Soner Uşaklı
8903858a6d Merge branch 'master' into develop 2024-10-18 09:17:32 -04:00
Julian Lam
6208ab8d42 fix: convert some more verbose logging to use ap logging helper 2024-10-17 14:36:39 -04:00
Julian Lam
d451adafc4 fix: regression introduced by 903d038919 2024-10-17 14:36:34 -04:00
Barış Soner Uşaklı
81f7371a7b test: fix guest handles in onNewPost 2024-10-17 14:10:31 -04:00
Julian Lam
13c048a515 feat: normalization middleware to ensure incoming objects' data types are as expected (simplifies later logic) 2024-10-17 13:45:56 -04:00
Julian Lam
c34407d8b8 fix: lint 2024-10-17 11:31:32 -04:00
Julian Lam
0f1b11649c fix: errant parseInt in canEditDelete 2024-10-17 11:23:08 -04:00
Julian Lam
1d5f490de0 fix: guard against missing to/cc 2024-10-17 11:19:22 -04:00
Julian Lam
873d033baf fix: object not array 2024-10-17 11:16:25 -04:00
Julian Lam
61445d3d87 feat: send Update(Note) on chat message deletion and restoration, serving Tombstone if deleted
re: #12853
2024-10-17 11:06:10 -04:00
Julian Lam
b472c58946 fix: backend logic fixes for #12853 2024-10-16 15:22:49 -04:00
Julian Lam
5c43108480 Merge remote-tracking branch 'origin/develop' into activitypub 2024-10-16 15:03:05 -04:00
Julian Lam
e5948464e7 feat: handle Update(Note) when object has limited visibility, #12834 2024-10-15 11:27:57 -04:00
Barış Soner Uşaklı
120b184e58 refactor: single line 2024-10-15 11:03:46 -04:00
Barış Soner Uşaklı
1bf0990774 fix: groups not showing up on new reply 2024-10-15 10:59:13 -04:00
Barış Soner Uşaklı
6477935240 fix: closes #12848, add missing purge class 2024-10-13 22:57:36 -04:00
Julian Lam
a226ee9e91 fix: re-enable logging only for dev mode 2024-10-12 22:49:24 -04:00
Julian Lam
9062691aa2 fix: defer postdata retrieval 2024-10-12 22:49:09 -04:00
Barış Soner Uşaklı
f53f1394bd perf: make unread faster if there are 60k+ unread topics
fixes https://community.nodebb.org/topic/18350/nodebb-slow-after-website-have-over-60k-topic
2024-10-11 12:06:19 -04:00
Julian Lam
e0e2051dda feat: check room counts on actor prune, #12834 2024-10-10 14:49:40 -04:00
Julian Lam
1659015c98 feat: federate on chat message edit, #12834 2024-10-10 13:04:07 -04:00
Julian Lam
7ad7bc4743 fix: inReplyTo incorrectly including system messages, #12834 2024-10-10 12:36:25 -04:00
Barış Soner Uşaklı
757d710115 feat: add read topics route
remove counts that were no longer displayed
up themes
2024-10-09 19:13:25 -04:00