aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into bot-tagsGravatar Hassan Abouelela2022-10-27-3/+3
|\ | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # poetry.lock # pydis_site/settings.py # pyproject.toml
| * Fix Unittest Deprecation WarningsGravatar Hassan Abouelela2022-09-04-3/+3
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Add Setting For Static BuildsGravatar Hassan Abouelela2022-08-13-5/+3
|/ | | | | | | Adds an explicit setting for static builds instead of relying on the environment variable. Signed-off-by: Hassan Abouelela <[email protected]>
* Switch Out requests For httpxGravatar Hassan Abouelela2022-07-11-9/+9
| | | | | | | | The requests library has been replaced by httpx. It's a drop-in replacement, but provides a better interface for certain things, such as client sessions, and sync/async support. Signed-off-by: Hassan Abouelela <[email protected]>
* Capture GitHub response logsGravatar Johannes Christ2022-03-02-1/+4
|
* Add a readme to the Django project directoryGravatar Johannes Christ2022-02-26-1/+0
|
* Remove and merge superfluous modulesGravatar Johannes Christ2022-02-26-4/+4
| | | | The constants module more or less did what belongs to the settings.
* Adds Static Route ConfigurationsGravatar Hassan Abouelela2021-10-10-10/+22
| | | | | Adds configuration which specifies how routes should be handled when building a static preview.
* Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-10-06-6/+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.
| * Merge branch 'main' into jb3/django-prometheusGravatar Joe Banks2021-09-04-4/+11
| |\
| | * Timeout when fetching GitHub repository metadataGravatar Chris Lovering2021-09-03-4/+11
| | | | | | | | | | | | Not having this timeout could cause a worker to hang indefinitely
| * | Add Django Prometheus to URLsGravatar Joe Banks2021-09-02-0/+1
| |/
* | Merge branch 'main' into subdomains-to-query-pathsGravatar Joe Banks2021-08-31-31/+34
|\|
| * 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.
* | Move subdomains to query paths.Gravatar Johannes Christ2021-06-08-9/+3
|/ | | | | | | | | | | | | | 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`.
* Authenticate with the github api to avoid rate limitsGravatar Chris2021-05-23-1/+3
|
* Merge branch main into dewikificationGravatar kosayoda2021-05-14-92/+152
|
* Include redirect app URLs to home app URLsGravatar ks1292021-05-03-0/+1
|
* Merge branch 'dewikification' into resources-listsGravatar ks1292021-03-30-0/+2
|\
| * Rename `articles` to `pages`.Gravatar kosayoda2021-03-23-1/+1
| | | | | | | | | | | | Articles was a good name, but we want an `articles` category in the future. `/pages/guides/` and `/pages/articles/` are clearer in name than `/articles/guides/` and `/articles/articles/`.
| * Merge branch 'dewikification' into guides-appGravatar ks1292020-11-28-0/+1
| |\
| | * Merge branch 'dewikification' into events-appGravatar ks1292020-10-28-0/+1
| | |\
| | * | Include events URLs to home URLsGravatar ks1292020-10-26-1/+2
| | | |
| * | | Remove unnecessary namespace from content app URLs includeGravatar ks1292020-10-30-2/+2
| | | |
| * | | Merge remote-tracking branch 'up/dewikification' into guides-appGravatar ks1292020-10-30-1163/+5
| |\ \ \ | | | |/ | | |/|
| * | | Relock Pipfile.lockGravatar ks1292020-10-06-2/+0
| | | |
| * | | Fix mess with rebaseGravatar ks1292020-10-06-1/+1
| | | |
| * | | Rename content -> articles for visual partGravatar ks1292020-10-06-2/+4
| | | |
| * | | Merge branch 'dewikification' into guides-appGravatar Leon Sandøy2020-10-05-378/+2
| |\ \ \
| * | | | Change guides system to content systemGravatar ks1292020-10-04-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As this system will be used for more than just guides, I had to do some refactoring to match this system with plans. Basically now there isn't guides, but articles instead.
| * | | | Add guides app URLs to home app URLsGravatar ks1292020-09-20-0/+2
| | | | |
* | | | | Add URLs for resources listsGravatar ks1292020-11-14-1/+1
| | | | |
* | | | | Move resources files from home app to resources appGravatar ks1292020-10-31-463/+0
| |_|/ / |/| | |
* | | | Merge pull request #395 from ks129/resources-homeGravatar Jeremiah Boby2020-10-28-0/+1
|\ \ \ \ | |_|_|/ |/| | | Dewikification - Create app for resources + index page of resources
| * | | Remove unnecessary namespace from including resources app URLsGravatar ks1292020-10-28-1/+1
| | | | | | | | | | | | Co-authored-by: Jeremiah Boby <[email protected]>
| * | | Merge branch 'dewikification' into resources-homeGravatar ks1292020-10-07-378/+2
| |\ \ \ | | | |/ | | |/|
| * | | Include resources app URLs to home app URLsGravatar ks1292020-09-22-0/+2
| | |/ | |/|
* | | Remove allauth references from the home app.Gravatar Leon Sandøy2020-10-04-243/+4
| | |
* | | Remove files related to django-allauth.Gravatar Leon Sandøy2020-10-04-920/+0
| |/ |/|
* | Remove references to django_nytGravatar Leon Sandøy2020-10-04-1/+0
| |
* | Remove remaining references to wiki.Gravatar Leon Sandøy2020-10-04-1/+1
| |
* | Remove wiki template tags.Gravatar Leon Sandøy2020-10-04-370/+0
| |
* | Remove references to wiki from other apps.Gravatar Leon Sandøy2020-10-04-5/+1
|/
* Update landing page.Gravatar Leon Sandøy2020-09-03-2/+2
| | | | Replace flake8-annotations with metricity.
* Fix linting issues caused by refactor.Gravatar Leon Sandøy2020-07-15-0/+1
|
* Removes django_crispy_forms dependency, too.Gravatar Leon Sandøy2020-07-15-14/+0
|
* Removes django_crispy_bulma dependency.Gravatar Leon Sandøy2020-07-14-4/+3
|