Jörn Friedrich Dreyer
fd995475b6
use WhoAmI to look up user for legacy webdav endpoints
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-05 14:48:57 +00:00
Willy Kloucek
5b49432d2d
add changelog
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-05 13:51:36 +00:00
Willy Kloucek
2ddc7f7399
split context functions for public and user thumbnails
2022-05-05 13:48:54 +00:00
Willy Kloucek
ea9cbb8c2d
return 404 for /remote.php/webdav and /webdav/ previews
2022-05-05 13:48:54 +00:00
Willy Kloucek
a04c5c2f6f
implement thumbnails also for webdav and non remote.php routes
2022-05-05 13:48:51 +00:00
Willy Kloucek
9db5216bc4
add route handler for all possible webdav urls
2022-05-05 13:44:43 +00:00
Michael Barz
189987bcbd
Bump major version to v2
2022-05-04 14:49:59 +02:00
David Christofas
ae9aff3d59
reduce hacky reference handling in thumbnailer
2022-05-04 10:58:04 +02:00
Willy Kloucek
56261e3e63
Merge branch 'master' into config-env
2022-05-03 18:52:23 +02:00
David Christofas
618e6a6899
implement workaround for chi.RegisterMethod
...
chi.RegisterMethod writes to a global map. Other parts of chi read that map and since we start multiple chi router in different goroutines we concurrently read/write to the map which is not valid and results in panics
2022-05-03 16:39:36 +02:00
Willy Kloucek
977c4fd9e9
ensure commands for all services
2022-05-03 15:12:34 +02:00
Jörn Friedrich Dreyer
bfc8196ac2
Merge branch 'master' into search
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-05-02 13:43:24 +00:00
Jörn Friedrich Dreyer
4c53707920
omit extension name in ParseConfig doc
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-04-29 20:21:18 +00:00
Willy Kloucek
83b94cf82d
log parsing errors to stdout
2022-04-28 15:52:26 +02:00
Willy Kloucek
ab254b05d0
remove all "omitempty" from config structs to bring back full configuration file documentation
2022-04-28 15:08:40 +02:00
Willy Kloucek
3054875a05
move config validation into a separate function
2022-04-28 11:10:39 +02:00
André Duffeck
656ef9d6ae
Add a IndexSpace method to the search provider
...
IndexSpace recursively traverses a given space and (re-)index all files
it finds.
2022-04-27 09:55:32 +02:00
André Duffeck
51cf27d767
Add etag, mtime and mimetype to the search index and response
2022-04-25 11:23:30 +02:00
André Duffeck
962840ec55
Fix file id field in the search response
2022-04-22 17:54:55 +02:00
André Duffeck
fe61ef58e6
Fix searching files from the web ui
2022-04-22 14:34:04 +02:00
André Duffeck
3ec212c0cb
Properly pass on the token in the context to the search provider
2022-04-22 12:59:09 +02:00
Christian Richter
8d81e39bd6
refactor yaml labels, add overwrite protection
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-04-19 15:14:01 +02:00
Jörn Friedrich Dreyer
37f64eb0e8
Merge branch 'master' into search
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-04-14 11:56:26 +00:00
Christian Richter
afea0b4304
refactor webdav
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-04-13 17:04:38 +02:00