Julian Lam
d0c058263f
fix: update note assertion topic members check to simpler posts.exists check
...
The original logic checked that each member of the resolved chain was part of the resolved topic.
That isn't always the case, especially when topics splinter due to network timeouts/unavailability.
This ended up causing issues where already asserted posts were re-asserted but failed because they no longer served an _activitypub object since it was already asserted and the data was just pulled from the db.
2025-09-22 12:14:20 -04:00
Julian Lam
4d68e3fe14
fix: re-jig handling of ap tag values so that only hashtags are considered (not Piefed community tags, etc.)
2025-09-22 11:56:55 -04:00
Julian Lam
532653110c
Revert "fix: add pre-processing step to title generation logic so sbd doesn't fall over so badly"
...
This reverts commit f7c4742987 .
2025-09-17 10:58:07 -04:00
Julian Lam
f7c4742987
fix: add pre-processing step to title generation logic so sbd doesn't fall over so badly
2025-09-17 10:44:51 -04:00
Julian Lam
b66c30a2a7
fix: handle cases where incoming ap object tag can be a non-array
2025-09-15 14:10:02 -04:00
Barış Soner Uşaklı
f9688b36b6
fix: port the try/catch for notes.assert from develop
2025-09-11 17:44:34 -04:00
Julian Lam
953c051c2e
fix: perform Link header check on note assertion only when skipChecks is falsy
2025-09-10 14:59:13 -04:00
Julian Lam
527f27af29
fix: make auto-categorization logic case-insensitive
2025-09-08 12:00:32 -04:00
Julian Lam
e6996846ac
fix: use existing id if checkHeader returns false
2025-09-04 11:20:17 -04:00
Barış Soner Uşaklı
19aa8a7168
fix: display proper id if lock fails
2025-08-30 13:24:33 -04:00
Julian Lam
4ef605b1aa
fix : #13622 , WordPress blog URLs not asserting properly
2025-08-29 13:33:19 -04:00
Julian Lam
8268632235
feat: add sbd dependency to improve title generation (and for summary generation, later)
2025-08-28 14:12:04 -04:00
Barış Soner Uşaklı
4ad7b59281
Update notes.js
2025-08-27 13:28:26 -04:00
Barış Soner Uşaklı
681ce8bf2f
test: add more logs
2025-08-27 12:23:10 -04:00
Barış Soner Uşaklı
029da6c52e
test: debug timeout
2025-08-27 12:10:30 -04:00
Barış Soner Uşaklı
5ee1fd02bb
refactor: add missing awaits
...
fix error message, lock not using second param
2025-08-26 19:23:39 -04:00
Julian Lam
165af50dc8
feat: apply auto-categorization logic
2025-08-25 11:47:05 -04:00
Julian Lam
cc92702620
fix: add try..catch around topics.post in note assertion logic
2025-06-01 00:31:58 -04:00
Julian Lam
a460a55064
fix: bring back auto-categorization if group and object are same-origin, handle Peertube putting channel names in attributedTo
2025-05-15 15:40:01 -04:00
Julian Lam
fe13c75549
fix : #13375 , plus additional tests
2025-05-13 13:59:34 -04:00
Julian Lam
651ebaaf6c
fix: missing await
2025-05-06 13:24:58 -04:00
Julian Lam
b433848971
fix : #13374 , updates to posts.edit to handle remote content updates better
2025-05-06 10:45:09 -04:00
Julian Lam
1f04678210
fix : #13255 , assert all recipients of the main post when asserting a note, so that remote categories can be discovered
2025-04-29 10:28:18 -04:00
Julian Lam
9c1d5cd36e
feat: #13255 , deliver asserted topics to remote category followers
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
Julian Lam
f73f727d90
feat: also include category in to field when mocking post for federation
2025-04-29 10:28:17 -04:00
Barış Soner Uşaklı
2c59007b10
fix: closes #13275 , set 'announces' after adding to zset to prevent race condition
2025-04-01 10:55:03 -04:00
Julian Lam
80e03c857e
fix : #13254 , configurable ap content prune
2025-03-19 10:17:09 -04:00
Julian Lam
885b83e509
feat: if an incoming remote message is too long, don't create the room, but notify the local recipients instead
...
closes #13174
2025-03-07 15:26:13 -05:00
Julian Lam
4ec7552cfb
refactor: move all input note normalization into helper method, have assertPrivate mock a message object (with said normalization) before sending message
2025-03-04 14:11:41 -05:00
Julian Lam
5c3f1cfe57
fix: tag handling when remote objects contain tags without leading # symbol
2025-02-26 13:36:06 -05:00
Julian Lam
c98f29aeb4
Merge branch 'master' into develop
2025-02-26 12:57:47 -05:00
Julian Lam
c65e1ebb8f
fix : #13202 , private note assertion failure when cc property is missing
2025-02-26 12:29:57 -05:00
Julian Lam
b6d9abd1ed
Merge branch 'master' into develop
2025-02-18 13:40:04 -05:00
Julian Lam
de6e63bbd7
fix: add back chronological sorting of asserted notes
2025-02-18 13:33:11 -05:00
Barış Soner Uşaklı
8c6bfa95e4
Merge branch 'master' into develop
2025-02-18 11:43:52 -05:00
Julian Lam
5e71d597a4
fix: notes.assertPrivate sanity checks
2025-02-18 10:12:26 -05:00
Julian Lam
637addc445
feat: syncUserInboxes to take into account remote topic tags, closes #13074
2025-02-14 20:43:19 -05:00
Julian Lam
126ff28612
Revert "feat: changes to how a topic is presented via ActivityPub; conformance with upcoming changes to 7888"
...
This reverts commit 4fd7a9dc59 .
2025-01-29 14:38:43 -05:00
Julian Lam
db1f895933
fix: extend remoteAnchorToLocalProfile ap helper to handle markdown content
2025-01-23 16:23:06 -05:00
Julian Lam
adeaff4b82
feat: changes to how a topic is presented via ActivityPub; conformance with upcoming changes to 7888
2025-01-21 12:55:43 -05:00
Julian Lam
1d36ab6ddb
fix : #12996 , invalid title generation when remote post content has markdown source
2024-12-30 15:39:21 -05:00
Barış Soner Uşaklı
bb24e0ce15
change log
2024-12-25 14:58:07 -05:00
Julian Lam
e83036a959
feat: #12976 , shares collection
2024-12-16 13:50:24 -05:00
Julian Lam
b15a684a92
fix: lemmy integration, handle image property as topic thumb
2024-12-12 11:37:22 -05:00
Julian Lam
b551abce59
fix: wrap try..catch around topics.reply in note assertion to output errors
2024-12-11 14:40:21 -05:00
Julian Lam
1839388b65
fix: persist sourceContent into post hash when ingesting remote posts, update markdown so that field is parsed instead of ignoring content
2024-12-03 11:59:55 -05:00
Julian Lam
55ab85ac0d
fix: inability to directly post to a nodebb category from the fediverse
2024-11-18 14:23:59 -05:00
Julian Lam
7adc3140e2
fix : #12912 , strip custom emoji from remote content titles
2024-11-14 15:08:30 -05: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