Commit Graph

28648 Commits

Author SHA1 Message Date
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
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
Julian Lam
f512901778 fix: display of remote users in chat room search
re: #12834
2024-10-04 17:08:32 -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
f57758b9e5 fix: bump web-push 2024-10-01 11:48:47 -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
45a0b8189b fix: tests 2024-09-30 16:59:24 -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
renovate[bot]
55faa8a261 fix(deps): update dependency webpack to v5.95.0 (#12828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 11:27:18 -04:00
Barış Soner Uşaklı
c5d1c4ec68 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2024-09-30 11:18:41 -04:00
Barış Soner Uşaklı
f9178a3996 test: update spec on plugins 2024-09-30 11:18:37 -04:00
renovate[bot]
24928b1785 chore(deps): update dependency sass-embedded to v1.79.4 (#12825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 11:11:07 -04:00
renovate[bot]
376ac90592 fix(deps): update dependency sass to v1.79.4 (#12826)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 11:10:59 -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
renovate[bot]
5acf0398f8 fix(deps): update dependency helmet to v7.2.0 (#12827)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 11:01:39 -04:00
renovate[bot]
d7299f9040 chore(deps): update postgres docker tag to v17 (#12829)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 11:01:25 -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
renovate[bot]
b1993ff01d fix(deps): update dependency nodebb-theme-harmony to v1.2.71 (#12820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 09:08:38 -04:00
Julian Lam
edff339498 feat: dynamic category icon generation
When a category is retrieved via activitypub, NodeBB will now
generate an SVG and PNG representation of the category utilising
the "icon", "color", and "bgColor" values.

closes #12507
2024-09-27 13:29:41 -04:00
Julian Lam
c153c4694b chore: move service worker generation code to its own controller file 2024-09-25 12:40:56 -04:00
Julian Lam
90cc7e61ff fix: remove superfluous service-worker code 2024-09-25 12:32:35 -04:00
Julian Lam
f75214bc34 Merge branch 'develop' into activitypub 2024-09-25 12:31:45 -04:00
Julian Lam
979954c29e feat: port updated service worker code to develop, allow plugins to define scripts to import into service worker 2024-09-25 12:29:52 -04:00
Barış Soner Uşaklı
34353bdb20 chore: up harmony 2024-09-25 09:02:46 -04:00
Barış Soner Uşaklı
ee05bf2129 Merge branch 'develop' into activitypub 2024-09-25 09:02:31 -04:00
Barış Soner Uşaklı
a6d6a30aaa Merge branch 'activitypub' of https://github.com/NodeBB/NodeBB into activitypub 2024-09-25 09:02:21 -04:00
Julian Lam
cc267714ed chore: beta.2 v4.0.0-beta.2 2024-09-24 12:28:35 -04:00
Julian Lam
6fe4d44675 fix: explicitly set updated property when federating notes out 2024-09-24 12:15:10 -04:00
Misty Release Bot
0dd080fb55 Latest translations and fallbacks 2024-09-24 09:19:48 +00:00
Barış Soner Uşaklı
6dc2f60b50 Merge branch 'activitypub' of https://github.com/NodeBB/NodeBB into activitypub 2024-09-23 15:46:20 -04:00
Barış Soner Uşaklı
5bc907a088 fix: buttons for general settings 2024-09-23 15:46:18 -04:00