Commit Graph

33 Commits (36e788b9d39ba3dabe4773ada6d11138a4e11819)

Author SHA1 Message Date
Tomáš Mládek 36e788b9d3 feat!: add provenance & timestamp to Entry 2023-04-02 19:56:01 +02:00
Tomáš Mládek 6394a70030 chore: log -> tracing 2022-10-23 15:59:10 +02:00
Tomáš Mládek d671640c04 chore: fix vault/db path semantics, previews in db path, `--clean` param 2022-09-16 16:49:25 +02:00
Tomáš Mládek 6fdc3e2f48
add `join` queries to the language (fixes #3) 2022-04-16 00:55:09 +02:00
Tomáš Mládek eec4f96293
reorganize query code in preparation for lang upgrade 2022-04-15 20:35:26 +02:00
Tomáš Mládek 8c60a617a2
query lang - addresses are denoted by @, values need not match db deserialization format
e.g.` (matches @address ? ?)`, and `(matches ? ? "foo")` instead of "Sfoo"
2022-03-30 12:29:52 +02:00
Tomáš Mládek 0ef7ea5b3a
also impl From<f64> and From<Address> 2022-02-13 12:56:29 +01:00
Tomáš Mládek 3a64adc935
containers -> groups 2022-01-28 23:32:13 +01:00
Tomáš Mládek 8c8d58847a
separate value_string and value_number columns
to be able to utilize SQL queries better for ranges, comparisons, etc.
2022-01-28 18:17:14 +01:00
Tomáš Mládek ddfe103e7a
add LBLs to base types 2022-01-27 17:42:59 +01:00
Tomáš Mládek a2b9ec4c75
move "?" out of upend macros 2022-01-18 16:59:32 +01:00
Tomáš Mládek d11d20f210
fix tests due to tempdir -> tempfile change 2021-12-27 12:36:38 +01:00
Tomáš Mládek 0f3dd88193
clippy fixes, no default feature compile fix 2021-12-23 11:18:04 +01:00
Tomáš Mládek ce9e552844
rewrite database module as a struct instead of bare fns 2021-12-23 11:10:16 +01:00
Tomáš Mládek 2ccfce6058
remove some file-centric language 2021-12-21 23:16:10 +01:00
Tomáš Mládek 2d1a3b9ba7
better test of list_roots 2021-12-21 11:26:20 +01:00
Tomáš Mládek ffedb89e03 todo 2021-12-18 00:14:47 +01:00
Tomáš Mládek e0a603d154 remove list_hier, retrieve_object retrieves attrs of attrs, rework /api/hier 2021-12-17 23:04:35 +01:00
Tomáš Mládek 1194a4439e list_path also fetches attrs of attrs 2021-12-17 19:44:00 +01:00
Tomáš Mládek a33943bdb7 handle root /hier/ query 2021-12-17 14:15:56 +01:00
Tomáš Mládek cb832b6789 lock concurrent fetch_or_creates to prevent inconsistencies 2021-12-05 22:36:16 +01:00
Tomáš Mládek c8b8a76bba logging 2021-12-05 12:10:41 +01:00
Tomáš Mládek dd765ee94b add lru cache to resolve_path fn 2021-12-04 18:33:40 +01:00
Tomáš Mládek 4403f518c9 cargo clippy fixes 2021-12-04 16:46:13 +01:00
Tomáš Mládek 5b973ea868 add hierarchy manipulation tests 2021-12-02 22:18:43 +01:00
Tomáš Mládek da776bbcf3 return to old (orphanized) multi-root hierarchy 2021-12-02 21:52:43 +01:00
Tomáš Mládek 1df746596f clean up db type code to better match actual usage 2021-12-02 21:30:11 +01:00
Tomáš Mládek 30189b42a5 [db] fix clippy warnings 2021-10-29 15:49:53 +02:00
Tomáš Mládek eec053a58a [db] add basic tests for fs, hierarchies, database 2021-10-24 17:26:39 +02:00
Tomáš Mládek 96d0ec3be7 introduce the concept of a hierarchy root 2021-08-18 11:06:39 +02:00
Tomáš Mládek 2944ce3d81 fix missing hier_label_attr, add trace to list_hier 2021-08-18 11:06:38 +02:00
Tomáš Mládek fbee24978b ensure UNode is non-empty 2021-08-18 11:06:37 +02:00
Tomáš Mládek 816f04fc86 upend hierarchies - first step
separate hierarchies.rs module from filesystem.rs, simplify and fix path handling
2021-08-18 11:06:36 +02:00