|
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 |
|
|
6b9e534270
|
ALIAS points to LBL, not directly to value (!)
|
2022-02-06 12:54:51 +01:00 |
|
|
dc72b0a34c
|
only insert ADDED on first add
|
2022-02-03 10:12:26 +01:00 |
|
|
3cd3df27c0
|
"ADDED" entry for files
|
2022-02-03 09:54:51 +01:00 |
|
|
9c940e7c23
|
add explicit quick_check/disable_synchronous flags, ?full param to rescan endpoint
|
2022-01-31 17:26:31 +01:00 |
|
|
fa5626af4f
|
allow only one job of a type to be in progress at once
|
2022-01-30 16:00:29 +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 |
|
|
c1698061d5
|
file fns return addresses
|
2022-01-23 14:55:40 +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 |
|
|
0920fec0ce
|
add immutable entries for size, etc (does nothing for now)
|
2022-01-21 17:59:53 +01:00 |
|
|
a91711adc8
|
only disable sqlite synchronous mode on initial update
|
2022-01-21 17:57:51 +01:00 |
|
|
a2b9ec4c75
|
move "?" out of upend macros
|
2022-01-18 16:59:32 +01:00 |
|
|
952475b92b
|
fix missed reporting on path cleanups
|
2022-01-08 12:21:04 +01:00 |
|
|
d11d20f210
|
fix tests due to tempdir -> tempfile change
|
2021-12-27 12:36:38 +01:00 |
|
|
5f8182e9b7
|
switch from tree_magic to mini_tree_magic
|
2021-12-25 11:35:37 +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 |
|
|
ce9e552844
|
rewrite database module as a struct instead of bare fns
|
2021-12-23 11:10:16 +01:00 |
|
|
e0a603d154
|
remove list_hier, retrieve_object retrieves attrs of attrs, rework /api/hier
|
2021-12-17 23:04:35 +01:00 |
|
|
7adaecdafc
|
re-enable synchronous mode more robustly through a drop guard
|
2021-12-05 23:31:19 +01:00 |
|
|
b49315e22b
|
update mtime if same hash to avoid hashing next time
|
2021-12-05 22:57:47 +01:00 |
|
|
64cdbf08bc
|
only process files in rescan, finally fix tests
|
2021-12-05 13:26:27 +01:00 |
|
|
365987f261
|
UpdatePathOutcome includes a "Failed" variant with path and error
|
2021-12-05 13:26:18 +01:00 |
|
|
b5a013e973
|
put upend into its own subdir, fix self-scanning
|
2021-12-05 12:43:43 +01:00 |
|
|
c8b8a76bba
|
logging
|
2021-12-05 12:10:41 +01:00 |
|
|
4233a5da46
|
improve fs rescan logging
|
2021-12-04 21:58:16 +01:00 |
|
|
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 |
|