Commit Graph

10787 Commits

Author SHA1 Message Date
David Christofas
06ffd9cf8a some more cleaning up 2022-08-12 10:48:21 +02:00
David Christofas
9347657370 remove the oidc tests since they aren't testing anything at the moment
I admit it would be better to implement the tests but I tried and it is a bit tricky since we can't mock everything we would need to mock. I'll wan to get these changes in first and later in the near future we should revisit the auth middleware architecture and refactor it a bit more to be more testable and future proof.
2022-08-12 10:48:17 +02:00
David Christofas
17a4e65f08 add tests for the public share auth middleware 2022-08-12 10:48:13 +02:00
David Christofas
7bc1305cb4 add tests for the basic auth middleware 2022-08-12 10:48:09 +02:00
David Christofas
ef020920e8 update authentication tests 2022-08-12 10:48:04 +02:00
David Christofas
ddfc01bff9 refactor unprotected paths check 2022-08-12 10:47:51 +02:00
David Christofas
f35c8b9205 clean up the authenticators middlewares 2022-08-12 10:47:48 +02:00
David Christofas
e96819bce8 rewrite the auth middleware
The old approach of the authentication middlewares had the problem that when an authenticator could not authenticate a request it would still send it to the next handler, in case that the next one can authenticate it. But if no authenticator could successfully authenticate the request, it would still be handled, which leads to unauthorized access.
2022-08-12 10:47:43 +02:00
Phil Davis
02adcbd92a Merge pull request #4381 from owncloud/selectOnlyAvailableRoleForSpaceShare
[tests-only][full-ci]Select Available role only while sharing space
2022-08-12 14:20:00 +05:45
Phil Davis
43f7a88527 Merge pull request #4364 from owncloud/add-tests-removed-by-core-40275
[tests-only][full-ci]Add tests removed by core 40275 and bump core commit id
2022-08-12 14:17:25 +05:45
Michael Barz
258def99f4 Automated changelog update [skip ci] 2022-08-12 00:20:09 +00:00
Michael Barz
da16182e26 Automated changelog update [skip ci] 2022-08-11 15:52:11 +00:00
Michael Barz
aadcee3beb Merge pull request #4385 from owncloud/release-2.0.0-beta.6
[full-ci] Release 2.0.0-beta.6
2022-08-11 17:51:52 +02:00
Michael Barz
1484849303 fix release pipeline (skip-ci) 2022-08-11 16:18:10 +02:00
Michael Barz
7c31082ed5 prepare release, bump version 2022-08-11 15:29:00 +02:00
Swikriti Tripathi
7c9ecac6fc Add tests removed by core PR-40275
update core commit id

update expected to fail file
2022-08-11 15:58:13 +05:45
sagargurung1001@gmail.com
c41cf352cd Select Available role only while sharing space 2022-08-11 14:28:54 +05:45
Michael Barz
18996ea42a Automated changelog update [skip ci] 2022-08-11 07:34:28 +00:00
Michael Barz
93bf3356e9 Merge pull request #4377 from owncloud/fix-docker
Use golang 1.18
2022-08-11 09:33:58 +02:00
Phil Davis
cf8533cbb9 Merge pull request #4345 from owncloud/addTestForChecksumForSharesJail
[tests-only][full-ci]Add `/Shares` realated tests from core
2022-08-11 10:04:04 +05:45
Michael Barz
ccd43cddda Automated changelog update [skip ci] 2022-08-10 17:54:05 +00:00
Michael Barz
a282adc1ec Merge pull request #4379 from owncloud/update-web-5.7.0.rc9
[full-ci] Update web 5.7.0.rc9
2022-08-10 19:53:44 +02:00
Michael Barz
77ade496a7 update web to v5.7.0-rc9 2022-08-10 19:11:34 +02:00
Michael Barz
f8726bc309 Automated changelog update [skip ci] 2022-08-10 17:10:47 +00:00
Michael Barz
40b17b3db2 Merge pull request #4369 from owncloud/update-reva
[full-ci] update reva to version 2.7.4
2022-08-10 19:10:16 +02:00
Michael Barz
5f6bb3405f update reva to v2.7.4 2022-08-10 18:22:57 +02:00
Michael Barz
cfda133e43 Use golang 1.18 2022-08-10 17:51:28 +02:00
Michael Barz
ece59ba3f3 use latest egde 2022-08-10 16:52:58 +02:00
Michael Barz
1702e79aca update reva to v2.7.3 2022-08-10 16:52:58 +02:00
Michael Barz
50d67f417d adapt the expected failures 2022-08-10 16:52:58 +02:00
Michael Barz
db32b5d64b update reva to latest edge 2022-08-10 16:52:58 +02:00
Phil Davis
16a34a2ed3 Merge pull request #4372 from owncloud/refactor-drone-star-dirs
[tests-only] [full-ci] Refactor .drone.star to use 'dirs' array more
2022-08-10 14:53:31 +05:45
sagargurung1001@gmail.com
1cea024889 Addressed review for the implementation 2022-08-10 14:24:54 +05:45
Phil Davis
21d3de67bf Refactor .drone.star to use 'dirs' array more 2022-08-10 14:02:31 +05:45
Phil Davis
fdaad7e38d Automated changelog update [skip ci] 2022-08-10 08:02:26 +00:00
Phil Davis
a0088a59c4 Merge pull request #4309 from owncloud/cache-once-for-pinned-repos
[full-ci][tests-only] use global cache for web and core repos usage
2022-08-10 13:46:47 +05:45
PKiran
76d00e195e [full-ci][tests-only] use global cache for web and core repos usage (#4309) 2022-08-10 13:25:23 +05:45
sagargurung1001@gmail.com
9a9b5c4c7c Add /Shares realated tests from core 2022-08-10 12:54:25 +05:45
Christian Richter
bdb3fc4ecd Automated changelog update [skip ci] 2022-08-09 11:53:10 +00:00
Kiran Parajuli
59b582c669 Address dirs review
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-08-09 17:06:43 +05:45
Christian Richter
f6f6a50de8 Merge pull request #4300 from wkloucek/remove-usused-length-adoc-template
remove unused length from adoc template
2022-08-09 12:21:20 +02:00
Michael Barz
a503e808c0 Merge pull request #4256 from aduffeck/cleanup-uploads
Add a cli for listing and cleaning up expired uploads
2022-08-09 12:09:17 +02:00
Michael Barz
5ec10fe17f Automated changelog update [skip ci] 2022-08-09 10:07:37 +00:00
Michael Barz
d00e1849d9 Merge pull request #4362 from owncloud/dependabot/go_modules/github.com/grpc-ecosystem/grpc-gateway/v2-2.11.2
Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.11.1 to 2.11.2
2022-08-09 12:07:12 +02:00
Kiran Parajuli
81f0e480b6 Address more reviews
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-08-09 14:12:29 +05:45
Willy Kloucek
bc49ee049a Merge pull request #4329 from wkloucek/pin-wopiserver-v8.3.3
pin wopiserver to v8.3.3 for continous deployment examples
2022-08-09 10:20:18 +02:00
Kiran Parajuli
1647cc7d9c Address reviews
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-08-09 09:35:46 +05:45
Kiran Parajuli
f3e47ea5da Refactor functions and wrapup
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-08-09 09:33:53 +05:45
Kiran Parajuli
fa32f76f5d Use global cache for web and core repos usage
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-08-09 09:33:52 +05:45
Michael Barz
1504aeb891 Automated changelog update [skip ci] 2022-08-08 19:02:16 +00:00