3 Commits

Author SHA256 Message Date
Alphaeus Mote af7fd25a69 feat(webui): Folder field in the script and sequence editors
CI / build-test (push) Failing after 7m22s
CI / images (push) Has been skipped
Release / release (push) Successful in 20m28s
Release / images (push) Successful in 4m34s
Pick a folder or type a path (a new one is created on save); new items
start in the folder they were created from and copies stay with the
draft's folder. A folder changed from the editor is audited as a move
(moved / sequence-moved), like a move from the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 18:02:56 -05:00
Alphaeus Mote cd0378a2fc feat(sequences): folders for sequences in the shared library-folder system [skip ci]
- Sequences carry a folder ("/" or "/a/b") with the scripts' rules:
  normalized, compared ignoring case through an upper-cased key, adopting
  the casing of folders a path passes through
- "sequences" is a library of the shared folder service and endpoints:
  GET/POST/DELETE /api/sequences/folders, POST /api/sequences/folders/move
  (rename or move with everything in it), POST /api/sequences/move (one or
  many); delete only while empty
- Saves take an optional folder: new sequences land in it, updates without
  one keep the sequence where it is; bad paths are refused as for scripts
- Scripts View to read, Manage Scripts to change; audited in the scripts
  category as sequence-folder-created/moved/deleted and sequence-moved
- SequenceFolders migration for SQLite, PostgreSQL and SQL Server: existing
  sequences go to "/"
- Tests: folder CRUD, rename and move, bulk move, validation, Viewer 403,
  migration default, and a run under way unaffected by a move

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 15:21:39 -05:00
Alphaeus Mote faf742ba34 feat(backend): folders for scripts and functions, vault folder tree
- Scripts and function modules carry a folder ("/" or "/a/b"), compared
  ignoring case and adopting the casing of folders a path passes through
- Each library keeps folder rows, so empty folders persist; create,
  rename or move (with everything in it), delete only while empty, and
  move items between folders (created when missing)
- Saves take an optional folder: new items land in it, updates without
  one keep the item where it is
- GET of every folder path for the console tree, for scripts, functions
  and the vault
- Views need scripts.view / functions.view, changes scripts.manage /
  functions.manage; changes are audited
- Folder path rules shared between the vault and the libraries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 17:23:00 -05:00