Commit Graph

80 Commits (dec2e4daf1866d74a9f2d49aa7a27a161cc6ffa8)

Author SHA1 Message Date
Tomáš Mládek 21e7ee7538 finish renaming target/key/value to entity/attribute/value 2021-03-14 10:44:13 +01:00
Tomáš Mládek 6e7cdd9887 rename reimport_directory to rescan_vault 2021-03-06 22:14:17 +01:00
Tomáš Mládek ed5ea08335 add "jobs", endpoint to query vault update progress 2021-02-20 17:36:19 +01:00
Tomáš Mládek 5096e1eece refactoring: remove query_entries(), from_sexp into TryFrom, query_to_sqlite is a method 2021-02-20 12:39:19 +01:00
Tomáš Mládek c0e1f42533 consolidate API routes, remove lookup_by_filename 2021-02-20 12:12:48 +01:00
Tomáš Mládek 99f6c6c052 remove InnerEntry, consolidate into Entry 2021-02-19 20:27:30 +01:00
Tomáš Mládek db5235bbd5 run `cargo update`, fix incorrect imports 2021-02-18 19:20:52 +01:00
Tomáš Mládek f950e02113 add s-exp query language parsing
also rename t/k/v to e/a/v, misc. fixes
2021-02-07 20:18:55 +01:00
Tomáš Mládek bb2a8e909f cargo clippy fix 2020-09-30 01:33:36 +02:00
Tomáš Mládek 02c65ded8e return an enum signifying action taken from fs update functions 2020-09-30 01:31:48 +02:00
Tomáš Mládek 2307c7bd57 expand query_entries for fuzzier queries; fix filename lookup 2020-09-29 00:30:00 +02:00
Tomáš Mládek 9a5a7383a4 add bulk_retrieve_objects, add base inspect view, upgrade typescript, add swrv...
fix type issues, better http errors on mangled addresses
2020-09-25 02:45:17 +02:00
Tomáš Mládek 6e449088a0 add update duration print out 2020-09-23 23:11:50 +02:00
Tomáš Mládek 80541fe978 non-duplicate updates (without updating virtual fs structure yet) 2020-09-22 00:41:59 +02:00
Tomáš Mládek 63ffe42907 lock update pool behind r/w lock; increase timeout to 30s
to-do - integrate r/w lock into pool directly?
2020-09-20 20:14:05 +02:00
Tomáš Mládek 400b0d11f2 ^^ take that back, likely not necessary in this case 2020-09-20 19:42:53 +02:00
Tomáš Mládek ec9b31292e handle canonicalization errors 2020-09-20 19:40:36 +02:00
Tomáš Mládek 967e3a3c7d lint 2020-09-20 19:32:28 +02:00
Tomáš Mládek 0e0afae089 parallelize hashing with rayon 2020-09-20 19:28:44 +02:00
Tomáš Mládek 9823f646cd move all reimport db writes into a transaction 2020-09-20 17:17:43 +02:00
Tomáš Mládek e0a03b30fa split business code in reimport_directory in a separate function 2020-09-20 16:29:16 +02:00
Tomáš Mládek 00e0dc288c remove DbExecutor, store plain pool in state; refactor into functions
also put loggersink in util.rs
2020-09-15 19:26:47 +02:00
Tomáš Mládek 01a737285c clippy fixes 2020-09-14 01:16:01 +02:00
Tomáš Mládek c9c005eff0 strip and relativize paths on fs import 2020-09-13 20:43:45 +02:00
Tomáš Mládek ff457faca3 hierarchy listing endpoint, fix trailing slash upath parsing 2020-09-13 20:10:18 +02:00
Tomáš Mládek 2b92a1ad67 validate path on string parse 2020-09-13 19:20:32 +02:00
Tomáš Mládek 3cf3343326 files are separate objects 2020-09-12 23:07:50 +02:00
Tomáš Mládek 762a7914a1 first somewhat working version of import! 2020-09-12 22:50:14 +02:00
Tomáš Mládek 1d952b34dd various fixes, fleshing out, directory retrieval / creation 2020-09-12 14:31:53 +02:00
Tomáš Mládek e49d4c9ff5 implement entity system, first step 2020-09-07 21:21:54 +02:00