Commit Graph

3395 Commits

Author SHA1 Message Date
Claudio Ortolina f108e6f062 ML-174: add empty action to record set dropdown menu
Add RecordSets.empty_record_set/1 that bulk-deletes all items in a set via
a single DELETE query and returns the reloaded empty set. Add Empty button
with confirmation prompt to both index and show view dropdowns.
2026-05-14 17:15:06 +01:00
Claudio Ortolina a59dd22a18 ML-168: broadcast index_changed event after background import
Import workers now broadcast :records_index_changed on
"records:index_changed" after successful import via
Records.broadcast_index_changed/0.

CollectionLive.Index and WishlistLive.Index subscribe to the
topic in mount/3 and reload their record streams on receipt,
with a live_action guard to skip reloads when the grid is
hidden behind a modal (:import, :barcode_scan).

IndexActions.handle_index_changed/1 refreshes total_entries
before reloading to keep the pagination bar accurate.
2026-05-14 17:15:06 +01:00
Claudio Ortolina d878364423 Add mise task to run pi tests 2026-05-14 12:35:36 +01:00
Claudio Ortolina 484735a789 Update dependencies
castore 1.0.18 => 1.0.19
2026-05-14 12:09:20 +01:00
Claudio Ortolina 544bf44ec6 Research swapping OpenAI with Mistral 2026-05-14 11:37:12 +01:00
Claudio Ortolina d30e6d2d8f Add Credo refactor checks and fix double Enum.map
Add 9 enabled + 1 disabled Credo checks from ex_slop README.
Fix MapMap finding in ListeningStats.update/1 (single pass).
Disable AppendSingleItem (10 pre-existing violations).
2026-05-14 10:47:13 +01:00
Claudio Ortolina 1f7d552727 Switch ex_slop to plugin-based config
Replace 39 individual ExSlop checks with the {ExSlop, []}
plugin that registers 30 recommended checks automatically.
2026-05-14 10:38:15 +01:00
Claudio Ortolina a084d4c62e Update dependencies
mix:
  ex_slop 0.4.0 => 0.4.1
  plug 1.19.1 => 1.19.2
2026-05-14 10:32:23 +01:00
Claudio Ortolina 2a9c54cb42 Sync docs: Elixir 1.20.0-rc.5, Oban pruner 7d, Docker builder 2026-05-13 21:13:51 +01:00
Claudio Ortolina c86ce9d485 Ml-174: add labels 2026-05-13 21:05:34 +01:00
Claudio Ortolina 9c67591c6d ML-181: add labels 2026-05-13 20:37:26 +01:00
Claudio Ortolina 344d88127d ML-181: hardening asset routes (plan) 2026-05-13 20:28:35 +01:00
Claudio Ortolina 533fe8a8c4 Streamline function implementation (no double negative) 2026-05-13 20:14:58 +01:00
Claudio Ortolina 3406561a44 Update elixir to 1.20.0-rc.5 2026-05-13 20:14:58 +01:00
Claudio Ortolina 8aefcc3b2c Add security review documents 2026-05-13 19:29:31 +01:00
Claudio Ortolina ff57735c52 Add template for application security review 2026-05-13 19:29:11 +01:00
Claudio Ortolina 6513007ac0 Analyze possibility of having a dedicated assets repo 2026-05-13 16:14:38 +01:00
Claudio Ortolina d14b0ad32c Update dependencies
mix:
  bandit 1.11.0 => 1.11.1
  oban_met 1.1.0 => 1.2.0
2026-05-13 15:43:45 +01:00
Claudio Ortolina 3f4ea5d760 Update to debian trixie-20260505 2026-05-13 07:12:28 +01:00
Claudio Ortolina a51226d68a Increase retetion of completed oban jobs 2026-05-12 17:07:29 +01:00
Claudio Ortolina d1c520f2ed Update dependencies
ex_ast 0.11.1 => 0.11.2
finch 0.21.0 => 0.22.0 (minor)
2026-05-12 16:45:29 +01:00
Claudio Ortolina 747d509b87 [presto] fix poc layout, and make it easy to deploy 2026-05-12 13:52:37 +01:00
Claudio Ortolina dc64fb0bb0 [presto] elm-architecture-like POC 2026-05-12 12:03:09 +01:00
Claudio Ortolina dc5847bb43 [presto] update uv to latest 2026-05-12 11:38:52 +01:00
Claudio Ortolina 8ece3ba891 Backlog cleanup 2026-05-12 11:30:59 +01:00
Claudio Ortolina f41c8f3bcd ML-180: remove backup function (plan) 2026-05-12 11:28:22 +01:00
Claudio Ortolina a3ee651b22 ML-170: ready to be worked on 2026-05-12 11:03:55 +01:00
dependabot[bot] 362ec6c48f Bump actions/checkout from 4.2.2 to 6.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.2.2...de0fac2e4500dabe0009e67214ff5f5447ce83dd)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 09:15:05 +01:00
dependabot[bot] a6cbdd07bb Bump jdx/mise-action from 2.1.11 to 4.0.1
Bumps [jdx/mise-action](https://github.com/jdx/mise-action) from 2.1.11 to 4.0.1.
- [Release notes](https://github.com/jdx/mise-action/releases)
- [Changelog](https://github.com/jdx/mise-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jdx/mise-action/compare/v2.1.11...1648a7812b9aeae629881980618f079932869151)

---
updated-dependencies:
- dependency-name: jdx/mise-action
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 09:14:31 +01:00
Claudio Ortolina 315e630e28 ML-174: remove double heading 2026-05-12 07:50:10 +01:00
Claudio Ortolina 64a40daeca DRAFT-2: remove backup (capture requirements) 2026-05-12 06:02:47 +01:00
Claudio Ortolina edd0da5770 DRAFT-1: fix labels 2026-05-12 06:00:19 +01:00
Claudio Ortolina 0a80f14bc9 For pi CI, only install node 2026-05-11 22:42:49 +01:00
Claudio Ortolina d7fa908f9c Enable CI for pi extensions 2026-05-11 22:37:44 +01:00
Claudio Ortolina 9d0c8acb04 refactor sensitive-file-guard tests to use node:test 2026-05-11 22:26:38 +01:00
Claudio Ortolina cc0bfd4791 Add dependabot monitoring for sensitive-file-guard extension 2026-05-11 20:35:45 +01:00
Claudio Ortolina 8c029aea01 Add sensitive-file-guard path to setup/outdated/update scripts 2026-05-11 18:22:40 +01:00
Claudio Ortolina 091d5647a8 remove unneded dependency 2026-05-11 18:22:15 +01:00
Claudio Ortolina 0aa51e38e8 ML-175: mark task done 2026-05-11 17:44:26 +01:00
Claudio Ortolina a88c704fe5 ML-175: parse bash commands structurally via unbash
Replace regex-based command blocking with structural AST parsing
using unbash (zero-dependency TypeScript bash parser). The walker
collects command names only from executable positions (simple
commands, pipelines, subshells, command substitutions, control-flow
bodies), excluding arguments, comments, and quoted strings.

- Convert to directory-style extension with pinned unbash@3.0.0
- Add AST walker (ast.ts) covering 15 shell construct types
- Update blocked_commands to plain names instead of regexes
- Keep regex fallback for parse failures (degradation path)
- Path-based blocking unchanged for non-bash tools
- 41 tests cover blocked/allowed cases including false positives
2026-05-11 17:42:48 +01:00
Claudio Ortolina 79d821e70f Update dependencies
mix:
  swoosh 1.25.1 => 1.25.2
2026-05-11 17:20:50 +01:00
Claudio Ortolina e1943ff030 Invert conditional and use existing functions 2026-05-11 15:03:55 +01:00
Claudio Ortolina 5b4be08e5b Update dependencies
ex_ast 0.11.0 => 0.11.1
oban_web 2.12.3 => 2.12.4

The update closes ML-171
2026-05-11 14:23:13 +01:00
Claudio Ortolina 5f86ca1b86 ML-171: track upstream fix 2026-05-11 14:18:29 +01:00
Claudio Ortolina 1f5e1160a0 Update dependencies
mix:
  telemetry 1.4.1 => 1.4.2
2026-05-11 10:05:11 +01:00
Claudio Ortolina ecaed5164d Install s3-browser deps during setup 2026-05-11 10:00:37 +01:00
Claudio Ortolina 3a825f7a90 ML-170: revised plan 2026-05-11 09:27:53 +01:00
Claudio Ortolina 21199de419 Cleanup labels and assignees 2026-05-11 07:49:40 +01:00
Claudio Ortolina 731c82cf30 Update architecture docs for collection API changes 2026-05-11 07:48:52 +01:00
Claudio Ortolina 0a3fa79512 Update dependencies
circular_buffer 1.0.0 => 1.0.1
2026-05-11 07:25:12 +01:00