Commit Graph

230 Commits (10d9cd1718a02265426c3c4beaaec01d834cbfe5)

Author SHA1 Message Date
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
Tomáš Mládek cb22756a47
separate endpoint for attr overwrites, implement AttributeUpdate 2022-02-02 00:45:05 +01:00
Tomáš Mládek 9c940e7c23 add explicit quick_check/disable_synchronous flags, ?full param to rescan endpoint 2022-01-31 17:26:31 +01:00
Tomáš Mládek 466f870d6f add Meta queries, check db version on start 2022-01-31 15:57:35 +01:00
Tomáš Mládek 768a608b02 add "built" crate 2022-01-31 15:19:48 +01:00
Tomáš Mládek 34847f3321
fix search ("contains" query, UpObject params bug) 2022-01-30 16:20:02 +01:00
Tomáš Mládek fa5626af4f
allow only one job of a type to be in progress at once 2022-01-30 16:00:29 +01:00
Tomáš Mládek 3a64adc935
containers -> groups 2022-01-28 23:32:13 +01:00
Tomáš Mládek 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
Tomáš Mládek 8b9947c2e4
fix no-default-features build 2022-01-28 14:21:07 +01:00
Tomáš Mládek ddfe103e7a
add LBLs to base types 2022-01-27 17:42:59 +01:00
Tomáš Mládek 19b25666c6
show PDFs in BlobPreview, add ?inline query param to /raw/ 2022-01-27 15:55:48 +01:00
Tomáš Mládek 538ccc27ec
refactor address tests to use results 2022-01-27 10:53:19 +01:00
Tomáš Mládek 01029053c9
add url address type 2022-01-27 10:51:26 +01:00
Tomáš Mládek b095f900f6
test addresses encoding/decoding on equivalence and not just representation 2022-01-26 17:07:58 +01:00
Tomáš Mládek fa957794e5
encode/decode -> b58_encode/decode 2022-01-26 16:55:23 +01:00
Tomáš Mládek 4a02921bbd send a http 303 if thumbnail isn't applicable 2022-01-24 18:26:53 +01:00
Tomáš Mládek d508cd0a74 add image previews 2022-01-24 17:04:27 +01:00
Tomáš Mládek 1f058670f8
don't duplicate file if it already exists 2022-01-23 15:01:14 +01:00
Tomáš Mládek 3cc0dcff45
also LBL uploaded file 2022-01-23 14:55:49 +01:00
Tomáš Mládek c1698061d5
file fns return addresses 2022-01-23 14:55:40 +01:00
Tomáš Mládek dd16a96125
canonicalize paths before normalization, fix symlink bug 2022-01-23 14:51:54 +01:00
Tomáš Mládek 893a87a094
unify adding files via rescans and ui 2022-01-23 14:50:37 +01:00
Tomáš Mládek ef59090859
separate adding file into its own fn, refactor private fn names 2022-01-23 13:03:27 +01:00
Tomáš Mládek a4caf9b8b3
fix insert_entry retval 2022-01-22 17:45:46 +01:00