Commit Graph

181 Commits (dec2e4daf1866d74a9f2d49aa7a27a161cc6ffa8)

Author SHA1 Message Date
Tomáš Mládek a4caf9b8b3
fix insert_entry retval 2022-01-22 17:45:46 +01:00
Tomáš Mládek 0920fec0ce add immutable entries for size, etc (does nothing for now) 2022-01-21 17:59:53 +01:00
Tomáš Mládek a91711adc8 only disable sqlite synchronous mode on initial update 2022-01-21 17:57:51 +01:00
Tomáš Mládek ecaea693c6 reformat (?) 2022-01-21 17:03:50 +01:00
Tomáš Mládek b4b41e45e3
desktop enables are actually disabled 2022-01-19 20:42:36 +01:00
Tomáš Mládek e489fd7b5a
--no-desktop implies --no-browser 2022-01-19 20:36:02 +01:00
Tomáš Mládek 7def06e153 copy & remove instead of persist/rename 2022-01-18 22:43:55 +01:00
Tomáš Mládek 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
Tomáš Mládek 1521f25132
impl Hashable for Path, not just PathBuf 2022-01-18 16:59:59 +01:00
Tomáš Mládek b3b6c2d2a8
raise global payload limit 2022-01-18 16:59:46 +01:00
Tomáš Mládek a2b9ec4c75
move "?" out of upend macros 2022-01-18 16:59:32 +01:00
Tomáš Mládek 338be4be10
/raw/ queries of entries 2022-01-14 22:04:53 +01:00
Tomáš Mládek 2f6a265af8
alike value queries do not include addresses 2022-01-13 20:31:50 +01:00
Tomáš Mládek 8ceb310d9e
preparations for a separate attr update endpoint 2022-01-09 21:18:19 +01:00
Tomáš Mládek 952475b92b
fix missed reporting on path cleanups 2022-01-08 12:21:04 +01:00
Tomáš Mládek 368eb90d5b
fix compile with no default features 2022-01-07 00:52:09 +01:00
Tomáš Mládek 091a02d530
add endpoint to list all attributes 2022-01-06 23:23:35 +01:00
Tomáš Mládek a43a9d6caf
thumbnails -> previews 2021-12-27 13:13:53 +01:00
Tomáš Mládek d11d20f210
fix tests due to tempdir -> tempfile change 2021-12-27 12:36:38 +01:00
Tomáš Mládek 6b95e59acf
try next port if taken 2021-12-27 11:58:01 +01:00
Tomáš Mládek 3186b9ce6e
add video thumbnailing via ffmpeg 2021-12-26 18:16:37 +01:00
Tomáš Mládek aa67b93e4e
improve mime & content-disposition for thumbnails 2021-12-26 17:40:47 +01:00
Tomáš Mládek 5f8182e9b7
switch from tree_magic to mini_tree_magic 2021-12-25 11:35:37 +01:00
Tomáš Mládek a608659baa
thumbnails module, "text thumbnails" on backend 2021-12-23 23:45:46 +01:00
Tomáš Mládek 0f3dd88193
clippy fixes, no default feature compile fix 2021-12-23 11:18:04 +01:00
Tomáš Mládek 0058a9fcdd
test db open newness 2021-12-23 11:11:36 +01:00
Tomáš Mládek ce9e552844
rewrite database module as a struct instead of bare fns 2021-12-23 11:10:16 +01:00
Tomáš Mládek b2768cbad9
add warning on parent native open 2021-12-22 11:56:06 +01:00
Tomáš Mládek 2ccfce6058
remove some file-centric language 2021-12-21 23:16:10 +01:00
Tomáš Mládek 057ac8e35f
open dir instead of 403 on native executable 2021-12-21 17:43:29 +01:00
Tomáš Mládek b52d664cd4
error logging in native open 2021-12-21 16:05:27 +01:00
Tomáš Mládek 7d0b23e955
impl fromstr for query 2021-12-21 12:01:40 +01:00
Tomáš Mládek 8e71e34a09
add not queries into uplang
somewhat awkwardly implemented as multiqueries, but hey
2021-12-21 11:50:46 +01:00
Tomáš Mládek 2d1a3b9ba7
better test of list_roots 2021-12-21 11:26:20 +01:00
Tomáš Mládek 7a1d0a5024 add native/default file open 2021-12-19 22:38:41 +01:00
Tomáš Mládek ac1e110b02 optional "desktop" feature 2021-12-19 20:09:44 +01:00
Tomáš Mládek c44afd0376 default vault name is dirname 2021-12-19 18:53:10 +01:00
Tomáš Mládek ffedb89e03 todo 2021-12-18 00:14:47 +01:00
Tomáš Mládek 64906a1049 separate hier_roots endpoint, resolve via redirects 2021-12-17 23:42:58 +01:00
Tomáš Mládek e0a603d154 remove list_hier, retrieve_object retrieves attrs of attrs, rework /api/hier 2021-12-17 23:04:35 +01:00
Tomáš Mládek 1194a4439e list_path also fetches attrs of attrs 2021-12-17 19:44:00 +01:00
Tomáš Mládek a33943bdb7 handle root /hier/ query 2021-12-17 14:15:56 +01:00
Tomáš Mládek 43d7b06c2b Revert "update dependencies"
This reverts commit 58d74d985c.
2021-12-10 14:57:46 +01:00
Tomáš Mládek 58d74d985c update dependencies 2021-12-09 22:03:55 +01:00
Tomáš Mládek 7adaecdafc re-enable synchronous mode more robustly through a drop guard 2021-12-05 23:31:19 +01:00
Tomáš Mládek b49315e22b update mtime if same hash to avoid hashing next time 2021-12-05 22:57:47 +01:00
Tomáš Mládek cb832b6789 lock concurrent fetch_or_creates to prevent inconsistencies 2021-12-05 22:36:16 +01:00
Tomáš Mládek dacfc57d11 truncate WAL log on start 2021-12-05 20:30:31 +01:00
Tomáš Mládek cec3c4891e set synchronous to NORMAL for all connections 2021-12-05 19:06:04 +01:00
Tomáš Mládek 64cdbf08bc only process files in rescan, finally fix tests 2021-12-05 13:26:27 +01:00