Commit Graph

1194 Commits (a741bad5eeb777b427965d27f6aed1e267c10c55)

Author SHA1 Message Date
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
Tomáš Mládek 0464d2712e remove encode() where unnecessary, add /get/{object} route 2020-09-13 13:22:18 +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 fc7635bf70 --reinitialize param, logging 2020-09-12 15:02:03 +02:00
Tomáš Mládek 7baa91f179 update initial schema, add unique constraints, data indexes, reformat 2020-09-12 14:55:38 +02:00
Tomáš Mládek 6895b076be display methods 2020-09-12 14:43:42 +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 7b7affa3d8 add update_schema make target 2020-09-07 13:46:43 +02:00
Tomáš Mládek 94e726beaa autoformat Cargo.toml 2020-09-06 12:32:48 +02:00
Tomáš Mládek add9dd012f update models, fix build, add chrono 2020-09-06 12:32:17 +02:00
Tomáš Mládek d7bbb5396c first database draft 2020-09-06 12:02:55 +02:00
Tomáš Mládek 099249fc41 code cosmetics, finish 2-way linking in sl-model, linting 2020-09-02 23:12:13 +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 bed9d953d2 add normalize.css, add basic header 2020-08-30 16:46:05 +02:00
Tomáš Mládek 59da75eeef open browser to web UI on start 2020-08-30 16:45:42 +02:00
Tomáš Mládek 0d8d585161 init web ui (Vue & Shoelace), implement example path lookup 2020-08-30 02:19:46 +02:00
Tomáš Mládek 0b24990436 filter only to valid files 2020-08-27 01:30:55 +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 f1c5a59073 log migrations to logger, not to stdout directly 2020-08-27 01:02:28 +02:00
Tomáš Mládek 48cf5889e7 initial commit 2020-08-27 00:11:50 +02:00