Commit Graph

14151 Commits

Author SHA1 Message Date
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
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