|
4b1a8c862c
|
turn off synchronous mode during fs resyncs
|
2021-12-04 21:43:13 +01:00 |
|
|
bc97b8bc8f
|
move all inserts into a single transaction
|
2021-12-04 18:49:11 +01:00 |
|
|
dd765ee94b
|
add lru cache to resolve_path fn
|
2021-12-04 18:33:40 +01:00 |
|
|
4403f518c9
|
cargo clippy fixes
|
2021-12-04 16:46:13 +01:00 |
|
|
2448169d64
|
small optimizations in fs import
|
2021-12-04 16:45:06 +01:00 |
|
|
1df746596f
|
clean up db type code to better match actual usage
|
2021-12-02 21:30:11 +01:00 |
|
|
00cac1bca1
|
[db/ui] remove instantiations, use plain relations with aliases instead
|
2021-10-29 18:05:03 +02:00 |
|
|
30189b42a5
|
[db] fix clippy warnings
|
2021-10-29 15:49:53 +02:00 |
|
|
939297f91b
|
[db] follow symlinks
|
2021-10-28 17:24:47 +02:00 |
|
|
eec053a58a
|
[db] add basic tests for fs, hierarchies, database
|
2021-10-24 17:26:39 +02:00 |
|
|
fbee24978b
|
ensure UNode is non-empty
|
2021-08-18 11:06:37 +02:00 |
|
|
816f04fc86
|
upend hierarchies - first step
separate hierarchies.rs module from filesystem.rs, simplify and fix path handling
|
2021-08-18 11:06:36 +02:00 |
|
|
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 |
|
|
754c315cd2
|
refactor database.rs into separate files
|
2021-07-26 21:00:05 +02:00 |
|
|
5953c733cf
|
INSTANCED -> INSTANCES, sort of (also see #11)
|
2021-06-28 20:39:24 +02:00 |
|
|
942ccf1c40
|
mark failed jobs with a specific state, prevent from lingering in ui
|
2021-06-20 16:46:45 +02:00 |
|
|
0beca214df
|
forgotten DIR_HAS attr in FS_DIR
|
2021-06-19 17:59:54 +02:00 |
|
|
2a3c1a5326
|
add more attrs to BLOB type
|
2021-06-19 15:56:10 +02:00 |
|
|
86294ebf53
|
create macros for common (type) inserts
|
2021-06-19 15:54:32 +02:00 |
|
|
415450ccae
|
add TYPE_INSTANCED, BLOB is INSTANCED by FS_FILE
|
2021-06-06 23:50:27 +02:00 |
|
|
e0eb20aba7
|
add BLOB TYPE
|
2021-06-04 15:14:58 +02:00 |
|
|
4468262f50
|
fix bug adding duplicate Files
initialize digest in _process_directory_entry via once_cell
|
2021-05-28 23:36:00 +02:00 |
|
|
9df88d1ad5
|
fix clippy hints
|
2021-04-24 00:08:17 +02:00 |
|
|
d32334088e
|
[backend] list_roots() returns Addresses directly, fix bug with resolving parentless directories
|
2021-04-04 23:24:52 +02:00 |
|
|
4804cea634
|
rewrite fetch_or_create_dir slightly for more clarity
|
2021-04-04 18:44:01 +02:00 |
|
|
da4d7e6758
|
attach mime entry directly to file hash; add mtime & size
|
2021-03-25 21:29:49 +01:00 |
|
|
c422f89d18
|
add mime type to filesystem update step
|
2021-03-22 23:07:39 +01:00 |
|
Tomáš Mládek
|
b051529da6
|
better logging in rescan_vault()
|
2021-03-20 16:49:01 +01:00 |
|
Tomáš Mládek
|
b773dbc49c
|
TYPE_ID attr, type of TYPE
(todo: clean up, deduplicate code...)
|
2021-03-19 00:03:34 +01:00 |
|
Tomáš Mládek
|
0f006ea32c
|
fix invariant calculation/insertion
|
2021-03-18 22:42:03 +01:00 |
|
Tomáš Mládek
|
e38bab5957
|
remove ensure_invariant now that it's unnecessary
|
2021-03-15 22:37:09 +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
|
ce36c97f2a
|
add basic types
|
2021-03-14 22:16:28 +01:00 |
|
Tomáš Mládek
|
21e7ee7538
|
finish renaming target/key/value to entity/attribute/value
|
2021-03-14 10:44:13 +01:00 |
|
Tomáš Mládek
|
6e7cdd9887
|
rename reimport_directory to rescan_vault
|
2021-03-06 22:14:17 +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
|
5096e1eece
|
refactoring: remove query_entries(), from_sexp into TryFrom, query_to_sqlite is a method
|
2021-02-20 12:39: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
|
99f6c6c052
|
remove InnerEntry, consolidate into Entry
|
2021-02-19 20:27:30 +01:00 |
|
Tomáš Mládek
|
db5235bbd5
|
run cargo update , fix incorrect imports
|
2021-02-18 19:20:52 +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 |
|
|
bb2a8e909f
|
cargo clippy fix
|
2020-09-30 01:33:36 +02:00 |
|
|
02c65ded8e
|
return an enum signifying action taken from fs update functions
|
2020-09-30 01:31:48 +02:00 |
|
|
2307c7bd57
|
expand query_entries for fuzzier queries; fix filename lookup
|
2020-09-29 00:30:00 +02:00 |
|
|
9a5a7383a4
|
add bulk_retrieve_objects, add base inspect view, upgrade typescript, add swrv...
fix type issues, better http errors on mangled addresses
|
2020-09-25 02:45:17 +02:00 |
|
|
6e449088a0
|
add update duration print out
|
2020-09-23 23:11:50 +02:00 |
|
|
80541fe978
|
non-duplicate updates (without updating virtual fs structure yet)
|
2020-09-22 00:41:59 +02:00 |
|
|
63ffe42907
|
lock update pool behind r/w lock; increase timeout to 30s
to-do - integrate r/w lock into pool directly?
|
2020-09-20 20:14:05 +02:00 |
|
|
400b0d11f2
|
^^ take that back, likely not necessary in this case
|
2020-09-20 19:42:53 +02:00 |
|
|
ec9b31292e
|
handle canonicalization errors
|
2020-09-20 19:40:36 +02:00 |
|