Commit graph

110 commits

Author SHA1 Message Date
b5b05ed852 fix: add custom logging handler (elucidate db locked errors?) 2022-10-23 13:46:42 +02:00
74d35e4065 chore: log instrumenting 2022-10-23 13:46:06 +02:00
639d83f9ad fix: forgot to denote TYPE as denoting to types 2022-10-21 16:23:02 +02:00
833fd8903a chore: switch from built to shadow_rs 2022-10-21 14:02:16 +02:00
9061d32c89 fix: update tests to handle Skipped paths 2022-10-18 21:00:10 +02:00
11a62b274f fix: skip empty files on vault update 2022-10-18 18:29:23 +02:00
5991bd13ab fix: no spurious "Database locked" on startup 2022-10-16 16:13:39 +02:00
3b4378dfed fix: actually remove objects on rescan 2022-10-01 22:16:59 +02:00
5a6390e8f3 chore: fix typo 2022-09-19 22:58:07 +02:00
f1315ae7c4 chore: add logging 2022-09-19 22:27:34 +02:00
f584aec97c fix: create store dir if not exists 2022-09-18 15:27:37 +02:00
d671640c04 chore: fix vault/db path semantics, previews in db path, --clean param 2022-09-16 16:49:25 +02:00
5704be7975 fix: restore store stats functionality somewhat 2022-09-16 16:26:58 +02:00
7ce7615b3a perf: SQLite NORMAL mode on fs vault connections 2022-09-16 15:34:22 +02:00
fc27936acc perf: remove valid index on files 2022-09-16 15:34:07 +02:00
7f519d9de8 perf: implement speed-ups for vault db
have a pool; WAL journal mode; PRAGMA SYNCHRONOUS
2022-09-15 20:27:06 +02:00
0b0c6f2ec3 fix: reenable initial quick vault scan 2022-09-15 20:22:06 +02:00
e17431bb3f fix: reenable locks 2022-09-15 19:25:08 +02:00
5152675bad refactor: use trait objects instead of FsStore directly
also fix most clippy hints
2022-09-15 19:25:08 +02:00
4a988acdad chore: no default debug output in tests 2022-09-15 19:24:19 +02:00
7c9d0717c2 feat!: multiple vaults
incomplete, but passes tests
2022-09-15 19:24:19 +02:00
91596b284d fix: only get() connection in UpEndConnection when necessary
makes the interface actually respond during rescans, helps improve throughput in general
2022-09-05 21:51:44 +02:00
bc77c993a9 hotfix: disable transactions for now 2022-08-07 14:16:07 +02:00
41d0e55ca7 fix: add global locks to db, fix sqlite errors (?) 2022-07-31 22:53:24 +02:00
afbd3b97ef fix: update project url, fix tests
:)
2022-07-31 22:53:12 +02:00
6fdc3e2f48
add join queries to the language (fixes #3) 2022-04-16 00:55:09 +02:00
eec4f96293
reorganize query code in preparation for lang upgrade 2022-04-15 20:35:26 +02:00
ab345bf50b
replace ??? with actual errors 2022-04-02 22:12:51 +02:00
1a05157a9d
fix and/or expressions generating incorrect sql 2022-03-30 12:29:52 +02:00
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
fd72034571
code cosmetics, lints
useless format! in tests
use raw strings where appropriate
2022-03-30 12:29:51 +02:00
39272a5cb0
add (failing) query lang tests 2022-03-30 12:29:28 +02:00
78b6bac7aa
rudimentary test for db queries 2022-03-28 17:34:11 +02:00
5051ac25c6 decode valueless entires as NaN
since NaN == NULL in SQLite, apparently
2022-03-20 23:44:10 +01:00
b9ea04109e
add explicit autocheckpoint, change db option traces! to debugs! 2022-03-14 14:02:03 +01:00
ef3a130855
refactor Jobs and their handling, really fix infinitely hanging jobs 2022-03-02 22:27:51 +01:00
1c316427ab
extract all metadata on vault rescan 2022-03-02 22:27:07 +01:00
4f36bff549
id3 improvements - extract year/bpm as numbers; fix id3 extract job name; exit early if file isn't audio
also add EntryValue::guess_from
2022-03-02 08:13:35 +01:00
d03998915c
add web::block to all db actions in route handlers 2022-02-27 15:03:15 +01:00
583fea153c add store info display // all blob listing 2022-02-21 22:01:31 +01:00
4e54c19ee5
disallow empty attributes in entries 2022-02-19 17:30:55 +01:00
dc808aab22
explicit NULL entryvalue 2022-02-19 14:59:21 +01:00
0ef7ea5b3a
also impl From<f64> and From<Address> 2022-02-13 12:56:29 +01:00
b417dad0ec
impl From<AsRef<str>> for EntryValue, replace where appropriate 2022-02-13 12:56:29 +01:00
e81d520993
fix empty string value handling 2022-02-13 12:56:29 +01:00
038e4fd7d2
move InEntry/InAddress to routes 2022-02-12 14:51:28 +01:00
471c60c19e
fix entry PUTting 2022-02-12 13:56:41 +01:00
674663028d
add metadata to urls on insert 2022-02-10 11:38:45 +01:00
5ad64a6591
make a PUT to /api/obj also insert bare addresses and prepare metadata; bunch of tidying up
/api/obj returns [entry_addr, entity_addr]
ADDED_ATTR is a const
impl TryInto<Address > for InAddress
2022-02-09 20:37:20 +01:00
b5a90ce57c
support denoting entry entities in decomposed format (adding URLs) 2022-02-07 21:59:30 +01:00