Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
| * | | | | Line Ending Fix | 2019-09-20 | -1/+5 | ||
|/ / / / | | | | | | | | | | | | | | | | | | | | | Added .gitattributes to prevent Windows users from accidentally cloning the repo and getting incorrect line endings Also adjusting the shebang for the migrate_and_serve.sh to prevent another Windows related bug | ||||
| * | | | Use DockerV2 task. | 2019-09-20 | -14/+9 | ||
| | | | | |||||
| * | | | Remove EXTRAS ARG as pip extras isn't used anymore. | 2019-09-20 | -2/+0 | ||
| | | | | |||||
| * | | | Add PIP and PIPENV Environmental Variables to production Dockerfile | 2019-09-18 | -0/+4 | ||
| | | | | |||||
| * | | | Add PIP and PIPENV Environmental Variables | 2019-09-18 | -0/+4 | ||
| | | | | |||||
| * | | | Refine Dockerfiles | 2019-09-18 | -84/+31 | ||
| | | | | |||||
| | * | | Make API return infraction list with newest first | 2019-09-17 | -2/+25 | ||
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The most recent infraction a user has is usually the most relevant to us. This PR aims to make our life easier by sorting the infractions by their `inserted_at` date, with the most recent insertion date first. Note: The `id` is not entirely in chronological order, because we did not import historical infractions in chronological order. That's why the `inserted_at` field is specified instead of the `id` field. | ||||
| | * | Apply suggestions from code review | 2019-09-24 | -3/+3 | ||
| | | | | | | | | | Co-Authored-By: Mark <[email protected]> | ||||
| | * | Apply suggestions from code review | 2019-09-22 | -2/+2 | ||
| | | | | | | | | | | | | Co-Authored-By: Mark <[email protected]> Co-Authored-By: Sebastiaan Zeeff <[email protected]> | ||||
| | * | Add manage.py to linting ignore | 2019-09-18 | -1/+1 | ||
| | | | | | | | | | | | | Synchronize output of `pipenv run lint` and `python -m flake8` for the current project structure | ||||
| | * | Lint remaining files | 2019-09-18 | -15/+19 | ||
| | | | |||||
| | * | Update linting rules & partially relint | 2019-09-18 | -52/+58 | ||
| | | | |||||
| | * | Update dependencies & relock | 2019-09-18 | -43/+52 | ||
| |/ |/| | |||||
* | | Nuke `pysite.dockerapp`. | 2019-09-18 | -42/+0 | ||
|/ | |||||
* | Add test cases for `TypeError` fallbacks. | 2019-09-16 | -0/+33 | ||
| | |||||
* | Fix a bug where GitHub API rate limit could crash Home. | 2019-09-15 | -17/+34 | ||
| | | | | | | | | | | | The bug was caused by a naive approach to caching and retrieving the data. This commit rectifies this by making the following changes: - We will now cache for 1 hour instead of 10 minutes - If the data is stale but API is rate limited, return cache, not crash. - If the cache doesn't exist and API is rate limited, return dummy data, and try again in 10 minutes. This will prevent all crashes, and should still have more or less the same user experience. | ||||
* | PARENT_HOST is now pythondiscord.com | 2019-09-15 | -1/+1 | ||
| | |||||
* | Remove wiki, add pydis. | 2019-09-15 | -2/+4 | ||
| | |||||
* | Darcula theme, and vanilla hosts. | 2019-09-15 | -2/+93 | ||
| | |||||
* | Changing the ALLOWED_HOSTS to allow for migration. | 2019-09-15 | -2/+2 | ||
| | | | | | | Adding django.pythondiscord.com and django.api.pythondiscord.com to ALLOWED_HOSTS to allow us to run Djangoify and migrate the infraction data. | ||||
* | Update `ALLOWED_HOSTS` for the new home. | 2019-09-15 | -3/+2 | ||
| | |||||
* | Drop args to reduce line size under 100. | 2019-09-15 | -1/+3 | ||
| | |||||
* | Tag Django images as `latest`. | 2019-09-15 | -2/+2 | ||
| | |||||
* | Adding a pygments CSS for syntax highlighting. | 2019-09-15 | -1/+75 | ||
| | | | | | | | | This adds the Monokai, Friendly, and Darcula themes to this repo. It leaves Darcula as the active theme. This can very easily be changed later on by altering wiki/base.html Resolves #243. | ||||
* | Adding the UpdateModelMixin to the ReminderViewSet. | 2019-09-14 | -2/+3 | ||
| | | | | | | This will allow us to edit durations using the PATCH method, which the bot implements already but which was overlooked when this viewset was written. | ||||
* | Check for missing migrations in CI. | 2019-09-12 | -0/+1 | ||
| | |||||
* | Merge pull request #242 from python-discord/django-add-missing-migrations-file | 2019-09-12 | -0/+17 | ||
|\ | | | | | Add missing migrations file for the deleted messages model | ||||
| * | Add missing deleted messages migration file. | 2019-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-docstrings | 2019-09-06 | -12/+14 | ||
|\ | | | | | Fix misconfigured flake8 so docstrings are properly linted | ||||
| * | Fix misconfigured flake8 so docstrings are properly linted | 2019-09-05 | -12/+14 | ||
| | | | | | | Relint | ||||
* | | Merge pull request #238 from python-discord/django-deleted-messages-frontend | 2019-09-06 | -7/+675 | ||
|\ \ | |/ |/| | Deleted Messages Front-End | ||||
| * | Applying PR Feedback: Colour constants for readability & absolute import | 2019-09-01 | -6/+18 | ||
| | | |||||
| * | Removing incorrect double newline between imports and PEP8-ing committed GH ↵ | 2019-08-24 | -2/+3 | ||
| | | | | | | | | code suggestion | ||||
| * | Apply suggestions from code review | 2019-08-24 | -3/+2 | ||
| | | | | | | Co-Authored-By: Johannes Christ <[email protected]> | ||||
| * | Changing LogView to DetailView, as per Volcy's review | 2019-08-24 | -30/+8 | ||
| | | |||||
| * | Adding staff app to .coveragerc and .dockerignore + updating app locations ↵ | 2019-08-23 | -4/+7 | ||
| | | | | | | | | in dockerignore | ||||
| * | Fixing inconsistent indentation style in logs template and logs css | 2019-08-23 | -138/+143 | ||
| | | |||||
| * | Adding tests for deleted message view | 2019-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 view | 2019-08-23 | -0/+85 | ||
| | | |||||
| * | Adding required fields validator and tests to embed fields | 2019-08-23 | -2/+42 | ||
| | | |||||
| * | Adding missing 'inline' parameter to embed fields attribute validator | 2019-08-23 | -1/+9 | ||
| | | |||||
| * | Making the deleted-messages-frontend functional with changes, including: | 2019-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 frontend | 2019-08-23 | -10/+61 | ||
| | | |||||
| * | Adding initial staff app to Django | 2019-08-23 | -0/+54 | ||
| | | |||||
* | | Merge pull request #240 from python-discord/update-contrib | 2019-09-03 | -107/+122 | ||
|\ \ | | | | | | | Update contrib doc for allowing edits from maintainers | ||||
| * | | Remove pydocstyle pinning now that flake8-docstrings is fixed | 2019-09-03 | -94/+111 | ||
| | | | | | | | | | Relock | ||||
| * | | Use pipenv lint script for pre-commit hook | 2019-09-03 | -13/+8 | ||
| | | | |||||
| * | | Update contrib doc for allowing edits from maintainers | 2019-09-03 | -0/+3 | ||
|/ / | |||||
* / | Allow special characters in off topic names. | 2019-09-03 | -1/+22 | ||
|/ | |||||
* | Merge pull request #236 from python-discord/django-roles-api-add-position | 2019-08-23 | -10/+321 | ||
|\ | | | | | Add position field to Role model |