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
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
cac4f8e7d6
fix: inputIndex check
2024-10-18 11:15:53 -04:00
Julian Lam
a226ee9e91
fix: re-enable logging only for dev mode
2024-10-12 22:49:24 -04:00
Julian Lam
ca683c6d52
refactor: followers url filtering logic, #12834
2024-10-09 15:09:06 -04:00
Julian Lam
2464d13cde
feat: notify users on new message from remote users, fix use of parseInt in generating chat notification
...
re: #12834
2024-10-09 13:51:41 -04:00
Julian Lam
0346e92bb2
fix: adjust timestamp after message creation instead of passing timestamp in, #12834
2024-10-08 23:51:41 -04:00
Julian Lam
22931be1cc
fix: limited visibility remote posts with greater scope than asserted roomId should add those users to the chat room, #12834
2024-10-08 16:28:42 -04:00
Julian Lam
b82e20dfc7
feat: handle incoming non-public activities as chat message, #12834
2024-10-08 14:26:55 -04:00
Julian Lam
15f60b2497
fix: logic tweak
2024-10-01 10:17:08 -04:00
Julian Lam
903d038919
fix: fall back to inReplyTo traversal on context resolution failure
2024-10-01 10:08:19 -04:00
Julian Lam
f481cde1a8
fix : #12729 , replies to existing topics from Pixelfed not asserting properly due to incorrect toPid
...
Pixelfed supplies an object _url_ instead of the expected _id_ in the `inReplyTo` field, and that tripped up NodeBB because we don't store a backreference for those.
The ideal solution here would be to set up a backreference for urls to pids, but in the meantime, this shortcut will function (it assumes that the object that it is in reply to is in the chain/context).
2024-08-13 11:12:48 -04:00
Julian Lam
95e6d2b43c
fix: move topic reply call in notes.assert to its own line
2024-08-13 10:52:27 -04:00
Julian Lam
2ced350250
fix: bug that caused remote replies to other remote content to not always assert
2024-07-29 16:03:58 -04:00
Julian Lam
39f92eac16
refactor: store local follow backreferences for remote users (both followers and following), update actor pruning to take local follow counts into consideration, fixes #12701
2024-07-19 14:37:32 -04:00
Julian Lam
f9937a84c4
feat: additional logic to handle special case where a queried object id reports a context, but it is not actually contained in the resolved context's collection
2024-07-19 11:06:19 -04:00
Julian Lam
60408f2307
fix: incorrect parsing of context items during note assertion, logic error with slicing
2024-07-19 10:50:14 -04:00
Julian Lam
ff0c289e1d
feat: #12695 Topic Synchronization via resolvable context
...
- Generation of a context collection digest via object ids
- Sending of said digest in ETag header
- Parsing of digests via If-None-Match header
- Update note assertion logic to handle 304 response
2024-07-16 11:37:38 -04:00
Julian Lam
46341673b3
fix: removal of topics from applicable user inboxes when synced
...
re: #12642
2024-07-05 12:00:23 -04:00
Julian Lam
2cbd63dc31
docs: update comment to reflect new behaviour
2024-07-05 11:09:42 -04:00
Julian Lam
cc0bbcb7bf
fix: push instead of unshift, now that order is reversed
2024-06-28 16:28:34 -04:00
Julian Lam
e75ec39b70
feat: topic backfill logic via resolvable context #12647
2024-06-28 12:54:41 -04:00
Julian Lam
4dbb73a433
fix: remove duplicate 1b12 announce in notes.assert (already handled in inbox)
2024-06-26 14:32:48 -04:00
Julian Lam
a371c9fceb
fix: regression that caused new notes to have undefined cid and fail privilege check
2024-06-25 11:04:45 -04:00
Julian Lam
89dd2fb04a
fix: move call to retrieve cid followers out of loop
2024-06-25 11:04:45 -04:00