Commit Graph

213 Commits

Author SHA1 Message Date
David Christofas
bfb26cc660 update tests 2022-09-01 12:43:32 +02:00
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
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
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
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
Willy Kloucek
f9a25c0625 add open-with-web endpoint, needs cs3org/reva#3143 2022-08-17 12:13:47 +02:00
David Christofas
b5ef10dc2b add missing comments and changelog 2022-08-16 16:53:27 +02:00
David Christofas
3f25ca2059 add unprotected path prefix for parallel deployment 2022-08-16 15:45:22 +02:00
David Christofas
905ead629c add unprotected path prefix for external apps 2022-08-16 15:16:48 +02:00