Compare commits
378
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1fa8c264f8 | ||
|
|
c48b7e44ae | ||
|
|
0fb8299e3d | ||
|
|
fbd3c5e7e6 | ||
|
|
bdc27766c8 | ||
|
|
5b62ed2882 | ||
|
|
3141f4f659 | ||
|
|
9a9dba7ca7 | ||
|
|
cc5b0ee002 | ||
|
|
8f91c67603 | ||
|
|
852b8e07ec | ||
|
|
4d9d40e1ba | ||
|
|
b6ddfcccfb | ||
|
|
03926e6182 | ||
|
|
93521e5f55 | ||
|
|
cc794abb38 | ||
|
|
5ca6a98087 | ||
|
|
02c31e2dab | ||
|
|
6a7f56d056 | ||
|
|
14b1d62351 | ||
|
|
5f1043d40b | ||
|
|
920d39918b | ||
|
|
c8c1cc76d8 | ||
|
|
6bf4dc5e0e | ||
|
|
3f41dd7601 | ||
|
|
f7fde6ee87 | ||
|
|
fe8c0c7de8 | ||
|
|
2ca502e32d | ||
|
|
48dc83f4cb | ||
|
|
fa36fd4ec2 | ||
|
|
71daf3f6ba | ||
|
|
9c533c54ac | ||
|
|
47eb710523 | ||
|
|
9b40810b21 | ||
|
|
7b76086116 | ||
|
|
7867841f7f | ||
|
|
6d2d79ba1d | ||
|
|
b45b35014a | ||
|
|
986e470075 | ||
|
|
5c1e7e69a4 | ||
|
|
620b44c90a | ||
|
|
ac5270b3c6 | ||
|
|
9348f94992 | ||
|
|
39758a04b9 | ||
|
|
41c62b3777 | ||
|
|
8c1e39e824 | ||
|
|
117b990d5a | ||
|
|
4cd05c8d06 | ||
|
|
245a172eb6 | ||
|
|
a885c8ad5c | ||
|
|
b984c1ad01 | ||
|
|
8255d9ac1b | ||
|
|
8cfecd8a97 | ||
|
|
f47dda164f | ||
|
|
3733e735a3 | ||
|
|
e6e1494e92 | ||
|
|
684c4ca23d | ||
|
|
672bb1a8a6 | ||
|
|
f06798ba6e | ||
|
|
4d3b7355f1 | ||
|
|
55127fe413 | ||
|
|
f7614f9079 | ||
|
|
888da7ccc5 | ||
|
|
eb6c0a840a | ||
|
|
c161b68123 | ||
|
|
05eee32a03 | ||
|
|
91a77d1671 | ||
|
|
5422586bfa | ||
|
|
ef58ef7264 | ||
|
|
fe3bf61f5f | ||
|
|
e49b2c159b | ||
|
|
989d4ee938 | ||
|
|
717eb646bd | ||
|
|
d4eed2f15d | ||
|
|
8edf1cbe82 | ||
|
|
c63d5b83e5 | ||
|
|
ab0a676dee | ||
|
|
ad439fcbde | ||
|
|
02ae42ffe7 | ||
|
|
d7139d4127 | ||
|
|
c2e8206f6d | ||
|
|
7ff43f8b38 | ||
|
|
20bea0cef6 | ||
|
|
3fb6b94698 | ||
|
|
d656b4ad19 | ||
|
|
5f8750cfac | ||
|
|
7db9bf02db | ||
|
|
a2f02d8a89 | ||
|
|
3e6b8da6a1 | ||
|
|
358bfef42e | ||
|
|
085c5d5c8d | ||
|
|
8ad1e79e80 | ||
|
|
dc4fb75543 | ||
|
|
11908df394 | ||
|
|
ff304dfc50 | ||
|
|
a55a9f1d63 | ||
|
|
d57e516046 | ||
|
|
e780cf1193 | ||
|
|
49d47ff917 | ||
|
|
f805589e9d | ||
|
|
e7aaebf07c | ||
|
|
8b5687e811 | ||
|
|
d623575db2 | ||
|
|
251a50dbd4 | ||
|
|
f0e2b50675 | ||
|
|
407e08f6f4 | ||
|
|
e94ddbf3bc | ||
|
|
63bb316303 | ||
|
|
3156360d66 | ||
|
|
d87fd62f9d | ||
|
|
d804af53a8 | ||
|
|
267c16f8e5 | ||
|
|
84bc7d88e2 | ||
|
|
809c64f823 | ||
|
|
2c6faa8366 | ||
|
|
c0181f8144 | ||
|
|
1e625093b6 | ||
|
|
7a7508ffd9 | ||
|
|
3a03ccbf59 | ||
|
|
8df0ff3495 | ||
|
|
f438ee8b00 | ||
|
|
450801deef | ||
|
|
49cdcad129 | ||
|
|
c722f9c77b | ||
|
|
997187226f | ||
|
|
5f93a22eb9 | ||
|
|
c38095ae67 | ||
|
|
0ddbb95300 | ||
|
|
f9b69afa9e | ||
|
|
82b600aef5 | ||
|
|
ee3d709ec2 | ||
|
|
653b6efe8f | ||
|
|
dccfc2fcef | ||
|
|
fb340ad42d | ||
|
|
b8a536fd2a | ||
|
|
d41f1ac8f4 | ||
|
|
0258b2bfff | ||
|
|
806e0d09db | ||
|
|
bb99d4f2b8 | ||
|
|
2330645bbc | ||
|
|
97dd855a63 | ||
|
|
952ebe7d7d | ||
|
|
6700214519 | ||
|
|
2647635237 | ||
|
|
9a514fd524 | ||
|
|
052710d704 | ||
|
|
ef360bc894 | ||
|
|
d5762f2050 | ||
|
|
de5dfef15d | ||
|
|
bae37cf20b | ||
|
|
fecd836159 | ||
|
|
90307c2b89 | ||
|
|
7c145e3d52 | ||
|
|
97d3aec987 | ||
|
|
cbe945af4a | ||
|
|
ae2dcf48f1 | ||
|
|
2a0b553a41 | ||
|
|
760c074097 | ||
|
|
96e5e2e1ba | ||
|
|
8b001fbc03 | ||
|
|
4d3b3d4f3c | ||
|
|
3d98af9d8e | ||
|
|
51919323af | ||
|
|
952892713f | ||
|
|
6f4b300bbc | ||
|
|
fc3dce05f4 | ||
|
|
62ffe1e18f | ||
|
|
52750bd615 | ||
|
|
3093a8456a | ||
|
|
2422973fee | ||
|
|
dcabac346a | ||
|
|
0b10050b20 | ||
|
|
3eb5a22375 | ||
|
|
ed784efebd | ||
|
|
a5f72c4ecc | ||
|
|
2238806060 | ||
|
|
712d98e0a2 | ||
|
|
2a50219282 | ||
|
|
db6c98abf4 | ||
|
|
0c81ec594e | ||
|
|
dc176e1f74 | ||
|
|
d0cef049d6 | ||
|
|
a5f242f683 | ||
|
|
e03d7b5644 | ||
|
|
28ee7730f7 | ||
|
|
0c0b10c6b0 | ||
|
|
407c23edf6 | ||
|
|
10751efbde | ||
|
|
60bfd5f6cf | ||
|
|
8f70e63c81 | ||
|
|
9f6067e4bd | ||
|
|
048d67c712 | ||
|
|
946940d280 | ||
|
|
a27b6d5ac6 | ||
|
|
c99908f847 | ||
|
|
4e1c5711b0 | ||
|
|
e441c95de6 | ||
|
|
13708c59e9 | ||
|
|
389877e56d | ||
|
|
4a4bf3ec30 | ||
|
|
57923e06a3 | ||
|
|
b879254fcb | ||
|
|
f6658eccf4 | ||
|
|
dc4335af5f | ||
|
|
cc529d99da | ||
|
|
9a9082b977 | ||
|
|
dcffab7134 | ||
|
|
ce5d6cd603 | ||
|
|
06613d3c6b | ||
|
|
9638dd524c | ||
|
|
9203478605 | ||
|
|
db098fa4f5 | ||
|
|
4898a07239 | ||
|
|
5b2253402e | ||
|
|
6df1e05f16 | ||
|
|
76c274ef64 | ||
|
|
7fc2a5916c | ||
|
|
9112ba1d74 | ||
|
|
b730234e86 | ||
|
|
752660e7dc | ||
|
|
4a850abc86 | ||
|
|
604ce5174c | ||
|
|
5e4b9baa1c | ||
|
|
7915d725ac | ||
|
|
95460ab9a5 | ||
|
|
c5fbd6f539 | ||
|
|
43ee37d02e | ||
|
|
d65476ff00 | ||
|
|
0a820b22cc | ||
|
|
2989dc6890 | ||
|
|
d7dd979897 | ||
|
|
efd2c42655 | ||
|
|
dcbd45948e | ||
|
|
a406bb3507 | ||
|
|
21f52a8523 | ||
|
|
30d6ecca19 | ||
|
|
d895437642 | ||
|
|
78db9dd8a0 | ||
|
|
2afcb84186 | ||
|
|
c6abbf6f60 | ||
|
|
81483964a1 | ||
|
|
9d4a561aa9 | ||
|
|
c4f32868ee | ||
|
|
526583e9bb | ||
|
|
c93b65680b | ||
|
|
6a5e21eff4 | ||
|
|
d3aecda8c6 | ||
|
|
90ba75e27e | ||
|
|
f4c16811a5 | ||
|
|
5b26de71d4 | ||
|
|
96ab79b4f9 | ||
|
|
be21178c64 | ||
|
|
fade832a3e | ||
|
|
e8a7872d29 | ||
|
|
38c04b5517 | ||
|
|
f17e56febc | ||
|
|
5aa9e618f1 | ||
|
|
82045b8850 | ||
|
|
80f4d6a22d | ||
|
|
3d046f6ba8 | ||
|
|
5fb992d868 | ||
|
|
57c78b0a19 | ||
|
|
a2ee62bde1 | ||
|
|
8f7c6e165a | ||
|
|
3662ff2514 | ||
|
|
73a79872ac | ||
|
|
201caca5ec | ||
|
|
c8ab49dc2d | ||
|
|
1ee35618fc | ||
|
|
bdddf85249 | ||
|
|
51c9edecb7 | ||
|
|
1a8516c6cd | ||
|
|
adcbdd9fd2 | ||
|
|
ec4f56d0b9 | ||
|
|
ebff0114d4 | ||
|
|
8eabc15c98 | ||
|
|
62b7dcacc4 | ||
|
|
dad3472e8b | ||
|
|
056ad2c705 | ||
|
|
d3519b5e78 | ||
|
|
ce4ad80ce2 | ||
|
|
aa44ec12ac | ||
|
|
f8e6b23d5f | ||
|
|
063b05140f | ||
|
|
fb199e6fbf | ||
|
|
83c90b60ef | ||
|
|
82034d34ce | ||
|
|
44d9c50f1e | ||
|
|
4c5d58f53b | ||
|
|
f27d2b18a7 | ||
|
|
d21b03b14c | ||
|
|
4103f2990f | ||
|
|
fe84b83617 | ||
|
|
22f5a76829 | ||
|
|
94aab8b38d | ||
|
|
3fa8374ea1 | ||
|
|
301936d2bd | ||
|
|
69c05d6199 | ||
|
|
2305e08024 | ||
|
|
9fcf9519c0 | ||
|
|
482e0e7838 | ||
|
|
af2a4c2c97 | ||
|
|
5a81fba929 | ||
|
|
0a1491927d | ||
|
|
c76b2e75ef | ||
|
|
162b04f873 | ||
|
|
d00f5a9da5 | ||
|
|
1658084812 | ||
|
|
d8bbe7eeaf | ||
|
|
8c5ce6279a | ||
|
|
927a518ba4 | ||
|
|
436eae2c79 | ||
|
|
3c02f3b355 | ||
|
|
7c24ea2a95 | ||
|
|
70848008f1 | ||
|
|
3170f4cc1f | ||
|
|
965699e811 | ||
|
|
614fcca440 | ||
|
|
fec16dcc08 | ||
|
|
21af4b3d6d | ||
|
|
078c7e036c | ||
|
|
6c95c626cd | ||
|
|
2c36867629 | ||
|
|
f01b4aa68b | ||
|
|
ce318ca160 | ||
|
|
1dbbb9b6a0 | ||
|
|
19058fe90b | ||
|
|
b15e50d1fe | ||
|
|
053ffc869f | ||
|
|
30d9a08d52 | ||
|
|
e2fa2be973 | ||
|
|
c942c7a6dd | ||
|
|
de550b73a1 | ||
|
|
31226e2134 | ||
|
|
89785d0976 | ||
|
|
dc18f58693 | ||
|
|
20476aa159 | ||
|
|
d00ca45ec8 | ||
|
|
6900a80511 | ||
|
|
1138412aff | ||
|
|
926e547f99 | ||
|
|
309b59a665 | ||
|
|
b6b7d67121 | ||
|
|
1351f4937d | ||
|
|
df10baf339 | ||
|
|
66791d9388 | ||
|
|
3eb6e74535 | ||
|
|
6ff8a3cd27 | ||
|
|
f3484c3cdd | ||
|
|
98d6796800 | ||
|
|
fb7ba62726 | ||
|
|
80e7f44604 | ||
|
|
76088d2034 | ||
|
|
48933fa2ee | ||
|
|
d653a132cf | ||
|
|
d2d0461375 | ||
|
|
bed8c77892 | ||
|
|
531efe0b10 | ||
|
|
e71b72c18a | ||
|
|
f34d96ace8 | ||
|
|
595a00998b | ||
|
|
7a0bdce8b4 | ||
|
|
f9f84b9135 | ||
|
|
6be90847b7 | ||
|
|
6c33d945f3 | ||
|
|
35dd1fa173 | ||
|
|
1ec451d3d5 | ||
|
|
5f72c61089 | ||
|
|
02a3bfd176 | ||
|
|
b505e334ee | ||
|
|
1803c19b24 | ||
|
|
e32aef17cd | ||
|
|
b480fc09b0 | ||
|
|
87a1bf7e26 | ||
|
|
a1e69c6a5c | ||
|
|
6ed9e2b6c8 | ||
|
|
16f54d9bb9 | ||
|
|
bd634cbcf3 |
No files matched your search
+1
-1
@@ -1,3 +1,3 @@
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=4925a1bd117f31530f6ebdf5af2a9215ad3c6796
|
||||
WEB_COMMITID=a26f7920d4ef8bf57488b18e451525d16e246e9e
|
||||
WEB_BRANCH=stable-7.1
|
||||
+52
-40
@@ -31,7 +31,7 @@ PLUGINS_S3_CACHE = "plugins/s3-cache:1"
|
||||
PLUGINS_SLACK = "plugins/slack:1"
|
||||
REDIS = "redis:6-alpine"
|
||||
SELENIUM_STANDALONE_CHROME = "selenium/standalone-chrome:104.0-20220812"
|
||||
SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:4.7.0"
|
||||
SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:5.0"
|
||||
|
||||
DEFAULT_PHP_VERSION = "7.4"
|
||||
DEFAULT_NODEJS_VERSION = "18"
|
||||
@@ -101,7 +101,6 @@ config = {
|
||||
"localApiTests": {
|
||||
"basic": {
|
||||
"suites": [
|
||||
"apiAccountsHashDifficulty",
|
||||
"apiArchiver",
|
||||
"apiContract",
|
||||
"apiGraph",
|
||||
@@ -109,9 +108,18 @@ config = {
|
||||
"apiSpacesShares",
|
||||
"apiCors",
|
||||
"apiAsyncUpload",
|
||||
"apiDownloads",
|
||||
"apiReshare",
|
||||
"apiSpacesDavOperation",
|
||||
],
|
||||
"skip": False,
|
||||
},
|
||||
"apiAccountsHashDifficulty": {
|
||||
"suites": [
|
||||
"apiAccountsHashDifficulty",
|
||||
],
|
||||
"accounts_hash_difficulty": "default",
|
||||
},
|
||||
"apiNotification": {
|
||||
"suites": [
|
||||
"apiNotification",
|
||||
@@ -142,9 +150,9 @@ config = {
|
||||
"OCIS_ADD_RUN_SERVICES": "antivirus",
|
||||
},
|
||||
},
|
||||
"apiFullTextSearch": {
|
||||
"apiSearch": {
|
||||
"suites": [
|
||||
"apiFullTextSearch",
|
||||
"apiSearch",
|
||||
],
|
||||
"skip": False,
|
||||
"tikaNeeded": True,
|
||||
@@ -312,7 +320,7 @@ def cachePipeline(name, steps):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/**",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -373,7 +381,6 @@ def getGoBinForTesting(ctx):
|
||||
cacheGoBin(),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -517,7 +524,7 @@ def testOcisModule(ctx, module):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/%s/v*" % (module),
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -542,7 +549,7 @@ def buildOcisBinaryForTesting(ctx):
|
||||
rebuildBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin"),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -593,7 +600,6 @@ def uploadScanResults(ctx):
|
||||
"git checkout $DRONE_COMMIT",
|
||||
],
|
||||
},
|
||||
] + skipIfUnchanged(ctx, "unit-tests") + [
|
||||
{
|
||||
"name": "sync-from-cache",
|
||||
"image": MINIO_MC,
|
||||
@@ -601,7 +607,7 @@ def uploadScanResults(ctx):
|
||||
"commands": [
|
||||
"mkdir -p cache",
|
||||
"mc alias set cachebucket $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
|
||||
"mc mirror cachebucket/$CACHE_BUCKET/%s/%s/cache cache/" % (ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}"),
|
||||
"mc mirror cachebucket/$CACHE_BUCKET/%s/%s/cache cache/ || true" % (ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}"),
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -624,15 +630,19 @@ def uploadScanResults(ctx):
|
||||
"environment": MINIO_MC_ENV,
|
||||
"commands": [
|
||||
"mc alias set cachebucket $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
|
||||
"mc rm --recursive --force cachebucket/$CACHE_BUCKET/%s/%s/cache" % (ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}"),
|
||||
"mc rm --recursive --force cachebucket/$CACHE_BUCKET/%s/%s/cache || true" % (ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}"),
|
||||
],
|
||||
},
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
"status": [
|
||||
"success",
|
||||
"failure",
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
@@ -719,7 +729,7 @@ def codestyle(ctx):
|
||||
"depends_on": [],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
"refs/tags/**",
|
||||
],
|
||||
@@ -772,7 +782,7 @@ def localApiTestPipeline(ctx):
|
||||
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -791,7 +801,7 @@ def localApiTests(suite, storage, extra_environment = {}):
|
||||
"SEND_SCENARIO_LINE_REFERENCES": "true",
|
||||
"STORAGE_DRIVER": storage,
|
||||
"BEHAT_SUITE": suite,
|
||||
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnGraph&&~@skipOnOcis-%s-Storage&&~@skipOnStable4.0" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"EXPECTED_FAILURES_FILE": "%s/tests/acceptance/expected-failures-localAPI-on-%s-storage.md" % (dirs["base"], storage.upper()),
|
||||
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
||||
"OCIS_WRAPPER_URL": "http://ocis-server:5200",
|
||||
@@ -834,7 +844,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
|
||||
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -903,7 +913,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
|
||||
[
|
||||
{
|
||||
"name": "wopiserver",
|
||||
"image": "cs3org/wopiserver:v10.0.1",
|
||||
"image": "cs3org/wopiserver:v10.1.0",
|
||||
"detach": True,
|
||||
"commands": [
|
||||
"cp %s/tests/config/drone/wopiserver.conf /etc/wopi/wopiserver.conf" % (dirs["base"]),
|
||||
@@ -941,7 +951,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):
|
||||
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -990,7 +1000,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
||||
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1106,7 +1116,7 @@ def uiTestPipeline(ctx, filterTags, runPart = 1, numberOfParts = 1, storage = "o
|
||||
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)] + buildWebCache(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1119,14 +1129,14 @@ def e2eTests(ctx):
|
||||
"tikaNeeded": True,
|
||||
},
|
||||
"suite2": {
|
||||
"path": "tests/e2e/cucumber/features/smoke/*/*[!.oc10].feature",
|
||||
"path": "tests/e2e/cucumber/features/smoke/*[!app-provider]/*[!.oc10].feature",
|
||||
"tikaNeeded": False,
|
||||
},
|
||||
}
|
||||
|
||||
e2e_trigger = {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/**",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1336,7 +1346,7 @@ def dockerRelease(ctx, arch):
|
||||
"depends_on": depends_on,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1411,7 +1421,7 @@ def binaryRelease(ctx, name):
|
||||
],
|
||||
"when": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -1422,7 +1432,7 @@ def binaryRelease(ctx, name):
|
||||
"settings": settings,
|
||||
"when": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -1464,7 +1474,7 @@ def binaryRelease(ctx, name):
|
||||
"depends_on": depends_on,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1554,7 +1564,7 @@ def licenseCheck(ctx):
|
||||
"settings": settings,
|
||||
"when": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -1595,7 +1605,7 @@ def licenseCheck(ctx):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1674,7 +1684,7 @@ def releaseDockerManifest():
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -1720,7 +1730,7 @@ def changelog():
|
||||
"push",
|
||||
],
|
||||
"message": "Automated changelog update [skip ci]",
|
||||
"branch": "master",
|
||||
"branch": "stable-4.0",
|
||||
"author_email": "devops@owncloud.com",
|
||||
"author_name": "ownClouders",
|
||||
"netrc_machine": "github.com",
|
||||
@@ -1742,7 +1752,7 @@ def changelog():
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1776,7 +1786,7 @@ def releaseDockerReadme(ctx):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -1823,7 +1833,7 @@ def docs():
|
||||
},
|
||||
"pages_directory": "docs/hugo/content/",
|
||||
"copy_contents": "true",
|
||||
"target_branch": "docs",
|
||||
"target_branch": "docs-stable-4.0",
|
||||
"delete": "true",
|
||||
},
|
||||
"when": {
|
||||
@@ -1845,7 +1855,7 @@ def docs():
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1918,7 +1928,7 @@ def notify():
|
||||
"depends_on": [],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/heads/release*",
|
||||
"refs/tags/**",
|
||||
],
|
||||
@@ -1941,7 +1951,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
"STORAGE_SYSTEM_DRIVER_OCIS_ROOT": "%s/storage/metadata" % dirs["ocis"],
|
||||
"SHARING_USER_JSON_FILE": "%s/shares.json" % dirs["ocis"],
|
||||
"PROXY_ENABLE_BASIC_AUTH": True,
|
||||
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
|
||||
"WEB_UI_CONFIG_FILE": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"SETTINGS_DATA_PATH": "%s/settings" % dirs["ocis"],
|
||||
"IDM_CREATE_DEMO_USERS": True,
|
||||
@@ -1951,6 +1961,9 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
"OCIS_EVENTS_ENABLE_TLS": False,
|
||||
"OCIS_DECOMPOSEDFS_METADATA_BACKEND": "messagepack",
|
||||
"FRONTEND_OCS_ENABLE_DENIALS": True,
|
||||
"OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY": True,
|
||||
# fonts map for txt thumbnails (including unicode support)
|
||||
"THUMBNAILS_TXT_FONTMAP_FILE": "%s/tests/config/drone/fontsMap.json" % (dirs["base"]),
|
||||
}
|
||||
if tika_enabled:
|
||||
environment["FRONTEND_FULL_TEXT_SEARCH_ENABLED"] = True
|
||||
@@ -1977,7 +1990,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
"STORAGE_SYSTEM_DRIVER_OCIS_ROOT": "%s/storage/metadata" % dirs["ocis"],
|
||||
"SHARING_USER_JSON_FILE": "%s/shares.json" % dirs["ocis"],
|
||||
"PROXY_ENABLE_BASIC_AUTH": True,
|
||||
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
|
||||
"WEB_UI_CONFIG_FILE": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"SETTINGS_DATA_PATH": "%s/settings" % dirs["ocis"],
|
||||
"IDM_CREATE_DEMO_USERS": True,
|
||||
@@ -2254,7 +2267,6 @@ def deploy(ctx, config, rebuild):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -2359,7 +2371,7 @@ def genericCachePurge(flush_path):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
"status": [
|
||||
@@ -2611,7 +2623,7 @@ def litmus(ctx, storage):
|
||||
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
|
||||
Vendored
+1
-1
@@ -42,7 +42,7 @@
|
||||
// set some hardcoded secrets
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"OCIS_MACHINE_AUTH_API_KEY": "some-ocis-machine-auth-api-key",
|
||||
"STORAGE_TRANSFER_SECRET": "some-ocis-transfer-secret",
|
||||
"OCIS_TRANSFER_SECRET": "some-ocis-transfer-secret",
|
||||
// idm ldap
|
||||
"IDM_SVC_PASSWORD": "some-ldap-idm-password",
|
||||
"GRAPH_LDAP_BIND_PASSWORD": "some-ldap-idm-password",
|
||||
|
||||
+388
-10
@@ -2,22 +2,100 @@
|
||||
|
||||
The following sections list the changes for unreleased.
|
||||
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v3.0.0...master
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v4.0.0...master
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Bump reva to 2.16.1: [#7350](https://github.com/owncloud/ocis/pull/7350)
|
||||
* Bugfix - Do not reset received share state to pending: [#7319](https://github.com/owncloud/ocis/issues/7319)
|
||||
* Bugfix - Check school number for duplicates before adding a school: [#7351](https://github.com/owncloud/ocis/pull/7351)
|
||||
* Bugfix - Disable username validation for keycloak example: [#7230](https://github.com/owncloud/ocis/pull/7230)
|
||||
* Bugfix - Actually pass PROXY_OIDC_SKIP_USER_INFO option to oidc client middleware: [#7220](https://github.com/owncloud/ocis/pull/7220)
|
||||
* Bugfix - Bring back the USERS_LDAP_USER_SCHEMA_ID variable: [#7312](https://github.com/owncloud/ocis/issues/7312)
|
||||
* Enhancement - Add OCIS_LDAP_BIND_PASSWORD as replacement for LDAP_BIND_PASSWORD: [#7176](https://github.com/owncloud/ocis/issues/7176)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Bump reva to 2.16.1: [#7350](https://github.com/owncloud/ocis/pull/7350)
|
||||
|
||||
* Bugfix [cs3org/reva#4194](https://github.com/cs3org/reva/pull/4194): Make appctx package compatible with go v1.21
|
||||
* Bugfix [cs3org/reva#4214](https://github.com/cs3org/reva/pull/4214): Always pass adjusted default nats options
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7350
|
||||
|
||||
* Bugfix - Do not reset received share state to pending: [#7319](https://github.com/owncloud/ocis/issues/7319)
|
||||
|
||||
We fixed a problem where the states of received shares were reset to PENDING in the "ocis migrate
|
||||
rebuild-jsoncs3-indexes" command
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7319
|
||||
|
||||
* Bugfix - Check school number for duplicates before adding a school: [#7351](https://github.com/owncloud/ocis/pull/7351)
|
||||
|
||||
We fixed an issue that allowed to create two schools with the same school number
|
||||
|
||||
https://github.com/owncloud/enterprise/issues/6051
|
||||
https://github.com/owncloud/ocis/pull/7351
|
||||
|
||||
* Bugfix - Disable username validation for keycloak example: [#7230](https://github.com/owncloud/ocis/pull/7230)
|
||||
|
||||
Set 'GRAPH_USERNAME_MATCH' to 'none'. To accept any username that is also valid for keycloak.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7230
|
||||
|
||||
* Bugfix - Actually pass PROXY_OIDC_SKIP_USER_INFO option to oidc client middleware: [#7220](https://github.com/owncloud/ocis/pull/7220)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7220
|
||||
|
||||
* Bugfix - Bring back the USERS_LDAP_USER_SCHEMA_ID variable: [#7312](https://github.com/owncloud/ocis/issues/7312)
|
||||
|
||||
We reintroduced the USERS_LDAP_USER_SCHEMA_ID variable which was accidently removed from
|
||||
the users service with the 4.0.0 release.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7312
|
||||
https://github.com/owncloud/ocis-charts/issues/397
|
||||
|
||||
* Enhancement - Add OCIS_LDAP_BIND_PASSWORD as replacement for LDAP_BIND_PASSWORD: [#7176](https://github.com/owncloud/ocis/issues/7176)
|
||||
|
||||
The enviroment variable `OCIS_LDAP_BIND_PASSWORD` was added to be more consistent with all
|
||||
other global LDAP variables.
|
||||
|
||||
`LDAP_BIND_PASSWORD` is deprecated now and scheduled for removal with the 5.0.0 release.
|
||||
|
||||
We also deprecated `LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` for removal with 5.0.0. The
|
||||
replacement for it is `OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7176
|
||||
# Changelog for [4.0.0] (2023-08-21)
|
||||
|
||||
The following sections list the changes for 4.0.0.
|
||||
|
||||
[4.0.0]: https://github.com/owncloud/ocis/compare/v3.0.0...v4.0.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Add default store to postprocessing: [#6578](https://github.com/owncloud/ocis/pull/6578)
|
||||
* Bugfix - Add token to LinkAccessedEvent: [#6554](https://github.com/owncloud/ocis/pull/6554)
|
||||
* Bugfix - Add missing timestamps: [#6515](https://github.com/owncloud/ocis/pull/6515)
|
||||
* Bugfix - Check public auth first: [#6900](https://github.com/owncloud/ocis/pull/6900)
|
||||
* Bugfix - Don't connect to ldap on startup: [#6565](https://github.com/owncloud/ocis/pull/6565)
|
||||
* Bugfix - Let clients cache web and theme assets: [#6914](https://github.com/owncloud/ocis/pull/6914)
|
||||
* Bugfix - Fix CORS issues: [#6912](https://github.com/owncloud/ocis/pull/6912)
|
||||
* Bugfix - Handle the bad request status: [#6469](https://github.com/owncloud/ocis/pull/6469)
|
||||
* Bugfix - Fix error message on 400 response for thumbnail requests: [#2064](https://github.com/owncloud/ocis/issues/2064)
|
||||
* Bugfix - Graph service did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting: [#7032](https://github.com/owncloud/ocis/issues/7032)
|
||||
* Bugfix - Fix nats registry: [#6881](https://github.com/owncloud/ocis/pull/6881)
|
||||
* Bugfix - Fix the oidc role assigner: [#6605](https://github.com/owncloud/ocis/pull/6605)
|
||||
* Bugfix - Fix the default document language for OnlyOffice: [#6878](https://github.com/owncloud/ocis/pull/6878)
|
||||
* Bugfix - Fix the routing capability: [#9367](https://github.com/owncloud/web/issues/9367)
|
||||
* Bugfix - Fix the search: [#6947](https://github.com/owncloud/ocis/pull/6947)
|
||||
* Bugfix - Fix search shares: [#6741](https://github.com/owncloud/ocis/pull/6741)
|
||||
* Bugfix - Restart Postprocessing: [#6726](https://github.com/owncloud/ocis/pull/6726)
|
||||
* Change - YAML configuration files are restricted to yaml-1.2: [#6510](https://github.com/owncloud/ocis/issues/6510)
|
||||
* Enhancement - Add 'ocis decomposedfs check-treesize' command: [#6556](https://github.com/owncloud/ocis/pull/6556)
|
||||
* Enhancement - Add IDs to graph resource logging: [#6593](https://github.com/owncloud/ocis/pull/6593)
|
||||
* Enhancement - Add permissions to report: [#6528](https://github.com/owncloud/ocis/pull/6528)
|
||||
* Enhancement - Add command for rebuilding the jsoncs3 share manager indexes: [#6986](https://github.com/owncloud/ocis/pull/6986)
|
||||
* Enhancement - Add more metadata to the remote item: [#6300](https://github.com/owncloud/ocis/pull/6300)
|
||||
* Enhancement - Add X-Request-Id to all responses: [#6715](https://github.com/owncloud/ocis/pull/6715)
|
||||
* Enhancement - Add SSE Endpoint: [#5998](https://github.com/owncloud/ocis/pull/5998)
|
||||
@@ -26,9 +104,11 @@ The following sections list the changes for unreleased.
|
||||
* Enhancement - Make the app provider service name configurable: [#6482](https://github.com/owncloud/ocis/pull/6482)
|
||||
* Enhancement - Add old & new values to audit logs: [#6537](https://github.com/owncloud/ocis/pull/6537)
|
||||
* Enhancement - Bump Hugo: [#6787](https://github.com/owncloud/ocis/pull/6787)
|
||||
* Enhancement - Update reva to v2.15.0: [#6829](https://github.com/owncloud/ocis/pull/6829)
|
||||
* Enhancement - Bump reva to 2.16.0: [#6829](https://github.com/owncloud/ocis/pull/6829)
|
||||
* Enhancement - Bump sonarcloud: [#6961](https://github.com/owncloud/ocis/pull/6961)
|
||||
* Enhancement - Clarify license text in the dev docs: [#6755](https://github.com/owncloud/ocis/pull/6755)
|
||||
* Enhancement - Use reva client selectors: [#6452](https://github.com/owncloud/ocis/pull/6452)
|
||||
* Enhancement - Configure max grpc message size: [#6849](https://github.com/owncloud/ocis/pull/6849)
|
||||
* Enhancement - Thumbnails can be disabled for webdav & web now: [#6577](https://github.com/owncloud/ocis/pull/6577)
|
||||
* Enhancement - Add companion URL config: [#6453](https://github.com/owncloud/ocis/pull/6453)
|
||||
* Enhancement - Add imprint and privacy url config: [#6462](https://github.com/owncloud/ocis/pull/6462)
|
||||
@@ -38,16 +118,23 @@ The following sections list the changes for unreleased.
|
||||
* Enhancement - Provide Search filter for locations: [#6713](https://github.com/owncloud/ocis/pull/6713)
|
||||
* Enhancement - Add search result content preview and term highlighting: [#6634](https://github.com/owncloud/ocis/pull/6634)
|
||||
* Enhancement - Add WEB_OPTION_TOKEN_STORAGE_LOCAL env variable: [#6760](https://github.com/owncloud/ocis/pull/6760)
|
||||
* Enhancement - Evaluate policy resource information on single file shares: [#6888](https://github.com/owncloud/ocis/pull/6888)
|
||||
* Enhancement - Extendable policy mimetype extension mapping: [#6869](https://github.com/owncloud/ocis/pull/6869)
|
||||
* Enhancement - Fix envvar defaults: [#6516](https://github.com/owncloud/ocis/pull/6516)
|
||||
* Enhancement - Skip if the simulink is a directory: [#6574](https://github.com/owncloud/ocis/pull/6574)
|
||||
* Enhancement - Fix the groupname validation: [#6490](https://github.com/owncloud/ocis/pull/6490)
|
||||
* Enhancement - Fix the username validation: [#6437](https://github.com/owncloud/ocis/pull/6437)
|
||||
* Enhancement - Add static secret to gn endpoints: [#6946](https://github.com/owncloud/ocis/pull/6946)
|
||||
* Enhancement - Improve the notification logs: [#6862](https://github.com/owncloud/ocis/pull/6862)
|
||||
* Enhancement - Move graph to service tracerprovider: [#6695](https://github.com/owncloud/ocis/pull/6695)
|
||||
* Enhancement - Move proxy to service tracerprovider: [#6591](https://github.com/owncloud/ocis/pull/6591)
|
||||
* Enhancement - Nats named connections: [#6979](https://github.com/owncloud/ocis/pull/6979)
|
||||
* Enhancement - Remove deprecated environment variables: [#7099](https://github.com/owncloud/ocis/pull/7099)
|
||||
* Enhancement - Add functionality to retry postprocessing: [#6500](https://github.com/owncloud/ocis/pull/6500)
|
||||
* Enhancement - Update go-micro kubernetes registry: [#6457](https://github.com/owncloud/ocis/pull/6457)
|
||||
* Enhancement - Update web to v7.0.1: [#6470](https://github.com/owncloud/ocis/pull/6470)
|
||||
* Enhancement - Update web to v7.1.0-rc.1: [#6828](https://github.com/owncloud/ocis/pull/6828)
|
||||
* Enhancement - Update web to v7.1.0-rc.5: [#6944](https://github.com/owncloud/ocis/pull/6944)
|
||||
* Enhancement - Update web to v7.1.0: [#7107](https://github.com/owncloud/ocis/pull/7107)
|
||||
* Enhancement - Allow disabling wopi chat: [#6544](https://github.com/owncloud/ocis/pull/6544)
|
||||
|
||||
## Details
|
||||
@@ -74,12 +161,32 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/issues/3753
|
||||
https://github.com/owncloud/ocis/pull/6515
|
||||
|
||||
* Bugfix - Check public auth first: [#6900](https://github.com/owncloud/ocis/pull/6900)
|
||||
|
||||
When authenticating in proxy, first check for public link authorization.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6900
|
||||
|
||||
* Bugfix - Don't connect to ldap on startup: [#6565](https://github.com/owncloud/ocis/pull/6565)
|
||||
|
||||
This leads to misleading error messages. Instead we connect on first request
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6565
|
||||
|
||||
* Bugfix - Let clients cache web and theme assets: [#6914](https://github.com/owncloud/ocis/pull/6914)
|
||||
|
||||
We needed to remove "must-revalidate" from the cache-control header to allow clients to cache
|
||||
the web and theme assets.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6914
|
||||
|
||||
* Bugfix - Fix CORS issues: [#6912](https://github.com/owncloud/ocis/pull/6912)
|
||||
|
||||
We fixed the CORS issues when client asking for the 'Cache-Control' header before load the file
|
||||
|
||||
https://github.com/owncloud/ocis/issues/5108
|
||||
https://github.com/owncloud/ocis/pull/6912
|
||||
|
||||
* Bugfix - Handle the bad request status: [#6469](https://github.com/owncloud/ocis/pull/6469)
|
||||
|
||||
Handle the bad request status for the CreateStorageSpace function
|
||||
@@ -88,6 +195,28 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/pull/6469
|
||||
https://github.com/cs3org/reva/pull/3948
|
||||
|
||||
* Bugfix - Fix error message on 400 response for thumbnail requests: [#2064](https://github.com/owncloud/ocis/issues/2064)
|
||||
|
||||
Fix the error message when the thumbnail request returns a '400 Bad Request' response.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/2064
|
||||
https://github.com/owncloud/ocis/pull/6911
|
||||
|
||||
* Bugfix - Graph service did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting: [#7032](https://github.com/owncloud/ocis/issues/7032)
|
||||
|
||||
We fixed issue when using a custom LDAP attribute for group members. The graph service did not
|
||||
honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER environment variable
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7032
|
||||
|
||||
* Bugfix - Fix nats registry: [#6881](https://github.com/owncloud/ocis/pull/6881)
|
||||
|
||||
Using `nats` as service registry did work, but when a service would restart and gets a new ip it
|
||||
couldn't re-register. We fixed this by using `"put"` register action instead of the default
|
||||
`"create"`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6881
|
||||
|
||||
* Bugfix - Fix the oidc role assigner: [#6605](https://github.com/owncloud/ocis/pull/6605)
|
||||
|
||||
The update role method did not allow to set a role when the user already has two roles. This makes
|
||||
@@ -97,6 +226,27 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/pull/6605
|
||||
https://github.com/owncloud/ocis/pull/6618
|
||||
|
||||
* Bugfix - Fix the default document language for OnlyOffice: [#6878](https://github.com/owncloud/ocis/pull/6878)
|
||||
|
||||
Fix the default document language for OnlyOffice
|
||||
|
||||
https://github.com/owncloud/enterprise/issues/5807
|
||||
https://github.com/owncloud/ocis/pull/6878
|
||||
|
||||
* Bugfix - Fix the routing capability: [#9367](https://github.com/owncloud/web/issues/9367)
|
||||
|
||||
Fix the routing capability
|
||||
|
||||
https://github.com/owncloud/web/issues/9367
|
||||
|
||||
* Bugfix - Fix the search: [#6947](https://github.com/owncloud/ocis/pull/6947)
|
||||
|
||||
We fixed the issue when search using the current folder option shows the file/folders outside
|
||||
the folder if search keyword is same as current folder
|
||||
|
||||
https://github.com/owncloud/ocis/issues/6935
|
||||
https://github.com/owncloud/ocis/pull/6947
|
||||
|
||||
* Bugfix - Fix search shares: [#6741](https://github.com/owncloud/ocis/pull/6741)
|
||||
|
||||
We fixed a problem where searching shares did not yield results when the resource was not shared
|
||||
@@ -144,6 +294,13 @@ The following sections list the changes for unreleased.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6528
|
||||
|
||||
* Enhancement - Add command for rebuilding the jsoncs3 share manager indexes: [#6986](https://github.com/owncloud/ocis/pull/6986)
|
||||
|
||||
We added a command for rebuilding the jsoncs3 share manager indexes.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6986
|
||||
https://github.com/owncloud/ocis/pull/6971
|
||||
|
||||
* Enhancement - Add more metadata to the remote item: [#6300](https://github.com/owncloud/ocis/pull/6300)
|
||||
|
||||
We added the drive alias, the space name and the relative path to the remote item. This is needed
|
||||
@@ -198,7 +355,57 @@ The following sections list the changes for unreleased.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6787
|
||||
|
||||
* Enhancement - Update reva to v2.15.0: [#6829](https://github.com/owncloud/ocis/pull/6829)
|
||||
* Enhancement - Bump reva to 2.16.0: [#6829](https://github.com/owncloud/ocis/pull/6829)
|
||||
|
||||
* Bugfix [cs3org/reva#4086](https://github.com/cs3org/reva/pull/4086): Fix ocs status code for not enough permission response
|
||||
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): fix the default document language for OnlyOffice
|
||||
* Bugfix [cs3org/reva#4051](https://github.com/cs3org/reva/pull/4051): Set treesize when creating a storage space
|
||||
* Bugfix [cs3org/reva#4089](https://github.com/cs3org/reva/pull/4089): Fix wrong import
|
||||
* Bugfix [cs3org/reva#4082](https://github.com/cs3org/reva/pull/4082): Fix propfind permissions
|
||||
* Bugfix [cs3org/reva#4076](https://github.com/cs3org/reva/pull/4076): Fix WebDAV permissions for space managers
|
||||
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): fix the default document language for OnlyOffice
|
||||
* Bugfix [cs3org/reva#4081](https://github.com/cs3org/reva/pull/4081): Propagate sizeDiff
|
||||
* Bugfix [cs3org/reva#4051](https://github.com/cs3org/reva/pull/4051): Set treesize when creating a storage space
|
||||
* Bugfix [cs3org/reva#4093](https://github.com/cs3org/reva/pull/4093): Fix the error handling
|
||||
* Bugfix [cs3org/reva#4111](https://github.com/cs3org/reva/pull/4111): Return already exists error when child already exists
|
||||
* Bugfix [cs3org/reva#4086](https://github.com/cs3org/reva/pull/4086): Fix ocs status code for not enough permission response
|
||||
* Bugfix [cs3org/reva#4101](https://github.com/cs3org/reva/pull/4101): Make the jsoncs3 share manager indexes more robust
|
||||
* Bugfix [cs3org/reva#4099](https://github.com/cs3org/reva/pull/4099): Fix logging upload errors
|
||||
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): Fix the default document language for OnlyOffice
|
||||
* Bugfix [cs3org/reva#4082](https://github.com/cs3org/reva/pull/4082): Fix propfind permissions
|
||||
* Bugfix [cs3org/reva#4100](https://github.com/cs3org/reva/pull/4100): S3ng include md5 checksum on put
|
||||
* Bugfix [cs3org/reva#4096](https://github.com/cs3org/reva/pull/4096): Fix the user shares list
|
||||
* Bugfix [cs3org/reva#4076](https://github.com/cs3org/reva/pull/4076): Fix WebDAV permissions for space managers
|
||||
* Bugfix [cs3org/reva#4117](https://github.com/cs3org/reva/pull/4117): Fix jsoncs3 atomic persistence
|
||||
* Bugfix [cs3org/reva#4081](https://github.com/cs3org/reva/pull/4081): Propagate sizeDiff
|
||||
* Bugfix [cs3org/reva#4091](https://github.com/cs3org/reva/pull/4091): Register WebDAV HTTP methods with chi
|
||||
* Bugfix [cs3org/reva#4107](https://github.com/cs3org/reva/pull/4107): Return lock when requested
|
||||
* Bugfix [cs3org/reva#4075](https://github.com/cs3org/reva/pull/4075): Revert 4065 - bypass proxy on upload
|
||||
* Enhancement [cs3org/reva#4070](https://github.com/cs3org/reva/pull/4070): Selectable Propagators
|
||||
* Enhancement [cs3org/reva#4074](https://github.com/cs3org/reva/pull/4074): Allow configuring the max size of grpc messages
|
||||
* Enhancement [cs3org/reva#4085](https://github.com/cs3org/reva/pull/4085): Add registry refresh
|
||||
* Enhancement [cs3org/reva#4090](https://github.com/cs3org/reva/pull/4090): Add Capability for sse
|
||||
* Enhancement [cs3org/reva#4072](https://github.com/cs3org/reva/pull/4072): Allow to specify a shutdown timeout
|
||||
* Enhancement [cs3org/reva#4083](https://github.com/cs3org/reva/pull/4083): Allow for rolling back migrations
|
||||
* Enhancement [cs3org/reva#4014](https://github.com/cs3org/reva/pull/4014): En-/Disable DEPTH:inifinity in PROPFIND
|
||||
* Enhancement [cs3org/reva#4089](https://github.com/cs3org/reva/pull/4089): Async propagation (experimental)
|
||||
* Enhancement [cs3org/reva#4074](https://github.com/cs3org/reva/pull/4074): Allow configuring the max size of grpc messages
|
||||
* Enhancement [cs3org/reva#4083](https://github.com/cs3org/reva/pull/4083): Allow for rolling back migrations
|
||||
* Enhancement [cs3org/reva#4014](https://github.com/cs3org/reva/pull/4014): En-/Disable DEPTH:inifinity in PROPFIND
|
||||
* Enhancement [cs3org/reva#4072](https://github.com/cs3org/reva/pull/4072): Allow to specify a shutdown timeout
|
||||
* Enhancement [cs3org/reva#4103](https://github.com/cs3org/reva/pull/4103): Add .oform mimetype
|
||||
* Enhancement [cs3org/reva#4098](https://github.com/cs3org/reva/pull/4098): Allow naming nats connections
|
||||
* Enhancement [cs3org/reva#4085](https://github.com/cs3org/reva/pull/4085): Add registry refresh
|
||||
* Enhancement [cs3org/reva#4097](https://github.com/cs3org/reva/pull/4097): Remove app ticker logs
|
||||
* Enhancement [cs3org/reva#4090](https://github.com/cs3org/reva/pull/4090): Add Capability for sse
|
||||
* Enhancement [cs3org/reva#4110](https://github.com/cs3org/reva/pull/4110): Tracing events propgation
|
||||
|
||||
Https://github.com/owncloud/ocis/pull/6899
|
||||
https://github.com/owncloud/ocis/pull/6919
|
||||
https://github.com/owncloud/ocis/pull/6928
|
||||
https://github.com/owncloud/ocis/pull/6979
|
||||
|
||||
Update reva to v2.15.0
|
||||
|
||||
* Bugfix [cs3org/reva#4004](https://github.com/cs3org/reva/pull/4004): Add path to public link POST
|
||||
* Bugfix [cs3org/reva#3993](https://github.com/cs3org/reva/pull/3993): Add token to LinkAccessedEvent
|
||||
@@ -263,6 +470,12 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/pull/6590
|
||||
https://github.com/owncloud/ocis/pull/6812
|
||||
|
||||
* Enhancement - Bump sonarcloud: [#6961](https://github.com/owncloud/ocis/pull/6961)
|
||||
|
||||
Bump sonarcloud to `5.0` to avoid java errors
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6961
|
||||
|
||||
* Enhancement - Clarify license text in the dev docs: [#6755](https://github.com/owncloud/ocis/pull/6755)
|
||||
|
||||
Explain the usage of the EULA for binary builds.
|
||||
@@ -279,6 +492,12 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/cs3org/reva/pull/3939
|
||||
https://github.com/cs3org/reva/pull/3953
|
||||
|
||||
* Enhancement - Configure max grpc message size: [#6849](https://github.com/owncloud/ocis/pull/6849)
|
||||
|
||||
Add a configuration option for the grpc max message size
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6849
|
||||
|
||||
* Enhancement - Thumbnails can be disabled for webdav & web now: [#6577](https://github.com/owncloud/ocis/pull/6577)
|
||||
|
||||
We added an env var `OCIS_DISABLE_PREVIEWS` to disable the thumbnails for web & webdav via a
|
||||
@@ -350,6 +569,22 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/pull/6760
|
||||
https://github.com/owncloud/ocis/pull/6771
|
||||
|
||||
* Enhancement - Evaluate policy resource information on single file shares: [#6888](https://github.com/owncloud/ocis/pull/6888)
|
||||
|
||||
The policy environment for single file shares now also includes information about the
|
||||
resource. As a result, it is now possible to set up and check rules for them.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6888
|
||||
|
||||
* Enhancement - Extendable policy mimetype extension mapping: [#6869](https://github.com/owncloud/ocis/pull/6869)
|
||||
|
||||
The extension mimetype mappings known from rego can now be extended. To do this, ocis must be
|
||||
informed where the mimetype file (apache mime.types file format) is located.
|
||||
|
||||
`export POLICIES_ENGINE_MIMES=OCIS_CONFIG_DIR/mime.types`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6869
|
||||
|
||||
* Enhancement - Fix envvar defaults: [#6516](https://github.com/owncloud/ocis/pull/6516)
|
||||
|
||||
Defaults for the envvar OCIS_LDAP_DISABLE_USER_MECHANISM were not used consistently,
|
||||
@@ -379,6 +614,21 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/issues/6436
|
||||
https://github.com/owncloud/ocis/pull/6437
|
||||
|
||||
* Enhancement - Add static secret to gn endpoints: [#6946](https://github.com/owncloud/ocis/pull/6946)
|
||||
|
||||
The global notifications POST and DELETE endpoints (used only for deprovision notifications
|
||||
at the moment) can now be called by adding a static secret to the header. Admins can still call
|
||||
this endpoint without knowing the secret
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6946
|
||||
|
||||
* Enhancement - Improve the notification logs: [#6862](https://github.com/owncloud/ocis/pull/6862)
|
||||
|
||||
Improve the notification logs when the user has no email address
|
||||
|
||||
https://github.com/owncloud/ocis/issues/6855
|
||||
https://github.com/owncloud/ocis/pull/6862
|
||||
|
||||
* Enhancement - Move graph to service tracerprovider: [#6695](https://github.com/owncloud/ocis/pull/6695)
|
||||
|
||||
This moves the graph to initialise a service tracer provider at service initialisation time,
|
||||
@@ -393,6 +643,19 @@ The following sections list the changes for unreleased.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6591
|
||||
|
||||
* Enhancement - Nats named connections: [#6979](https://github.com/owncloud/ocis/pull/6979)
|
||||
|
||||
Names the nats connections for easier debugging
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6979
|
||||
|
||||
* Enhancement - Remove deprecated environment variables: [#7099](https://github.com/owncloud/ocis/pull/7099)
|
||||
|
||||
We have removed all environment variables that have been marked as deprecated and marked for
|
||||
removal for 4.0.0
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7099
|
||||
|
||||
* Enhancement - Add functionality to retry postprocessing: [#6500](https://github.com/owncloud/ocis/pull/6500)
|
||||
|
||||
Adds a ctl command to manually retry failed postprocessing on uploads
|
||||
@@ -418,11 +681,11 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/pull/6470
|
||||
https://github.com/owncloud/web/releases/tag/v7.0.1
|
||||
|
||||
* Enhancement - Update web to v7.1.0-rc.1: [#6828](https://github.com/owncloud/ocis/pull/6828)
|
||||
* Enhancement - Update web to v7.1.0-rc.5: [#6944](https://github.com/owncloud/ocis/pull/6944)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v7.1.0-rc.1. Please refer to the changelog (linked) for details on
|
||||
We updated ownCloud Web to v7.1.0-rc.5. Please refer to the changelog (linked) for details on
|
||||
the web release.
|
||||
|
||||
## Summary * Bugfix [owncloud/web#9078](https://github.com/owncloud/web/pull/9078):
|
||||
@@ -442,7 +705,19 @@ The following sections list the changes for unreleased.
|
||||
[owncloud/web#9351](https://github.com/owncloud/web/pull/9351): Media controls
|
||||
overflow on mobile screens * Bugfix
|
||||
[owncloud/web#9389](https://github.com/owncloud/web/pull/9389): Space editors see
|
||||
empty trashbin and delete actions in space trashbin * Enhancement
|
||||
empty trashbin and delete actions in space trashbin * Bugfix
|
||||
[owncloud/web#9461](https://github.com/owncloud/web/pull/9461): Merging folders *
|
||||
Bugfix [owncloud/web/#9496](https://github.com/owncloud/web/pull/9496): Logo not
|
||||
showing * Bugfix [owncloud/web/#9489](https://github.com/owncloud/web/pull/9489):
|
||||
Public drop zone * Bugfix
|
||||
[owncloud/web/#9487](https://github.com/owncloud/web/pull/9487): Respect
|
||||
supportedClouds config * Bugfix
|
||||
[owncloud/web/#9507](https://github.com/owncloud/web/pull/9507): Space description
|
||||
edit modal is cut off vertically * Bugfix
|
||||
[owncloud/web/#9501](https://github.com/owncloud/web/pull/9501): Add cloud importer
|
||||
translations * Bugfix
|
||||
[owncloud/web/#9510](https://github.com/owncloud/web/pull/9510): Double items after
|
||||
moving a file with the same name * Enhancement
|
||||
[owncloud/web#7967](https://github.com/owncloud/web/pull/7967): Add hasPriority
|
||||
property for editors per extension * Enhancement
|
||||
[owncloud/web#8422](https://github.com/owncloud/web/issues/8422): Improve
|
||||
@@ -509,10 +784,113 @@ The following sections list the changes for unreleased.
|
||||
notification for blocked pop-ups and redirects * Enhancement
|
||||
[owncloud/web#9386](https://github.com/owncloud/web/pull/9386): Allow local storage
|
||||
for auth token * Enhancement
|
||||
[owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling
|
||||
[owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling *
|
||||
Enhancement [owncloud/web#9449](https://github.com/owncloud/web/issues/9449):
|
||||
Error notifications include x-request-id * Enhancement
|
||||
[owncloud/web#9426](https://github.com/owncloud/web/pull/9426): Add error log to
|
||||
upload dialog
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6828
|
||||
https://github.com/owncloud/web/releases/tag/v7.1.0-rc.1
|
||||
https://github.com/owncloud/ocis/pull/6944
|
||||
https://github.com/owncloud/web/releases/tag/v7.1.0-rc.5
|
||||
|
||||
* Enhancement - Update web to v7.1.0: [#7107](https://github.com/owncloud/ocis/pull/7107)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v7.1.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
## Summary * Bugfix [owncloud/web#9078](https://github.com/owncloud/web/pull/9078):
|
||||
Favorites list update on removal * Bugfix
|
||||
[owncloud/web#9213](https://github.com/owncloud/web/pull/9213): Space creation does
|
||||
not block reoccurring event * Bugfix
|
||||
[owncloud/web#9247](https://github.com/owncloud/web/issues/9247): Uploading to
|
||||
folders that contain special characters * Bugfix
|
||||
[owncloud/web#9259](https://github.com/owncloud/web/issues/9259): Relative user
|
||||
quota display limited to two decimals * Bugfix
|
||||
[owncloud/web#9261](https://github.com/owncloud/web/issues/9261): Remember
|
||||
location after token invalidation * Bugfix
|
||||
[owncloud/web#9299](https://github.com/owncloud/web/pull/9299): Authenticated
|
||||
public links breaking uploads * Bugfix
|
||||
[owncloud/web#9315](https://github.com/owncloud/web/issues/9315): Switch columns
|
||||
displayed on small screens in "Shared with me" view * Bugfix
|
||||
[owncloud/web#9351](https://github.com/owncloud/web/pull/9351): Media controls
|
||||
overflow on mobile screens * Bugfix
|
||||
[owncloud/web#9389](https://github.com/owncloud/web/pull/9389): Space editors see
|
||||
empty trashbin and delete actions in space trashbin * Bugfix
|
||||
[owncloud/web#9461](https://github.com/owncloud/web/issues/9461): Merging folders *
|
||||
Enhancement [owncloud/web#7967](https://github.com/owncloud/web/pull/7967): Add
|
||||
hasPriority property for editors per extension * Enhancement
|
||||
[owncloud/web#8422](https://github.com/owncloud/web/issues/8422): Improve
|
||||
extension app topbar * Enhancement
|
||||
[owncloud/web#8445](https://github.com/owncloud/web/issues/8445): Open
|
||||
individually shared file in dedicated view * Enhancement
|
||||
[owncloud/web#8599](https://github.com/owncloud/web/issues/8599): Shrink table
|
||||
columns * Enhancement
|
||||
[owncloud/web#8921](https://github.com/owncloud/web/pull/8921): Add whitespace
|
||||
context-menu * Enhancement
|
||||
[owncloud/web#8983](https://github.com/owncloud/web/pull/8983): Deny share access *
|
||||
Enhancement [owncloud/web#8984](https://github.com/owncloud/web/pull/8984): Long
|
||||
breadcrumb strategy * Enhancement
|
||||
[owncloud/web#9044](https://github.com/owncloud/web/pull/9044): Search tag filter *
|
||||
Enhancement [owncloud/web#9046](https://github.com/owncloud/web/pull/9046): Single
|
||||
file link open with default app * Enhancement
|
||||
[owncloud/web#9052](https://github.com/owncloud/web/pull/9052): Drag & drop on parent
|
||||
folder * Enhancement
|
||||
[owncloud/web#9055](https://github.com/owncloud/web/pull/9055): Respect archiver
|
||||
limits * Enhancement
|
||||
[owncloud/web#9056](https://github.com/owncloud/web/issues/9056): Enable download
|
||||
(archive) on spaces * Enhancement
|
||||
[owncloud/web#9059](https://github.com/owncloud/web/pull/9059): Search full-text
|
||||
filter * Enhancement
|
||||
[owncloud/web#9077](https://github.com/owncloud/web/pull/9077): Advanced search
|
||||
button * Enhancement
|
||||
[owncloud/web#9077](https://github.com/owncloud/web/pull/9077): Search breadcrumb *
|
||||
Enhancement [owncloud/web#9088](https://github.com/owncloud/web/pull/9088): Use app
|
||||
icons for files * Enhancement
|
||||
[owncloud/web#9140](https://github.com/owncloud/web/pull/9140): Upload file on paste
|
||||
* Enhancement [owncloud/web#9151](https://github.com/owncloud/web/issues/9151):
|
||||
Cloud import * Enhancement
|
||||
[owncloud/web#9174](https://github.com/owncloud/web/issues/9174): Privacy
|
||||
statement in account menu * Enhancement
|
||||
[owncloud/web#9178](https://github.com/owncloud/web/pull/9178): Add login button to
|
||||
top bar * Enhancement
|
||||
[owncloud/web#9195](https://github.com/owncloud/web/pull/9195): Project spaces list
|
||||
viewmode * Enhancement
|
||||
[owncloud/web#9199](https://github.com/owncloud/web/pull/9199): Add pagination
|
||||
options to admin settings * Enhancement
|
||||
[owncloud/web#9200](https://github.com/owncloud/web/pull/9200): Add batch actions to
|
||||
search result list * Enhancement
|
||||
[owncloud/web#9216](https://github.com/owncloud/web/issues/9216): Restyle possible
|
||||
sharees * Enhancement
|
||||
[owncloud/web#9226](https://github.com/owncloud/web/pull/9226): Streamline URL
|
||||
query names * Enhancement
|
||||
[owncloud/web#9263](https://github.com/owncloud/web/pull/9263): Access denied page
|
||||
update message * Enhancement
|
||||
[owncloud/web#9280](https://github.com/owncloud/web/issues/9280): Hover tooltips in
|
||||
topbar * Enhancement
|
||||
[owncloud/web#9294](https://github.com/owncloud/web/pull/9294): Search list add
|
||||
highlighted file content * Enhancement
|
||||
[owncloud/web#9299](https://github.com/owncloud/web/pull/9299): Resolve pulic links
|
||||
to their actual location * Enhancement
|
||||
[owncloud/web#9304](https://github.com/owncloud/web/pull/9304): Add search location
|
||||
filter * Enhancement
|
||||
[owncloud/web#9344](https://github.com/owncloud/web/pull/9344): Ambiguation for URL
|
||||
view mode params * Enhancement
|
||||
[owncloud/web#9346](https://github.com/owncloud/web/pull/9346): Batch actions
|
||||
redesign * Enhancement
|
||||
[owncloud/web#9348](https://github.com/owncloud/web/pull/9348): Tag comma
|
||||
separation on client side * Enhancement
|
||||
[owncloud/web#9377](https://github.com/owncloud/web/issues/9377): User
|
||||
notification for blocked pop-ups and redirects * Enhancement
|
||||
[owncloud/web#9386](https://github.com/owncloud/web/pull/9386): Allow local storage
|
||||
for auth token * Enhancement
|
||||
[owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling *
|
||||
Enhancement [owncloud/web#9436](https://github.com/owncloud/web/pull/9436): Add
|
||||
error log to upload dialog
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7107
|
||||
https://github.com/owncloud/web/releases/tag/v7.1.0
|
||||
|
||||
* Enhancement - Allow disabling wopi chat: [#6544](https://github.com/owncloud/ocis/pull/6544)
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ CORE_BEHAT_YML=tests/acceptance/config/behat-core.yml
|
||||
|
||||
.PHONY: test-acceptance-api
|
||||
test-acceptance-api: vendor-bin/behat/vendor
|
||||
BEHAT_BIN=$(BEHAT_BIN) $(PWD)/tests/acceptance/run.sh --type api
|
||||
BEHAT_BIN=$(BEHAT_BIN) $(PWD)/tests/acceptance/run.sh
|
||||
|
||||
.PHONY: test-acceptance-from-core-api
|
||||
test-acceptance-from-core-api: vendor-bin/behat/vendor
|
||||
@@ -126,7 +126,7 @@ test-acceptance-from-core-api: vendor-bin/behat/vendor
|
||||
|
||||
.PHONY: test-paralleldeployment-api
|
||||
test-paralleldeployment-api: vendor-bin/behat/vendor
|
||||
BEHAT_BIN=$(BEHAT_BIN) BEHAT_YML=$(PARALLEL_BEHAT_YML) $(PWD)/tests/acceptance/run.sh --type api
|
||||
BEHAT_BIN=$(BEHAT_BIN) BEHAT_YML=$(PARALLEL_BEHAT_YML) $(PWD)/tests/acceptance/run.sh
|
||||
|
||||
vendor/bamarni/composer-bin-plugin: composer.lock
|
||||
composer install
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add command for rebuilding the jsoncs3 share manager indexes
|
||||
|
||||
We added a command for rebuilding the jsoncs3 share manager indexes.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6986
|
||||
https://github.com/owncloud/ocis/pull/6971
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,54 @@
|
||||
Enhancement: Update reva to v2.15.0
|
||||
Enhancement: Bump reva to 2.16.0
|
||||
|
||||
* Bugfix [cs3org/reva#4086](https://github.com/cs3org/reva/pull/4086): Fix ocs status code for not enough permission response
|
||||
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): fix the default document language for OnlyOffice
|
||||
* Bugfix [cs3org/reva#4051](https://github.com/cs3org/reva/pull/4051): Set treesize when creating a storage space
|
||||
* Bugfix [cs3org/reva#4089](https://github.com/cs3org/reva/pull/4089): Fix wrong import
|
||||
* Bugfix [cs3org/reva#4082](https://github.com/cs3org/reva/pull/4082): Fix propfind permissions
|
||||
* Bugfix [cs3org/reva#4076](https://github.com/cs3org/reva/pull/4076): Fix WebDAV permissions for space managers
|
||||
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): fix the default document language for OnlyOffice
|
||||
* Bugfix [cs3org/reva#4081](https://github.com/cs3org/reva/pull/4081): Propagate sizeDiff
|
||||
* Bugfix [cs3org/reva#4051](https://github.com/cs3org/reva/pull/4051): Set treesize when creating a storage space
|
||||
* Bugfix [cs3org/reva#4093](https://github.com/cs3org/reva/pull/4093): Fix the error handling
|
||||
* Bugfix [cs3org/reva#4111](https://github.com/cs3org/reva/pull/4111): Return already exists error when child already exists
|
||||
* Bugfix [cs3org/reva#4086](https://github.com/cs3org/reva/pull/4086): Fix ocs status code for not enough permission response
|
||||
* Bugfix [cs3org/reva#4101](https://github.com/cs3org/reva/pull/4101): Make the jsoncs3 share manager indexes more robust
|
||||
* Bugfix [cs3org/reva#4099](https://github.com/cs3org/reva/pull/4099): Fix logging upload errors
|
||||
* Bugfix [cs3org/reva#4078](https://github.com/cs3org/reva/pull/4078): Fix the default document language for OnlyOffice
|
||||
* Bugfix [cs3org/reva#4082](https://github.com/cs3org/reva/pull/4082): Fix propfind permissions
|
||||
* Bugfix [cs3org/reva#4100](https://github.com/cs3org/reva/pull/4100): S3ng include md5 checksum on put
|
||||
* Bugfix [cs3org/reva#4096](https://github.com/cs3org/reva/pull/4096): Fix the user shares list
|
||||
* Bugfix [cs3org/reva#4076](https://github.com/cs3org/reva/pull/4076): Fix WebDAV permissions for space managers
|
||||
* Bugfix [cs3org/reva#4117](https://github.com/cs3org/reva/pull/4117): Fix jsoncs3 atomic persistence
|
||||
* Bugfix [cs3org/reva#4081](https://github.com/cs3org/reva/pull/4081): Propagate sizeDiff
|
||||
* Bugfix [cs3org/reva#4091](https://github.com/cs3org/reva/pull/4091): Register WebDAV HTTP methods with chi
|
||||
* Bugfix [cs3org/reva#4107](https://github.com/cs3org/reva/pull/4107): Return lock when requested
|
||||
* Bugfix [cs3org/reva#4075](https://github.com/cs3org/reva/pull/4075): Revert 4065 - bypass proxy on upload
|
||||
* Enhancement [cs3org/reva#4070](https://github.com/cs3org/reva/pull/4070): Selectable Propagators
|
||||
* Enhancement [cs3org/reva#4074](https://github.com/cs3org/reva/pull/4074): Allow configuring the max size of grpc messages
|
||||
* Enhancement [cs3org/reva#4085](https://github.com/cs3org/reva/pull/4085): Add registry refresh
|
||||
* Enhancement [cs3org/reva#4090](https://github.com/cs3org/reva/pull/4090): Add Capability for sse
|
||||
* Enhancement [cs3org/reva#4072](https://github.com/cs3org/reva/pull/4072): Allow to specify a shutdown timeout
|
||||
* Enhancement [cs3org/reva#4083](https://github.com/cs3org/reva/pull/4083): Allow for rolling back migrations
|
||||
* Enhancement [cs3org/reva#4014](https://github.com/cs3org/reva/pull/4014): En-/Disable DEPTH:inifinity in PROPFIND
|
||||
* Enhancement [cs3org/reva#4089](https://github.com/cs3org/reva/pull/4089): Async propagation (experimental)
|
||||
* Enhancement [cs3org/reva#4074](https://github.com/cs3org/reva/pull/4074): Allow configuring the max size of grpc messages
|
||||
* Enhancement [cs3org/reva#4083](https://github.com/cs3org/reva/pull/4083): Allow for rolling back migrations
|
||||
* Enhancement [cs3org/reva#4014](https://github.com/cs3org/reva/pull/4014): En-/Disable DEPTH:inifinity in PROPFIND
|
||||
* Enhancement [cs3org/reva#4072](https://github.com/cs3org/reva/pull/4072): Allow to specify a shutdown timeout
|
||||
* Enhancement [cs3org/reva#4103](https://github.com/cs3org/reva/pull/4103): Add .oform mimetype
|
||||
* Enhancement [cs3org/reva#4098](https://github.com/cs3org/reva/pull/4098): Allow naming nats connections
|
||||
* Enhancement [cs3org/reva#4085](https://github.com/cs3org/reva/pull/4085): Add registry refresh
|
||||
* Enhancement [cs3org/reva#4097](https://github.com/cs3org/reva/pull/4097): Remove app ticker logs
|
||||
* Enhancement [cs3org/reva#4090](https://github.com/cs3org/reva/pull/4090): Add Capability for sse
|
||||
* Enhancement [cs3org/reva#4110](https://github.com/cs3org/reva/pull/4110): Tracing events propgation
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6899
|
||||
https://github.com/owncloud/ocis/pull/6919
|
||||
https://github.com/owncloud/ocis/pull/6928
|
||||
https://github.com/owncloud/ocis/pull/6979
|
||||
|
||||
Update reva to v2.15.0
|
||||
|
||||
* Bugfix [cs3org/reva#4004](https://github.com/cs3org/reva/pull/4004): Add path to public link POST
|
||||
* Bugfix [cs3org/reva#3993](https://github.com/cs3org/reva/pull/3993): Add token to LinkAccessedEvent
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Bump sonarcloud
|
||||
|
||||
Bump sonarcloud to `5.0` to avoid java errors
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6961
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Check public auth first
|
||||
|
||||
When authenticating in proxy, first check for public link authorization.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6900
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: configure max grpc message size
|
||||
|
||||
Add a configuration option for the grpc max message size
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6849
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Enhancement: Evaluate policy resource information on single file shares
|
||||
|
||||
The policy environment for single file shares now also includes information about the resource.
|
||||
As a result, it is now possible to set up and check rules for them.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6888
|
||||
@@ -0,0 +1,8 @@
|
||||
Enhancement: Extendable policy mimetype extension mapping
|
||||
|
||||
The extension mimetype mappings known from rego can now be extended.
|
||||
To do this, ocis must be informed where the mimetype file (apache mime.types file format) is located.
|
||||
|
||||
`export POLICIES_ENGINE_MIMES=OCIS_CONFIG_DIR/mime.types`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6869
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Let clients cache web and theme assets
|
||||
|
||||
We needed to remove "must-revalidate" from the cache-control header to allow clients to cache the web and theme assets.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6914
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix CORS issues
|
||||
|
||||
We fixed the CORS issues when client asking for the 'Cache-Control' header before load the file
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6912
|
||||
https://github.com/owncloud/ocis/issues/5108
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix error message on 400 response for thumbnail requests
|
||||
|
||||
Fix the error message when the thumbnail request returns a '400 Bad Request' response.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/2064
|
||||
https://github.com/owncloud/ocis/pull/6911
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: graph service did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting
|
||||
|
||||
We fixed issue when using a custom LDAP attribute for group members. The graph service
|
||||
did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER environment variable
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7032
|
||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix nats registry
|
||||
|
||||
Using `nats` as service registry did work, but when a service would restart and gets a new ip it couldn't re-register.
|
||||
We fixed this by using `"put"` register action instead of the default `"create"`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6881
|
||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: fix the default document language for OnlyOffice
|
||||
|
||||
Fix the default document language for OnlyOffice
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6878
|
||||
https://github.com/owncloud/enterprise/issues/5807
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix the routing capability
|
||||
|
||||
Fix the routing capability
|
||||
|
||||
https://github.com/owncloud/web/issues/9367
|
||||
@@ -0,0 +1,8 @@
|
||||
Bugfix: Fix the search
|
||||
|
||||
We fixed the issue when search using the current folder option shows the file/folders outside the folder if search keyword is same as
|
||||
current folder
|
||||
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6947
|
||||
https://github.com/owncloud/ocis/issues/6935
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: Add static secret to gn endpoints
|
||||
|
||||
The global notifications POST and DELETE endpoints (used only for deprovision notifications at the moment) can now be called by adding a static secret to the header. Admins can still call this endpoint without knowing the secret
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6946
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: Improve the notification logs
|
||||
|
||||
Improve the notification logs when the user has no email address
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6862
|
||||
https://github.com/owncloud/ocis/issues/6855
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: Nats named connections
|
||||
|
||||
Names the nats connections for easier debugging
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6979
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: Remove deprecated environment variables
|
||||
|
||||
We have removed all environment variables that have been marked as deprecated
|
||||
and marked for removal for 4.0.0
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7099
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,65 @@
|
||||
Enhancement: Update web to v7.1.0-rc.5
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v7.1.0-rc.5. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
## Summary
|
||||
* Bugfix [owncloud/web#9078](https://github.com/owncloud/web/pull/9078): Favorites list update on removal
|
||||
* Bugfix [owncloud/web#9213](https://github.com/owncloud/web/pull/9213): Space creation does not block reoccurring event
|
||||
* Bugfix [owncloud/web#9247](https://github.com/owncloud/web/issues/9247): Uploading to folders that contain special characters
|
||||
* Bugfix [owncloud/web#9259](https://github.com/owncloud/web/issues/9259): Relative user quota display limited to two decimals
|
||||
* Bugfix [owncloud/web#9261](https://github.com/owncloud/web/issues/9261): Remember location after token invalidation
|
||||
* Bugfix [owncloud/web#9299](https://github.com/owncloud/web/pull/9299): Authenticated public links breaking uploads
|
||||
* Bugfix [owncloud/web#9315](https://github.com/owncloud/web/issues/9315): Switch columns displayed on small screens in "Shared with me" view
|
||||
* Bugfix [owncloud/web#9351](https://github.com/owncloud/web/pull/9351): Media controls overflow on mobile screens
|
||||
* Bugfix [owncloud/web#9389](https://github.com/owncloud/web/pull/9389): Space editors see empty trashbin and delete actions in space trashbin
|
||||
* Bugfix [owncloud/web#9461](https://github.com/owncloud/web/pull/9461): Merging folders
|
||||
* Bugfix [owncloud/web/#9496](https://github.com/owncloud/web/pull/9496): Logo not showing
|
||||
* Bugfix [owncloud/web/#9489](https://github.com/owncloud/web/pull/9489): Public drop zone
|
||||
* Bugfix [owncloud/web/#9487](https://github.com/owncloud/web/pull/9487): Respect supportedClouds config
|
||||
* Bugfix [owncloud/web/#9507](https://github.com/owncloud/web/pull/9507): Space description edit modal is cut off vertically
|
||||
* Bugfix [owncloud/web/#9501](https://github.com/owncloud/web/pull/9501): Add cloud importer translations
|
||||
* Bugfix [owncloud/web/#9510](https://github.com/owncloud/web/pull/9510): Double items after moving a file with the same name
|
||||
* Enhancement [owncloud/web#7967](https://github.com/owncloud/web/pull/7967): Add hasPriority property for editors per extension
|
||||
* Enhancement [owncloud/web#8422](https://github.com/owncloud/web/issues/8422): Improve extension app topbar
|
||||
* Enhancement [owncloud/web#8445](https://github.com/owncloud/web/issues/8445): Open individually shared file in dedicated view
|
||||
* Enhancement [owncloud/web#8599](https://github.com/owncloud/web/issues/8599): Shrink table columns
|
||||
* Enhancement [owncloud/web#8921](https://github.com/owncloud/web/pull/8921): Add whitespace context-menu
|
||||
* Enhancement [owncloud/web#8983](https://github.com/owncloud/web/pull/8983): Deny share access
|
||||
* Enhancement [owncloud/web#8984](https://github.com/owncloud/web/pull/8984): Long breadcrumb strategy
|
||||
* Enhancement [owncloud/web#9044](https://github.com/owncloud/web/pull/9044): Search tag filter
|
||||
* Enhancement [owncloud/web#9046](https://github.com/owncloud/web/pull/9046): Single file link open with default app
|
||||
* Enhancement [owncloud/web#9052](https://github.com/owncloud/web/pull/9052): Drag & drop on parent folder
|
||||
* Enhancement [owncloud/web#9055](https://github.com/owncloud/web/pull/9055): Respect archiver limits
|
||||
* Enhancement [owncloud/web#9056](https://github.com/owncloud/web/issues/9056): Enable download (archive) on spaces
|
||||
* Enhancement [owncloud/web#9059](https://github.com/owncloud/web/pull/9059): Search full-text filter
|
||||
* Enhancement [owncloud/web#9077](https://github.com/owncloud/web/pull/9077): Advanced search button
|
||||
* Enhancement [owncloud/web#9077](https://github.com/owncloud/web/pull/9077): Search breadcrumb
|
||||
* Enhancement [owncloud/web#9088](https://github.com/owncloud/web/pull/9088): Use app icons for files
|
||||
* Enhancement [owncloud/web#9140](https://github.com/owncloud/web/pull/9140): Upload file on paste
|
||||
* Enhancement [owncloud/web#9151](https://github.com/owncloud/web/issues/9151): Cloud import
|
||||
* Enhancement [owncloud/web#9174](https://github.com/owncloud/web/issues/9174): Privacy statement in account menu
|
||||
* Enhancement [owncloud/web#9178](https://github.com/owncloud/web/pull/9178): Add login button to top bar
|
||||
* Enhancement [owncloud/web#9195](https://github.com/owncloud/web/pull/9195): Project spaces list viewmode
|
||||
* Enhancement [owncloud/web#9199](https://github.com/owncloud/web/pull/9199): Add pagination options to admin settings
|
||||
* Enhancement [owncloud/web#9200](https://github.com/owncloud/web/pull/9200): Add batch actions to search result list
|
||||
* Enhancement [owncloud/web#9216](https://github.com/owncloud/web/issues/9216): Restyle possible sharees
|
||||
* Enhancement [owncloud/web#9226](https://github.com/owncloud/web/pull/9226): Streamline URL query names
|
||||
* Enhancement [owncloud/web#9263](https://github.com/owncloud/web/pull/9263): Access denied page update message
|
||||
* Enhancement [owncloud/web#9280](https://github.com/owncloud/web/issues/9280): Hover tooltips in topbar
|
||||
* Enhancement [owncloud/web#9294](https://github.com/owncloud/web/pull/9294): Search list add highlighted file content
|
||||
* Enhancement [owncloud/web#9299](https://github.com/owncloud/web/pull/9299): Resolve pulic links to their actual location
|
||||
* Enhancement [owncloud/web#9304](https://github.com/owncloud/web/pull/9304): Add search location filter
|
||||
* Enhancement [owncloud/web#9344](https://github.com/owncloud/web/pull/9344): Ambiguation for URL view mode params
|
||||
* Enhancement [owncloud/web#9346](https://github.com/owncloud/web/pull/9346): Batch actions redesign
|
||||
* Enhancement [owncloud/web#9348](https://github.com/owncloud/web/pull/9348): Tag comma separation on client side
|
||||
* Enhancement [owncloud/web#9377](https://github.com/owncloud/web/issues/9377): User notification for blocked pop-ups and redirects
|
||||
* Enhancement [owncloud/web#9386](https://github.com/owncloud/web/pull/9386): Allow local storage for auth token
|
||||
* Enhancement [owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling
|
||||
* Enhancement [owncloud/web#9449](https://github.com/owncloud/web/issues/9449): Error notifications include x-request-id
|
||||
* Enhancement [owncloud/web#9426](https://github.com/owncloud/web/pull/9426): Add error log to upload dialog
|
||||
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6944
|
||||
https://github.com/owncloud/web/releases/tag/v7.1.0-rc.5
|
||||
+6
-4
@@ -1,8 +1,8 @@
|
||||
Enhancement: Update web to v7.1.0-rc.1
|
||||
Enhancement: Update web to v7.1.0
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v7.1.0-rc.1. Please refer to the changelog (linked) for details on the web release.
|
||||
We updated ownCloud Web to v7.1.0. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
## Summary
|
||||
* Bugfix [owncloud/web#9078](https://github.com/owncloud/web/pull/9078): Favorites list update on removal
|
||||
@@ -14,6 +14,7 @@ We updated ownCloud Web to v7.1.0-rc.1. Please refer to the changelog (linked) f
|
||||
* Bugfix [owncloud/web#9315](https://github.com/owncloud/web/issues/9315): Switch columns displayed on small screens in "Shared with me" view
|
||||
* Bugfix [owncloud/web#9351](https://github.com/owncloud/web/pull/9351): Media controls overflow on mobile screens
|
||||
* Bugfix [owncloud/web#9389](https://github.com/owncloud/web/pull/9389): Space editors see empty trashbin and delete actions in space trashbin
|
||||
* Bugfix [owncloud/web#9461](https://github.com/owncloud/web/issues/9461): Merging folders
|
||||
* Enhancement [owncloud/web#7967](https://github.com/owncloud/web/pull/7967): Add hasPriority property for editors per extension
|
||||
* Enhancement [owncloud/web#8422](https://github.com/owncloud/web/issues/8422): Improve extension app topbar
|
||||
* Enhancement [owncloud/web#8445](https://github.com/owncloud/web/issues/8445): Open individually shared file in dedicated view
|
||||
@@ -50,6 +51,7 @@ We updated ownCloud Web to v7.1.0-rc.1. Please refer to the changelog (linked) f
|
||||
* Enhancement [owncloud/web#9377](https://github.com/owncloud/web/issues/9377): User notification for blocked pop-ups and redirects
|
||||
* Enhancement [owncloud/web#9386](https://github.com/owncloud/web/pull/9386): Allow local storage for auth token
|
||||
* Enhancement [owncloud/web#9394](https://github.com/owncloud/web/pull/9394): Button styling
|
||||
* Enhancement [owncloud/web#9436](https://github.com/owncloud/web/pull/9436): Add error log to upload dialog
|
||||
|
||||
https://github.com/owncloud/ocis/pull/6828
|
||||
https://github.com/owncloud/web/releases/tag/v7.1.0-rc.1
|
||||
https://github.com/owncloud/ocis/pull/7107
|
||||
https://github.com/owncloud/web/releases/tag/v7.1.0
|
||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
Bugfix: Bump reva to 2.16.1
|
||||
|
||||
* Bugfix [cs3org/reva#4194](https://github.com/cs3org/reva/pull/4194): Make appctx package compatible with go v1.21
|
||||
* Bugfix [cs3org/reva#4214](https://github.com/cs3org/reva/pull/4214): Always pass adjusted default nats options
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7350
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Do not reset received share state to pending
|
||||
|
||||
We fixed a problem where the states of received shares were reset to PENDING
|
||||
in the "ocis migrate rebuild-jsoncs3-indexes" command
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7319
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Check school number for duplicates before adding a school
|
||||
|
||||
We fixed an issue that allowed to create two schools with the same school number
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7351
|
||||
https://github.com/owncloud/enterprise/issues/6051
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Disable username validation for keycloak example
|
||||
|
||||
Set 'GRAPH_USERNAME_MATCH' to 'none'. To accept any username that is
|
||||
also valid for keycloak.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7230
|
||||
@@ -0,0 +1,3 @@
|
||||
Bugfix: actually pass PROXY_OIDC_SKIP_USER_INFO option to oidc client middleware
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7220
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Bring back the USERS_LDAP_USER_SCHEMA_ID variable
|
||||
|
||||
We reintroduced the USERS_LDAP_USER_SCHEMA_ID variable which was accidently removed from the users service
|
||||
with the 4.0.0 release.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7312
|
||||
https://github.com/owncloud/ocis-charts/issues/397
|
||||
@@ -0,0 +1,11 @@
|
||||
Enhancement: Add OCIS_LDAP_BIND_PASSWORD as replacement for LDAP_BIND_PASSWORD
|
||||
|
||||
The enviroment variable `OCIS_LDAP_BIND_PASSWORD` was added to be more consistent with all
|
||||
other global LDAP variables.
|
||||
|
||||
`LDAP_BIND_PASSWORD` is deprecated now and scheduled for removal with the 5.0.0 release.
|
||||
|
||||
We also deprecated `LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` for removal with 5.0.0.
|
||||
The replacement for it is `OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING`.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7176
|
||||
@@ -31,7 +31,7 @@
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||
OCIS_DOCKER_TAG: 3.1.0-beta.1
|
||||
OCIS_DOCKER_TAG: 4.0.0
|
||||
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
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||
OCIS_DOCKER_TAG: 3.1.0-beta.1
|
||||
OCIS_DOCKER_TAG: 4.0.0
|
||||
OCIS_DOMAIN: ocis.ocis-ldap.released.owncloud.works
|
||||
LDAP_MANAGER_DOMAIN: ldap.ocis-ldap.released.owncloud.works
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||
OCIS_DOCKER_TAG: 3.1.0-beta.1
|
||||
OCIS_DOCKER_TAG: 4.0.0
|
||||
OCIS_DOMAIN: ocis.ocis-traefik.released.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
INBUCKET_DOMAIN: mail.ocis-traefik.released.owncloud.works
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||
OCIS_DOCKER_TAG: 3.1.0-beta.1
|
||||
OCIS_DOCKER_TAG: 4.0.0
|
||||
OCIS_DOMAIN: ocis.ocis-wopi.released.owncloud.works
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.released.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis-wopi.released.owncloud.works
|
||||
|
||||
@@ -81,19 +81,19 @@ services:
|
||||
GRAPH_IDENTITY_BACKEND: ldap
|
||||
GRAPH_LDAP_SERVER_WRITE_ENABLED: "false"
|
||||
# LDAP bind
|
||||
LDAP_URI: "ldaps://openldap"
|
||||
LDAP_INSECURE: "true"
|
||||
LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
|
||||
OCIS_LDAP_URI: "ldaps://openldap"
|
||||
OCIS_LDAP_INSECURE: "true"
|
||||
OCIS_LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
|
||||
LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
|
||||
# LDAP user settings
|
||||
PROXY_USER_OIDC_CLAIM: ocis.user.uuid # claim was added in Keycloak
|
||||
PROXY_USER_CS3_CLAIM: userid # equals LDAP_USER_SCHEMA_ID
|
||||
LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
|
||||
LDAP_GROUP_SCHEMA_ID: "ownclouduuid"
|
||||
LDAP_GROUP_FILTER: "(objectclass=owncloud)"
|
||||
LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
|
||||
LDAP_USER_SCHEMA_ID: "ownclouduuid"
|
||||
LDAP_USER_FILTER: "(objectclass=owncloud)"
|
||||
OCIS_LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
|
||||
OCIS_LDAP_GROUP_SCHEMA_ID: "ownclouduuid"
|
||||
OCIS_LDAP_GROUP_FILTER: "(objectclass=owncloud)"
|
||||
OCIS_LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
|
||||
OCIS_LDAP_USER_SCHEMA_ID: "ownclouduuid"
|
||||
OCIS_LDAP_USER_FILTER: "(objectclass=owncloud)"
|
||||
# ownCloudSQL storage driver
|
||||
STORAGE_USERS_DRIVER: "owncloudsql"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DATADIR: "/mnt/data/files"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"displayName": "ownCloud Infinite Scale",
|
||||
"notBefore": 0,
|
||||
"defaultSignatureAlgorithm": "RS256",
|
||||
"revokeRefreshToken": true,
|
||||
"revokeRefreshToken": false,
|
||||
"refreshTokenMaxReuse": 0,
|
||||
"accessTokenLifespan": 300,
|
||||
"accessTokenLifespanForImplicitFlow": 900,
|
||||
|
||||
@@ -76,6 +76,7 @@ services:
|
||||
OCIS_ADMIN_USER_ID: ""
|
||||
OCIS_EXCLUDE_RUN_SERVICES: "idp"
|
||||
GRAPH_ASSIGN_DEFAULT_USER_ROLE: "false"
|
||||
GRAPH_USERNAME_MATCH: "none"
|
||||
volumes:
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
|
||||
@@ -60,16 +60,16 @@ services:
|
||||
command: [ "-c", "ocis init || true; ocis server" ]
|
||||
environment:
|
||||
# users/gropups from ldap
|
||||
LDAP_URI: ldaps://ldap-server:1636
|
||||
LDAP_INSECURE: "true"
|
||||
LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
|
||||
OCIS_LDAP_URI: ldaps://ldap-server:1636
|
||||
OCIS_LDAP_INSECURE: "true"
|
||||
OCIS_LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
|
||||
LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
|
||||
LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
|
||||
LDAP_GROUP_FILTER: "(objectclass=owncloud)"
|
||||
LDAP_GROUP_OBJECTCLASS: "groupOfNames"
|
||||
LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
|
||||
LDAP_USER_FILTER: "(objectclass=owncloud)"
|
||||
LDAP_USER_OBJECTCLASS: "inetOrgPerson"
|
||||
OCIS_LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
|
||||
OCIS_LDAP_GROUP_FILTER: "(objectclass=owncloud)"
|
||||
OCIS_LDAP_GROUP_OBJECTCLASS: "groupOfNames"
|
||||
OCIS_LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
|
||||
OCIS_LDAP_USER_FILTER: "(objectclass=owncloud)"
|
||||
OCIS_LDAP_USER_OBJECTCLASS: "inetOrgPerson"
|
||||
LDAP_LOGIN_ATTRIBUTES: "uid"
|
||||
OCIS_ADMIN_USER_ID: "ddc2004c-0977-11eb-9d3f-a793888cd0f8"
|
||||
IDP_LDAP_LOGIN_ATTRIBUTE: "uid"
|
||||
|
||||
@@ -76,6 +76,7 @@ services:
|
||||
# fulltext search
|
||||
SEARCH_EXTRACTOR_TYPE: tika
|
||||
SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://tika:9998
|
||||
FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true"
|
||||
# email server (in this case inbucket acts as mail catcher)
|
||||
NOTIFICATIONS_SMTP_HOST: inbucket
|
||||
NOTIFICATIONS_SMTP_PORT: 2500
|
||||
@@ -161,7 +162,7 @@ services:
|
||||
restart: always
|
||||
|
||||
wopiserver:
|
||||
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-v10.0.1}
|
||||
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-v10.1.0}
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
|
||||
@@ -6,14 +6,28 @@ import data.utils
|
||||
default granted := true
|
||||
|
||||
granted = false if {
|
||||
print("PRINT MESSAGE EXAMPLE")
|
||||
input.request.method == "PUT"
|
||||
not startswith(input.request.path, "/ocs")
|
||||
not utils.is_extension_allowed(input.request.path)
|
||||
pathPrefixes := [
|
||||
"/dav",
|
||||
"/remote.php/webdav",
|
||||
"/remote.php/dav",
|
||||
"/webdav",
|
||||
]
|
||||
restricted := pathPrefixes[_]
|
||||
startswith(input.request.path, restricted)
|
||||
not utils.is_extension_allowed(input.resource.name)
|
||||
}
|
||||
|
||||
granted = false if {
|
||||
input.request.method == "POST"
|
||||
startswith(input.request.path, "/remote.php")
|
||||
pathPrefixes := [
|
||||
"/data",
|
||||
"/dav",
|
||||
"/remote.php/webdav",
|
||||
"/remote.php/dav",
|
||||
"/webdav",
|
||||
]
|
||||
restricted := pathPrefixes[_]
|
||||
startswith(input.request.path, restricted)
|
||||
not utils.is_extension_allowed(input.resource.name)
|
||||
}
|
||||
@@ -39,7 +39,7 @@ variables:
|
||||
type: string
|
||||
default_value: ""
|
||||
description: 'Go micro registry type to use. Supported types are: ''nats'', ''kubernetes'',
|
||||
''etcd'', ''consul'' and ''memory''. Will be selected automatically. Only change
|
||||
''etcd'', ''consul'', ''memory'' and ''mdns''. Will be selected automatically. Only change
|
||||
on supervision of ownCloud Support.'
|
||||
do_ignore: false
|
||||
- rawname: registryAddressEnv
|
||||
|
||||
@@ -80,6 +80,17 @@ make -C tests/acceptance/docker test-ocis-feature-ocis-storage
|
||||
|
||||
{{< /hint >}}
|
||||
|
||||
{{< hint info >}}
|
||||
To run the tests that require tika service (tests tagged with `@tikaServiceNeeded`), you need to provide `START_TIKA=true` while running the tests.
|
||||
|
||||
```bash
|
||||
START_TIKA=true \
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiSearch/contentSearch.feature' \
|
||||
make -C tests/acceptance/docker test-ocis-feature-ocis-storage
|
||||
```
|
||||
|
||||
{{< /hint >}}
|
||||
|
||||
{{< hint info >}}
|
||||
To run the tests that require an antivirus service (tests tagged with `@antivirus`), you need to provide the following environment variables while running the tests.
|
||||
|
||||
@@ -376,6 +387,48 @@ BEHAT_FEATURE="tests/acceptance/features/apiNotification/emailNotification.featu
|
||||
make test-acceptance-api
|
||||
```
|
||||
|
||||
## Running Test Suite With Tika Service (@tikaServiceNeeded)
|
||||
|
||||
Test suites that are tagged with `@tikaServiceNeeded` require tika service.
|
||||
|
||||
### Setup Tika Service
|
||||
|
||||
Run the following docker command to setup tika service
|
||||
|
||||
```bash
|
||||
docker run -d -p 127.0.0.1:9998:9998 apache/tika
|
||||
```
|
||||
|
||||
### Run oCIS
|
||||
|
||||
Documentation related to the content based search and tika extractor can be found [here](https://doc.owncloud.com/ocis/next/deployment/services/s-list/search.html#content-extraction)
|
||||
|
||||
```bash
|
||||
# init oCIS
|
||||
IDM_ADMIN_PASSWORD=admin \
|
||||
ocis/bin/ocis init --insecure true
|
||||
|
||||
# run oCIS
|
||||
PROXY_ENABLE_BASIC_AUTH=true \
|
||||
OCIS_INSECURE=true \
|
||||
SEARCH_EXTRACTOR_TYPE=tika \
|
||||
SEARCH_EXTRACTOR_TIKA_TIKA_URL=http://localhost:9998 \
|
||||
SEARCH_EXTRACTOR_CS3SOURCE_INSECURE=true \
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
### Run the Acceptance Test
|
||||
|
||||
Run the acceptance test with the following command:
|
||||
|
||||
```bash
|
||||
TEST_WITH_GRAPH_API=true \
|
||||
TEST_OCIS=true \
|
||||
TEST_SERVER_URL="https://localhost:9200" \
|
||||
BEHAT_FEATURE="tests/acceptance/features/apiSearch/contentSearch.feature" \
|
||||
make test-acceptance-api
|
||||
```
|
||||
|
||||
## Running Tests for Parallel Deployment
|
||||
|
||||
### Setup the Parallel Deployment Environment
|
||||
@@ -450,7 +503,7 @@ The commands are ubuntu specific and may differ according to your system. You ca
|
||||
|
||||
##### Mac OS user
|
||||
Install ClamAV using [here](https://gist.github.com/mendozao/3ea393b91f23a813650baab9964425b9)
|
||||
Start ClamAV daemon
|
||||
Start ClamAV daemon
|
||||
```bash
|
||||
/your/location/to/brew/Cellar/clamav/1.1.0/sbin/clamd
|
||||
```
|
||||
@@ -499,3 +552,20 @@ TEST_SERVER_URL="https://localhost:9200" \
|
||||
BEHAT_FEATURE="tests/acceptance/features/apiAntivirus/antivirus.feature" \
|
||||
make test-acceptance-api
|
||||
```
|
||||
|
||||
## Running Text Preview Tests Containing Unicode Characters
|
||||
|
||||
There are some tests that check the text preview of files containing Unicode characters. The oCIS server by default cannot generate the thumbnail of such files correctly but it provides an environment variable to allow the use of custom fonts that support Unicode characters. So to run such tests successfully, we have to run the oCIS server with this environment variable.
|
||||
|
||||
```bash
|
||||
...
|
||||
THUMBNAILS_TXT_FONTMAP_FILE="/path/to/fontsMap.json"
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
The sample `fontsMap.json` file is located in `tests/config/drone/fontsMap.json`.
|
||||
```json
|
||||
{
|
||||
"defaultFont": "/path/to/ocis/tests/config/drone/NotoSans.ttf"
|
||||
}
|
||||
```
|
||||
@@ -19,8 +19,9 @@ This configuration is an _example_ for using Samba4 AD as well as a Windows Serv
|
||||
```text
|
||||
OCIS_LDAP_URI=ldaps://xxxxxxxxx
|
||||
OCIS_LDAP_INSECURE="true"
|
||||
OCIS_LDAP_BIND_DN="cn=administrator,cn=users,xxxxxxxxxx"
|
||||
OCIS_LDAP_BIND_PASSWORD=xxxxxxx
|
||||
OCIS_LDAP_BIND_DN="cn=administrator,cn=users,xxxxxxxxxx"
|
||||
OCIS_LDAP_BIND_PASSWORD=xxxxxxx
|
||||
OCIS_LDAP_DISABLE_USER_MECHANISM="none"
|
||||
OCIS_LDAP_GROUP_BASE_DN="dc=owncloud,dc=test"
|
||||
OCIS_LDAP_GROUP_OBJECTCLASS="group"
|
||||
OCIS_LDAP_GROUP_SCHEMA_ID="objectGUID"
|
||||
@@ -31,7 +32,6 @@ OCIS_LDAP_USER_OBJECTCLASS="user"
|
||||
OCIS_LDAP_USER_SCHEMA_ID="objectGUID"
|
||||
OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING="true"
|
||||
OCIS_LDAP_USER_SCHEMA_USERNAME="sAMAccountName"
|
||||
OCIS_LDAP_USER_ENABLED_ATTRIBUTE=""
|
||||
OCIS_LDAP_LOGIN_ATTRIBUTES="sAMAccountName"
|
||||
IDP_LDAP_LOGIN_ATTRIBUTE="sAMAccountName"
|
||||
IDP_LDAP_UUID_ATTRIBUTE="objectGUID"
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: Additinal Information
|
||||
date: 2018-05-02T00:00:00+00:00
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/services/general-info
|
||||
geekdocFilePath: additional-information.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
This section contains information on general topics
|
||||
|
||||
## GRPC Maximum Message Size
|
||||
|
||||
ocis is using grpc for inter-service communication. When having a folder with a lot of files (25.000+, the size does not matter) and doing a `PROPFIND` on that folder, the server will run into errors. This is because the grpc message body becomes to big. With introduction of the envvar `OCIS_GRPC_MAX_RECEIVED_MESSAGE_SIZE`, the max size for the grpc body can be raised.
|
||||
|
||||
NOTE: With a certain amount of files even raising the grpc message size will not suffice as the requests will run into network timeouts. Also generally the more files are in a folder, the longer it will take time to load.
|
||||
|
||||
It is recommended to use `OCIS_GRPC_MAX_RECEIVED_MESSAGE_SIZE` only *temporary* to copy files out of the folder (like via the web ui) and use the default value in general.
|
||||
@@ -3,36 +3,35 @@ module github.com/owncloud/ocis/v2
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/CiscoM31/godata v1.0.7
|
||||
github.com/KimMachineGun/automemlimit v0.2.4
|
||||
github.com/CiscoM31/godata v1.0.8
|
||||
github.com/KimMachineGun/automemlimit v0.2.6
|
||||
github.com/Masterminds/semver v1.5.0
|
||||
github.com/MicahParks/keyfunc v1.5.1
|
||||
github.com/Nerzal/gocloak/v13 v13.1.0
|
||||
github.com/bbalet/stopwords v1.0.0
|
||||
github.com/blevesearch/bleve/v2 v2.3.7
|
||||
github.com/blevesearch/bleve/v2 v2.3.9
|
||||
github.com/coreos/go-oidc v2.2.1+incompatible
|
||||
github.com/coreos/go-oidc/v3 v3.6.0
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20230516150832-730ac860c71d
|
||||
github.com/cs3org/reva/v2 v2.15.0
|
||||
github.com/cs3org/reva/v2 v2.16.1
|
||||
github.com/disintegration/imaging v1.6.2
|
||||
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.2
|
||||
github.com/ggwhite/go-masker v1.0.9
|
||||
github.com/go-chi/chi/v5 v5.0.8
|
||||
github.com/go-chi/chi/v5 v5.0.10
|
||||
github.com/go-chi/cors v1.2.1
|
||||
github.com/go-chi/render v1.0.2
|
||||
github.com/go-ldap/ldap/v3 v3.4.5
|
||||
github.com/go-ldap/ldif v0.0.0-20200320164324-fd88d9b715b3
|
||||
github.com/go-micro/plugins/v4/client/grpc v1.2.0
|
||||
github.com/go-micro/plugins/v4/events/natsjs v1.2.1
|
||||
github.com/go-micro/plugins/v4/logger/zerolog v1.2.0
|
||||
github.com/go-micro/plugins/v4/registry/consul v1.2.0
|
||||
github.com/go-micro/plugins/v4/registry/consul v1.2.1
|
||||
github.com/go-micro/plugins/v4/registry/etcd v1.2.0
|
||||
github.com/go-micro/plugins/v4/registry/kubernetes v1.1.2-0.20230605104008-a179a6b8f8e6
|
||||
github.com/go-micro/plugins/v4/registry/kubernetes v1.1.2
|
||||
github.com/go-micro/plugins/v4/registry/mdns v1.2.0
|
||||
github.com/go-micro/plugins/v4/registry/memory v1.2.0
|
||||
github.com/go-micro/plugins/v4/registry/nats v1.2.1
|
||||
github.com/go-micro/plugins/v4/registry/nats v1.2.2-0.20230723205323-1ada01245674
|
||||
github.com/go-micro/plugins/v4/server/grpc v1.2.0
|
||||
github.com/go-micro/plugins/v4/server/http v1.2.1
|
||||
github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker v1.2.0
|
||||
@@ -46,13 +45,13 @@ require (
|
||||
github.com/google/uuid v1.3.0
|
||||
github.com/gookit/config/v2 v2.2.2
|
||||
github.com/gorilla/mux v1.8.0
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2
|
||||
github.com/jellydator/ttlcache/v2 v2.11.1
|
||||
github.com/jellydator/ttlcache/v3 v3.0.1
|
||||
github.com/justinas/alice v1.2.0
|
||||
github.com/leonelquinteros/gotext v1.5.3-0.20230317130943-71a59c05b2c1
|
||||
github.com/libregraph/idm v0.4.1-0.20230221143410-3503963047a5
|
||||
github.com/libregraph/lico v0.60.1-0.20230516115351-f904ff5fd200
|
||||
github.com/libregraph/lico v0.60.1-0.20230811070109-1d4140be554d
|
||||
github.com/mitchellh/mapstructure v1.5.0
|
||||
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
|
||||
github.com/nats-io/nats-server/v2 v2.9.19
|
||||
@@ -60,7 +59,7 @@ require (
|
||||
github.com/olekukonko/tablewriter v0.0.5
|
||||
github.com/onsi/ginkgo v1.16.5
|
||||
github.com/onsi/ginkgo/v2 v2.11.0
|
||||
github.com/onsi/gomega v1.27.8
|
||||
github.com/onsi/gomega v1.27.10
|
||||
github.com/open-policy-agent/opa v0.51.0
|
||||
github.com/orcaman/concurrent-map v1.0.0
|
||||
github.com/owncloud/libre-graph-api-go v1.0.5-0.20230710073250-9e5acb4b5838
|
||||
@@ -69,14 +68,14 @@ require (
|
||||
github.com/prometheus/client_golang v1.16.0
|
||||
github.com/r3labs/sse/v2 v2.10.0
|
||||
github.com/riandyrn/otelchi v0.5.1
|
||||
github.com/rogpeppe/go-internal v1.10.0
|
||||
github.com/rs/zerolog v1.29.1
|
||||
github.com/rogpeppe/go-internal v1.11.0
|
||||
github.com/rs/zerolog v1.30.0
|
||||
github.com/shamaton/msgpack/v2 v2.1.1
|
||||
github.com/sirupsen/logrus v1.9.0
|
||||
github.com/sirupsen/logrus v1.9.3
|
||||
github.com/spf13/cobra v1.7.0
|
||||
github.com/stretchr/testify v1.8.4
|
||||
github.com/thejerf/suture/v4 v4.0.2
|
||||
github.com/tus/tusd v1.10.1
|
||||
github.com/tus/tusd v1.12.1
|
||||
github.com/urfave/cli/v2 v2.25.7
|
||||
github.com/xhit/go-simple-mail/v2 v2.15.0
|
||||
go-micro.dev/v4 v4.9.0
|
||||
@@ -88,16 +87,16 @@ require (
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.16.0
|
||||
go.opentelemetry.io/otel/sdk v1.16.0
|
||||
go.opentelemetry.io/otel/trace v1.16.0
|
||||
golang.org/x/crypto v0.11.0
|
||||
golang.org/x/crypto v0.12.0
|
||||
golang.org/x/exp v0.0.0-20221026004748-78e5e7837ae6
|
||||
golang.org/x/image v0.9.0
|
||||
golang.org/x/net v0.12.0
|
||||
golang.org/x/image v0.11.0
|
||||
golang.org/x/net v0.14.0
|
||||
golang.org/x/oauth2 v0.10.0
|
||||
golang.org/x/sync v0.2.0
|
||||
golang.org/x/term v0.10.0
|
||||
golang.org/x/text v0.11.0
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc
|
||||
google.golang.org/grpc v1.56.1
|
||||
golang.org/x/sync v0.3.0
|
||||
golang.org/x/term v0.11.0
|
||||
golang.org/x/text v0.12.0
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e
|
||||
google.golang.org/grpc v1.57.0
|
||||
google.golang.org/protobuf v1.31.0
|
||||
gopkg.in/square/go-jose.v2 v2.6.0
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
@@ -115,7 +114,7 @@ require (
|
||||
github.com/Microsoft/go-winio v0.6.0 // indirect
|
||||
github.com/OneOfOne/xxhash v1.2.8 // indirect
|
||||
github.com/ProtonMail/go-crypto v0.0.0-20220930113650-c6815a8c17ad // indirect
|
||||
github.com/RoaringBitmap/roaring v0.9.4 // indirect
|
||||
github.com/RoaringBitmap/roaring v1.2.3 // indirect
|
||||
github.com/acomagu/bufpipe v1.0.3 // indirect
|
||||
github.com/agnivade/levenshtein v1.1.1 // indirect
|
||||
github.com/ajg/form v1.5.1 // indirect
|
||||
@@ -124,7 +123,7 @@ require (
|
||||
github.com/armon/go-metrics v0.4.1 // indirect
|
||||
github.com/armon/go-radix v1.0.0 // indirect
|
||||
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
|
||||
github.com/aws/aws-sdk-go v1.44.181 // indirect
|
||||
github.com/aws/aws-sdk-go v1.44.294 // indirect
|
||||
github.com/beevik/etree v1.2.0 // indirect
|
||||
github.com/beorn7/perks v1.0.1 // indirect
|
||||
github.com/bitly/go-simplejson v0.5.0 // indirect
|
||||
@@ -134,16 +133,16 @@ require (
|
||||
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
|
||||
github.com/blevesearch/gtreap v0.1.1 // indirect
|
||||
github.com/blevesearch/mmap-go v1.0.4 // indirect
|
||||
github.com/blevesearch/scorch_segment_api/v2 v2.1.4 // indirect
|
||||
github.com/blevesearch/scorch_segment_api/v2 v2.1.5 // indirect
|
||||
github.com/blevesearch/segment v0.9.1 // indirect
|
||||
github.com/blevesearch/snowballstem v0.9.0 // indirect
|
||||
github.com/blevesearch/upsidedown_store_api v1.0.2 // indirect
|
||||
github.com/blevesearch/vellum v1.0.9 // indirect
|
||||
github.com/blevesearch/zapx/v11 v11.3.7 // indirect
|
||||
github.com/blevesearch/zapx/v12 v12.3.7 // indirect
|
||||
github.com/blevesearch/zapx/v13 v13.3.7 // indirect
|
||||
github.com/blevesearch/zapx/v14 v14.3.7 // indirect
|
||||
github.com/blevesearch/zapx/v15 v15.3.9 // indirect
|
||||
github.com/blevesearch/vellum v1.0.10 // indirect
|
||||
github.com/blevesearch/zapx/v11 v11.3.9 // indirect
|
||||
github.com/blevesearch/zapx/v12 v12.3.9 // indirect
|
||||
github.com/blevesearch/zapx/v13 v13.3.9 // indirect
|
||||
github.com/blevesearch/zapx/v14 v14.3.9 // indirect
|
||||
github.com/blevesearch/zapx/v15 v15.3.12 // indirect
|
||||
github.com/bluele/gcache v0.0.2 // indirect
|
||||
github.com/bmizerany/pat v0.0.0-20210406213842-e4b6760bdd6f // indirect
|
||||
github.com/bombsimon/logrusr/v3 v3.1.0 // indirect
|
||||
@@ -152,15 +151,14 @@ require (
|
||||
github.com/ceph/go-ceph v0.18.0 // indirect
|
||||
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
||||
github.com/cevaris/ordered_map v0.0.0-20190319150403-3adeae072e73 // indirect
|
||||
github.com/cilium/ebpf v0.7.0 // indirect
|
||||
github.com/cilium/ebpf v0.9.1 // indirect
|
||||
github.com/cloudflare/circl v1.3.3 // indirect
|
||||
github.com/containerd/cgroups v1.0.4 // indirect
|
||||
github.com/containerd/cgroups/v3 v3.0.1 // indirect
|
||||
github.com/coreos/go-semver v0.3.0 // indirect
|
||||
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
||||
github.com/crewjam/httperr v0.2.0 // indirect
|
||||
github.com/crewjam/saml v0.4.13 // indirect
|
||||
github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8 // indirect
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/deckarep/golang-set v1.8.0 // indirect
|
||||
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
|
||||
@@ -188,6 +186,7 @@ require (
|
||||
github.com/go-logfmt/logfmt v0.5.1 // indirect
|
||||
github.com/go-logr/logr v1.2.4 // indirect
|
||||
github.com/go-logr/stdr v1.2.2 // indirect
|
||||
github.com/go-micro/plugins/v4/events/natsjs v1.2.2-0.20230807070816-bc05fb076ce7 // indirect
|
||||
github.com/go-micro/plugins/v4/store/nats-js v1.1.0 // indirect
|
||||
github.com/go-micro/plugins/v4/store/redis v1.2.1-0.20230510195111-07cd57e1bc9d // indirect
|
||||
github.com/go-redis/redis/v8 v8.11.5 // indirect
|
||||
@@ -217,7 +216,7 @@ require (
|
||||
github.com/gookit/goutil v0.6.9 // indirect
|
||||
github.com/gorilla/handlers v1.5.1 // indirect
|
||||
github.com/gorilla/schema v1.2.0 // indirect
|
||||
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
|
||||
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
|
||||
github.com/hashicorp/consul/api v1.15.2 // indirect
|
||||
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
||||
@@ -285,7 +284,7 @@ require (
|
||||
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
|
||||
github.com/rivo/uniseg v0.4.2 // indirect
|
||||
github.com/rs/cors v1.9.0 // indirect
|
||||
github.com/rs/xid v1.4.0 // 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
|
||||
github.com/sciencemesh/meshdirectory-web v1.0.4 // indirect
|
||||
@@ -322,13 +321,13 @@ require (
|
||||
go.uber.org/multierr v1.8.0 // indirect
|
||||
go.uber.org/zap v1.23.0 // indirect
|
||||
golang.org/x/mod v0.10.0 // indirect
|
||||
golang.org/x/sys v0.10.0 // indirect
|
||||
golang.org/x/sys v0.11.0 // indirect
|
||||
golang.org/x/time v0.3.0 // indirect
|
||||
golang.org/x/tools v0.9.3 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
||||
google.golang.org/appengine v1.6.7 // indirect
|
||||
google.golang.org/genproto v0.0.0-20230526203410-71b5a4ffd15e // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc // indirect
|
||||
google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230726155614-23370e0ffb3e // indirect
|
||||
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
|
||||
gopkg.in/ini.v1 v1.67.0 // indirect
|
||||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
||||
@@ -338,5 +337,3 @@ require (
|
||||
)
|
||||
|
||||
replace github.com/cs3org/go-cs3apis => github.com/2403905/go-cs3apis v0.0.0-20230517122726-727045414fd1
|
||||
|
||||
// replace github.com/cs3org/reva/v2 => github.com/micbar/reva/v2 v2.0.0-20230626125956-c381fe19a108
|
||||
@@ -68,8 +68,8 @@ type Config struct {
|
||||
|
||||
Registry string `yaml:"registry"`
|
||||
TokenManager *shared.TokenManager `yaml:"token_manager"`
|
||||
MachineAuthAPIKey string `yaml:"machine_auth_api_key" env:"OCIS_MACHINE_AUTH_API_KEY" desc:"Machine auth API key used to validate internal requests necessary for the access to resources from other services."`
|
||||
TransferSecret string `yaml:"transfer_secret" env:"OCIS_TRANSFER_SECRET;STORAGE_TRANSFER_SECRET" deprecationVersion:"3.0" removalVersion:"3.1" deprecationInfo:"STORAGE_TRANSFER_SECRET changing name for consistency" deprecationReplacement:"OCIS_TRANSFER_SECRET"`
|
||||
MachineAuthAPIKey string `yaml:"machine_auth_api_key"env:"OCIS_MACHINE_AUTH_API_KEY" desc:"Machine auth API key used to validate internal requests necessary for the access to resources from other services."`
|
||||
TransferSecret string `yaml:"transfer_secret" env:"OCIS_TRANSFER_SECRET" desc:"Transfer secret for signing file up- and download requests."`
|
||||
SystemUserID string `yaml:"system_user_id" env:"OCIS_SYSTEM_USER_ID" desc:"ID of the oCIS storage-system system user. Admins need to set the ID for the storage-system system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format."`
|
||||
SystemUserAPIKey string `yaml:"system_user_api_key" env:"OCIS_SYSTEM_USER_API_KEY" desc:"API key for the storage-system system user."`
|
||||
AdminUserID string `yaml:"admin_user_id" env:"OCIS_ADMIN_USER_ID" desc:"ID of a user, that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand."`
|
||||
|
||||
@@ -27,7 +27,7 @@ import (
|
||||
// OIDCClient used to mock the oidc client during tests
|
||||
type OIDCClient interface {
|
||||
UserInfo(ctx context.Context, ts oauth2.TokenSource) (*UserInfo, error)
|
||||
VerifyAccessToken(ctx context.Context, token string) (RegClaimsWithSID, []string, error)
|
||||
VerifyAccessToken(ctx context.Context, token string) (RegClaimsWithSID, jwt.MapClaims, error)
|
||||
VerifyLogoutToken(ctx context.Context, token string) (*LogoutToken, error)
|
||||
}
|
||||
|
||||
@@ -271,27 +271,26 @@ func (c *oidcClient) UserInfo(ctx context.Context, tokenSource oauth2.TokenSourc
|
||||
}, nil
|
||||
}
|
||||
|
||||
func (c *oidcClient) VerifyAccessToken(ctx context.Context, token string) (RegClaimsWithSID, []string, error) {
|
||||
var mapClaims []string
|
||||
func (c *oidcClient) VerifyAccessToken(ctx context.Context, token string) (RegClaimsWithSID, jwt.MapClaims, error) {
|
||||
if err := c.lookupWellKnownOpenidConfiguration(ctx); err != nil {
|
||||
return RegClaimsWithSID{}, mapClaims, err
|
||||
return RegClaimsWithSID{}, jwt.MapClaims{}, err
|
||||
}
|
||||
switch c.accessTokenVerifyMethod {
|
||||
case config.AccessTokenVerificationJWT:
|
||||
return c.verifyAccessTokenJWT(token)
|
||||
case config.AccessTokenVerificationNone:
|
||||
c.Logger.Debug().Msg("Access Token verification disabled")
|
||||
return RegClaimsWithSID{}, mapClaims, nil
|
||||
return RegClaimsWithSID{}, jwt.MapClaims{}, nil
|
||||
default:
|
||||
c.Logger.Error().Str("access_token_verify_method", c.accessTokenVerifyMethod).Msg("Unknown Access Token verification setting")
|
||||
return RegClaimsWithSID{}, mapClaims, errors.New("unknown Access Token Verification method")
|
||||
return RegClaimsWithSID{}, jwt.MapClaims{}, errors.New("unknown Access Token Verification method")
|
||||
}
|
||||
}
|
||||
|
||||
// verifyAccessTokenJWT tries to parse and verify the access token as a JWT.
|
||||
func (c *oidcClient) verifyAccessTokenJWT(token string) (RegClaimsWithSID, []string, error) {
|
||||
func (c *oidcClient) verifyAccessTokenJWT(token string) (RegClaimsWithSID, jwt.MapClaims, error) {
|
||||
var claims RegClaimsWithSID
|
||||
var mapClaims []string
|
||||
mapClaims := jwt.MapClaims{}
|
||||
jwks := c.getKeyfunc()
|
||||
if jwks == nil {
|
||||
return claims, mapClaims, errors.New("error initializing jwks keyfunc")
|
||||
@@ -301,7 +300,7 @@ func (c *oidcClient) verifyAccessTokenJWT(token string) (RegClaimsWithSID, []str
|
||||
if err != nil {
|
||||
return claims, mapClaims, err
|
||||
}
|
||||
_, mapClaims, err = new(jwt.Parser).ParseUnverified(token, jwt.MapClaims{})
|
||||
_, _, err = new(jwt.Parser).ParseUnverified(token, mapClaims)
|
||||
// TODO: decode mapClaims to sth readable
|
||||
c.Logger.Debug().Interface("access token", &claims).Msg("parsed access token")
|
||||
if err != nil {
|
||||
|
||||
@@ -50,6 +50,7 @@ func GetRegistry() mRegistry.Registry {
|
||||
case "nats":
|
||||
reg = natsr.NewRegistry(
|
||||
mRegistry.Addrs(addresses...),
|
||||
natsr.RegisterAction("put"),
|
||||
)
|
||||
case "kubernetes":
|
||||
reg = kubernetesr.NewRegistry(
|
||||
|
||||
@@ -5,7 +5,6 @@ import (
|
||||
"crypto/x509"
|
||||
"errors"
|
||||
"os"
|
||||
"sync"
|
||||
|
||||
mgrpcc "github.com/go-micro/plugins/v4/client/grpc"
|
||||
mbreaker "github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker"
|
||||
@@ -16,11 +15,6 @@ import (
|
||||
"go.opentelemetry.io/otel/trace"
|
||||
)
|
||||
|
||||
var (
|
||||
defaultClient client.Client
|
||||
once sync.Once
|
||||
)
|
||||
|
||||
// ClientOptions represent options (e.g. tls settings) for the grpc clients
|
||||
type ClientOptions struct {
|
||||
tlsMode string
|
||||
@@ -48,62 +42,12 @@ func WithTLSCACert(v string) ClientOption {
|
||||
// WithTraceProvider allows to set the trace Provider for grpc clients
|
||||
func WithTraceProvider(tp trace.TracerProvider) ClientOption {
|
||||
return func(o *ClientOptions) {
|
||||
o.tp = tp
|
||||
}
|
||||
}
|
||||
|
||||
// Configure configures the default oOCIS grpc client (e.g. TLS settings)
|
||||
func Configure(opts ...ClientOption) error {
|
||||
var options ClientOptions
|
||||
for _, opt := range opts {
|
||||
opt(&options)
|
||||
}
|
||||
var outerr error
|
||||
once.Do(func() {
|
||||
reg := registry.GetRegistry()
|
||||
var tlsConfig *tls.Config
|
||||
cOpts := []client.Option{
|
||||
client.Registry(reg),
|
||||
client.Wrap(mbreaker.NewClientWrapper()),
|
||||
client.Wrap(mtracer.NewClientWrapper(
|
||||
mtracer.WithTraceProvider(options.tp),
|
||||
)),
|
||||
if tp != nil {
|
||||
o.tp = tp
|
||||
} else {
|
||||
o.tp = trace.NewNoopTracerProvider()
|
||||
}
|
||||
switch options.tlsMode {
|
||||
case "insecure":
|
||||
tlsConfig = &tls.Config{
|
||||
InsecureSkipVerify: true,
|
||||
}
|
||||
cOpts = append(cOpts, mgrpcc.AuthTLS(tlsConfig))
|
||||
case "on":
|
||||
tlsConfig = &tls.Config{}
|
||||
// Note: If caCert is empty we use the system's default set of trusted CAs
|
||||
if options.caCert != "" {
|
||||
certs := x509.NewCertPool()
|
||||
pemData, err := os.ReadFile(options.caCert)
|
||||
if err != nil {
|
||||
outerr = err
|
||||
return
|
||||
}
|
||||
if !certs.AppendCertsFromPEM(pemData) {
|
||||
outerr = errors.New("could not initialize default client, adding CA cert failed")
|
||||
return
|
||||
}
|
||||
tlsConfig.RootCAs = certs
|
||||
}
|
||||
cOpts = append(cOpts, mgrpcc.AuthTLS(tlsConfig))
|
||||
//case "off":
|
||||
//default:
|
||||
}
|
||||
|
||||
defaultClient = mgrpcc.NewClient(cOpts...)
|
||||
})
|
||||
return outerr
|
||||
}
|
||||
|
||||
// DefaultClient returns a custom oCIS grpc configured client.
|
||||
func DefaultClient() client.Client {
|
||||
return defaultClient
|
||||
}
|
||||
}
|
||||
|
||||
func GetClientOptions(t *shared.GRPCClientTLS) []ClientOption {
|
||||
@@ -150,8 +94,8 @@ func NewClient(opts ...ClientOption) (client.Client, error) {
|
||||
tlsConfig.RootCAs = certs
|
||||
}
|
||||
cOpts = append(cOpts, mgrpcc.AuthTLS(tlsConfig))
|
||||
//case "off":
|
||||
//default:
|
||||
// case "off":
|
||||
// default:
|
||||
}
|
||||
|
||||
return mgrpcc.NewClient(cOpts...), nil
|
||||
|
||||
@@ -12,6 +12,7 @@ import (
|
||||
ociscrypto "github.com/owncloud/ocis/v2/ocis-pkg/crypto"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
|
||||
"go-micro.dev/v4"
|
||||
"go-micro.dev/v4/client"
|
||||
"go-micro.dev/v4/server"
|
||||
)
|
||||
|
||||
@@ -20,8 +21,8 @@ type Service struct {
|
||||
micro.Service
|
||||
}
|
||||
|
||||
// NewService initializes a new grpc service.
|
||||
func NewService(opts ...Option) (Service, error) {
|
||||
// NewServiceWithClient initializes a new grpc service with explicit client.
|
||||
func NewServiceWithClient(client client.Client, opts ...Option) (Service, error) {
|
||||
var mServer server.Server
|
||||
sopts := newOptions(opts...)
|
||||
tlsConfig := &tls.Config{}
|
||||
@@ -52,7 +53,7 @@ func NewService(opts ...Option) (Service, error) {
|
||||
// first add a server because it will reset any options
|
||||
micro.Server(mServer),
|
||||
// also add a client that can be used after initializing the service
|
||||
micro.Client(DefaultClient()),
|
||||
micro.Client(client),
|
||||
micro.Address(sopts.Address),
|
||||
micro.Name(strings.Join([]string{sopts.Namespace, sopts.Name}, ".")),
|
||||
micro.Version(sopts.Version),
|
||||
|
||||
@@ -7,6 +7,7 @@ import (
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/log"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/shared"
|
||||
"github.com/urfave/cli/v2"
|
||||
"go.opentelemetry.io/otel/trace"
|
||||
)
|
||||
|
||||
// Option defines a single option function.
|
||||
@@ -14,15 +15,16 @@ type Option func(o *Options)
|
||||
|
||||
// Options defines the available options for this package.
|
||||
type Options struct {
|
||||
Logger log.Logger
|
||||
TLSConfig shared.HTTPServiceTLS
|
||||
Namespace string
|
||||
Name string
|
||||
Version string
|
||||
Address string
|
||||
Handler http.Handler
|
||||
Context context.Context
|
||||
Flags []cli.Flag
|
||||
Logger log.Logger
|
||||
TLSConfig shared.HTTPServiceTLS
|
||||
Namespace string
|
||||
Name string
|
||||
Version string
|
||||
Address string
|
||||
Handler http.Handler
|
||||
Context context.Context
|
||||
Flags []cli.Flag
|
||||
TraceProvider trace.TracerProvider
|
||||
}
|
||||
|
||||
// newOptions initializes the available default options.
|
||||
@@ -93,3 +95,10 @@ func TLSConfig(config shared.HTTPServiceTLS) Option {
|
||||
o.TLSConfig = config
|
||||
}
|
||||
}
|
||||
|
||||
// TraceProvider provides a function to set the TraceProvider option.
|
||||
func TraceProvider(tp trace.TracerProvider) Option {
|
||||
return func(o *Options) {
|
||||
o.TraceProvider = tp
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,7 @@ import (
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
|
||||
|
||||
mhttps "github.com/go-micro/plugins/v4/server/http"
|
||||
mtracer "github.com/go-micro/plugins/v4/wrapper/trace/opentelemetry"
|
||||
ociscrypto "github.com/owncloud/ocis/v2/ocis-pkg/crypto"
|
||||
"go-micro.dev/v4"
|
||||
"go-micro.dev/v4/server"
|
||||
@@ -66,6 +67,15 @@ func NewService(opts ...Option) (Service, error) {
|
||||
micro.Registry(registry.GetRegistry()),
|
||||
micro.RegisterTTL(time.Second * 30),
|
||||
micro.RegisterInterval(time.Second * 10),
|
||||
micro.WrapClient(mtracer.NewClientWrapper(
|
||||
mtracer.WithTraceProvider(sopts.TraceProvider),
|
||||
)),
|
||||
micro.WrapHandler(mtracer.NewHandlerWrapper(
|
||||
mtracer.WithTraceProvider(sopts.TraceProvider),
|
||||
)),
|
||||
micro.WrapSubscriber(mtracer.NewSubscriberWrapper(
|
||||
mtracer.WithTraceProvider(sopts.TraceProvider),
|
||||
)),
|
||||
}
|
||||
if sopts.TLSConfig.Enabled {
|
||||
wopts = append(wopts, micro.Metadata(map[string]string{"use_tls": "true"}))
|
||||
|
||||
@@ -33,7 +33,7 @@ type TokenManager struct {
|
||||
|
||||
// Reva defines all available REVA client configuration.
|
||||
type Reva struct {
|
||||
Address string `yaml:"address" env:"OCIS_REVA_GATEWAY;REVA_GATEWAY" desc:"The CS3 gateway endpoint." deprecationVersion:"3.0" removalVersion:"4.0.0" deprecationInfo:"REVA_GATEWAY changing name for consistency" deprecationReplacement:"OCIS_REVA_GATEWAY"`
|
||||
Address string `yaml:"address" env:"OCIS_REVA_GATEWAY" desc:"The CS3 gateway endpoint."`
|
||||
TLS GRPCClientTLS `yaml:"tls"`
|
||||
}
|
||||
|
||||
@@ -81,4 +81,8 @@ type Commons struct {
|
||||
SystemUserID string `yaml:"system_user_id" env:"OCIS_SYSTEM_USER_ID" desc:"ID of the oCIS storage-system system user. Admins need to set the ID for the storage-system system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format."`
|
||||
SystemUserAPIKey string `mask:"password" yaml:"system_user_api_key" env:"SYSTEM_USER_API_KEY"`
|
||||
AdminUserID string `yaml:"admin_user_id" env:"OCIS_ADMIN_USER_ID" desc:"ID of a user, that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand."`
|
||||
|
||||
// NOTE: you will not fing GRPCMaxReceivedMessageSize size being used in the code. The envvar is actually extracted in revas `pool` package: https://github.com/cs3org/reva/blob/edge/pkg/rgrpc/todo/pool/connection.go
|
||||
// It is mentioned here again so it is documented
|
||||
GRPCMaxReceivedMessageSize int `env:"OCIS_GRPC_MAX_RECEIVED_MESSAGE_SIZE" desc:"The maximum body size for grpc requests. Defaults to '10240000' bytes (10MB). Note that large values can potentially hide errors but may lead to network timeouts. Should only be changed temporarily to regain access for large folders with 25.000+ files to copy out data."`
|
||||
}
|
||||
+16
-60
@@ -4,11 +4,11 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"net/url"
|
||||
"reflect"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
rtrace "github.com/cs3org/reva/v2/pkg/trace"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/log"
|
||||
"go.opentelemetry.io/otel/attribute"
|
||||
"go.opentelemetry.io/otel/exporters/jaeger"
|
||||
"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
|
||||
@@ -29,7 +29,13 @@ var Propagator = propagation.NewCompositeTextMapPropagator(
|
||||
|
||||
// GetServiceTraceProvider returns a configured open-telemetry trace provider.
|
||||
func GetServiceTraceProvider(c ConfigConverter, serviceName string) (trace.TracerProvider, error) {
|
||||
cfg := c.Convert()
|
||||
var cfg Config
|
||||
if c == nil || reflect.ValueOf(c).IsNil() {
|
||||
cfg = Config{Enabled: false}
|
||||
} else {
|
||||
cfg = c.Convert()
|
||||
}
|
||||
|
||||
if cfg.Enabled {
|
||||
return GetTraceProvider(cfg.Endpoint, cfg.Collector, serviceName, cfg.Type)
|
||||
}
|
||||
@@ -79,22 +85,15 @@ func GetTraceProvider(endpoint, collector, serviceName, traceType string) (*sdkt
|
||||
return nil, err
|
||||
}
|
||||
|
||||
tp := rtrace.NewTracerProvider(
|
||||
rtrace.WithEnabled(),
|
||||
rtrace.WithExporter(traceType),
|
||||
rtrace.WithInsecure(),
|
||||
rtrace.WithCollector(collector),
|
||||
rtrace.WithEndpoint(endpoint),
|
||||
rtrace.WithServiceName(serviceName),
|
||||
)
|
||||
rtrace.SetDefaultTracerProvider(tp)
|
||||
return sdktrace.NewTracerProvider(
|
||||
tp := sdktrace.NewTracerProvider(
|
||||
sdktrace.WithBatcher(exp),
|
||||
sdktrace.WithResource(resource.NewWithAttributes(
|
||||
semconv.SchemaURL,
|
||||
semconv.ServiceNameKey.String(serviceName)),
|
||||
),
|
||||
), nil
|
||||
)
|
||||
rtrace.SetDefaultTracerProvider(tp)
|
||||
return tp, nil
|
||||
case "otlp":
|
||||
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
|
||||
defer cancel()
|
||||
@@ -124,20 +123,13 @@ func GetTraceProvider(endpoint, collector, serviceName, traceType string) (*sdkt
|
||||
return nil, err
|
||||
}
|
||||
|
||||
tp := rtrace.NewTracerProvider(
|
||||
rtrace.WithEnabled(),
|
||||
rtrace.WithExporter(traceType),
|
||||
rtrace.WithInsecure(),
|
||||
rtrace.WithCollector(collector),
|
||||
rtrace.WithEndpoint(endpoint),
|
||||
rtrace.WithServiceName(serviceName),
|
||||
)
|
||||
rtrace.SetDefaultTracerProvider(tp)
|
||||
return sdktrace.NewTracerProvider(
|
||||
tp := sdktrace.NewTracerProvider(
|
||||
sdktrace.WithSampler(sdktrace.AlwaysSample()),
|
||||
sdktrace.WithBatcher(exporter),
|
||||
sdktrace.WithResource(resources),
|
||||
), nil
|
||||
)
|
||||
rtrace.SetDefaultTracerProvider(tp)
|
||||
return tp, nil
|
||||
case "agent":
|
||||
fallthrough
|
||||
case "zipkin":
|
||||
@@ -170,39 +162,3 @@ func parseAgentConfig(ae string) (string, string, error) {
|
||||
}
|
||||
return p[0], p[1], nil
|
||||
}
|
||||
|
||||
// Configure for Reva serves only as informational / instructive log messages. Tracing config will be delegated directly
|
||||
// to Reva services.
|
||||
func Configure(enabled bool, tracingType string, logger log.Logger) {
|
||||
if enabled {
|
||||
switch tracingType {
|
||||
case "agent":
|
||||
logger.Error().
|
||||
Str("type", tracingType).
|
||||
Msg("Reva only supports the jaeger or otel tracing exporter")
|
||||
|
||||
case "jaeger":
|
||||
logger.Info().
|
||||
Str("type", tracingType).
|
||||
Msg("configuring storage to use the jaeger tracing exporter")
|
||||
|
||||
case "otlp":
|
||||
logger.Info().
|
||||
Str("type", tracingType).
|
||||
Msg("configuring storage to use the otlp tracing exporter")
|
||||
|
||||
case "zipkin":
|
||||
logger.Error().
|
||||
Str("type", tracingType).
|
||||
Msg("Reva only supports the jaeger or otel tracing exporter")
|
||||
|
||||
default:
|
||||
logger.Warn().
|
||||
Str("type", tracingType).
|
||||
Msg("Unknown tracing exporter")
|
||||
}
|
||||
} else {
|
||||
logger.Debug().
|
||||
Msg("Tracing is not enabled")
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@ var (
|
||||
// LatestTag is the latest released version plus the dev meta version.
|
||||
// Will be overwritten by the release pipeline
|
||||
// Needs a manual change for every tagged release
|
||||
LatestTag = "3.1.0-beta.1+dev"
|
||||
LatestTag = "4.0.2+dev"
|
||||
|
||||
// Date indicates the build date.
|
||||
// This has been removed, it looks like you can only replace static strings with recent go versions
|
||||
|
||||
Loaded 100 of 993 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user