| Commit message (Collapse) | Author | Age | Lines |
| |
|
|\ |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.)
|
| |
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Lemon's fa kit (free plan) had been used till now which had
limitations such as total number of views that we've long exceeded
- This gives more control on the static assets to use
- Allows showing icons in development
|
| |/ |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Adjusted box-shadow for dark mode to be more readable, unfortunately
this gave it a little neomorphism effect...
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
hopefully I dont have to do this again
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
# poetry.lock
# pydis_site/settings.py
# pyproject.toml
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove all unnecessary middleware and return a proper response for
redirects to fix static builds.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Removes a few features which were deprecated in django 4.0. Running with
warnings enabled shows no other errors.
USE_L10N was deprecated, and is now enabled by default. In future
versions of django, it'll be impossible to turn localization off.
Explicitly defining the custom_app_config for the API app is no longer
necessary as django can pick it up on its own.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |/
| |
| |
| |
| |
| |
| | |
Adds an explicit setting for static builds instead of relying on the
environment variable.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| |
| |
| | |
Adds an API route to fetch GitHub build artifacts through a GitHub app.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bumps the current django version to 3.2 For the most part, there are no
major changes here. The app configuration names were incorrect, and the
new version no longer ignores that, so those were updated. The new
version also requires explicitly defining the field type for primary
keys if they are not defined on the model.
Signed-off-by: Hassan Abouelela <[email protected]>
|
| |
| |
| |
| |
| | |
Add a `warnings.warnings` clause to prevent these from being raised
again in the future, and raise a full traceback if they don't.
|
| |
| |
| |
| | |
The constants module more or less did what belongs to the settings.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Previously we were using some sort of borrowed token, but it
seems to not be working anymore for local sessions, so let's
just get rid of it.
|
|\ |
|
| |
| |
| |
| |
| | |
Adds django-distill to dependencies, and lays the basic groundwork to
start building static routes. Adds a poetry task to help with testing.
|
| | |
|
| |\ |
|