Commit Graph

1323 Commits

Author SHA1 Message Date
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
Claudio Ortolina 5ef05a94f5 Move badge/1 to core components 2025-02-19 09:49:05 +00:00
Claudio Ortolina 163bbe8902 Add test for importing a record via barcode scan 2025-02-18 20:40:04 +00:00
Claudio Ortolina 324732b5ee Use different fixture for marbles individual release 2025-02-18 20:38:46 +00:00
Claudio Ortolina adabb6ad28 Fix refresh fixtures Mix task 2025-02-18 20:38:11 +00:00
Claudio Ortolina ff71461c6d Add pre-commit static checks 2025-02-18 17:00:42 +00:00
Claudio Ortolina 631552b487 Turn off unneeded Credo checks 2025-02-18 12:56:29 +00:00
Claudio Ortolina 17a1e87be5 Fix 'variable name before the pattern' consistency issue 2025-02-18 12:41:10 +00:00
Claudio Ortolina 50b025efca Refactor with to avoid internal assignments 2025-02-18 12:38:29 +00:00
Claudio Ortolina 025a5105ed Use map_join instead of map+join 2025-02-18 10:14:31 +00:00
Claudio Ortolina c25402cd4d Install Credo 2025-02-18 10:14:15 +00:00
Claudio Ortolina b3875b6078 Add hurl to mise tools 2025-02-18 09:55:55 +00:00
Claudio Ortolina 587b2e8630 Document mise usage 2025-02-18 09:48:14 +00:00
Claudio Ortolina ffd8c627b7 Add more mise tasks
- Update deps
- Outdated deps
- Production console
2025-02-18 09:44:27 +00:00
Claudio Ortolina 72488fa8f3 Update npm dependencies
type-fest 4.34.1 => 4.35.0
2025-02-18 09:40:02 +00:00
Claudio Ortolina 29b2704c2a Update dependencies
thousand_island 1.3.9 => 1.3.10
2025-02-18 09:33:31 +00:00
Claudio Ortolina 94a2784020 Move function in MusicBrainz main module 2025-02-17 22:07:49 +00:00
Claudio Ortolina e218b06350 Rename APIBehaviourMock -> APIMock 2025-02-17 21:41:50 +00:00
Claudio Ortolina ce5c6f1e3c Simplify test_helper logic 2025-02-17 21:39:49 +00:00
Claudio Ortolina 3b097ff89f Improve mise setup task
Use declarative approach to set working directory
2025-02-17 21:20:08 +00:00
Claudio Ortolina dd9be660a9 Convert seeds to obsidian.import task 2025-02-17 20:55:44 +00:00
Claudio Ortolina e71f8a09e1 Add mise setup task 2025-02-17 18:11:06 +00:00
Claudio Ortolina 1b3642a594 Do not run seeds when setting up application
Will need to move seeds into a dedicated mix task
2025-02-17 18:10:56 +00:00
Claudio Ortolina 7edc05d205 Move configuration to Mise 2025-02-17 18:05:41 +00:00
Claudio Ortolina edaab25104 Setup mise config with boilerplate env variables 2025-02-17 17:56:26 +00:00
Claudio Ortolina 0debfb4e51 Add missing Node.js version in .tool-versions 2025-02-17 17:43:32 +00:00
Claudio Ortolina 37f72261c3 Extract MusicBrainz main module 2025-02-17 17:30:13 +00:00
Claudio Ortolina 336551e9f8 Namespace Obsidian fixtures 2025-02-17 16:08:19 +00:00
Claudio Ortolina 513ce6363f Rename RecordsFixtures -> Fixtures.Records 2025-02-17 16:08:19 +00:00
Claudio Ortolina ea7b5b646a Namespace MusicBrainz fixtures 2025-02-17 16:03:23 +00:00