Commit Graph

138 Commits

Author SHA1 Message Date
Claudio Ortolina 1f1c69f738 Allow uploading custom cover art 2024-09-30 10:31:45 +01:00
Claudio Ortolina b0b39671bc Only use etags for caching cover art
Preps the ground for custom uploads
2024-09-30 10:31:05 +01:00
Claudio Ortolina a1c782a670 Fix artwork shadow in record list 2024-09-30 09:40:42 +01:00
Claudio Ortolina 547195e455 Improve show record interface
Use a single column layout on mobile, with centered buttons.
2024-09-30 09:40:26 +01:00
Claudio Ortolina c58f783e9e Fix double render of records
Records were rendered twice due to handle_params reassigning data
irrespectively of the need for it.
2024-09-30 09:16:15 +01:00
Claudio Ortolina 95a0a21877 Introduce gold brand color 2024-09-30 09:15:12 +01:00
Claudio Ortolina ccd3dbfa74 Add top navigation 2024-09-29 22:54:57 +01:00
Claudio Ortolina 9553e66262 Fix stats page color scheme 2024-09-29 19:10:54 +01:00
Claudio Ortolina 039ba95a60 Improve home page stats 2024-09-29 17:21:48 +01:00
Claudio Ortolina 8d6bfaf035 Put some stats on the home page 2024-09-28 22:41:53 +01:00
Claudio Ortolina e00c926afe Fix positioning of format labels 2024-09-28 20:25:27 +01:00
Claudio Ortolina 64ea8fe3fa Extend import to support choosing format 2024-09-28 20:23:22 +01:00
Claudio Ortolina 82e5962c74 Add record format (defaulting to CD) 2024-09-28 19:16:15 +01:00
Claudio Ortolina 154b94646a Disallow all spider traffic 2024-09-28 16:01:01 +01:00
Claudio Ortolina 02dccaf042 Use icons in record list 2024-09-28 15:55:50 +01:00
Claudio Ortolina 1ec6712513 Add health controller
Fly.io uses '/health' to determine the application health status.
2024-09-28 15:27:59 +01:00
Claudio Ortolina 60939a304b Remove autogenerated home route
Renders records instead.
2024-09-27 19:59:15 +01:00
Claudio Ortolina 97ebf13c7b Update production host 2024-09-27 19:50:08 +01:00
Claudio Ortolina 72d5ad466b Setup continuous deploy via GitHub 2024-09-27 19:40:34 +01:00
Claudio Ortolina 7dec0309b5 Setup fly.io deployment 2024-09-27 19:38:17 +01:00
Claudio Ortolina 7b46333665 Reduce top padding on mobile 2024-09-27 10:59:13 +01:00
Claudio Ortolina a3310eeb6a Allow access from external devices 2024-09-27 10:58:59 +01:00
Claudio Ortolina 17b7a56e70 Fix pagination links for smallest viewport 2024-09-27 10:39:08 +01:00
Claudio Ortolina 92de18e493 Restyle records list to work better on mobile 2024-09-27 10:25:09 +01:00
Claudio Ortolina ae45ab44df Can search and paginate records 2024-09-27 09:46:45 +01:00
Claudio Ortolina 95164cd977 Make search match all artists attribute
Ignores the fact that artists is a JSON structure - just treats it as a
giant piece of text.
2024-09-26 16:32:01 +01:00
Claudio Ortolina cebc50e107 Make delete button red
Not sure if this is the correct Tailwind approach though.
2024-09-24 22:54:26 +01:00
Claudio Ortolina f6d2bcf3fd Add function to search for record 2024-09-24 22:49:40 +01:00
Claudio Ortolina 71e7976502 Update dependencies 2024-09-24 22:49:40 +01:00
Claudio Ortolina 12bb923aec Rename /search to /import 2024-09-24 22:49:39 +01:00
Claudio Ortolina 25cbcdf16c Align modals to the top 2024-09-24 20:06:34 +01:00
Claudio Ortolina d3ea26ed8f Improve importing visual feedback 2024-09-24 18:33:39 +01:00
Claudio Ortolina 31d74fde34 Handle importing errors 2024-09-24 18:33:16 +01:00
Claudio Ortolina 54ee84ad2f Can delete records from the record show view 2024-09-24 09:57:31 +01:00
Claudio Ortolina 0b07eaf6a1 Restrict metadata editing for records
Most of the information is correct via the MusicBrainz API, however
_sometimes_ it's necessary to fix the year or the type of the album
(e.g. because of new releases).
2024-09-24 09:57:05 +01:00
Claudio Ortolina bcb70c9e1b Store artists when importing a record 2024-09-24 09:40:52 +01:00
Claudio Ortolina 089e61a574 Remove manual record creation 2024-09-24 09:27:35 +01:00
Claudio Ortolina b6ae022a6a Move obsidian-related imports under Obsidian 2024-09-24 09:21:13 +01:00
Claudio Ortolina d97f21a8ef Can search and import records
Requires refactor and cleanup, along with integration tests
2024-09-23 20:27:40 +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
Claudio Ortolina e666b247e1 Improve display of single album page 2024-09-23 14:09:21 +01:00
Claudio Ortolina 878a7d7326 Clean up importer and music_brainz modules
- Add missing docs
- Move around existing information for better documentation
- Rename some functions for consistency
2024-09-23 09:42:51 +01:00
Claudio Ortolina 15bc1816cf Add function to search the MusicBrainz API 2024-09-22 21:01:38 +01:00
Claudio Ortolina 776dcef172 Use randomized data in test fixtures 2024-09-22 20:46:48 +01:00
Claudio Ortolina 5e97f72f2a Sort records by artist, then title 2024-09-22 16:54:38 +01:00
Claudio Ortolina 380fa3428b Upgrade erlang to 27.1 2024-09-22 16:54:24 +01:00
Claudio Ortolina bc85165988 Remove stock Phoenix header 2024-09-20 18:27:31 +01:00
Claudio Ortolina 480af30e80 Improve records#show information structure 2024-09-20 18:24:38 +01:00
Claudio Ortolina 99960832c8 Adds record pagination 2024-09-20 10:05:49 +01:00
Claudio Ortolina 5623a5239f Resize cover images to 400x400 2024-09-19 13:34:26 +01:00