Compare commits
426
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
752f988faf | ||
|
|
c5a3027119 | ||
|
|
4c50f6c59b | ||
|
|
4b8acf7e4a | ||
|
|
9e3dbb022a | ||
|
|
c82c331dad | ||
|
|
b83f2b4d2d | ||
|
|
d7adeacc37 | ||
|
|
4ff6e02d96 | ||
|
|
efb6fc09f2 | ||
|
|
542165df47 | ||
|
|
74a0c03246 | ||
|
|
eb4de64f33 | ||
|
|
eac8fb8649 | ||
|
|
3bdf6183b9 | ||
|
|
990ea4edd0 | ||
|
|
09bd4b0023 | ||
|
|
78d3bf9e72 | ||
|
|
878c5f4075 | ||
|
|
201a7c6b01 | ||
|
|
ced0f618bd | ||
|
|
a04cd2a132 | ||
|
|
745d0d2838 | ||
|
|
b60065f308 | ||
|
|
e2c4586706 | ||
|
|
24b940dfcc | ||
|
|
a7d81241e6 | ||
|
|
b63cff9842 | ||
|
|
6f39d08c9b | ||
|
|
d2f6679921 | ||
|
|
02aef4d308 | ||
|
|
2133785838 | ||
|
|
7134374a2e | ||
|
|
36d9a8c425 | ||
|
|
d47364dedb | ||
|
|
b52b424191 | ||
|
|
f381054e53 | ||
|
|
e5ac143aea | ||
|
|
ab84479a9e | ||
|
|
f2c04c9b0a | ||
|
|
65d1567a5b | ||
|
|
69b27dc1ee | ||
|
|
26f962ef82 | ||
|
|
eaddfa7308 | ||
|
|
c2e093099e | ||
|
|
6282f77478 | ||
|
|
065c4fa027 | ||
|
|
0145af1378 | ||
|
|
2ff49e3f61 | ||
|
|
3787092749 | ||
|
|
381506ed86 | ||
|
|
8b70f6f288 | ||
|
|
4c63ddc439 | ||
|
|
08cb228500 | ||
|
|
83c8d32ce9 | ||
|
|
e15c3c3a04 | ||
|
|
9867a93c49 | ||
|
|
baa0c23c31 | ||
|
|
552f5c86c1 | ||
|
|
ad0e8a6b40 | ||
|
|
5fabf09451 | ||
|
|
15f320f708 | ||
|
|
3883e17b52 | ||
|
|
009a4a5cf0 | ||
|
|
4a6b0f04f6 | ||
|
|
3ff6ac6562 | ||
|
|
02dbcae170 | ||
|
|
4cf8390bb9 | ||
|
|
fcb33ed3dd | ||
|
|
f28a9b8c2f | ||
|
|
192a00718a | ||
|
|
e7340f658e | ||
|
|
f92c6ae511 | ||
|
|
832417b7d1 | ||
|
|
91396f5aa2 | ||
|
|
de98cca897 | ||
|
|
51d40c3f12 | ||
|
|
0330b7e48b | ||
|
|
7b8b4faf05 | ||
|
|
83e6ba7d09 | ||
|
|
0b514ba715 | ||
|
|
63c62d423c | ||
|
|
eeb4749985 | ||
|
|
a58a0f83f6 | ||
|
|
11103a4220 | ||
|
|
3b3d30159d | ||
|
|
7005cbc0fc | ||
|
|
4fa7ea0b20 | ||
|
|
1eb66eb18c | ||
|
|
43403edfb8 | ||
|
|
9685d354d2 | ||
|
|
747f0f3f9f | ||
|
|
f7ad9fff6e | ||
|
|
4874aea425 | ||
|
|
0205fbd3b9 | ||
|
|
15332aaef3 | ||
|
|
46ed2296b5 | ||
|
|
3cf39823f4 | ||
|
|
7e27899f9e | ||
|
|
fc1bff6d6b | ||
|
|
47412e7b47 | ||
|
|
54524567a5 | ||
|
|
be6b3a0017 | ||
|
|
9059045b23 | ||
|
|
c7a3ec2ed0 | ||
|
|
199ef0563e | ||
|
|
68c59b6252 | ||
|
|
6cc257e734 | ||
|
|
b67d023f5b | ||
|
|
3f8545d29a | ||
|
|
6bbda86eb5 | ||
|
|
b680937f9a | ||
|
|
6c82a6560b | ||
|
|
81db8219e4 | ||
|
|
e688ef38c6 | ||
|
|
7cf939aca8 | ||
|
|
4f5728dfe3 | ||
|
|
d61cc69346 | ||
|
|
c421507f1e | ||
|
|
0c6ca19602 | ||
|
|
b5918c6855 | ||
|
|
dcec2e54e8 | ||
|
|
8e26dc82cd | ||
|
|
0c0866711c | ||
|
|
752c0df4e9 | ||
|
|
525c7ea45d | ||
|
|
2b742e3dd5 | ||
|
|
b5422d200c | ||
|
|
0ceb463592 | ||
|
|
cea6533446 | ||
|
|
006c67a5db | ||
|
|
89ca45bc80 | ||
|
|
57d59de6e2 | ||
|
|
51138a63ff | ||
|
|
6467a4797a | ||
|
|
379649f495 | ||
|
|
2206d4a184 | ||
|
|
8070238f88 | ||
|
|
a9c34d3aab | ||
|
|
7fb29d1d65 | ||
|
|
8975d413ef | ||
|
|
d48cae6fd3 | ||
|
|
fb44bebddd | ||
|
|
a78d501fc0 | ||
|
|
b43601e15b | ||
|
|
c0538b26eb | ||
|
|
9fc37e7b81 | ||
|
|
ffe1542205 | ||
|
|
da2e202b21 | ||
|
|
7f9e018c7c | ||
|
|
76c1ad662d | ||
|
|
4a47d353b7 | ||
|
|
1b7f30a960 | ||
|
|
dd8a3eb3d2 | ||
|
|
d69bc2c1c6 | ||
|
|
81ef018b9f | ||
|
|
c3c6085f2b | ||
|
|
fd1386dc4b | ||
|
|
30a0f8a71b | ||
|
|
0a33b934c1 | ||
|
|
3e3fcf3729 | ||
|
|
d75abae594 | ||
|
|
c4bebfdd78 | ||
|
|
775913c8b5 | ||
|
|
9d533a8c85 | ||
|
|
6486250cd2 | ||
|
|
52a0c346c3 | ||
|
|
61f8b20ecd | ||
|
|
22be9de42c | ||
|
|
4fbef3c58a | ||
|
|
244f2bc937 | ||
|
|
a93a74f9d1 | ||
|
|
698d24c4e7 | ||
|
|
3283b83937 | ||
|
|
bf3b9f70f0 | ||
|
|
2985823dd5 | ||
|
|
c51aef0473 | ||
|
|
83e203efcc | ||
|
|
95de8f584b | ||
|
|
6d7d18adce | ||
|
|
60d4305bab | ||
|
|
4c613776ec | ||
|
|
2f369157d4 | ||
|
|
f31b91bc6b | ||
|
|
d8a31dca91 | ||
|
|
9ef16e373a | ||
|
|
de194c7076 | ||
|
|
740793ec18 | ||
|
|
86c17e2b7e | ||
|
|
fae509ab94 | ||
|
|
38bc0a50b5 | ||
|
|
4323c26cfb | ||
|
|
b7911997da | ||
|
|
c4dfe3cd8a | ||
|
|
6f10ef1ab4 | ||
|
|
784e9e9c37 | ||
|
|
505ed389b7 | ||
|
|
c37b5baa3a | ||
|
|
dfee52bcd9 | ||
|
|
5b3dd4dcba | ||
|
|
a59cfa02e7 | ||
|
|
7e9da8312f | ||
|
|
b2255bb3d5 | ||
|
|
e258d360ea | ||
|
|
7b4a92c22a | ||
|
|
d98a05d2df | ||
|
|
8e9ccf0260 | ||
|
|
0145c1690b | ||
|
|
1b8b911b63 | ||
|
|
ce199d56ab | ||
|
|
32f7652abc | ||
|
|
23b78aa46c | ||
|
|
079fbfa850 | ||
|
|
c493952ea2 | ||
|
|
ca65278546 | ||
|
|
7efff806ee | ||
|
|
c99550984e | ||
|
|
76a3f59574 | ||
|
|
7603af04ba | ||
|
|
31272dc168 | ||
|
|
5c05b4b80d | ||
|
|
3b9cf3fabb | ||
|
|
58c3c66429 | ||
|
|
174afe379e | ||
|
|
5359d6ddee | ||
|
|
010cccde91 | ||
|
|
04529e18e9 | ||
|
|
a0528d4dfb | ||
|
|
543f9ac08b | ||
|
|
cfb145f03c | ||
|
|
64b1d731d7 | ||
|
|
f5de0a09cf | ||
|
|
e93a132e17 | ||
|
|
d4fef06ef9 | ||
|
|
16ced06cad | ||
|
|
73c7a4a1a5 | ||
|
|
c3ae99dea2 | ||
|
|
0ce6a01874 | ||
|
|
7d6d57d997 | ||
|
|
9d567e8efd | ||
|
|
4e0ecd1451 | ||
|
|
e30be758bd | ||
|
|
26b4927ed8 | ||
|
|
537bceb9d8 | ||
|
|
ff6674f97b | ||
|
|
a33dd51581 | ||
|
|
10ce8db793 | ||
|
|
11ce2a6df3 | ||
|
|
e665425cf4 | ||
|
|
4696417a1f | ||
|
|
0b8559f91f | ||
|
|
d414f36c38 | ||
|
|
22c8b74921 | ||
|
|
735b24fff5 | ||
|
|
f807c4ef13 | ||
|
|
ea1e80ae9a | ||
|
|
5b566e2b43 | ||
|
|
3095d843b8 | ||
|
|
cc12fdc9c4 | ||
|
|
d3515354c8 | ||
|
|
b161ae41e9 | ||
|
|
2fc47576ca | ||
|
|
6fabb94141 | ||
|
|
9b00f7bf94 | ||
|
|
ff9a80f76c | ||
|
|
2145e0b7f5 | ||
|
|
d57ff92ea6 | ||
|
|
cac97c6067 | ||
|
|
71ea5f186a | ||
|
|
d499415086 | ||
|
|
d677b27dbd | ||
|
|
18048aaaeb | ||
|
|
1759cac243 | ||
|
|
24c10b32d0 | ||
|
|
9178be1b05 | ||
|
|
14667c3e4e | ||
|
|
2e89561a55 | ||
|
|
9c4e26ac85 | ||
|
|
6b697d77ba | ||
|
|
7b6b0633dd | ||
|
|
176a9afe27 | ||
|
|
79175b0f25 | ||
|
|
bd7cd6235a | ||
|
|
d8ab9c53a8 | ||
|
|
90e789a6ca | ||
|
|
91f5903c4c | ||
|
|
b400901971 | ||
|
|
f3f528e76e | ||
|
|
5db84bdb12 | ||
|
|
9e6b6bc0f3 | ||
|
|
13b428ecae | ||
|
|
78ca9bacf9 | ||
|
|
fd6e773b7e | ||
|
|
9baecdfd58 | ||
|
|
86fd73e912 | ||
|
|
2b88c194bc | ||
|
|
d8dff89c1c | ||
|
|
7f0a1b0cdd | ||
|
|
733f1852ea | ||
|
|
3306a1f277 | ||
|
|
d1d25ae940 | ||
|
|
6e2ccefa51 | ||
|
|
6826e360f1 | ||
|
|
0cc27da636 | ||
|
|
73da706d52 | ||
|
|
0272de2c5c | ||
|
|
c4b2e6a3c0 | ||
|
|
e586a71570 | ||
|
|
31069b0d07 | ||
|
|
008e7216b3 | ||
|
|
6666c3e735 | ||
|
|
2b1cc8f0a4 | ||
|
|
9040be5925 | ||
|
|
f0776f1e06 | ||
|
|
738743489d | ||
|
|
daea0997b7 | ||
|
|
2c9dc92d11 | ||
|
|
cafaec75fb | ||
|
|
bc77a6a0d4 | ||
|
|
e3195eed24 | ||
|
|
1da065f50e | ||
|
|
fb918af216 | ||
|
|
8a1072a4d6 | ||
|
|
a6a4b24cf9 | ||
|
|
5541bbf85a | ||
|
|
50e24b0318 | ||
|
|
cb89e98f28 | ||
|
|
fa5646bfb2 | ||
|
|
f8046ab58b | ||
|
|
1709092f5f | ||
|
|
6b71bfe63d | ||
|
|
60741472ac | ||
|
|
bda35131bd | ||
|
|
0d65908e82 | ||
|
|
30be233829 | ||
|
|
27c0bdcc21 | ||
|
|
4e7044f915 | ||
|
|
572b32075e | ||
|
|
7babaf634b | ||
|
|
915baa5b7b | ||
|
|
c4101fa9e2 | ||
|
|
a08860c62f | ||
|
|
95d96e6a90 | ||
|
|
0a8fbc6032 | ||
|
|
a6c9a1c533 | ||
|
|
c6e7ea6131 | ||
|
|
d5137c6b8e | ||
|
|
b8e7160880 | ||
|
|
fab562674f | ||
|
|
97bce8edd4 | ||
|
|
4b05f35d52 | ||
|
|
2e0934a6ad | ||
|
|
55efb2c8b2 | ||
|
|
ffb27deb2c | ||
|
|
a9be2ce30b | ||
|
|
a3bb4fdc9f | ||
|
|
a8ee23734c | ||
|
|
18d0eaa5c2 | ||
|
|
04d7985487 | ||
|
|
7f2660f237 | ||
|
|
e2ac902f2d | ||
|
|
4fbaed2edc | ||
|
|
22b825269c | ||
|
|
529218f27b | ||
|
|
5640d5958f | ||
|
|
3ea77d2b53 | ||
|
|
2a22577993 | ||
|
|
fd0e490629 | ||
|
|
8cd2277f6d | ||
|
|
4cf66e5ac6 | ||
|
|
7860cb8a6f | ||
|
|
aa6041abb6 | ||
|
|
88acb9eeb4 | ||
|
|
0453e240f6 | ||
|
|
e73e5a66aa | ||
|
|
cb28ebf8d1 | ||
|
|
cb06dcfb23 | ||
|
|
f325c11963 | ||
|
|
045a2540cf | ||
|
|
1f21ff7903 | ||
|
|
1df7120556 | ||
|
|
3c90bde634 | ||
|
|
9cf4c279ab | ||
|
|
cbae6cee3d | ||
|
|
9ceca17c9b | ||
|
|
23ab60c24c | ||
|
|
8982ded808 | ||
|
|
46c2d74260 | ||
|
|
d034583cc0 | ||
|
|
181fa2ef6f | ||
|
|
47e10f54c7 | ||
|
|
7e466816cc | ||
|
|
b473330c64 | ||
|
|
2de32638e1 | ||
|
|
3e753efe7c | ||
|
|
67ab861090 | ||
|
|
2327ca0e46 | ||
|
|
176c99b7dd | ||
|
|
747795b4ad | ||
|
|
c001089f90 | ||
|
|
775be35200 | ||
|
|
29ff79a31b | ||
|
|
654af5ca7c | ||
|
|
696f8cda23 | ||
|
|
aea6eaf8e1 | ||
|
|
74035c22ee | ||
|
|
7bca322f0c | ||
|
|
66f19592df | ||
|
|
f53c318d59 | ||
|
|
2a815b7145 | ||
|
|
3049adb5dd | ||
|
|
6c2ec0c037 | ||
|
|
7713b28226 | ||
|
|
9376481f7e | ||
|
|
7264fabdf1 | ||
|
|
041d9649a5 | ||
|
|
58fb913836 | ||
|
|
0bcad8b5e1 | ||
|
|
3c7b9d4b98 | ||
|
|
c39bd10f1b | ||
|
|
f29b254333 | ||
|
|
3520431e1f | ||
|
|
0028013794 | ||
|
|
b51cae14ba | ||
|
|
5781723432 | ||
|
|
9d0af6f281 |
No files matched your search
+1
-1
@@ -1,3 +1,3 @@
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=c529c35ea0c912d63528d4c3c6f06519407bb766
|
||||
WEB_COMMITID=9a262d0ef4bd5625e5eb702f094317000ab11a43
|
||||
WEB_BRANCH=master
|
||||
+63
-25
@@ -85,9 +85,11 @@ config = {
|
||||
"apiLocks",
|
||||
"apiSearch1",
|
||||
"apiSearch2",
|
||||
"apiSharingNg",
|
||||
"apiSharingNg1",
|
||||
"apiSharingNg2",
|
||||
"apiSharingNgShareInvitation",
|
||||
"apiSharingNgLinkShare",
|
||||
"apiSharingNgLinkSharePermission",
|
||||
"apiSharingNgLinkShareRoot",
|
||||
],
|
||||
"skip": False,
|
||||
},
|
||||
@@ -108,6 +110,7 @@ config = {
|
||||
"EMAIL_PORT": "9000",
|
||||
},
|
||||
"extraServerEnvironment": {
|
||||
"OCIS_ADD_RUN_SERVICES": "notifications",
|
||||
"NOTIFICATIONS_SMTP_HOST": "email",
|
||||
"NOTIFICATIONS_SMTP_PORT": "2500",
|
||||
"NOTIFICATIONS_SMTP_INSECURE": "true",
|
||||
@@ -150,6 +153,12 @@ config = {
|
||||
"OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE": "%s" % dirs["ocmProviders"],
|
||||
},
|
||||
},
|
||||
"cli": {
|
||||
"suites": [
|
||||
"cliCommands",
|
||||
],
|
||||
"skip": False,
|
||||
},
|
||||
},
|
||||
"apiTests": {
|
||||
"numberOfParts": 10,
|
||||
@@ -271,6 +280,7 @@ def main(ctx):
|
||||
|
||||
test_pipelines = \
|
||||
codestyle(ctx) + \
|
||||
checkGherkinLint(ctx) + \
|
||||
checkTestSuitesInExpectedFailures(ctx) + \
|
||||
buildWebCache(ctx) + \
|
||||
getGoBinForTesting(ctx) + \
|
||||
@@ -345,11 +355,19 @@ def buildWebCache(ctx):
|
||||
def testOcisAndUploadResults(ctx):
|
||||
pipeline = testOcis(ctx)
|
||||
|
||||
######################################################################
|
||||
# The triggers have been disabled for now, since the govulncheck can #
|
||||
# not silence single, acceptable vulnerabilities. #
|
||||
# See https://github.com/owncloud/ocis/issues/9527 for more details. #
|
||||
# FIXME: RE-ENABLE THIS ASAP!!! #
|
||||
######################################################################
|
||||
|
||||
scan_result_upload = uploadScanResults(ctx)
|
||||
scan_result_upload["depends_on"] = getPipelineNames([pipeline])
|
||||
|
||||
security_scan = scanOcis(ctx)
|
||||
return [security_scan, pipeline, scan_result_upload]
|
||||
#security_scan = scanOcis(ctx)
|
||||
#return [security_scan, pipeline, scan_result_upload]
|
||||
return [pipeline, scan_result_upload]
|
||||
|
||||
def testPipelines(ctx):
|
||||
pipelines = []
|
||||
@@ -723,6 +741,28 @@ def checkTestSuitesInExpectedFailures(ctx):
|
||||
},
|
||||
}]
|
||||
|
||||
def checkGherkinLint(ctx):
|
||||
return [{
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "check-gherkin-standard",
|
||||
"steps": [
|
||||
{
|
||||
"name": "lint-feature-files",
|
||||
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
|
||||
"commands": [
|
||||
"npm install -g @gherlint/gherlint@1.1.0",
|
||||
"make test-gherkin-lint",
|
||||
],
|
||||
},
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
}]
|
||||
|
||||
def codestyle(ctx):
|
||||
pipelines = []
|
||||
|
||||
@@ -827,7 +867,7 @@ def localApiTestPipeline(ctx):
|
||||
pipeline = {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "localApiTests-%s-%s" % (suite, storage),
|
||||
"name": "%s-Tests-%s" % ("CLI" if name.startswith("cli") else "API", suite),
|
||||
"platform": {
|
||||
"os": "linux",
|
||||
"arch": "amd64",
|
||||
@@ -873,7 +913,7 @@ def localApiTests(suite, storage, extra_environment = {}):
|
||||
environment[item] = extra_environment[item]
|
||||
|
||||
return [{
|
||||
"name": "localApiTests-%s-%s" % (suite, storage),
|
||||
"name": "localApiTests-%s" % suite,
|
||||
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
|
||||
"environment": environment,
|
||||
"commands": [
|
||||
@@ -885,7 +925,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "cs3ApiTests-%s" % (storage),
|
||||
"name": "cs3ApiTests",
|
||||
"platform": {
|
||||
"os": "linux",
|
||||
"arch": "amd64",
|
||||
@@ -895,7 +935,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
|
||||
ocisServer(storage, accounts_hash_difficulty, [], [], "cs3api_validator") +
|
||||
[
|
||||
{
|
||||
"name": "cs3ApiTests-%s" % (storage),
|
||||
"name": "cs3ApiTests",
|
||||
"image": OC_CS3_API_VALIDATOR,
|
||||
"environment": {},
|
||||
"commands": [
|
||||
@@ -959,6 +999,8 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
|
||||
"COLLABORATION_LOG_LEVEL": "debug",
|
||||
"COLLABORATION_HTTP_ADDR": "0.0.0.0:9300",
|
||||
"COLLABORATION_GRPC_ADDR": "0.0.0.0:9301",
|
||||
# no proof keys available in the FakeOffice
|
||||
"COLLABORATION_APP_PROOF_DISABLE": "true",
|
||||
"COLLABORATION_APP_NAME": "FakeOffice",
|
||||
"COLLABORATION_APP_ADDR": "http://fakeoffice:8080",
|
||||
"COLLABORATION_APP_INSECURE": "true",
|
||||
@@ -975,7 +1017,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
|
||||
|
||||
for testgroup in testgroups:
|
||||
validatorTests.append({
|
||||
"name": "wopiValidatorTests-%s-%s" % (storage, testgroup),
|
||||
"name": "wopiValidatorTests-%s" % testgroup,
|
||||
"image": "owncloudci/wopi-validator",
|
||||
"commands": [
|
||||
"export WOPI_TOKEN=$(cat accesstoken)",
|
||||
@@ -985,14 +1027,14 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
|
||||
"export WOPI_SRC=$(cat wopisrc)",
|
||||
"echo $WOPI_SRC",
|
||||
"cd /app",
|
||||
"/app/Microsoft.Office.WopiValidator -s -t $WOPI_TOKEN -w $WOPI_SRC -l $WOPI_TTL --testgroup %s" % testgroup,
|
||||
"/app/Microsoft.Office.WopiValidator -t $WOPI_TOKEN -w $WOPI_SRC -l $WOPI_TTL --testgroup %s" % testgroup,
|
||||
],
|
||||
})
|
||||
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "wopiValidatorTests-%s-%s" % (wopiServerType, storage),
|
||||
"name": "wopiValidatorTests-%s" % wopiServerType,
|
||||
"platform": {
|
||||
"os": "linux",
|
||||
"arch": "amd64",
|
||||
@@ -1028,7 +1070,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "prepare-test-file-%s" % (storage),
|
||||
"name": "prepare-test-file",
|
||||
"image": OC_CI_ALPINE,
|
||||
"environment": {},
|
||||
"commands": [
|
||||
@@ -1063,7 +1105,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "Core-API-Tests-%s-storage-%s" % (storage, part_number),
|
||||
"name": "Core-API-Tests-%s" % part_number,
|
||||
"platform": {
|
||||
"os": "linux",
|
||||
"arch": "amd64",
|
||||
@@ -1073,7 +1115,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
||||
ocisServer(storage, accounts_hash_difficulty, with_wrapper = True) +
|
||||
[
|
||||
{
|
||||
"name": "oC10ApiTests-%s-storage-%s" % (storage, part_number),
|
||||
"name": "oC10ApiTests-%s" % part_number,
|
||||
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
|
||||
"environment": {
|
||||
"PATH_TO_OCIS": "%s" % dirs["base"],
|
||||
@@ -2195,19 +2237,15 @@ def skipIfUnchanged(ctx, type):
|
||||
|
||||
def example_deploys(ctx):
|
||||
on_merge_deploy = [
|
||||
"ocis_ldap/latest.yml",
|
||||
"ocis_keycloak/latest.yml",
|
||||
"ocis_traefik/latest.yml",
|
||||
"ocis_wopi/latest.yml",
|
||||
"ocis_s3/latest.yml",
|
||||
"ocis_full/master.yml",
|
||||
]
|
||||
nightly_deploy = [
|
||||
"ocis_ldap/released.yml",
|
||||
"ocis_keycloak/released.yml",
|
||||
"ocis_traefik/released.yml",
|
||||
"ocis_wopi/released.yml",
|
||||
"ocis_traefik/daily.yml",
|
||||
"ocis_wopi/daily.yml",
|
||||
"ocis_ldap/rolling.yml",
|
||||
"ocis_keycloak/rolling.yml",
|
||||
"ocis_full/production.yml",
|
||||
"ocis_full/rolling.yml",
|
||||
"ocis_full/onlyoffice-rolling.yml",
|
||||
"ocis_full/s3-rolling.yml",
|
||||
]
|
||||
|
||||
# if on master branch:
|
||||
|
||||
@@ -65,6 +65,7 @@ linters-settings:
|
||||
- github.com/studio-b12/gowebdav
|
||||
- github.com/egirna/icap-client
|
||||
- github.com/unrolled/secure
|
||||
- github.com/go-micro/plugins/v4/store/nats-js-kv
|
||||
interfacebloat:
|
||||
max: 15
|
||||
|
||||
|
||||
+359
-8
@@ -1,6 +1,7 @@
|
||||
# Table of Contents
|
||||
|
||||
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
|
||||
* [Changelog for 6.1.0](#changelog-for-610-2024-07-08)
|
||||
* [Changelog for 6.0.0](#changelog-for-600-2024-06-19)
|
||||
* [Changelog for 5.0.3](#changelog-for-503-2024-05-02)
|
||||
* [Changelog for 5.0.2](#changelog-for-502-2024-04-17)
|
||||
@@ -43,24 +44,296 @@
|
||||
|
||||
The following sections list the changes for unreleased.
|
||||
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v6.0.0...master
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v6.1.0...master
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Fix restarting of postprocessing: [#6945](https://github.com/owncloud/ocis/pull/6945)
|
||||
* Bugfix - Fix crash on empty tracing provider: [#9622](https://github.com/owncloud/ocis/pull/9622)
|
||||
* Bugfix - Fixed the file name validation if nodeid is used: [#9634](https://github.com/owncloud/ocis/pull/9634)
|
||||
* Bugfix - Fix a missing SecureView permission attribute in the REPORT response: [#9638](https://github.com/owncloud/ocis/pull/9638)
|
||||
* Bugfix - Fixed the channel lock in a workers pool: [#9647](https://github.com/owncloud/ocis/pull/9647)
|
||||
* Bugfix - Missing invitation in permission responses: [#9652](https://github.com/owncloud/ocis/pull/9652)
|
||||
* Bugfix - Repair nats-js-kv registry: [#9662](https://github.com/owncloud/ocis/pull/9662)
|
||||
* Bugfix - Fix panic: [#9673](https://github.com/owncloud/ocis/pull/9673)
|
||||
* Bugfix - Fixed the response code when copying the shared from to personal: [#9677](https://github.com/owncloud/ocis/pull/9677)
|
||||
* Bugfix - Fixed response code for DELETE file that is in postprocessing: [#9689](https://github.com/owncloud/ocis/pull/9689)
|
||||
* Change - Remove unavailable web config options: [#9679](https://github.com/owncloud/ocis/pull/9679)
|
||||
* Enhancement - Introduce auth-app service: [#9079](https://github.com/owncloud/ocis/pull/9079)
|
||||
* Enhancement - Add support for proof keys for the collaboration service: [#9366](https://github.com/owncloud/ocis/pull/9366)
|
||||
* Enhancement - Log user agent and remote addr on auth errors: [#9475](https://github.com/owncloud/ocis/pull/9475)
|
||||
* Enhancement - Add missing WOPI features: [#9580](https://github.com/owncloud/ocis/pull/9580)
|
||||
* Enhancement - Bump commitID for web: [#9631](https://github.com/owncloud/ocis/pull/9631)
|
||||
* Enhancement - Remove oidc-go dependency: [#9641](https://github.com/owncloud/ocis/pull/9641)
|
||||
* Enhancement - Improve the collaboration service logging: [#9653](https://github.com/owncloud/ocis/pull/9653)
|
||||
* Enhancement - Fix trash command: [#9665](https://github.com/owncloud/ocis/pull/9665)
|
||||
* Enhancement - Added the debugging to full ocis docker example: [#9666](https://github.com/owncloud/ocis/pull/9666)
|
||||
* Enhancement - Add locking support for MS Office Online Server: [#9685](https://github.com/owncloud/ocis/pull/9685)
|
||||
* Enhancement - Bump reva to v.2.22.0: [#9690](https://github.com/owncloud/ocis/pull/9690)
|
||||
* Enhancement - Add `--diff` to the `ocis init` command: [#9693](https://github.com/owncloud/ocis/pull/9693)
|
||||
* Enhancement - Update web to v10.0.0: [#9707](https://github.com/owncloud/ocis/pull/9707)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Fix restarting of postprocessing: [#6945](https://github.com/owncloud/ocis/pull/6945)
|
||||
|
||||
We fixed a bug where non-admin requests to admin resources would get 401
|
||||
Unauthorized. Now, the server sends 403 Forbidden response.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/5938
|
||||
https://github.com/owncloud/ocis/pull/6945
|
||||
|
||||
* Bugfix - Fix crash on empty tracing provider: [#9622](https://github.com/owncloud/ocis/pull/9622)
|
||||
|
||||
We have fixed a bug that causes a crash when OCIS_TRACING_ENABLED is set to
|
||||
true, but no tracing Endpoints or Collectors have been provided.a
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7012
|
||||
https://github.com/owncloud/ocis/pull/9622
|
||||
|
||||
* Bugfix - Fixed the file name validation if nodeid is used: [#9634](https://github.com/owncloud/ocis/pull/9634)
|
||||
|
||||
We have fixed the file name validation if nodeid is used
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9568
|
||||
https://github.com/owncloud/ocis/pull/9634
|
||||
|
||||
* Bugfix - Fix a missing SecureView permission attribute in the REPORT response: [#9638](https://github.com/owncloud/ocis/pull/9638)
|
||||
|
||||
We fixed a missing SecureView permission attribute in the REPORT response.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9607
|
||||
https://github.com/owncloud/ocis/pull/9638
|
||||
|
||||
* Bugfix - Fixed the channel lock in a workers pool: [#9647](https://github.com/owncloud/ocis/pull/9647)
|
||||
|
||||
We fixed an error when the users can't see more than 10 shares
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9642
|
||||
https://github.com/owncloud/ocis/pull/9647
|
||||
|
||||
* Bugfix - Missing invitation in permission responses: [#9652](https://github.com/owncloud/ocis/pull/9652)
|
||||
|
||||
We have fixed a bug where the `invitation` property was missing in the response
|
||||
when creating, listing or updating graph permissions.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9571
|
||||
https://github.com/owncloud/ocis/pull/9652
|
||||
|
||||
* Bugfix - Repair nats-js-kv registry: [#9662](https://github.com/owncloud/ocis/pull/9662)
|
||||
|
||||
The registry would always send traffic to only one pod. This is now fixed and
|
||||
load should be spread evenly. Also implements watcher method so the cache can
|
||||
use it.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9662
|
||||
https://github.com/owncloud/ocis/pull/9654
|
||||
https://github.com/owncloud/ocis/pull/9620
|
||||
|
||||
* Bugfix - Fix panic: [#9673](https://github.com/owncloud/ocis/pull/9673)
|
||||
|
||||
Fixes panic occuring when the nats-js-kv is not properly initialized.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9673
|
||||
|
||||
* Bugfix - Fixed the response code when copying the shared from to personal: [#9677](https://github.com/owncloud/ocis/pull/9677)
|
||||
|
||||
We fixed the response code when copying the file from shares to personal space
|
||||
with a secure view role.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9482
|
||||
https://github.com/owncloud/ocis/pull/9677
|
||||
|
||||
* Bugfix - Fixed response code for DELETE file that is in postprocessing: [#9689](https://github.com/owncloud/ocis/pull/9689)
|
||||
|
||||
We fixed the response code when DELETE and MOVE requests to the file that is
|
||||
still in post-processing.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9432
|
||||
https://github.com/owncloud/ocis/pull/9689
|
||||
|
||||
* Change - Remove unavailable web config options: [#9679](https://github.com/owncloud/ocis/pull/9679)
|
||||
|
||||
We've removed config options from the web package, that are no longer available
|
||||
in web. Check the web changelog for more details.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9679
|
||||
https://github.com/owncloud/web/pull/11256
|
||||
https://github.com/owncloud/web/pull/10122
|
||||
https://github.com/owncloud/web/pull/11260
|
||||
|
||||
* Enhancement - Introduce auth-app service: [#9079](https://github.com/owncloud/ocis/pull/9079)
|
||||
|
||||
Introduce a new service, auth-app, that provides authentication and
|
||||
authorization services for applications.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9079
|
||||
|
||||
* Enhancement - Add support for proof keys for the collaboration service: [#9366](https://github.com/owncloud/ocis/pull/9366)
|
||||
|
||||
Proof keys support will be enabled by default in order to ensure that all the
|
||||
requests come from a trusted source. Since proof keys must be set in the WOPI
|
||||
app (OnlyOffice, Collabora...), it's possible to disable the verification of the
|
||||
proof keys via configuration.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9366
|
||||
|
||||
* Enhancement - Log user agent and remote addr on auth errors: [#9475](https://github.com/owncloud/ocis/pull/9475)
|
||||
|
||||
The proxy will now log `user_agent`, `client.address`, `network.peer.address`
|
||||
and `network.peer.port` to help operations debug authentication errors. The
|
||||
latter three follow the [Semantic Conventions 1.26.0 / General /
|
||||
Attributes](https://opentelemetry.io/docs/specs/semconv/general/attributes/)
|
||||
naming to better integrate with log aggregation tools.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9475
|
||||
|
||||
* Enhancement - Add missing WOPI features: [#9580](https://github.com/owncloud/ocis/pull/9580)
|
||||
|
||||
We added the feature to disable the chat for onlyoffice and added the missing
|
||||
language parameters to the wopi app url.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9580
|
||||
|
||||
* Enhancement - Bump commitID for web: [#9631](https://github.com/owncloud/ocis/pull/9631)
|
||||
|
||||
Bump the web commitID to current master
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9631
|
||||
|
||||
* Enhancement - Remove oidc-go dependency: [#9641](https://github.com/owncloud/ocis/pull/9641)
|
||||
|
||||
Removes the kgol/oidc-go dependency because it was flagged by dependabot.
|
||||
Luckily us we only used it for importing the strings "profile" and "email".
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9641
|
||||
|
||||
* Enhancement - Improve the collaboration service logging: [#9653](https://github.com/owncloud/ocis/pull/9653)
|
||||
|
||||
We added more debug log information to the collaboration service. This is vital
|
||||
for scenarios when we need to debug in remote setups.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9653
|
||||
|
||||
* Enhancement - Fix trash command: [#9665](https://github.com/owncloud/ocis/pull/9665)
|
||||
|
||||
The `ocis trash purge-empty-dirs` command should work on any storage provider,
|
||||
not just `storage/users`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9665
|
||||
|
||||
* Enhancement - Added the debugging to full ocis docker example: [#9666](https://github.com/owncloud/ocis/pull/9666)
|
||||
|
||||
Added the debugging to full ocis docker example
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9666
|
||||
|
||||
* Enhancement - Add locking support for MS Office Online Server: [#9685](https://github.com/owncloud/ocis/pull/9685)
|
||||
|
||||
We added support for the special kind of lock tokens that MS Office Online
|
||||
Server uses to lock files via the Wopi protocol. It will only be active if you
|
||||
set the `COLLABORATION_APP_NAME` environment variable to
|
||||
`MicrosoftOfficeOnline`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9685
|
||||
|
||||
* Enhancement - Bump reva to v.2.22.0: [#9690](https://github.com/owncloud/ocis/pull/9690)
|
||||
|
||||
* Bugfix [cs3org/reva#4741](https://github.com/cs3org/reva/pull/4741): Always find unique providers
|
||||
* Bugfix [cs3org/reva#4762](https://github.com/cs3org/reva/pull/4762): Blanks in dav Content-Disposition header
|
||||
* Bugfix [cs3org/reva#4775](https://github.com/cs3org/reva/pull/4775): Fixed the response code when copying the shared from to personal
|
||||
* Bugfix [cs3org/reva#4633](https://github.com/cs3org/reva/pull/4633): Allow all users to create internal links
|
||||
* Bugfix [cs3org/reva#4771](https://github.com/cs3org/reva/pull/4771): Deleting resources via their id
|
||||
* Bugfix [cs3org/reva#4768](https://github.com/cs3org/reva/pull/4768): Fixed the file name validation if nodeid is used
|
||||
* Bugfix [cs3org/reva#4758](https://github.com/cs3org/reva/pull/4758): Fix moving locked files, enable handling locked files via ocdav
|
||||
* Bugfix [cs3org/reva#4774](https://github.com/cs3org/reva/pull/4774): Fix micro ocdav service init and registration
|
||||
* Bugfix [cs3org/reva#4776](https://github.com/cs3org/reva/pull/4776): Fix response code for DEL file that in postprocessing
|
||||
* Bugfix [cs3org/reva#4746](https://github.com/cs3org/reva/pull/4746): Uploading the same file multiple times leads to orphaned blobs
|
||||
* Bugfix [cs3org/reva#4778](https://github.com/cs3org/reva/pull/4778): Zero byte uploads
|
||||
* Change [cs3org/reva#4759](https://github.com/cs3org/reva/pull/4759): Updated to the latest version of the go-cs3apis
|
||||
* Change [cs3org/reva#4773](https://github.com/cs3org/reva/pull/4773): Ocis bumped
|
||||
* Enhancement [cs3org/reva#4766](https://github.com/cs3org/reva/pull/4766): Set archiver output format via query parameter
|
||||
* Enhancement [cs3org/reva#4763](https://github.com/cs3org/reva/pull/4763): Improve posixfs storage driver
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9690
|
||||
https://github.com/owncloud/ocis/pull/9662
|
||||
https://github.com/owncloud/ocis/pull/9621
|
||||
https://github.com/owncloud/ocis/pull/9677
|
||||
https://github.com/owncloud/ocis/pull/9689
|
||||
|
||||
* Enhancement - Add `--diff` to the `ocis init` command: [#9693](https://github.com/owncloud/ocis/pull/9693)
|
||||
|
||||
We have added a new flag `--diff` to the `ocis init` command to show the diff of
|
||||
the configuration files. This is useful to see what has changed in the
|
||||
configuration files when you run the `ocis init` command. The diff is stored to
|
||||
the ocispath in the config folder as ocis.config.patch and can be applied using
|
||||
the linux `patch` command.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/3645
|
||||
https://github.com/owncloud/ocis/pull/9693
|
||||
|
||||
* Enhancement - Update web to v10.0.0: [#9707](https://github.com/owncloud/ocis/pull/9707)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v10.0.0. Please refer to the changelog (linked) for
|
||||
details on the web release.
|
||||
|
||||
- Bugfix [owncloud/web#11174](https://github.com/owncloud/web/pull/11174)
|
||||
Downloading files via the app top bar doesn't reflect the current state - Bugfix
|
||||
[owncloud/web#11186](https://github.com/owncloud/web/pull/11186) Images
|
||||
stretched in preview app in Safari browser - Bugfix
|
||||
[owncloud/web#11194](https://github.com/owncloud/web/pull/11194) UI breaks when
|
||||
tags are numbers - Bugfix
|
||||
[owncloud/web#11253](https://github.com/owncloud/web/pull/11253) Open dropdown
|
||||
menu does not deselect other items in admin settings app - Change
|
||||
[owncloud/web#11251](https://github.com/owncloud/web/pull/11251) Removal of
|
||||
Deprecated Config Options - Change
|
||||
[owncloud/web#11252](https://github.com/owncloud/web/pull/11252) Remove draw-io
|
||||
as default app - Change
|
||||
[owncloud/web#11277](https://github.com/owncloud/web/pull/11277) Remove set as
|
||||
description space action - Enhancement
|
||||
[owncloud/web#11166](https://github.com/owncloud/web/pull/11166) Add share role
|
||||
icon to shared with me table - Enhancement
|
||||
[owncloud/web#11258](https://github.com/owncloud/web/pull/11258) Application
|
||||
menu extension point - Enhancement
|
||||
[owncloud/web#11279](https://github.com/owncloud/web/pull/11279) Move quota info
|
||||
to general info in user menu - Enhancement
|
||||
[owncloud/web#11280](https://github.com/owncloud/web/pull/11280) Add edit
|
||||
description button to space info
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9707
|
||||
https://github.com/owncloud/web/releases/tag/v10.0.0
|
||||
|
||||
# Changelog for [6.1.0] (2024-07-08)
|
||||
|
||||
The following sections list the changes for 6.1.0.
|
||||
|
||||
[6.1.0]: https://github.com/owncloud/ocis/compare/v6.0.0...v6.1.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Fix sharing-ng permission listings for personal and virtual drive items: [#9438](https://github.com/owncloud/ocis/pull/9438)
|
||||
* Bugfix - Add inotify-tools and bash packages to docker files: [#9440](https://github.com/owncloud/ocis/pull/9440)
|
||||
* Bugfix - Allow all uploads to restart: [#9465](https://github.com/owncloud/ocis/pull/9465)
|
||||
* Bugfix - Fix the email notification service: [#9467](https://github.com/owncloud/ocis/pull/9467)
|
||||
* Bugfix - Fix Password Reset: [#9479](https://github.com/owncloud/ocis/pull/9479)
|
||||
* Bugfix - Fixed the email template: [#9484](https://github.com/owncloud/ocis/pull/9484)
|
||||
* Bugfix - Polish secure view: [#9532](https://github.com/owncloud/ocis/pull/9532)
|
||||
* Enhancement - Rudimentary OCM support in graph: [#8909](https://github.com/owncloud/ocis/pull/8909)
|
||||
* Enhancement - Activitylog API: [#9361](https://github.com/owncloud/ocis/pull/9361)
|
||||
* Enhancement - Add the backchannel logout event: [#9447](https://github.com/owncloud/ocis/pull/9447)
|
||||
* Enhancement - Add fail flag to consistency check: [#9447](https://github.com/owncloud/ocis/pull/9447)
|
||||
* Enhancement - Configurable OCM timeouts: [#9450](https://github.com/owncloud/ocis/pull/9450)
|
||||
* Enhancement - Deprecate gateway environment variables: [#9451](https://github.com/owncloud/ocis/pull/9451)
|
||||
* Enhancement - Allow reindexing all spaces: [#9456](https://github.com/owncloud/ocis/pull/9456)
|
||||
* Enhancement - Autoprovision group memberships: [#9458](https://github.com/owncloud/ocis/pull/9458)
|
||||
* Enhancement - Allow disable versioning: [#9473](https://github.com/owncloud/ocis/pull/9473)
|
||||
* Enhancement - Bump reva: [#9473](https://github.com/owncloud/ocis/pull/9473)
|
||||
* Enhancement - Empty trash directories: [#9483](https://github.com/owncloud/ocis/pull/9483)
|
||||
* Enhancement - Various fixes for the activitylog service: [#9485](https://github.com/owncloud/ocis/pull/9485)
|
||||
* Enhancement - Add cli to purge revisions: [#9497](https://github.com/owncloud/ocis/pull/9497)
|
||||
* Enhancement - Update web to v9.1.0: [#9547](https://github.com/owncloud/ocis/pull/9547)
|
||||
* Enhancement - Bump reva to v2.21.0: [#9556](https://github.com/owncloud/ocis/pull/9556)
|
||||
|
||||
## Details
|
||||
|
||||
@@ -85,6 +358,14 @@ The following sections list the changes for unreleased.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9465
|
||||
|
||||
* Bugfix - Fix the email notification service: [#9467](https://github.com/owncloud/ocis/pull/9467)
|
||||
|
||||
We fixed an error in the notification service that caused the email notification
|
||||
to fail when the user's display name contained special characters.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9402
|
||||
https://github.com/owncloud/ocis/pull/9467
|
||||
|
||||
* Bugfix - Fix Password Reset: [#9479](https://github.com/owncloud/ocis/pull/9479)
|
||||
|
||||
The `ocis idm resetpassword` always used the hardcoded `admin` name for the
|
||||
@@ -92,6 +373,20 @@ The following sections list the changes for unreleased.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9479
|
||||
|
||||
* Bugfix - Fixed the email template: [#9484](https://github.com/owncloud/ocis/pull/9484)
|
||||
|
||||
Fixed the email template when the description was marked as a link.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/8424
|
||||
https://github.com/owncloud/ocis/pull/9484
|
||||
|
||||
* Bugfix - Polish secure view: [#9532](https://github.com/owncloud/ocis/pull/9532)
|
||||
|
||||
We fixed a bug where viewing pdf files in secure view mode was not possible.
|
||||
Secure view access on space roots was dropped because of unwanted side effects.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9532
|
||||
|
||||
* Enhancement - Rudimentary OCM support in graph: [#8909](https://github.com/owncloud/ocis/pull/8909)
|
||||
|
||||
We now allow creating and accepting OCM shares.
|
||||
@@ -121,6 +416,14 @@ The following sections list the changes for unreleased.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9447
|
||||
|
||||
* Enhancement - Configurable OCM timeouts: [#9450](https://github.com/owncloud/ocis/pull/9450)
|
||||
|
||||
We added `OCM_OCM_INVITE_MANAGER_TOKEN_EXPIRATION` and
|
||||
`OCM_OCM_INVITE_MANAGER_TIMEOUT` to allow changing the default invite token
|
||||
duration as well as the request timeout for requests made to other instances.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9450
|
||||
|
||||
* Enhancement - Deprecate gateway environment variables: [#9451](https://github.com/owncloud/ocis/pull/9451)
|
||||
|
||||
Deprecate service specific `_GATEWAY_NAME` env vars. It makes no sense to point
|
||||
@@ -135,18 +438,20 @@ The following sections list the changes for unreleased.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9456
|
||||
|
||||
* Enhancement - Autoprovision group memberships: [#9458](https://github.com/owncloud/ocis/pull/9458)
|
||||
|
||||
When PROXY_AUTOPROVISION_ACCOUNTS is enabled it is now possible to automatically
|
||||
maintain the group memberships of users via a configurable OIDC claim.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/5538
|
||||
https://github.com/owncloud/ocis/pull/9458
|
||||
|
||||
* Enhancement - Allow disable versioning: [#9473](https://github.com/owncloud/ocis/pull/9473)
|
||||
|
||||
Adds new configuration options to disable versioning for the storage providers
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9473
|
||||
|
||||
* Enhancement - Bump reva: [#9473](https://github.com/owncloud/ocis/pull/9473)
|
||||
|
||||
Bumps reva version
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9473
|
||||
|
||||
* Enhancement - Empty trash directories: [#9483](https://github.com/owncloud/ocis/pull/9483)
|
||||
|
||||
We have added a cli-command that allows cleaning up empty directories in the
|
||||
@@ -163,6 +468,52 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/pull/9485
|
||||
https://github.com/owncloud/ocis/pull/9467
|
||||
|
||||
* Enhancement - Add cli to purge revisions: [#9497](https://github.com/owncloud/ocis/pull/9497)
|
||||
|
||||
Adds a cli that allows removing all revisions for a storage-provider.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9497
|
||||
|
||||
* Enhancement - Update web to v9.1.0: [#9547](https://github.com/owncloud/ocis/pull/9547)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v9.1.0. Please refer to the changelog (linked) for
|
||||
details on the web release.
|
||||
|
||||
* Bugfix [owncloud/web#11058](https://github.com/owncloud/web/pull/11058): Resetting user after logout
|
||||
* Bugfix [owncloud/web#11059](https://github.com/owncloud/web/pull/11059): Admin settings UI update after save
|
||||
* Bugfix [owncloud/web#11068](https://github.com/owncloud/web/pull/11068): Editor save after token renewal
|
||||
* Bugfix [owncloud/web#11132](https://github.com/owncloud/web/pull/11132): Trash bin breaking on navigation
|
||||
* Bugfix [owncloud/web#11135](https://github.com/owncloud/web/issues/11135): Tooltips in trashbin covered
|
||||
* Bugfix [owncloud/web#11137](https://github.com/owncloud/web/pull/11137): Duplicated elements on public link page
|
||||
* Bugfix [owncloud/web#11139](https://github.com/owncloud/web/pull/11139): Secure view default action
|
||||
* Enhancement [owncloud/web#5387](https://github.com/owncloud/web/issues/5387): Accessibility improvements
|
||||
* Enhancement [owncloud/web#10996](https://github.com/owncloud/web/pull/10996): Activities sidebar app panel
|
||||
* Enhancement [owncloud/web#11054](https://github.com/owncloud/web/pull/11054): Consistent initial loading spinner
|
||||
* Enhancement [owncloud/web#11057](https://github.com/owncloud/web/pull/11057): Add action drop down to app top bar
|
||||
* Enhancement [owncloud/web#11060](https://github.com/owncloud/web/pull/11060): Decrease text editor loading times
|
||||
* Enhancement [owncloud/web#11077](https://github.com/owncloud/web/pull/11077): Reduce network load on token renewal
|
||||
* Enhancement [owncloud/web#11085](https://github.com/owncloud/web/pull/11085): Open file directly from app
|
||||
* Enhancement [owncloud/web#11093](https://github.com/owncloud/web/pull/11093): Enable default autosave in editors
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9547
|
||||
https://github.com/owncloud/web/releases/tag/v9.1.0
|
||||
|
||||
* Enhancement - Bump reva to v2.21.0: [#9556](https://github.com/owncloud/ocis/pull/9556)
|
||||
|
||||
* Bugfix [cs3org/reva#4740](https://github.com/cs3org/reva/pull/4740): Disallow reserved filenames
|
||||
* Bugfix [cs3org/reva#4748](https://github.com/cs3org/reva/pull/4748): Quotes in dav Content-Disposition header
|
||||
* Bugfix [cs3org/reva#4750](https://github.com/cs3org/reva/pull/4750): Validate a space path
|
||||
* Enhancement [cs3org/reva#4737](https://github.com/cs3org/reva/pull/4737): Add the backchannel logout event
|
||||
* Enhancement [cs3org/reva#4749](https://github.com/cs3org/reva/pull/4749): DAV error codes
|
||||
* Enhancement [cs3org/reva#4742](https://github.com/cs3org/reva/pull/4742): Expose disable-versioning configuration option
|
||||
* Enhancement [cs3org/reva#4739](https://github.com/cs3org/reva/pull/4739): Improve posixfs storage driver
|
||||
* Enhancement [cs3org/reva#4738](https://github.com/cs3org/reva/pull/4738): Add GetServiceUserToken() method to utils pkg
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9556
|
||||
https://github.com/owncloud/ocis/pull/9473
|
||||
|
||||
# Changelog for [6.0.0] (2024-06-19)
|
||||
|
||||
The following sections list the changes for 6.0.0.
|
||||
|
||||
@@ -25,6 +25,7 @@ OCIS_MODULES = \
|
||||
services/app-provider \
|
||||
services/app-registry \
|
||||
services/audit \
|
||||
services/auth-app \
|
||||
services/auth-basic \
|
||||
services/auth-bearer \
|
||||
services/auth-machine \
|
||||
@@ -112,6 +113,10 @@ help:
|
||||
@echo -e "\tmake test-php-style\t\t${BLUE}run PHP code style checks${RESET}"
|
||||
@echo -e "\tmake test-php-style-fix\t\t${BLUE}run PHP code style checks and fix any issues found${RESET}"
|
||||
@echo
|
||||
@echo -e "${GREEN}Tools for linting gherkin feature files:\n${RESET}"
|
||||
@echo -e "\tmake test-gherkin-lint\t\t${BLUE}run lint checks on Gherkin feature files${RESET}"
|
||||
@echo -e "\tmake test-gherkin-lint-fix\t${BLUE}apply lint fixes to gherkin feature files${RESET}"
|
||||
@echo
|
||||
|
||||
.PHONY: clean-tests
|
||||
clean-tests:
|
||||
@@ -235,6 +240,14 @@ golangci-lint-fix:
|
||||
$(MAKE) --no-print-directory -C $$mod golangci-lint-fix; \
|
||||
done
|
||||
|
||||
.PHONY: test-gherkin-lint
|
||||
test-gherkin-lint:
|
||||
gherlint tests/acceptance/features -c tests/acceptance/config/.gherlintrc.json
|
||||
|
||||
.PHONY: test-gherkin-lint-fix
|
||||
test-gherkin-lint-fix:
|
||||
gherlint --fix tests/acceptance/features -c tests/acceptance/config/.gherlintrc.json
|
||||
|
||||
.PHONY: bingo-update
|
||||
bingo-update: $(BINGO)
|
||||
$(BINGO) get -l -v
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,7 @@
|
||||
Enhancement: Autoprovision group memberships
|
||||
|
||||
When PROXY_AUTOPROVISION_ACCOUNTS is enabled it is now possible to automatically
|
||||
maintain the group memberships of users via a configurable OIDC claim.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9458
|
||||
https://github.com/owncloud/ocis/issues/5538
|
||||
@@ -0,0 +1,13 @@
|
||||
Enhancement: Bump reva to v2.21.0
|
||||
|
||||
* Bugfix [cs3org/reva#4740](https://github.com/cs3org/reva/pull/4740): Disallow reserved filenames
|
||||
* Bugfix [cs3org/reva#4748](https://github.com/cs3org/reva/pull/4748): Quotes in dav Content-Disposition header
|
||||
* Bugfix [cs3org/reva#4750](https://github.com/cs3org/reva/pull/4750): Validate a space path
|
||||
* Enhancement [cs3org/reva#4737](https://github.com/cs3org/reva/pull/4737): Add the backchannel logout event
|
||||
* Enhancement [cs3org/reva#4749](https://github.com/cs3org/reva/pull/4749): DAV error codes
|
||||
* Enhancement [cs3org/reva#4742](https://github.com/cs3org/reva/pull/4742): Expose disable-versioning configuration option
|
||||
* Enhancement [cs3org/reva#4739](https://github.com/cs3org/reva/pull/4739): Improve posixfs storage driver
|
||||
* Enhancement [cs3org/reva#4738](https://github.com/cs3org/reva/pull/4738): Add GetServiceUserToken() method to utils pkg
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9556
|
||||
https://github.com/owncloud/ocis/pull/9473
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix the email notification service
|
||||
|
||||
We fixed an error in the notification service that caused the email notification to fail when the user's display name contained special characters.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9467
|
||||
https://github.com/owncloud/ocis/issues/9402
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Fixed the email template
|
||||
|
||||
Fixed the email template when the description was marked as a link.
|
||||
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9484
|
||||
https://github.com/owncloud/ocis/issues/8424
|
||||
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Bugfix: Polish secure view
|
||||
|
||||
We fixed a bug where viewing pdf files in secure view mode was not possible. Secure view access on space roots was dropped because of unwanted side effects.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9532
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: Configurable OCM timeouts
|
||||
|
||||
We added `OCM_OCM_INVITE_MANAGER_TOKEN_EXPIRATION` and `OCM_OCM_INVITE_MANAGER_TIMEOUT` to allow changing the default invite token duration as well as the request timeout for requests made to other instances.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9450
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Add cli to purge revisions
|
||||
|
||||
Adds a cli that allows removing all revisions for a storage-provider.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9497
|
||||
@@ -0,0 +1,24 @@
|
||||
Enhancement: Update web to v9.1.0
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v9.1.0. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
* Bugfix [owncloud/web#11058](https://github.com/owncloud/web/pull/11058): Resetting user after logout
|
||||
* Bugfix [owncloud/web#11059](https://github.com/owncloud/web/pull/11059): Admin settings UI update after save
|
||||
* Bugfix [owncloud/web#11068](https://github.com/owncloud/web/pull/11068): Editor save after token renewal
|
||||
* Bugfix [owncloud/web#11132](https://github.com/owncloud/web/pull/11132): Trash bin breaking on navigation
|
||||
* Bugfix [owncloud/web#11135](https://github.com/owncloud/web/issues/11135): Tooltips in trashbin covered
|
||||
* Bugfix [owncloud/web#11137](https://github.com/owncloud/web/pull/11137): Duplicated elements on public link page
|
||||
* Bugfix [owncloud/web#11139](https://github.com/owncloud/web/pull/11139): Secure view default action
|
||||
* Enhancement [owncloud/web#5387](https://github.com/owncloud/web/issues/5387): Accessibility improvements
|
||||
* Enhancement [owncloud/web#10996](https://github.com/owncloud/web/pull/10996): Activities sidebar app panel
|
||||
* Enhancement [owncloud/web#11054](https://github.com/owncloud/web/pull/11054): Consistent initial loading spinner
|
||||
* Enhancement [owncloud/web#11057](https://github.com/owncloud/web/pull/11057): Add action drop down to app top bar
|
||||
* Enhancement [owncloud/web#11060](https://github.com/owncloud/web/pull/11060): Decrease text editor loading times
|
||||
* Enhancement [owncloud/web#11077](https://github.com/owncloud/web/pull/11077): Reduce network load on token renewal
|
||||
* Enhancement [owncloud/web#11085](https://github.com/owncloud/web/pull/11085): Open file directly from app
|
||||
* Enhancement [owncloud/web#11093](https://github.com/owncloud/web/pull/11093): Enable default autosave in editors
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9547
|
||||
https://github.com/owncloud/web/releases/tag/v9.1.0
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Added the debugging to full ocis docker example
|
||||
|
||||
Added the debugging to full ocis docker example
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9666
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Introduce auth-app service
|
||||
|
||||
Introduce a new service, auth-app, that provides authentication and authorization services for applications.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9079
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Fix crash on empty tracing provider
|
||||
|
||||
We have fixed a bug that causes a crash when OCIS_TRACING_ENABLED is set to true, but no
|
||||
tracing Endpoints or Collectors have been provided.a
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9622
|
||||
https://github.com/owncloud/ocis/issues/7012
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Missing invitation in permission responses
|
||||
|
||||
We have fixed a bug where the `invitation` property was missing in the response when creating, listing or updating graph permissions.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9652
|
||||
https://github.com/owncloud/ocis/issues/9571
|
||||
@@ -0,0 +1,23 @@
|
||||
Enhancement: Bump reva to v.2.22.0
|
||||
|
||||
* Bugfix [cs3org/reva#4741](https://github.com/cs3org/reva/pull/4741): Always find unique providers
|
||||
* Bugfix [cs3org/reva#4762](https://github.com/cs3org/reva/pull/4762): Blanks in dav Content-Disposition header
|
||||
* Bugfix [cs3org/reva#4775](https://github.com/cs3org/reva/pull/4775): Fixed the response code when copying the shared from to personal
|
||||
* Bugfix [cs3org/reva#4633](https://github.com/cs3org/reva/pull/4633): Allow all users to create internal links
|
||||
* Bugfix [cs3org/reva#4771](https://github.com/cs3org/reva/pull/4771): Deleting resources via their id
|
||||
* Bugfix [cs3org/reva#4768](https://github.com/cs3org/reva/pull/4768): Fixed the file name validation if nodeid is used
|
||||
* Bugfix [cs3org/reva#4758](https://github.com/cs3org/reva/pull/4758): Fix moving locked files, enable handling locked files via ocdav
|
||||
* Bugfix [cs3org/reva#4774](https://github.com/cs3org/reva/pull/4774): Fix micro ocdav service init and registration
|
||||
* Bugfix [cs3org/reva#4776](https://github.com/cs3org/reva/pull/4776): Fix response code for DEL file that in postprocessing
|
||||
* Bugfix [cs3org/reva#4746](https://github.com/cs3org/reva/pull/4746): Uploading the same file multiple times leads to orphaned blobs
|
||||
* Bugfix [cs3org/reva#4778](https://github.com/cs3org/reva/pull/4778): Zero byte uploads
|
||||
* Change [cs3org/reva#4759](https://github.com/cs3org/reva/pull/4759): Updated to the latest version of the go-cs3apis
|
||||
* Change [cs3org/reva#4773](https://github.com/cs3org/reva/pull/4773): Ocis bumped
|
||||
* Enhancement [cs3org/reva#4766](https://github.com/cs3org/reva/pull/4766): Set archiver output format via query parameter
|
||||
* Enhancement [cs3org/reva#4763](https://github.com/cs3org/reva/pull/4763): Improve posixfs storage driver
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9690
|
||||
https://github.com/owncloud/ocis/pull/9662
|
||||
https://github.com/owncloud/ocis/pull/9621
|
||||
https://github.com/owncloud/ocis/pull/9677
|
||||
https://github.com/owncloud/ocis/pull/9689
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Bump commitID for web
|
||||
|
||||
Bump the web commitID to current master
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9631
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Improve the collaboration service logging
|
||||
|
||||
We added more debug log information to the collaboration service. This is vital for scenarios when we need to debug in remote setups.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9653
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add locking support for MS Office Online Server
|
||||
|
||||
We added support for the special kind of lock tokens that MS Office Online Server uses to lock files via the Wopi protocol.
|
||||
It will only be active if you set the `COLLABORATION_APP_NAME` environment variable to `MicrosoftOfficeOnline`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9685
|
||||
@@ -0,0 +1,8 @@
|
||||
Enhancement: Add support for proof keys for the collaboration service
|
||||
|
||||
Proof keys support will be enabled by default in order to ensure that all
|
||||
the requests come from a trusted source.
|
||||
Since proof keys must be set in the WOPI app (OnlyOffice, Collabora...), it's
|
||||
possible to disable the verification of the proof keys via configuration.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9366
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Fix restarting of postprocessing
|
||||
|
||||
We fixed a bug where non-admin requests to admin resources would get 401 Unauthorized.
|
||||
Now, the server sends 403 Forbidden response.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6945
|
||||
https://github.com/owncloud/ocis/issues/5938
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fixed the response code when copying the shared from to personal
|
||||
|
||||
We fixed the response code when copying the file from shares to personal space with a secure view role.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9677
|
||||
https://github.com/owncloud/ocis/issues/9482
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fixed the file name validation if nodeid is used
|
||||
|
||||
We have fixed the file name validation if nodeid is used
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9634
|
||||
https://github.com/owncloud/ocis/issues/9568
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix a missing SecureView permission attribute in the REPORT response
|
||||
|
||||
We fixed a missing SecureView permission attribute in the REPORT response.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9638
|
||||
https://github.com/owncloud/ocis/issues/9607
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Repair nats-js-kv registry
|
||||
|
||||
The registry would always send traffic to only one pod. This is now fixed and load should be spread evenly. Also implements watcher method so the cache can use it.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9662
|
||||
https://github.com/owncloud/ocis/pull/9654
|
||||
https://github.com/owncloud/ocis/pull/9620
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix panic
|
||||
|
||||
Fixes panic occuring when the nats-js-kv is not properly initialized.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9673
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fixed response code for DELETE file that is in postprocessing
|
||||
|
||||
We fixed the response code when DELETE and MOVE requests to the file that is still in post-processing.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9689
|
||||
https://github.com/owncloud/ocis/issues/9432
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Fix trash command
|
||||
|
||||
The `ocis trash purge-empty-dirs` command should work on any storage provider, not just `storage/users`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9665
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fixed the channel lock in a workers pool
|
||||
|
||||
We fixed an error when the users can't see more than 10 shares
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9647
|
||||
https://github.com/owncloud/ocis/issues/9642
|
||||
@@ -0,0 +1,9 @@
|
||||
Enhancement: Add `--diff` to the `ocis init` command
|
||||
|
||||
We have added a new flag `--diff` to the `ocis init` command to show the diff of the configuration files.
|
||||
This is useful to see what has changed in the configuration files when you run the `ocis init` command.
|
||||
The diff is stored to the ocispath in the config folder as ocis.config.patch and can be applied using the
|
||||
linux `patch` command.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9693
|
||||
https://github.com/owncloud/ocis/issues/3645
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Log user agent and remote addr on auth errors
|
||||
|
||||
The proxy will now log `user_agent`, `client.address`, `network.peer.address` and `network.peer.port` to help operations debug authentication errors. The latter three follow the [Semantic Conventions 1.26.0 / General / Attributes](https://opentelemetry.io/docs/specs/semconv/general/attributes/) naming to better integrate with log aggregation tools.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9475
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Add missing WOPI features
|
||||
|
||||
We added the feature to disable the chat for onlyoffice and added the missing language parameters to the wopi app url.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9580
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Remove oidc-go dependency
|
||||
|
||||
Removes the kgol/oidc-go dependency because it was flagged by dependabot. Luckily us we only used it for importing the strings "profile" and "email".
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9641
|
||||
@@ -0,0 +1,9 @@
|
||||
Change: remove unavailable web config options
|
||||
|
||||
We've removed config options from the web package, that are no longer available in web.
|
||||
Check the web changelog for more details.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9679
|
||||
https://github.com/owncloud/web/pull/11256
|
||||
https://github.com/owncloud/web/pull/10122
|
||||
https://github.com/owncloud/web/pull/11260
|
||||
@@ -0,0 +1,20 @@
|
||||
Enhancement: Update web to v10.0.0
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v10.0.0. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
- Bugfix [owncloud/web#11174](https://github.com/owncloud/web/pull/11174) Downloading files via the app top bar doesn't reflect the current state
|
||||
- Bugfix [owncloud/web#11186](https://github.com/owncloud/web/pull/11186) Images stretched in preview app in Safari browser
|
||||
- Bugfix [owncloud/web#11194](https://github.com/owncloud/web/pull/11194) UI breaks when tags are numbers
|
||||
- Bugfix [owncloud/web#11253](https://github.com/owncloud/web/pull/11253) Open dropdown menu does not deselect other items in admin settings app
|
||||
- Change [owncloud/web#11251](https://github.com/owncloud/web/pull/11251) Removal of Deprecated Config Options
|
||||
- Change [owncloud/web#11252](https://github.com/owncloud/web/pull/11252) Remove draw-io as default app
|
||||
- Change [owncloud/web#11277](https://github.com/owncloud/web/pull/11277) Remove set as description space action
|
||||
- Enhancement [owncloud/web#11166](https://github.com/owncloud/web/pull/11166) Add share role icon to shared with me table
|
||||
- Enhancement [owncloud/web#11258](https://github.com/owncloud/web/pull/11258) Application menu extension point
|
||||
- Enhancement [owncloud/web#11279](https://github.com/owncloud/web/pull/11279) Move quota info to general info in user menu
|
||||
- Enhancement [owncloud/web#11280](https://github.com/owncloud/web/pull/11280) Add edit description button to space info
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9707
|
||||
https://github.com/owncloud/web/releases/tag/v10.0.0
|
||||
@@ -1,5 +0,0 @@
|
||||
Enhancement: Bump reva
|
||||
|
||||
bumps reva version
|
||||
|
||||
https://github.com/owncloud/ocis/pull/9473
|
||||
@@ -39,8 +39,9 @@
|
||||
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis.master.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis.master.owncloud.works
|
||||
INBUCKET_DOMAIN: mail.ocis.master.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:collabora.yml:cloudimporter.yml:inbucket.yml:monitoring_tracing/monitoring.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
|
||||
+15
-16
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-wopi-latest
|
||||
- name: continuous-deployment-ocis-onlyoffice-rolling
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-22.04
|
||||
@@ -14,7 +14,7 @@
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-wopi.latest.owncloud.works"
|
||||
- "*.ocis-onlyoffice.rolling.owncloud.works"
|
||||
|
||||
vars:
|
||||
ssh_authorized_keys:
|
||||
@@ -28,28 +28,27 @@
|
||||
- name: ocis
|
||||
git_url: https://github.com/owncloud/ocis.git
|
||||
ref: master
|
||||
docker_compose_path: deployments/examples/ocis_wopi
|
||||
docker_compose_path: deployments/examples/ocis_full
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_DOMAIN: ocis.ocis-wopi.latest.owncloud.works
|
||||
COMPANION_DOMAIN: companion.ocis-wopi.latest.owncloud.works
|
||||
COMPANION_WEB_CONFIG_FILE_NAME: web-latest.yaml
|
||||
OCIS_DOCKER_TAG: 6.1.0
|
||||
OCIS_DOCKER_IMAGE: owncloud/ocis-rolling
|
||||
OCIS_DOMAIN: ocis.ocis-onlyoffice.rolling.owncloud.works
|
||||
COMPANION_DOMAIN: companion.ocis-onlyoffice.rolling.owncloud.works
|
||||
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.latest.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis-wopi.latest.owncloud.works
|
||||
ONLYOFFICE_DOMAIN: onlyoffice.ocis-wopi.latest.owncloud.works
|
||||
INBUCKET_DOMAIN: mail.ocis-wopi.latest.owncloud.works
|
||||
WOPISERVER_ONLYOFFICE_DOMAIN: wopiserver-oo.ocis-onlyoffice.rolling.owncloud.works
|
||||
ONLYOFFICE_DOMAIN: onlyoffice.ocis-onlyoffice.rolling.owncloud.works
|
||||
INBUCKET_DOMAIN: mail.ocis-onlyoffice.rolling.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:onlyoffice.yml:cloudimporter.yml:inbucket.yml:monitoring_tracing/monitoring-oo.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-wopi.latest.owncloud.works
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-onlyoffice.rolling.owncloud.works
|
||||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_wopi
|
||||
OCIS_URL: ocis.ocis-wopi.latest.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-wopi-latest
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_onlyoffice
|
||||
OCIS_URL: ocis.ocis-onlyoffice.rolling.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-onlyoffice-rolling
|
||||
@@ -32,15 +32,16 @@
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: 5.0.5
|
||||
OCIS_DOCKER_TAG: 5.0.6
|
||||
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:monitoring_tracing/docker-compose-additions.yml
|
||||
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:collabora.yml:wopiserver.yml:companion.yml:inbucket.yml:monitoring.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
|
||||
@@ -32,15 +32,16 @@
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_DOCKER_TAG: 6.1.0
|
||||
OCIS_DOCKER_IMAGE: owncloud/ocis-rolling
|
||||
OCIS_DOMAIN: ocis.ocis.rolling.owncloud.works
|
||||
COMPANION_DOMAIN: companion.ocis.rolling.owncloud.works
|
||||
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis.rolling.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis.rolling.owncloud.works
|
||||
INBUCKET_DOMAIN: mail.ocis.rolling.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:collabora.yml:cloudimporter.yml:inbucket.yml:monitoring_tracing/monitoring.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
|
||||
+16
-16
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-wopi-daily
|
||||
- name: continuous-deployment-ocis-s3-rolling
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-22.04
|
||||
@@ -14,7 +14,7 @@
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-wopi.daily.owncloud.works"
|
||||
- "*.ocis-s3.rolling.owncloud.works"
|
||||
|
||||
vars:
|
||||
ssh_authorized_keys:
|
||||
@@ -28,28 +28,28 @@
|
||||
- name: ocis
|
||||
git_url: https://github.com/owncloud/ocis.git
|
||||
ref: master
|
||||
docker_compose_path: deployments/examples/ocis_wopi
|
||||
docker_compose_path: deployments/examples/ocis_full
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_DOMAIN: ocis.ocis-wopi.daily.owncloud.works
|
||||
COMPANION_DOMAIN: companion.ocis-wopi.daily.owncloud.works
|
||||
COMPANION_WEB_CONFIG_FILE_NAME: web-daily.yaml
|
||||
OCIS_DOCKER_TAG: 6.1.0
|
||||
OCIS_DOCKER_IMAGE: owncloud/ocis-rolling
|
||||
OCIS_DOMAIN: ocis.ocis-s3.rolling.owncloud.works
|
||||
COMPANION_DOMAIN: companion.ocis-s3.rolling.owncloud.works
|
||||
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.daily.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis-wopi.daily.owncloud.works
|
||||
ONLYOFFICE_DOMAIN: onlyoffice.ocis-wopi.daily.owncloud.works
|
||||
INBUCKET_DOMAIN: mail.ocis-wopi.daily.owncloud.works
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis-s3.rolling.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis-s3.rolling.owncloud.works
|
||||
INBUCKET_DOMAIN: mail.ocis-s3.rolling.owncloud.works
|
||||
MINIO_DOMAIN: minio.ocis-s3.rolling.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
COMPOSE_FILE: docker-compose.yml:ocis.yml:s3ng.yml:minio.yml:tika.yml:collabora.yml:cloudimporter.yml:inbucket.yml:monitoring_tracing/monitoring.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-wopi.daily.owncloud.works
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-s3.rolling.owncloud.works
|
||||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_wopi
|
||||
OCIS_URL: ocis.ocis-wopi.daily.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-wopi-daily
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_full
|
||||
OCIS_URL: ocis.ocis-s3.rolling.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-s3-rolling
|
||||
@@ -1,48 +0,0 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-keycloak-released
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-22.04
|
||||
location: nbg1
|
||||
initial_ssh_key_names:
|
||||
- owncloud-ocis@drone.owncloud.com
|
||||
labels:
|
||||
owner: ocis-team
|
||||
for: oCIS-continuous-deployment-examples
|
||||
rebuild: $REBUILD
|
||||
rebuild_carry_paths:
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-keycloak.released.owncloud.works"
|
||||
|
||||
vars:
|
||||
ssh_authorized_keys:
|
||||
- https://github.com/butonic.keys
|
||||
- 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: master
|
||||
docker_compose_path: deployments/examples/ocis_keycloak
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: 5.0.3
|
||||
OCIS_DOMAIN: ocis.ocis-keycloak.released.owncloud.works
|
||||
KEYCLOAK_DOMAIN: keycloak.ocis-keycloak.released.owncloud.works
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-keycloak.released.owncloud.works
|
||||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
|
||||
OCIS_URL: ocis.ocis-keycloak.released.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-keycloak-released
|
||||
+9
-8
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-keycloak-latest
|
||||
- name: continuous-deployment-ocis-keycloak-rolling
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-22.04
|
||||
@@ -14,7 +14,7 @@
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-keycloak.latest.owncloud.works"
|
||||
- "*.ocis-keycloak.rolling.owncloud.works"
|
||||
|
||||
vars:
|
||||
ssh_authorized_keys:
|
||||
@@ -32,17 +32,18 @@
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_DOMAIN: ocis.ocis-keycloak.latest.owncloud.works
|
||||
KEYCLOAK_DOMAIN: keycloak.ocis-keycloak.latest.owncloud.works
|
||||
OCIS_DOCKER_TAG: 6.1.0
|
||||
OCIS_DOCKER_IMAGE: owncloud/ocis-rolling
|
||||
OCIS_DOMAIN: ocis.ocis-keycloak.rolling.owncloud.works
|
||||
KEYCLOAK_DOMAIN: keycloak.ocis-keycloak.rolling.owncloud.works
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-keycloak.latest.owncloud.works
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-keycloak.rolling.owncloud.works
|
||||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
|
||||
OCIS_URL: ocis.ocis-keycloak.latest.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-keycloak-latest
|
||||
OCIS_URL: ocis.ocis-keycloak.rolling.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-keycloak-rolling
|
||||
@@ -1,48 +0,0 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-ldap-latest
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-22.04
|
||||
location: nbg1
|
||||
initial_ssh_key_names:
|
||||
- owncloud-ocis@drone.owncloud.com
|
||||
labels:
|
||||
owner: ocis-team
|
||||
for: oCIS-continuous-deployment-examples
|
||||
rebuild: $REBUILD
|
||||
rebuild_carry_paths:
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-ldap.latest.owncloud.works"
|
||||
|
||||
vars:
|
||||
ssh_authorized_keys:
|
||||
- https://github.com/butonic.keys
|
||||
- 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: master
|
||||
docker_compose_path: deployments/examples/ocis_ldap
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_DOMAIN: ocis.ocis-ldap.latest.owncloud.works
|
||||
LDAP_MANAGER_DOMAIN: ldap.ocis-ldap.latest.owncloud.works
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-ldap.latest.owncloud.works
|
||||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
|
||||
OCIS_URL: ocis.ocis-ldap.latest.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-ldap-latest
|
||||
+9
-8
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-ldap-released
|
||||
- name: continuous-deployment-ocis-ldap-rolling
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-22.04
|
||||
@@ -14,7 +14,7 @@
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-ldap.released.owncloud.works"
|
||||
- "*.ocis-ldap.rolling.owncloud.works"
|
||||
|
||||
vars:
|
||||
ssh_authorized_keys:
|
||||
@@ -32,17 +32,18 @@
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: 5.0.3
|
||||
OCIS_DOMAIN: ocis.ocis-ldap.released.owncloud.works
|
||||
LDAP_MANAGER_DOMAIN: ldap.ocis-ldap.released.owncloud.works
|
||||
OCIS_DOCKER_TAG: 6.1.0
|
||||
OCIS_DOCKER_IMAGE: owncloud/ocis-rolling
|
||||
OCIS_DOMAIN: ocis.ocis-ldap.rolling.owncloud.works
|
||||
LDAP_MANAGER_DOMAIN: ldap.ocis-ldap.rolling.owncloud.works
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-ldap.released.owncloud.works
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-ldap.rolling.owncloud.works
|
||||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
|
||||
OCIS_URL: ocis.ocis-ldap.released.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-ldap-released
|
||||
OCIS_URL: ocis.ocis-ldap.rolling.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-ldap-rolling
|
||||
@@ -1,54 +0,0 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-wopi-released
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-22.04
|
||||
location: nbg1
|
||||
initial_ssh_key_names:
|
||||
- owncloud-ocis@drone.owncloud.com
|
||||
labels:
|
||||
owner: ocis-team
|
||||
for: oCIS-continuous-deployment-examples
|
||||
rebuild: $REBUILD
|
||||
rebuild_carry_paths:
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-wopi.released.owncloud.works"
|
||||
|
||||
vars:
|
||||
ssh_authorized_keys:
|
||||
- https://github.com/butonic.keys
|
||||
- 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: master
|
||||
docker_compose_path: deployments/examples/ocis_wopi
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
|
||||
OCIS_DOCKER_TAG: 5.0.3
|
||||
OCIS_DOMAIN: ocis.ocis-wopi.released.owncloud.works
|
||||
COMPANION_DOMAIN: companion.ocis-wopi.released.owncloud.works
|
||||
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
|
||||
COMPANION_WEB_CONFIG_FILE_NAME: web-released.yaml
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.released.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis-wopi.released.owncloud.works
|
||||
ONLYOFFICE_DOMAIN: onlyoffice.ocis-wopi.released.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-wopi.released.owncloud.works
|
||||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_wopi
|
||||
OCIS_URL: ocis.ocis-wopi.released.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-wopi-released
|
||||
@@ -9,7 +9,7 @@ services:
|
||||
ocis:
|
||||
environment:
|
||||
# make collabora the secure view app
|
||||
FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR: com.owncloud.api.collaboration
|
||||
FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR: com.owncloud.api.collaboration.Collabora
|
||||
|
||||
collaboration:
|
||||
image: ${OCIS_DOCKER_IMAGE:-owncloud/ocis}:${OCIS_DOCKER_TAG:-latest}
|
||||
@@ -49,7 +49,7 @@ services:
|
||||
restart: always
|
||||
|
||||
collabora:
|
||||
image: collabora/code:23.05.7.5.1
|
||||
image: collabora/code:24.04.5.1.1
|
||||
networks:
|
||||
ocis-net:
|
||||
environment:
|
||||
@@ -70,5 +70,6 @@ services:
|
||||
logging:
|
||||
driver: ${LOG_DRIVER:-local}
|
||||
restart: always
|
||||
command: ["bash", "-c", "coolconfig generate-proof-key ; /start-collabora-online.sh"]
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:9980/hosting/discovery" ]
|
||||
@@ -13,6 +13,7 @@ directives:
|
||||
- '''self'''
|
||||
frame-src:
|
||||
- '''self'''
|
||||
- 'blob:'
|
||||
- 'https://embed.diagrams.net/'
|
||||
# In contrary to bash and docker the default is given after the | character
|
||||
- 'https://${ONLYOFFICE_DOMAIN|onlyoffice.owncloud.test}/'
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
services:
|
||||
|
||||
collaboration:
|
||||
command: [ "-c", "dlv --listen=:40000 --headless=true --continue --check-go-version=false --api-version=2 --accept-multiclient exec /usr/bin/ocis collaboration server" ]
|
||||
ports:
|
||||
- 40001:40000
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
services:
|
||||
|
||||
collaboration-oo:
|
||||
command: [ "-c", "dlv --listen=:40002 --headless=true --continue --check-go-version=false --api-version=2 --accept-multiclient exec /usr/bin/ocis collaboration server" ]
|
||||
ports:
|
||||
- 40002:40002
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
services:
|
||||
|
||||
ocis:
|
||||
command: [ "-c", "ocis init || true; dlv --listen=:40000 --headless=true --continue --check-go-version=false --api-version=2 --accept-multiclient exec /usr/bin/ocis server" ]
|
||||
ports:
|
||||
- 40000:40000
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
services:
|
||||
ocis:
|
||||
environment:
|
||||
# enable the notifications service
|
||||
OCIS_ADD_RUN_SERVICES": "notifications"
|
||||
NOTIFICATIONS_SMTP_HOST: inbucket
|
||||
NOTIFICATIONS_SMTP_PORT: 2500
|
||||
NOTIFICATIONS_SMTP_SENDER: oCIS notifications <notifications@${OCIS_DOMAIN:-ocis.owncloud.test}>
|
||||
|
||||
+9
-1
@@ -1,5 +1,4 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
ocis:
|
||||
@@ -13,6 +12,15 @@ services:
|
||||
# will expose the same metrics, so it's sufficient to query one endpoint
|
||||
PROXY_DEBUG_ADDR: 0.0.0.0:9205
|
||||
|
||||
collaboration-oo:
|
||||
environment:
|
||||
# tracing
|
||||
OCIS_TRACING_ENABLED: "true"
|
||||
OCIS_TRACING_TYPE: "jaeger"
|
||||
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
|
||||
# metrics
|
||||
COLLABORATION_DEBUG_ADDR: 0.0.0.0:9304
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
external: true
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
ocis:
|
||||
|
||||
@@ -45,7 +45,7 @@ services:
|
||||
restart: always
|
||||
|
||||
onlyoffice:
|
||||
image: onlyoffice/documentserver:8.0.1
|
||||
image: onlyoffice/documentserver:8.1.0
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
|
||||
@@ -48,7 +48,7 @@ services:
|
||||
restart: always
|
||||
|
||||
ocis:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
image: ${OCIS_DOCKER_IMAGE:-owncloud/ocis}:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
|
||||
@@ -47,7 +47,7 @@ services:
|
||||
restart: always
|
||||
|
||||
ocis:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
image: ${OCIS_DOCKER_IMAGE:-owncloud/ocis}:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
depends_on:
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
# If you're on a internet facing server please comment out following line.
|
||||
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
|
||||
INSECURE=true
|
||||
|
||||
### Traefik settings ###
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
# Basic authentication for the dashboard. Defaults to user "admin" and password "admin"
|
||||
TRAEFIK_BASIC_AUTH_USERS=
|
||||
# Email address for obtaining LetsEncrypt certificates, needs only be changed if this is a public facing server
|
||||
TRAEFIK_ACME_MAIL=
|
||||
|
||||
### oCIS settings ###
|
||||
# oCIS version. Defaults to "latest"
|
||||
OCIS_DOCKER_TAG=
|
||||
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
|
||||
OCIS_DOMAIN=
|
||||
# oCIS admin user password. Defaults to "admin".
|
||||
ADMIN_PASSWORD=
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public. Defaults to "false".
|
||||
DEMO_USERS=
|
||||
|
||||
### MINIO / S3 settings ###
|
||||
# Domain of MinIO where the Web UI is accessible. Defaults to "minio.owncloud.test".
|
||||
MINIO_DOMAIN=
|
||||
# S3 bucket name, where oCIS stores its data in. Defaults to "ocis-bucket".
|
||||
MINIO_BUCKET=
|
||||
# S3 bucket access key, which oCIS uses to authenticate. Defaults to "ocis".
|
||||
MINIO_ACCESS_KEY=
|
||||
# S3 bucket access key secret, which oCIS uses to authenticate. Defaults to "ocis-secret-key".
|
||||
MINIO_SECRET_KEY=
|
||||
|
||||
# If you want to use debugging and tracing with this stack,
|
||||
# you need uncomment following line. Please see documentation at
|
||||
# https://owncloud.dev/ocis/deployment/monitoring-tracing/
|
||||
#COMPOSE_FILE=docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
document this deployment example in: docs/ocis/deployment/ocis_s3.md
|
||||
---
|
||||
|
||||
Please refer to [our documentation](https://owncloud.dev/ocis/deployment/ocis_s3/)
|
||||
for instructions on how to deploy this scenario.
|
||||
@@ -1,132 +0,0 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v2.9.1
|
||||
networks:
|
||||
ocis-net:
|
||||
aliases:
|
||||
- ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
command:
|
||||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
# letsencrypt configuration
|
||||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
||||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
||||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
||||
# enable dashboard
|
||||
- "--api.dashboard=true"
|
||||
# define entrypoints
|
||||
- "--entryPoints.http.address=:80"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.to=https"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
||||
- "--entryPoints.https.address=:443"
|
||||
# docker provider (get configuration from container labels)
|
||||
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
|
||||
- "--providers.docker.exposedByDefault=false"
|
||||
# access log
|
||||
- "--accessLog=true"
|
||||
- "--accessLog.format=json"
|
||||
- "--accessLog.fields.headers.names.X-Request-Id=keep"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "certs:/certs"
|
||||
labels:
|
||||
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
||||
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$$apr1$$4vqie50r$$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
|
||||
- "traefik.http.routers.traefik.entrypoints=https"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
ocis:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
# run ocis init to initialize a configuration file with random secrets
|
||||
# it will fail on subsequent runs, because the config file already exists
|
||||
# therefore we ignore the error and then start the ocis server
|
||||
command: ["-c", "ocis init || true; ocis server"]
|
||||
environment:
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-info}
|
||||
OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
|
||||
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
|
||||
# activate s3ng storage driver
|
||||
STORAGE_USERS_DRIVER: s3ng
|
||||
STORAGE_SYSTEM_DRIVER: ocis # keep system data on ocis storage since this are only small files atm
|
||||
# s3ng specific settings
|
||||
STORAGE_USERS_S3NG_ENDPOINT: http://minio:9000
|
||||
STORAGE_USERS_S3NG_REGION: default
|
||||
STORAGE_USERS_S3NG_ACCESS_KEY: ${MINIO_ACCESS_KEY:-ocis}
|
||||
STORAGE_USERS_S3NG_SECRET_KEY: ${MINIO_SECRET_KEY:-ocis-secret-key}
|
||||
STORAGE_USERS_S3NG_BUCKET: ${MINIO_BUCKET:-ocis-bucket}
|
||||
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||
OCIS_INSECURE: "${INSECURE:-false}"
|
||||
# basic auth (not recommended, but needed for e.g., WebDav clients that do not support OpenID Connect)
|
||||
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
|
||||
# admin user password
|
||||
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
|
||||
# demo users
|
||||
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
|
||||
# password policies
|
||||
OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST: "banned-password-list.txt"
|
||||
volumes:
|
||||
- ./config/ocis/banned-password-list.txt:/etc/ocis/banned-password-list.txt
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ocis.entrypoints=https"
|
||||
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.routers.ocis.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis.service=ocis"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
minio:
|
||||
image: minio/minio:latest
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
command:
|
||||
[
|
||||
"-c",
|
||||
"mkdir -p /data/${MINIO_BUCKET:-ocis-bucket} && minio server --console-address ':9001' /data",
|
||||
]
|
||||
volumes:
|
||||
- minio-data:/data
|
||||
environment:
|
||||
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY:-ocis}
|
||||
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY:-ocis-secret-key}
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.minio.entrypoints=https"
|
||||
- "traefik.http.routers.minio.rule=Host(`${MINIO_DOMAIN:-minio.owncloud.test}`)"
|
||||
- "traefik.http.routers.minio.tls.certresolver=http"
|
||||
- "traefik.http.routers.minio.service=minio"
|
||||
- "traefik.http.services.minio.loadbalancer.server.port=9001"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-config:
|
||||
ocis-data:
|
||||
minio-data:
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
+19
-19
@@ -1,27 +1,27 @@
|
||||
---
|
||||
title: "Joint Access Storage Driver"
|
||||
title: "PosixFS Storage Driver"
|
||||
date: 2024-05-27T14:31:00+01:00
|
||||
weight: 30
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/architecture
|
||||
geekdocFilePath: joint-access-storage-driver.md
|
||||
geekdocFilePath: posixfs-storage-driver.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
The Joint Access Storage Driver is a new storage driver for Infinite Scale.
|
||||
The Posix FS Storage Driver is a new storage driver for Infinite Scale.
|
||||
|
||||
The scope of this document is to give a high level overview to the technical aspects of the Joint Access Storage Driver and guide the setup.
|
||||
The scope of this document is to give a high level overview to the technical aspects of the Posix FS Storage Driver and guide the setup.
|
||||
|
||||
## Introduction
|
||||
|
||||
The Joint Access Storage Driver is a backend component that manages files on the server utilizing a "real" file tree that represents the data with folders and files in the file system as users are used to it. That is the big difference compared to Decomposed FS which is the default storage driver in Infinite Scale.
|
||||
The Posix FS Storage Driver is a backend component that manages files on the server utilizing a "real" file tree that represents the data with folders and files in the file system as users are used to it. That is the big difference compared to Decomposed FS which is the default storage driver in Infinite Scale.
|
||||
|
||||
This does not mean that Infinite Scale is trading any of its benefits to this new feature: It still implements simplicity by running without a database, it continues to store metadata in the file system and adds them transparently to caches and search indexes, and it also features the full spaces concept as before, just to name a few examples.
|
||||
|
||||
The architecture of Infinite Scale allows configuring different storage drivers for specific storage types and purposes on a space granularity. The Joint Access Storage Driver is an alternative to the default driver called Decomposed FS.
|
||||
The architecture of Infinite Scale allows configuring different storage drivers for specific storage types and purposes on a space granularity. The Posix FS Storage Driver is an alternative to the default driver called Decomposed FS.
|
||||
|
||||
However, the clarity of the file structure in the underlying file system is not the only benefit of the Joint Access Storage Driver. This new technology allows users to manipulate the data directly in the file system, and any changes made to files outside of Infinite Scale are monitored and directly reflected in Infinite Scale. For example, a scanner could store its output directly to the Infinite Scale file system, which immediately gets picked up in Infinite Scale.
|
||||
However, the clarity of the file structure in the underlying file system is not the only benefit of the Posix FS Storage Driver. This new technology allows users to manipulate the data directly in the file system, and any changes made to files outside of Infinite Scale are monitored and directly reflected in Infinite Scale. For example, a scanner could store its output directly to the Infinite Scale file system, which immediately gets picked up in Infinite Scale.
|
||||
|
||||
For the first time ever with feature rich open source file sync & share systems, users can either choose to work with their data through the clients of the system, its APIs or even directly in the underlying file system on the server.
|
||||
|
||||
@@ -29,9 +29,9 @@ That is another powerful vector for integration and enables a new spectrum of us
|
||||
|
||||
## Technical Aspects
|
||||
|
||||
The Joint Access Storage Driver uses a few features of the underlying file system, which are mandatory and directly contributing to the performance of the system.
|
||||
The Posix FS Storage Driver uses a few features of the underlying file system, which are mandatory and directly contributing to the performance of the system.
|
||||
|
||||
While the simplest form of Joint Access Storage Driver runs with default file systems of every modern Linux system which are directly mounted and thus support inotify, the full power of this unfolds with more capable file systems such as IBM Storage Scale or Ceph. These are recommended as reliable foundations for big installations of Infinite Scale.
|
||||
While the simplest form of Posix FS Storage Driver runs with default file systems of every modern Linux system which are directly mounted and thus support inotify, the full power of this unfolds with more capable file systems such as IBM Storage Scale or Ceph. These are recommended as reliable foundations for big installations of Infinite Scale.
|
||||
|
||||
This chapter describes some technical aspects of this storage driver.
|
||||
|
||||
@@ -111,17 +111,17 @@ One for all, it seems reasonable to use LDAP to manage users which is the base f
|
||||
|
||||
### GID Based Space Access
|
||||
|
||||
The Joint Access Storage Driver supports GID based space access to support the problem that project spaces might have to be accessible by multiple users on disk. In order to enable this feature the `ocis` binary needs to have the `setgid` capability and `STORAGE_USERS_POSIX_USE_SPACE_GROUPS` needs to be set to `true`. Inifinite Scale will then use the space GID (the gid of the space root) for all file system access using the `setfsgid` syscall, i.e. all files and directories created by Infinite Scale will belong to the same group as the space root.
|
||||
The Posix FS Storage Driver supports GID based space access to support the problem that project spaces might have to be accessible by multiple users on disk. In order to enable this feature the `ocis` binary needs to have the `setgid` capability and `STORAGE_USERS_POSIX_USE_SPACE_GROUPS` needs to be set to `true`. Inifinite Scale will then use the space GID (the gid of the space root) for all file system access using the `setfsgid` syscall, i.e. all files and directories created by Infinite Scale will belong to the same group as the space root.
|
||||
|
||||
## Advanced Features
|
||||
|
||||
Depending on the capabilities of the underlying file system, the Joint Access Storage Driver can benefit from more advanced functionality described here.
|
||||
Depending on the capabilities of the underlying file system, the Posix FS Storage Driver can benefit from more advanced functionality described here.
|
||||
|
||||
### Versioning
|
||||
|
||||
If the underlying file system is able to create versions of single resources (imagine a git based file system) this functionality could directly be used by Infinite Scale.
|
||||
|
||||
In the current state of the Joint Access Storage Driver, versioning is not supported.
|
||||
In the current state of the Posix FS Storage Driver, versioning is not supported.
|
||||
|
||||
### Trashbin
|
||||
|
||||
@@ -129,11 +129,11 @@ 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 Joint Access Storage Driver, trash bin is not supported.
|
||||
In the current state of the Posix FS Storage Driver, trash bin is not supported.
|
||||
|
||||
## Limitations
|
||||
|
||||
As of Q2/2024 the Joint Access Storage Driver is not officially supported and in technical preview state.
|
||||
As of Q2/2024 the Posix FS Storage Driver is not officially supported and in technical preview state.
|
||||
|
||||
The tech preview comes with the following limitations:
|
||||
|
||||
@@ -145,13 +145,13 @@ The tech preview comes with the following limitations:
|
||||
|
||||
## Setup
|
||||
|
||||
This describes the steps to use the Joint Access Storage Driver storage driver with Infinite Scale.
|
||||
This describes the steps to use the Posix FS Storage Driver storage driver with Infinite Scale.
|
||||
|
||||
It is possible to use different storage drivers in the same Infinite Scale installation. For example it is possible to set up one space running on Joint Access Storage Driver while others run Decomposed FS.
|
||||
It is possible to use different storage drivers in the same Infinite Scale installation. For example it is possible to set up one space running on Posix FS Storage Driver while others run Decomposed FS.
|
||||
|
||||
### Prerequisites
|
||||
|
||||
To use the Joint Access Storage Driver, the following prerequisites have to be fulfilled:
|
||||
To use the Posix FS Storage Driver, the following prerequisites have to be fulfilled:
|
||||
|
||||
1. There must be storage available to store meta data and blobs, available under a root path.
|
||||
1. When using inotify, the storage must be local on the same machine. Network mounts do not work with inotify. `inotifywait` needs to be installed.
|
||||
@@ -162,7 +162,7 @@ To use the Joint Access Storage Driver, the following prerequisites have to be f
|
||||
|
||||
### Setup Configuration
|
||||
|
||||
This is an example configuration with environment variables that configures Infinite Scale to use Joint Access Storage Driver for all spaces it works with, ie. Personal and Project Spaces:
|
||||
This is an example configuration with environment variables that configures Infinite Scale to use Posix FS Storage Driver for all spaces it works with, ie. Personal and Project Spaces:
|
||||
|
||||
```
|
||||
export STORAGE_USERS_DRIVER="posix"
|
||||
@@ -187,7 +187,7 @@ As described above metadata is stored as extended attributes of the according en
|
||||
|
||||
### FS Watcher
|
||||
|
||||
The Joint Access Storage Driver supports two different watchers for detecting changes to the filesystem. The watchfolder watcher is better tested and supported at that point.
|
||||
The Posix FS Storage Driver supports two different watchers for detecting changes to the filesystem. The watchfolder watcher is better tested and supported at that point.
|
||||
|
||||
#### GPFS File Audit Logging
|
||||
|
||||
+514
-150
File diff suppressed because it is too large.
Load diff
@@ -52,7 +52,7 @@ variables:
|
||||
on supervision of ownCloud Support.'
|
||||
do_ignore: false
|
||||
- rawname: _registryAddressEnv
|
||||
path: ocis-pkg/natsjsregistry/registry.go:166
|
||||
path: ocis-pkg/natsjsregistry/registry.go:186
|
||||
foundincode: true
|
||||
name: MICRO_REGISTRY_ADDRESS
|
||||
type: string
|
||||
@@ -69,7 +69,7 @@ variables:
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: _registryPasswordEnv
|
||||
path: ocis-pkg/natsjsregistry/registry.go:194
|
||||
path: ocis-pkg/natsjsregistry/registry.go:214
|
||||
foundincode: true
|
||||
name: MICRO_REGISTRY_AUTH_PASSWORD
|
||||
type: string
|
||||
@@ -77,7 +77,7 @@ variables:
|
||||
description: Optional when using nats to authenticate with the nats cluster.
|
||||
do_ignore: false
|
||||
- rawname: _registryUsernameEnv
|
||||
path: ocis-pkg/natsjsregistry/registry.go:194
|
||||
path: ocis-pkg/natsjsregistry/registry.go:214
|
||||
foundincode: true
|
||||
name: MICRO_REGISTRY_AUTH_USERNAME
|
||||
type: string
|
||||
|
||||
@@ -19,12 +19,13 @@ import (
|
||||
|
||||
// ConfigField is the representation of one configuration field
|
||||
type ConfigField struct {
|
||||
EnvVars []string
|
||||
DefaultValue string
|
||||
Type string
|
||||
Description string
|
||||
VersionInfo string
|
||||
DeprecationLink string
|
||||
EnvVars []string
|
||||
DefaultValue string
|
||||
IntroductionVersion string
|
||||
Type string
|
||||
Description string
|
||||
VersionInfo string
|
||||
DeprecationLink string
|
||||
}
|
||||
|
||||
// DeprecationField holds information about deprecation
|
||||
@@ -37,11 +38,12 @@ type DeprecationField struct {
|
||||
|
||||
// EnvVar holds information about one envvar
|
||||
type EnvVar struct {
|
||||
Name string
|
||||
DefaultValue string
|
||||
Type string
|
||||
Description string
|
||||
Services []string
|
||||
Name string
|
||||
IntroductionVersion string
|
||||
DefaultValue string
|
||||
Type string
|
||||
Description string
|
||||
Services []string
|
||||
}
|
||||
|
||||
type templateData struct {
|
||||
@@ -103,6 +105,7 @@ func main() {
|
||||
} else {
|
||||
all[e] = EnvVar{
|
||||
Name: e,
|
||||
IntroductionVersion: replaceEnvVarPlaceHolder(f.IntroductionVersion),
|
||||
Description: f.Description,
|
||||
Type: f.Type,
|
||||
DefaultValue: f.DefaultValue,
|
||||
@@ -149,11 +152,12 @@ func main() {
|
||||
if len(env.Services) > 1 {
|
||||
tmplValues = append(tmplValues, map[string]interface{}{
|
||||
"Name": env.Name,
|
||||
"IntroductionVersion": replaceEnvVarPlaceHolder(env.IntroductionVersion),
|
||||
"Services": env.Services,
|
||||
"Description": env.Description,
|
||||
"DefaultValue": env.DefaultValue,
|
||||
"Type": env.Type,
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -180,6 +184,15 @@ func main() {
|
||||
fmt.Println("done")
|
||||
}
|
||||
|
||||
func replaceEnvVarPlaceHolder(s string) string {
|
||||
return strings.Replace(
|
||||
strings.Replace(s, "%%NEXT%%", "next", -1),
|
||||
"%%NEXT_PRODUCTION_VERSION%%",
|
||||
"next-prod",
|
||||
-1,
|
||||
)
|
||||
}
|
||||
|
||||
func GetAnnotatedVariables(s interface{}, timestamp string) ([]ConfigField, []DeprecationField) {
|
||||
t := reflect.TypeOf(s)
|
||||
v := reflect.ValueOf(s)
|
||||
@@ -198,6 +211,7 @@ func GetAnnotatedVariables(s interface{}, timestamp string) ([]ConfigField, []De
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
introductionVersion, _ := field.Tag.Lookup("introductionVersion")
|
||||
deprecationVersion, _ := field.Tag.Lookup("deprecationVersion")
|
||||
removalVersion, _ := field.Tag.Lookup("removalVersion")
|
||||
deprecationInfo, _ := field.Tag.Lookup("deprecationInfo")
|
||||
@@ -223,6 +237,7 @@ func GetAnnotatedVariables(s interface{}, timestamp string) ([]ConfigField, []De
|
||||
fields = append(fields,
|
||||
ConfigField{
|
||||
EnvVars: td,
|
||||
IntroductionVersion: replaceEnvVarPlaceHolder(introductionVersion),
|
||||
DefaultValue: v,
|
||||
Description: desc,
|
||||
Type: typeName,
|
||||
@@ -231,10 +246,10 @@ func GetAnnotatedVariables(s interface{}, timestamp string) ([]ConfigField, []De
|
||||
if deprecationLink != "" {
|
||||
deprecations = append(deprecations,
|
||||
DeprecationField{
|
||||
DeprecationVersion: deprecationVersion,
|
||||
DeprecationVersion: replaceEnvVarPlaceHolder(deprecationVersion),
|
||||
DeprecationInfo: deprecationInfo,
|
||||
DeprecationReplacement: deprecationReplacement,
|
||||
RemovalVersion: removalVersion,
|
||||
RemovalVersion: replaceEnvVarPlaceHolder(removalVersion),
|
||||
})
|
||||
}
|
||||
case reflect.Ptr:
|
||||
|
||||
@@ -11,67 +11,50 @@ geekdocFilePath: continuous_deployment.md
|
||||
|
||||
We are continuously deploying the following deployment examples. Every example is deployed in two flavors:
|
||||
|
||||
- Latest: reflects the current master branch state of oCIS and will be updated with every commit to master
|
||||
- Daily: reflects the master branch state of oCIS as of the time of deployment
|
||||
- Released: reflects the newest release state (currently latest release of version 1) and will be updated with every release
|
||||
- Master: reflects the current master branch state of oCIS and will be updated with every commit to master
|
||||
- Rolling: reflects the latest rolling release of oCIS and will be updated with every rolling release
|
||||
- Production: reflects the latest production release of oCIS and will be updated with every production release
|
||||
|
||||
The configuration for the continuous deployment can be found in the [oCIS repository](https://github.com/owncloud/ocis/tree/master/deployments/continuous-deployment-config).
|
||||
|
||||
# oCIS with Traefik
|
||||
# oCIS with Web Office
|
||||
|
||||
This deployment is based on our modular [ocis_full Example](ocis_full.md) and uses the default configuration with Collabora Online as the office suite, traefik reverse proxy, cloudimporter and the inbucket mail catching server to showcase the full feature set of oCIS.
|
||||
|
||||
Credentials:
|
||||
|
||||
- oCIS: see [default demo users]({{< ref "../getting-started#login-to-owncloud-web" >}})
|
||||
|
||||
## Latest
|
||||
## Master
|
||||
|
||||
- oCIS: [ocis.ocis-traefik.latest.owncloud.works](https://ocis.ocis-traefik.latest.owncloud.works)
|
||||
- Mail: [mail.ocis-traefik.latest.owncloud.works](https://mail.ocis-traefik.latest.owncloud.works)
|
||||
- oCIS: [ocis.ocis.master.owncloud.works](https://ocis.ocis.master.owncloud.works)
|
||||
- Mail: [mail.ocis.master.owncloud.works](https://mail.ocis.master.owncloud.works)
|
||||
|
||||
## Daily
|
||||
## Rolling Release
|
||||
|
||||
- oCIS: [ocis.ocis-traefik.daily.owncloud.works](https://ocis.ocis-traefik.daily.owncloud.works)
|
||||
- Mail: [mail.ocis-traefik.daily.owncloud.works](https://mail.ocis-traefik.daily.owncloud.works)
|
||||
- oCIS: [ocis.ocis.rolling.owncloud.works](https://ocis.ocis.rolling.owncloud.works)
|
||||
- Mail: [mail.ocis.rolling.owncloud.works](https://mail.ocis.rolling.owncloud.works)
|
||||
|
||||
## Released
|
||||
## Production Release
|
||||
|
||||
- oCIS: [ocis.ocis-traefik.released.owncloud.works](https://ocis.ocis-traefik.released.owncloud.works)
|
||||
- Mail: [mail.ocis-traefik.released.owncloud.works](https://mail.ocis-traefik.released.owncloud.works)
|
||||
- oCIS: [ocis.ocis.production.owncloud.works](https://ocis.ocis.production.owncloud.works)
|
||||
- Mail: [mail.ocis.production.owncloud.works](https://mail.ocis.production.owncloud.works)
|
||||
|
||||
# oCIS with WOPI server
|
||||
## Rolling Release with OnlyOffice
|
||||
|
||||
This example is based on the [ocis_full Example](ocis_full.md) and uses the default configuration with OnlyOffice as the office suite.
|
||||
|
||||
- oCIS: [ocis.ocis-onlyoffice.rolling.owncloud.works](https://ocis.ocis-onlyoffice.rolling.owncloud.works)
|
||||
|
||||
# oCIS and ownCloud Web with both most recent development versions
|
||||
|
||||
Credentials:
|
||||
|
||||
- oCIS: see [default demo users]({{< ref "../getting-started#login-to-owncloud-web" >}})
|
||||
|
||||
## Latest
|
||||
## Master branches
|
||||
|
||||
- oCIS: [ocis.ocis-wopi.latest.owncloud.works](https://ocis.ocis-wopi.latest.owncloud.works)
|
||||
- Mail: [mail.ocis-wopi.latest.owncloud.works](https://mail.ocis-wopi.latest.owncloud.works)
|
||||
|
||||
## Daily
|
||||
|
||||
- oCIS: [ocis.ocis-wopi.daily.owncloud.works](https://ocis.ocis-wopi.daily.owncloud.works)
|
||||
- Mail: [mail.ocis-wopi.daily.owncloud.works](https://mail.ocis-wopi.daily.owncloud.works)
|
||||
|
||||
## Released
|
||||
|
||||
- oCIS: [ocis.ocis-wopi.released.owncloud.works](https://ocis.ocis-wopi.released.owncloud.works)
|
||||
- Mail: [mail.ocis-wopi.released.owncloud.works](https://mail.ocis-wopi.released.owncloud.works)
|
||||
|
||||
# oCIS with latest ownCloud Web
|
||||
|
||||
Credentials:
|
||||
|
||||
- oCIS: see [default demo users]({{< ref "../getting-started#login-to-owncloud-web" >}})
|
||||
|
||||
## Latest
|
||||
|
||||
- oCIS: [ocis.ocis-web.latest.owncloud.works](https://ocis.ocis-web.latest.owncloud.works)
|
||||
|
||||
## Daily
|
||||
|
||||
- oCIS: [ocis.ocis-web.daily.owncloud.works](https://ocis.ocis-web.daily.owncloud.works)
|
||||
- oCIS: [ocis.ocis-web.master.owncloud.works](https://ocis.ocis-web.master.owncloud.works)
|
||||
|
||||
# oCIS with Keycloak
|
||||
|
||||
@@ -82,20 +65,19 @@ Credentials:
|
||||
- username: admin
|
||||
- password: admin
|
||||
|
||||
## Latest
|
||||
## Rolling Release
|
||||
|
||||
- oCIS: [ocis.ocis-keycloak.latest.owncloud.works](https://ocis.ocis-keycloak.latest.owncloud.works)
|
||||
- Keycloak admin access: [keycloak.ocis-keycloak.latest.owncloud.works](https://keycloak.ocis-keycloak.latest.owncloud.works)
|
||||
- Keycloak account management: [keycloak.ocis-keycloak.latest.owncloud.works/realms/oCIS/account/#/](https://keycloak.ocis-keycloak.latest.owncloud.works/realms/oCIS/account/#/)
|
||||
- oCIS: [ocis.ocis-keycloak.rolling.owncloud.works](https://ocis.ocis-keycloak.rolling.owncloud.works)
|
||||
- Keycloak admin access: [keycloak.ocis-keycloak.rolling.owncloud.works](https://keycloak.ocis-keycloak.rolling.owncloud.works)
|
||||
- Keycloak account management: [keycloak.ocis-keycloak.rolling.owncloud.works/realms/oCIS/account/#/](https://keycloak.ocis-keycloak.rolling.owncloud.works/realms/oCIS/account/#/)
|
||||
|
||||
## Released
|
||||
|
||||
- oCIS: [ocis.ocis-keycloak.released.owncloud.works](https://ocis.ocis-keycloak.released.owncloud.works)
|
||||
- Keycloak: [keycloak.ocis-keycloak.released.owncloud.works](https://keycloak.ocis-keycloak.released.owncloud.works)
|
||||
- Keycloak account management: [keycloak.ocis-keycloak.released.owncloud.works/realms/oCIS/account/#/](https://keycloak.ocis-keycloak.released.owncloud.works/realms/oCIS/account/#/)
|
||||
|
||||
# oCIS with S3 storage backend (MinIO)
|
||||
|
||||
This deployment is based on our modular [ocis_full Example](ocis_full.md), see the [oCIS with Web Office](#ocis-with-web-office) description for the feature set. In addition to that, we deployed a MinIO S3 storage backend. oCIS stores the data in the S3 server and the metadata on the local disk by using the `s3ng` storage driver.
|
||||
|
||||
The MinIO server provides a powerful Web UI for browser-based access to the storage which makes it possible to manage the data stored in the S3 server and understand how different policies and configurations affect the data.
|
||||
|
||||
Credentials:
|
||||
|
||||
- oCIS: see [default demo users]({{< ref "../getting-started/demo-users/" >}})
|
||||
@@ -103,10 +85,11 @@ Credentials:
|
||||
- access key: ocis
|
||||
- secret access key: ocis-secret-key
|
||||
|
||||
## Latest
|
||||
## Rolling Release
|
||||
|
||||
- oCIS: [ocis.ocis-s3.latest.owncloud.works](https://ocis.ocis-s3.latest.owncloud.works)
|
||||
- MinIO: [minio.ocis-s3.latest.owncloud.works](https://minio.ocis-s3.latest.owncloud.works)
|
||||
- oCIS: [ocis.ocis-s3.rolling.owncloud.works](https://ocis.ocis-s3.rolling.owncloud.works)
|
||||
- MinIO: [minio.ocis-s3.rolling.owncloud.works](https://minio.ocis-s3.rolling.owncloud.works)
|
||||
- Mail: [mail.ocis-s3.rolling.owncloud.works](https://mail.ocis-s3.rolling.owncloud.works)
|
||||
|
||||
# oCIS with LDAP for users and groups
|
||||
|
||||
@@ -117,12 +100,8 @@ Credentials:
|
||||
- username: cn=admin,dc=owncloud,dc=com
|
||||
- password: admin
|
||||
|
||||
## Latest
|
||||
## Rolling Release
|
||||
|
||||
- oCIS: [ocis.ocis-ldap.latest.owncloud.works](https://ocis.ocis-ldap.latest.owncloud.works)
|
||||
- LDAP admin: [ldap.ocis-ldap.latest.owncloud.works](https://ldap.ocis-ldap.latest.owncloud.works)
|
||||
- oCIS: [ocis.ocis-ldap.rolling.owncloud.works](https://ocis.ocis-ldap.rolling.owncloud.works)
|
||||
- LDAP admin: [ldap.ocis-ldap.rolling.owncloud.works](https://ldap.ocis-ldap.rolling.owncloud.works)
|
||||
|
||||
## Released
|
||||
|
||||
- oCIS: [ocis.ocis-ldap.released.owncloud.works](https://ocis.ocis-ldap.released.owncloud.works)
|
||||
- LDAP admin: [ldap.ocis-ldap.released.owncloud.works](https://ldap.ocis-ldap.released.owncloud.works)
|
||||
@@ -136,7 +136,7 @@ bin/ocis --log-level=$LOG_LEVEL proxy &
|
||||
|
||||
### Debugging the ocis in a docker container
|
||||
|
||||
Remote debugging is the debug mode commonly used to work with a debugger and target running on a remote machine or a container for example a wopi stack `deployments/examples/ocis_full/docker-compose.yml`.
|
||||
Remote debugging is the debug mode commonly used to work with a debugger and target running on a remote machine or a container for example a wopi stack `deployments/examples/ocis_full/docker-compose.yml`. Docker compose lets us define a compose application model through multiple compose files. When doing so, compose follows certain rules to merge compose files. See [Merge and override](https://docs.docker.com/compose/compose-file/13-merge/) in the Compose Specification. Based on this rules, we added the extra files `deployments/examples/ocis_full/debug-ocis.yml`, `deployments/examples/ocis_full/debug-collaboration-collabora.yml`, `deployments/examples/ocis_full/debug-collaboration-onlyoffice.yml` that overwrites the `command` attribute and extends the `ports` attribute.
|
||||
Below we describe the steps how to build the image, run the docker-compose and connect via remote debugger.
|
||||
1. Build the image:
|
||||
```bash
|
||||
@@ -147,28 +147,16 @@ make debug-docker
|
||||
```bash
|
||||
export OCIS_DOCKER_TAG=debug
|
||||
```
|
||||
3. Change the docker-compose `ocis` or `collaboration` depends on what do you want to debug:
|
||||
For example `deployments/examples/ocis_full/ocis.yml`
|
||||
```yaml
|
||||
ocis:
|
||||
image: ${OCIS_DOCKER_IMAGE:-owncloud/ocis}:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
# Comment out command
|
||||
# command: ["-c", "ocis init || true; ocis server"]
|
||||
# Replace the command and expose the port
|
||||
command: [ "-c", "ocis init || true; dlv --listen=:40000 --headless=true --api-version=2 --accept-multiclient exec /usr/bin/ocis server" ]
|
||||
ports:
|
||||
- 40000:40000
|
||||
3. Run docker compose
|
||||
Building the docker compose command depends on what you want to debug, for example `ocis` and `collaboration` with the `collabora` supports.
|
||||
```bash
|
||||
docker compose -f docker-compose.yml -f ocis.yml -f collabora.yml -f debug-ocis.yml -f debug-collaboration-collabora.yml up -d
|
||||
```
|
||||
4. Run the docker-compose
|
||||
5. Connect to remote `delve`
|
||||
4. Connect to remote `delve`
|
||||
* For the VS Code add the configuration to the `.vscode/launch.json` [https://github.com/golang/vscode-go/wiki/debugging#remote-debugging](https://github.com/golang/vscode-go/wiki/debugging#remote-debugging)
|
||||
```json
|
||||
{
|
||||
"name": "Debug remote :40000",
|
||||
"name": "Debug remote ocis :40000",
|
||||
"type": "go",
|
||||
"request": "attach",
|
||||
"mode": "remote",
|
||||
@@ -177,7 +165,28 @@ For example `deployments/examples/ocis_full/ocis.yml`
|
||||
"trace": "verbose", // optional
|
||||
"showLog": true // optional
|
||||
},
|
||||
{
|
||||
"name": "Debug remote collaboration collabora :40001",
|
||||
"type": "go",
|
||||
"request": "attach",
|
||||
"mode": "remote",
|
||||
"port": 40001,
|
||||
"host": "localhost", // optional
|
||||
"trace": "verbose", // optional
|
||||
"showLog": true // optional
|
||||
},
|
||||
{
|
||||
"name": "Debug remote collaboration onlyoffice :40002",
|
||||
"type": "go",
|
||||
"request": "attach",
|
||||
"mode": "remote",
|
||||
"port": 40002,
|
||||
"host": "localhost", // optional
|
||||
"trace": "verbose", // optional
|
||||
"showLog": true // optional
|
||||
},
|
||||
```
|
||||
* For the Jetbrains Goland add the configuration following the docs [https://www.jetbrains.com/help/go/go-remote.html](https://www.jetbrains.com/help/go/go-remote.html)
|
||||
|
||||
|
||||
### Gather error messages
|
||||
|
||||
@@ -359,6 +359,7 @@ ocis/bin/ocis init --insecure true
|
||||
|
||||
# run oCIS
|
||||
PROXY_ENABLE_BASIC_AUTH=true \
|
||||
OCIS_ADD_RUN_SERVICES=notifications \
|
||||
NOTIFICATIONS_SMTP_HOST=localhost \
|
||||
NOTIFICATIONS_SMTP_PORT=2500 \
|
||||
NOTIFICATIONS_SMTP_INSECURE=true \
|
||||
@@ -560,7 +561,7 @@ OCM_OCM_INVITE_MANAGER_INSECURE=true \
|
||||
OCM_OCM_SHARE_PROVIDER_INSECURE=true \
|
||||
OCM_OCM_STORAGE_PROVIDER_INSECURE=true \
|
||||
OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE="${workspaceFolder}/tests/config/drone/providers.json" \
|
||||
OCIS_ADD_RUN_SERVICES="ocm"
|
||||
OCIS_ADD_RUN_SERVICES="ocm" \
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
@@ -586,7 +587,7 @@ To enable ocm in the web interface, you need to set the following envs:
|
||||
`FRONTEND_OCS_INCLUDE_OCM_SHAREES=true` \
|
||||
`FRONTEND_OCS_LIST_OCM_SHARES=true` \
|
||||
`FRONTEND_ENABLE_FEDERATED_SHARING_INCOMING=true` \
|
||||
`FRONTEND_ENABLE_FEDERATED_SHARING_OUTGOING=true`
|
||||
`FRONTEND_ENABLE_FEDERATED_SHARING_OUTGOING=true` \
|
||||
|
||||
and put `ocm` to apps https://github.com/owncloud/ocis/blob/master/services/web/pkg/config/defaults/defaultconfig.go#L101
|
||||
{{< /hint>}}
|
||||
|
||||
@@ -26,35 +26,35 @@ sequenceDiagram
|
||||
participant ldap as External User Directory
|
||||
|
||||
user->>+client: What is the content of my home?
|
||||
client->>+proxy: PROPFIND <br> no (or expired) auth
|
||||
Note over client,proxy: ocis needs to know the IdP that is<br>used to authenticate users. The<br>proxy will redirect unauthenticated<br>requests to that IdP.
|
||||
client->>+proxy: PROPFIND no (or expired) auth
|
||||
Note over client,proxy: ocis needs to know the IdP that is used to authenticate users. The proxy will redirect unauthenticated requests to that IdP.
|
||||
proxy-->>-client: 401 Unauthorized
|
||||
client->>+proxy: 1. The client starts a new openIDConnect Flow
|
||||
Note over client, proxy: GET /.well-known/openid-configuration
|
||||
proxy-->>-client: Return openidConnect configuration for the IdP
|
||||
client-->>client: 2. Client prepares an Authentication Request<br>containing the desired request parameters <br> and generates the code challenge (PKCE).
|
||||
client-->>client: 2. Client prepares an Authentication Request containing the desired request parameters and generates the code challenge (PKCE).
|
||||
client->>+idp: 3. Client sends the request and the code challenge to the Authorization Server.
|
||||
Note over client, idp: GET /authorize?<br>flow=oidc&response_type=code<br>&scope=openid%20profile%20email<br>&code_challenge=Y2SGoq9vtAp7YAavTaO0B550H_Rsj9DypiL7xZuFjOE<br>&code_challenge_method=S25&client_id=s6BhdRkqt3<br>&state=af0ifjsldkj<br>&redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb HTTP/1.1<br>Host: server.example.com
|
||||
Note over client, idp: GET /authorize? flow=oidc&response_type=code &scope=openid%20profile%20email &code_challenge=Y2SGoq9vtAp7YAavTaO0B550H_Rsj9DypiL7xZuFjOE &code_challenge_method=S25&client_id=s6BhdRkqt3 &state=af0ifjsldkj &redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb HTTP/1.1 Host: server.example.com
|
||||
Note over user, idp: 3. Authorization Server Authenticates the End-User.
|
||||
alt all users managed by idp/ocis idm
|
||||
idp->>+idm: LDAP query/bind
|
||||
idm-->>-idp: LDAP result
|
||||
Note over idp,ldap: In case users are managed<br>in an external ldap they have to be<br> autoprovisioned in the ocis IdM<br> when they are loggin in.
|
||||
Note over idp,ldap: In case users are managed in an external ldap they have to be autoprovisioned in the ocis IdM when they are loggin in.
|
||||
else all users authenticated by an external idp
|
||||
idp->>+ldap: Lookup of the user in the directory
|
||||
ldap-->>-idp: Lookup result
|
||||
end
|
||||
idp-->>-user: Idp presents the user an authentication prompt.
|
||||
user->>+idp: 5. User authenticates and gives consent.
|
||||
idp-->>-client: 6. Authorization Server sends the End-User back<br>to the Client with an Authorization Code.
|
||||
Note over client, idp: HTTP/1.1 302 Found<br>Location: https://client.example.org/cb?<br>code=SplxlOBeZQQYbYS6WxSbIA&state=af0ifjsldkj
|
||||
client->>+idp: 7. Client requests a response using the<br>Authorization Code and the code verifier at the Token Endpoint.
|
||||
Note over client, idp: POST /token HTTP/1.1<br>Host: server.example.com<br>Content-Type: application/x-www-form-urlencoded<br>grant_type=authorization_code&code=SplxlOBeZQQYbYS6WxSbIA<br>&redirect_uri=https%3A%2F%2Fclient.example.org<br>&code_verifier=a98ccbe253754259963e6e2b67b5a044929446d7a15046cc8e3194022ad061d9d667dce91876418d9e6fe9f54819332e
|
||||
idp-->>-client: 6. Authorization Server sends the End-User back to the Client with an Authorization Code.
|
||||
Note over client, idp: HTTP/1.1 302 Found Location: https://client.example.org/cb? code=SplxlOBeZQQYbYS6WxSbIA&state=af0ifjsldkj
|
||||
client->>+idp: 7. Client requests a response using the Authorization Code and the code verifier at the Token Endpoint.
|
||||
Note over client, idp: POST /token HTTP/1.1 Host: server.example.com Content-Type: application/x-www-form-urlencoded grant_type=authorization_code&code=SplxlOBeZQQYbYS6WxSbIA &redirect_uri=https%3A%2F%2Fclient.example.org &code_verifier=a98ccbe253754259963e6e2b67b5a044929446d7a15046cc8e3194022ad061d9d667dce91876418d9e6fe9f54819332e
|
||||
idp->>+idp: 8. IdP checks the code verifier (PKCE)
|
||||
idp-->>-client: 9. Client receives a response that contains an<br>ID Token and Access Token in the response body. <br>If offline access is requested, the client also receives a refresh token.
|
||||
Note over client, idp: HTTP/1.1 200 OK<br>Content-Type: application/json<br>Cache-Control: no-store<br>Pragma: no-cache<br>{<br>"access_token": "SlAV32hkKG",<br>"token_type": "Bearer",<br>"refresh_token": "8xLOxBtZp8",<br>"expires_in": 3600,<br>"id_token": "a ... b.c ... d.e ... f" // must be a JWT<br>}
|
||||
client-->>client: 10. Client validates the ID token and<br>retrieves the End-User's Subject Identifier.
|
||||
client->>+proxy: PROPFIND <br> With access token
|
||||
idp-->>-client: 9. Client receives a response that contains an ID Token and Access Token in the response body. If offline access is requested, the client also receives a refresh token.
|
||||
Note over client, idp: HTTP/1.1 200 OK Content-Type: application/json Cache-Control: no-store Pragma: no-cache { "access_token": "SlAV32hkKG", "token_type": "Bearer", "refresh_token": "8xLOxBtZp8", "expires_in": 3600, "id_token": "a ... b.c ... d.e ... f" // must be a JWT }
|
||||
client-->>client: 10. Client validates the ID token and retrieves the End-User's Subject Identifier.
|
||||
client->>+proxy: PROPFIND With access token
|
||||
proxy-->>-client: 207 Multi-Status
|
||||
client-->>-user: List of Files X, Y, Z ...
|
||||
{{< /mermaid >}}
|
||||
@@ -24,9 +24,9 @@ sequenceDiagram
|
||||
|
||||
user->>+client: What is the content of my home?
|
||||
|
||||
client->>+proxy: PROPFIND <br> Bearer auth using oidc auth token
|
||||
Note over client,proxy: What is in a bearer token? <br> The spec recommends opaque tokens. <br> Treat it as random byte noise.
|
||||
Note over client,proxy: the proxy MUST authenticate users <br> using ocis-accounts because it needs <br> to decide where to send the request
|
||||
client->>+proxy: PROPFIND Bearer auth using oidc auth token
|
||||
Note over client,proxy: What is in a bearer token? The spec recommends opaque tokens. Treat it as random byte noise.
|
||||
Note over client,proxy: the proxy MUST authenticate users using ocis-accounts because it needs to decide where to send the request
|
||||
%% Mention introspection endpoint for opaque tokens
|
||||
%% idp uses jwt, so we can save a request
|
||||
%% either way the token can be used to look up the sub and iss of the user
|
||||
@@ -36,16 +36,16 @@ sequenceDiagram
|
||||
alt userinfo succeeds
|
||||
|
||||
idp-->>proxy: 200 OK
|
||||
Note over proxy,accounts: Content-Type: application/json<br>{<br>"sub": "248289761001",<br>"name": "Jane Doe",<br>"given_name": "Jane",<br>"family_name": "Doe",<br>"preferred_username": "j.doe",<br>"email": "janedoe@example.com",<br>"picture": "http://example.com/janedoe/me.jpg"<br>}
|
||||
Note over proxy,accounts: Content-Type: application/json{"sub": "248289761001","name": "Jane Doe","given_name": "Jane","family_name": "Doe","preferred_username": "j.doe","email": "janedoe@example.com","picture": "http://example.com/janedoe/me.jpg"}
|
||||
%% see: https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse
|
||||
|
||||
else userinfo fails
|
||||
|
||||
idp-->>-proxy: 401 Unauthorized
|
||||
Note over proxy,accounts: WWW-Authenticate: error="invalid_token",<br>error_description="The Access Token expired"
|
||||
Note over proxy,accounts: WWW-Authenticate: error="invalid_token",error_description="The Access Token expired"
|
||||
|
||||
proxy-->>client: 401 Unauthorized or <br>302 Found with redirect to idp
|
||||
Note over client: start at login flow<br> or refresh the token
|
||||
proxy-->>client: 401 Unauthorized or 302 Found with redirect to idp
|
||||
Note over client: start at login flow or refresh the token
|
||||
|
||||
end
|
||||
|
||||
@@ -71,7 +71,7 @@ sequenceDiagram
|
||||
end
|
||||
end
|
||||
|
||||
Note over proxy,accounts: provision a new account including displayname, email and sub@iss <br> TODO only if the user is allowed to login, based on group <br> membership in the ldap server
|
||||
Note over proxy,accounts: provision a new account including displayname, email and sub@iss TODO only if the user is allowed to login, based on group membership in the ldap server
|
||||
proxy->>proxy: generate new uuid
|
||||
proxy->>+accounts: TODO create account with new generated uuid
|
||||
accounts-->>-proxy: OK / error
|
||||
@@ -79,8 +79,8 @@ sequenceDiagram
|
||||
else account has been disabled
|
||||
|
||||
accounts-->>-proxy: account is disabled
|
||||
proxy-->>client: 401 Unauthorized or <br>302 Found with redirect to idp
|
||||
Note over client: start at login flow<br> or refresh the token
|
||||
proxy-->>client: 401 Unauthorized or 302 Found with redirect to idp
|
||||
Note over client: start at login flow or refresh the token
|
||||
|
||||
end
|
||||
proxy->>proxy: store uuid in context
|
||||
@@ -88,7 +88,7 @@ sequenceDiagram
|
||||
%% what if oc10 does not support a certain request / API
|
||||
|
||||
proxy->>proxy: mint an internal jwt that includes the UUID and username using revas `x-access-token` header
|
||||
proxy->>+reva: PROPFIND <br>Token auth using internal JWT
|
||||
proxy->>+reva: PROPFIND Token auth using internal JWT
|
||||
reva-->>-proxy: Multistatus response
|
||||
proxy-->>-client: Multistatus response
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ This page is designed to provide clarity and transparency regarding the scheduli
|
||||
|
||||
|
||||
| Release Date | Type | Version | Notes | Support |
|
||||
| ------------ | ------------ |---------------------------------------------------------------------------------------| --------------------------------------------------------------------------------------------- | -------------- |
|
||||
| ------------ | ------------ |---------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------| -------------- |
|
||||
| 23.12.2024 | Rolling | - | - | - |
|
||||
| 02.12.2024 | Rolling | - | - | - |
|
||||
| 11.11.2024 | Production | - | - | - |
|
||||
@@ -24,9 +24,10 @@ This page is designed to provide clarity and transparency regarding the scheduli
|
||||
| 09.09.2024 | Rolling | - | - | - |
|
||||
| 19.08.2024 | Rolling | - | - | - |
|
||||
| 29.07.2024 | Rolling | - | - | - |
|
||||
| 08.07.2024 | Rolling | - | - | - |
|
||||
| 17.06.2024 | Rolling | [Infinite Scale 6 (6.0.0)](https://download.owncloud.com/ocis/ocis/rolling/6.0.0/) | - | - |
|
||||
| **22.05.2024** | **Production** | **[Infinite Scale 5 (5.0.5)](https://download.owncloud.com/ocis/ocis/stable/5.0.5/)** | **[Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-5)** | **Active Support** |
|
||||
| 08.07.2024 | Rolling | [Infinite Scale 6 (6.1.0)](https://download.owncloud.com/ocis/ocis/rolling/6.1.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-1-0) | - |
|
||||
| 19.06.2024 | Rolling | [Infinite Scale 6 (6.0.0)](https://download.owncloud.com/ocis/ocis/rolling/6.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-0-0) | - |
|
||||
| **17.07.2024** | **Production** | **[Infinite Scale 5 (5.0.6)](https://download.owncloud.com/ocis/ocis/stable/5.0.6/)** | **[Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-6)** | **Active Support** |
|
||||
| 22.05.2024 | Production | [Infinite Scale 5 (5.0.5)](https://download.owncloud.com/ocis/ocis/stable/5.0.5/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-5) | Active Support |
|
||||
| 14.05.2024 | Production | [Infinite Scale 5 (5.0.4)](https://download.owncloud.com/ocis/ocis/stable/5.0.4/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-4) | Active Support |
|
||||
| 02.05.2024 | Production | [Infinite Scale 5 (5.0.3)](https://download.owncloud.com/ocis/ocis/stable/5.0.3/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-3) | Active Support |
|
||||
| 17.04.2024 | Production | [Infinite Scale 5 (5.0.2)](https://download.owncloud.com/ocis/ocis/stable/5.0.2/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-2) | Active Support |
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
---
|
||||
title: Added Services per Release
|
||||
date: 2024-07-12T00:00:00+00:00
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/services/general-info
|
||||
geekdocFilePath: added-services.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
Over time, services get added with new releases published. This page gives an overview of which services exist and which
|
||||
have been added per release.
|
||||
|
||||
## Added Services
|
||||
|
||||
The following table gives an overview about releases and their services.
|
||||
|
||||
| 3.0 | 4.0 | 5.0 | Rolling |
|
||||
| ------------------ | ------------------ | ------------------ | ------------------ |
|
||||
| | | | activitylog |
|
||||
| antivirus | antivirus | antivirus | antivirus |
|
||||
| app-provider | app-provider | app-provider | app-provider |
|
||||
| app-registry | app-registry | app-registry | app-registry |
|
||||
| audit | audit | audit | audit |
|
||||
| auth-basic | auth-basic | auth-basic | auth-basic |
|
||||
| auth-bearer | auth-bearer | auth-bearer | auth-bearer |
|
||||
| auth-machine | auth-machine | auth-machine | auth-machine |
|
||||
| | | auth-service | auth-service |
|
||||
| | | clientlog | clientlog |
|
||||
| | | | collaboration |
|
||||
| | | eventhistory | eventhistory |
|
||||
| frontend | frontend | frontend | frontend |
|
||||
| gateway | gateway | gateway | gateway |
|
||||
| graph | graph | graph | graph |
|
||||
| groups | groups | groups | groups |
|
||||
| idm | idm | idm | idm |
|
||||
| idp | idp | idp | idp |
|
||||
| invitations | invitations | invitations | invitations |
|
||||
| nats | nats | nats | nats |
|
||||
| notifications | notifications | notifications | notifications |
|
||||
| ocdav | ocdav | ocdav | ocdav |
|
||||
| | | ocm | ocm |
|
||||
| ocs | ocs | ocs | ocs |
|
||||
| policies | policies | policies | policies |
|
||||
| postprocessing | postprocessing | postprocessing | postprocessing |
|
||||
| proxy | proxy | proxy | proxy |
|
||||
| search | search | search | search |
|
||||
| settings | settings | settings | settings |
|
||||
| sharing | sharing | sharing | sharing |
|
||||
| | | sse | sse |
|
||||
| storage-publiclink | storage-publiclink | storage-publiclink | storage-publiclink |
|
||||
| storage-shares | storage-shares | storage-shares | storage-shares |
|
||||
| storage-system | storage-system | storage-system | storage-system |
|
||||
| storage-users | storage-users | storage-users | storage-users |
|
||||
| store | store | store | store |
|
||||
| thumbnails | thumbnails | thumbnails | thumbnails |
|
||||
| userlog | userlog | userlog | userlog |
|
||||
| users | users | users | users |
|
||||
| web | web | web | web |
|
||||
| webdav | webdav | webdav | webdav |
|
||||
| webfinger | webfinger | webfinger | webfinger |
|
||||
@@ -15,6 +15,7 @@ When a new service gets introduced, this checklist is a good starting point for
|
||||
Use this checklist with copy/paste in your PR - right from the beginning. It renders correctly in your PR.
|
||||
|
||||
```markdown
|
||||
- [ ] Services MUST NOT be named `extended` or `global`. These are reserved names for the automated documentation process.
|
||||
- [ ] Provide a README.md for that service in the root folder of that service.
|
||||
- Use CamelCase for section headers.
|
||||
- [ ] For images and example files used in README.md:
|
||||
|
||||
@@ -60,7 +60,7 @@ We also suggest using the last port in your extensions' range as a debug/metrics
|
||||
| 9230-9234 | [nats]({{< ref "../nats/_index.md" >}}) |
|
||||
| 9235-9239 | [idm]({{< ref "../idm/_index.md" >}}) |
|
||||
| 9240-9244 | [app-registry]({{< ref "../app-registry/_index.md" >}}) |
|
||||
| 9245-9249 | FREE |
|
||||
| 9245-9249 | [auth-app]({{< ref "../auth-app/_index.md" >}}) |
|
||||
| 9250-9254 | [ocis server (runtime)](https://github.com/owncloud/ocis/tree/master/ocis/pkg/runtime) |
|
||||
| 9255-9259 | [postprocessing]({{< ref "../postprocessing/_index.md" >}}) |
|
||||
| 9260-9264 | [clientlog]({{< ref "../clientlog/_index.md" >}}) |
|
||||
|
||||
Vendored
+8
-1
@@ -1,4 +1,6 @@
|
||||
// set the attribute to true or leave empty, true without any quotes.
|
||||
// if the generated adoc file is used outside tabs, it renders correctly depending on the attribute set.
|
||||
// if inside, you need to also use the xxx_deprecation.adoc file. attributes can't be defined inside tabs.
|
||||
|
||||
:show-deprecation: {{ .HasDeprecations }}
|
||||
|
||||
@@ -23,13 +25,16 @@ ifeval::[{show-deprecation} == true]
|
||||
{{- end }}
|
||||
|===
|
||||
|
||||
{empty} +
|
||||
|
||||
endif::[]
|
||||
|
||||
[caption=]
|
||||
.Environment variables for the {{ .ExtensionName }} service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
[width="100%",cols="~,~,~,~,~",options="header"]
|
||||
|===
|
||||
| Name
|
||||
| IV
|
||||
| Type
|
||||
| Default Value
|
||||
| Description
|
||||
@@ -42,6 +47,8 @@ a| {{- range $i, $value := .EnvVars }}{{- if $i }} +
|
||||
{{- end }} +
|
||||
{{ .DeprecationLink }}
|
||||
a| [subs=-attributes]
|
||||
++{{.IntroductionVersion}} ++
|
||||
a| [subs=-attributes]
|
||||
++{{.Type}} ++
|
||||
a| [subs=-attributes]
|
||||
++{{.DefaultValue}} ++
|
||||
|
||||
Vendored
+5
-1
@@ -3,9 +3,10 @@
|
||||
[.landscape]
|
||||
[caption=]
|
||||
.Environment variables with global scope available in multiple services
|
||||
[width="100%",cols="30%,25%,~,~,~",options="header"]
|
||||
[width="100%",cols="30%,~,25%,~,~,~",options="header"]
|
||||
|===
|
||||
| Name
|
||||
| IV
|
||||
| Services
|
||||
| Type
|
||||
| Default Value
|
||||
@@ -13,6 +14,9 @@
|
||||
{{ range . }}
|
||||
a| `{{ .Name }}`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++{{ .IntroductionVersion }} ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
{{- range .Services}}
|
||||
* xref:{s-path}/{{ . }}.adoc[{{ . }}] +
|
||||
|
||||
@@ -14,15 +14,14 @@ require (
|
||||
github.com/blevesearch/bleve/v2 v2.4.0
|
||||
github.com/cenkalti/backoff v2.2.1+incompatible
|
||||
github.com/coreos/go-oidc/v3 v3.10.0
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781
|
||||
github.com/cs3org/reva/v2 v2.20.1-0.20240626105341-178ea2306cde
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20240724121416-062c4e3046cb
|
||||
github.com/cs3org/reva/v2 v2.22.0
|
||||
github.com/dhowden/tag v0.0.0-20230630033851-978a0926ee25
|
||||
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
|
||||
github.com/egirna/icap-client v0.1.1
|
||||
github.com/gabriel-vasile/mimetype v1.4.4
|
||||
github.com/ggwhite/go-masker v1.1.0
|
||||
github.com/go-chi/chi/v5 v5.0.12
|
||||
github.com/go-chi/cors v1.2.1
|
||||
github.com/go-chi/chi/v5 v5.1.0
|
||||
github.com/go-chi/render v1.0.3
|
||||
github.com/go-jose/go-jose/v3 v3.0.3
|
||||
github.com/go-ldap/ldap/v3 v3.4.8
|
||||
@@ -64,7 +63,7 @@ require (
|
||||
github.com/mna/pigeon v1.2.1
|
||||
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
|
||||
github.com/nats-io/nats-server/v2 v2.10.16
|
||||
github.com/nats-io/nats.go v1.35.0
|
||||
github.com/nats-io/nats.go v1.36.0
|
||||
github.com/oklog/run v1.1.0
|
||||
github.com/olekukonko/tablewriter v0.0.5
|
||||
github.com/onsi/ginkgo v1.16.5
|
||||
@@ -79,6 +78,7 @@ require (
|
||||
github.com/r3labs/sse/v2 v2.10.0
|
||||
github.com/riandyrn/otelchi v0.8.0
|
||||
github.com/rogpeppe/go-internal v1.12.0
|
||||
github.com/rs/cors v1.11.0
|
||||
github.com/rs/zerolog v1.33.0
|
||||
github.com/shamaton/msgpack/v2 v2.2.0
|
||||
github.com/sirupsen/logrus v1.9.3
|
||||
@@ -88,20 +88,19 @@ require (
|
||||
github.com/test-go/testify v1.1.4
|
||||
github.com/thejerf/suture/v4 v4.0.5
|
||||
github.com/tidwall/gjson v1.17.1
|
||||
github.com/tidwall/sjson v1.2.5
|
||||
github.com/tus/tusd v1.13.0
|
||||
github.com/unrolled/secure v1.14.0
|
||||
github.com/urfave/cli/v2 v2.27.2
|
||||
github.com/xhit/go-simple-mail/v2 v2.16.0
|
||||
go-micro.dev/v4 v4.10.2
|
||||
go-micro.dev/v4 v4.11.0
|
||||
go.etcd.io/bbolt v1.3.10
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0
|
||||
go.opentelemetry.io/contrib/zpages v0.52.0
|
||||
go.opentelemetry.io/otel v1.27.0
|
||||
go.opentelemetry.io/otel v1.28.0
|
||||
go.opentelemetry.io/otel/exporters/jaeger v1.17.0
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0
|
||||
go.opentelemetry.io/otel/sdk v1.27.0
|
||||
go.opentelemetry.io/otel/trace v1.27.0
|
||||
go.opentelemetry.io/otel/trace v1.28.0
|
||||
golang.org/x/crypto v0.24.0
|
||||
golang.org/x/exp v0.0.0-20240205201215-2c58cdc269a3
|
||||
golang.org/x/image v0.18.0
|
||||
@@ -110,12 +109,11 @@ require (
|
||||
golang.org/x/sync v0.7.0
|
||||
golang.org/x/term v0.21.0
|
||||
golang.org/x/text v0.16.0
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5
|
||||
google.golang.org/grpc v1.64.0
|
||||
google.golang.org/protobuf v1.34.1
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157
|
||||
google.golang.org/grpc v1.65.0
|
||||
google.golang.org/protobuf v1.34.2
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
gotest.tools/v3 v3.5.1
|
||||
stash.kopano.io/kgol/oidc-go v0.3.4
|
||||
stash.kopano.io/kgol/rndm v1.1.2
|
||||
)
|
||||
|
||||
@@ -162,7 +160,7 @@ require (
|
||||
github.com/bombsimon/logrusr/v3 v3.1.0 // indirect
|
||||
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
|
||||
github.com/ceph/go-ceph v0.18.0 // indirect
|
||||
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
||||
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
||||
github.com/cevaris/ordered_map v0.0.0-20190319150403-3adeae072e73 // indirect
|
||||
github.com/cilium/ebpf v0.9.1 // indirect
|
||||
github.com/cloudflare/circl v1.3.7 // indirect
|
||||
@@ -224,7 +222,7 @@ require (
|
||||
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
|
||||
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
|
||||
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551 // indirect
|
||||
github.com/golang/glog v1.2.0 // indirect
|
||||
github.com/golang/glog v1.2.1 // indirect
|
||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||
github.com/golang/snappy v0.0.4 // indirect
|
||||
github.com/gomodule/redigo v1.8.9 // indirect
|
||||
@@ -234,7 +232,7 @@ require (
|
||||
github.com/gookit/color v1.5.4 // indirect
|
||||
github.com/gookit/goutil v0.6.15 // indirect
|
||||
github.com/gorilla/handlers v1.5.1 // indirect
|
||||
github.com/gorilla/schema v1.2.0 // indirect
|
||||
github.com/gorilla/schema v1.4.1 // indirect
|
||||
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
|
||||
github.com/hashicorp/consul/api v1.25.1 // indirect
|
||||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
||||
@@ -290,7 +288,7 @@ require (
|
||||
github.com/opencontainers/runtime-spec v1.1.0 // indirect
|
||||
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
||||
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
|
||||
github.com/pablodz/inotifywaitgo v0.0.6 // indirect
|
||||
github.com/pablodz/inotifywaitgo v0.0.7 // indirect
|
||||
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
|
||||
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
|
||||
github.com/pierrec/lz4/v4 v4.1.15 // indirect
|
||||
@@ -304,7 +302,6 @@ require (
|
||||
github.com/prometheus/statsd_exporter v0.22.8 // indirect
|
||||
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
|
||||
github.com/rivo/uniseg v0.4.2 // indirect
|
||||
github.com/rs/cors v1.10.1 // indirect
|
||||
github.com/rs/xid v1.5.0 // indirect
|
||||
github.com/russellhaering/goxmldsig v1.4.0 // indirect
|
||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||
@@ -338,7 +335,7 @@ require (
|
||||
go.opencensus.io v0.24.0 // indirect
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 // indirect
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
|
||||
go.opentelemetry.io/otel/metric v1.27.0 // indirect
|
||||
go.opentelemetry.io/otel/metric v1.28.0 // indirect
|
||||
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
|
||||
go.uber.org/atomic v1.11.0 // indirect
|
||||
go.uber.org/multierr v1.9.0 // indirect
|
||||
@@ -349,10 +346,9 @@ require (
|
||||
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
|
||||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
||||
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect
|
||||
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
|
||||
gopkg.in/ini.v1 v1.67.0 // indirect
|
||||
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
|
||||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
||||
gopkg.in/warnings.v0 v0.1.2 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
@@ -365,6 +361,8 @@ replace github.com/egirna/icap-client => github.com/fschade/icap-client v0.0.0-2
|
||||
|
||||
replace github.com/unrolled/secure => github.com/DeepDiver1975/secure v0.0.0-20240611112133-abc838fb797c
|
||||
|
||||
replace github.com/go-micro/plugins/v4/store/nats-js-kv => github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240723073728-b36ea3314b73
|
||||
|
||||
// exclude the v2 line of go-sqlite3 which was released accidentally and prevents pulling in newer versions of go-sqlite3
|
||||
// see https://github.com/mattn/go-sqlite3/issues/965 for more details
|
||||
exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible
|
||||
@@ -212,7 +212,7 @@ cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IK
|
||||
cloud.google.com/go/compute v1.19.3/go.mod h1:qxvISKp/gYnXkSAD1ppcSOveRAmzxicEv/JlizULFrI=
|
||||
cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM=
|
||||
cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM=
|
||||
cloud.google.com/go/compute v1.25.1 h1:ZRpHJedLtTpKgr3RV1Fx23NuaAEN1Zfx9hw1u4aJdjU=
|
||||
cloud.google.com/go/compute v1.24.0 h1:phWcR2eWzRJaL/kOiJwfFsPs4BaKq1j6vnpZrc1YlVg=
|
||||
cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU=
|
||||
cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=
|
||||
cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM=
|
||||
@@ -966,8 +966,9 @@ github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
|
||||
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
|
||||
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||
github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
|
||||
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
|
||||
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||
github.com/cevaris/ordered_map v0.0.0-20190319150403-3adeae072e73 h1:q1g9lSyo/nOIC3W5E3FK3Unrz8b9LdLXCyuC+ZcpPC0=
|
||||
github.com/cevaris/ordered_map v0.0.0-20190319150403-3adeae072e73/go.mod h1:507vXsotcZop7NZfBWdhPmVeOse4ko2R7AagJYrpoEg=
|
||||
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
|
||||
@@ -996,8 +997,8 @@ github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWH
|
||||
github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
|
||||
github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
|
||||
github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
|
||||
github.com/cncf/xds/go v0.0.0-20240318125728-8a4994d93e50 h1:DBmgJDC9dTfkVyGgipamEh2BpGYxScCH1TOF1LL1cXc=
|
||||
github.com/cncf/xds/go v0.0.0-20240318125728-8a4994d93e50/go.mod h1:5e1+Vvlzido69INQaVO6d87Qn543Xr6nooe9Kz7oBFM=
|
||||
github.com/cncf/xds/go v0.0.0-20240423153145-555b57ec207b h1:ga8SEFjZ60pxLcmhnThWgvH2wg8376yUJmPhEH4H3kw=
|
||||
github.com/cncf/xds/go v0.0.0-20240423153145-555b57ec207b/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8=
|
||||
github.com/containerd/cgroups/v3 v3.0.2 h1:f5WFqIVSgo5IZmtTT3qVBo6TzI1ON6sycSBKkymb9L0=
|
||||
github.com/containerd/cgroups/v3 v3.0.2/go.mod h1:JUgITrzdFqp42uI2ryGA+ge0ap/nxzYgkGmIcetmErE=
|
||||
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
|
||||
@@ -1022,10 +1023,10 @@ github.com/crewjam/httperr v0.2.0 h1:b2BfXR8U3AlIHwNeFFvZ+BV1LFvKLlzMjzaTnZMybNo
|
||||
github.com/crewjam/httperr v0.2.0/go.mod h1:Jlz+Sg/XqBQhyMjdDiC+GNNRzZTD7x39Gu3pglZ5oH4=
|
||||
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-20231023073225-7748710e0781 h1:BUdwkIlf8IS2FasrrPg8gGPHQPOrQ18MS1Oew2tmGtY=
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20231023073225-7748710e0781/go.mod h1:UXha4TguuB52H14EMoSsCqDj7k8a/t7g4gVP+bgY5LY=
|
||||
github.com/cs3org/reva/v2 v2.20.1-0.20240626105341-178ea2306cde h1:N9LYCUnWBAxzI8hPymSG2VHN6MBxqCTuwNbaODAuvCk=
|
||||
github.com/cs3org/reva/v2 v2.20.1-0.20240626105341-178ea2306cde/go.mod h1:Rb2XnhpGKnH7k6WBFZlMygbyBxW6ma09Z4Uk+ro0v+A=
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20240724121416-062c4e3046cb h1:KmYZDReplv/yfwc1LNYpDcVhVujC3Pasv6WjXx1haSU=
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20240724121416-062c4e3046cb/go.mod h1:yyP8PRo0EZou3nSH7H4qjlzQwaydPeIRNgX50npQHpE=
|
||||
github.com/cs3org/reva/v2 v2.22.0 h1:dMZGJDdrTCYYyMlVSzchbEUyFrHgvFI2Md/aLLiez54=
|
||||
github.com/cs3org/reva/v2 v2.22.0/go.mod h1:y9ujkcxepugOsv50baQSCtudfY5VY5S5eigNTvGfSZI=
|
||||
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=
|
||||
@@ -1140,10 +1141,8 @@ github.com/go-asn1-ber/asn1-ber v1.4.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkPro
|
||||
github.com/go-asn1-ber/asn1-ber v1.5.5 h1:MNHlNMBDgEKD4TcKr36vQN68BA00aDfjIt3/bD50WnA=
|
||||
github.com/go-asn1-ber/asn1-ber v1.5.5/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0=
|
||||
github.com/go-chi/chi v4.0.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
|
||||
github.com/go-chi/chi/v5 v5.0.12 h1:9euLV5sTrTNTRUU9POmDUvfxyj6LAABLUcEWO+JJb4s=
|
||||
github.com/go-chi/chi/v5 v5.0.12/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
|
||||
github.com/go-chi/cors v1.2.1 h1:xEC8UT3Rlp2QuWNEr4Fs/c2EAGVKBwy/1vHx3bppil4=
|
||||
github.com/go-chi/cors v1.2.1/go.mod h1:sSbTewc+6wYHBBCW7ytsFSn836hqM7JxpglAy2Vzc58=
|
||||
github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw=
|
||||
github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
|
||||
github.com/go-chi/render v1.0.3 h1:AsXqd2a1/INaIfUSKq3G5uA8weYx20FOsM7uSoCyyt4=
|
||||
github.com/go-chi/render v1.0.3/go.mod h1:/gr3hVkmYR0YlEy3LxCuVRFzEu9Ruok+gFqbIofjao0=
|
||||
github.com/go-cmd/cmd v1.0.5/go.mod h1:y8q8qlK5wQibcw63djSl/ntiHUHXHGdCkPk0j4QeW4s=
|
||||
@@ -1217,8 +1216,6 @@ github.com/go-micro/plugins/v4/server/http v1.2.2 h1:UK2/09AU0zV3wHELuR72TZzVU2v
|
||||
github.com/go-micro/plugins/v4/server/http v1.2.2/go.mod h1:YuAjaSPxcn3LI8j2FUsqx0Rxunrj4YwDV41Ax76rLl0=
|
||||
github.com/go-micro/plugins/v4/store/nats-js v1.2.1-0.20231129143103-d72facc652f0 h1:Qa1EBQ9UyCGecFAJQovl/MHGnvbcvDaM3qUoAG5Lnvk=
|
||||
github.com/go-micro/plugins/v4/store/nats-js v1.2.1-0.20231129143103-d72facc652f0/go.mod h1:aCRl8JQmqIaonOl88nFPY/BOQnHPVHY9ngStzLkXnYk=
|
||||
github.com/go-micro/plugins/v4/store/nats-js-kv v0.0.0-20231226212146-94a49ba3e06e h1:hwH0qXT0J3UFYRi0UD+e3ItL92oW+jdPFA+3o/j6ASg=
|
||||
github.com/go-micro/plugins/v4/store/nats-js-kv v0.0.0-20231226212146-94a49ba3e06e/go.mod h1:Goi4eJ9SrKkxE6NsAVqBVNxfQFbwb7UbyII6743ldgM=
|
||||
github.com/go-micro/plugins/v4/store/redis v1.2.1 h1:d9kwr9bSpoK9vkHkqcv+isQUbgBCHpfwCV57pcAPS6c=
|
||||
github.com/go-micro/plugins/v4/store/redis v1.2.1/go.mod h1:MbCG0YiyPqETTtm7uHFmxQNCaW1o9hBoYtFwhbVjLUg=
|
||||
github.com/go-micro/plugins/v4/transport/grpc v1.1.0 h1:mXfDYfFQLnVDzjGY3o84oe4prfux9h8txsnA19dKsj8=
|
||||
@@ -1295,8 +1292,8 @@ github.com/golang/geo v0.0.0-20210211234256-740aa86cb551/go.mod h1:QZ0nwyI2jOfgR
|
||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
|
||||
github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4=
|
||||
github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ=
|
||||
github.com/golang/glog v1.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68=
|
||||
github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w=
|
||||
github.com/golang/glog v1.2.1 h1:OptwRhECazUx5ix5TTWC3EZhsZEHWcYWY4FQHTIubm4=
|
||||
github.com/golang/glog v1.2.1/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w=
|
||||
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
||||
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
||||
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
||||
@@ -1450,8 +1447,8 @@ github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2z
|
||||
github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
|
||||
github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
|
||||
github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
|
||||
github.com/gorilla/schema v1.2.0 h1:YufUaxZYCKGFuAq3c96BOhjgd5nmXiOY9NGzF247Tsc=
|
||||
github.com/gorilla/schema v1.2.0/go.mod h1:kgLaKoK1FELgZqMAVxx/5cbj0kT+57qxUrAlIO2eleU=
|
||||
github.com/gorilla/schema v1.4.1 h1:jUg5hUjCSDZpNGLuXQOgIWGdlgrIdYvgQ0wZtdK1M3E=
|
||||
github.com/gorilla/schema v1.4.1/go.mod h1:Dg5SSm5PV60mhF2NFaTV1xuYYj8tV8NOPRo4FggUMnM=
|
||||
github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
|
||||
github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
|
||||
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
|
||||
@@ -1612,6 +1609,8 @@ github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa02
|
||||
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
|
||||
github.com/klauspost/cpuid/v2 v2.2.6 h1:ndNyv040zDGIDh8thGkXYjnFtiN02M1PVVF+JE/48xc=
|
||||
github.com/klauspost/cpuid/v2 v2.2.6/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
|
||||
github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240723073728-b36ea3314b73 h1:Cgg5BVWG99INUMX43nD5jhZgNzQJyFA0MvZkctNn0Lw=
|
||||
github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240723073728-b36ea3314b73/go.mod h1:pjcozWijkNPbEtX5SIQaxEW/h8VAVZYTLx+70bmB3LY=
|
||||
github.com/kolo/xmlrpc v0.0.0-20200310150728-e0350524596b/go.mod h1:o03bZfuBwAXHetKXuInt4S7omeXUu62/A845kiycsSQ=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||
@@ -1760,8 +1759,8 @@ github.com/nats-io/jwt/v2 v2.5.7 h1:j5lH1fUXCnJnY8SsQeB/a/z9Azgu2bYIDvtPVNdxe2c=
|
||||
github.com/nats-io/jwt/v2 v2.5.7/go.mod h1:ZdWS1nZa6WMZfFwwgpEaqBV8EPGVgOTDHN/wTbz0Y5A=
|
||||
github.com/nats-io/nats-server/v2 v2.10.16 h1:2jXaiydp5oB/nAx/Ytf9fdCi9QN6ItIc9eehX8kwVV0=
|
||||
github.com/nats-io/nats-server/v2 v2.10.16/go.mod h1:Pksi38H2+6xLe1vQx0/EA4bzetM0NqyIHcIbmgXSkIU=
|
||||
github.com/nats-io/nats.go v1.35.0 h1:XFNqNM7v5B+MQMKqVGAyHwYhyKb48jrenXNxIU20ULk=
|
||||
github.com/nats-io/nats.go v1.35.0/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8=
|
||||
github.com/nats-io/nats.go v1.36.0 h1:suEUPuWzTSse/XhESwqLxXGuj8vGRuPRoG7MoRN/qyU=
|
||||
github.com/nats-io/nats.go v1.36.0/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8=
|
||||
github.com/nats-io/nkeys v0.4.7 h1:RwNJbbIdYCoClSDNY7QVKZlyb/wfT6ugvFCiKy6vDvI=
|
||||
github.com/nats-io/nkeys v0.4.7/go.mod h1:kqXRgRDPlGy7nGaEDMuYzmiJCIAAWDK0IMBtDmGD0nc=
|
||||
github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
|
||||
@@ -1809,8 +1808,8 @@ github.com/owncloud/libre-graph-api-go v1.0.5-0.20240618162722-2298241331d1 h1:w
|
||||
github.com/owncloud/libre-graph-api-go v1.0.5-0.20240618162722-2298241331d1/go.mod h1:yXI+rmE8yYx+ZsGVrnCpprw/gZMcxjwntnX2y2+VKxY=
|
||||
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw=
|
||||
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0=
|
||||
github.com/pablodz/inotifywaitgo v0.0.6 h1:BTjQfnixXwG7oYmlIiyhWA6iyO9BtxatB3YgiibOTFc=
|
||||
github.com/pablodz/inotifywaitgo v0.0.6/go.mod h1:OtzRCsYTJlIr+vAzlOtauTkfQ1c25ebFuXq8tbbf8cw=
|
||||
github.com/pablodz/inotifywaitgo v0.0.7 h1:1ii49dGBnRn0t1Sz7RGZS6/NberPEDQprwKHN49Bv6U=
|
||||
github.com/pablodz/inotifywaitgo v0.0.7/go.mod h1:OtzRCsYTJlIr+vAzlOtauTkfQ1c25ebFuXq8tbbf8cw=
|
||||
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
|
||||
github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY=
|
||||
github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
|
||||
@@ -1843,7 +1842,6 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI
|
||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||
github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
|
||||
github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s=
|
||||
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA=
|
||||
github.com/pquerna/cachecontrol v0.2.0 h1:vBXSNuE5MYP9IJ5kjsdo8uq+w41jSPgvba2DEnkRx9k=
|
||||
github.com/pquerna/cachecontrol v0.2.0/go.mod h1:NrUG3Z7Rdu85UNR3vm7SOsl1nFIeSiQnrHV5K9mBcUI=
|
||||
github.com/pquerna/otp v1.3.0/go.mod h1:dkJfzwRKNiegxyNb54X/3fLwhCynbMspSyWKnvi1AEg=
|
||||
@@ -1928,8 +1926,8 @@ github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6po
|
||||
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
|
||||
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
|
||||
github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
|
||||
github.com/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
|
||||
github.com/rs/cors v1.10.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
|
||||
github.com/rs/cors v1.11.0 h1:0B9GE/r9Bc2UxRMMtymBkHTenPkHDv0CW4Y98GBY+po=
|
||||
github.com/rs/cors v1.11.0/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
|
||||
github.com/rs/xid v1.5.0 h1:mKX4bl4iPYJtEIxp6CYiUuLQ/8DYMoz0PUdtGgMFRVc=
|
||||
github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
|
||||
github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8=
|
||||
@@ -2036,7 +2034,6 @@ 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/tidwall/gjson v1.14.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
|
||||
github.com/tidwall/gjson v1.17.1 h1:wlYEnwqAHgzmhNUFfw7Xalt2JzQvsMx2Se4PcoFCT/U=
|
||||
github.com/tidwall/gjson v1.17.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
|
||||
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
|
||||
@@ -2044,8 +2041,6 @@ github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JT
|
||||
github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
|
||||
github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4=
|
||||
github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
|
||||
github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=
|
||||
github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=
|
||||
github.com/tklauser/go-sysconf v0.3.14 h1:g5vzr9iPFFz24v2KZXs/pvpvh8/V9Fw6vQK5ZZb78yU=
|
||||
github.com/tklauser/go-sysconf v0.3.14/go.mod h1:1ym4lWMLUOhuBOPGtRcJm7tEGX4SCYNEEEtghGG/8uY=
|
||||
github.com/tklauser/numcpus v0.8.0 h1:Mx4Wwe/FjZLeQsK/6kt2EOepwwSl7SmJrK5bV/dXYgY=
|
||||
@@ -2107,8 +2102,8 @@ github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo
|
||||
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
|
||||
github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
|
||||
github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA=
|
||||
go-micro.dev/v4 v4.10.2 h1:GWQf1+FcAiMf1yca3P09RNjB31Xtk0C5HiKHSpq/2qA=
|
||||
go-micro.dev/v4 v4.10.2/go.mod h1:RV2AolXjTAil9Xm82QCMo1gknuZwD61oMUH14wJpECk=
|
||||
go-micro.dev/v4 v4.11.0 h1:DZ2xcr0pnZJDlp6MJiCLhw4tXRxLw9xrJlPT91kubr0=
|
||||
go-micro.dev/v4 v4.11.0/go.mod h1:eE/tD53n3KbVrzrWxKLxdkGw45Fg1qaNLWjpJMvIUF4=
|
||||
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
|
||||
go.etcd.io/bbolt v1.3.10 h1:+BqfJTcCzTItrop8mq/lbzL8wSGtj94UO/3U31shqG0=
|
||||
go.etcd.io/bbolt v1.3.10/go.mod h1:bK3UQLPJZly7IlNmV7uVHJDxfe5aK9Ll93e/74Y9oEQ=
|
||||
@@ -2131,24 +2126,24 @@ go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
|
||||
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 h1:P+/g8GpuJGYbOp2tAdKrIPUX9JO02q8Q0YNlHolpibA=
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0/go.mod h1:tIKj3DbO8N9Y2xo52og3irLsPI4GW02DSMtrVgNMgxg=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 h1:9l89oX4ba9kHbBol3Xin3leYJ+252h0zszDtBwyKe2A=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0/go.mod h1:XLZfZboOJWHNKUv7eH0inh0E9VV6eWDFB/9yJyTLPp0=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 h1:4K4tsIXefpVJtvA/8srF4V4y0akAoPHkIslgAkjixJA=
|
||||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0/go.mod h1:jjdQuTGVsXV4vSs+CJ2qYDeDPf9yIJV23qlIzBm73Vg=
|
||||
go.opentelemetry.io/contrib/zpages v0.52.0 h1:MPgkMy0Cp3O5EdfVXP0ss3ujhEibysTM4eszx7E7d+E=
|
||||
go.opentelemetry.io/contrib/zpages v0.52.0/go.mod h1:fqG5AFdoYru3A3DnhibVuaaEfQV2WKxE7fYE1jgDRwk=
|
||||
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
|
||||
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
|
||||
go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo=
|
||||
go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4=
|
||||
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 h1:D7UpUy2Xc2wsi1Ras6V40q806WM07rqoCWzXu7Sqy+4=
|
||||
go.opentelemetry.io/otel/exporters/jaeger v1.17.0/go.mod h1:nPCqOnEH9rNLKqH/+rrUjiMzHJdV1BlpKcTwRTyKkKI=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
|
||||
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
|
||||
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
|
||||
go.opentelemetry.io/otel/metric v1.28.0 h1:f0HGvSl1KRAU1DLgLGFjrwVyismPlnuU6JD6bOeuA5Q=
|
||||
go.opentelemetry.io/otel/metric v1.28.0/go.mod h1:Fb1eVBFZmLVTMb6PPohq3TO9IIhUisDsbJoL/+uQW4s=
|
||||
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
|
||||
go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
|
||||
go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
|
||||
go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
|
||||
go.opentelemetry.io/otel/trace v1.28.0 h1:GhQ9cUuQGmNDd5BTCP2dAvv75RdMxEfTmYejp+lkx9g=
|
||||
go.opentelemetry.io/otel/trace v1.28.0/go.mod h1:jPyXzNPg6da9+38HEwElrQiHlVMTnVfM3/yv2OlIHaI=
|
||||
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
|
||||
go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
|
||||
go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
|
||||
@@ -2183,7 +2178,6 @@ golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8U
|
||||
golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY=
|
||||
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||
golang.org/x/crypto v0.0.0-20191112222119-e1110fd1c708/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
golang.org/x/crypto v0.0.0-20191128160524-b544559bb6d1/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
|
||||
@@ -2422,7 +2416,6 @@ golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5h
|
||||
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190415081028-16da32be82c5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
@@ -2758,7 +2751,6 @@ google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID
|
||||
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
|
||||
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
|
||||
google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
|
||||
google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
|
||||
google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
|
||||
google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
|
||||
google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
|
||||
@@ -2908,8 +2900,8 @@ google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529/go.
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:mPBs5jNgx2GuQGvFwUvVKqtn6HsUw9nP64BedgvqEsQ=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 h1:7whR9kGa5LUwFtpLm2ArCEejtnxlGeLbAyjFY8sGNFw=
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157/go.mod h1:99sLkeliLXfdj2J75X3Ho+rrVCaJze0uwN7zDDkjPVU=
|
||||
google.golang.org/genproto/googleapis/bytestream v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:ylj+BE99M198VPbBh6A8d9n3w8fChvyLK3wwBOjXBFA=
|
||||
google.golang.org/genproto/googleapis/bytestream v0.0.0-20230711160842-782d3b101e98/go.mod h1:3QoBVwTHkXbY1oRGzlhwhOykfcATQN43LJ6iT8Wy8kE=
|
||||
google.golang.org/genproto/googleapis/bytestream v0.0.0-20230807174057-1744710a1577/go.mod h1:NjCQG/D8JandXxM57PZbAJL1DCNL6EypA0vPPwfsc7c=
|
||||
@@ -2922,8 +2914,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230731190214-cbb8c96f2d6d/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 h1:Zy9XzmMEflZ/MAaA7vNcoebnRAld7FsPW1EeBB7V0m8=
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
|
||||
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=
|
||||
@@ -2971,8 +2963,8 @@ google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGO
|
||||
google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s=
|
||||
google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s=
|
||||
google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo=
|
||||
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
|
||||
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
|
||||
google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc=
|
||||
google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ=
|
||||
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
|
||||
google.golang.org/grpc/examples v0.0.0-20211102180624-670c133e568e h1:m7aQHHqd0q89mRwhwS9Bx2rjyl/hsFAeta+uGrHsQaU=
|
||||
google.golang.org/grpc/examples v0.0.0-20211102180624-670c133e568e/go.mod h1:gID3PKrg7pWKntu9Ss6zTLJ0ttC0X9IHgREOCZwbCVU=
|
||||
@@ -2994,8 +2986,8 @@ google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw
|
||||
google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
||||
google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
||||
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
||||
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
|
||||
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
|
||||
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
|
||||
google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
|
||||
gopkg.in/Acconut/lockfile.v1 v1.1.0/go.mod h1:6UCz3wJ8tSFUsPR6uP/j8uegEtDuEEqFxlpi0JI4Umw=
|
||||
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
|
||||
gopkg.in/cenkalti/backoff.v1 v1.1.0 h1:Arh75ttbsvlpVA7WtVpH4u9h6Zl46xuptxqLxPiSo4Y=
|
||||
@@ -3018,10 +3010,7 @@ gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
|
||||
gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/ns1/ns1-go.v2 v2.4.4/go.mod h1:GMnKY+ZuoJ+lVLL+78uSTjwTz2jMazq6AfGKQOYhsPk=
|
||||
gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
|
||||
gopkg.in/square/go-jose.v2 v2.4.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
|
||||
gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
|
||||
gopkg.in/square/go-jose.v2 v2.6.0 h1:NGk74WTnPKBNUhNzQX7PYcTLUjoq7mzKk2OKbvwk2iI=
|
||||
gopkg.in/square/go-jose.v2 v2.6.0/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
|
||||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
|
||||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
|
||||
gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
|
||||
@@ -3110,7 +3099,5 @@ rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
|
||||
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
|
||||
sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E=
|
||||
sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=
|
||||
stash.kopano.io/kgol/oidc-go v0.3.4 h1:pWANXF8gCPn6w+bowuWrOtmUueCyS70xLd4I8DbnIYs=
|
||||
stash.kopano.io/kgol/oidc-go v0.3.4/go.mod h1:roVKz8FVmPcdL4pUu+Gzk+GH2kOhz1UvnuMNTkjHyH8=
|
||||
stash.kopano.io/kgol/rndm v1.1.2 h1:vriNehb5NuglfGqZPkgeFr2Y5AjXtQCF4vEl4kqc6nc=
|
||||
stash.kopano.io/kgol/rndm v1.1.2/go.mod h1:CBvpAHlOwyu/XipxfLGk02UN3K3P6hQ8E2JoTbNWfJU=
|
||||
@@ -7,6 +7,7 @@ import (
|
||||
appProvider "github.com/owncloud/ocis/v2/services/app-provider/pkg/config"
|
||||
appRegistry "github.com/owncloud/ocis/v2/services/app-registry/pkg/config"
|
||||
audit "github.com/owncloud/ocis/v2/services/audit/pkg/config"
|
||||
authapp "github.com/owncloud/ocis/v2/services/auth-app/pkg/config"
|
||||
authbasic "github.com/owncloud/ocis/v2/services/auth-basic/pkg/config"
|
||||
authbearer "github.com/owncloud/ocis/v2/services/auth-bearer/pkg/config"
|
||||
authmachine "github.com/owncloud/ocis/v2/services/auth-machine/pkg/config"
|
||||
@@ -86,6 +87,7 @@ type Config struct {
|
||||
AppProvider *appProvider.Config `yaml:"app_provider"`
|
||||
AppRegistry *appRegistry.Config `yaml:"app_registry"`
|
||||
Audit *audit.Config `yaml:"audit"`
|
||||
AuthApp *authapp.Config `yaml:"auth_app"`
|
||||
AuthBasic *authbasic.Config `yaml:"auth_basic"`
|
||||
AuthBearer *authbearer.Config `yaml:"auth_bearer"`
|
||||
AuthMachine *authmachine.Config `yaml:"auth_machine"`
|
||||
|
||||
@@ -6,6 +6,7 @@ import (
|
||||
appProvider "github.com/owncloud/ocis/v2/services/app-provider/pkg/config/defaults"
|
||||
appRegistry "github.com/owncloud/ocis/v2/services/app-registry/pkg/config/defaults"
|
||||
audit "github.com/owncloud/ocis/v2/services/audit/pkg/config/defaults"
|
||||
authapp "github.com/owncloud/ocis/v2/services/auth-app/pkg/config/defaults"
|
||||
authbasic "github.com/owncloud/ocis/v2/services/auth-basic/pkg/config/defaults"
|
||||
authbearer "github.com/owncloud/ocis/v2/services/auth-bearer/pkg/config/defaults"
|
||||
authmachine "github.com/owncloud/ocis/v2/services/auth-machine/pkg/config/defaults"
|
||||
@@ -58,6 +59,7 @@ func DefaultConfig() *Config {
|
||||
AppProvider: appProvider.DefaultConfig(),
|
||||
AppRegistry: appRegistry.DefaultConfig(),
|
||||
Audit: audit.DefaultConfig(),
|
||||
AuthApp: authapp.DefaultConfig(),
|
||||
AuthBasic: authbasic.DefaultConfig(),
|
||||
AuthBearer: authbearer.DefaultConfig(),
|
||||
AuthMachine: authmachine.DefaultConfig(),
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/cors"
|
||||
|
||||
chicors "github.com/go-chi/cors"
|
||||
rscors "github.com/rs/cors"
|
||||
)
|
||||
|
||||
// NoCache writes required cache headers to all requests.
|
||||
@@ -31,10 +31,11 @@ func Cors(opts ...cors.Option) func(http.Handler) http.Handler {
|
||||
Str("allowed_headers", strings.Join(options.AllowedHeaders, ", ")).
|
||||
Bool("allow_credentials", options.AllowCredentials).
|
||||
Msg("setup cors middleware")
|
||||
return chicors.Handler(chicors.Options{
|
||||
c := rscors.New(rscors.Options{
|
||||
AllowedOrigins: options.AllowedOrigins,
|
||||
AllowedMethods: options.AllowedMethods,
|
||||
AllowedHeaders: options.AllowedHeaders,
|
||||
AllowCredentials: options.AllowCredentials,
|
||||
})
|
||||
return c.Handler
|
||||
}
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
type storeOptionsKey struct{}
|
||||
type expiryKey struct{}
|
||||
type defaultTTLKey struct{}
|
||||
|
||||
// StoreOptions sets the options for the underlying store
|
||||
func StoreOptions(opts []store.Option) registry.Option {
|
||||
@@ -21,12 +21,12 @@ func StoreOptions(opts []store.Option) registry.Option {
|
||||
}
|
||||
}
|
||||
|
||||
// ServiceExpiry allows setting an expiry time for service registrations
|
||||
func ServiceExpiry(t time.Duration) registry.Option {
|
||||
// DefaultTTL allows setting a default register TTL for services
|
||||
func DefaultTTL(t time.Duration) registry.Option {
|
||||
return func(o *registry.Options) {
|
||||
if o.Context == nil {
|
||||
o.Context = context.Background()
|
||||
}
|
||||
o.Context = context.WithValue(o.Context, expiryKey{}, t)
|
||||
o.Context = context.WithValue(o.Context, defaultTTLKey{}, t)
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,7 @@ import (
|
||||
"time"
|
||||
|
||||
natsjskv "github.com/go-micro/plugins/v4/store/nats-js-kv"
|
||||
"github.com/google/uuid"
|
||||
"github.com/nats-io/nats.go"
|
||||
"go-micro.dev/v4/registry"
|
||||
"go-micro.dev/v4/store"
|
||||
@@ -23,6 +24,8 @@ var (
|
||||
_registryAddressEnv = "MICRO_REGISTRY_ADDRESS"
|
||||
_registryUsernameEnv = "MICRO_REGISTRY_AUTH_USERNAME"
|
||||
_registryPasswordEnv = "MICRO_REGISTRY_AUTH_PASSWORD"
|
||||
|
||||
_serviceDelimiter = "/"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -37,22 +40,22 @@ func NewRegistry(opts ...registry.Option) registry.Registry {
|
||||
for _, o := range opts {
|
||||
o(&options)
|
||||
}
|
||||
exp, _ := options.Context.Value(expiryKey{}).(time.Duration)
|
||||
defaultTTL, _ := options.Context.Value(defaultTTLKey{}).(time.Duration)
|
||||
n := &storeregistry{
|
||||
opts: options,
|
||||
typ: _registryName,
|
||||
expiry: exp,
|
||||
opts: options,
|
||||
typ: _registryName,
|
||||
defaultTTL: defaultTTL,
|
||||
}
|
||||
n.store = natsjskv.NewStore(n.storeOptions(options)...)
|
||||
return n
|
||||
}
|
||||
|
||||
type storeregistry struct {
|
||||
opts registry.Options
|
||||
store store.Store
|
||||
typ string
|
||||
expiry time.Duration
|
||||
lock sync.RWMutex
|
||||
opts registry.Options
|
||||
store store.Store
|
||||
typ string
|
||||
defaultTTL time.Duration
|
||||
lock sync.RWMutex
|
||||
}
|
||||
|
||||
// Init inits the registry
|
||||
@@ -73,78 +76,64 @@ func (n *storeregistry) Options() registry.Options {
|
||||
}
|
||||
|
||||
// Register adds a service to the registry
|
||||
func (n *storeregistry) Register(s *registry.Service, _ ...registry.RegisterOption) error {
|
||||
func (n *storeregistry) Register(s *registry.Service, opts ...registry.RegisterOption) error {
|
||||
n.lock.RLock()
|
||||
defer n.lock.RUnlock()
|
||||
|
||||
if s == nil {
|
||||
return errors.New("wont store nil service")
|
||||
}
|
||||
|
||||
var options registry.RegisterOptions
|
||||
options.TTL = n.defaultTTL
|
||||
for _, o := range opts {
|
||||
o(&options)
|
||||
}
|
||||
|
||||
unique := uuid.New().String()
|
||||
if s.Metadata == nil {
|
||||
s.Metadata = make(map[string]string)
|
||||
}
|
||||
s.Metadata["uuid"] = unique
|
||||
|
||||
b, err := json.Marshal(s)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return n.store.Write(&store.Record{
|
||||
Key: s.Name,
|
||||
Key: s.Name + _serviceDelimiter + unique,
|
||||
Value: b,
|
||||
Expiry: n.expiry,
|
||||
Expiry: options.TTL,
|
||||
})
|
||||
}
|
||||
|
||||
// Deregister removes a service from the registry
|
||||
// Deregister removes a service from the registry.
|
||||
func (n *storeregistry) Deregister(s *registry.Service, _ ...registry.DeregisterOption) error {
|
||||
n.lock.RLock()
|
||||
defer n.lock.RUnlock()
|
||||
|
||||
return n.store.Delete(s.Name)
|
||||
var unique string
|
||||
if s.Metadata != nil {
|
||||
unique = s.Metadata["uuid"]
|
||||
}
|
||||
|
||||
return n.store.Delete(s.Name + _serviceDelimiter + unique)
|
||||
}
|
||||
|
||||
// GetService gets a specific service from the registry
|
||||
func (n *storeregistry) GetService(s string, _ ...registry.GetOption) ([]*registry.Service, error) {
|
||||
n.lock.RLock()
|
||||
defer n.lock.RUnlock()
|
||||
|
||||
recs, err := n.store.Read(s)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
svcs := make([]*registry.Service, 0, len(recs))
|
||||
for _, rec := range recs {
|
||||
var s registry.Service
|
||||
if err := json.Unmarshal(rec.Value, &s); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
svcs = append(svcs, &s)
|
||||
}
|
||||
return svcs, nil
|
||||
// avoid listing e.g. `webfinger` when requesting `web` by adding the delimiter to the service name
|
||||
return n.listServices(store.ListPrefix(s + _serviceDelimiter))
|
||||
}
|
||||
|
||||
// ListServices lists all registered services
|
||||
func (n *storeregistry) ListServices(...registry.ListOption) ([]*registry.Service, error) {
|
||||
n.lock.RLock()
|
||||
defer n.lock.RUnlock()
|
||||
|
||||
keys, err := n.store.List()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
var svcs []*registry.Service
|
||||
for _, k := range keys {
|
||||
s, err := n.GetService(k)
|
||||
if err != nil {
|
||||
// TODO: continue ?
|
||||
return nil, err
|
||||
}
|
||||
svcs = append(svcs, s...)
|
||||
|
||||
}
|
||||
return svcs, nil
|
||||
return n.listServices()
|
||||
}
|
||||
|
||||
// Watch allowes following the changes in the registry if it would be implemented
|
||||
func (n *storeregistry) Watch(...registry.WatchOption) (registry.Watcher, error) {
|
||||
return nil, errors.New("watcher not implemented")
|
||||
return NewWatcher(n)
|
||||
}
|
||||
|
||||
// String returns the name of the registry
|
||||
@@ -152,6 +141,43 @@ func (n *storeregistry) String() string {
|
||||
return n.typ
|
||||
}
|
||||
|
||||
func (n *storeregistry) listServices(opts ...store.ListOption) ([]*registry.Service, error) {
|
||||
n.lock.RLock()
|
||||
defer n.lock.RUnlock()
|
||||
|
||||
keys, err := n.store.List(opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
svcs := make([]*registry.Service, 0, len(keys))
|
||||
for _, k := range keys {
|
||||
s, err := n.getService(k)
|
||||
if err != nil {
|
||||
// TODO: continue ?
|
||||
return nil, err
|
||||
}
|
||||
svcs = append(svcs, s)
|
||||
|
||||
}
|
||||
return svcs, nil
|
||||
}
|
||||
|
||||
func (n *storeregistry) getService(s string) (*registry.Service, error) {
|
||||
recs, err := n.store.Read(s)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if len(recs) == 0 {
|
||||
return nil, registry.ErrNotFound
|
||||
}
|
||||
var svc registry.Service
|
||||
if err := json.Unmarshal(recs[0].Value, &svc); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &svc, nil
|
||||
}
|
||||
|
||||
func (n *storeregistry) storeOptions(opts registry.Options) []store.Option {
|
||||
storeoptions := []store.Option{
|
||||
store.Database("service-registry"),
|
||||
@@ -160,6 +186,10 @@ func (n *storeregistry) storeOptions(opts registry.Options) []store.Option {
|
||||
natsjskv.EncodeKeys(),
|
||||
}
|
||||
|
||||
if defaultTTL, ok := opts.Context.Value(defaultTTLKey{}).(time.Duration); ok {
|
||||
storeoptions = append(storeoptions, natsjskv.DefaultTTL(defaultTTL))
|
||||
}
|
||||
|
||||
addr := []string{"127.0.0.1:9233"}
|
||||
if len(opts.Addrs) > 0 {
|
||||
addr = opts.Addrs
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
package natsjsregistry
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/nats-io/nats.go"
|
||||
"go-micro.dev/v4/registry"
|
||||
)
|
||||
|
||||
// NatsWatcher is the watcher of the nats interface
|
||||
type NatsWatcher interface {
|
||||
WatchAll(bucket string, opts ...nats.WatchOpt) (nats.KeyWatcher, error)
|
||||
}
|
||||
|
||||
// Watcher is used to keep track of changes in the registry
|
||||
type Watcher struct {
|
||||
watch nats.KeyWatcher
|
||||
updates <-chan nats.KeyValueEntry
|
||||
reg *storeregistry
|
||||
}
|
||||
|
||||
// NewWatcher returns a new watcher
|
||||
func NewWatcher(s *storeregistry) (*Watcher, error) {
|
||||
w, ok := s.store.(NatsWatcher)
|
||||
if !ok {
|
||||
return nil, errors.New("store does not implement watcher interface")
|
||||
}
|
||||
|
||||
watcher, err := w.WatchAll("service-registry")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return &Watcher{
|
||||
watch: watcher,
|
||||
updates: watcher.Updates(),
|
||||
reg: s,
|
||||
}, nil
|
||||
}
|
||||
|
||||
// Next returns the next result. It is a blocking call
|
||||
func (w *Watcher) Next() (*registry.Result, error) {
|
||||
kve := <-w.updates
|
||||
if kve == nil {
|
||||
return nil, errors.New("watcher stopped")
|
||||
}
|
||||
|
||||
service, err := w.reg.getService(kve.Key())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
var action string
|
||||
switch kve.Operation() {
|
||||
default:
|
||||
action = "create"
|
||||
case nats.KeyValuePut:
|
||||
action = "create"
|
||||
case nats.KeyValueDelete:
|
||||
action = "delete"
|
||||
case nats.KeyValuePurge:
|
||||
action = "delete"
|
||||
}
|
||||
|
||||
return ®istry.Result{
|
||||
Service: service,
|
||||
Action: action,
|
||||
}, nil
|
||||
}
|
||||
|
||||
// Stop stops the watcher
|
||||
func (w *Watcher) Stop() {
|
||||
_ = w.watch.Stop()
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package registry
|
||||
|
||||
import (
|
||||
"os"
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
_registryRegisterIntervalEnv = "EXPERIMENTAL_REGISTER_INTERVAL"
|
||||
_registryRegisterTTLEnv = "EXPERIMENTAL_REGISTER_TTL"
|
||||
|
||||
// Note: _defaultRegisterInterval should always be lower than _defaultRegisterTTL
|
||||
_defaultRegisterInterval = time.Second * 25
|
||||
_defaultRegisterTTL = time.Second * 30
|
||||
)
|
||||
|
||||
// GetRegisterInterval returns the register interval from the environment.
|
||||
func GetRegisterInterval() time.Duration {
|
||||
d, err := time.ParseDuration(os.Getenv(_registryRegisterIntervalEnv))
|
||||
if err != nil {
|
||||
return _defaultRegisterInterval
|
||||
}
|
||||
return d
|
||||
}
|
||||
|
||||
// GetRegisterTTL returns the register TTL from the environment.
|
||||
func GetRegisterTTL() time.Duration {
|
||||
d, err := time.ParseDuration(os.Getenv(_registryRegisterTTLEnv))
|
||||
if err != nil {
|
||||
return _defaultRegisterTTL
|
||||
}
|
||||
return d
|
||||
}
|
||||
Loaded 100 of 933 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user