| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
| |
Via e-mail forwarded to me by Chris.
Reported-by: Chris Lovering <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We have the CSS for the navbar in base.css, the relevant files only
contain code for the theme toggle, so they should be named as such.
If we ever implement CSS variables per-theme, they could then be done in
`themes.css`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use localstorage. Advantages:
- One key=value for the entire site, without needing to specify
`path=/`
- No need for string splitting to parse the `key=value; ...` data
- Suggested more widely in tutorials
Pretty good support: https://caniuse.com/?search=localstorage
- Remove the need for JQuery, use IDs for switch and knob elements.
- This also makes the code more robust if the page has other switch &
knob classes!
|
|
|
|
|
| |
And use `include_js` flag to the bulma dark theme stylesheet template
tag.
|
|\
| |
| |
| | |
hopefully I dont have to do this again
|
| |
| |
| |
| | |
Signed-off-by: Hassan Abouelela <[email protected]>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Since we've removed the resources landing page, there's no
easy way to get to Guides anymore. For that reason, I'm adding it to
the More menu so that it'll still be discoverable.
|
|
|
|
|
|
| |
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.
|
|\ |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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]>
|
| |\| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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`.
|
|\ \ \
| | |/
| |/|
| | | |
swfarnsworth/smarter-resources/new-resources
|
| | |
| | |
| | | |
There is no href on these items, so they should not be anchors.
|
| |/
| |
| | |
Co-authored-by: Joe Banks <[email protected]>
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
This should be redirected to the notion page using our cloudflare
worker.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
| |/ |
|
|/ |
|
| |
|
| |
|
|
|
| |
Changed `Most Recent: Game Jam 2020` to `Upcoming: Code Jam 7`
|
| |
|