038e4fd7d2
move InEntry/InAddress to routes
2022-02-12 14:51:28 +01:00
471c60c19e
fix entry PUTting
2022-02-12 13:56:41 +01:00
689350aed5
only return in progress jobs by default on /api/jobs
2022-02-10 15:20:15 +01:00
7c38406b16
thumbnail creation as jobs
2022-02-10 15:11:38 +01:00
0dd5616e9c
allow overriding mime for thumbs
2022-02-10 14:58:00 +01:00
423e039d0a
forgotten debug prints
2022-02-10 11:39:04 +01:00
674663028d
add metadata to urls on insert
2022-02-10 11:38:45 +01:00
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
b5a90ce57c
support denoting entry entities in decomposed format (adding URLs)
2022-02-07 21:59:30 +01:00
686020e579
include decoded address in /api/obj
2022-02-07 20:54:14 +01:00
2c36373d85
fix redirect to "/" in /api/thumb
2022-02-07 10:25:38 +01:00
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
8d51529f38
retireve_file takes reference
2022-02-04 20:33:07 +01:00
f8a0410282
hide desktop features when desktop is disabled
2022-02-04 12:11:00 +01:00
b215cf8e0d
cosmetics
2022-02-04 12:11:00 +01:00
faed70fe03
content disposition tweaks (attachment by default, ui target=_blank)
2022-02-03 16:54:37 +01:00
a5912ae3d2
move preview generation off the route thread
2022-02-03 00:11:35 +01:00
cb22756a47
separate endpoint for attr overwrites, implement AttributeUpdate
2022-02-02 00:45:05 +01:00
9c940e7c23
add explicit quick_check/disable_synchronous flags, ?full param to rescan endpoint
2022-01-31 17:26:31 +01:00
768a608b02
add "built" crate
2022-01-31 15:19:48 +01:00
19b25666c6
show PDFs in BlobPreview, add ?inline query param to /raw/
2022-01-27 15:55:48 +01:00
fa957794e5
encode/decode -> b58_encode/decode
2022-01-26 16:55:23 +01:00
4a02921bbd
send a http 303 if thumbnail isn't applicable
2022-01-24 18:26:53 +01:00
1f058670f8
don't duplicate file if it already exists
2022-01-23 15:01:14 +01:00
3cc0dcff45
also LBL uploaded file
2022-01-23 14:55:49 +01:00
893a87a094
unify adding files via rescans and ui
2022-01-23 14:50:37 +01:00
a91711adc8
only disable sqlite synchronous mode on initial update
2022-01-21 17:57:51 +01:00
b4b41e45e3
desktop enables are actually disabled
2022-01-19 20:42:36 +01:00
7def06e153
copy & remove instead of persist/rename
2022-01-18 22:43:55 +01:00
d46f449e4b
file upload
...
todo:
- don't return file hash in ListingResult, solve this marking problem in general?
- work around persisterror across filesystems
- add proper BLOB metadata
2022-01-18 17:05:45 +01:00
338be4be10
/raw/ queries of entries
2022-01-14 22:04:53 +01:00
8ceb310d9e
preparations for a separate attr update endpoint
2022-01-09 21:18:19 +01:00
368eb90d5b
fix compile with no default features
2022-01-07 00:52:09 +01:00
091a02d530
add endpoint to list all attributes
2022-01-06 23:23:35 +01:00
a43a9d6caf
thumbnails -> previews
2021-12-27 13:13:53 +01:00
aa67b93e4e
improve mime & content-disposition for thumbnails
2021-12-26 17:40:47 +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
b2768cbad9
add warning on parent native open
2021-12-22 11:56:06 +01:00
2ccfce6058
remove some file-centric language
2021-12-21 23:16:10 +01:00
057ac8e35f
open dir instead of 403 on native executable
2021-12-21 17:43:29 +01:00
b52d664cd4
error logging in native open
2021-12-21 16:05:27 +01:00
7d0b23e955
impl fromstr for query
2021-12-21 12:01:40 +01:00
7a1d0a5024
add native/default file open
2021-12-19 22:38:41 +01:00
64906a1049
separate hier_roots endpoint, resolve via redirects
2021-12-17 23:42:58 +01:00
e0a603d154
remove list_hier, retrieve_object retrieves attrs of attrs, rework /api/hier
2021-12-17 23:04:35 +01:00
a33943bdb7
handle root /hier/ query
2021-12-17 14:15:56 +01:00
2944ce3d81
fix missing hier_label_attr, add trace to list_hier
2021-08-18 11:06:38 +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