Commit Graph

44 Commits (649235f1d2e0b6494bedd34614fb862c9540c0cf)

Author SHA1 Message Date
Tomáš Mládek a608659baa
thumbnails module, "text thumbnails" on backend 2021-12-23 23:45:46 +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 7a1d0a5024 add native/default file open 2021-12-19 22:38:41 +01:00
Tomáš Mládek ac1e110b02 optional "desktop" feature 2021-12-19 20:09:44 +01:00
Tomáš Mládek c44afd0376 default vault name is dirname 2021-12-19 18:53:10 +01:00
Tomáš Mládek 64906a1049 separate hier_roots endpoint, resolve via redirects 2021-12-17 23:42:58 +01:00
Tomáš Mládek 43d7b06c2b Revert "update dependencies"
This reverts commit 58d74d985c.
2021-12-10 14:57:46 +01:00
Tomáš Mládek 58d74d985c update dependencies 2021-12-09 22:03:55 +01:00
Tomáš Mládek 636da63c76 disable browser/ui serving if folder not found 2021-12-04 22:43:37 +01:00
Tomáš Mládek d07c9fd339 [db] add --no-ui param 2021-10-19 22:23:46 +02:00
Tomáš Mládek 2b6886645b more cleanup and refactoring and moving
move models.rs and schema.rs into database::inner
create util module (with hash and jobs)
2021-07-26 21:14:51 +02:00
Tomáš Mládek b78e38162e forgotten takes_value for --db-path 2021-06-19 13:11:27 +02:00
Tomáš Mládek 06d30433e5 allow specifying path to db on cli 2021-06-19 12:32:05 +02:00
Tomáš Mládek 8044137531 add vault --name option, /api/info endpoint 2021-05-06 20:23:20 +02:00
Tomáš Mládek 7f358932f6 fix /latest endpoint 2021-05-06 20:10:40 +02:00
Tomáš Mládek 7420fd45d8 add /api/files endpoint, refactor retrieve_file() 2021-04-23 23:28:58 +02:00
Tomáš Mládek 54c1ea711d do not log requests to /api/jobs 2021-03-24 20:37:42 +01:00
Tomáš Mládek 2ffbd4934b refer to types via address, not identifier
also rework invariant entries, add addressable trait
2021-03-15 22:32:04 +01:00
Tomáš Mládek 6e7cdd9887 rename reimport_directory to rescan_vault 2021-03-06 22:14:17 +01:00
Tomáš Mládek 8751e57433 add latest_files endpoint 2021-02-21 19:51:23 +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 c0e1f42533 consolidate API routes, remove lookup_by_filename 2021-02-20 12:12:48 +01:00
Tomáš Mládek 3ad31a482d add an "insert entry" (PUT) endpoint 2021-02-19 21:58:35 +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 f586b93af5 remove "|| true" from init update logic; add command-line opt for that 2020-09-30 01:31:59 +02:00
Tomáš Mládek 0e424c4e8c switch to Vue 3 in ui 2020-09-25 01:11:04 +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 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 ff457faca3 hierarchy listing endpoint, fix trailing slash upath parsing 2020-09-13 20:10:18 +02:00
Tomáš Mládek 0464d2712e remove encode() where unnecessary, add /get/{object} route 2020-09-13 13:22:18 +02:00
Tomáš Mládek fc7635bf70 --reinitialize param, logging 2020-09-12 15:02:03 +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
Tomáš Mládek c27abd6cac rudimentary makefile, first "self-serving" version, enable NO_BROWSER flag 2020-08-30 23:13:09 +02:00
Tomáš Mládek 7faa12a44f fix according to cargo clippy 2020-08-30 22:14:24 +02:00
Tomáš Mládek 6b32235896 fix "new" db detection, add initial update 2020-08-30 22:11:32 +02:00
Tomáš Mládek ec0f4f5ec6 return a struct on database open 2020-08-30 17:13:46 +02:00
Tomáš Mládek 59da75eeef open browser to web UI on start 2020-08-30 16:45:42 +02:00
Tomáš Mládek a67b970cd1 add lookup endpoint, index on path and valid 2020-08-27 01:30:53 +02:00
Tomáš Mládek 96b666ab41 put routes into routes.rs 2020-08-27 01:07:25 +02:00
Tomáš Mládek c18625285b clippy improvements 2020-08-28 13:51:22 +02:00
Tomáš Mládek 48cf5889e7 initial commit 2020-08-27 00:11:50 +02:00