| Commit message (Collapse) | Author | Age | Lines |
| |\
| |
| |
| |
| | |
python-discord/migrate-nominations-to-nominations-models
Migrate nominations to the new Nomination model
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before the migration to Django, we stored meta data on a nomination,
such as the `reason` and `end_reason`, in the infraction table using
"note" infractions, using a special prefix for the `reason`.
We have since decided to move nominations out of the infraction
context by creating a special `Nomination` model. However, given the
complexity of the data migration, we did not yet migrate the old
nomination data to this new model. This commit migrates that data by performing a data migration.
The data migration works as follows:
- Query all nomination data in chronological order;
- Replay all nominations and add them to the `Nomination` model;
- Delete the now obsolete `Infraction` entry.
In addition, this commit also adds a useful string representation for
`Nomination` objects.
|
| |\ \
| | |
| | | |
Add favicons; workaround for gitattributes
|
| |/ / |
|
| | |
| |
| |
| | |
used in production anyway
|
| |\ \
| | |
| | | |
Fix migrations exclude in flake8
|
| |/ /
| |
| |
| | |
They were not being excluded when flake8 was invoked via pre-commit.
|
| |\ \
| | |
| | | |
Add link to Contributing landing page to our website's navbar
|
| | | |
| | |
| | |
| | |
| | | |
This commit adds a link to the Contributing landing page to the
navbar on our website.
|
| |\ \ \
| | | |
| | | | |
Update contrib doc to point to new wiki links
|
| |/ / / |
|
| |\ \ \
| |/ /
|/| | |
Monkeypatch in new HEADER_ID_PREFIX.
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, all toc-links will have a wiki-toc prefix. This commit
removes this prefix, so that we can header link with just something
like #environment instead of #wiki-toc-environment.
This addresses #276.
https://github.com/python-discord/site/issues/267
|
| |/
|
|
|
|
| |
Previously, the create_superuser() command was called before
migrations had been completed on local setups, and this would
cause the command to crash, saying that the table did not exist.
|
| |\
| |
| | |
Migrate hidden warnings to notes and add additional validation
|
| | |\
| |/
|/| |
|
| | | |
|
| |\ \
| | |
| | | |
Custom `manage.py` Entry Point Script
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \
| | | |
| | | | |
Add static images for wiki contributing guides
|
| | | | | |
|
| |/ / / |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | | |
Ensure docker containers are published only for master branch builds.
|
| |/ / |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://github.com/python-discord/site/issues/260
This commit adds validation steps to the InfractionSerializer to make
sure that `"warning"` infractions can never be set with `hidden=True`
and note infractions can never be set with `hidden=False` usng the
API. This is the final step in decoupling "note" infractions and
"warning" infractions.
This commit implements the final part of and closes #260
|
| |/
|
|
|
|
|
|
|
|
|
|
|
| |
https://github.com/python-discord/site/issues/260
We have added a new "note" type to the Infraction model, meaning that
we can now decouple notes and warnings completely. However, notes
made prior to this change are still registered as "hidden warnings".
This commit adds a data migration that sets the type field of "hidden
warning" infractions to "note".
This commit implements the first part of #260
|
| |\
| |
| | |
Update linting dependencies & relint
|
| | |\
| |/
|/| |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
Readdressing Docker Refinement
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| |/ /
|/| | |
Add support for certain unicode characters in ot names
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | | |
CI Job Merge
Co-authored-by: null <[email protected]>
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
* Remove --branch option since it's already specified in .coveragerc
|
| | | |
| | |
| | |
| | | |
* Show missing line numbers in report
|
| | | |
| | |
| | |
| | |
| | |
| | | |
* Rename some tasks
* Simplify python commands by removing python3 -m
* Break up some long lines
|