Commit Graph

1726 Commits (main)

Author SHA1 Message Date
Tomáš Mládek 4c1034ee4b enable CI build for the whole app
Squashed commit of the following:

commit 9f767769ffd1887964e3294d47a043672208810d
Author: Tomáš Mládek <tmladek@protonmail.ch>
Date:   Sat Feb 20 11:51:20 2021 +0100

    update Makefile dependencies

commit 535689b90ea2061854082dda0381f03358f66fc9
Author: Tomáš Mládek <tmladek@protonmail.ch>
Date:   Sat Feb 20 11:02:24 2021 +0100

    build stage produces artifacts

commit 6841e1983141d99b30854430d6a9a6f9353ab9ac
Author: Tomáš Mládek <t@mldk.cz>
Date:   Sat Feb 20 10:58:10 2021 +0100

    install clippy, disable frontend lint for now

commit 778dec8436da536a2c76d9e34624bbbc47eee710
Author: Tomáš Mládek <tmladek@protonmail.ch>
Date:   Sat Feb 20 10:27:44 2021 +0100

    fix makefile (?)

commit b43ab42098bac0af4499a2b0e830c32cdcdcae52
Author: Tomáš Mládek <tmladek@protonmail.ch>
Date:   Sat Feb 20 10:25:38 2021 +0100

    CI test, build whole package
2021-02-20 12:39:19 +01:00
Tomáš Mládek 001fad3145 remove "unsafe unwraps" 2021-02-20 12:39:18 +01:00
Tomáš Mládek c0e1f42533 consolidate API routes, remove lookup_by_filename 2021-02-20 12:12:48 +01:00
Tomáš Mládek f5dd4141b1 adjacent tagging for EntryValue 2021-02-20 12:10:03 +01:00
Tomáš Mládek 5dd15aecd2 fix version in Cargo.toml 2021-02-19 22:45:56 +01:00
Tomáš Mládek cc4d7209be fix FromStr for Address 2021-02-19 22:35:05 +01:00
Tomáš Mládek ae812b33d1 add hash encode/decode test 2021-02-19 22:27:54 +01:00
Tomáš Mládek 3fb436708b attempt (?) to return hash from insert_entry, improve error logging 2021-02-19 22:18:31 +01:00
Tomáš Mládek 3ad31a482d add an "insert entry" (PUT) endpoint 2021-02-19 21:58:35 +01:00
Tomáš Mládek dc71bec67a implement Serialize/Deserialize for Entry, Address, remove as_json
+ cosmetics (to_str -> to_string)
2021-02-19 21:56:25 +01:00
Tomáš Mládek 99f6c6c052 remove InnerEntry, consolidate into Entry 2021-02-19 20:27:30 +01:00
Tomáš Mládek 2b42f4dc1a update outdated packages 2021-02-18 20:48:31 +01:00
Tomáš Mládek db5235bbd5 run `cargo update`, fix incorrect imports 2021-02-18 19:20:52 +01:00
Tomáš Mládek 22dd315c47 cargo clippy fixes 2021-02-17 21:45:20 +01:00
Tomáš Mládek 1bbcc00d65 add "contains" symbol 2021-02-17 21:40:51 +01:00
Tomáš Mládek ac02450b8b fix "OR TRUE" variant; remove Option<> from query_to_sqlite() 2021-02-12 11:56:29 +01:00
Tomáš Mládek 98a9c88173 add upend query lang -> sqlite conversion; first working prototype 2021-02-12 02:06:39 +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 f586b93af5 remove "|| true" from init update logic; add command-line opt for that 2020-09-30 01:31:59 +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 7fd537a948 add DELETE endpoint for objects, update URLs (/get/ -> /obj/) 2020-09-29 00:55:09 +02:00
Tomáš Mládek 9ae09cc72f forgotten debug prints 2020-09-29 00:33:11 +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 22846feb17 Add .gitlab-ci.yml from template 2020-09-28 16:43:55 +00:00
Tomáš Mládek 0adbb88c33 misc ux 2020-09-25 20:49:30 +02:00
Tomáš Mládek 6d17daf1b7 improve Inspect view, add Address component 2020-09-25 19:07:29 +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 0e424c4e8c switch to Vue 3 in ui 2020-09-25 01:11:04 +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 36e3c4a145 move LoggerSink to util.rs 2020-09-14 21:18:53 +02:00
Tomáš Mládek 01a737285c clippy fixes 2020-09-14 01:16:01 +02:00
Tomáš Mládek a65e485aed lint as a spearate makefile target, add backend_lint 2020-09-14 01:08:58 +02:00
Tomáš Mládek 7d210f1a85 npm i before lint in Makefile 2020-09-14 09:47:15 +02:00
Tomáš Mládek aeb15eeae6 remove unique constraints from files table 2020-09-13 20:47:24 +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 d505653866 reorganize code in database.rs 2020-09-13 16:30:01 +02:00
Tomáš Mládek 267bca92bf /raw/ endpoint does not take plain hash but an encode, add Entry.as_json() 2020-09-13 14:28:58 +02:00
Tomáš Mládek b245b50e15 fix retrieveobject 2020-09-13 13:24:35 +02:00