Commit Graph

14140 Commits

Author SHA1 Message Date
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ı
1bf0990774 fix: groups not showing up on new reply 2024-10-15 10:59:13 -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
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
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
e9a27db29d fix: remote debug log 2024-10-09 13:19:52 -04:00
Julian Lam
adf33cfac9 fix: error on replying to remote mids #12834 2024-10-09 13:18:16 -04:00
Julian Lam
94ac57ea51 fix: proper urls in to, #12834 2024-10-09 13:14:18 -04:00
Julian Lam
70fe868953 fix: simplify uid logic, explicitly mention all participants, even local users, #12834 2024-10-09 13:08:38 -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
8abfd951b2 fix: empty mid on frontend for remote posts 2024-10-08 16:28:03 -04:00
Julian Lam
0a17a0b948 fix: recent chats string generation to handle remote users #12834 2024-10-08 15:27:53 -04:00
Julian Lam
fc1d064dfb fix: inReplyTo bug, #12834 2024-10-08 15:24:39 -04:00
Julian Lam
b82e20dfc7 feat: handle incoming non-public activities as chat message, #12834 2024-10-08 14:26:55 -04:00
Barış Soner Uşaklı
3cf0c9fcd6 Merge branch 'master' into develop 2024-10-08 11:52:35 -04:00
Julian Lam
8f7d049957 fix: remove sender from recipients, #12834 2024-10-08 10:11:41 -04:00
Julian Lam
f3045309f9 fix: private note inReplyTo url, #12834 2024-10-07 15:01:30 -04:00
Julian Lam
f4a02d9c62 fix: inReplyTo for private notes so that refer to the immediately previous message if not explicitly defined 2024-10-07 14:58:15 -04:00
Julian Lam
8a1abe686c fix: duplicate logic and double-parsing issue, #12834 2024-10-07 14:39:55 -04:00
Julian Lam
74d5ced29e fix: federate out a Create(Note) instead of just the note... doi...
#12834
2024-10-07 14:29:45 -04:00
Julian Lam
2ab5ea39a6 feat: federating out chat messages
re #12834
2024-10-07 14:12:31 -04:00
Julian Lam
8ef0df57e6 refactor: check HTTP signatures on all activitypub requests
- `validate` is now renamed `assertPayload`
- HTTP signature checking is now in new middleware `verify`
- `verify` is now called on all routes in activitypub controller
- Rejects on signature failure for POST requests
2024-10-07 14:08:57 -04:00
Julian Lam
2b71434ef4 feat: update mdidleware.assert.message so roomId is optional 2024-10-07 14:02:15 -04:00
Julian Lam
52080ba269 fix: chat room kicking of remote users, (un)read logic for remote users (there is none), sendNotification to only apply to local uids
re: #12834
2024-10-04 17:08:44 -04:00
Julian Lam
b610b520e9 fix: restrict the ability to make a remote user a chat room owner
re: #12834
2024-10-04 17:08:39 -04:00
Barış Soner Uşaklı
39f57f9e5b refactor: don't block ./nodebb upgrade if suggested modules are not loaded 2024-10-04 15:44:19 -04:00
Julian Lam
bd44783e46 feat: #12647, federate out Add activity on inbox.create and local post creation 2024-10-03 11:10:21 -04:00
Julian Lam
2713d13ca3 fix: also ignore non-public notes on Update activity 2024-10-02 12:08:46 -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
3d25a07919 fix: null defense 2024-09-30 15:43:23 -04:00
Julian Lam
0b83e5b889 fix: #12821, improvements to search bar and search logic
- Entering a webfinger handle in search bar will override default
  `searchIn` to `users`
- When an activitypub uri is entered, it is fetched and its `type`
  is checked. If `type` is `user`, a user search is conducted
  instead. If `type` is not post-like or user-like, a regular
  full-text search is performed (prior, it just threw an
  exception!)
2024-09-30 13:01:29 -04:00
Julian Lam
43e3f4128b Merge branch 'develop' into activitypub 2024-09-30 12:12:55 -04:00
Julian Lam
bd76ccf08a refactor: search logic to use switch..case 2024-09-30 12:11:48 -04:00
Julian Lam
c265666c56 fix: lint 2024-09-30 11:31:14 -04:00
Julian Lam
7f1f485952 feat: send 308 when activitypub request for remote post comes in, #12831 2024-09-30 11:09:46 -04:00
Julian Lam
c5e10c1a41 fix: parse aboutme when mocking a user 2024-09-30 10:51:20 -04:00
Barış Soner Uşaklı
c4a60dbbcc https://github.com/NodeBB/NodeBB/issues/12824
search all plugins when on download tab
2024-09-30 10:27:03 -04:00