Commit Graph

384 Commits

Author SHA1 Message Date
Michael Barz
749f689f33 Merge pull request #7084 from owncloud/d7oc/wopiserver-ssl
fixed WOPISERVER_INSECURE in entrypoint script for wopiserver
2023-09-27 18:56:54 +02:00
Ralf Haferkamp
48306cbef3 deployment: Disable username validation for keycloak example
Set 'GRAPH_USERNAME_MATCH' to 'none'. To accept any username that is
also valid for keycloak.
2023-09-05 16:51:01 +02:00
Willy Kloucek
0f846ba86b Merge pull request #7120 from owncloud/stop-deploying-broken-example-deployments
stop deploying the oCIS hello and oC10 parallel setup, since both are disfunct
2023-08-29 07:27:07 +02:00
Ralf Haferkamp
aef4fc7b2f Add ssh-key for rhafer to continously deployed instances 2023-08-28 16:37:47 +02:00
Dennis Sieben
004ac82f30 - changed script to be compatible with dash and busybox 2023-08-25 14:50:02 +02:00
Dennis Sieben
a810cf3906 Revert "- fixed WOPISERVER_INSECURE in entrypoint skript for wopiserver"
This reverts commit 7162b29ad4.
2023-08-25 14:34:09 +02:00
Willy Kloucek
6a8be29258 Merge branch 'master' into d7oc/wopiserver-ssl 2023-08-25 08:50:31 +02:00
Willy Kloucek
84381750f0 stop deploying the oCIS hello and oC10 parallel setup, since both are disfunct 2023-08-25 08:35:35 +02:00
jkoberg
4d3b7355f1 release 4.0.0
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-23 15:15:44 +02:00
Christian Richter
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 Richter
ad439fcbde change example deployments
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +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
Dennis Sieben
7162b29ad4 - fixed WOPISERVER_INSECURE in entrypoint skript for wopiserver 2023-08-21 19:32:04 +02:00
Christian Scherm
0ddbb95300 Add fulltext search frontend part to ocis_wopi 2023-08-15 16:10:44 +02:00
Dennis Sieben
de5dfef15d - disabled revokeRefreshToken in Keycloak config 2023-08-09 16:27:59 +02:00
Michael Barz
95460ab9a5 prepare changelog, bump version 2023-08-02 12:49:51 +02: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
Michael Barz
d807af752e bump version, prepare changelog 2023-07-18 11:56:32 +02:00
Willy Kloucek
30ab02d30c fix onlyoffice with wopi 2023-07-10 18:56:28 +02:00
Florian Schade
c09f82405f enhancement: add mimetype to file extension rego function (#6133)
* enhancement: add mimetype to file extension rego function

add rego function to detect the resource extension by mimetype, at the same time this pr introduces a custom ocis namespace for the rego functions.

* enhancement: add custom logPrinter to opa policies service

* fix: imports and test

TypeByExtension which is used to resolve extension by mimetype relies on MIME-info database which differs at my local env (macos <-> drone). This is fixed by using one of the builtinTypes for testing

---------

Signed-off-by: Christian Richter <crichter@owncloud.com>
Co-authored-by: Christian Richter <crichter@owncloud.com>
2023-07-10 16:28:23 +02:00
Willy Kloucek
dd5fa693e6 use wopiserver 10.0.1 2023-06-30 16:24:13 +02:00
Willy Kloucek
7455d4ed83 Merge branch 'master' into wopiserver-10 2023-06-30 15:31:15 +02:00
Michael Barz
a86aba1c41 Adapt example deployment 2023-06-08 22:17:00 +02:00
Roman Perekhod
96f658c281 Merge pull request #6440 from 2403905/issue-6436
Fix the username validation when an admin update the user
2023-06-07 12:23:47 +03:00
Michael Barz
91d159c56f prepare changelog, bump version 2023-06-06 22:35:39 +02:00
Roman Perekhod
1ac49dfd64 Fix the username validation when an admin update the user 2023-06-06 17:15:38 +02:00
Michael Barz
67294e2c83 prepare changelog, bump version 2023-06-06 15:12:18 +02:00
Willy Kloucek
0f3dddafab remove references to oc.ios://ios.owncloud.com since it is no longer used 2023-06-05 13:57:05 +02:00
Roman Perekhod
cd39dd4073 Fix to prevent the email notification X-Site scripting 2023-06-02 09:47:06 +02:00
Willy Kloucek
a16b14af9a switch to wopiserver 10 2023-05-31 12:54:11 +02:00
Ralf Haferkamp
94d9dd80eb ocis_keycloak: Don't start builtin IDP when using keycloak 2023-05-24 17:12:38 +02:00
Ralf Haferkamp
47f5245f55 ocis_keycloak: Fix deployment example
After commit 52951b42b0 we need to set PROXY_USER_CS3_CLAIM and
PROXY_USER_OIDC_CLAIM for the keycloak example to still work.

Also update release notes to mentions the changed default.
2023-05-24 17:12:38 +02:00
Michael Barz
46696bffeb prepare changelog, bump version 2023-05-22 14:33:15 +02:00
Michael Barz
aed04c983f bump version, prepare changelog 2023-05-08 17:28:42 +02:00
Michael Barz
7615c1546e Bump version, prepare changelog 2023-05-03 22:38:04 +02:00
Roman Perekhod
972dc14dbb the idm run excluded for the ocis ldap stack #6184 2023-05-03 10:41:31 +02:00
Ralf Haferkamp
d563b63d8f Update to latest schema 2023-04-27 12:28:13 +02:00
Willy Kloucek
4076bc71e6 Merge pull request #6126 from rhafer/backchannel
ocis_keycloak: Enable backchannel logout for "web" client
2023-04-25 17:59:16 +02:00
Michael Barz
2e67dcd3da fix released deployments 2023-04-24 21:24:44 +02:00
Ralf Haferkamp
3baeee3b73 ocis_keycloak: Enable backchannel logout for "web" client
This enables backchannel logout for the "web" client.

Also this bumps keycloak to 21.1
2023-04-24 16:02:52 +02:00
Michael Barz
549cd92d97 prepare changelog, bump version 2023-04-24 15:39:36 +02:00
Florian Schade
fdaf39f5d1 fix: proxy policies middleware tus filename evaluation
when uploading files via uppy (tus), the path does not give any information about the file, PUT contains the filename in the path, tus POST not.

this pr extracts the HeaderUploadMetadata from that POST request and enhances the policies grpc environment request with that information.

Therefore, the policies service is now able to evaluate proxy requests for tus uploads too.
2023-04-18 20:26:52 +02:00
Michael Barz
8d76b15e6e add roles to scope 2023-04-04 22:41:47 +02:00
Ralf Haferkamp
087e768f35 ocis_keycloak: Move to role assignment via oidc claim (#5882)
Use the new PROXY_ROLE_ASSIGNMENT_DRIVER "oidc". This also means we can
now run with OCIS_ADMIN_USER_ID being empty. So that no admin user will
be created on startup and no default role assignment will happen.

By setting GRAPH_ASSIGN_DEFAULT_USER_ROLE to "false", we make sure to
not create the default "user" role assignment when auto provisioning a
user.
2023-03-20 21:04:37 +01:00
Florian Schade
f38a9f4385 Introduce Policies-Service (#5716)
* add policies service
add policies proxy middleware
add policies event service
add policies grpc service
prepare ci and git environments (ci, make, readme, doc)

* add webfinger to the drone conf

* fix docs
remove not used virus scan postprocessing step

* relocate example rego file
implicitly enable and disable proxy and postprocessing policy checking by setting the query.
update configuration descriptions

* move policies
update readme

* use converter func to convert pp environment to actual environment
expose and test custom rego functions
add engine unit tests
add opa unit tests
update policies readme

Co-authored-by: Martin <github@diemattels.at>

* relocate sample policies to the deployments folder
change and document policies service port

* update index.md and small fix

* add health command
add version command
add debug server

---------

Co-authored-by: Martin <github@diemattels.at>
2023-03-14 16:08:22 +01:00
David Christofas
1039953a3b Merge pull request #5806 from amamus/patch-3
Update .env
2023-03-13 09:55:11 +01:00
David
f944f9f8d1 Update .env
Added Collabora Admin Panel URL
2023-03-12 20:58:43 +01:00
David
ff7cb56b17 Update .env
added explanation how to use traefik dashboard basic auth
2023-03-12 20:18:18 +01:00
Willy Kloucek
1a6f432d62 Merge pull request #5720 from wkloucek/onlyoffice-file-size
increase allowed file size in onlyoffice
2023-03-08 14:10:30 +01:00
Ralf Haferkamp
b57504696b ocis_keycloak: Add ocis roles as realm roles (#5750)
* ocis_keycloak: Add ocis roles as realm roles

This adds the roles ocisAdmin, ocisSpaceAdmin, ocisUser and ocisGuest as realm roles
to the the oCIS realm. It also assigns those roles to the demo users.

Additionally the missing demo user "Katherine Johnson" is added with the role of
"ocisSpaceAdmin".

* Expose realm_roles in "roles" claim of id tokens and userinfo
2023-03-08 12:11:21 +01:00