Commit Graph

316 Commits

Author SHA1 Message Date
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
Humberto Rocha 9038e498d5
Fix identity metadata not properly propagating through AP (#589) 2023-06-22 17:09:19 -06:00
mj2p bb8f589da7
Bugfix admin redirect fixes (#587) 2023-06-14 11:15:29 -06:00
Christof Dorner cec04e8ddb
Fixes various issues with pinned posts - continued (#581) 2023-05-15 11:36:33 -06:00
Christof Dorner 9bc18a1190
Fixes various issues with pinned posts (#580) 2023-05-15 10:54:32 -06:00
Andrew Godwin 888f4ad36c Move from index_together to indexes 2023-05-13 11:30:42 -06:00
Andrew Godwin f5a3971ef8 Implement replies profile tab and boosts option 2023-05-13 11:07:57 -06:00
Andrew Godwin 1fb02b06e1 Fixed #577: Send bot property down API right 2023-05-13 06:00:48 -06:00
Christof Dorner d6c9ba0819
Pinned posts (#561) 2023-05-13 10:01:27 -06:00
Christof Dorner 744c2825d9
Show posts and boosts on an identity's profile view (#574) 2023-05-12 17:43:26 -06:00
Karthik Balakrishnan f256217d1b
Show domain setup to admins (#568)
Prompts admin users to setup domains on the identity creation
2023-05-07 23:06:10 -06:00
Christof Dorner a4e6033a0b
Ignore unknown create/update types (#569) 2023-05-04 16:56:50 -06:00
Andrew Godwin 8f57aa5f37
UI/Domains Refactor
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00
Christof Dorner e45195bb02
Handle posts with only contentMap as post instead of interaction (#549) 2023-03-23 12:27:32 -06:00
Christof Dorner 79c1be03a6
Add ability to follow hashtags 2023-03-14 15:35:40 -06:00
Dan Watson cedcc8fa7c
Bookmarks (#537) 2023-03-11 11:17:20 -07:00