Commit Graph

29665 Commits

Author SHA1 Message Date
Julian Lam
336ea1eeb6 fix: type error in attachment emptying method 2024-05-10 11:18:33 -04:00
Barış Soner Uşaklı
31fccc5946 Merge branch 'master' into develop 2024-05-10 11:16:56 -04:00
Opliko
f4f0eb30dc Small docker improvements and fixes (#12335)
* feat: disable uneecessary npm features

disables npm audit, fund and update-notifier for a few second startup speedup

* fix: make default actually defaults not forced values

* feat: upgrade on container changes

* feat: support changing build verb

* fix: use local volumes instead of bind mounts

* fix: save just the hash without any unexpected whitespace

* feat: use run with mount instead of copying for cross-platfomr builds

* ci: try with minimal cache

* ci: don't fetch all branches

* feat: bsic support for other package managers via PACKAGE_MANAGER env var

* refactor: better structured entrypoint

Co-authored-by: NavyStack <137406386+NavyStack@users.noreply.github.com>

* ci: properly cache the node_modules mount

* fix: syntax error

* refactor: fine tune docker-related files

* ci: docker image taging (time, latest)

* fix: remove the trailing slash for correct directory path

* docker: todo- use environment variables to create files

* docker: fix permissions

* docker: fix permissions

* docker: fix stage

* feat: auto-upgrade on package.json changes

* fix: don't profile-gate postgres

---------

Co-authored-by: NavyStack <137406386+NavyStack@users.noreply.github.com>
Co-authored-by: NavyStack <navystack@askfront.com>
2024-05-10 11:10:42 -04:00
renovate[bot]
7a00944552 fix(deps): update dependency validator to v13.12.0 (#12556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 11:04:40 -04:00
renovate[bot]
b8a52863d6 chore(deps): update postgres docker tag to v16.3 (#12555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 11:03:32 -04:00
renovate[bot]
d3840280ec fix(deps): update dependency sass to v1.77.0 (#12550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 11:03:23 -04:00
renovate[bot]
0fa115610a chore(deps): update dependency sass-embedded to v1.77.0 (#12548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 10:38:17 -04:00
renovate[bot]
751a143e4d fix(deps): update dependency mongodb to v6.6.1 (#12547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 10:31:06 -04:00
renovate[bot]
ed07cfccff fix(deps): update dependency esbuild to v0.21.1 (#12549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 10:30:57 -04:00
renovate[bot]
b4023ff9f3 chore(deps): update coverallsapp/github-action action to v2.3.0 (#12554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 10:30:35 -04:00
renovate[bot]
5264decaa5 fix(deps): update dependency semver to v7.6.2 (#12552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 10:30:15 -04:00
Barış Soner Uşaklı
baada2fca7 fix: tag notification if pid is not int 2024-05-10 10:21:28 -04:00
Julian Lam
ccd187e000 feat: Note deletion logic and refactoring, #12551 2024-05-09 15:49:03 -04:00
Julian Lam
fdba684049 chore: some linting 2024-05-09 15:49:03 -04:00
Barış Soner Uşaklı
36016ee138 refactor: add missing form-label class 2024-05-09 11:50:59 -04:00
Opliko
c973a9caba fix: encode most uses of pid to avoid more bugs like #12545 2024-05-09 11:25:05 +02:00
Opliko
43dfb60f91 fix: allow quoting AP posts, fixes #12545 2024-05-09 10:48:42 +02:00
Julian Lam
f404395962 feat: handle receipt of Update(Tombstone)
re: #12551
2024-05-07 14:01:31 -04:00
Julian Lam
6f9fa66006 fix: Update(Note) federation should only apply to local content 2024-05-07 12:43:27 -04:00
Julian Lam
96db519b79 feat: on post delete, federate out an Update(Tombstone) 2024-05-07 12:37:57 -04:00
Julian Lam
51089a347a fix: attach announcers and their followers to cc, not to targets, only attach announcers to targets 2024-05-07 12:34:07 -04:00
Julian Lam
5e9d47a1d8 feat: serve Tombstone objects for soft deleted posts
re: #12551
2024-05-07 12:16:23 -04:00
Julian Lam
0c0f01b560 test: refactor tests to support additional Note tests 2024-05-07 11:57:58 -04:00
Julian Lam
2cd9088c8d fix: bump harmony 2024-05-07 10:58:53 -04:00
Julian Lam
ac74d9c55e fix: inability to query local content via remote url 2024-05-07 10:58:39 -04:00
Julian Lam
9761526710 feat: ability to query remote users by webfinger handle 2024-05-07 10:11:36 -04:00
Opliko
a7aeabc80d fix: ensure consistent return type from notes.assert
For fully cached topics it returned bare tid instead of a { tid, count } object.

Typescript would fix this btw :)
2024-05-07 10:40:47 +02:00
Opliko
af98675808 fix: remove unnecessary check and guard against unsupported URIs before fetching 2024-05-06 23:57:47 +02:00
Opliko
22b42f11dd fix: handle retry queue invalidation across a cluster 2024-05-06 23:16:58 +02:00
Julian Lam
4cbb1f2a42 feat: support the ability to search for posts and users by url 2024-05-06 17:11:38 -04:00
Opliko
729f0fcac1 fix: use batch.processArray properly 2024-05-06 23:06:06 +02:00
renovate[bot]
4813772ce8 fix(deps): update dependency mongodb to v6.6.0 (#12544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 17:02:23 -04:00
renovate[bot]
8fcfb18101 fix(deps): update dependency nodebb-plugin-composer-default to v10.2.35 (#12546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 17:02:12 -04:00
Opliko
ea6e15bf08 refactor: use batch.processArray for sending AP messages 2024-05-06 22:52:48 +02:00
Opliko
50bc9a37c5 feat: basic retry queue 2024-05-06 22:49:31 +02:00
Barış Soner Uşaklı
1e3a321da6 chore: up themes 2024-05-06 16:22:27 -04:00
Julian Lam
4e7b12b925 fix: if an unknown post is navigated to by a logged-in user, automatically assert the post and add it to their inbox 2024-05-06 15:54:45 -04:00
Julian Lam
807c3eac12 feat: on post edit, also target anyone who announced the post and their followers
re: #12537
2024-05-06 15:14:32 -04:00
Julian Lam
e341a5d868 fix: bump harmony 2024-05-06 15:13:43 -04:00
Julian Lam
4e006adb58 fix: bump composer-default 2024-05-06 15:06:30 -04:00
Julian Lam
738d47c7db fix: save followersUrl to remote user hashes 2024-05-06 14:46:26 -04:00
Julian Lam
8de2352e64 fix: notifications for tag followers not being sent if author is a remote user 2024-05-06 11:13:33 -04:00
Julian Lam
05cdb7d920 fix: send topic title in context object 2024-05-03 14:43:04 -04:00
Julian Lam
109f423211 fix: partOf and type 2024-05-03 14:21:46 -04:00
Julian Lam
1a21c8add4 fix: if post count is less than posts per page, don't paginate in ordered collection 2024-05-03 14:16:32 -04:00
Julian Lam
4b29a1b91d refactor: context actor to serve an as:OrderedCollection instead of as:Page, and added context property (as per FEP-7888) to refer to it, changed audience to point to category 2024-05-03 14:11:25 -04:00
Opliko
32d1adf67d feat: add id to reject activity 2024-05-03 17:48:09 +02:00
Barış Soner Uşaklı
ae589ad71c Merge branch 'activitypub' of https://github.com/NodeBB/NodeBB into activitypub 2024-05-03 11:28:25 -04:00
Barış Soner Uşaklı
f24a1a34ce dont show tags from cid -1 2024-05-03 11:27:52 -04:00
Opliko
0336e8f0ad fix: send id for category announces 2024-05-03 17:15:55 +02:00