Claudio Ortolina
0e0e7e09be
Add tests for get_record!/1 and get_cover/1
2024-11-11 19:02:10 +00:00
Claudio Ortolina
f4ae1f0fc9
Add tests for Records.search_records_count/2
2024-11-11 14:19:57 +00:00
Claudio Ortolina
bcf555ea4c
Remove duplication in artists attributes fixture generation
2024-11-11 12:41:56 +00:00
Claudio Ortolina
066fb30b21
Explain artist_uuid test implementation
2024-11-11 12:39:28 +00:00
Claudio Ortolina
aba8e6e490
Fix unused variable warning
2024-11-11 12:35:32 +00:00
Claudio Ortolina
0cbece6ed4
Add Records search tests
...
Important note: to help, we use a deterministic implementation of artist
UUID generation based on the artist name.
2024-11-11 10:28:17 +00:00
Claudio Ortolina
f704d3834b
Add collection context tests
2024-11-10 21:12:09 +00:00
Claudio Ortolina
62b4578a44
Add wishlist context tests
2024-11-10 19:11:57 +00:00
Claudio Ortolina
05d1d648b1
Streamline batch module, removing obsolete functions
2024-11-10 14:27:25 +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
5674937ab0
Use larger artwork for scrobble activity
2024-11-05 09:32:08 +00:00
Claudio Ortolina
d818cdbae5
Don't run LastFm.Feed in tests
2024-11-04 09:45:05 +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
7e4e57f6ac
Extract LastFm.Track and related structs
2024-11-04 09:25:43 +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
79edd6eade
Add missing index to records table
...
Updates a relevant test to remove flakyness
2024-10-22 22:15:13 +01:00
Claudio Ortolina
65a6bbbea9
Increase tests counts
...
Makes distribution of counts more interesting, reducing false positives
in the assertions (which are very simple)
2024-10-22 18:36:13 +01:00
Claudio Ortolina
bb74057c31
Include wishlist count in stats page
2024-10-22 18:29:51 +01:00
Claudio Ortolina
913694b380
Rename "Sign in" to "Login"
2024-10-22 13:37:48 +01:00
Claudio Ortolina
be314e3916
Reset session when hitting /login
2024-10-21 09:59:29 +01:00
Claudio Ortolina
432090dec4
Add tests for require_login plug
2024-10-21 09:42:45 +01:00
Claudio Ortolina
4fcfc6c921
Complete authentication flow with dummy password
2024-10-20 19:25:31 +01:00
Claudio Ortolina
6d2d86a82f
Move MusicBrainz code to top-level namespace
2024-10-20 15:38:17 +01:00
Claudio Ortolina
152ab0287a
Update test failing due to incorrect parameters
2024-10-19 19:46:57 +01:00
Claudio Ortolina
28609dcf87
Display latest purchase in stats page
2024-10-19 19:46:39 +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
2661c9f60d
Display type stats
2024-10-14 22:33:05 +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
e30ba5ef3f
Implement basic parser
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
52c1be1e32
Restructure stats
...
Split out count by format
2024-10-08 20:36:39 +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
be9dc37ed5
Use long labels for formats in stats page
2024-10-07 10:04:31 +01:00