- May 31, 2023
-
-
Anselm Lingnau authored
-
- May 30, 2023
-
-
Anselm Lingnau authored
This used to be broken to a point where it would crash any page with a `<<youtube:…>>` magic link. The gods know whether this template is how it should be, but we get it from the YouTube sharing/embedding panel so it should be halfway OK.
-
Anselm Lingnau authored
This is for consistency (sorta-kinda) with Markdown image inclusion. (Markdown allows different texts for `alt` and `title` but we're still looking for a use case.)
-
Anselm Lingnau authored
Having line breaks in a caption now works as intended, and we're fixing an issue with the thumbnail box width having `pxpx` at the end.
-
Anselm Lingnau authored
This led to problems with some images.
-
Anselm Lingnau authored
-
Anselm Lingnau authored
-
Anselm Lingnau authored
-
Anselm Lingnau authored
This makes a lot more sense.
-
Anselm Lingnau authored
-
Anselm Lingnau authored
Until we figure out how to put the dropdown box of the autocompletion widget on top of the rest of the modal, this should help us make more of the autocompletion stuff visible.
-
- May 29, 2023
-
-
Anselm Lingnau authored
-
Anselm Lingnau authored
-
Anselm Lingnau authored
The problem with the PostgreSQL LISTEN/NOTIFY approach is that it ties up database connections that don't seem to be freed even if the browser moves to a different page. There are also various issues with running the whole ACE4 app in uvicorn (e.g., Sentry seems to have stopped working, which sucks.) Instead, we're using a purpose-built async web server to handle SSEs. The `https://my.strathspey.org/dd/list/:id/events/` URL is redirected (using Caddy) to that server, and the long-lived asynchronous HTTP connections that SSEs relies upon are handled by it instead of Django. See the `ace4-notify` project for details of this server.
-
- May 28, 2023
-
-
Anselm Lingnau authored
This is a weird error but should not produce an exception. Fixes STRATHSPEY-6
-
Anselm Lingnau authored
-
Anselm Lingnau authored
When switching between different templates in the new-dance-list modal, selecting a template with no date or date template would cause an `UnboundLocalError`. Fixes STRATHSPEY-8.
-
Anselm Lingnau authored
This would otherwise lead to problems when calculating the times for an item, because the last item in the dance list would cause an out-of-bounds access in the list of item durations returned by the database.
-
Anselm Lingnau authored
This also replaces most of the JavaScript code in `list_edit.html` with HyperScript.
-
- May 27, 2023
-
-
Anselm Lingnau authored
This automatically re-reads a dance list if its editing page is open when a dance is added to it from a dance detail page.
-
Anselm Lingnau authored
-
- May 25, 2023
-
-
Anselm Lingnau authored
-
Anselm Lingnau authored
This now uses a toast to notify the user that the dance was added.
-
Anselm Lingnau authored
These appear in the bottom right corner of the window and go away after a configurable delay.
-
Anselm Lingnau authored
-
- May 23, 2023
-
-
Anselm Lingnau authored
-
Anselm Lingnau authored
-
Anselm Lingnau authored
-
Anselm Lingnau authored
-
Anselm Lingnau authored
-
Anselm Lingnau authored
Also, a collection settings form.
-
- May 22, 2023
-
-
Anselm Lingnau authored
The datatables weren't being properly initialised. [Viktor Lehmann]
-
Anselm Lingnau authored
-
Anselm Lingnau authored
-
Anselm Lingnau authored
This didn't even have a proper URL connected to the pulldown menu button. [Viktor Lehmann]
-
Anselm Lingnau authored
-
Anselm Lingnau authored
This was inadvertently omitted when recordings were added. [Cord Walter]
-
Anselm Lingnau authored
-
Anselm Lingnau authored
Times are really calculated in the browser but we want to avoid a distracting “flash” effect when an item is reread with times set to “00:00” and the real times are only inserted later, so we deliver the correct times from the backend already.
-
Anselm Lingnau authored
-