Commit Graph

268 Commits

Author SHA1 Message Date
David Christofas e20b2b1536 fix default policy and add changelog 2022-09-01 12:43:32 +02:00
David Christofas 69de4616b5 fix linting issues 2022-09-01 12:43:32 +02:00
David Christofas 90574268d9 add missing unprotected flag and fix proxy test 2022-09-01 12:43:32 +02:00
David Christofas 69ba80562e add unprotected flag to the proxy routes
I added an unprotected flag to the proxy routes which is evaluated by
the authentication middleware. This way we won't have to maintain a
hardcoded list of unprotected paths and path prefixes and we will
hopefully reduce the times we encounter the basic auth prompt by web
browsers.
2022-09-01 12:43:32 +02:00
David Christofas 4d4f3a16e1 refactor proxy code
I refactored the proxy so that we execute the routing before the
authentication middleware. This is necessary so that we can determine
which routes are considered unprotected i.e. which routes don't need
authentication.
2022-09-01 12:43:32 +02:00
Benedikt Kulmann 0341097430 fix: disable misconfigured default expiration date public links 2022-08-31 08:23:28 +02:00
Ralf Haferkamp a26b16c41d graph: Add $expand=memberOf support to /me
Fixes: #4283
2022-08-31 07:43:27 +02:00
Christian Richter 6a9d4efef6 add delete home space permission to admin role
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-08-30 11:09:05 +02:00
Christian Richter 05a60fd3a5 add home space deletion on user delete
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-08-26 15:00:55 +02:00
Phil Davis b79de5f356 Merge pull request #4462 from owncloud/fix-typo-2022-08-26
[docs-only] Fix typo 2022-08-26
2022-08-26 18:33:53 +05:45
Jörn Friedrich Dreyer de208f5b87 lint
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-26 12:41:16 +00:00
Jörn Friedrich Dreyer bba00e11a9 use common config for jsoncs3 defaults
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-26 12:19:44 +00:00
Jan a999dd1d61 Add previewFileMimeTypes to defaultconfig.go (#4414)
* Add previewFileMimeTypes to defaultconfig.go

* Add changelog item

* Format

* Remove obsolete hideSearchBar config setting
2022-08-26 11:51:33 +02:00
Benedikt Kulmann 6fc87613d5 fix: add index.html to unprotected paths 2022-08-26 10:37:46 +02:00
Phil Davis d8dddc8891 Fix typo of 'defines' 2022-08-26 10:34:23 +05:45
Jörn Friedrich Dreyer 38b2a9a487 Merge branch 'master' into jsoncs3-share-manager 2022-08-25 15:24:20 +00:00
Benedikt Kulmann 9d67ab3292 fix: set /external path prefix to unprotected 2022-08-25 10:47:46 +02:00
Benedikt Kulmann 9c9a81026c fix: add index.html to unprotected paths in auth middleware 2022-08-25 10:39:55 +02:00
David Christofas 0d2b7e350b add missing unprotected paths 2022-08-24 16:32:25 +02:00
Benedikt Kulmann 335567ed65 Merge pull request #4439 from owncloud/update-web-v5.7.0-rc.10
[full-ci] update web to v5.7.0-rc.10
2022-08-24 12:08:22 +02:00
David Christofas e65eb15f2c add the settings path to the unprotected paths 2022-08-24 11:04:18 +02:00
David Christofas 28a9bf357e end unprotected path prefixes with a slash 2022-08-24 10:12:34 +05:45
David Christofas 6043e019f4 add the fonts path to the unprotected path prefixes 2022-08-24 10:12:34 +05:45
Benedikt Kulmann 992c19d26a chore: update web to v5.7.0-rc.10 2022-08-24 10:12:33 +05:45
Willy Kloucek faa7d3b647 add config options for mail encryption and authentication 2022-08-23 14:39:32 +02:00
David Christofas c4881f5736 Merge pull request #4374 from owncloud/rewrite-auth-middleware
[full-ci] Rewrite of the authentication middleware
2022-08-22 16:39:03 +02:00
David Christofas dfe703291f replace strings.Title with cases.Title 2022-08-22 15:26:00 +02:00
David Christofas 12d42e0074 add missing comments 2022-08-22 14:24:12 +02:00
Willy Kloucek 15c1a99ddc Merge pull request #4405 from wkloucek/config-validation-line-break-and-help
ensure a linebreak after config validation errors and do not parse config for help
2022-08-22 11:12:22 +02:00
Willy Kloucek 9f2be9f4f9 remove Log prefix from configlog functions 2022-08-22 08:08:18 +02:00
Martin 6d54377447 Merge pull request #4411 from wkloucek/fix-app-registry-default-mimetypes
fix configuration of mimetypes for the app registry
2022-08-20 09:58:32 +02:00
Willy Kloucek e58eaabdeb move config parse error logging into function to ensure new lines and don't parse config for help 2022-08-18 15:27:28 +02:00
Willy Kloucek 46706fff32 Merge pull request #4407 from wkloucek/rename-extensions-to-services-reloaded
rename extensions to services (leftover occurences)
2022-08-18 14:03:20 +02:00
Willy Kloucek d93fd7ab4d fix configuration of mimetypes for the app registry 2022-08-18 11:58:10 +02:00
Willy Kloucek 60689c9c1a improve unsupervised description 2022-08-18 10:59:35 +02:00
Willy Kloucek dbcd78e6ef Merge pull request #4403 from wkloucek/storage-users-uploads-category
restructure storage-users upload command
2022-08-18 10:56:47 +02:00
Willy Kloucek ef8c600cf7 Merge pull request #4376 from wkloucek/open-with-web-endpoitn
[full-ci] add open-with-web endpoint
2022-08-18 10:21:01 +02:00
Willy Kloucek 70bce6b3f0 remove leading slash 2022-08-18 09:35:48 +02:00
Willy Kloucek 08c7743df9 add header to clean up and rename purge to clean in leftover places 2022-08-18 09:20:58 +02:00
Willy Kloucek 6154466bbc rename extensions to services (leftover occurences) 2022-08-17 15:36:52 +02:00
Willy Kloucek 12204e4d91 remove category from uploads section 2022-08-17 15:05:26 +02:00
Willy Kloucek 7d76650e5f further improve descriptions 2022-08-17 14:58:31 +02:00
Willy Kloucek ea1484250f improve usage text
Co-authored-by: Martin <github@diemattels.at>
2022-08-17 14:29:42 +02:00
jkoberg 152ce60d87 fix audit service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-08-17 14:20:05 +02:00
jkoberg 66ff20442f use .golangci.yml
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-08-17 14:20:05 +02:00
Willy Kloucek 82acd83c61 remove fmt.Sprintf 2022-08-17 12:56:12 +02:00
Willy Kloucek c0f0b0efb4 move the uploads command into a category 2022-08-17 12:40:02 +02:00
Willy Kloucek 067e614713 implement review feedback 2022-08-17 12:25:55 +02:00
Willy Kloucek 5730ad6d5b add documentation, wire configuration 2022-08-17 12:13:47 +02:00
Willy Kloucek 0a9790105d introduce staticurlparams 2022-08-17 12:13:47 +02:00