Commit graph

92 commits

Author SHA1 Message Date
54897f1468 fix: reenable locks 2022-09-14 22:49:04 +02:00
0ced93adcc refactor: use trait objects instead of FsStore directly
also fix most clippy hints
2022-09-14 22:49:04 +02:00
2c4a7f32e5 chore: no default debug output in tests 2022-09-14 22:49:04 +02:00
a7b0a5c00a feat!: multiple vaults
incomplete, but passes tests
2022-09-14 22:48:59 +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
686020e579
include decoded address in /api/obj 2022-02-07 20:54:14 +01:00
25bc14e3b4
allow searching in entities (URLs, attrs) 2022-02-07 18:33:57 +01:00
0f2fa6836f
refactor TryFrom<Entry, ImmutableEntry> 2022-02-07 18:27:02 +01:00
2f664ce820
clear lexpr options just to be safe (no keywords) 2022-02-04 23:01:44 +01:00
8d51529f38
retireve_file takes reference 2022-02-04 20:33:07 +01:00
dc72b0a34c
only insert ADDED on first add 2022-02-03 10:12:26 +01:00
f20928ddfe
rustfmt 2022-02-02 17:13:23 +01:00
6aa804584d
add (some) lang tests, implement "in" logic 2022-02-02 17:13:11 +01:00
466f870d6f add Meta queries, check db version on start 2022-01-31 15:57:35 +01:00
34847f3321
fix search ("contains" query, UpObject params bug) 2022-01-30 16:20:02 +01:00
3a64adc935
containers -> groups 2022-01-28 23:32:13 +01:00
8c8d58847a
separate value_string and value_number columns
to be able to utilize SQL queries better for ranges, comparisons, etc.
2022-01-28 18:17:14 +01:00
ddfe103e7a
add LBLs to base types 2022-01-27 17:42:59 +01:00
fa957794e5
encode/decode -> b58_encode/decode 2022-01-26 16:55:23 +01:00
dd16a96125
canonicalize paths before normalization, fix symlink bug 2022-01-23 14:51:54 +01:00
893a87a094
unify adding files via rescans and ui 2022-01-23 14:50:37 +01:00
ef59090859
separate adding file into its own fn, refactor private fn names 2022-01-23 13:03:27 +01:00
a4caf9b8b3
fix insert_entry retval 2022-01-22 17:45:46 +01:00