Claudio Ortolina
9b25556245
Refactor Record.child_release_groups/1 to use stored ids
2025-02-06 21:03:38 +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
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
7ce2b6a7b2
Add wishlist#show test
2025-01-27 23:33:11 +00:00
Claudio Ortolina
f5e29f9e59
Improve collection#show test
2025-01-27 23:31:34 +00:00
Claudio Ortolina
97eb01f6a6
Show record ID on wishlist and collection detail pages
2025-01-27 23:29:01 +00:00
Claudio Ortolina
0d77fdc031
Display badge when an artist is touring
2025-01-25 08:50:46 +00:00
Claudio Ortolina
542702e351
Improve header titles in editing overlay
2025-01-24 14:50:21 +00:00
Claudio Ortolina
3c8b39237c
Fix return type of artist_get_info fixture
2025-01-24 10:35:39 +00:00
Claudio Ortolina
96349b918d
Add missing Artists.get_artist_info/1 test
2025-01-23 15:27:55 +00:00
Claudio Ortolina
e4be44f6bb
Add missing Artists.get_all_artist_ids/0 test
2025-01-23 15:24:03 +00:00
Claudio Ortolina
b9005e52f9
Use streams with import component
2025-01-20 13:58:21 +00:00
Claudio Ortolina
53d82e661a
Extract LiveTestHelpers.escape/1
2025-01-19 16:14:59 +00:00
Claudio Ortolina
8e956577b4
Use css attr selector to test for cover images
2025-01-07 15:57:14 +00:00
Claudio Ortolina
ed6ef2c7ef
Rename record_fixture* to record*
2025-01-06 14:20:36 +00:00
Claudio Ortolina
cf377f6a0c
Remove unnecessary alias
2025-01-06 14:13:45 +00:00
Claudio Ortolina
fabf0c347a
Test redirects location in prod tests
2025-01-05 18:53:47 +00:00
Claudio Ortolina
9428828064
Consolidate datetime as date formatting
2025-01-05 15:48:56 +00:00
Claudio Ortolina
75154df3cf
Import only necessary functions from LiveViewTest
...
So that we don't clash with the imports of PhoenixTest
2025-01-05 15:40:21 +00:00
Claudio Ortolina
04f5c6e5a1
Rewrite LV tests using PhoenixTest
2025-01-05 11:29:33 +00:00
Claudio Ortolina
229445ffc9
Add missing logged_out tag
2025-01-05 11:28:45 +00:00
Claudio Ortolina
5d40080741
Add note about SQLite RANDOM function
2025-01-02 09:38:50 +00:00
Claudio Ortolina
65899b8077
Add tests for /api/collection/random endpoint
2025-01-01 20:57:01 +00:00
Claudio Ortolina
1208d35174
Add prod tests for dev routes
2025-01-01 17:20:32 +00:00
Claudio Ortolina
8bd7197d18
Show purchase date in collection view
2025-01-01 16:45:43 +00:00
Claudio Ortolina
97533416f7
Support arbitrary resizing in cover controller
2024-12-31 11:58:30 +00:00
Claudio Ortolina
68b2d48228
Return thumb_url in latest record response
2024-12-31 11:39:36 +00:00
Claudio Ortolina
6cf7e2c9de
Add ordering tests to Collection context
2024-12-30 17:16:14 +00:00
Claudio Ortolina
05f4d6039b
Mock artist info fetch to avoid test flakyness
2024-12-29 21:23:04 +00:00
Claudio Ortolina
6427710029
Enable sorting options in collection view
2024-12-29 15:47:37 +00:00
Claudio Ortolina
1a0e505e51
Rework error messages for failed playcount/bio fetch
2024-12-27 17:57:36 +00:00
Claudio Ortolina
33a3ed548d
Add test for https enforcement
2024-12-26 14:24:47 +00:00
Claudio Ortolina
fc0120e5fc
Revert "Template host in verification tests"
...
This reverts commit d65a2223db .
2024-12-25 19:57:27 +00:00
Claudio Ortolina
d65a2223db
Template host in verification tests
2024-12-25 19:54:23 +00:00
Claudio Ortolina
084ec04079
Add prod tests for cover URLs
2024-12-22 22:20:29 +00:00
Claudio Ortolina
97f26e0cd2
Serve covers under API namespace as well
2024-12-22 22:15:24 +00:00
Claudio Ortolina
c92e7cc76a
Add HURL production test suite
2024-12-22 18:50:30 +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
341d276db5
Include artists and cover in latest record JSON
2024-12-22 15:55:41 +00:00
Claudio Ortolina
53e8d88b6a
Rename auth_password -> login_password
2024-12-21 14:57:44 +00:00
Claudio Ortolina
4f456322fc
Bootstrap the /api namespace
2024-12-21 14:38:39 +00:00
Claudio Ortolina
9dce1cacb9
Where possible, use built-in JSON instead of Jason
...
Note that it's not possible to replace any call where we encode and
pretty print, as JSON doesn't have such functionality.
2024-12-19 20:18:09 +00:00
Claudio Ortolina
53b89dc329
Extract Artists context
2024-12-18 11:12:06 +00:00
Claudio Ortolina
019d2fb7f2
Reduce size of test data in stats test
...
Test is equally effective and a few times faster.
2024-12-15 18:57:48 +03:00