aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/urls.py (follow)
Commit message (Collapse)AuthorAgeLines
* Timeline: Migrate to Markdown source files - initial implementationGravatar hedy2024-05-24-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The timeline app is introduced, moved from the home app. - Add a basic README.md to illustrate the overall code breakdown of the app as it is in the current stage. - Two entries are added for now. - Add ability to link headers using the slug portion of the filename. - The way markdown files are fetched is similar to that of the resources app - using the AppConfig ready() function, all resources are ensured to be only fetched once when the app is first laoded. I debated whether to introduce the new functionality in the home app instead, without creating a new app. Eventually I decided extracting it to a standalone app now is better as it allows easier extension of functionality in the future. The home app can remain as it is to only server the `/` homepage. The timeline CSS is kept the same, as with the structure of the timeline HTML template. Once the CSS rewrite PR is merged, it's relatively easy to fix conflicts here (again, since timeline is now its own app, with the CSS file and HTML template moved - extra advantage). References to `home:timeline` are updated to use `timeline:index` throughout the codebase, as far as my ripgrep search could go. The format of the markdown + YAML entries are still up for debate, so I've only added the first two entries for now. They can be completely overwritten in the future once the formats are decided by using a script to convert all the data from my JSON file into individual markdown files: http://0x0.st/Xr78.txt This link should last for at least a few months. (Originally saved on https://paste.pythondiscord.com/KPJA, but it expires on 12th April 2024.)
* Adds Static Route ConfigurationsGravatar Hassan Abouelela2021-10-10-3/+3
| | | | | Adds configuration which specifies how routes should be handled when building a static preview.
* Move subdomains to query paths.Gravatar Johannes Christ2021-06-08-7/+1
| | | | | | | | | | | | | | 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`.
* Merge branch main into dewikificationGravatar kosayoda2021-05-14-1/+2
|
* Include redirect app URLs to home app URLsGravatar ks1292021-05-03-0/+1
|
* 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-28/+3
|\ \ \ | | |/ | |/|
| * | 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-7/+1
| | |\
| | * | 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-28/+2
| | |/ | |/|
* | | 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-7/+1
|\| |
| * | Remove references to django_nytGravatar Leon Sandøy2020-10-04-1/+0
| | |
| * | Remove references to wiki from other apps.Gravatar Leon Sandøy2020-10-04-5/+1
| |/
* | 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 user settings modal, with connections management and account deletionGravatar Gareth Coles2019-10-23-0/+3
|
* GH signup prevention, views and templates for settings pagesGravatar Gareth Coles2019-10-20-3/+5
|
* Allauth: Address reviews by @lemonsaurusGravatar Gareth Coles2019-10-14-1/+1
|
* Remove GH login implementation, out of scope of this PRGravatar Gareth Coles2019-10-06-1/+0
|
* Prevent saving emails, remove login pageGravatar Gareth Coles2019-10-06-2/+0
|
* Login page and styling fixesGravatar Gareth Coles2019-10-06-0/+2
|
* Set up needed Allauth URLs and add login/logout to navbarGravatar Gareth Coles2019-10-05-1/+23
|
* Remove accidental static files commit; fix AllauthGravatar Gareth Coles2019-10-03-0/+1
|
* adding hrefs to the more linksGravatar Leon Sandøy2019-07-06-1/+1
|
* Merge branch 'django' into django+200/wikiGravatar Gareth Coles2019-04-20-2/+2
|\ | | | | | | | | | | | | | | | | | | # Conflicts: # Pipfile # Pipfile.lock # pydis_site/apps/home/tests/test_app_basics.py # pydis_site/apps/home/urls.py # pydis_site/hosts.py # pydis_site/settings.py
| * Addressing all comments in volcyy's second review. The tests now mock the ↵Gravatar Leon Sandøy2019-04-19-0/+10
| | | | | | | | API calls so we don't have to actually call the API every time we run tests.
| * refactoring slightly to use a class-based view, changing home to main. Ready ↵Gravatar Leon Sandøy2019-04-13-10/+0
| | | | | | | | to write the API search stuff now.
* | Lint and update django-simple-bulmaGravatar Gareth Coles2019-04-19-1/+1
| |
* | Fixing up image pluginGravatar Gareth Coles2019-04-14-1/+4
| |
* | Merge branch 'django' into django+200/wikiGravatar Gareth Coles2019-04-10-1/+1
|\| | | | | | | | | # Conflicts: # pydis_site/apps/home/urls.py
| * Initial work on some base templatesGravatar Gareth Coles2019-04-10-1/+1
| |
* | Pushing before work is overGravatar Gareth Coles2019-04-08-1/+1
| |
* | Remove wiki host, use /wiki - Also some wiki configGravatar Gareth Coles2019-04-08-3/+4
|/ | | | I've included the monokai pygments theme, but we can change it later
* pysite -> pydis_siteGravatar Gareth Coles2019-04-05-0/+10