Commit Graph

669 Commits

Author SHA1 Message Date
Claudio Ortolina 0ba39dd411 Fix styling of round badges
So that it's the same as the other badges used in the application
2025-01-02 20:33:10 +00:00
Claudio Ortolina f813ea48e2 Use round_badge component in artist page 2025-01-02 20:28:13 +00:00
Claudio Ortolina b7d2e39c90 Rename variables for clarity
Previous version, while working as expected, had unclear names.
2025-01-02 12:46:15 +00:00
Claudio Ortolina d8a1ac7080 Check inclusion in all releases in one go 2025-01-02 12:40:27 +00:00
Claudio Ortolina b9e3293877 Extract badge components 2025-01-02 12:35:33 +00:00
Claudio Ortolina 5d40080741 Add note about SQLite RANDOM function 2025-01-02 09:38:50 +00:00
Claudio Ortolina 0ce5326236 Extract round badge component 2025-01-01 21:12:42 +00:00
Claudio Ortolina 69e71191b0 In record list, move format, type and purchase date to new line 2025-01-01 21:08:20 +00:00
Claudio Ortolina 65899b8077 Add tests for /api/collection/random endpoint 2025-01-01 20:57:01 +00:00
Claudio Ortolina d194a54760 Adds API to return a random record from the collection 2025-01-01 19:28:49 +00:00
Claudio Ortolina 1208d35174 Add prod tests for dev routes 2025-01-01 17:20:32 +00:00
Claudio Ortolina 5cd57fdde4 Install Error Tracker to track production issues 2025-01-01 17:11:17 +00:00
Claudio Ortolina 8bd7197d18 Show purchase date in collection view 2025-01-01 16:45:43 +00:00
Claudio Ortolina 6a9d54f735 Link to wishlisted albums in scrobble activity 2025-01-01 16:15:02 +00:00
Claudio Ortolina 5973206da3 Link to collected albums in scrobble activity 2025-01-01 16:11:14 +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 6a51251d55 Consolidate hashing into Cover module 2024-12-31 11:57:33 +00:00
Claudio Ortolina 68b2d48228 Return thumb_url in latest record response 2024-12-31 11:39:36 +00:00
Claudio Ortolina 6b55d58621 Update dependencies
castore 1.0.10 => 1.0.11
2024-12-31 11:31:17 +00:00
Claudio Ortolina fa985684e0 Disable dependabot
Doesn't support git dependencies (heroicons)
2024-12-30 17:21:52 +00:00
Claudio Ortolina 6cf7e2c9de Add ordering tests to Collection context 2024-12-30 17:16:14 +00:00
Claudio Ortolina 27581d2300 Update dependencies
phoenix_live_dashboard 0.8.5 => 0.8.6
2024-12-30 16:35:37 +00:00
Claudio Ortolina 05f4d6039b Mock artist info fetch to avoid test flakyness 2024-12-29 21:23:04 +00:00
Claudio Ortolina 467961128b Validate order attribute values in pagination component 2024-12-29 21:22:42 +00:00
Claudio Ortolina 65b4f5c06b Fix flash colors in dark mode 2024-12-29 21:06:23 +00:00
Claudio Ortolina 85b403817f Move model definition into completion struct 2024-12-29 20:58:09 +00:00
Claudio Ortolina c7e1be2f2f Fix hover and active states for order selector 2024-12-29 16:55:47 +00:00
Claudio Ortolina bb560e4356 Fix alignment of sorting options and count 2024-12-29 15:50:30 +00:00
Claudio Ortolina 6427710029 Enable sorting options in collection view 2024-12-29 15:47:37 +00:00
Claudio Ortolina 1534d28c9e Wire buttons with view 2024-12-29 15:31:26 +00:00
Claudio Ortolina 48e2f4e2e3 Add collection sorting buttons (inactive) 2024-12-29 15:22:51 +00:00
Claudio Ortolina 88b65332ed Upgrade Elixir and OTP everywhere 2024-12-28 17:37:12 +00:00
Claudio Ortolina 17d1a87f3c Use sum_by instead of plain reduce
Makes it for slightly simpler code.
2024-12-28 13:37:55 +00:00
Claudio Ortolina 77141fbfaf Reduce machine size to 512MB
With current cover caching headers, the number of requests per page is
generally lower (except for one single spike when image cache expires).
It's therefore acceptable to lower the amount of connections in the
pool, which in turn decreases the amount of needed memory.
2024-12-28 12:26:44 +00:00
Claudio Ortolina 9541c60dd3 Update dependencies
phoenix_html 4.1.1 => 4.2.0
2024-12-28 11:50:54 +00:00
Claudio Ortolina 48d8590c9b Remove duplication in stats live lifecycle 2024-12-27 21:04:07 +00:00
Claudio Ortolina dcd85eb550 Install recon 2024-12-27 20:33:18 +00:00
Claudio Ortolina b503662c2e Reduce size of stats live socket
No need to store all artists IDs in the socket, instead it's enough to
intersect them with the scrobbled artist IDs.
2024-12-27 20:27:32 +00:00
Claudio Ortolina db57195a0a Map Last.fm error codes to error atoms 2024-12-27 19:54:10 +00:00
Claudio Ortolina 1a0e505e51 Rework error messages for failed playcount/bio fetch 2024-12-27 17:57:36 +00:00
Claudio Ortolina 2e8d72fe8f Rename "Basics" -> "Records" in stats page 2024-12-27 08:33:24 +00:00
Claudio Ortolina 6102363fb4 Add GH Action to manually very production environment 2024-12-26 14:41:16 +00:00
Claudio Ortolina 33a3ed548d Add test for https enforcement 2024-12-26 14:24:47 +00:00
Claudio Ortolina fc0120e5fc Revert "Template host in verification tests"
This reverts commit d65a2223db.
2024-12-25 19:57:27 +00:00
Claudio Ortolina d65a2223db Template host in verification tests 2024-12-25 19:54:23 +00:00
Claudio Ortolina 6bcce558c4 Restyle flash messages 2024-12-25 19:22:38 +00:00
Claudio Ortolina 2e73e810ea Remove flash message for client error 2024-12-25 19:08:43 +00:00