Commit Graph

72 Commits

Author SHA1 Message Date
4a2e868150 refactor: bind NodeService to a user and expose User() on the interface
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 23:18:36 +02:00
cb16bda200 refactor: simplify service interface to use tags/rels for all node properties
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 23:10:56 +02:00
4404518f50 test: add e2e test suite and fix namespace/mention/assignee flags
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 22:36:49 +02:00
8d831d131b refactor: clean up NodeService interface; move all integrity logic behind it 2026-03-31 15:55:47 +02:00
ed9117951f refactor: introduce store.Store graph interface with SQLite implementation 2026-03-31 15:38:06 +02:00
d569a4dea9 test: add e2e test suite and fix namespace/mention/assignee flags 2026-03-29 23:56:43 +02:00
dadd3d9e13 refactor: add tag and relation methods to node to enforce integrity 2026-03-29 23:16:44 +02:00
4ebcb88628 refactor: remove db package and move database logic to service layer 2026-03-29 21:28:27 +02:00
6ff013dd2a refactor: convert inbox command to default alias 2026-03-29 19:56:15 +02:00
535626d198 feat: rename create and delete commands to add and del 2026-03-29 19:46:43 +02:00
68f4b67283 fix: properties like type were not correctly replaced when updating a node 2026-03-29 19:27:18 +02:00
55fd63be15 refactor: remove unused db relational methods 2026-03-29 19:24:06 +02:00
a04750dd15 refactor: simplify db and cmd flags, reduce code duplication
- Abstract property flags into addPropertyFlags in cmd/root.go and apply to commands
- Remove unused GetUserByUsername from db.go (it's redundant with service.resolveUserIDByName)
- Use configured user in WithMentions directly in inbox command
- Refactor resolve methods in node_service_sqlite.go to reduce duplication
2026-03-29 19:22:44 +02:00
05261522a0 fix: alias argument expansion with flags and spaces
Fixes an issue where alias arguments containing spaces or flags were being split incorrectly by using strings.Fields on the substituted command string. Instead, the command string is tokenized first and then substitution happens on each token.

Also disables Cobra flag parsing for aliases dynamically so that arguments and flags correctly cascade down to the target command instead of throwing unknown flag errors.
2026-03-29 19:09:06 +02:00
13b4c4b651 Fix assignee filter bug in List 2026-03-29 18:58:34 +02:00
9e8c37564f switch mentions from _inbox tags to mentions relation 2026-03-29 15:51:46 +02:00
f907657c6f switch namespaces from tags to relations with auto-creation 2026-03-28 04:15:36 +01:00
9b250c20f9 auto-create users on mention and resolve user refs in relationships 2026-03-27 18:11:13 +01:00
74cc7c104a use pointers for optional update fields to distinguish empty from unset 2026-03-27 02:42:34 +01:00
81fb9af5e2 remove unused GetAllUsers function 2026-03-27 02:27:20 +01:00
b2225cff7b refactor: replace explicit fields with tag-based property system 2026-03-27 02:11:46 +01:00
2d4cff717b init 2026-03-26 12:48:47 +00:00