Julian Lam
d685b20e0a
fix : #12893 , topic with pages returning OrderedCollectionPage instead of OrderedCollection.
...
Turns out empty arrays are still truthy, heh.
2024-11-04 13:43:28 -05:00
Julian Lam
cf3555faaa
fix: missing return
2024-10-31 11:59:42 -04:00
Julian Lam
3eb0a0ed57
fix : #12887 , strip target attribute from remote posts' html
2024-10-31 11:47:00 -04:00
Julian Lam
a59dae3f0a
fix : #12866 again, more tests
2024-10-31 11:35:28 -04:00
Julian Lam
94e3490711
fix: raise probe timeout to 2s
2024-10-30 16:07:38 -04: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
f8729571db
fix : #12883 , activitypub probe timeout
...
- Added setting to disable probe completely
- Added setting to configure timeout
- Updated probe logic so that if probe times out, it retries in the background with 60s timeout for caching purposes
2024-10-30 10:59:05 -04:00
Julian Lam
22dbf15e5e
fix: errant mention detection via actors.note
...
- also removed duplicate parsing of post content when retrieving object via AP
2024-10-29 14:51:55 -04:00
Julian Lam
05c8ee9f02
fix : #12880 , refactored ap controller.list to use buildTopicsSortedSet, moved out poor man's intersect to internal method
2024-10-29 11:40:51 -04:00
Julian Lam
4fc0ee9b76
Revert "fix: use categories.getTopicIds instead of duplicating existing logic to get world tids"
...
This reverts commit 7bf411383e .
2024-10-29 11:26:14 -04:00
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