Commit Graph

68 Commits

Author SHA1 Message Date
Claudio Ortolina d194a54760 Adds API to return a random record from the collection 2025-01-01 19:28:49 +00:00
Claudio Ortolina 48a4b308cc Move comment to right spot 2025-01-01 11:21:03 +00:00
Claudio Ortolina c1ea5bd69c Extract cover cache duration 2024-12-31 15:58:35 +00:00
Claudio Ortolina f58c82e1fd Refactor cover controller to reuse common pieces 2024-12-31 15:54:49 +00:00
Claudio Ortolina 97533416f7 Support arbitrary resizing in cover controller 2024-12-31 11:58:30 +00:00
Claudio Ortolina 68b2d48228 Return thumb_url in latest record response 2024-12-31 11:39:36 +00:00
Claudio Ortolina 97f26e0cd2 Serve covers under API namespace as well 2024-12-22 22:15:24 +00:00
Claudio Ortolina 341d276db5 Include artists and cover in latest record JSON 2024-12-22 15:55:41 +00:00
Claudio Ortolina 98087ae568 Extract MusicLibraryWeb.Auth module 2024-12-21 14:48:32 +00:00
Claudio Ortolina 4f456322fc Bootstrap the /api namespace 2024-12-21 14:38:39 +00:00
Claudio Ortolina e4fe4e7f4b Cache images for 24 hours 2024-12-15 12:09:29 +03:00
Claudio Ortolina ccefc6e697 Update to new interpolation syntax
Includes a fix to a brittle test that failed due to changes in the
number of linebreaks.
2024-12-03 00:08:32 +00:00
Claudio Ortolina 2e40cbd5da Improve page titles
- When showing a single record, use record details
- Split title into logical breadcrumbs
2024-11-26 21:00:53 +00:00
Claudio Ortolina 5c4c87e5c1 Make dark mode backgrounds darker 2024-11-07 19:12:26 +00:00
Claudio Ortolina c9cf3360d2 Use zinc everywhere 2024-11-05 08:42:30 +00:00
Claudio Ortolina 7d574c7fd9 Convert stats page to a live view 2024-10-29 16:32:34 +00:00
Claudio Ortolina 58a63e114e Improve styling consistency of stats page 2024-10-28 11:30:22 +00:00
Claudio Ortolina 4cbdf6b2b2 Improve formatting of stats
- Simple markup
- Better spacing at alignment on all viewports
2024-10-28 11:19:30 +00:00
Claudio Ortolina 86f474b78f Fix dividers in stats page 2024-10-27 17:48:36 +00:00
Claudio Ortolina 0be8f70123 Fix dividers color in stats 2024-10-23 21:30:57 +01:00
Claudio Ortolina d1d2e4aa0e Fix login stray indigo color 2024-10-23 21:30:43 +01:00
Claudio Ortolina ebc827dcfe Update colors for stats page 2024-10-23 20:33:28 +01:00
Claudio Ortolina 6a484f5361 Update colours for login form 2024-10-23 10:45:00 +01:00
Claudio Ortolina 0d7b363da8 Name sections in stats page 2024-10-22 18:35:23 +01:00
Claudio Ortolina bb74057c31 Include wishlist count in stats page 2024-10-22 18:29:51 +01:00
Claudio Ortolina 8e654fb782 Rename counts in stats 2024-10-22 18:14:15 +01:00
Claudio Ortolina 913694b380 Rename "Sign in" to "Login" 2024-10-22 13:37:48 +01:00
Claudio Ortolina 685be03ccf Extract stats translations 2024-10-21 11:37:13 +01:00
Claudio Ortolina 3ea278181e Extract session translation strings 2024-10-21 10:29:05 +01:00
Claudio Ortolina 11ace38b19 Remove unused 'remember me' checkbox 2024-10-21 10:14:46 +01:00
Claudio Ortolina be314e3916 Reset session when hitting /login 2024-10-21 09:59:29 +01:00
Claudio Ortolina 214d12f6cb Use password from environment 2024-10-21 08:54:46 +01:00
Claudio Ortolina 4fcfc6c921 Complete authentication flow with dummy password 2024-10-20 19:25:31 +01:00
Claudio Ortolina b5bceb92e0 Add login route with hardcoded password validation 2024-10-20 19:05:41 +01:00
Claudio Ortolina 4e5715bf0b Better constrain cover artwork sizes 2024-10-17 22:08:23 +01:00
Claudio Ortolina 032e78b453 Add hover style to stats page links 2024-10-15 23:06:14 +01:00
Claudio Ortolina 0218f8223c Add more artist links with correct style 2024-10-15 23:03:20 +01:00
Claudio Ortolina 69e6cc67a2 Make page titles consistent with application structure
- All existing pages get a nice title
- Suffix is "Music Library"
- Fallback is current request path
2024-10-15 17:32:59 +01:00
Claudio Ortolina 2661c9f60d Display type stats 2024-10-14 22:33:05 +01:00
Claudio Ortolina 49f5ae30f2 Improve display of latest album in stats 2024-10-14 18:32:09 +01:00
Claudio Ortolina 6e638b8f20 Improve stats interface
- Remove unnecessary buttons - can click directly on cards
- Enable shortcuts to lists filtered by format
2024-10-14 11:31:52 +01:00
Claudio Ortolina 6c9d1775d7 Rename application sections 2024-10-13 21:58:12 +01:00
Claudio Ortolina 52c1be1e32 Restructure stats
Split out count by format
2024-10-08 20:36:39 +01:00
Claudio Ortolina 36f1d44468 Add counts by format as a separate item 2024-10-08 20:21:38 +01:00
Claudio Ortolina 33f4cb11be Use a different icon for home stats 2024-10-07 15:26:04 +01:00
Claudio Ortolina cd1331bbc6 Sort formats by descending count in stats 2024-10-07 15:05:54 +01:00
Claudio Ortolina ddbda5b4d2 Normalize display of artist names 2024-10-07 14:57:30 +01:00
Claudio Ortolina be9dc37ed5 Use long labels for formats in stats page 2024-10-07 10:04:31 +01:00
Claudio Ortolina 409a8414d0 Fix stats layout to account for more groups 2024-10-07 10:01:30 +01:00
Claudio Ortolina ac27e86fb5 Rename /images to /covers 2024-10-06 16:06:33 +01:00