Commit Graph

37 Commits

Author SHA1 Message Date
Pascal Wengerter 133682e6b9 Add formatting results 2022-05-19 10:36:23 +02:00
André Duffeck 66190e4b55 Cleanup 2022-05-19 08:31:38 +02:00
Willy Kloucek 7d87927459 add descriptions to the debug config 2022-05-18 09:57:41 +02:00
Willy Kloucek 3ce2c2123d remove composition of Commons 2022-05-16 11:34:05 +02:00
Jörn Friedrich Dreyer acab143050 use command -v instead of which
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-13 11:16:40 +00:00
Jörn Friedrich Dreyer 42a9f07882 Merge pull request #3783 from aduffeck/refine-search
Improve search
2022-05-13 08:06:06 +00:00
Michael Barz eb07e056e6 fix thumbnails for empty trailing paths 2022-05-12 18:36:12 +02:00
André Duffeck c4f25c6a55 Return a proper resource type in the propstat response
Fixes https://github.com/owncloud/web/issues/6944
2022-05-12 15:41:05 +02:00
André Duffeck c6c718eb41 Allow for searching by metadata like "Size:<100" 2022-05-12 13:42:46 +02:00
David Christofas ed12673250 add description tags to webdav config 2022-05-10 11:54:02 +02:00
Michael Barz f6e2f46ebb Exit when encountering config parsing errors 2022-05-09 11:49:15 +02:00
Jörn Friedrich Dreyer c4014f478e fiv spaces thumbnails
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-06 10:08:01 +00:00
Jörn Friedrich Dreyer 84de8d563e Fix env var naming
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-06 08:43:03 +00:00
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