aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Switches HTTP Links To HTTPSGravatar Hassan Abouelela2021-10-06-13/+13
| | | | | | | Switches the protocol for external sites where possible. Some sites don't have secure versions, and were skipped. Signed-off-by: Hassan Abouelela <[email protected]>
* Merge pull request #595 from python-discord/add-more-supported-symbols-to-otnGravatar Matteo Bertucci2021-09-28-1/+20
|\ | | | | Add LT and GT to supported otn chars
| * Add LT and GT to supported otn charsGravatar Chris Lovering2021-09-27-1/+20
|/
* Merge pull request #590 from python-discord/cj-wrapupGravatar ChrisJL2021-09-24-85/+89
|\ | | | | Code Jam Wrap Up
| * Merge branch 'main' into cj-wrapupGravatar ChrisJL2021-09-24-114/+152
| |\ | |/ |/|
* | Merge pull request #592 from python-discord/Relock-poetryGravatar Matteo Bertucci2021-09-22-114/+152
|\ \ | | | | | | Relock poetry
| * | Rename an error to have a correct error suffixGravatar Chris Lovering2021-09-22-13/+13
| | |
| * | Pin psycopg version and re-lockGravatar Chris Lovering2021-09-22-101/+139
|/ / | | | | | | | | | | For some reason the lock file was out of date, which caused issues when trying to poetry install on Windows without build tools. psycopg had to be pinned to ~=2.8.0 as 2.9 introduces an issue with us not setting the db connection to UTC
| * Correct typos and spacingGravatar Janine vN2021-09-19-16/+20
| | | | | | | | | | | | | | You would think I would be able to spell GitHub correctly at this point. I've fixed the typos on this page and altered some of the spacing to provide something nicer to glance over.
| * Change external links to "_blank" and "noopener"Gravatar Janine vN2021-09-19-17/+17
| | | | | | | | | | | | | | | | This changes external links to open in a new tab. It also adds `rel="noopener"` for some bonus security and performance gains. This commit only effects files that are within the scope of this PR. It does not do this against other pages.
| * Use the correct theme and update image linkGravatar Janine vN2021-09-18-3/+3
| | | | | | | | | | | | | | I now mention the correct theme which is "Think Inside the Box" Additionally, this corrects the link to the icon for Advent of Code. It was using an old link which is no longer correct.
| * Remove ongoing-codejam from cj pageGravatar Janine vN2021-09-18-1/+0
| | | | | | | | | | Removes the sidebar block for ongoing code jams from the main code jam events page.
| * Update Code Jam 8 as a finished eventGravatar Janine vN2021-09-18-6/+47
| | | | | | | | | | | | This commit adds in the information about the winners of the code jam. Additionally, it adds in Code Jam 8 as a prior event in the sidebar.
| * Update events featuredGravatar Janine vN2021-09-18-48/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | Re-ordered and updated the events listed on the main events page. We're no longer participating in Hacktoberfest, so that was removed. Game jams was moved to the bottom as we have not hosted one and will not for the forseeable future. PyWeek was moved above Advent of Code because AoC is one of the last events we do in the year so it didn't make sense to have PyWeek below it. This also updated the Events Calendar on the sidebar to be accurate for 2021.
| * Update wording on main Events pageGravatar Janine vN2021-09-18-6/+2
| |
| * Remove code jam notice from front pageGravatar Janine vN2021-09-18-16/+2
|/
* Merge pull request #588 from python-discord/revert-metricity-init-changesGravatar ChrisJL2021-09-17-137/+35
|\ | | | | Revert metricity init changes
| * Move psql health check to docker compose fileGravatar Chris Lovering2021-09-17-53/+7
| |
| * Init metricity using docker-compose init volumeGravatar Chris Lovering2021-09-17-84/+28
|/
* Merge pull request #589 from python-discord/jb3/repos-updateGravatar Joe Banks2021-09-12-2/+2
|\
| * Update mock GitHub API responseGravatar Joe Banks2021-09-10-1/+1
| | | | | | | | Fixes breaking tests
| * Update repository selection on home pageGravatar Joe Banks2021-09-10-1/+1
|/ | | In accordance with a poll in #dev-contrib, King Arthur becomes the 6th repository featured on the Python Discord homepage.
* Merge pull request #585 from python-discord/update_length_validationGravatar ChrisJL2021-09-09-2/+2
|\ | | | | Update embed description length to 4096
| * Update embed description length to 4096Gravatar mbaruh2021-09-07-2/+2
|/
* Merge pull request #584 from python-discord/remove-port-check-as-it's-optionalGravatar Johannes Christ2021-09-07-2/+2
|\ | | | | Remove explicit check for db port, as it's optional
| * Remove explicit check for db port, as it's optionalGravatar Chris Lovering2021-09-07-2/+2
|/ | | | We also do not specifiy it in prod, so this crash looped when trying to deploy
* Merge pull request #583 from python-discord/init-metricity-at-runtimeGravatar ChrisJL2021-09-07-40/+109
|\ | | | | Initialise metricity at runtime
| * Add print statement to log when metricity is being initialisedGravatar Chris Lovering2021-09-07-0/+2
| |
| * Correctly attribute SO author for SQL functionGravatar Chris Lovering2021-09-07-0/+4
| |
| * Raise a ValueError with a useful message for invalid db urlsGravatar Chris Lovering2021-09-07-1/+3
| |
| * Remove unnecessary variableGravatar Chris Lovering2021-09-07-3/+2
| | | | | | | | Co-authored-by: Vivaan Verma <[email protected]>
| * Fix spelling of `initialising` in manage.pyGravatar ChrisJL2021-09-07-2/+2
| | | | | | Co-authored-by: Vivaan Verma <[email protected]>
| * Create and populate metricity in a single connectionGravatar Chris Lovering2021-09-07-25/+31
| |
| * Close db conns when finishedGravatar Chris Lovering2021-09-07-0/+2
| | | | | | | | psycopg2's context managers don't do this for us, so we need to close conns manually.
| * Move db url validation to cls methodGravatar Chris Lovering2021-09-07-12/+21
| | | | | | | | This standardises the way we validate db urls, and ensures each place that uses a db url manually properly validates it first.
| * Use context manager for file openGravatar Chris Lovering2021-09-06-3/+2
| | | | | | | | Also remove a useless print statement to reduce noise
| * Initialise metricity at runtimeGravatar Chris Lovering2021-09-06-31/+77
|/ | | | | | Currently the bot cannot start in dev as the site errors, saying that metricity doesn't exist. Previously this note existing was fine, unless you needed to use metricity data. With the recent addition of django-prometheus, metricity is now required on boot. This PR moves the init of metricity from a docker-compose volume, into running of the site. This means that external projects using site, that don't have access to the init.sql file to mount a volume, now also init metricity.
* Merge pull request #581 from python-discord/Pin-platform-in-DockerfileGravatar Johannes Christ2021-09-04-1/+1
|\ | | | | Pin platform in Dockerfile
| * Pin platform in DockerfileGravatar Chris Lovering2021-09-04-1/+1
|/ | | | | | Some of our deps don't have wheels for atm processors. With Mac's M1 chips becomming more common, we should make it easier for those users to build our environments.
* Merge pull request #580 from python-discord/jb3/ips-allowed-hostsGravatar Joe Banks2021-09-04-0/+3
|\ | | | | Add pod IPs to allowed hosts
| * Correct import orderGravatar Joe Banks2021-09-04-1/+1
| |
| * Add pod IPs to allowed hostsGravatar Joe Banks2021-09-04-0/+3
|/
* Merge pull request #575 from python-discord/jb3/django-prometheusGravatar Joe Banks2021-09-04-4/+60
|\ | | | | Add Django Prometheus
| * Merge branch 'main' into jb3/django-prometheusGravatar Joe Banks2021-09-04-5/+14
| |\ | |/ |/|
* | Merge pull request #579 from python-discord/jb3/update-k8s-pathGravatar Joe Banks2021-09-04-1/+1
|\ \ | | | | | | Update manifest path
| * | Update in accordance with python-discord/kubernetes#95Gravatar Joe Banks2021-09-04-1/+1
|/ /
* | Merge pull request #577 from ↵Gravatar Johannes Christ2021-09-03-4/+13
|\ \ | | | | | | | | | | | | python-discord/Add-timeout-to-GitHub-repo-metadata-fetch Timeout when fetching GitHub repository metadata
| * | Timeout when fetching GitHub repository metadataGravatar Chris Lovering2021-09-03-4/+13
|/ / | | | | | | Not having this timeout could cause a worker to hang indefinitely
| * Explicitly set gunicorn config argumentGravatar Joe Banks2021-09-04-0/+1
| |
| * Ignore gunicorn configuration from flake8Gravatar Joe Banks2021-09-03-3/+8
| |