Commit Graph

902 Commits

Author SHA1 Message Date
Claudio Ortolina 74602323ee Use pattern matching to improve readability 2025-02-27 16:33:09 +00:00
Claudio Ortolina 47bfe736ef Remove unused LastFm.Finch pool 2025-02-27 16:29:34 +00:00
Claudio Ortolina 68d8fa4d3c Improve readability by moving on one line 2025-02-27 13:47:45 +00:00
Claudio Ortolina 7ac2f7a815 Remove LastFm.APIBehaviour 2025-02-27 13:43:49 +00:00
Claudio Ortolina 3d11cd585d Use built-in Req stub for LastFm tests 2025-02-27 13:43:49 +00:00
Claudio Ortolina 522b3034aa Rewrite LastFm.APIImpl using Req 2025-02-27 13:43:48 +00:00
Claudio Ortolina eb6d49fe96 Allow longer LastFm refresh times 2025-02-27 13:43:48 +00:00
Claudio Ortolina 16b19de163 Remove unique index from records 2025-02-26 10:56:29 +00:00
Claudio Ortolina 5fa0b090fd Add gh to mise tools 2025-02-25 16:51:40 +00:00
Claudio Ortolina 0c64886269 Update dependencies
castore 1.0.11 => 1.0.12
2025-02-25 14:05:48 +00:00
Claudio Ortolina 25567eeb26 Extract trigger_hook/3-4 test helper 2025-02-25 14:03:08 +00:00
Claudio Ortolina e441a2455a Add sqlite to mise tools 2025-02-24 11:10:10 +00:00
Claudio Ortolina 1902c5f42f Sign and encrypt cookies 2025-02-24 11:02:00 +00:00
Claudio Ortolina fabc3a7557 Set strict session for a week 2025-02-24 11:01:45 +00:00
Claudio Ortolina 5c98a5a7ef Update dependencies
thousand_island 1.3.10 => 1.3.11
2025-02-23 20:44:29 +00:00
Claudio Ortolina 2617094e7b Always reset artist records when patching the page 2025-02-23 19:17:27 +00:00
Claudio Ortolina a7a95efde2 Make render bio work on bio summary as well 2025-02-23 19:12:22 +00:00
Claudio Ortolina 3599ab19a1 Reformat artist show page 2025-02-23 19:12:02 +00:00
Claudio Ortolina 825c00dd50 Add summary to artist 2025-02-23 18:53:28 +00:00
Claudio Ortolina c67d11da0c Show similar artists in artist page
Styling to be defined - only links for now.
2025-02-23 16:56:52 +00:00
Claudio Ortolina 1193fa5914 Update npm dependencies
barcode-detector 3.0.0 => 3.0.1
2025-02-23 16:45:02 +00:00
Claudio Ortolina 1685354487 Remove unnecessary hover effect on barcode results 2025-02-22 13:35:38 +00:00
Claudio Ortolina 15b60a4619 Link badges in barcode scanner results 2025-02-22 13:34:21 +00:00
Claudio Ortolina 570ce4b145 Can count records by genre 2025-02-22 10:34:56 +00:00
Claudio Ortolina 36d0d29316 Add production backup task to mise 2025-02-22 10:03:14 +00:00
Claudio Ortolina aba0eeeffe Add flyctl to mise tools 2025-02-22 10:02:55 +00:00
Claudio Ortolina dd4f43144f Hide static-checks-hook mise task 2025-02-22 10:01:50 +00:00
Claudio Ortolina b44379134b Add unique list of genres to Livebook 2025-02-22 10:01:50 +00:00
Claudio Ortolina 358dc10138 Ping production instance before backing up the db 2025-02-22 10:00:15 +00:00
Claudio Ortolina 269cd4970f Add 'test' and 'console' mise tasks 2025-02-21 17:29:30 +00:00
Claudio Ortolina 889ba61e4c Extract LastFm module 2025-02-21 16:02:18 +00:00
Claudio Ortolina 4835d4bdee Move DataComponents to /components 2025-02-21 15:45:47 +00:00
Claudio Ortolina 90d8894224 Update OTP to 27.2.4 2025-02-21 14:35:43 +00:00
Claudio Ortolina 9bc2a2d309 Update dependencies
phoenix_html 4.2.0 => 4.2.1
2025-02-21 13:24:28 +00:00
Claudio Ortolina d233d0b7a1 Add pre-commit hook to make sure static checks pass 2025-02-21 08:54:22 +00:00
dependabot[bot] b6809218b1 Update dependencies: Bump phoenix from 1.7.19 to 1.7.20
Bumps [phoenix](https://github.com/phoenixframework/phoenix) from 1.7.19 to 1.7.20.
- [Release notes](https://github.com/phoenixframework/phoenix/releases)
- [Changelog](https://github.com/phoenixframework/phoenix/blob/v1.7.20/CHANGELOG.md)
- [Commits](https://github.com/phoenixframework/phoenix/compare/v1.7.19...v1.7.20)

---
updated-dependencies:
- dependency-name: phoenix
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 05:57:46 +00:00
Claudio Ortolina 4ee5984fd5 Run credo check on CI 2025-02-20 15:30:12 +00:00
Claudio Ortolina 7df136c890 Sort aliases 2025-02-20 15:27:01 +00:00
Claudio Ortolina 184c110599 Don't use parentheses on 0-arity function definitions 2025-02-20 15:27:01 +00:00
Claudio Ortolina b2daa561d7 Use aliases 2025-02-20 15:27:01 +00:00
Claudio Ortolina 26297a8bb1 Avoid unnecessary module attributes 2025-02-20 15:08:39 +00:00
Claudio Ortolina ab2d1726bf Use Application.app_dir/2 instead of :code.priv_dir 2025-02-20 15:04:29 +00:00
Claudio Ortolina 502436c987 Move api_key resolution to OpenAI module 2025-02-20 09:17:28 +00:00
Claudio Ortolina 72cc2bf0c4 Move all components under /components 2025-02-20 09:11:27 +00:00
Claudio Ortolina 55538903d4 Consolidate record components into one module 2025-02-20 09:04:47 +00:00
Claudio Ortolina 0873b12eed Fix buttons/links for scanner modal in dark mode 2025-02-19 18:58:20 +00:00
Claudio Ortolina 4ca6421767 Can barcode scan a wishlisted record and import it 2025-02-19 15:47:09 +00:00
Claudio Ortolina 818e8918ff Remove outline from camera button 2025-02-19 11:17:54 +00:00
Claudio Ortolina d09622b433 Add some debug logs when scanning barcodes 2025-02-19 11:16:32 +00:00
Claudio Ortolina ce75b42d06 Show record status when scanning
For now it only imports new records - it should also purchase wishlisted
ones.
2025-02-19 10:21:44 +00:00