Commit Graph

27885 Commits

Author SHA1 Message Date
Julian Lam
228c9173f3 chore: bump harmony 2024-05-14 12:12:56 -04:00
Julian Lam
4e9cd8efc0 feat: track incoming requests by id, analytics increment for some metrics, ignore repeated requests by id
closes #12574
2024-05-14 12:07:18 -04:00
Julian Lam
b106a6a018 feat: added analytics.peek 2024-05-14 12:05:53 -04:00
Barış Soner Uşaklı
70d2a6249d Merge branch 'develop' into activitypub 2024-05-12 21:24:27 -04:00
Barış Soner Uşaklı
d926d9dd51 fix: chat message search, closes #12571 2024-05-12 21:23:35 -04:00
Misty Release Bot
6161ff0263 Latest translations and fallbacks 2024-05-12 09:18:36 +00:00
renovate[bot]
0716006201 chore(deps): update dependency sass-embedded to v1.77.1 (#12565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 20:16:26 -04:00
renovate[bot]
7a64410a92 fix(deps): update dependency sass to v1.77.1 (#12566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 20:16:19 -04:00
Julian Lam
129017f735 fix: minor cleanup 2024-05-10 17:00:27 -04:00
renovate[bot]
185d61fce9 fix(deps): update dependency rimraf to v5.0.6 (#12562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 16:00:37 -04:00
Julian Lam
1fa9346563 refactor: #12553, buildRecipients so that it is separate from addressing in mocks.js 2024-05-10 15:30:45 -04:00
Julian Lam
b5b89038ac fix: Notes.delete to delete announcer zsets too 2024-05-10 14:40:04 -04:00
Julian Lam
2d7ca48d42 fix: rename api.activitypub.create.post to .note() 2024-05-10 14:32:00 -04:00
Julian Lam
d40d0b06ac fix: canPurge logic fault 2024-05-10 12:39:40 -04:00
Julian Lam
5bfde4c4a5 fix: allow remote content to skip isReady check on topic creation/reply 2024-05-10 12:37:02 -04:00
Julian Lam
0a1ad87d64 fix: Topic.isOwner check to handle remote users 2024-05-10 12:32:21 -04:00
Julian Lam
b67a7c3c15 fix: special handling for privsTopics.canPurge for remote posts 2024-05-10 12:13:36 -04:00
Julian Lam
9fbd48b152 fix: Posts.isMain cast pid to String instead 2024-05-10 12:07:28 -04:00
Julian Lam
9f44e99fae fix: special logic for purge privilege checks 2024-05-10 11:47:57 -04:00
Julian Lam
eda97da14a fix: unnecessary parseInt in post purge api method 2024-05-10 11:28:12 -04:00
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