Commit Graph

1707 Commits

Author SHA1 Message Date
Claudio Ortolina b42a774936 Remove unused functionality and make functions private 2025-02-09 17:01:00 +00:00
Claudio Ortolina be1de52984 Refactor Records.Record for simplification
- Remove unnecessary intermediate variables
- Remove unnecessary pipes
2025-02-09 08:33:00 +00:00
Claudio Ortolina 828563e933 Shorten timeouts for Last.fm api
Especially when the application wakes up from suspension, requests tend
to timeout.
2025-02-09 08:07:27 +00:00
Claudio Ortolina 4593b60da5 Always use @base_url 2025-02-08 13:20:49 +00:00
Claudio Ortolina 9b25556245 Refactor Record.child_release_groups/1 to use stored ids 2025-02-06 21:03:38 +00:00
Claudio Ortolina b80a98a881 Included published releases count in record details pages 2025-02-06 11:37:55 +00:00
Claudio Ortolina 6ad28f1271 When importing a record, stream all its releases 2025-02-05 15:31:08 +00:00
Claudio Ortolina f29dd1f0ab Fetch 100 releases when importing a record
The release group contains only 25 releases, which breaks tracking
scrobble status. Albums like "Toto IV" or "Hounds of Love" end up
looking like they're not part of the collections because the individual
releases are not stored.

Still error prone, because this change doesn't paginate to more than 100
records, but that will be addressed in a future commit.
2025-02-05 10:12:27 +00:00
Claudio Ortolina acd52978ae Revise naming and notification around purchasing records 2025-02-04 12:11:16 +00:00
Claudio Ortolina f21729ac00 Cache covers for 1 year 2025-01-31 07:43:06 +00:00
Claudio Ortolina f82f2d447c Mount /api/backup route 2025-01-30 14:38:02 +00:00
Claudio Ortolina b47f282223 Add database backup functionality 2025-01-30 09:39:45 +00:00
Claudio Ortolina 441bfcb9ef Add logout icon and tighten navbar on mobile 2025-01-30 09:39:33 +00:00
Claudio Ortolina cd4ad66098 Define MusicLibrary.Repo.vacuum/0 2025-01-30 09:29:17 +00:00
Claudio Ortolina 0d0350a514 Reuse Artist schema inside SearchIndex 2025-01-29 15:41:46 +00:00
Claudio Ortolina 9c3acd0fcf Remove duplication of types and formats definitions 2025-01-29 15:39:29 +00:00
Claudio Ortolina 9e1f00c9a8 Refactor type/format labels to enable translations 2025-01-29 11:04:19 +00:00
Claudio Ortolina 96bd453900 When not possible to determine otherwise, assums a record has been released 2025-01-29 10:21:41 +00:00
Claudio Ortolina 06f1997d59 Show if a wishlisted album is unreleased 2025-01-29 10:13:39 +00:00
Claudio Ortolina 4a8a37a52f Tighten up monitoring routes configuration 2025-01-28 11:49:45 +00:00
Claudio Ortolina 06a1ebbe76 Improve styling of wishlist record details page 2025-01-28 11:36:48 +00:00
Claudio Ortolina ca0b4fb0e1 Improve styling of collection record details page 2025-01-28 11:33:11 +00:00
Claudio Ortolina 97eb01f6a6 Show record ID on wishlist and collection detail pages 2025-01-27 23:29:01 +00:00
Claudio Ortolina 59371ba7be Align on tour badge in artist page 2025-01-27 10:05:31 +00:00
Claudio Ortolina fe99ec155d Align counters to baseline 2025-01-25 22:01:09 +00:00
Claudio Ortolina f1dd8cc888 Restore color of loading spinner 2025-01-25 22:00:45 +00:00
Claudio Ortolina 2a393446a6 Improve layout of artist section headers 2025-01-25 18:18:17 +00:00
Claudio Ortolina 0d77fdc031 Display badge when an artist is touring 2025-01-25 08:50:46 +00:00
Claudio Ortolina 0ce2f41793 Tone down horizontal dividers for record list in dark mode 2025-01-24 20:33:15 +00:00
Claudio Ortolina cd3b7b212a Improve aesthetics of stats dividers 2025-01-24 20:30:16 +00:00
Claudio Ortolina 542702e351 Improve header titles in editing overlay 2025-01-24 14:50:21 +00:00
Claudio Ortolina a0c06606fb Validate before constructing a complete record 2025-01-24 14:29:38 +00:00
Claudio Ortolina 38f7bf70bf Extract artist_changeset/2 to Artist module 2025-01-24 14:28:52 +00:00
Claudio Ortolina abc48cfdf3 Move fallback cover handling into Cover module 2025-01-24 12:48:03 +00:00
Claudio Ortolina 01ed11c0ab Use labels for selects in record edit form 2025-01-24 12:22:29 +00:00
Claudio Ortolina ed5447660d When updating records, correctly refresh the list view 2025-01-24 12:12:58 +00:00
Claudio Ortolina 95870aa054 Add TODOs for consequences of updating records in list views 2025-01-24 11:16:04 +00:00
Claudio Ortolina 8bf3de9b55 Enforce keys for all structs 2025-01-24 10:35:58 +00:00
Claudio Ortolina 309ca8c67a Expose stats for MusicLibrary.ErrorRepo in dashboard
No need for metrics as the repo is very low in usage.
2025-01-23 11:42:18 +00:00
Claudio Ortolina eeaaf8b542 Move ErrorTracker to its own repo and file
Note that the SQlite adapter supports version 2 onwards.
2025-01-23 10:40:36 +00:00
Claudio Ortolina b9005e52f9 Use streams with import component 2025-01-20 13:58:21 +00:00
Claudio Ortolina ed9fb25ece Autofocus query import when opening import dialog 2025-01-17 16:26:11 +00:00
Claudio Ortolina e3c901346c Use https in the Last.Fm api
Can't believe I let this slip through.
2025-01-07 10:03:21 +00:00
Claudio Ortolina 902120cc32 Display cover upload error ID 2025-01-07 09:41:09 +00:00
Claudio Ortolina bf78f456d4 Convert records in artist page to a stream 2025-01-05 21:18:46 +00:00
Claudio Ortolina ae425765ef Flatten logic of obsidian parser 2025-01-05 16:24:55 +00:00
Claudio Ortolina a0a67d3887 Consolidate actions_menu toggle and close logic 2025-01-05 15:55:37 +00:00
Claudio Ortolina 9428828064 Consolidate datetime as date formatting 2025-01-05 15:48:56 +00:00
Claudio Ortolina bb4da4143e Add "backup" format 2025-01-03 19:16:43 +00:00
Claudio Ortolina 16e8282891 Fix typing for config modules 2025-01-03 18:52:43 +00:00