Commit graph

63 commits

Author SHA1 Message Date
2e348a9b29 wip: split upend_base and upend_db 2023-06-25 15:36:15 +02:00
0eec69b219 refactor : rename attr constants for consistency 2023-06-24 16:18:03 +02:00
8bf75a7c9e refactor!: Unify groups, tags, types (on the backend) 2023-06-19 11:52:23 +02:00
2b30f5670f fix: "database is locked" errors on init (?) 2023-03-19 20:06:45 +01:00
5b0f59abab style: !is_release instead of is_debug 2023-03-19 20:05:10 +01:00
4c1231a4ba chore: warn when reinitializing 2023-01-24 23:50:56 +01:00
051e95d640 fix: properly set WAL, eliminate (?) intermittent database locked errors 2022-10-24 19:29:41 +02:00
ee8dc40577 fix: tracing target has to be static 2022-10-24 09:25:34 +02:00
363ddfc3fe fix: target 2022-10-23 19:20:52 +02:00
3292a5b346 fix: add proper targets to db logging, panic in debug mode 2022-10-23 16:07:08 +02:00
b5b05ed852 fix: add custom logging handler (elucidate db locked errors?) 2022-10-23 13:46:42 +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
d671640c04 chore: fix vault/db path semantics, previews in db path, --clean param 2022-09-16 16:49:25 +02:00
5152675bad refactor: use trait objects instead of FsStore directly
also fix most clippy hints
2022-09-15 19:25:08 +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
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
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
b9ea04109e
add explicit autocheckpoint, change db option traces! to debugs! 2022-03-14 14:02:03 +01:00
1c316427ab
extract all metadata on vault rescan 2022-03-02 22:27:07 +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
686020e579
include decoded address in /api/obj 2022-02-07 20:54:14 +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
466f870d6f add Meta queries, check db version on start 2022-01-31 15:57:35 +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
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
0920fec0ce add immutable entries for size, etc (does nothing for now) 2022-01-21 17:59:53 +01:00
ecaea693c6 reformat (?) 2022-01-21 17:03:50 +01:00
a2b9ec4c75
move "?" out of upend macros 2022-01-18 16:59:32 +01:00
338be4be10
/raw/ queries of entries 2022-01-14 22:04:53 +01:00
091a02d530
add endpoint to list all attributes 2022-01-06 23:23:35 +01:00
d11d20f210
fix tests due to tempdir -> tempfile change 2021-12-27 12:36:38 +01:00
a608659baa
thumbnails module, "text thumbnails" on backend 2021-12-23 23:45:46 +01:00
0f3dd88193
clippy fixes, no default feature compile fix 2021-12-23 11:18:04 +01:00
0058a9fcdd
test db open newness 2021-12-23 11:11:36 +01:00
ce9e552844
rewrite database module as a struct instead of bare fns 2021-12-23 11:10:16 +01:00