aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Eliminate usage of typing module and update docstrings.Gravatar RohanJnr2021-11-05-6/+4
|
* Update test cases to adhere to recent changes made that removed hosts.Gravatar RohanJnr2021-11-05-2/+2
|
* Fix: Conflicting migrations.Gravatar RohanJnr2021-11-05-0/+14
|
* Pull from upstream/main and resolve conflicts.Gravatar RohanJnr2021-11-05-662/+1373
|\
| * Correct redis config instructions in bot guideGravatar Boris Muratov2021-10-23-1/+1
| |
| * Merge branch 'main' into typosGravatar Matteo Bertucci2021-10-18-4/+9
| |\
| | * Fixes Test Paths For Windows (#596)Gravatar Hassan Abouelela2021-10-17-3/+8
| | | | | | | | | | | | | | | | | | Fixes a test that fails on Windows due to differing path separators. This is currently the only failing test. Signed-off-by: Hassan Abouelela <[email protected]>
| | * FAQ: Update reference to #dev-brandingGravatar Hedy Li2021-10-17-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Ref: https://discord.com/channels/267624335836053506/429409067623251969/896753201645232169 I think it should be updated so newer members won't get confused when they don't see a #media-branding.
| * | Fix typos in contributing guidesGravatar Hedy Li2021-10-18-4/+4
| | | | | | | | | | | | | | | - succint -> succinct - seperated -> separated
| * | Fix typo 'fied' in apps/api/tests/test_offensive_message.pyGravatar Hedy Li2021-10-18-1/+1
| | |
| * | Fix typos across codebaseGravatar Hedy Li2021-10-17-8/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ./pydis_site/apps/resources/resources/tools/ides/thonny.yaml:1: specifically ./pydis_site/apps/content/resources/guides/pydis-guides/helping-others.md:115: considered ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/issues.md:59 labels ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot.md:99: recommend ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md:111: particularly ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot/env-var-reference.md:29: Integer ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot/env-var-reference.md:67: calculating ./pydis_site/apps/api/tests/test_off_topic_channel_names.py:157: response I didn't touch the code jam and game jam typos because I'm not sure if they should be preserved as is. There were a few 'seperated' typos which I didn't change because I *think* it's just another way of spelling it? In the offensive words test there was a keyword argument named `fied` which I didn't touch because I wasn't sure where that was from.
| * Remove stray `#` in bot guideGravatar Boris Muratov2021-10-17-1/+1
| |
| * Merge branch 'main' into new-ban-appeals-processGravatar ChrisJL2021-10-17-620/+1282
| |\
| | * Fix typo in bot guideGravatar Boris Muratov2021-10-17-1/+1
| | |
| | * Restructure bot contributing guide (#591)Gravatar Boris Muratov2021-10-17-140/+681
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Restructure bot contributing guide Restructures the bot guide to focus on getting users "through the door" first, and slowly adding additional information and options. The guide is built in terms of showing ways to run the bot and how to achieve it, rather than listing all of the information for each configuration and environment variable right away. That said, the attempt was to still present the reader with the full information they need, and to still be able to use as a quick reference for contributors who are already familiar with the project. As a style choice, this guide incorporates collapsible elements, which required some CSS and JS additions. This could be resolved with the bulma-collapsible extension, but it doesn't seem to function well inside django templates. The guide includes an optional config.yml to use with the test server template. This is a temporary measure until we get the bootstrapping application going. This guide additionally splits the bot account creation and obtaining Discord ID's guides and they didn't seem related. The original file is kept for now as it is used by other guides at the moment.
| | * Adds Static Route ConfigurationsGravatar Hassan Abouelela2021-10-10-21/+122
| | | | | | | | | | | | | | | Adds configuration which specifies how routes should be handled when building a static preview.
| | * Adds Django Distill To ProjectGravatar Hassan Abouelela2021-10-10-5/+16
| | | | | | | | | | | | | | | Adds django-distill to dependencies, and lays the basic groundwork to start building static routes. Adds a poetry task to help with testing.
| | * Automatically adjust test to `page_size`.Gravatar Johannes Christ2021-10-09-5/+8
| | |
| | * Decrease page size for user list endpoint.Gravatar Johannes Christ2021-10-09-1/+1
| | | | | | | | | | | | | | | | | | From some debugging via python-discord/kubernetes#96, we have determined that this endpoint results in high latencies to the site and eventually Kubernetes killing off site pods randomly.
| | * Update ALLOWED_HOSTS to include internal addressGravatar Joe Banks2021-10-06-5/+1
| | |
| | * Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-10-06-127/+222
| | |\
| | | * Merge branch 'main' into fix-http-linksGravatar ChrisJL2021-10-06-3/+26
| | | |\
| | | | * Merge branch 'main' into netlify-logoGravatar Joe Banks2021-10-06-1/+12
| | | | |\
| | | | | * Update hosts.py to default to wwwGravatar Joe Banks2021-10-06-1/+2
| | | | | |
| | | | | * Add www.pythondiscord.com to ALLOWED_HOSTS (#601)Gravatar Joe Banks2021-10-05-0/+1
| | | | | |
| | | | | * Merge Gitpod Docs (#594)Gravatar Kronifer2021-10-05-0/+9
| | | | | | | | | | | | | | | | | | docs: Added site documentation for editing on Gitpod
| | | | * | Adds Netlify To SponsorsGravatar Hassan Abouelela2021-10-06-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | | | * | Properly Resize Sponsor LogosGravatar Hassan Abouelela2021-10-06-2/+10
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure sponsor logos don't go past the edge of the screen, and maintain aspect ratio when sized down. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * / 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]>
| | | * Add LT and GT to supported otn charsGravatar Chris Lovering2021-09-27-1/+20
| | | |
| | | * Merge branch 'main' into cj-wrapupGravatar ChrisJL2021-09-24-13/+13
| | | |\
| | | * | 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 branch 'main' into subdomains-to-query-pathsGravatar Joe Banks2021-08-31-53/+815
| | |\ \ \
| | * \ \ \ Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-07-08-53/+528
| | |\ \ \ \
| | * | | | | Move subdomains to query paths.Gravatar Johannes Christ2021-06-08-353/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In more detail: - Use Django URL namespaces (e.g. `api:bot:infractions`) instead of `django_hosts` host argument. - Update the hosts file setup documentation to remove subdomain entries. - Update the hosts file setup documentation to mention that the entry of `pythondiscord.local` is not required and mainly for convenience. - Rename the `APISubdomainTestCase` to the more fitting `AuthenticatedAPITestCase`, as authentication is all that is left that the class is doing. - Drop dependency to `django_hosts`.
| * | | | | | Direct appeals to the appeals serverGravatar Chris Lovering2021-09-24-2/+5
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Rather than mentioning the apeals email address, we now direct users to the appeal server, which will now be used for ban appeals.
| * | | | | Rename an error to have a correct error suffixGravatar Chris Lovering2021-09-22-13/+13
| | |_|_|/ | |/| | |
| * | | | 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.
| * | | | Update embed description length to 4096Gravatar mbaruh2021-09-07-2/+2
| | | | |
| * | | | Correct import orderGravatar Joe Banks2021-09-04-1/+1
| | | | |
| * | | | Add pod IPs to allowed hostsGravatar Joe Banks2021-09-04-0/+3
| | | | |
| * | | | Merge branch 'main' into jb3/django-prometheusGravatar Joe Banks2021-09-04-4/+13
| |\ \ \ \