Repository navigation
Bans block the website, no self-ban, Mojang decides player names, case-insensitive admin names, CI - #7
Merged
Conversation
…t ban themselves A ban (website or game, on this server) blocks every page and API that needs a login, also for logins from before the ban; looking at public pages stays possible. Moderators may ban other moderators but not themselves, and cannot warn themselves (warnings can end in a ban).
…ase (schema 31) - names a plugin reports are checked: Mojang's name for its accounts (session server instead of playerdb.co), the name an offline-mode uuid is made from, otherwise only the first name - usernames and e-mail addresses of admins are unique regardless of case; login with any case; migration 31 drops clashing unverified accounts and adds the indexes (ADR 0003)
GitHub Actions runs ruff (ruff.toml: only real mistakes) and the test suite against postgres 13.
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.
Why
Follow-up decisions after the test audit (#6).
What
/verwarnen; warnings can end in a ban).ruff check(only real mistakes,ruff.toml) and the tests against postgres 13 on every PR and on main. The linter found 10 unused imports/variables in tests, removed.Tests
757 passed locally, lint clean.