Commit Graph

2681 Commits

Author SHA1 Message Date
Claudio Ortolina 4fb148e9db Simplify signatures of scrobbling functions 2026-03-14 22:22:41 +00:00
Claudio Ortolina 0a26891575 Update project conventions 2026-03-14 18:33:34 +00:00
Claudio Ortolina 69ff926aba Allow WASM evaluation on prod 2026-03-14 18:02:27 +00:00
Claudio Ortolina 2dd6f10a7f Fix CSP error for barcode detection 2026-03-14 17:38:04 +00:00
Claudio Ortolina 4d1ac9652c Link the scrobbled count in stats 2026-03-14 09:59:09 +00:00
Claudio Ortolina 7cdd502701 Streamline print/scrobble buttons 2026-03-14 08:51:19 +00:00
Claudio Ortolina 3d66d7a6d7 Remove unnecessary spacing in the application footer 2026-03-14 07:17:08 +00:00
Claudio Ortolina 1dd7974cc7 Use socket assigns instead of threading IDs via JS.push
Extends the same optimization from the previous commit to
all remaining show page handlers across collection, wishlist,
and artist LiveViews. Also simplifies bare JS.push() calls
to plain phx-click strings.
2026-03-13 16:48:12 +00:00
Claudio Ortolina 0b9d008ecb No need to thread the record ID when we can use the record directly 2026-03-13 16:29:11 +00:00
Claudio Ortolina be563d8fca Streamline record set items reordering query 2026-03-13 16:26:01 +00:00
Claudio Ortolina cb5c9b0d5a Enable incremental vacuum for accessory repos 2026-03-13 16:23:56 +00:00
Claudio Ortolina a00b858226 Add index to speed up records by release date 2026-03-13 16:23:29 +00:00
Claudio Ortolina bba1b1eabc Remove redundant configuration (identical to defaults) 2026-03-13 16:22:58 +00:00
Claudio Ortolina 002c81d3b8 Load Tidewave only in dev 2026-03-13 15:13:37 +00:00
Claudio Ortolina 854a6e1816 Allow worker blob URLs in CSP directives
canvas-confetti creates web workers from blob URLs,
which requires an explicit worker-src directive.
2026-03-13 15:01:28 +00:00
Claudio Ortolina 9901f1177e Update tidewave to 0.5.6 2026-03-13 14:56:32 +00:00
Claudio Ortolina 145c5c288c Allow loading img blobs in csp directives 2026-03-13 14:47:35 +00:00
Claudio Ortolina cf95d6e89b Update .dockerignore and .gitignore 2026-03-13 11:49:53 +00:00
Claudio Ortolina 9e1dbfd530 Re-enable Credo ModuleDoc check
Closes #108
2026-03-13 10:52:01 +00:00
Claudio Ortolina 4db9213129 Update erlang to 28.4.1 2026-03-13 08:35:13 +00:00
Claudio Ortolina 95cd00c6bf Revert "Fix deployment test script"
This reverts commit 829d49fcf7.

In version 4.0.0-beta.468, Coolify fixed the API issue that triggered
the need for this change - reverting to keep using the simplest and most
idiomatic approach
2026-03-12 21:42:11 +00:00
Claudio Ortolina 4855fec59b Run sobelow during pre-commit hooks 2026-03-12 21:22:18 +00:00
Claudio Ortolina 891f6e0849 Update architecture docs 2026-03-12 21:17:58 +00:00
Claudio Ortolina d269b72838 Update esbuild to 0.27.4 2026-03-12 18:55:20 +00:00
Claudio Ortolina 4977f4631c Show grouped records in records on this day email 2026-03-12 17:23:22 +00:00
Claudio Ortolina dbc6d029b4 Move collected artist IDs query to Collection context
Closes #112
2026-03-12 16:58:31 +00:00
Claudio Ortolina d057f29ba1 Split ScrobbleActivity into focused modules
Move track CRUD/listing to ListeningStats and diagnostics
to Maintenance, leaving ScrobbleActivity for scrobbling only.

Closes #111
2026-03-12 16:51:33 +00:00
Claudio Ortolina ee4d2555ee Move scrobble queries from Records to ListeningStats
Closes #110
2026-03-12 16:32:10 +00:00
Claudio Ortolina 661e6f7c38 Allow manipulating gh labels 2026-03-12 16:23:52 +00:00
Claudio Ortolina 24efa3986c Route artist search queries through Artists context
Closes #113
2026-03-12 16:21:04 +00:00
Claudio Ortolina d6553ae061 Uniform record detail page title logic 2026-03-12 14:58:25 +00:00
Claudio Ortolina 24863b16c4 Remove unused Logger requires 2026-03-12 14:57:48 +00:00
Claudio Ortolina a921ef8725 Document mise tasks for agents 2026-03-12 14:27:02 +00:00
Claudio Ortolina 1a62360b21 Group records in records on this day widget 2026-03-12 09:09:25 +00:00
Claudio Ortolina a6348fe647 Streamline record detail actions, and add a quick scrobble everything button 2026-03-12 08:26:25 +00:00
Claudio Ortolina cd0101ba4a Make page_title/2 private in all LiveViews
The Index modules were calling Show.page_title/2 for modal edit
routes. Inlined the logic as private functions in each Index
module and removed the now-unused Show aliases.

Closes #104
2026-03-12 07:44:39 +00:00
Claudio Ortolina 8d9bf78974 Extract shared TopByPeriod LiveComponent
Closes #103
2026-03-12 07:38:58 +00:00
Claudio Ortolina f0151de808 Force Node.js 24 on test/deploy CI
Following a deprecation from GitHub:
> ! Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: erlef/setup-beam@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2026-03-11 15:59:32 +00:00
Claudio Ortolina a1b56673e4 Remove unused copilot instructions 2026-03-11 15:48:19 +00:00
Claudio Ortolina f42c449213 Update two frontend asset directives to conform with Phoenix 1.8.5 2026-03-11 15:43:37 +00:00
Claudio Ortolina c4bbd7a0f6 Add counter for errored requests 2026-03-11 11:33:11 +00:00
Claudio Ortolina 5ddc9ae466 Add metrics for requests by status code 2026-03-11 11:14:07 +00:00
Claudio Ortolina b4ef1df96a Allow running head 2026-03-11 10:53:35 +00:00
Claudio Ortolina 420614c490 Update architecture and project conventions docs 2026-03-11 10:49:41 +00:00
Claudio Ortolina 1583db581c Add update-documentation skill 2026-03-11 10:44:56 +00:00
Claudio Ortolina 159d5ad695 Include more maintenance tasks
- Asset tasks
- Records on this day email
2026-03-11 09:31:59 +00:00
Claudio Ortolina 97e9cdf6c4 Spell out Purchased on label in records email 2026-03-11 08:40:42 +00:00
Claudio Ortolina d516c6a815 Improve tests for scrobble show page 2026-03-10 21:04:19 +00:00
Claudio Ortolina 20b497bbb8 Don't track route not found errors 2026-03-10 20:05:27 +00:00
Claudio Ortolina fa535393e0 Fix toggling/scrobbling event handlers in scrobble anything show view 2026-03-10 20:04:39 +00:00