aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Change pydis-site to site in Sentry SDK initializationGravatar ks1292020-12-21-1/+1
|
* Get Git SHA from environement instead of GitPython packageGravatar ks1292020-12-20-4/+2
|
* Update verified_at fields to joined_at fieldsGravatar Joe Banks2020-12-19-6/+6
|
* Swap verified_at for joined_atGravatar Joe Banks2020-12-19-1/+2
|
* Merge branch 'master' into ks123/infractions/delete-methodGravatar Dennis Pham2020-12-13-129/+130
|\
| * 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.
| * 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.
* | 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.
* Delete Adafruit PNG file from staticGravatar ks1292020-11-28-0/+0
|
* Remove Adafruit from front-page sponsors listingGravatar ks1292020-11-28-3/+0
|
* 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
|
* Default to HTTPS for account URLsGravatar Joe Banks2020-11-15-0/+1
|
* Add Notion to sponsorsGravatar Joe Banks2020-11-14-0/+3
|
* Exclude bot commands and seasonalbot commands from voice gateGravatar Joe Banks2020-11-02-3/+17
|
* Change format character in metricity data endpointGravatar Joe Banks2020-10-31-1/+1
|
* Indent metricity block query correctlyGravatar Joe Banks2020-10-30-9/+9
|
* Update docstring in metricity block queryGravatar Joe Banks2020-10-30-1/+5
|
* Remove unnecessary timestamp conversionGravatar Joe Banks2020-10-27-5/+1
|
* Remove unnecessary f-string markerGravatar Joe Banks2020-10-27-1/+1
|
* Use SQL formatting instead of f-strings for injecting valuesGravatar Joe Banks2020-10-27-3/+3
|
* Constant was never used :man_facepalming:Gravatar Joe Banks2020-10-27-2/+5
|
* Clean up SQL queryGravatar Joe Banks2020-10-27-1/+5
|
* Update tests with new activity_blocks keyGravatar Joe Banks2020-10-27-3/+7
|
* Update viewset to include activity_blocks response itemGravatar Joe Banks2020-10-27-1/+4
|
* Add message block queryGravatar Joe Banks2020-10-27-0/+24
|
* Use referral code for LinodeGravatar Joe Banks2020-10-24-1/+1
|
* Merge branch 'master' into frontpage-100kGravatar Joe Banks2020-10-24-2/+116
|\
| * Merge branch 'master' into allow-internal-dns-apiGravatar Joe Banks2020-10-23-2/+115
| |\
| | * Improve timeline page animationGravatar ks1292020-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-apiGravatar Joe Banks2020-10-23-8/+33
| |\|
| * | Allow requesting API data from internal DNSGravatar scragly2020-10-19-0/+1
| | |
* | | Remove blurple peek on Discord CTA, convert text to obj.Gravatar scragly2020-10-25-11/+33
| | |
* | | Use local img for welcome video thumbnail.Gravatar scragly2020-10-25-1/+1
| | |
* | | Change discord nav item to distinct CTA button.Gravatar scragly2020-10-25-103/+185
| | |
* | | Fix video aspect in timeline, quote img src urls.Gravatar scragly2020-10-23-26/+12
| | | | | | | | | | | | | | | | | | After updating the frontpage and creating an fixed-aspect-ratio style pair, I found I could just reuse them in the timeline to fix the inconsistent responsive aspect ratio that was occurring there. Some img src values also were not quoted; while this can work fine, it can break if the url has spaces or certain characters and is inconsistent with the rest of the project.
* | | Use sections, remove unused CSS, improve repo cards.Gravatar scragly2020-10-23-175/+255
| | |
* | | Change discord img-based link to normal nav item.Gravatar scragly2020-10-23-14/+15
| | |
* | | Override notice bottom margin, use new class instead of bulma class.Gravatar scragly2020-10-22-2/+3
| | |
* | | Add a message section to replace hero section for mobiles.Gravatar scragly2020-10-22-1/+17
| | |
* | | Use local svgs for wave elements.Gravatar scragly2020-10-22-2/+152
| | |
* | | Merge branch 'master' into frontpage-100kGravatar scragly2020-10-22-2/+2
|\ \ \ | | |/ | |/|