[sub pr: #100] Rename classes & refactor fork token handling flow - #101
Closed
craftxbox wants to merge 14 commits into
Closed
[sub pr: #100] Rename classes & refactor fork token handling flow#101craftxbox wants to merge 14 commits into
craftxbox wants to merge 14 commits into
Conversation
corp-0
reviewed
Aug 11, 2025
corp-0
reviewed
Aug 11, 2025
corp-0
reviewed
Aug 11, 2025
| """ | ||
|
|
||
| def has_permission(self, request, view): | ||
| auth_header = request.headers.get("Authorization") |
Member
There was a problem hiding this comment.
I imagine you didn't like the X-Character-Token header. I think it was good to keep them separated and so we always know what we are talking about
Author
There was a problem hiding this comment.
Maybe only a minor thing however there's reasons not to put secrets in headers other than Authorization: https://stackoverflow.com/a/43164958/3934270
corp-0
reviewed
Aug 11, 2025
…s not exist on a request
Author
|
tested as working from Postman |
* fix: run pre-commit checks from inside uv venv * feat: ported current serverlist logic to cc * feat: include rate limiting to avoid being taken down by funny users * chore: baby serverlist migrations * feat: add API tests for BabyServer and update permissions for ListBabyServersView * feat: improved test coverage
…on#103) (cherry picked from commit 367671922deb9a77ed554bf93b5b28945ca25661)
* feat: update django and all deps * feat: add unit test for mail sending feature
Author
|
Converting this to compare develop and supersede #100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Attempts to follow most of the review feedback given aswell.