| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Pagination: Use REPL style examples | 2021-04-24 | -27/+27 | |
| | | ||||
| * | Update doc in pydis_site/apps/api/pagination.py | 2021-03-07 | -0/+1 | |
| | | | | Co-authored-by: Mark <[email protected]> | |||
| * | Update pydis_site/apps/api/pagination.py | 2021-03-07 | -1/+0 | |
| | | | | Co-authored-by: Mark <[email protected]> | |||
| * | Update doc in pydis_site/apps/api/viewsets/bot/infraction.py | 2021-03-07 | -2/+2 | |
| | | | | Co-authored-by: Mark <[email protected]> | |||
| * | Update doc in pydis_site/apps/api/viewsets/bot/infraction.py | 2021-03-07 | -2/+1 | |
| | | | | Co-authored-by: Mark <[email protected]> | |||
| * | Update doc in pydis_site/apps/api/pagination.py | 2021-03-07 | -1/+1 | |
| | | | | Co-authored-by: Mark <[email protected]> | |||
| * | Update pagination docs and pagination class location | 2021-02-26 | -17/+55 | |
| | | ||||
| * | Add custom paginator class to override default resonse | 2021-02-25 | -18/+17 | |
| | | ||||
| * | Styling fixes | 2021-01-28 | -6/+12 | |
| | | ||||
| * | update paginated response in list infraction | 2021-01-28 | -3/+17 | |
| | | ||||
| * | fix: flake8 error | 2021-01-27 | -10/+4 | |
| | | ||||
| * | Apply LimitOffsetPagination in GET Infraction with default Page Size 100 | 2021-01-27 | -1/+5 | |
| | | ||||
| * | Update the README badges | 2021-01-22 | -3/+4 | |
| | | ||||
| * | Use wildcard for ALLOWED_HOSTS in debug mode | 2021-01-04 | -15/+1 | |
| | | ||||
| * | Merge pull request #441 from python-discord/precommit-pycharm | 2021-01-03 | -1/+1 | |
| |\ | ||||
| | * | Changed Python language hook to system. | 2021-01-02 | -1/+1 | |
| |/ | ||||
| * | Merge pull request #436 from ↵ | 2020-12-26 | -0/+38 | |
| |\ | | | | | | | | | python-discord/hotfix/lemon/front-page-project-sanity Stale RepositoryMetadata cleanup | |||
| | * | Merge branch 'master' into hotfix/lemon/front-page-project-sanity | 2020-12-26 | -204/+263 | |
| | |\ | |/ |/| | ||||
| * | | Merge pull request #440 from ↵ | 2020-12-21 | -8/+26 | |
| |\ \ | | | | | | | | | | python-discord/lemon/bug/too_many_github_api_requests | |||
| | * | | relax coverage requirement in home route | 2020-12-21 | -0/+1 | |
| | | | | ||||
| | * | | Make last_updated field automatically update. | 2020-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/sentry | 2020-12-21 | -185/+178 | |
| |\ \ | ||||
| | * | | Change pydis-site to site in Sentry SDK initialization | 2020-12-21 | -1/+1 | |
| | | | | ||||
| | * | | Change pydis-site to site in workflow | 2020-12-21 | -1/+1 | |
| | | | | ||||
| | * | | Fix Git SHA getting in workflow | 2020-12-20 | -1/+1 | |
| | | | | ||||
| | * | | Don't include .git in Docker container | 2020-12-20 | -0/+1 | |
| | | | | ||||
| | * | | Remove GitPython dependency | 2020-12-20 | -27/+2 | |
| | | | | ||||
| | * | | Get Git SHA from environement instead of GitPython package | 2020-12-20 | -4/+2 | |
| | | | | ||||
| | * | | Set Git SHA during build workflow | 2020-12-20 | -0/+2 | |
| | | | | ||||
| | * | | Add Git SHA consuming and putting to environment in Dockerfile | 2020-12-20 | -1/+5 | |
| | | | | ||||
| | * | | Bump Sentry SDK version from 0.14 to 0.19 | 2020-12-20 | -154/+167 | |
| |/ / | ||||
| * | | Merge pull request #438 from python-discord/metricity-temp-fix | 2020-12-19 | -8/+9 | |
| |\ \ | | | | | | | Swap Metricity verified_at for joined_at | |||
| | * | | Update verified_at fields to joined_at fields | 2020-12-19 | -7/+7 | |
| | | | | ||||
| | * | | Swap verified_at for joined_at | 2020-12-19 | -1/+2 | |
| |/ / | ||||
| * | | Add codeowner entires for ks129 | 2020-12-16 | -1/+4 | |
| | | | ||||
| * | | Merge pull request #432 from python-discord/ks123/infractions/delete-method | 2020-12-13 | -1/+45 | |
| |\ \ | | | | | | | Include DestroyModelMixin to infractions view for DELETE method | |||
| | * \ | Merge branch 'master' into ks123/infractions/delete-method | 2020-12-13 | -138/+243 | |
| | |\ \ | |/ / |/| | | ||||
| * | | | Merge pull request #437 from ↵ | 2020-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. | 2020-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. | |||
| | * | | Add tests for infraction deletion method | 2020-12-09 | -0/+30 | |
| | | | | ||||
| | * | | Include DestroyModelMixin to infractions view for DELETE method | 2020-12-05 | -1/+15 | |
| | | | | | | | | | | Added this mixin and documented this in doctoring. | |||
| | | * | Improve the RepositoryMetadata cleanup code. | 2020-12-26 | -3/+1 | |
| | | | | | | | | | | Co-authored-by: Dennis Pham <[email protected]> | |||
| | | * | Merge branch 'master' into hotfix/lemon/front-page-project-sanity | 2020-12-13 | -0/+0 | |
| | | |\ | |_|/ |/| | | ||||
| * | | | Merge pull request #435 from ↵ | 2020-12-13 | -126/+127 | |
| |\ \ \ | | | | | | | | | | | | | | | | | python-discord/hotfix/lemon/front-page-project-sanity Hotfix: Add some sanity to frontpage projects. | |||
| | | | * | Clean up stale metadata when HomeView starts. | 2020-12-13 | -0/+40 | |
| | | |/ | |/| | | | | | | | | | | | | | | | | We don't want to keep lots of old metadata for repos we no longer need to track on the frontpage. Previously, whenever we changed the frontpage line-up, we'd be left with useless, stale data in the database. This fixes that, and adds tests. | |||
| | * | | Remove pointless try/except. | 2020-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. | 2020-12-13 | -1/+8 | |
| | | | | | | | | | | | | | This should restore 100% coverage. | |||
| | * | | Fix test for HomeView. | 2020-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. | 2020-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. | 2020-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. | |||