Commit Graph

494 Commits

Author SHA1 Message Date
Julian Lam
86b0e5913b fix: send actor with 1b12 announce, fixes #13072 again 2025-02-11 16:07:38 -05:00
Julian Lam
d50f8a9d00 Revert "fix: send actor with 1b12 announce, fixes #13072"
This reverts commit 3cd87f1bc1.
2025-02-11 15:58:39 -05:00
Barış Soner Uşaklı
402fa27059 Merge branch 'master' into develop 2025-02-11 14:33:12 -05:00
Barış Soner Uşaklı
ffbe4b7bb7 fix: actor.prune, dont try deleting same users
over and over if they have local content
2025-02-11 14:32:54 -05:00
Barış Soner Uşaklı
de457210e9 show non deletions 2025-02-11 13:51:42 -05:00
Barış Soner Uşaklı
7555b603b5 show non deletions 2025-02-11 13:48:53 -05:00
Barış Soner Uşaklı
fde5e57e6d Merge branch 'master' into develop 2025-02-11 13:45:46 -05:00
Barış Soner Uşaklı
cfbb8ff887 fix: getLocalFollowCounts, show non existing deletes 2025-02-11 13:45:38 -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ı
224910b133 fix: isArray check 2025-02-11 10:56:56 -05:00
Barış Soner Uşaklı
5f3ed76d54 fix: isArray check 2025-02-11 10:48:42 -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
Barış Soner Uşaklı
7804b301d5 Merge branch 'master' into develop 2025-02-08 21:19:14 -05:00
Julian Lam
5cbf3dd7ea fix: sanity-check the id when mocking a post 2025-02-08 20:28:17 -05:00
Julian Lam
3cd87f1bc1 fix: send actor with 1b12 announce, fixes #13072 2025-02-08 06:50:20 -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
4c857c5372 Merge branch 'master' into develop 2025-02-06 18:03:54 -05:00
Julian Lam
865c09a5cf chore: forgot to remove bad code 2025-02-06 18:03:47 -05:00
Julian Lam
fea1ccdbf5 Merge branch 'master' into develop 2025-02-06 17:59:05 -05:00
Julian Lam
5baa46d0bc fix: handle cases where url passed to mime does not pass because url contained a query string 2025-02-06 17:58:54 -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
Barış Soner Uşaklı
54bc54e176 lint: remove tab 2025-01-29 19:44:35 -05:00
Julian Lam
c6e6ab438b fix: #13076, allow pulling in of topics by their topic URL
fix: reapply fixes that were part of since-reverted 4fd7a9dc59
2025-01-29 14:48:45 -05:00
Julian Lam
126ff28612 Revert "feat: changes to how a topic is presented via ActivityPub; conformance with upcoming changes to 7888"
This reverts commit 4fd7a9dc59.
2025-01-29 14:38:43 -05:00
Julian Lam
02fb99ebb6 fix: call relativeToAbsolute helper when generating markdown source content in mocks.notes.public/private 2025-01-29 12:09:38 -05:00
Barış Soner Uşaklı
7c2b9da84d Merge branch 'master' into develop 2025-01-25 15:01:07 -05:00
Julian Lam
b3b8b9e98d fix: null checks for category sync and actor assertions 2025-01-24 23:41:19 -05:00
Julian Lam
db1f895933 fix: extend remoteAnchorToLocalProfile ap helper to handle markdown content 2025-01-23 16:23:06 -05:00
Julian Lam
b386e4a66e feat: introduce new 'markdown' post parsing type, closes #13077 2025-01-23 14:52:14 -05:00
Barış Soner Uşaklı
397d28e3b6 lint: fix tab 2025-01-22 13:52:04 -05:00
Julian Lam
b14494b03d chore: fix ap dev helper 2025-01-22 13:39:47 -05:00
Julian Lam
adeaff4b82 feat: changes to how a topic is presented via ActivityPub; conformance with upcoming changes to 7888 2025-01-21 12:55:43 -05:00
Julian Lam
7d5482b26b chore: add helper method to ease in dev 2025-01-21 12:55:43 -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
98280d30e7 fix: #12990, local references via remote posts are not linkified properly, + tests for helper 2025-01-15 14:19:45 -05:00
Julian Lam
3cf3f93a5e fix: add deprecation note re: as:audience 2025-01-10 15:15:14 -05:00
Julian Lam
450322d12f fix: handle ap send errors with object body 2025-01-09 11:17:53 -05:00
Julian Lam
9c78255e36 fix: broken tests 2025-01-06 16:54:23 -05:00
Julian Lam
1d36ab6ddb fix: #12996, invalid title generation when remote post content has markdown source 2024-12-30 15:39:21 -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ı
bb24e0ce15 change log 2024-12-25 14:58:07 -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
97384b2cbd fix: #12941, inherit audience from earlier posts in the chain so as to send a coherent value to Lemmy instances, re: lemmynet/lemmy#5278 2024-12-24 11:18:12 -05:00
Barış Soner Uşaklı
8fd8079a84 lint: fix paranthesis 2024-12-22 13:34:29 -05:00
Julian Lam
25d6ef432b fix: add 10s timeout for AP message send 2024-12-16 22:38:10 -05:00
Julian Lam
e83036a959 feat: #12976, shares collection 2024-12-16 13:50:24 -05:00
Julian Lam
a7e6cfe837 fix: #12972, allow bridgyfed accounts to pass isWebfinger regex validation 2024-12-13 13:47:16 -05:00
Julian Lam
b15a684a92 fix: lemmy integration, handle image property as topic thumb 2024-12-12 11:37:22 -05:00
Julian Lam
b551abce59 fix: wrap try..catch around topics.reply in note assertion to output errors 2024-12-11 14:40:21 -05:00