aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Replace double quotes with single quotesGravatar ks1292021-03-05-1/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Fix grammar of nomination endpoints documentationGravatar ks1292021-03-05-5/+5
| | | | Co-authored-by: Leon Sandøy <[email protected]> Co-authored-by: Joe Banks <[email protected]>
* Add comment about manually defining nomination field of NominationEntry ↵Gravatar ks1292021-02-24-0/+3
| | | | serializer
* Make default value of nomination entry reason to empty stringGravatar ks1292021-02-24-2/+2
| | | | For string fields NULL as default is not suggested, so use empty string instead.
* Remove GET nomination test for entriesGravatar ks1292021-02-24-26/+0
| | | | Entries isn't handled manually anymore so these tests have no point.
* Simplify nominations viewsetGravatar ks1292021-02-24-48/+3
| | | | | | | After moving entries to nomination serializer we can get rid from GET request handlers and let DRF handle this. Also PATCH and POST handlers got some simplification by removing manual entries setting.
* Add entries field to Nomination serializerGravatar ks1292021-02-24-1/+3
| | | | | | After setting related_name in NominationEntry model nomination field, we can just provide serializer and DRF automatically fetch all related entries.
* Merge nomination migrationsGravatar ks1292021-02-24-18/+3
| | | | | This doesn't make sense to have 3 small migrations for one PR, so I merged 2 existing migrations and 1 new, ordering and related_name adding migrations to one.
* Set default ordering of NominationEntry to inserted_at decreasingGravatar ks1292021-02-24-0/+4
| | | | | Set it here so we don't have to set it every place where we fetch entries.
* Set related_name option of nomination field of NominationEntryGravatar ks1292021-02-24-1/+2
| | | | | | In order to use entries in serializer without manually setting entries key we have to use related_name option to automatically fetch all related entries.
* Update nomination-related tests to cover recent table-splitting changesGravatar ks1292021-02-22-21/+139
|
* Small improvements in nomination viewsetGravatar ks1292021-02-22-31/+31
|
* Change NominationEntry import location in serializersGravatar ks1292021-02-22-1/+1
|
* Import NominationEntry to models __init__.pyGravatar ks1292021-02-22-1/+2
|
* Wrap validation errors to []Gravatar ks1292021-02-22-5/+5
|
* Add rollback to nominations table split migrationGravatar ks1292021-02-22-1/+14
|
* Disable creating multiple nomination entries of one nomination for one actorGravatar ks1292021-02-22-0/+10
|
* Migrate PATCH request for 2-table nominations systemGravatar ks1292021-02-22-10/+60
|
* Add reviewed field to nomination serializerGravatar ks1292021-02-22-1/+1
|
* Update nominations viewset GET and POST to make this working with 2-table systemGravatar ks1292021-02-22-23/+96
|
* Change nominations serializer and add nomination entry serializerGravatar ks1292021-02-22-2/+18
|
* Change nominations admin interface and add nomination entries interfaceGravatar ks1292021-02-22-13/+67
|
* Split nomination model to 2 tables and create migrationsGravatar ks1292021-02-22-12/+112
|
* Update helper countGravatar Matteo Bertucci2021-02-18-1/+1
|
* Don't change the name of the host for subdomainsGravatar Joe Banks2021-02-10-1/+1
| | | The host is used to build reverse URLs during tests, changing it causes it to fail.
* Update hosts.pyGravatar Joe Banks2021-02-10-1/+4
|
* Update ALLOWED_HOSTSGravatar Joe Banks2021-02-10-5/+1
| | | Add internal domain for API routing and remove legacy routes for pydis.com domains (which are now redirected at the edge)
* Update the README badgesGravatar Matteo Bertucci2021-01-22-3/+4
|
* Use wildcard for ALLOWED_HOSTS in debug modeGravatar Mark2021-01-04-15/+1
|
* Merge pull request #441 from python-discord/precommit-pycharmGravatar Joe Banks2021-01-03-1/+1
|\
| * Changed Python language hook to system.Gravatar xithrius2021-01-02-1/+1
|/
* Merge pull request #436 from ↵Gravatar Dennis Pham2020-12-26-0/+38
|\ | | | | | | | | python-discord/hotfix/lemon/front-page-project-sanity Stale RepositoryMetadata cleanup
| * Merge branch 'master' into hotfix/lemon/front-page-project-sanityGravatar Dennis Pham2020-12-26-204/+263
| |\ | |/ |/|
* | Merge pull request #440 from ↵Gravatar Joe Banks2020-12-21-8/+26
|\ \ | | | | | | | | | python-discord/lemon/bug/too_many_github_api_requests
| * | relax coverage requirement in home routeGravatar Joe Banks2020-12-21-0/+1
| | |
| * | Make last_updated field automatically update.Gravatar Leon Sandøy2020-12-22-8/+25
|/ / | | | | | | | | | | | | | | | | | | | | | | Previously, we were operating under a bad assumption that we would be updating the last_updated field in the RepositoryMetadata objects whenever we updated the objects with new data from the GitHub API. Upon closer inspection, this is not at all what we're doing, and some of those repository objects had not been updated in over a year! This introduces `auto_now` to the field, which will ensure that it is automatically updated whenever the object is updated.
* | Merge pull request #439 from python-discord/ks123/sentryGravatar Joe Banks2020-12-21-185/+178
|\ \
| * | Change pydis-site to site in Sentry SDK initializationGravatar ks1292020-12-21-1/+1
| | |
| * | Change pydis-site to site in workflowGravatar ks1292020-12-21-1/+1
| | |
| * | Fix Git SHA getting in workflowGravatar ks1292020-12-20-1/+1
| | |
| * | Don't include .git in Docker containerGravatar ks1292020-12-20-0/+1
| | |
| * | Remove GitPython dependencyGravatar ks1292020-12-20-27/+2
| | |
| * | Get Git SHA from environement instead of GitPython packageGravatar ks1292020-12-20-4/+2
| | |
| * | 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
| |