-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable communication with "authorized_fetch" Mastodon servers #2613
Merged
Commits on Jan 5, 2022
-
Add signatures to requests to mastodon to support authorized fetch mode
When mastodon is in authorized fetch mode any request has to be signed or it fails with 401. This adds the needed signature to the requests made to discover the actor when receiving something from mastodon (such as a follow request)
Configuration menu - View commit details
-
Copy full SHA for 097d864 - Browse repository at this point
Copy the full SHA 097d864View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2ee3d2 - Browse repository at this point
Copy the full SHA e2ee3d2View commit details
Commits on Jan 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8cc4427 - Browse repository at this point
Copy the full SHA 8cc4427View commit details
Commits on Mar 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d2dab0f - Browse repository at this point
Copy the full SHA d2dab0fView commit details
Commits on Jul 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7eb2a82 - Browse repository at this point
Copy the full SHA 7eb2a82View commit details
Commits on Jan 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d66e2fe - Browse repository at this point
Copy the full SHA d66e2feView commit details
Commits on Jan 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9a0f8f9 - Browse repository at this point
Copy the full SHA 9a0f8f9View commit details -
deal with missing digests in signatures
If no digest value is passed to make_signature and Exception was thrown. Since digest is added to the signature headers if it is not None anyway, there is no need to assign the digest value before that check. When signing a request _as the server_ for Mastodon's AUTHORIZED_FETCH there is no need to include a digest.
Configuration menu - View commit details
-
Copy full SHA for 0c614e8 - Browse repository at this point
Copy the full SHA 0c614e8View commit details
Commits on Jan 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0da5473 - Browse repository at this point
Copy the full SHA 0da5473View commit details -
ERROR HANDLING FIXES - use raise_for_status() to pass through response code - handle exceptions where no response object is passed through INSTANCE ACTOR - models.User.objects.create_user function cannot take an ID - allow instance admins to determine username and email for instance actor in settings.py
Configuration menu - View commit details
-
Copy full SHA for 4108238 - Browse repository at this point
Copy the full SHA 4108238View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8c9df4 - Browse repository at this point
Copy the full SHA f8c9df4View commit details -
handle get_data exceptions better
Makes exception handling more precise, only raising status for 401s. Also fixes a string pylint was complaining about.
Configuration menu - View commit details
-
Copy full SHA for e845201 - Browse repository at this point
Copy the full SHA e845201View commit details -
Configuration menu - View commit details
-
Copy full SHA for 317fa5c - Browse repository at this point
Copy the full SHA 317fa5cView commit details
Commits on Jan 22, 2023
-
- when using raise_for_status we need to catch an HTTPError, not a ConnectionError - simplify instance actor - use internal email address since it will never be used anyway, and make default username less likely to already be in use.
Configuration menu - View commit details
-
Copy full SHA for 803bba7 - Browse repository at this point
Copy the full SHA 803bba7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0e1767 - Browse repository at this point
Copy the full SHA f0e1767View commit details
Commits on Jan 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8211692 - Browse repository at this point
Copy the full SHA 8211692View commit details -
I can't even tell what it thinks it did, but Black likes to complain.
Configuration menu - View commit details
-
Copy full SHA for 63dafd5 - Browse repository at this point
Copy the full SHA 63dafd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4de000 - Browse repository at this point
Copy the full SHA f4de000View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9be2f00 - Browse repository at this point
Copy the full SHA 9be2f00View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.