Commit Graph

17 Commits

Author SHA1 Message Date
f6563ca4c7 Revert "Revert -v from rsync, -P already shows per-file progress"
This reverts commit 2609e74e2a.
2026-05-17 22:02:37 +00:00
2609e74e2a Revert -v from rsync, -P already shows per-file progress
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 22:02:12 +00:00
ae22e7abf0 Add -v to rsync so transferred files are always visible
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 22:01:35 +00:00
71fb7aee55 Move chown -R into sync target so it always runs
rsync --chown only applies to transferred files; a separate chown -R
ensures ownership is correct even when no files needed updating.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 21:58:45 +00:00
31ec2e639e Fix sync not setting owner/group on copied files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 21:57:48 +00:00
730be15b76 Add Makefile with deploy target
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 21:56:02 +00:00
0a985c591b Refactor tasks to configurable entry types
- Storage: nested object buckets per type, integrated next_id into meta,
  migration from old flat task:N key format, seeded default types (task/idea/note)
- Server: /api/entry-types CRUD + /api/entries replacing /api/tasks, type
  validation, blocks deletion if entries exist
- Frontend: dynamic nav per type, Entry_Type_Dialog, Entry_Dialog with type
  selector, type chip in All view, Manage Types view

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 21:53:39 +00:00
5a1ff7aaeb Document concrete /srv/task-inventory deployment scenario 2026-05-17 21:28:33 +00:00
576edd2d22 Use realpath and sudo in systemctl enable command 2026-05-17 21:25:54 +00:00
410b9a07dc Fix systemd setup instructions — enable by path, no manual copy 2026-05-17 21:24:35 +00:00
15107e8850 Add deployment service file and document system service setup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 21:18:04 +00:00
59f3b69470 Add README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 19:23:33 +00:00
8c78bc5e2c Remove depth indentation from flat mode
Flat mode is now truly flat — no --depth CSS variable set on rows
and the flat-mode padding-left rule removed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 19:17:44 +00:00
fa2b5bda18 Improve mode toggle and flat mode row layout
- Segmented control (Tree | Flat) replaces the toggle button
- Expand arrow hidden in flat mode
- Arrow listener only attached in tree mode

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 19:10:05 +00:00
b7ee5006d2 Add hierarchical tasks with tree and flat mode
- parent_id on tasks; roots shown by default, others expandable
- Expand/collapse per node with expand/collapse button
- Sub button creates subtask directly from the row
- Make subtask of button in edit dialog with searchable picker
- Remove parent clears the parent link in the dialog
- Flat mode toggle shows all tasks indented by depth
- Tree filter shows nodes whose descendants match, not only direct matches
- Deletion blocked if task has subtasks (client + server)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 18:55:14 +00:00
444b51794a Add Gitea markdown rendering and Edit/Preview tabs
- New /api/render-markdown proxy to Gitea (configured via config.yaml)
- lib/config.mjs loads config.yaml with yaml-js
- Edit/Preview tabs on the body field in the task dialog
- Title and body rendered as markdown inline in the task list
- Gitea markup+chroma CSS extracted and vendored to public/gitea-markup.css
- Markdown cached in memory per text string

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 18:19:29 +00:00
1100720b03 Initial project setup for task-inventory
Node.js + Express 5 backend with flat NDJSON key-value store (borrowed from
electronics-inventory). Sequential integer IDs per namespace. Vanilla JS SPA
with filters for status, priority, and tags.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 18:05:30 +00:00