Commit Graph

153 Commits

Author SHA1 Message Date
Claudio Ortolina d603bc2ffd Define a queue for heavy writes 2025-04-27 21:23:13 +01:00
Claudio Ortolina 2c57f9bf65 Add Discogs module 2025-04-25 18:09:43 +01:00
Claudio Ortolina 8fcb5ad46b Update tailwind from 4.1.3 to 4.1.4 2025-04-15 08:46:25 +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 099c895c8f Use localized scrobbled_at label 2025-04-10 12:49:23 +01:00
Claudio Ortolina 896450fb0a Update tailwind from 4.1.2 to 4.1.3 2025-04-05 07:55:11 +01:00
Claudio Ortolina a6c7c67a96 Update tailwind from 4.1.1 to 4.1.2 2025-04-03 18:19:20 +01:00
Claudio Ortolina f0703caa19 Update tailwind from 4.1.0 to 4.1.1 2025-04-03 08:01:31 +01:00
Claudio Ortolina 086705b7b3 Update tailwind from 4.0.17 to 4.1.0 2025-04-01 19:11:13 +01:00
Claudio Ortolina c113202640 Update tailwind from 4.0.16 to 4.0.17 2025-03-26 18:25:32 +00:00
Claudio Ortolina 8ff37b4903 Update tailwind from 4.0.15 to 4.0.16 2025-03-25 18:08:16 +00:00
Claudio Ortolina 1f43e1d993 Use JSON instead of Jason where possible
In some places, we need pretty printing so it's not possible to remove
the dependency.
2025-03-23 08:34:25 +00:00
Claudio Ortolina 15c20f6803 Use fast_html for tests
Gives a visible speed bump: on a M1 machine tests go from 1.7s to 1.2s
2025-03-23 08:16:39 +00:00
Claudio Ortolina 8fbb7f5a01 Update Tailwind from 4.0.14 to 4.0.15 2025-03-20 19:26:19 +00:00
Claudio Ortolina 6c9a504c5e Update tailwind from 4.0.13 to 4.0.14 2025-03-13 14:59:59 +00:00
Claudio Ortolina 1b1222df06 Update tailwind from 4.0.12 to 4.0.13 2025-03-11 20:22:14 +00:00
Claudio Ortolina 6ef014b02a Update tailwind from 4.0.11 to 4.0.12 2025-03-09 08:11:25 +00:00
Claudio Ortolina 95f9832d00 Update tailwind from 4.0.9 to 4.0.11 2025-03-06 14:51:00 +00:00
Claudio Ortolina d9e87d6c80 Migrate to Tailwind v4 2025-02-28 20:46:53 +00:00
Claudio Ortolina a218942110 Remove mox in favour of built-in Req stubs 2025-02-28 16:41:16 +00:00
Claudio Ortolina 7ac2f7a815 Remove LastFm.APIBehaviour 2025-02-27 13:43:49 +00:00
Claudio Ortolina 3d11cd585d Use built-in Req stub for LastFm tests 2025-02-27 13:43:49 +00:00
Claudio Ortolina 4a8a37a52f Tighten up monitoring routes configuration 2025-01-28 11:49:45 +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 04f5c6e5a1 Rewrite LV tests using PhoenixTest 2025-01-05 11:29:33 +00:00
Claudio Ortolina 5cd57fdde4 Install Error Tracker to track production issues 2025-01-01 17:11:17 +00:00
Claudio Ortolina d35cb8f05d Update Tailwind version
3.4.3 => 3.4.17
2024-12-23 23:38:11 +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 7575e5978a Extract config for MusicBrainz 2024-12-04 10:33:41 +00:00
Claudio Ortolina 14518870a0 Make LastFm user agent configurable 2024-12-04 10:07:25 +00:00
Claudio Ortolina 61cda5a62c Explicitly set auto-refresh config for LastFm refresh 2024-12-03 19:58:17 +00:00
Claudio Ortolina f58a5e83b7 Revert "Reduce pool size in test"
This reverts commit 7a26b6bda6.
2024-12-03 19:42:52 +00:00
Claudio Ortolina 7a26b6bda6 Reduce pool size in test
Due to SQLite having one single write transaction, database tests cannot
be executed async, making a large pool ineffective at best. A setting of
10 is enough for those tests where we perform multiple read operations
(which tend to be sequential anyway).

Test execution time before and after this change remains effectively the
same.
2024-11-30 22:41:56 +00:00
Claudio Ortolina 3facdcb5bd Compile dev routes in test
As the route is rendered in the stats page, it needs to be enabled in
all Mix environments in order to avoid compile time warnings.
2024-11-29 15:26:59 +00: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 f157fbadee Enable live dashboard in production
Includes extras to monitor ecto repos.
2024-11-23 19:26:54 +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 d818cdbae5 Don't run LastFm.Feed in tests 2024-11-04 09:45:05 +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 e4c0ce58f6 Increase test pool size to avoid resource contention 2024-10-08 20:37:28 +01:00
Claudio Ortolina 94ca2ab625 Move databases into /data 2024-10-07 08:12:05 +01:00
Claudio Ortolina ecce630ae4 Setup Sentry 2024-10-03 10:11:04 +01:00