Skip to content

[sub pr: #100] Rename classes & refactor fork token handling flow - #101

Closed
craftxbox wants to merge 14 commits into
unitystation:NewFlowChangesfrom
craftxbox:NewFlowChanges
Closed

[sub pr: #100] Rename classes & refactor fork token handling flow#101
craftxbox wants to merge 14 commits into
unitystation:NewFlowChangesfrom
craftxbox:NewFlowChanges

Conversation

@craftxbox

Copy link
Copy Markdown

Attempts to follow most of the review feedback given aswell.

Comment thread src/accounts/api/views.py Outdated
Comment thread src/accounts/models.py Outdated
"""

def has_permission(self, request, view):
auth_header = request.headers.get("Authorization")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe only a minor thing however there's reasons not to put secrets in headers other than Authorization: https://stackoverflow.com/a/43164958/3934270

Comment thread src/central_command/settings.py
@craftxbox

Copy link
Copy Markdown
Author

tested as working from Postman

corp-0 and others added 9 commits November 1, 2025 03:26
* 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
@craftxbox

Copy link
Copy Markdown
Author

Converting this to compare develop and supersede #100

@craftxbox craftxbox closed this Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants