Claudio Ortolina
94ca2ab625
Move databases into /data
2024-10-07 08:12:05 +01:00
Claudio Ortolina
ecfeeb3158
Improve behaviour of "Back to records" link
...
When possible, maintain search and pagination params.
2024-10-07 08:04:24 +01:00
Claudio Ortolina
dcde30ba86
Extend script to restore remote data to local
2024-10-06 16:16:23 +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
a72236449d
Extract musicbrainz behaviour and impl
2024-10-05 20:30:18 +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
6a8d4f1e54
Revert "Ensure code is formatted on CI"
...
This reverts commit 63e63b3bb4 .
2024-10-04 12:47:56 +01:00
Claudio Ortolina
63e63b3bb4
Ensure code is formatted on CI
2024-10-04 12:44:27 +01:00
Claudio Ortolina
8a67736476
Uniform CI job names
2024-10-04 12:44:08 +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
d191ff50fd
Set default font to Inter
2024-10-03 23:18:32 +01:00
Claudio Ortolina
70ca206b5d
Show artists for latest record
2024-10-03 23:10:55 +01:00
Claudio Ortolina
360b287a2c
Space out genre badges
2024-10-03 20:12:39 +01:00
Claudio Ortolina
995ec3f624
Render format and type selects on the same line
...
With the exception of mobile, where the stacked layout still makes
sense.
2024-10-03 20:10:51 +01:00
Claudio Ortolina
6584364c2b
CI improvements ( #4 )
...
* Make deploy dependent on succesful testing
* Use cache action v4
* Test on ubuntu 24.04
2024-10-03 19:07:57 +01:00
Claudio Ortolina
6107fae4a6
Merge pull request #3 from cloud8421/consolidate-ci
...
Consolidate CI pipeline
2024-10-03 19:00:51 +01:00
Claudio Ortolina
d94ae553a3
Consolidate CI pipeline
...
Test on every commit, deploy only on main
2024-10-03 18:59:20 +01:00
Claudio Ortolina
8ee1fec3cb
Allow editing of record format
2024-10-03 18:51:24 +01:00
Claudio Ortolina
6a1803ea06
Extract record types for readability
2024-10-03 18:51:05 +01:00
Claudio Ortolina
e7fc335251
Correctly return 404s in /images endpoint
2024-10-03 16:14:27 +01:00
Claudio Ortolina
040859220b
Cache CI test artefacts ( #2 )
2024-10-03 15:52:41 +01:00
Claudio Ortolina
18189237cb
Merge pull request #1 from cloud8421/setup-ci
...
Setup ci
2024-10-03 15:39:33 +01:00
Claudio Ortolina
0f16c62a27
Fix
2024-10-03 15:34:38 +01:00
Claudio Ortolina
22a55e829d
Fix version file input
2024-10-03 15:33:20 +01:00
Claudio Ortolina
75ec0e0472
Attempt at setting up CI
2024-10-03 14:11:42 +01:00
Claudio Ortolina
e23caabff7
Improve record list tests
2024-10-03 14:07:19 +01:00
Claudio Ortolina
c192458efe
Setup Sentry for LiveView error tracking
2024-10-03 13:37:33 +01:00
Claudio Ortolina
e2dd68a135
Upgrade Sentry
2024-10-03 13:23:47 +01:00
Claudio Ortolina
8e881fb546
Fix missing artist names in record list
2024-10-03 13:18:38 +01:00
Claudio Ortolina
040c73ce59
Remove column labels from record list
2024-10-03 10:38:33 +01:00
Claudio Ortolina
ecce630ae4
Setup Sentry
2024-10-03 10:11:04 +01:00
Claudio Ortolina
a02e6a5fcf
Rename record to latest record in stats
2024-10-02 21:27:38 +01:00
Claudio Ortolina
62d792a244
Show record count by format in stats dashboard
2024-10-02 21:26:21 +01:00
Claudio Ortolina
6edbb7e057
Add mix task to download production DB
2024-10-02 17:08:50 +01:00
Claudio Ortolina
1e0d5486e0
Rename image* to cover*
2024-10-02 16:33:42 +01:00
Claudio Ortolina
fb978406cd
Remove year from records
2024-10-02 14:32:27 +01:00
Claudio Ortolina
024d95da7c
Use release instead of year
2024-10-02 14:22:22 +01:00
Claudio Ortolina
97b04ba8a2
Remove scaffolded test
...
Doesn't provide any value - should be replaced with proper integration
tests.
2024-10-01 22:39:03 +01:00
Claudio Ortolina
83c70d4ec3
Make import format choice buttons visible on mobile
2024-10-01 22:37:46 +01:00
Claudio Ortolina
df83d0a82b
Fix inconsistencies in import and search
2024-10-01 22:32:05 +01:00
Claudio Ortolina
a3eaaef9d2
Move release group assembling logic into MB module
2024-10-01 17:22:31 +01:00
Claudio Ortolina
e7405f4c71
Fix wrong event name for import logic
2024-10-01 17:22:11 +01:00
Claudio Ortolina
82b1f12f99
Avoid loading image-related fields when not necessary
...
Image data and url are only necessary when loading the image, which is
done exclusively via the /images endpoint. Most other read queries can
safely exclude them, and rely only on the hash as a cache key.
2024-10-01 12:26:27 +01:00
Claudio Ortolina
c89ef20b07
Make input names for search(es) more consistent
2024-09-30 21:45:34 +01:00
Claudio Ortolina
9c7a2917a9
Style the record type when showing an album
2024-09-30 20:33:28 +01:00
Claudio Ortolina
9b7429dd9f
Store image hashes in the db - part 2
2024-09-30 20:20:32 +01:00
Claudio Ortolina
180224d381
Store image hashes in the db - part 1
2024-09-30 20:09:32 +01:00
Claudio Ortolina
9cd24bad17
No need to keep uploaded images in the socket
...
As images are only processed on save AFTER validation, we can avoid
keeping them in the socket, with the only downside of losing a little
resilience in case the save operation errors out (in which case the
upload would be lost).
2024-09-30 13:50:07 +01:00