Commit Graph

958 Commits

Author SHA1 Message Date
Andrew Godwin 8cc1691857 Delete remote posts after a set horizon time 2023-10-01 10:43:22 -06:00
Osma Ahvenlampi b60e807b91
Separate out timeouts from other remote server issues (#645) 2023-10-01 09:27:23 -06:00
Osma Ahvenlampi 1e8a392e57
Deal with unknown json-ld schemas (#644)
Rather than raising an error, returns an empty schema.
2023-09-20 14:58:38 -04:00
Humberto Rocha 8c832383e0
Update ld schema to support instances that implement multikey and wytchspace (#643) 2023-09-16 19:09:13 -06:00
Andrew Godwin 6c83d7b67b Fix #642: Race condition searching for unseen users 2023-09-15 10:21:33 -06:00
Andrew Godwin dd532e4425 Fix tests for profile redirect and add to notes 2023-09-07 22:06:50 -06:00
Andrew Godwin 1e76430f74 Don't show identity pages for remote identities 2023-09-07 21:54:42 -06:00
Andrew Godwin ddf24d376e Fix initial identity choices 2023-09-04 11:21:04 -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 555046ac4d
Ignore unknown tag type in incoming post, rather than raise exception (#639) 2023-08-25 16:35:57 -06:00
Henri Dickson b003af64cc
Do not print "Scheduling 0 handled" unless settings.DEBUG is on (#636) 2023-08-23 22:12:21 +10:00
Osma Ahvenlampi 671807beb8
Misc lemmy compat (#635) 2023-08-21 11:55:48 +09:30
Osma Ahvenlampi 2a50928f27
Signatures need to use UTF-8 in order to represent all URLs (#633) 2023-08-21 11:54:47 +09:30
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
TAKAHASHI Shuuji 679f0def99
Add stub API endpoint for user suggestion (api/v2/suggestions) (#631) 2023-08-17 17:41:06 +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 93dfc85cf7
Fix small syntax errors (#627) 2023-08-07 09:18:18 -06:00
TAKAHASHI Shuuji 67d755e6d3
Support to export blocks/mutes as CSV files (#626) 2023-08-07 09:16:52 -06:00
Henri Dickson 4a9109271d
Fix like/boost remote post (#629) 2023-08-07 09:15:13 -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
Henri Dickson 1b7bb8c501
Add Idempotency-Key to allowed CORS header (#618)
It's used by other web clients, so should improve compatibility.
2023-07-24 18:54:58 -06: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 1dd076ff7d Fixed #615: Nicely reject malformatted http signatures 2023-07-20 09:55:36 -06:00
Humberto Rocha d6cdcb1d83
Wait setup to complete before starting web and stator containers (#611) 2023-07-17 09:31:21 -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
Andrew Godwin 31c743319e Require hatchway 0.5.2 2023-07-15 12:43:45 -06:00
Andrew Godwin 11e3ca12d4 Start on push notification work 2023-07-15 12:37:47 -06:00
Deborah Pickett 824f5b289c
Permit SMTP to mail relay without authentication (#600) 2023-07-14 13:57:58 -06:00
Osma Ahvenlampi 2d140f2e97
remove duplicate attachment url check (#608) 2023-07-14 13:52:04 -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
Humberto Rocha 5f49f9b2bb
Add support to dismiss notifications (#605) 2023-07-11 16:37:03 -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
Humberto Rocha 91cf2f3a30
Add missing SignUp link to header (#606) 2023-07-10 10:13:57 -06:00
Andrew Godwin 68eea142b1 Fix domain index issue 2023-07-10 10:11:48 -06:00
Andrew Godwin 3f8213f54a Syncify another handler 2023-07-09 00:43:16 -06:00
Andrew Godwin 2523de4249 Prevent race condition between threads and locking 2023-07-09 00:42:56 -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