Commit Graph

315 Commits

Author SHA1 Message Date
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
Willy Kloucek
77dae5ac0b increase allowed file size in onlyoffice 2023-03-02 16:10:46 +01:00
Dennis Sieben
3808603a07 - make ldap example use share for certs 2023-02-28 09:00:13 +01:00
Ralf Haferkamp
72a5a25f04 ocis_ldap: Remove leftover schema file
When moving to the bitnami OpenLDAP image, we forgot to remove
the owncloud schema file from the `ldif` directory.
2023-02-27 12:47:17 +01:00
Ralf Haferkamp
8ec167d792 ocis_ldap example: Switch to newer ldap server image
Switch away from the unmaintained osixia image to the more uptodate
bitnami image.

Also update the owncloud schema to include the latest changes

Fixes #5636
2023-02-24 12:10:22 +01:00
Ralf Haferkamp
026842f99c ocis_ldap example: allow to run with podman
Make docker socket path and log driver configurable to be able to run
the example deployment with podman.
2023-02-24 12:10:22 +01:00
Willy Kloucek
4591c7e715 Merge pull request #5628 from owncloud/ChrisEdS-docker-compose-fix
Fix invalid type in ocis_traefik docker-compose file
2023-02-22 19:04:05 +01:00
Christian Scherm
6e1dc16199 Fix invalid type in ocis_traefik docker-compose file 2023-02-22 15:34:13 +01:00
Christian Scherm
a90e13af99 Fix invalid type in ocis_wopi docker-compose file
Fix for 
`ERROR: The Compose file './docker-compose.yml' is invalid because:
services.ocis.environment.NOTIFICATIONS_SMTP_INSECURE contains true, which is an invalid type, it should be a string, number, or a null`
2023-02-22 15:25:33 +01:00
Daniël Franke
22f3577b7d Update comment 2023-02-20 14:40:10 +01:00
Daniël Franke
3f39bb530e Integrate feedback. 2023-02-20 14:40:10 +01:00
Daniël Franke
bea3ec6207 Add refint support to user rename.
When refint is enabled on an LDAP server, it will rename all references
to an entity if its DN is modified. If this happens, the member
renames will not be needed, and will also return an error.

This PR does the following:

* Detects the attribute error, and don't return an error.
* Log that the server has been misconfigured.
* Add config value that skips renaming if set.
2023-02-20 14:40:10 +01:00
Willy Kloucek
33ce53d436 fix account console in keycloak deployment example 2023-02-15 09:18:04 +01:00
Willy Kloucek
1029775635 enable bruteforce protection 2023-02-08 17:26:32 +01:00
Willy Kloucek
700f00fb27 disable refresh token reuse 2023-02-08 17:24:28 +01:00
Willy Kloucek
6dd55b56bf use export from up-to-date keycloak 2023-02-08 17:22:08 +01:00
Willy Kloucek
f1625148d1 format keycloak realm 2023-02-08 12:00:58 +01:00
Willy Kloucek
0e9d3cc22f keep offices and wopi server up to date 2023-02-06 16:37:56 +01:00
Benedikt Kulmann
8c033e1936 change: remove the settings ui
ownCloud Web recently transitioned to Vue3. The settings ui is still
written in Vue2. Since it's pretty much unused we won't take the efforts
of upgrading it to Vue3.
2023-02-03 10:27:05 +01:00
Willy Kloucek
860ebcfff9 add "daily" deployments to the continuous deployment (#5484) 2023-02-01 16:50:33 +01:00
Ralf Haferkamp
fdb42af20b Switch to non-legacy keycloak images
This switches the keycloak service to the more recent quarkus based images. Away
from the legacy wildfly based image.
2023-01-31 09:17:29 +01:00
Ralf Haferkamp
237d566662 Simplify running with podman
Allow to adjust the docker socket path used by traefik and the logging driver
so that this example can be more easily used with podman based setups.

With a running podman service ("podman system service --time 0"), this should
basically work:

export DOCKER_SOCKET_PATH="/run/user/1000/podman/podman.sock"
export LOG_DRIVER=journald
docker-compose -H unix:///run/user/1000/podman/podman.sock up
2023-01-31 09:17:29 +01:00
Willy Kloucek
18ed91a69d update collabora and the wopi server 2023-01-27 09:28:49 +01:00
Michael Barz
f8558d0ce8 add tika and inbucket to wopi example 2023-01-03 21:22:15 +01:00
Willy Kloucek
ccdf7baff7 update office dependencies 2022-12-23 07:42:34 +01:00
Willy Kloucek
c189480a96 update the wopiserver to version 9.3.1 2022-12-06 09:24:25 +01:00
Willy Kloucek
4ce815453f update and simplify monitoring settings 2022-11-29 09:12:36 +01:00
Martin
ff1b7718e9 Update docker-compose for wopi
Just adding a blank line between the last entry of the `ocis-appdriver-onlyoffice` block and the start of `wopiserver` for ease of readability.
2022-11-25 12:44:21 +01:00
Willy Kloucek
07b971c27b update the wopi server to 9.3.0 2022-11-25 08:33:05 +01:00
Ralf Haferkamp
006738b23d Fix config and sample groups for LDAP deployment example
The setup was configured to use a mix of the 'groupOfNames' and
'groupOfUniqueNames' objectclasses/attributetypes for groups. This
aligns the configuration and sample data to use just'groupOfNames'.

Closes: #5085
2022-11-23 12:30:02 +01:00
Willy Kloucek
693857e6b3 improve debugability of deployment examples 2022-11-16 16:56:59 +01:00
Willy Kloucek
0ac11bc6f1 add readme to deployment examples 2022-11-11 13:28:04 +01:00
Willy Kloucek
cd7093d8e4 remove the individual services example in favor for the ocis helm charts 2022-10-27 11:54:55 +02:00
Willy Kloucek
e78ff950f8 persist wopi recovery path 2022-10-13 11:40:23 +02:00
Willy Kloucek
84af5cf4e1 configure wopi folder url 2022-10-07 09:54:54 +02:00
Willy Kloucek
e69d2e9a06 update deployment examples, especially the wopi example 2022-10-07 09:50:06 +02:00
David Christofas
3babaf1a4d remove the graph-explorer servier from ocis (#4733) 2022-10-04 15:55:30 +02:00
Ralf Haferkamp
5d121b4bad Do not start auth-bearer service by default
The auth-bearer service is currently not needed by ocis. Reva tookens
for oidc authenticated clients are currently minted via the auth-machine
service.  This commit does not completely remove the service as we shoud
consider to rework the proxy's oidc middleware to use the auth-bearer
service in the future (see #4701)

Fixes: #4692
2022-09-28 12:11:06 +02:00
Willy Kloucek
faa7d3b647 add config options for mail encryption and authentication 2022-08-23 14:39:32 +02:00
Willy Kloucek
bc49ee049a Merge pull request #4329 from wkloucek/pin-wopiserver-v8.3.3
pin wopiserver to v8.3.3 for continous deployment examples
2022-08-09 10:20:18 +02:00
Willy Kloucek
205f87f987 adapt deployment examples 2022-08-05 14:12:08 +02:00
Willy Kloucek
51282fc277 pin wopiserver to v8.3.3 for continous deployment examples 2022-08-04 10:24:52 +02:00
Willy Kloucek
863ddda4bb add inbucket as mail server to traefik deployment example 2022-07-25 16:28:41 +02:00
Michael Barz
c5b00a645d fix ocis_ldap admin user 2022-07-20 09:44:38 +02:00