Julian Lam
8cf9617630
feat: passing in types to parsePost for more specific handling by plugins
2024-05-17 15:22:13 -04:00
Julian Lam
f93b237ef1
fix: lint
2024-05-14 12:14:39 -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
Julian Lam
129017f735
fix: minor cleanup
2024-05-10 17:00:27 -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
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
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
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
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
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
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