aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
...
| | * | 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
|\ \ \ \
| * | | | Timeout when fetching GitHub repository metadataGravatar Chris Lovering2021-09-03-4/+13
| | | | | | | | | | | | | | | | | | | | Not having this timeout could cause a worker to hang indefinitely
* | | | | Revert change to Metricity DB URLGravatar Joe Banks2021-09-02-1/+1
| | | | | | | | | | | | | | | | | | | | Co-Authored-By: jchristgit <[email protected]>
* | | | | Add Django Prometheus to URLsGravatar Joe Banks2021-09-02-0/+1
| | | | |
* | | | | Add Django Prometheus to installed apps and middlewareGravatar Joe Banks2021-09-02-3/+11
|/ / / /
* | | | Move base_url field to the endGravatar Numerlor2021-08-30-2/+2
| | | | | | | | | | | | | | | | | | | | In most cases this won't need to be specified, so it makes more sense to move it out of the way
* | | | Allow empty value for inventory url fieldGravatar Numerlor2021-08-30-0/+20
| |_|/ |/| |
* | | Update pydis_site/templates/home/timeline.htmlGravatar Ethan2021-08-12-1/+1
| | | | | | | | | Co-authored-by: Matteo Bertucci <[email protected]>
* | | Fix data reviews URLGravatar Ethan2021-08-12-1/+1
| | |
* | | Change link titles to indicate possessionGravatar mbaruh2021-08-09-51/+51
| | |
* | | Add titles to hyperlinksGravatar mbaruh2021-08-07-51/+51
| | |
* | | Added list of cj8 submissions in subpageGravatar mbaruh2021-07-31-4/+488
| | |
* | | Merge branch 'main' into smarter-database-usage-in-repository-metadataGravatar ChrisJL2021-07-27-4/+4
|\ \ \
| * \ \ Merge branch 'main' into fix-docker-linkGravatar ChrisJL2021-07-16-1/+1
| |\ \ \
| | * | | Documents expected emoji formatGravatar onerandomusername2021-07-15-1/+1
| | | | |
| * | | | Fixes Broken Doc LinkGravatar Hassan Abouelela2021-07-15-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | Fixes a local link that points to a non-existent resource. Signed-off-by: Hassan Abouelela <[email protected]>
| * | | Rename repl.it to replit and update linksGravatar Chris Lovering2021-07-12-2/+2
| | | | | | | | | | | | | | | | replit recently updated branding to replit.com, so we now reflect that in our site too.
* | | | Address review comment.Gravatar Johannes Christ2021-07-15-3/+6
| | | |
* | | | Improvements & fixes to homepage repository display.Gravatar Johannes Christ2021-07-11-31/+31
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes mainly aim to prevent multiple concurrent requests from deadlocking the table due to the lazy evaluation imposed by `objects.all()`, and introduce some quality of life changes whilst doing so. To prevent unwanted locks, the following is done: - Instead of evaluating the first item of `objects.all()` only in order to determine when the table was most recently updated, we query for the least recent updated entry and use that instead. As we use `.first()`, the model instance is loaded directly. The following quality of life changes are introduced: - Instead of manual "update or create" logic for repositories retrieved from the API, use Django's `update_or_create` instead. - Instead of manual bulk creation of entries on initial data retrieve, Django's `bulk_create` method is used instead. - To allow for local testing of this endpoint without having to manually set up GitHub REST authorization, anonymous GitHub access is used when no `GITHUB_TOKEN` is configured.
* | | Code jam: use case name in code styleGravatar Matteo Bertucci2021-07-09-2/+2
| | |
* | | Code jam: switch home to use the ongoing bannerGravatar Matteo Bertucci2021-07-09-2/+2
| | |
* | | Code jam: switch the right menu to ongoingGravatar Matteo Bertucci2021-07-09-4/+4
| | |
* | | Merge branch 'main' into the-code-style-guideGravatar Matteo Bertucci2021-07-09-7/+12
|\ \ \
| * | | Add textual to conditionally approved listGravatar Janine vN2021-07-08-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Adds Textual, the TUI framework that uses Rich as its renderer to as an allowed library. It's still under active development though and is not stable.
| * | | Update dates & times for code jamGravatar Janine vN2021-07-08-7/+7
| | |/ | |/| | | | | | | | | | The dates and times on the main event page have been updated to reflect the changes.
* | | Improve wording in The Code Style GuideGravatar ks1292021-07-09-19/+24
| | |
* | | List comment types before <ul> listGravatar ks1292021-07-09-1/+1
| | |
* | | Move comment types from <b> tags to <h4>Gravatar ks1292021-07-09-5/+10
| | |
* | | Add PEP 8 song embedGravatar ks1292021-07-09-0/+1
| | |
* | | Remove the- prefix from useful information code style guide linkGravatar ks1292021-07-09-1/+1
| | |
* | | Drop the- prefix from CJ 8 sidebar code style guide itemGravatar ks1292021-07-09-1/+1
| | |
* | | Rename the-code-style-guide.html to code-style-guide.htmlGravatar ks1292021-07-09-0/+0
| | |
* | | Split comments paragraphs to even smaller paragraphsGravatar ks1292021-07-09-10/+20
| | |
* | | Remove leading spaces and unnecessary newlines from code blocksGravatar ks1292021-07-09-152/+100
| | | | | | | | | HTML <pre> tag is adding indention also to result, so I had to remove these.
* | | Escape HTML in The Code Style GuideGravatar ks1292021-07-09-1/+1
| | |
* | | Change wording in The Code Style GuideGravatar ks1292021-07-09-3/+3
| | | | | | | | | Co-authored-by: Numerlor <[email protected]>