aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* OT: Rename variable `ext` to `other_names`Gravatar ks1292020-05-28-3/+3
|
* OT: Rename variable `need_more` to `names_needed`Gravatar ks1292020-05-28-2/+2
|
* OT: Fix commentsGravatar ks1292020-05-28-4/+4
|
* OT Tests: Add docstring to testsGravatar ks1292020-05-28-0/+15
|
* OT Tests: Refactor tests to latest changeGravatar ks1292020-05-28-14/+2
|
* OT: Refactor off-topic-names random items gettingGravatar ks1292020-05-28-30/+25
| | | | | Remove `mark_used` parameter and move this functionality to `random_items` parameter. Update docstring of class
* OT: Fix migrations nr conflictGravatar ks1292020-05-28-1/+1
|
* Merge branch 'master' into off-topic-non-randomGravatar ks1292020-05-28-2/+28
|\
| * Merge pull request #353 from python-discord/post-game-jamGravatar Leon Sandøy2020-05-12-1/+1
| |\ | | | | | | Update Game Jam from upcoming to most recent
| | * Update Game Jam from upcoming to most recentGravatar Den42002020-05-12-1/+1
| |/
| * Merge pull request #352 from ks129/news-bot-settingGravatar Joseph Banks2020-04-30-0/+26
| |\
| | * Fixed migration nr 51 `down` function object gettingGravatar ks1292020-04-21-1/+1
| | |
| | * Fixed migration 51 file end (`create_news_setting`)Gravatar ks1292020-04-21-1/+0
| | |
| | * Merge branch 'master' into news-bot-settingGravatar ks1292020-04-21-1/+1
| | |\ | | |/ | |/|
| * | Merge pull request #350 from python-discord/fix-linkGravatar Sebastiaan Zeeff2020-04-02-1/+1
| |\ \ | | | | | | | | Fix broken link to Game Jam 2020 banner
| | * | Fix broken link to Game Jam bannerGravatar kwzrd2020-04-02-1/+1
| |/ / | | | | | | | | | The asset was recently moved to a new directory.
| | * Created migration fo Python News feature on botGravatar ks1292020-04-20-0/+26
| | |
| | * Added `news` to allowed bot setting names.Gravatar ks1292020-04-20-0/+1
| |/
* | OT: Replace help text of `used` fieldGravatar ks1292020-05-28-2/+2
| | | | | | Co-authored-by: Leon Sandøy <[email protected]>
* | (Off-topic Channel Names Viewset Tests): Added test for handling running out ↵Gravatar ks1232020-03-31-0/+7
| | | | | | | | of names.
* | (Off-topic Channel Names Viewset Tests): Added test for default handling ↵Gravatar ks1232020-03-31-0/+7
| | | | | | | | `mark_used` parameter.
* | (Off-topic Channel Names Viewset Tests): Added used parameter to list tests.Gravatar ks1232020-03-31-2/+2
| |
* | (Off-topic Channel Names Viewset Tests): Added test for not authenticated ↵Gravatar ks1232020-03-31-0/+6
| | | | | | | | request.
* | (Off-topic Channel Names Viewset): Added documentation about new `mark_used` ↵Gravatar ks1232020-03-30-0/+29
| | | | | | | | query parameter, added implementation of this param.
* | (Off-topic Channel Names): Added new field to model: `used` that show is ↵Gravatar ks1232020-03-30-0/+23
|/ | | | this name already used on this round of names, added migration for this.
* Add Game Jam banner to landing pageGravatar Sebastiaan Zeeff2020-03-27-8/+4
| | | I've added the Game Jam banner to the home page and made it link the Game Jam info page.
* Add events section to menu dropdownGravatar Sebastiaan Zeeff2020-03-27-2/+8
| | | To draw attention to upcoming events, I've changed the events section of the "more" dropdown menu. It now has an events header, followed by the upcoming event, and a link to the general events page.
* Merge pull request #343 from python-discord/update-contribGravatar kwzrd2020-03-23-23/+38
|\ | | | | Update contributor doc
| * Update contributor docGravatar S. Co12020-03-20-23/+38
|/
* Merge pull request #339 from python-discord/feat/deps/o138/pre-commit-hooksGravatar Mark2020-03-10-139/+155
|\ | | | | Add more pre-commit hooks
| * CI: run pre-commit hooks in CIGravatar MarkKoz2020-03-04-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also means flake8 will output to stdout in CI now. It didn't before because it output to an XML format for publishing. Pre-commit creates its own environment in which it installs hooks. To speed up runs, the pipeline will cache this for use with future jobs. The cache will update if .pre-commit-config.yaml changes. The flake8 pre-commit hook invokes flake8 via `pipenv run flake8`. It's normally useful to use pipenv here cause it ensures flake8 is invoked within the context of the venv. However, in CI, there is no venv - dependencies are installed directly to the system site-packages. `pipenv run` does not work in such case because it tries to create a new venv if one doesn't exist (it doesn't consider the system interpreter to be a venv). This workaround (okay, it's a hack) creates an executable shell script which replaces the original pipenv binary. The shell script simply ignores the first argument (i.e. ignores `run` in `pipenv run`) and executes the rest of the arguments as a command. It essentially makes `pipenv run flake8` equivalent to just having ran `flake8`. When pre-commit executes pipenv, the aforementioned script is what will run.
| * Add more pre-commit hooksGravatar MarkKoz2020-03-04-35/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hooks added: * check-merge-conflict - checks for files with merge conflict strings * check-toml - attempts to load all toml files to verify syntax * check-yaml - attempts to load all yaml files to verify syntax * end-of-file-fixer - ensures files end in a newline and only a newline * mixed-line-ending - replaces mixed line endings with LF * trailing-whitespace - trims trailing whitespace * python-check-blanket-noqa - enforces that noqa annotations always occur with specific codes Changes made to comply with new hooks: * Remove trailing whitespaces * Remove some useless noqa annotations * Specify errors for noqa annotations * Add missing newlines at end of files See: python-discord/organisation#138
| * Update dev dependenciesGravatar MarkKoz2020-03-04-102/+87
|/
* Merge pull request #304 from ↵Gravatar Eivind Teig2020-03-01-10/+53
|\ | | | | | | | | python-discord/deleted-messages-visible-line-endings Make newlines visible in deleted messages
| * Merge branch 'master' into deleted-messages-visible-line-endingsGravatar Sebastiaan Zeeff2020-03-01-193/+537
| |\ | |/ |/|
* | Merge pull request #337 from python-discord/feat/deps/s335/wiki-pypiGravatar Leon Sandøy2020-03-01-19/+26
|\ \ | | | | | | Install wiki from PyPI
| * \ Merge branch 'master' into feat/deps/s335/wiki-pypiGravatar Leon Sandøy2020-03-01-0/+1
| |\ \ | |/ / |/| |
* | | Merge pull request #330 from python-discord/bug/backend/s329/docker-compose-ttyGravatar scragly2020-02-28-0/+1
|\ \ \ | | | | | | | | Fix missing logs when using Docker Compose
| * \ \ Merge branch 'master' into bug/backend/s329/docker-compose-ttyGravatar scragly2020-02-28-141/+179
| |\ \ \ | |/ / / |/| | |
| * | | Fix #329 missing manage.py & Django logsGravatar MarkKoz2020-02-16-0/+1
| | | | | | | | | | | | | | | | Fixed by allocating a pseudo-tty to the web service in Docker Compose.
| | * | Install wiki from PyPIGravatar MarkKoz2020-02-23-19/+26
| |/ / |/| |
* | | Merge pull request #333 from python-discord/add-sentry-sdkGravatar Joseph2020-02-21-136/+167
|\ \ \ | | | | | | | | Implement Sentry SDK
| * \ \ Merge branch 'master' into add-sentry-sdkGravatar Joseph2020-02-21-0/+3
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #332 from python-discord/add-sentryGravatar Mark2020-02-20-0/+3
|\ \ \ \ | | | | | | | | | | Add sentry logo to sponsors
| * | | | Pad logos so they horizontally alignGravatar Joseph Banks2020-02-20-0/+0
| | | | |
| * | | | Add sentry logo to sponsorsGravatar Joseph Banks2020-02-20-0/+3
|/ / / /
| * | | Add sentry SDK init to settings.pyGravatar Joseph Banks2020-02-21-1/+11
| | | |
| * | | Add sentry_sdk dependencyGravatar Joseph Banks2020-02-21-135/+156
|/ / /
* | | Change MEDIA_ROOT to /site/mediaGravatar scragly2020-02-17-1/+1
| | |
* | | Switch the code jam banner for the stream.Gravatar Leon Sandøy2020-02-16-4/+8
|/ / | | | | | | | | With the code jam over, we don't want a code jam banner on our front page. This commit replaces it with the Code Jam Judge Stream.