Claudio Ortolina
8350ffd3a4
To get artist info, try mbid and then artist name
2024-12-04 21:07:56 +00:00
Claudio Ortolina
e1dc2bfc7f
Make MusicBrainz user agent configurable
2024-12-04 10:44:31 +00:00
Claudio Ortolina
bef38967a1
Stub artist show test
2024-12-03 20:16:35 +00:00
Claudio Ortolina
ccefc6e697
Update to new interpolation syntax
...
Includes a fix to a brittle test that failed due to changes in the
number of linebreaks.
2024-12-03 00:08:32 +00:00
Claudio Ortolina
963b3c826f
Extract Records.Artist
2024-12-02 10:55:12 +00:00
Claudio Ortolina
228b4bc440
Use musicbrainz_id as a key for embedded artists
2024-12-02 09:23:13 +00:00
Claudio Ortolina
f0212eeb6f
Consolidate cover resize logic
...
Moves resizing out of the MusicBrainz namespace to Records - which
improves division of responsibilities, and removes double resizing
during import.
2024-11-26 08:35:16 +00:00
Claudio Ortolina
eef60a66a8
Shorten "No MusicBrainz ID" -> "No MB ID"
...
So that it's inline with other UI elements, and fits nicely in mobile UI
2024-11-26 08:03:34 +00:00
Claudio Ortolina
93b347ad8d
Add badge for tracks whose albums cannot be imported
...
Includes a small optimization that removes "" release IDs from the list
of IDs checked against releases in the database.
2024-11-23 22:57:25 +00:00
Claudio Ortolina
0073b15125
Fix unused variable warnings
2024-11-21 09:38:42 +00:00
Claudio Ortolina
81e332d00d
Fix sr text for wishlisting from scrobble activity
...
Includes an integration test for the scrobble activity feed.
2024-11-21 09:20:36 +00:00
Claudio Ortolina
5ec3b67c08
Add wishlist purchasing test
2024-11-20 18:37:16 +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
2ab978d5f4
Extract release_groups_fixtures
2024-11-12 09:48:03 +00:00
Claudio Ortolina
05d1d648b1
Streamline batch module, removing obsolete functions
2024-11-10 14:27:25 +00:00
Claudio Ortolina
a0543de1f2
Namespace MusicBrainz.APIBehaviourMock
2024-11-04 09:32:25 +00:00
Claudio Ortolina
43b4ee1ba3
Fix unused variable warning
2024-11-04 09:29:45 +00:00
Claudio Ortolina
c9beef6bdd
Add test to make sure wishlist records don't appear in collection
2024-11-03 16:46:23 +00:00
Claudio Ortolina
79eb5a8d37
Revert "Extract stats data grid component"
...
This reverts commit 432f09cf6f .
2024-10-30 17:52:00 +00:00
Claudio Ortolina
432f09cf6f
Extract stats data grid component
2024-10-30 17:18:10 +00:00
Claudio Ortolina
7d574c7fd9
Convert stats page to a live view
2024-10-29 16:32:34 +00:00
Claudio Ortolina
804727082c
Render timestamps as dates
...
No need for time precision in the UI
2024-10-29 16:18:22 +00:00
Claudio Ortolina
60ae641902
Redesign record show page
2024-10-26 23:09:33 +01:00
Claudio Ortolina
750dae431b
Redesign import dialog
2024-10-25 23:20:13 +01:00
Claudio Ortolina
781d9f8640
Use a dropdown to import records
2024-10-25 10:29:42 +01:00
Claudio Ortolina
152ab0287a
Update test failing due to incorrect parameters
2024-10-19 19:46:57 +01:00
Claudio Ortolina
d367c6fa09
Display purchase date in details
2024-10-19 19:29:40 +01:00
Claudio Ortolina
54f8da81b6
Insert default purchased_at date when importing a record
2024-10-19 19:22:43 +01:00
Claudio Ortolina
9ac378c729
Shorten button text
2024-10-18 11:25:27 +01:00
Claudio Ortolina
3c40caa425
Replace record collection table with custom list
2024-10-17 16:50:54 +01:00
Claudio Ortolina
6e3300429b
Collection defaults to 100 records per page
2024-10-15 22:53:41 +01:00
Claudio Ortolina
6c9d1775d7
Rename application sections
2024-10-13 21:58:12 +01:00
Claudio Ortolina
9f383dfc5b
Make db-dependent tests sync
...
As explained at
https://hexdocs.pm/ecto_sqlite3/Ecto.Adapters.SQLite3.html#module-async-sandbox-testing :
The Ecto SQLite3 adapter does not support async tests when used with
Ecto.Adapters.SQL.Sandbox. This is due to SQLite only allowing up one
write transaction at a time, which often does not work with the Sandbox
approach of wrapping each test in a transaction.
2024-10-10 15:54:22 +01:00
Claudio Ortolina
201c2edc01
Enable tagged search
2024-10-10 10:02:26 +01:00
Claudio Ortolina
1fdf36ea8a
Include artists in record test fixture
2024-10-10 10:02:03 +01:00
Claudio Ortolina
10003c34f6
Include timestamps in record detail page
2024-10-10 08:00:07 +01:00
Claudio Ortolina
76907a4a6f
Make all tests async
...
Doesn't make a difference at this stage, but it's a good foundation as
the application grows.
2024-10-08 16:53:47 +01:00
Claudio Ortolina
1e245547bc
Display no results notice in import dialog
2024-10-07 15:16:41 +01:00
Claudio Ortolina
d4f93eae03
Shorten Import button text
2024-10-07 15:11:23 +01:00
Claudio Ortolina
2e950325cb
Add test to verify that musicbrainz_data gets stored
2024-10-07 08:39:22 +01:00
Claudio Ortolina
2c3babdf13
Normalize music_brainz -> musicbrainz spell
2024-10-07 08:27:47 +01:00
Claudio Ortolina
ac27e86fb5
Rename /images to /covers
2024-10-06 16:06:33 +01:00
Claudio Ortolina
6913ee2d8d
Simplify import logic and add relevant tests
...
Import directly redirects to the record - previous version was buggy and
worked completely by chance.
In addition, this commit adds extensive tests around importing a record
via use of mocks.
2024-10-05 21:46:52 +01:00
Claudio Ortolina
ea6a856f30
Rename test for consistency
2024-10-04 20:41:35 +01:00
Claudio Ortolina
220dfe3c89
Add record show tests
2024-10-04 20:40:55 +01:00
Claudio Ortolina
ec0a96087c
Improve cover upload input
...
- Enable drag and drop (invisible)
- Show upload progress
- Add relevant tests
2024-10-04 12:07:00 +01:00
Claudio Ortolina
e23caabff7
Improve record list tests
2024-10-03 14:07:19 +01:00
Claudio Ortolina
024d95da7c
Use release instead of year
2024-10-02 14:22:22 +01:00
Claudio Ortolina
7ebc12c4ac
Improve records list tests
...
- Remove scaffolded tests (precursor to removing functionality)
- Add tests for paginated list
2024-09-23 14:52:37 +01:00