Commit Graph

29 Commits

Author SHA1 Message Date
Claudio Ortolina a3f2c75f69 Remove dns_cluster 2025-09-20 12:56:05 +03:00
Claudio Ortolina 1f44e0ab9d Resolve host from Coolify's definition 2025-09-12 18:26:13 +03:00
Claudio Ortolina 21783f5dbf Resolve timezone from user browser 2025-09-11 22:14:15 +03:00
Claudio Ortolina 3519326c1a Experiment with improving sqlite performance
- Auto vacuum to write more often to the db file. Should prevent backing
  up the database and finding missing data.
- Create temporary indexes in memory - should be faster than disk
2025-09-02 14:30:27 +03:00
Claudio Ortolina def57284b1 Increase specs of production database 2025-08-24 20:43:31 +03:00
Claudio Ortolina 967c68a24d Show errors on connection 2025-08-24 11:25:40 +03:00
Claudio Ortolina 4637f701c0 Reduce cache size in production 2025-08-17 09:34:02 +03:00
Claudio Ortolina 684bf111c1 Use 64MB page size for dev and prod 2025-06-15 11:02:31 +03:00
Claudio Ortolina 42bf4cb84c Increase cache size for MusicLibrary.Repo 2025-06-01 16:33:50 +01:00
Claudio Ortolina 790a7db3d7 Don't load Last.fm credentials from env in test 2025-05-07 11:05:03 +01:00
Claudio Ortolina 95f71519d3 Store Last.fm API key with encrypted secret 2025-05-06 15:18:14 +01:00
Claudio Ortolina 7c547f2d80 Redirect to Last.fm and receive a token (unused) 2025-05-05 19:19:12 +01:00
Claudio Ortolina 2c57f9bf65 Add Discogs module 2025-04-25 18:09:43 +01:00
Claudio Ortolina c44fcc7321 Install Oban with dedicated repo 2025-04-13 18:09:53 +01:00
Claudio Ortolina 32c11f86c9 Make timezone configurable 2025-04-10 18:34:05 +01: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 f1af38606a Protect API behind a bearer token 2024-12-22 18:32:04 +00:00
Claudio Ortolina 75506b6e1c Rename AUTH_PASSWORD -> LOGIN_PASSWORD 2024-12-21 15:02:22 +00:00
Claudio Ortolina 53e8d88b6a Rename auth_password -> login_password 2024-12-21 14:57:44 +00:00
Claudio Ortolina 44a8650c6c Move API Key to configuration 2024-12-10 16:50:37 +03:00
Claudio Ortolina 1c47473c11 Move SQLite extension loading to config/runtime.exs
Addresses deprecation mentioned at https://hexdocs.pm/ecto/Ecto.Repo.html#c:init/2
2024-12-07 20:29:33 +01:00
Claudio Ortolina ffcbeb49b4 Attempt at shrinking memory usage 2024-11-28 17:22:56 +00:00
Claudio Ortolina 62b5e23fcd (EXP) Lower sqlite cache size in production 2024-11-25 10:54:39 +00:00
Claudio Ortolina 18ae8b7866 Refactor last_fm configuration
Move all configuration outside of the LastFm module, so that it's not
polluted with references to the parent music_library application.
2024-11-06 12:09:38 +00:00
Claudio Ortolina 1abcc5e6ad Add LastFm feed for a given user 2024-11-04 09:17:01 +00:00
Claudio Ortolina 214d12f6cb Use password from environment 2024-10-21 08:54:46 +01:00
Claudio Ortolina 5e7280176f Remove Sentry
Not used, and it has a quite a few outdated dependencies.
2024-10-14 18:58:10 +01:00
Claudio Ortolina ecce630ae4 Setup Sentry 2024-10-03 10:11:04 +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