Compare commits

..
Author SHA1 Message Date
Michael Barz 1fa8c264f8 prepare changelog, bump version 2023-09-28 13:37:47 +02:00
Jörn Friedrich Dreyer c48b7e44ae Automated changelog update [skip ci] 2023-09-28 09:03:25 +00:00
Jörn Friedrich Dreyer 0fb8299e3d add reva bump changelog (#7379)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-09-28 11:02:51 +02:00
Michael Barz fbd3c5e7e6 Automated changelog update [skip ci] 2023-09-27 16:57:42 +00:00
Michael Barz bdc27766c8 Merge pull request #7374 from rhafer/backport/4.0/7351
[Backport/4.0] graph/education: Check school number for duplicates before adding a school
2023-09-27 18:54:42 +02:00
Jörn Friedrich Dreyer 5b62ed2882 bump reva to 2.16.1 (#7350)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-09-27 17:16:45 +02:00
Ralf Haferkamp 3141f4f659 graph/education: Fix issues reported by sonarcloud
(cherry picked from commit 4465c9385d)
2023-09-27 15:49:15 +02:00
Ralf Haferkamp 9a9dba7ca7 graph/education: slightly improve error handling and logging
- Use var for common errors
- Add the addition error message to the Error() output of errorcode.Error
- in PatchEducationSchool() use errorcode.RenderError() to turn the errorcode
  in to the right HTTP Status (instead of return 500 always)

(cherry picked from commit a34d467285)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp cc5b0ee002 graph/education: Check school number for duplicates before adding a school
(cherry picked from commit 4f59de9c52)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp 8f91c67603 graph/education: Add getSchoolByNumber helper
Sometimes we explicit need to lookup by number and not numberOrID

(cherry picked from commit e2849bf19d)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp 852b8e07ec graph/education: Remove unreachable code
An LDAP Modify operation never returns LDAPResultEntryAlreadyExists errors.
That error can only happen for LDAPAdd or LDAPModifyDN.

(cherry picked from commit ce808eaa17)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp 4d9d40e1ba graph/education: Use helper for creating attribute list
(cherry picked from commit 16debe6fa5)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp b6ddfcccfb graph/education: Don't leak LDAP errors into the graph error message
(cherry picked from commit 164edd16c0)
2023-09-27 15:45:36 +02:00
Sagar Gurung 03926e6182 [tests-only][full-ci]Backport propfind by fileid (#7365)
* Added test for the propfind with file id

* Refactor the scenario title description

* Review address- refactor scenarios
2023-09-27 14:42:57 +05:45
Sagar Gurung 93521e5f55 Added test for the copy with file-id in url (#7364) 2023-09-27 12:30:04 +05:45
Karun Atreya cc794abb38 refactor given when then steps in settings and tus contexts (#7357)
set resource location from response

addressed the reviews

reset  spaceidfromocis

reset after scenario using after hook
2023-09-27 12:29:56 +05:45
Michael Barz 5ca6a98087 Automated changelog update [skip ci] 2023-09-25 12:32:03 +00:00
Michael Barz 02c31e2dab Merge pull request #7336 from aduffeck/backport-jsoncs3-rebuild-fix
Do not reset received share state to pending if there is a state already
2023-09-25 14:24:59 +02:00
Sagar Gurung 6a7f56d056 [tests-only][full-ci]Added documentation for running tika related tests (#7342)
* Added documentation to run tika service related tests

* Added documentation for docker compose as well

* Make tika service run only for tika
2023-09-25 15:36:12 +05:45
André Duffeck 14b1d62351 Add changelog 2023-09-25 09:28:44 +02:00
André Duffeck 5f1043d40b Do not reset received share state to pending if there is a state already 2023-09-22 10:53:55 +02:00
Ralf Haferkamp 920d39918b Automated changelog update [skip ci] 2023-09-21 14:55:59 +00:00
Ralf Haferkamp c8c1cc76d8 users: fixup LDAP_BIND_PASSWORD
LDAP_BIND_PASSWORD was accidently removed in previous commit

Partial: #7176
(cherry picked from commit 8f262c1dff)
2023-09-21 16:55:13 +02:00
Ralf Haferkamp 6bf4dc5e0e users: revive USERS_LDAP_USER_SCHEMA_ID variable
The config variable was accidently removed when cleaning up deprecated variables
for the 4.0.0 release

Fixes: #7312
(cherry picked from commit 7b9200ff5d)
2023-09-21 16:55:13 +02:00
Ralf Haferkamp 3f41dd7601 Add OCIS_LDAP_BIND_PASSWORD envvar and deprecate LDAP_BIND_PASSWORD
For some reason LDAP_BIND_PASSWORD was forgotten when all the other global LDAP_
variables got renamed.

Also marks LDAP_BIND_PASSWORD and LDAP_USER_SCHEMA_ID_IS_OCTETSTRING for removal with 5.0.0

Partial: #7176
(cherry picked from commit 8f284e7c2b)
2023-09-21 16:55:13 +02:00
Prarup Gurung f7fde6ee87 Merge pull request #7280 from owncloud/backport-refactor-step-search-result-should-contain-only-these-files
[tests-only][full-ci] Backport refactor step search result should contain only these files
2023-09-21 11:43:57 +05:45
Karun Atreya fe8c0c7de8 refactor given and when steps in trashbin context (#7302)
applied same type of change in tagContext

addressed the reviews

added a space in step regex
2023-09-21 11:27:45 +05:45
nabim777 2ca502e32d adding the path check 2023-09-21 09:38:58 +05:45
Willy Kloucek 48dc83f4cb don't run CD on stable-4.0 branch cronjob 2023-09-14 09:32:49 +02:00
Karun Atreya fa36fd4ec2 refacor given when and then steps in checksum and favorite context (#7268)
making helper function, checking and setting response in given step and when steo respectively

returning response and using in given/then steps as required in favoritesContext

set the returned response on SpaceContext

changed to inline variable in some lines as required

to check for the specific https response code
2023-09-13 16:25:00 +05:45
Karun Atreya 71daf3f6ba refactor given when then steps in fileversions context (#7269)
migrating set response from helper function to when step in preview feature

separate single when/then steps by converting to helper function

use of httpstatuscode check function in given step and rebased

change function name

remove use of setresponse in then step

set the returned response
2023-09-13 16:24:42 +05:45
Karun Atreya 9c533c54ac make httpresponse check function to accept response object to get status from (#7270) 2023-09-13 15:11:36 +05:45
Sabin PantaandSaw-jan 47eb710523 [tests-only][full-ci] refactoring user creation Given steps from provisioning into GraphContext (#7019) (#7259)
* refactored the user creation given statement from provisioning to graph api

added getUser steps that covers the steps for user with user light role

* added userlight step tests to check drive information and updated expected failure files

* added usercreation initiation code

* deleted seperate tests for user light role

* remove unnecesary changes

* add user not initialize step

* corrected the testcode

* moved the steps from graph to provisioning file

* fix creating single ldap user

* fix: user check method

* initialize user via graph

* addressing reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-09-11 15:02:06 +05:45
Amritaandprajwol 9b40810b21 [tests-only][full-ci] Add test coverage for file preview using space dav version (#7218)
* Add tests for preview using space dav~

* use makeDavRequest to get preview of resource

---------

Co-authored-by: prajwol <prajwolamatya11@gmail.com>
2023-09-11 12:27:18 +05:45
Jörn Friedrich Dreyer 7b76086116 Automated changelog update [skip ci] 2023-09-08 11:05:09 +00:00
Jörn Friedrich Dreyer 7867841f7f actually use skip user info config option (#7220)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-09-08 13:04:24 +02:00
Sagar Gurung 6d2d79ba1d Automated changelog update [skip ci] 2023-09-08 07:22:08 +00:00
Sagar Gurung b45b35014a Backport/server panic password set (#7251)
* Added test for server getting panic when adding password to a link

* Change test case
2023-09-08 13:06:37 +05:45
Karun Atreya 986e470075 Automated changelog update [skip ci] 2023-09-08 00:40:58 +00:00
Karun Atreya 5c1e7e69a4 refactor given/then step to remove setting response (#7244)
removing setting response in the given steps

use response interface

use the returned response

check success response

changed to inline variable

changed variable response_xml to responseXml
2023-09-07 12:47:24 +05:45
Prajwol Amatya 620b44c90a send X-Request-Id in header of every request (#7238) 2023-09-07 10:33:44 +05:45
Phil Davis ac5270b3c6 Automated changelog update [skip ci] 2023-09-06 13:16:19 +00:00
Phil Davis 9348f94992 Merge pull request #7230 from rhafer/backport/4.0/7226
Backport-4.0: deployment: Disable username validation for keycloak example
2023-09-06 19:00:20 +05:45
Prajwol Amatya 39758a04b9 [tests-only][full-ci] Backport added test to update file using file id (#7237)
* added test to update file using file id

* changed the datatype of body from Tablenode to string
2023-09-06 18:46:46 +05:45
Ralf Haferkamp 41c62b3777 deployment: Disable username validation for keycloak example
Set 'GRAPH_USERNAME_MATCH' to 'none'. To accept any username that is
also valid for keycloak.

(cherry picked from commit 48306cbef3)
2023-09-06 14:58:06 +02:00
Phil Davis 8c1e39e824 Merge pull request #7191 from owncloud/backport-move-search-related-file
[tests-only][full-ci] Backport move search related file
2023-09-03 11:27:18 +05:45
Sagar Gurung 117b990d5a Make test code better for CI (#7193) 2023-09-01 18:39:29 +05:45
nabim777 4cd05c8d06 move files in apiFullTextSearch 2023-09-01 16:49:47 +05:45
kobergj 245a172eb6 Merge pull request #7184 from owncloud/search-share-expose
[full-ci] fix: disallow sharee to search sharer files outside the share
2023-09-01 12:23:14 +02:00
Florian Schade a885c8ad5c fix: failing tests and filter out specific matches 2023-09-01 10:38:30 +02:00
Florian Schade b984c1ad01 fix: acceptance tests to include path resource 2023-09-01 09:15:10 +02:00
Florian Schade 8255d9ac1b fix: search mount point inclusion 2023-09-01 09:03:33 +02:00
Florian Schade 8cfecd8a97 fix: search share expost 2023-08-31 16:49:39 +02:00
jkoberg f47dda164f Automated changelog update [skip ci] 2023-08-31 00:41:40 +00:00
jkoberg 3733e735a3 Automated changelog update [skip ci] 2023-08-30 01:15:55 +00:00
jkoberg e6e1494e92 Automated changelog update [skip ci] 2023-08-28 13:17:44 +00:00
jkoberg 684c4ca23d Automated changelog update [skip ci] 2023-08-28 10:29:28 +00:00
jkoberg 672bb1a8a6 adjust drone.star
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-24 14:27:18 +02:00
jkoberg f06798ba6e update changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-23 15:15:44 +02:00
jkoberg 4d3b7355f1 release 4.0.0
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-23 15:15:44 +02:00
kobergj 55127fe413 Merge pull request #7106 from owncloud/allow-skip-userinfo
allow skipping userinfo call
2023-08-23 15:12:22 +02:00
kobergj f7614f9079 Automated changelog update [skip ci] 2023-08-23 12:59:02 +00:00
kobergj 888da7ccc5 Merge pull request #7107 from fschade/bump-web-7.1.0-final
[full-ci] chore: Update web to v7.1.0 final
2023-08-23 14:58:31 +02:00
Jörn Friedrich Dreyer eb6c0a840a fix docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-08-23 14:37:16 +02:00
jkoberg c161b68123 remove expected failure
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-23 14:14:52 +02:00
Ralf Haferkamp 05eee32a03 Fix AD example
For Active Directory we need: OCIS_LDAP_DISABLE_USER_MECHANISM=none.
Until we add support for evaluating the "userAccountControl" bitmask, we
don't supported display the account enable/disable state for Active
Directory users.
2023-08-23 13:58:48 +02:00
Jörn Friedrich DreyerandMartin 91a77d1671 Update services/proxy/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2023-08-23 13:56:48 +02:00
Jörn Friedrich Dreyer 5422586bfa allow skipping userinfo call
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-08-23 13:56:48 +02:00
jkoberg ef58ef7264 disable appprovider tests
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-23 13:33:45 +02:00
Florian Schade fe3bf61f5f chore: Update web to v7.1.0 final 2023-08-23 12:19:16 +02:00
Christian Richter e49b2c159b Automated changelog update [skip ci] 2023-08-23 08:24:56 +00:00
Christian Richter 989d4ee938 Merge pull request #7099 from dragonchaser/deprecate_variables
Deprecate variables
2023-08-23 10:24:20 +02:00
Christian Richter 717eb646bd fix vendoring
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-23 09:45:36 +02:00
Christian RichterandJulian Koberg d4eed2f15d Adapt .drone.star
Co-authored-by: Julian Koberg <jkoberg@owncloud.com>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Christian Richter 8edf1cbe82 add changelog
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Christian RichterandJulian Koberg c63d5b83e5 Fix typos in expample deployments
Co-authored-by: Julian Koberg <jkoberg@owncloud.com>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Christian RichterandJulian Koberg ab0a676dee Fix broken map
Co-authored-by: Julian Koberg <jkoberg@owncloud.com>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Christian Richter ad439fcbde change example deployments
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Christian Richter 02ae42ffe7 change launch.json
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Christian Richter d7139d4127 remove deprecated variables
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
kobergj c2e8206f6d Merge pull request #7091 from kobergj/RemoveEndpointEnvvars
[tests-only] Remove `...ENDPOINT` Envvars from gateway
2023-08-22 16:53:21 +02:00
Phil Davis 7ff43f8b38 Merge pull request #7095 from owncloud/fix/tests-scenarios-structure
[tests-only] Fix the test step keyword ordering
2023-08-22 20:25:22 +05:45
Phil DavisandSawjan Gurung 20bea0cef6 Fix spacing of scenario description
Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
2023-08-22 18:46:25 +05:45
Swikriti Tripathi 3fb6b94698 Fix the test step ordering 2023-08-22 16:23:17 +05:45
dependabot[bot] d656b4ad19 Bump github.com/KimMachineGun/automemlimit from 0.2.4 to 0.2.6
Bumps [github.com/KimMachineGun/automemlimit](https://github.com/KimMachineGun/automemlimit) from 0.2.4 to 0.2.6.
- [Commits](https://github.com/KimMachineGun/automemlimit/compare/v0.2.4...v0.2.6)

---
updated-dependencies:
- dependency-name: github.com/KimMachineGun/automemlimit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 10:50:23 +02:00
dependabot[bot] 5f8750cfac Bump github.com/rs/zerolog from 1.29.1 to 1.30.0
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.29.1...v1.30.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 10:46:12 +02:00
jkoberg 7db9bf02db remove endpoint envvars from gateway
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-22 10:43:00 +02:00
Daniël Franke a2f02d8a89 Merge pull request #7079 from owncloud/ainmosni/tracing/av
Add tracing to antivirus.
2023-08-22 09:33:46 +02:00
nirajacharya2 3e6b8da6a1 added skip on stable 3.0 tag (#7073) 2023-08-22 13:16:08 +05:45
Nalem7 358bfef42e adding skip on stable3.0 (#7078) 2023-08-22 10:12:57 +05:45
ownClouders 085c5d5c8d [tx] updated from transifex 2023-08-22 00:45:12 +00:00
Willy Kloucek 8ad1e79e80 Merge pull request #6826 from owncloud/d7oc-wopiserver-patch
Raised default wopiserver version to 10.1.0
2023-08-21 21:27:50 +02:00
Dennis Sieben dc4fb75543 - raised default wopiserver version to 10.1.0
- raised wopiserver in ci as well
2023-08-21 20:07:15 +02:00
Daniel Swärd 11908df394 Merge pull request #7080 from owncloud/excds/bugfix/Re-enable_tracing_in_frontend
Re-enable commented out tracing in frontend.
2023-08-21 14:30:58 +02:00
Phil Davis ff304dfc50 Merge pull request #7081 from owncloud/tests/add-correct-issue
[tests-only]Update expected to fail file to link failing tests to correct issue
2023-08-21 17:10:37 +05:45
dependabot[bot] a55a9f1d63 Bump github.com/go-chi/chi/v5 from 5.0.8 to 5.0.10
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.8 to 5.0.10.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.0.8...v5.0.10)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 13:09:36 +02:00
Swikriti Tripathi d57e516046 Update expected to fail file to link failing tests to correct issue 2023-08-21 16:37:50 +05:45
Daniël FrankeandJörn Friedrich Dreyer e780cf1193 Update go.mod
Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
2023-08-21 12:46:41 +02:00
Daniel Swärd 49d47ff917 Re-enable commented out tracing in frontend. 2023-08-21 12:43:22 +02:00
Daniel Swärd f805589e9d Update sharing and ocdav tracing. (#7014) 2023-08-21 12:27:37 +02:00
dependabot[bot] e7aaebf07c Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.16.0 to 2.16.2
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.16.0 to 2.16.2.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.16.0...v2.16.2)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 12:15:45 +02:00
Daniël Franke 8b5687e811 Add tracing to antivirus.
This PR adds tracing to the Antivirus service.
2023-08-21 12:04:54 +02:00
nirajacharya2 d623575db2 [tests-only][full-ci] removed a scenario and added a example table (#7076)
* removing the scenario and adding a example table

* removing the scenario and adding a example table
2023-08-21 15:32:19 +05:45
Daniel Swärd 251a50dbd4 Merge pull request #7075 from owncloud/excds/bugfix/Partially_revert_removal_of_believed_unused_tracing_initialization
Partially revert removal of believed unused reva tracing initialization.
2023-08-21 11:10:33 +02:00
Daniel Swärd f0e2b50675 Partially revert removal of believed unused reva tracing initialization. 2023-08-21 10:37:12 +02:00
ownClouders 407e08f6f4 [tx] updated from transifex 2023-08-21 00:20:39 +00:00
ownClouders e94ddbf3bc [tx] updated from transifex 2023-08-19 00:22:40 +00:00
Nalem7 63bb316303 refactoring the tag creating step using data table (#7051) 2023-08-18 16:44:22 +05:45
nirajacharya2 3156360d66 adding test for deprovisioning notification using date format (#7065) 2023-08-18 16:41:23 +05:45
Phil Davis d87fd62f9d Merge pull request #7067 from owncloud/ci/run-sonarcloud-anyway
ci: run sonarcloud anyway
2023-08-18 13:55:12 +05:45
Saw-jan d804af53a8 ci: run sonarcloud on both success and failure 2023-08-18 12:00:54 +05:45
Nalem7 267c16f8e5 add test for sharee searches project spaces files using a tag (#7036) 2023-08-18 10:28:13 +05:45
Prajwol Amatya 84bc7d88e2 added tests for reading content of a file by fileId using WebDav API (#6958) 2023-08-18 09:58:25 +05:45
nirajacharya2 809c64f823 updating drone.star file to run apiAccountsHashDifficulty test suit with default hash difficulty (#7059) 2023-08-17 15:45:31 +05:45
Ralf Haferkamp 2c6faa8366 Automated changelog update [skip ci] 2023-08-17 09:07:21 +00:00
Ralf Haferkamp c0181f8144 graph: honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting
Fixes: #7032
2023-08-17 11:06:34 +02:00
Ralf Haferkamp 1e625093b6 Bump libregraph/lico to latest master
This is need for getting this fix: libregraph/lico#104
2023-08-17 10:19:21 +02:00
dependabot[bot] 7a7508ffd9 Bump golang.org/x/image from 0.9.0 to 0.11.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.9.0 to 0.11.0.
- [Commits](https://github.com/golang/image/compare/v0.9.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 09:33:01 +02:00
Nalem7 3a03ccbf59 add test for sharee searches project spaces files by content (#7039) 2023-08-17 12:36:51 +05:45
kobergj 8df0ff3495 Automated changelog update [skip ci] 2023-08-16 09:21:07 +00:00
kobergj f438ee8b00 Merge pull request #6979 from kobergj/NatsNamedConnections
[full-ci] Name nats connections
2023-08-16 11:16:37 +02:00
jkoberg 450801deef bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-16 10:20:22 +02:00
jkoberg 49cdcad129 unify eventstream creation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-16 10:14:12 +02:00
dependabot[bot] c722f9c77b Bump google.golang.org/grpc from 1.56.2 to 1.57.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.2 to 1.57.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.2...v1.57.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 09:12:29 +02:00
Karun Atreya 997187226f added scenario for searching inside folder in shares (#6982) 2023-08-16 12:41:55 +05:45
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Michael Barz c38095ae67 Merge pull request #7041 from owncloud/fix-7040
Add fulltext search frontend part to ocis_wopi
2023-08-15 16:58:28 +02:00
Christian Scherm 0ddbb95300 Add fulltext search frontend part to ocis_wopi 2023-08-15 16:10:44 +02:00
dependabot[bot] f9b69afa9e Bump github.com/blevesearch/bleve/v2 from 2.3.7 to 2.3.9
Bumps [github.com/blevesearch/bleve/v2](https://github.com/blevesearch/bleve) from 2.3.7 to 2.3.9.
- [Release notes](https://github.com/blevesearch/bleve/releases)
- [Commits](https://github.com/blevesearch/bleve/compare/v2.3.7...v2.3.9)

---
updated-dependencies:
- dependency-name: github.com/blevesearch/bleve/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 11:00:48 +02:00
dependabot[bot] 82b600aef5 Bump github.com/onsi/gomega from 1.27.8 to 1.27.10
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.8 to 1.27.10.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.27.8...v1.27.10)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 10:58:21 +02:00
ownClouders ee3d709ec2 [tx] updated from transifex 2023-08-15 01:16:59 +00:00
dependabot[bot] 653b6efe8f Bump github.com/rogpeppe/go-internal from 1.10.0 to 1.11.0
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/rogpeppe/go-internal/releases)
- [Commits](https://github.com/rogpeppe/go-internal/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/rogpeppe/go-internal
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 16:09:26 +02:00
Jan dccfc2fcef It's only one role per user at a time 2023-08-14 14:34:26 +02:00
Jan fb340ad42d Enhance description of ReadOnlyUserAttributes 2023-08-14 14:34:26 +02:00
dependabot[bot] b8a536fd2a Bump golang.org/x/net from 0.12.0 to 0.14.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.12.0 to 0.14.0.
- [Commits](https://github.com/golang/net/compare/v0.12.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 12:06:25 +02:00
Daniel Swärd d41f1ac8f4 Remove unused reva tracing initialization. (#7011) 2023-08-14 09:34:27 +02:00
Viktor ScharfandSwikriti Tripathi 0258b2bfff [test-only]ApiTest. Deprovisioning notification tests (#6994)
* add create/delete notification tests

* fix grammar

---------

Co-authored-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-08-14 13:01:04 +05:45
ownClouders 806e0d09db [tx] updated from transifex 2023-08-12 01:14:57 +00:00
Sawjan Gurung bb99d4f2b8 do not skip sonar and codacy in ci (#7015) 2023-08-11 14:02:56 +02:00
Daniël Franke 2330645bbc Merge pull request #7013 from owncloud/ainmosni/tracing/events
Pass context to event publishing.
2023-08-11 12:41:49 +02:00
Daniël Franke 97dd855a63 Add reusable context. 2023-08-11 12:01:23 +02:00
Daniël Franke 952ebe7d7d Pass context to event publishing.
To allow tracing propagation via events, we need to pass the context
to the `Publish` function of reva events. This adds the context
everywhere where events are published. If there was no context to pass,
we started a new one with `context.Background()`.
2023-08-11 12:01:19 +02:00
dependabot[bot] 6700214519 Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.3
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.9.0 to 1.9.3.
- [Release notes](https://github.com/sirupsen/logrus/releases)
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.3)

---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-10 12:45:52 +02:00
dependabot[bot] 2647635237 Bump github.com/CiscoM31/godata from 1.0.7 to 1.0.8
Bumps [github.com/CiscoM31/godata](https://github.com/CiscoM31/godata) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/CiscoM31/godata/releases)
- [Commits](https://github.com/CiscoM31/godata/compare/v1.0.7...v1.0.8)

---
updated-dependencies:
- dependency-name: github.com/CiscoM31/godata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-10 12:03:59 +02:00
Michael Barz 9a514fd524 Merge pull request #6806 from owncloud/d7oc/keycloak_refresh
Disabled revokeRefreshToken in Keycloak config
2023-08-10 11:51:10 +02:00
Phil Davis 052710d704 Merge pull request #6987 from owncloud/search-project-files-by-content
[tests-only][full-ci]add test for search project space files by content
2023-08-10 13:25:04 +05:45
Martin ef360bc894 [docs-only] Add mdns as supported value in MICRO_REGISTRY envvar description (#7004)
ignoring sonarcloud as this is docs only ...
2023-08-10 09:36:29 +02:00
nabim777 d5762f2050 add test for search project space files by content 2023-08-10 10:41:45 +05:45
Dennis Sieben de5dfef15d - disabled revokeRefreshToken in Keycloak config 2023-08-09 16:27:59 +02:00
Jörn Friedrich Dreyer bae37cf20b bump reva to v2.15.1-0.20230809113840-3ceaf17cf7fb (#6978)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-08-09 16:01:46 +02:00
Michael Barz fecd836159 Automated changelog update [skip ci] 2023-08-09 11:13:28 +00:00
Michael Barz 90307c2b89 Merge pull request #6944 from owncloud/bump-web-v7.1.0-rc.5
[full-ci] chore: bump web to v7.1.0-rc.5
2023-08-09 13:12:51 +02:00
dependabot[bot] 7c145e3d52 Bump github.com/go-micro/plugins/v4/registry/kubernetes
Bumps [github.com/go-micro/plugins/v4/registry/kubernetes](https://github.com/go-micro/plugins) from 1.1.2-0.20230605104008-a179a6b8f8e6 to 1.1.2.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/commits/v4/registry/kubernetes/v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/registry/kubernetes
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 12:34:18 +02:00
dependabot[bot] 97d3aec987 Bump github.com/tus/tusd from 1.10.1 to 1.12.1
Bumps [github.com/tus/tusd](https://github.com/tus/tusd) from 1.10.1 to 1.12.1.
- [Release notes](https://github.com/tus/tusd/releases)
- [Commits](https://github.com/tus/tusd/compare/v1.10.1...v1.12.1)

---
updated-dependencies:
- dependency-name: github.com/tus/tusd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 12:32:35 +02:00
Nalem7 cbe945af4a add test for search version restored files by content (#6970) 2023-08-09 14:15:59 +05:45
Michael Barz ae2dcf48f1 Merge pull request #6953 from owncloud/dependabot/npm_and_yarn/services/idp/xmldom/xmldom-0.8.10
Bump @xmldom/xmldom from 0.8.2 to 0.8.10 in /services/idp
2023-08-09 08:55:35 +02:00
Andre Duffeck 2a0b553a41 Merge pull request #6991 from aduffeck/fix-subcommand
Remove subcommand from rebuild-jsoncs3-indexes that doesn't belong there
2023-08-09 08:51:07 +02:00
Phil Davis 760c074097 Merge pull request #6957 from owncloud/api-tag-remove
[tests-only][full-ci] removed api tag from antivirus test
2023-08-09 10:52:34 +05:45
Michael Barz 96e5e2e1ba Merge pull request #6951 from owncloud/dependabot/npm_and_yarn/services/idp/tough-cookie-4.1.3
Bump tough-cookie from 4.0.0 to 4.1.3 in /services/idp
2023-08-08 22:54:02 +02:00
Michael Barz 8b001fbc03 Merge pull request #6952 from owncloud/dependabot/npm_and_yarn/services/idp/json5-1.0.2
Bump json5 from 1.0.1 to 1.0.2 in /services/idp
2023-08-08 22:53:20 +02:00
Michael Barz 4d3b3d4f3c Merge pull request #6860 from owncloud/dependabot/npm_and_yarn/services/idp/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /services/idp
2023-08-08 22:52:42 +02:00
Michael Barz 3d98af9d8e Merge pull request #6950 from owncloud/dependabot/npm_and_yarn/services/idp/decode-uri-component-0.2.2
Bump decode-uri-component from 0.2.0 to 0.2.2 in /services/idp
2023-08-08 22:50:54 +02:00
Viktor Scharf 51919323af changed lines in the expected failures file 2023-08-08 22:35:23 +02:00
Jannik Stehle 952892713f chore: bump web to v7.1.0-rc.5 2023-08-08 16:24:31 +02:00
André Duffeck 6f4b300bbc Remove subcommand from rebuild-jsoncs3-indexes that doesn't belong there 2023-08-08 14:07:42 +02:00
Daniel Swärd fc3dce05f4 Add missing tracing initialization for graph service (#6988)
* Convert webdav to service trace provider

* graph: Add missing tracing initialization to graph service
2023-08-08 13:14:45 +02:00
Andre Duffeck 62ffe1e18f Automated changelog update [skip ci] 2023-08-08 11:12:51 +00:00
Andre Duffeck 52750bd615 Fail on errors (#6986)
* Return an error when something went wrong

* Add changelog
2023-08-08 13:12:03 +02:00
Nalem7 3093a8456a add test for search project space folders by tag (#6968) 2023-08-08 16:25:39 +05:45
Jörn Friedrich DreyerandAndre Duffeck 2422973fee log error in cli (#6976)
* log error in cli

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* write to stderr

* Update ocis/cmd/ocis/main.go

Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com>
2023-08-08 11:55:19 +02:00
kobergj dcabac346a Automated changelog update [skip ci] 2023-08-08 08:43:25 +00:00
kobergj 0b10050b20 Merge pull request #6946 from kobergj/DeprovisionNotificationStaticSecret
Global Notifications Static Secret
2023-08-08 10:42:46 +02:00
Nalem7 3eb5a22375 add test for search version restored files by tag (#6974) 2023-08-08 12:15:26 +05:45
ownClouders ed784efebd removed api tag from antivirus test 2023-08-08 10:39:30 +05:45
Karun Atreya a5f72c4ecc Merge pull request #6972 from owncloud/search-inside-current-folder-spaces
[tests-only][full-ci] added test scenario for searching inside folder in space
2023-08-08 10:32:43 +05:45
KarunAtreya 2238806060 added test scenario for searching inside folder in space 2023-08-08 09:43:53 +05:45
ownClouders 712d98e0a2 [tx] updated from transifex 2023-08-08 01:27:09 +00:00
Andre Duffeck 2a50219282 Automated changelog update [skip ci] 2023-08-07 11:13:53 +00:00
Andre Duffeck db6c98abf4 Merge pull request #6971 from aduffeck/rebuild-jsoncs3-index
Rebuild jsoncs3 index
2023-08-07 13:13:19 +02:00
Daniel Swärd 0c81ec594e Merge pull request #6956 from owncloud/ainmosni/tracing/web
Convert web to service trace provider.
2023-08-07 10:42:54 +02:00
André Duffeck dc176e1f74 Improve logging 2023-08-07 10:28:00 +02:00
Daniel Swärd d0cef049d6 Merge pull request #6941 from owncloud/excds/feature/Convert_webfinger_to_service_trace_provider
Convert webfinger to use service trace provider.
2023-08-07 10:23:41 +02:00
Daniel Swärd a5f242f683 Convert webfinger to use service trace provider 2023-08-07 09:54:27 +02:00
André Duffeck e03d7b5644 Cleanup 2023-08-07 09:54:05 +02:00
Daniel Swärd 28ee7730f7 Merge pull request #6920 from owncloud/ainmosni/tracing/thumbnails
Convert thumbnails to service trace provider
2023-08-07 09:47:23 +02:00
André Duffeck 0c0b10c6b0 Add changelog 2023-08-07 09:46:18 +02:00
André Duffeck 407c23edf6 Add command for rebuilding the jsoncs3 share manager indexes 2023-08-07 09:43:18 +02:00
Phil Davis 10751efbde Merge pull request #6949 from owncloud/search-inside-current-folder
[tests-only][full-ci] added test scenario for searching inside current folder in personal space
2023-08-07 12:28:04 +05:45
KarunAtreya 60bfd5f6cf added test scenario for searching inside particular folder only 2023-08-07 09:31:50 +05:45
ownClouders 8f70e63c81 [tx] updated from transifex 2023-08-07 01:26:12 +00:00
ownClouders 9f6067e4bd [tx] updated from transifex 2023-08-05 00:52:03 +00:00
Nalem7 048d67c712 add api test for search files using tag in project spaces (#6853) 2023-08-04 17:29:02 +05:45
Michael Barz 946940d280 Automated changelog update [skip ci] 2023-08-04 11:40:53 +00:00
Michael Barz a27b6d5ac6 Merge pull request #6965 from fschade/fix-policy-mime-help
fix: fix readme and changelog env var
2023-08-04 13:40:19 +02:00
Roman Perekhod c99908f847 Automated changelog update [skip ci] 2023-08-04 09:30:18 +00:00
Roman Perekhod 4e1c5711b0 Merge pull request #6947 from 2403905/issue-6935
[full-ci]Fix the search
2023-08-04 11:29:27 +02:00
Florian Schade e441c95de6 fix: fix readme and changelog env var 2023-08-04 09:31:26 +02:00
ownClouders 13708c59e9 [tx] updated from transifex 2023-08-04 00:41:13 +00:00
Swikriti Tripathi 389877e56d Remove skipOnStable2.0 tag (#6959) 2023-08-03 23:06:30 +02:00
kobergj 4a4bf3ec30 Automated changelog update [skip ci] 2023-08-03 15:03:59 +00:00
kobergj 57923e06a3 Merge pull request #6869 from owncloud/magic-mime
use magicmime
2023-08-03 17:02:52 +02:00
Roman Perekhod b879254fcb Fix the search 2023-08-03 17:02:25 +02:00
Phil Davis f6658eccf4 Automated changelog update [skip ci] 2023-08-03 14:35:53 +00:00
Phil Davis dc4335af5f Merge pull request #6961 from kobergj/BumpSonarcloud
Bump Sonarcloud
2023-08-03 20:20:02 +05:45
kobergj cc529d99da Update services/policies/README.md 2023-08-03 15:30:02 +02:00
jkoberg 9a9082b977 bump sonarcloud
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-03 15:24:59 +02:00
kobergjandMartin dcffab7134 Upate userlog readme
Co-authored-by: Martin <github@diemattels.at>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-03 14:57:09 +02:00
Florian SchadeandMartin ce5d6cd603 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2023-08-03 14:33:38 +02:00
Florian Schade 06613d3c6b fix: variable shadowing 2023-08-03 14:13:17 +02:00
Florian Schade 9638dd524c fix: review feedback 2023-08-03 13:13:38 +02:00
Daniël Franke 9203478605 Convert web to service trace provider.
This converts the web service to use the service trace provider.
2023-08-03 11:07:15 +02:00
Prajwol Amatya db098fa4f5 refactored acceptance test code to store response data related to public shares on single store (#6930) 2023-08-03 13:51:22 +05:45
Florian Schade 4898a07239 enhancement: add config option to load an RFC 4288 mimes file 2023-08-03 08:40:04 +02:00
Michael Barz 5b2253402e use magicmime 2023-08-03 08:40:04 +02:00
dependabot[bot] 6df1e05f16 Bump @xmldom/xmldom from 0.8.2 to 0.8.10 in /services/idp
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.2 to 0.8.10.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.8.2...0.8.10)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 06:33:40 +00:00
dependabot[bot] 76c274ef64 Bump json5 from 1.0.1 to 1.0.2 in /services/idp
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 06:30:47 +00:00
dependabot[bot] 7fc2a5916c Bump tough-cookie from 4.0.0 to 4.1.3 in /services/idp
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 06:27:44 +00:00
dependabot[bot] 9112ba1d74 Bump decode-uri-component from 0.2.0 to 0.2.2 in /services/idp
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-03 06:27:31 +00:00
Michael Barz b730234e86 Automated changelog update [skip ci] 2023-08-02 14:55:33 +00:00
Michael Barz 752660e7dc Merge pull request #6939 from owncloud/release-3.1.0-rc.1
[full-ci] Prepare 3.1.0 Release Candidate 1
2023-08-02 16:54:22 +02:00
jkoberg 4a850abc86 allow configuring support_sse capability
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-02 16:47:30 +02:00
jkoberg 604ce5174c allow static secret access to global notification endpoints
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-02 15:43:02 +02:00
Sawjan Gurung 5e4b9baa1c [tests-only][full-ci] Update local test docker-compose setup to allow unicode preview tests (#6940)
* update local test docker-compose setup to allow unicode preview tests

* update docs
2023-08-02 17:14:30 +05:45
Roman Perekhod 7915d725ac Merge pull request #6927 from owncloud/register-chi-routes
properly register webdav methods with chi
2023-08-02 13:07:49 +02:00
Michael Barz 95460ab9a5 prepare changelog, bump version 2023-08-02 12:49:51 +02:00
Karun Atreya c5fbd6f539 move resharing.feature from apiSpaces to apiReshare (#6936) 2023-08-02 15:03:42 +05:45
Jannik Stehle 43ee37d02e Automated changelog update [skip ci] 2023-08-01 15:49:25 +00:00
Jannik Stehle d65476ff00 Merge pull request #6933 from owncloud/bump-web-v7.1.0-rc.4
[full-ci] chore: bump web to v7.1.0-rc.4
2023-08-01 17:48:44 +02:00
Jannik Stehle 0a820b22cc chore: bump web to v7.1.0-rc.4 2023-08-01 16:18:40 +02:00
Phil Davis 2989dc6890 Merge pull request #6665 from owncloud/frontend_resharing_disabled
[tests-only][full-ci] added scenarios for disabling frontend_enable_resharing
2023-08-01 18:29:01 +05:45
Sawjan Gurung d7dd979897 [tests-only][full-ci] Fix preview test scenario (#6931)
* fix preview test scenario

* setup ocis with custom fonts

* remove passing test from expected-failure
2023-08-01 17:33:43 +05:45
ownClouders efd2c42655 [tx] updated from transifex 2023-08-01 11:43:55 +00:00
KarunAtreya dcbd45948e added scenarios for share and reshare disabling frontend_enable_resharing env 2023-08-01 16:44:02 +05:45
Daniël Franke a406bb3507 Merge pull request #6923 from owncloud/excds/feature/Separate_out_grpc_client_to_package_local_for_remaining_services
Replacing implicit grpc client initialization with explicit package local variables
2023-08-01 10:54:42 +02:00
Jörn Friedrich Dreyer 21f52a8523 properly register webdav methods with chi
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-07-31 17:38:15 +02:00
kobergj 30d6ecca19 Automated changelog update [skip ci] 2023-07-31 14:51:49 +00:00
kobergj d895437642 Merge pull request #6928 from kobergj/BumpReva
[full-ci] Bump Reva & SSE Capability
2023-07-31 16:51:06 +02:00
jkoberg 78db9dd8a0 add sse capability
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-31 15:55:48 +02:00
jkoberg 2afcb84186 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-31 15:54:46 +02:00
Jannik Stehle c6abbf6f60 Automated changelog update [skip ci] 2023-07-31 13:39:20 +00:00
Jannik Stehle 81483964a1 Merge pull request #6925 from owncloud/bump-web-v7.1.0-rc.3
[full-ci] chore: bump web to v7.1.0-rc.3
2023-07-31 15:38:46 +02:00
Jannik Stehle 9d4a561aa9 chore: bump web to v7.1.0-rc.3 2023-07-31 14:27:33 +02:00
Roman Perekhod c4f32868ee Automated changelog update [skip ci] 2023-07-31 11:24:21 +00:00
Roman PerekhodandRoman Perekhod 526583e9bb Fix the routing capability (#6921)
Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
2023-07-31 13:23:41 +02:00
Daniël Franke c93b65680b Convert users service to service tracing provider. (#6922)
This convers the users service to use the service tracing provider.
2023-07-31 13:17:29 +02:00
Daniel Swärd 6a5e21eff4 Replacing implicit grpc client initialization with explicit package local variables. 2023-07-31 12:57:59 +02:00
Florian Schade d3aecda8c6 Automated changelog update [skip ci] 2023-07-31 10:13:28 +00:00
Florian Schade 90ba75e27e enhancement: Evaluate policy resource information on single file shares (#6888)
* enhancement: Evaluate policy resource information on single file shares

* enhancement: switch to resource name evaluation for example rego put rule
2023-07-31 12:12:56 +02:00
Daniël Franke f4c16811a5 Convert thumbnails to service trace provider
This converts the thumbnails service to use the service trace provider.
2023-07-31 11:13:34 +02:00
Andre Duffeck 5b26de71d4 Merge pull request #6824 from aduffeck/propagators
Make the storage-users propagator configurable
2023-07-31 11:04:01 +02:00
André Duffeck 96ab79b4f9 Bump reva 2023-07-31 10:27:03 +02:00
André Duffeck be21178c64 Improve docs 2023-07-31 10:26:19 +02:00
André Duffeck fade832a3e Make the async propagation delay configurable 2023-07-31 10:26:19 +02:00
André Duffeck e8a7872d29 Add default propagator config 2023-07-31 10:26:19 +02:00
Andre DuffeckandMartin 38c04b5517 Update services/storage-users/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2023-07-31 10:26:19 +02:00
Andre DuffeckandMartin f17e56febc Update services/storage-users/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2023-07-31 10:26:19 +02:00
André Duffeck 5aa9e618f1 Make the storage-users propagator configurable 2023-07-31 10:26:19 +02:00
Phil Davis 82045b8850 Automated changelog update [skip ci] 2023-07-31 08:01:09 +00:00
Phil Davis 80f4d6a22d Merge pull request #6919 from owncloud/bump-reva-fix-6670
[full-ci] bump reva (Fix #6670)
2023-07-31 13:45:32 +05:45
Daniel Swärd 3d046f6ba8 Merge pull request #6915 from owncloud/excds/feature/Separate_out_grpc_client_to_package_local_for_policies
Remove grpc.DefaultClient() reference from policies and use only one grpc client in proxy.
2023-07-31 09:15:30 +02:00
Saw-jan 5fb992d868 bump reva 2023-07-31 12:59:49 +05:45
Saw-jan 57c78b0a19 skip new behavior tests for reva-master 2023-07-31 12:57:00 +05:45
Saw-jan a2ee62bde1 adjust tests expectation 2023-07-31 12:57:00 +05:45
Saw-jan 8f7c6e165a bump reva 2023-07-31 12:56:58 +05:45
Andre Duffeck 3662ff2514 Merge pull request #6904 from aduffeck/rollback-migrations2
[full-ci] Add support for running/rolling back decomposedfs migrations
2023-07-31 09:03:46 +02:00
André Duffeck 73a79872ac Bump reva 2023-07-31 08:18:43 +02:00
André Duffeck 201caca5ec Incorporate review suggestions 2023-07-31 08:17:42 +02:00
André Duffeck c8ab49dc2d Add support for running/rolling back decomposedfs migrations 2023-07-31 08:17:42 +02:00
ownClouders 1ee35618fc [tx] updated from transifex 2023-07-31 00:50:16 +00:00
ownClouders bdddf85249 [tx] updated from transifex 2023-07-29 00:50:03 +00:00
Michael Barz 51c9edecb7 Automated changelog update [skip ci] 2023-07-28 13:23:11 +00:00
Michael Barz 1a8516c6cd Merge pull request #6914 from owncloud/fix-static-cache
Fix cache header for web and theme assets
2023-07-28 15:22:27 +02:00
Sawjan Gurung adcbdd9fd2 Automated changelog update [skip ci] 2023-07-28 11:16:25 +00:00
Sawjan Gurung ec4f56d0b9 fix: use error detail as message instead of whole error object (#6911)
* fix: instead of whole erro object, only send error detail as message

* remove passing test from expected failure
2023-07-28 13:15:55 +02:00
Roman Perekhod ebff0114d4 Automated changelog update [skip ci] 2023-07-28 10:54:08 +00:00
Roman Perekhod 8eabc15c98 Merge pull request #6912 from 2403905/issue-5108
Fix CORS issues
2023-07-28 12:53:34 +02:00
Daniel Swärd 62b7dcacc4 Merge pull request #6917 from owncloud/excds/feature/Separate_out_grpc_client_to_package_local_for_ocs_service
Separate out grpc client to package local for ocs service.
2023-07-28 12:47:37 +02:00
Daniel Swärd dad3472e8b Merge pull request #6913 from owncloud/ainmosni/tracing/storage-system
Convert storage system to use service tracing.
2023-07-28 12:47:11 +02:00
Daniel Swärd 056ad2c705 Merge pull request #6916 from owncloud/ainmosni/tracing/storage-users
Convert storage-users to use service tracing.
2023-07-28 12:46:57 +02:00
Daniel Swärd d3519b5e78 Merge pull request #6908 from owncloud/excds/feature/Separate_out_grpc_client_to_package_local_for_search_service
Separate out grpc client to package local for search service.
2023-07-28 12:45:22 +02:00
Daniel Swärd ce4ad80ce2 Remove grpc.DefaultClient() reference from policies and use only one gprc client. 2023-07-28 12:21:02 +02:00
Daniel Swärd aa44ec12ac Separate out grpc client to package local for ocs service. 2023-07-28 11:55:13 +02:00
Michael Barz f8e6b23d5f Fix cache header for web and theme assets 2023-07-28 11:33:06 +02:00
Daniël Franke 063b05140f Convert storage-users to use service tracing.
This converts the storage users service to use the service tracing provider.
2023-07-28 11:25:43 +02:00
Roman Perekhod fb199e6fbf Fix CORS issues 2023-07-28 11:12:42 +02:00
Daniël Franke 83c90b60ef Convert storage system to use service tracing.
This converts the storage system service to use a service trace provider.
2023-07-28 10:54:20 +02:00
Daniel Swärd 82034d34ce Separate out grpc client to package local for search service. 2023-07-28 09:42:37 +02:00
Daniel Swärd 44d9c50f1e Merge pull request #6907 from owncloud/excds/feature/Separate_out_grpc_client_to_package_local_for_thumbnails_service
Separate out grpc client to package local for thumbnails service.
2023-07-28 09:39:36 +02:00
Daniel Swärd 4c5d58f53b Merge pull request #6906 from owncloud/excds/feature/Separate_out_grpc_client_to_package_local_for_webdav_service
Separate out grpc client to package local for webdav service.
2023-07-27 12:30:14 +02:00
Daniel Swärd f27d2b18a7 Merge pull request #6905 from owncloud/excds/feature/Separate_out_grpc_client_to_package_local_for_userlog_service
Separate out grpc client to package local for userlog service.
2023-07-27 12:24:22 +02:00
Daniel Swärd d21b03b14c Separate out grpc client to package local for thumbnails service. 2023-07-27 12:22:28 +02:00
Daniel Swärd 4103f2990f Merge pull request #6896 from owncloud/ainmosni/tracing/eventhistory
Add tracing to eventhistory service.
2023-07-27 12:13:34 +02:00
Daniel Swärd fe84b83617 Separate out grpc client to package local for webdav service. 2023-07-27 11:52:11 +02:00
Daniël Franke 22f5a76829 Add default config to service.
Also modify `GetServiceTraceProvider` to keep working if nil or nil
interface is passed.
2023-07-27 11:25:32 +02:00
kobergj 94aab8b38d Automated changelog update [skip ci] 2023-07-27 09:04:13 +00:00
kobergj 3fa8374ea1 Merge pull request #6900 from kobergj/CheckPublicAuthFirst
Check public link auth first
2023-07-27 11:03:32 +02:00
Daniel Swärd 301936d2bd Separate out grpc client to package local for userlog service. 2023-07-27 10:28:14 +02:00
Daniël Franke 69c05d6199 Merge pull request #6883 from owncloud/excds/feature/Separate_out_grpc_client_to_package_local_for_notifications_service
Separate out grpc client to package local for notifications service.
2023-07-27 09:35:34 +02:00
kobergj 2305e08024 Automated changelog update [skip ci] 2023-07-26 16:16:35 +00:00
kobergj 9fcf9519c0 Merge pull request #6899 from kobergj/BumpReva
[full-ci] Bump Reva
2023-07-26 18:15:53 +02:00
jkoberg 482e0e7838 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-26 15:58:35 +02:00
jkoberg af2a4c2c97 check public link authorization first
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-26 15:02:38 +02:00
Jannik Stehle 5a81fba929 Automated changelog update [skip ci] 2023-07-26 12:11:47 +00:00
Jannik Stehle 0a1491927d Merge pull request #6894 from owncloud/bump-web-v7.1.0-rc.2
[full-ci] chore: bump web to v7.1.0-rc.2
2023-07-26 14:11:06 +02:00
Daniël Franke c76b2e75ef Add another NewNoopTracerProvider 2023-07-26 12:17:30 +02:00
Daniël Franke 162b04f873 Add dummy provider if none is set 2023-07-26 12:17:26 +02:00
Daniël Franke d00f5a9da5 Add tracing to eventhistory service.
This adds tracing to the event history service.
2023-07-26 12:17:22 +02:00
kobergj 1658084812 Automated changelog update [skip ci] 2023-07-26 10:01:36 +00:00
kobergj d8bbe7eeaf Merge pull request #6881 from kobergj/UsePutForNats
Use PUT registry for nats
2023-07-26 12:00:37 +02:00
Daniel Swärd 8c5ce6279a Separate out grpc client to package local for notifications service. 2023-07-26 11:23:38 +02:00
Roman Perekhod 927a518ba4 Automated changelog update [skip ci] 2023-07-26 09:19:10 +00:00
Roman Perekhod 436eae2c79 Merge pull request #6878 from 2403905/issue-5807
[full-ci] Fix the default document language for OnlyOffice
2023-07-26 11:18:35 +02:00
Daniel Swärd 3c02f3b355 Merge pull request #6856 from owncloud/ainmosni/tracing/idp
Convert IDP service to service trace provider.
2023-07-26 11:18:18 +02:00
Daniel Swärd 7c24ea2a95 Merge pull request #6864 from owncloud/ainmosni/tracing/search
Convert search service to use service tracing.
2023-07-26 10:45:05 +02:00
Daniel Swärd 70848008f1 Merge pull request #6866 from owncloud/ainmosni/tracing/storage-shares
Convert storage-share to use service tracing.
2023-07-26 10:42:54 +02:00
Daniel Swärd 3170f4cc1f Merge pull request #6865 from owncloud/ainmosni/tracing/storage-publiclink
Convert storage-publiclink to service tracing
2023-07-26 10:41:53 +02:00
Daniel Swärd 965699e811 Merge pull request #6801 from owncloud/ainmosni/tracing/invitations
Change invitations to use service tracing provider
2023-07-26 10:39:38 +02:00
nirajacharya2 614fcca440 added extra 4 second to wait until getting tags request is send (#6848) 2023-07-26 14:12:58 +05:45
Jannik Stehle fec16dcc08 chore: bump web to v7.1.0-rc.2 2023-07-26 08:29:23 +02:00
Prajwol Amatya 21af4b3d6d refactor acceptance code to store response data of user or group shares on single store (#6775) 2023-07-26 12:01:09 +05:45
Karun Atreya 078c7e036c added step to check notification with subject and resource (#6675) 2023-07-26 10:07:45 +05:45
Roman Perekhod 6c95c626cd [full-ci] update reva to include #4078 2023-07-25 18:18:22 +02:00
Martin 2c36867629 Merge pull request #6885 from owncloud/fix_descriptions_using_single_quotes
[docs-only] Replace double quotes with single quotes in envvar descriptions
2023-07-25 15:09:13 +02:00
ownClouders f01b4aa68b [tx] updated from transifex 2023-07-25 11:18:54 +00:00
mmattel ce318ca160 [docs-only] Replace double quotes with single quotes in envvar descriptions 2023-07-25 13:05:30 +02:00
kobergj 1dbbb9b6a0 Automated changelog update [skip ci] 2023-07-25 10:49:49 +00:00
kobergj 19058fe90b Merge pull request #6849 from kobergj/MaxMessageSizeConfig
[docs-only] Configurable max message size
2023-07-25 12:49:03 +02:00
Daniël Franke b15e50d1fe Add missing package comment 2023-07-25 12:25:30 +02:00
Daniël Franke 053ffc869f Change invitations to use service tracing provider
This changes the invitations service to use the service tracing provider.
2023-07-25 12:06:42 +02:00
Daniël Franke 30d9a08d52 Convert storage-share to use service tracing.
This converts the storage-share to use the service trace provider.
2023-07-25 12:05:16 +02:00
Daniël Franke e2fa2be973 Convert search service to use service tracing.
This converts the search service to use the service tracer.
It also initialises the grpc service with a trace provider.
2023-07-25 11:22:51 +02:00
jkoberg c942c7a6dd use "put" registry for nats
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-25 11:21:32 +02:00
Nalem7 de550b73a1 add api test for search restored file through tag (#6709) 2023-07-25 14:54:27 +05:45
kobergjandMartin 31226e2134 improve documentation
Co-authored-by: Martin <github@diemattels.at>
2023-07-25 11:08:04 +02:00
jkoberg 89785d0976 configurable max message size
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-07-25 11:08:01 +02:00
Phil Davis dc18f58693 Merge pull request #6880 from owncloud/Forwardport-download-space
[full-ci][tests-only]Forward port download space
2023-07-25 14:06:53 +05:45
Roman Perekhod 20476aa159 Automated changelog update [skip ci] 2023-07-25 07:34:15 +00:00
Roman Perekhod d00ca45ec8 Merge pull request #6863 from 2403905/issue-6855
Improve the notification logs when the user has no email address
2023-07-25 09:33:35 +02:00
Amrita 6900a80511 Add more tests coverage (#6854) 2023-07-25 12:27:42 +05:45
amrita 1138412aff Add hidden file also 2023-07-25 12:24:36 +05:45
Salipa-Gurung 926e547f99 add test for downloading space 2023-07-25 12:24:26 +05:45
Christian Richter 309b59a665 Merge pull request #6842 from dragonchaser/issue-4188-depth
En-/Disable DEPTH:inifinity in PROPFIND
2023-07-24 17:56:10 +02:00
Christian RichterandMartin b6b7d67121 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2023-07-24 17:07:37 +02:00
Christian Richter 1351f4937d bump reva
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-07-24 16:37:30 +02:00
Christian Richter df10baf339 fix typo
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-07-24 15:46:27 +02:00
Christian Richter 66791d9388 add missing env var to drone.star
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-07-24 15:28:37 +02:00
Christian Richter 3eb6e74535 add missing options
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-07-24 15:15:01 +02:00
Christian Richter 6ff8a3cd27 test infinity changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-07-24 14:11:12 +02:00
Roman Perekhod f3484c3cdd Improve the notification logs when the user has no email address 2023-07-24 10:41:32 +02:00
Swikriti Tripathi 98d6796800 fix the syntax of the test step (#6871) 2023-07-24 14:10:22 +05:45
Swikriti Tripathi fb7ba62726 [tests-only][full-ci]Retry listing notifications (#6839)
* Retry listing notifications

* use loop instaed

* use loop instaed

* throw exception

* use do while loop
2023-07-24 11:31:38 +05:45
ownClouders 80e7f44604 [tx] updated from transifex 2023-07-22 00:54:53 +00:00
Daniël Franke 76088d2034 Convert storage-publiclink to service tracing
This converts the storage-publiclink service to the service tracing
methods.
2023-07-21 12:34:09 +02:00
Daniël Franke 48933fa2ee Package comment for middleware. 2023-07-21 09:16:58 +02:00
dependabot[bot] d653a132cf Bump word-wrap from 1.2.3 to 1.2.4 in /services/idp
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 17:43:14 +00:00
Daniël Franke d2d0461375 Convert IDP service to service trace provider.
This converts the IDP service to use the service trace provider.
2023-07-20 13:36:08 +02:00
Sabin Panta bed8c77892 [tests-only][full-ci] make user enable disable feature use graphapi (#6790)
* make user enable disable feature use graphapi

* change the step definition code for user disable action

* updated step definition code for user disable feature

* updated user disable implementation

* corrected the error of step implementation code
2023-07-20 14:27:40 +05:45
Nalem7 531efe0b10 add test for search deleted file using context (#6707) 2023-07-20 12:58:40 +05:45
Nalem7 e71b72c18a add test for search files by sharee using content (#6698) 2023-07-20 11:50:39 +05:45
Willy Kloucek f34d96ace8 Merge pull request #6852 from owncloud/fix-WEB_OPTION_ACCESS_DENIED_HELP_URL
fix WEB_OPTION_ACCESS_DENIED_HELP_URL
2023-07-19 17:16:07 +02:00
Willy KloucekandJannik Stehle 595a00998b Update services/web/pkg/config/options.go
Co-authored-by: Jannik Stehle <50302941+JammingBen@users.noreply.github.com>
2023-07-19 16:35:20 +02:00
Martin 7a0bdce8b4 Merge pull request #6840 from owncloud/graceful-timeout
storage-users: Add config option for graceful shutdown timeout
2023-07-19 16:19:25 +02:00
Willy Kloucek f9f84b9135 fix WEB_OPTION_ACCESS_DENIED_HELP_URL 2023-07-19 16:01:38 +02:00
MartinandEdith Parzefall 6be90847b7 Update services/storage-users/README.md
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de>
2023-07-19 14:35:52 +02:00
mmattel 6c33d945f3 update readme 2023-07-19 13:27:30 +02:00
MartinandEdith Parzefall 35dd1fa173 Update services/storage-users/README.md
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de>
2023-07-19 13:02:48 +02:00
MartinandEdith Parzefall 1ec451d3d5 Apply suggestions from code review
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de>
2023-07-19 13:02:25 +02:00
mmattel 5f72c61089 envvar text fix and readme addon 2023-07-19 11:06:29 +02:00
Phil Davis 02a3bfd176 Merge pull request #6835 from owncloud/retry-409-for-given-step-upload
[tests-only] [full-ci] Retry if 409 is received when uploading in a Given step
2023-07-19 09:34:09 +05:45
ownClouders b505e334ee [tx] updated from transifex 2023-07-19 00:20:06 +00:00
Viktor Scharf 1803c19b24 add test for uploading zero file with mtime (#6552) 2023-07-18 17:15:08 +02:00
Ralf Haferkamp e32aef17cd storage-users: Add config option for graceful shutdown timeout
Add STORAGE_USERS_GRACEFUL_SHUTDOWN_TIMEOUT setting to allow a graceful
shutdown of the storage-users service. This currently only applicable
when running storage-user as a sepearate service.

Setting STORAGE_USERS_GRACEFUL_SHUTDOWN_TIMEOUT to a non-zero value
gives the storage-users service a chance to cleanly shutdown and finish
any in progess tasks (e.g. metadata propagation) before exiting.

Partial-Fix: #6602
2023-07-18 16:47:26 +02:00
Ralf Haferkamp b480fc09b0 Bump reva, for 'graceful_shutdown_timeout' setting 2023-07-18 16:08:43 +02:00
dependabot[bot] 87a1bf7e26 Bump google.golang.org/grpc from 1.56.1 to 1.56.2
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.1 to 1.56.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.56.1...v1.56.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 14:09:37 +02:00
dependabot[bot] a1e69c6a5c Bump github.com/go-micro/plugins/v4/registry/consul from 1.2.0 to 1.2.1
Bumps [github.com/go-micro/plugins/v4/registry/consul](https://github.com/go-micro/plugins) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v4/auth/jwt/v1.2.0...v4/logger/zap/v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/registry/consul
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 14:08:39 +02:00
Michael Barz 6ed9e2b6c8 Automated changelog update [skip ci] 2023-07-18 11:20:37 +00:00
Michael Barz 16f54d9bb9 Merge pull request #6837 from owncloud/release-3.1.0-beta.1
[full-ci] bump version, prepare changelog
2023-07-18 13:19:50 +02:00
Phil Davis bd634cbcf3 Retry if 409 is received when uploading in a Given step 2023-07-18 16:10:21 +05:45
993 changed files with 34814 additions and 24557 deletions

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
# The test runner source for UI tests
WEB_COMMITID=4925a1bd117f31530f6ebdf5af2a9215ad3c6796
WEB_COMMITID=a26f7920d4ef8bf57488b18e451525d16e246e9e
WEB_BRANCH=stable-7.1
+52 -40
View File
@@ -31,7 +31,7 @@ PLUGINS_S3_CACHE = "plugins/s3-cache:1"
PLUGINS_SLACK = "plugins/slack:1"
REDIS = "redis:6-alpine"
SELENIUM_STANDALONE_CHROME = "selenium/standalone-chrome:104.0-20220812"
SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:4.7.0"
SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:5.0"
DEFAULT_PHP_VERSION = "7.4"
DEFAULT_NODEJS_VERSION = "18"
@@ -101,7 +101,6 @@ config = {
"localApiTests": {
"basic": {
"suites": [
"apiAccountsHashDifficulty",
"apiArchiver",
"apiContract",
"apiGraph",
@@ -109,9 +108,18 @@ config = {
"apiSpacesShares",
"apiCors",
"apiAsyncUpload",
"apiDownloads",
"apiReshare",
"apiSpacesDavOperation",
],
"skip": False,
},
"apiAccountsHashDifficulty": {
"suites": [
"apiAccountsHashDifficulty",
],
"accounts_hash_difficulty": "default",
},
"apiNotification": {
"suites": [
"apiNotification",
@@ -142,9 +150,9 @@ config = {
"OCIS_ADD_RUN_SERVICES": "antivirus",
},
},
"apiFullTextSearch": {
"apiSearch": {
"suites": [
"apiFullTextSearch",
"apiSearch",
],
"skip": False,
"tikaNeeded": True,
@@ -312,7 +320,7 @@ def cachePipeline(name, steps):
"steps": steps,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/**",
"refs/pull/**",
],
@@ -373,7 +381,6 @@ def getGoBinForTesting(ctx):
cacheGoBin(),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
@@ -517,7 +524,7 @@ def testOcisModule(ctx, module):
"steps": steps,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/%s/v*" % (module),
"refs/pull/**",
],
@@ -542,7 +549,7 @@ def buildOcisBinaryForTesting(ctx):
rebuildBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin"),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -593,7 +600,6 @@ def uploadScanResults(ctx):
"git checkout $DRONE_COMMIT",
],
},
] + skipIfUnchanged(ctx, "unit-tests") + [
{
"name": "sync-from-cache",
"image": MINIO_MC,
@@ -601,7 +607,7 @@ def uploadScanResults(ctx):
"commands": [
"mkdir -p cache",
"mc alias set cachebucket $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
"mc mirror cachebucket/$CACHE_BUCKET/%s/%s/cache cache/" % (ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}"),
"mc mirror cachebucket/$CACHE_BUCKET/%s/%s/cache cache/ || true" % (ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}"),
],
},
{
@@ -624,15 +630,19 @@ def uploadScanResults(ctx):
"environment": MINIO_MC_ENV,
"commands": [
"mc alias set cachebucket $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
"mc rm --recursive --force cachebucket/$CACHE_BUCKET/%s/%s/cache" % (ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}"),
"mc rm --recursive --force cachebucket/$CACHE_BUCKET/%s/%s/cache || true" % (ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}"),
],
},
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
"status": [
"success",
"failure",
],
},
}
@@ -719,7 +729,7 @@ def codestyle(ctx):
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
"refs/tags/**",
],
@@ -772,7 +782,7 @@ def localApiTestPipeline(ctx):
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -791,7 +801,7 @@ def localApiTests(suite, storage, extra_environment = {}):
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_SUITE": suite,
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnGraph&&~@skipOnOcis-%s-Storage&&~@skipOnStable4.0" % ("OC" if storage == "owncloud" else "OCIS"),
"EXPECTED_FAILURES_FILE": "%s/tests/acceptance/expected-failures-localAPI-on-%s-storage.md" % (dirs["base"], storage.upper()),
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
"OCIS_WRAPPER_URL": "http://ocis-server:5200",
@@ -834,7 +844,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -903,7 +913,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
[
{
"name": "wopiserver",
"image": "cs3org/wopiserver:v10.0.1",
"image": "cs3org/wopiserver:v10.1.0",
"detach": True,
"commands": [
"cp %s/tests/config/drone/wopiserver.conf /etc/wopi/wopiserver.conf" % (dirs["base"]),
@@ -941,7 +951,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -990,7 +1000,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1106,7 +1116,7 @@ def uiTestPipeline(ctx, filterTags, runPart = 1, numberOfParts = 1, storage = "o
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)] + buildWebCache(ctx)),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1119,14 +1129,14 @@ def e2eTests(ctx):
"tikaNeeded": True,
},
"suite2": {
"path": "tests/e2e/cucumber/features/smoke/*/*[!.oc10].feature",
"path": "tests/e2e/cucumber/features/smoke/*[!app-provider]/*[!.oc10].feature",
"tikaNeeded": False,
},
}
e2e_trigger = {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/**",
"refs/pull/**",
],
@@ -1336,7 +1346,7 @@ def dockerRelease(ctx, arch):
"depends_on": depends_on,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
"refs/pull/**",
],
@@ -1411,7 +1421,7 @@ def binaryRelease(ctx, name):
],
"when": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
],
},
@@ -1422,7 +1432,7 @@ def binaryRelease(ctx, name):
"settings": settings,
"when": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
],
},
@@ -1464,7 +1474,7 @@ def binaryRelease(ctx, name):
"depends_on": depends_on,
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
"refs/pull/**",
],
@@ -1554,7 +1564,7 @@ def licenseCheck(ctx):
"settings": settings,
"when": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
],
},
@@ -1595,7 +1605,7 @@ def licenseCheck(ctx):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
"refs/pull/**",
],
@@ -1674,7 +1684,7 @@ def releaseDockerManifest():
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
],
},
@@ -1720,7 +1730,7 @@ def changelog():
"push",
],
"message": "Automated changelog update [skip ci]",
"branch": "master",
"branch": "stable-4.0",
"author_email": "devops@owncloud.com",
"author_name": "ownClouders",
"netrc_machine": "github.com",
@@ -1742,7 +1752,7 @@ def changelog():
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1776,7 +1786,7 @@ def releaseDockerReadme(ctx):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/tags/v*",
],
},
@@ -1823,7 +1833,7 @@ def docs():
},
"pages_directory": "docs/hugo/content/",
"copy_contents": "true",
"target_branch": "docs",
"target_branch": "docs-stable-4.0",
"delete": "true",
},
"when": {
@@ -1845,7 +1855,7 @@ def docs():
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
@@ -1918,7 +1928,7 @@ def notify():
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/heads/release*",
"refs/tags/**",
],
@@ -1941,7 +1951,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"STORAGE_SYSTEM_DRIVER_OCIS_ROOT": "%s/storage/metadata" % dirs["ocis"],
"SHARING_USER_JSON_FILE": "%s/shares.json" % dirs["ocis"],
"PROXY_ENABLE_BASIC_AUTH": True,
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"WEB_UI_CONFIG_FILE": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"OCIS_LOG_LEVEL": "error",
"SETTINGS_DATA_PATH": "%s/settings" % dirs["ocis"],
"IDM_CREATE_DEMO_USERS": True,
@@ -1951,6 +1961,9 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"OCIS_EVENTS_ENABLE_TLS": False,
"OCIS_DECOMPOSEDFS_METADATA_BACKEND": "messagepack",
"FRONTEND_OCS_ENABLE_DENIALS": True,
"OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY": True,
# fonts map for txt thumbnails (including unicode support)
"THUMBNAILS_TXT_FONTMAP_FILE": "%s/tests/config/drone/fontsMap.json" % (dirs["base"]),
}
if tika_enabled:
environment["FRONTEND_FULL_TEXT_SEARCH_ENABLED"] = True
@@ -1977,7 +1990,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"STORAGE_SYSTEM_DRIVER_OCIS_ROOT": "%s/storage/metadata" % dirs["ocis"],
"SHARING_USER_JSON_FILE": "%s/shares.json" % dirs["ocis"],
"PROXY_ENABLE_BASIC_AUTH": True,
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"WEB_UI_CONFIG_FILE": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"OCIS_LOG_LEVEL": "error",
"SETTINGS_DATA_PATH": "%s/settings" % dirs["ocis"],
"IDM_CREATE_DEMO_USERS": True,
@@ -2254,7 +2267,6 @@ def deploy(ctx, config, rebuild):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/tags/v*",
],
},
@@ -2359,7 +2371,7 @@ def genericCachePurge(flush_path):
],
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
"status": [
@@ -2611,7 +2623,7 @@ def litmus(ctx, storage):
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
"ref": [
"refs/heads/master",
"refs/heads/stable-*",
"refs/pull/**",
],
},
+1 -1
View File
@@ -42,7 +42,7 @@
// set some hardcoded secrets
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"OCIS_MACHINE_AUTH_API_KEY": "some-ocis-machine-auth-api-key",
"STORAGE_TRANSFER_SECRET": "some-ocis-transfer-secret",
"OCIS_TRANSFER_SECRET": "some-ocis-transfer-secret",
// idm ldap
"IDM_SVC_PASSWORD": "some-ldap-idm-password",
"GRAPH_LDAP_BIND_PASSWORD": "some-ldap-idm-password",
+388 -10
View File
@@ -2,22 +2,100 @@
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v3.0.0...master
[unreleased]: https://github.com/owncloud/ocis/compare/v4.0.0...master
## Summary
* Bugfix - Bump reva to 2.16.1: [#7350](https://github.com/owncloud/ocis/pull/7350)
* Bugfix - Do not reset received share state to pending: [#7319](https://github.com/owncloud/ocis/issues/7319)
* Bugfix - Check school number for duplicates before adding a school: [#7351](https://github.com/owncloud/ocis/pull/7351)
* Bugfix - Disable username validation for keycloak example: [#7230](https://github.com/owncloud/ocis/pull/7230)
* Bugfix - Actually pass PROXY_OIDC_SKIP_USER_INFO option to oidc client middleware: [#7220](https://github.com/owncloud/ocis/pull/7220)
* Bugfix - Bring back the USERS_LDAP_USER_SCHEMA_ID variable: [#7312](https://github.com/owncloud/ocis/issues/7312)
* Enhancement - Add OCIS_LDAP_BIND_PASSWORD as replacement for LDAP_BIND_PASSWORD: [#7176](https://github.com/owncloud/ocis/issues/7176)
## Details
* Bugfix - Bump reva to 2.16.1: [#7350](https://github.com/owncloud/ocis/pull/7350)
* Bugfix [cs3org/reva#4194](https://github.com/cs3org/reva/pull/4194): Make appctx package compatible with go v1.21
* Bugfix [cs3org/reva#4214](https://github.com/cs3org/reva/pull/4214): Always pass adjusted default nats options
https://github.com/owncloud/ocis/pull/7350
* Bugfix - Do not reset received share state to pending: [#7319](https://github.com/owncloud/ocis/issues/7319)
We fixed a problem where the states of received shares were reset to PENDING in the "ocis migrate
rebuild-jsoncs3-indexes" command
https://github.com/owncloud/ocis/issues/7319
* Bugfix - Check school number for duplicates before adding a school: [#7351](https://github.com/owncloud/ocis/pull/7351)
We fixed an issue that allowed to create two schools with the same school number
https://github.com/owncloud/enterprise/issues/6051
https://github.com/owncloud/ocis/pull/7351
* Bugfix - Disable username validation for keycloak example: [#7230](https://github.com/owncloud/ocis/pull/7230)
Set 'GRAPH_USERNAME_MATCH' to 'none'. To accept any username that is also valid for keycloak.
https://github.com/owncloud/ocis/pull/7230
* Bugfix - Actually pass PROXY_OIDC_SKIP_USER_INFO option to oidc client middleware: [#7220](https://github.com/owncloud/ocis/pull/7220)
https://github.com/owncloud/ocis/pull/7220
* Bugfix - Bring back the USERS_LDAP_USER_SCHEMA_ID variable: [#7312](https://github.com/owncloud/ocis/issues/7312)
We reintroduced the USERS_LDAP_USER_SCHEMA_ID variable which was accidently removed from
the users service with the 4.0.0 release.
https://github.com/owncloud/ocis/issues/7312
https://github.com/owncloud/ocis-charts/issues/397
* Enhancement - Add OCIS_LDAP_BIND_PASSWORD as replacement for LDAP_BIND_PASSWORD: [#7176](https://github.com/owncloud/ocis/issues/7176)
The enviroment variable `OCIS_LDAP_BIND_PASSWORD` was added to be more consistent with all
other global LDAP variables.
`LDAP_BIND_PASSWORD` is deprecated now and scheduled for removal with the 5.0.0 release.
We also deprecated `LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` for removal with 5.0.0. The
replacement for it is `OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`.
https://github.com/owncloud/ocis/issues/7176
# Changelog for [4.0.0] (2023-08-21)
The following sections list the changes for 4.0.0.
[4.0.0]: https://github.com/owncloud/ocis/compare/v3.0.0...v4.0.0
## Summary
* Bugfix - Add default store to postprocessing: [#6578](https://github.com/owncloud/ocis/pull/6578)
* Bugfix - Add token to LinkAccessedEvent: [#6554](https://github.com/owncloud/ocis/pull/6554)
* Bugfix - Add missing timestamps: [#6515](https://github.com/owncloud/ocis/pull/6515)
* Bugfix - Check public auth first: [#6900](https://github.com/owncloud/ocis/pull/6900)
* Bugfix - Don't connect to ldap on startup: [#6565](https://github.com/owncloud/ocis/pull/6565)
* Bugfix - Let clients cache web and theme assets: [#6914](https://github.com/owncloud/ocis/pull/6914)
* Bugfix - Fix CORS issues: [#6912](https://github.com/owncloud/ocis/pull/6912)
* Bugfix - Handle the bad request status: [#6469](https://github.com/owncloud/ocis/pull/6469)
* Bugfix - Fix error message on 400 response for thumbnail requests: [#2064](https://github.com/owncloud/ocis/issues/2064)
* Bugfix - Graph service did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting: [#7032](https://github.com/owncloud/ocis/issues/7032)
* Bugfix - Fix nats registry: [#6881](https://github.com/owncloud/ocis/pull/6881)
* Bugfix - Fix the oidc role assigner: [#6605](https://github.com/owncloud/ocis/pull/6605)
* Bugfix - Fix the default document language for OnlyOffice: [#6878](https://github.com/owncloud/ocis/pull/6878)
* Bugfix - Fix the routing capability: [#9367](https://github.com/owncloud/web/issues/9367)
* Bugfix - Fix the search: [#6947](https://github.com/owncloud/ocis/pull/6947)
* Bugfix - Fix search shares: [#6741](https://github.com/owncloud/ocis/pull/6741)
* Bugfix - Restart Postprocessing: [#6726](https://github.com/owncloud/ocis/pull/6726)
* Change - YAML configuration files are restricted to yaml-1.2: [#6510](https://github.com/owncloud/ocis/issues/6510)
* Enhancement - Add 'ocis decomposedfs check-treesize' command: [#6556](https://github.com/owncloud/ocis/pull/6556)
* Enhancement - Add IDs to graph resource logging: [#6593](https://github.com/owncloud/ocis/pull/6593)
* Enhancement - Add permissions to report: [#6528](https://github.com/owncloud/ocis/pull/6528)
* Enhancement - Add command for rebuilding the jsoncs3 share manager indexes: [#6986](https://github.com/owncloud/ocis/pull/6986)
* Enhancement - Add more metadata to the remote item: [#6300](https://github.com/owncloud/ocis/pull/6300)
* Enhancement - Add X-Request-Id to all responses: [#6715](https://github.com/owncloud/ocis/pull/6715)
* Enhancement - Add SSE Endpoint: [#5998](https://github.com/owncloud/ocis/pull/5998)
@@ -26,9 +104,11 @@ The following sections list the changes for unreleased.
* Enhancement - Make the app provider service name configurable: [#6482](https://github.com/owncloud/ocis/pull/6482)
* Enhancement - Add old & new values to audit logs: [#6537](https://github.com/owncloud/ocis/pull/6537)
* Enhancement - Bump Hugo: [#6787](https://github.com/owncloud/ocis/pull/6787)
* Enhancement - Update reva to v2.15.0: [#6829](https://github.com/owncloud/ocis/pull/6829)
* Enhancement - Bump reva to 2.16.0: [#6829](https://github.com/owncloud/ocis/pull/6829)
* Enhancement - Bump sonarcloud: [#6961](https://github.com/owncloud/ocis/pull/6961)
* Enhancement - Clarify license text in the dev docs: [#6755](https://github.com/owncloud/ocis/pull/6755)
* Enhancement - Use reva client selectors: [#6452](https://github.com/owncloud/ocis/pull/6452)
* Enhancement - Configure max grpc message size: [#6849](https://github.com/owncloud/ocis/pull/6849)
* Enhancement - Thumbnails can be disabled for webdav & web now: [#6577](https://github.com/owncloud/ocis/pull/6577)
* Enhancement - Add companion URL config: [#6453](https://github.com/owncloud/ocis/pull/6453)
* Enhancement - Add imprint and privacy url config: [#6462](https://github.com/owncloud/ocis/pull/6462)
@@ -38,16 +118,23 @@ The following sections list the changes for unreleased.
* Enhancement - Provide Search filter for locations: [#6713](https://github.com/owncloud/ocis/pull/6713)
* Enhancement - Add search result content preview and term highlighting: [#6634](https://github.com/owncloud/ocis/pull/6634)
* Enhancement - Add WEB_OPTION_TOKEN_STORAGE_LOCAL env variable: [#6760](https://github.com/owncloud/ocis/pull/6760)
* Enhancement - Evaluate policy resource information on single file shares: [#6888](https://github.com/owncloud/ocis/pull/6888)
* Enhancement - Extendable policy mimetype extension mapping: [#6869](https://github.com/owncloud/ocis/pull/6869)
* Enhancement - Fix envvar defaults: [#6516](https://github.com/owncloud/ocis/pull/6516)
* Enhancement - Skip if the simulink is a directory: [#6574](https://github.com/owncloud/ocis/pull/6574)
* Enhancement - Fix the groupname validation: [#6490](https://github.com/owncloud/ocis/pull/6490)
* Enhancement - Fix the username validation: [#6437](https://github.com/owncloud/ocis/pull/6437)
* Enhancement - Add static secret to gn endpoints: [#6946](https://github.com/owncloud/ocis/pull/6946)
* Enhancement - Improve the notification logs: [#6862](https://github.com/owncloud/ocis/pull/6862)
* Enhancement - Move graph to service tracerprovider: [#6695](https://github.com/owncloud/ocis/pull/6695)
* Enhancement - Move proxy to service tracerprovider: [#6591](https://github.com/owncloud/ocis/pull/6591)
* Enhancement - Nats named connections: [#6979](https://github.com/owncloud/ocis/pull/6979)
* Enhancement - Remove deprecated environment variables: [#7099](https://github.com/owncloud/ocis/pull/7099)
* Enhancement - Add functionality to retry postprocessing: [#6500](https://github.com/owncloud/ocis/pull/6500)
* Enhancement - Update go-micro kubernetes registry: [#6457](https://github.com/owncloud/ocis/pull/6457)
* Enhancement - Update web to v7.0.1: [#6470](https://github.com/owncloud/ocis/pull/6470)
* Enhancement - Update web to v7.1.0-rc.1: [#6828](https://github.com/owncloud/ocis/pull/6828)
* Enhancement - Update web to v7.1.0-rc.5: [#6944](https://github.com/owncloud/ocis/pull/6944)
* Enhancement - Update web to v7.1.0: [#7107](https://github.com/owncloud/ocis/pull/7107)
* Enhancement - Allow disabling wopi chat: [#6544](https://github.com/owncloud/ocis/pull/6544)
## Details
@@ -74,12 +161,32 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/issues/3753
https://github.com/owncloud/ocis/pull/6515
* Bugfix - Check public auth first: [#6900](https://github.com/owncloud/ocis/pull/6900)
When authenticating in proxy, first check for public link authorization.
https://github.com/owncloud/ocis/pull/6900
* Bugfix - Don't connect to ldap on startup: [#6565](https://github.com/owncloud/ocis/pull/6565)
This leads to misleading error messages. Instead we connect on first request
https://github.com/owncloud/ocis/pull/6565
* Bugfix - Let clients cache web and theme assets: [#6914](https://github.com/owncloud/ocis/pull/6914)
We needed to remove "must-revalidate" from the cache-control header to allow clients to cache
the web and theme assets.
https://github.com/owncloud/ocis/pull/6914
* Bugfix - Fix CORS issues: [#6912](https://github.com/owncloud/ocis/pull/6912)
We fixed the CORS issues when client asking for the 'Cache-Control' header before load the file
https://github.com/owncloud/ocis/issues/5108
https://github.com/owncloud/ocis/pull/6912
* Bugfix - Handle the bad request status: [#6469](https://github.com/owncloud/ocis/pull/6469)
Handle the bad request status for the CreateStorageSpace function
@@ -88,6 +195,28 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/6469
https://github.com/cs3org/reva/pull/3948
* Bugfix - Fix error message on 400 response for thumbnail requests: [#2064](https://github.com/owncloud/ocis/issues/2064)
Fix the error message when the thumbnail request returns a '400 Bad Request' response.
https://github.com/owncloud/ocis/issues/2064
https://github.com/owncloud/ocis/pull/6911
* Bugfix - Graph service did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting: [#7032](https://github.com/owncloud/ocis/issues/7032)
We fixed issue when using a custom LDAP attribute for group members. The graph service did not
honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER environment variable
https://github.com/owncloud/ocis/issues/7032
* Bugfix - Fix nats registry: [#6881](https://github.com/owncloud/ocis/pull/6881)
Using `nats` as service registry did work, but when a service would restart and gets a new ip it
couldn't re-register. We fixed this by using `"put"` register action instead of the default
`"create"`
https://github.com/owncloud/ocis/pull/6881
* Bugfix - Fix the oidc role assigner: [#6605](https://github.com/owncloud/ocis/pull/6605)
The update role method did not allow to set a role when the user already has two roles. This makes
@@ -97,6 +226,27 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/6605
https://github.com/owncloud/ocis/pull/6618
* Bugfix - Fix the default document language for OnlyOffice: [#6878](https://github.com/owncloud/ocis/pull/6878)
Fix the default document language for OnlyOffice
https://github.com/owncloud/enterprise/issues/5807
https://github.com/owncloud/ocis/pull/6878
* Bugfix - Fix the routing capability: [#9367](https://github.com/owncloud/web/issues/9367)
Fix the routing capability
https://github.com/owncloud/web/issues/9367
* Bugfix - Fix the search: [#6947](https://github.com/owncloud/ocis/pull/6947)
We fixed the issue when search using the current folder option shows the file/folders outside
the folder if search keyword is same as current folder
https://github.com/owncloud/ocis/issues/6935
https://github.com/owncloud/ocis/pull/6947
* Bugfix - Fix search shares: [#6741](https://github.com/owncloud/ocis/pull/6741)
We fixed a problem where searching shares did not yield results when the resource was not shared
@@ -144,6 +294,13 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/6528
* Enhancement - Add command for rebuilding the jsoncs3 share manager indexes: [#6986](https://github.com/owncloud/ocis/pull/6986)
We added a command for rebuilding the jsoncs3 share manager indexes.
https://github.com/owncloud/ocis/pull/6986
https://github.com/owncloud/ocis/pull/6971
* Enhancement - Add more metadata to the remote item: [#6300](https://github.com/owncloud/ocis/pull/6300)
We added the drive alias, the space name and the relative path to the remote item. This is needed
@@ -198,7 +355,57 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/6787
* Enhancement - Update reva to v2.15.0: [#6829](https://github.com/owncloud/ocis/pull/6829)
* Enhancement - Bump reva to 2.16.0: [#6829](https://github.com/owncloud/ocis/pull/6829)
* Bugfix [cs3org/reva#4086](https://github.com/cs3org/reva/pull/4086): Fix ocs status code for not enough permission response
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): fix the default document language for OnlyOffice
* Bugfix [cs3org/reva#4051](https://github.com/cs3org/reva/pull/4051): Set treesize when creating a storage space
* Bugfix [cs3org/reva#4089](https://github.com/cs3org/reva/pull/4089): Fix wrong import
* Bugfix [cs3org/reva#4082](https://github.com/cs3org/reva/pull/4082): Fix propfind permissions
* Bugfix [cs3org/reva#4076](https://github.com/cs3org/reva/pull/4076): Fix WebDAV permissions for space managers
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): fix the default document language for OnlyOffice
* Bugfix [cs3org/reva#4081](https://github.com/cs3org/reva/pull/4081): Propagate sizeDiff
* Bugfix [cs3org/reva#4051](https://github.com/cs3org/reva/pull/4051): Set treesize when creating a storage space
* Bugfix [cs3org/reva#4093](https://github.com/cs3org/reva/pull/4093): Fix the error handling
* Bugfix [cs3org/reva#4111](https://github.com/cs3org/reva/pull/4111): Return already exists error when child already exists
* Bugfix [cs3org/reva#4086](https://github.com/cs3org/reva/pull/4086): Fix ocs status code for not enough permission response
* Bugfix [cs3org/reva#4101](https://github.com/cs3org/reva/pull/4101): Make the jsoncs3 share manager indexes more robust
* Bugfix [cs3org/reva#4099](https://github.com/cs3org/reva/pull/4099): Fix logging upload errors
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): Fix the default document language for OnlyOffice
* Bugfix [cs3org/reva#4082](https://github.com/cs3org/reva/pull/4082): Fix propfind permissions
* Bugfix [cs3org/reva#4100](https://github.com/cs3org/reva/pull/4100): S3ng include md5 checksum on put
* Bugfix [cs3org/reva#4096](https://github.com/cs3org/reva/pull/4096): Fix the user shares list
* Bugfix [cs3org/reva#4076](https://github.com/cs3org/reva/pull/4076): Fix WebDAV permissions for space managers
* Bugfix [cs3org/reva#4117](https://github.com/cs3org/reva/pull/4117): Fix jsoncs3 atomic persistence
* Bugfix [cs3org/reva#4081](https://github.com/cs3org/reva/pull/4081): Propagate sizeDiff
* Bugfix [cs3org/reva#4091](https://github.com/cs3org/reva/pull/4091): Register WebDAV HTTP methods with chi
* Bugfix [cs3org/reva#4107](https://github.com/cs3org/reva/pull/4107): Return lock when requested
* Bugfix [cs3org/reva#4075](https://github.com/cs3org/reva/pull/4075): Revert 4065 - bypass proxy on upload
* Enhancement [cs3org/reva#4070](https://github.com/cs3org/reva/pull/4070): Selectable Propagators
* Enhancement [cs3org/reva#4074](https://github.com/cs3org/reva/pull/4074): Allow configuring the max size of grpc messages
* Enhancement [cs3org/reva#4085](https://github.com/cs3org/reva/pull/4085): Add registry refresh
* Enhancement [cs3org/reva#4090](https://github.com/cs3org/reva/pull/4090): Add Capability for sse
* Enhancement [cs3org/reva#4072](https://github.com/cs3org/reva/pull/4072): Allow to specify a shutdown timeout
* Enhancement [cs3org/reva#4083](https://github.com/cs3org/reva/pull/4083): Allow for rolling back migrations
* Enhancement [cs3org/reva#4014](https://github.com/cs3org/reva/pull/4014): En-/Disable DEPTH:inifinity in PROPFIND
* Enhancement [cs3org/reva#4089](https://github.com/cs3org/reva/pull/4089): Async propagation (experimental)
* Enhancement [cs3org/reva#4074](https://github.com/cs3org/reva/pull/4074): Allow configuring the max size of grpc messages
* Enhancement [cs3org/reva#4083](https://github.com/cs3org/reva/pull/4083): Allow for rolling back migrations
* Enhancement [cs3org/reva#4014](https://github.com/cs3org/reva/pull/4014): En-/Disable DEPTH:inifinity in PROPFIND
* Enhancement [cs3org/reva#4072](https://github.com/cs3org/reva/pull/4072): Allow to specify a shutdown timeout
* Enhancement [cs3org/reva#4103](https://github.com/cs3org/reva/pull/4103): Add .oform mimetype
* Enhancement [cs3org/reva#4098](https://github.com/cs3org/reva/pull/4098): Allow naming nats connections
* Enhancement [cs3org/reva#4085](https://github.com/cs3org/reva/pull/4085): Add registry refresh
* Enhancement [cs3org/reva#4097](https://github.com/cs3org/reva/pull/4097): Remove app ticker logs
* Enhancement [cs3org/reva#4090](https://github.com/cs3org/reva/pull/4090): Add Capability for sse
* Enhancement [cs3org/reva#4110](https://github.com/cs3org/reva/pull/4110): Tracing events propgation
Https://github.com/owncloud/ocis/pull/6899
https://github.com/owncloud/ocis/pull/6919
https://github.com/owncloud/ocis/pull/6928
https://github.com/owncloud/ocis/pull/6979
Update reva to v2.15.0
* Bugfix [cs3org/reva#4004](https://github.com/cs3org/reva/pull/4004): Add path to public link POST
* Bugfix [cs3org/reva#3993](https://github.com/cs3org/reva/pull/3993): Add token to LinkAccessedEvent
@@ -263,6 +470,12 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/6590
https://github.com/owncloud/ocis/pull/6812
* Enhancement - Bump sonarcloud: [#6961](https://github.com/owncloud/ocis/pull/6961)
Bump sonarcloud to `5.0` to avoid java errors
https://github.com/owncloud/ocis/pull/6961
* Enhancement - Clarify license text in the dev docs: [#6755](https://github.com/owncloud/ocis/pull/6755)
Explain the usage of the EULA for binary builds.
@@ -279,6 +492,12 @@ The following sections list the changes for unreleased.
https://github.com/cs3org/reva/pull/3939
https://github.com/cs3org/reva/pull/3953
* Enhancement - Configure max grpc message size: [#6849](https://github.com/owncloud/ocis/pull/6849)
Add a configuration option for the grpc max message size
https://github.com/owncloud/ocis/pull/6849
* Enhancement - Thumbnails can be disabled for webdav & web now: [#6577](https://github.com/owncloud/ocis/pull/6577)
We added an env var `OCIS_DISABLE_PREVIEWS` to disable the thumbnails for web & webdav via a
@@ -350,6 +569,22 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/6760
https://github.com/owncloud/ocis/pull/6771
* Enhancement - Evaluate policy resource information on single file shares: [#6888](https://github.com/owncloud/ocis/pull/6888)
The policy environment for single file shares now also includes information about the
resource. As a result, it is now possible to set up and check rules for them.
https://github.com/owncloud/ocis/pull/6888
* Enhancement - Extendable policy mimetype extension mapping: [#6869](https://github.com/owncloud/ocis/pull/6869)
The extension mimetype mappings known from rego can now be extended. To do this, ocis must be
informed where the mimetype file (apache mime.types file format) is located.
`export POLICIES_ENGINE_MIMES=OCIS_CONFIG_DIR/mime.types`
https://github.com/owncloud/ocis/pull/6869
* Enhancement - Fix envvar defaults: [#6516](https://github.com/owncloud/ocis/pull/6516)
Defaults for the envvar OCIS_LDAP_DISABLE_USER_MECHANISM were not used consistently,
@@ -379,6 +614,21 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/issues/6436
https://github.com/owncloud/ocis/pull/6437
* Enhancement - Add static secret to gn endpoints: [#6946](https://github.com/owncloud/ocis/pull/6946)
The global notifications POST and DELETE endpoints (used only for deprovision notifications
at the moment) can now be called by adding a static secret to the header. Admins can still call
this endpoint without knowing the secret
https://github.com/owncloud/ocis/pull/6946
* Enhancement - Improve the notification logs: [#6862](https://github.com/owncloud/ocis/pull/6862)
Improve the notification logs when the user has no email address
https://github.com/owncloud/ocis/issues/6855
https://github.com/owncloud/ocis/pull/6862
* Enhancement - Move graph to service tracerprovider: [#6695](https://github.com/owncloud/ocis/pull/6695)
This moves the graph to initialise a service tracer provider at service initialisation time,
@@ -393,6 +643,19 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/6591
* Enhancement - Nats named connections: [#6979](https://github.com/owncloud/ocis/pull/6979)
Names the nats connections for easier debugging
https://github.com/owncloud/ocis/pull/6979
* Enhancement - Remove deprecated environment variables: [#7099](https://github.com/owncloud/ocis/pull/7099)
We have removed all environment variables that have been marked as deprecated and marked for
removal for 4.0.0
https://github.com/owncloud/ocis/pull/7099
* Enhancement - Add functionality to retry postprocessing: [#6500](https://github.com/owncloud/ocis/pull/6500)
Adds a ctl command to manually retry failed postprocessing on uploads
@@ -418,11 +681,11 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/6470
https://github.com/owncloud/web/releases/tag/v7.0.1
* Enhancement - Update web to v7.1.0-rc.1: [#6828](https://github.com/owncloud/ocis/pull/6828)
* Enhancement - Update web to v7.1.0-rc.5: [#6944](https://github.com/owncloud/ocis/pull/6944)
Tags: web
We updated ownCloud Web to v7.1.0-rc.1. Please refer to the changelog (linked) for details on
We updated ownCloud Web to v7.1.0-rc.5. Please refer to the changelog (linked) for details on
the web release.
## Summary * Bugfix [owncloud/web#9078](https://github.com/owncloud/web/pull/9078):
@@ -442,7 +705,19 @@ The following sections list the changes for unreleased.
[owncloud/web#9351](https://github.com/owncloud/web/pull/9351): Media controls
overflow on mobile screens * Bugfix
[owncloud/web#9389](https://github.com/owncloud/web/pull/9389): Space editors see
empty trashbin and delete actions in space trashbin * Enhancement
empty trashbin and delete actions in space trashbin * Bugfix
[owncloud/web#9461](https://github.com/owncloud/web/pull/9461): Merging folders *
Bugfix [owncloud/web/#9496](https://github.com/owncloud/web/pull/9496): Logo not
showing * Bugfix [owncloud/web/#9489](https://github.com/owncloud/web/pull/9489):
Public drop zone * Bugfix
[owncloud/web/#9487](https://github.com/owncloud/web/pull/9487): Respect
supportedClouds config * Bugfix
[owncloud/web/#9507](https://github.com/owncloud/web/pull/9507): Space description
edit modal is cut off vertically * Bugfix
[owncloud/web/#9501](https://github.com/owncloud/web/pull/9501): Add cloud importer
translations * Bugfix
[owncloud/web/#9510](https://github.com/owncloud/web/pull/9510): Double items after
moving a file with the same name * Enhancement
[owncloud/web#7967](https://github.com/owncloud/web/pull/7967): Add hasPriority
property for editors per extension * Enhancement
[owncloud/web#8422](https://github.com/owncloud/web/issues/8422): Improve
@@ -509,10 +784,113 @@ The following sections list the changes for unreleased.
notification for blocked pop-ups and redirects * Enhancement
[owncloud/web#9386](https://github.com/owncloud/web/pull/9386): Allow local storage
for auth token * Enhancement
[owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling
[owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling *
Enhancement [owncloud/web#9449](https://github.com/owncloud/web/issues/9449):
Error notifications include x-request-id * Enhancement
[owncloud/web#9426](https://github.com/owncloud/web/pull/9426): Add error log to
upload dialog
https://github.com/owncloud/ocis/pull/6828
https://github.com/owncloud/web/releases/tag/v7.1.0-rc.1
https://github.com/owncloud/ocis/pull/6944
https://github.com/owncloud/web/releases/tag/v7.1.0-rc.5
* Enhancement - Update web to v7.1.0: [#7107](https://github.com/owncloud/ocis/pull/7107)
Tags: web
We updated ownCloud Web to v7.1.0. Please refer to the changelog (linked) for details on the web
release.
## Summary * Bugfix [owncloud/web#9078](https://github.com/owncloud/web/pull/9078):
Favorites list update on removal * Bugfix
[owncloud/web#9213](https://github.com/owncloud/web/pull/9213): Space creation does
not block reoccurring event * Bugfix
[owncloud/web#9247](https://github.com/owncloud/web/issues/9247): Uploading to
folders that contain special characters * Bugfix
[owncloud/web#9259](https://github.com/owncloud/web/issues/9259): Relative user
quota display limited to two decimals * Bugfix
[owncloud/web#9261](https://github.com/owncloud/web/issues/9261): Remember
location after token invalidation * Bugfix
[owncloud/web#9299](https://github.com/owncloud/web/pull/9299): Authenticated
public links breaking uploads * Bugfix
[owncloud/web#9315](https://github.com/owncloud/web/issues/9315): Switch columns
displayed on small screens in "Shared with me" view * Bugfix
[owncloud/web#9351](https://github.com/owncloud/web/pull/9351): Media controls
overflow on mobile screens * Bugfix
[owncloud/web#9389](https://github.com/owncloud/web/pull/9389): Space editors see
empty trashbin and delete actions in space trashbin * Bugfix
[owncloud/web#9461](https://github.com/owncloud/web/issues/9461): Merging folders *
Enhancement [owncloud/web#7967](https://github.com/owncloud/web/pull/7967): Add
hasPriority property for editors per extension * Enhancement
[owncloud/web#8422](https://github.com/owncloud/web/issues/8422): Improve
extension app topbar * Enhancement
[owncloud/web#8445](https://github.com/owncloud/web/issues/8445): Open
individually shared file in dedicated view * Enhancement
[owncloud/web#8599](https://github.com/owncloud/web/issues/8599): Shrink table
columns * Enhancement
[owncloud/web#8921](https://github.com/owncloud/web/pull/8921): Add whitespace
context-menu * Enhancement
[owncloud/web#8983](https://github.com/owncloud/web/pull/8983): Deny share access *
Enhancement [owncloud/web#8984](https://github.com/owncloud/web/pull/8984): Long
breadcrumb strategy * Enhancement
[owncloud/web#9044](https://github.com/owncloud/web/pull/9044): Search tag filter *
Enhancement [owncloud/web#9046](https://github.com/owncloud/web/pull/9046): Single
file link open with default app * Enhancement
[owncloud/web#9052](https://github.com/owncloud/web/pull/9052): Drag & drop on parent
folder * Enhancement
[owncloud/web#9055](https://github.com/owncloud/web/pull/9055): Respect archiver
limits * Enhancement
[owncloud/web#9056](https://github.com/owncloud/web/issues/9056): Enable download
(archive) on spaces * Enhancement
[owncloud/web#9059](https://github.com/owncloud/web/pull/9059): Search full-text
filter * Enhancement
[owncloud/web#9077](https://github.com/owncloud/web/pull/9077): Advanced search
button * Enhancement
[owncloud/web#9077](https://github.com/owncloud/web/pull/9077): Search breadcrumb *
Enhancement [owncloud/web#9088](https://github.com/owncloud/web/pull/9088): Use app
icons for files * Enhancement
[owncloud/web#9140](https://github.com/owncloud/web/pull/9140): Upload file on paste
* Enhancement [owncloud/web#9151](https://github.com/owncloud/web/issues/9151):
Cloud import * Enhancement
[owncloud/web#9174](https://github.com/owncloud/web/issues/9174): Privacy
statement in account menu * Enhancement
[owncloud/web#9178](https://github.com/owncloud/web/pull/9178): Add login button to
top bar * Enhancement
[owncloud/web#9195](https://github.com/owncloud/web/pull/9195): Project spaces list
viewmode * Enhancement
[owncloud/web#9199](https://github.com/owncloud/web/pull/9199): Add pagination
options to admin settings * Enhancement
[owncloud/web#9200](https://github.com/owncloud/web/pull/9200): Add batch actions to
search result list * Enhancement
[owncloud/web#9216](https://github.com/owncloud/web/issues/9216): Restyle possible
sharees * Enhancement
[owncloud/web#9226](https://github.com/owncloud/web/pull/9226): Streamline URL
query names * Enhancement
[owncloud/web#9263](https://github.com/owncloud/web/pull/9263): Access denied page
update message * Enhancement
[owncloud/web#9280](https://github.com/owncloud/web/issues/9280): Hover tooltips in
topbar * Enhancement
[owncloud/web#9294](https://github.com/owncloud/web/pull/9294): Search list add
highlighted file content * Enhancement
[owncloud/web#9299](https://github.com/owncloud/web/pull/9299): Resolve pulic links
to their actual location * Enhancement
[owncloud/web#9304](https://github.com/owncloud/web/pull/9304): Add search location
filter * Enhancement
[owncloud/web#9344](https://github.com/owncloud/web/pull/9344): Ambiguation for URL
view mode params * Enhancement
[owncloud/web#9346](https://github.com/owncloud/web/pull/9346): Batch actions
redesign * Enhancement
[owncloud/web#9348](https://github.com/owncloud/web/pull/9348): Tag comma
separation on client side * Enhancement
[owncloud/web#9377](https://github.com/owncloud/web/issues/9377): User
notification for blocked pop-ups and redirects * Enhancement
[owncloud/web#9386](https://github.com/owncloud/web/pull/9386): Allow local storage
for auth token * Enhancement
[owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling *
Enhancement [owncloud/web#9436](https://github.com/owncloud/web/pull/9436): Add
error log to upload dialog
https://github.com/owncloud/ocis/pull/7107
https://github.com/owncloud/web/releases/tag/v7.1.0
* Enhancement - Allow disabling wopi chat: [#6544](https://github.com/owncloud/ocis/pull/6544)
+2 -2
View File
@@ -118,7 +118,7 @@ CORE_BEHAT_YML=tests/acceptance/config/behat-core.yml
.PHONY: test-acceptance-api
test-acceptance-api: vendor-bin/behat/vendor
BEHAT_BIN=$(BEHAT_BIN) $(PWD)/tests/acceptance/run.sh --type api
BEHAT_BIN=$(BEHAT_BIN) $(PWD)/tests/acceptance/run.sh
.PHONY: test-acceptance-from-core-api
test-acceptance-from-core-api: vendor-bin/behat/vendor
@@ -126,7 +126,7 @@ test-acceptance-from-core-api: vendor-bin/behat/vendor
.PHONY: test-paralleldeployment-api
test-paralleldeployment-api: vendor-bin/behat/vendor
BEHAT_BIN=$(BEHAT_BIN) BEHAT_YML=$(PARALLEL_BEHAT_YML) $(PWD)/tests/acceptance/run.sh --type api
BEHAT_BIN=$(BEHAT_BIN) BEHAT_YML=$(PARALLEL_BEHAT_YML) $(PWD)/tests/acceptance/run.sh
vendor/bamarni/composer-bin-plugin: composer.lock
composer install
@@ -0,0 +1,6 @@
Enhancement: Add command for rebuilding the jsoncs3 share manager indexes
We added a command for rebuilding the jsoncs3 share manager indexes.
https://github.com/owncloud/ocis/pull/6986
https://github.com/owncloud/ocis/pull/6971
@@ -1,4 +1,54 @@
Enhancement: Update reva to v2.15.0
Enhancement: Bump reva to 2.16.0
* Bugfix [cs3org/reva#4086](https://github.com/cs3org/reva/pull/4086): Fix ocs status code for not enough permission response
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): fix the default document language for OnlyOffice
* Bugfix [cs3org/reva#4051](https://github.com/cs3org/reva/pull/4051): Set treesize when creating a storage space
* Bugfix [cs3org/reva#4089](https://github.com/cs3org/reva/pull/4089): Fix wrong import
* Bugfix [cs3org/reva#4082](https://github.com/cs3org/reva/pull/4082): Fix propfind permissions
* Bugfix [cs3org/reva#4076](https://github.com/cs3org/reva/pull/4076): Fix WebDAV permissions for space managers
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): fix the default document language for OnlyOffice
* Bugfix [cs3org/reva#4081](https://github.com/cs3org/reva/pull/4081): Propagate sizeDiff
* Bugfix [cs3org/reva#4051](https://github.com/cs3org/reva/pull/4051): Set treesize when creating a storage space
* Bugfix [cs3org/reva#4093](https://github.com/cs3org/reva/pull/4093): Fix the error handling
* Bugfix [cs3org/reva#4111](https://github.com/cs3org/reva/pull/4111): Return already exists error when child already exists
* Bugfix [cs3org/reva#4086](https://github.com/cs3org/reva/pull/4086): Fix ocs status code for not enough permission response
* Bugfix [cs3org/reva#4101](https://github.com/cs3org/reva/pull/4101): Make the jsoncs3 share manager indexes more robust
* Bugfix [cs3org/reva#4099](https://github.com/cs3org/reva/pull/4099): Fix logging upload errors
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): Fix the default document language for OnlyOffice
* Bugfix [cs3org/reva#4082](https://github.com/cs3org/reva/pull/4082): Fix propfind permissions
* Bugfix [cs3org/reva#4100](https://github.com/cs3org/reva/pull/4100): S3ng include md5 checksum on put
* Bugfix [cs3org/reva#4096](https://github.com/cs3org/reva/pull/4096): Fix the user shares list
* Bugfix [cs3org/reva#4076](https://github.com/cs3org/reva/pull/4076): Fix WebDAV permissions for space managers
* Bugfix [cs3org/reva#4117](https://github.com/cs3org/reva/pull/4117): Fix jsoncs3 atomic persistence
* Bugfix [cs3org/reva#4081](https://github.com/cs3org/reva/pull/4081): Propagate sizeDiff
* Bugfix [cs3org/reva#4091](https://github.com/cs3org/reva/pull/4091): Register WebDAV HTTP methods with chi
* Bugfix [cs3org/reva#4107](https://github.com/cs3org/reva/pull/4107): Return lock when requested
* Bugfix [cs3org/reva#4075](https://github.com/cs3org/reva/pull/4075): Revert 4065 - bypass proxy on upload
* Enhancement [cs3org/reva#4070](https://github.com/cs3org/reva/pull/4070): Selectable Propagators
* Enhancement [cs3org/reva#4074](https://github.com/cs3org/reva/pull/4074): Allow configuring the max size of grpc messages
* Enhancement [cs3org/reva#4085](https://github.com/cs3org/reva/pull/4085): Add registry refresh
* Enhancement [cs3org/reva#4090](https://github.com/cs3org/reva/pull/4090): Add Capability for sse
* Enhancement [cs3org/reva#4072](https://github.com/cs3org/reva/pull/4072): Allow to specify a shutdown timeout
* Enhancement [cs3org/reva#4083](https://github.com/cs3org/reva/pull/4083): Allow for rolling back migrations
* Enhancement [cs3org/reva#4014](https://github.com/cs3org/reva/pull/4014): En-/Disable DEPTH:inifinity in PROPFIND
* Enhancement [cs3org/reva#4089](https://github.com/cs3org/reva/pull/4089): Async propagation (experimental)
* Enhancement [cs3org/reva#4074](https://github.com/cs3org/reva/pull/4074): Allow configuring the max size of grpc messages
* Enhancement [cs3org/reva#4083](https://github.com/cs3org/reva/pull/4083): Allow for rolling back migrations
* Enhancement [cs3org/reva#4014](https://github.com/cs3org/reva/pull/4014): En-/Disable DEPTH:inifinity in PROPFIND
* Enhancement [cs3org/reva#4072](https://github.com/cs3org/reva/pull/4072): Allow to specify a shutdown timeout
* Enhancement [cs3org/reva#4103](https://github.com/cs3org/reva/pull/4103): Add .oform mimetype
* Enhancement [cs3org/reva#4098](https://github.com/cs3org/reva/pull/4098): Allow naming nats connections
* Enhancement [cs3org/reva#4085](https://github.com/cs3org/reva/pull/4085): Add registry refresh
* Enhancement [cs3org/reva#4097](https://github.com/cs3org/reva/pull/4097): Remove app ticker logs
* Enhancement [cs3org/reva#4090](https://github.com/cs3org/reva/pull/4090): Add Capability for sse
* Enhancement [cs3org/reva#4110](https://github.com/cs3org/reva/pull/4110): Tracing events propgation
https://github.com/owncloud/ocis/pull/6899
https://github.com/owncloud/ocis/pull/6919
https://github.com/owncloud/ocis/pull/6928
https://github.com/owncloud/ocis/pull/6979
Update reva to v2.15.0
* Bugfix [cs3org/reva#4004](https://github.com/cs3org/reva/pull/4004): Add path to public link POST
* Bugfix [cs3org/reva#3993](https://github.com/cs3org/reva/pull/3993): Add token to LinkAccessedEvent
@@ -0,0 +1,5 @@
Enhancement: Bump sonarcloud
Bump sonarcloud to `5.0` to avoid java errors
https://github.com/owncloud/ocis/pull/6961
@@ -0,0 +1,5 @@
Bugfix: Check public auth first
When authenticating in proxy, first check for public link authorization.
https://github.com/owncloud/ocis/pull/6900
@@ -0,0 +1,5 @@
Enhancement: configure max grpc message size
Add a configuration option for the grpc max message size
https://github.com/owncloud/ocis/pull/6849
@@ -0,0 +1,6 @@
Enhancement: Evaluate policy resource information on single file shares
The policy environment for single file shares now also includes information about the resource.
As a result, it is now possible to set up and check rules for them.
https://github.com/owncloud/ocis/pull/6888
@@ -0,0 +1,8 @@
Enhancement: Extendable policy mimetype extension mapping
The extension mimetype mappings known from rego can now be extended.
To do this, ocis must be informed where the mimetype file (apache mime.types file format) is located.
`export POLICIES_ENGINE_MIMES=OCIS_CONFIG_DIR/mime.types`
https://github.com/owncloud/ocis/pull/6869
@@ -0,0 +1,5 @@
Bugfix: Let clients cache web and theme assets
We needed to remove "must-revalidate" from the cache-control header to allow clients to cache the web and theme assets.
https://github.com/owncloud/ocis/pull/6914
+6
View File
@@ -0,0 +1,6 @@
Bugfix: Fix CORS issues
We fixed the CORS issues when client asking for the 'Cache-Control' header before load the file
https://github.com/owncloud/ocis/pull/6912
https://github.com/owncloud/ocis/issues/5108
@@ -0,0 +1,6 @@
Bugfix: Fix error message on 400 response for thumbnail requests
Fix the error message when the thumbnail request returns a '400 Bad Request' response.
https://github.com/owncloud/ocis/issues/2064
https://github.com/owncloud/ocis/pull/6911
@@ -0,0 +1,6 @@
Bugfix: graph service did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting
We fixed issue when using a custom LDAP attribute for group members. The graph service
did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER environment variable
https://github.com/owncloud/ocis/issues/7032
@@ -0,0 +1,6 @@
Bugfix: Fix nats registry
Using `nats` as service registry did work, but when a service would restart and gets a new ip it couldn't re-register.
We fixed this by using `"put"` register action instead of the default `"create"`
https://github.com/owncloud/ocis/pull/6881
@@ -0,0 +1,6 @@
Bugfix: fix the default document language for OnlyOffice
Fix the default document language for OnlyOffice
https://github.com/owncloud/ocis/pull/6878
https://github.com/owncloud/enterprise/issues/5807
@@ -0,0 +1,5 @@
Bugfix: Fix the routing capability
Fix the routing capability
https://github.com/owncloud/web/issues/9367
+8
View File
@@ -0,0 +1,8 @@
Bugfix: Fix the search
We fixed the issue when search using the current folder option shows the file/folders outside the folder if search keyword is same as
current folder
https://github.com/owncloud/ocis/pull/6947
https://github.com/owncloud/ocis/issues/6935
@@ -0,0 +1,5 @@
Enhancement: Add static secret to gn endpoints
The global notifications POST and DELETE endpoints (used only for deprovision notifications at the moment) can now be called by adding a static secret to the header. Admins can still call this endpoint without knowing the secret
https://github.com/owncloud/ocis/pull/6946
@@ -0,0 +1,6 @@
Enhancement: Improve the notification logs
Improve the notification logs when the user has no email address
https://github.com/owncloud/ocis/pull/6862
https://github.com/owncloud/ocis/issues/6855
@@ -0,0 +1,5 @@
Enhancement: Nats named connections
Names the nats connections for easier debugging
https://github.com/owncloud/ocis/pull/6979
@@ -0,0 +1,6 @@
Enhancement: Remove deprecated environment variables
We have removed all environment variables that have been marked as deprecated
and marked for removal for 4.0.0
https://github.com/owncloud/ocis/pull/7099
@@ -0,0 +1,65 @@
Enhancement: Update web to v7.1.0-rc.5
Tags: web
We updated ownCloud Web to v7.1.0-rc.5. Please refer to the changelog (linked) for details on the web release.
## Summary
* Bugfix [owncloud/web#9078](https://github.com/owncloud/web/pull/9078): Favorites list update on removal
* Bugfix [owncloud/web#9213](https://github.com/owncloud/web/pull/9213): Space creation does not block reoccurring event
* Bugfix [owncloud/web#9247](https://github.com/owncloud/web/issues/9247): Uploading to folders that contain special characters
* Bugfix [owncloud/web#9259](https://github.com/owncloud/web/issues/9259): Relative user quota display limited to two decimals
* Bugfix [owncloud/web#9261](https://github.com/owncloud/web/issues/9261): Remember location after token invalidation
* Bugfix [owncloud/web#9299](https://github.com/owncloud/web/pull/9299): Authenticated public links breaking uploads
* Bugfix [owncloud/web#9315](https://github.com/owncloud/web/issues/9315): Switch columns displayed on small screens in "Shared with me" view
* Bugfix [owncloud/web#9351](https://github.com/owncloud/web/pull/9351): Media controls overflow on mobile screens
* Bugfix [owncloud/web#9389](https://github.com/owncloud/web/pull/9389): Space editors see empty trashbin and delete actions in space trashbin
* Bugfix [owncloud/web#9461](https://github.com/owncloud/web/pull/9461): Merging folders
* Bugfix [owncloud/web/#9496](https://github.com/owncloud/web/pull/9496): Logo not showing
* Bugfix [owncloud/web/#9489](https://github.com/owncloud/web/pull/9489): Public drop zone
* Bugfix [owncloud/web/#9487](https://github.com/owncloud/web/pull/9487): Respect supportedClouds config
* Bugfix [owncloud/web/#9507](https://github.com/owncloud/web/pull/9507): Space description edit modal is cut off vertically
* Bugfix [owncloud/web/#9501](https://github.com/owncloud/web/pull/9501): Add cloud importer translations
* Bugfix [owncloud/web/#9510](https://github.com/owncloud/web/pull/9510): Double items after moving a file with the same name
* Enhancement [owncloud/web#7967](https://github.com/owncloud/web/pull/7967): Add hasPriority property for editors per extension
* Enhancement [owncloud/web#8422](https://github.com/owncloud/web/issues/8422): Improve extension app topbar
* Enhancement [owncloud/web#8445](https://github.com/owncloud/web/issues/8445): Open individually shared file in dedicated view
* Enhancement [owncloud/web#8599](https://github.com/owncloud/web/issues/8599): Shrink table columns
* Enhancement [owncloud/web#8921](https://github.com/owncloud/web/pull/8921): Add whitespace context-menu
* Enhancement [owncloud/web#8983](https://github.com/owncloud/web/pull/8983): Deny share access
* Enhancement [owncloud/web#8984](https://github.com/owncloud/web/pull/8984): Long breadcrumb strategy
* Enhancement [owncloud/web#9044](https://github.com/owncloud/web/pull/9044): Search tag filter
* Enhancement [owncloud/web#9046](https://github.com/owncloud/web/pull/9046): Single file link open with default app
* Enhancement [owncloud/web#9052](https://github.com/owncloud/web/pull/9052): Drag & drop on parent folder
* Enhancement [owncloud/web#9055](https://github.com/owncloud/web/pull/9055): Respect archiver limits
* Enhancement [owncloud/web#9056](https://github.com/owncloud/web/issues/9056): Enable download (archive) on spaces
* Enhancement [owncloud/web#9059](https://github.com/owncloud/web/pull/9059): Search full-text filter
* Enhancement [owncloud/web#9077](https://github.com/owncloud/web/pull/9077): Advanced search button
* Enhancement [owncloud/web#9077](https://github.com/owncloud/web/pull/9077): Search breadcrumb
* Enhancement [owncloud/web#9088](https://github.com/owncloud/web/pull/9088): Use app icons for files
* Enhancement [owncloud/web#9140](https://github.com/owncloud/web/pull/9140): Upload file on paste
* Enhancement [owncloud/web#9151](https://github.com/owncloud/web/issues/9151): Cloud import
* Enhancement [owncloud/web#9174](https://github.com/owncloud/web/issues/9174): Privacy statement in account menu
* Enhancement [owncloud/web#9178](https://github.com/owncloud/web/pull/9178): Add login button to top bar
* Enhancement [owncloud/web#9195](https://github.com/owncloud/web/pull/9195): Project spaces list viewmode
* Enhancement [owncloud/web#9199](https://github.com/owncloud/web/pull/9199): Add pagination options to admin settings
* Enhancement [owncloud/web#9200](https://github.com/owncloud/web/pull/9200): Add batch actions to search result list
* Enhancement [owncloud/web#9216](https://github.com/owncloud/web/issues/9216): Restyle possible sharees
* Enhancement [owncloud/web#9226](https://github.com/owncloud/web/pull/9226): Streamline URL query names
* Enhancement [owncloud/web#9263](https://github.com/owncloud/web/pull/9263): Access denied page update message
* Enhancement [owncloud/web#9280](https://github.com/owncloud/web/issues/9280): Hover tooltips in topbar
* Enhancement [owncloud/web#9294](https://github.com/owncloud/web/pull/9294): Search list add highlighted file content
* Enhancement [owncloud/web#9299](https://github.com/owncloud/web/pull/9299): Resolve pulic links to their actual location
* Enhancement [owncloud/web#9304](https://github.com/owncloud/web/pull/9304): Add search location filter
* Enhancement [owncloud/web#9344](https://github.com/owncloud/web/pull/9344): Ambiguation for URL view mode params
* Enhancement [owncloud/web#9346](https://github.com/owncloud/web/pull/9346): Batch actions redesign
* Enhancement [owncloud/web#9348](https://github.com/owncloud/web/pull/9348): Tag comma separation on client side
* Enhancement [owncloud/web#9377](https://github.com/owncloud/web/issues/9377): User notification for blocked pop-ups and redirects
* Enhancement [owncloud/web#9386](https://github.com/owncloud/web/pull/9386): Allow local storage for auth token
* Enhancement [owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling
* Enhancement [owncloud/web#9449](https://github.com/owncloud/web/issues/9449): Error notifications include x-request-id
* Enhancement [owncloud/web#9426](https://github.com/owncloud/web/pull/9426): Add error log to upload dialog
https://github.com/owncloud/ocis/pull/6944
https://github.com/owncloud/web/releases/tag/v7.1.0-rc.5
@@ -1,8 +1,8 @@
Enhancement: Update web to v7.1.0-rc.1
Enhancement: Update web to v7.1.0
Tags: web
We updated ownCloud Web to v7.1.0-rc.1. Please refer to the changelog (linked) for details on the web release.
We updated ownCloud Web to v7.1.0. Please refer to the changelog (linked) for details on the web release.
## Summary
* Bugfix [owncloud/web#9078](https://github.com/owncloud/web/pull/9078): Favorites list update on removal
@@ -14,6 +14,7 @@ We updated ownCloud Web to v7.1.0-rc.1. Please refer to the changelog (linked) f
* Bugfix [owncloud/web#9315](https://github.com/owncloud/web/issues/9315): Switch columns displayed on small screens in "Shared with me" view
* Bugfix [owncloud/web#9351](https://github.com/owncloud/web/pull/9351): Media controls overflow on mobile screens
* Bugfix [owncloud/web#9389](https://github.com/owncloud/web/pull/9389): Space editors see empty trashbin and delete actions in space trashbin
* Bugfix [owncloud/web#9461](https://github.com/owncloud/web/issues/9461): Merging folders
* Enhancement [owncloud/web#7967](https://github.com/owncloud/web/pull/7967): Add hasPriority property for editors per extension
* Enhancement [owncloud/web#8422](https://github.com/owncloud/web/issues/8422): Improve extension app topbar
* Enhancement [owncloud/web#8445](https://github.com/owncloud/web/issues/8445): Open individually shared file in dedicated view
@@ -50,6 +51,7 @@ We updated ownCloud Web to v7.1.0-rc.1. Please refer to the changelog (linked) f
* Enhancement [owncloud/web#9377](https://github.com/owncloud/web/issues/9377): User notification for blocked pop-ups and redirects
* Enhancement [owncloud/web#9386](https://github.com/owncloud/web/pull/9386): Allow local storage for auth token
* Enhancement [owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling
* Enhancement [owncloud/web#9436](https://github.com/owncloud/web/pull/9436): Add error log to upload dialog
https://github.com/owncloud/ocis/pull/6828
https://github.com/owncloud/web/releases/tag/v7.1.0-rc.1
https://github.com/owncloud/ocis/pull/7107
https://github.com/owncloud/web/releases/tag/v7.1.0
+6
View File
@@ -0,0 +1,6 @@
Bugfix: Bump reva to 2.16.1
* Bugfix [cs3org/reva#4194](https://github.com/cs3org/reva/pull/4194): Make appctx package compatible with go v1.21
* Bugfix [cs3org/reva#4214](https://github.com/cs3org/reva/pull/4214): Always pass adjusted default nats options
https://github.com/owncloud/ocis/pull/7350
@@ -0,0 +1,6 @@
Bugfix: Do not reset received share state to pending
We fixed a problem where the states of received shares were reset to PENDING
in the "ocis migrate rebuild-jsoncs3-indexes" command
https://github.com/owncloud/ocis/issues/7319
@@ -0,0 +1,6 @@
Bugfix: Check school number for duplicates before adding a school
We fixed an issue that allowed to create two schools with the same school number
https://github.com/owncloud/ocis/pull/7351
https://github.com/owncloud/enterprise/issues/6051
@@ -0,0 +1,6 @@
Bugfix: Disable username validation for keycloak example
Set 'GRAPH_USERNAME_MATCH' to 'none'. To accept any username that is
also valid for keycloak.
https://github.com/owncloud/ocis/pull/7230
@@ -0,0 +1,3 @@
Bugfix: actually pass PROXY_OIDC_SKIP_USER_INFO option to oidc client middleware
https://github.com/owncloud/ocis/pull/7220
@@ -0,0 +1,7 @@
Bugfix: Bring back the USERS_LDAP_USER_SCHEMA_ID variable
We reintroduced the USERS_LDAP_USER_SCHEMA_ID variable which was accidently removed from the users service
with the 4.0.0 release.
https://github.com/owncloud/ocis/issues/7312
https://github.com/owncloud/ocis-charts/issues/397
@@ -0,0 +1,11 @@
Enhancement: Add OCIS_LDAP_BIND_PASSWORD as replacement for LDAP_BIND_PASSWORD
The enviroment variable `OCIS_LDAP_BIND_PASSWORD` was added to be more consistent with all
other global LDAP variables.
`LDAP_BIND_PASSWORD` is deprecated now and scheduled for removal with the 5.0.0 release.
We also deprecated `LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` for removal with 5.0.0.
The replacement for it is `OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`.
https://github.com/owncloud/ocis/issues/7176
@@ -31,7 +31,7 @@
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: 3.1.0-beta.1
OCIS_DOCKER_TAG: 4.0.0
OCIS_DOMAIN: ocis.ocis-keycloak.released.owncloud.works
KEYCLOAK_DOMAIN: keycloak.ocis-keycloak.released.owncloud.works
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
@@ -31,7 +31,7 @@
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: 3.1.0-beta.1
OCIS_DOCKER_TAG: 4.0.0
OCIS_DOMAIN: ocis.ocis-ldap.released.owncloud.works
LDAP_MANAGER_DOMAIN: ldap.ocis-ldap.released.owncloud.works
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
@@ -31,7 +31,7 @@
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: 3.1.0-beta.1
OCIS_DOCKER_TAG: 4.0.0
OCIS_DOMAIN: ocis.ocis-traefik.released.owncloud.works
DEMO_USERS: "true"
INBUCKET_DOMAIN: mail.ocis-traefik.released.owncloud.works
@@ -31,7 +31,7 @@
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: 3.1.0-beta.1
OCIS_DOCKER_TAG: 4.0.0
OCIS_DOMAIN: ocis.ocis-wopi.released.owncloud.works
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.released.owncloud.works
COLLABORA_DOMAIN: collabora.ocis-wopi.released.owncloud.works
@@ -81,19 +81,19 @@ services:
GRAPH_IDENTITY_BACKEND: ldap
GRAPH_LDAP_SERVER_WRITE_ENABLED: "false"
# LDAP bind
LDAP_URI: "ldaps://openldap"
LDAP_INSECURE: "true"
LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
OCIS_LDAP_URI: "ldaps://openldap"
OCIS_LDAP_INSECURE: "true"
OCIS_LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
# LDAP user settings
PROXY_USER_OIDC_CLAIM: ocis.user.uuid # claim was added in Keycloak
PROXY_USER_CS3_CLAIM: userid # equals LDAP_USER_SCHEMA_ID
LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
LDAP_GROUP_SCHEMA_ID: "ownclouduuid"
LDAP_GROUP_FILTER: "(objectclass=owncloud)"
LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
LDAP_USER_SCHEMA_ID: "ownclouduuid"
LDAP_USER_FILTER: "(objectclass=owncloud)"
OCIS_LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
OCIS_LDAP_GROUP_SCHEMA_ID: "ownclouduuid"
OCIS_LDAP_GROUP_FILTER: "(objectclass=owncloud)"
OCIS_LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
OCIS_LDAP_USER_SCHEMA_ID: "ownclouduuid"
OCIS_LDAP_USER_FILTER: "(objectclass=owncloud)"
# ownCloudSQL storage driver
STORAGE_USERS_DRIVER: "owncloudsql"
STORAGE_USERS_OWNCLOUDSQL_DATADIR: "/mnt/data/files"
@@ -4,7 +4,7 @@
"displayName": "ownCloud Infinite Scale",
"notBefore": 0,
"defaultSignatureAlgorithm": "RS256",
"revokeRefreshToken": true,
"revokeRefreshToken": false,
"refreshTokenMaxReuse": 0,
"accessTokenLifespan": 300,
"accessTokenLifespanForImplicitFlow": 900,
@@ -76,6 +76,7 @@ services:
OCIS_ADMIN_USER_ID: ""
OCIS_EXCLUDE_RUN_SERVICES: "idp"
GRAPH_ASSIGN_DEFAULT_USER_ROLE: "false"
GRAPH_USERNAME_MATCH: "none"
volumes:
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
@@ -60,16 +60,16 @@ services:
command: [ "-c", "ocis init || true; ocis server" ]
environment:
# users/gropups from ldap
LDAP_URI: ldaps://ldap-server:1636
LDAP_INSECURE: "true"
LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
OCIS_LDAP_URI: ldaps://ldap-server:1636
OCIS_LDAP_INSECURE: "true"
OCIS_LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
LDAP_GROUP_FILTER: "(objectclass=owncloud)"
LDAP_GROUP_OBJECTCLASS: "groupOfNames"
LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
LDAP_USER_FILTER: "(objectclass=owncloud)"
LDAP_USER_OBJECTCLASS: "inetOrgPerson"
OCIS_LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
OCIS_LDAP_GROUP_FILTER: "(objectclass=owncloud)"
OCIS_LDAP_GROUP_OBJECTCLASS: "groupOfNames"
OCIS_LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
OCIS_LDAP_USER_FILTER: "(objectclass=owncloud)"
OCIS_LDAP_USER_OBJECTCLASS: "inetOrgPerson"
LDAP_LOGIN_ATTRIBUTES: "uid"
OCIS_ADMIN_USER_ID: "ddc2004c-0977-11eb-9d3f-a793888cd0f8"
IDP_LDAP_LOGIN_ATTRIBUTE: "uid"
@@ -76,6 +76,7 @@ services:
# fulltext search
SEARCH_EXTRACTOR_TYPE: tika
SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://tika:9998
FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true"
# email server (in this case inbucket acts as mail catcher)
NOTIFICATIONS_SMTP_HOST: inbucket
NOTIFICATIONS_SMTP_PORT: 2500
@@ -161,7 +162,7 @@ services:
restart: always
wopiserver:
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-v10.0.1}
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-v10.1.0}
networks:
ocis-net:
entrypoint:
@@ -6,14 +6,28 @@ import data.utils
default granted := true
granted = false if {
print("PRINT MESSAGE EXAMPLE")
input.request.method == "PUT"
not startswith(input.request.path, "/ocs")
not utils.is_extension_allowed(input.request.path)
pathPrefixes := [
"/dav",
"/remote.php/webdav",
"/remote.php/dav",
"/webdav",
]
restricted := pathPrefixes[_]
startswith(input.request.path, restricted)
not utils.is_extension_allowed(input.resource.name)
}
granted = false if {
input.request.method == "POST"
startswith(input.request.path, "/remote.php")
pathPrefixes := [
"/data",
"/dav",
"/remote.php/webdav",
"/remote.php/dav",
"/webdav",
]
restricted := pathPrefixes[_]
startswith(input.request.path, restricted)
not utils.is_extension_allowed(input.resource.name)
}
+1 -1
View File
@@ -39,7 +39,7 @@ variables:
type: string
default_value: ""
description: 'Go micro registry type to use. Supported types are: ''nats'', ''kubernetes'',
''etcd'', ''consul'' and ''memory''. Will be selected automatically. Only change
''etcd'', ''consul'', ''memory'' and ''mdns''. Will be selected automatically. Only change
on supervision of ownCloud Support.'
do_ignore: false
- rawname: registryAddressEnv
+71 -1
View File
@@ -80,6 +80,17 @@ make -C tests/acceptance/docker test-ocis-feature-ocis-storage
{{< /hint >}}
{{< hint info >}}
To run the tests that require tika service (tests tagged with `@tikaServiceNeeded`), you need to provide `START_TIKA=true` while running the tests.
```bash
START_TIKA=true \
BEHAT_FEATURE='tests/acceptance/features/apiSearch/contentSearch.feature' \
make -C tests/acceptance/docker test-ocis-feature-ocis-storage
```
{{< /hint >}}
{{< hint info >}}
To run the tests that require an antivirus service (tests tagged with `@antivirus`), you need to provide the following environment variables while running the tests.
@@ -376,6 +387,48 @@ BEHAT_FEATURE="tests/acceptance/features/apiNotification/emailNotification.featu
make test-acceptance-api
```
## Running Test Suite With Tika Service (@tikaServiceNeeded)
Test suites that are tagged with `@tikaServiceNeeded` require tika service.
### Setup Tika Service
Run the following docker command to setup tika service
```bash
docker run -d -p 127.0.0.1:9998:9998 apache/tika
```
### Run oCIS
Documentation related to the content based search and tika extractor can be found [here](https://doc.owncloud.com/ocis/next/deployment/services/s-list/search.html#content-extraction)
```bash
# init oCIS
IDM_ADMIN_PASSWORD=admin \
ocis/bin/ocis init --insecure true
# run oCIS
PROXY_ENABLE_BASIC_AUTH=true \
OCIS_INSECURE=true \
SEARCH_EXTRACTOR_TYPE=tika \
SEARCH_EXTRACTOR_TIKA_TIKA_URL=http://localhost:9998 \
SEARCH_EXTRACTOR_CS3SOURCE_INSECURE=true \
ocis/bin/ocis server
```
### Run the Acceptance Test
Run the acceptance test with the following command:
```bash
TEST_WITH_GRAPH_API=true \
TEST_OCIS=true \
TEST_SERVER_URL="https://localhost:9200" \
BEHAT_FEATURE="tests/acceptance/features/apiSearch/contentSearch.feature" \
make test-acceptance-api
```
## Running Tests for Parallel Deployment
### Setup the Parallel Deployment Environment
@@ -450,7 +503,7 @@ The commands are ubuntu specific and may differ according to your system. You ca
##### Mac OS user
Install ClamAV using [here](https://gist.github.com/mendozao/3ea393b91f23a813650baab9964425b9)
Start ClamAV daemon
Start ClamAV daemon
```bash
/your/location/to/brew/Cellar/clamav/1.1.0/sbin/clamd
```
@@ -499,3 +552,20 @@ TEST_SERVER_URL="https://localhost:9200" \
BEHAT_FEATURE="tests/acceptance/features/apiAntivirus/antivirus.feature" \
make test-acceptance-api
```
## Running Text Preview Tests Containing Unicode Characters
There are some tests that check the text preview of files containing Unicode characters. The oCIS server by default cannot generate the thumbnail of such files correctly but it provides an environment variable to allow the use of custom fonts that support Unicode characters. So to run such tests successfully, we have to run the oCIS server with this environment variable.
```bash
...
THUMBNAILS_TXT_FONTMAP_FILE="/path/to/fontsMap.json"
ocis/bin/ocis server
```
The sample `fontsMap.json` file is located in `tests/config/drone/fontsMap.json`.
```json
{
"defaultFont": "/path/to/ocis/tests/config/drone/NotoSans.ttf"
}
```
@@ -19,8 +19,9 @@ This configuration is an _example_ for using Samba4 AD as well as a Windows Serv
```text
OCIS_LDAP_URI=ldaps://xxxxxxxxx
OCIS_LDAP_INSECURE="true"
OCIS_LDAP_BIND_DN="cn=administrator,cn=users,xxxxxxxxxx"
OCIS_LDAP_BIND_PASSWORD=xxxxxxx
OCIS_LDAP_BIND_DN="cn=administrator,cn=users,xxxxxxxxxx"
OCIS_LDAP_BIND_PASSWORD=xxxxxxx
OCIS_LDAP_DISABLE_USER_MECHANISM="none"
OCIS_LDAP_GROUP_BASE_DN="dc=owncloud,dc=test"
OCIS_LDAP_GROUP_OBJECTCLASS="group"
OCIS_LDAP_GROUP_SCHEMA_ID="objectGUID"
@@ -31,7 +32,6 @@ OCIS_LDAP_USER_OBJECTCLASS="user"
OCIS_LDAP_USER_SCHEMA_ID="objectGUID"
OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING="true"
OCIS_LDAP_USER_SCHEMA_USERNAME="sAMAccountName"
OCIS_LDAP_USER_ENABLED_ATTRIBUTE=""
OCIS_LDAP_LOGIN_ATTRIBUTES="sAMAccountName"
IDP_LDAP_LOGIN_ATTRIBUTE="sAMAccountName"
IDP_LDAP_UUID_ATTRIBUTE="objectGUID"
@@ -0,0 +1,19 @@
---
title: Additinal Information
date: 2018-05-02T00:00:00+00:00
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/services/general-info
geekdocFilePath: additional-information.md
geekdocCollapseSection: true
---
This section contains information on general topics
## GRPC Maximum Message Size
ocis is using grpc for inter-service communication. When having a folder with a lot of files (25.000+, the size does not matter) and doing a `PROPFIND` on that folder, the server will run into errors. This is because the grpc message body becomes to big. With introduction of the envvar `OCIS_GRPC_MAX_RECEIVED_MESSAGE_SIZE`, the max size for the grpc body can be raised.
NOTE: With a certain amount of files even raising the grpc message size will not suffice as the requests will run into network timeouts. Also generally the more files are in a folder, the longer it will take time to load.
It is recommended to use `OCIS_GRPC_MAX_RECEIVED_MESSAGE_SIZE` only *temporary* to copy files out of the folder (like via the web ui) and use the default value in general.
+40 -43
View File
@@ -3,36 +3,35 @@ module github.com/owncloud/ocis/v2
go 1.20
require (
github.com/CiscoM31/godata v1.0.7
github.com/KimMachineGun/automemlimit v0.2.4
github.com/CiscoM31/godata v1.0.8
github.com/KimMachineGun/automemlimit v0.2.6
github.com/Masterminds/semver v1.5.0
github.com/MicahParks/keyfunc v1.5.1
github.com/Nerzal/gocloak/v13 v13.1.0
github.com/bbalet/stopwords v1.0.0
github.com/blevesearch/bleve/v2 v2.3.7
github.com/blevesearch/bleve/v2 v2.3.9
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/coreos/go-oidc/v3 v3.6.0
github.com/cs3org/go-cs3apis v0.0.0-20230516150832-730ac860c71d
github.com/cs3org/reva/v2 v2.15.0
github.com/cs3org/reva/v2 v2.16.1
github.com/disintegration/imaging v1.6.2
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
github.com/egirna/icap-client v0.1.1
github.com/gabriel-vasile/mimetype v1.4.2
github.com/ggwhite/go-masker v1.0.9
github.com/go-chi/chi/v5 v5.0.8
github.com/go-chi/chi/v5 v5.0.10
github.com/go-chi/cors v1.2.1
github.com/go-chi/render v1.0.2
github.com/go-ldap/ldap/v3 v3.4.5
github.com/go-ldap/ldif v0.0.0-20200320164324-fd88d9b715b3
github.com/go-micro/plugins/v4/client/grpc v1.2.0
github.com/go-micro/plugins/v4/events/natsjs v1.2.1
github.com/go-micro/plugins/v4/logger/zerolog v1.2.0
github.com/go-micro/plugins/v4/registry/consul v1.2.0
github.com/go-micro/plugins/v4/registry/consul v1.2.1
github.com/go-micro/plugins/v4/registry/etcd v1.2.0
github.com/go-micro/plugins/v4/registry/kubernetes v1.1.2-0.20230605104008-a179a6b8f8e6
github.com/go-micro/plugins/v4/registry/kubernetes v1.1.2
github.com/go-micro/plugins/v4/registry/mdns v1.2.0
github.com/go-micro/plugins/v4/registry/memory v1.2.0
github.com/go-micro/plugins/v4/registry/nats v1.2.1
github.com/go-micro/plugins/v4/registry/nats v1.2.2-0.20230723205323-1ada01245674
github.com/go-micro/plugins/v4/server/grpc v1.2.0
github.com/go-micro/plugins/v4/server/http v1.2.1
github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker v1.2.0
@@ -46,13 +45,13 @@ require (
github.com/google/uuid v1.3.0
github.com/gookit/config/v2 v2.2.2
github.com/gorilla/mux v1.8.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2
github.com/jellydator/ttlcache/v2 v2.11.1
github.com/jellydator/ttlcache/v3 v3.0.1
github.com/justinas/alice v1.2.0
github.com/leonelquinteros/gotext v1.5.3-0.20230317130943-71a59c05b2c1
github.com/libregraph/idm v0.4.1-0.20230221143410-3503963047a5
github.com/libregraph/lico v0.60.1-0.20230516115351-f904ff5fd200
github.com/libregraph/lico v0.60.1-0.20230811070109-1d4140be554d
github.com/mitchellh/mapstructure v1.5.0
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
github.com/nats-io/nats-server/v2 v2.9.19
@@ -60,7 +59,7 @@ require (
github.com/olekukonko/tablewriter v0.0.5
github.com/onsi/ginkgo v1.16.5
github.com/onsi/ginkgo/v2 v2.11.0
github.com/onsi/gomega v1.27.8
github.com/onsi/gomega v1.27.10
github.com/open-policy-agent/opa v0.51.0
github.com/orcaman/concurrent-map v1.0.0
github.com/owncloud/libre-graph-api-go v1.0.5-0.20230710073250-9e5acb4b5838
@@ -69,14 +68,14 @@ require (
github.com/prometheus/client_golang v1.16.0
github.com/r3labs/sse/v2 v2.10.0
github.com/riandyrn/otelchi v0.5.1
github.com/rogpeppe/go-internal v1.10.0
github.com/rs/zerolog v1.29.1
github.com/rogpeppe/go-internal v1.11.0
github.com/rs/zerolog v1.30.0
github.com/shamaton/msgpack/v2 v2.1.1
github.com/sirupsen/logrus v1.9.0
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
github.com/thejerf/suture/v4 v4.0.2
github.com/tus/tusd v1.10.1
github.com/tus/tusd v1.12.1
github.com/urfave/cli/v2 v2.25.7
github.com/xhit/go-simple-mail/v2 v2.15.0
go-micro.dev/v4 v4.9.0
@@ -88,16 +87,16 @@ require (
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.16.0
go.opentelemetry.io/otel/sdk v1.16.0
go.opentelemetry.io/otel/trace v1.16.0
golang.org/x/crypto v0.11.0
golang.org/x/crypto v0.12.0
golang.org/x/exp v0.0.0-20221026004748-78e5e7837ae6
golang.org/x/image v0.9.0
golang.org/x/net v0.12.0
golang.org/x/image v0.11.0
golang.org/x/net v0.14.0
golang.org/x/oauth2 v0.10.0
golang.org/x/sync v0.2.0
golang.org/x/term v0.10.0
golang.org/x/text v0.11.0
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc
google.golang.org/grpc v1.56.1
golang.org/x/sync v0.3.0
golang.org/x/term v0.11.0
golang.org/x/text v0.12.0
google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e
google.golang.org/grpc v1.57.0
google.golang.org/protobuf v1.31.0
gopkg.in/square/go-jose.v2 v2.6.0
gopkg.in/yaml.v2 v2.4.0
@@ -115,7 +114,7 @@ require (
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/OneOfOne/xxhash v1.2.8 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20220930113650-c6815a8c17ad // indirect
github.com/RoaringBitmap/roaring v0.9.4 // indirect
github.com/RoaringBitmap/roaring v1.2.3 // indirect
github.com/acomagu/bufpipe v1.0.3 // indirect
github.com/agnivade/levenshtein v1.1.1 // indirect
github.com/ajg/form v1.5.1 // indirect
@@ -124,7 +123,7 @@ require (
github.com/armon/go-metrics v0.4.1 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/aws/aws-sdk-go v1.44.181 // indirect
github.com/aws/aws-sdk-go v1.44.294 // indirect
github.com/beevik/etree v1.2.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bitly/go-simplejson v0.5.0 // indirect
@@ -134,16 +133,16 @@ require (
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
github.com/blevesearch/gtreap v0.1.1 // indirect
github.com/blevesearch/mmap-go v1.0.4 // indirect
github.com/blevesearch/scorch_segment_api/v2 v2.1.4 // indirect
github.com/blevesearch/scorch_segment_api/v2 v2.1.5 // indirect
github.com/blevesearch/segment v0.9.1 // indirect
github.com/blevesearch/snowballstem v0.9.0 // indirect
github.com/blevesearch/upsidedown_store_api v1.0.2 // indirect
github.com/blevesearch/vellum v1.0.9 // indirect
github.com/blevesearch/zapx/v11 v11.3.7 // indirect
github.com/blevesearch/zapx/v12 v12.3.7 // indirect
github.com/blevesearch/zapx/v13 v13.3.7 // indirect
github.com/blevesearch/zapx/v14 v14.3.7 // indirect
github.com/blevesearch/zapx/v15 v15.3.9 // indirect
github.com/blevesearch/vellum v1.0.10 // indirect
github.com/blevesearch/zapx/v11 v11.3.9 // indirect
github.com/blevesearch/zapx/v12 v12.3.9 // indirect
github.com/blevesearch/zapx/v13 v13.3.9 // indirect
github.com/blevesearch/zapx/v14 v14.3.9 // indirect
github.com/blevesearch/zapx/v15 v15.3.12 // indirect
github.com/bluele/gcache v0.0.2 // indirect
github.com/bmizerany/pat v0.0.0-20210406213842-e4b6760bdd6f // indirect
github.com/bombsimon/logrusr/v3 v3.1.0 // indirect
@@ -152,15 +151,14 @@ require (
github.com/ceph/go-ceph v0.18.0 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cevaris/ordered_map v0.0.0-20190319150403-3adeae072e73 // indirect
github.com/cilium/ebpf v0.7.0 // indirect
github.com/cilium/ebpf v0.9.1 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/containerd/cgroups v1.0.4 // indirect
github.com/containerd/cgroups/v3 v3.0.1 // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/crewjam/httperr v0.2.0 // indirect
github.com/crewjam/saml v0.4.13 // indirect
github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deckarep/golang-set v1.8.0 // indirect
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
@@ -188,6 +186,7 @@ require (
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-micro/plugins/v4/events/natsjs v1.2.2-0.20230807070816-bc05fb076ce7 // indirect
github.com/go-micro/plugins/v4/store/nats-js v1.1.0 // indirect
github.com/go-micro/plugins/v4/store/redis v1.2.1-0.20230510195111-07cd57e1bc9d // indirect
github.com/go-redis/redis/v8 v8.11.5 // indirect
@@ -217,7 +216,7 @@ require (
github.com/gookit/goutil v0.6.9 // indirect
github.com/gorilla/handlers v1.5.1 // indirect
github.com/gorilla/schema v1.2.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
github.com/hashicorp/consul/api v1.15.2 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
@@ -285,7 +284,7 @@ require (
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
github.com/rivo/uniseg v0.4.2 // indirect
github.com/rs/cors v1.9.0 // indirect
github.com/rs/xid v1.4.0 // indirect
github.com/rs/xid v1.5.0 // indirect
github.com/russellhaering/goxmldsig v1.4.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sciencemesh/meshdirectory-web v1.0.4 // indirect
@@ -322,13 +321,13 @@ require (
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.23.0 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.9.3 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230526203410-71b5a4ffd15e // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230726155614-23370e0ffb3e // indirect
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
@@ -338,5 +337,3 @@ require (
)
replace github.com/cs3org/go-cs3apis => github.com/2403905/go-cs3apis v0.0.0-20230517122726-727045414fd1
// replace github.com/cs3org/reva/v2 => github.com/micbar/reva/v2 v2.0.0-20230626125956-c381fe19a108
+547 -83
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -68,8 +68,8 @@ type Config struct {
Registry string `yaml:"registry"`
TokenManager *shared.TokenManager `yaml:"token_manager"`
MachineAuthAPIKey string `yaml:"machine_auth_api_key" env:"OCIS_MACHINE_AUTH_API_KEY" desc:"Machine auth API key used to validate internal requests necessary for the access to resources from other services."`
TransferSecret string `yaml:"transfer_secret" env:"OCIS_TRANSFER_SECRET;STORAGE_TRANSFER_SECRET" deprecationVersion:"3.0" removalVersion:"3.1" deprecationInfo:"STORAGE_TRANSFER_SECRET changing name for consistency" deprecationReplacement:"OCIS_TRANSFER_SECRET"`
MachineAuthAPIKey string `yaml:"machine_auth_api_key"env:"OCIS_MACHINE_AUTH_API_KEY" desc:"Machine auth API key used to validate internal requests necessary for the access to resources from other services."`
TransferSecret string `yaml:"transfer_secret" env:"OCIS_TRANSFER_SECRET" desc:"Transfer secret for signing file up- and download requests."`
SystemUserID string `yaml:"system_user_id" env:"OCIS_SYSTEM_USER_ID" desc:"ID of the oCIS storage-system system user. Admins need to set the ID for the storage-system system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format."`
SystemUserAPIKey string `yaml:"system_user_api_key" env:"OCIS_SYSTEM_USER_API_KEY" desc:"API key for the storage-system system user."`
AdminUserID string `yaml:"admin_user_id" env:"OCIS_ADMIN_USER_ID" desc:"ID of a user, that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand."`
+8 -9
View File
@@ -27,7 +27,7 @@ import (
// OIDCClient used to mock the oidc client during tests
type OIDCClient interface {
UserInfo(ctx context.Context, ts oauth2.TokenSource) (*UserInfo, error)
VerifyAccessToken(ctx context.Context, token string) (RegClaimsWithSID, []string, error)
VerifyAccessToken(ctx context.Context, token string) (RegClaimsWithSID, jwt.MapClaims, error)
VerifyLogoutToken(ctx context.Context, token string) (*LogoutToken, error)
}
@@ -271,27 +271,26 @@ func (c *oidcClient) UserInfo(ctx context.Context, tokenSource oauth2.TokenSourc
}, nil
}
func (c *oidcClient) VerifyAccessToken(ctx context.Context, token string) (RegClaimsWithSID, []string, error) {
var mapClaims []string
func (c *oidcClient) VerifyAccessToken(ctx context.Context, token string) (RegClaimsWithSID, jwt.MapClaims, error) {
if err := c.lookupWellKnownOpenidConfiguration(ctx); err != nil {
return RegClaimsWithSID{}, mapClaims, err
return RegClaimsWithSID{}, jwt.MapClaims{}, err
}
switch c.accessTokenVerifyMethod {
case config.AccessTokenVerificationJWT:
return c.verifyAccessTokenJWT(token)
case config.AccessTokenVerificationNone:
c.Logger.Debug().Msg("Access Token verification disabled")
return RegClaimsWithSID{}, mapClaims, nil
return RegClaimsWithSID{}, jwt.MapClaims{}, nil
default:
c.Logger.Error().Str("access_token_verify_method", c.accessTokenVerifyMethod).Msg("Unknown Access Token verification setting")
return RegClaimsWithSID{}, mapClaims, errors.New("unknown Access Token Verification method")
return RegClaimsWithSID{}, jwt.MapClaims{}, errors.New("unknown Access Token Verification method")
}
}
// verifyAccessTokenJWT tries to parse and verify the access token as a JWT.
func (c *oidcClient) verifyAccessTokenJWT(token string) (RegClaimsWithSID, []string, error) {
func (c *oidcClient) verifyAccessTokenJWT(token string) (RegClaimsWithSID, jwt.MapClaims, error) {
var claims RegClaimsWithSID
var mapClaims []string
mapClaims := jwt.MapClaims{}
jwks := c.getKeyfunc()
if jwks == nil {
return claims, mapClaims, errors.New("error initializing jwks keyfunc")
@@ -301,7 +300,7 @@ func (c *oidcClient) verifyAccessTokenJWT(token string) (RegClaimsWithSID, []str
if err != nil {
return claims, mapClaims, err
}
_, mapClaims, err = new(jwt.Parser).ParseUnverified(token, jwt.MapClaims{})
_, _, err = new(jwt.Parser).ParseUnverified(token, mapClaims)
// TODO: decode mapClaims to sth readable
c.Logger.Debug().Interface("access token", &claims).Msg("parsed access token")
if err != nil {
+1
View File
@@ -50,6 +50,7 @@ func GetRegistry() mRegistry.Registry {
case "nats":
reg = natsr.NewRegistry(
mRegistry.Addrs(addresses...),
natsr.RegisterAction("put"),
)
case "kubernetes":
reg = kubernetesr.NewRegistry(
+7 -63
View File
@@ -5,7 +5,6 @@ import (
"crypto/x509"
"errors"
"os"
"sync"
mgrpcc "github.com/go-micro/plugins/v4/client/grpc"
mbreaker "github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker"
@@ -16,11 +15,6 @@ import (
"go.opentelemetry.io/otel/trace"
)
var (
defaultClient client.Client
once sync.Once
)
// ClientOptions represent options (e.g. tls settings) for the grpc clients
type ClientOptions struct {
tlsMode string
@@ -48,62 +42,12 @@ func WithTLSCACert(v string) ClientOption {
// WithTraceProvider allows to set the trace Provider for grpc clients
func WithTraceProvider(tp trace.TracerProvider) ClientOption {
return func(o *ClientOptions) {
o.tp = tp
}
}
// Configure configures the default oOCIS grpc client (e.g. TLS settings)
func Configure(opts ...ClientOption) error {
var options ClientOptions
for _, opt := range opts {
opt(&options)
}
var outerr error
once.Do(func() {
reg := registry.GetRegistry()
var tlsConfig *tls.Config
cOpts := []client.Option{
client.Registry(reg),
client.Wrap(mbreaker.NewClientWrapper()),
client.Wrap(mtracer.NewClientWrapper(
mtracer.WithTraceProvider(options.tp),
)),
if tp != nil {
o.tp = tp
} else {
o.tp = trace.NewNoopTracerProvider()
}
switch options.tlsMode {
case "insecure":
tlsConfig = &tls.Config{
InsecureSkipVerify: true,
}
cOpts = append(cOpts, mgrpcc.AuthTLS(tlsConfig))
case "on":
tlsConfig = &tls.Config{}
// Note: If caCert is empty we use the system's default set of trusted CAs
if options.caCert != "" {
certs := x509.NewCertPool()
pemData, err := os.ReadFile(options.caCert)
if err != nil {
outerr = err
return
}
if !certs.AppendCertsFromPEM(pemData) {
outerr = errors.New("could not initialize default client, adding CA cert failed")
return
}
tlsConfig.RootCAs = certs
}
cOpts = append(cOpts, mgrpcc.AuthTLS(tlsConfig))
//case "off":
//default:
}
defaultClient = mgrpcc.NewClient(cOpts...)
})
return outerr
}
// DefaultClient returns a custom oCIS grpc configured client.
func DefaultClient() client.Client {
return defaultClient
}
}
func GetClientOptions(t *shared.GRPCClientTLS) []ClientOption {
@@ -150,8 +94,8 @@ func NewClient(opts ...ClientOption) (client.Client, error) {
tlsConfig.RootCAs = certs
}
cOpts = append(cOpts, mgrpcc.AuthTLS(tlsConfig))
//case "off":
//default:
// case "off":
// default:
}
return mgrpcc.NewClient(cOpts...), nil
+4 -3
View File
@@ -12,6 +12,7 @@ import (
ociscrypto "github.com/owncloud/ocis/v2/ocis-pkg/crypto"
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
"go-micro.dev/v4"
"go-micro.dev/v4/client"
"go-micro.dev/v4/server"
)
@@ -20,8 +21,8 @@ type Service struct {
micro.Service
}
// NewService initializes a new grpc service.
func NewService(opts ...Option) (Service, error) {
// NewServiceWithClient initializes a new grpc service with explicit client.
func NewServiceWithClient(client client.Client, opts ...Option) (Service, error) {
var mServer server.Server
sopts := newOptions(opts...)
tlsConfig := &tls.Config{}
@@ -52,7 +53,7 @@ func NewService(opts ...Option) (Service, error) {
// first add a server because it will reset any options
micro.Server(mServer),
// also add a client that can be used after initializing the service
micro.Client(DefaultClient()),
micro.Client(client),
micro.Address(sopts.Address),
micro.Name(strings.Join([]string{sopts.Namespace, sopts.Name}, ".")),
micro.Version(sopts.Version),
+18 -9
View File
@@ -7,6 +7,7 @@ import (
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/ocis-pkg/shared"
"github.com/urfave/cli/v2"
"go.opentelemetry.io/otel/trace"
)
// Option defines a single option function.
@@ -14,15 +15,16 @@ type Option func(o *Options)
// Options defines the available options for this package.
type Options struct {
Logger log.Logger
TLSConfig shared.HTTPServiceTLS
Namespace string
Name string
Version string
Address string
Handler http.Handler
Context context.Context
Flags []cli.Flag
Logger log.Logger
TLSConfig shared.HTTPServiceTLS
Namespace string
Name string
Version string
Address string
Handler http.Handler
Context context.Context
Flags []cli.Flag
TraceProvider trace.TracerProvider
}
// newOptions initializes the available default options.
@@ -93,3 +95,10 @@ func TLSConfig(config shared.HTTPServiceTLS) Option {
o.TLSConfig = config
}
}
// TraceProvider provides a function to set the TraceProvider option.
func TraceProvider(tp trace.TracerProvider) Option {
return func(o *Options) {
o.TraceProvider = tp
}
}
+10
View File
@@ -10,6 +10,7 @@ import (
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
mhttps "github.com/go-micro/plugins/v4/server/http"
mtracer "github.com/go-micro/plugins/v4/wrapper/trace/opentelemetry"
ociscrypto "github.com/owncloud/ocis/v2/ocis-pkg/crypto"
"go-micro.dev/v4"
"go-micro.dev/v4/server"
@@ -66,6 +67,15 @@ func NewService(opts ...Option) (Service, error) {
micro.Registry(registry.GetRegistry()),
micro.RegisterTTL(time.Second * 30),
micro.RegisterInterval(time.Second * 10),
micro.WrapClient(mtracer.NewClientWrapper(
mtracer.WithTraceProvider(sopts.TraceProvider),
)),
micro.WrapHandler(mtracer.NewHandlerWrapper(
mtracer.WithTraceProvider(sopts.TraceProvider),
)),
micro.WrapSubscriber(mtracer.NewSubscriberWrapper(
mtracer.WithTraceProvider(sopts.TraceProvider),
)),
}
if sopts.TLSConfig.Enabled {
wopts = append(wopts, micro.Metadata(map[string]string{"use_tls": "true"}))
+5 -1
View File
@@ -33,7 +33,7 @@ type TokenManager struct {
// Reva defines all available REVA client configuration.
type Reva struct {
Address string `yaml:"address" env:"OCIS_REVA_GATEWAY;REVA_GATEWAY" desc:"The CS3 gateway endpoint." deprecationVersion:"3.0" removalVersion:"4.0.0" deprecationInfo:"REVA_GATEWAY changing name for consistency" deprecationReplacement:"OCIS_REVA_GATEWAY"`
Address string `yaml:"address" env:"OCIS_REVA_GATEWAY" desc:"The CS3 gateway endpoint."`
TLS GRPCClientTLS `yaml:"tls"`
}
@@ -81,4 +81,8 @@ type Commons struct {
SystemUserID string `yaml:"system_user_id" env:"OCIS_SYSTEM_USER_ID" desc:"ID of the oCIS storage-system system user. Admins need to set the ID for the storage-system system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format."`
SystemUserAPIKey string `mask:"password" yaml:"system_user_api_key" env:"SYSTEM_USER_API_KEY"`
AdminUserID string `yaml:"admin_user_id" env:"OCIS_ADMIN_USER_ID" desc:"ID of a user, that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand."`
// NOTE: you will not fing GRPCMaxReceivedMessageSize size being used in the code. The envvar is actually extracted in revas `pool` package: https://github.com/cs3org/reva/blob/edge/pkg/rgrpc/todo/pool/connection.go
// It is mentioned here again so it is documented
GRPCMaxReceivedMessageSize int `env:"OCIS_GRPC_MAX_RECEIVED_MESSAGE_SIZE" desc:"The maximum body size for grpc requests. Defaults to '10240000' bytes (10MB). Note that large values can potentially hide errors but may lead to network timeouts. Should only be changed temporarily to regain access for large folders with 25.000+ files to copy out data."`
}
+16 -60
View File
@@ -4,11 +4,11 @@ import (
"context"
"fmt"
"net/url"
"reflect"
"strings"
"time"
rtrace "github.com/cs3org/reva/v2/pkg/trace"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/exporters/jaeger"
"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
@@ -29,7 +29,13 @@ var Propagator = propagation.NewCompositeTextMapPropagator(
// GetServiceTraceProvider returns a configured open-telemetry trace provider.
func GetServiceTraceProvider(c ConfigConverter, serviceName string) (trace.TracerProvider, error) {
cfg := c.Convert()
var cfg Config
if c == nil || reflect.ValueOf(c).IsNil() {
cfg = Config{Enabled: false}
} else {
cfg = c.Convert()
}
if cfg.Enabled {
return GetTraceProvider(cfg.Endpoint, cfg.Collector, serviceName, cfg.Type)
}
@@ -79,22 +85,15 @@ func GetTraceProvider(endpoint, collector, serviceName, traceType string) (*sdkt
return nil, err
}
tp := rtrace.NewTracerProvider(
rtrace.WithEnabled(),
rtrace.WithExporter(traceType),
rtrace.WithInsecure(),
rtrace.WithCollector(collector),
rtrace.WithEndpoint(endpoint),
rtrace.WithServiceName(serviceName),
)
rtrace.SetDefaultTracerProvider(tp)
return sdktrace.NewTracerProvider(
tp := sdktrace.NewTracerProvider(
sdktrace.WithBatcher(exp),
sdktrace.WithResource(resource.NewWithAttributes(
semconv.SchemaURL,
semconv.ServiceNameKey.String(serviceName)),
),
), nil
)
rtrace.SetDefaultTracerProvider(tp)
return tp, nil
case "otlp":
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
defer cancel()
@@ -124,20 +123,13 @@ func GetTraceProvider(endpoint, collector, serviceName, traceType string) (*sdkt
return nil, err
}
tp := rtrace.NewTracerProvider(
rtrace.WithEnabled(),
rtrace.WithExporter(traceType),
rtrace.WithInsecure(),
rtrace.WithCollector(collector),
rtrace.WithEndpoint(endpoint),
rtrace.WithServiceName(serviceName),
)
rtrace.SetDefaultTracerProvider(tp)
return sdktrace.NewTracerProvider(
tp := sdktrace.NewTracerProvider(
sdktrace.WithSampler(sdktrace.AlwaysSample()),
sdktrace.WithBatcher(exporter),
sdktrace.WithResource(resources),
), nil
)
rtrace.SetDefaultTracerProvider(tp)
return tp, nil
case "agent":
fallthrough
case "zipkin":
@@ -170,39 +162,3 @@ func parseAgentConfig(ae string) (string, string, error) {
}
return p[0], p[1], nil
}
// Configure for Reva serves only as informational / instructive log messages. Tracing config will be delegated directly
// to Reva services.
func Configure(enabled bool, tracingType string, logger log.Logger) {
if enabled {
switch tracingType {
case "agent":
logger.Error().
Str("type", tracingType).
Msg("Reva only supports the jaeger or otel tracing exporter")
case "jaeger":
logger.Info().
Str("type", tracingType).
Msg("configuring storage to use the jaeger tracing exporter")
case "otlp":
logger.Info().
Str("type", tracingType).
Msg("configuring storage to use the otlp tracing exporter")
case "zipkin":
logger.Error().
Str("type", tracingType).
Msg("Reva only supports the jaeger or otel tracing exporter")
default:
logger.Warn().
Str("type", tracingType).
Msg("Unknown tracing exporter")
}
} else {
logger.Debug().
Msg("Tracing is not enabled")
}
}
+1 -1
View File
@@ -16,7 +16,7 @@ var (
// LatestTag is the latest released version plus the dev meta version.
// Will be overwritten by the release pipeline
// Needs a manual change for every tagged release
LatestTag = "3.1.0-beta.1+dev"
LatestTag = "4.0.2+dev"
// Date indicates the build date.
// This has been removed, it looks like you can only replace static strings with recent go versions
Loaded 100 of 993 files, more files were not shown because too many files have changed in this diff. Show more