Commit Graph

254 Commits (1cf027f28129b3ee1039773da64f9513d852794d)

Author SHA1 Message Date
Tomáš Mládek d03998915c
add web::block to all db actions in route handlers 2022-02-27 15:03:15 +01:00
Tomáš Mládek 0e1b1765ae
skip over paths which failed to canonicalize 2022-02-23 15:56:22 +01:00
Tomáš Mládek 9541c397e3 better handling of invalid paths in store view 2022-02-21 22:25:48 +01:00
Tomáš Mládek 583fea153c add store info display // all blob listing 2022-02-21 22:01:31 +01:00
Tomáš Mládek 4e54c19ee5
disallow empty attributes in entries 2022-02-19 17:30:55 +01:00
Tomáš Mládek 5a393b4ec0
jobs can also have indeterminate progress 2022-02-19 16:31:51 +01:00
Tomáš Mládek dc808aab22
explicit NULL entryvalue 2022-02-19 14:59:21 +01:00
Tomáš Mládek 6820e9a174
create extractor trait 2022-02-15 13:32:46 +01:00
Tomáš Mládek add8371776
send cache-control (immutable, 31) for /raw/{hash} 2022-02-15 01:21:04 +01:00
Tomáš Mládek 0ef7ea5b3a
also impl From<f64> and From<Address> 2022-02-13 12:56:29 +01:00
Tomáš Mládek b417dad0ec
impl From<AsRef<str>> for EntryValue, replace where appropriate 2022-02-13 12:56:29 +01:00
Tomáš Mládek e81d520993
fix empty string value handling 2022-02-13 12:56:29 +01:00
Tomáš Mládek 75f9282ea2
don't label newly created uuids 2022-02-12 22:22:08 +01:00
Tomáš Mládek a74e86e70d
allow uuid generation by server 2022-02-12 21:48:29 +01:00
Tomáš Mládek ebf48c0e5f
allow inserting multiple entries (in transaction) in /api/obj 2022-02-12 14:55:54 +01:00
Tomáš Mládek 038e4fd7d2
move InEntry/InAddress to routes 2022-02-12 14:51:28 +01:00
Tomáš Mládek 471c60c19e
fix entry PUTting 2022-02-12 13:56:41 +01:00
Tomáš Mládek 689350aed5
only return in progress jobs by default on /api/jobs 2022-02-10 15:20:15 +01:00
Tomáš Mládek 7c38406b16
thumbnail creation as jobs 2022-02-10 15:11:38 +01:00
Tomáš Mládek 0dd5616e9c
allow overriding mime for thumbs 2022-02-10 14:58:00 +01:00
Tomáš Mládek 423e039d0a
forgotten debug prints 2022-02-10 11:39:04 +01:00
Tomáš Mládek 674663028d
add metadata to urls on insert 2022-02-10 11:38:45 +01:00
Tomáš Mládek bbc871ccf6
typeless jobs 2022-02-10 10:47:10 +01:00
Tomáš Mládek 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
Tomáš Mládek b5a90ce57c
support denoting entry entities in decomposed format (adding URLs) 2022-02-07 21:59:30 +01:00
Tomáš Mládek 686020e579
include decoded address in /api/obj 2022-02-07 20:54:14 +01:00
Tomáš Mládek 25bc14e3b4
allow searching in entities (URLs, attrs) 2022-02-07 18:33:57 +01:00
Tomáš Mládek 0f2fa6836f
refactor TryFrom<Entry, ImmutableEntry> 2022-02-07 18:27:02 +01:00
Tomáš Mládek 2c36373d85
fix redirect to "/" in /api/thumb 2022-02-07 10:25:38 +01:00
Tomáš Mládek 34e737d457
"application/x-riff" == WAV audio 2022-02-07 00:01:38 +01:00
Tomáš Mládek a83149e746
switch from GET /api/obj?query endpoint to POST /api/query endpoint
also switch from useSWR shim taking `() => SWRKey` as param
2022-02-06 22:25:33 +01:00
Tomáš Mládek 6b9e534270
ALIAS points to LBL, not directly to value (!) 2022-02-06 12:54:51 +01:00
Tomáš Mládek 2f664ce820
clear lexpr options just to be safe (no keywords) 2022-02-04 23:01:44 +01:00
Tomáš Mládek 172404a2d9
logging, formatting in previews/mod.rs 2022-02-04 20:34:25 +01:00
Tomáš Mládek 8d51529f38
retireve_file takes reference 2022-02-04 20:33:07 +01:00
Tomáš Mládek 2337cd54c1
only run full rescan on new db, not init scan 2022-02-04 20:32:10 +01:00
Tomáš Mládek f8a0410282
hide desktop features when desktop is disabled 2022-02-04 12:11:00 +01:00
Tomáš Mládek b215cf8e0d
cosmetics 2022-02-04 12:11:00 +01:00
Tomáš Mládek 20a6fa0de7
add audio waveform thumbnails 2022-02-03 18:40:19 +01:00
Tomáš Mládek 7540b31ab8
add play button to video thumbnails 2022-02-03 18:13:09 +01:00
Tomáš Mládek b80d547689
static dirs are handled for both debug and release 2022-02-03 17:48:24 +01:00
Tomáš Mládek 97198848c4
enable mkv previews 2022-02-03 16:54:39 +01:00
Tomáš Mládek 6b70d706fa
change video preview format to webp 2022-02-03 16:54:39 +01:00
Tomáš Mládek faed70fe03
content disposition tweaks (attachment by default, ui target=_blank) 2022-02-03 16:54:37 +01:00
Tomáš Mládek 2173ca5b51
add a --clean param 2022-02-03 16:54:36 +01:00
Tomáš Mládek dc72b0a34c
only insert ADDED on first add 2022-02-03 10:12:26 +01:00
Tomáš Mládek 3cd3df27c0
"ADDED" entry for files 2022-02-03 09:54:51 +01:00
Tomáš Mládek a5912ae3d2
move preview generation off the route thread 2022-02-03 00:11:35 +01:00
Tomáš Mládek f20928ddfe
rustfmt 2022-02-02 17:13:23 +01:00
Tomáš Mládek 6aa804584d
add (some) lang tests, implement "in" logic 2022-02-02 17:13:11 +01:00