Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add powered by linode to the footer | 2021-02-23 | -1/+9 | |
| | ||||
* | Update helper count | 2021-02-18 | -1/+1 | |
| | ||||
* | Don't change the name of the host for subdomains | 2021-02-10 | -1/+1 | |
| | | | The host is used to build reverse URLs during tests, changing it causes it to fail. | |||
* | Update hosts.py | 2021-02-10 | -1/+4 | |
| | ||||
* | Update ALLOWED_HOSTS | 2021-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) | |||
* | Use wildcard for ALLOWED_HOSTS in debug mode | 2021-01-04 | -15/+1 | |
| | ||||
* | Merge branch 'master' into hotfix/lemon/front-page-project-sanity | 2020-12-26 | -22/+82 | |
|\ | ||||
| * | 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. | |||
| * | Change pydis-site to site in Sentry SDK initialization | 2020-12-21 | -1/+1 | |
| | | ||||
| * | Get Git SHA from environement instead of GitPython package | 2020-12-20 | -4/+2 | |
| | | ||||
| * | Update verified_at fields to joined_at fields | 2020-12-19 | -6/+6 | |
| | | ||||
| * | Swap verified_at for joined_at | 2020-12-19 | -1/+2 | |
| | | ||||
| * | Merge branch 'master' into ks123/infractions/delete-method | 2020-12-13 | -129/+130 | |
| |\ | ||||
| | * | 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]> | |||
* | | | 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. | |||
* | | Add some sanity to frontpage projects. | 2020-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 variable | 2020-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_DSN | 2020-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. | |||
* | Delete Adafruit PNG file from static | 2020-11-28 | -0/+0 | |
| | ||||
* | Remove Adafruit from front-page sponsors listing | 2020-11-28 | -3/+0 | |
| | ||||
* | Change seasonalbot to sir-lancebot in test data | 2020-11-21 | -1/+1 | |
| | ||||
* | Change seasonalbot to sir-lancebot | 2020-11-21 | -1/+1 | |
| | ||||
* | Default to HTTPS for account URLs | 2020-11-15 | -0/+1 | |
| | ||||
* | Add Notion to sponsors | 2020-11-14 | -0/+3 | |
| | ||||
* | Exclude bot commands and seasonalbot commands from voice gate | 2020-11-02 | -3/+17 | |
| | ||||
* | Change format character in metricity data endpoint | 2020-10-31 | -1/+1 | |
| | ||||
* | Indent metricity block query correctly | 2020-10-30 | -9/+9 | |
| | ||||
* | Update docstring in metricity block query | 2020-10-30 | -1/+5 | |
| | ||||
* | Remove unnecessary timestamp conversion | 2020-10-27 | -5/+1 | |
| | ||||
* | Remove unnecessary f-string marker | 2020-10-27 | -1/+1 | |
| | ||||
* | Use SQL formatting instead of f-strings for injecting values | 2020-10-27 | -3/+3 | |
| | ||||
* | Constant was never used :man_facepalming: | 2020-10-27 | -2/+5 | |
| | ||||
* | Clean up SQL query | 2020-10-27 | -1/+5 | |
| | ||||
* | Update tests with new activity_blocks key | 2020-10-27 | -3/+7 | |
| | ||||
* | Update viewset to include activity_blocks response item | 2020-10-27 | -1/+4 | |
| | ||||
* | Add message block query | 2020-10-27 | -0/+24 | |
| | ||||
* | Use referral code for Linode | 2020-10-24 | -1/+1 | |
| | ||||
* | Merge branch 'master' into frontpage-100k | 2020-10-24 | -2/+116 | |
|\ | ||||
| * | Merge branch 'master' into allow-internal-dns-api | 2020-10-23 | -2/+115 | |
| |\ | ||||
| | * | Improve timeline page animation | 2020-10-22 | -2/+115 | |
| | | | | | | | | | | | | | | | | | | Instead of just leaving all elements like they are when bounce-in is done, when they leave from view, make them bounce out and hidden again to let them bounce-in again. | |||
| * | | Merge branch 'master' into allow-internal-dns-api | 2020-10-23 | -8/+33 | |
| |\| | ||||
| * | | Allow requesting API data from internal DNS | 2020-10-19 | -0/+1 | |
| | | |