Commit Graph

40 Commits

Author SHA1 Message Date
Claudio Ortolina bb4fce61c7 Extract StaticAssets hook with a single default live_session 2025-05-13 21:03:59 +01:00
Claudio Ortolina 7c547f2d80 Redirect to Last.fm and receive a token (unused) 2025-05-05 19:19:12 +01:00
Claudio Ortolina 3d3e758a7a Add endpoint to display an artist image 2025-04-27 21:20:38 +01:00
Claudio Ortolina 7c0cee4732 Mount oban_web 2025-04-14 17:14:39 +01:00
Claudio Ortolina a836782016 Wishlist missing records from the artist page 2025-04-09 11:03:31 +01:00
Claudio Ortolina 3d0eec3bff Add /api/collection endpoint 2025-03-10 11:17:51 +00:00
Claudio Ortolina b111558f07 Use a plug for Prometheus metrics
The plug is injected as early as possible in order to respond quickly,
without polluting logs.
2025-03-04 20:21:15 +00:00
Claudio Ortolina 7c6fe3c0d2 Mount metrics in application
Avoids pulling entire TelemetryMetricsPrometheus dependency.
2025-03-04 17:55:07 +00:00
Claudio Ortolina a626c68d65 Open scan modal, handle permissions, open/close video preview 2025-02-15 18:08:30 +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 4a8a37a52f Tighten up monitoring routes configuration 2025-01-28 11:49:45 +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 d194a54760 Adds API to return a random record from the collection 2025-01-01 19:28:49 +00:00
Claudio Ortolina 5cd57fdde4 Install Error Tracker to track production issues 2025-01-01 17:11:17 +00:00
Claudio Ortolina 97f26e0cd2 Serve covers under API namespace as well 2024-12-22 22:15:24 +00:00
Claudio Ortolina f1af38606a Protect API behind a bearer token 2024-12-22 18:32:04 +00:00
Claudio Ortolina cf3761ca79 Fold RequireLogin plug into Auth module 2024-12-22 16:12:31 +00:00
Claudio Ortolina 4f456322fc Bootstrap the /api namespace 2024-12-21 14:38:39 +00:00
Claudio Ortolina 0eaaab7d00 Not working 2024-12-02 12:40:09 +00:00
Claudio Ortolina edb24dc932 Keep telemetry metrics history 2024-11-25 10:02:34 +00:00
Claudio Ortolina f157fbadee Enable live dashboard in production
Includes extras to monitor ecto repos.
2024-11-23 19:26:54 +00:00
Claudio Ortolina 5b3aab51ed Change routes from "/records/*" to "/collection/*" 2024-11-20 15:43:25 +00:00
Claudio Ortolina b8f3bb9b2c Promote Collection to proper namespace 2024-11-20 15:37:04 +00:00
Claudio Ortolina 7d574c7fd9 Convert stats page to a live view 2024-10-29 16:32:34 +00:00
Claudio Ortolina 4213f24ab8 Enable edit/delete/import records in the wishlist 2024-10-21 18:51:26 +01:00
Claudio Ortolina 020430cdb4 Add wishlist show 2024-10-21 18:39:45 +01:00
Claudio Ortolina 9b305ff06a Add wishlist section with paginated list 2024-10-21 18:25:56 +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 ac27e86fb5 Rename /images to /covers 2024-10-06 16:06:33 +01:00
Claudio Ortolina 8d6bfaf035 Put some stats on the home page 2024-09-28 22:41:53 +01:00
Claudio Ortolina 1ec6712513 Add health controller
Fly.io uses '/health' to determine the application health status.
2024-09-28 15:27:59 +01:00
Claudio Ortolina 60939a304b Remove autogenerated home route
Renders records instead.
2024-09-27 19:59:15 +01:00
Claudio Ortolina 12bb923aec Rename /search to /import 2024-09-24 22:49:39 +01:00
Claudio Ortolina 089e61a574 Remove manual record creation 2024-09-24 09:27:35 +01:00
Claudio Ortolina d97f21a8ef Can search and import records
Requires refactor and cleanup, along with integration tests
2024-09-23 20:27:40 +01:00
Claudio Ortolina afc1802399 Serve local cover images 2024-09-16 09:50:07 +01:00
Claudio Ortolina e08fbe3740 Generate schema and live_view scaffold for records
1. Records are not yet tied to artists
2. The generated edit route, along with related functionality, may be
   deleted as I don't think it's gonna be needed. Leaving it included in
   the commit for reference.
2024-09-12 14:51:58 +01:00
Claudio Ortolina d547ee6f8d Generate project
Using `mix phx.new music_library --database sqlite3 --binary-id --no-mailer`
2024-09-12 14:05:08 +01:00