Commit Graph

1766 Commits

Author SHA1 Message Date
Claudio Ortolina 7f406ce455 Replace deprecated {:discard, _} with {:cancel, _} 2026-04-01 09:38:05 +01:00
Claudio Ortolina 553ad2bbb9 Discard worker when no wikipedia entry is present 2026-04-01 08:52:28 +01:00
Claudio Ortolina e3a6c0563b Do not invert order of artist sections on mobile 2026-04-01 07:51:29 +01:00
Claudio Ortolina 6fcca38e27 Make sure to pull artists info when record is updated
Catches the scenario when a new artist is added
2026-04-01 07:11:47 +01:00
Claudio Ortolina 7d65a7d4ab Make sure create record returns updated record 2026-04-01 07:06:33 +01:00
Claudio Ortolina e0a277e215 Always open chat links in new tabs 2026-03-31 19:17:58 +01:00
Claudio Ortolina c913dab692 Return controlled errors from genre population
Closes #142
2026-03-30 15:01:42 +01:00
Claudio Ortolina 92a36b915a Harden public asset endpoint against invalid payloads
Closes #143
2026-03-30 14:56:40 +01:00
Claudio Ortolina 45fd414f1b Use friendly error messages in Last.fm callback
Closes #145
2026-03-30 14:42:20 +01:00
Claudio Ortolina b0018db89d Improve error handling for color extraction
Includes a around embedding generation, which was happening twice (the
first call was redundant as record embeddings are always regenerated
after their parent artist embeddings are regenerated).

Closes #144.
2026-03-30 14:29:44 +01:00
Claudio Ortolina 53178b373b Add barcode scan quick action 2026-03-30 13:26:04 +01:00
Claudio Ortolina b3e06ef809 No need to sign request when getting Last.fm profile 2026-03-30 11:04:22 +01:00
Claudio Ortolina 19b7091358 Extend last.fm token diagnostics for maintenance page 2026-03-30 10:55:20 +01:00
Claudio Ortolina 5a71a78392 Space out no results notification 2026-03-30 07:01:22 +01:00
Claudio Ortolina 8f8eb0a656 Enable quick actions from universal search 2026-03-29 23:07:53 +01:00
Claudio Ortolina bfc6cfd9c1 Handle transport errors in RefreshScrobbles worker 2026-03-29 16:45:38 +01:00
Claudio Ortolina 027f9d1a2d Can reset Last.fm account from maintenance page 2026-03-29 09:12:53 +01:00
Claudio Ortolina 8996ca0eeb Add empty states for collection and wishlist 2026-03-29 08:53:33 +01:00
Claudio Ortolina bb1c53c44f Don't display some stats when there's no record 2026-03-29 08:48:30 +01:00
Claudio Ortolina 2e3f44495f Add record button when no latest record is present 2026-03-29 08:48:19 +01:00
Claudio Ortolina 0e6760ea73 Fix display of latest record when db is empty 2026-03-29 08:39:13 +01:00
Claudio Ortolina 87b1b4df4b Replace top_by widgets loading indicator with a skeleton 2026-03-28 21:40:51 +00:00
Claudio Ortolina 06e296b0e4 Expose scrobble rules telemetry 2026-03-28 10:59:50 +00:00
Claudio Ortolina 2e22ace7cf Move RecordsOnThisDayEmail to MusicLibraryWeb namespace 2026-03-28 10:25:03 +00:00
Claudio Ortolina b2575eb802 Make sure that list_enabled_rules returns ALL rules
Fixes partially working scrobble rule application
2026-03-28 10:07:08 +00:00
Claudio Ortolina 5c5a523fe6 Move scrobble refresh infra to Oban 2026-03-28 09:00:18 +00:00
Claudio Ortolina d45aff21ec Rename refresh_lastfm_feed to refresh_scrobbles 2026-03-28 08:59:22 +00:00
Claudio Ortolina 47f8eddff1 Move BackfillScrobbledTracks worker under MusicLibrary namespace 2026-03-28 08:05:02 +00:00
Claudio Ortolina fbcf40b4b3 Remove LastFm.Feed, LastFm.Refresh, and LastFm.Supervisor 2026-03-27 23:17:25 +00:00
Claudio Ortolina 61dd3f45c7 Move refresh config and callers to ListeningStats 2026-03-27 23:14:09 +00:00
Claudio Ortolina fa5e13f303 Add refresh/0 to ListeningStats 2026-03-27 23:08:08 +00:00
Claudio Ortolina 11f080b163 Add ListeningStats.Refresh GenServer 2026-03-27 23:06:05 +00:00
Claudio Ortolina 9643e2141c Add update/1 and subscribe/0 to ListeningStats 2026-03-27 23:03:23 +00:00
Claudio Ortolina 88542cc537 Fix Tailwind layout and spacing issues 2026-03-27 16:11:05 +00:00
Claudio Ortolina e575f2af9e Stub color extractor in tests
Makes the test suite much faster
2026-03-26 22:58:39 +00:00
Claudio Ortolina 1cf9446063 Update oban_web to 2.12
- Had to disable nonces for style-src directives (seems like they're not
  propagated everywhere in oban_web's templates)
- Doesn't seem to support crons or workflows when backed by SQLite
2026-03-26 10:09:22 +00:00
Claudio Ortolina 77aae3be38 Document casting of id param
Closes #136
2026-03-25 12:03:05 +00:00
Claudio Ortolina f27b647f93 Add @foreign_key_type to Note and ArtistInfo
Closes #135
2026-03-25 12:03:02 +00:00
Claudio Ortolina 3e84281cee Add @enforce_keys to Wikipedia.Config
Closes #134
2026-03-25 11:58:25 +00:00
Claudio Ortolina 09f61b6039 Move asset pruning logic to Assets context
Closes #130
2026-03-25 11:55:28 +00:00
Claudio Ortolina 0ccaf46ebd Standardize fetch_* to refresh_* in Artists context
Closes #132
2026-03-25 11:52:43 +00:00
Claudio Ortolina e4eccf4606 Move embedding regeneration to Records context
Closes #131
2026-03-25 11:48:46 +00:00
Claudio Ortolina abac91aa42 Standardize pagination to Keyword.get pattern
Closes #137.
2026-03-25 11:45:21 +00:00
Claudio Ortolina a0be1a5b9a Extract shared request helpers in Wikipedia.API 2026-03-25 11:41:05 +00:00
Claudio Ortolina 0295e58e57 Add rate limiting to Wikipedia and BraveSearch APIs
Closes #133
2026-03-25 11:38:17 +00:00
Claudio Ortolina 766a1dd7ed Use lazy Logger in PruneAssets worker
Closes #139
2026-03-25 11:29:21 +00:00
Claudio Ortolina 0381008fdc Add missing dark mode class in search components
Closes #138
2026-03-25 11:25:25 +00:00
Claudio Ortolina 505bf7cbe4 Fix artist_play_count to remove duplicates 2026-03-24 15:28:07 +00:00
Claudio Ortolina 7a4396ce65 Load lastfm artist info only when bio is not present 2026-03-24 15:11:09 +00:00
Claudio Ortolina c9283d7f28 Compute artist play count from db 2026-03-24 15:07:50 +00:00