aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Set Git SHA during build workflowGravatar ks1292020-12-20-0/+2
|
* Add Git SHA consuming and putting to environment in DockerfileGravatar ks1292020-12-20-1/+5
|
* Bump Sentry SDK version from 0.14 to 0.19Gravatar ks1292020-12-20-154/+167
|
* Merge pull request #438 from python-discord/metricity-temp-fixGravatar Joe Banks2020-12-19-8/+9
|\ | | | | Swap Metricity verified_at for joined_at
| * Update verified_at fields to joined_at fieldsGravatar Joe Banks2020-12-19-7/+7
| |
| * Swap verified_at for joined_atGravatar Joe Banks2020-12-19-1/+2
|/
* Add codeowner entires for ks129Gravatar ks1292020-12-16-1/+4
|
* Merge pull request #432 from python-discord/ks123/infractions/delete-methodGravatar Dennis Pham2020-12-13-1/+45
|\ | | | | Include DestroyModelMixin to infractions view for DELETE method
| * Merge branch 'master' into ks123/infractions/delete-methodGravatar Dennis Pham2020-12-13-138/+243
| |\ | |/ |/|
* | Merge pull request #437 from ↵Gravatar Dennis Pham2020-12-13-1/+1
|\ \ | | | | | | | | | | | | python-discord/bugfix/lemon/snekbox-not-showing-on-front-page Increase per_page to 100 for GitHub API call.
| * | Increase per_page to 100 for GitHub API call.Gravatar Leon Sandøy2020-12-13-1/+1
|/ / | | | | | | | | | | | | Snekbox was being banished to page 2 and we were not iterating pages, so it was not appearing in the data we got from our call to /repos. This commit changes the request to use `per_page=100`, which will work at least until we have >100 repos in our organisation.
* | Merge pull request #435 from ↵Gravatar Leon Sandøy2020-12-13-126/+127
|\ \ | | | | | | | | | | | | python-discord/hotfix/lemon/front-page-project-sanity Hotfix: Add some sanity to frontpage projects.
| * | Remove pointless try/except.Gravatar Leon Sandøy2020-12-13-24/+7
| | | | | | | | | | | | | | | I don't think we need to check for TypeError here, so that saves us the trouble of testing these lines to appease coverage.
| * | Add a test repo with bad types.Gravatar Leon Sandøy2020-12-13-1/+8
| | | | | | | | | | | | This should restore 100% coverage.
| * | Fix test for HomeView.Gravatar Leon Sandøy2020-12-13-7/+1
| | | | | | | | | | | | | | | Instead of building "fake repos", we're now just omitting them, so this test needs to be updated.
| * | Add even more sanity for the HomeView.Gravatar Leon Sandøy2020-12-13-72/+81
| | | | | | | | | | | | | | | | | | | | | This rewrite will ensure we always return whichever repositories we're able to resolve, and none of the others. It also shortens the code, shrinks all the try/excepts, and generally makes things a little more readable.
| * | Completely remove Projects section if no data.Gravatar Leon Sandøy2020-12-13-48/+50
| | | | | | | | | | | | | | | | | | Instead of showing an empty Projects section, we'll just omit it if we can't resolve any of our projects. Otherwise, we'll show the projects we can resolve.
| * | Add some sanity to frontpage projects.Gravatar Leon Sandøy2020-12-13-16/+22
|/ / | | | | | | | | | | If no API data is available, the front page shouldn't crash and burn. This commit will ensure the front page will just render without the projects it can't get API data for instead of crashing the whole thing.
* | Fix incorrectly specified environment variableGravatar Sebastiaan Zeeff2020-12-12-1/+1
| | | | | | | | When I changed the name of SITE_SENTRY_DSN to SITE_DSN, I accidentally left an old reference in place.
* | Change env var from SITE_SENTRY_DSN to SITE_DSNGravatar Sebastiaan Zeeff2020-12-12-1/+1
| | | | | | | | | | The name of the environment variable was shortened during our refactor of the Sentry secrets. Changed `settings.py` to reflect that change.
* | Update README to trigger redeploy.Gravatar Leon Sandøy2020-12-11-1/+1
| |
* | Make sure to always upload PR artifact Gravatar Sebastiaan Zeeff2020-12-11-1/+1
| | | | | | We need to make sure that we always upload our PR artifact, even if linting/testing fails. As GitHub Actions inserts an implicit "success" status check if you don't add any explicit status checks, this means that we have to include an "always" status check, even if this step has a condition relying on another "always" step.
* | Send an enhanced workflow status embed to discordGravatar Sebastiaan Zeeff2020-12-10-0/+100
| | | | | | | | | | | | Similar to Sir Lancebot and bot, I've added enhanced GitHub Actions status embeds to our workflow sequence. This means we get fewer embeds, but with more information!
* | Update CODEOWNERS for @Den4200Gravatar Dennis Pham2020-12-06-7/+4
| |
* | Create review-policy.ymlGravatar Joe Banks2020-12-06-0/+3
| |
* | Merge pull request #431 from python-discord/gunicorn/max-requestsGravatar Joe Banks2020-12-06-1/+5
|\ \ | | | | | | Set max-requests-jitter parameter to gunicorn
| * | Update manage.pyGravatar Joe Banks2020-12-06-1/+2
| | | | | | | | | Co-authored-by: Sebastiaan Zeeff <[email protected]>
| * | Switch underscores for dashes in gunicorn CLI optionsGravatar Joe Banks2020-12-05-2/+2
| | |
| * | Update gunicorn configuration optionsGravatar Joe Banks2020-12-05-1/+4
|/ /
| * Add tests for infraction deletion methodGravatar ks1292020-12-09-0/+30
| |
| * Include DestroyModelMixin to infractions view for DELETE methodGravatar ks1292020-12-05-1/+15
|/ | | Added this mixin and documented this in doctoring.
* Merge pull request #426 from ↵Gravatar Dennis Pham2020-11-28-41/+49
|\ | | | | | | | | python-discord/sebastiaan/backend/refactor-deployment Restructure Build & Deploy sequence in CI
| * Merge branch 'master' into sebastiaan/backend/refactor-deploymentGravatar Dennis Pham2020-11-28-3/+0
| |\ | |/ |/|
* | Merge pull request #429 from python-discord/ks129/frontpage-adafruit-removeGravatar Dennis Pham2020-11-28-3/+0
|\ \ | | | | | | Remove Adafruit from front-page sponsors listing
| * | Delete Adafruit PNG file from staticGravatar ks1292020-11-28-0/+0
| | |
| * | Remove Adafruit from front-page sponsors listingGravatar ks1292020-11-28-3/+0
|/ /
| * Merge branch 'master' into sebastiaan/backend/refactor-deploymentGravatar Dennis Pham2020-11-28-4/+11
| |\ | |/ |/|
* | Add myself to CODEOWNERS for CI filesGravatar Sebastiaan Zeeff2020-11-27-1/+1
| |
* | Add @Akarys42 to the codeownersGravatar Matteo Bertucci2020-11-27-4/+11
| |
| * Merge branch 'master' into sebastiaan/backend/refactor-deploymentGravatar Sebastiaan Zeeff2020-11-27-1/+14
| |\ | |/ |/|
* | Update CODEOWNERSGravatar Joe Banks2020-11-26-2/+5
| |
* | Specify code owernship for MarkGravatar Mark2020-11-24-0/+9
| |
* | Update CODEOWNERSGravatar Dennis Pham2020-11-24-2/+2
| |
* | Update CODEOWNERSGravatar Joe Banks2020-11-24-1/+2
| |
* | Update CODEOWNERSGravatar Joe Banks2020-11-24-1/+1
| |
| * Rename kubernetes-deployment.yaml to deploy.yamlGravatar Sebastiaan Zeeff2020-11-27-0/+0
| | | | | | | | I've renamed the file to create a more consistent naming scheme.
| * Restructure Build & Deploy sequence in CIGravatar Sebastiaan Zeeff2020-11-24-41/+49
|/ | | | | | | | | | | | | I've restructured the build & deploy sequence in our GitHub Actions CI workflow: - There's now a separate workflow to deploy to our cluster - The Build workflow has an additional `if` check to ensure we're only starting the build & deploy sequences for pushes to master - We now checkout the python-discord/kubernetes repo to fetch the deployment.yaml file located in there
* Change seasonalbot to sir-lancebot in test dataGravatar Sebastiaan Zeeff2020-11-21-1/+1
|
* Change seasonalbot to sir-lancebotGravatar Sebastiaan Zeeff2020-11-21-1/+1
|
* Start database at the beginning of the workflowGravatar Sebastiaan Zeeff2020-11-19-3/+5
| | | The CI was failing on occasion because postgres did not have time enough to start properly before we started running our makemigrations check. I've moved the docker-compose step to earlier in the workflow to give it some time to warm up.