aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Add missing deleted messages migration file.Gravatar Sebastiaan Zeeff2019-09-12-0/+17
| | | | | | A change has been committed to the deleted messages model, namely a default ordering, but it was not reflected in a migration. This commit amends that oversight.
* Merge pull request #241 from python-discord/fix-flake8-docstringsGravatar S. Co12019-09-06-12/+14
|\ | | | | Fix misconfigured flake8 so docstrings are properly linted
| * Fix misconfigured flake8 so docstrings are properly lintedGravatar S. Co12019-09-05-12/+14
| | | | | | Relint
* | Merge pull request #238 from python-discord/django-deleted-messages-frontendGravatar Leon Sandøy2019-09-06-7/+675
|\ \ | |/ |/| Deleted Messages Front-End
| * Applying PR Feedback: Colour constants for readability & absolute importGravatar Sebastiaan Zeeff2019-09-01-6/+18
| |
| * Removing incorrect double newline between imports and PEP8-ing committed GH ↵Gravatar Sebastiaan Zeeff2019-08-24-2/+3
| | | | | | | | code suggestion
| * Apply suggestions from code reviewGravatar Sebastiaan Zeeff2019-08-24-3/+2
| | | | | | Co-Authored-By: Johannes Christ <[email protected]>
| * Changing LogView to DetailView, as per Volcy's reviewGravatar Sebastiaan Zeeff2019-08-24-30/+8
| |
| * Adding staff app to .coveragerc and .dockerignore + updating app locations ↵Gravatar Sebastiaan Zeeff2019-08-23-4/+7
| | | | | | | | in dockerignore
| * Fixing inconsistent indentation style in logs template and logs cssGravatar Sebastiaan Zeeff2019-08-23-138/+143
| |
| * Adding tests for deleted message viewGravatar Sebastiaan Zeeff2019-08-23-2/+98
| | | | | | | | | | | | | | Tests include: - Properly escaping html; - Correct messages have been passed to templates; - Embeds are both rendered by the template.
| * Adding tests for filters and the deleted message front-end viewGravatar Sebastiaan Zeeff2019-08-23-0/+85
| |
| * Adding required fields validator and tests to embed fieldsGravatar Sebastiaan Zeeff2019-08-23-2/+42
| |
| * Adding missing 'inline' parameter to embed fields attribute validatorGravatar Sebastiaan Zeeff2019-08-23-1/+9
| |
| * Making the deleted-messages-frontend functional with changes, including:Gravatar Sebastiaan Zeeff2019-08-23-10/+346
| | | | | | | | | | | | | | | | | | - Adding support for embeds to both the template and the css; - Adding Discord fonts to create a Discord-realistic rendering; - Adding Discord color int to html hex filter for use in templates; - Removing unnecessary int -> hex property from role model (see previous point); - Adding support to compute timestamp from snowflake int in the message model; - Forcing the order of deleted messages list view to snowflake `id` to guarantee chronological order.
| * Adding message display to frontendGravatar Sebastiaan Zeeff2019-08-23-10/+61
| |
| * Adding initial staff app to DjangoGravatar Sebastiaan Zeeff2019-08-23-0/+54
| |
* | Merge pull request #240 from python-discord/update-contribGravatar Chris Goes2019-09-03-107/+122
|\ \ | | | | | | Update contrib doc for allowing edits from maintainers
| * | Remove pydocstyle pinning now that flake8-docstrings is fixedGravatar S. Co12019-09-03-94/+111
| | | | | | | | | Relock
| * | Use pipenv lint script for pre-commit hookGravatar S. Co12019-09-03-13/+8
| | |
| * | Update contrib doc for allowing edits from maintainersGravatar S. Co12019-09-03-0/+3
|/ /
* / Allow special characters in off topic names.Gravatar Johannes Christ2019-09-03-1/+22
|/
* Merge pull request #236 from python-discord/django-roles-api-add-positionGravatar Leon Sandøy2019-08-23-10/+321
|\ | | | | Add position field to Role model
| * Making the comparison operators for Role act like those for d.py Role objectsGravatar Sebastiaan Zeeff2019-08-23-8/+49
| |
| * First adding default value, then removing it to make it required.Gravatar Sebastiaan Zeeff2019-08-22-1/+6
| |
| * Removing default value for 'position' field of Role modelGravatar Sebastiaan Zeeff2019-08-22-2/+1
| |
| * Fixing top_role bug for users without roles & adding appropriate testGravatar Sebastiaan Zeeff2019-08-22-25/+58
| |
| * Making User.top_role test only query onceGravatar Sebastiaan Zeeff2019-08-15-2/+3
| |
| * Adding missing docstring in public methodGravatar Sebastiaan Zeeff2019-08-15-0/+1
| |
| * Adding position, role hierarchy comparisons to Role model; top_role to User ↵Gravatar Sebastiaan Zeeff2019-08-15-8/+239
| | | | | | | | model
* | Properly handle `actor` via `PrimaryKeyRelatedField`.Gravatar Johannes Christ2019-08-17-2/+37
|/
* Merge pull request #235 from python-discord/ouroboros-logging-handlerGravatar Johannes Christ2019-08-14-1/+53
|\ | | | | log everything into the database in addition to stdout
| * Use different field values.Gravatar Johannes Christ2019-08-14-2/+2
| |
| * Avoid hardcoding module name.Gravatar Johannes Christ2019-08-14-3/+4
| |
| * Apply Mark's suggestions. Gravatar Johannes Christ2019-08-14-3/+3
| | | | | | | | | | how to logging Co-Authored-By: Mark <[email protected]>
| * Add a test case.Gravatar Johannes Christ2019-08-14-0/+26
| |
| * Add a database logging handler.Gravatar Johannes Christ2019-08-14-1/+26
|/
* Merge pull request #229 from python-discord/low-hanging-merge-fruitGravatar Johannes Christ2019-07-21-528/+233
|\ | | | | Minor Merges from master
| * Update pre-commit config to ignore migrations directoryGravatar sco12019-07-19-0/+1
| | | | | | flake8 precommit hook does not respect .flake8 exclusions
| * Attempt a merge migrationGravatar sco12019-07-19-0/+14
| |
| * Merge branch 'django' into low-hanging-merge-fruitGravatar sco12019-07-19-39/+715
| |\ | |/ |/|
* | Merge pull request #220 from python-discord/django-api-bot-nomination-changesGravatar Leon Sandøy2019-07-12-43/+716
|\ \ | | | | | | Changing the way nominations work in the backend
| * | Changing logic so an end_reason can never be specified when updating an ↵Gravatar SebastiaanZ2019-07-12-1/+1
| | | | | | | | | | | | active nomination
| * | Apply suggestions from code reviewGravatar Sebastiaan Zeeff2019-07-04-2/+2
| | | | | | | | | Co-Authored-By: Mark <[email protected]>
| * | Move end nomination operation to PATCH endpointGravatar SebastiaanZ2019-07-03-81/+79
| | |
| * | Removing unused importGravatar SebastiaanZ2019-06-28-1/+0
| | |
| * | Nomination API: Changing 'unwatched_at' to 'ended_at'Gravatar SebastiaanZ2019-06-28-13/+36
| | |
| * | Moving end nomination to PUT method and removing separate end pointGravatar SebastiaanZ2019-06-28-104/+42
| | |
| * | Changing tests back to 'end' endpoint and adding two tests to test filteringGravatar SebastiaanZ2019-05-03-9/+39
| | |
| * | Merge branch 'django-api-bot-nomination-changes' of ↵Gravatar SebastiaanZ2019-05-03-1/+1
| |\ \ | | | | | | | | | | | | github.com:python-discord/site into django-api-bot-nomination-changes