Compare commits
464
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f565e807b2 | ||
|
|
aefa072cdb | ||
|
|
ba3541ca77 | ||
|
|
0ba2a41428 | ||
|
|
7860da2e5f | ||
|
|
8689decd94 | ||
|
|
8339fcc129 | ||
|
|
131b63c01b | ||
|
|
53e944023c | ||
|
|
f4c017215c | ||
|
|
b4fb7b87f6 | ||
|
|
32db00c3ba | ||
|
|
01e17a725d | ||
|
|
d3a26ad71c | ||
|
|
25a7d880d4 | ||
|
|
6c0999dce5 | ||
|
|
1481458a17 | ||
|
|
8237c52725 | ||
|
|
a73731f4fe | ||
|
|
ca14724aa8 | ||
|
|
84c0a43bcd | ||
|
|
3568fc6bb3 | ||
|
|
17b6a44718 | ||
|
|
7c3d944308 | ||
|
|
82dcc26c3f | ||
|
|
8ef162ffb1 | ||
|
|
e7fc4e8c49 | ||
|
|
25e9a8d384 | ||
|
|
2f141aa779 | ||
|
|
5f546f6e84 | ||
|
|
d877dec66e | ||
|
|
99421b8a3b | ||
|
|
12ae4cdda3 | ||
|
|
b67e46856c | ||
|
|
2604248789 | ||
|
|
96f63f671b | ||
|
|
bd0122272e | ||
|
|
b209933922 | ||
|
|
e1ef142c58 | ||
|
|
13442f18b5 | ||
|
|
2cf1a0619a | ||
|
|
dea2db7b03 | ||
|
|
29b8b1980a | ||
|
|
7b96958c5d | ||
|
|
4af5db91d9 | ||
|
|
d4e515ecfd | ||
|
|
514cac77d7 | ||
|
|
6f6901c797 | ||
|
|
f547636c11 | ||
|
|
3489def33b | ||
|
|
225b84f9b8 | ||
|
|
0d3c7a5fa2 | ||
|
|
2b2a54698e | ||
|
|
25681779b5 | ||
|
|
0c595bdce1 | ||
|
|
ea5062a6d9 | ||
|
|
0f592bcfa1 | ||
|
|
2cfab6cc77 | ||
|
|
930fad6ecf | ||
|
|
fb27fecc42 | ||
|
|
67a5d87d73 | ||
|
|
9d29f16c0c | ||
|
|
aa78e1ca43 | ||
|
|
bae472afe1 | ||
|
|
17bb0aab67 | ||
|
|
5467e41ab2 | ||
|
|
426df6db34 | ||
|
|
1da0b3dc43 | ||
|
|
a1e2f9199f | ||
|
|
bbc62cb17b | ||
|
|
8f3b549e86 | ||
|
|
2784d4213e | ||
|
|
341ff80bcd | ||
|
|
09ab62081d | ||
|
|
6db5e6cd0c | ||
|
|
47ee108dd0 | ||
|
|
9d240c2c70 | ||
|
|
ce382a3194 | ||
|
|
da84383835 | ||
|
|
df23137749 | ||
|
|
19a9fff052 | ||
|
|
e1bfba2c5c | ||
|
|
5175a48f8d | ||
|
|
2e878aa77d | ||
|
|
d89801383f | ||
|
|
31dc61e10f | ||
|
|
eab63855a3 | ||
|
|
5084a4e5b5 | ||
|
|
ea99dc64fa | ||
|
|
4ea90dcfef | ||
|
|
dcbcf51119 | ||
|
|
68223ead9c | ||
|
|
3552b98c8f | ||
|
|
4d9ef209a1 | ||
|
|
0309e723d6 | ||
|
|
87943ec8c9 | ||
|
|
504ea7f7cd | ||
|
|
27af083dd2 | ||
|
|
cc77f37571 | ||
|
|
2010969551 | ||
|
|
c42bbc24d4 | ||
|
|
0890b41be7 | ||
|
|
8a8fbc3c21 | ||
|
|
2d6ad49869 | ||
|
|
dffe7e3c08 | ||
|
|
71e9620140 | ||
|
|
8234d96e4c | ||
|
|
6986a3def5 | ||
|
|
32d5b94a78 | ||
|
|
8b931adf84 | ||
|
|
18671b5803 | ||
|
|
75c7e1d11a | ||
|
|
57d811027c | ||
|
|
6a71f25dd1 | ||
|
|
f97181093e | ||
|
|
ba3bac1ab9 | ||
|
|
6e2566132b | ||
|
|
f464df5185 | ||
|
|
8607e7b00c | ||
|
|
604488cfe6 | ||
|
|
fb7ce9e8c8 | ||
|
|
37095b6f2a | ||
|
|
f18213b189 | ||
|
|
8ab3afcf9e | ||
|
|
941ad2eb61 | ||
|
|
eac26847f7 | ||
|
|
4448ecc2a7 | ||
|
|
c67b1558d0 | ||
|
|
521bceaade | ||
|
|
972d109931 | ||
|
|
6742ea7f1f | ||
|
|
9be80803e9 | ||
|
|
f280d3e133 | ||
|
|
c4b8753aa3 | ||
|
|
0437e4b444 | ||
|
|
ae82075da8 | ||
|
|
70408ac023 | ||
|
|
cc6855228f | ||
|
|
5583de9f13 | ||
|
|
c07f5bb55c | ||
|
|
662dd8e2bd | ||
|
|
f4af30d8c9 | ||
|
|
f6d5600a60 | ||
|
|
72f39b1920 | ||
|
|
12d028ffbf | ||
|
|
89d905ee68 | ||
|
|
ba7831e4b6 | ||
|
|
0ffb18c910 | ||
|
|
b090248140 | ||
|
|
b15bb2fe07 | ||
|
|
8787db8705 | ||
|
|
781e6afe63 | ||
|
|
444f8ab549 | ||
|
|
1a3e86ee03 | ||
|
|
661d365146 | ||
|
|
5265c879a1 | ||
|
|
f4bcb95632 | ||
|
|
9ddc719ee2 | ||
|
|
1b150eed99 | ||
|
|
6622d0d3a6 | ||
|
|
6c0f6fe175 | ||
|
|
15b3cbe55e | ||
|
|
6aab5ea531 | ||
|
|
be7847b8cb | ||
|
|
b0761fff5c | ||
|
|
82d9102ca3 | ||
|
|
1c1a35fb98 | ||
|
|
5139627968 | ||
|
|
b5f9a75329 | ||
|
|
6329e16b68 | ||
|
|
74771a016b | ||
|
|
fc809aadfa | ||
|
|
5519e0cca8 | ||
|
|
5274534860 | ||
|
|
7b919bbfde | ||
|
|
2381b1aab9 | ||
|
|
20b88b517f | ||
|
|
660752c7f7 | ||
|
|
3620328eb3 | ||
|
|
ea3d9f9949 | ||
|
|
93300a17b5 | ||
|
|
c186e0fbf1 | ||
|
|
0fe85c5642 | ||
|
|
12b054a68d | ||
|
|
64efed431c | ||
|
|
ea517b31cd | ||
|
|
a9120a370c | ||
|
|
d0a6c6b602 | ||
|
|
fbf00536e1 | ||
|
|
10b3a64ad6 | ||
|
|
635195d721 | ||
|
|
3d1433a6e8 | ||
|
|
a85df9f38d | ||
|
|
2c1a48b2f4 | ||
|
|
1c9879e1b0 | ||
|
|
370e6030aa | ||
|
|
c8bdaf55e5 | ||
|
|
b586c638b6 | ||
|
|
3f0d3529b5 | ||
|
|
759301a211 | ||
|
|
36d077a3a5 | ||
|
|
8389996ad5 | ||
|
|
f41ba3d092 | ||
|
|
b86dc988ef | ||
|
|
9ca6805286 | ||
|
|
74cfce5e55 | ||
|
|
c862553ef5 | ||
|
|
475b7b4905 | ||
|
|
3d87d0c3b3 | ||
|
|
2390424dcd | ||
|
|
e0f705e99e | ||
|
|
be06076caa | ||
|
|
d4739ab158 | ||
|
|
1c9f00ae81 | ||
|
|
1f51a54d4d | ||
|
|
16954d17df | ||
|
|
469bb91915 | ||
|
|
fa279682ac | ||
|
|
2ef11dacb4 | ||
|
|
4462cc4f4a | ||
|
|
c47d722ca3 | ||
|
|
fe88fbc4a7 | ||
|
|
ebc55143fb | ||
|
|
8fc4a23268 | ||
|
|
74bad6fc76 | ||
|
|
b40b71f98d | ||
|
|
2a4942d1c9 | ||
|
|
cd6f4f87b5 | ||
|
|
e7540d13d5 | ||
|
|
9256e493b5 | ||
|
|
1251d5b56e | ||
|
|
12f8a05239 | ||
|
|
ca7d8e8e89 | ||
|
|
5cfe7846b3 | ||
|
|
ddd400bb57 | ||
|
|
6b538510f7 | ||
|
|
81ba90db3c | ||
|
|
d01a7b03e8 | ||
|
|
a6c2a83856 | ||
|
|
ea5bb33497 | ||
|
|
85f72406ea | ||
|
|
ffede17b88 | ||
|
|
47eb034824 | ||
|
|
74101852b1 | ||
|
|
20ba3472bc | ||
|
|
dac55fd2fc | ||
|
|
d88cc50f21 | ||
|
|
1eaae070fe | ||
|
|
1519dcdb21 | ||
|
|
aa3c7be180 | ||
|
|
4403a29c5c | ||
|
|
e531898399 | ||
|
|
e6db0e250e | ||
|
|
01cd8b6480 | ||
|
|
d2ffc9fd18 | ||
|
|
87caaa5209 | ||
|
|
df5dff9943 | ||
|
|
bdce00d792 | ||
|
|
ca09b95f04 | ||
|
|
d5a0fd634f | ||
|
|
9be020cb9d | ||
|
|
7391df70b6 | ||
|
|
c93ae2a391 | ||
|
|
a6de0f8181 | ||
|
|
757713d5f3 | ||
|
|
6182354871 | ||
|
|
c4c6722cb9 | ||
|
|
6142b43751 | ||
|
|
0fc66edf5e | ||
|
|
9acc70c174 | ||
|
|
2205ef7ce5 | ||
|
|
fca7772e73 | ||
|
|
8d7eaf2b36 | ||
|
|
b52bf9abf0 | ||
|
|
3e9ddc23b1 | ||
|
|
68bab821bb | ||
|
|
6f1ed09b3e | ||
|
|
bf52b3b517 | ||
|
|
e19e228cf1 | ||
|
|
8b2fb1b87d | ||
|
|
f6d09a4c6b | ||
|
|
071a28344a | ||
|
|
3960084ef4 | ||
|
|
889ae8a786 | ||
|
|
dd01ca805d | ||
|
|
80e18c84e7 | ||
|
|
e988c2cfb9 | ||
|
|
cbbec808e8 | ||
|
|
cebb15ddfa | ||
|
|
116d97fc0a | ||
|
|
3e54f21f36 | ||
|
|
1f94f0f19d | ||
|
|
1942c4919d | ||
|
|
3cb501c383 | ||
|
|
9d1d81ebaa | ||
|
|
ad87604a2a | ||
|
|
0d79b15742 | ||
|
|
0e49f996e0 | ||
|
|
5c2ee123ac | ||
|
|
551c808c2a | ||
|
|
1e547a0b9f | ||
|
|
7e60af8b27 | ||
|
|
0e52b50365 | ||
|
|
e97489001d | ||
|
|
b5d7d865e5 | ||
|
|
348f10037e | ||
|
|
7ddbe49678 | ||
|
|
e835fcb058 | ||
|
|
47252bf0f8 | ||
|
|
9c5b424b7d | ||
|
|
81b33667aa | ||
|
|
188a4c346f | ||
|
|
24833057ec | ||
|
|
422c922619 | ||
|
|
b56bc59671 | ||
|
|
3183ed30ce | ||
|
|
59ef9fab09 | ||
|
|
ca72fee5da | ||
|
|
7e5e48b884 | ||
|
|
c2b56e9da3 | ||
|
|
eb49e73be9 | ||
|
|
0a12b19473 | ||
|
|
84add3f2c2 | ||
|
|
9ad5d93156 | ||
|
|
bfccffd636 | ||
|
|
c74e9a14a3 | ||
|
|
efb4dbb712 | ||
|
|
f4344c828a | ||
|
|
b0130720a1 | ||
|
|
9bcc6c1bc6 | ||
|
|
d843575c4a | ||
|
|
264b720ea2 | ||
|
|
66c67dbda9 | ||
|
|
67424ef229 | ||
|
|
96ff5ade3c | ||
|
|
f29dfd4b76 | ||
|
|
3a6b22b6c5 | ||
|
|
eb70efee47 | ||
|
|
5d394229f0 | ||
|
|
9d30b99eb3 | ||
|
|
2dc8024045 | ||
|
|
087078998c | ||
|
|
b507e13e9d | ||
|
|
5081e57f2f | ||
|
|
b0b27912e4 | ||
|
|
620806d4d7 | ||
|
|
675f8bbc5a | ||
|
|
b3a07d7990 | ||
|
|
4c5ade2399 | ||
|
|
318eba7ac2 | ||
|
|
515b7be333 | ||
|
|
fb66198b24 | ||
|
|
13c9ba372e | ||
|
|
0f8124b4d2 | ||
|
|
26f3081e9b | ||
|
|
b96ca6f91d | ||
|
|
3e0c60db9f | ||
|
|
aa8c7b6e11 | ||
|
|
f2fdf52518 | ||
|
|
b8bc558f85 | ||
|
|
272dd5bcbe | ||
|
|
51ce9b5666 | ||
|
|
5255f8e311 | ||
|
|
9729c3f663 | ||
|
|
1a7ccc6da9 | ||
|
|
48aa1017de | ||
|
|
e23e652275 | ||
|
|
dfb15bfe60 | ||
|
|
48c5bd5b60 | ||
|
|
c9d9ac4116 | ||
|
|
08c94be733 | ||
|
|
eed019ee77 | ||
|
|
d243675138 | ||
|
|
fec919ecd1 | ||
|
|
9cf38c52b7 | ||
|
|
219ae2e4a2 | ||
|
|
f194013977 | ||
|
|
2a1b90c304 | ||
|
|
d7f26de6b8 | ||
|
|
8b91b659e9 | ||
|
|
5a6a296325 | ||
|
|
3d461c890f | ||
|
|
2706c20894 | ||
|
|
0ffffdfe44 | ||
|
|
2cb3b43820 | ||
|
|
cd405f4f7a | ||
|
|
fe911aa6df | ||
|
|
71586b217a | ||
|
|
6c40b256c3 | ||
|
|
c9353ad840 | ||
|
|
163357c829 | ||
|
|
4844c4f494 | ||
|
|
cb6655ea04 | ||
|
|
dc6d007ee0 | ||
|
|
f16967435a | ||
|
|
a98ef0b1cd | ||
|
|
f1949bac35 | ||
|
|
d28373a91f | ||
|
|
3b33f39f06 | ||
|
|
b3292d994a | ||
|
|
5251a0bcfc | ||
|
|
5d9f88ba16 | ||
|
|
4b8c6119a1 | ||
|
|
4cabbfdaf9 | ||
|
|
3146efe856 | ||
|
|
bd8eb3fe80 | ||
|
|
35a039ac7a | ||
|
|
9e5c615a33 | ||
|
|
4ae177ac0a | ||
|
|
142f2eba61 | ||
|
|
5778465a18 | ||
|
|
7331853746 | ||
|
|
4951b28b4d | ||
|
|
d5089815cf | ||
|
|
13ab704ef6 | ||
|
|
b4adbbeda7 | ||
|
|
b8181503e2 | ||
|
|
70338a553a | ||
|
|
14bf79ceb0 | ||
|
|
dc330200de | ||
|
|
3a25f98515 | ||
|
|
1193c39713 | ||
|
|
17b1deb2a5 | ||
|
|
62c07ec433 | ||
|
|
ad52fc0792 | ||
|
|
1f0b4e1cc2 | ||
|
|
350e1e3ad5 | ||
|
|
5554a6962b | ||
|
|
5defa2792d | ||
|
|
848cf4aeca | ||
|
|
3cc5671b7f | ||
|
|
4ef36c6dae | ||
|
|
beb184ed3c | ||
|
|
d326c93b82 | ||
|
|
7ceaa46f37 | ||
|
|
802d01a26b | ||
|
|
1f54ad2cd9 | ||
|
|
76bd8303e4 | ||
|
|
03fa6a8167 | ||
|
|
39f513d8a0 | ||
|
|
b4d04b950b | ||
|
|
4841797639 | ||
|
|
516d76cc31 | ||
|
|
9f7e7317d4 | ||
|
|
7c8504f0de | ||
|
|
bc7d61bbbe | ||
|
|
bce549cf61 | ||
|
|
5c3778b19f | ||
|
|
679159a313 | ||
|
|
7d5cab2797 | ||
|
|
5688e39920 | ||
|
|
2033aa8323 | ||
|
|
7cac74b36f | ||
|
|
0a393eb89c | ||
|
|
58667331ce | ||
|
|
14a518c417 | ||
|
|
555c36a0f3 | ||
|
|
721b87b0c2 | ||
|
|
cba8993c41 | ||
|
|
64e494e5d2 | ||
|
|
1115ffe5b3 | ||
|
|
c8c2a3c553 | ||
|
|
0e92201fd3 | ||
|
|
634ff33b62 |
No files matched your search
@@ -13,7 +13,7 @@ Before you start reading, if you are interested in:
|
||||
- deployment examples,
|
||||
- detailed settings and more
|
||||
|
||||
we would recommend to continue with the [ownCloud Admin Documentation for Infinite Scale](https://doc.owncloud.com/ocis/latest/).
|
||||
we would recommend to continue with the [ownCloud Admin Documentation for Infinite Scale](https://doc.owncloud.com/ocis/next/).
|
||||
|
||||
## Developer Documentation
|
||||
|
||||
@@ -39,7 +39,7 @@ You can also find all client sources on [GitHub](https://github.com/owncloud/).
|
||||
|
||||
The [server repository](https://github.com/owncloud/ocis) on [GitHub](https://www.github.com) is a good entry point to the oCIS project. In addition to that there are also ownCloud projects for clients for [iOS](https://github.com/owncloud/ios-app), [Android](https://github.com/owncloud/android), the major [Desktop](https://github.com/owncloud/desktop) platforms and [ownCloud Web](https://github.com/owncloud/web).
|
||||
|
||||
To chat about development, join our public chat on [matrix: ownCloud Infinite Scale](https://matrix.to/#/#ocis:matrix.org).
|
||||
To chat about development, [join our public chat](https://talk.owncloud.com/channel/ocis)
|
||||
|
||||
If you want to help and improve ownCloud or oCIS, start coding or open issues on GitHub in the related repository.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.eventhistory.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_eventhistory_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.policies.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_policies_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.search.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_search_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.settings.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_settings_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
@@ -35,25 +35,6 @@ geekdocRepo: https://github.com/owncloud/ocis
|
||||
| settings | [Setting](#setting) | repeated | @gotags: yaml:"settings" |
|
||||
| resource | [Resource](#resource) | | @gotags: yaml:"resource" |
|
||||
|
||||
### CollectionOption
|
||||
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| key | [string](#string) | | required<br><br>@gotags: yaml:"key" |
|
||||
| int_value | [int64](#int64) | | @gotags: yaml:"int_value" |
|
||||
| string_value | [string](#string) | | @gotags: yaml:"string_value" |
|
||||
| bool_value | [bool](#bool) | | @gotags: yaml:"bool_value" |
|
||||
|
||||
### CollectionValue
|
||||
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| values | [CollectionOption](#collectionoption) | repeated | @gotags: yaml:"values" |
|
||||
|
||||
### Identifier
|
||||
|
||||
|
||||
@@ -94,7 +75,6 @@ geekdocRepo: https://github.com/owncloud/ocis
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| string_value | [string](#string) | | @gotags: yaml:"string_value" |
|
||||
| int_value | [int64](#int64) | | @gotags: yaml:"int_value" |
|
||||
| bool_value | [bool](#bool) | | @gotags: yaml:"bool_value" |
|
||||
|
||||
### ListValue
|
||||
|
||||
@@ -104,35 +84,6 @@ geekdocRepo: https://github.com/owncloud/ocis
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| values | [ListOptionValue](#listoptionvalue) | repeated | @gotags: yaml:"values" |
|
||||
|
||||
### MultiChoiceCollection
|
||||
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| options | [MultiChoiceCollectionOption](#multichoicecollectionoption) | repeated | @gotags: yaml:"options" |
|
||||
|
||||
### MultiChoiceCollectionOption
|
||||
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| value | [MultiChoiceCollectionOptionValue](#multichoicecollectionoptionvalue) | | @gotags: yaml:"value" |
|
||||
| key | [string](#string) | | @gotags: yaml:"key" |
|
||||
| attribute | [string](#string) | | @gotags: yaml:"attribute" |
|
||||
| display_value | [string](#string) | | @gotags: yaml:"display_value" |
|
||||
|
||||
### MultiChoiceCollectionOptionValue
|
||||
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| int_value | [Int](#int) | | @gotags: yaml:"int_value" |
|
||||
| string_value | [String](#string) | | @gotags: yaml:"string_value" |
|
||||
| bool_value | [Bool](#bool) | | @gotags: yaml:"bool_value" |
|
||||
|
||||
### MultiChoiceList
|
||||
|
||||
|
||||
@@ -175,7 +126,6 @@ geekdocRepo: https://github.com/owncloud/ocis
|
||||
| single_choice_value | [SingleChoiceList](#singlechoicelist) | | @gotags: yaml:"single_choice_value" |
|
||||
| multi_choice_value | [MultiChoiceList](#multichoicelist) | | @gotags: yaml:"multi_choice_value" |
|
||||
| permission_value | [Permission](#permission) | | @gotags: yaml:"permission_value" |
|
||||
| multi_choice_collection_value | [MultiChoiceCollection](#multichoicecollection) | | @gotags: yaml:"multi_choice_collection_value" |
|
||||
| resource | [Resource](#resource) | | @gotags: yaml:"resource" |
|
||||
|
||||
### SingleChoiceList
|
||||
@@ -233,7 +183,6 @@ geekdocRepo: https://github.com/owncloud/ocis
|
||||
| int_value | [int64](#int64) | | @gotags: yaml:"int_value" |
|
||||
| string_value | [string](#string) | | @gotags: yaml:"string_value" |
|
||||
| list_value | [ListValue](#listvalue) | | @gotags: yaml:"list_value" |
|
||||
| collection_value | [CollectionValue](#collectionvalue) | | @gotags: yaml:"collection_value" |
|
||||
|
||||
### ValueWithIdentifier
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.store.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_store_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.messages.thumbnails.v0"
|
||||
url: /apis/grpc_apis/ocis_messages_thumbnails_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.eventhistory.v0"
|
||||
url: /apis/grpc_apis/ocis_services_eventhistory_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.policies.v0"
|
||||
url: /apis/grpc_apis/ocis_services_policies_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.search.v0"
|
||||
url: /apis/grpc_apis/ocis_services_search_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.settings.v0"
|
||||
url: /apis/grpc_apis/ocis_services_settings_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
@@ -110,7 +110,6 @@ geekdocRepo: https://github.com/owncloud/ocis
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| bundle_ids | [string](#string) | repeated | |
|
||||
| locale | [string](#string) | | |
|
||||
|
||||
### ListBundlesResponse
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.store.v0"
|
||||
url: /apis/grpc_apis/ocis_services_store_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "ocis.services.thumbnails.v0"
|
||||
url: /apis/grpc_apis/ocis_services_thumbnails_v0
|
||||
date: 2026-03-23T00:10:32Z
|
||||
date: 2025-12-22T01:06:27Z
|
||||
weight: 50
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
---
|
||||
|
||||
@@ -86,6 +86,7 @@ curl -ks -XPOST https://ocis.test/remote.php/dav/spaces/8d72036d-14a5-490f-889e-
|
||||
< X-Permitted-Cross-Domain-Policies: none
|
||||
< X-Request-Id: xxxxxxxxxxxxxxxxxxxxxx
|
||||
< X-Robots-Tag: none
|
||||
< X-Xss-Protection: 1; mode=block
|
||||
<
|
||||
* Connection #0 to host localhost left intact
|
||||
```
|
||||
@@ -210,6 +211,7 @@ curl -ks -XPOST https://ocis.test/remote.php/dav/spaces/{space-id} \
|
||||
< X-Permitted-Cross-Domain-Policies: none
|
||||
< X-Request-Id: xxxxxxxxxxxxxxxxxxxxxx
|
||||
< X-Robots-Tag: none
|
||||
< X-Xss-Protection: 1; mode=block
|
||||
<
|
||||
* Connection #0 to host localhost left intact
|
||||
```
|
||||
|
||||
@@ -27,9 +27,8 @@ sequenceDiagram
|
||||
Client->>+ocdav: PUT /dav/spaces/{spaceid}/newfile.bin
|
||||
ocdav->>+storageprovider: InitiateFileUpload
|
||||
storageprovider-->>-ocdav: OK, Protocol simple, UploadEndpoint: /data, Token: {jwt}
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.: http://localhost:9158/data/simple/91cc9882-db71-4b37-b694-a522850fcee1
|
||||
ocdav->>+dataprovider: PUT /data
|
||||
Note right of dataprovider: X-Reva-Transfer: {jwt}
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.:<br>http://localhost:9158/data/simple/91cc9882-db71-4b37-b694-a522850fcee1
|
||||
ocdav->>+dataprovider: PUT /data<br>X-Reva-Transfer: {jwt}
|
||||
dataprovider-->>-ocdav: 201 Created
|
||||
ocdav-->>-Client: 201 Created
|
||||
|
||||
@@ -49,18 +48,19 @@ sequenceDiagram
|
||||
participant datagateway
|
||||
participant dataprovider
|
||||
|
||||
Client->>+ocdav: POST /dav/spaces/{spaceid}\nUpload-Metadata: {base64 encoded filename etc}\nTUS-Resumable: 1.0.0
|
||||
|
||||
Client->>+ocdav: POST /dav/spaces/{spaceid}<br>Upload-Metadata: {base64 encoded filename etc}<br>TUS-Resumable: 1.0.0
|
||||
ocdav->>+storageprovider: InitiateFileUpload
|
||||
storageprovider-->>-ocdav: OK, Protocol tus, UploadEndpoint: /data, Token: {jwt}
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.:\nhttp://localhost:9158/data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
ocdav-->>-Client: 201 Created\nLocation: /data/{jwt}\nTUS-Resumable: 1.0.0
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.:<br>http://localhost:9158/data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
ocdav-->>-Client: 201 Created<br>Location: /data/{jwt}<br>TUS-Resumable: 1.0.0
|
||||
|
||||
Client->>+datagateway: PATCH /data/{jwt}\nTUS-Resumable: 1.0.0\nUpload-Offset: 0
|
||||
Client->>+datagateway: PATCH /data/{jwt}<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 0
|
||||
Note over datagateway: unwrap the {jwt} target
|
||||
datagateway->>+dataprovider: PATCH /data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160\nX-Reva-Transfer: {jwt}
|
||||
Note over dataprovider: storage driver\nhandles request
|
||||
dataprovider-->>-datagateway: 204 No Content\nTUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
datagateway-->>-Client: 204 No Content\nTUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
datagateway->>+dataprovider: PATCH /data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160<br>X-Reva-Transfer: {jwt}
|
||||
Note over dataprovider: storage driver<br>handles request
|
||||
dataprovider-->>-datagateway: 204 No Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
datagateway-->>-Client: 204 No Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
|
||||
{{</mermaid>}}
|
||||
|
||||
@@ -81,47 +81,35 @@ sequenceDiagram
|
||||
participant datagateway
|
||||
participant dataprovider
|
||||
participant nats
|
||||
participant processing
|
||||
|
||||
Client->>+ocdav: POST /dav/spaces/{spaceid}
|
||||
Note left of Client: Upload-Metadata: {base64 encoded filename etc}\nTUS-Resumable: 1.0.0
|
||||
|
||||
Client->>+ocdav: POST /dav/spaces/{spaceid}<br>Upload-Metadata: {base64 encoded filename etc}<br>TUS-Resumable: 1.0.0
|
||||
ocdav->>+storageprovider: InitiateFileUpload
|
||||
storageprovider-->>-ocdav: OK, Protocol tus, UploadEndpoint: /data, Token: {jwt}
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.: http://localhost:9158/data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
ocdav-->>-Client: 201 Created
|
||||
Note right of Client: Location: /data/{jwt}
|
||||
Note right of Client: TUS-Resumable: 1.0.0
|
||||
Note right of ocdav: The {jwt} contains the internal actual target, eg.:<br>http://localhost:9158/data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
ocdav-->>-Client: 201 Created<br>Location: /data/{jwt}<br>TUS-Resumable: 1.0.0
|
||||
|
||||
Client->>+datagateway: PATCH /data/{jwt}
|
||||
Note right of datagateway: TUS-Resumable: 1.0.0\nUpload-Offset: 0
|
||||
Client->>+datagateway: PATCH /data/{jwt}<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 0
|
||||
|
||||
Note over datagateway: unwrap the {jwt} target
|
||||
datagateway->>+dataprovider: PATCH /data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160
|
||||
Note over dataprovider: X-Reva-Transfer: {jwt}
|
||||
Note over dataprovider: storage driver
|
||||
Note over dataprovider: handles request
|
||||
datagateway->>+dataprovider: PATCH /data/tus/24d893f5-b942-4bc7-9fb0-28f49f980160<br>X-Reva-Transfer: {jwt}
|
||||
Note over dataprovider: storage driver<br>handles request
|
||||
dataprovider-)nats: emit all-bytes-received event
|
||||
nats-)processing: all-bytes-received({uploadid}) event
|
||||
Note over dataprovider: TODO: A lot of time may pass here, we could use the `Prefer: respond-async` header to return early with a 202 Accepted status and a Location header to a websocket endpoint
|
||||
Note over dataprovider: TODO: A lot of time may pass here, we could use<br> the `Prefer: respond-async` header to return early<br>with a 202 Accepted status and a Location header<br>to a websocket endpoint
|
||||
alt success
|
||||
processing-)nats: emit processing-finished({uploadid}) event
|
||||
processing-)nats: emit processing-finished({uploadid}) event
|
||||
nats-)dataprovider: processing-finished({uploadid}) event
|
||||
dataprovider-->>-datagateway: 204 No Content
|
||||
Note over datagateway: TUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
datagateway-->>-Client: 204 No Content
|
||||
Note over Client: TUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
dataprovider-->>-datagateway: 204 No Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
datagateway-->>-Client: 204 No Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
else failure
|
||||
activate dataprovider
|
||||
activate datagateway
|
||||
processing-)nats: emit processing-aborted({uploadid}) event
|
||||
nats-)dataprovider: processing-aborted({uploadid}) event
|
||||
Note over dataprovider: FIXME: What HTTP status code should we report?
|
||||
Note over dataprovider: 422 Unprocessable Content is just a proposal
|
||||
Note over dataprovider: see https://httpwg.org/specs/rfc9110.html#status.422
|
||||
dataprovider-->>-datagateway: 422 Unprocessable Content
|
||||
Note over datagateway: TUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
datagateway-->>-Client: 422 Unprocessable Content
|
||||
Note over Client: TUS-Resumable: 1.0.0\nUpload-Offset: 363976
|
||||
Note over dataprovider: FIXME: What HTTP status code should we report?<br>422 Unprocessable Content is just a proposal, see<br>https://httpwg.org/specs/rfc9110.html#status.422
|
||||
dataprovider-->>-datagateway: 422 Unprocessable Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
datagateway-->>-Client: 422 Unprocessable Content<br>TUS-Resumable: 1.0.0<br>Upload-Offset: 363976
|
||||
end
|
||||
|
||||
{{</mermaid>}}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
---
|
||||
title: oCIS CLI Commands
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: _index.md
|
||||
geekdocCollapseSection: true
|
||||
weight: 20
|
||||
---
|
||||
|
||||
{{< toc-tree >}}
|
||||
|
||||
CLI commands can either be embedded in a service or operate independently.
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
---
|
||||
title: Create a New CLI Command
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: create-new-cli-command.md
|
||||
weight: 20
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
{{< hint info >}}
|
||||
Existing commands should be checked for commonly used options whenever a new CLI command is created, regardless of whether it is embedded in a service or not. For an example you can see the [Service Independent CLI]({{< ref "./service_independent_cli.md" >}}) documentation.
|
||||
{{< /hint >}}
|
||||
|
||||
## CLI Embedded in a Service
|
||||
|
||||
These commands are usually located in the `<service-name>/pkg/command` subfolder.
|
||||
|
||||
## CLI Independent of a Service
|
||||
|
||||
These commands are located in the `ocis/pkg/command` subfolder.
|
||||
@@ -1,33 +0,0 @@
|
||||
---
|
||||
title: Document CLI Commands
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: document-cli-commands.md
|
||||
weight: 20
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
Any CLI command that is added to Infinite Scale must be documented here in the dev docs and the [admin docs](https://doc.owncloud.com/ocis/latest/maintenance/commands/commands.html). Note that the admin docs primarily distinguish between online and offline commands because the structure of the documentation is different. Typically, any command documented in the developer documentation is integrated into the admin documentation and adapted according to the target audience. The description here is for developers; the admin docs are derived from it.
|
||||
|
||||
{{< hint info >}}
|
||||
Note that any CLI command requires documentation. However, it may be decided that a CLI command will not be included in the admin documentation. In such a case, the reasons should be valid.
|
||||
{{< /hint >}}
|
||||
|
||||
## Type of CLI Commands
|
||||
|
||||
There are three types of CLI commands that require different documentation locations:
|
||||
|
||||
1. Commands that are embedded in a service such as:\
|
||||
`ocis storage-users uploads`
|
||||
2. Commands that are service independent such as:\
|
||||
`ocis trash purge-empty-dirs` or `ocis revisions purge`
|
||||
3. `curl` commands that can be one of the above.
|
||||
|
||||
## Rules
|
||||
|
||||
* **Service dependent** CLI commands:\
|
||||
Add any CLI command into the repsective `README.md` **of the service**. Use as "template" an existing one such as in `services/storage-users/README.md` or `services/auth-app/README.md`. The content created will be transferred automatically to the service in the [Services]({{< ref "../services/" >}}) section.
|
||||
* **Service independent** CLI commands:\
|
||||
Add any CLI command into the [Service Independent CLI]({{< ref "./service_independent_cli.md" >}}) documentation. See the link for an example how to do so.
|
||||
@@ -1,41 +0,0 @@
|
||||
---
|
||||
title: Service Dependent CLI
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: service_dependent_cli.md
|
||||
---
|
||||
|
||||
This document describes ocis CLI commands that are **embedded in a service**.
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Common Parameters
|
||||
|
||||
The ocis package offers a variety of CLI commands for monitoring or repairing ocis installations. Most of these commands have common parameters such as:
|
||||
|
||||
* `--help` (or `-h`)\
|
||||
Use to print all available options.
|
||||
|
||||
* `--basePath` (or `-p`)\
|
||||
Needs to point to a storage provider, paths can vary depending on your ocis installation. Example paths are:
|
||||
```bash
|
||||
.ocis/storage/users # bare metal installation
|
||||
/var/tmp/ocis/storage/users # docker installation
|
||||
...
|
||||
```
|
||||
|
||||
* `--dry-run`\
|
||||
This parameter, when available, defaults to `true` and must explicitly set to `false`.
|
||||
|
||||
* `--verbose` (or `-v`)\
|
||||
Get a more verbose output.
|
||||
|
||||
## List of CLI Commands
|
||||
|
||||
For CLI commands that are **embedded in a service**, see the following services:
|
||||
|
||||
* [Auth-App]({{< ref "../services/auth-app/" >}})
|
||||
* [Graph]({{< ref "../services/graph/" >}})
|
||||
* [Postprocessing]({{< ref "../services/postprocessing/" >}})
|
||||
* [Storage-Users]({{< ref "../services/storage-users/" >}})
|
||||
@@ -1,226 +0,0 @@
|
||||
---
|
||||
title: Service Independent CLI
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/cli-commands/
|
||||
geekdocFilePath: service_independent_cli.md
|
||||
---
|
||||
|
||||
This document describes ocis CLI commands that are **service independent**.
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
For **service dependent** CLI commands, see the following services:
|
||||
|
||||
* [Auth-App]({{< ref "../services/auth-app/" >}})
|
||||
* [Graph]({{< ref "../services/graph/" >}})
|
||||
* [Postprocessing]({{< ref "../services/postprocessing/" >}})
|
||||
* [Storage-Users]({{< ref "../services/storage-users/" >}})
|
||||
|
||||
## Common Parameters
|
||||
|
||||
The ocis package offers a variety of CLI commands for monitoring or repairing ocis installations. Most of these commands have common parameters such as:
|
||||
|
||||
* `--help` (or `-h`)\
|
||||
Use to print all available options.
|
||||
|
||||
* `--basePath` (or `-p`)\
|
||||
Needs to point to a storage provider, paths can vary depending on your ocis installation. Example paths are:
|
||||
```bash
|
||||
.ocis/storage/users # bare metal installation
|
||||
/var/tmp/ocis/storage/users # docker installation
|
||||
...
|
||||
```
|
||||
|
||||
* `--dry-run`\
|
||||
This parameter, when available, defaults to `true` and must explicitly set to `false`.
|
||||
|
||||
* `--verbose` (or `-v`)\
|
||||
Get a more verbose output.
|
||||
|
||||
## List of CLI Commands
|
||||
|
||||
### Backup CLI
|
||||
|
||||
The backup command allows inspecting the consistency of an ocis storage:
|
||||
|
||||
```bash
|
||||
ocis backup consistency -p /base/path/storage/users
|
||||
```
|
||||
|
||||
This will check the consistency of the storage and output a list of inconsistencies. Inconsistencies can be:
|
||||
|
||||
* **Orphaned Blobs**\
|
||||
A blob in the blobstore that is not referenced by any file metadata.
|
||||
* **Missing Blobs**\
|
||||
A blob referenced by file metadata that is not present in the blobstore.
|
||||
* **Missing Nodes**\
|
||||
A node that is referenced by a symlink but doesn't exist.
|
||||
* **Missing Link**\
|
||||
A node that is not referenced by any symlink but should be.
|
||||
* **Missing Files**\
|
||||
A node that is missing essential files (such as the `.mpk` metadata file).
|
||||
* **Missing/Malformed Metadata**\
|
||||
A node that doesn't have any (or malformed) metadata.
|
||||
|
||||
This command provides additional options:
|
||||
|
||||
* `-b` / `--blobstore`\
|
||||
Allows specifying the blobstore to use. Defaults to `ocis`. Empty blobs will not be checked. Can also be switched to `s3ng`, but needs addtional envvar configuration (see the `storage-users` service for more details).
|
||||
* `--fail`\
|
||||
Exits with non-zero exit code if inconsistencies are found. Useful for automation.
|
||||
|
||||
### Cleanup Orphaned Grants
|
||||
|
||||
Detect and optionally delete storage grants that have no corresponding share-manager entry.
|
||||
|
||||
Sharing in ocis relies on two truths. The share manager and the grants. When a share is created, ocis will
|
||||
|
||||
1. Create a grant for the specific file or folder.\
|
||||
This grant is _checked when access to the file is requested_.
|
||||
|
||||
2. Create an entry in the `created.json`/`received.json` files of the specific user.\
|
||||
These files are _checked whenever shares are listed_.
|
||||
|
||||
The process for creating a share is as follows: first, ocis creates the grant, and then adds the share entry. The reverse order is followed when deleting a share. This means that if the second step fails, the grant will still be present. This can be visually confirmed in the webUI. The webUI details of the "share" section will show an error fetching information for orphan grants.
|
||||
|
||||
The following command fixes the problem of orhaned grants.
|
||||
|
||||
Usage:
|
||||
```bash
|
||||
ocis shares clean-orphaned-grants \
|
||||
--service-account-id "<id>" \
|
||||
--service-account-secret "<secret>" \
|
||||
[--force] \
|
||||
[--space-id "<space-opaque-id>"] \
|
||||
[--dry-run=false]
|
||||
```
|
||||
|
||||
Notes:
|
||||
- `--dry-run`\
|
||||
Defaults to `true` (no deletions). Set to `false` to remove orphaned grants.
|
||||
- `--space-id`\
|
||||
Limit the scan to a specific storage space (opaque ID).
|
||||
- `--force`\
|
||||
Force removal of suspected orphans even when listing shares fails.
|
||||
- Public links are not touched.
|
||||
|
||||
### Cleanup Orphaned Shares
|
||||
|
||||
When a shared space or directory got deleted, use the `shares cleanup` command to remove those share orphans. This can't be done automatically at the moment.
|
||||
|
||||
```bash
|
||||
ocis shares cleanup
|
||||
```
|
||||
|
||||
### List Unified Roles
|
||||
|
||||
This command simplifies the process of finding out which UID belongs to which role. The command using markdown as output format is:
|
||||
|
||||
```bash
|
||||
ocis graph list-unified-roles --output-format md
|
||||
```
|
||||
|
||||
The output of this command includes the following information for each role:
|
||||
|
||||
* `Name`\
|
||||
The human readable name of the role.
|
||||
* `UID`\
|
||||
The unique identifier of the role.
|
||||
* `Enabled`\
|
||||
Whether the role is enabled or not.
|
||||
* `Description`\
|
||||
A short description of the role.
|
||||
* `Condition`
|
||||
* `Allowed Resource Actions`
|
||||
|
||||
**Example output (shortned)**
|
||||
|
||||
| # | LABEL | UID | ENABLED | DESCRIPTION | CONDITION | ALLOWED RESOURCE ACTIONS |
|
||||
|:--:|:--------------------------------:|:------------------------------------:|:--------:|:------------------------------------------------------------------------------------:|:---------------------------------------------------------:|:----------------------------------------:|
|
||||
| 1 | Viewer | b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5 | enabled | View and download. | exists @Resource.File | libre.graph/driveItem/path/read |
|
||||
| | | | | | exists @Resource.Folder | libre.graph/driveItem/quota/read |
|
||||
| | | | | | exists @Resource.File && @Subject.UserType=="Federated" | libre.graph/driveItem/content/read |
|
||||
| | | | | | exists @Resource.Folder && @Subject.UserType=="Federated" | libre.graph/driveItem/children/read |
|
||||
| | | | | | | libre.graph/driveItem/deleted/read |
|
||||
| | | | | | | libre.graph/driveItem/basic/read |
|
||||
| 2 | ViewerListGrants | d5041006-ebb3-4b4a-b6a4-7c180ecfb17d | disabled | View, download and show all invite
|
||||
|
||||
### Move Stuck Uploads
|
||||
|
||||
In some cases of saturated disk usage, Infinite Scale metadata may become stuck. This can occur when file metadata is being moved to its final destination after file operations. This issue was primarily seen with shares, where uploaded files could not be accessed. The required filename parameter aligns with Infinite Scale's internal processes and is used to complete the formerly stuck move action.
|
||||
|
||||
```bash
|
||||
ocis shares move-stuck-upload-blobs [--dry-run=false] -p /base/path/storage/users
|
||||
```
|
||||
|
||||
This command provides additional options:
|
||||
|
||||
* `--dry-run` (default: `true`)\
|
||||
Only print found files stuck in transition.\
|
||||
Note: This is a safety measure. You must specify `--dry-run=false` for the command to be effective.
|
||||
|
||||
* `--filename` value (default: "received.json")\
|
||||
File to move from `uploads/` to share manager metadata `blobs/`
|
||||
|
||||
### Revisions CLI
|
||||
|
||||
The revisions command allows removing the revisions of files in the storage.
|
||||
|
||||
```bash
|
||||
ocis revisions purge -p /base/path/storage/users
|
||||
```
|
||||
|
||||
It takes the `--resource-id` (or `--r`) parameter which specify the scope of the command:
|
||||
|
||||
* An empty string (default) removes all revisions from all spaces.
|
||||
* A spaceID (like `d419032c-65b9-4f4e-b1e4-0c69a946181d\$44b5a63b-540c-4002-a674-0e9c833bbe49`) removes all revisions in that space.
|
||||
* A resourceID (e.g. `d419032c-65b9-4f4e-b1e4-0c69a946181d\$44b5a63b-540c-4002-a674-0e9c833bbe49\!e8a73d49-2e00-4322-9f34-9d7f178577b2`) removes all revisions from that specific file.
|
||||
|
||||
This command provides additional options:
|
||||
|
||||
* `--dry-run` (default: `true`)\
|
||||
Do not remove any revisions but print the revisions that would be removed.
|
||||
* `-b` / `--blobstore`\
|
||||
Allows specifying the blobstore to use. Defaults to `ocis`. Can be switched to `s3ng` but needs addtional envvar configuration (see the `storage-users` service for more details).
|
||||
* `-v` / `--verbose`\
|
||||
Prints additional information about the revisions that are removed.
|
||||
* `--glob-mechanism` (default: `glob`\
|
||||
(advanced) Allows specifying the mechanism to use for globbing. Can be `glob`, `list` or `workers`. In most cases the default `glob` does not need to be changed. If large spaces need to be purged, `list` or `workers` can be used to improve performance at the cost of higher cpu and ram usage. `list` will spawn 10 threads that list folder contents in parallel. `workers` will use a special globbing mechanism and multiple threads to achieve the best performance for the highest cost.
|
||||
|
||||
### Service Health
|
||||
|
||||
The service health CLI command allows checking the health status of a service. If there are no issues found, nothing health related will get printed.
|
||||
|
||||
```bash
|
||||
ocis <service-name> health
|
||||
```
|
||||
|
||||
**Examples**
|
||||
|
||||
* The `collaboration` service has been started but not configured and is therefore not in a healthy state:
|
||||
```bash
|
||||
ocis collaboration health
|
||||
|
||||
The WOPI secret has not been set properly in your config for collaboration. Make sure your /root/.ocis/config config contains the proper values (e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in the config/corresponding environment variable).
|
||||
```
|
||||
|
||||
* The `antivirus` service has not been started, the health check responds accordingly:
|
||||
```bash
|
||||
ocis antivirus health
|
||||
|
||||
{"level":"fatal","service":"antivirus","error":"Get \"http://127.0.0.1:9277/healthz\": dial tcp 127.0.0.1:9277: connect: connection refused","time":"2024-10-28T17:47:54+01:00","message":"Failed to request health check"}
|
||||
```
|
||||
|
||||
### Trash CLI
|
||||
|
||||
The trash cli allows removing empty folders from the trashbin. This should be used to speed up trash bin operations.
|
||||
|
||||
```bash
|
||||
ocis trash purge-empty-dirs -p /base/path/storage/users
|
||||
```
|
||||
|
||||
This command provides additional options:
|
||||
|
||||
* `--dry-run` (default: `true`)\
|
||||
Do not remove any empty folders but print the empty folders that would be removed.
|
||||
+54
-63
@@ -13,50 +13,53 @@ from urllib.request import urlopen
|
||||
## when the files got created, you MUST do some post work manually like referencing services with xref:
|
||||
## when running, files get recreated, existing content gets overwritten!!
|
||||
|
||||
## !! you MUST run this script from the local ocis repo root !!
|
||||
## you MUST run this script from the local ocis repo root !!
|
||||
## like: python3 docs/helpers/changed_envvars.py
|
||||
## create a branch to prepare the changes
|
||||
|
||||
# CHANGE according your needs
|
||||
# old is the base version to compare from which is always a tagged release
|
||||
# new is the target version to compare to and can be a branch or tagged
|
||||
# tagged versions must be of format: 'tags/v7.1.0'
|
||||
# branches are different, master or stable-x.y: 'heads/master'
|
||||
# stick with master because the follow up process is much easier and you avoid confusion
|
||||
versionOld: str = 'tags/v7.3.0'
|
||||
versionNew: str = 'heads/master'
|
||||
# old is the base version to compare from
|
||||
# new is the target version to compare to
|
||||
# tagged versions must be of format: 'tags/v6.0.0'
|
||||
# master is different, it must be: 'heads/master'
|
||||
versionOld = 'tags/v6.0.0'
|
||||
versionNew = 'heads/master'
|
||||
|
||||
# CHANGE according your needs
|
||||
from_version: str = '7.3.0'
|
||||
to_version: str = '8.0.0'
|
||||
from_version = '5.0.0'
|
||||
to_version = '7.0.0'
|
||||
|
||||
# CHANGE according your needs
|
||||
# this will create files like 5.0.0-7.0.0-added and 5.0.0-7.0.0-removed
|
||||
# this should match which versions you compare. master is ok if that is the base for a named release
|
||||
nameComponent: str = '7.3.0-8.0.0'
|
||||
nameComponent = '5.0.0-7.0.0'
|
||||
|
||||
# ADD new elements when a new version has been published so that it gets excluded
|
||||
# array of version patterns to be excluded for added items. we dont need patch versions
|
||||
excludePattern: list[str] = ['pre5.0', '5.0', '6.0', '6.0.0', '6.0.1', '6.1.0', '6.7', '7.0', '7.0.0', '7.1.0', '7.2.0', '7.3.0']
|
||||
excludePattern = ['pre5.0', '5.0', '6.0']
|
||||
|
||||
# DO NOT CHANGE
|
||||
# this is the path the added/removed result is written to
|
||||
adocWritePath: str = 'docs/services/general-info/envvars/env-var-deltas'
|
||||
adocWritePath = 'docs/services/general-info/env-var-deltas'
|
||||
|
||||
# define root sources from github
|
||||
git_left_dir: str = 'https://raw.githubusercontent.com/owncloud/ocis/refs/'
|
||||
git_right_dir: str ='/docs/helpers/env_vars.yaml'
|
||||
addedWith = {}
|
||||
removedWith = {}
|
||||
deprecatedWith = {}
|
||||
|
||||
def check_path() -> None:
|
||||
def check_path():
|
||||
# check which path the script started. we can do this because the target path must be present
|
||||
# exit if not present
|
||||
if not os.path.exists(adocWritePath):
|
||||
print('Path not found: ' + adocWritePath)
|
||||
sys.exit()
|
||||
|
||||
def get_sources(versionOld: str, versionNew: str) -> (str, str):
|
||||
urlOld = git_left_dir + versionOld + git_right_dir
|
||||
urlNew = git_left_dir + versionNew + git_right_dir
|
||||
def get_sources(versionOld, versionNew):
|
||||
# get the sources from github
|
||||
git_bleft_dir = 'https://raw.githubusercontent.com/owncloud/ocis/refs/'
|
||||
git_right_dir ='/docs/helpers/env_vars.yaml'
|
||||
|
||||
urlOld = git_bleft_dir + versionOld + git_right_dir
|
||||
urlNew = git_bleft_dir + versionNew + git_right_dir
|
||||
|
||||
try:
|
||||
fileOld = urlopen(urlOld).read().decode('utf-8')
|
||||
@@ -67,34 +70,34 @@ def get_sources(versionOld: str, versionNew: str) -> (str, str):
|
||||
print(e)
|
||||
sys.exit()
|
||||
|
||||
def get_added(fileNew: str, excludePattern: list[str]) -> set[str]:
|
||||
def get_added(fileNew, excludePattern):
|
||||
# create dict with added items
|
||||
addedWith: set[str] = {}
|
||||
addedWith = {}
|
||||
for key, value in fileNew.items():
|
||||
if not fileNew[key]['introductionVersion'] in str(excludePattern):
|
||||
addedWith[key] = value
|
||||
return addedWith
|
||||
|
||||
def get_removed(fileOld: str, fileNew: str) -> set[str]:
|
||||
def get_removed(fileOld, fileNew):
|
||||
# create dict with removed items
|
||||
removedWith: set[str] = {}
|
||||
removedWith = {}
|
||||
for key, value in fileOld.items():
|
||||
if not key in fileNew:
|
||||
removedWith[key] = value
|
||||
return removedWith
|
||||
|
||||
def get_deprecated(fileNew: str) -> set[str]:
|
||||
def get_deprecated(fileNew):
|
||||
# create dict with deprecated items
|
||||
deprecatedWith: set[str] = {}
|
||||
deprecatedWith = {}
|
||||
for key, value in fileNew.items():
|
||||
if value['removalVersion']:
|
||||
deprecatedWith[key] = value
|
||||
return deprecatedWith
|
||||
|
||||
def create_adoc_start(type_text: str, from_version: str, to_version: str, creation_date: str, columns: str, closing: str) -> str:
|
||||
def create_adoc_start(type_text, from_version, to_version, creation_date, columns, closing):
|
||||
# create the page/table header
|
||||
# 'closing' contains variable column names dependen if added/removed ir deprecated
|
||||
a: str = '''// # {ftype} Variables between oCIS {ffrom} and oCIS {fto}
|
||||
a = '''// # {ftype} Variables between oCIS {ffrom} and oCIS {fto}
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per {fdate}
|
||||
@@ -107,17 +110,17 @@ def create_adoc_start(type_text: str, from_version: str, to_version: str, creati
|
||||
'''.format(ftype = type_text, ffrom = from_version, fto = to_version, fdate = creation_date, fcolumns = columns, fclosing = closing)
|
||||
return a
|
||||
|
||||
def create_adoc_end() -> str:
|
||||
def create_adoc_end():
|
||||
# close the table
|
||||
a: str = '''|===
|
||||
a = '''|===
|
||||
|
||||
'''
|
||||
return a
|
||||
|
||||
def add_adoc_line_1(service: str, variable: str, description: str, value: str) -> str:
|
||||
def add_adoc_line_1(service, variable, description, value):
|
||||
# add a table line for added/removed
|
||||
# the dummy values are only here to have the same number of parameters as add_adoc_line_2
|
||||
a: str = '''| {fservice}
|
||||
a = '''| {fservice}
|
||||
| {fvariable}
|
||||
| {fdescription}
|
||||
| {fvalue}
|
||||
@@ -127,7 +130,7 @@ def add_adoc_line_1(service: str, variable: str, description: str, value: str) -
|
||||
|
||||
def add_adoc_line_2(service, variable, description, removalVersion, deprecationInfo):
|
||||
# add a table line for deprecated, this has different columns
|
||||
a: str = '''| {fservice}
|
||||
a = '''| {fservice}
|
||||
| {fvariable}
|
||||
| {fdescription}
|
||||
| {fremovalVersion}
|
||||
@@ -136,11 +139,11 @@ def add_adoc_line_2(service, variable, description, removalVersion, deprecationI
|
||||
'''.format(fservice = service, fvariable = variable, fdescription = description, fremovalVersion = removalVersion, fdeprecationInfo = deprecationInfo)
|
||||
return a
|
||||
|
||||
def create_table(type_text: str, source_dict: set[str], from_version: str, to_version: str, date_today: str, type: bool = False) -> str:
|
||||
def create_table(type_text, source_dict, from_version, to_version, date_today, type = False):
|
||||
# get the table header
|
||||
columns: str = '~,~,~,~' if type == False else '~,~,~,~,~'
|
||||
closing: str = 'Default' if type == False else 'Removal Version | Deprecation Info'
|
||||
a: str = create_adoc_start(type_text, from_version, to_version, date_today, columns, closing)
|
||||
columns = '~,~,~,~' if type == False else '~,~,~,~,~'
|
||||
closing = 'Default' if type == False else 'Removal Version | Deprecation Info'
|
||||
a = create_adoc_start(type_text, from_version, to_version, date_today, columns, closing)
|
||||
|
||||
if not type:
|
||||
# added and removed envvars
|
||||
@@ -148,8 +151,6 @@ def create_table(type_text: str, source_dict: set[str], from_version: str, to_ve
|
||||
for key, value in source_dict.items():
|
||||
if key.startswith('OCIS_'):
|
||||
a += add_adoc_line_1(
|
||||
# note that any envvar starting with ocis cant be assigned to a service automatically
|
||||
# the xref must be corrected in the output file manually
|
||||
'xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]',
|
||||
key,
|
||||
value['description'],
|
||||
@@ -191,7 +192,7 @@ def create_table(type_text: str, source_dict: set[str], from_version: str, to_ve
|
||||
a += create_adoc_end()
|
||||
return a
|
||||
|
||||
def write_output(a: str, type_text: str) -> None:
|
||||
def write_output(a, type_text):
|
||||
# write the content to a file
|
||||
try:
|
||||
with open(adocWritePath + '/' + nameComponent + '-' + type_text + '.adoc', 'w') as file:
|
||||
@@ -201,30 +202,20 @@ def write_output(a: str, type_text: str) -> None:
|
||||
print(e)
|
||||
sys.exit()
|
||||
|
||||
def main() -> None:
|
||||
## here are the tasks in sequence
|
||||
## here are the tasks in sequence
|
||||
|
||||
fileOld: str = ''
|
||||
fileNew: str = ''
|
||||
addedWith: set[str] = {}
|
||||
removedWith: set[str] = {}
|
||||
deprecatedWith: set[str] = {}
|
||||
check_path()
|
||||
fileOld, fileNew = get_sources(versionOld, versionNew)
|
||||
addedWith = get_added(fileNew, excludePattern)
|
||||
removedWith = get_removed(fileOld, fileNew)
|
||||
deprecatedWith = get_deprecated(fileNew)
|
||||
|
||||
check_path()
|
||||
fileOld, fileNew = get_sources(versionOld, versionNew)
|
||||
addedWith = get_added(fileNew, excludePattern)
|
||||
removedWith = get_removed(fileOld, fileNew)
|
||||
deprecatedWith = get_deprecated(fileNew)
|
||||
a = create_table('Added', addedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'))
|
||||
r = create_table('Removed', removedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'))
|
||||
d = create_table('Deprecated', deprecatedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'), True)
|
||||
|
||||
a: str = create_table('Added', addedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'))
|
||||
r: str = create_table('Removed', removedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'))
|
||||
d: str = create_table('Deprecated', deprecatedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'), True)
|
||||
write_output(a, 'added')
|
||||
write_output(r, 'removed')
|
||||
write_output(d, 'deprecated')
|
||||
|
||||
write_output(a, 'added')
|
||||
write_output(r, 'removed')
|
||||
write_output(d, 'deprecated')
|
||||
|
||||
print('Success, see files created in: ' + adocWritePath)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
print('Success, see files created in: ' + adocWritePath)
|
||||
@@ -7,7 +7,6 @@ import (
|
||||
"os/exec"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
"text/template"
|
||||
)
|
||||
@@ -72,12 +71,6 @@ func runIntermediateCode(intermediateCodePath string) {
|
||||
defaultDataPath := "/var/lib/ocis"
|
||||
os.Setenv("OCIS_BASE_DATA_PATH", defaultDataPath)
|
||||
os.Setenv("OCIS_CONFIG_DIR", defaultConfigPath)
|
||||
|
||||
// Set AUTOMEMLIMIT_EXPERIMENT=system on non-Linux systems to avoid cgroups errors
|
||||
if runtime.GOOS != "linux" {
|
||||
os.Setenv("AUTOMEMLIMIT_EXPERIMENT", "system")
|
||||
}
|
||||
|
||||
out, err := exec.Command("go", "run", intermediateCodePath).CombinedOutput()
|
||||
if err != nil {
|
||||
log.Fatal(string(out), err)
|
||||
|
||||
+322
-627
File diff suppressed because it is too large.
Load diff
+7
-36
@@ -68,23 +68,8 @@ func GetRogueEnvs() {
|
||||
if err := os.Chdir("../../"); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
// Option to process a specific directory, for faster development iteration
|
||||
processDir := os.Getenv("DIR")
|
||||
if processDir == "" {
|
||||
processDir = "."
|
||||
}
|
||||
|
||||
fmt.Printf("Processing directory: %s\n", processDir)
|
||||
|
||||
// Old command `grep -RHn os.Getenv $DIR --exclude-dir=vendor | grep -v extendedEnv.go | grep \\.go`
|
||||
// New command, 10x faster than direct grep:
|
||||
// C_ALL=C - Sets locale to C for consistent output
|
||||
// find %s -type f -name '*.go' - Finds all .go files in the specified directory
|
||||
// xargs -0 -P $(getconf _NPROCESSORS_ONLN) - Processes files in parallel using all available CPU cores
|
||||
// grep -F -Hn 'os.Getenv' - Searches for literal "os.Getenv" with filename and line number output
|
||||
grepCmd := fmt.Sprintf("C_ALL=C find %s -type f -name '*.go' -not -path '*/vendor/*' -print0 | xargs -0 -P $(getconf _NPROCESSORS_ONLN) grep -F -Hn 'os.Getenv' | grep -v extendedEnv.go", processDir)
|
||||
out, err := exec.Command("sh", "-c", grepCmd).Output()
|
||||
fmt.Println("Gathering variable definitions from source")
|
||||
out, err := exec.Command("sh", "-c", "grep -RHn os.Getenv --exclude-dir=vendor | grep -v extendedEnv.go |grep \\.go").Output()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
@@ -92,35 +77,22 @@ func GetRogueEnvs() {
|
||||
|
||||
// find current vars
|
||||
currentVars := make(map[string]Variable)
|
||||
totalLines := len(lines)
|
||||
fmt.Printf("Processing %d lines...\n", totalLines)
|
||||
|
||||
for _, l := range lines {
|
||||
|
||||
if l == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
fmt.Printf("Parsing %s\n", l)
|
||||
r := strings.SplitN(l, ":", 3)
|
||||
if len(r) != 3 || r[0] == "" || r[2] == "" {
|
||||
r := strings.SplitN(l, ":\t", 2)
|
||||
if len(r) != 2 || r[0] == "" || r[1] == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
// Remove ./ prefix from path if it exists
|
||||
path := strings.TrimPrefix(r[0], "./")
|
||||
path = path + ":" + r[1] // Reconstruct path:line
|
||||
content := r[2]
|
||||
|
||||
res := re.FindAllSubmatch([]byte(content), -1)
|
||||
res := re.FindAllSubmatch([]byte(r[1]), -1)
|
||||
if len(res) < 1 {
|
||||
fmt.Printf(" No envvar found in content: %s\n", content)
|
||||
fmt.Printf("Error envvar not matching pattern: %s", r[1])
|
||||
continue
|
||||
}
|
||||
|
||||
for _, m := range res {
|
||||
path := r[0]
|
||||
name := strings.Trim(string(m[1]), "\"")
|
||||
fmt.Printf(" Found envvar: %s at %s\n", name, path)
|
||||
currentVars[path+name] = Variable{
|
||||
RawName: name,
|
||||
Path: path,
|
||||
@@ -130,7 +102,6 @@ func GetRogueEnvs() {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Printf("Found %d current variables\n", len(currentVars))
|
||||
// adjust existing vars
|
||||
for i, v := range vars.Variables {
|
||||
_, ok := currentVars[v.Path+v.RawName]
|
||||
|
||||
@@ -39,14 +39,6 @@ variables:
|
||||
default_value: ""
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: GITHUB_TOKEN
|
||||
path: tools/ci-reporter/cmd/list-failed-commits/main.go:116
|
||||
foundincode: true
|
||||
name: GITHUB_TOKEN
|
||||
type: ""
|
||||
default_value: ""
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: _serverMaxConnectionAgeEnv
|
||||
path: ocis-pkg/service/grpc/keepalive.go:19
|
||||
foundincode: true
|
||||
@@ -83,7 +75,7 @@ variables:
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: _registryEnv
|
||||
path: ocis-pkg/registry/registry.go:88
|
||||
path: ocis-pkg/registry/registry.go:87
|
||||
foundincode: true
|
||||
name: MICRO_REGISTRY
|
||||
type: string
|
||||
@@ -92,7 +84,7 @@ variables:
|
||||
and ''nats-js-kv'' (default). Only change on supervision of ownCloud Support.'
|
||||
do_ignore: false
|
||||
- rawname: _registryAddressEnv
|
||||
path: ocis-pkg/registry/registry.go:92
|
||||
path: ocis-pkg/registry/registry.go:91
|
||||
foundincode: true
|
||||
name: MICRO_REGISTRY_ADDRESS
|
||||
type: ""
|
||||
@@ -100,7 +92,7 @@ variables:
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: _registryAddressEnv
|
||||
path: ocis-pkg/natsjsregistry/registry.go:206
|
||||
path: ocis-pkg/natsjsregistry/registry.go:192
|
||||
foundincode: true
|
||||
name: MICRO_REGISTRY_ADDRESS
|
||||
type: string
|
||||
@@ -109,7 +101,7 @@ variables:
|
||||
supervision of ownCloud Support.
|
||||
do_ignore: false
|
||||
- rawname: _registryPasswordEnv
|
||||
path: ocis-pkg/natsjsregistry/registry.go:234
|
||||
path: ocis-pkg/natsjsregistry/registry.go:220
|
||||
foundincode: true
|
||||
name: MICRO_REGISTRY_AUTH_PASSWORD
|
||||
type: string
|
||||
@@ -117,7 +109,7 @@ variables:
|
||||
description: Optional when using nats to authenticate with the nats cluster.
|
||||
do_ignore: false
|
||||
- rawname: _registryUsernameEnv
|
||||
path: ocis-pkg/natsjsregistry/registry.go:234
|
||||
path: ocis-pkg/natsjsregistry/registry.go:220
|
||||
foundincode: true
|
||||
name: MICRO_REGISTRY_AUTH_USERNAME
|
||||
type: string
|
||||
@@ -143,14 +135,6 @@ variables:
|
||||
Services can have, if available, an individual setting with an own environment
|
||||
variable.
|
||||
do_ignore: false
|
||||
- rawname: OCIS_BASE_DATA_PATH
|
||||
path: ocis/pkg/command/shares.go:50
|
||||
foundincode: true
|
||||
name: OCIS_BASE_DATA_PATH
|
||||
type: ""
|
||||
default_value: ""
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: OCIS_CONFIG_DIR
|
||||
path: ocis-pkg/config/defaults/paths.go:56
|
||||
foundincode: true
|
||||
@@ -160,15 +144,6 @@ variables:
|
||||
description: The default directory location for config files. See the General Info
|
||||
section in the documentation for more details on defaults.
|
||||
do_ignore: false
|
||||
- rawname: OCIS_INSECURE
|
||||
path: ocis-pkg/service/grpc/client.go:77
|
||||
foundincode: true
|
||||
name: OCIS_INSECURE
|
||||
type: bool
|
||||
default_value: "false"
|
||||
description: Insecure TLS mode is only allowed in development environments with
|
||||
OCIS_INSECURE=true
|
||||
do_ignore: false
|
||||
- rawname: RUN_CMD_TEST
|
||||
path: internal/testenv/test.go:32
|
||||
foundincode: true
|
||||
@@ -186,7 +161,7 @@ variables:
|
||||
description: ""
|
||||
do_ignore: true
|
||||
- rawname: parts[0]
|
||||
path: ocis-pkg/config/envdecode/envdecode.go:396
|
||||
path: ocis-pkg/config/envdecode/envdecode.go:382
|
||||
foundincode: true
|
||||
name: parts[0]
|
||||
type: ""
|
||||
|
||||
@@ -0,0 +1,272 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"reflect"
|
||||
"regexp"
|
||||
"strings"
|
||||
"text/template"
|
||||
"time"
|
||||
"sort"
|
||||
|
||||
{{- range $key, $value := .}}
|
||||
pkg{{$key}} "{{$value}}"
|
||||
{{- end}}
|
||||
)
|
||||
|
||||
// ConfigField is the representation of one configuration field
|
||||
type ConfigField struct {
|
||||
EnvVars []string
|
||||
DefaultValue string
|
||||
IntroductionVersion string
|
||||
Type string
|
||||
Description string
|
||||
VersionInfo string
|
||||
DeprecationLink string
|
||||
}
|
||||
|
||||
// DeprecationField holds information about deprecation
|
||||
type DeprecationField struct {
|
||||
DeprecationVersion string
|
||||
DeprecationInfo string
|
||||
DeprecationReplacement string
|
||||
RemovalVersion string
|
||||
}
|
||||
|
||||
// EnvVar holds information about one envvar
|
||||
type EnvVar struct {
|
||||
Name string
|
||||
IntroductionVersion string
|
||||
DefaultValue string
|
||||
Type string
|
||||
Description string
|
||||
Services []string
|
||||
}
|
||||
|
||||
type templateData struct {
|
||||
ExtensionName string
|
||||
Fields []ConfigField
|
||||
Deprecations []DeprecationField
|
||||
HasDeprecations bool
|
||||
Timestamp string
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println("Generating adoc documentation for environment variables:")
|
||||
adoc, err := os.ReadFile("../../docs/templates/ADOC.tmpl")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
dpr, err := os.ReadFile("../../docs/templates/ADOC_deprecation.tmpl")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
replacer := strings.NewReplacer(
|
||||
"github.com/owncloud/ocis/v2/services/", "",
|
||||
"/pkg/config/defaults", "",
|
||||
)
|
||||
var (
|
||||
fields []ConfigField
|
||||
deprecations []DeprecationField
|
||||
adocFile *os.File
|
||||
dprFile *os.File
|
||||
)
|
||||
adoctpl := template.Must(template.New("").Parse(string(adoc)))
|
||||
dprtpl := template.Must(template.New("").Parse(string(dpr)))
|
||||
|
||||
m := map[string]interface{}{
|
||||
{{- range $key, $value := .}}
|
||||
"{{$value}}": *pkg{{$key}}.FullDefaultConfig(),
|
||||
{{- end }}
|
||||
}
|
||||
|
||||
targetFolder := "../../docs/services/_includes/adoc/"
|
||||
all := make(map[string]EnvVar)
|
||||
for pkg, conf := range m {
|
||||
service := replacer.Replace(pkg)
|
||||
timestamp := time.Now().Format("2006-01-02-15-04-05")
|
||||
fields, deprecations = GetAnnotatedVariables(conf, timestamp)
|
||||
var hasDeprecations bool
|
||||
if len(deprecations) > 0 {
|
||||
hasDeprecations = true
|
||||
}
|
||||
|
||||
for _, f := range fields {
|
||||
for _, e := range f.EnvVars {
|
||||
if env, ok := all[e]; ok {
|
||||
env.Services = append(env.Services, service)
|
||||
sort.Slice(env.Services, func(i, j int) bool {
|
||||
return env.Services[i] < env.Services[j]
|
||||
})
|
||||
all[e] = env
|
||||
} else {
|
||||
all[e] = EnvVar{
|
||||
Name: e,
|
||||
IntroductionVersion: replaceEnvVarPlaceHolder(f.IntroductionVersion),
|
||||
Description: f.Description,
|
||||
Type: f.Type,
|
||||
DefaultValue: f.DefaultValue,
|
||||
Services: []string{service},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if len(fields) > 0 || len(deprecations) > 0 {
|
||||
fmt.Printf("... %s\n", pkg)
|
||||
td := templateData{
|
||||
ExtensionName: service,
|
||||
Fields: fields,
|
||||
Deprecations: deprecations,
|
||||
HasDeprecations: hasDeprecations,
|
||||
Timestamp: timestamp,
|
||||
}
|
||||
adocFile, err = os.Create(filepath.Join(targetFolder, service + "_configvars.adoc"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file: %s", err)
|
||||
}
|
||||
defer adocFile.Close()
|
||||
|
||||
if err := adoctpl.Execute(adocFile, td); err != nil {
|
||||
log.Fatalf("Failed to execute template: %s", err)
|
||||
}
|
||||
|
||||
dprFile, err = os.Create(filepath.Join(targetFolder, service + "_deprecation.adoc"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file: %s", err)
|
||||
}
|
||||
defer dprFile.Close()
|
||||
|
||||
if err := dprtpl.Execute(dprFile, td); err != nil {
|
||||
log.Fatalf("Failed to execute template: %s", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// render global env vars
|
||||
tmplValues := make([]map[string]interface{}, 0)
|
||||
for _, env := range all {
|
||||
if len(env.Services) > 1 {
|
||||
tmplValues = append(tmplValues, map[string]interface{}{
|
||||
"Name": env.Name,
|
||||
"IntroductionVersion": replaceEnvVarPlaceHolder(env.IntroductionVersion),
|
||||
"Services": env.Services,
|
||||
"Description": env.Description,
|
||||
"DefaultValue": env.DefaultValue,
|
||||
"Type": env.Type,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// sort
|
||||
sort.Slice(tmplValues, func(i, j int) bool {
|
||||
return tmplValues[i]["Name"].(string) < tmplValues[j]["Name"].(string)
|
||||
})
|
||||
|
||||
glc, err := os.ReadFile("../../docs/templates/ADOC_global.tmpl")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
gltpl := template.Must(template.New("").Parse(string(glc)))
|
||||
glfile, err := os.Create(filepath.Join(targetFolder, "global_configvars.adoc"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file: %s", err)
|
||||
}
|
||||
|
||||
if err := gltpl.Execute(glfile, tmplValues); err != nil {
|
||||
log.Printf("Failed to execute template: %s", err)
|
||||
}
|
||||
|
||||
fmt.Println("done")
|
||||
}
|
||||
|
||||
func replaceEnvVarPlaceHolder(s string) string {
|
||||
return strings.Replace(
|
||||
strings.Replace(s, "%%NEXT%%", "next", -1),
|
||||
"%%NEXT_PRODUCTION_VERSION%%",
|
||||
"next-prod",
|
||||
-1,
|
||||
)
|
||||
}
|
||||
|
||||
func GetAnnotatedVariables(s interface{}, timestamp string) ([]ConfigField, []DeprecationField) {
|
||||
t := reflect.TypeOf(s)
|
||||
v := reflect.ValueOf(s)
|
||||
|
||||
var fields []ConfigField
|
||||
var deprecations []DeprecationField
|
||||
for i := 0; i < t.NumField(); i++ {
|
||||
field := t.Field(i)
|
||||
value := v.Field(i)
|
||||
|
||||
switch value.Kind() {
|
||||
default:
|
||||
desc := field.Tag.Get("desc")
|
||||
env, ok := field.Tag.Lookup("env")
|
||||
deprecationLink := ""
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
introductionVersion, _ := field.Tag.Lookup("introductionVersion")
|
||||
deprecationVersion, _ := field.Tag.Lookup("deprecationVersion")
|
||||
removalVersion, _ := field.Tag.Lookup("removalVersion")
|
||||
deprecationInfo, _ := field.Tag.Lookup("deprecationInfo")
|
||||
deprecationReplacement, _ := field.Tag.Lookup("deprecationReplacement")
|
||||
if deprecationVersion != "" ||
|
||||
removalVersion != "" ||
|
||||
deprecationInfo != "" ||
|
||||
deprecationReplacement != "" {
|
||||
deprecationLink = fmt.Sprintf("xref:deprecation-note-%s[Deprecation Note]", timestamp)
|
||||
}
|
||||
v := fmt.Sprintf("%v", value.Interface())
|
||||
td := strings.Split(env, ";")
|
||||
// re := regexp.MustCompile(`^(https?:\/\/)`)
|
||||
// v = re.ReplaceAllString(v,"\\$1")
|
||||
re := regexp.MustCompile(`(https?:\/\/)`)
|
||||
desc = re.ReplaceAllString(desc, "\\$1")
|
||||
re = regexp.MustCompile(`(\|)`)
|
||||
v = re.ReplaceAllString(v, "\\$1")
|
||||
typeName := value.Type().Name()
|
||||
if typeName == "" {
|
||||
typeName = value.Type().String()
|
||||
}
|
||||
fields = append(fields,
|
||||
ConfigField{
|
||||
EnvVars: td,
|
||||
IntroductionVersion: replaceEnvVarPlaceHolder(introductionVersion),
|
||||
DefaultValue: v,
|
||||
Description: desc,
|
||||
Type: typeName,
|
||||
DeprecationLink: deprecationLink,
|
||||
})
|
||||
if deprecationLink != "" {
|
||||
deprecations = append(deprecations,
|
||||
DeprecationField{
|
||||
DeprecationVersion: replaceEnvVarPlaceHolder(deprecationVersion),
|
||||
DeprecationInfo: deprecationInfo,
|
||||
DeprecationReplacement: deprecationReplacement,
|
||||
RemovalVersion: replaceEnvVarPlaceHolder(removalVersion),
|
||||
})
|
||||
}
|
||||
case reflect.Ptr:
|
||||
// PolicySelectors in the Proxy are being skipped atm
|
||||
// they are not configurable via env vars, if that changes
|
||||
// they are probably added to the Sanitize() function
|
||||
// and this should not be an issue then
|
||||
if !value.IsZero() && value.Elem().CanInterface() {
|
||||
f, d := GetAnnotatedVariables(value.Elem().Interface(), timestamp)
|
||||
fields = append(fields, f...)
|
||||
deprecations = append(deprecations, d...)
|
||||
}
|
||||
case reflect.Struct:
|
||||
f, d := GetAnnotatedVariables(value.Interface(), timestamp)
|
||||
fields = append(fields, f...)
|
||||
deprecations = append(deprecations, d...)
|
||||
}
|
||||
}
|
||||
return fields, deprecations
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
Added between Version {{ .StartVersion }} and {{ .EndVersion }}.
|
||||
|
||||
| Variable | Description |
|
||||
| --- | --- |
|
||||
{{- range $key, $value := .DeltaFields}}
|
||||
| {{$value.Name}} | {{$value.Description}} |
|
||||
{{- end}}
|
||||
@@ -0,0 +1,7 @@
|
||||
Deprecated between Version {{ .StartVersion }} and {{ .EndVersion }}.
|
||||
|
||||
| Variable | Description | Deprecation Info |
|
||||
| --- | --- |
|
||||
{{- range $key, $value := .DeltaFields}}
|
||||
| {{$value.Name}} | {{$value.Description}} | {{$value.DeprecationInfo}} |
|
||||
{{- end}}
|
||||
@@ -0,0 +1,7 @@
|
||||
Removed between Version {{ .StartVersion }} and {{ .EndVersion }}.
|
||||
|
||||
| Variable | Description | Deprecation Info |
|
||||
| --- | --- |
|
||||
{{- range $key, $value := .DeltaFields}}
|
||||
| {{$value.Name}} | {{$value.Description}} | {{$value.DeprecationInfo}} |
|
||||
{{- end}}
|
||||
@@ -0,0 +1,154 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"gopkg.in/yaml.v2"
|
||||
"html"
|
||||
"reflect"
|
||||
"strings"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
{{- range $key, $value :=.}}
|
||||
pkg{{$key}} "{{$value}}"
|
||||
{{- end}}
|
||||
)
|
||||
|
||||
const yamlSource = "env_vars.yaml"
|
||||
|
||||
type ConfigField struct {
|
||||
Name string `yaml:"name"`
|
||||
DefaultValue string `yaml:"defaultValue"`
|
||||
Type string `yaml:"type"`
|
||||
Description string `yaml:"description"`
|
||||
IntroductionVersion string `yaml:"introductionVersion"`
|
||||
DeprecationVersion string `yaml:"deprecationVersion"`
|
||||
RemovalVersion string `yaml:"removalVersion"`
|
||||
DeprecationInfo string `yaml:"deprecationInfo"`
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println("Generating tables for env-var deltas...")
|
||||
curdir, err := os.Getwd()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fullYamlPath := filepath.Join(curdir, yamlSource)
|
||||
var fields []ConfigField
|
||||
configFields := make(map[string]*ConfigField)
|
||||
fmt.Printf("Reading existing variable definitions from %s\n", fullYamlPath)
|
||||
yfile, err := os.ReadFile(fullYamlPath)
|
||||
if err == nil {
|
||||
err := yaml.Unmarshal(yfile, configFields)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
m := map[string]interface{}{
|
||||
{{- range $key, $value := .}}
|
||||
"{{$value}}": *pkg{{$key}}.FullDefaultConfig(),
|
||||
{{- end }}
|
||||
}
|
||||
for _, conf := range m {
|
||||
fields = GetAnnotatedVariables(conf)
|
||||
for _, field := range fields {
|
||||
variants := strings.Split(field.Name, ";")
|
||||
for _, variant := range variants {
|
||||
if (configFields[variant] != nil && configFields[variant].Name == "") || configFields[variant] == nil {
|
||||
configFields[variant] = &field
|
||||
} else {
|
||||
fmt.Printf("%v, duplicate key, merging\n", variant)
|
||||
if strings.TrimSpace(configFields[variant].DefaultValue) != "" && configFields[variant].DefaultValue != field.DefaultValue {
|
||||
configFields[variant].DefaultValue = field.DefaultValue
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].Description) != "" && configFields[variant].Description != field.Description {
|
||||
configFields[variant].Description = field.Description
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].Type) != "" && configFields[variant].Type != field.Type {
|
||||
configFields[variant].Type = field.Type
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].IntroductionVersion) != "" && configFields[variant].IntroductionVersion != field.IntroductionVersion {
|
||||
configFields[variant].IntroductionVersion = field.IntroductionVersion
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].DeprecationVersion) != "" && configFields[variant].DeprecationVersion != field.DeprecationVersion {
|
||||
configFields[variant].DeprecationVersion = field.DeprecationVersion
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].RemovalVersion) != "" && configFields[variant].RemovalVersion != field.RemovalVersion {
|
||||
configFields[variant].RemovalVersion = field.RemovalVersion
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].Name) != "" && configFields[variant].Name != field.Name {
|
||||
configFields[variant].Name = field.Name
|
||||
}
|
||||
if strings.TrimSpace(configFields[variant].DeprecationInfo) != "" && configFields[variant].DeprecationInfo != field.DeprecationInfo {
|
||||
// there might be multiple superseeding DeprecationInformations, we might want to keep track of those, that's why we are not overwriting the field
|
||||
configFields[variant].DeprecationInfo = configFields[variant].DeprecationInfo + " | " + field.DeprecationInfo
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
output, err := yaml.Marshal(configFields)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not marshall variables: %v", err)
|
||||
}
|
||||
err = os.WriteFile(fullYamlPath, output, 0666)
|
||||
if err != nil {
|
||||
log.Fatalf("could not write %s", fullYamlPath)
|
||||
}
|
||||
if err := os.Chdir(curdir); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
func GetAnnotatedVariables(s interface{}) []ConfigField {
|
||||
t := reflect.TypeOf(s)
|
||||
v := reflect.ValueOf(s)
|
||||
|
||||
var fields []ConfigField
|
||||
for i := 0; i < t.NumField(); i++ {
|
||||
field := t.Field(i)
|
||||
value := v.Field(i)
|
||||
|
||||
switch value.Kind() {
|
||||
default:
|
||||
desc := field.Tag.Get("desc")
|
||||
env, ok := field.Tag.Lookup("env")
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
introductionVersion := field.Tag.Get("introductionVersion")
|
||||
deprecationVersion := field.Tag.Get("deprecationVersion")
|
||||
removalVersion := field.Tag.Get("removalVersion")
|
||||
deprecationInfo := field.Tag.Get("deprecationInfo")
|
||||
v := fmt.Sprintf("%v", value.Interface())
|
||||
typeName := value.Type().Name()
|
||||
if typeName == "" {
|
||||
typeName = value.Type().String()
|
||||
}
|
||||
//fields = append(fields, ConfigField{Name: strings.ReplaceAll(env, ";", "<br/>"), DefaultValue: html.EscapeString(strings.Replace(v, "|", "\\|", -1)), Description: desc, Type: typeName})
|
||||
fields = append(fields, ConfigField{
|
||||
Name: env,
|
||||
DefaultValue: html.EscapeString(strings.Replace(v, "|", "\\|", -1)),
|
||||
Description: desc,
|
||||
Type: typeName,
|
||||
IntroductionVersion: introductionVersion,
|
||||
DeprecationVersion: deprecationVersion,
|
||||
RemovalVersion: removalVersion,
|
||||
DeprecationInfo: deprecationInfo,
|
||||
})
|
||||
case reflect.Ptr:
|
||||
// PolicySelectors in the Proxy are being skipped atm
|
||||
// they are not configurable via env vars, if that changes
|
||||
// they are probably added to the Sanitize() function
|
||||
// and this should not be an issue then
|
||||
if !value.IsZero() && value.Elem().CanInterface() {
|
||||
fields = append(fields, GetAnnotatedVariables(value.Elem().Interface())...)
|
||||
}
|
||||
case reflect.Struct:
|
||||
fields = append(fields, GetAnnotatedVariables(value.Interface())...)
|
||||
}
|
||||
}
|
||||
return fields
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"html"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"reflect"
|
||||
"strings"
|
||||
"text/template"
|
||||
|
||||
{{- range $key, $value := .}}
|
||||
pkg{{$key}} "{{$value}}"
|
||||
{{- end}})
|
||||
|
||||
type ConfigField struct {
|
||||
Name string
|
||||
DefaultValue string
|
||||
Type string
|
||||
Description string
|
||||
}
|
||||
|
||||
func main() {
|
||||
fmt.Println("Generating documentation for environment variables:")
|
||||
content, err := os.ReadFile("../../docs/templates/CONFIGURATION.tmpl")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
replacer := strings.NewReplacer(
|
||||
"github.com/owncloud/ocis/v2/services/", "",
|
||||
"/pkg/config/defaults", "",
|
||||
)
|
||||
var fields []ConfigField
|
||||
var targetFile *os.File
|
||||
tpl := template.Must(template.New("").Parse(string(content)))
|
||||
|
||||
m := map[string]interface{}{
|
||||
{{- range $key, $value := .}}
|
||||
"{{$value}}": *pkg{{$key}}.FullDefaultConfig(),
|
||||
{{- end }}
|
||||
}
|
||||
|
||||
targetFolder := "../../docs/services/_includes/"
|
||||
for pkg, conf := range m {
|
||||
fields = GetAnnotatedVariables(conf)
|
||||
if len(fields) > 0 {
|
||||
fmt.Printf("... %s\n", pkg)
|
||||
targetFile, err = os.Create(filepath.Join(targetFolder, replacer.Replace(pkg) + "_configvars.md"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file: %s", err)
|
||||
}
|
||||
defer targetFile.Close()
|
||||
if err := tpl.Execute(targetFile, fields); err != nil {
|
||||
log.Fatalf("Failed to execute template: %s", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
fmt.Println("done")
|
||||
}
|
||||
|
||||
func GetAnnotatedVariables(s interface{}) []ConfigField {
|
||||
t := reflect.TypeOf(s)
|
||||
v := reflect.ValueOf(s)
|
||||
|
||||
var fields []ConfigField
|
||||
for i := 0; i < t.NumField(); i++ {
|
||||
field := t.Field(i)
|
||||
value := v.Field(i)
|
||||
|
||||
switch value.Kind() {
|
||||
default:
|
||||
desc := field.Tag.Get("desc")
|
||||
env, ok := field.Tag.Lookup("env")
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
v := fmt.Sprintf("%v", value.Interface())
|
||||
typeName := value.Type().Name()
|
||||
if typeName == "" {
|
||||
typeName = value.Type().String()
|
||||
}
|
||||
fields = append(fields, ConfigField{Name: strings.ReplaceAll(env, ";", "<br/>"), DefaultValue: html.EscapeString(strings.Replace(v, "|", "\\|", -1)), Description: desc, Type: typeName})
|
||||
case reflect.Ptr:
|
||||
// PolicySelectors in the Proxy are being skipped atm
|
||||
// they are not configurable via env vars, if that changes
|
||||
// they are probably added to the Sanitize() function
|
||||
// and this should not be an issue then
|
||||
if !value.IsZero() && value.Elem().CanInterface() {
|
||||
fields = append(fields, GetAnnotatedVariables(value.Elem().Interface())...)
|
||||
}
|
||||
case reflect.Struct:
|
||||
fields = append(fields, GetAnnotatedVariables(value.Interface())...)
|
||||
}
|
||||
}
|
||||
return fields
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"gopkg.in/yaml.v2"
|
||||
{{- range $key, $value := .}}
|
||||
pkg{{$key}} "{{$value}}"
|
||||
{{- end}}
|
||||
)
|
||||
|
||||
func main() {
|
||||
replacer := strings.NewReplacer(
|
||||
"github.com/owncloud/ocis/v2/services/", "",
|
||||
"/pkg/config/defaults", "",
|
||||
)
|
||||
cfg := map[string]string{
|
||||
{{- range $key, $value := .}}
|
||||
replacer.Replace("{{$value}}"): func() string {
|
||||
fmt.Println("Generating example YAML config for {{ $value -}}")
|
||||
c := pkg{{$key}}.FullDefaultConfig()
|
||||
yml, err := yaml.Marshal(c)
|
||||
if err != nil {
|
||||
log.Fatalf("Marshalling yaml for pkg0 failed: %s\n", err)
|
||||
}
|
||||
return fmt.Sprintf("# Autogenerated\n# Filename: %s-config-example.yaml\n\n%s", replacer.Replace("{{ $value }}"),string(yml))
|
||||
}(),
|
||||
{{- end}}
|
||||
}
|
||||
for pkg, yml := range cfg {
|
||||
targetFolders := []string{
|
||||
// TODO: comment in when it is clear how to commit this to the structure of the master|main branch
|
||||
// filepath.Join("../../", pkg, "/config"),
|
||||
"../../docs/services/_includes/",
|
||||
}
|
||||
for _, targetFolder := range targetFolders {
|
||||
os.MkdirAll(targetFolder, 0700)
|
||||
targetYamlFile, err := os.Create(filepath.Join(targetFolder, replacer.Replace(pkg) + "-config-example.yaml"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create target file for : %s", err)
|
||||
}
|
||||
defer targetYamlFile.Close()
|
||||
targetYamlFile.WriteString(yml)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
title: {{ .ServiceName }}
|
||||
date: {{ .CreationTime }}
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/services/{{ .service }}
|
||||
geekdocFilePath: README.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
<!-- Do not edit this file, it is autogenerated. Edit the service README.md instead -->
|
||||
|
||||
## Abstract
|
||||
|
||||
{{ .Abstract }}
|
||||
## Table of Contents
|
||||
|
||||
{{ .TocTree }}
|
||||
{{ .Content }}
|
||||
@@ -1,79 +0,0 @@
|
||||
---
|
||||
title: "Documentation"
|
||||
date: 2020-07-27T08:39:38+00:00
|
||||
weight: 8
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/development
|
||||
geekdocFilePath: build-docs.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Overview
|
||||
|
||||
The documentation:
|
||||
|
||||
* Is based on the [HUGO](https://gohugo.io/) framework written in Go. The underlaying language is markdown plus the extensions provided by hugo.
|
||||
* The framwork including the theme used is maintained in the following [repo](https://github.com/owncloud/owncloud.github.io).
|
||||
* The hugo version, currently at `0.129.0` must match the image version defined in the root makefile and the framework repo, defined in `.drone.yml`.\
|
||||
{{< hint info >}}
|
||||
* Building the theme is part of the loaded framework while building the documentation is done using a separate container.
|
||||
|
||||
* Any intended upgrade of the hugo version implies a check if the theme builds correctly and must be applied to all doc sourcing repos. On errors, stick on the current hugo version or update the theme accordingly!
|
||||
{{< /hint >}}
|
||||
|
||||
* The documentation sources are distributed over several repos such as `ocis`, `web` and others. When building, these sources act individually and only those sources are build and pushed to the web that come from the respective repo. The definition what is going where is defined in the [framework repo](https://github.com/owncloud/owncloud.github.io/blob/main/.batchfile). This means, each merge of a docs change in one of the sourcing repos only pushes that change to the site. There is no global build process and inter doc links must be treated therefore very carefully !
|
||||
|
||||
* The documentation setup is, with only a few exceptions, identical for both the `ocis` and the `web` repo. This means, for example, running commands locally are the same, the documentation process section below applies for both; only drone uses some specifics.
|
||||
|
||||
* {{< hint info >}}
|
||||
Any files or folders that need to be excluded from the build process must be defined in the referenced framework repository above, in the file `config.yaml`.
|
||||
{{< /hint >}}
|
||||
|
||||
## Documentation Process
|
||||
|
||||
When building the ocis documentation, the process differes slightly when building locally or when merging. Though both processes generate they docs, the end up in different locations.
|
||||
|
||||
* **General**\
|
||||
Beside building docs, some additional files/folders will be copied required for the process, see the makefile for details.
|
||||
|
||||
* **Locally**\
|
||||
The rendered build stays in the branch that is currently active and is NOT part of a git change, though additional changed files show up and may need to be committed. The build can be viewed normally, for details see below.
|
||||
|
||||
* **Merge**\
|
||||
When a docs PR gets merged, the content of the `docs/` folder gets "copied". For master the target is the `docs` branch or a respective `docs-stable-` branch otherwise. The latter must be configured on new stable versions. The docs branch is the source of truth for the developer documentation.
|
||||
|
||||
## Building the Documentation
|
||||
|
||||
{{< hint info >}}
|
||||
* For building the documentation locally, you need to have `make`, `docker` and `go` installed.\
|
||||
See the [oCIS README](https://github.com/owncloud/ocis/#use-the-ocis-repo-as-source) for more details and minimum versions required.
|
||||
* Regulary, at least once after cloning, branching or rebasing, run `make generate` to update the assets. This ensures that all data that is accessed by the docs build process is up-to-date.
|
||||
* Run the make commands from the oCIS root, the makefile contains all required targets.\
|
||||
Use `make help` for more details.
|
||||
{{< /hint >}}
|
||||
|
||||
* **For any changes**, you must fully build the documentation first to preview it.\
|
||||
For ease of working, open two terminals and change to the oCIS root. The terminals are numberd as (1) and (2).
|
||||
* At first start, from any terminal, run `sudo make docs-clean` to have a clean build environment.\
|
||||
sudo is required for deletion, because files generated by hugo, which runs in a container, are created by root.
|
||||
* Do all the doc changes required in the docs repository.
|
||||
* Run (1) `make docs-local`. This will run all steps locally as drone would do but without branch copying or pushing to the web. When omitting this step and just serving content, the documentation might build locally but may fail when creating a PR.
|
||||
* Run (2) `make docs-serve` to serve the documentation. You can now view the built result in the browser.
|
||||
* On any more changes made, run (1) `make docs-copy`. The changes will be built on the fly via the running docs-serve command.
|
||||
|
||||
* **To preview the documentation locally** without changing content, run the following commands in order.\
|
||||
This builds the documentation without artifacts and makes it available on [localhost:1313](http://localhost:1313).
|
||||
* `sudo make docs-clean`
|
||||
* `make docs-local`
|
||||
* `make docs-serve`
|
||||
|
||||
## Remarks
|
||||
|
||||
{{< hint info >}}
|
||||
Note that you may get files changed reported like `env_vars.yaml` by just running the make docs commands. You can discard any of these as they come from an internal helper process step necessary. To take care on those changed files, see the [Environment Variables]({{< ref "../services/general-info/envvars/" >}}) documentation.
|
||||
{{< /hint >}}
|
||||
|
||||
Please keep this documentation in sync with the oCIS source code of the master branch.
|
||||
|
||||
Changes on the documentation are automatically applied to [this site]({{< ref "../" >}}) when merged to the master branch.
|
||||
@@ -19,7 +19,7 @@ The configuration for the continuous deployment can be found in the [oCIS reposi
|
||||
|
||||
# oCIS with Web Office
|
||||
|
||||
This deployment is based on our modular [ocis_full Example](ocis_full.md) and uses the default configuration with Collabora Online as the office suite, traefik reverse proxy, cloudimporter and the mailpit mail catching server to showcase the full feature set of oCIS.
|
||||
This deployment is based on our modular [ocis_full Example](ocis_full.md) and uses the default configuration with Collabora Online as the office suite, traefik reverse proxy, cloudimporter and the inbucket mail catching server to showcase the full feature set of oCIS.
|
||||
|
||||
Credentials:
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ See also [example server setup]({{< ref "preparing_server" >}})
|
||||
# Define SMPT settings if you would like to send Infinite Scale email notifications.
|
||||
# For more details see:
|
||||
# https://doc.owncloud.com/ocis/latest/deployment/services/s-list/notifications.html
|
||||
# NOTE: when configuring mail server, these settings have no effect, see mailserver.yml for details.
|
||||
# NOTE: when configuring Inbucket, these settings have no effect, see inbucket.yml for details.
|
||||
# SMTP host to connect to.
|
||||
SMTP_HOST=
|
||||
# Port of the SMTP host to connect to.
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title: "Documentation"
|
||||
date: 2020-07-27T08:39:38+00:00
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/development
|
||||
geekdocFilePath: build-docs.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Build the documentation
|
||||
|
||||
{{< hint info >}}
|
||||
For building the documentation you need to have Make and Go 1.14 or higher installed.
|
||||
{{< /hint >}}
|
||||
|
||||
Just run `make -C docs docs-serve` from within the root level of the oCIS git repository. This will make documentation available on [localhost:1313](http://localhost:1313) and also do a hot reload if you change something in the (non autogenerated) documentation files.
|
||||
|
||||
Note that you may get files changed reported like `env_vars.yaml` by just running the make command. You can discard any of these as they come from an internal helper process step necessary. To take care on those changed files, see the [Docs Helpers](https://github.com/owncloud/ocis/tree/master/docs/helpers) readme.
|
||||
|
||||
## Add changes to the documentation
|
||||
|
||||
Please keep this documentation in sync with the oCIS source code.
|
||||
|
||||
Changes on the documentation are automatically applied to [this site]({{< ref "../" >}}) when merged to the master branch.
|
||||
@@ -9,5 +9,5 @@ geekdocFilePath: envvars.md
|
||||
|
||||
Environment variables are an essential part of configuring services.
|
||||
|
||||
If you are going to create new ones or deprecate existing ones, you must read the [Envvar Naming Scope]({{< ref "services/general-info/envvars/envvar-naming-scopes.md" >}}) and the
|
||||
[Deprecating Variables]({{< ref "services/general-info/envvars/deprecating-variables.md" >}}) documentation for more details first before doing so.
|
||||
If you are going to create new ones or deprecate existing ones, you must read the [Envvar Naming Scope]({{< ref "services/general-info/envvar-scopes.md" >}}) and the
|
||||
[Deprecating Variables]({{< ref "services/general-info/deprecating-variables.md" >}}) documentation for more details first before doing so.
|
||||
+27
-71
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 'Acceptance Testing'
|
||||
date: 2026-03-18T00:00:00+00:00
|
||||
title: "Acceptance Testing"
|
||||
date: 2018-05-02T00:00:00+00:00
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/development
|
||||
@@ -10,9 +10,6 @@ geekdocFilePath: testing.md
|
||||
{{< toc >}}
|
||||
|
||||
To run tests in the test suite you have two options. You may go the easy way and just run the test suite in docker. But for some tasks you could also need to install the test suite natively, which requires a little more setup since PHP and some dependencies need to be installed.
|
||||
{{< hint info >}}
|
||||
To run the tests PHP version ">= 8.2.0" is required.
|
||||
{{< /hint >}}
|
||||
|
||||
Both ways to run tests with the test suites are described here.
|
||||
|
||||
@@ -65,7 +62,7 @@ While running the tests, oCIS server is started with [ociswrapper](https://githu
|
||||
|
||||
```bash
|
||||
WITH_WRAPPER=false \
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUser/createUser.feature:26' \
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUserGroup/createUser.feature:26' \
|
||||
make -C tests/acceptance/docker test-ocis-feature-ocis-storage
|
||||
```
|
||||
|
||||
@@ -77,8 +74,7 @@ To run the tests that require an email server (tests tagged with `@email`), you
|
||||
|
||||
```bash
|
||||
START_EMAIL=true \
|
||||
OCIS_ADD_RUN_SERVICES=notifications \
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiNotification/notification.feature' \
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiNotification/emailNotification.feature' \
|
||||
make -C tests/acceptance/docker test-ocis-feature-ocis-storage
|
||||
```
|
||||
|
||||
@@ -122,7 +118,7 @@ The tests for a single feature (a feature file) can also be run against the diff
|
||||
For example;
|
||||
|
||||
```bash
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUser/createUser.feature' \
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUserGroup/createUser.feature' \
|
||||
make -C tests/acceptance/docker test-ocis-feature-ocis-storage
|
||||
```
|
||||
|
||||
@@ -133,11 +129,11 @@ make -C tests/acceptance/docker test-ocis-feature-ocis-storage
|
||||
And to run a single scenario in a feature, you can do:
|
||||
|
||||
{{< hint info >}}
|
||||
A specific scenario from a feature can be run by adding `:<line-number>` at the end of the feature file path. For example, to run the scenario at line 26 of the feature file `apiGraphUser/createUser.feature`, simply add the line number like this: `apiGraphUser/createUser.feature:26`. Note that the line numbers mentioned in the examples might not always point to a scenario, so always check the line numbers before running the test.
|
||||
A specific scenario from a feature can be run by adding `:<line-number>` at the end of the feature file path. For example, to run the scenario at line 26 of the feature file `apiGraphUserGroup/createUser.feature`, simply add the line number like this: `apiGraphUserGroup/createUser.feature:26`. Note that the line numbers mentioned in the examples might not always point to a scenario, so always check the line numbers before running the test.
|
||||
{{< /hint >}}
|
||||
|
||||
```bash
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUser/createUser.feature:26' \
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUserGroup/createUser.feature:26' \
|
||||
make -C tests/acceptance/docker test-ocis-feature-ocis-storage
|
||||
```
|
||||
|
||||
@@ -145,11 +141,11 @@ Similarly, with S3 storage;
|
||||
|
||||
```bash
|
||||
# run a whole feature
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUser/createUser.feature' \
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUserGroup/createUser.feature' \
|
||||
make -C tests/acceptance/docker test-ocis-feature-s3ng-storage
|
||||
|
||||
# run a single scenario
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUser/createUser.feature:26' \
|
||||
BEHAT_FEATURE='tests/acceptance/features/apiGraphUserGroup/createUser.feature:26' \
|
||||
make -C tests/acceptance/docker test-ocis-feature-s3ng-storage
|
||||
```
|
||||
|
||||
@@ -230,16 +226,16 @@ Useful environment variables:
|
||||
`BEHAT_FEATURE`: to run a single feature
|
||||
|
||||
{{< hint info >}}
|
||||
A specific scenario from a feature can be run by adding `:<line-number>` at the end of the feature file path. For example, to run the scenario at line 26 of the feature file `apiGraphUser/createUser.feature`, simply add the line number like this: `apiGraphUser/createUser.feature:26`. Note that the line numbers mentioned in the examples might not always point to a scenario, so always check the line numbers before running the test.
|
||||
A specific scenario from a feature can be run by adding `:<line-number>` at the end of the feature file path. For example, to run the scenario at line 26 of the feature file `apiGraphUserGroup/createUser.feature`, simply add the line number like this: `apiGraphUserGroup/createUser.feature:26`. Note that the line numbers mentioned in the examples might not always point to a scenario, so always check the line numbers before running the test.
|
||||
{{< /hint >}}
|
||||
|
||||
> Example:
|
||||
>
|
||||
> BEHAT_FEATURE=tests/acceptance/features/apiGraphUser/createUser.feature
|
||||
> BEHAT_FEATURE=tests/acceptance/features/apiGraphUserGroup/createUser.feature
|
||||
>
|
||||
> Or
|
||||
>
|
||||
> BEHAT_FEATURE=tests/acceptance/features/apiGraphUser/createUser.feature:13
|
||||
> BEHAT_FEATURE=tests/acceptance/features/apiGraphUserGroup/createUser.feature:13
|
||||
|
||||
`BEHAT_SUITE`: to run a single suite
|
||||
|
||||
@@ -339,14 +335,14 @@ While writing tests for a new oCIS ENV configuration, please make sure to follow
|
||||
|
||||
## Running Test Suite With Email Service (@email)
|
||||
|
||||
Test suites that are tagged with `@email` require an email service. We use mailpit as the email service in our tests.
|
||||
Test suites that are tagged with `@email` require an email service. We use inbucket as the email service in our tests.
|
||||
|
||||
### Setup Mailpit
|
||||
### Setup Inbucket
|
||||
|
||||
Run the following command to setup mailpit
|
||||
Run the following command to setup inbucket
|
||||
|
||||
```bash
|
||||
docker run -d --restart unless-stopped --name=mailpit -p 8025:8025 -p 1025:1025 axllent/mailpit:v1.22.3
|
||||
docker run -d -p9000:9000 -p2500:2500 --name inbucket inbucket/inbucket
|
||||
```
|
||||
|
||||
### Run oCIS
|
||||
@@ -362,7 +358,7 @@ ocis/bin/ocis init --insecure true
|
||||
PROXY_ENABLE_BASIC_AUTH=true \
|
||||
OCIS_ADD_RUN_SERVICES=notifications \
|
||||
NOTIFICATIONS_SMTP_HOST=localhost \
|
||||
NOTIFICATIONS_SMTP_PORT=1025 \
|
||||
NOTIFICATIONS_SMTP_PORT=2500 \
|
||||
NOTIFICATIONS_SMTP_INSECURE=true \
|
||||
NOTIFICATIONS_SMTP_SENDER="owncloud <noreply@example.com>" \
|
||||
ocis/bin/ocis server
|
||||
@@ -375,8 +371,8 @@ Run the acceptance test with the following command:
|
||||
```bash
|
||||
TEST_SERVER_URL="https://localhost:9200" \
|
||||
EMAIL_HOST="localhost" \
|
||||
EMAIL_PORT=8025 \
|
||||
BEHAT_FEATURE="tests/acceptance/features/apiNotification/notification.feature" \
|
||||
EMAIL_PORT=9000 \
|
||||
BEHAT_FEATURE="tests/acceptance/features/apiNotification/emailNotification.feature" \
|
||||
make test-acceptance-api
|
||||
```
|
||||
|
||||
@@ -428,7 +424,7 @@ Test suites that are tagged with `@antivirus` require antivirus service. The ava
|
||||
|
||||
#### 1. Setup Locally
|
||||
|
||||
##### Linux OS User
|
||||
##### Linux OS user
|
||||
|
||||
Run the following command to set up calmAV and clamAV daemon
|
||||
|
||||
@@ -446,7 +442,7 @@ sudo service clamav-daemon status
|
||||
The commands are ubuntu specific and may differ according to your system. You can find information related to installation of clamAV in their official documentation [here](https://docs.clamav.net/manual/Installing/Packages.html).
|
||||
{{< /hint>}}
|
||||
|
||||
##### Mac OS User
|
||||
##### Mac OS user
|
||||
|
||||
Install ClamAV using [here](https://gist.github.com/mendozao/3ea393b91f23a813650baab9964425b9)
|
||||
Start ClamAV daemon
|
||||
@@ -457,7 +453,7 @@ Start ClamAV daemon
|
||||
|
||||
#### 2. Setup clamAV With Docker
|
||||
|
||||
##### Linux OS User
|
||||
##### Linux OS user
|
||||
|
||||
Run `clamAV` through docker
|
||||
|
||||
@@ -465,7 +461,7 @@ Run `clamAV` through docker
|
||||
docker run -d -p 3310:3310 owncloudci/clamavd
|
||||
```
|
||||
|
||||
##### Mac OS User
|
||||
##### Mac OS user
|
||||
|
||||
```bash
|
||||
docker run -d -p 3310:3310 -v /your/local/filesystem/path/to/clamav/:/var/lib/clamav mkodockx/docker-clamav:alpine
|
||||
@@ -486,7 +482,7 @@ ANTIVIRUS_SCANNER_TYPE="clamav" \
|
||||
ANTIVIRUS_CLAMAV_SOCKET="tcp://host.docker.internal:3310" \
|
||||
POSTPROCESSING_STEPS="virusscan" \
|
||||
OCIS_ASYNC_UPLOADS=true \
|
||||
OCIS_ADD_RUN_SERVICES="antivirus" \
|
||||
OCIS_ADD_RUN_SERVICES="antivirus"
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
@@ -532,7 +528,7 @@ WEB_UI_CONFIG_FILE="tests/config/local/ocis-web.json" \
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
The first oCIS instance should be available at: <https://localhost:9200/>
|
||||
The first oCIS instance should be available at: https://localhost:9200/
|
||||
|
||||
### Setup Second oCIS Instance
|
||||
|
||||
@@ -542,7 +538,7 @@ You can run the second oCIS instance in two ways:
|
||||
|
||||
From the `Run and Debug` panel of VSCode, select `Fed oCIS Server` and start the debugger.
|
||||
|
||||
#### Using env File
|
||||
#### Using env file
|
||||
|
||||
```bash
|
||||
# init oCIS
|
||||
@@ -552,7 +548,7 @@ source tests/config/local/.env-federation && ocis/bin/ocis init
|
||||
ocis/bin/ocis server
|
||||
```
|
||||
|
||||
The second oCIS instance should be available at: <https://localhost:10200/>
|
||||
The second oCIS instance should be available at: https://localhost:10200/
|
||||
|
||||
{{< hint info >}}
|
||||
To enable ocm in the web interface, you need to set the following envs:
|
||||
@@ -588,43 +584,3 @@ The sample `fontsMap.json` file is located in `tests/config/drone/fontsMap.json`
|
||||
"defaultFont": "/path/to/ocis/tests/config/drone/NotoSans.ttf"
|
||||
}
|
||||
```
|
||||
|
||||
## Running Test on Helm Setup
|
||||
|
||||
Refer to the [Running API Tests in Kubernetes Cluster](../../../tests/config/k8s/README.md) documentation for running tests against a K8s setup.
|
||||
|
||||
## Generating Code Coverage Report by Running Acceptance Tests
|
||||
|
||||
To find out what oCIS code is covered by the API tests, first create a debug build of oCIS.
|
||||
|
||||
```shell
|
||||
make -c ocis build-debug
|
||||
```
|
||||
|
||||
oCIS should be served by the debug binary.
|
||||
|
||||
```shell
|
||||
ocis/bin/ocis-debug server
|
||||
```
|
||||
|
||||
Then define a folder to store the coverage report.
|
||||
|
||||
```shell
|
||||
export GOCOVERDIR=coveragedatafiles
|
||||
```
|
||||
|
||||
Running the tests will generate the coverage report inside the `coveragedatafiles` directory.
|
||||
|
||||
To view the report in human readable form, enter the following command or refer to the official [documentation](https://go.dev/doc/build-cover#working) for more formats.
|
||||
|
||||
```
|
||||
go tool covdata textfmt -i=coveragedatafiles -o=cov.txt
|
||||
```
|
||||
|
||||
You can also view the report in a web UI using the following command.
|
||||
|
||||
```
|
||||
go tool cover -html=cov.txt
|
||||
```
|
||||
|
||||
This command should open a browser with the code report.
|
||||
@@ -324,8 +324,8 @@ import (
|
||||
"time"
|
||||
|
||||
|
||||
"github.com/owncloud/reva/v2/pkg/rgrpc/todo/pool"
|
||||
cs3mocks "github.com/owncloud/reva/v2/tests/cs3mocks/mocks"
|
||||
"github.com/cs3org/reva/v2/pkg/rgrpc/todo/pool"
|
||||
cs3mocks "github.com/cs3org/reva/v2/tests/cs3mocks/mocks"
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
"google.golang.org/grpc"
|
||||
|
||||
@@ -18,6 +18,5 @@ These guides should extend the generic documentation and help admins to learn In
|
||||
|
||||
oCIS deployments are super simple, yet there are many configurations possible for advanced setups.
|
||||
|
||||
- {{< icon "docker" >}} [Minimalistic Evaluation Guide for oCIS with Docker]({{< ref "ocis-mini-eval" >}}) - minimalistic evaluation
|
||||
- {{< icon "docker" >}} [Discover oCIS with Docker]({{< ref "ocis-local-docker" >}}) - configure domain, certificates and port
|
||||
- {{< icon "person-walking-luggage" >}} [Migrate data to Infinite Scale]({{< ref "migrate-data-rclone" >}})
|
||||
@@ -1,434 +0,0 @@
|
||||
---
|
||||
title: "Building oCIS Web Extensions with AI-Assisted Development"
|
||||
date: 2026-01-21T16:00:00+02:00
|
||||
weight: 9
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/guides
|
||||
geekdocFilePath: ai_assisted_dev.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Introduction
|
||||
|
||||
This guide demonstrates how to build Infinite Scale (oCIS) web extensions using AI-assisted development (sometimes called "vibe coding") with Claude AI. By following this approach, review-ready extensions can be created without writing code manually—the AI handles syntax, boilerplate, and implementation while the developer focuses on architecture and user experience.
|
||||
|
||||
**What you'll learn:**
|
||||
- Setting up MCP connectors so Claude can access your server
|
||||
- Using Claude to install development tools and manage your environment
|
||||
- The five-phase workflow for AI-assisted extension development
|
||||
- Practical tips for supervising AI-generated code
|
||||
- How to contribute extensions back to the oCIS community
|
||||
|
||||
**Time investment:** ~10-14 hours per extension (concept to review-ready)
|
||||
|
||||
**Cost:** ~$100 USD for two extensions (using the Claude Max subscription)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before starting, ensure you have the following:
|
||||
|
||||
- A running oCIS instance, see the [Admin Docs](https://doc.owncloud.com/ocis/latest/depl-examples/ubuntu-compose/ubuntu-compose-prod.html) for a deployment example
|
||||
- [Claude Max subscription](https://claude.com/pricing/max) (starts with $100 US/month at the time of writing, other plans availabe)
|
||||
- SSH access to your server (for MCP connectivity)
|
||||
- Full root access to the server unless Claude Code, Claude MCP connector, oCIS and other tools all run as another user
|
||||
|
||||
That's it. Claude will help install everything else.
|
||||
|
||||
## Step 1: Configure MCP Connector
|
||||
|
||||
{{< hint type=important title="This Is the Hardest Part" >}}
|
||||
Setting up the MCP connector is the most challenging step. Once this is done, Claude handles everything else—including installing development tools, managing git, and building extensions.
|
||||
{{< /hint >}}
|
||||
|
||||
MCP (Model Context Protocol) allows Claude to connect directly to a server, enabling both the Claude web interface and Claude Code to access files, run commands, and debug oCIS deployments.
|
||||
|
||||
### Installation
|
||||
|
||||
Follow the official MCP documentation to set up a connector:
|
||||
|
||||
- **[MCP Quickstart Guide](https://modelcontextprotocol.io/quickstart)**
|
||||
- **[Connect to Local Servers](https://modelcontextprotocol.io/docs/develop/connect-local-servers)**
|
||||
- **[Claude Desktop MCP Setup](https://support.claude.com/en/articles/10949351-getting-started-with-local-mcp-servers-on-claude-desktop)**
|
||||
|
||||
### Verify Connection
|
||||
|
||||
Once configured, verify Claude can access the server by asking:
|
||||
|
||||
```text
|
||||
Can you list the contents of /home on my server?
|
||||
```
|
||||
|
||||
If Claude successfully lists directories, proceed to the next step.
|
||||
|
||||
## Step 2: Let Claude Set Up Your Environment
|
||||
|
||||
With MCP connected, Claude can install the development tools needed. Simply ask:
|
||||
|
||||
```text
|
||||
Please install Claude Code and Git on my server. I'll need these for
|
||||
developing an oCIS web extension.
|
||||
```
|
||||
|
||||
Claude will:
|
||||
- Detect the operating system
|
||||
- Install Claude Code using the appropriate method
|
||||
- Install Git if not already present
|
||||
- Configure any necessary paths or permissions
|
||||
|
||||
## The Five-Phase Workflow
|
||||
|
||||
This workflow has been refined over several projects and consistently produces review-ready code.
|
||||
|
||||
### Phase 1: Architecture (~15-30 minutes)
|
||||
|
||||
Start in the Claude web interface (not Claude Code). Describe the project and have a conversation:
|
||||
|
||||
```text
|
||||
I want to build an oCIS web extension that displays photos in a timeline
|
||||
grouped by their EXIF capture date. It should have infinite scroll starting
|
||||
from today and going backwards, show camera metadata when you click on a photo,
|
||||
and include an interactive map view showing where photos were taken.
|
||||
|
||||
What questions do you have about the requirements?
|
||||
```
|
||||
|
||||
Claude will ask clarifying questions about scope, user experience, and technical constraints. This back-and-forth shapes the architecture before any code is written.
|
||||
|
||||
### Phase 2: Deep Research (~30 minutes)
|
||||
|
||||
Ask Claude to research the existing oCIS architecture:
|
||||
|
||||
```text
|
||||
Please research how oCIS web extensions work. I need to understand:
|
||||
- The extension manifest format
|
||||
- How extensions integrate with the oCIS web UI
|
||||
- What APIs are available (Graph API, WebDAV, etc.)
|
||||
- How existing extensions like json-viewer are structured
|
||||
- The AMD module format requirements
|
||||
|
||||
Examine the oCIS documentation and existing extensions to synthesise
|
||||
a technical approach for my photo gallery extension.
|
||||
```
|
||||
|
||||
Claude reads documentation, examines code patterns, and produces an architectural plan.
|
||||
|
||||
### Phase 3: Scaffolding (~15 minutes)
|
||||
|
||||
Ask Claude to create the project structure on the server:
|
||||
|
||||
```text
|
||||
Please create the project structure for my photo-addon extension:
|
||||
- Git repository initialised
|
||||
- Build configuration (Vite with AMD output)
|
||||
- TypeScript configuration
|
||||
- manifest.json for oCIS
|
||||
- Basic Vue 3 component structure
|
||||
- A starter CLAUDE.md file documenting the project for future sessions
|
||||
```
|
||||
|
||||
By the end of this phase, a working (empty) extension exists.
|
||||
|
||||
### Phase 4: Implementation (~5-6 hours)
|
||||
|
||||
Login to the server and change to the folder where the new project was created, then run:
|
||||
|
||||
```text
|
||||
claude "Please review the CLAUDE.md project file, build the web extension,
|
||||
and deploy it to our server. Install and configure any dependencies required.
|
||||
Use 'sudo' where needed to modify or configure the oCIS environment."
|
||||
```
|
||||
Once complete, work through features incrementally. Example prompts:
|
||||
|
||||
**Feature requests:**
|
||||
|
||||
```text
|
||||
Please adjust the logic to start by searching for today's date (unless
|
||||
overwritten by the dropdowns at the top), then display them on the screen.
|
||||
If the images don't fill the screen, load up another day, until the screen
|
||||
is filled plus some buffer. Then when I scroll, bring in more images.
|
||||
```
|
||||
|
||||
```text
|
||||
In the map view, when I hover over a dot, the thumbnail shows up above
|
||||
off the screen. Can you fix the positioning?
|
||||
```
|
||||
|
||||
**Bug fixes:**
|
||||
|
||||
```text
|
||||
I'm seeing this error in the console:
|
||||
[paste error here]
|
||||
|
||||
Can you investigate and fix it?
|
||||
```
|
||||
|
||||
### Phase 5: Polish (~3 hours)
|
||||
|
||||
Once core features work, request comprehensive cleanup:
|
||||
|
||||
**Performance optimisation:**
|
||||
|
||||
```text
|
||||
Are there any performance improvements that we can make?
|
||||
```
|
||||
|
||||
**Bug hunting:**
|
||||
|
||||
```text
|
||||
Are there any memory leaks or bugs that can be found?
|
||||
```
|
||||
|
||||
**Code quality:**
|
||||
|
||||
```text
|
||||
Are there any inefficiencies we can improve on? Unused variables?
|
||||
Duplicate functions? Excessive if statements? Overwriting CSS styles?
|
||||
Overly complex logic?
|
||||
```
|
||||
|
||||
**Error handling:**
|
||||
|
||||
```text
|
||||
Are there any error handling gaps or functions that may fall through
|
||||
without handling all scenarios?
|
||||
```
|
||||
|
||||
**Documentation:**
|
||||
|
||||
```text
|
||||
Are there any missing comments? Or complex code that could use
|
||||
clear documentation?
|
||||
```
|
||||
|
||||
**Internationalisation:**
|
||||
|
||||
```text
|
||||
Are there any visible text strings that are not yet set up for translation?
|
||||
```
|
||||
|
||||
**Comprehensive cleanup:**
|
||||
|
||||
```text
|
||||
Pulling from the backlog list, can you do a good code refactor to simplify,
|
||||
add all required unit tests, and add i18n support, then commit and push the
|
||||
code with the right comments.
|
||||
```
|
||||
|
||||
## Active Supervision
|
||||
|
||||
{{< hint type=warning title="This is NOT 'Set It and Forget It'" >}}
|
||||
While no coding is required, this approach demands active supervision. Developers cannot simply give Claude a prompt and walk away.
|
||||
{{< /hint >}}
|
||||
|
||||
### When to Intervene
|
||||
|
||||
There are times when Claude Code may:
|
||||
- Deviate from requirements (with good intentions)
|
||||
- Undo something it had just done
|
||||
- Go down a path that doesn't match the architecture
|
||||
|
||||
The decisions are always logical, but sometimes the harder path is required. Expect to intervene and redirect approximately ~5% of the time.
|
||||
|
||||
**Watch for:**
|
||||
- Changes that don't match architectural decisions
|
||||
- Unnecessary complexity being added
|
||||
- Repeated undo/redo cycles
|
||||
- Deviation from oCIS extension patterns
|
||||
|
||||
### Code Cleanup Is Essential
|
||||
|
||||
AI-generated code works, but it can accumulate:
|
||||
- Redundant logic
|
||||
- Unused variables
|
||||
- Overly complex conditionals
|
||||
- Duplicate CSS styles
|
||||
- Missing good practice for the orders of directives
|
||||
- Missing the definition of required interactive handlers
|
||||
|
||||
When submitting a pull request (PR), issues highlighted during CI steps, such as linting, can be resolved by explicitly asking for code refactoring and optimisation.
|
||||
|
||||
### UI Testing Is Manual
|
||||
|
||||
The AI can write unit tests, but exploratory testing requires human judgment:
|
||||
- Click around the interface
|
||||
- Try unexpected inputs
|
||||
- Test with different user accounts (search in oCIS is space-scoped!)
|
||||
- Check mobile layouts
|
||||
- Look for edge cases
|
||||
|
||||
## Debugging Techniques
|
||||
|
||||
When issues arise, these techniques help Claude understand and fix problems:
|
||||
|
||||
### Console Output
|
||||
|
||||
Open Chrome DevTools, copy console errors, and paste into Claude:
|
||||
|
||||
```text
|
||||
I'm seeing this error in the console:
|
||||
[paste error here]
|
||||
|
||||
Can you investigate and fix it?
|
||||
```
|
||||
|
||||
### HAR Files
|
||||
|
||||
For performance issues, export HAR files (network traffic captures):
|
||||
|
||||
1. Open DevTools > Network tab
|
||||
2. Reproduce the issue
|
||||
3. Right-click > Save all as HAR
|
||||
4. Share the HAR file with Claude for analysis
|
||||
|
||||
### HTML/CSS Inspection
|
||||
|
||||
Copy specific HTML/CSS snippets from DevTools:
|
||||
|
||||
```text
|
||||
The thumbnail hover popup is positioned incorrectly. Here's the current
|
||||
CSS and HTML structure:
|
||||
[paste code here]
|
||||
|
||||
Can you fix the positioning so the popup appears above the cursor
|
||||
but stays within the viewport?
|
||||
```
|
||||
|
||||
{{< hint type=tip title="Chrome Extension Limitations" >}}
|
||||
Claude has a Chrome extension, but it may be limited for this use case. Manually copying console output and HTML/CSS snippets into Claude is often more effective.
|
||||
{{< /hint >}}
|
||||
|
||||
## Example Web Extensions Built with This Approach
|
||||
|
||||
### Photo Gallery Extension (web-app-photo-addon)
|
||||
|
||||
Features:
|
||||
- **Timeline View**: Photos grouped by EXIF capture date with infinite scroll
|
||||
- **Pinch-to-zoom calendar**: Navigate between day, month, and year views
|
||||
- **EXIF Metadata Panel**: Camera make/model, aperture, ISO, focal length
|
||||
- **Map View**: Interactive Leaflet map with marker clustering
|
||||
- **Lightbox**: Full-screen viewer with keyboard navigation
|
||||
|
||||
Tech stack: Vue 3 Composition API, TypeScript, Leaflet.js, AMD module format
|
||||
|
||||
### Advanced Search Extension (web-app-advanced-search)
|
||||
|
||||
Features:
|
||||
- **Photo Metadata Filters**: Search by camera, date range, aperture, ISO
|
||||
- **Filter Chips**: Visual indicators with one-click removal
|
||||
- **Search Saving**: Save and retrieve search queries
|
||||
- **KQL Search**: Direct advanced query editing
|
||||
- **Index Statistics**: View indexing status and configuration
|
||||
|
||||
### Backend Changes in oCIS
|
||||
|
||||
To enable photo metadata search, changes were contributed to oCIS core:
|
||||
- Photo field mappings in the KQL parser
|
||||
- `Store=true` configuration in Bleve for field retrieval
|
||||
- WebDAV properties for photo metadata
|
||||
|
||||
This was the trickiest part—understanding why searches returned empty results. The answer: Bleve was indexing fields but not storing them for retrieval.
|
||||
|
||||
## Tips for oCIS Development
|
||||
|
||||
### 1. Start with Conversation, Then Architecture
|
||||
|
||||
Don't jump straight into implementation. Spend ~30-60 minutes in regular chat, discussing the problem space and having Claude research the codebase. Those early conversations shape the architecture that makes implementation smooth.
|
||||
|
||||
### 2. Work Incrementally
|
||||
|
||||
Ask for one feature at a time. Get it working, then move to the next. This creates natural checkpoints and makes debugging much easier.
|
||||
|
||||
### 3. Use Browser DevTools Liberally
|
||||
|
||||
Console errors, network requests, and performance profiles are incredibly valuable context. Copy and paste them into AI conversations.
|
||||
|
||||
### 4. Understand oCIS Extension Requirements
|
||||
|
||||
Extensions must:
|
||||
- Use CJS module format (not ES modules)
|
||||
- Have a proper `manifest.json`
|
||||
- Use the oCIS web SDK for API access
|
||||
|
||||
Claude learns these constraints during the research phase and applies them consistently.
|
||||
|
||||
### 5. Test with Multiple Accounts
|
||||
|
||||
Search in oCIS is space-scoped. What works for an admin account might not work for regular users.
|
||||
|
||||
### 6. Read Maintainer Feedback Carefully
|
||||
|
||||
PR reviews teach things no documentation mentions. The oCIS team's suggestions can significantly improve code quality.
|
||||
|
||||
## Contributing to oCIS or web-extensions
|
||||
|
||||
Once a web-extension is ready, Claude can handle the entire contribution workflow:
|
||||
|
||||
- Install and configure Git
|
||||
- Create forks of the oCIS repositories
|
||||
- Create feature branches
|
||||
- Generate commits with appropriate messages
|
||||
- Push changes to GitHub
|
||||
- Create pull requests with descriptions and screenshots
|
||||
|
||||
Example prompts:
|
||||
|
||||
```text
|
||||
Please fork the owncloud/web-extensions repository to my GitHub account
|
||||
and clone it to my server.
|
||||
```
|
||||
|
||||
```text
|
||||
Create a new branch called feat/web-app-photo-addon and commit our
|
||||
extension with an appropriate commit message.
|
||||
```
|
||||
|
||||
```text
|
||||
Please create a pull request for our photo-addon extension. Include
|
||||
screenshots from the /screenshots directory and a clear description
|
||||
of what the extension does.
|
||||
```
|
||||
|
||||
**Contributions made by this approach:**
|
||||
- **oCIS core**: Photo metadata search backend
|
||||
- **web-extensions**: Photo gallery extension
|
||||
- **web-extensions**: Advanced search extension
|
||||
|
||||
{{< hint type=note title="CLA Requirement" >}}
|
||||
Contributors need to sign the ownCloud Contributor License Agreement (CLA) for PRs to be accepted. Claude can help find the CLA link and explain the process.
|
||||
{{< /hint >}}
|
||||
|
||||
## Notes
|
||||
|
||||
Additional steps can be required in the oCIS repository for changes in the web-extensions repository, in particular:
|
||||
|
||||
- If the web extension requires it, add proposals to the back-end code in the oCIS codebase.
|
||||
- In order to make the new web extension more easily accessible to the public, the `ocis_full` deployment example in the oCIS repository should be updated. The new oCIS version will then reference it automatically and the documentation team will update the release notes and documentation accordingly.
|
||||
|
||||
## Summary
|
||||
|
||||
Using this approach, complete web-extensions can be built without writing code manually. No git commands need to be typed manually. No pnpm commands either.
|
||||
|
||||
Every commit, every push, every PR—all generated through AI assistance. The backend changes to oCIS core were approved and merged. The web-extensions demonstrate the viability of this development approach.
|
||||
|
||||
The barrier to entry for meaningful open source contribution is significantly lower with AI-assisted development. For those interested in contributing to oCIS but feeling intimidated by the codebase, this approach is worth considering.
|
||||
|
||||
Please note that, as with all contributions, this approach requires a full review process from the code maintainers, with iterations required to finalise all steps. To ensure stability and maintainability, all feedback must be incorporated into the proposed changes.
|
||||
|
||||
---
|
||||
|
||||
## Resources
|
||||
|
||||
| Resource | URL |
|
||||
|----------|-----|
|
||||
| MCP Quickstart | https://modelcontextprotocol.io/quickstart |
|
||||
| MCP Local Servers | https://modelcontextprotocol.io/docs/develop/connect-local-servers |
|
||||
| Claude Desktop MCP | https://support.claude.com/en/articles/10949351-getting-started-with-local-mcp-servers-on-claude-desktop |
|
||||
| oCIS Web Extensions | https://github.com/owncloud/web-extensions |
|
||||
| oCIS Admin Documentation | https://doc.owncloud.com/ocis/ |
|
||||
| oCIS Developer Documentation | https://owncloud.dev |
|
||||
---
|
||||
|
||||
*This guide was written with AI assistance and reviewed by the ownCloud documentation team for accuracy.*
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
---
|
||||
title: "Migrate Data using rclone"
|
||||
date: 2020-06-12T14:35:00+01:00
|
||||
weight: 10
|
||||
weight: 8
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/guides
|
||||
geekdocFilePath: migrate-data-rclone.md
|
||||
|
||||
@@ -46,25 +46,10 @@ services:
|
||||
OCIS_LOG_LEVEL: info
|
||||
```
|
||||
|
||||
### Prepare Paths
|
||||
|
||||
Create directories if not exists:
|
||||
|
||||
```bash
|
||||
mkdir -p $(pwd)/ocis-config \
|
||||
mkdir -p $(pwd)/ocis-data
|
||||
```
|
||||
|
||||
|
||||
Set the user for the directories to be the same as the user inside the container:
|
||||
|
||||
```bash
|
||||
sudo chown -Rfv 1000:1000 $(pwd)/ocis-config/ \
|
||||
sudo chown -Rfv 1000:1000 $(pwd)/ocis-data
|
||||
```
|
||||
|
||||
### Initialize
|
||||
|
||||
Run ocis init to create a config
|
||||
|
||||
```bash
|
||||
docker run --rm -it -v $(pwd):/etc/ocis/ owncloud/ocis:latest init
|
||||
```
|
||||
|
||||
@@ -1,103 +0,0 @@
|
||||
---
|
||||
title: "Minimalistic Evaluation Guide for oCIS with Docker"
|
||||
date: 2025-05-08T16:00:00+02:00
|
||||
weight: 7
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/guides
|
||||
geekdocFilePath: ocis-mini-eval.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
**IMPORTANT** This type of installation is **ONLY** intended for a quick evaluation and to access the instance from your local machine using internal certificates only. We recommend using test data only for this evaluation.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
As a prerequisite, we assume you have Docker installed locally on a machine that has a GUI. A headless one will not work. You know how to use Docker commands and what they mean. This guide is not intended to be a detailed explanation.
|
||||
|
||||
## What you can Expect
|
||||
|
||||
By passing the commands as described, you will be able to get a very first look and feel of Infinite Scale, which can be accessed from your browser using `localhost`.
|
||||
|
||||
## Setup Procedure
|
||||
|
||||
The setup process is quite simple and is done from a terminal.
|
||||
|
||||
### Prepare Paths
|
||||
|
||||
Create directories if not exists:
|
||||
|
||||
```bash
|
||||
mkdir -p $HOME/ocis/ocis-config \
|
||||
mkdir -p $HOME/ocis/ocis-data
|
||||
```
|
||||
|
||||
Set the user for the directories to be the same as the user inside the container:
|
||||
|
||||
```bash
|
||||
sudo chown -Rfv 1000:1000 $HOME/ocis/
|
||||
```
|
||||
|
||||
### Pull the Image
|
||||
|
||||
```bash
|
||||
docker pull owncloud/ocis
|
||||
```
|
||||
|
||||
### First Time Initialisation
|
||||
|
||||
```bash
|
||||
docker run --rm -it \
|
||||
--mount type=bind,source=$HOME/ocis/ocis-config,target=/etc/ocis \
|
||||
--mount type=bind,source=$HOME/ocis/ocis-data,target=/var/lib/ocis \
|
||||
owncloud/ocis init --insecure yes
|
||||
```
|
||||
|
||||
You will get an output like the following:
|
||||
|
||||
```txt {hl_lines=[6]}
|
||||
=========================================
|
||||
generated OCIS Config
|
||||
=========================================
|
||||
configpath : /etc/ocis/ocis.yaml
|
||||
user : admin
|
||||
password : t3p4N0jJ47LbhpQ04s9W%u1$d2uE3Y.3
|
||||
```
|
||||
|
||||
Note that the password displayed is the one that will be used when you first log in or until it is changed.
|
||||
|
||||
### Recurring Start of Infinite Scale
|
||||
|
||||
```bash
|
||||
docker run \
|
||||
--name ocis_runtime \
|
||||
--rm \
|
||||
-it \
|
||||
-p 9200:9200 \
|
||||
--mount type=bind,source=$HOME/ocis/ocis-config,target=/etc/ocis \
|
||||
--mount type=bind,source=$HOME/ocis/ocis-data,target=/var/lib/ocis \
|
||||
-e OCIS_INSECURE=true \
|
||||
-e PROXY_HTTP_ADDR=0.0.0.0:9200 \
|
||||
-e OCIS_URL=https://localhost:9200 \
|
||||
owncloud/ocis
|
||||
```
|
||||
|
||||
## Access Infinite Scale with the Browser
|
||||
|
||||
To access Infinite Scale, open your browser and type as url:
|
||||
|
||||
```
|
||||
https://localhost:9200
|
||||
```
|
||||
|
||||
## Remove the Evaluation
|
||||
|
||||
```bash
|
||||
sudo docker rmi owncloud/ocis \
|
||||
sudo rm -r $HOME/ocis
|
||||
```
|
||||
|
||||
## Next Steps
|
||||
|
||||
After evaluation, we strongly recommend that you use the [Install Infinite Scale on a Server](https://doc.owncloud.com/ocis/next/depl-examples/ubuntu-compose/ubuntu-compose-prod.html) documentation which is ready for production and remove this evaluation setup completely.
|
||||
+67
-58
@@ -13,65 +13,74 @@ This page is designed to provide clarity and transparency regarding the scheduli
|
||||
|
||||
## Dates
|
||||
|
||||
Note that Version and Notes tagged with UNRELEASED are only prepared and cannot be resolved by design.
|
||||
<!-- https://www.tablesgenerator.com/markdown_tables -->
|
||||
|
||||
| Release Date | Type | Version | Notes |
|
||||
|----------------|----------------|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|
|
||||
| UNRELEASED | **Production** | **[Infinite Scale 7 (7.1.0)](https://download.owncloud.com/ocis/ocis/stable/7.1.0/)** | **[Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-7-1-0-production)** |
|
||||
| 07.02.2025 | **Production** | **[Infinite Scale 7 (7.0.1)](https://download.owncloud.com/ocis/ocis/stable/7.0.1/)** | **[Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-7-0-1-production)** |
|
||||
| 07.02.2025 | Rolling | [Infinite Scale 6 (6.5.1)](https://download.owncloud.com/ocis/ocis/rolling/6.5.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-5-1-rolling) |
|
||||
| **17.12.2024** | **Production** | **[Infinite Scale 7 (7.0.0)](https://download.owncloud.com/ocis/ocis/stable/7.0.0/)** | **[Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-7-0-0-production)** |
|
||||
| **14.11.2024** | **Production** | **[Infinite Scale 5 (5.0.9)](https://download.owncloud.com/ocis/ocis/stable/5.0.9/)** | **[Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-9-production)** |
|
||||
| 24.10.2024 | Rolling | [Infinite Scale 6 (6.6.1)](https://download.owncloud.com/ocis/ocis/rolling/6.6.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-6-1-rolling) |
|
||||
| 22.10.2024 | Rolling | [Infinite Scale 6 (6.6.0)](https://download.owncloud.com/ocis/ocis/rolling/6.6.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-6-0-rolling) |
|
||||
| 01.10.2024 | Rolling | [Infinite Scale 6 (6.5.0)](https://download.owncloud.com/ocis/ocis/rolling/6.5.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-5-0-rolling) |
|
||||
| 30.09.2024 | Production | [Infinite Scale 5 (5.0.8)](https://download.owncloud.com/ocis/ocis/stable/5.0.8/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-8-production) |
|
||||
| 12.09.2024 | Rolling | [Infinite Scale 6 (6.4.0)](https://download.owncloud.com/ocis/ocis/rolling/6.4.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-4-0-rolling) |
|
||||
| 04.09.2024 | Production | [Infinite Scale 5 (5.0.7)](https://download.owncloud.com/ocis/ocis/stable/5.0.7/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-7-production) |
|
||||
| 19.08.2024 | Rolling | [Infinite Scale 6 (6.3.0)](https://download.owncloud.com/ocis/ocis/rolling/6.3.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-3-0-rolling) |
|
||||
| 30.07.2024 | Rolling | [Infinite Scale 6 (6.2.0)](https://download.owncloud.com/ocis/ocis/rolling/6.2.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-2-0-rolling) |
|
||||
| 08.07.2024 | Rolling | [Infinite Scale 6 (6.1.0)](https://download.owncloud.com/ocis/ocis/rolling/6.1.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-1-0-rolling) |
|
||||
| 19.06.2024 | Rolling | [Infinite Scale 6 (6.0.0)](https://download.owncloud.com/ocis/ocis/rolling/6.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-0-0-rolling) |
|
||||
| 17.07.2024 | Production | [Infinite Scale 5 (5.0.6)](https://download.owncloud.com/ocis/ocis/stable/5.0.6/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-6) |
|
||||
| 22.05.2024 | Production | [Infinite Scale 5 (5.0.5)](https://download.owncloud.com/ocis/ocis/stable/5.0.5/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-5) |
|
||||
| 14.05.2024 | Production | [Infinite Scale 5 (5.0.4)](https://download.owncloud.com/ocis/ocis/stable/5.0.4/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-4) |
|
||||
| 02.05.2024 | Production | [Infinite Scale 5 (5.0.3)](https://download.owncloud.com/ocis/ocis/stable/5.0.3/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-3) |
|
||||
| 17.04.2024 | Production | [Infinite Scale 5 (5.0.2)](https://download.owncloud.com/ocis/ocis/stable/5.0.2/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-2) |
|
||||
| 11.04.2024 | Production | [Infinite Scale 5 (5.0.1)](https://download.owncloud.com/ocis/ocis/stable/5.0.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-1) |
|
||||
| 18.03.2024 | Production | [Infinite Scale 5 (5.0.0)](https://download.owncloud.com/ocis/ocis/stable/5.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-0) |
|
||||
| 27.03.2024 | Production | [Infinite Scale 4 (4.0.7)](https://download.owncloud.com/ocis/ocis/stable/4.0.7/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-7) |
|
||||
| 07.02.2024 | Production | [Infinite Scale 4 (4.0.6)](https://download.owncloud.com/ocis/ocis/stable/4.0.6/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-6) |
|
||||
| 21.12.2023 | Production | [Infinite Scale 4 (4.0.5)](https://download.owncloud.com/ocis/ocis/stable/4.0.5/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-5) |
|
||||
| 07.12.2023 | Production | [Infinite Scale 4 (4.0.4)](https://download.owncloud.com/ocis/ocis/stable/4.0.4/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-4) |
|
||||
| 24.11.2023 | Production | [Infinite Scale 4 (4.0.3)](https://download.owncloud.com/ocis/ocis/stable/4.0.3/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-3) |
|
||||
| 06.10.2023 | Production | [Infinite Scale 4 (4.0.2)](https://download.owncloud.com/ocis/ocis/stable/4.0.2/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-2) |
|
||||
| 01.09.2023 | Production | [Infinite Scale 4 (4.0.1)](https://download.owncloud.com/ocis/ocis/stable/4.0.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-1) |
|
||||
| 25.08.2023 | Production | [Infinite Scale 4 (4.0.0)](https://download.owncloud.com/ocis/ocis/stable/4.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-0) |
|
||||
| 07.06.2023 | Production | [Infinite Scale 3 (3.0.0)](https://download.owncloud.com/ocis/ocis/stable/3.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-3-0-0) |
|
||||
| 30.11.2022 | Production | [Infinite Scale 2 (2.0.0)](https://download.owncloud.com/ocis/ocis/stable/2.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-2-0-0) |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.9.0)](https://download.owncloud.com/ocis/ocis/stable/1.9.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.8.0)](https://download.owncloud.com/ocis/ocis/stable/1.8.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.7.0)](https://download.owncloud.com/ocis/ocis/stable/1.7.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.6.0)](https://download.owncloud.com/ocis/ocis/stable/1.6.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.5.0)](https://download.owncloud.com/ocis/ocis/stable/1.5.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.4.0)](https://download.owncloud.com/ocis/ocis/stable/1.4.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.3.0)](https://download.owncloud.com/ocis/ocis/stable/1.3.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) |
|
||||
| 13.04.2022 | Beta | [Infinite Scale 1 (1.20.0)](https://download.owncloud.com/ocis/ocis/stable/1.20.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.2.0)](https://download.owncloud.com/ocis/ocis/stable/1.2.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 05.04.2022 | Tech Preview | [Infinite Scale 1 (1.19.1)](https://download.owncloud.com/ocis/ocis/stable/1.19.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 05.04.2022 | Tech Preview | [Infinite Scale 1 (1.19.0)](https://download.owncloud.com/ocis/ocis/stable/1.19.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.18.0)](https://download.owncloud.com/ocis/ocis/stable/1.18.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.17.0)](https://download.owncloud.com/ocis/ocis/stable/1.17.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.16.0)](https://download.owncloud.com/ocis/ocis/stable/1.16.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.15.0)](https://download.owncloud.com/ocis/ocis/stable/1.15.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.14.0)](https://download.owncloud.com/ocis/ocis/stable/1.14.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.13.0)](https://download.owncloud.com/ocis/ocis/stable/1.13.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.12.0)](https://download.owncloud.com/ocis/ocis/stable/1.12.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.11.0)](https://download.owncloud.com/ocis/ocis/stable/1.11.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.10.0)](https://download.owncloud.com/ocis/ocis/stable/1.10.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.1.0)](https://download.owncloud.com/ocis/ocis/stable/1.1.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.0.06)](https://download.owncloud.com/ocis/ocis/stable/1.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) |
|
||||
| Release Date | Type | Version | Notes | Support |
|
||||
|----------------|----------------|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|--------------------|
|
||||
| 22.09.2025 | Production | - | - | - |
|
||||
| 01.09.2025 | Rolling | - | - | - |
|
||||
| 11.08.2025 | Rolling | - | - | - |
|
||||
| 21.07.2025 | Rolling | - | - | - |
|
||||
| 30.06.2025 | Rolling | - | - | - |
|
||||
| 09.06.2025 | Rolling | - | - | - |
|
||||
| 19.05.2025 | Rolling | - | - | - |
|
||||
| 28.04.2025 | Rolling | - | - | - |
|
||||
| 17.03.2025 | Production | - | - | - |
|
||||
| 24.02.2025 | Rolling | - | - | - |
|
||||
| 03.02.2025 | Rolling | - | - | - |
|
||||
| 13.01.2025 | Rolling | - | - | - |
|
||||
| 02.12.2024 | Rolling | - | - | - |
|
||||
| 11.11.2024 | Production | - | - | - |
|
||||
| **14.11.2024** | **Production** | **[Infinite Scale 5 (5.0.9)](https://download.owncloud.com/ocis/ocis/stable/5.0.9/)** | **[Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-9-production)** | **Active Support** |
|
||||
| 24.10.2024 | Rolling | [Infinite Scale 6 (6.6.1)](https://download.owncloud.com/ocis/ocis/rolling/6.6.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-6-1-rolling) | - |
|
||||
| 22.10.2024 | Rolling | [Infinite Scale 6 (6.6.0)](https://download.owncloud.com/ocis/ocis/rolling/6.6.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-6-0-rolling) | - |
|
||||
| 01.10.2024 | Rolling | [Infinite Scale 6 (6.5.0)](https://download.owncloud.com/ocis/ocis/rolling/6.5.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-5-0-rolling) | - |
|
||||
| 30.09.2024 | Production | [Infinite Scale 5 (5.0.8)](https://download.owncloud.com/ocis/ocis/stable/5.0.8/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-8-production) | Active Support |
|
||||
| 12.09.2024 | Rolling | [Infinite Scale 6 (6.4.0)](https://download.owncloud.com/ocis/ocis/rolling/6.4.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-4-0-rolling) | - |
|
||||
| 04.09.2024 | Production | [Infinite Scale 5 (5.0.7)](https://download.owncloud.com/ocis/ocis/stable/5.0.7/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-7-production) | Active Support |
|
||||
| 19.08.2024 | Rolling | [Infinite Scale 6 (6.3.0)](https://download.owncloud.com/ocis/ocis/rolling/6.3.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-3-0-rolling) | - |
|
||||
| 30.07.2024 | Rolling | [Infinite Scale 6 (6.2.0)](https://download.owncloud.com/ocis/ocis/rolling/6.2.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-2-0-rolling) | - |
|
||||
| 08.07.2024 | Rolling | [Infinite Scale 6 (6.1.0)](https://download.owncloud.com/ocis/ocis/rolling/6.1.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-1-0-rolling) | - |
|
||||
| 19.06.2024 | Rolling | [Infinite Scale 6 (6.0.0)](https://download.owncloud.com/ocis/ocis/rolling/6.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-0-0-rolling) | - |
|
||||
| 17.07.2024 | Production | [Infinite Scale 5 (5.0.6)](https://download.owncloud.com/ocis/ocis/stable/5.0.6/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-6) | Active Support |
|
||||
| 22.05.2024 | Production | [Infinite Scale 5 (5.0.5)](https://download.owncloud.com/ocis/ocis/stable/5.0.5/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-5) | Active Support |
|
||||
| 14.05.2024 | Production | [Infinite Scale 5 (5.0.4)](https://download.owncloud.com/ocis/ocis/stable/5.0.4/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-4) | Active Support |
|
||||
| 02.05.2024 | Production | [Infinite Scale 5 (5.0.3)](https://download.owncloud.com/ocis/ocis/stable/5.0.3/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-3) | Active Support |
|
||||
| 17.04.2024 | Production | [Infinite Scale 5 (5.0.2)](https://download.owncloud.com/ocis/ocis/stable/5.0.2/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-2) | Active Support |
|
||||
| 11.04.2024 | Production | [Infinite Scale 5 (5.0.1)](https://download.owncloud.com/ocis/ocis/stable/5.0.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-1) | Active Support |
|
||||
| 18.03.2024 | Production | [Infinite Scale 5 (5.0.0)](https://download.owncloud.com/ocis/ocis/stable/5.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-0) | Active Support |
|
||||
| 27.03.2024 | Production | [Infinite Scale 4 (4.0.7)](https://download.owncloud.com/ocis/ocis/stable/4.0.7/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-7) | Discontinued |
|
||||
| 07.02.2024 | Production | [Infinite Scale 4 (4.0.6)](https://download.owncloud.com/ocis/ocis/stable/4.0.6/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-6) | Discontinued |
|
||||
| 21.12.2023 | Production | [Infinite Scale 4 (4.0.5)](https://download.owncloud.com/ocis/ocis/stable/4.0.5/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-5) | Discontinued |
|
||||
| 07.12.2023 | Production | [Infinite Scale 4 (4.0.4)](https://download.owncloud.com/ocis/ocis/stable/4.0.4/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-4) | Discontinued |
|
||||
| 24.11.2023 | Production | [Infinite Scale 4 (4.0.3)](https://download.owncloud.com/ocis/ocis/stable/4.0.3/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-3) | Discontinued |
|
||||
| 06.10.2023 | Production | [Infinite Scale 4 (4.0.2)](https://download.owncloud.com/ocis/ocis/stable/4.0.2/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-2) | Discontinued |
|
||||
| 01.09.2023 | Production | [Infinite Scale 4 (4.0.1)](https://download.owncloud.com/ocis/ocis/stable/4.0.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-1) | Discontinued |
|
||||
| 25.08.2023 | Production | [Infinite Scale 4 (4.0.0)](https://download.owncloud.com/ocis/ocis/stable/4.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-4-0-0) | Discontinued |
|
||||
| 07.06.2023 | Production | [Infinite Scale 3 (3.0.0)](https://download.owncloud.com/ocis/ocis/stable/3.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-3-0-0) | Discontinued |
|
||||
| 30.11.2022 | Production | [Infinite Scale 2 (2.0.0)](https://download.owncloud.com/ocis/ocis/stable/2.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-2-0-0) | Discontinued |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.9.0)](https://download.owncloud.com/ocis/ocis/stable/1.9.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) | Discontinued |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.8.0)](https://download.owncloud.com/ocis/ocis/stable/1.8.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) | Discontinued |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.7.0)](https://download.owncloud.com/ocis/ocis/stable/1.7.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) | Discontinued |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.6.0)](https://download.owncloud.com/ocis/ocis/stable/1.6.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) | Discontinued |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.5.0)](https://download.owncloud.com/ocis/ocis/stable/1.5.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) | Discontinued |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.4.0)](https://download.owncloud.com/ocis/ocis/stable/1.4.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) | Discontinued |
|
||||
| 04.04.2022 | Beta | [Infinite Scale 1 (1.3.0)](https://download.owncloud.com/ocis/ocis/stable/1.3.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) | Discontinued |
|
||||
| 13.04.2022 | Beta | [Infinite Scale 1 (1.20.0)](https://download.owncloud.com/ocis/ocis/stable/1.20.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#beta-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.2.0)](https://download.owncloud.com/ocis/ocis/stable/1.2.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 05.04.2022 | Tech Preview | [Infinite Scale 1 (1.19.1)](https://download.owncloud.com/ocis/ocis/stable/1.19.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 05.04.2022 | Tech Preview | [Infinite Scale 1 (1.19.0)](https://download.owncloud.com/ocis/ocis/stable/1.19.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.18.0)](https://download.owncloud.com/ocis/ocis/stable/1.18.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.17.0)](https://download.owncloud.com/ocis/ocis/stable/1.17.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.16.0)](https://download.owncloud.com/ocis/ocis/stable/1.16.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.15.0)](https://download.owncloud.com/ocis/ocis/stable/1.15.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.14.0)](https://download.owncloud.com/ocis/ocis/stable/1.14.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.13.0)](https://download.owncloud.com/ocis/ocis/stable/1.13.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.12.0)](https://download.owncloud.com/ocis/ocis/stable/1.12.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.11.0)](https://download.owncloud.com/ocis/ocis/stable/1.11.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.10.0)](https://download.owncloud.com/ocis/ocis/stable/1.10.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.1.0)](https://download.owncloud.com/ocis/ocis/stable/1.1.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
| 04.04.2022 | Tech Preview | [Infinite Scale 1 (1.0.06)](https://download.owncloud.com/ocis/ocis/stable/1.0.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#technology-preview-releases) | Discontinued |
|
||||
|
||||
Please find the daily release here: [https://download.owncloud.com/ocis/ocis/daily/](https://download.owncloud.com/ocis/ocis/daily/).
|
||||
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
title: Releasing Processes
|
||||
date: 2025-07-03T00:00:00+00:00
|
||||
weight: 10
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/releasing_guide
|
||||
geekdocFilePath: _index.md
|
||||
geekdocCollapseSection: true
|
||||
---
|
||||
|
||||
## General Information
|
||||
|
||||
This section provides information how to prepare a new Infinite Scale release.
|
||||
@@ -1,198 +0,0 @@
|
||||
---
|
||||
title: "Releasing Guide"
|
||||
date: 2020-12-16T20:35:00+01:00
|
||||
weight: 0
|
||||
geekdocRepo: https://github.com/owncloud/ocis/releasing_guide
|
||||
geekdocEditPath: edit/master/docs/ocis
|
||||
geekdocFilePath: releasing_guide.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
To prepare an oCIS production release, you must follow a specific sequence of steps in the correct order.
|
||||
|
||||
## New ocis Version
|
||||
|
||||
Use this detailed copy/paste checklists for Jira when starting a new release.
|
||||
|
||||
{{< hint warning >}}
|
||||
* The **examples** use the following versions which will need to be **adapted** for the planned release:
|
||||
* For Major and Minor versions: `7.2.0`
|
||||
* For Patch releases: `7.2.1`
|
||||
* The process differs slighly when creating a patch release only.
|
||||
* Changes applied to a `stable-7.2` branch valid for documentation will be processed to the `docs-stable-x.y` branch automatically after merging.
|
||||
{{< /hint >}}
|
||||
|
||||
### Steps for Major or Minor Releases
|
||||
|
||||
{{< hint warning >}}
|
||||
* A new production release is being prepared and the implementation of new features has finished in master.
|
||||
* `web`, `reva` and `dependencies` have already been bumped.
|
||||
* Translations
|
||||
* For oCIS, all required translations changes are included.
|
||||
* For Web, all translation changes have been applied and are part of the web version provided.
|
||||
* **Only** bug fixes to release candidates are allowed.
|
||||
{{< /hint >}}
|
||||
|
||||
#### Overview
|
||||
|
||||
1. Start the Releasing Process
|
||||
1. Start the Release Candidates Phase
|
||||
1. Prepare Release\
|
||||
Integrate all RC changes and set the final version
|
||||
1. Sign-off the Releasing Process
|
||||
1. Release the new Version
|
||||
1. Postprocessing and Finalization\
|
||||
Backport changes to `master` and create other required stable branches, update cronjobs and clean up
|
||||
|
||||
#### Details
|
||||
|
||||
```
|
||||
https://owncloud.dev/ocis/releasing_guide/
|
||||
|
||||
* [ ] Start the Releasing Process
|
||||
* [ ] Create a `stable-7.2` branch based on current `master`
|
||||
* [ ] Inform documentation that the releasing process has started
|
||||
|
||||
* [ ] Start the Release Candidates Phase
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Move all changelog items from `unreleased` to `7.2.0-rc.1_2025-06-12`
|
||||
* [ ] Bump oCIS version in `ocis-pkg/version/version.go`
|
||||
* [ ] Bump oCIS version in `sonar-project.properties`
|
||||
* [ ] Create PR with `[full-ci][k6-test]` against `stable-7.2`
|
||||
* [ ] Get PR approved. **DO NOT MERGE YET**
|
||||
* [ ] Wait for pipeline to be green
|
||||
* [ ] Create tag: `git tag -s v7.2.0-rc.1 -m "Release 7.2.0-rc.1"`
|
||||
* [ ] Push tag: `git push origin v7.2.0-rc.1`
|
||||
* [ ] Watch the PR to see pipeline succeed (can be restarted)
|
||||
* [ ] Merge PR
|
||||
* [ ] Sync with DevOps and Product\
|
||||
Repeat process with `rc.2`,`rc.3`, ...
|
||||
* [ ] All required translations from oCIS are included
|
||||
* [ ] All issues are fixed, RC phase has finished
|
||||
|
||||
* [ ] Prepare Release
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Move all changelog items from `7.2.0-rc.*` to `7.2.0_2025-04-01`
|
||||
* [ ] Bump oCIS version in `ocis-pkg/version/version.go`
|
||||
* [ ] Bump oCIS version in `sonar-project.properties`
|
||||
* [ ] Create PR with `[full-ci][k6-test]` against `stable-7.2`
|
||||
* [ ] Mark PR as **Draft** to avoid accidentially merging
|
||||
* [ ] Get PR approved. **DO NOT MERGE YET**\
|
||||
Info: merging will be done in step *Release the new Version*
|
||||
* [ ] Wait for pipeline to be green
|
||||
|
||||
* [ ] Get new Release Sign-off (jira)
|
||||
* [ ] **EITHER (preferred):** Find someone who wants the release more than you do, and have them sign-off
|
||||
* [ ] **OR (not recommended):** Have the appropriate people sign the *release sign-off* document
|
||||
|
||||
* [ ] Release the new Version
|
||||
* [ ] Create tag: `git tag -s v7.2.0 -m "Release 7.2.0"`\
|
||||
Note the tag name scheme is important
|
||||
* [ ] Push tag: `git push origin v7.2.0`
|
||||
* [ ] Watch the PR to see pipeline succeed (can be restarted)
|
||||
* [ ] Smoke test docker image `owncloud/ocis@v7.2.0`
|
||||
* [ ] Choose any docker-compose example from oCIS repository
|
||||
* [ ] Export `OCIS_DOCKER_IMAGE=owncloud/ocis`
|
||||
* [ ] Export `OCIS_DOCKER_TAG=7.2.0`
|
||||
* [ ] `docker compose up -d`
|
||||
* [ ] Confirm oCIS version in browser and start the `upload-download-awesome` test
|
||||
* [ ] Remove the **Draft** state and Merge PR\
|
||||
This is the PR from step *Prepare Release*
|
||||
* [ ] Delete the feature branch
|
||||
* [ ] Announce release in *Teams channel: oCIS*
|
||||
|
||||
* [ ] Postprocessing and Finalization
|
||||
* [ ] Backport `stable-7.2` to the master branch
|
||||
* [ ] Create a `docs-stable-7.2` branch
|
||||
* [ ] Create orphan branch: `git checkout --orphan docs-stable-7.2`
|
||||
* [ ] Initial commit: `git commit --allow-empty -m "initial commit"`
|
||||
* [ ] Push it: `git push`
|
||||
* [ ] Adjust the `.drone.star` file to write to `docs-stable-7.2`
|
||||
* [ ] Find target_branch value in the docs section and change it to `docs-stable-7.2`
|
||||
* [ ] Example: https://github.com/owncloud/ocis/blame/56f7645f0b11c9112e15ce46f6effd2fea01d6be/.drone.star#L2249
|
||||
* [ ] Add `stable-7.2` to the nightly cron jobs in drone (`Settings` -> `Cron Jobs`)
|
||||
```
|
||||
|
||||
### Steps for Patch Releases Only
|
||||
|
||||
{{< hint warning >}}
|
||||
* A patch branch is prepared, based off the appropriate stable branch, and contains all the changes including `web`, `reva` and `dependencies` bumps. The patch branch is merged into the corresponding stable branch. No release candidates are used because the changes are known.
|
||||
* Translations
|
||||
* For oCIS, all required translations changes are included.
|
||||
* For Web, all translation changes have been applied and are part of the web version provided.
|
||||
* **Only** bug fixes to the patch branch are allowed.
|
||||
{{< /hint >}}
|
||||
|
||||
#### Overview
|
||||
|
||||
1. Prepare Release\
|
||||
Integrate all patches and set the final version
|
||||
1. Sign-off the Releasing Process
|
||||
1. Release the new Version
|
||||
1. Check Forward Porting to Master
|
||||
|
||||
#### Details
|
||||
|
||||
```
|
||||
https://owncloud.dev/ocis/releasing_guide/
|
||||
|
||||
* [ ] Prepare Release
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Move all changelog items from `unreleased` to `7.2.1_2025-04-01`
|
||||
* [ ] Bump oCIS version in `ocis-pkg/version/version.go`
|
||||
* [ ] Bump oCIS version in `sonar-project.properties`
|
||||
* [ ] Create PR with `[full-ci][k6-test]` against `stable-7.2`
|
||||
* [ ] Mark PR as **Draft** to avoid accidentially merging
|
||||
* [ ] Get PR approved **requires 2 approvals**, **DO NOT MERGE YET**\
|
||||
Info: merging will be done in step *Release the new Version*
|
||||
* [ ] Wait for pipeline to be green
|
||||
|
||||
* [ ] Get new Release Sign-off (confluence)
|
||||
* [ ] **EITHER (preferred):** Find someone who wants the release more than you do, and have them sign-off
|
||||
* [ ] **OR (not recommended):** Have the appropriate people sign the *release sign-off* document
|
||||
|
||||
* [ ] Release the new Version
|
||||
* [ ] Create tag: `git tag -s v7.2.1 -m "Release 7.2.1"`\
|
||||
Note the tag name scheme is important
|
||||
* [ ] Push tag: `git push origin v7.2.1`
|
||||
* [ ] Watch the PR to see pipeline succeed (can be restarted)
|
||||
* [ ] Smoke test docker image `owncloud/ocis@v7.2.1`
|
||||
* [ ] Choose any docker-compose example from ocis repository
|
||||
* [ ] Export `OCIS_DOCKER_IMAGE=owncloud/ocis`
|
||||
* [ ] Export `OCIS_DOCKER_TAG=7.2.1`
|
||||
* [ ] `docker compose up -d`
|
||||
* [ ] Confirm oCIS version in browser and start the `upload-download-awesome` test
|
||||
* [ ] Remove the **Draft** state and Merge PR\
|
||||
This is the PR from step *Prepare Release*
|
||||
* [ ] Delete the feature branch
|
||||
* [ ] Announce release in *Teams channel: oCIS*
|
||||
|
||||
* [ ] Check if Forward Porting to Master is Required
|
||||
```
|
||||
|
||||
## Update Documentation Related Data
|
||||
|
||||
### Envvar Changes
|
||||
|
||||
Follow the [Release Process for Envvars](https://owncloud.dev/services/general-info/envvars/new-release-process/) documentation to update the required environment variable data. These changes **must** be present in the appropriate `stable-7.2` branch and should be applied to the respective feature branch during the development cycle. This **avoids manually backporting** to `stable-7.2` but may be required if changes go to master instead. Changes to envvars are typically found in the `docs` folder.
|
||||
|
||||
{{< hint warning >}}
|
||||
The admin docs processes access the data via the branch name, not the tag set. Therefore, any changes applied to the stable branch are accessible to the documentation process without the need of a new version.
|
||||
{{< /hint >}}
|
||||
|
||||
### Prepare Admin Docs
|
||||
|
||||
The admin documentation must be prepared for the new release.
|
||||
|
||||
Note that this section is only **informational** for oCIS developers and is done by the documentation team. This is why they need to be informed in a timely manner.
|
||||
|
||||
* [ ] Create **overview release notes** in the `docs-main` repo based on the changelog\
|
||||
The source is most likely the unreleased folder during the development cycle
|
||||
* [ ] For Major and Minor versions:
|
||||
* [ ] Add all **documentation changes** including the upgrade guide in the `docs-ocis` repo in master
|
||||
* [ ] Create a new release branch in the `docs-ocis` repo based off master
|
||||
* [ ] **Update oCIS branches and versions** in the `docs` repo
|
||||
* [ ] For Patch releases:
|
||||
* [ ] **Update oCIS versions** in the `docs` repo
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
---
|
||||
title: "Troubleshooting"
|
||||
date: 2020-12-16T20:35:00+01:00
|
||||
weight: 0
|
||||
geekdocRepo: https://github.com/owncloud/ocis/releasing_guide
|
||||
geekdocEditPath: edit/master/docs/ocis
|
||||
geekdocFilePath: troubleshooting.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
This document covers some of the issues that can happen during the release process.
|
||||
|
||||
Use this detailed copy/paste checklists for the PR when starting a backport.
|
||||
|
||||
## Backport Missing Commits
|
||||
|
||||
Once the `stable-x.y` branch has been created but work has been merged into master, these changes will not appear in the stable branch unless backporting is used.
|
||||
|
||||
{{< hint warning >}}
|
||||
* Any change applied to `stable-7.2` must be made **before** the tag for this release is created to be part of which is mandatory for any code change.
|
||||
* There is one exception. Changes applied for documentation purposes are accessed via the branch name by the doc process and not via the tag and therefore accessible to the documentation processes.
|
||||
{{< /hint >}}
|
||||
|
||||
Though any changes should ideally be targeted to the correct branch from the beginning, this may sometimes be impossible, especially for the following folder locations:
|
||||
|
||||
- `docs` and
|
||||
- `deployments/examples/ocis_full`
|
||||
|
||||
### Documentation
|
||||
|
||||
Changes to documentation must be present in the respective stable branch because the documentation process accesses the data for further processing. Follow these steps to apply all doc related changes from master to the stable branch **after** the tag has been created:
|
||||
|
||||
```
|
||||
https://owncloud.dev/ocis/releasing_guide/
|
||||
|
||||
* [ ] Check all relevant commits made to the master branch that are not in stable\
|
||||
`git log stable-7.2..master -- docs/`
|
||||
* [ ] Double check all changes if they apply to stable\
|
||||
`git diff stable-7.2..master -- docs/`
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Cherry pick missing commits
|
||||
* [ ] Create PR with leading `[docs-only]` against `stable-7.2`
|
||||
* [ ] Get PR approved **requires 2 approvals** and merge it
|
||||
* [ ] Delete feature branch
|
||||
```
|
||||
|
||||
### Deployment Example
|
||||
|
||||
Changes to the `ocis_full` deployment example are less critical. But as this is referenced by the documentation, changes must be present in the respective stable branch. Follow these steps to apply all deployment example related changes from master to the stable branch **after** the tag has been created:
|
||||
|
||||
#### Web Extensions
|
||||
|
||||
Update all dependencies and extension related data in the `web-extensions` repo and create for each extension a new release if applicapable.
|
||||
|
||||
#### ocis_full
|
||||
|
||||
Update the `ocis_full` deployment example as required in master which includes to update the versions of the web extensions used. Test the functionality if the example works.
|
||||
|
||||
Follow these steps to apply all `ocis_full` deployment example related changes from master to the stable branch:
|
||||
|
||||
```
|
||||
https://owncloud.dev/ocis/releasing_guide/
|
||||
|
||||
* [ ] Check all relevant commits made to the master branch that are not in stable\
|
||||
`git log stable-7.2..master -- deployments/examples/ocis_full/`
|
||||
* [ ] Double check all changes if they apply to stable\
|
||||
`git diff stable-7.2..master -- deployments/examples/ocis_full/`
|
||||
* [ ] Create a new feature branch based on `stable-7.2`
|
||||
* [ ] Cherry pick missing commits
|
||||
* [ ] Create PR with leading `[docs-only]` against `stable-7.2`
|
||||
* [ ] Get PR approved **requires 2 approvals** and merge it
|
||||
* [ ] Delete feature branch
|
||||
```
|
||||
@@ -167,6 +167,7 @@ The request will fail with `507 Insufficient Storage`:
|
||||
< X-Frame-Options: SAMEORIGIN
|
||||
< X-Permitted-Cross-Domain-Policies: none
|
||||
< X-Robots-Tag: none
|
||||
< X-Xss-Protection: 1; mode=block
|
||||
<
|
||||
* Connection #0 to host localhost left intact
|
||||
* Closing connection 0
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
title: Service Independent Settings
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/service-independent/
|
||||
geekdocFilePath: _index.md
|
||||
geekdocCollapseSection: true
|
||||
weight: 15
|
||||
---
|
||||
|
||||
{{< toc-tree >}}
|
||||
|
||||
Some components programmed are not bound to a service but are valid for all of ocis. These are for example environment variables that are used before any service gets started. For ocis CLI commands that are service independent, see the [Service Independent CLI]({{< ref "../cli-commands/service_independent_cli.md" >}}) documentation.
|
||||
@@ -1,38 +0,0 @@
|
||||
---
|
||||
title: Service Independent Envvars
|
||||
date: 2025-11-13T00:00:00+00:00
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/service-independent/
|
||||
geekdocFilePath: service_independent_envvars.md
|
||||
---
|
||||
|
||||
The following environment variables are service independent. You will find the respective code in the `ocis-pkg/` directory. See the [Admin Documentation - Environment Variables with Special Scopes](https://doc.owncloud.com/ocis/7.3/deployment/services/env-vars-special-scope.html) for a comprehensive list and explanation.
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
{{< hint info >}}
|
||||
See the [Environment Variables]({{< ref "../services/general-info/envvars/" >}}) documentation for common and important details on envvars.
|
||||
{{< /hint >}}
|
||||
|
||||
## Service Registry
|
||||
|
||||
This package configures the service registry which will be used to look up for example the service addresses.
|
||||
|
||||
Available registries are:
|
||||
|
||||
- nats-js-kv (default)
|
||||
- memory
|
||||
|
||||
To configure which registry to use, you have to set the environment variable `MICRO_REGISTRY`, and for all except `memory` you also have to set the registry address via `MICRO_REGISTRY_ADDRESS` and other envvars.
|
||||
|
||||
## Startup Related Envvars
|
||||
|
||||
These envvars define the startup of ocis and can for example add or remove services from the startup process such as `OCIS_ADD_RUN_SERVICES`.
|
||||
|
||||
## Memory Limits
|
||||
|
||||
{{< hint info >}}
|
||||
Note that this envvar is for development purposes only and not described in the admin docs.
|
||||
{{< /hint >}}
|
||||
|
||||
oCIS will automatically set the go native `GOMEMLIMIT` to `0.9`. To disable the limit set `AUTOMEMLIMIT=off`. For more information take a look at the official [Guide to the Go Garbage Collector](https://go.dev/doc/gc-guide).
|
||||
@@ -0,0 +1,3 @@
|
||||
---
|
||||
GeekdocHidden: true
|
||||
---
|
||||
@@ -3,7 +3,7 @@
|
||||
| Name | Type | Default Value | Description |
|
||||
|------|------|---------------|-------------|
|
||||
| OCIS_TRACING_ENABLED<br/>ACTIVITYLOG_TRACING_ENABLED | bool | false | Activates tracing.|
|
||||
| OCIS_TRACING_TYPE<br/>ACTIVITYLOG_TRACING_TYPE | string | | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.|
|
||||
| OCIS_TRACING_TYPE<br/>ACTIVITYLOG_TRACING_TYPE | string | | The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.|
|
||||
| OCIS_TRACING_ENDPOINT<br/>ACTIVITYLOG_TRACING_ENDPOINT | string | | The endpoint of the tracing agent.|
|
||||
| OCIS_TRACING_COLLECTOR<br/>ACTIVITYLOG_TRACING_COLLECTOR | string | | The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.|
|
||||
| OCIS_LOG_LEVEL<br/>ACTIVITYLOG_LOG_LEVEL | string | | The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.|
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the activitylog service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`ACTIVITYLOG_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the antivirus service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -145,7 +145,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`ANTIVIRUS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the app-provider service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -64,7 +64,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`APP_PROVIDER_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the app-registry service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`APP_REGISTRY_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the audit service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUDIT_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-app service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_APP_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-basic service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_BASIC_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-bearer service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_BEARER_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-machine service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_MACHINE_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the auth-service service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`AUTH_SERVICE_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
// if the generated adoc file is used outside tabs, it renders correctly depending on the attribute set.
|
||||
// if inside, you need to also use the xxx_deprecation.adoc file. attributes can't be defined inside tabs.
|
||||
|
||||
:show-deprecation: false
|
||||
:show-deprecation: true
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the clientlog service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -15,6 +15,11 @@ ifeval::[{show-deprecation} == true]
|
||||
| Deprecation Version
|
||||
| Removal Version
|
||||
| Deprecation Replacement
|
||||
|
||||
| CLIENTLOG_REVA_GATEWAY removed for simplicity.
|
||||
| 6.0
|
||||
| next-prod
|
||||
|
|
||||
|===
|
||||
|
||||
{empty} +
|
||||
@@ -53,7 +58,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`CLIENTLOG_TRACING_ENDPOINT` +
|
||||
@@ -184,7 +189,8 @@ a| [subs=-attributes]
|
||||
The secret to mint and validate jwt tokens.
|
||||
|
||||
a|`OCIS_REVA_GATEWAY` +
|
||||
|
||||
`CLIENTLOG_REVA_GATEWAY` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
:show-deprecation: false
|
||||
:show-deprecation: true
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the collaboration service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,17 +53,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
The WebOffice app, either Collabora, OnlyOffice, Microsoft365 or MicrosoftOfficeOnline.
|
||||
|
||||
a|`COLLABORATION_APP_PRODUCT_EDITION` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The WebOffice app edition defines the capabilities specific to the product such as CE - Community Edition, EE - Enterprise Edition DE - Developer Edition, etc. Currently supported values are limited to OnlyOffice and are: 'ce', 'ee' or 'de' and default to empty which is equal to ce). See the documentation for more details.
|
||||
|
||||
a|`COLLABORATION_APP_DESCRIPTION` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -336,17 +325,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Disable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft.
|
||||
|
||||
a|`COLLABORATION_WOPI_ENABLE_MOBILE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enable the mobile web view for office app. This feature applies to OnlyOffice. See the documentation for more details.
|
||||
|
||||
a|`COLLABORATION_WOPI_PROXY_URL` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -380,17 +358,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Use short access tokens for WOPI access. This is useful for office packages, like Microsoft Office Online, which have URL length restrictions. If enabled, a persistent store must be configured.
|
||||
|
||||
a|`COLLABORATION_WOPI_DISABLED_EXTENSIONS` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[] ++
|
||||
a| [subs=-attributes]
|
||||
List of extensions to disable: Disabling an extension will make it unavailable to the Office web front end. The list is comma-separated with no spaces between the items, such as 'docx,xlsx,pptx'.
|
||||
|
||||
a|`OCIS_REVA_GATEWAY` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -435,7 +402,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`COLLABORATION_TRACING_ENDPOINT` +
|
||||
|
||||
File renamed without changes.
File renamed without changes.
+1
-1
@@ -18,7 +18,7 @@
|
||||
| Disables versioning of files. When set to true, new uploads with the same filename will overwrite existing files instead of creating a new version.
|
||||
| false
|
||||
|
||||
|
|
||||
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
|
||||
| OCIS_SHOW_USER_EMAIL_IN_RESULTS
|
||||
| Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
|
||||
| false
|
||||
File renamed without changes.
File renamed without changes.
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the eventhistory service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`EVENTHISTORY_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
a| `GRPC_MAX_CONNECTION_AGE` +
|
||||
a| [subs=-attributes]
|
||||
@@ -74,7 +73,6 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
++The base directory location used by several services and for user data. See the General Info section in the documentation for more details on defaults. Services can have, if available, an individual setting with an own environment variable. ++
|
||||
|
||||
|
||||
a| `OCIS_CONFIG_DIR` +
|
||||
a| [subs=-attributes]
|
||||
@@ -83,14 +81,6 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
++The default directory location for config files. See the General Info section in the documentation for more details on defaults. ++
|
||||
|
||||
a| `OCIS_INSECURE` +
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
++Insecure TLS mode is only allowed in development environments with OCIS_INSECURE=true ++
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the frontend service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -16,41 +16,6 @@ ifeval::[{show-deprecation} == true]
|
||||
| Removal Version
|
||||
| Deprecation Replacement
|
||||
|
||||
| The use of OCIS_CACHE_STORE in the frontend service is deprecated because the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| The use of OCIS_CACHE_STORE_NODES in the frontend service is deprecated because the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| The use of OCIS_CACHE_DATABASE in the frontend service is deprecated because the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| The use of OCIS_CACHE_TTL in the frontend service is deprecated because the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| The use of OCIS_CACHE_DISABLE_PERSISTENCE in the frontend service is deprecated because the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| The use of OCIS_CACHE_AUTH_USERNAME in the frontend service is deprecated because the OCS API is deprecated OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| The use of OCIS_CACHE_AUTH_PASSWORD in the frontend service is deprecated because the OCS API is deprecated OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| The OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
@@ -70,6 +35,66 @@ ifeval::[{show-deprecation} == true]
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| The OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| The OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|
||||
| FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
|
|
||||
|===
|
||||
|
||||
{empty} +
|
||||
@@ -108,7 +133,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`FRONTEND_TRACING_ENDPOINT` +
|
||||
@@ -477,18 +502,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Minimum number of characters to enter before a client should start a search for Share receivers. This setting can be used to customize the user experience if e.g too many results are displayed.
|
||||
|
||||
a|`OCIS_USER_SEARCH_DISPLAYED_ATTRIBUTES` +
|
||||
`FRONTEND_USER_SEARCH_DISPLAYED_ATTRIBUTES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[] ++
|
||||
a| [subs=-attributes]
|
||||
A list of user attributes to display in the user search results.
|
||||
|
||||
a|`OCIS_EDITION` +
|
||||
`FRONTEND_EDITION` +
|
||||
|
||||
@@ -616,8 +629,53 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Path prefix for the data gateway.
|
||||
|
||||
a|`FRONTEND_OCS_PREFIX` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ocs ++
|
||||
a| [subs=-attributes]
|
||||
URL path prefix for the OCS service. Note that the string must not start with '/'.
|
||||
|
||||
a|`FRONTEND_OCS_SHARE_PREFIX` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++/Shares ++
|
||||
a| [subs=-attributes]
|
||||
Path prefix for shares as part of an ocis resource. Note that the path must start with '/'.
|
||||
|
||||
a|`FRONTEND_OCS_PERSONAL_NAMESPACE` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++/users/{{.Id.OpaqueId}} ++
|
||||
a| [subs=-attributes]
|
||||
Home namespace identifier.
|
||||
|
||||
a|`FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++{{.Mail}} ++
|
||||
a| [subs=-attributes]
|
||||
Additional information attribute for the user like {{.Mail}}.
|
||||
|
||||
a|`OCIS_CACHE_STORE` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_STAT_CACHE_STORE` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -628,7 +686,8 @@ a| [subs=-attributes]
|
||||
The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details.
|
||||
|
||||
a|`OCIS_CACHE_STORE_NODES` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_STAT_CACHE_STORE_NODES` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -639,7 +698,7 @@ a| [subs=-attributes]
|
||||
A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
|
||||
a|`OCIS_CACHE_DATABASE` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -649,8 +708,20 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
The database name the configured store should use.
|
||||
|
||||
a|`FRONTEND_OCS_STAT_CACHE_TABLE` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The database table the store should use.
|
||||
|
||||
a|`OCIS_CACHE_TTL` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_STAT_CACHE_TTL` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -661,7 +732,8 @@ a| [subs=-attributes]
|
||||
Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
|
||||
a|`OCIS_CACHE_DISABLE_PERSISTENCE` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -672,7 +744,8 @@ a| [subs=-attributes]
|
||||
Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false.
|
||||
|
||||
a|`OCIS_CACHE_AUTH_USERNAME` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -683,7 +756,8 @@ a| [subs=-attributes]
|
||||
The username to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
|
||||
a|`OCIS_CACHE_AUTH_PASSWORD` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -693,8 +767,20 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
The password to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
|
||||
a|`FRONTEND_OCS_ENABLE_DENIALS` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
EXPERIMENTAL: enable the feature to deny access on folders.
|
||||
|
||||
a|`OCIS_ENABLE_OCM` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_LIST_OCM_SHARES` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -705,7 +791,8 @@ a| [subs=-attributes]
|
||||
Include OCM shares when listing shares. See the OCM service documentation for more details.
|
||||
|
||||
a|`OCIS_ENABLE_OCM` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_INCLUDE_OCM_SHAREES` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -716,7 +803,8 @@ a| [subs=-attributes]
|
||||
Include OCM sharees when listing sharees.
|
||||
|
||||
a|`OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -727,7 +815,8 @@ a| [subs=-attributes]
|
||||
Set this to true if you want to enforce passwords on all public shares.
|
||||
|
||||
a|`OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD` +
|
||||
xref:deprecation-note-2026-03-23-00-11-05[Deprecation Note]
|
||||
`FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD` +
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -737,6 +826,17 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Set this to true if you want to enforce passwords for writable shares. Only effective if the setting for 'passwords on all public shares' is set to false.
|
||||
|
||||
a|`OCIS_SHOW_USER_EMAIL_IN_RESULTS` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++6.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
|
||||
|
||||
a|`FRONTEND_CHECKSUMS_SUPPORTED_TYPES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -995,60 +1095,5 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
Path to the 'banned passwords list' file. This only impacts public link password validation. See the documentation for more details.
|
||||
|
||||
a|`OCIS_MAX_TAG_LENGTH` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
a| [subs=-attributes]
|
||||
++int ++
|
||||
a| [subs=-attributes]
|
||||
++100 ++
|
||||
a| [subs=-attributes]
|
||||
Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags.
|
||||
|
||||
a|`FRONTEND_CONFIGURABLE_NOTIFICATIONS` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.1.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Allow configuring notifications via web client.
|
||||
|
||||
a|`OCIS_CLAIM_MANAGED_SPACES_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enables Space management through OIDC claims. See the text description for more details.
|
||||
|
||||
a|`OCIS_MFA_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Set to true to enable multi factor authentication. See the documentation for more details.
|
||||
|
||||
a|`OCIS_MFA_AUTH_LEVEL_NAMES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[advanced] ++
|
||||
a| [subs=-attributes]
|
||||
This authentication level name indicates that multi-factor authentication was performed. The name must match the ACR claim in the access token received. Note: If multiple names are required, use a comma-separated list. The front-end service will use the first name in the list when requesting multi-factor authentication (MFA).
|
||||
|===
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the gateway service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`GATEWAY_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -243,27 +243,10 @@ a| [subs=-attributes]
|
||||
|
||||
a| [subs=-attributes]
|
||||
Default time to live for user info in the user info cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
a| `OCIS_CLAIM_MANAGED_SPACES_ENABLED`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/proxy.adoc[proxy] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Enables Space management through OIDC claims. See the text description for more details.
|
||||
a| `OCIS_CORS_ALLOW_CREDENTIALS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -287,14 +270,14 @@ a| [subs=-attributes]
|
||||
++bool ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
++true ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Allow credentials for CORS.See following chapter for more details: *Access-Control-Allow-Credentials* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials.
|
||||
a| `OCIS_CORS_ALLOW_HEADERS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -318,14 +301,14 @@ a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[Origin Accept Content-Type Depth Authorization Ocs-Apirequest If-None-Match If-Match Destination Overwrite X-Request-Id X-Requested-With Tus-Resumable Tus-Checksum-Algorithm Upload-Concat Upload-Length Upload-Metadata Upload-Defer-Length Upload-Expires Upload-Checksum Upload-Offset X-HTTP-Method-Override Cache-Control] ++
|
||||
++[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id Cache-Control] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
A list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers. See the Environment Variable Types description for more details.
|
||||
a| `OCIS_CORS_ALLOW_METHODS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -349,14 +332,14 @@ a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[OPTIONS HEAD GET PUT POST DELETE MKCOL PROPFIND PROPPATCH MOVE COPY REPORT SEARCH] ++
|
||||
++[GET POST PUT PATCH DELETE OPTIONS] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
A list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method. See the Environment Variable Types description for more details.
|
||||
a| `OCIS_CORS_ALLOW_ORIGINS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++5.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
@@ -380,7 +363,7 @@ a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[https://localhost:9200] ++
|
||||
++[*] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
A list of allowed CORS origins. See following chapter for more details: *Access-Control-Allow-Origin* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin. See the Environment Variable Types description for more details.
|
||||
@@ -666,7 +649,7 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The root CA certificate used to validate the server's TLS certificate. If provided OCM_EVENTS_TLS_INSECURE will be seen as false.
|
||||
The root CA certificate used to validate the server's TLS certificate. Will be seen as empty if NOTIFICATIONS_EVENTS_TLS_INSECURE is provided.
|
||||
a| `OCIS_GATEWAY_GRPC_ADDR`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -791,7 +774,7 @@ a| [subs=-attributes]
|
||||
++tcp ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The transport protocol of the GRPC service.
|
||||
The transport protocol of the GPRC service.
|
||||
a| `OCIS_HTTP_TLS_CERTIFICATE`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1080,7 +1063,7 @@ a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++uid=reva,ou=sysusers,o=libregraph-idm ++
|
||||
++uid=libregraph,ou=sysusers,o=libregraph-idm ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP DN to use for simple bind authentication with the target LDAP server.
|
||||
@@ -1159,7 +1142,7 @@ a| [subs=-attributes]
|
||||
++attribute ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
An option to control the behavior for disabling users. Valid options are 'none', 'attribute' and 'group'. If set to 'group', disabling a user via API will add the user to the configured group for disabled users, if set to 'attribute' this will be done in the ldap user entry, if set to 'none' the disable request is not processed.
|
||||
An option to control the behavior for disabling users. Supported options are 'none', 'attribute' and 'group'. If set to 'group', disabling a user via API will add the user to the configured group for disabled users, if set to 'attribute' this will be done in the ldap user entry, if set to 'none' the disable request is not processed. Default is 'attribute'.
|
||||
a| `OCIS_LDAP_GROUP_BASE_DN`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1216,7 +1199,7 @@ a| [subs=-attributes]
|
||||
++groupOfNames ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The object class to use for groups in the default group search filter like 'groupOfNames'.
|
||||
The object class to use for groups in the default group search filter ('groupOfNames').
|
||||
a| `OCIS_LDAP_GROUP_SCHEMA_DISPLAYNAME`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1269,10 +1252,10 @@ a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++ownclouduuid ++
|
||||
++owncloudUUID ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to use as the unique ID for groups. This should be a stable globally unique ID like a UUID.
|
||||
LDAP Attribute to use as the unique id for groups. This should be a stable globally unique ID like a UUID.
|
||||
a| `OCIS_LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1291,7 +1274,7 @@ a| [subs=-attributes]
|
||||
++false ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Set this to true if the defined 'id' attribute for groups is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the group ID's.
|
||||
Set this to true if the defined 'ID' attribute for groups is of the 'OCTETSTRING' syntax. This is required when using the 'objectGUID' attribute of Active Directory for the group ID's.
|
||||
a| `OCIS_LDAP_GROUP_SCHEMA_MAIL`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1347,7 +1330,7 @@ a| [subs=-attributes]
|
||||
++sub ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP search scope to use when looking up groups. Supported values are 'base', 'one' and 'sub'.
|
||||
LDAP search scope to use when looking up groups. Supported scopes are 'base', 'one' and 'sub'.
|
||||
a| `OCIS_LDAP_INSECURE`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1443,7 +1426,7 @@ a| [subs=-attributes]
|
||||
++ownCloudUserEnabled ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP attribute to use as a flag telling if the user is enabled or disabled.
|
||||
LDAP Attribute to use as a flag telling if the user is enabled or disabled.
|
||||
a| `OCIS_LDAP_USER_FILTER`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1483,7 +1466,7 @@ a| [subs=-attributes]
|
||||
++inetOrgPerson ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The object class to use for users in the default user search filter like 'inetOrgPerson'.
|
||||
The object class to use for users in the default user search filter ('inetOrgPerson').
|
||||
a| `OCIS_LDAP_USER_SCHEMA_DISPLAYNAME`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1499,10 +1482,10 @@ a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++displayname ++
|
||||
++displayName ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to use for the displayname of users.
|
||||
LDAP Attribute to use for the display name of users.
|
||||
a| `OCIS_LDAP_USER_SCHEMA_ID`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1519,7 +1502,7 @@ a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++ownclouduuid ++
|
||||
++owncloudUUID ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to use as the unique ID for users. This should be a stable globally unique ID like a UUID.
|
||||
@@ -1541,7 +1524,7 @@ a| [subs=-attributes]
|
||||
++false ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Set this to true if the defined 'ID' attribute for users is of the 'OCTETSTRING' syntax. This is e.g. required when using the 'objectGUID' attribute of Active Directory for the user ID's.
|
||||
Set this to true if the defined 'ID' attribute for users is of the 'OCTETSTRING' syntax. This is required when using the 'objectGUID' attribute of Active Directory for the user ID's.
|
||||
a| `OCIS_LDAP_USER_SCHEMA_MAIL`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1618,7 +1601,7 @@ a| [subs=-attributes]
|
||||
++sub ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
LDAP search scope to use when looking up users. Supported values are 'base', 'one' and 'sub'.
|
||||
LDAP search scope to use when looking up users. Supported scopes are 'base', 'one' and 'sub'.
|
||||
a| `OCIS_LOG_COLOR`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1890,91 +1873,6 @@ a| [subs=-attributes]
|
||||
|
||||
a| [subs=-attributes]
|
||||
Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
|
||||
a| `OCIS_MAX_TAG_LENGTH`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++int ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++100 ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags.
|
||||
a| `OCIS_MFA_AUTH_LEVEL_NAMES`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/proxy.adoc[proxy] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[advanced] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
This authentication level name indicates that multi-factor authentication was performed. The name must match the ACR claim in the access token received. Note: If multiple names are required, use a comma-separated list. The front-end service will use the first name in the list when requesting multi-factor authentication (MFA).
|
||||
a| `OCIS_MFA_ENABLED`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/proxy.adoc[proxy] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Enable MFA enforcement. If enabled users need to complete MFA before they can access specific paths
|
||||
a| `OCIS_MULTI_INSTANCE_ENABLED`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
* xref:{s-path}/proxy.adoc[proxy] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Enable multiple instances of Infinite Scale.
|
||||
a| `OCIS_MULTI_INSTANCE_INSTANCEID`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
* xref:{s-path}/proxy.adoc[proxy] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The unique id of this instance
|
||||
a| `OCIS_OIDC_ISSUER`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -1998,7 +1896,7 @@ a| [subs=-attributes]
|
||||
++https://localhost:9200 ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
URL of the OIDC issuer. It defaults to URL of the builtin IDP.
|
||||
The identity provider href for the openid-discovery relation.
|
||||
a| `OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2121,15 +2019,13 @@ Define the minimum number of lowercase letters. Defaults to 1 if not set.
|
||||
a| `OCIS_PERSISTENT_STORE`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
* xref:{s-path}/collaboration.adoc[collaboration] +
|
||||
* xref:{s-path}/eventhistory.adoc[eventhistory] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/postprocessing.adoc[postprocessing] +
|
||||
* xref:{s-path}/storage-publiclink.adoc[storage-publiclink] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2143,15 +2039,13 @@ The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sent
|
||||
a| `OCIS_PERSISTENT_STORE_AUTH_PASSWORD`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
++5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
* xref:{s-path}/collaboration.adoc[collaboration] +
|
||||
* xref:{s-path}/eventhistory.adoc[eventhistory] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/postprocessing.adoc[postprocessing] +
|
||||
* xref:{s-path}/storage-publiclink.adoc[storage-publiclink] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2165,15 +2059,13 @@ The password to authenticate with the store. Only applies when store type 'nats-
|
||||
a| `OCIS_PERSISTENT_STORE_AUTH_USERNAME`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
++5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
* xref:{s-path}/collaboration.adoc[collaboration] +
|
||||
* xref:{s-path}/eventhistory.adoc[eventhistory] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/postprocessing.adoc[postprocessing] +
|
||||
* xref:{s-path}/storage-publiclink.adoc[storage-publiclink] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2187,15 +2079,13 @@ The username to authenticate with the store. Only applies when store type 'nats-
|
||||
a| `OCIS_PERSISTENT_STORE_NODES`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
* xref:{s-path}/collaboration.adoc[collaboration] +
|
||||
* xref:{s-path}/eventhistory.adoc[eventhistory] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/postprocessing.adoc[postprocessing] +
|
||||
* xref:{s-path}/storage-publiclink.adoc[storage-publiclink] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2209,13 +2099,12 @@ A list of nodes to access the configured store. This has no effect when 'memory'
|
||||
a| `OCIS_PERSISTENT_STORE_TTL`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.0.0 ++
|
||||
++pre5.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
* xref:{s-path}/collaboration.adoc[collaboration] +
|
||||
* xref:{s-path}/eventhistory.adoc[eventhistory] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/postprocessing.adoc[postprocessing] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
@@ -2223,10 +2112,10 @@ a| [subs=-attributes]
|
||||
++Duration ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++30m0s ++
|
||||
++336h0m0s ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Time to live for events in the store. Defaults to '30m' (30 minutes). See the Environment Variable Types description for more details.
|
||||
Time to live for events in the store. Defaults to '336h' (2 weeks). See the Environment Variable Types description for more details.
|
||||
a| `OCIS_REVA_GATEWAY`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2270,7 +2159,7 @@ a| [subs=-attributes]
|
||||
++com.owncloud.api.gateway ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The CS3 gateway endpoint.
|
||||
CS3 gateway used to look up user metadata
|
||||
a| `OCIS_SERVICE_ACCOUNT_ID`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2358,6 +2247,23 @@ a| [subs=-attributes]
|
||||
|
||||
a| [subs=-attributes]
|
||||
Set this to true if you want to enforce passwords for writable shares. Only effective if the setting for 'passwords on all public shares' is set to false.
|
||||
a| `OCIS_SHOW_USER_EMAIL_IN_RESULTS`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++6.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
|
||||
a| `OCIS_SPACES_MAX_QUOTA`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2664,7 +2570,7 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
a| `OCIS_TRANSFER_SECRET`
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2681,17 +2587,16 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
Transfer secret for signing file up- and download requests.
|
||||
The storage transfer secret.
|
||||
a| `OCIS_TRANSLATION_PATH`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
++7.0.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/activitylog.adoc[activitylog] +
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
* xref:{s-path}/notifications.adoc[notifications] +
|
||||
* xref:{s-path}/settings.adoc[settings] +
|
||||
* xref:{s-path}/userlog.adoc[userlog] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -2732,27 +2637,10 @@ a| [subs=-attributes]
|
||||
++string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++https://localhost:9200 ++
|
||||
++https://127.0.0.1:9200 ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
URL of the OIDC issuer. It defaults to URL of the builtin IDP.
|
||||
a| `OCIS_USER_SEARCH_DISPLAYED_ATTRIBUTES`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
* xref:{s-path}/frontend.adoc[frontend] +
|
||||
* xref:{s-path}/graph.adoc[graph] +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
++[] ++
|
||||
|
||||
a| [subs=-attributes]
|
||||
The attributes to display in the user search results.
|
||||
URL, where oCIS is reachable for users.
|
||||
a| `OCIS_WOPI_DISABLE_CHAT`
|
||||
|
||||
a| [subs=-attributes]
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
// if the generated adoc file is used outside tabs, it renders correctly depending on the attribute set.
|
||||
// if inside, you need to also use the xxx_deprecation.adoc file. attributes can't be defined inside tabs.
|
||||
|
||||
:show-deprecation: false
|
||||
:show-deprecation: true
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the graph service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -15,6 +15,11 @@ ifeval::[{show-deprecation} == true]
|
||||
| Deprecation Version
|
||||
| Removal Version
|
||||
| Deprecation Replacement
|
||||
|
||||
| LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency
|
||||
| 7.0.0
|
||||
| next-prod
|
||||
| OCIS_LDAP_USER_SCHEMA_DISPLAYNAME
|
||||
|===
|
||||
|
||||
{empty} +
|
||||
@@ -53,7 +58,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`GRAPH_TRACING_ENDPOINT` +
|
||||
@@ -423,16 +428,16 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
The minimum length the search term needs to have for unprivileged users when searching for users or groups.
|
||||
|
||||
a|`OCIS_USER_SEARCH_DISPLAYED_ATTRIBUTES` +
|
||||
a|`OCIS_SHOW_USER_EMAIL_IN_RESULTS` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
++6.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++[] ++
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
The attributes to display in the user search results.
|
||||
Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
|
||||
|
||||
a|`OCIS_REVA_GATEWAY` +
|
||||
|
||||
@@ -779,8 +784,9 @@ a| [subs=-attributes]
|
||||
LDAP Attribute to use for the email address of users.
|
||||
|
||||
a|`OCIS_LDAP_USER_SCHEMA_DISPLAYNAME` +
|
||||
`LDAP_USER_SCHEMA_DISPLAY_NAME` +
|
||||
`GRAPH_LDAP_USER_DISPLAYNAME_ATTRIBUTE` +
|
||||
|
||||
xref:deprecation-note-2025-12-22-01-06-43[Deprecation Note]
|
||||
a| [subs=-attributes]
|
||||
++pre5.0 ++
|
||||
a| [subs=-attributes]
|
||||
@@ -850,18 +856,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to use as a flag telling if the user is enabled or disabled.
|
||||
|
||||
a|`OCIS_LDAP_USER_SCHEMA_EXTERNAL_ID` +
|
||||
`GRAPH_LDAP_EXTERNAL_ID_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++owncloudExternalID ++
|
||||
a| [subs=-attributes]
|
||||
LDAP attribute that references the external ID of users during the provisioning process. The final ID is provided by an external identity provider. If it is not set, a default attribute will be used instead.
|
||||
|
||||
a|`OCIS_LDAP_DISABLE_USER_MECHANISM` +
|
||||
`GRAPH_DISABLE_USER_MECHANISM` +
|
||||
|
||||
@@ -1092,127 +1086,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
When setting a 'terminationDate' for a school, require the date to be at least this number of days in the future.
|
||||
|
||||
a|`GRAPH_LDAP_REQUIRE_EXTERNAL_ID` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
If enabled, the 'OCIS_LDAP_USER_SCHEMA_EXTERNAL_ID' is used as primary identifier for the provisioning API.
|
||||
|
||||
a|`OCIS_LDAP_USER_MEMBER_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to signal the user is member of an instance. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_USER_GUEST_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to signal the user is guest of an instance. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_GROUP_AFFILIATION_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to signal which instance the group is belonging to. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_PRECISE_SEARCH_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute to be used for searching users on other instances. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_MAPPER_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
The InstanceMapper allows mapping instance names (user readable) to instance IDs (machine readable) based on an LDAP query. See other _INSTANCE_MAPPER_ env vars. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_MAPPER_BASE_DN` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
BaseDN of the 'instancename to instanceid' mapper in LDAP. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_MAPPER_NAME_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute of the instance name. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_MAPPER_ID_ATTRIBUTE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
LDAP Attribute of the instance ID. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_CROSS_INSTANCE_REFERENCE_TEMPLATE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
Template for the users unique reference across oCIS instances. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_LDAP_INSTANCE_URL_TEMPLATE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
Template for the instance URL. Requires OCIS_MULTI_INSTANCE_ENABLED.
|
||||
|
||||
a|`OCIS_ENABLE_OCM` +
|
||||
`GRAPH_INCLUDE_OCM_SHAREES` +
|
||||
|
||||
@@ -1427,49 +1300,5 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The service account secret.
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enable multiple instances of Infinite Scale.
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_INSTANCEID` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The unique ID of this instance.
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_QUERY_TEMPLATE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The regular expression extracting username and instancename from a user provided search.
|
||||
|
||||
a|`OCIS_MAX_TAG_LENGTH` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
a| [subs=-attributes]
|
||||
++int ++
|
||||
a| [subs=-attributes]
|
||||
++100 ++
|
||||
a| [subs=-attributes]
|
||||
Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags.
|
||||
|===
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
:show-deprecation: false
|
||||
:show-deprecation: true
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the groups service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`GROUPS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the idm service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`IDM_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the idp service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -64,7 +64,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`IDP_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the invitations service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`INVITATIONS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the nats service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`NATS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the notifications service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`NOTIFICATIONS_TRACING_ENDPOINT` +
|
||||
@@ -446,87 +446,5 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The service account secret.
|
||||
|
||||
a|`OCIS_PERSISTENT_STORE` +
|
||||
`NOTIFICATIONS_STORE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.1.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++nats-js-kv ++
|
||||
a| [subs=-attributes]
|
||||
The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sentinel', 'noop'. See the text description for details.
|
||||
|
||||
a|`OCIS_PERSISTENT_STORE_NODES` +
|
||||
`NOTIFICATIONS_STORE_NODES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.1.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[127.0.0.1:9233] ++
|
||||
a| [subs=-attributes]
|
||||
A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
|
||||
a|`NOTIFICATIONS_STORE_DATABASE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.1.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++notifications ++
|
||||
a| [subs=-attributes]
|
||||
The database name the configured store should use.
|
||||
|
||||
a|`NOTIFICATIONS_STORE_TABLE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.1.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The database table the store should use.
|
||||
|
||||
a|`OCIS_PERSISTENT_STORE_TTL` +
|
||||
`NOTIFICATIONS_STORE_TTL` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.1.0 ++
|
||||
a| [subs=-attributes]
|
||||
++Duration ++
|
||||
a| [subs=-attributes]
|
||||
++336h0m0s ++
|
||||
a| [subs=-attributes]
|
||||
Time to live for notifications in the store. Defaults to '336h' (2 weeks). See the Environment Variable Types description for more details.
|
||||
|
||||
a|`OCIS_PERSISTENT_STORE_AUTH_USERNAME` +
|
||||
`NOTIFICATIONS_STORE_AUTH_USERNAME` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.1.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|
||||
a|`OCIS_PERSISTENT_STORE_AUTH_PASSWORD` +
|
||||
`NOTIFICATIONS_STORE_AUTH_PASSWORD` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.1.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|===
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the ocdav service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`OCDAV_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the ocm service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`OCM_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the ocs service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`OCS_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the policies service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -273,7 +273,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`POLICIES_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the postprocessing service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`POSTPROCESSING_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the proxy service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`PROXY_TRACING_ENDPOINT` +
|
||||
@@ -226,17 +226,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Enable/Disable HTTPS for external HTTP services. Must be set to 'true' if the built-in IDP service an no reverse proxy is used. See the text description for details.
|
||||
|
||||
a|`PROXY_FORCE_STRICT_TRANSPORT_SECURITY` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Force emission of the Strict-Transport-Security header on all responses, including plain HTTP requests. See also: PROXY_TLS
|
||||
|
||||
a|`OCIS_REVA_GATEWAY` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
@@ -844,126 +833,5 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.
|
||||
|
||||
a|`OCIS_CLAIM_MANAGED_SPACES_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enables Space management through OIDC claims. See the text description for more details.
|
||||
|
||||
a|`OCIS_CLAIM_MANAGED_SPACES_CLAIMNAME` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The name of the claim used to manage Spaces.
|
||||
|
||||
a|`OCIS_CLAIM_MANAGED_SPACES_REGEXP` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The regular expression that extracts Space IDs and roles from a claim.
|
||||
|
||||
a|`OCIS_CLAIM_MANAGED_SPACES_MAPPING` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[] ++
|
||||
a| [subs=-attributes]
|
||||
(Optional) Mapping of OIDC roles to ocis Space roles. Example: 'oidcroleA:viewer,oidcroleB:manager'
|
||||
|
||||
a|`OCIS_MFA_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enable MFA enforcement. If enabled users need to complete MFA before they can access specific paths
|
||||
|
||||
a|`OCIS_MFA_AUTH_LEVEL_NAMES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.3.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[advanced] ++
|
||||
a| [subs=-attributes]
|
||||
This authentication level name indicates that multi-factor authentication was performed. The name must match the ACR claim in the access token received. Note: If multiple names are required, use a comma-separated list. The front-end service will use the first name in the list when requesting multi-factor authentication (MFA).
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_ENABLED` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enable multiple instances of Infinite Scale.
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_INSTANCEID` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The unique id of this instance
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_MEMBER_CLAIM` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The claim name for the 'memberOf' property
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_GUEST_CLAIM` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The claim name for the 'guestOf' property
|
||||
|
||||
a|`OCIS_MULTI_INSTANCE_GUEST_ROLE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The role that should be assigned to a guest user
|
||||
|===
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the search service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`SEARCH_TRACING_ENDPOINT` +
|
||||
@@ -367,17 +367,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
The directory where the filesystem will store search data. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/search.
|
||||
|
||||
a|`SEARCH_ENGINE_BLEVE_SCALE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.2.0 ++
|
||||
a| [subs=-attributes]
|
||||
++bool ++
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Enable scaling of the search index (bleve). If set to 'true', the instance of the search service will no longer have exclusive write access to the index. Note when scaling search, all instances of the search service must be set to true! For 'false', which is the default, the running search service has exclusive access to the index as long it is running. This locks out other search processes tying to access the index.
|
||||
|
||||
a|`SEARCH_EXTRACTOR_TYPE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the settings service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`SETTINGS_TRACING_ENDPOINT` +
|
||||
@@ -518,17 +518,5 @@ a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The default language used by services and the WebUI. If not defined, English will be used as default. See the documentation for more details.
|
||||
|
||||
a|`OCIS_TRANSLATION_PATH` +
|
||||
`SETTINGS_TRANSLATION_PATH` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++7.1.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
(optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
||||
|===
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the sharing service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`SHARING_TRACING_ENDPOINT` +
|
||||
@@ -665,7 +665,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++false ++
|
||||
a| [subs=-attributes]
|
||||
Set this to true if you want to enforce passwords on Uploader, Editor or Contributor shares.
|
||||
Set this to true if you want to enforce passwords on Uploader, Editor or Contributor shares. If not using the global OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD, you must define the FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD (deprecated) in the frontend service.
|
||||
|
||||
a|`OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD` +
|
||||
`SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the sse service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -145,7 +145,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`SSE_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the storage-publiclink service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`STORAGE_PUBLICLINK_TRACING_ENDPOINT` +
|
||||
@@ -239,98 +239,6 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
Path/File name for the root CA certificate (in PEM format) used to validate TLS server certificates of the go-micro based grpc services.
|
||||
|
||||
a|`STORAGE_PUBLICLINK_BRUTEFORCE_TIMEGAP` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++Duration ++
|
||||
a| [subs=-attributes]
|
||||
++1h0m0s ++
|
||||
a| [subs=-attributes]
|
||||
The duration of the time gap computed for the brute force protection.
|
||||
|
||||
a|`STORAGE_PUBLICLINK_BRUTEFORCE_MAXATTEMPTS` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++int ++
|
||||
a| [subs=-attributes]
|
||||
++5 ++
|
||||
a| [subs=-attributes]
|
||||
The maximum number of failed attempts allowed in the time gap defined in STORAGE_PUBLICLINK_BRUTEFORCE_TIMEGAP.
|
||||
|
||||
a|`OCIS_PERSISTENT_STORE` +
|
||||
`STORAGE_PUBLICLINK_STORE_STORE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++nats-js-kv ++
|
||||
a| [subs=-attributes]
|
||||
The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sentinel', 'noop'. See the text description for details.
|
||||
|
||||
a|`OCIS_PERSISTENT_STORE_NODES` +
|
||||
`STORAGE_PUBLICLINK_STORE_NODES` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++[]string ++
|
||||
a| [subs=-attributes]
|
||||
++[127.0.0.1:9233] ++
|
||||
a| [subs=-attributes]
|
||||
A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
|
||||
a|`STORAGE_PUBLICLINK_STORE_DATABASE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++storage-publiclink ++
|
||||
a| [subs=-attributes]
|
||||
The database name the configured store should use.
|
||||
|
||||
a|`STORAGE_PUBLICLINK_STORE_TABLE` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++brute-force-protection ++
|
||||
a| [subs=-attributes]
|
||||
The database table the store should use.
|
||||
|
||||
a|`OCIS_PERSISTENT_STORE_AUTH_USERNAME` +
|
||||
`STORAGE_PUBLICLINK_STORE_AUTH_USERNAME` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|
||||
a|`OCIS_PERSISTENT_STORE_AUTH_PASSWORD` +
|
||||
`STORAGE_PUBLICLINK_STORE_AUTH_PASSWORD` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
++8.0.0 ++
|
||||
a| [subs=-attributes]
|
||||
++string ++
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|
||||
a|`STORAGE_PUBLICLINK_SKIP_USER_GROUPS_IN_TOKEN` +
|
||||
|
||||
a| [subs=-attributes]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the storage-shares service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`STORAGE_SHARES_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-06]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the storage-system service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`STORAGE_SYSTEM_TRACING_ENDPOINT` +
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the storage-users service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -64,7 +64,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`STORAGE_USERS_TRACING_ENDPOINT` +
|
||||
@@ -733,7 +733,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++0 ++
|
||||
a| [subs=-attributes]
|
||||
Part size for concurrent uploads to S3. If no value or 0 is set, the library's default value of 16MB is used. The value range is min 5MB and max 5GB.
|
||||
Part size for concurrent uploads to S3.
|
||||
|
||||
a|`STORAGE_USERS_S3NG_PERSONAL_SPACE_ALIAS_TEMPLATE` +
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[#deprecation-note-2026-03-23-00-11-05]
|
||||
[#deprecation-note-2025-12-22-01-06-43]
|
||||
[caption=]
|
||||
.Deprecation notes for the thumbnails service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
@@ -53,7 +53,7 @@ a| [subs=-attributes]
|
||||
a| [subs=-attributes]
|
||||
++ ++
|
||||
a| [subs=-attributes]
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger', 'otlp' and '' as of now.
|
||||
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
||||
|
||||
a|`OCIS_TRACING_ENDPOINT` +
|
||||
`THUMBNAILS_TRACING_ENDPOINT` +
|
||||
|
||||
Loaded 100 of 243 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user