Barış Soner Uşaklı
021b3af04a
refactor: remove debug log
2025-04-07 13:23:46 -04:00
Barış Soner Uşaklı
3ad6ee075b
Thumb uploads/post uploads normalization ( #13300 )
...
* testing thumn/post upload refactor
* fix: isOrphan check
* lint: fix md5
* test: fix upload test
* user
* fix: upgrade script
* refactor: long line
* lint: lint
* test: fix tests
* Squashed commit of the following:
commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Fri Apr 4 09:24:54 2025 -0400
fix: req.body can be undefined
* refactor: show data on test fail
* test: logs
* test: change test
* make sure timestamps are different
2025-04-04 10:45:05 -04:00
Julian Lam
aa4f23bfad
fix: do not await the batch call to sendMessage
2025-03-28 12:59:06 -04:00
Julian Lam
dca3c35d76
fix: move AP send logging earlier
2025-03-02 22:58:05 -05:00
Julian Lam
7ceb6d69ae
test: adjust test runner detection in AP code
2025-03-02 21:58:46 -05:00
Julian Lam
6e872b5fe4
test: log outgoing AP messages for local test runner
2025-02-28 13:56:40 -05:00
Julian Lam
95f2c4edb5
feat: support remote "Video" type objects in note assertion, #13120
...
- handle array attributedTo (plus per-object actor assertion instead of batched)
- explicit "Video" type handling to automatically save URL as post attachment
- handle array url property
2025-02-26 13:55:39 -05:00
Barış Soner Uşaklı
3991898171
Merge branch 'master' into develop
2025-02-19 20:09:40 -05:00
Barış Soner Uşaklı
a410587ce1
fix: closes #13180 , don't execute cron jobs if ap disabled
2025-02-19 20:09:31 -05:00
Barış Soner Uşaklı
9997189aea
feat: remove activities older than a week
2025-02-18 13:00:08 -05:00
Barış Soner Uşaklı
d9e86c7b07
feat: remove activities older than a week
2025-02-18 12:06:02 -05:00
Barış Soner Uşaklı
d590c2afcf
perf: closes #13145 , reduce calls in actors.prune
...
instead of deleting 18k users everyday delete max 500 every 30mins like notifications.prune
refactor getLocalFollowCounts so it works with an array of actors
dont make dbcalls for uids that dont exist
2025-02-11 11:01:32 -05:00
Barış Soner Uşaklı
676acb7e8c
perf: closes #13145 , reduce calls in actors.prune
...
instead of deleting 18k users everyday delete max 500 every 30mins like notifications.prune
refactor getLocalFollowCounts so it works with an array of actors
dont make dbcalls for uids that dont exist
2025-02-11 10:39:24 -05:00
Julian Lam
9fd6ac6bb8
refactor: move 1b12 announce logic out of inbox and into separate feps module
...
1b12 announces were previously only happening for local creates and received
activities, but they should happen for all local activities as well.
re: #13072
2025-02-07 08:21:41 -05:00
Julian Lam
d644c0f41c
refactor: acceptable types in context.js to index.js, allow searching for remote topis by topic url
2025-01-30 16:41:55 -05:00
Julian Lam
af4d07fba4
feat: fix activitypub toggler to be more complete; tests. #13054
2025-01-20 12:05:17 -05:00
Julian Lam
450322d12f
fix: handle ap send errors with object body
2025-01-09 11:17:53 -05:00
Julian Lam
39705a1796
fix : #13017 , probe redirection if url is identical to id
2024-12-30 14:53:56 -05:00
Barış Soner Uşaklı
45021b5bfa
fix: add missing catch, closes #13012
2024-12-25 10:43:02 -05:00
Barış Soner Uşaklı
40257663a8
refactor: use helpers.log
2024-12-25 09:00:12 -05:00
Julian Lam
25d6ef432b
fix: add 10s timeout for AP message send
2024-12-16 22:38:10 -05:00
Julian Lam
549a6b7dff
feat: support for FEP fb2a (new-style account metadata)
2024-11-26 14:18:42 -05:00
Julian Lam
cf3555faaa
fix: missing return
2024-10-31 11:59:42 -04:00
Julian Lam
94e3490711
fix: raise probe timeout to 2s
2024-10-30 16:07:38 -04:00
Julian Lam
f8729571db
fix : #12883 , activitypub probe timeout
...
- Added setting to disable probe completely
- Added setting to configure timeout
- Updated probe logic so that if probe times out, it retries in the background with 60s timeout for caching purposes
2024-10-30 10:59:05 -04:00
Julian Lam
e5331b840c
docs: fix comment
2024-10-24 13:17:32 -04:00
Julian Lam
069c8228e7
feat: #12822 , send all outgoing links to /ap first to see if it's activitypub enabled, parse if able, otherwise redirect as normal
2024-10-23 15:25:16 -04:00
Julian Lam
5e47b19488
refactor: expose buildRecipients as a main activitypub lib method, call buildReceipients in ap controller actors for notes
2024-10-23 11:28:55 -04:00
Julian Lam
a226ee9e91
fix: re-enable logging only for dev mode
2024-10-12 22:49:24 -04:00
Julian Lam
6b4b4b1a00
fix: actors.assert attempting to process things that aren't actors, #12809
2024-09-19 14:52:05 -04:00
Julian Lam
da25fd21ea
feat: activitypub.get; allow the passing-in of custom headers via existing options parameter
2024-07-16 11:36:39 -04:00
Julian Lam
485b775837
feat: allow activitypub request cache to be ignored
2024-07-09 14:45:04 -04:00
Julian Lam
8ecbb5cc5c
fix: partial revert to fix url_parsed not being available at top of file @barisusakli
2024-07-05 12:14:16 -04:00
Barış Soner Uşaklı
644bcec562
perf: use batch in resolveInboxes
2024-07-03 22:35:46 -04:00
Julian Lam
e75ec39b70
feat: topic backfill logic via resolvable context #12647
2024-06-28 12:54:41 -04:00
Julian Lam
6e2178b0dc
feat: instance-level allow andd deny list for federatioN
2024-06-17 15:50:27 -04:00
Julian Lam
3567f55a5d
feat: send cause to ap.get error handler, delete local account representation if assertion fails with a 410
2024-06-13 14:53:47 -04:00
Barış Soner Uşaklı
634e9b03f1
fix typo
2024-06-10 19:27:03 -04:00
Barış Soner Uşaklı
89465ec604
fix: don't crash process on error in cronjobs
...
catch error to continue in actor.prune
2024-06-10 19:24:06 -04:00
Julian Lam
4bb2c1a85e
feat: logic for remote user deletion, cronjob, and ACP options for pruning options
...
re: #12611
2024-06-07 16:28:07 -04:00
Barış Soner Uşaklı
ba2d18418a
refactor: comment out verbose logs
2024-06-07 11:56:58 -04:00
Julian Lam
c680fa67d9
chore: update ap cron job config
2024-06-05 12:31:24 -04:00
Julian Lam
709c91329a
feat: pruning of stale notes older than 30 days with no engagement
2024-06-04 14:18:22 -04:00
Barış Soner Uşaklı
300cf79c95
add max to caches to limit memory usage
2024-06-04 12:31:13 -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
Opliko
22b42f11dd
fix: handle retry queue invalidation across a cluster
2024-05-06 23:16:58 +02: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
Opliko
ed84eed8a9
fix: better logic for choosing webfinger lookups
2024-04-25 20:05:53 +02:00