Commit graph

331 commits

Author SHA1 Message Date
Henri Dickson
123c20efb1
When remote follows local, hold off sending Accept if remote identity is not fully fetched (#676) 2023-12-06 11:08:41 -07:00
Andrew Godwin
837320f461 Invert pruning exit codes 2023-12-01 00:03:09 -07:00
Rob
5f28d702f8
Make max_media_attachments configurable by admin (#669) 2023-11-28 09:52:04 -07:00
Henri Dickson
ac7fef4b28
Do not fetch webfinger if when querying identity on local domain (#668) 2023-11-26 21:00:58 -07:00
Henri Dickson
6855e74c6f
Do not retry unmute if mute never expires 2023-11-26 12:46:31 -07:00
Henri Dickson
a58d7ccd8f
Do not make local identities outdated (#667) 2023-11-26 11:19:18 -07:00
Humberto Rocha
b031880e41
Extract json parser to core and use in fetch_actor (#663) 2023-11-20 11:46:51 -07:00
Osma Ahvenlampi
1ceef59bec
Module-specific loggers and minor reformatting (#657) 2023-11-16 10:27:20 -07:00
Andrew Godwin
460d1d7e1c Don't prune replies to local, add docs 2023-11-12 18:32:38 -07:00
Andrew Godwin
eb0b0d775c Don't delete mentioned people 2023-11-12 18:06:29 -07:00
Andrew Godwin
74f69a3813 Add identity pruning, improve post pruning 2023-11-12 18:01:01 -07:00
Andrew Godwin
30e9b1f62d Ignore more Lemmy things 2023-11-12 12:35:11 -07:00
Andrew Godwin
95089c0c61 Ignore some messages at inbox view time 2023-11-12 12:09:09 -07:00
Andrew Godwin
d815aa53e1 Ignore lemmy-flavour likes and dislikes 2023-11-12 11:21:23 -07:00
Andrew Godwin
e6e64f1000 Don't use other server URIs in our IDs (Fixes #323) 2023-11-12 10:21:07 -07:00
Andrew Godwin
6fdfdca442 Update all the pre-commit hooks 2023-11-09 12:07:21 -07:00
Andrew Godwin
e17f17385a Add setting to keep migration off by default for now 2023-11-09 11:58:40 -07:00
Osma Ahvenlampi
039adae797
Refactoring inbox processing to smaller tasks (#647) 2023-10-26 10:01:03 -06:00
Osma Ahvenlampi
9368996a5b
use logging instead of sentry.capture_* (#646) 2023-10-23 10:33:55 -06:00
Osma Ahvenlampi
b60e807b91
Separate out timeouts from other remote server issues (#645) 2023-10-01 09:27:23 -06:00
Andrew Godwin
6c83d7b67b Fix #642: Race condition searching for unseen users 2023-09-15 10:21:33 -06:00
Andrew Godwin
1e76430f74 Don't show identity pages for remote identities 2023-09-07 21:54:42 -06:00
Osma Ahvenlampi
2a0bbf0d5d
One more try to get the fetch_account/sync_pins/post relationship and parallelism fixed (#634) 2023-08-26 15:16:14 -06:00
Henri Dickson
70b9e3b900
Support follow requests (#625) 2023-08-18 15:49:45 +09:30
TAKAHASHI Shuuji
faa181807c
Fix Accept object id for follow activity for Misskey and Firefish (#632) 2023-08-18 15:42:53 +09:30
Henri Dickson
1262c619bb
Make nodeinfo do metadata based on domain requested (#628) 2023-08-11 09:34:25 -06:00
Andrew Godwin
0c72327ab7 Fix state graph 2023-08-08 09:04:21 -06:00
Andrew Godwin
84703bbc45 Lay groundwork for moved identity state 2023-08-08 08:55:16 -06:00
TAKAHASHI Shuuji
67d755e6d3
Support to export blocks/mutes as CSV files (#626) 2023-08-07 09:16:52 -06:00
Humberto Rocha
a69499c742
Add 'domain' to the blocklist supported headers (#623) 2023-08-03 10:41:47 -06:00
Humberto Rocha
c4a2b62016
Allow updated to updated transition on Domain model (#621) 2023-07-30 11:22:35 -07:00
Humberto Rocha
f3bab95827
Add support to import blocklists (#617) 2023-07-24 17:59:50 -06:00
Andrew Godwin
4a8bdec90c Implement inbound account migration 2023-07-22 11:46:35 -06:00
Andrew Godwin
cc6355f60b Refs #613: Also block subdomains 2023-07-22 10:54:36 -06:00
Andrew Godwin
83b57a0998 Never put blocked domains into outdated either 2023-07-22 10:44:01 -06:00
Andrew Godwin
aac75dd4c3 Fixed #613: Don't pull nodeinfo from blocked servers! 2023-07-22 10:41:58 -06:00
Andrew Godwin
759d5ac052 Fixed #616: Do followers-only properly 2023-07-22 10:38:22 -06:00
Andrew Godwin
188e5a2446 Remove all remaining async code for now 2023-07-17 00:37:47 -06:00
Andrew Godwin
0915b17c4b Prune some unnecessary async usage 2023-07-17 00:18:00 -06:00
Osma Ahvenlampi
b2a9b334be
Resubmit: Be quieter about remote hosts with invalid SSL certs (#595) 2023-07-12 09:51:08 -06:00
Osma Ahvenlampi
5549d21528
Fix inbox processing errors from pinned posts and non-Mastodon servers (#596)
If a post (interaction) comes in from AP inbox but no local author profile exists,
fetch_actor will pull in both the identity AND its pinned posts, which the incoming
post might have been. This would case a database integrity violation. We check
for post existing again after syncing the actor.

Post processing also barfed on posts where content didn't follow Mastodon specs.
For example, Kbin sets tag names in 'tag' attribute, instead of 'name' attribute.
2023-07-12 09:49:30 -06:00
Osma Ahvenlampi
1cc9c16b8c
Use 400 and 401 error codes as OAuth2 documents, accept 400 as webfinger error code (#597) 2023-07-10 10:19:20 -06:00
Andrew Godwin
68eea142b1 Fix domain index issue 2023-07-10 10:11:48 -06:00
Andrew Godwin
933f6660d5 Catch all the subtypes too 2023-07-07 16:39:02 -06:00
Andrew Godwin
2fda9ad2b4 Also capture unknown message types 2023-07-07 16:33:55 -06:00
Andrew Godwin
4458594f04 Also capture JSON-LD errors 2023-07-07 16:32:57 -06:00
Andrew Godwin
c93a27e418 Capture and don't thrash on badly formatted AP messages 2023-07-07 16:29:12 -06:00
Andrew Godwin
709f2527ac Refresh identities half as frequently 2023-07-07 15:52:12 -06:00
Andrew Godwin
7f483af8d3 Rework Stator to use a next field and no async 2023-07-07 15:14:06 -06:00
Humberto Rocha
226a60bec7
Fix canonicalize (#590) 2023-06-24 08:53:42 -06:00