Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a85e174c35 | ||
|
|
31e1d03a38 | ||
|
|
e10d5822bb | ||
|
|
b95f4a05cf | ||
|
|
1128490ba0 | ||
|
|
698f9ba93d | ||
|
|
81bac5e97f | ||
|
|
dfb53fc52b | ||
|
|
a2d4db4ae0 | ||
|
|
bc5ab41402 | ||
|
|
a4eb34628f | ||
|
|
328579186a | ||
|
|
819cf505f8 | ||
|
|
86ec03dac5 | ||
|
|
0eeee16b1d |
No files matched your search
+40
-3
@@ -1,5 +1,6 @@
|
|||||||
# Table of Contents
|
# Table of Contents
|
||||||
|
|
||||||
|
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
|
||||||
* [Changelog for 5.0.3](#changelog-for-503-2024-05-02)
|
* [Changelog for 5.0.3](#changelog-for-503-2024-05-02)
|
||||||
* [Changelog for 5.0.2](#changelog-for-502-2024-04-17)
|
* [Changelog for 5.0.2](#changelog-for-502-2024-04-17)
|
||||||
* [Changelog for 5.0.1](#changelog-for-501-2024-04-10)
|
* [Changelog for 5.0.1](#changelog-for-501-2024-04-10)
|
||||||
@@ -36,6 +37,42 @@
|
|||||||
* [Changelog for 1.1.0](#changelog-for-110-2021-01-22)
|
* [Changelog for 1.1.0](#changelog-for-110-2021-01-22)
|
||||||
* [Changelog for 1.0.0](#changelog-for-100-2020-12-17)
|
* [Changelog for 1.0.0](#changelog-for-100-2020-12-17)
|
||||||
|
|
||||||
|
# Changelog for [unreleased] (UNRELEASED)
|
||||||
|
|
||||||
|
The following sections list the changes for unreleased.
|
||||||
|
|
||||||
|
[unreleased]: https://github.com/owncloud/ocis/compare/v5.0.3...master
|
||||||
|
|
||||||
|
## Summary
|
||||||
|
|
||||||
|
* Bugfix - Update reva to v2.19.7: [#9011](https://github.com/owncloud/ocis/pull/9011)
|
||||||
|
* Bugfix - Service startup of WOPI example: [#9127](https://github.com/owncloud/ocis/pull/9127)
|
||||||
|
* Bugfix - Nats reconnects: [#9139](https://github.com/owncloud/ocis/pull/9139)
|
||||||
|
|
||||||
|
## Details
|
||||||
|
|
||||||
|
* Bugfix - Update reva to v2.19.7: [#9011](https://github.com/owncloud/ocis/pull/9011)
|
||||||
|
|
||||||
|
We updated reva to v2.19.7
|
||||||
|
|
||||||
|
* Enhancement [cs3org/reva#4673](https://github.com/cs3org/reva/pull/4673): Add virus filter to list uploads sessions
|
||||||
|
|
||||||
|
https://github.com/owncloud/ocis/pull/9011
|
||||||
|
|
||||||
|
* Bugfix - Service startup of WOPI example: [#9127](https://github.com/owncloud/ocis/pull/9127)
|
||||||
|
|
||||||
|
We fixed a bug in the service startup of the appprovider-onlyoffice in the
|
||||||
|
ocis_wopi deployment example.
|
||||||
|
|
||||||
|
https://github.com/owncloud/ocis/pull/9127
|
||||||
|
|
||||||
|
* Bugfix - Nats reconnects: [#9139](https://github.com/owncloud/ocis/pull/9139)
|
||||||
|
|
||||||
|
We fixed the reconnect handling of the natjs kv registry.
|
||||||
|
|
||||||
|
https://github.com/owncloud/ocis/pull/9139
|
||||||
|
https://github.com/owncloud/ocis/pull/8880
|
||||||
|
|
||||||
# Changelog for [5.0.3] (2024-05-02)
|
# Changelog for [5.0.3] (2024-05-02)
|
||||||
|
|
||||||
The following sections list the changes for 5.0.3.
|
The following sections list the changes for 5.0.3.
|
||||||
@@ -46,7 +83,7 @@ The following sections list the changes for 5.0.3.
|
|||||||
|
|
||||||
* Bugfix - Update the admin user role assignment to enforce the config: [#8918](https://github.com/owncloud/ocis/pull/8918)
|
* Bugfix - Update the admin user role assignment to enforce the config: [#8918](https://github.com/owncloud/ocis/pull/8918)
|
||||||
* Bugfix - Crash when processing crafted TIFF files: [#8981](https://github.com/owncloud/ocis/pull/8981)
|
* Bugfix - Crash when processing crafted TIFF files: [#8981](https://github.com/owncloud/ocis/pull/8981)
|
||||||
* Bugfix - Update reva to v2.19.5: [#9011](https://github.com/owncloud/ocis/pull/9011)
|
* Bugfix - Update reva to v2.19.6: [#9011](https://github.com/owncloud/ocis/pull/9011)
|
||||||
* Bugfix - Fix infected file handling: [#9011](https://github.com/owncloud/ocis/pull/9011)
|
* Bugfix - Fix infected file handling: [#9011](https://github.com/owncloud/ocis/pull/9011)
|
||||||
|
|
||||||
## Details
|
## Details
|
||||||
@@ -69,9 +106,9 @@ The following sections list the changes for 5.0.3.
|
|||||||
https://github.com/owncloud/ocis/pull/8981
|
https://github.com/owncloud/ocis/pull/8981
|
||||||
https://github.com/advisories/GHSA-q7pp-wcgr-pffx
|
https://github.com/advisories/GHSA-q7pp-wcgr-pffx
|
||||||
|
|
||||||
* Bugfix - Update reva to v2.19.5: [#9011](https://github.com/owncloud/ocis/pull/9011)
|
* Bugfix - Update reva to v2.19.6: [#9011](https://github.com/owncloud/ocis/pull/9011)
|
||||||
|
|
||||||
We updated reva to v2.19.5
|
We updated reva to v2.19.6
|
||||||
|
|
||||||
* Bugfix [cs3org/reva#4654](https://github.com/cs3org/reva/pull/4654): Write blob based on session id
|
* Bugfix [cs3org/reva#4654](https://github.com/cs3org/reva/pull/4654): Write blob based on session id
|
||||||
* Bugfix [cs3org/reva#4666](https://github.com/cs3org/reva/pull/4666): Fix uploading via a public link
|
* Bugfix [cs3org/reva#4666](https://github.com/cs3org/reva/pull/4666): Fix uploading via a public link
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Bugfix: Update reva to v2.19.5
|
Bugfix: Update reva to v2.19.6
|
||||||
|
|
||||||
We updated reva to v2.19.5
|
We updated reva to v2.19.6
|
||||||
|
|
||||||
* Bugfix [cs3org/reva#4654](https://github.com/cs3org/reva/pull/4654): Write blob based on session id
|
* Bugfix [cs3org/reva#4654](https://github.com/cs3org/reva/pull/4654): Write blob based on session id
|
||||||
* Bugfix [cs3org/reva#4666](https://github.com/cs3org/reva/pull/4666): Fix uploading via a public link
|
* Bugfix [cs3org/reva#4666](https://github.com/cs3org/reva/pull/4666): Fix uploading via a public link
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
Bugfix: Update reva to v2.19.7
|
||||||
|
|
||||||
|
We updated reva to v2.19.7
|
||||||
|
|
||||||
|
* Enhancement [cs3org/reva#4673](https://github.com/cs3org/reva/pull/4673): Add virus filter to list uploads sessions
|
||||||
|
|
||||||
|
https://github.com/owncloud/ocis/pull/9011
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
Bugfix: Service startup of WOPI example
|
||||||
|
|
||||||
|
We fixed a bug in the service startup of the appprovider-onlyoffice in the ocis_wopi deployment example.
|
||||||
|
|
||||||
|
https://github.com/owncloud/ocis/pull/9127
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
Bugfix: Nats reconnects
|
||||||
|
|
||||||
|
We fixed the reconnect handling of the natjs kv registry.
|
||||||
|
|
||||||
|
https://github.com/owncloud/ocis/pull/9139
|
||||||
|
https://github.com/owncloud/ocis/pull/8880
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
env:
|
env:
|
||||||
INSECURE: "false"
|
INSECURE: "false"
|
||||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||||
OCIS_DOCKER_TAG: 5.0.3
|
OCIS_DOCKER_TAG: 5.0.4
|
||||||
OCIS_DOMAIN: ocis.ocis-keycloak.released.owncloud.works
|
OCIS_DOMAIN: ocis.ocis-keycloak.released.owncloud.works
|
||||||
KEYCLOAK_DOMAIN: keycloak.ocis-keycloak.released.owncloud.works
|
KEYCLOAK_DOMAIN: keycloak.ocis-keycloak.released.owncloud.works
|
||||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
env:
|
env:
|
||||||
INSECURE: "false"
|
INSECURE: "false"
|
||||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||||
OCIS_DOCKER_TAG: 5.0.3
|
OCIS_DOCKER_TAG: 5.0.4
|
||||||
OCIS_DOMAIN: ocis.ocis-ldap.released.owncloud.works
|
OCIS_DOMAIN: ocis.ocis-ldap.released.owncloud.works
|
||||||
LDAP_MANAGER_DOMAIN: ldap.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
|
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
env:
|
env:
|
||||||
INSECURE: "false"
|
INSECURE: "false"
|
||||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||||
OCIS_DOCKER_TAG: 5.0.3
|
OCIS_DOCKER_TAG: 5.0.4
|
||||||
OCIS_DOMAIN: ocis.ocis-traefik.released.owncloud.works
|
OCIS_DOMAIN: ocis.ocis-traefik.released.owncloud.works
|
||||||
DEMO_USERS: "true"
|
DEMO_USERS: "true"
|
||||||
INBUCKET_DOMAIN: mail.ocis-traefik.released.owncloud.works
|
INBUCKET_DOMAIN: mail.ocis-traefik.released.owncloud.works
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
env:
|
env:
|
||||||
INSECURE: "false"
|
INSECURE: "false"
|
||||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||||
OCIS_DOCKER_TAG: 5.0.3
|
OCIS_DOCKER_TAG: 5.0.4
|
||||||
OCIS_DOMAIN: ocis.ocis-wopi.released.owncloud.works
|
OCIS_DOMAIN: ocis.ocis-wopi.released.owncloud.works
|
||||||
COMPANION_DOMAIN: companion.ocis-wopi.released.owncloud.works
|
COMPANION_DOMAIN: companion.ocis-wopi.released.owncloud.works
|
||||||
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
|
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
|
||||||
|
|||||||
-19
@@ -1,19 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
apk add curl
|
|
||||||
|
|
||||||
#TODO: app driver itself should try again until OnlyOffice is up...
|
|
||||||
|
|
||||||
retries=10
|
|
||||||
while [[ $retries -gt 0 ]]; do
|
|
||||||
if curl --silent --show-error --fail http://onlyoffice/hosting/discovery > /dev/null; then
|
|
||||||
ocis app-provider server
|
|
||||||
else
|
|
||||||
echo "OnlyOffice is not yet available, trying again in 10 seconds"
|
|
||||||
sleep 10
|
|
||||||
retries=$((retries - 1))
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
echo 'OnlyOffice was not available after 100 seconds'
|
|
||||||
exit 1
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
web:
|
|
||||||
config:
|
|
||||||
external_apps:
|
|
||||||
- id: preview
|
|
||||||
path: web-app-preview
|
|
||||||
config:
|
|
||||||
mimeTypes:
|
|
||||||
- image/tiff
|
|
||||||
- image/bmp
|
|
||||||
- image/x-ms-bmp
|
|
||||||
- id: importer
|
|
||||||
path: web-app-importer
|
|
||||||
config:
|
|
||||||
companionUrl: https://companion.ocis-wopi.latest.owncloud.works
|
|
||||||
supportedClouds:
|
|
||||||
- WebdavPublicLink
|
|
||||||
#- OneDrive # needs a client id and secret
|
|
||||||
#- GoogleDrive # needs a client id and secret and an addition to the DNS zone
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
web:
|
|
||||||
config:
|
|
||||||
external_apps:
|
|
||||||
- id: preview
|
|
||||||
path: web-app-preview
|
|
||||||
config:
|
|
||||||
mimeTypes:
|
|
||||||
- image/tiff
|
|
||||||
- image/bmp
|
|
||||||
- image/x-ms-bmp
|
|
||||||
- id: importer
|
|
||||||
path: web-app-importer
|
|
||||||
config:
|
|
||||||
companionUrl: https://companion.ocis-wopi.released.owncloud.works
|
|
||||||
supportedClouds:
|
|
||||||
- WebdavPublicLink
|
|
||||||
#- OneDrive # needs a client id and secret
|
|
||||||
#- GoogleDrive # needs a client id and secret and an addition to the DNS zone
|
|
||||||
+1
-1
@@ -11,7 +11,7 @@ web:
|
|||||||
- id: importer
|
- id: importer
|
||||||
path: web-app-importer
|
path: web-app-importer
|
||||||
config:
|
config:
|
||||||
companionUrl: https://companion.ocis-wopi.daily.owncloud.works
|
companionUrl: https://${COMPANION_DOMAIN|companion.owncloud.test}
|
||||||
supportedClouds:
|
supportedClouds:
|
||||||
- WebdavPublicLink
|
- WebdavPublicLink
|
||||||
#- OneDrive # needs a client id and secret
|
#- OneDrive # needs a client id and secret
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- "${DOCKER_SOCKET_PATH:-/var/run/docker.sock}:/var/run/docker.sock:ro"
|
||||||
- "certs:/certs"
|
- "certs:/certs"
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
||||||
@@ -47,7 +47,7 @@ services:
|
|||||||
- "traefik.http.routers.traefik.tls.certresolver=http"
|
- "traefik.http.routers.traefik.tls.certresolver=http"
|
||||||
- "traefik.http.routers.traefik.service=api@internal"
|
- "traefik.http.routers.traefik.service=api@internal"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
ocis:
|
ocis:
|
||||||
@@ -90,7 +90,7 @@ services:
|
|||||||
NATS_NATS_PORT: 9233
|
NATS_NATS_PORT: 9233
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/ocis/app-registry.yaml:/etc/ocis/app-registry.yaml
|
- ./config/ocis/app-registry.yaml:/etc/ocis/app-registry.yaml
|
||||||
- ./config/ocis/${COMPANION_WEB_CONFIG_FILE_NAME:-web.yaml}:/etc/ocis/web.yaml
|
- ./config/ocis/web.yaml:/etc/ocis/web.yaml
|
||||||
- ocis-config:/etc/ocis
|
- ocis-config:/etc/ocis
|
||||||
- ocis-data:/var/lib/ocis
|
- ocis-data:/var/lib/ocis
|
||||||
labels:
|
labels:
|
||||||
@@ -101,7 +101,7 @@ services:
|
|||||||
- "traefik.http.routers.ocis.service=ocis"
|
- "traefik.http.routers.ocis.service=ocis"
|
||||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
ocis-appprovider-collabora:
|
ocis-appprovider-collabora:
|
||||||
@@ -110,6 +110,7 @@ services:
|
|||||||
ocis-net:
|
ocis-net:
|
||||||
command: app-provider server
|
command: app-provider server
|
||||||
environment:
|
environment:
|
||||||
|
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-info}
|
||||||
# use the internal service name of the gateway
|
# use the internal service name of the gateway
|
||||||
REVA_GATEWAY: ${REVA_GATEWAY:-com.owncloud.api.gateway}
|
REVA_GATEWAY: ${REVA_GATEWAY:-com.owncloud.api.gateway}
|
||||||
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
|
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
|
||||||
@@ -129,19 +130,21 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ocis-config:/etc/ocis
|
- ocis-config:/etc/ocis
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
ocis:
|
||||||
|
condition: service_started
|
||||||
|
collabora:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
ocis-appprovider-onlyoffice:
|
ocis-appprovider-onlyoffice:
|
||||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||||
networks:
|
networks:
|
||||||
ocis-net:
|
ocis-net:
|
||||||
user: "0" # needed for apk add in entrypoint script
|
command: app-provider server
|
||||||
entrypoint:
|
|
||||||
- /bin/sh
|
|
||||||
- /entrypoint-override.sh
|
|
||||||
#command: app-provider server
|
|
||||||
environment:
|
environment:
|
||||||
|
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-info}
|
||||||
# use the internal service name of the gateway
|
# use the internal service name of the gateway
|
||||||
REVA_GATEWAY: ${REVA_GATEWAY:-com.owncloud.api.gateway}
|
REVA_GATEWAY: ${REVA_GATEWAY:-com.owncloud.api.gateway}
|
||||||
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
|
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
|
||||||
@@ -159,11 +162,15 @@ services:
|
|||||||
# share the registry with the ocis container
|
# share the registry with the ocis container
|
||||||
MICRO_REGISTRY_ADDRESS: ocis:9233
|
MICRO_REGISTRY_ADDRESS: ocis:9233
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/ocis-appprovider-onlyoffice/entrypoint-override.sh:/entrypoint-override.sh
|
|
||||||
- ocis-config:/etc/ocis
|
- ocis-config:/etc/ocis
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
ocis:
|
||||||
|
condition: service_started
|
||||||
|
onlyoffice:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
wopiserver:
|
wopiserver:
|
||||||
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-v10.3.0}
|
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-v10.3.0}
|
||||||
@@ -188,7 +195,7 @@ services:
|
|||||||
- "traefik.http.routers.wopiserver.service=wopiserver"
|
- "traefik.http.routers.wopiserver.service=wopiserver"
|
||||||
- "traefik.http.services.wopiserver.loadbalancer.server.port=8880"
|
- "traefik.http.services.wopiserver.loadbalancer.server.port=8880"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
collabora:
|
collabora:
|
||||||
@@ -211,8 +218,10 @@ services:
|
|||||||
- "traefik.http.routers.collabora.service=collabora"
|
- "traefik.http.routers.collabora.service=collabora"
|
||||||
- "traefik.http.services.collabora.loadbalancer.server.port=9980"
|
- "traefik.http.services.collabora.loadbalancer.server.port=9980"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:9980/hosting/discovery"]
|
||||||
|
|
||||||
onlyoffice:
|
onlyoffice:
|
||||||
image: onlyoffice/documentserver:7.5.0
|
image: onlyoffice/documentserver:7.5.0
|
||||||
@@ -238,8 +247,10 @@ services:
|
|||||||
- "traefik.http.middlewares.onlyoffice.headers.customrequestheaders.X-Forwarded-Proto=https"
|
- "traefik.http.middlewares.onlyoffice.headers.customrequestheaders.X-Forwarded-Proto=https"
|
||||||
- "traefik.http.routers.onlyoffice.middlewares=onlyoffice"
|
- "traefik.http.routers.onlyoffice.middlewares=onlyoffice"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost/hosting/discovery"]
|
||||||
|
|
||||||
tika:
|
tika:
|
||||||
image: ${TIKA_IMAGE:-apache/tika:latest-full}
|
image: ${TIKA_IMAGE:-apache/tika:latest-full}
|
||||||
@@ -270,7 +281,7 @@ services:
|
|||||||
- "traefik.http.routers.companion.service=companion"
|
- "traefik.http.routers.companion.service=companion"
|
||||||
- "traefik.http.services.companion.loadbalancer.server.port=3020"
|
- "traefik.http.services.companion.loadbalancer.server.port=3020"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
inbucket:
|
inbucket:
|
||||||
@@ -293,7 +304,7 @@ services:
|
|||||||
- "traefik.http.routers.inbucket.service=inbucket"
|
- "traefik.http.routers.inbucket.service=inbucket"
|
||||||
- "traefik.http.services.inbucket.loadbalancer.server.port=9000"
|
- "traefik.http.services.inbucket.loadbalancer.server.port=9000"
|
||||||
logging:
|
logging:
|
||||||
driver: "local"
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ The last four containers are the WOPI server, Collabora and OnlyOffice.
|
|||||||
* onlyoffice.* for serving OnlyOffice
|
* onlyoffice.* for serving OnlyOffice
|
||||||
* wopiserver.* for serving the WOPI server
|
* wopiserver.* for serving the WOPI server
|
||||||
* traefik.* for serving the Traefik dashboard
|
* traefik.* for serving the Traefik dashboard
|
||||||
|
* companion.* for serving the uppy companion app
|
||||||
|
|
||||||
See also [example server setup]({{< ref "preparing_server" >}})
|
See also [example server setup]({{< ref "preparing_server" >}})
|
||||||
|
|
||||||
@@ -68,7 +69,7 @@ See also [example server setup]({{< ref "preparing_server" >}})
|
|||||||
TRAEFIK_DASHBOARD=
|
TRAEFIK_DASHBOARD=
|
||||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||||
TRAEFIK_DOMAIN=
|
TRAEFIK_DOMAIN=
|
||||||
# Basic authentication for the dashboard. Defaults to user "admin" and password "admin"
|
# Basic authentication for the dashboard. Defaults to user "admin" and password "admin" (written as: "admin:admin").
|
||||||
TRAEFIK_BASIC_AUTH_USERS=
|
TRAEFIK_BASIC_AUTH_USERS=
|
||||||
# Email address for obtaining LetsEncrypt certificates, needs only be changed if this is a public facing server
|
# Email address for obtaining LetsEncrypt certificates, needs only be changed if this is a public facing server
|
||||||
TRAEFIK_ACME_MAIL=
|
TRAEFIK_ACME_MAIL=
|
||||||
@@ -83,6 +84,8 @@ See also [example server setup]({{< ref "preparing_server" >}})
|
|||||||
# The demo users should not be created on a production instance
|
# The demo users should not be created on a production instance
|
||||||
# because their passwords are public. Defaults to "false".
|
# because their passwords are public. Defaults to "false".
|
||||||
DEMO_USERS=
|
DEMO_USERS=
|
||||||
|
# Log level for oCIS. Defaults to "info".
|
||||||
|
OCIS_LOG_LEVEL=
|
||||||
|
|
||||||
### Wopi server settings ###
|
### Wopi server settings ###
|
||||||
# cs3org wopi server version. Defaults to "v8.3.3"
|
# cs3org wopi server version. Defaults to "v8.3.3"
|
||||||
@@ -95,7 +98,7 @@ See also [example server setup]({{< ref "preparing_server" >}})
|
|||||||
### Collabora settings ###
|
### Collabora settings ###
|
||||||
# Domain of Collabora, where you can find the frontend. Defaults to "collabora.owncloud.test"
|
# Domain of Collabora, where you can find the frontend. Defaults to "collabora.owncloud.test"
|
||||||
COLLABORA_DOMAIN=
|
COLLABORA_DOMAIN=
|
||||||
# Admin user for Collabora. Defaults to blank, provide one to enable access
|
# Admin user for Collabora. Defaults to blank, provide one to enable access. Collabora Admin Panel URL: https://{COLLABORA_DOMAIN}/browser/dist/admin/admin.html
|
||||||
COLLABORA_ADMIN_USER=
|
COLLABORA_ADMIN_USER=
|
||||||
# Admin password for Collabora. Defaults to blank, provide one to enable access
|
# Admin password for Collabora. Defaults to blank, provide one to enable access
|
||||||
COLLABORA_ADMIN_PASSWORD=
|
COLLABORA_ADMIN_PASSWORD=
|
||||||
@@ -103,6 +106,27 @@ See also [example server setup]({{< ref "preparing_server" >}})
|
|||||||
### OnlyOffice settings ###
|
### OnlyOffice settings ###
|
||||||
# Domain of OnlyOffice, where you can find the frontend. Defaults to "onlyoffice.owncloud.test"
|
# Domain of OnlyOffice, where you can find the frontend. Defaults to "onlyoffice.owncloud.test"
|
||||||
ONLYOFFICE_DOMAIN=
|
ONLYOFFICE_DOMAIN=
|
||||||
|
|
||||||
|
### Email / Inbucket settings ###
|
||||||
|
# Inbucket / Mail domain. Defaults to "mail.owncloud.test"
|
||||||
|
INBUCKET_DOMAIN=
|
||||||
|
|
||||||
|
### Apache Tika Content analysis toolkit ###
|
||||||
|
# Set the desired docker image tag or digest, defaults to "latest"
|
||||||
|
TIKA_IMAGE=
|
||||||
|
|
||||||
|
# If you want to use debugging and tracing with this stack,
|
||||||
|
# you need uncomment following line. Please see documentation at
|
||||||
|
# https://owncloud.dev/ocis/deployment/monitoring-tracing/
|
||||||
|
#COMPOSE_FILE=docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||||
|
|
||||||
|
### Uppy Companion settings ###
|
||||||
|
# Domain of Uppy Companion. Defaults to "companion.owncloud.test"
|
||||||
|
COMPANION_IMAGE=
|
||||||
|
COMPANION_DOMAIN=
|
||||||
|
# Provider settings, see https://uppy.io/docs/companion/#provideroptions for reference. Empty by default, which disables providers.
|
||||||
|
COMPANION_ONEDRIVE_KEY=
|
||||||
|
COMPANION_ONEDRIVE_SECRET=
|
||||||
```
|
```
|
||||||
|
|
||||||
You are installing oCIS on a server and Traefik will obtain valid certificates for you so please remove `INSECURE=true` or set it to `false`.
|
You are installing oCIS on a server and Traefik will obtain valid certificates for you so please remove `INSECURE=true` or set it to `false`.
|
||||||
@@ -152,6 +176,8 @@ On Linux and macOS you can add them to your `/etc/hosts` file and on Windows to
|
|||||||
127.0.0.1 collabora.owncloud.test
|
127.0.0.1 collabora.owncloud.test
|
||||||
127.0.0.1 onlyoffice.owncloud.test
|
127.0.0.1 onlyoffice.owncloud.test
|
||||||
127.0.0.1 wopiserver.owncloud.test
|
127.0.0.1 wopiserver.owncloud.test
|
||||||
|
127.0.0.1 mail.owncloud.test
|
||||||
|
127.0.0.1 companion.owncloud.test
|
||||||
```
|
```
|
||||||
|
|
||||||
After that you're ready to start the application stack:
|
After that you're ready to start the application stack:
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ require (
|
|||||||
github.com/cenkalti/backoff v2.2.1+incompatible
|
github.com/cenkalti/backoff v2.2.1+incompatible
|
||||||
github.com/coreos/go-oidc/v3 v3.9.0
|
github.com/coreos/go-oidc/v3 v3.9.0
|
||||||
github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781
|
github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781
|
||||||
github.com/cs3org/reva/v2 v2.19.6
|
github.com/cs3org/reva/v2 v2.19.7
|
||||||
github.com/dhowden/tag v0.0.0-20230630033851-978a0926ee25
|
github.com/dhowden/tag v0.0.0-20230630033851-978a0926ee25
|
||||||
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
|
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
|
||||||
github.com/egirna/icap-client v0.1.1
|
github.com/egirna/icap-client v0.1.1
|
||||||
|
|||||||
@@ -1021,6 +1021,8 @@ github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781 h1:BUdwkIlf8IS2F
|
|||||||
github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781/go.mod h1:UXha4TguuB52H14EMoSsCqDj7k8a/t7g4gVP+bgY5LY=
|
github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781/go.mod h1:UXha4TguuB52H14EMoSsCqDj7k8a/t7g4gVP+bgY5LY=
|
||||||
github.com/cs3org/reva/v2 v2.19.6 h1:n7fsTwdIN20vmQFkfOiJUbF2D7JFMLLMgOnEBRM5OTU=
|
github.com/cs3org/reva/v2 v2.19.6 h1:n7fsTwdIN20vmQFkfOiJUbF2D7JFMLLMgOnEBRM5OTU=
|
||||||
github.com/cs3org/reva/v2 v2.19.6/go.mod h1:GRUrOp5HbFVwZTgR9bVrMZ/MvVy+Jhxw1PdMmhhKP9E=
|
github.com/cs3org/reva/v2 v2.19.6/go.mod h1:GRUrOp5HbFVwZTgR9bVrMZ/MvVy+Jhxw1PdMmhhKP9E=
|
||||||
|
github.com/cs3org/reva/v2 v2.19.7 h1:0hMIbCZq1VBSxAslEvDDkj1Si8RqxbxR0wx3JvIRXTE=
|
||||||
|
github.com/cs3org/reva/v2 v2.19.7/go.mod h1:GRUrOp5HbFVwZTgR9bVrMZ/MvVy+Jhxw1PdMmhhKP9E=
|
||||||
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
|
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
|
||||||
github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg=
|
github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg=
|
||||||
github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
|
github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
|
||||||
|
|||||||
@@ -5,8 +5,10 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
natsjskv "github.com/go-micro/plugins/v4/store/nats-js-kv"
|
natsjskv "github.com/go-micro/plugins/v4/store/nats-js-kv"
|
||||||
@@ -36,12 +38,13 @@ func NewRegistry(opts ...registry.Option) registry.Registry {
|
|||||||
o(&options)
|
o(&options)
|
||||||
}
|
}
|
||||||
exp, _ := options.Context.Value(expiryKey{}).(time.Duration)
|
exp, _ := options.Context.Value(expiryKey{}).(time.Duration)
|
||||||
return &storeregistry{
|
n := &storeregistry{
|
||||||
opts: options,
|
opts: options,
|
||||||
store: natsjskv.NewStore(storeOptions(options)...),
|
|
||||||
typ: _registryName,
|
typ: _registryName,
|
||||||
expiry: exp,
|
expiry: exp,
|
||||||
}
|
}
|
||||||
|
n.store = natsjskv.NewStore(n.storeOptions(options)...)
|
||||||
|
return n
|
||||||
}
|
}
|
||||||
|
|
||||||
type storeregistry struct {
|
type storeregistry struct {
|
||||||
@@ -49,14 +52,19 @@ type storeregistry struct {
|
|||||||
store store.Store
|
store store.Store
|
||||||
typ string
|
typ string
|
||||||
expiry time.Duration
|
expiry time.Duration
|
||||||
|
lock sync.RWMutex
|
||||||
}
|
}
|
||||||
|
|
||||||
// Init inits the registry
|
// Init inits the registry
|
||||||
func (n *storeregistry) Init(opts ...registry.Option) error {
|
func (n *storeregistry) Init(opts ...registry.Option) error {
|
||||||
|
n.lock.Lock()
|
||||||
|
defer n.lock.Unlock()
|
||||||
|
|
||||||
for _, o := range opts {
|
for _, o := range opts {
|
||||||
o(&n.opts)
|
o(&n.opts)
|
||||||
}
|
}
|
||||||
return n.store.Init(storeOptions(n.opts)...)
|
n.store = natsjskv.NewStore(n.storeOptions(n.opts)...)
|
||||||
|
return n.store.Init(n.storeOptions(n.opts)...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Options returns the configured options
|
// Options returns the configured options
|
||||||
@@ -66,6 +74,9 @@ func (n *storeregistry) Options() registry.Options {
|
|||||||
|
|
||||||
// Register adds a service to the registry
|
// Register adds a service to the registry
|
||||||
func (n *storeregistry) Register(s *registry.Service, _ ...registry.RegisterOption) error {
|
func (n *storeregistry) Register(s *registry.Service, _ ...registry.RegisterOption) error {
|
||||||
|
n.lock.RLock()
|
||||||
|
defer n.lock.RUnlock()
|
||||||
|
|
||||||
if s == nil {
|
if s == nil {
|
||||||
return errors.New("wont store nil service")
|
return errors.New("wont store nil service")
|
||||||
}
|
}
|
||||||
@@ -82,11 +93,17 @@ func (n *storeregistry) Register(s *registry.Service, _ ...registry.RegisterOpti
|
|||||||
|
|
||||||
// Deregister removes a service from the registry
|
// Deregister removes a service from the registry
|
||||||
func (n *storeregistry) Deregister(s *registry.Service, _ ...registry.DeregisterOption) error {
|
func (n *storeregistry) Deregister(s *registry.Service, _ ...registry.DeregisterOption) error {
|
||||||
|
n.lock.RLock()
|
||||||
|
defer n.lock.RUnlock()
|
||||||
|
|
||||||
return n.store.Delete(s.Name)
|
return n.store.Delete(s.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetService gets a specific service from the registry
|
// GetService gets a specific service from the registry
|
||||||
func (n *storeregistry) GetService(s string, _ ...registry.GetOption) ([]*registry.Service, error) {
|
func (n *storeregistry) GetService(s string, _ ...registry.GetOption) ([]*registry.Service, error) {
|
||||||
|
n.lock.RLock()
|
||||||
|
defer n.lock.RUnlock()
|
||||||
|
|
||||||
recs, err := n.store.Read(s)
|
recs, err := n.store.Read(s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -104,6 +121,9 @@ func (n *storeregistry) GetService(s string, _ ...registry.GetOption) ([]*regist
|
|||||||
|
|
||||||
// ListServices lists all registered services
|
// ListServices lists all registered services
|
||||||
func (n *storeregistry) ListServices(...registry.ListOption) ([]*registry.Service, error) {
|
func (n *storeregistry) ListServices(...registry.ListOption) ([]*registry.Service, error) {
|
||||||
|
n.lock.RLock()
|
||||||
|
defer n.lock.RUnlock()
|
||||||
|
|
||||||
keys, err := n.store.List()
|
keys, err := n.store.List()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@@ -132,7 +152,7 @@ func (n *storeregistry) String() string {
|
|||||||
return n.typ
|
return n.typ
|
||||||
}
|
}
|
||||||
|
|
||||||
func storeOptions(opts registry.Options) []store.Option {
|
func (n *storeregistry) storeOptions(opts registry.Options) []store.Option {
|
||||||
storeoptions := []store.Option{
|
storeoptions := []store.Option{
|
||||||
store.Database("service-registry"),
|
store.Database("service-registry"),
|
||||||
store.Table("service-registry"),
|
store.Table("service-registry"),
|
||||||
@@ -150,6 +170,16 @@ func storeOptions(opts registry.Options) []store.Option {
|
|||||||
natsOptions := nats.GetDefaultOptions()
|
natsOptions := nats.GetDefaultOptions()
|
||||||
natsOptions.Name = "nats-js-kv-registry"
|
natsOptions.Name = "nats-js-kv-registry"
|
||||||
natsOptions.User, natsOptions.Password = getAuth()
|
natsOptions.User, natsOptions.Password = getAuth()
|
||||||
|
natsOptions.ReconnectedCB = func(_ *nats.Conn) {
|
||||||
|
if err := n.Init(); err != nil {
|
||||||
|
fmt.Println("cannot reconnect to nats")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
natsOptions.ClosedCB = func(_ *nats.Conn) {
|
||||||
|
fmt.Println("nats connection closed")
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
storeoptions = append(storeoptions, natsjskv.NatsOptions(natsOptions))
|
storeoptions = append(storeoptions, natsjskv.NatsOptions(natsOptions))
|
||||||
|
|
||||||
if so, ok := opts.Context.Value(storeOptionsKey{}).([]store.Option); ok {
|
if so, ok := opts.Context.Value(storeOptionsKey{}).([]store.Option); ok {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ var (
|
|||||||
// LatestTag is the latest released version plus the dev meta version.
|
// LatestTag is the latest released version plus the dev meta version.
|
||||||
// Will be overwritten by the release pipeline
|
// Will be overwritten by the release pipeline
|
||||||
// Needs a manual change for every tagged release
|
// Needs a manual change for every tagged release
|
||||||
LatestTag = "5.0.3+dev"
|
LatestTag = "5.0.4+dev"
|
||||||
|
|
||||||
// Date indicates the build date.
|
// Date indicates the build date.
|
||||||
// This has been removed, it looks like you can only replace static strings with recent go versions
|
// This has been removed, it looks like you can only replace static strings with recent go versions
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
sonar.projectKey=owncloud_ocis
|
sonar.projectKey=owncloud_ocis
|
||||||
sonar.organization=owncloud-1
|
sonar.organization=owncloud-1
|
||||||
sonar.projectName=ocis
|
sonar.projectName=ocis
|
||||||
sonar.projectVersion=5.0.3
|
sonar.projectVersion=5.0.4
|
||||||
sonar.host.url=https://sonarcloud.io
|
sonar.host.url=https://sonarcloud.io
|
||||||
|
|
||||||
# =====================================================
|
# =====================================================
|
||||||
|
|||||||
+1
@@ -86,4 +86,5 @@ type UploadSessionFilter struct {
|
|||||||
ID *string
|
ID *string
|
||||||
Processing *bool
|
Processing *bool
|
||||||
Expired *bool
|
Expired *bool
|
||||||
|
HasVirus *bool
|
||||||
}
|
}
|
||||||
+7
@@ -376,6 +376,13 @@ func (fs *Decomposedfs) ListUploadSessions(ctx context.Context, filter storage.U
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if filter.HasVirus != nil {
|
||||||
|
sr, _ := session.ScanData()
|
||||||
|
infected := sr != ""
|
||||||
|
if *filter.HasVirus != infected {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
}
|
||||||
filteredSessions = append(filteredSessions, session)
|
filteredSessions = append(filteredSessions, session)
|
||||||
}
|
}
|
||||||
return filteredSessions, nil
|
return filteredSessions, nil
|
||||||
|
|||||||
Vendored
+1
-1
@@ -359,7 +359,7 @@ github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1
|
|||||||
github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1
|
github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1
|
||||||
github.com/cs3org/go-cs3apis/cs3/tx/v1beta1
|
github.com/cs3org/go-cs3apis/cs3/tx/v1beta1
|
||||||
github.com/cs3org/go-cs3apis/cs3/types/v1beta1
|
github.com/cs3org/go-cs3apis/cs3/types/v1beta1
|
||||||
# github.com/cs3org/reva/v2 v2.19.6
|
# github.com/cs3org/reva/v2 v2.19.7
|
||||||
## explicit; go 1.21
|
## explicit; go 1.21
|
||||||
github.com/cs3org/reva/v2/cmd/revad/internal/grace
|
github.com/cs3org/reva/v2/cmd/revad/internal/grace
|
||||||
github.com/cs3org/reva/v2/cmd/revad/runtime
|
github.com/cs3org/reva/v2/cmd/revad/runtime
|
||||||
|
|||||||
Reference in new issue
Block a user