Compare commits
301
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eab1964d25 | ||
|
|
60087e6905 | ||
|
|
a0763ab979 | ||
|
|
fa95d658c0 | ||
|
|
23069f50c8 | ||
|
|
d2a05c9258 | ||
|
|
5bb6dc8d99 | ||
|
|
219919b440 | ||
|
|
e4fc7c9dfb | ||
|
|
49716045dd | ||
|
|
1fefdf2219 | ||
|
|
0ade14c0e3 | ||
|
|
1880e771a8 | ||
|
|
44ec542bd8 | ||
|
|
05a293af63 | ||
|
|
b1a4e8c656 | ||
|
|
d0e8ce642d | ||
|
|
45d9ed8333 | ||
|
|
625c2050f7 | ||
|
|
3d2366b5df | ||
|
|
22c2249ecb | ||
|
|
220cd78423 | ||
|
|
406b06923c | ||
|
|
449dbc8ca6 | ||
|
|
49ca9f4369 | ||
|
|
86b7fb688a | ||
|
|
8d179b6349 | ||
|
|
482e4fba78 | ||
|
|
da04d34aa9 | ||
|
|
58851e0013 | ||
|
|
c39582459f | ||
|
|
f37088906c | ||
|
|
3338c95767 | ||
|
|
6a85835c2e | ||
|
|
a0eaee4988 | ||
|
|
07ffaa110c | ||
|
|
2063d7716e | ||
|
|
bbee9caad8 | ||
|
|
3435369f1f | ||
|
|
6b07eaf874 | ||
|
|
b8f6e1fc63 | ||
|
|
201aecf766 | ||
|
|
e3c0c91e6f | ||
|
|
525d63b679 | ||
|
|
56056e2cfd | ||
|
|
920462283e | ||
|
|
0a59d112ca | ||
|
|
5abc047a3e | ||
|
|
1f2f50f382 | ||
|
|
860e1ad9ea | ||
|
|
248eaff8d6 | ||
|
|
0832c9bdb7 | ||
|
|
2841217deb | ||
|
|
fe4e66c2ad | ||
|
|
4dd8d2e7be | ||
|
|
5984fd0339 | ||
|
|
4c5ff7a09a | ||
|
|
4404df6c91 | ||
|
|
b690313a53 | ||
|
|
0df60c7a1c | ||
|
|
5d86cd2cc2 | ||
|
|
8c47aa176f | ||
|
|
3505e66ccc | ||
|
|
69f98a4683 | ||
|
|
9724b216bd | ||
|
|
79c60b505c | ||
|
|
f8f4805d64 | ||
|
|
ab1d7053d8 | ||
|
|
7eb8ae84bd | ||
|
|
fbf49a747f | ||
|
|
706ad82968 | ||
|
|
e4a836503f | ||
|
|
09536fa650 | ||
|
|
4bf95bd684 | ||
|
|
21dfd1147b | ||
|
|
8738c56942 | ||
|
|
4c43661664 | ||
|
|
51982d7fa4 | ||
|
|
1c96c2fbb0 | ||
|
|
123aab9675 | ||
|
|
749074e2cd | ||
|
|
adad85a9a2 | ||
|
|
4663e88403 | ||
|
|
7305694eb3 | ||
|
|
44ca518735 | ||
|
|
3afea693fd | ||
|
|
24907d7ebb | ||
|
|
ccdd08b152 | ||
|
|
ab5c9703c1 | ||
|
|
6848667292 | ||
|
|
1d2a868fba | ||
|
|
7546e476be | ||
|
|
6c00b5d26b | ||
|
|
669a5eb2bc | ||
|
|
158cede97f | ||
|
|
1074b259f9 | ||
|
|
0edc99340f | ||
|
|
930f9053d8 | ||
|
|
b725c175ef | ||
|
|
9925627c91 | ||
|
|
fac368acfa | ||
|
|
ffe56dbb6f | ||
|
|
4df9532fd3 | ||
|
|
2e3f21afbb | ||
|
|
8d1f990abd | ||
|
|
8006b5d25e | ||
|
|
0cc51c4cff | ||
|
|
e15dac85e9 | ||
|
|
ed8342de5d | ||
|
|
4515240a67 | ||
|
|
3b9ee2e49f | ||
|
|
6866f5a664 | ||
|
|
154feaaef9 | ||
|
|
c527d98b27 | ||
|
|
ea698f6f7b | ||
|
|
bf8f6ea3c6 | ||
|
|
0bb287cd9c | ||
|
|
ee65fc87bb | ||
|
|
65f057e812 | ||
|
|
49bc2969c0 | ||
|
|
6455f54ff1 | ||
|
|
4e509605f7 | ||
|
|
1d08e9f5ea | ||
|
|
ebfcf5a164 | ||
|
|
8d83ac4459 | ||
|
|
b7ba553e90 | ||
|
|
f22864f969 | ||
|
|
d0f3458261 | ||
|
|
5598f098b4 | ||
|
|
5551419170 | ||
|
|
a760689ad7 | ||
|
|
0d0cd442f8 | ||
|
|
ad2e310ec3 | ||
|
|
c6859cc9fb | ||
|
|
66f4204b09 | ||
|
|
9e6ce763e5 | ||
|
|
2a5ed5213a | ||
|
|
c6fd3aa5c3 | ||
|
|
529d29e5b1 | ||
|
|
bedddc4728 | ||
|
|
bc9c9fe58f | ||
|
|
4bdad9121f | ||
|
|
5d42d8ee0f | ||
|
|
67e0ec93ca | ||
|
|
e8879a9fd7 | ||
|
|
57085e7e4d | ||
|
|
2237534fc3 | ||
|
|
cdeb0254cd | ||
|
|
12dc077355 | ||
|
|
a681b14d3b | ||
|
|
89baa049b7 | ||
|
|
fe0da6511d | ||
|
|
024b0b81d3 | ||
|
|
565f58c68a | ||
|
|
5388aaad40 | ||
|
|
e08899d224 | ||
|
|
4f248ce47f | ||
|
|
58410b0b10 | ||
|
|
68b64ea3be | ||
|
|
b4f2faa1d6 | ||
|
|
6a3eac3765 | ||
|
|
d3619d0eff | ||
|
|
92e6a9e9a2 | ||
|
|
f3d91f8c69 | ||
|
|
3d03c3e06c | ||
|
|
7bfa03570c | ||
|
|
a925d09bbe | ||
|
|
856a0794d7 | ||
|
|
75b71766ab | ||
|
|
f9d29821e7 | ||
|
|
82d2193ad6 | ||
|
|
53d8d928f8 | ||
|
|
14e15e7ae7 | ||
|
|
a4cb8dd81b | ||
|
|
7cf0fd5ec8 | ||
|
|
6fe8c2a794 | ||
|
|
c0e1ddda95 | ||
|
|
803d99e300 | ||
|
|
96a2262e46 | ||
|
|
e83b63ffe6 | ||
|
|
e76ba90bee | ||
|
|
f58f348466 | ||
|
|
404e3e5580 | ||
|
|
2d26ab4007 | ||
|
|
38e54515b0 | ||
|
|
9a7b644e22 | ||
|
|
ecff193847 | ||
|
|
6782c2473d | ||
|
|
293aff1b53 | ||
|
|
147864d6a4 | ||
|
|
c98841904d | ||
|
|
a265fcbe46 | ||
|
|
a2c77099b9 | ||
|
|
9c2b9cccc7 | ||
|
|
b6b9af8e2f | ||
|
|
47bd5735e4 | ||
|
|
ce3d9c13f5 | ||
|
|
56f012ceb6 | ||
|
|
3f26e0f568 | ||
|
|
8f0d62f2cd | ||
|
|
0d86a08eba | ||
|
|
7f5a2ed00e | ||
|
|
83406dee0c | ||
|
|
b87118b14d | ||
|
|
01cc32deec | ||
|
|
9fea5c3002 | ||
|
|
617fc4480e | ||
|
|
d3e8b71423 | ||
|
|
0252306214 | ||
|
|
b1b9e7b77f | ||
|
|
34dc52d426 | ||
|
|
ead01a27e6 | ||
|
|
2e40f9905c | ||
|
|
cbf2b4f393 | ||
|
|
cf47cee085 | ||
|
|
cf8a83cb36 | ||
|
|
62b314dc91 | ||
|
|
4f8fd47058 | ||
|
|
15420a3d7b | ||
|
|
c1c6143568 | ||
|
|
06dc8ad5e3 | ||
|
|
45116af784 | ||
|
|
c1bd9bd71d | ||
|
|
1789a1ad43 | ||
|
|
18e0af90b7 | ||
|
|
46d397d74f | ||
|
|
49c8bb6a55 | ||
|
|
b1512bde16 | ||
|
|
bc63c2cbd7 | ||
|
|
5bbe356d36 | ||
|
|
73d89721c6 | ||
|
|
f4df2978ea | ||
|
|
e4778ec314 | ||
|
|
fdff68203c | ||
|
|
bfc626d276 | ||
|
|
28144417be | ||
|
|
8edb2188e5 | ||
|
|
5475f6c60f | ||
|
|
1c14c03e53 | ||
|
|
9c53998e76 | ||
|
|
187c8f3133 | ||
|
|
f4dc7492fa | ||
|
|
ac723fdaba | ||
|
|
54fac59d64 | ||
|
|
3397197e5a | ||
|
|
6c3684a02c | ||
|
|
00f289b725 | ||
|
|
b78aa84ba2 | ||
|
|
98929634bb | ||
|
|
85271f155a | ||
|
|
2d131fa878 | ||
|
|
435a2aa8fe | ||
|
|
d0572f1190 | ||
|
|
7e9b5e7019 | ||
|
|
997d8eabfd | ||
|
|
5d058d1ba0 | ||
|
|
f87f767930 | ||
|
|
b5decc675c | ||
|
|
5d6f4de4a3 | ||
|
|
bac2256c5f | ||
|
|
b336183771 | ||
|
|
564decbb4d | ||
|
|
5923257034 | ||
|
|
ce692dc851 | ||
|
|
da2be117fb | ||
|
|
936c295732 | ||
|
|
296af9738a | ||
|
|
990576ec6d | ||
|
|
2deeda70ce | ||
|
|
0aef4fcdce | ||
|
|
cff364c998 | ||
|
|
1daf2ecd97 | ||
|
|
2189323544 | ||
|
|
c0e8bd44a8 | ||
|
|
5f5fe9f5fa | ||
|
|
fbab620489 | ||
|
|
59e2605792 | ||
|
|
ecc547ce3f | ||
|
|
327e6260ff | ||
|
|
831f8eaa0b | ||
|
|
23b3f9d7aa | ||
|
|
d6eac9f5ba | ||
|
|
9fa4287514 | ||
|
|
276eda1ede | ||
|
|
0add18fc9a | ||
|
|
ae8f618bb0 | ||
|
|
1663e1eac7 | ||
|
|
e40015c2e2 | ||
|
|
271455703b | ||
|
|
4c8a36f0d4 | ||
|
|
092136baac | ||
|
|
3c2efe1709 | ||
|
|
cb65cccf41 | ||
|
|
5c1be18f30 | ||
|
|
eac61b6c4e | ||
|
|
a7d94be6f4 | ||
|
|
bfacee302d | ||
|
|
6a620870eb | ||
|
|
54751a9c4d | ||
|
|
fbb319f3ba | ||
|
|
7c1c9ddacc |
No files matched your search
+2
-2
@@ -1,3 +1,3 @@
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=3088a7d9a353ebf5e128d9d784b28fb103a30a40
|
||||
WEB_BRANCH=stable-11.0
|
||||
WEB_COMMITID=caf280aa070a0c35e4b184b230d218bfd2be95b3
|
||||
WEB_BRANCH=stable-11.0-correct
|
||||
+323
-141
@@ -35,7 +35,6 @@ PLUGINS_GIT_ACTION = "plugins/git-action:1"
|
||||
PLUGINS_MANIFEST = "plugins/manifest:1"
|
||||
PLUGINS_S3 = "plugins/s3:1"
|
||||
PLUGINS_S3_CACHE = "plugins/s3-cache:1"
|
||||
PLUGINS_SLACK = "plugins/slack:1"
|
||||
REDIS = "redis:6-alpine"
|
||||
SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:11.0"
|
||||
|
||||
@@ -58,6 +57,14 @@ dirs = {
|
||||
"ocmProviders": "tests/config/drone/providers.json",
|
||||
}
|
||||
|
||||
# OCIS URLs
|
||||
OCIS_SERVER_NAME = "ocis-server"
|
||||
OCIS_URL = "https://%s:9200" % OCIS_SERVER_NAME
|
||||
OCIS_DOMAIN = "%s:9200" % OCIS_SERVER_NAME
|
||||
FED_OCIS_SERVER_NAME = "federation-ocis-server"
|
||||
OCIS_FED_URL = "https://%s:10200" % FED_OCIS_SERVER_NAME
|
||||
OCIS_FED_DOMAIN = "%s:10200" % FED_OCIS_SERVER_NAME
|
||||
|
||||
# configuration
|
||||
config = {
|
||||
"cs3ApiTests": {
|
||||
@@ -86,6 +93,7 @@ config = {
|
||||
"graph": {
|
||||
"suites": [
|
||||
"apiGraph",
|
||||
"apiServiceAvailability",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
@@ -172,6 +180,7 @@ config = {
|
||||
"NOTIFICATIONS_SMTP_PORT": "2500",
|
||||
"NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
"NOTIFICATIONS_SMTP_SENDER": "ownCloud <noreply@example.com>",
|
||||
"NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
|
||||
},
|
||||
},
|
||||
"antivirus": {
|
||||
@@ -186,6 +195,7 @@ config = {
|
||||
"POSTPROCESSING_STEPS": "virusscan",
|
||||
"OCIS_ASYNC_UPLOADS": True,
|
||||
"OCIS_ADD_RUN_SERVICES": "antivirus",
|
||||
"ANTIVIRUS_DEBUG_ADDR": "0.0.0.0:9297",
|
||||
},
|
||||
},
|
||||
"searchContent": {
|
||||
@@ -231,6 +241,17 @@ config = {
|
||||
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
|
||||
},
|
||||
},
|
||||
"authApp": {
|
||||
"suites": [
|
||||
"apiAuthApp",
|
||||
],
|
||||
"skip": False,
|
||||
"withRemotePhp": [True],
|
||||
"extraServerEnvironment": {
|
||||
"OCIS_ADD_RUN_SERVICES": "auth-app",
|
||||
"PROXY_ENABLE_APP_AUTH": True,
|
||||
},
|
||||
},
|
||||
"cliCommands": {
|
||||
"suites": [
|
||||
"cliCommands",
|
||||
@@ -263,10 +284,19 @@ config = {
|
||||
"tikaNeeded": True,
|
||||
},
|
||||
},
|
||||
"rocketchat": {
|
||||
"channel": "builds",
|
||||
"channel_cron": "builds",
|
||||
"from_secret": "rocketchat_talk_webhook",
|
||||
"e2eMultiService": {
|
||||
"testSuites": {
|
||||
"skip": False,
|
||||
"suites": [
|
||||
"smoke",
|
||||
"shares",
|
||||
"search",
|
||||
"journeys",
|
||||
"file-action",
|
||||
"spaces",
|
||||
],
|
||||
"tikaNeeded": True,
|
||||
},
|
||||
},
|
||||
"binaryReleases": {
|
||||
"os": ["linux", "darwin"],
|
||||
@@ -423,7 +453,7 @@ def cachePipeline(name, steps):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/**",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -470,7 +500,7 @@ def testPipelines(ctx):
|
||||
if "skip" not in config["apiTests"] or not config["apiTests"]["skip"]:
|
||||
pipelines += apiTests(ctx)
|
||||
|
||||
pipelines += e2eTestPipeline(ctx)
|
||||
pipelines += e2eTestPipeline(ctx) + multiServiceE2ePipeline(ctx)
|
||||
|
||||
if ("skip" not in config["k6LoadTests"] or not config["k6LoadTests"]["skip"]) and ("k6-test" in ctx.build.title.lower() or ctx.build.event == "cron"):
|
||||
pipelines += k6LoadTests(ctx)
|
||||
@@ -630,7 +660,7 @@ def testOcis(ctx):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -662,7 +692,7 @@ def scanOcis(ctx):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -686,7 +716,7 @@ def buildOcisBinaryForTesting(ctx):
|
||||
rebuildBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin"),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -773,7 +803,7 @@ def uploadScanResults(ctx):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
"status": [
|
||||
@@ -916,7 +946,7 @@ def codestyle(ctx):
|
||||
"depends_on": [],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -929,6 +959,10 @@ def codestyle(ctx):
|
||||
def localApiTestPipeline(ctx):
|
||||
pipelines = []
|
||||
|
||||
with_remote_php = [True]
|
||||
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
|
||||
with_remote_php.append(False)
|
||||
|
||||
defaults = {
|
||||
"suites": {},
|
||||
"skip": False,
|
||||
@@ -942,7 +976,7 @@ def localApiTestPipeline(ctx):
|
||||
"federationServer": False,
|
||||
"collaborationServiceNeeded": False,
|
||||
"extraCollaborationEnvironment": {},
|
||||
"withRemotePhp": [True, False] if ctx.build.event == "cron" else [True],
|
||||
"withRemotePhp": with_remote_php,
|
||||
}
|
||||
|
||||
if "localApiTests" in config:
|
||||
@@ -952,11 +986,11 @@ def localApiTestPipeline(ctx):
|
||||
for item in defaults:
|
||||
params[item] = matrix[item] if item in matrix else defaults[item]
|
||||
for storage in params["storages"]:
|
||||
for withRemotePhp in params["withRemotePhp"]:
|
||||
for run_with_remote_php in params["withRemotePhp"]:
|
||||
pipeline = {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "%s-%s%s" % ("CLI" if name.startswith("cli") else "API", name, "-withoutRemotePhp" if not withRemotePhp else ""),
|
||||
"name": "%s-%s%s" % ("CLI" if name.startswith("cli") else "API", name, "-withoutRemotePhp" if not run_with_remote_php else ""),
|
||||
"platform": {
|
||||
"os": "linux",
|
||||
"arch": "amd64",
|
||||
@@ -970,8 +1004,8 @@ def localApiTestPipeline(ctx):
|
||||
(waitForEmailService() if params["emailNeeded"] else []) +
|
||||
(ocisServer(storage, params["accounts_hash_difficulty"], deploy_type = "federation", extra_server_environment = params["extraServerEnvironment"]) if params["federationServer"] else []) +
|
||||
((wopiCollaborationService("fakeoffice") + wopiCollaborationService("collabora") + wopiCollaborationService("onlyoffice")) if params["collaborationServiceNeeded"] else []) +
|
||||
(waitForServices("wopi", ["wopi-collabora:9300", "wopi-onlyoffice:9300", "wopi-fakeoffice:9300"]) if params["collaborationServiceNeeded"] else []) +
|
||||
localApiTests(ctx, name, params["suites"], storage, params["extraEnvironment"], withRemotePhp) +
|
||||
(ocisHealthCheck("wopi", ["wopi-collabora:9304", "wopi-onlyoffice:9304", "wopi-fakeoffice:9304"]) if params["collaborationServiceNeeded"] else []) +
|
||||
localApiTests(ctx, name, params["suites"], storage, params["extraEnvironment"], run_with_remote_php) +
|
||||
logRequests(),
|
||||
"services": (emailService() if params["emailNeeded"] else []) +
|
||||
(clamavService() if params["antivirusNeeded"] else []) +
|
||||
@@ -979,7 +1013,7 @@ def localApiTestPipeline(ctx):
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -992,19 +1026,18 @@ def localApiTests(ctx, name, suites, storage = "ocis", extra_environment = {}, w
|
||||
expected_failures_file = "%s/expected-failures-localAPI-on-%s-storage.md" % (test_dir, storage.upper())
|
||||
|
||||
environment = {
|
||||
"PATH_TO_OCIS": dirs["base"],
|
||||
"TEST_SERVER_URL": OCIS_URL,
|
||||
"TEST_SERVER_FED_URL": OCIS_FED_URL,
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
|
||||
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
|
||||
"SEND_SCENARIO_LINE_REFERENCES": "true",
|
||||
"STORAGE_DRIVER": storage,
|
||||
"BEHAT_SUITES": ",".join(suites),
|
||||
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"EXPECTED_FAILURES_FILE": expected_failures_file,
|
||||
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
||||
"OCIS_WRAPPER_URL": "http://ocis-server:5200",
|
||||
"OCIS_WRAPPER_URL": "http://%s:5200" % OCIS_SERVER_NAME,
|
||||
"WITH_REMOTE_PHP": with_remote_php,
|
||||
"COLLABORATION_SERVICE_URL": "http://wopi-fakeoffice:9300",
|
||||
}
|
||||
|
||||
for item in extra_environment:
|
||||
@@ -1039,14 +1072,14 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
|
||||
"image": OC_CS3_API_VALIDATOR,
|
||||
"environment": {},
|
||||
"commands": [
|
||||
"/usr/bin/cs3api-validator /var/lib/cs3api-validator --endpoint=ocis-server:9142",
|
||||
"/usr/bin/cs3api-validator /var/lib/cs3api-validator --endpoint=%s:9142" % OCIS_SERVER_NAME,
|
||||
],
|
||||
},
|
||||
],
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1147,10 +1180,10 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
|
||||
"image": OC_CI_ALPINE,
|
||||
"environment": {},
|
||||
"commands": [
|
||||
"curl -v -X PUT 'https://ocis-server:9200/remote.php/webdav/test.wopitest' -k --fail --retry-connrefused --retry 7 --retry-all-errors -u admin:admin -D headers.txt",
|
||||
"curl -v -X PUT '%s/remote.php/webdav/test.wopitest' -k --fail --retry-connrefused --retry 7 --retry-all-errors -u admin:admin -D headers.txt" % OCIS_URL,
|
||||
"cat headers.txt",
|
||||
"export FILE_ID=$(cat headers.txt | sed -n -e 's/^.*Oc-Fileid: //p')",
|
||||
"export URL=\"https://ocis-server:9200/app/open?app_name=FakeOffice&file_id=$FILE_ID\"",
|
||||
"export URL=\"%s/app/open?app_name=FakeOffice&file_id=$FILE_ID\"" % OCIS_URL,
|
||||
"export URL=$(echo $URL | tr -d '[:cntrl:]')",
|
||||
"curl -v -X POST \"$URL\" -k --fail --retry-connrefused --retry 7 --retry-all-errors -u admin:admin > open.json",
|
||||
"cat open.json",
|
||||
@@ -1165,7 +1198,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1192,10 +1225,8 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = Fa
|
||||
"name": "oC10ApiTests-%s" % part_number,
|
||||
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
|
||||
"environment": {
|
||||
"PATH_TO_OCIS": "%s" % dirs["base"],
|
||||
"TEST_SERVER_URL": OCIS_URL,
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
|
||||
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
|
||||
"SEND_SCENARIO_LINE_REFERENCES": "true",
|
||||
"STORAGE_DRIVER": storage,
|
||||
"BEHAT_FILTER_TAGS": filterTags,
|
||||
@@ -1204,7 +1235,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = Fa
|
||||
"ACCEPTANCE_TEST_TYPE": "core-api",
|
||||
"EXPECTED_FAILURES_FILE": expected_failures_file,
|
||||
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
||||
"OCIS_WRAPPER_URL": "http://ocis-server:5200",
|
||||
"OCIS_WRAPPER_URL": "http://%s:5200" % OCIS_SERVER_NAME,
|
||||
"WITH_REMOTE_PHP": with_remote_php,
|
||||
},
|
||||
"commands": [
|
||||
@@ -1219,7 +1250,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = Fa
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1229,13 +1260,19 @@ def apiTests(ctx):
|
||||
pipelines = []
|
||||
debugParts = config["apiTests"]["skipExceptParts"]
|
||||
debugPartsEnabled = (len(debugParts) != 0)
|
||||
|
||||
with_remote_php = [True]
|
||||
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
|
||||
with_remote_php.append(False)
|
||||
|
||||
defaults = {
|
||||
"withRemotePhp": [True, False] if ctx.build.event == "cron" else [True],
|
||||
"withRemotePhp": with_remote_php,
|
||||
}
|
||||
|
||||
for runPart in range(1, config["apiTests"]["numberOfParts"] + 1):
|
||||
for withRemotePhp in defaults["withRemotePhp"]:
|
||||
for run_with_remote_php in defaults["withRemotePhp"]:
|
||||
if (not debugPartsEnabled or (debugPartsEnabled and runPart in debugParts)):
|
||||
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], withRemotePhp))
|
||||
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], run_with_remote_php))
|
||||
|
||||
return pipelines
|
||||
|
||||
@@ -1254,7 +1291,7 @@ def e2eTestPipeline(ctx):
|
||||
|
||||
e2e_trigger = {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/**",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1303,7 +1340,7 @@ def e2eTestPipeline(ctx):
|
||||
restoreWebCache() + \
|
||||
restoreWebPnpmCache() + \
|
||||
(tikaService() if params["tikaNeeded"] else []) + \
|
||||
ocisServer("ocis", 4, [], extra_server_environment = extra_server_environment, tika_enabled = params["tikaNeeded"])
|
||||
ocisServer(extra_server_environment = extra_server_environment, tika_enabled = params["tikaNeeded"])
|
||||
|
||||
step_e2e = {
|
||||
"name": "e2e-tests",
|
||||
@@ -1355,6 +1392,137 @@ def e2eTestPipeline(ctx):
|
||||
|
||||
return pipelines
|
||||
|
||||
def multiServiceE2ePipeline(ctx):
|
||||
pipelines = []
|
||||
|
||||
defaults = {
|
||||
"skip": False,
|
||||
"suites": [],
|
||||
"xsuites": [],
|
||||
"tikaNeeded": False,
|
||||
}
|
||||
|
||||
e2e_trigger = {
|
||||
"ref": [
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
}
|
||||
|
||||
if ("skip-e2e" in ctx.build.title.lower()):
|
||||
return pipelines
|
||||
|
||||
# run this pipeline only for cron jobs and full-ci PRs
|
||||
if (not "full-ci" in ctx.build.title.lower() and ctx.build.event != "cron"):
|
||||
return pipelines
|
||||
|
||||
extra_server_environment = {
|
||||
"OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST": "%s" % dirs["bannedPasswordList"],
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"OCIS_SERVICE_ACCOUNT_ID": "service-account-id",
|
||||
"OCIS_SERVICE_ACCOUNT_SECRET": "service-account-secret",
|
||||
"OCIS_EXCLUDE_RUN_SERVICES": "storage-users",
|
||||
"OCIS_GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
|
||||
"SETTINGS_GRPC_ADDR": "0.0.0.0:9191",
|
||||
"GATEWAY_STORAGE_USERS_MOUNT_ID": "storage-users-id",
|
||||
}
|
||||
|
||||
storage_users_environment = {
|
||||
"OCIS_CORS_ALLOW_ORIGINS": "%s,https://%s:9201" % (OCIS_URL, OCIS_SERVER_NAME),
|
||||
"STORAGE_USERS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"STORAGE_USERS_MOUNT_ID": "storage-users-id",
|
||||
"STORAGE_USERS_SERVICE_ACCOUNT_ID": "service-account-id",
|
||||
"STORAGE_USERS_SERVICE_ACCOUNT_SECRET": "service-account-secret",
|
||||
"STORAGE_USERS_GATEWAY_GRPC_ADDR": "%s:9142" % OCIS_SERVER_NAME,
|
||||
"STORAGE_USERS_EVENTS_ENDPOINT": "%s:9233" % OCIS_SERVER_NAME,
|
||||
"STORAGE_USERS_DATA_GATEWAY_URL": "%s/data" % OCIS_URL,
|
||||
"OCIS_CACHE_STORE": "nats-js-kv",
|
||||
"OCIS_CACHE_STORE_NODES": "%s:9233" % OCIS_SERVER_NAME,
|
||||
"MICRO_REGISTRY_ADDRESS": "%s:9233" % OCIS_SERVER_NAME,
|
||||
}
|
||||
storage_users1_environment = {
|
||||
"STORAGE_USERS_GRPC_ADDR": "storageusers1:9157",
|
||||
"STORAGE_USERS_HTTP_ADDR": "storageusers1:9158",
|
||||
"STORAGE_USERS_DEBUG_ADDR": "storageusers1:9159",
|
||||
"STORAGE_USERS_DATA_SERVER_URL": "http://storageusers1:9158/data",
|
||||
}
|
||||
for item in storage_users_environment:
|
||||
storage_users1_environment[item] = storage_users_environment[item]
|
||||
|
||||
storage_users2_environment = {
|
||||
"STORAGE_USERS_GRPC_ADDR": "storageusers2:9157",
|
||||
"STORAGE_USERS_HTTP_ADDR": "storageusers2:9158",
|
||||
"STORAGE_USERS_DEBUG_ADDR": "storageusers2:9159",
|
||||
"STORAGE_USERS_DATA_SERVER_URL": "http://storageusers2:9158/data",
|
||||
}
|
||||
for item in storage_users_environment:
|
||||
storage_users2_environment[item] = storage_users_environment[item]
|
||||
|
||||
storage_volume = [{
|
||||
"name": "storage",
|
||||
"path": "/root/.ocis",
|
||||
}]
|
||||
storage_users_services = startOcisService("storage-users", "storageusers1", storage_users1_environment, storage_volume) + \
|
||||
startOcisService("storage-users", "storageusers2", storage_users2_environment, storage_volume) + \
|
||||
ocisHealthCheck("storage-users", ["storageusers1:9159", "storageusers2:9159"])
|
||||
|
||||
for _, suite in config["e2eMultiService"].items():
|
||||
if "skip" in suite and suite["skip"]:
|
||||
continue
|
||||
|
||||
params = {}
|
||||
for item in defaults:
|
||||
params[item] = suite[item] if item in suite else defaults[item]
|
||||
|
||||
e2e_args = ""
|
||||
if params["suites"]:
|
||||
e2e_args = "--suites %s" % ",".join(params["suites"])
|
||||
|
||||
# suites to skip
|
||||
if params["xsuites"]:
|
||||
e2e_args += " --xsuites %s" % ",".join(params["xsuites"])
|
||||
|
||||
steps = \
|
||||
skipIfUnchanged(ctx, "e2e-tests") + \
|
||||
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin/ocis") + \
|
||||
restoreWebCache() + \
|
||||
restoreWebPnpmCache() + \
|
||||
tikaService() + \
|
||||
ocisServer(extra_server_environment = extra_server_environment, tika_enabled = params["tikaNeeded"]) + \
|
||||
storage_users_services + \
|
||||
[{
|
||||
"name": "e2e-tests",
|
||||
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
|
||||
"environment": {
|
||||
"BASE_URL_OCIS": OCIS_DOMAIN,
|
||||
"HEADLESS": "true",
|
||||
"RETRY": "1",
|
||||
},
|
||||
"commands": [
|
||||
"cd %s/tests/e2e" % dirs["web"],
|
||||
"bash run-e2e.sh %s" % e2e_args,
|
||||
],
|
||||
}] + \
|
||||
uploadTracingResult(ctx) + \
|
||||
logTracingResults()
|
||||
|
||||
pipelines.append({
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "e2e-tests-multi-service",
|
||||
"steps": steps,
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx) + buildWebCache(ctx)),
|
||||
"trigger": e2e_trigger,
|
||||
"volumes": [
|
||||
{
|
||||
"name": "storage",
|
||||
"temp": {},
|
||||
},
|
||||
pipelineVolumeGo,
|
||||
],
|
||||
})
|
||||
return pipelines
|
||||
|
||||
def uploadTracingResult(ctx):
|
||||
return [{
|
||||
"name": "upload-tracing-result",
|
||||
@@ -1526,7 +1694,7 @@ def dockerRelease(ctx, arch, repo, build_type):
|
||||
"depends_on": depends_on,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1687,7 +1855,7 @@ def binaryRelease(ctx, arch, build_type, target, depends_on = []):
|
||||
"depends_on": depends_on,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1821,7 +1989,7 @@ def licenseCheck(ctx):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1888,7 +2056,7 @@ def releaseDockerManifest(ctx, repo, build_type):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -1935,7 +2103,7 @@ def changelog():
|
||||
"push",
|
||||
],
|
||||
"message": "Automated changelog update [skip ci]",
|
||||
"branch": "master",
|
||||
"branch": "stable-7.0-new",
|
||||
"author_email": "devops@owncloud.com",
|
||||
"author_name": "ownClouders",
|
||||
"netrc_machine": "github.com",
|
||||
@@ -1957,7 +2125,7 @@ def changelog():
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1991,7 +2159,7 @@ def releaseDockerReadme(ctx, repo, build_type):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -2041,7 +2209,7 @@ def docs():
|
||||
},
|
||||
"pages_directory": "docs/hugo/content/",
|
||||
"copy_contents": "true",
|
||||
"target_branch": "docs",
|
||||
"target_branch": "docs-stable-7.0",
|
||||
"delete": "true",
|
||||
},
|
||||
"when": {
|
||||
@@ -2063,7 +2231,7 @@ def docs():
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -2108,10 +2276,8 @@ def makeGoGenerate(module):
|
||||
|
||||
def notify(ctx):
|
||||
status = ["failure"]
|
||||
channel = config["rocketchat"]["channel"]
|
||||
if ctx.build.event == "cron":
|
||||
if ctx.build.event in ["cron", "tag"]:
|
||||
status.append("success")
|
||||
channel = config["rocketchat"]["channel_cron"]
|
||||
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
@@ -2122,20 +2288,23 @@ def notify(ctx):
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"name": "notify-rocketchat",
|
||||
"image": PLUGINS_SLACK,
|
||||
"settings": {
|
||||
"webhook": {
|
||||
"from_secret": config["rocketchat"]["from_secret"],
|
||||
"name": "notify-matrix",
|
||||
"image": OC_CI_ALPINE,
|
||||
"environment": {
|
||||
"MATRIX_TOKEN": {
|
||||
"from_secret": "matrix_token",
|
||||
},
|
||||
"channel": channel,
|
||||
},
|
||||
"commands": [
|
||||
"wget https://raw.githubusercontent.com/%s/%s/tests/config/drone/notification.sh" % (ctx.repo.slug, ctx.build.commit),
|
||||
"bash notification.sh",
|
||||
],
|
||||
},
|
||||
],
|
||||
"depends_on": [],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/heads/release*",
|
||||
"refs/tags/**",
|
||||
],
|
||||
@@ -2143,9 +2312,9 @@ def notify(ctx):
|
||||
},
|
||||
}
|
||||
|
||||
def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on = [], deploy_type = "", extra_server_environment = {}, with_wrapper = False, tika_enabled = False):
|
||||
def ocisServer(storage = "ocis", accounts_hash_difficulty = 4, volumes = [], depends_on = [], deploy_type = "", extra_server_environment = {}, with_wrapper = False, tika_enabled = False):
|
||||
user = "0:0"
|
||||
container_name = "ocis-server"
|
||||
container_name = OCIS_SERVER_NAME
|
||||
environment = {
|
||||
"OCIS_URL": OCIS_URL,
|
||||
"OCIS_CONFIG_DIR": "/root/.ocis/config", # needed for checking config later
|
||||
@@ -2158,13 +2327,47 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
"FRONTEND_SEARCH_MIN_LENGTH": "2",
|
||||
"OCIS_ASYNC_UPLOADS": True,
|
||||
"OCIS_EVENTS_ENABLE_TLS": False,
|
||||
"MICRO_REGISTRY": "nats-js-kv",
|
||||
"MICRO_REGISTRY_ADDRESS": "127.0.0.1:9233",
|
||||
"NATS_NATS_HOST": "0.0.0.0",
|
||||
"NATS_NATS_PORT": 9233,
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"EVENTHISTORY_STORE": "memory",
|
||||
"OCIS_TRANSLATION_PATH": "%s/tests/config/translations" % dirs["base"],
|
||||
# debug addresses required for running services health tests
|
||||
"ACTIVITYLOG_DEBUG_ADDR": "0.0.0.0:9197",
|
||||
"APP_PROVIDER_DEBUG_ADDR": "0.0.0.0:9165",
|
||||
"APP_REGISTRY_DEBUG_ADDR": "0.0.0.0:9243",
|
||||
"AUTH_BASIC_DEBUG_ADDR": "0.0.0.0:9147",
|
||||
"AUTH_MACHINE_DEBUG_ADDR": "0.0.0.0:9167",
|
||||
"AUTH_SERVICE_DEBUG_ADDR": "0.0.0.0:9198",
|
||||
"CLIENTLOG_DEBUG_ADDR": "0.0.0.0:9260",
|
||||
"EVENTHISTORY_DEBUG_ADDR": "0.0.0.0:9270",
|
||||
"FRONTEND_DEBUG_ADDR": "0.0.0.0:9141",
|
||||
"GATEWAY_DEBUG_ADDR": "0.0.0.0:9143",
|
||||
"GRAPH_DEBUG_ADDR": "0.0.0.0:9124",
|
||||
"GROUPS_DEBUG_ADDR": "0.0.0.0:9161",
|
||||
"IDM_DEBUG_ADDR": "0.0.0.0:9239",
|
||||
"IDP_DEBUG_ADDR": "0.0.0.0:9134",
|
||||
"INVITATIONS_DEBUG_ADDR": "0.0.0.0:9269",
|
||||
"NATS_DEBUG_ADDR": "0.0.0.0:9234",
|
||||
"OCDAV_DEBUG_ADDR": "0.0.0.0:9163",
|
||||
"OCM_DEBUG_ADDR": "0.0.0.0:9281",
|
||||
"OCS_DEBUG_ADDR": "0.0.0.0:9114",
|
||||
"POSTPROCESSING_DEBUG_ADDR": "0.0.0.0:9255",
|
||||
"PROXY_DEBUG_ADDR": "0.0.0.0:9205",
|
||||
"SEARCH_DEBUG_ADDR": "0.0.0.0:9224",
|
||||
"SETTINGS_DEBUG_ADDR": "0.0.0.0:9194",
|
||||
"SHARING_DEBUG_ADDR": "0.0.0.0:9151",
|
||||
"SSE_DEBUG_ADDR": "0.0.0.0:9139",
|
||||
"STORAGE_PUBLICLINK_DEBUG_ADDR": "0.0.0.0:9179",
|
||||
"STORAGE_SHARES_DEBUG_ADDR": "0.0.0.0:9156",
|
||||
"STORAGE_SYSTEM_DEBUG_ADDR": "0.0.0.0:9217",
|
||||
"STORAGE_USERS_DEBUG_ADDR": "0.0.0.0:9159",
|
||||
"THUMBNAILS_DEBUG_ADDR": "0.0.0.0:9189",
|
||||
"USERLOG_DEBUG_ADDR": "0.0.0.0:9214",
|
||||
"USERS_DEBUG_ADDR": "0.0.0.0:9145",
|
||||
"WEB_DEBUG_ADDR": "0.0.0.0:9104",
|
||||
"WEBDAV_DEBUG_ADDR": "0.0.0.0:9119",
|
||||
"WEBFINGER_DEBUG_ADDR": "0.0.0.0:9279",
|
||||
}
|
||||
|
||||
if deploy_type == "":
|
||||
@@ -2190,7 +2393,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
if deploy_type == "federation":
|
||||
environment["OCIS_URL"] = OCIS_FED_URL
|
||||
environment["PROXY_HTTP_ADDR"] = OCIS_FED_DOMAIN
|
||||
container_name = "federation-ocis-server"
|
||||
container_name = FED_OCIS_SERVER_NAME
|
||||
|
||||
if tika_enabled:
|
||||
environment["FRONTEND_FULL_TEXT_SEARCH_ENABLED"] = True
|
||||
@@ -2245,6 +2448,38 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
wait_for_ocis,
|
||||
]
|
||||
|
||||
def startOcisService(service = None, name = None, environment = {}, volumes = []):
|
||||
"""
|
||||
Starts an OCIS service in a detached container.
|
||||
|
||||
Args:
|
||||
service (str): The name of the service to start.
|
||||
name (str): The name of the container.
|
||||
environment (dict): The environment variables to set in the container.
|
||||
volumes (list): The volumes to mount in the container.
|
||||
|
||||
Returns:
|
||||
list: A list of pipeline steps to start the service.
|
||||
"""
|
||||
|
||||
if not service:
|
||||
return []
|
||||
if not name:
|
||||
name = service
|
||||
|
||||
return [
|
||||
{
|
||||
"name": name,
|
||||
"image": OC_CI_GOLANG,
|
||||
"detach": True,
|
||||
"environment": environment,
|
||||
"commands": [
|
||||
"ocis/bin/ocis %s server" % service,
|
||||
],
|
||||
"volumes": volumes,
|
||||
},
|
||||
]
|
||||
|
||||
def redis():
|
||||
return [
|
||||
{
|
||||
@@ -2501,7 +2736,7 @@ def genericCachePurge(flush_path):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
"status": [
|
||||
@@ -2598,67 +2833,6 @@ def pipelineSanityChecks(ctx, pipelines):
|
||||
for image in images.keys():
|
||||
print(" %sx\t%s" % (images[image], image))
|
||||
|
||||
# configs
|
||||
OCIS_URL = "https://ocis-server:9200"
|
||||
OCIS_DOMAIN = "ocis-server:9200"
|
||||
OC10_URL = "http://oc10:8080"
|
||||
OCIS_FED_URL = "https://federation-ocis-server:10200"
|
||||
OCIS_FED_DOMAIN = "federation-ocis-server:10200"
|
||||
|
||||
# step volumes
|
||||
stepVolumeOC10Templates = \
|
||||
{
|
||||
"name": "oc10-templates",
|
||||
"path": "/etc/templates",
|
||||
}
|
||||
stepVolumeOC10PreServer = \
|
||||
{
|
||||
"name": "preserver-config",
|
||||
"path": "/etc/pre_server.d",
|
||||
}
|
||||
stepVolumeOC10Apps = \
|
||||
{
|
||||
"name": "core-apps",
|
||||
"path": "/var/www/owncloud/apps",
|
||||
}
|
||||
stepVolumeOC10OCISData = \
|
||||
{
|
||||
"name": "data",
|
||||
"path": "/mnt/data",
|
||||
}
|
||||
stepVolumeOCISConfig = \
|
||||
{
|
||||
"name": "proxy-config",
|
||||
"path": "/etc/ocis",
|
||||
}
|
||||
|
||||
# pipeline volumes
|
||||
pipeOC10TemplatesVol = \
|
||||
{
|
||||
"name": "oc10-templates",
|
||||
"temp": {},
|
||||
}
|
||||
pipeOC10PreServerVol = \
|
||||
{
|
||||
"name": "preserver-config",
|
||||
"temp": {},
|
||||
}
|
||||
pipeOC10AppsVol = \
|
||||
{
|
||||
"name": "core-apps",
|
||||
"temp": {},
|
||||
}
|
||||
pipeOC10OCISSharedVol = \
|
||||
{
|
||||
"name": "data",
|
||||
"temp": {},
|
||||
}
|
||||
pipeOCISConfigVol = \
|
||||
{
|
||||
"name": "proxy-config",
|
||||
"temp": {},
|
||||
}
|
||||
|
||||
def litmus(ctx, storage):
|
||||
pipelines = []
|
||||
|
||||
@@ -2692,7 +2866,7 @@ def litmus(ctx, storage):
|
||||
"environment": environment,
|
||||
"commands": [
|
||||
"source .env",
|
||||
'export LITMUS_URL="https://ocis-server:9200/remote.php/webdav"',
|
||||
'export LITMUS_URL="%s/remote.php/webdav"' % OCIS_URL,
|
||||
litmusCommand,
|
||||
],
|
||||
},
|
||||
@@ -2702,7 +2876,7 @@ def litmus(ctx, storage):
|
||||
"environment": environment,
|
||||
"commands": [
|
||||
"source .env",
|
||||
'export LITMUS_URL="https://ocis-server:9200/remote.php/dav/files/admin"',
|
||||
'export LITMUS_URL="%s/remote.php/dav/files/admin"' % OCIS_URL,
|
||||
litmusCommand,
|
||||
],
|
||||
},
|
||||
@@ -2712,7 +2886,7 @@ def litmus(ctx, storage):
|
||||
"environment": environment,
|
||||
"commands": [
|
||||
"source .env",
|
||||
'export LITMUS_URL="https://ocis-server:9200/remote.php/dav/files/admin/Shares/new_folder/"',
|
||||
'export LITMUS_URL="%s/remote.php/dav/files/admin/Shares/new_folder/"' % OCIS_URL,
|
||||
litmusCommand,
|
||||
],
|
||||
},
|
||||
@@ -2722,7 +2896,7 @@ def litmus(ctx, storage):
|
||||
"environment": environment,
|
||||
"commands": [
|
||||
"source .env",
|
||||
'export LITMUS_URL="https://ocis-server:9200/remote.php/webdav/Shares/new_folder/"',
|
||||
'export LITMUS_URL="%s/remote.php/webdav/Shares/new_folder/"' % OCIS_URL,
|
||||
litmusCommand,
|
||||
],
|
||||
},
|
||||
@@ -2736,7 +2910,7 @@ def litmus(ctx, storage):
|
||||
# },
|
||||
# "commands": [
|
||||
# "source .env",
|
||||
# "export LITMUS_URL='https://ocis-server:9200/remote.php/dav/public-files/'$PUBLIC_TOKEN",
|
||||
# "export LITMUS_URL='%s/remote.php/dav/public-files/'$PUBLIC_TOKEN" % OCIS_URL,
|
||||
# litmusCommand,
|
||||
# ],
|
||||
# },
|
||||
@@ -2746,7 +2920,7 @@ def litmus(ctx, storage):
|
||||
"environment": environment,
|
||||
"commands": [
|
||||
"source .env",
|
||||
"export LITMUS_URL='https://ocis-server:9200/remote.php/dav/spaces/'$SPACE_ID",
|
||||
"export LITMUS_URL='%s/remote.php/dav/spaces/'$SPACE_ID" % OCIS_URL,
|
||||
litmusCommand,
|
||||
],
|
||||
},
|
||||
@@ -2755,7 +2929,7 @@ def litmus(ctx, storage):
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -2975,10 +3149,11 @@ def wopiCollaborationService(name):
|
||||
|
||||
environment = {
|
||||
"MICRO_REGISTRY": "nats-js-kv",
|
||||
"MICRO_REGISTRY_ADDRESS": "ocis-server:9233",
|
||||
"MICRO_REGISTRY_ADDRESS": "%s:9233" % OCIS_SERVER_NAME,
|
||||
"COLLABORATION_LOG_LEVEL": "debug",
|
||||
"COLLABORATION_GRPC_ADDR": "0.0.0.0:9301",
|
||||
"COLLABORATION_HTTP_ADDR": "0.0.0.0:9300",
|
||||
"COLLABORATION_DEBUG_ADDR": "0.0.0.0:9304",
|
||||
"COLLABORATION_APP_PROOF_DISABLE": "true",
|
||||
"COLLABORATION_APP_INSECURE": "true",
|
||||
"COLLABORATION_CS3API_DATAGATEWAY_INSECURE": "true",
|
||||
@@ -3003,17 +3178,7 @@ def wopiCollaborationService(name):
|
||||
|
||||
environment["COLLABORATION_WOPI_SRC"] = "http://%s:9300" % service_name
|
||||
|
||||
return [
|
||||
{
|
||||
"name": service_name,
|
||||
"image": OC_CI_GOLANG,
|
||||
"detach": True,
|
||||
"environment": environment,
|
||||
"commands": [
|
||||
"ocis/bin/ocis collaboration server",
|
||||
],
|
||||
},
|
||||
]
|
||||
return startOcisService("collaboration", service_name, environment)
|
||||
|
||||
def tikaService():
|
||||
return [{
|
||||
@@ -3080,9 +3245,11 @@ def k6LoadTests(ctx):
|
||||
script_link = "%s/%s/tests/config/drone/run_k6_tests.sh" % (ocis_git_base_url, ctx.build.commit)
|
||||
|
||||
event_array = ["cron"]
|
||||
trigger_ref = ["refs/heads/master"]
|
||||
|
||||
if "k6-test" in ctx.build.title.lower():
|
||||
event_array.append("pull_request")
|
||||
trigger_ref.append("refs/pull/**")
|
||||
|
||||
return [{
|
||||
"kind": "pipeline",
|
||||
@@ -3135,6 +3302,7 @@ def k6LoadTests(ctx):
|
||||
"depends_on": [],
|
||||
"trigger": {
|
||||
"event": event_array,
|
||||
"ref": trigger_ref,
|
||||
},
|
||||
}]
|
||||
|
||||
@@ -3148,6 +3316,20 @@ def waitForServices(name, services = []):
|
||||
],
|
||||
}]
|
||||
|
||||
def ocisHealthCheck(name, services = []):
|
||||
commands = []
|
||||
timeout = 300
|
||||
curl_command = ["timeout %s bash -c 'while [ $(curl -s %s/%s ", "-w %{http_code} -o /dev/null) != 200 ]; do sleep 1; done'"]
|
||||
for service in services:
|
||||
commands.append(curl_command[0] % (timeout, service, "healthz") + curl_command[1])
|
||||
commands.append(curl_command[0] % (timeout, service, "readyz") + curl_command[1])
|
||||
|
||||
return [{
|
||||
"name": "health-check-%s" % name,
|
||||
"image": OC_CI_ALPINE,
|
||||
"commands": commands,
|
||||
}]
|
||||
|
||||
def collaboraService():
|
||||
return [
|
||||
{
|
||||
@@ -3157,7 +3339,7 @@ def collaboraService():
|
||||
"detach": True,
|
||||
"environment": {
|
||||
"DONT_GEN_SSL_CERT": "set",
|
||||
"extra_params": "--o:ssl.enable=true --o:ssl.termination=true --o:welcome.enable=false --o:net.frame_ancestors=https://ocis-server:9200",
|
||||
"extra_params": "--o:ssl.enable=true --o:ssl.termination=true --o:welcome.enable=false --o:net.frame_ancestors=%s" % OCIS_URL,
|
||||
},
|
||||
"commands": [
|
||||
"coolconfig generate-proof-key",
|
||||
|
||||
+422
-310
@@ -1,9 +1,8 @@
|
||||
# Table of Contents
|
||||
|
||||
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
|
||||
* [Changelog for 7.0.1](#changelog-for-701-2025-02-07)
|
||||
* [Changelog for 7.0.0](#changelog-for-700-2024-12-17)
|
||||
* [Changelog for 5.0.9](#changelog-for-509-2024-11-14)
|
||||
* [Changelog for 7.0.0-rc.2](#changelog-for-700-rc2-2024-11-12)
|
||||
* [Changelog for 7.0.0-rc.1](#changelog-for-700-rc1-2024-11-07)
|
||||
* [Changelog for 6.6.1](#changelog-for-661-2024-10-24)
|
||||
* [Changelog for 6.6.0](#changelog-for-660-2024-10-21)
|
||||
* [Changelog for 6.5.0](#changelog-for-650-2024-10-01)
|
||||
@@ -54,15 +53,52 @@
|
||||
* [Changelog for 1.1.0](#changelog-for-110-2021-01-22)
|
||||
* [Changelog for 1.0.0](#changelog-for-100-2020-12-17)
|
||||
|
||||
# Changelog for [unreleased] (UNRELEASED)
|
||||
# Changelog for [7.0.1] (2025-02-07)
|
||||
|
||||
The following sections list the changes for unreleased.
|
||||
The following sections list the changes for 7.0.1.
|
||||
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v5.0.9...master
|
||||
[7.0.1]: https://github.com/owncloud/ocis/compare/v7.0.0...v7.0.1
|
||||
|
||||
## Summary
|
||||
|
||||
* Enhancement - Update Web to v11.0.7: [#10978](https://github.com/owncloud/ocis/pull/10978)
|
||||
|
||||
## Details
|
||||
|
||||
* Enhancement - Update Web to v11.0.7: [#10978](https://github.com/owncloud/ocis/pull/10978)
|
||||
|
||||
- Bugfix [owncloud/web#12167](https://github.com/owncloud/web/pull/12167):
|
||||
Replace text editor: #12167
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10978
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.7
|
||||
|
||||
# Changelog for [7.0.0] (2024-12-17)
|
||||
|
||||
The following sections list the changes for 7.0.0.
|
||||
|
||||
[7.0.0]: https://github.com/owncloud/ocis/compare/v5.0.9...v7.0.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Generate short tokens to be used as access tokens for WOPI: [#10391](https://github.com/owncloud/ocis/pull/10391)
|
||||
* Bugfix - Fix put relative wopi operation for microsoft: [#10403](https://github.com/owncloud/ocis/pull/10403)
|
||||
* Bugfix - Make SSE keepalive interval configurable: [#10411](https://github.com/owncloud/ocis/pull/10411)
|
||||
* Bugfix - Removed 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting: [#10425](https://github.com/owncloud/ocis/pull/10425)
|
||||
* Bugfix - Micro registry cache fixes: [#10429](https://github.com/owncloud/ocis/pull/10429)
|
||||
* Bugfix - Fix the memlimit loglevel: [#10433](https://github.com/owncloud/ocis/pull/10433)
|
||||
* Bugfix - Log GRPC requests in debug mode: [#10438](https://github.com/owncloud/ocis/pull/10438)
|
||||
* Bugfix - Restart Postprocessing properly: [#10439](https://github.com/owncloud/ocis/pull/10439)
|
||||
* Bugfix - Allow to configure data server URL for ocm: [#10440](https://github.com/owncloud/ocis/pull/10440)
|
||||
* Bugfix - Respect proxy url when validating proofkeys: [#10462](https://github.com/owncloud/ocis/pull/10462)
|
||||
* Bugfix - Return wopi lock header in get lock response: [#10470](https://github.com/owncloud/ocis/pull/10470)
|
||||
* Bugfix - 'ocis backup consistency' fixed for file revisions: [#10493](https://github.com/owncloud/ocis/pull/10493)
|
||||
* Bugfix - Wait for services to be ready before registering them: [#10498](https://github.com/owncloud/ocis/pull/10498)
|
||||
* Bugfix - Fix 0-byte file uploads: [#10500](https://github.com/owncloud/ocis/pull/10500)
|
||||
* Bugfix - Fixed `sharedWithMe` response for OCM shares: [#10501](https://github.com/owncloud/ocis/pull/10501)
|
||||
* Bugfix - Fix gateway nats checks: [#10502](https://github.com/owncloud/ocis/pull/10502)
|
||||
* Bugfix - Fix idp guest role default assignment: [#10511](https://github.com/owncloud/ocis/pull/10511)
|
||||
* Bugfix - Remove mbreaker: [#10524](https://github.com/owncloud/ocis/pull/10524)
|
||||
* Bugfix - Fix impersonated request user mismatch: [#10548](https://github.com/owncloud/ocis/pull/10548)
|
||||
* Bugfix - Fix federated sharing when using an external IDP: [#10567](https://github.com/owncloud/ocis/pull/10567)
|
||||
* Bugfix - Fix node cache ttl updates: [#10575](https://github.com/owncloud/ocis/pull/10575)
|
||||
@@ -73,17 +109,162 @@ The following sections list the changes for unreleased.
|
||||
* Bugfix - Return an error if we can't get the keys and ensure they're cached: [#10590](https://github.com/owncloud/ocis/pull/10590)
|
||||
* Bugfix - Fix status code for thumbnail requests: [#10592](https://github.com/owncloud/ocis/pull/10592)
|
||||
* Bugfix - Fix the activity field mapping: [#10593](https://github.com/owncloud/ocis/pull/10593)
|
||||
* Bugfix - Bump Reva to v2.26.7: [#10612](https://github.com/owncloud/ocis/pull/10612)
|
||||
* Enhancement - Update web to v11.0.4: [#10569](https://github.com/owncloud/ocis/pull/10569)
|
||||
* Bugfix - Fix deny access for graph roles: [#10627](https://github.com/owncloud/ocis/pull/10627)
|
||||
* Bugfix - Fix link activity message: [#10663](https://github.com/owncloud/ocis/pull/10663)
|
||||
* Bugfix - Fix possible race condition when a thumbnails is stored in the FS: [#10693](https://github.com/owncloud/ocis/pull/10693)
|
||||
* Bugfix - Skip fetching members: [#10701](https://github.com/owncloud/ocis/pull/10701)
|
||||
* Bugfix - Fix FileInfo BreadcrumbFolderURL: [#10718](https://github.com/owncloud/ocis/pull/10718)
|
||||
* Bugfix - Fix graph drives response for federated shares: [#10730](https://github.com/owncloud/ocis/pull/10730)
|
||||
* Bugfix - GetLastModified property in the REPORT response will use RFC1123 format: [#10738](https://github.com/owncloud/ocis/pull/10738)
|
||||
* Bugfix - Unifi logging: [#10743](https://github.com/owncloud/ocis/pull/10743/)
|
||||
* Bugfix - Fix FileInfo BreadcrumbFolderURL upd: [#10757](https://github.com/owncloud/ocis/pull/10757)
|
||||
* Bugfix - Bump Reva: [#10766](https://github.com/owncloud/ocis/pull/10766)
|
||||
* Enhancement - Create thumbnails for GGP MIME types: [#10304](https://github.com/owncloud/ocis/pull/10304)
|
||||
* Enhancement - Include a product name in the collaboration service: [#10335](https://github.com/owncloud/ocis/pull/10335)
|
||||
* Enhancement - Add web extensions to the ocis_full example: [#10399](https://github.com/owncloud/ocis/pull/10399)
|
||||
* Enhancement - Remove deprecated CLI commands: [#10432](https://github.com/owncloud/ocis/pull/10432)
|
||||
* Enhancement - Bump cs3api: [#10449](https://github.com/owncloud/ocis/pull/10449)
|
||||
* Enhancement - Bump reva to latest: [#10472](https://github.com/owncloud/ocis/pull/10472)
|
||||
* Enhancement - Concurrent userlog processing: [#10504](https://github.com/owncloud/ocis/pull/10504)
|
||||
* Enhancement - Concurrent autoaccept for shares: [#10507](https://github.com/owncloud/ocis/pull/10507)
|
||||
* Enhancement - Fetch shared resource metadata concurrently in graph: [#10683](https://github.com/owncloud/ocis/pull/10683)
|
||||
* Enhancement - Update web to v11.0.6: [#10755](https://github.com/owncloud/ocis/pull/10755)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Generate short tokens to be used as access tokens for WOPI: [#10391](https://github.com/owncloud/ocis/pull/10391)
|
||||
|
||||
Currently, the access tokens being used might be too long. In particular,
|
||||
Microsoft Office Online complains about the URL (which contains the access
|
||||
token) is too long and refuses to work.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10391
|
||||
|
||||
* Bugfix - Fix put relative wopi operation for microsoft: [#10403](https://github.com/owncloud/ocis/pull/10403)
|
||||
|
||||
We fixed a bug in the put relative wopi operation for microsoft. The response
|
||||
now contains the correct properties.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10403
|
||||
|
||||
* Bugfix - Make SSE keepalive interval configurable: [#10411](https://github.com/owncloud/ocis/pull/10411)
|
||||
|
||||
To prevent intermediate proxies from closing the SSE connection admins can now
|
||||
configure a `SSE_KEEPALIVE_INTERVAL`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10411
|
||||
|
||||
* Bugfix - Removed 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting: [#10425](https://github.com/owncloud/ocis/pull/10425)
|
||||
|
||||
The config option 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' was
|
||||
removed from the OCM service. The additional security provided by this setting
|
||||
is somewhat questionable and only provided in very specific setups.
|
||||
|
||||
We are not going through the normal deprecation process for this setting, as it
|
||||
was never really working anyway. If you have this setting in your configuration,
|
||||
it will be ignored. You can safely remove it.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10355
|
||||
https://github.com/owncloud/ocis/pull/10425
|
||||
|
||||
* Bugfix - Micro registry cache fixes: [#10429](https://github.com/owncloud/ocis/pull/10429)
|
||||
|
||||
We now invalidate cache entries when any of the nodes was not updated.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10429
|
||||
|
||||
* Bugfix - Fix the memlimit loglevel: [#10433](https://github.com/owncloud/ocis/pull/10433)
|
||||
|
||||
We set the memlimit default loglevel to error.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10427
|
||||
https://github.com/owncloud/ocis/pull/10433
|
||||
|
||||
* Bugfix - Log GRPC requests in debug mode: [#10438](https://github.com/owncloud/ocis/pull/10438)
|
||||
|
||||
When log level is set to debug we will now also log grpc requests.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10438
|
||||
|
||||
* Bugfix - Restart Postprocessing properly: [#10439](https://github.com/owncloud/ocis/pull/10439)
|
||||
|
||||
Properly differentiate between resume and restart postprocessing.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10439
|
||||
|
||||
* Bugfix - Allow to configure data server URL for ocm: [#10440](https://github.com/owncloud/ocis/pull/10440)
|
||||
|
||||
We introduced the `OCM_OCM_STORAGE_DATA_SERVER_URL` setting to fix a bug when
|
||||
downloading files from an OCM share. Before the data server URL defaulted to the
|
||||
listen address of the OCM server, which did not work when using 0.0.0.0 as the
|
||||
listen address.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10358
|
||||
https://github.com/owncloud/ocis/pull/10440
|
||||
|
||||
* Bugfix - Respect proxy url when validating proofkeys: [#10462](https://github.com/owncloud/ocis/pull/10462)
|
||||
|
||||
We fixed a bug where the proxied wopi URL was not used when validating
|
||||
proofkeys. This caused the validation to fail when the proxy was used.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10462
|
||||
|
||||
* Bugfix - Return wopi lock header in get lock response: [#10470](https://github.com/owncloud/ocis/pull/10470)
|
||||
|
||||
We fixed a bug where the wopi lock header was not returned in the get lock
|
||||
response. This is now fixed and the wopi validator tests are passing.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10470
|
||||
|
||||
* Bugfix - 'ocis backup consistency' fixed for file revisions: [#10493](https://github.com/owncloud/ocis/pull/10493)
|
||||
|
||||
A bug was fixed that caused the 'ocis backup consistency' command to incorrectly
|
||||
report inconistencies when file revisions with a zero value for the nano-second
|
||||
part of the timestamp were present.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9498
|
||||
https://github.com/owncloud/ocis/pull/10493
|
||||
|
||||
* Bugfix - Wait for services to be ready before registering them: [#10498](https://github.com/owncloud/ocis/pull/10498)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10498
|
||||
|
||||
* Bugfix - Fix 0-byte file uploads: [#10500](https://github.com/owncloud/ocis/pull/10500)
|
||||
|
||||
We fixed an issue where 0-byte files upload did not return the Location header.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10469
|
||||
https://github.com/owncloud/ocis/pull/10500
|
||||
|
||||
* Bugfix - Fixed `sharedWithMe` response for OCM shares: [#10501](https://github.com/owncloud/ocis/pull/10501)
|
||||
|
||||
OCM shares returned in the `sharedWithMe` response did not have the `mimeType`
|
||||
property populated correctly.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10495
|
||||
https://github.com/owncloud/ocis/pull/10501
|
||||
|
||||
* Bugfix - Fix gateway nats checks: [#10502](https://github.com/owncloud/ocis/pull/10502)
|
||||
|
||||
We now only check if nats is available when the gateway actually uses it.
|
||||
Furthermore, we added a backoff for checking the readys endpoint.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10502
|
||||
|
||||
* Bugfix - Fix idp guest role default assignment: [#10511](https://github.com/owncloud/ocis/pull/10511)
|
||||
|
||||
We fixed an idp guest role default assignment.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10474
|
||||
https://github.com/owncloud/ocis/pull/10511
|
||||
|
||||
* Bugfix - Remove mbreaker: [#10524](https://github.com/owncloud/ocis/pull/10524)
|
||||
|
||||
The circuit breaker is not handle correctly and leads therefore to more issues
|
||||
than it solves. We removed it.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10524
|
||||
|
||||
* Bugfix - Fix impersonated request user mismatch: [#10548](https://github.com/owncloud/ocis/pull/10548)
|
||||
|
||||
We fixed a user id and name mismatch in the impersonated auth-app API request
|
||||
@@ -165,7 +346,91 @@ The following sections list the changes for unreleased.
|
||||
field
|
||||
mapping
|
||||
|
||||
* Bugfix - Bump Reva to v2.26.7: [#10612](https://github.com/owncloud/ocis/pull/10612)
|
||||
* Bugfix - Fix deny access for graph roles: [#10627](https://github.com/owncloud/ocis/pull/10627)
|
||||
|
||||
We added a unified role "Cannot access" to prevent a regression when switching
|
||||
the share implementation to the graph API. This role is now used to deny access
|
||||
to a resource.The new role is not enabled by default. The whole deny feature is
|
||||
still experimental.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10627
|
||||
|
||||
* Bugfix - Fix link activity message: [#10663](https://github.com/owncloud/ocis/pull/10663)
|
||||
|
||||
We changed the link token to display name in the activity message.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10295
|
||||
https://github.com/owncloud/ocis/pull/10663
|
||||
|
||||
* Bugfix - Fix possible race condition when a thumbnails is stored in the FS: [#10693](https://github.com/owncloud/ocis/pull/10693)
|
||||
|
||||
A race condition could cause the thumbnail service to return a thumbnail with 0
|
||||
bytes or with partial content. In order to fix this, the service will create a
|
||||
temporary file with the contents and then rename that file to its final
|
||||
location.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10693
|
||||
|
||||
* Bugfix - Skip fetching members: [#10701](https://github.com/owncloud/ocis/pull/10701)
|
||||
|
||||
We now skip fetching group members when they are not needed.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10701
|
||||
|
||||
* Bugfix - Fix FileInfo BreadcrumbFolderURL: [#10718](https://github.com/owncloud/ocis/pull/10718)
|
||||
|
||||
We fixed the FileInfo.BreadcrumbFolderURL in a collaboration api"
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10718
|
||||
|
||||
* Bugfix - Fix graph drives response for federated shares: [#10730](https://github.com/owncloud/ocis/pull/10730)
|
||||
|
||||
Federated shares where erroneously showing up in the /me/drives response on the
|
||||
graph API.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10689
|
||||
https://github.com/owncloud/ocis/pull/10730
|
||||
|
||||
* Bugfix - GetLastModified property in the REPORT response will use RFC1123 format: [#10738](https://github.com/owncloud/ocis/pull/10738)
|
||||
|
||||
This will follow the standard and will also match the format of the same
|
||||
property in the PROPFIND response
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10738
|
||||
|
||||
* Bugfix - Unifi logging: [#10743](https://github.com/owncloud/ocis/pull/10743/)
|
||||
|
||||
We fixed some cases where we did not use the correct logger.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10743/
|
||||
|
||||
* Bugfix - Fix FileInfo BreadcrumbFolderURL upd: [#10757](https://github.com/owncloud/ocis/pull/10757)
|
||||
|
||||
Made GetScopeByKeyPrefix function as a private method of the FileConnector
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10757
|
||||
|
||||
* Bugfix - Bump Reva: [#10766](https://github.com/owncloud/ocis/pull/10766)
|
||||
|
||||
Bumps reva version to 2.27.0
|
||||
|
||||
* Bugfix [cs3org/reva#4985](https://github.com/cs3org/reva/pull/4985): Drop unneeded session locks
|
||||
* Bugfix [cs3org/reva#5000](https://github.com/cs3org/reva/pull/5000): Fix ceph build
|
||||
* Bugfix [cs3org/reva#4989](https://github.com/cs3org/reva/pull/4989): Deleting OCM share also updates storageprovider
|
||||
* Enhancement [cs3org/reva#4998](https://github.com/cs3org/reva/pull/4998): Emit event when an ocm share is received
|
||||
* Enhancement [cs3org/reva#4996](https://github.com/cs3org/reva/pull/4996): Get rid of some cases of unstructured logging
|
||||
|
||||
Bumps reva version to 2.26.8
|
||||
|
||||
* Fix [cs3org/reva#4983](https://github.com/cs3org/reva/pull/4983): Delete stale shares in the jsoncs3 share manager
|
||||
* Fix [cs3org/reva#4963](https://github.com/cs3org/reva/pull/4963): Fix name and displayName in an ocm
|
||||
* Fix [cs3org/reva#4968](https://github.com/cs3org/reva/pull/4968): Jsoncs3 cache fixes
|
||||
* Fix [cs3org/reva#4928](https://github.com/cs3org/reva/pull/4928): Propagate lock in PROPPATCH
|
||||
* Fix [cs3org/reva#4971](https://github.com/cs3org/reva/pull/4971): Use manager to list shares
|
||||
* Fix [cs3org/reva#4978](https://github.com/cs3org/reva/pull/4978): We added more trace spans in decomposedfs
|
||||
* Fix [cs3org/reva#4921](https://github.com/cs3org/reva/pull/4921): Polish propagation related code
|
||||
|
||||
Bugfix: Bump Reva to v2.26.7
|
||||
|
||||
* Fix [cs3org/reva#4964](https://github.com/cs3org/reva/issues/4964): Fix a wrong error code when approvider creates a new file
|
||||
|
||||
@@ -182,11 +447,128 @@ The following sections list the changes for unreleased.
|
||||
* Fix [cs3org/reva#4956](https://github.com/cs3org/reva/issues/4956): Improve posixfs error handling and logging
|
||||
* Fix [cs3org/reva#4951](https://github.com/cs3org/reva/issues/4951): Pass the initialized logger down the stack
|
||||
|
||||
Bugfix: Bump Reva to v2.26.5
|
||||
|
||||
* Fix [cs3org/reva#4926](https://github.com/cs3org/reva/issues/4926): Make etag always match content on downloads
|
||||
* Fix [cs3org/reva#4920](https://github.com/cs3org/reva/issues/4920): Return correct status codes for simple uploads
|
||||
* Fix [cs3org/reva#4924](https://github.com/cs3org/reva/issues/4924): Fix sync propagation
|
||||
* Fix [cs3org/reva#4916](https://github.com/cs3org/reva/issues/4916): Improve posixfs stability and performanc
|
||||
|
||||
Enhancement: Bump reva to 2.26.4
|
||||
|
||||
* Bugfix [cs3org/reva#4917](https://github.com/cs3org/reva/pull/4917): Fix 0-byte file uploads
|
||||
* Bugfix [cs3org/reva#4918](https://github.com/cs3org/reva/pull/4918): Fix app templates
|
||||
|
||||
Bump reva to 2.26.3
|
||||
|
||||
* Bugfix [cs3org/reva#4908](https://github.com/cs3org/reva/pull/4908): Add checksum to OCM storageprovider responses
|
||||
* Enhancement [cs3org/reva#4910](https://github.com/cs3org/reva/pull/4910): Bump cs3api
|
||||
* Enhancement [cs3org/reva#4909](https://github.com/cs3org/reva/pull/4909): Bump cs3api
|
||||
* Enhancement [cs3org/reva#4906](https://github.com/cs3org/reva/pull/4906): Bump cs3api
|
||||
|
||||
Bump reva to 2.26.2
|
||||
|
||||
* Enhancement [cs3org/reva#4897](https://github.com/cs3org/reva/pull/4897): Fix remaining quota calculation
|
||||
* Bugfix [cs3org/reva#4902](https://github.com/cs3org/reva/pull/4902): Fix quota calculation
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10766
|
||||
https://github.com/owncloud/ocis/pull/10735
|
||||
https://github.com/owncloud/ocis/pull/10612
|
||||
https://github.com/owncloud/ocis/pull/10552
|
||||
https://github.com/owncloud/ocis/pull/10539
|
||||
https://github.com/owncloud/ocis/pull/10419
|
||||
|
||||
* Enhancement - Update web to v11.0.4: [#10569](https://github.com/owncloud/ocis/pull/10569)
|
||||
* Enhancement - Create thumbnails for GGP MIME types: [#10304](https://github.com/owncloud/ocis/pull/10304)
|
||||
|
||||
Tags: web
|
||||
Creates thumbnails for newly added ggp files
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10304
|
||||
|
||||
* Enhancement - Include a product name in the collaboration service: [#10335](https://github.com/owncloud/ocis/pull/10335)
|
||||
|
||||
The product name will allow using a different app name. For example, a "CoolBox"
|
||||
app name might use a branded Collabora instance by using "Collabora" as product
|
||||
name.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10335
|
||||
https://github.com/owncloud/ocis/pull/10490
|
||||
|
||||
* Enhancement - Add web extensions to the ocis_full example: [#10399](https://github.com/owncloud/ocis/pull/10399)
|
||||
|
||||
We added some of the web extensions from ownCloud to the ocis_full docker
|
||||
compose example.
|
||||
|
||||
- importer - draw-io - external-sites - json-viewer - unzip - progressbars
|
||||
|
||||
These can be enabled in the .env file one by one.
|
||||
|
||||
Read more about ocis extensions in
|
||||
https://github.com/owncloud/web-extensions/blob/main/README.md
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10399
|
||||
|
||||
* Enhancement - Remove deprecated CLI commands: [#10432](https://github.com/owncloud/ocis/pull/10432)
|
||||
|
||||
We removed the following deprecated CLI commands: `ocis storage-users uploads
|
||||
list` `ocis storage-users uploads clean`
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10428
|
||||
https://github.com/owncloud/ocis/pull/10432
|
||||
|
||||
* Enhancement - Bump cs3api: [#10449](https://github.com/owncloud/ocis/pull/10449)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10449
|
||||
|
||||
* Enhancement - Bump reva to latest: [#10472](https://github.com/owncloud/ocis/pull/10472)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10472
|
||||
|
||||
* Enhancement - Concurrent userlog processing: [#10504](https://github.com/owncloud/ocis/pull/10504)
|
||||
|
||||
We now start multiple go routines that process events. The default of 5
|
||||
goroutines can be changed with the new `USERLOG_MAX_CONCURRENCY` environment
|
||||
variable.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10504
|
||||
|
||||
* Enhancement - Concurrent autoaccept for shares: [#10507](https://github.com/owncloud/ocis/pull/10507)
|
||||
|
||||
Shares for groups are now concurrently accepted. Tha default of 25 goroutinges
|
||||
can be changed with the new `FRONTEND_MAX_CONCURRENCY` environment variable.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10507
|
||||
https://github.com/owncloud/ocis/pull/10476
|
||||
|
||||
* Enhancement - Fetch shared resource metadata concurrently in graph: [#10683](https://github.com/owncloud/ocis/pull/10683)
|
||||
|
||||
We now concurrently stat shared resources when listing shares
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10683
|
||||
|
||||
* Enhancement - Update web to v11.0.6: [#10755](https://github.com/owncloud/ocis/pull/10755)
|
||||
|
||||
- Bugfix [owncloud/web#11992](https://github.com/owncloud/web/pull/11992): OCM
|
||||
invite flow - Bugfix
|
||||
[owncloud/web#11997](https://github.com/owncloud/web/pull/11997): Change search
|
||||
scope without search term - Bugfix
|
||||
[owncloud/web#11998](https://github.com/owncloud/web/pull/11998): Do not load
|
||||
version when sidebar is closed - Bugfix
|
||||
[owncloud/web#12000](https://github.com/owncloud/web/pull/12000): Use only space
|
||||
resource with driveType "project" as space in sidebar - Bugfix
|
||||
[owncloud/web#12002](https://github.com/owncloud/web/pull/12002): OCM share
|
||||
editing - Bugfix
|
||||
[owncloud/web#12002](https://github.com/owncloud/web/pull/12002): OCM share
|
||||
recipient issuer - Bugfix
|
||||
[owncloud/web#12008](https://github.com/owncloud/web/pull/12008): Missing
|
||||
activities on Shared with me page - Bugfix
|
||||
[owncloud/web#12010](https://github.com/owncloud/web/pull/12010): Sidebar file
|
||||
info for shares - Bugfix
|
||||
[owncloud/web#12012](https://github.com/owncloud/web/pull/12012): Show missing
|
||||
role name in link share panel - Bugfix
|
||||
[owncloud/web#12013](https://github.com/owncloud/web/pull/12013): Missing
|
||||
translations for share type filters - Bugfix
|
||||
[owncloud/web#12022](https://github.com/owncloud/web/pull/12022): Permanent link
|
||||
for shares
|
||||
|
||||
We updated ownCloud Web to v11.0.4. Please refer to the changelog (linked) for
|
||||
details on the web release.
|
||||
@@ -212,16 +594,44 @@ The following sections list the changes for unreleased.
|
||||
[owncloud/web#11929](https://github.com/owncloud/web/issues/11929): Unique
|
||||
request ids
|
||||
|
||||
We updated ownCloud Web to v11.0.2. Please refer to the changelog (linked) for
|
||||
details on the web release.
|
||||
|
||||
- Bugfix [owncloud/web#11803](https://github.com/owncloud/web/issues/11803):
|
||||
Files appearing in file list - Bugfix
|
||||
[owncloud/web#11804](https://github.com/owncloud/web/pull/11804): Add missing
|
||||
translations - Bugfix
|
||||
[owncloud/web#11806](https://github.com/owncloud/web/issues/11806): Folder size
|
||||
mismatch - Bugfix
|
||||
[owncloud/web#11813](https://github.com/owncloud/web/pull/11813): Preview image
|
||||
retries - Bugfix
|
||||
[owncloud/web#11817](https://github.com/owncloud/web/pull/11817): Respect post
|
||||
logout url - Bugfix
|
||||
[owncloud/web#11830](https://github.com/owncloud/web/issues/11830): Right side
|
||||
bar cut off - Bugfix
|
||||
[owncloud/web#11831](https://github.com/owncloud/web/pull/11831): Sidebar
|
||||
showing wrong shares - Bugfix
|
||||
[owncloud/web#11853](https://github.com/owncloud/web/issues/11853): Context menu
|
||||
"Open app in new tab" broken - Bugfix
|
||||
[owncloud/web#11008](https://github.com/owncloud/web/issues/11008): Show lock
|
||||
information in file details
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10755
|
||||
https://github.com/owncloud/ocis/pull/10569
|
||||
https://github.com/owncloud/ocis/pull/10604
|
||||
https://github.com/owncloud/ocis/pull/10467
|
||||
https://github.com/owncloud/ocis/pull/10503
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.6
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.3
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.4
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.1
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.2
|
||||
|
||||
# Changelog for [5.0.9] (2024-11-14)
|
||||
|
||||
The following sections list the changes for 5.0.9.
|
||||
|
||||
[5.0.9]: https://github.com/owncloud/ocis/compare/v7.0.0-rc.2...v5.0.9
|
||||
[5.0.9]: https://github.com/owncloud/ocis/compare/v6.6.1...v5.0.9
|
||||
|
||||
## Summary
|
||||
|
||||
@@ -259,304 +669,6 @@ The following sections list the changes for 5.0.9.
|
||||
https://github.com/owncloud/ocis/pull/9035
|
||||
https://github.com/owncloud/ocis/pull/9069
|
||||
|
||||
# Changelog for [7.0.0-rc.2] (2024-11-12)
|
||||
|
||||
The following sections list the changes for 7.0.0-rc.2.
|
||||
|
||||
[7.0.0-rc.2]: https://github.com/owncloud/ocis/compare/v7.0.0-rc.1...v7.0.0-rc.2
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Fix idp guest role default assignment: [#10511](https://github.com/owncloud/ocis/pull/10511)
|
||||
* Bugfix - Remove mbreaker: [#10524](https://github.com/owncloud/ocis/pull/10524)
|
||||
* Bugfix - Bump Reva to v2.26.5: [#10552](https://github.com/owncloud/ocis/pull/10552)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Fix idp guest role default assignment: [#10511](https://github.com/owncloud/ocis/pull/10511)
|
||||
|
||||
We fixed an idp guest role default assignment.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10474
|
||||
https://github.com/owncloud/ocis/pull/10511
|
||||
|
||||
* Bugfix - Remove mbreaker: [#10524](https://github.com/owncloud/ocis/pull/10524)
|
||||
|
||||
The circuit breaker is not handle correctly and leads therefore to more issues
|
||||
than it solves. We removed it.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10524
|
||||
|
||||
* Bugfix - Bump Reva to v2.26.5: [#10552](https://github.com/owncloud/ocis/pull/10552)
|
||||
|
||||
* Fix [cs3org/reva#4926](https://github.com/cs3org/reva/issues/4926): Make etag always match content on downloads
|
||||
* Fix [cs3org/reva#4920](https://github.com/cs3org/reva/issues/4920): Return correct status codes for simple uploads
|
||||
* Fix [cs3org/reva#4924](https://github.com/cs3org/reva/issues/4924): Fix sync propagation
|
||||
* Fix [cs3org/reva#4916](https://github.com/cs3org/reva/issues/4916): Improve posixfs stability and performanc
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10552
|
||||
https://github.com/owncloud/ocis/pull/10539
|
||||
|
||||
# Changelog for [7.0.0-rc.1] (2024-11-07)
|
||||
|
||||
The following sections list the changes for 7.0.0-rc.1.
|
||||
|
||||
[7.0.0-rc.1]: https://github.com/owncloud/ocis/compare/v6.6.1...v7.0.0-rc.1
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Generate short tokens to be used as access tokens for WOPI: [#10391](https://github.com/owncloud/ocis/pull/10391)
|
||||
* Bugfix - Fix put relative wopi operation for microsoft: [#10403](https://github.com/owncloud/ocis/pull/10403)
|
||||
* Bugfix - Make SSE keepalive interval configurable: [#10411](https://github.com/owncloud/ocis/pull/10411)
|
||||
* Bugfix - Removed 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting: [#10425](https://github.com/owncloud/ocis/pull/10425)
|
||||
* Bugfix - Micro registry cache fixes: [#10429](https://github.com/owncloud/ocis/pull/10429)
|
||||
* Bugfix - Fix the memlimit loglevel: [#10433](https://github.com/owncloud/ocis/pull/10433)
|
||||
* Bugfix - Restart Postprocessing properly: [#10439](https://github.com/owncloud/ocis/pull/10439)
|
||||
* Bugfix - Allow to configure data server URL for ocm: [#10440](https://github.com/owncloud/ocis/pull/10440)
|
||||
* Bugfix - Respect proxy url when validating proofkeys: [#10462](https://github.com/owncloud/ocis/pull/10462)
|
||||
* Bugfix - Return wopi lock header in get lock response: [#10470](https://github.com/owncloud/ocis/pull/10470)
|
||||
* Bugfix - 'ocis backup consistency' fixed for file revisions: [#10493](https://github.com/owncloud/ocis/pull/10493)
|
||||
* Bugfix - Wait for services to be ready before registering them: [#10498](https://github.com/owncloud/ocis/pull/10498)
|
||||
* Bugfix - Fix 0-byte file uploads: [#10500](https://github.com/owncloud/ocis/pull/10500)
|
||||
* Bugfix - Fixed `sharedWithMe` response for OCM shares: [#10501](https://github.com/owncloud/ocis/pull/10501)
|
||||
* Bugfix - Fix gateway nats checks: [#10502](https://github.com/owncloud/ocis/pull/10502)
|
||||
* Enhancement - Create thumbnails for GGP MIME types: [#10304](https://github.com/owncloud/ocis/pull/10304)
|
||||
* Enhancement - Include a product name in the collaboration service: [#10335](https://github.com/owncloud/ocis/pull/10335)
|
||||
* Enhancement - Add web extensions to the ocis_full example: [#10399](https://github.com/owncloud/ocis/pull/10399)
|
||||
* Enhancement - Bump reva to 2.26.4: [#10419](https://github.com/owncloud/ocis/pull/10419)
|
||||
* Enhancement - Remove deprecated CLI commands: [#10432](https://github.com/owncloud/ocis/pull/10432)
|
||||
* Enhancement - Bump cs3api: [#10449](https://github.com/owncloud/ocis/pull/10449)
|
||||
* Enhancement - Update web to v11.0.2: [#10467](https://github.com/owncloud/ocis/pull/10467)
|
||||
* Enhancement - Bump reva to latest: [#10472](https://github.com/owncloud/ocis/pull/10472)
|
||||
* Enhancement - Concurrent userlog processing: [#10504](https://github.com/owncloud/ocis/pull/10504)
|
||||
* Enhancement - Concurrent autoaccept for shares: [#10507](https://github.com/owncloud/ocis/pull/10507)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Generate short tokens to be used as access tokens for WOPI: [#10391](https://github.com/owncloud/ocis/pull/10391)
|
||||
|
||||
Currently, the access tokens being used might be too long. In particular,
|
||||
Microsoft Office Online complains about the URL (which contains the access
|
||||
token) is too long and refuses to work.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10391
|
||||
|
||||
* Bugfix - Fix put relative wopi operation for microsoft: [#10403](https://github.com/owncloud/ocis/pull/10403)
|
||||
|
||||
We fixed a bug in the put relative wopi operation for microsoft. The response
|
||||
now contains the correct properties.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10403
|
||||
|
||||
* Bugfix - Make SSE keepalive interval configurable: [#10411](https://github.com/owncloud/ocis/pull/10411)
|
||||
|
||||
To prevent intermediate proxies from closing the SSE connection admins can now
|
||||
configure a `SSE_KEEPALIVE_INTERVAL`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10411
|
||||
|
||||
* Bugfix - Removed 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting: [#10425](https://github.com/owncloud/ocis/pull/10425)
|
||||
|
||||
The config option 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' was
|
||||
removed from the OCM service. The additional security provided by this setting
|
||||
is somewhat questionable and only provided in very specific setups.
|
||||
|
||||
We are not going through the normal deprecation process for this setting, as it
|
||||
was never really working anyway. If you have this setting in your configuration,
|
||||
it will be ignored. You can safely remove it.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10355
|
||||
https://github.com/owncloud/ocis/pull/10425
|
||||
|
||||
* Bugfix - Micro registry cache fixes: [#10429](https://github.com/owncloud/ocis/pull/10429)
|
||||
|
||||
We now invalidate cache entries when any of the nodes was not updated.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10429
|
||||
|
||||
* Bugfix - Fix the memlimit loglevel: [#10433](https://github.com/owncloud/ocis/pull/10433)
|
||||
|
||||
We set the memlimit default loglevel to error.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10427
|
||||
https://github.com/owncloud/ocis/pull/10433
|
||||
|
||||
* Bugfix - Restart Postprocessing properly: [#10439](https://github.com/owncloud/ocis/pull/10439)
|
||||
|
||||
Properly differentiate between resume and restart postprocessing.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10439
|
||||
|
||||
* Bugfix - Allow to configure data server URL for ocm: [#10440](https://github.com/owncloud/ocis/pull/10440)
|
||||
|
||||
We introduced the `OCM_OCM_STORAGE_DATA_SERVER_URL` setting to fix a bug when
|
||||
downloading files from an OCM share. Before the data server URL defaulted to the
|
||||
listen address of the OCM server, which did not work when using 0.0.0.0 as the
|
||||
listen address.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10358
|
||||
https://github.com/owncloud/ocis/pull/10440
|
||||
|
||||
* Bugfix - Respect proxy url when validating proofkeys: [#10462](https://github.com/owncloud/ocis/pull/10462)
|
||||
|
||||
We fixed a bug where the proxied wopi URL was not used when validating
|
||||
proofkeys. This caused the validation to fail when the proxy was used.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10462
|
||||
|
||||
* Bugfix - Return wopi lock header in get lock response: [#10470](https://github.com/owncloud/ocis/pull/10470)
|
||||
|
||||
We fixed a bug where the wopi lock header was not returned in the get lock
|
||||
response. This is now fixed and the wopi validator tests are passing.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10470
|
||||
|
||||
* Bugfix - 'ocis backup consistency' fixed for file revisions: [#10493](https://github.com/owncloud/ocis/pull/10493)
|
||||
|
||||
A bug was fixed that caused the 'ocis backup consistency' command to incorrectly
|
||||
report inconistencies when file revisions with a zero value for the nano-second
|
||||
part of the timestamp were present.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9498
|
||||
https://github.com/owncloud/ocis/pull/10493
|
||||
|
||||
* Bugfix - Wait for services to be ready before registering them: [#10498](https://github.com/owncloud/ocis/pull/10498)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10498
|
||||
|
||||
* Bugfix - Fix 0-byte file uploads: [#10500](https://github.com/owncloud/ocis/pull/10500)
|
||||
|
||||
We fixed an issue where 0-byte files upload did not return the Location header.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10469
|
||||
https://github.com/owncloud/ocis/pull/10500
|
||||
|
||||
* Bugfix - Fixed `sharedWithMe` response for OCM shares: [#10501](https://github.com/owncloud/ocis/pull/10501)
|
||||
|
||||
OCM shares returned in the `sharedWithMe` response did not have the `mimeType`
|
||||
property populated correctly.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10495
|
||||
https://github.com/owncloud/ocis/pull/10501
|
||||
|
||||
* Bugfix - Fix gateway nats checks: [#10502](https://github.com/owncloud/ocis/pull/10502)
|
||||
|
||||
We now only check if nats is available when the gateway actually uses it.
|
||||
Furthermore, we added a backoff for checking the readys endpoint.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10502
|
||||
|
||||
* Enhancement - Create thumbnails for GGP MIME types: [#10304](https://github.com/owncloud/ocis/pull/10304)
|
||||
|
||||
Creates thumbnails for newly added ggp files
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10304
|
||||
|
||||
* Enhancement - Include a product name in the collaboration service: [#10335](https://github.com/owncloud/ocis/pull/10335)
|
||||
|
||||
The product name will allow using a different app name. For example, a "CoolBox"
|
||||
app name might use a branded Collabora instance by using "Collabora" as product
|
||||
name.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10335
|
||||
https://github.com/owncloud/ocis/pull/10490
|
||||
|
||||
* Enhancement - Add web extensions to the ocis_full example: [#10399](https://github.com/owncloud/ocis/pull/10399)
|
||||
|
||||
We added some of the web extensions from ownCloud to the ocis_full docker
|
||||
compose example.
|
||||
|
||||
- importer - draw-io - external-sites - json-viewer - unzip - progressbars
|
||||
|
||||
These can be enabled in the .env file one by one.
|
||||
|
||||
Read more about ocis extensions in
|
||||
https://github.com/owncloud/web-extensions/blob/main/README.md
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10399
|
||||
|
||||
* Enhancement - Bump reva to 2.26.4: [#10419](https://github.com/owncloud/ocis/pull/10419)
|
||||
|
||||
* Bugfix [cs3org/reva#4917](https://github.com/cs3org/reva/pull/4917): Fix 0-byte file uploads
|
||||
* Bugfix [cs3org/reva#4918](https://github.com/cs3org/reva/pull/4918): Fix app templates
|
||||
|
||||
Bump reva to 2.26.3
|
||||
|
||||
* Bugfix [cs3org/reva#4908](https://github.com/cs3org/reva/pull/4908): Add checksum to OCM storageprovider responses
|
||||
* Enhancement [cs3org/reva#4910](https://github.com/cs3org/reva/pull/4910): Bump cs3api
|
||||
* Enhancement [cs3org/reva#4909](https://github.com/cs3org/reva/pull/4909): Bump cs3api
|
||||
* Enhancement [cs3org/reva#4906](https://github.com/cs3org/reva/pull/4906): Bump cs3api
|
||||
|
||||
Bump reva to 2.26.2
|
||||
|
||||
* Enhancement [cs3org/reva#4897](https://github.com/cs3org/reva/pull/4897): Fix remaining quota calculation
|
||||
* Bugfix [cs3org/reva#4902](https://github.com/cs3org/reva/pull/4902): Fix quota calculation
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10419
|
||||
|
||||
* Enhancement - Remove deprecated CLI commands: [#10432](https://github.com/owncloud/ocis/pull/10432)
|
||||
|
||||
We removed the following deprecated CLI commands: `ocis storage-users uploads
|
||||
list` `ocis storage-users uploads clean`
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10428
|
||||
https://github.com/owncloud/ocis/pull/10432
|
||||
|
||||
* Enhancement - Bump cs3api: [#10449](https://github.com/owncloud/ocis/pull/10449)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10449
|
||||
|
||||
* Enhancement - Update web to v11.0.2: [#10467](https://github.com/owncloud/ocis/pull/10467)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v11.0.2. Please refer to the changelog (linked) for
|
||||
details on the web release.
|
||||
|
||||
- Bugfix [owncloud/web#11803](https://github.com/owncloud/web/issues/11803):
|
||||
Files appearing in file list - Bugfix
|
||||
[owncloud/web#11804](https://github.com/owncloud/web/pull/11804): Add missing
|
||||
translations - Bugfix
|
||||
[owncloud/web#11806](https://github.com/owncloud/web/issues/11806): Folder size
|
||||
mismatch - Bugfix
|
||||
[owncloud/web#11813](https://github.com/owncloud/web/pull/11813): Preview image
|
||||
retries - Bugfix
|
||||
[owncloud/web#11817](https://github.com/owncloud/web/pull/11817): Respect post
|
||||
logout url - Bugfix
|
||||
[owncloud/web#11830](https://github.com/owncloud/web/issues/11830): Right side
|
||||
bar cut off - Bugfix
|
||||
[owncloud/web#11831](https://github.com/owncloud/web/pull/11831): Sidebar
|
||||
showing wrong shares - Bugfix
|
||||
[owncloud/web#11853](https://github.com/owncloud/web/issues/11853): Context menu
|
||||
"Open app in new tab" broken - Bugfix
|
||||
[owncloud/web#11008](https://github.com/owncloud/web/issues/11008): Show lock
|
||||
information in file details
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10467
|
||||
https://github.com/owncloud/ocis/pull/10503
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.1
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.2
|
||||
|
||||
* Enhancement - Bump reva to latest: [#10472](https://github.com/owncloud/ocis/pull/10472)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10472
|
||||
|
||||
* Enhancement - Concurrent userlog processing: [#10504](https://github.com/owncloud/ocis/pull/10504)
|
||||
|
||||
We now start multiple go routines that process events. The default of 5
|
||||
goroutines can be changed with the new `USERLOG_MAX_CONCURRENCY` environment
|
||||
variable.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10504
|
||||
|
||||
* Enhancement - Concurrent autoaccept for shares: [#10507](https://github.com/owncloud/ocis/pull/10507)
|
||||
|
||||
Shares for groups are now concurrently accepted. Tha default of 25 goroutinges
|
||||
can be changed with the new `FRONTEND_MAX_CONCURRENCY` environment variable.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10507
|
||||
https://github.com/owncloud/ocis/pull/10476
|
||||
|
||||
# Changelog for [6.6.1] (2024-10-24)
|
||||
|
||||
The following sections list the changes for 6.6.1.
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
Enhancement: Bump reva to 2.26.4
|
||||
|
||||
* Bugfix [cs3org/reva#4917](https://github.com/cs3org/reva/pull/4917): Fix 0-byte file uploads
|
||||
* Bugfix [cs3org/reva#4918](https://github.com/cs3org/reva/pull/4918): Fix app templates
|
||||
|
||||
Bump reva to 2.26.3
|
||||
|
||||
* Bugfix [cs3org/reva#4908](https://github.com/cs3org/reva/pull/4908): Add checksum to OCM storageprovider responses
|
||||
* Enhancement [cs3org/reva#4910](https://github.com/cs3org/reva/pull/4910): Bump cs3api
|
||||
* Enhancement [cs3org/reva#4909](https://github.com/cs3org/reva/pull/4909): Bump cs3api
|
||||
* Enhancement [cs3org/reva#4906](https://github.com/cs3org/reva/pull/4906): Bump cs3api
|
||||
|
||||
|
||||
Bump reva to 2.26.2
|
||||
|
||||
* Enhancement [cs3org/reva#4897](https://github.com/cs3org/reva/pull/4897): Fix remaining quota calculation
|
||||
* Bugfix [cs3org/reva#4902](https://github.com/cs3org/reva/pull/4902): Fix quota calculation
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10419
|
||||
@@ -1,20 +0,0 @@
|
||||
Enhancement: Update web to v11.0.2
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v11.0.2. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
- Bugfix [owncloud/web#11803](https://github.com/owncloud/web/issues/11803): Files appearing in file list
|
||||
- Bugfix [owncloud/web#11804](https://github.com/owncloud/web/pull/11804): Add missing translations
|
||||
- Bugfix [owncloud/web#11806](https://github.com/owncloud/web/issues/11806): Folder size mismatch
|
||||
- Bugfix [owncloud/web#11813](https://github.com/owncloud/web/pull/11813): Preview image retries
|
||||
- Bugfix [owncloud/web#11817](https://github.com/owncloud/web/pull/11817): Respect post logout url
|
||||
- Bugfix [owncloud/web#11830](https://github.com/owncloud/web/issues/11830): Right side bar cut off
|
||||
- Bugfix [owncloud/web#11831](https://github.com/owncloud/web/pull/11831): Sidebar showing wrong shares
|
||||
- Bugfix [owncloud/web#11853](https://github.com/owncloud/web/issues/11853): Context menu "Open app in new tab" broken
|
||||
- Bugfix [owncloud/web#11008](https://github.com/owncloud/web/issues/11008): Show lock information in file details
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10467
|
||||
https://github.com/owncloud/ocis/pull/10503
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.1
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.2
|
||||
@@ -1,9 +0,0 @@
|
||||
Bugfix: Bump Reva to v2.26.5
|
||||
|
||||
* Fix [cs3org/reva#4926](https://github.com/cs3org/reva/issues/4926): Make etag always match content on downloads
|
||||
* Fix [cs3org/reva#4920](https://github.com/cs3org/reva/issues/4920): Return correct status codes for simple uploads
|
||||
* Fix [cs3org/reva#4924](https://github.com/cs3org/reva/issues/4924): Fix sync propagation
|
||||
* Fix [cs3org/reva#4916](https://github.com/cs3org/reva/issues/4916): Improve posixfs stability and performanc
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10552
|
||||
https://github.com/owncloud/ocis/pull/10539
|
||||
@@ -1,18 +0,0 @@
|
||||
Bugfix: Bump Reva to v2.26.7
|
||||
|
||||
* Fix [cs3org/reva#4964](https://github.com/cs3org/reva/issues/4964): Fix a wrong error code when approvider creates a new file
|
||||
|
||||
Bump Reva to v2.26.6
|
||||
|
||||
* Fix [cs3org/reva#4955](https://github.com/cs3org/reva/issues/4955): Allow small clock skew in reva token validation
|
||||
* Fix [cs3org/reva#4929](https://github.com/cs3org/reva/issues/4929): Fix flaky posixfs integration tests
|
||||
* Fix [cs3org/reva#4953](https://github.com/cs3org/reva/issues/4953): Avoid gateway panics
|
||||
* Fix [cs3org/reva#4959](https://github.com/cs3org/reva/issues/4959): Fix missing file touched event
|
||||
* Fix [cs3org/reva#4933](https://github.com/cs3org/reva/issues/4933): Fix federated sharing when using an external identity provider
|
||||
* Fix [cs3org/reva#4935](https://github.com/cs3org/reva/issues/4935): Enable datatx log
|
||||
* Fix [cs3org/reva#4936](https://github.com/cs3org/reva/issues/4936): Do not delete mlock files
|
||||
* Fix [cs3org/reva#4954](https://github.com/cs3org/reva/issues/4954): Prevent a panic when logging an error
|
||||
* Fix [cs3org/reva#4956](https://github.com/cs3org/reva/issues/4956): Improve posixfs error handling and logging
|
||||
* Fix [cs3org/reva#4951](https://github.com/cs3org/reva/issues/4951): Pass the initialized logger down the stack
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10612
|
||||
@@ -1,21 +0,0 @@
|
||||
Enhancement: Update web to v11.0.4
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v11.0.4. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
- Bugfix [owncloud/web#11870](https://github.com/owncloud/web/issues/11870): Preview image retries postprocessing
|
||||
- Bugfix [owncloud/web#11883](https://github.com/owncloud/web/issues/11883): Preview app Shared with me page
|
||||
- Bugfix [owncloud/web#11897](https://github.com/owncloud/web/issues/11897): "Save as" / "Open" when embed delegate authentication is enabled
|
||||
- Bugfix [owncloud/web#11900](https://github.com/owncloud/web/issues/11900): App top bar does not show location when shared file is opened
|
||||
- Bugfix [owncloud/web#11900](https://github.com/owncloud/web/issues/11900): Open from app and Save As feature broken when opened via shared file
|
||||
- Bugfix [owncloud/web#11904](https://github.com/owncloud/web/issues/11904): Public folder reload
|
||||
- Bugfix [owncloud/web#11916](https://github.com/owncloud/web/issues/11916): Fix order in roles drop down
|
||||
- Bugfix [owncloud/web#11923](https://github.com/owncloud/web/issues/11923): Allow create template with different editors
|
||||
- Bugfix [owncloud/web#11924](https://github.com/owncloud/web/issues/11924): Extension actions in right sidebar
|
||||
- Bugfix [owncloud/web#11929](https://github.com/owncloud/web/issues/11929): Unique request ids
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10569
|
||||
https://github.com/owncloud/ocis/pull/10604
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.3
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.4
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,68 @@
|
||||
Bugfix: Bump Reva
|
||||
|
||||
Bumps reva version to 2.27.0
|
||||
|
||||
* Bugfix [cs3org/reva#4985](https://github.com/cs3org/reva/pull/4985): Drop unneeded session locks
|
||||
* Bugfix [cs3org/reva#5000](https://github.com/cs3org/reva/pull/5000): Fix ceph build
|
||||
* Bugfix [cs3org/reva#4989](https://github.com/cs3org/reva/pull/4989): Deleting OCM share also updates storageprovider
|
||||
* Enhancement [cs3org/reva#4998](https://github.com/cs3org/reva/pull/4998): Emit event when an ocm share is received
|
||||
* Enhancement [cs3org/reva#4996](https://github.com/cs3org/reva/pull/4996): Get rid of some cases of unstructured logging
|
||||
|
||||
Bumps reva version to 2.26.8
|
||||
|
||||
* Fix [cs3org/reva#4983](https://github.com/cs3org/reva/pull/4983): Delete stale shares in the jsoncs3 share manager
|
||||
* Fix [cs3org/reva#4963](https://github.com/cs3org/reva/pull/4963): Fix name and displayName in an ocm
|
||||
* Fix [cs3org/reva#4968](https://github.com/cs3org/reva/pull/4968): Jsoncs3 cache fixes
|
||||
* Fix [cs3org/reva#4928](https://github.com/cs3org/reva/pull/4928): Propagate lock in PROPPATCH
|
||||
* Fix [cs3org/reva#4971](https://github.com/cs3org/reva/pull/4971): Use manager to list shares
|
||||
* Fix [cs3org/reva#4978](https://github.com/cs3org/reva/pull/4978): We added more trace spans in decomposedfs
|
||||
* Fix [cs3org/reva#4921](https://github.com/cs3org/reva/pull/4921): Polish propagation related code
|
||||
|
||||
Bugfix: Bump Reva to v2.26.7
|
||||
|
||||
* Fix [cs3org/reva#4964](https://github.com/cs3org/reva/issues/4964): Fix a wrong error code when approvider creates a new file
|
||||
|
||||
Bump Reva to v2.26.6
|
||||
|
||||
* Fix [cs3org/reva#4955](https://github.com/cs3org/reva/issues/4955): Allow small clock skew in reva token validation
|
||||
* Fix [cs3org/reva#4929](https://github.com/cs3org/reva/issues/4929): Fix flaky posixfs integration tests
|
||||
* Fix [cs3org/reva#4953](https://github.com/cs3org/reva/issues/4953): Avoid gateway panics
|
||||
* Fix [cs3org/reva#4959](https://github.com/cs3org/reva/issues/4959): Fix missing file touched event
|
||||
* Fix [cs3org/reva#4933](https://github.com/cs3org/reva/issues/4933): Fix federated sharing when using an external identity provider
|
||||
* Fix [cs3org/reva#4935](https://github.com/cs3org/reva/issues/4935): Enable datatx log
|
||||
* Fix [cs3org/reva#4936](https://github.com/cs3org/reva/issues/4936): Do not delete mlock files
|
||||
* Fix [cs3org/reva#4954](https://github.com/cs3org/reva/issues/4954): Prevent a panic when logging an error
|
||||
* Fix [cs3org/reva#4956](https://github.com/cs3org/reva/issues/4956): Improve posixfs error handling and logging
|
||||
* Fix [cs3org/reva#4951](https://github.com/cs3org/reva/issues/4951): Pass the initialized logger down the stack
|
||||
|
||||
Bugfix: Bump Reva to v2.26.5
|
||||
|
||||
* Fix [cs3org/reva#4926](https://github.com/cs3org/reva/issues/4926): Make etag always match content on downloads
|
||||
* Fix [cs3org/reva#4920](https://github.com/cs3org/reva/issues/4920): Return correct status codes for simple uploads
|
||||
* Fix [cs3org/reva#4924](https://github.com/cs3org/reva/issues/4924): Fix sync propagation
|
||||
* Fix [cs3org/reva#4916](https://github.com/cs3org/reva/issues/4916): Improve posixfs stability and performanc
|
||||
|
||||
Enhancement: Bump reva to 2.26.4
|
||||
|
||||
* Bugfix [cs3org/reva#4917](https://github.com/cs3org/reva/pull/4917): Fix 0-byte file uploads
|
||||
* Bugfix [cs3org/reva#4918](https://github.com/cs3org/reva/pull/4918): Fix app templates
|
||||
|
||||
Bump reva to 2.26.3
|
||||
|
||||
* Bugfix [cs3org/reva#4908](https://github.com/cs3org/reva/pull/4908): Add checksum to OCM storageprovider responses
|
||||
* Enhancement [cs3org/reva#4910](https://github.com/cs3org/reva/pull/4910): Bump cs3api
|
||||
* Enhancement [cs3org/reva#4909](https://github.com/cs3org/reva/pull/4909): Bump cs3api
|
||||
* Enhancement [cs3org/reva#4906](https://github.com/cs3org/reva/pull/4906): Bump cs3api
|
||||
|
||||
|
||||
Bump reva to 2.26.2
|
||||
|
||||
* Enhancement [cs3org/reva#4897](https://github.com/cs3org/reva/pull/4897): Fix remaining quota calculation
|
||||
* Bugfix [cs3org/reva#4902](https://github.com/cs3org/reva/pull/4902): Fix quota calculation
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10766
|
||||
https://github.com/owncloud/ocis/pull/10735
|
||||
https://github.com/owncloud/ocis/pull/10612
|
||||
https://github.com/owncloud/ocis/pull/10552
|
||||
https://github.com/owncloud/ocis/pull/10539
|
||||
https://github.com/owncloud/ocis/pull/10419
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix deny access for graph roles
|
||||
|
||||
We added a unified role "Cannot access" to prevent a regression when switching the share implementation to the graph API. This role is now used to deny access to a resource.The new role is not enabled by default. The whole deny feature is still experimental.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10627
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix link activity message
|
||||
|
||||
We changed the link token to display name in the activity message.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10663
|
||||
https://github.com/owncloud/ocis/issues/10295
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix FileInfo BreadcrumbFolderURL upd
|
||||
|
||||
Made GetScopeByKeyPrefix function as a private method of the FileConnector
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10757
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix FileInfo BreadcrumbFolderURL
|
||||
|
||||
We fixed the FileInfo.BreadcrumbFolderURL in a collaboration api"
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10718
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: fetch shared resource metadata concurrently in graph
|
||||
|
||||
We now concurrently stat shared resources when listing shares
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10683
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Skip fetching members
|
||||
|
||||
We now skip fetching group members when they are not needed.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10701
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,7 @@
|
||||
Bugfix: Fix graph drives response for federated shares
|
||||
|
||||
Federated shares where erroneously showing up in the /me/drives response
|
||||
on the graph API.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10730
|
||||
https://github.com/owncloud/ocis/issues/10689
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,8 @@
|
||||
Bugfix: Fix possible race condition when a thumbnails is stored in the FS
|
||||
|
||||
A race condition could cause the thumbnail service to return a thumbnail
|
||||
with 0 bytes or with partial content. In order to fix this, the service will
|
||||
create a temporary file with the contents and then rename that file to its
|
||||
final location.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10693
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Unifi logging
|
||||
|
||||
We fixed some cases where we did not use the correct logger.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10743/
|
||||
@@ -0,0 +1,49 @@
|
||||
Enhancement: Update web to v11.0.6
|
||||
|
||||
- Bugfix [owncloud/web#11992](https://github.com/owncloud/web/pull/11992): OCM invite flow
|
||||
- Bugfix [owncloud/web#11997](https://github.com/owncloud/web/pull/11997): Change search scope without search term
|
||||
- Bugfix [owncloud/web#11998](https://github.com/owncloud/web/pull/11998): Do not load version when sidebar is closed
|
||||
- Bugfix [owncloud/web#12000](https://github.com/owncloud/web/pull/12000): Use only space resource with driveType "project" as space in sidebar
|
||||
- Bugfix [owncloud/web#12002](https://github.com/owncloud/web/pull/12002): OCM share editing
|
||||
- Bugfix [owncloud/web#12002](https://github.com/owncloud/web/pull/12002): OCM share recipient issuer
|
||||
- Bugfix [owncloud/web#12008](https://github.com/owncloud/web/pull/12008): Missing activities on Shared with me page
|
||||
- Bugfix [owncloud/web#12010](https://github.com/owncloud/web/pull/12010): Sidebar file info for shares
|
||||
- Bugfix [owncloud/web#12012](https://github.com/owncloud/web/pull/12012): Show missing role name in link share panel
|
||||
- Bugfix [owncloud/web#12013](https://github.com/owncloud/web/pull/12013): Missing translations for share type filters
|
||||
- Bugfix [owncloud/web#12022](https://github.com/owncloud/web/pull/12022): Permanent link for shares
|
||||
|
||||
We updated ownCloud Web to v11.0.4. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
- Bugfix [owncloud/web#11870](https://github.com/owncloud/web/issues/11870): Preview image retries postprocessing
|
||||
- Bugfix [owncloud/web#11883](https://github.com/owncloud/web/issues/11883): Preview app Shared with me page
|
||||
- Bugfix [owncloud/web#11897](https://github.com/owncloud/web/issues/11897): "Save as" / "Open" when embed delegate authentication is enabled
|
||||
- Bugfix [owncloud/web#11900](https://github.com/owncloud/web/issues/11900): App top bar does not show location when shared file is opened
|
||||
- Bugfix [owncloud/web#11900](https://github.com/owncloud/web/issues/11900): Open from app and Save As feature broken when opened via shared file
|
||||
- Bugfix [owncloud/web#11904](https://github.com/owncloud/web/issues/11904): Public folder reload
|
||||
- Bugfix [owncloud/web#11916](https://github.com/owncloud/web/issues/11916): Fix order in roles drop down
|
||||
- Bugfix [owncloud/web#11923](https://github.com/owncloud/web/issues/11923): Allow create template with different editors
|
||||
- Bugfix [owncloud/web#11924](https://github.com/owncloud/web/issues/11924): Extension actions in right sidebar
|
||||
- Bugfix [owncloud/web#11929](https://github.com/owncloud/web/issues/11929): Unique request ids
|
||||
|
||||
We updated ownCloud Web to v11.0.2. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
- Bugfix [owncloud/web#11803](https://github.com/owncloud/web/issues/11803): Files appearing in file list
|
||||
- Bugfix [owncloud/web#11804](https://github.com/owncloud/web/pull/11804): Add missing translations
|
||||
- Bugfix [owncloud/web#11806](https://github.com/owncloud/web/issues/11806): Folder size mismatch
|
||||
- Bugfix [owncloud/web#11813](https://github.com/owncloud/web/pull/11813): Preview image retries
|
||||
- Bugfix [owncloud/web#11817](https://github.com/owncloud/web/pull/11817): Respect post logout url
|
||||
- Bugfix [owncloud/web#11830](https://github.com/owncloud/web/issues/11830): Right side bar cut off
|
||||
- Bugfix [owncloud/web#11831](https://github.com/owncloud/web/pull/11831): Sidebar showing wrong shares
|
||||
- Bugfix [owncloud/web#11853](https://github.com/owncloud/web/issues/11853): Context menu "Open app in new tab" broken
|
||||
- Bugfix [owncloud/web#11008](https://github.com/owncloud/web/issues/11008): Show lock information in file details
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10755
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.6
|
||||
https://github.com/owncloud/ocis/pull/10569
|
||||
https://github.com/owncloud/ocis/pull/10604
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.3
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.4
|
||||
https://github.com/owncloud/ocis/pull/10467
|
||||
https://github.com/owncloud/ocis/pull/10503
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.1
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.2
|
||||
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Bugfix: GetLastModified property in the REPORT response will use RFC1123 format
|
||||
|
||||
This will follow the standard and will also match the format of the same property in the PROPFIND response
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10738
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: Update Web to v11.0.7
|
||||
|
||||
- Bugfix [owncloud/web#12167](https://github.com/owncloud/web/pull/12167): Replace text editor: #12167
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10978
|
||||
https://github.com/owncloud/web/releases/tag/v11.0.7
|
||||
@@ -22,7 +22,6 @@
|
||||
- https://github.com/fschade.keys
|
||||
- https://github.com/kulmann.keys
|
||||
- https://github.com/micbar.keys
|
||||
- https://github.com/rhafer.keys
|
||||
- https://github.com/wkloucek.keys
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
- https://github.com/fschade.keys
|
||||
- https://github.com/kulmann.keys
|
||||
- https://github.com/micbar.keys
|
||||
- https://github.com/rhafer.keys
|
||||
- https://github.com/wkloucek.keys
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
- https://github.com/fschade.keys
|
||||
- https://github.com/kulmann.keys
|
||||
- https://github.com/micbar.keys
|
||||
- https://github.com/rhafer.keys
|
||||
- https://github.com/wkloucek.keys
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
|
||||
@@ -22,26 +22,24 @@
|
||||
- https://github.com/fschade.keys
|
||||
- https://github.com/kulmann.keys
|
||||
- https://github.com/micbar.keys
|
||||
- https://github.com/rhafer.keys
|
||||
- https://github.com/wkloucek.keys
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
git_url: https://github.com/owncloud/ocis.git
|
||||
ref: stable-5.0
|
||||
docker_compose_path: deployments/examples/ocis_wopi
|
||||
ref: master
|
||||
docker_compose_path: deployments/examples/ocis_full
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: 5.0.9
|
||||
OCIS_DOCKER_TAG: 7.0.0
|
||||
OCIS_DOMAIN: ocis.ocis.production.owncloud.works
|
||||
COMPANION_DOMAIN: companion.ocis.production.owncloud.works
|
||||
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis.production.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis.production.owncloud.works
|
||||
ONLYOFFICE_DOMAIN: onlyoffice.ocis.production.owncloud.works
|
||||
INBUCKET_DOMAIN: mail.ocis.production.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:collabora.yml:wopiserver.yml:companion.yml:inbucket.yml:monitoring.yml
|
||||
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:collabora.yml:web_extensions/extensions.yml:web_extensions/unzip.yml:web_extensions/importer.yml:inbucket.yml:monitoring_tracing/monitoring.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
- https://github.com/fschade.keys
|
||||
- https://github.com/kulmann.keys
|
||||
- https://github.com/micbar.keys
|
||||
- https://github.com/rhafer.keys
|
||||
- https://github.com/wkloucek.keys
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
- https://github.com/fschade.keys
|
||||
- https://github.com/kulmann.keys
|
||||
- https://github.com/micbar.keys
|
||||
- https://github.com/rhafer.keys
|
||||
- https://github.com/wkloucek.keys
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
- https://github.com/fschade.keys
|
||||
- https://github.com/kulmann.keys
|
||||
- https://github.com/micbar.keys
|
||||
- https://github.com/rhafer.keys
|
||||
- https://github.com/wkloucek.keys
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
- https://github.com/fschade.keys
|
||||
- https://github.com/kulmann.keys
|
||||
- https://github.com/micbar.keys
|
||||
- https://github.com/rhafer.keys
|
||||
- https://github.com/wkloucek.keys
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
|
||||
@@ -114,9 +114,18 @@ SMTP_AUTHENTICATION=
|
||||
# Allow insecure connections to the SMTP server. Defaults to false.
|
||||
SMTP_INSECURE=
|
||||
|
||||
# Addititional services to be started on ocis startup
|
||||
# The following list of services is not startet automatically and must be
|
||||
# manually defined for startup:
|
||||
# IMPORTANT: The notification service is MANDATORY, do not delete!
|
||||
# IMPORTANT: Add any services to the startup list comma separated like "notifications,antivirus" etc.
|
||||
START_ADDITIONAL_SERVICES="notifications"
|
||||
|
||||
|
||||
## oCIS Web Extensions ##
|
||||
# It is possible to use the oCIS Web Extensions to add custom functionality to the oCIS frontend.
|
||||
# For more details see https://github.com/owncloud/web-extensions/blob/main/README.md
|
||||
# Note: the leading colon is required to enable the service.
|
||||
# Enable this to create a new named volume
|
||||
#EXTENSIONS=:web_extensions/extensions.yml
|
||||
# Enable the desired extensions by uncommenting the following lines.
|
||||
@@ -196,6 +205,8 @@ COLLABORA_SSL_VERIFICATION=false
|
||||
|
||||
|
||||
### Virusscanner Settings ###
|
||||
# IMPORTANT: If you enable antivirus, you also MUST configure the START_ADDITIONAL_SERVICES
|
||||
# envvar in the Infinite Scale Settings above by adding 'antivirus' to the list.
|
||||
# Note: the leading colon is required to enable the service.
|
||||
#CLAMAV=:clamav.yml
|
||||
# Image version of the ClamAV container.
|
||||
|
||||
@@ -4,8 +4,7 @@ services:
|
||||
environment:
|
||||
ANTIVIRUS_SCANNER_TYPE: "clamav"
|
||||
ANTIVIRUS_CLAMAV_SOCKET: "/var/run/clamav/clamd.sock"
|
||||
# enable the antivirus service
|
||||
OCIS_ADD_RUN_SERVICES: "antivirus"
|
||||
# the antivirus service needs manual startup, see .env and ocis.yaml for START_ADDITIONAL_SERVICES
|
||||
# configure the antivirus service
|
||||
POSTPROCESSING_STEPS: "virusscan"
|
||||
# PROXY_TLS is set to "false", the download url has no https
|
||||
@@ -15,6 +14,7 @@ services:
|
||||
|
||||
clamav:
|
||||
image: clamav/clamav:${CLAMAV_DOCKER_TAG:-latest}
|
||||
# release notes: https://blog.clamav.net
|
||||
networks:
|
||||
ocis-net:
|
||||
volumes:
|
||||
|
||||
@@ -53,7 +53,8 @@ services:
|
||||
restart: always
|
||||
|
||||
collabora:
|
||||
image: collabora/code:24.04.5.1.1
|
||||
image: collabora/code:24.04.10.2.1
|
||||
# release notes: https://www.collaboraonline.com/release-notes/
|
||||
networks:
|
||||
ocis-net:
|
||||
environment:
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
---
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v3.1.6
|
||||
image: traefik:v3.2.2
|
||||
# release notes: https://github.com/traefik/traefik/releases
|
||||
networks:
|
||||
ocis-net:
|
||||
command:
|
||||
|
||||
@@ -11,6 +11,7 @@ services:
|
||||
|
||||
inbucket:
|
||||
image: inbucket/inbucket
|
||||
# changelog: https://github.com/inbucket/inbucket/blob/main/CHANGELOG.md
|
||||
networks:
|
||||
- ocis-net
|
||||
entrypoint:
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
services:
|
||||
minio:
|
||||
image: minio/minio:latest
|
||||
# release notes: https://github.com/minio/minio/releases
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
|
||||
@@ -7,6 +7,8 @@ services:
|
||||
- ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
ocis:
|
||||
image: ${OCIS_DOCKER_IMAGE:-owncloud/ocis}:${OCIS_DOCKER_TAG:-latest}
|
||||
# changelog: https://github.com/owncloud/ocis/tree/master/changelog
|
||||
# release notes: https://doc.owncloud.com/ocis_release_notes.html
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
@@ -16,8 +18,8 @@ services:
|
||||
# therefore we ignore the error and then start the ocis server
|
||||
command: ["-c", "ocis init || true; ocis server"]
|
||||
environment:
|
||||
# enable the notifications service as it is not started automatically
|
||||
OCIS_ADD_RUN_SERVICES: "notifications"
|
||||
# enable services that are not started automatically
|
||||
OCIS_ADD_RUN_SERVICES: ${START_ADDITIONAL_SERVICES}
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${LOG_LEVEL:-info}
|
||||
OCIS_LOG_COLOR: "${LOG_PRETTY:-false}"
|
||||
|
||||
@@ -51,7 +51,8 @@ services:
|
||||
onlyoffice:
|
||||
# if you want to use oo enterprise edition, use: onlyoffice/documentserver-ee:<version>
|
||||
# note, you also need to add a volume, see below
|
||||
image: onlyoffice/documentserver:8.2.0
|
||||
image: onlyoffice/documentserver:8.2.2
|
||||
# changelog https://github.com/ONLYOFFICE/DocumentServer/releases
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
services:
|
||||
tika:
|
||||
image: ${TIKA_IMAGE:-apache/tika:latest-full}
|
||||
# release notes: https://tika.apache.org
|
||||
networks:
|
||||
ocis-net:
|
||||
restart: always
|
||||
|
||||
@@ -129,8 +129,6 @@ If the underlying file system handles deleted files in a trash bin that allows r
|
||||
|
||||
If not available it will follow the [the Free Desktop Trash specificaton](https://specifications.freedesktop.org/trash-spec/trashspec-latest.html).
|
||||
|
||||
In the current state of the Posix FS Storage Driver, trash bin is not supported.
|
||||
|
||||
## Limitations
|
||||
|
||||
As of Q2/2024 the Posix FS Storage Driver is not officially supported and in technical preview state.
|
||||
@@ -138,7 +136,7 @@ As of Q2/2024 the Posix FS Storage Driver is not officially supported and in tec
|
||||
The tech preview comes with the following limitations:
|
||||
|
||||
1. Only inotify and GPFS file system change notification methods are supported
|
||||
1. Advanced features versioning and trashbin are not supported yet
|
||||
1. Versioning is not supported yet
|
||||
1. The space/project folders in the filesystem are named after the UUID, not the real space name
|
||||
1. No CephFS support yet
|
||||
1. Postprocessing (ie. anti virus check) does not happen for file actions outside of Infinite Scale
|
||||
|
||||
@@ -94,19 +94,20 @@ def get_deprecated(fileNew):
|
||||
deprecatedWith[key] = value
|
||||
return deprecatedWith
|
||||
|
||||
def create_adoc_start(type_text, from_version, to_version, creation_date, default):
|
||||
def create_adoc_start(type_text, from_version, to_version, creation_date, columns, closing):
|
||||
# create the page/table header
|
||||
# 'closing' contains variable column names dependen if added/removed ir deprecated
|
||||
a = '''// # {ftype} Variables between oCIS {ffrom} and oCIS {fto}
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per {fdate}
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
[width="100%",cols="{fcolumns}",options="header"]
|
||||
|===
|
||||
| Service| Variable| Description| {fdefault}
|
||||
| Service | Variable | Description | {fclosing}
|
||||
|
||||
'''.format(ftype = type_text, ffrom = from_version, fto = to_version, fdate = creation_date, fdefault = default)
|
||||
'''.format(ftype = type_text, ffrom = from_version, fto = to_version, fdate = creation_date, fcolumns = columns, fclosing = closing)
|
||||
return a
|
||||
|
||||
def create_adoc_end():
|
||||
@@ -116,38 +117,77 @@ def create_adoc_end():
|
||||
'''
|
||||
return a
|
||||
|
||||
def add_adoc_line(service, variable, description, default):
|
||||
# add a table line
|
||||
def add_adoc_line_1(service, variable, description, value):
|
||||
# add a table line for added/removed
|
||||
# the dummy values are only here to have the same number of parameters as add_adoc_line_2
|
||||
a = '''| {fservice}
|
||||
| {fvariable}
|
||||
| {fdescription}
|
||||
| {fdefault}
|
||||
| {fvalue}
|
||||
|
||||
'''.format(fservice = service, fvariable = variable, fdescription = description, fdefault = default)
|
||||
'''.format(fservice = service, fvariable = variable, fdescription = description, fvalue = value)
|
||||
return a
|
||||
|
||||
def create_table(type_text, source_dict, from_version, to_version, date_today, default = 'Default'):
|
||||
def add_adoc_line_2(service, variable, description, removalVersion, deprecationInfo):
|
||||
# add a table line for deprecated, this has different columns
|
||||
a = '''| {fservice}
|
||||
| {fvariable}
|
||||
| {fdescription}
|
||||
| {fremovalVersion}
|
||||
| {fdeprecationInfo}
|
||||
|
||||
'''.format(fservice = service, fvariable = variable, fdescription = description, fremovalVersion = removalVersion, fdeprecationInfo = deprecationInfo)
|
||||
return a
|
||||
|
||||
def create_table(type_text, source_dict, from_version, to_version, date_today, type = False):
|
||||
# get the table header
|
||||
a = create_adoc_start(type_text, from_version, to_version, date_today, default)
|
||||
cond_value = 'defaultValue' if default == 'Default' else 'removalVersion'
|
||||
# first add all ocis_
|
||||
for key, value in source_dict.items():
|
||||
if key.startswith('OCIS_'):
|
||||
a += add_adoc_line(
|
||||
'xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]',
|
||||
key,
|
||||
value['description'],
|
||||
value[cond_value]
|
||||
)
|
||||
# then add all others
|
||||
for key, value in source_dict.items():
|
||||
if not key.startswith('OCIS_'):
|
||||
a += add_adoc_line(
|
||||
'xref:{s-path}/xxx.adoc[xxx]',
|
||||
key,
|
||||
value['description'],
|
||||
value[cond_value]
|
||||
)
|
||||
columns = '~,~,~,~' if type == False else '~,~,~,~,~'
|
||||
closing = 'Default' if type == False else 'Removal Version | Deprecation Info'
|
||||
a = create_adoc_start(type_text, from_version, to_version, date_today, columns, closing)
|
||||
|
||||
if not type:
|
||||
# added and removed envvars
|
||||
# first add all ocis_
|
||||
for key, value in source_dict.items():
|
||||
if key.startswith('OCIS_'):
|
||||
a += add_adoc_line_1(
|
||||
'xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]',
|
||||
key,
|
||||
value['description'],
|
||||
value['defaultValue']
|
||||
)
|
||||
# then add all others
|
||||
for key, value in source_dict.items():
|
||||
if not key.startswith('OCIS_'):
|
||||
a += add_adoc_line_1(
|
||||
'xref:{s-path}/xxx.adoc[xxx]',
|
||||
key,
|
||||
value['description'],
|
||||
value['defaultValue']
|
||||
)
|
||||
else:
|
||||
# deprecated envvars
|
||||
# first add all ocis_
|
||||
for key, value in source_dict.items():
|
||||
if key.startswith('OCIS_'):
|
||||
a += add_adoc_line_2(
|
||||
'xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]',
|
||||
key,
|
||||
value['description'],
|
||||
value['removalVersion'],
|
||||
value['deprecationInfo']
|
||||
)
|
||||
# then add all others
|
||||
for key, value in source_dict.items():
|
||||
if not key.startswith('OCIS_'):
|
||||
a += add_adoc_line_2(
|
||||
'xref:{s-path}/xxx.adoc[xxx]',
|
||||
key,
|
||||
value['description'],
|
||||
value['removalVersion'],
|
||||
value['deprecationInfo']
|
||||
)
|
||||
|
||||
# finally close the table
|
||||
a += create_adoc_end()
|
||||
return a
|
||||
@@ -172,7 +212,7 @@ deprecatedWith = get_deprecated(fileNew)
|
||||
|
||||
a = create_table('Added', addedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'))
|
||||
r = create_table('Removed', removedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'))
|
||||
d = create_table('Deprecated', deprecatedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'), 'Removalversion')
|
||||
d = create_table('Deprecated', deprecatedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'), True)
|
||||
|
||||
write_output(a, 'added')
|
||||
write_output(r, 'removed')
|
||||
|
||||
+163
-489
File diff suppressed because it is too large.
Load diff
@@ -1,39 +1,24 @@
|
||||
// # Added Variables between oCIS 5.0.0 and oCIS 7.0.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2024.11.15
|
||||
// table created per 2024.12.02
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service| Variable| Description| Default
|
||||
| Service | Variable | Description | Default
|
||||
|
||||
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
|
||||
| OCIS_ASSET_THEMES_PATH
|
||||
| Serve ownCloud themes from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/themes
|
||||
| /var/lib/ocis/web/assets/themes
|
||||
|
||||
|
|
||||
| OCIS_DEFAULT_LANGUAGE
|
||||
| The default language used by services and the WebUI. If not defined, English will be used as default. See the documentation for more details.
|
||||
|
|
||||
|
||||
|
|
||||
| OCIS_DISABLE_VERSIONING
|
||||
| Disables versioning of files. When set to true, new uploads with the same filename will overwrite existing files instead of creating a new version.
|
||||
| false
|
||||
|
||||
|
|
||||
| OCIS_MACHINE_AUTH_API_KEY
|
||||
| The machine auth API key used to validate internal requests necessary to access resources from other services.
|
||||
|
|
||||
|
||||
|
|
||||
| OCIS_MAX_CONCURRENCY
|
||||
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
|
||||
| 1
|
||||
|
||||
|
|
||||
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
|
||||
| OCIS_SHOW_USER_EMAIL_IN_RESULTS
|
||||
| Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
|
||||
| false
|
||||
@@ -43,6 +28,11 @@
|
||||
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
||||
|
|
||||
|
||||
|
|
||||
| OCIS_WOPI_DISABLE_CHAT
|
||||
| Disable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/activitylog.adoc[Activitylog]
|
||||
| ACTIVITYLOG_TRANSLATION_PATH
|
||||
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
||||
@@ -168,11 +158,6 @@
|
||||
| Enable license checking to edit files. Needs to be enabled when using Microsoft365 with the business flow.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_LOCKNAME
|
||||
| Name for the app lock
|
||||
| com.github.owncloud.collaboration
|
||||
|
||||
|
|
||||
| COLLABORATION_APP_NAME
|
||||
| The name of the app which is shown to the user. You can chose freely but you are limited to a single word without special characters or whitespaces. We recommend to use pascalCase like 'CollaboraOnline'.
|
||||
@@ -198,11 +183,6 @@
|
||||
| Connect to the CS3API data gateway insecurely.
|
||||
| false
|
||||
|
||||
|
|
||||
| COLLABORATION_CS3API_GATEWAY_NAME
|
||||
| CS3 gateway used to look up user metadata.
|
||||
| com.owncloud.api.gateway
|
||||
|
||||
|
|
||||
| COLLABORATION_DEBUG_ADDR
|
||||
| Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
|
||||
@@ -428,6 +408,11 @@
|
||||
| A comma separated list of roles that are available for assignment.
|
||||
| [b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5 a8d5fe5e-96e3-418d-825b-534dbdf22b99 fb6c3e19-e378-47e5-b277-9732f9de6e21 58c63c02-1d89-4572-916a-870abc5a1b7d 2d00ce52-1fc2-4dbc-8b95-a73b73395f5a 1c996275-f1c9-4e71-abdf-a42f6495e960 312c0871-5ef7-4b3a-85b6-0e4074c64049]
|
||||
|
||||
|
|
||||
| GRAPH_MAX_CONCURRENCY
|
||||
| The maximum number of concurrent requests the service will handle.
|
||||
| 20
|
||||
|
||||
|
|
||||
| GRAPH_TRANSLATION_PATH
|
||||
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
||||
@@ -533,6 +518,11 @@
|
||||
| Template string to construct the paths of the projects space roots.
|
||||
|
|
||||
|
||||
|
|
||||
| STORAGE_USERS_OCIS_MAX_CONCURRENCY
|
||||
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
|
||||
| 1
|
||||
|
||||
|
|
||||
| STORAGE_USERS_OCIS_PERSONAL_SPACE_PATH_TEMPLATE
|
||||
| Template string to construct the paths of the personal space roots.
|
||||
@@ -561,7 +551,7 @@
|
||||
|
|
||||
| STORAGE_USERS_POSIX_ROOT
|
||||
| The directory where the filesystem storage will store its data. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/storage/users.
|
||||
|
|
||||
| /var/lib/ocis/storage/users
|
||||
|
||||
|
|
||||
| STORAGE_USERS_POSIX_SCAN_DEBOUNCE_DELAY
|
||||
|
||||
@@ -1,17 +1,102 @@
|
||||
// # Deprecated Variables between oCIS 5.0.0 and oCIS 7.0.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2024.11.07
|
||||
// table created per 2024.12.02
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
[width="100%",cols="~,~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service| Variable| Description| Removalversion
|
||||
| Service | Variable | Description | Removal Version | Deprecation Info
|
||||
|
||||
| xref:{s-path}/antivirus.adoc[Antivirus]
|
||||
| ANTIVIRUS_ICAP_TIMEOUT
|
||||
| Timeout for the ICAP client.
|
||||
| xref:{s-path}/clientlog.adoc[Clientlog]
|
||||
| CLIENTLOG_REVA_GATEWAY
|
||||
| CS3 gateway used to look up user metadata
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| CLIENTLOG_REVA_GATEWAY removed for simplicity.
|
||||
|
||||
| xref:{s-path}/frontend.adoc[Frontend]
|
||||
| FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE
|
||||
| Additional information attribute for the user like {{.Mail}}.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_ENABLE_DENIALS
|
||||
| EXPERIMENTAL: enable the feature to deny access on folders.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES
|
||||
| Include OCM sharees when listing sharees.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES
|
||||
| Include OCM shares when listing shares. See the OCM service documentation for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PERSONAL_NAMESPACE
|
||||
| Home namespace identifier.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PREFIX
|
||||
| URL path prefix for the OCS service. Note that the string must not start with '/'.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_SHARE_PREFIX
|
||||
| Path prefix for shares as part of an ocis resource. Note that the path must start with '/'.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD
|
||||
| The password to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME
|
||||
| The username to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE
|
||||
| Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE
|
||||
| The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES
|
||||
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TABLE
|
||||
| The database table the store should use.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL
|
||||
| Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL, the OCS API is deprecated
|
||||
|
||||
|===
|
||||
|
||||
@@ -1,43 +1,138 @@
|
||||
// # Removed Variables between oCIS 5.0.0 and oCIS 7.0.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2024.11.07
|
||||
// table created per 2024.12.02
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service| Variable| Description| Default
|
||||
| Service | Variable | Description | Default
|
||||
|
||||
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
|
||||
| OCIS_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| OCIS_DECOMPOSEDFS_METADATA_BACKEND
|
||||
| The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'.
|
||||
| messagepack
|
||||
|
||||
|
|
||||
| OCIS_ENABLE_RESHARING
|
||||
| Changing this value is NOT supported. Enables the support for re-sharing in the clients.
|
||||
| false
|
||||
|
||||
|
|
||||
| OCIS_PERSISTENT_STORE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/antivirus.adoc[Antivirus]
|
||||
| ANTIVIRUS_ICAP_TIMEOUT
|
||||
| Timeout for the ICAP client.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/eventhistory.adoc[Eventhistory]
|
||||
| EVENTHISTORY_STORE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived and used from the ocmem package though no explicit default was set.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/frontend.adoc[Frontend]
|
||||
| FRONTEND_ENABLE_RESHARING
|
||||
| Changing this value is NOT supported. Enables the support for re-sharing in the clients.
|
||||
| false
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_SIZE
|
||||
| Max number of entries to hold in the cache.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/gateway.adoc[Gateway]
|
||||
| GATEWAY_CREATE_HOME_CACHE_SIZE
|
||||
| The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| GATEWAY_PROVIDER_CACHE_SIZE
|
||||
| The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/graph.adoc[Graph]
|
||||
| GRAPH_CACHE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| GRAPH_ENABLE_RESHARING
|
||||
| Changing this value is NOT supported. Enables the support for re-sharing.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/ocm.adoc[OCM]
|
||||
| OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME
|
||||
| Verify the hostname of the incoming request against the hostname of the OCM provider.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/postprocessing.adoc[Postprocessing]
|
||||
| POSTPROCESSING_STORE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/proxy.adoc[Proxy]
|
||||
| PROXY_OIDC_USERINFO_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/settings.adoc[Settings]
|
||||
| SETTINGS_CACHE_SIZE
|
||||
| The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| SETTINGS_DATA_PATH
|
||||
| The directory where the filesystem storage will store ocis settings. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/settings.
|
||||
| /var/lib/ocis/settings
|
||||
|
||||
|
|
||||
| SETTINGS_STORE_TYPE
|
||||
| Store type configures the persistency driver. Supported values are 'metadata' and 'filesystem'. Note that the value 'filesystem' is considered deprecated.
|
||||
| metadata
|
||||
|
||||
| xref:{s-path}/sharing.adoc[Sharing]
|
||||
| SHARING_ENABLE_RESHARING
|
||||
| Changing this value is NOT supported. Enables the support for resharing.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/storage-system.adoc[Storage-System]
|
||||
| STORAGE_SYSTEM_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| STORAGE_SYSTEM_OCIS_METADATA_BACKEND
|
||||
| The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'.
|
||||
| messagepack
|
||||
|
||||
| xref:{s-path}/storage-users.adoc[Storage-Users]
|
||||
| STORAGE_USERS_FILEMETADATA_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| STORAGE_USERS_ID_CACHE_SIZE
|
||||
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
|
|
||||
| STORAGE_USERS_OCIS_METADATA_BACKEND
|
||||
| The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'.
|
||||
| messagepack
|
||||
|
||||
|
|
||||
| STORAGE_USERS_S3NG_METADATA_BACKEND
|
||||
| The backend to use for storing metadata. Supported values are 'xattrs' and 'messagepack'. The setting 'xattrs' uses extended attributes to store file metadata while 'messagepack' uses a dedicated file to store file metadata. Defaults to 'xattrs'.
|
||||
| messagepack
|
||||
|
||||
| The `Store` service has been removed completely
|
||||
| STORE_DATA_PATH
|
||||
| The directory where the filesystem storage will store ocis settings. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/store.
|
||||
@@ -108,10 +203,55 @@
|
||||
| The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
|
||||
|
||||
| xref:{s-path}/userlog.adoc[Userlog]
|
||||
| USERLOG_STORE_SIZE
|
||||
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
|
||||
| 0
|
||||
|
||||
| xref:{s-path}/web.adoc[Web]
|
||||
| WEB_ASSET_PATH
|
||||
| Serve ownCloud Web assets from a path on the filesystem instead of the builtin assets.
|
||||
|
|
||||
|
||||
|
|
||||
| WEB_OPTION_DISABLE_PREVIEWS
|
||||
| Set this option to 'true' to disable previews in all the different web file listing views. This can speed up file listings in folders with many files. The only list view that is not affected by this setting is the trash bin, as it does not allow previewing at all.
|
||||
| false
|
||||
|
||||
|
|
||||
| WEB_OPTION_HOME_FOLDER
|
||||
| Specifies a folder that is used when the user navigates 'home'. Navigating home gets triggered by clicking on the 'All files' menu item. The user will not be jailed in that directory, it simply serves as a default location. A static location can be provided, or variables of the user object to come up with a user specific home path can be used. This uses the twig template variable style and allows picking a value or a substring of a value of the authenticated user. Examples are '/Shares', '/{{.Id}}' and '/{{substr 0 3 .Id}}/{{.Id}'.
|
||||
|
|
||||
|
||||
|
|
||||
| WEB_OPTION_HOVERABLE_QUICK_ACTIONS
|
||||
| Set this option to 'true' to hide quick actions (buttons appearing on file rows) and only show them when the user hovers over the row with his mouse. Defaults to 'false'.
|
||||
| false
|
||||
|
||||
|
|
||||
| WEB_OPTION_OPEN_LINKS_WITH_DEFAULT_APP
|
||||
| Specifies whether single file link shares should be opened with the default app or not. If not opened by the default app, the Web UI just displays the file details.
|
||||
| true
|
||||
|
||||
|
|
||||
| WEB_OPTION_PREVIEW_FILE_MIMETYPES
|
||||
| A list of mimeTypes to specify which ones will be previewed in the UI. For example, to only preview jpg and text files, set this option to 'image/jpeg,text/plain'. See the Environment Variable Types description for more details.
|
||||
| [image/gif image/png image/jpeg text/plain image/tiff image/bmp image/x-ms-bmp application/vnd.geogebra.slides]
|
||||
|
||||
|
|
||||
| WEB_OPTION_ROUTING_ID_BASED
|
||||
| Enable or disable fileIds being added to the URL. Defaults to 'true', because otherwise spaces with name clashes cannot be resolved correctly. Note: Only disable this if you can guarantee on the server side, that spaces of the same namespace cannot have name clashes.
|
||||
| true
|
||||
|
||||
|
|
||||
| WEB_OPTION_SHARING_RECIPIENTS_PER_PAGE
|
||||
| Sets the number of users shown as recipients in the dropdown menu when sharing resources.
|
||||
| 200
|
||||
|
||||
|
|
||||
| WEB_OPTION_SIDEBAR_SHARES_SHOW_ALL_ON_LOAD
|
||||
| Sets the list of the (link) shares list in the sidebar to be initially expanded. Default is a collapsed state, only showing the first three shares.
|
||||
| false
|
||||
|
||||
|===
|
||||
|
||||
@@ -24,13 +24,18 @@ Use this checklist with copy/paste in your PR - right from the beginning. It ren
|
||||
bad `<img src="https://github.com/owncloud/ocis/blob/master/services/graph/images/mermaid-graph.svg" width="500" />`
|
||||
good `<img src="https://raw.githubusercontent.com/owncloud/ocis/master/services/graph/images/mermaid-graph.svg" width="500" />`
|
||||
- [ ] If new CLI commands are introduced, those commands must be described in the README.md.
|
||||
- Commands are added to `ocis/pkg/command`
|
||||
- [ ] If new global envvars are introduced, the name must start with `OCIS_`.
|
||||
- [ ] Add the service to the makefile in the ocis repo root.
|
||||
- [ ] Make the service startable for binary and individual startup:
|
||||
- For single binary add service to `ocis/pkg/runtime`
|
||||
- For individual startup add service to `ocis/pkg/commands`
|
||||
- [ ] Service startup:
|
||||
- add it to `ocis/pkg/command/services.go`
|
||||
- Include for automatic startup:
|
||||
- add it to `ocis/pkg/runtime/service/service.go`
|
||||
- Exclude from automatic startup:
|
||||
- add it to the `populate optional services` block in `ocis/pkg/runtime/service/service.go`
|
||||
- Add the service config to `ocis-pkg/config/defaultconfig.go`
|
||||
- [ ] If the service is using service accounts, add it to `ocis/pkg/init/init.go`
|
||||
- [ ] Check that the service properly responds to `ocis <service-name> health` and has `/healthz` and `/readyz` endpoints
|
||||
- [ ] Add the service to `.drone.star` to enable CI.
|
||||
- [ ] Inform doc team in an *early stage* to review the readme AND the environment variables created.
|
||||
- The description must reflect the behaviour AND usually has a positive code quality impact.
|
||||
@@ -45,4 +50,5 @@ Use this checklist with copy/paste in your PR - right from the beginning. It ren
|
||||
- [ ] Add metrics to the code to enable monitoring. See the proxy service for implementation details.
|
||||
- Plus add documentation about monitoring in the README.md file
|
||||
- [ ] When the service requires translations that have to be covered by the service and are not sourced by web, see the [add translation]({{< ref "./add-translations.md" >}}) documentation for more details.
|
||||
- [ ] If the service requires a `cache` or `store`, check existing services for implementation and add a documentation in the README.md
|
||||
```
|
||||
@@ -17,7 +17,7 @@ require (
|
||||
github.com/cenkalti/backoff v2.2.1+incompatible
|
||||
github.com/coreos/go-oidc/v3 v3.11.0
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1
|
||||
github.com/cs3org/reva/v2 v2.26.7
|
||||
github.com/cs3org/reva/v2 v2.27.0
|
||||
github.com/davidbyttow/govips/v2 v2.15.0
|
||||
github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8
|
||||
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
|
||||
@@ -38,7 +38,6 @@ require (
|
||||
github.com/go-micro/plugins/v4/wrapper/trace/opentelemetry v1.2.0
|
||||
github.com/go-playground/validator/v10 v10.23.0
|
||||
github.com/gofrs/uuid v4.4.0+incompatible
|
||||
github.com/golang-jwt/jwt/v4 v4.5.1
|
||||
github.com/golang-jwt/jwt/v5 v5.2.1
|
||||
github.com/golang/protobuf v1.5.4
|
||||
github.com/google/go-cmp v0.6.0
|
||||
@@ -46,7 +45,7 @@ require (
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/gookit/config/v2 v2.2.5
|
||||
github.com/gorilla/mux v1.8.1
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0
|
||||
github.com/invopop/validation v0.8.0
|
||||
github.com/jellydator/ttlcache/v2 v2.11.1
|
||||
github.com/jellydator/ttlcache/v3 v3.3.0
|
||||
@@ -55,7 +54,7 @@ require (
|
||||
github.com/kovidgoyal/imaging v1.6.3
|
||||
github.com/leonelquinteros/gotext v1.7.0
|
||||
github.com/libregraph/idm v0.5.0
|
||||
github.com/libregraph/lico v0.64.0
|
||||
github.com/libregraph/lico v0.65.0
|
||||
github.com/mitchellh/mapstructure v1.5.0
|
||||
github.com/mna/pigeon v1.3.0
|
||||
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
|
||||
@@ -65,7 +64,7 @@ require (
|
||||
github.com/olekukonko/tablewriter v0.0.5
|
||||
github.com/onsi/ginkgo v1.16.5
|
||||
github.com/onsi/ginkgo/v2 v2.22.0
|
||||
github.com/onsi/gomega v1.35.1
|
||||
github.com/onsi/gomega v1.36.0
|
||||
github.com/open-policy-agent/opa v0.70.0
|
||||
github.com/orcaman/concurrent-map v1.0.0
|
||||
github.com/owncloud/libre-graph-api-go v1.0.5-0.20240829135935-80dc00d6f5ea
|
||||
@@ -73,7 +72,7 @@ require (
|
||||
github.com/pkg/xattr v0.4.10
|
||||
github.com/prometheus/client_golang v1.20.5
|
||||
github.com/r3labs/sse/v2 v2.10.0
|
||||
github.com/riandyrn/otelchi v0.10.1
|
||||
github.com/riandyrn/otelchi v0.11.0
|
||||
github.com/rogpeppe/go-internal v1.13.1
|
||||
github.com/rs/cors v1.11.1
|
||||
github.com/rs/zerolog v1.33.0
|
||||
@@ -81,11 +80,11 @@ require (
|
||||
github.com/sirupsen/logrus v1.9.3
|
||||
github.com/spf13/afero v1.11.0
|
||||
github.com/spf13/cobra v1.8.1
|
||||
github.com/stretchr/testify v1.9.0
|
||||
github.com/stretchr/testify v1.10.0
|
||||
github.com/test-go/testify v1.1.4
|
||||
github.com/thejerf/suture/v4 v4.0.5
|
||||
github.com/thejerf/suture/v4 v4.0.6
|
||||
github.com/tidwall/gjson v1.18.0
|
||||
github.com/tus/tusd/v2 v2.5.0
|
||||
github.com/tus/tusd/v2 v2.6.0
|
||||
github.com/unrolled/secure v1.16.0
|
||||
github.com/urfave/cli/v2 v2.27.5
|
||||
github.com/xhit/go-simple-mail/v2 v2.16.0
|
||||
@@ -99,15 +98,15 @@ require (
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.32.0
|
||||
go.opentelemetry.io/otel/sdk v1.32.0
|
||||
go.opentelemetry.io/otel/trace v1.32.0
|
||||
golang.org/x/crypto v0.29.0
|
||||
golang.org/x/crypto v0.30.0
|
||||
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
|
||||
golang.org/x/image v0.22.0
|
||||
golang.org/x/net v0.31.0
|
||||
golang.org/x/net v0.32.0
|
||||
golang.org/x/oauth2 v0.24.0
|
||||
golang.org/x/sync v0.9.0
|
||||
golang.org/x/term v0.26.0
|
||||
golang.org/x/text v0.20.0
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28
|
||||
golang.org/x/sync v0.10.0
|
||||
golang.org/x/term v0.27.0
|
||||
golang.org/x/text v0.21.0
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697
|
||||
google.golang.org/grpc v1.68.0
|
||||
google.golang.org/protobuf v1.35.2
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
@@ -218,6 +217,7 @@ require (
|
||||
github.com/godbus/dbus/v5 v5.1.0 // indirect
|
||||
github.com/gofrs/flock v0.12.1 // indirect
|
||||
github.com/gogo/protobuf v1.3.2 // indirect
|
||||
github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
|
||||
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551 // indirect
|
||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||
github.com/golang/snappy v0.0.4 // indirect
|
||||
@@ -232,7 +232,7 @@ require (
|
||||
github.com/gorilla/schema v1.4.1 // indirect
|
||||
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
|
||||
github.com/hashicorp/go-hclog v1.6.3 // indirect
|
||||
github.com/hashicorp/go-plugin v1.6.1 // indirect
|
||||
github.com/hashicorp/go-plugin v1.6.2 // indirect
|
||||
github.com/hashicorp/yamux v0.1.1 // indirect
|
||||
github.com/huandu/xstrings v1.5.0 // indirect
|
||||
github.com/iancoleman/strcase v0.3.0 // indirect
|
||||
@@ -263,7 +263,6 @@ require (
|
||||
github.com/minio/md5-simd v1.1.2 // indirect
|
||||
github.com/minio/minio-go/v7 v7.0.78 // indirect
|
||||
github.com/mitchellh/copystructure v1.2.0 // indirect
|
||||
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
|
||||
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||
github.com/modern-go/reflect2 v1.0.2 // indirect
|
||||
@@ -328,12 +327,12 @@ require (
|
||||
go.uber.org/multierr v1.9.0 // indirect
|
||||
go.uber.org/zap v1.23.0 // indirect
|
||||
golang.org/x/mod v0.21.0 // indirect
|
||||
golang.org/x/sys v0.27.0 // indirect
|
||||
golang.org/x/sys v0.28.0 // indirect
|
||||
golang.org/x/time v0.7.0 // indirect
|
||||
golang.org/x/tools v0.26.0 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
||||
google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53 // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697 // indirect
|
||||
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
|
||||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
||||
gopkg.in/warnings.v0 v0.1.2 // indirect
|
||||
|
||||
@@ -255,8 +255,8 @@ github.com/crewjam/saml v0.4.14 h1:g9FBNx62osKusnFzs3QTN5L9CVA/Egfgm+stJShzw/c=
|
||||
github.com/crewjam/saml v0.4.14/go.mod h1:UVSZCf18jJkk6GpWNVqcyQJMD5HsRugBPf4I1nl2mME=
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1 h1:RU6LT6mkD16xZs011+8foU7T3LrPvTTSWeTQ9OgfhkA=
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1/go.mod h1:DedpcqXl193qF/08Y04IO0PpxyyMu8+GrkD6kWK2MEQ=
|
||||
github.com/cs3org/reva/v2 v2.26.7 h1:E5b1+H5ZsnmDgWWS/u3t4PtdmiMaY1bEEYVI/vE9xo8=
|
||||
github.com/cs3org/reva/v2 v2.26.7/go.mod h1:xC5N2XOrCRim/W55uyMsew8RwwFZbQ4hIaKshIbyToo=
|
||||
github.com/cs3org/reva/v2 v2.27.0 h1:Lq8VBRjQmyCfCO6+wC80Z4vH2Q1MfgORggg1e6mEcdM=
|
||||
github.com/cs3org/reva/v2 v2.27.0/go.mod h1:fJWmn7EkttWOWphZfiKdFOcHuthcUsU55aSN1VeTOhU=
|
||||
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/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
|
||||
@@ -594,8 +594,8 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vb
|
||||
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
|
||||
github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 h1:ad0vkEBuk23VJzZR9nkLVG0YAoN9coASF1GusYX6AlU=
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0/go.mod h1:igFoXX2ELCW06bol23DWPB5BEWfZISOzSP5K2sbLea0=
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 h1:TmHmbvxPmaegwhDubVz0lICL0J5Ka2vwTzhoePEXsGE=
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0/go.mod h1:qztMSjm835F2bXf+5HKAPIS5qsmQDqZna/PgVt4rWtI=
|
||||
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542/go.mod h1:Ow0tF8D4Kplbc8s8sSb3V2oUCygFHVp8gC3Dn6U4MNI=
|
||||
github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
|
||||
github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
|
||||
@@ -607,8 +607,8 @@ github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVH
|
||||
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
|
||||
github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
|
||||
github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
|
||||
github.com/hashicorp/go-plugin v1.6.1 h1:P7MR2UP6gNKGPp+y7EZw2kOiq4IR9WiqLvp0XOsVdwI=
|
||||
github.com/hashicorp/go-plugin v1.6.1/go.mod h1:XPHFku2tFo3o3QKFgSYo+cghcUhw1NA1hZyMK0PWAw0=
|
||||
github.com/hashicorp/go-plugin v1.6.2 h1:zdGAEd0V1lCaU0u+MxWQhtSDQmahpkwOun8U8EiRVog=
|
||||
github.com/hashicorp/go-plugin v1.6.2/go.mod h1:CkgLQ5CZqNmdL9U9JzM532t8ZiYQ35+pj3b1FD37R0Q=
|
||||
github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
|
||||
github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
|
||||
github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
|
||||
@@ -736,8 +736,8 @@ github.com/leonelquinteros/gotext v1.7.0 h1:jcJmF4AXqyamP7vuw2MMIKs+O3jAEmvrc5JQ
|
||||
github.com/leonelquinteros/gotext v1.7.0/go.mod h1:qJdoQuERPpccw7L70uoU+K/BvTfRBHYsisCQyFLXyvw=
|
||||
github.com/libregraph/idm v0.5.0 h1:tDMwKbAOZzdeDYMxVlY5PbSqRKO7dbAW9KT42A51WSk=
|
||||
github.com/libregraph/idm v0.5.0/go.mod h1:BGMwIQ/6orJSPVzJ1x6kgG2JyG9GY05YFmbsnaD80k0=
|
||||
github.com/libregraph/lico v0.64.0 h1:fbMV2ALjrOysGL0m58bhRrF+9e/HCL5RkoSwMN+xoWQ=
|
||||
github.com/libregraph/lico v0.64.0/go.mod h1:J2ZNe1DcO+K/5ptOOrQk2A2mn6OwXRdGUI4ASgw2WGg=
|
||||
github.com/libregraph/lico v0.65.0 h1:h8GYJhTOBuNvxQzdViHdWkNSUp+YbPB1H18Bfn/zdlY=
|
||||
github.com/libregraph/lico v0.65.0/go.mod h1:6w+kgoTYiXpJ7VriAaKJfeyF0eV/Stapd9pnK64du84=
|
||||
github.com/libregraph/oidc-go v1.1.0 h1:RyudjL3UyQblqeBQI06W53PniWobqODeeyAy6v/HumA=
|
||||
github.com/libregraph/oidc-go v1.1.0/go.mod h1:qW9ubcXvZrfbbWZBaLMuk7bt5qAUMYyt9/NtXQt07Cw=
|
||||
github.com/linode/linodego v0.25.3/go.mod h1:GSBKPpjoQfxEfryoCRcgkuUOCuVtGHWhzI8OMdycNTE=
|
||||
@@ -805,8 +805,6 @@ github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HK
|
||||
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
|
||||
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
|
||||
github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
|
||||
github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU=
|
||||
github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8=
|
||||
github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed/go.mod h1:3rdaFaCv4AyBgu5ALFM0+tSuHrBh6v692nyQe3ikrq0=
|
||||
github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
|
||||
github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
|
||||
@@ -871,8 +869,8 @@ github.com/onsi/ginkgo/v2 v2.22.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C
|
||||
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
|
||||
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
|
||||
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
|
||||
github.com/onsi/gomega v1.35.1 h1:Cwbd75ZBPxFSuZ6T+rN/WCb/gOc6YgFBXLlZLhC7Ds4=
|
||||
github.com/onsi/gomega v1.35.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog=
|
||||
github.com/onsi/gomega v1.36.0 h1:Pb12RlruUtj4XUuPUqeEWc6j5DkVVVA49Uf6YLfC95Y=
|
||||
github.com/onsi/gomega v1.36.0/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog=
|
||||
github.com/open-policy-agent/opa v0.70.0 h1:B3cqCN2iQAyKxK6+GI+N40uqkin+wzIrM7YA60t9x1U=
|
||||
github.com/open-policy-agent/opa v0.70.0/go.mod h1:Y/nm5NY0BX0BqjBriKUiV81sCl8XOjjvqQG7dXrggtI=
|
||||
github.com/opencontainers/runtime-spec v1.1.0 h1:HHUyrt9mwHUjtasSbXSMvs4cyFxh+Bll4AjJ9odEGpg=
|
||||
@@ -979,8 +977,8 @@ github.com/rainycape/memcache v0.0.0-20150622160815-1031fa0ce2f2/go.mod h1:7tZKc
|
||||
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
|
||||
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 h1:MkV+77GLUNo5oJ0jf870itWm3D0Sjh7+Za9gazKc5LQ=
|
||||
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
|
||||
github.com/riandyrn/otelchi v0.10.1 h1:x86f8M0pGvjW3tJUxpva4cpdNtMydLPnarIXHssYUy4=
|
||||
github.com/riandyrn/otelchi v0.10.1/go.mod h1:SWarhA5rdeiCNq+Ygc4p59ZGM5AtYCiyPU/3Q5rzT0M=
|
||||
github.com/riandyrn/otelchi v0.11.0 h1:x9MFoTgHcwCC2DdWkTEEZ2ZQFkbl6z7GXLQtTANN6Gk=
|
||||
github.com/riandyrn/otelchi v0.11.0/go.mod h1:FlBYmG9fBQu0jFRvZZrATP4mDvLX2H5gwELfpZvNlxY=
|
||||
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
|
||||
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
|
||||
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
|
||||
@@ -1078,8 +1076,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
|
||||
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
|
||||
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
||||
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
|
||||
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
||||
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||
github.com/stvp/go-udp-testing v0.0.0-20201019212854-469649b16807/go.mod h1:7jxmlfBCDBXRzr0eAQJ48XC1hBu1np4CS5+cHEYfwpc=
|
||||
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
|
||||
github.com/tchap/go-patricia/v2 v2.3.1 h1:6rQp39lgIYZ+MHmdEq4xzuk1t7OdC35z/xm0BGhTkes=
|
||||
@@ -1088,8 +1086,8 @@ github.com/test-go/testify v1.1.4 h1:Tf9lntrKUMHiXQ07qBScBTSA0dhYQlu83hswqelv1iE
|
||||
github.com/test-go/testify v1.1.4/go.mod h1:rH7cfJo/47vWGdi4GPj16x3/t1xGOj2YxzmNQzk2ghU=
|
||||
github.com/thanhpk/randstr v1.0.6 h1:psAOktJFD4vV9NEVb3qkhRSMvYh4ORRaj1+w/hn4B+o=
|
||||
github.com/thanhpk/randstr v1.0.6/go.mod h1:M/H2P1eNLZzlDwAzpkkkUvoyNNMbzRGhESZuEQk3r0U=
|
||||
github.com/thejerf/suture/v4 v4.0.5 h1:F1E/4FZwXWqvlWDKEUo6/ndLtxGAUzMmNqkrMknZbAA=
|
||||
github.com/thejerf/suture/v4 v4.0.5/go.mod h1:gu9Y4dXNUWFrByqRt30Rm9/UZ0wzRSt9AJS6xu/ZGxU=
|
||||
github.com/thejerf/suture/v4 v4.0.6 h1:QsuCEsCqb03xF9tPAsWAj8QOAJBgQI1c0VqJNaingg8=
|
||||
github.com/thejerf/suture/v4 v4.0.6/go.mod h1:gu9Y4dXNUWFrByqRt30Rm9/UZ0wzRSt9AJS6xu/ZGxU=
|
||||
github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
|
||||
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
|
||||
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
|
||||
@@ -1107,8 +1105,8 @@ github.com/toorop/go-dkim v0.0.0-20201103131630-e1cd1a0a5208/go.mod h1:BzWtXXrXz
|
||||
github.com/transip/gotransip/v6 v6.2.0/go.mod h1:pQZ36hWWRahCUXkFWlx9Hs711gLd8J4qdgLdRzmtY+g=
|
||||
github.com/trustelem/zxcvbn v1.0.1 h1:mp4JFtzdDYGj9WYSD3KQSkwwUumWNFzXaAjckaTYpsc=
|
||||
github.com/trustelem/zxcvbn v1.0.1/go.mod h1:zonUyKeh7sw6psPf/e3DtRqkRyZvAbOfjNz/aO7YQ5s=
|
||||
github.com/tus/tusd/v2 v2.5.0 h1:72/2Ws3kF0upYqENcbb0yr4aca0HByDNkIjOs5yh0es=
|
||||
github.com/tus/tusd/v2 v2.5.0/go.mod h1:dUDNT4TvTMSqsTZvdAokc8e5xsZ+SsxvOCOPoyEeOJQ=
|
||||
github.com/tus/tusd/v2 v2.6.0 h1:Je243QDKnFTvm/WkLH2bd1oQ+7trolrflRWyuI0PdWI=
|
||||
github.com/tus/tusd/v2 v2.6.0/go.mod h1:1Eb1lBoSRBfYJ/mQfFVjyw8ZdNMdBqW17vgQKl3Ah9g=
|
||||
github.com/uber-go/atomic v1.3.2/go.mod h1:/Ct5t2lcmbJ4OSe/waGBoaVvVqtO0bmtfVNex1PFV8g=
|
||||
github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
|
||||
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
|
||||
@@ -1231,8 +1229,8 @@ golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU
|
||||
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
|
||||
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
|
||||
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
|
||||
golang.org/x/crypto v0.29.0 h1:L5SG1JTTXupVV3n6sUqMTeWbjAyfPwoda2DLX8J8FrQ=
|
||||
golang.org/x/crypto v0.29.0/go.mod h1:+F4F4N5hv6v38hfeYwTdx20oUvLLc+QfrE9Ax9HtgRg=
|
||||
golang.org/x/crypto v0.30.0 h1:RwoQn3GkWiMkzlX562cLB7OxWvjH1L8xutO2WoJcRoY=
|
||||
golang.org/x/crypto v0.30.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
|
||||
@@ -1329,8 +1327,8 @@ golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
|
||||
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
|
||||
golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
|
||||
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
|
||||
golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo=
|
||||
golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM=
|
||||
golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI=
|
||||
golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
@@ -1354,8 +1352,8 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ
|
||||
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ=
|
||||
golang.org/x/sync v0.9.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
|
||||
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
|
||||
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
|
||||
golang.org/x/sys v0.0.0-20180622082034-63fc586f45fe/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
@@ -1437,8 +1435,8 @@ golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s=
|
||||
golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
|
||||
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
@@ -1449,8 +1447,8 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
|
||||
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
|
||||
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
|
||||
golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58=
|
||||
golang.org/x/term v0.26.0 h1:WEQa6V3Gja/BhNxg540hBip/kkaYtRg3cxg4oXSw4AU=
|
||||
golang.org/x/term v0.26.0/go.mod h1:Si5m1o57C5nBNQo5z1iq+XDijt21BDBDp2bK0QI8e3E=
|
||||
golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q=
|
||||
golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
|
||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
@@ -1467,8 +1465,8 @@ golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
|
||||
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
|
||||
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
|
||||
golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug=
|
||||
golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4=
|
||||
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
|
||||
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
|
||||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
@@ -1592,10 +1590,10 @@ google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6D
|
||||
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||
google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53 h1:Df6WuGvthPzc+JiQ/G+m+sNX24kc0aTBqoDN/0yyykE=
|
||||
google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53/go.mod h1:fheguH3Am2dGp1LfXkrvwqC/KlFq8F0nLq3LryOMrrE=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697 h1:pgr/4QbFyktUv9CtQ/Fq4gzEE6/Xs7iCXbktaGzLHbQ=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697/go.mod h1:+D9ySVjN8nY8YCVjc5O7PZDIdZporIDY3KaGfJunh88=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697 h1:LWZqQOEjDyONlF1H6afSWpAL/znlREo2tHfLoe+8LMA=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU=
|
||||
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
|
||||
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
|
||||
google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
|
||||
|
||||
@@ -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 = "7.0.0-rc.3+dev"
|
||||
LatestTag = "7.0.1+dev"
|
||||
|
||||
// Date indicates the build date.
|
||||
// This has been removed, it looks like you can only replace static strings with recent go versions
|
||||
|
||||
@@ -59,6 +59,14 @@ Allows specifying the blobstore to use. Defaults to `ocis`. Empty blobs will not
|
||||
* `--fail`\
|
||||
Exits with non-zero exit code if inconsistencies are found. Useful for automation.
|
||||
|
||||
### Cleanup Orphaned Shares
|
||||
|
||||
When a shared space or directory got deleted, use the `shares cleanup` command to remove those share orphans. This can't be done automatically at the moment.
|
||||
|
||||
```bash
|
||||
ocis shares cleanup
|
||||
```
|
||||
|
||||
### Revisions CLI
|
||||
|
||||
The revisions command allows removing the revisions of files in the storage.
|
||||
|
||||
@@ -24,6 +24,7 @@ import (
|
||||
"github.com/cs3org/reva/v2/pkg/store"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/config"
|
||||
"github.com/owncloud/ocis/v2/ocis/pkg/register"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
@@ -96,7 +97,7 @@ func check(c *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
tree := tree.New(lu, bs, o, store.Create())
|
||||
tree := tree.New(lu, bs, o, store.Create(), &zerolog.Logger{})
|
||||
|
||||
nId := c.String("node")
|
||||
n, err := lu.NodeFromSpaceID(context.Background(), nId)
|
||||
|
||||
@@ -519,7 +519,7 @@ func revaShareConfig(cfg *sharing.Config) map[string]interface{} {
|
||||
"machine_auth_apikey": cfg.UserSharingDrivers.CS3.SystemUserAPIKey,
|
||||
},
|
||||
"jsoncs3": map[string]interface{}{
|
||||
"gateway_addr": cfg.UserSharingDrivers.JSONCS3.ProviderAddr,
|
||||
"gateway_addr": cfg.Reva.Address,
|
||||
"provider_addr": cfg.UserSharingDrivers.JSONCS3.ProviderAddr,
|
||||
"service_user_id": cfg.UserSharingDrivers.JSONCS3.SystemUserID,
|
||||
"service_user_idp": cfg.UserSharingDrivers.JSONCS3.SystemUserIDP,
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
package command
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/urfave/cli/v2"
|
||||
|
||||
"github.com/cs3org/reva/v2/pkg/rgrpc/todo/pool"
|
||||
"github.com/cs3org/reva/v2/pkg/share/manager/jsoncs3"
|
||||
"github.com/cs3org/reva/v2/pkg/share/manager/registry"
|
||||
"github.com/cs3org/reva/v2/pkg/utils"
|
||||
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/config"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/config/parser"
|
||||
mregistry "github.com/owncloud/ocis/v2/ocis-pkg/registry"
|
||||
"github.com/owncloud/ocis/v2/ocis/pkg/register"
|
||||
sharingparser "github.com/owncloud/ocis/v2/services/sharing/pkg/config/parser"
|
||||
)
|
||||
|
||||
// SharesCommand is the entrypoint for the groups command.
|
||||
func SharesCommand(cfg *config.Config) *cli.Command {
|
||||
return &cli.Command{
|
||||
Name: "shares",
|
||||
Usage: `cli tools to manage entries in the share manager.`,
|
||||
Category: "maintenance",
|
||||
Before: func(c *cli.Context) error {
|
||||
// Parse base config
|
||||
if err := parser.ParseConfig(cfg, true); err != nil {
|
||||
return configlog.ReturnError(err)
|
||||
}
|
||||
|
||||
// Parse sharing config
|
||||
cfg.Sharing.Commons = cfg.Commons
|
||||
return configlog.ReturnError(sharingparser.ParseConfig(cfg.Sharing))
|
||||
},
|
||||
Subcommands: []*cli.Command{
|
||||
cleanupCmd(cfg),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func init() {
|
||||
register.AddCommand(SharesCommand)
|
||||
}
|
||||
|
||||
func cleanupCmd(cfg *config.Config) *cli.Command {
|
||||
return &cli.Command{
|
||||
Name: "cleanup",
|
||||
Usage: `clean up stale entries in the share manager.`,
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "service-account-id",
|
||||
Value: "",
|
||||
Usage: "Name of the service account to use for the cleanup",
|
||||
EnvVars: []string{"OCIS_SERVICE_ACCOUNT_ID"},
|
||||
Required: true,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "service-account-secret",
|
||||
Value: "",
|
||||
Usage: "Secret for the service account",
|
||||
EnvVars: []string{"OCIS_SERVICE_ACCOUNT_SECRET"},
|
||||
Required: true,
|
||||
},
|
||||
},
|
||||
Before: func(c *cli.Context) error {
|
||||
// Parse base config
|
||||
if err := parser.ParseConfig(cfg, true); err != nil {
|
||||
return configlog.ReturnError(err)
|
||||
}
|
||||
|
||||
// Parse sharing config
|
||||
cfg.Sharing.Commons = cfg.Commons
|
||||
return configlog.ReturnError(sharingparser.ParseConfig(cfg.Sharing))
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
return cleanup(c, cfg)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func cleanup(c *cli.Context, cfg *config.Config) error {
|
||||
driver := cfg.Sharing.UserSharingDriver
|
||||
// cleanup is only implemented for the jsoncs3 share manager
|
||||
if driver != "jsoncs3" {
|
||||
return configlog.ReturnError(errors.New("cleanup is only implemented for the jsoncs3 share manager"))
|
||||
}
|
||||
|
||||
rcfg := revaShareConfig(cfg.Sharing)
|
||||
f, ok := registry.NewFuncs[driver]
|
||||
if !ok {
|
||||
return configlog.ReturnError(errors.New("Unknown share manager type '" + driver + "'"))
|
||||
}
|
||||
mgr, err := f(rcfg[driver].(map[string]interface{}))
|
||||
if err != nil {
|
||||
return configlog.ReturnError(err)
|
||||
}
|
||||
|
||||
// Initialize registry to make service lookup work
|
||||
_ = mregistry.GetRegistry()
|
||||
|
||||
// get an authenticated context
|
||||
gatewaySelector, err := pool.GatewaySelector(cfg.Sharing.Reva.Address)
|
||||
if err != nil {
|
||||
return configlog.ReturnError(err)
|
||||
}
|
||||
|
||||
client, err := gatewaySelector.Next()
|
||||
if err != nil {
|
||||
return configlog.ReturnError(err)
|
||||
}
|
||||
|
||||
serviceUserCtx, err := utils.GetServiceUserContext(c.String("service-account-id"), client, c.String("service-account-secret"))
|
||||
if err != nil {
|
||||
return configlog.ReturnError(err)
|
||||
}
|
||||
|
||||
l := logger()
|
||||
|
||||
zerolog.SetGlobalLevel(zerolog.InfoLevel)
|
||||
serviceUserCtx = l.WithContext(serviceUserCtx)
|
||||
|
||||
mgr.(*jsoncs3.Manager).CleanupStaleShares(serviceUserCtx)
|
||||
|
||||
return nil
|
||||
}
|
||||
@@ -204,7 +204,7 @@ func (s *ActivitylogService) HandleGetItemActivities(w http.ResponseWriter, r *h
|
||||
WithVar("resource", storagespace.FormatResourceID(ev.ItemID), ev.ResourceName),
|
||||
WithUser(ev.Executant, nil, nil),
|
||||
WithTranslation(&t, loc, "field", []string{ev.FieldUpdated}),
|
||||
WithVar("token", ev.ItemID.GetOpaqueId(), ev.Token))
|
||||
WithVar("token", ev.ItemID.GetOpaqueId(), ev.DisplayName))
|
||||
case events.LinkRemoved:
|
||||
message = MessageLinkDeleted
|
||||
ts = utils.TSToTime(ev.Timestamp)
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-11-10 00:05+0000\n"
|
||||
"POT-Creation-Date: 2024-11-30 00:18+0000\n"
|
||||
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2024\n"
|
||||
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-11-17 00:38+0000\n"
|
||||
"POT-Creation-Date: 2024-12-08 00:19+0000\n"
|
||||
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
|
||||
"Last-Translator: Andi Chandler <andi@gowling.com>, 2024\n"
|
||||
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-11-06 00:05+0000\n"
|
||||
"POT-Creation-Date: 2024-12-16 00:19+0000\n"
|
||||
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
|
||||
"Last-Translator: Jesús Recio <jrecio@solidgear.es>, 2024\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-11-21 00:23+0000\n"
|
||||
"POT-Creation-Date: 2024-12-12 00:51+0000\n"
|
||||
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
|
||||
"Last-Translator: hoshi1800 <hoshi1800@gmail.com>, 2024\n"
|
||||
"Language-Team: Japanese (Japan) (https://app.transifex.com/owncloud-org/teams/6149/ja_JP/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-11-03 00:06+0000\n"
|
||||
"POT-Creation-Date: 2024-12-14 00:17+0000\n"
|
||||
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
|
||||
"Last-Translator: Flávio Veras <flaviove@gmail.com>, 2024\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/owncloud-org/teams/6149/pt_BR/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-11-07 00:42+0000\n"
|
||||
"POT-Creation-Date: 2024-11-28 00:19+0000\n"
|
||||
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
|
||||
"Last-Translator: Viktor Scharf, 2024\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-11-09 00:04+0000\n"
|
||||
"POT-Creation-Date: 2024-11-29 00:18+0000\n"
|
||||
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
|
||||
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2024\n"
|
||||
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-11-04 00:04+0000\n"
|
||||
"POT-Creation-Date: 2024-12-15 00:43+0000\n"
|
||||
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
|
||||
"Last-Translator: Keram, 2024\n"
|
||||
"Language-Team: Uyghur (https://app.transifex.com/owncloud-org/teams/6149/ug/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-11-02 00:43+0000\n"
|
||||
"POT-Creation-Date: 2024-12-14 00:17+0000\n"
|
||||
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
|
||||
"Last-Translator: Roman Perekhod, 2024\n"
|
||||
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
|
||||
|
||||
@@ -2,6 +2,19 @@
|
||||
|
||||
The `antivirus` service is responsible for scanning files for viruses.
|
||||
|
||||
## Memory Considerations
|
||||
|
||||
The antivirus service can consume considerably amounts of memory. This is relevant to provide or define sufficient memory for the deployment selected. To avoid out of memory (OOM) situations, the following equation gives a rough overview based on experiences made. The memory calculation comes without any guarantee, is intended as overview only and subject of change.
|
||||
|
||||
`memory limit` = `max file size` x `workers` x `factor 8 - 14`
|
||||
|
||||
With:
|
||||
`ANTIVIRUS_WORKERS` == 1
|
||||
```plaintext
|
||||
50MB file --> factor 14 --> 700MB memory
|
||||
844MB file --> factor 8,3 --> 7GB memory
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
### Antivirus Scanner Type
|
||||
|
||||
@@ -35,9 +35,85 @@ Once generated, these tokens can be used to authenticate requests to ocis. They
|
||||
|
||||
### Via API
|
||||
|
||||
The `auth-app` service provides an API to create (POST), list (GET) and delete (DELETE) tokens at `/auth-app/tokens`.
|
||||
The `auth-app` service provides an API to create (POST), list (GET) and delete (DELETE) tokens at the `/auth-app/tokens` endpoint.
|
||||
|
||||
When using curl for the respective command, you need to authenticate with a header. To do so, get from the browsers developer console the currently active bearer token. Consider that this token has a short lifetime. In any example, replace `<your host[:port]>` with the URL:port of your Infinite Scale instance, and `{token}` `{value}` accordingly. Note that the active bearer token authenticates the user the token was issued for.
|
||||
|
||||
* **Create a token**\
|
||||
The POST request requires:
|
||||
* A `expiry` key/value pair in the form of `expiry=<number><h|m|s>`\
|
||||
Example: `expiry=72h`
|
||||
* An active bearer token
|
||||
```bash
|
||||
curl --request POST 'https://<your host:9200>/auth-app/tokens?expiry={value}' \
|
||||
--header 'accept: application/json' \
|
||||
--header 'authorization: Bearer {token}'
|
||||
```
|
||||
Example output:
|
||||
```
|
||||
{
|
||||
"token": "3s2K7816M4vuSpd5",
|
||||
"expiration_date": "2024-08-08T13:42:42.796888022+02:00",
|
||||
"created_date": "2024-08-07T13:42:42+02:00",
|
||||
"label": "Generated via API"
|
||||
}
|
||||
```
|
||||
|
||||
* **List tokens**\
|
||||
The GET request only requires an active bearer token for authentication:\
|
||||
Note that `--request GET` is technically not required because it is curl default.
|
||||
```bash
|
||||
curl --request GET 'https://<your host:9200>/auth-app/tokens' \
|
||||
--header 'accept: application/json' \
|
||||
--header 'authorization: Bearer {token}'
|
||||
```
|
||||
Example output:
|
||||
```
|
||||
[
|
||||
{
|
||||
"token": "$2a$11$EyudDGAJ18bBf5NG6PL9Ru9gygZAu0oPyLawdieNjGozcbXyyuUhG",
|
||||
"expiration_date": "2024-08-08T13:44:31.025199075+02:00",
|
||||
"created_date": "2024-08-07T13:44:31+02:00",
|
||||
"label": "Generated via Impersonation API"
|
||||
},
|
||||
{
|
||||
"token": "$2a$11$dfRBQrxRMPg8fvyvkFwaX.IPoIUiokvhzK.YNI/pCafk0us3MyPzy",
|
||||
"expiration_date": "2024-08-08T13:46:41.936052281+02:00",
|
||||
"created_date": "2024-08-07T13:46:42+02:00",
|
||||
"label": "Generated via Impersonation API"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
* **Delete a token**\
|
||||
The DELETE request requires:
|
||||
* A `token` key/value pair in the form of `token=<token_issued>`\
|
||||
Example: `token=Z3s2K7816M4vuSpd5`
|
||||
* An active bearer token
|
||||
```bash
|
||||
curl --request DELETE 'https://<your host:9200>/auth-app/tokens?token={value}' \
|
||||
--header 'accept: application/json' \
|
||||
--header 'authorization: Bearer {token}'
|
||||
```
|
||||
|
||||
### Via Impersonation API
|
||||
|
||||
When setting the environment variable `AUTH_APP_ENABLE_IMPERSONATION` to `true`, admins will be able to use the `/auth-app/tokens` endpoint to create tokens for other users. This is crucial for migration scenarios,
|
||||
but should not be used on a productive system.
|
||||
When setting the environment variable `AUTH_APP_ENABLE_IMPERSONATION` to `true`, admins will be able to use the `/auth-app/tokens` endpoint to create tokens for other users but using their own bearer token for authentication. This can be important for migration scenarios, but should not be considered for regular tasks on a production system for security reasons.
|
||||
|
||||
To impersonate, the respective requests from the CLI commands above extend with the following parameters, where you can use one or the other:
|
||||
|
||||
* The `userID` in the form of: `userID={value}`\
|
||||
Example:\
|
||||
`userID=4c510ada- ... -42cdf82c3d51`
|
||||
|
||||
* The `userName` in the form of: `userName={value}`\
|
||||
Example:\
|
||||
`userName=einstein`
|
||||
|
||||
Example:\
|
||||
A final create request would then look like:
|
||||
```bash
|
||||
curl --request POST 'https://<your host:9200>/auth-app/tokens?expiry={value}&userName={value}' \
|
||||
--header 'accept: application/json' \
|
||||
--header 'authorization: Bearer {token}'
|
||||
```
|
||||
Loaded 100 of 551 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user