Commit graph

887 commits

Author SHA1 Message Date
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
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
Andrew Godwin
e34e4c0c77 Fixed #599: Interaction state not present on notifications 2023-07-05 07:58:54 -06:00
Humberto Rocha
542e3836af
Add endpoint to get notification by id (#594) 2023-07-04 08:06:31 -06:00
Andrew Godwin
82a9c18205 Fixed #593: Add some docs for TAKAHE_CSRF_HOSTS 2023-07-02 20:41:38 +01:00
Andrew Godwin
a8b31e9f6a Releasing 0.9 2023-06-24 11:57:56 -06:00
Andrew Godwin
d6e891426c Modify 500 error page to not need config 2023-06-24 11:56:57 -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
TAKAHASHI Shuuji
f88ad38294
Prepend invisible URL protocol prefix (#586) 2023-05-26 09:02:49 -06:00
TAKAHASHI Shuuji
2040124147
Prevent dropping ellipsis URL (#585) 2023-05-24 11:41:56 -06:00
Karthik Balakrishnan
68dc2dc9ed
Use post id to generate summary class (#583)
Removes the "expand linked CWs" feature for now.
2023-05-20 01:02:40 -06:00
Karthik Balakrishnan
568b87dadb
Customize gunicorn worker count (#578) 2023-05-19 10:31:44 -06:00
Andrew Godwin
79e1f0da14 Don't even try to progress post attachments 2023-05-15 16:59:52 -06:00
Christof Dorner
cec04e8ddb
Fixes various issues with pinned posts - continued (#581) 2023-05-15 11:36:33 -06:00
Andrew Godwin
b2768e7f2e Improve stator's performance in larger installs 2023-05-15 11:34:21 -06:00
Christof Dorner
9bc18a1190
Fixes various issues with pinned posts (#580) 2023-05-15 10:54:32 -06:00
Andrew Godwin
5297b98273 Include psql in the docker image 2023-05-13 11:38:32 -06:00
Andrew Godwin
888f4ad36c Move from index_together to indexes 2023-05-13 11:30:42 -06:00