Compare commits
650
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7a3d0c535 | ||
|
|
9ef68fdcfd | ||
|
|
faa818385b | ||
|
|
f2c8ea075a | ||
|
|
24599f7a5a | ||
|
|
079fb63927 | ||
|
|
e6dfd502d6 | ||
|
|
dedd5228f3 | ||
|
|
e028632e4a | ||
|
|
8145478101 | ||
|
|
19d7acbd38 | ||
|
|
318b76abbf | ||
|
|
0453dba7a3 | ||
|
|
b795aabd37 | ||
|
|
b9abdabf25 | ||
|
|
f2e44c6353 | ||
|
|
43d74f276b | ||
|
|
f6e2f46ebb | ||
|
|
52f9938a3b | ||
|
|
22ef980210 | ||
|
|
74139f6c52 | ||
|
|
10c956121a | ||
|
|
53e26f8ad2 | ||
|
|
a793a4d1e6 | ||
|
|
17a97f48cd | ||
|
|
93b54b9144 | ||
|
|
3047e48add | ||
|
|
511a0c9b46 | ||
|
|
edfdb4610a | ||
|
|
be4fc13389 | ||
|
|
fd98beeecc | ||
|
|
ba63c2bb2c | ||
|
|
ccdc54effc | ||
|
|
d3af9f6913 | ||
|
|
6fecf79581 | ||
|
|
726b6b6a86 | ||
|
|
2a07392692 | ||
|
|
cb1b6d7ac7 | ||
|
|
c0d4c6c83d | ||
|
|
28a8c57288 | ||
|
|
8f1ecd3d2c | ||
|
|
071db57f14 | ||
|
|
5f0c635f92 | ||
|
|
4ce35acf01 | ||
|
|
bae3834861 | ||
|
|
5c1ffb5038 | ||
|
|
72c1ea5137 | ||
|
|
13f5ab0510 | ||
|
|
031b326cc1 | ||
|
|
09faa068fd | ||
|
|
0dd12cae93 | ||
|
|
cf83fe324a | ||
|
|
276ee4b8f1 | ||
|
|
72c2775089 | ||
|
|
90937e027c | ||
|
|
6b5447ef7b | ||
|
|
ca2dcf1514 | ||
|
|
5e5f350c75 | ||
|
|
68be48b95a | ||
|
|
dfafcb9664 | ||
|
|
1912fd601d | ||
|
|
4155b15f61 | ||
|
|
c4014f478e | ||
|
|
5e8ec2bfc1 | ||
|
|
61f0eb7738 | ||
|
|
84a93d24a9 | ||
|
|
84de8d563e | ||
|
|
f2ce3c8965 | ||
|
|
baf8c8ef73 | ||
|
|
4a9d0f297f | ||
|
|
ea6e743a22 | ||
|
|
357b7f0064 | ||
|
|
2ca62051b0 | ||
|
|
deff182729 | ||
|
|
109ebaef8a | ||
|
|
87147edaa2 | ||
|
|
761d72d901 | ||
|
|
0cfc365629 | ||
|
|
fd995475b6 | ||
|
|
6e4dc0a9eb | ||
|
|
bfc978c400 | ||
|
|
5b49432d2d | ||
|
|
5581558869 | ||
|
|
2ddc7f7399 | ||
|
|
ea9cbb8c2d | ||
|
|
a04c5c2f6f | ||
|
|
0e2c85d635 | ||
|
|
d2de2a775d | ||
|
|
9db5216bc4 | ||
|
|
79970b0812 | ||
|
|
6b259f6637 | ||
|
|
9dae458cdc | ||
|
|
7cb7daffd0 | ||
|
|
64a669d69f | ||
|
|
b09bc344da | ||
|
|
d0a00f8a8f | ||
|
|
38532e2df0 | ||
|
|
99c405fefe | ||
|
|
d2b0cb870b | ||
|
|
15f7c00186 | ||
|
|
1e8fe52b3a | ||
|
|
3c0928f0a2 | ||
|
|
9c120d0758 | ||
|
|
6e3752bb47 | ||
|
|
bba70c5ba5 | ||
|
|
bd83771d86 | ||
|
|
9e224849fa | ||
|
|
ffb1365742 | ||
|
|
51e1aa2978 | ||
|
|
b43d99b198 | ||
|
|
f2d82bd1ac | ||
|
|
b9803e3690 | ||
|
|
2b6220d790 | ||
|
|
403b16a5e8 | ||
|
|
6369e8752b | ||
|
|
0773698e40 | ||
|
|
a11250ee1c | ||
|
|
a71ba149c8 | ||
|
|
ecaef91312 | ||
|
|
b8fe3274a2 | ||
|
|
9079f3bd8f | ||
|
|
3b0eb5df32 | ||
|
|
065511f240 | ||
|
|
2cb04683bc | ||
|
|
a4d6fb9549 | ||
|
|
32d4deb97a | ||
|
|
20e687f094 | ||
|
|
f812f66191 | ||
|
|
4b71cd40af | ||
|
|
35e81ced43 | ||
|
|
25dc46ecd0 | ||
|
|
2eb906a3ff | ||
|
|
d7d9d76cfa | ||
|
|
eb59d2291e | ||
|
|
5ab09764aa | ||
|
|
2bd63509e3 | ||
|
|
3b41bc164e | ||
|
|
189987bcbd | ||
|
|
ebf39a6a90 | ||
|
|
a3c4a9d57d | ||
|
|
8bfb589879 | ||
|
|
6193c4a1f6 | ||
|
|
3f5f4865c1 | ||
|
|
d540c4405d | ||
|
|
b41498c121 | ||
|
|
d6bf26c744 | ||
|
|
905bbe53ac | ||
|
|
7ef205d232 | ||
|
|
c312ecf926 | ||
|
|
55d28f45c6 | ||
|
|
9d7c9d3409 | ||
|
|
4e0e19dfc7 | ||
|
|
7805c831c3 | ||
|
|
5346299e6d | ||
|
|
580e65ae2c | ||
|
|
da1abdbd8e | ||
|
|
ae9aff3d59 | ||
|
|
6f5b60861a | ||
|
|
edd3adcf1d | ||
|
|
a22cfe6cee | ||
|
|
b847dd6b63 | ||
|
|
16c3b1ae57 | ||
|
|
b88b1946d2 | ||
|
|
565548ebce | ||
|
|
ad6142d519 | ||
|
|
449a0169f6 | ||
|
|
706eb21c7e | ||
|
|
3d2c80432f | ||
|
|
39cc17bb36 | ||
|
|
231041737b | ||
|
|
56261e3e63 | ||
|
|
932904fd2e | ||
|
|
e14952a0af | ||
|
|
90e0eb47cb | ||
|
|
5bf8f254e1 | ||
|
|
b42c09c3d0 | ||
|
|
5a36f8f3b9 | ||
|
|
a6c295627d | ||
|
|
36a8fbadb3 | ||
|
|
e32f909b82 | ||
|
|
201722a88f | ||
|
|
68ccfa39f3 | ||
|
|
2c49a47d66 | ||
|
|
0fe6676738 | ||
|
|
958b4fe5e3 | ||
|
|
a29d202cae | ||
|
|
8ded0ced20 | ||
|
|
1e6b2fef38 | ||
|
|
b8ae9618c7 | ||
|
|
b13a9d7bba | ||
|
|
b65936fe99 | ||
|
|
eac18a9404 | ||
|
|
4f6cc66d57 | ||
|
|
003945edec | ||
|
|
28978e81ed | ||
|
|
7c6cdf0008 | ||
|
|
e97ec5ed58 | ||
|
|
618e6a6899 | ||
|
|
3ad56ed8ad | ||
|
|
49e39f3a4f | ||
|
|
59c4727421 | ||
|
|
2be54a8c54 | ||
|
|
771bfb6c6b | ||
|
|
9268fdcf86 | ||
|
|
2df402cf7e | ||
|
|
fd44da4629 | ||
|
|
b3c8ee3d30 | ||
|
|
d2edd6e98e | ||
|
|
f501814bef | ||
|
|
c6af86c2a8 | ||
|
|
dde2d41831 | ||
|
|
c0c19dc36a | ||
|
|
859ae544d5 | ||
|
|
ecb3d4bc84 | ||
|
|
6c2b9cb29b | ||
|
|
26a92f2bad | ||
|
|
ba2fbee07d | ||
|
|
b6f03f9a6c | ||
|
|
977c4fd9e9 | ||
|
|
f643de22c4 | ||
|
|
b35178584b | ||
|
|
18296ceea7 | ||
|
|
eb82c646c0 | ||
|
|
5e48b30dd0 | ||
|
|
ef6d32a12a | ||
|
|
061808ca72 | ||
|
|
47ed302e43 | ||
|
|
f588e90e23 | ||
|
|
4b70484c8f | ||
|
|
1a0e55cc74 | ||
|
|
90a8978a2b | ||
|
|
cb679a2ebc | ||
|
|
a766b77d26 | ||
|
|
31ed3391d4 | ||
|
|
bc41aca13f | ||
|
|
0d875d30b7 | ||
|
|
63be515ce9 | ||
|
|
5aa90918c9 | ||
|
|
c148c7ca5f | ||
|
|
3fd33957ca | ||
|
|
8560c3bc00 | ||
|
|
2446c3927e | ||
|
|
1c8b353d44 | ||
|
|
fd4ec56b3e | ||
|
|
a1b34a62a7 | ||
|
|
ea08dc995d | ||
|
|
40572a0838 | ||
|
|
acd6b33eda | ||
|
|
b08eb44c5b | ||
|
|
4d888ccb7a | ||
|
|
c720d18de8 | ||
|
|
bfc8196ac2 | ||
|
|
af54f4d824 | ||
|
|
398caeed2c | ||
|
|
3074d70cae | ||
|
|
f88c000bac | ||
|
|
0bb830097c | ||
|
|
6936a23d93 | ||
|
|
df8fd7626d | ||
|
|
161c23976f | ||
|
|
7dd486ba17 | ||
|
|
18e9661a24 | ||
|
|
73a7a61fb7 | ||
|
|
40d5f95c5e | ||
|
|
e5577a1c97 | ||
|
|
d8e84db539 | ||
|
|
0642a5e0ca | ||
|
|
df58097c5a | ||
|
|
fd292563d8 | ||
|
|
1c5bfacac1 | ||
|
|
bf936c8da1 | ||
|
|
7988125362 | ||
|
|
d1d6cf3b00 | ||
|
|
469fc3d4c5 | ||
|
|
d74e3d168b | ||
|
|
1e1016abea | ||
|
|
b629aa6b6d | ||
|
|
7245c354ca | ||
|
|
c3511c71ac | ||
|
|
5b0988f307 | ||
|
|
ab71b21fc7 | ||
|
|
78a6af3af5 | ||
|
|
a86cc5ab3a | ||
|
|
622e0774da | ||
|
|
0db6fae3ad | ||
|
|
dd9acdce7a | ||
|
|
c1e7aa3876 | ||
|
|
23c1f155ab | ||
|
|
3cb78021d2 | ||
|
|
c878adbd8b | ||
|
|
9934895843 | ||
|
|
f9dcf37674 | ||
|
|
b013974494 | ||
|
|
927198a9cd | ||
|
|
9d8072cda9 | ||
|
|
4c53707920 | ||
|
|
89a9a14d24 | ||
|
|
6474d46252 | ||
|
|
34554f319a | ||
|
|
c655e6bfe9 | ||
|
|
5f7c40373a | ||
|
|
b553f7a5f3 | ||
|
|
ce16c4f92c | ||
|
|
ec86cd82f7 | ||
|
|
416c966dbc | ||
|
|
cd285c9ad9 | ||
|
|
54ad9c3a87 | ||
|
|
e3b1a0ea65 | ||
|
|
1cdb81bd3e | ||
|
|
d9e3fb322d | ||
|
|
9f4bb8ffde | ||
|
|
22fb70684e | ||
|
|
bde3996e1b | ||
|
|
498d078a06 | ||
|
|
9bf1dcbf5b | ||
|
|
4fdd3170cc | ||
|
|
feda972487 | ||
|
|
d0506cf048 | ||
|
|
c47e43318a | ||
|
|
e1430270b4 | ||
|
|
851c64945f | ||
|
|
59c96413d9 | ||
|
|
19e893704b | ||
|
|
1b68e8589c | ||
|
|
ce146f830f | ||
|
|
f302f8a8c3 | ||
|
|
4ff313b0a5 | ||
|
|
0fdd23c2c6 | ||
|
|
08df2e32d9 | ||
|
|
18d0fa2416 | ||
|
|
5597f5f5d5 | ||
|
|
9971867d5a | ||
|
|
bc6cd9141d | ||
|
|
7b5d705d64 | ||
|
|
72688b3650 | ||
|
|
d86a86a884 | ||
|
|
be15d63747 | ||
|
|
3ec15bd1e0 | ||
|
|
622218ef49 | ||
|
|
767845d90a | ||
|
|
15c60df064 | ||
|
|
1c2a67f9b7 | ||
|
|
6bd67c0f27 | ||
|
|
293dbac7b3 | ||
|
|
2a2bfc4789 | ||
|
|
703a333ff0 | ||
|
|
09c6f23c42 | ||
|
|
ce45e90122 | ||
|
|
afa8ca8246 | ||
|
|
e582b609b5 | ||
|
|
25254140ac | ||
|
|
9e31bc0c1b | ||
|
|
9860f798bf | ||
|
|
20f916ca34 | ||
|
|
4e531ca442 | ||
|
|
55c4682823 | ||
|
|
ed1c459d98 | ||
|
|
0330b431bb | ||
|
|
83b94cf82d | ||
|
|
5a6c44afa0 | ||
|
|
3a9ba10dc4 | ||
|
|
1b2cc6df3e | ||
|
|
b515d7f83f | ||
|
|
ab254b05d0 | ||
|
|
aba2ee0c39 | ||
|
|
fb6a8ffc7b | ||
|
|
3054875a05 | ||
|
|
fb73322621 | ||
|
|
874b45be94 | ||
|
|
df53c2a545 | ||
|
|
5c159ee295 | ||
|
|
68c5e2366c | ||
|
|
83f75bf089 | ||
|
|
5437c853bd | ||
|
|
1005e96edb | ||
|
|
e5338dff55 | ||
|
|
4a9b31f3b4 | ||
|
|
31656e1a97 | ||
|
|
0b0efd6799 | ||
|
|
4dd89aa804 | ||
|
|
a00d28982f | ||
|
|
ae64a8f54b | ||
|
|
6e186e4b65 | ||
|
|
6bd4330103 | ||
|
|
4043f181b1 | ||
|
|
a37126f523 | ||
|
|
5b572b3852 | ||
|
|
e5b98095b8 | ||
|
|
e9a86c736a | ||
|
|
a261fc8c88 | ||
|
|
6efdede2b8 | ||
|
|
f74d1e27c1 | ||
|
|
b3f55765d8 | ||
|
|
9095b11d6c | ||
|
|
407399dd91 | ||
|
|
0a18c256b6 | ||
|
|
4bb4f9fbb1 | ||
|
|
48a6978e24 | ||
|
|
c5d0791f53 | ||
|
|
d106c87c51 | ||
|
|
0758854b63 | ||
|
|
656ef9d6ae | ||
|
|
827885abad | ||
|
|
d5084eea84 | ||
|
|
103abf840d | ||
|
|
aa7d75c845 | ||
|
|
33cb8a4e63 | ||
|
|
095e3c3f77 | ||
|
|
5d4800b570 | ||
|
|
72cb960790 | ||
|
|
45f0940071 | ||
|
|
1a38f3623c | ||
|
|
fb5ca006e4 | ||
|
|
5100465464 | ||
|
|
0f12ffbabe | ||
|
|
4b65e6dbbe | ||
|
|
0daaf08f3a | ||
|
|
485fa6db73 | ||
|
|
c235e07320 | ||
|
|
58a24e620e | ||
|
|
e2ea74c9bc | ||
|
|
4ae93e6efb | ||
|
|
a915f2e342 | ||
|
|
c710e1f794 | ||
|
|
d89055c854 | ||
|
|
c7844e2925 | ||
|
|
1e8493369f | ||
|
|
3c1f43ee51 | ||
|
|
5919d256f5 | ||
|
|
a4d7696232 | ||
|
|
a7840ba1b9 | ||
|
|
25e6d2cbdf | ||
|
|
a31aff912e | ||
|
|
c8f31888a8 | ||
|
|
84c8115c1a | ||
|
|
40320fbb36 | ||
|
|
29c7a5a1dc | ||
|
|
78dd337a4d | ||
|
|
4f2ea7ef44 | ||
|
|
acf75afebc | ||
|
|
5311c31433 | ||
|
|
1a84afc401 | ||
|
|
82bbb9fca3 | ||
|
|
89b925f34a | ||
|
|
c29f69d26b | ||
|
|
b26b68b943 | ||
|
|
f51bdd8946 | ||
|
|
01e307fb72 | ||
|
|
60bf000308 | ||
|
|
76a6588d88 | ||
|
|
430e7f6115 | ||
|
|
f39e354eea | ||
|
|
f40ec3c934 | ||
|
|
12c14e3135 | ||
|
|
4c6848e6bf | ||
|
|
d303bb6f55 | ||
|
|
5013d71dac | ||
|
|
7c879343e8 | ||
|
|
c70a60d7bc | ||
|
|
9e20992c0b | ||
|
|
ed4e9ee866 | ||
|
|
b31b70890f | ||
|
|
57e4e70888 | ||
|
|
634d557279 | ||
|
|
44e8b6e7be | ||
|
|
93bee371f5 | ||
|
|
a9ea6b5ff0 | ||
|
|
4202a99600 | ||
|
|
40b38dcf47 | ||
|
|
51cf27d767 | ||
|
|
0b6dcd8fe6 | ||
|
|
855ea0bcda | ||
|
|
2ac2680e68 | ||
|
|
a14b7f6c8a | ||
|
|
0834f0efa4 | ||
|
|
962840ec55 | ||
|
|
b14bded1d3 | ||
|
|
6d2c8342c0 | ||
|
|
d9648609bb | ||
|
|
b531c47ce1 | ||
|
|
fe61ef58e6 | ||
|
|
ca29517527 | ||
|
|
699f929422 | ||
|
|
3ec212c0cb | ||
|
|
5598fc04ec | ||
|
|
c17717d7c9 | ||
|
|
190ee68c95 | ||
|
|
1e5a9e90ff | ||
|
|
01f0704e53 | ||
|
|
3642b40f9f | ||
|
|
1fa61006a1 | ||
|
|
2e08c1c22a | ||
|
|
e0420ea2f9 | ||
|
|
d28a082448 | ||
|
|
9931ccf93f | ||
|
|
6e20eb7d7a | ||
|
|
9321f34cc8 | ||
|
|
f57d6ee413 | ||
|
|
ca15068695 | ||
|
|
f9e8f11df7 | ||
|
|
3990b3c754 | ||
|
|
fbecb7cb05 | ||
|
|
709453e3c5 | ||
|
|
be539f7217 | ||
|
|
8c08c98cc7 | ||
|
|
78c5a2c34a | ||
|
|
bddfade253 | ||
|
|
2b49a15b83 | ||
|
|
f7bb9063b2 | ||
|
|
e078abc7fd | ||
|
|
4857a6dbe3 | ||
|
|
fba90f772b | ||
|
|
341be5ee6f | ||
|
|
7425cb5f61 | ||
|
|
e39f49ef11 | ||
|
|
3285ec9c92 | ||
|
|
7a3ab44ae6 | ||
|
|
54583ca936 | ||
|
|
3bae522031 | ||
|
|
5c0f0d3eed | ||
|
|
a3f4a57c47 | ||
|
|
ce0e47b365 | ||
|
|
5b04aa1ee7 | ||
|
|
9e2962d561 | ||
|
|
09baf574aa | ||
|
|
ed4a809442 | ||
|
|
4c16b16445 | ||
|
|
c82a3f4b0e | ||
|
|
b802c78762 | ||
|
|
1cf095ccc1 | ||
|
|
0d45dc8777 | ||
|
|
addbbdadeb | ||
|
|
fa1b6d5a58 | ||
|
|
f7a84491ef | ||
|
|
916b2bbdc0 | ||
|
|
88cf3eec89 | ||
|
|
726604951d | ||
|
|
a55dae1703 | ||
|
|
daeb1a6c63 | ||
|
|
3956108e17 | ||
|
|
adb26fc62e | ||
|
|
cf49097af9 | ||
|
|
fde5b21a32 | ||
|
|
1f23452619 | ||
|
|
833b5ac4ea | ||
|
|
142b97878b | ||
|
|
b3aff31466 | ||
|
|
2e696f9ac4 | ||
|
|
3108565b9a | ||
|
|
8d81e39bd6 | ||
|
|
dcb8e4f356 | ||
|
|
d2dc0358a7 | ||
|
|
f6ead08dbd | ||
|
|
e5b7496c29 | ||
|
|
ff48a58c1f | ||
|
|
31d4cd17cb | ||
|
|
30cbc7f599 | ||
|
|
b3b7c9cb77 | ||
|
|
50f2be7d9b | ||
|
|
9efc1b9201 | ||
|
|
77f7adb277 | ||
|
|
4eed08bc3e | ||
|
|
75804c58aa | ||
|
|
9a68be7a64 | ||
|
|
b385e26299 | ||
|
|
3e6fc7829c | ||
|
|
9d756fd611 | ||
|
|
c9c329b139 | ||
|
|
37f64eb0e8 | ||
|
|
34c9a36d7c | ||
|
|
180fb34ee4 | ||
|
|
a332ba8c00 | ||
|
|
685f9fb410 | ||
|
|
c21cc06b66 | ||
|
|
2de90423b7 | ||
|
|
f3e5e4d0fb | ||
|
|
a0d99464b2 | ||
|
|
bba190f980 | ||
|
|
6573c2adba | ||
|
|
997cfc2121 | ||
|
|
cfd85f4f6c | ||
|
|
ec2401ec46 | ||
|
|
a78df515f4 | ||
|
|
4f07fc4a47 | ||
|
|
6457144a80 | ||
|
|
099c805f36 | ||
|
|
750286bc1a | ||
|
|
ab2a4e7068 | ||
|
|
b4017a0451 | ||
|
|
3a9f2d8e15 | ||
|
|
960b4546d1 | ||
|
|
f21eee2d93 | ||
|
|
80c0d9527a | ||
|
|
26bc531c52 | ||
|
|
d84f3043ca | ||
|
|
5948417cee | ||
|
|
2e49c9abc2 | ||
|
|
7773b9c23d | ||
|
|
3f2ac2eb8f | ||
|
|
62afc46704 | ||
|
|
089aa09e91 | ||
|
|
77e764e4d5 | ||
|
|
70ca1f45f8 | ||
|
|
40a4c5070a | ||
|
|
ae4c72d1c7 | ||
|
|
b99e565c51 | ||
|
|
7774240ab1 | ||
|
|
09061ced50 | ||
|
|
3860e5fd85 | ||
|
|
6b96183618 | ||
|
|
418e32f3d7 | ||
|
|
725d55b494 | ||
|
|
fdd94daae8 | ||
|
|
a919195f34 | ||
|
|
afea0b4304 | ||
|
|
e5abc25aa1 | ||
|
|
4347b2672f | ||
|
|
e079465ff8 | ||
|
|
1a1a4d6a3c | ||
|
|
92d76e00ab | ||
|
|
689ec4f266 | ||
|
|
2153d22e61 | ||
|
|
bff47cc0f1 | ||
|
|
bfc8db848c | ||
|
|
4404b9741d | ||
|
|
1932e594d1 | ||
|
|
4d821cdc9d | ||
|
|
d4442941a1 | ||
|
|
2089ac5f7b | ||
|
|
1c5d02da20 | ||
|
|
30f636abb8 | ||
|
|
0b68094ecd | ||
|
|
a737f4e0a7 | ||
|
|
4c23ced637 | ||
|
|
bca502d2bd | ||
|
|
9535b73904 | ||
|
|
f232923d60 | ||
|
|
629f15afcb | ||
|
|
c752b3df75 | ||
|
|
3e0158e4a6 | ||
|
|
6a21f12ec6 | ||
|
|
6be2d8c0c5 | ||
|
|
6bb9af5a24 | ||
|
|
6f59395611 | ||
|
|
a0890eb043 | ||
|
|
099a89a523 | ||
|
|
79035baaf0 | ||
|
|
0768aef1b5 | ||
|
|
6cc04872ee | ||
|
|
3099d4a821 |
No files matched your search
+4
-4
@@ -1,4 +1,4 @@
|
||||
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.5.2. DO NOT EDIT.
|
||||
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.6. DO NOT EDIT.
|
||||
# All tools are designed to be build inside $GOBIN.
|
||||
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
GOPATH ?= $(shell go env GOPATH)
|
||||
@@ -17,11 +17,11 @@ GO ?= $(shell which go)
|
||||
# @echo "Running bingo"
|
||||
# @$(BINGO) <flags/args..>
|
||||
#
|
||||
BINGO := $(GOBIN)/bingo-v0.5.2
|
||||
BINGO := $(GOBIN)/bingo-v0.6.0
|
||||
$(BINGO): $(BINGO_DIR)/bingo.mod
|
||||
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
||||
@echo "(re)installing $(GOBIN)/bingo-v0.5.2"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.5.2 "github.com/bwplotka/bingo"
|
||||
@echo "(re)installing $(GOBIN)/bingo-v0.6.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.6.0 "github.com/bwplotka/bingo"
|
||||
|
||||
BUF := $(GOBIN)/buf-v1.3.1
|
||||
$(BUF): $(BINGO_DIR)/buf.mod
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.17
|
||||
|
||||
require github.com/bwplotka/bingo v0.5.2
|
||||
require github.com/bwplotka/bingo v0.6.0
|
||||
@@ -2,23 +2,37 @@ github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3Q
|
||||
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
|
||||
github.com/bwplotka/bingo v0.5.2 h1:iNCW7magHQK/ozLxoBVEhzhuFiftNQeFsfR9TuIEFxE=
|
||||
github.com/bwplotka/bingo v0.5.2/go.mod h1:CNMrHaFo3AhgU86psqpMQ8BOac2SZMhYfd0On/Ubt64=
|
||||
github.com/bwplotka/bingo v0.6.0 h1:AlRrI9J/GVjOUSZbsYQ5WS8X8FnLpTbEAhUVW5iOQ7M=
|
||||
github.com/bwplotka/bingo v0.6.0/go.mod h1:/qx0tLceUEeAs1R8QnIF+n9+Q0xUe7hmdQTB2w0eDYk=
|
||||
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
||||
github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
||||
github.com/creack/pty v1.1.15/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/efficientgo/tools/core v0.0.0-20210201220623-8118984754c2 h1:GD19G/vhEa8amDJDBYcTaFXZjxKed67Ev0ZFPHdd/LQ=
|
||||
github.com/efficientgo/tools/core v0.0.0-20210201220623-8118984754c2/go.mod h1:cFZoHUhKg31xkPnPjhPKFtevnx0Xcg67ptBRxbpaxtk=
|
||||
github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b h1:ZHiD4/yE4idlbqvAO6iYCOYRzOMRpxkW+FKasRA3tsQ=
|
||||
github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b/go.mod h1:OmVcnJopJL8d3X3sSXTiypGoUSgFq1aDGmlrdi9dn/M=
|
||||
github.com/frankban/quicktest v1.13.1/go.mod h1:NeW+ay9A/U67EYXNFA1nPE8e/tnQv/09mUdL/ijj8og=
|
||||
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
|
||||
github.com/google/renameio v1.0.1/go.mod h1:t/HQoYBZSsWSNK35C6CO/TpPLDVWvxOHboWUAweKUpk=
|
||||
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
|
||||
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
|
||||
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
|
||||
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||
github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA=
|
||||
github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU=
|
||||
github.com/pkg/diff v0.0.0-20200914180035-5b29258ca4f7/go.mod h1:zO8QMzTeZd5cpnIkz/Gn6iK0jDfGicM1nynOkkPIl28=
|
||||
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
|
||||
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
|
||||
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
|
||||
github.com/rogpeppe/go-internal v1.6.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
|
||||
github.com/rogpeppe/go-internal v1.8.1-0.20210923151022-86f73c517451/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o=
|
||||
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
|
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||
@@ -29,19 +43,30 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U
|
||||
golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
|
||||
golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
|
||||
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/mod v0.5.1 h1:OJxoQ/rynoF0dcCdI7cLPktw/hR2cueqYfjm43oqK38=
|
||||
golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
|
||||
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=
|
||||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
|
||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20201029080932-201ba4db2418 h1:HlFl4V6pEMziuLXyRkm5BIYq1y1GAbb02pRlWvI54OM=
|
||||
golang.org/x/sys v0.0.0-20201029080932-201ba4db2418/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20210925032602-92d5a993a665/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f h1:rlezHXNlxYWvBCzNses9Dlc7nGFaNMJeqLolcmQSSZY=
|
||||
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/term v0.0.0-20191110171634-ad39bd3f0407 h1:5zh5atpUEdIc478E/ebrIaHLKcfVvG6dL/fGv7BcMoM=
|
||||
golang.org/x/term v0.0.0-20191110171634-ad39bd3f0407/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
||||
golang.org/x/term v0.0.0-20210916214954-140adaaadfaf/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
|
||||
golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
|
||||
@@ -49,11 +74,17 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898 h1:/atklqdjdhuosWIl6AIbOeHJjicWYPqR9bpxqxYG2pA=
|
||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
|
||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
mvdan.cc/editorconfig v0.1.1-0.20200121172147-e40951bde157/go.mod h1:Ge4atmRUYqueGppvJ7JNrtqpqokoJEFxYbP0Z+WeKS8=
|
||||
mvdan.cc/editorconfig v0.2.0/go.mod h1:lvnnD3BNdBYkhq+B4uBuFFKatfp02eB6HixDvEz91C0=
|
||||
mvdan.cc/sh/v3 v3.2.4 h1:+fZaWcXWRjYAvqzEKoDhDM3DkxdDUykU2iw0VMKFe9s=
|
||||
mvdan.cc/sh/v3 v3.2.4/go.mod h1:fPQmabBpREM/XQ9YXSU5ZFZ/Sm+PmKP9/vkFHgYKJEI=
|
||||
mvdan.cc/sh/v3 v3.4.3 h1:zbuKH7YH9cqU6PGajhFFXZY7dhPXcDr55iN/cUAqpuw=
|
||||
mvdan.cc/sh/v3 v3.4.3/go.mod h1:p/tqPPI4Epfk2rICAe2RoaNd8HBSJ8t9Y2DA9yQlbzY=
|
||||
@@ -1,4 +1,4 @@
|
||||
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.5.2. DO NOT EDIT.
|
||||
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.6. DO NOT EDIT.
|
||||
# All tools are designed to be build inside $GOBIN.
|
||||
# Those variables will work only until 'bingo get' was invoked, or if tools were installed via Makefile's Variables.mk.
|
||||
GOBIN=${GOBIN:=$(go env GOBIN)}
|
||||
@@ -8,7 +8,7 @@ if [ -z "$GOBIN" ]; then
|
||||
fi
|
||||
|
||||
|
||||
BINGO="${GOBIN}/bingo-v0.5.2"
|
||||
BINGO="${GOBIN}/bingo-v0.6.0"
|
||||
|
||||
BUF="${GOBIN}/buf-v1.3.1"
|
||||
|
||||
|
||||
@@ -15,5 +15,6 @@ exclude_paths:
|
||||
- 'deployments/**'
|
||||
- 'tests/acceptance/expected-failures-*.md'
|
||||
- 'tests/acceptance/features/bootstrap/**'
|
||||
- 'tests/TestHelpers/**'
|
||||
|
||||
...
|
||||
@@ -1,7 +1,6 @@
|
||||
.bingo
|
||||
!.bingo/*.mod
|
||||
!.bingo/Variables.mk
|
||||
**/.git
|
||||
**/bin
|
||||
docs
|
||||
**/node_modules
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
# The test runner source for API tests
|
||||
CORE_COMMITID=8d336099571f9218e09ba5ddf0eb30b19cab7d4f
|
||||
CORE_COMMITID=5699b6e0adf79ec3241a918ac28c8eb20c70f8bd
|
||||
CORE_BRANCH=master
|
||||
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=41c62d459c4e7bc4a04367eb80f45a8c29aa3baa
|
||||
WEB_COMMITID=54495e55a46c051680e121dae8c9c4f7938746cb
|
||||
WEB_BRANCH=master
|
||||
+117
-103
@@ -18,7 +18,7 @@ OC_CI_NODEJS = "owncloudci/nodejs:%s"
|
||||
OC_CI_PHP = "owncloudci/php:%s"
|
||||
OC_CI_WAIT_FOR = "owncloudci/wait-for:latest"
|
||||
OC_CS3_API_VALIDATOR = "owncloud/cs3api-validator:latest"
|
||||
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.4.0"
|
||||
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.6.0"
|
||||
OC_SERVER = "owncloud/server:10"
|
||||
OC_UBUNTU = "owncloud/ubuntu:18.04"
|
||||
OSIXIA_OPEN_LDAP = "osixia/openldap:latest"
|
||||
@@ -43,22 +43,39 @@ DEFAULT_NODEJS_VERSION = "14"
|
||||
config = {
|
||||
"modules": [
|
||||
# if you add a module here please also add it to the root level Makefile
|
||||
"accounts",
|
||||
"audit",
|
||||
"glauth",
|
||||
"graph-explorer",
|
||||
"graph",
|
||||
"idp",
|
||||
"extensions/accounts",
|
||||
"extensions/app-provider",
|
||||
"extensions/app-registry",
|
||||
"extensions/audit",
|
||||
"extensions/auth-basic",
|
||||
"extensions/auth-bearer",
|
||||
"extensions/auth-machine",
|
||||
"extensions/frontend",
|
||||
"extensions/gateway",
|
||||
"extensions/glauth",
|
||||
"extensions/graph-explorer",
|
||||
"extensions/graph",
|
||||
"extensions/groups",
|
||||
"extensions/idm",
|
||||
"extensions/idp",
|
||||
"extensions/nats",
|
||||
"extensions/notifications",
|
||||
"extensions/ocdav",
|
||||
"extensions/ocs",
|
||||
"extensions/proxy",
|
||||
"extensions/settings",
|
||||
"extensions/sharing",
|
||||
"extensions/storage-system",
|
||||
"extensions/storage-publiclink",
|
||||
"extensions/storage-shares",
|
||||
"extensions/storage-users",
|
||||
"extensions/store",
|
||||
"extensions/thumbnails",
|
||||
"extensions/users",
|
||||
"extensions/web",
|
||||
"extensions/webdav",
|
||||
"ocis-pkg",
|
||||
"ocis",
|
||||
"ocs",
|
||||
"proxy",
|
||||
"settings",
|
||||
"storage",
|
||||
"store",
|
||||
"thumbnails",
|
||||
"web",
|
||||
"webdav",
|
||||
],
|
||||
"cs3ApiTests": {
|
||||
"skip": False,
|
||||
@@ -81,11 +98,11 @@ config = {
|
||||
"earlyFail": True,
|
||||
},
|
||||
"accountsUITests": {
|
||||
"skip": False,
|
||||
"skip": True,
|
||||
"earlyFail": True,
|
||||
},
|
||||
"settingsUITests": {
|
||||
"skip": False,
|
||||
"skip": True,
|
||||
"earlyFail": True,
|
||||
},
|
||||
"parallelApiTests": {
|
||||
@@ -301,7 +318,7 @@ def testOcisModule(ctx, module):
|
||||
"commands": [
|
||||
"mkdir -p cache/checkstyle",
|
||||
"make -C %s ci-golangci-lint" % (module),
|
||||
"mv %s/checkstyle.xml cache/checkstyle/%s_checkstyle.xml" % (module, module),
|
||||
"mv %s/checkstyle.xml cache/checkstyle/$(basename %s)_checkstyle.xml" % (module, module),
|
||||
],
|
||||
"volumes": [stepVolumeGo],
|
||||
},
|
||||
@@ -311,7 +328,7 @@ def testOcisModule(ctx, module):
|
||||
"commands": [
|
||||
"mkdir -p cache/coverage",
|
||||
"make -C %s test" % (module),
|
||||
"mv %s/coverage.out cache/coverage/%s_coverage.out" % (module, module),
|
||||
"mv %s/coverage.out cache/coverage/$(basename %s)_coverage.out" % (module, module),
|
||||
],
|
||||
"volumes": [stepVolumeGo],
|
||||
},
|
||||
@@ -492,6 +509,9 @@ def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
|
||||
"name": "localApiTests-%s-%s" % (suite, storage),
|
||||
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
|
||||
"environment": {
|
||||
"TEST_WITH_GRAPH_API": "true",
|
||||
"PATH_TO_OCIS": "/drone/src",
|
||||
"PATH_TO_CORE": "/srv/app/testrunner",
|
||||
"TEST_SERVER_URL": "https://ocis-server:9200",
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
|
||||
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
|
||||
@@ -500,8 +520,7 @@ def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
|
||||
"SEND_SCENARIO_LINE_REFERENCES": "true",
|
||||
"STORAGE_DRIVER": storage,
|
||||
"BEHAT_SUITE": suite,
|
||||
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"PATH_TO_CORE": "/srv/app/testrunner",
|
||||
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-localAPI-on-%s-storage.md" % (storage.upper()),
|
||||
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
||||
},
|
||||
@@ -557,6 +576,8 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
|
||||
|
||||
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
early_fail = config["apiTests"]["earlyFail"] if "earlyFail" in config["apiTests"] else False
|
||||
filterTags = "~@skipOnGraph&&~@skipOnOcis&&~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage&&~@issue-ocis-3023" % ("OC" if storage == "owncloud" else "OCIS")
|
||||
expectedFailuresFile = "/drone/src/tests/acceptance/expected-failures-API-on-%s-storage.md" % (storage.upper())
|
||||
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
@@ -573,6 +594,9 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
||||
"name": "oC10ApiTests-%s-storage-%s" % (storage, part_number),
|
||||
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
|
||||
"environment": {
|
||||
"TEST_WITH_GRAPH_API": "true",
|
||||
"PATH_TO_OCIS": "/drone/src",
|
||||
"PATH_TO_CORE": "/srv/app/testrunner",
|
||||
"TEST_SERVER_URL": "https://ocis-server:9200",
|
||||
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
|
||||
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
|
||||
@@ -580,10 +604,10 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
|
||||
"TEST_OCIS": "true",
|
||||
"SEND_SCENARIO_LINE_REFERENCES": "true",
|
||||
"STORAGE_DRIVER": storage,
|
||||
"BEHAT_FILTER_TAGS": "~@skipOnOcis&&~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage&&~@issue-ocis-3023" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"BEHAT_FILTER_TAGS": filterTags,
|
||||
"DIVIDE_INTO_NUM_PARTS": number_of_parts,
|
||||
"RUN_PART": part_number,
|
||||
"EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-API-on-%s-storage.md" % (storage.upper()),
|
||||
"EXPECTED_FAILURES_FILE": expectedFailuresFile,
|
||||
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
||||
},
|
||||
"commands": [
|
||||
@@ -751,7 +775,7 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
"LOCAL_UPLOAD_DIR": "/uploads",
|
||||
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
|
||||
"WEB_PATH": "/srv/app/web",
|
||||
"FEATURE_PATH": "/drone/src/accounts/ui/tests/acceptance/features",
|
||||
"FEATURE_PATH": "/drone/src/extensions/accounts/ui/tests/acceptance/features",
|
||||
"MIDDLEWARE_HOST": "http://middleware:3000",
|
||||
},
|
||||
"commands": [
|
||||
@@ -762,7 +786,7 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
"git checkout $WEB_COMMITID",
|
||||
# TODO: settings/package.json has all the acceptance test dependencies
|
||||
# they shouldn't be needed since we could also use them from web:/tests/acceptance/package.json
|
||||
"cd /drone/src/accounts",
|
||||
"cd /drone/src/extensions/accounts",
|
||||
"yarn install --immutable",
|
||||
"make test-acceptance-webui",
|
||||
],
|
||||
@@ -815,7 +839,7 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
"LOCAL_UPLOAD_DIR": "/uploads",
|
||||
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
|
||||
"WEB_PATH": "/srv/app/web",
|
||||
"FEATURE_PATH": "/drone/src/settings/ui/tests/acceptance/features",
|
||||
"FEATURE_PATH": "/drone/src/extensions/settings/ui/tests/acceptance/features",
|
||||
"MIDDLEWARE_HOST": "http://middleware:3000",
|
||||
},
|
||||
"commands": [
|
||||
@@ -826,7 +850,7 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
"git checkout $WEB_COMMITID",
|
||||
# TODO: settings/package.json has all the acceptance test dependencies
|
||||
# they shouldn't be needed since we could also use them from web:/tests/acceptance/package.json
|
||||
"cd /drone/src/settings",
|
||||
"cd /drone/src/extensions/settings",
|
||||
"yarn install --immutable",
|
||||
"make test-acceptance-webui",
|
||||
],
|
||||
@@ -1613,102 +1637,96 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
if not testing_parallel_deploy:
|
||||
user = "0:0"
|
||||
environment = {
|
||||
"OCIS_URL": "https://ocis-server:9200",
|
||||
"STORAGE_GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
|
||||
"STORAGE_HOME_DRIVER": "%s" % (storage),
|
||||
"OCIS_URL": OCIS_URL,
|
||||
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142", # cs3api-validator needs the cs3api gatway exposed
|
||||
"STORAGE_USERS_DRIVER": "%s" % (storage),
|
||||
"STORAGE_USERS_DRIVER_LOCAL_ROOT": "/srv/app/tmp/ocis/local/root",
|
||||
"STORAGE_USERS_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/users",
|
||||
"STORAGE_METADATA_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/metadata",
|
||||
"STORAGE_SHARING_USER_JSON_FILE": "/srv/app/tmp/ocis/shares.json",
|
||||
"STORAGE_SYSTEM_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/metadata",
|
||||
"SHARING_USER_JSON_FILE": "/srv/app/tmp/ocis/shares.json",
|
||||
"PROXY_ENABLE_BASIC_AUTH": True,
|
||||
"WEB_UI_CONFIG": "/drone/src/tests/config/drone/ocis-config.json",
|
||||
"IDP_IDENTIFIER_REGISTRATION_CONF": "/drone/src/tests/config/drone/identifier-registration.yml",
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"SETTINGS_DATA_PATH": "/srv/app/tmp/ocis/settings",
|
||||
"OCIS_INSECURE": "true",
|
||||
"ACCOUNTS_DEMO_USERS_AND_GROUPS": True, # deprecated, remove after switching to LibreIDM
|
||||
"IDM_CREATE_DEMO_USERS": True,
|
||||
"IDM_ADMIN_PASSWORD": "admin", # override the random admin password from `ocis init`
|
||||
}
|
||||
wait_for_ocis = {
|
||||
"name": "wait-for-ocis-server",
|
||||
"image": OC_CI_ALPINE,
|
||||
"commands": [
|
||||
"curl -k -u admin:admin --fail --retry-connrefused --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/admin'",
|
||||
],
|
||||
"depends_on": depends_on,
|
||||
}
|
||||
else:
|
||||
user = "33:33"
|
||||
environment = {
|
||||
# Keycloak IDP specific configuration
|
||||
"PROXY_OIDC_ISSUER": "https://keycloak/auth/realms/owncloud",
|
||||
"WEB_OIDC_AUTHORITY": "https://keycloak/auth/realms/owncloud",
|
||||
"WEB_OIDC_CLIENT_ID": "ocis-web",
|
||||
"OCIS_OIDC_ISSUER": "https://keycloak/auth/realms/owncloud",
|
||||
"WEB_OIDC_METADATA_URL": "https://keycloak/auth/realms/owncloud/.well-known/openid-configuration",
|
||||
"STORAGE_OIDC_ISSUER": "https://keycloak",
|
||||
"STORAGE_LDAP_IDP": "https://keycloak/auth/realms/owncloud",
|
||||
"WEB_OIDC_CLIENT_ID": "ocis-web",
|
||||
"WEB_OIDC_SCOPE": "openid profile email owncloud",
|
||||
# external ldap is supposed to be read only
|
||||
"GRAPH_IDENTITY_BACKEND": "ldap",
|
||||
"GRAPH_LDAP_SERVER_WRITE_ENABLED": "false",
|
||||
# LDAP bind
|
||||
"STORAGE_LDAP_URI": "ldaps://openldap",
|
||||
"STORAGE_LDAP_INSECURE": "true",
|
||||
"STORAGE_LDAP_BIND_DN": "cn=admin,dc=owncloud,dc=com",
|
||||
"STORAGE_LDAP_BIND_PASSWORD": "admin",
|
||||
"LDAP_URI": "ldaps://openldap",
|
||||
"LDAP_INSECURE": "true",
|
||||
"LDAP_BIND_DN": "cn=admin,dc=owncloud,dc=com",
|
||||
"LDAP_BIND_PASSWORD": "admin",
|
||||
# LDAP user settings
|
||||
"PROXY_AUTOPROVISION_ACCOUNTS": "true", # automatically create users when they login
|
||||
"PROXY_ACCOUNT_BACKEND_TYPE": "cs3", # proxy should get users from CS3APIS (which gets it from LDAP)
|
||||
"PROXY_USER_OIDC_CLAIM": "ocis.user.uuid", # claim was added in Keycloak
|
||||
"PROXY_USER_CS3_CLAIM": "userid", # equals STORAGE_LDAP_USER_SCHEMA_UID
|
||||
"STORAGE_LDAP_GROUP_BASE_DN": "ou=testgroups,dc=owncloud,dc=com",
|
||||
"STORAGE_LDAP_GROUP_OBJECTCLASS": "groupOfUniqueNames",
|
||||
"STORAGE_LDAP_GROUPFILTER": "(objectclass=owncloud)",
|
||||
"STORAGE_LDAP_GROUP_SCHEMA_DISPLAYNAME": "cn",
|
||||
"STORAGE_LDAP_GROUP_SCHEMA_GID_NUMBER": "gidnumber",
|
||||
"STORAGE_LDAP_GROUP_SCHEMA_ID": "cn",
|
||||
"STORAGE_LDAP_GROUP_SCHEMA_MAIL": "mail",
|
||||
"STORAGE_LDAP_GROUP_SCHEMA_MEMBER": "cn",
|
||||
"STORAGE_LDAP_USER_BASE_DN": "ou=testusers,dc=owncloud,dc=com",
|
||||
"STORAGE_LDAP_USER_OBJECTCLASS": "posixAccount",
|
||||
"STORAGE_LDAP_USERFILTER": "(objectclass=owncloud)",
|
||||
"STORAGE_LDAP_USER_SCHEMA_USERNAME": "cn",
|
||||
"STORAGE_LDAP_USER_SCHEMA_DISPLAYNAME": "displayname",
|
||||
"STORAGE_LDAP_USER_SCHEMA_GID_NUMBER": "gidnumber",
|
||||
"STORAGE_LDAP_USER_SCHEMA_MAIL": "mail",
|
||||
"STORAGE_LDAP_USER_SCHEMA_UID_NUMBER": "uidnumber",
|
||||
"STORAGE_LDAP_USER_SCHEMA_ID": "ownclouduuid",
|
||||
"STORAGE_LDAP_LOGIN_ATTRIBUTES": "uid,mail",
|
||||
"LDAP_GROUP_BASE_DN": "ou=TestGroups,dc=owncloud,dc=com",
|
||||
"LDAP_GROUP_OBJECTCLASS": "groupOfUniqueNames",
|
||||
"LDAP_GROUP_SCHEMA_DISPLAYNAME": "cn",
|
||||
"LDAP_GROUP_SCHEMA_ID": "cn",
|
||||
"LDAP_GROUP_SCHEMA_MAIL": "mail",
|
||||
"LDAP_GROUP_SCHEMA_MEMBER": "cn",
|
||||
"LDAP_GROUPFILTER": "(objectclass=owncloud)",
|
||||
"LDAP_LOGIN_ATTRIBUTES": "uid",
|
||||
"LDAP_USER_BASE_DN": "ou=TestUsers,dc=owncloud,dc=com",
|
||||
"LDAP_USER_OBJECTCLASS": "posixAccount",
|
||||
"LDAP_USER_SCHEMA_DISPLAYNAME": "displayname",
|
||||
"LDAP_USER_SCHEMA_ID": "ownclouduuid",
|
||||
"LDAP_USER_SCHEMA_MAIL": "mail",
|
||||
"LDAP_USER_SCHEMA_USERNAME": "cn",
|
||||
"LDAP_USERFILTER": "(objectclass=owncloud)",
|
||||
# ownCloudSQL storage driver
|
||||
"STORAGE_HOME_DRIVER": "owncloudsql",
|
||||
"STORAGE_USERS_DRIVER": "owncloudsql",
|
||||
"STORAGE_METADATA_DRIVER": "ocis",
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DATADIR": "/mnt/data/files",
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_UPLOADINFO_DIR": "/tmp",
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_SHARE_FOLDER": "/Shares",
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_LAYOUT": "{{.Username}}",
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBUSERNAME": "owncloud",
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBPASSWORD": "owncloud",
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBHOST": "oc10-db",
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBPORT": 3306,
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBNAME": "owncloud",
|
||||
# TODO: redis is not yet supported
|
||||
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_REDIS_ADDR": "redis:6379",
|
||||
"STORAGE_USERS_OWNCLOUDSQL_DATADIR": "/mnt/data/files",
|
||||
"STORAGE_USERS_OWNCLOUDSQL_SHARE_FOLDER": "/Shares",
|
||||
"STORAGE_USERS_OWNCLOUDSQL_LAYOUT": "{{.Username}}",
|
||||
"STORAGE_USERS_OWNCLOUDSQL_DB_USERNAME": "owncloud",
|
||||
"STORAGE_USERS_OWNCLOUDSQL_DB_PASSWORD": "owncloud",
|
||||
"STORAGE_USERS_OWNCLOUDSQL_DB_HOST": "oc10-db",
|
||||
"STORAGE_USERS_OWNCLOUDSQL_DB_PORT": 3306,
|
||||
"STORAGE_USERS_OWNCLOUDSQL_DB_NAME": "owncloud",
|
||||
# ownCloudSQL sharing driver
|
||||
"STORAGE_SHARING_USER_DRIVER": "oc10-sql",
|
||||
"STORAGE_SHARING_USER_SQL_USERNAME": "owncloud",
|
||||
"STORAGE_SHARING_USER_SQL_PASSWORD": "owncloud",
|
||||
"STORAGE_SHARING_USER_SQL_HOST": "oc10-db",
|
||||
"STORAGE_SHARING_USER_SQL_PORT": 3306,
|
||||
"STORAGE_SHARING_USER_SQL_NAME": "owncloud",
|
||||
# ownCloud storage readonly
|
||||
# TODO: conflict with OWNCLOUDSQL -> https://github.com/owncloud/ocis/issues/2303
|
||||
"OCIS_STORAGE_READ_ONLY": "false",
|
||||
"SHARING_USER_DRIVER": "owncloudsql",
|
||||
"SHARING_USER_OWNCLOUDSQL_DB_USERNAME": "owncloud",
|
||||
"SHARING_USER_OWNCLOUDSQL_DB_PASSWORD": "owncloud",
|
||||
"SHARING_USER_OWNCLOUDSQL_DB_HOST": "oc10-db",
|
||||
"SHARING_USER_OWNCLOUDSQL_DB_PORT": 3306,
|
||||
"SHARING_USER_OWNCLOUDSQL_DB_NAME": "owncloud",
|
||||
# General oCIS config
|
||||
# OCIS_RUN_EXTENSIONS specifies to start all extensions except glauth, idp and accounts. These are replaced by external services
|
||||
"OCIS_RUN_EXTENSIONS": "settings,storage-metadata,graph,graph-explorer,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,proxy,nats,ocdav",
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"OCIS_RUN_EXTENSIONS": "app-registry,app-provider,audit,auth-basic,auth-bearer,auth-machine,frontend,gateway,graph,graph-explorer,groups,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav",
|
||||
"OCIS_LOG_LEVEL": "info",
|
||||
"OCIS_URL": OCIS_URL,
|
||||
"PROXY_TLS": "true",
|
||||
"OCIS_BASE_DATA_PATH": "/mnt/data/ocis",
|
||||
# change default secrets
|
||||
"OCIS_JWT_SECRET": "Pive-Fumkiu4",
|
||||
"STORAGE_TRANSFER_SECRET": "replace-me-with-a-transfer-secret",
|
||||
"OCIS_MACHINE_AUTH_API_KEY": "change-me-please",
|
||||
"OCIS_INSECURE": "true",
|
||||
"OCIS_CONFIG_DIR": "/etc/ocis",
|
||||
"PROXY_ENABLE_BASIC_AUTH": "true",
|
||||
"ACCOUNTS_DEMO_USERS_AND_GROUPS": True, # deprecated, remove after switching to LibreIDM
|
||||
"IDM_CREATE_DEMO_USERS": True,
|
||||
}
|
||||
wait_for_ocis = {
|
||||
"name": "wait-for-ocis-server",
|
||||
"image": OC_CI_WAIT_FOR,
|
||||
"commands": [
|
||||
"wait-for -it ocis-server:9200 -t 300",
|
||||
],
|
||||
"depends_on": depends_on,
|
||||
}
|
||||
|
||||
# Pass in "default" accounts_hash_difficulty to not set this environment variable.
|
||||
@@ -1726,19 +1744,13 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
|
||||
"environment": environment,
|
||||
"user": user,
|
||||
"commands": [
|
||||
"ocis/bin/ocis init --insecure true",
|
||||
"ocis/bin/ocis server",
|
||||
],
|
||||
"volumes": volumes,
|
||||
"depends_on": depends_on,
|
||||
},
|
||||
{
|
||||
"name": "wait-for-ocis-server",
|
||||
"image": OC_CI_ALPINE,
|
||||
"commands": [
|
||||
"curl -k -u admin:admin --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/ddc2004c-0977-11eb-9d3f-a793888cd0f8'",
|
||||
],
|
||||
"depends_on": depends_on,
|
||||
},
|
||||
wait_for_ocis,
|
||||
]
|
||||
|
||||
def middlewareService():
|
||||
@@ -1753,6 +1765,7 @@ def middlewareService():
|
||||
"REMOTE_UPLOAD_DIR": "/uploads",
|
||||
"NODE_TLS_REJECT_UNAUTHORIZED": "0",
|
||||
"MIDDLEWARE_HOST": "middleware",
|
||||
"TEST_WITH_GRAPH_API": "true",
|
||||
},
|
||||
"volumes": [{
|
||||
"name": "uploads",
|
||||
@@ -2453,6 +2466,7 @@ def copyConfigs():
|
||||
# ocis proxy config
|
||||
"mkdir -p /etc/ocis",
|
||||
"cp %s/ocis/proxy.yaml /etc/ocis/proxy.yaml" % (PARALLEL_DEPLOY_CONFIG_PATH),
|
||||
"chown -R 33:33 /etc/ocis",
|
||||
# oc10 configs
|
||||
"mkdir -p /etc/templates",
|
||||
"mkdir -p /etc/pre_server.d",
|
||||
|
||||
+20
-15
@@ -1,27 +1,32 @@
|
||||
# coverage reports
|
||||
*/coverage.out
|
||||
*/checkstyle.xml
|
||||
*/package-lock.json
|
||||
extensions/*/coverage.out
|
||||
|
||||
ocis/config/identifier-registration.yaml
|
||||
*/bin
|
||||
dist/
|
||||
/hugo
|
||||
*.key
|
||||
*crt
|
||||
# unit test reports
|
||||
*/checkstyle.xml
|
||||
extensions/*/checkstyle.xml
|
||||
|
||||
# nodejs / yarn
|
||||
*/package-lock.json
|
||||
node_modules/
|
||||
*/assets
|
||||
yarn-error.log
|
||||
yarn.lock
|
||||
|
||||
# build artifacts
|
||||
*/bin
|
||||
extensions/*/bin
|
||||
dist/
|
||||
extensions/*/assets
|
||||
ocis/ocis
|
||||
ocis/cmd/ocis/__debug_bin
|
||||
ocis/cmd/ocis/config/
|
||||
|
||||
# docs
|
||||
/hugo
|
||||
|
||||
# IDEs
|
||||
.idea
|
||||
|
||||
yarn-error.log
|
||||
yarn.lock
|
||||
|
||||
# Konnectd
|
||||
idp/assets/identifier
|
||||
|
||||
# Composer - used for API acceptance tests
|
||||
composer.lock
|
||||
vendor
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
SKIP_CONFIG_DOCS_GENERATE ?= 0
|
||||
CONFIG_DOCS_BASE_PATH ?= ../docs/extensions
|
||||
CONFIG_DOCS_BASE_PATH ?= ../../docs/extensions
|
||||
|
||||
.PHONY: config-docs-generate
|
||||
config-docs-generate: #$(FLAEX)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
OCIS_REPO := github.com/owncloud/ocis
|
||||
OCIS_REPO := github.com/owncloud/ocis/v2
|
||||
IMPORT := ($OCIS_REPO)/$(NAME)
|
||||
BIN := bin
|
||||
DIST := dist
|
||||
|
||||
+10
-10
@@ -1,24 +1,24 @@
|
||||
SHA1_LOCK_FILE := $(abspath $(CURDIR)/../protogen/buf.sha1.lock)
|
||||
SHA1_LOCK_FILE := $(abspath $(CURDIR)/../../protogen/buf.sha1.lock)
|
||||
|
||||
# bingo creates symlinks from the -l option in GOBIN, from where
|
||||
# we can easily use it with buf. To have the symlinks inside this
|
||||
# repo and on a known location, we set GOBIN to .bingo in the root
|
||||
# of the repository (therefore we need to cd ..)
|
||||
# of the repository (therefore we need to cd ../..)
|
||||
.PHONY: protoc-deps
|
||||
protoc-deps: $(BINGO)
|
||||
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/asim/go-micro/cmd/protoc-gen-micro/v4
|
||||
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/owncloud/protoc-gen-microweb
|
||||
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
|
||||
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
|
||||
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/asim/go-micro/cmd/protoc-gen-micro/v4
|
||||
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/owncloud/protoc-gen-microweb
|
||||
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
|
||||
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
|
||||
|
||||
.PHONY: buf-generate
|
||||
buf-generate: $(BUF) protoc-deps $(SHA1_LOCK_FILE)
|
||||
@find $(abspath $(CURDIR)/../protogen/proto/) -type f -print0 | sort -z | xargs -0 sha1sum > buf.sha1.lock.tmp
|
||||
@find $(abspath $(CURDIR)/../../protogen/proto/) -type f -print0 | sort -z | xargs -0 sha1sum > buf.sha1.lock.tmp
|
||||
@cmp $(SHA1_LOCK_FILE) buf.sha1.lock.tmp --quiet || $(MAKE) -B $(SHA1_LOCK_FILE)
|
||||
@rm -f buf.sha1.lock.tmp
|
||||
|
||||
$(SHA1_LOCK_FILE):
|
||||
@echo "generating protobuf content"
|
||||
cd ../protogen/proto && $(BUF) generate
|
||||
find $(abspath $(CURDIR)/../protogen/proto/) -type f -print0 | sort -z | xargs -0 sha1sum > $(SHA1_LOCK_FILE)
|
||||
cd ../../protogen/proto && $(BUF) generate
|
||||
find $(abspath $(CURDIR)/../../protogen/proto/) -type f -print0 | sort -z | xargs -0 sha1sum > $(SHA1_LOCK_FILE)
|
||||
@@ -11,6 +11,7 @@ release-dirs:
|
||||
|
||||
# docker specific packaging flags
|
||||
DOCKER_LDFLAGS += -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseDataPathType=path" -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseDataPathValue=/var/lib/ocis"
|
||||
DOCKER_LDFLAGS += -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseConfigPathType=path" -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseConfigPathValue=/etc/ocis"
|
||||
|
||||
release-linux-docker-amd64: release-dirs
|
||||
GOOS=linux \
|
||||
|
||||
Vendored
+30
-5
@@ -15,15 +15,40 @@
|
||||
"OCIS_LOG_LEVEL": "debug",
|
||||
"OCIS_LOG_PRETTY": "true",
|
||||
"OCIS_LOG_COLOR": "true",
|
||||
// enable basic auth for dev setup so that we can use curl for testing
|
||||
"PROXY_ENABLE_BASIC_AUTH": "true",
|
||||
// set insecure options because we don't have valid certificates in dev environments
|
||||
"OCIS_INSECURE": "true",
|
||||
// enable basic auth for dev setup so that we can use curl for testing
|
||||
"PROXY_ENABLE_BASIC_AUTH": "true",
|
||||
// demo users
|
||||
"ACCOUNTS_DEMO_USERS_AND_GROUPS": "true",
|
||||
"IDM_CREATE_DEMO_USERS": "true"
|
||||
"IDM_CREATE_DEMO_USERS": "true",
|
||||
// OCIS_RUN_EXTENSIONS allows to start a subset of extensions even in the supervised mode
|
||||
//"OCIS_RUN_EXTENSIONS": "settings,storage-metadata,glauth,graph,graph-explorer,idp,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,accounts,proxy,ocdav",
|
||||
//"OCIS_RUN_EXTENSIONS": "settings,storage-system,glauth,graph,graph-explorer,idp,ocs,store,thumbnails,web,webdav,frontend,gateway,users,groups,auth-basic,auth-bearer,storage-authmachine,storage-users,storage-shares,storage-publiclink,app-provider,sharing,accounts,proxy,ocdav",
|
||||
|
||||
/*
|
||||
* Keep secrets and passwords in one block to allow easy uncommenting
|
||||
*/
|
||||
// user id of "admin", for user creation and admin role assignement
|
||||
"OCIS_ADMIN_USER_ID": "some-admin-user-id-0000-000000000000", // FIXME currently must have the length of a UUID, see reva/pkg/storage/utils/decomposedfs/spaces.go:228
|
||||
// admin user default password
|
||||
"IDM_ADMIN_PASSWORD": "admin",
|
||||
// system user
|
||||
"OCIS_SYSTEM_USER_ID": "some-system-user-id-000-000000000000", // FIXME currently must have the length of a UUID, see reva/pkg/storage/utils/decomposedfs/spaces.go:228
|
||||
"OCIS_SYSTEM_USER_API_KEY": "some-system-user-machine-auth-api-key",
|
||||
// set some hardcoded secrets
|
||||
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
|
||||
"OCIS_MACHINE_AUTH_API_KEY": "some-ocis-machine-auth-api-key",
|
||||
"STORAGE_TRANSFER_SECRET": "some-ocis-transfer-secret",
|
||||
// idm ldap
|
||||
"IDM_SVC_PASSWORD": "some-ldap-idm-password",
|
||||
"GRAPH_LDAP_BIND_PASSWORD": "some-ldap-idm-password",
|
||||
// reva ldap
|
||||
"IDM_REVASVC_PASSWORD": "some-ldap-reva-password",
|
||||
"GROUPS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
|
||||
"USERS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
|
||||
"AUTH_BASIC_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
|
||||
// idp ldap
|
||||
"IDM_IDPSVC_PASSWORD": "some-ldap-idp-password",
|
||||
"IDP_LDAP_BIND_PASSWORD": "some-ldap-idp-password",
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
+339
-19
@@ -1,8 +1,328 @@
|
||||
# Changelog for [unreleased] (UNRELEASED)
|
||||
|
||||
The following sections list the changes for unreleased.
|
||||
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v1.20.0...master
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Remove runtime kill and run commands: [#3740](https://github.com/owncloud/ocis/pull/3740)
|
||||
* Bugfix - Check permissions when deleting Space: [#3709](https://github.com/owncloud/ocis/pull/3709)
|
||||
* Bugfix - Make IDP secrets configurable via environment variables: [#3744](https://github.com/owncloud/ocis/pull/3744)
|
||||
* Bugfix - Thumbnails for `/dav/xxx?preview=1` requests: [#3567](https://github.com/owncloud/ocis/pull/3567)
|
||||
* Bugfix - Idp: Check if CA certificate if present: [#3623](https://github.com/owncloud/ocis/issues/3623)
|
||||
* Bugfix - Return proper errors when ocs/cloud/users is using the cs3 backend: [#3483](https://github.com/owncloud/ocis/issues/3483)
|
||||
* Bugfix - URL encode the webdav url in the graph API: [#3597](https://github.com/owncloud/ocis/pull/3597)
|
||||
* Change - Update ocis packages and imports to V2: [#3678](https://github.com/owncloud/ocis/pull/3678)
|
||||
* Change - Load configuration files just from one directory: [#3587](https://github.com/owncloud/ocis/pull/3587)
|
||||
* Change - Reduce permissions on docker image predeclared volumes: [#3641](https://github.com/owncloud/ocis/pull/3641)
|
||||
* Change - Introduce `ocis init` and remove all default secrets: [#3551](https://github.com/owncloud/ocis/pull/3551)
|
||||
* Change - Reduce drives in graph /me/drives API: [#3629](https://github.com/owncloud/ocis/pull/3629)
|
||||
* Change - Switched default configuration to use libregraph/idm: [#3331](https://github.com/owncloud/ocis/pull/3331)
|
||||
* Change - Rename MetadataUserID: [#3671](https://github.com/owncloud/ocis/pull/3671)
|
||||
* Change - Use new space ID util functions: [#3648](https://github.com/owncloud/ocis/pull/3648)
|
||||
* Change - Rename serviceUser to systemUser: [#3673](https://github.com/owncloud/ocis/pull/3673)
|
||||
* Change - Split MachineAuth from SystemUser: [#3672](https://github.com/owncloud/ocis/pull/3672)
|
||||
* Enhancement - Align service naming: [#3606](https://github.com/owncloud/ocis/pull/3606)
|
||||
* Enhancement - Wrap metadata storage with dedicated reva gateway: [#3602](https://github.com/owncloud/ocis/pull/3602)
|
||||
* Enhancement - Product field in OCS version: [#2918](https://github.com/owncloud/ocis/pull/2918)
|
||||
* Enhancement - Add initial version of the search extensions: [#3635](https://github.com/owncloud/ocis/pull/3635)
|
||||
* Enhancement - Add capability for public link single file edit: [#6787](https://github.com/owncloud/web/pull/6787)
|
||||
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
|
||||
* Enhancement - Update linkshare capabilities: [#3579](https://github.com/owncloud/ocis/pull/3579)
|
||||
* Enhancement - Update reva to v2.3.1: [#3552](https://github.com/owncloud/ocis/pull/3552)
|
||||
* Enhancement - Update ownCloud Web to v5.5.0-rc.5: [#6854](https://github.com/owncloud/web/pull/6854)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Remove runtime kill and run commands: [#3740](https://github.com/owncloud/ocis/pull/3740)
|
||||
|
||||
We've removed the kill and run commands from the oCIS runtime. If these dynamic capabilities
|
||||
are needed, one should switch to a full fledged supervisor and start oCIS as individual
|
||||
services.
|
||||
|
||||
If one wants to start a only a subset of services, this is still possible by setting
|
||||
OCIS_RUN_EXTENSIONS.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3740
|
||||
|
||||
* Bugfix - Check permissions when deleting Space: [#3709](https://github.com/owncloud/ocis/pull/3709)
|
||||
|
||||
Check for manager permissions when deleting spaces. Do not allow deleting spaces via dav
|
||||
service
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3709
|
||||
|
||||
* Bugfix - Make IDP secrets configurable via environment variables: [#3744](https://github.com/owncloud/ocis/pull/3744)
|
||||
|
||||
We've fixed the configuration options of the IDP to make the IDP secrets again configurable via
|
||||
environment variables.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3744
|
||||
|
||||
* Bugfix - Thumbnails for `/dav/xxx?preview=1` requests: [#3567](https://github.com/owncloud/ocis/pull/3567)
|
||||
|
||||
We've added the thumbnail rendering for `/dav/xxx?preview=1`,
|
||||
`/remote.php/webdav/{relative path}?preview=1` and `/webdav/{relative
|
||||
path}?preview=1` requests, which was previously not supported because of missing routes. It
|
||||
now returns the same thumbnails as for `/remote.php/dav/xxx?preview=1`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3567
|
||||
|
||||
* Bugfix - Idp: Check if CA certificate if present: [#3623](https://github.com/owncloud/ocis/issues/3623)
|
||||
|
||||
Upon first start with the default configurtation the idm service creates a server
|
||||
certificate, that might not be finished before the idp service is starting. Add a check to idp
|
||||
similar to what the user, group, and auth-providers implement.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/3623
|
||||
|
||||
* Bugfix - Return proper errors when ocs/cloud/users is using the cs3 backend: [#3483](https://github.com/owncloud/ocis/issues/3483)
|
||||
|
||||
The ocs API was just exiting with a fatal error on any update request, when configured for the cs3
|
||||
backend. Now it returns a proper error.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/3483
|
||||
|
||||
* Bugfix - URL encode the webdav url in the graph API: [#3597](https://github.com/owncloud/ocis/pull/3597)
|
||||
|
||||
Fixed the webdav URL in the drives responses. Without encoding the URL could be broken by files
|
||||
with spaces in the file name.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/3538
|
||||
https://github.com/owncloud/ocis/pull/3597
|
||||
|
||||
* Change - Update ocis packages and imports to V2: [#3678](https://github.com/owncloud/ocis/pull/3678)
|
||||
|
||||
This needs to be done in preparation for the major version bump in ocis.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3678
|
||||
|
||||
* Change - Load configuration files just from one directory: [#3587](https://github.com/owncloud/ocis/pull/3587)
|
||||
|
||||
We've changed the configuration file loading behavior and are now only loading configuration
|
||||
files from ONE single directory. This directory can be set on compile time or via an environment
|
||||
variable on startup (`OCIS_CONFIG_DIR`).
|
||||
|
||||
We are using following configuration default paths:
|
||||
|
||||
- Docker images: `/etc/ocis/` - Binary releases: `$HOME/.ocis/config/`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3587
|
||||
|
||||
* Change - Reduce permissions on docker image predeclared volumes: [#3641](https://github.com/owncloud/ocis/pull/3641)
|
||||
|
||||
We've lowered the permissions on the predeclared volumes of the oCIS docker image from 777 to
|
||||
750.
|
||||
|
||||
This change doesn't affect you, unless you use the docker image with the non default uid/guid to
|
||||
start oCIS (default is 1000:1000).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3641
|
||||
|
||||
* Change - Introduce `ocis init` and remove all default secrets: [#3551](https://github.com/owncloud/ocis/pull/3551)
|
||||
|
||||
We've removed all default secrets and the hardcoded UUID of the user `admin`. This means you
|
||||
can't start oCIS any longer without setting these via environment variable or configuration
|
||||
file.
|
||||
|
||||
In order to make this easy for you, we introduced a new command: `ocis init`. You can run this
|
||||
command before starting oCIS with `ocis server` and it will bootstrap you a configuration file
|
||||
for a secure oCIS instance.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/3524
|
||||
https://github.com/owncloud/ocis/pull/3551
|
||||
https://github.com/owncloud/ocis/pull/3743
|
||||
|
||||
* Change - Reduce drives in graph /me/drives API: [#3629](https://github.com/owncloud/ocis/pull/3629)
|
||||
|
||||
Reduced the drives in the graph `/me/drives` API to only the drives the user has access to. The
|
||||
endpoint `/drives` will list all drives when the user has the permission.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3629
|
||||
|
||||
* Change - Switched default configuration to use libregraph/idm: [#3331](https://github.com/owncloud/ocis/pull/3331)
|
||||
|
||||
We switched the default configuration of oCIS to use the "idm" service (based on
|
||||
libregraph/idm) as the standard source for user and group information. The accounts and
|
||||
glauth services are no longer enabled by default and will be removed with an upcoming release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3331
|
||||
https://github.com/owncloud/ocis/pull/3633
|
||||
|
||||
* Change - Rename MetadataUserID: [#3671](https://github.com/owncloud/ocis/pull/3671)
|
||||
|
||||
MetadataUserID is renamed to SystemUserID including yaml tags and env vars
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3671
|
||||
|
||||
* Change - Use new space ID util functions: [#3648](https://github.com/owncloud/ocis/pull/3648)
|
||||
|
||||
Changed code to use the new space ID util functions so that everything works with the new spaces
|
||||
ID format.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3648
|
||||
https://github.com/owncloud/ocis/pull/3669
|
||||
|
||||
* Change - Rename serviceUser to systemUser: [#3673](https://github.com/owncloud/ocis/pull/3673)
|
||||
|
||||
We renamed serviceUser to systemUser in all configs and vars including yaml-tags and env vars
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3673
|
||||
|
||||
* Change - Split MachineAuth from SystemUser: [#3672](https://github.com/owncloud/ocis/pull/3672)
|
||||
|
||||
We now have two different APIKeys: MachineAuth for the machine-auth service and SystemUser
|
||||
for the system user used e.g. by settings service
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3672
|
||||
|
||||
* Enhancement - Align service naming: [#3606](https://github.com/owncloud/ocis/pull/3606)
|
||||
|
||||
We now reflect the configured service names when listing them in the ocis runtime
|
||||
|
||||
https://github.com/owncloud/ocis/issues/3603
|
||||
https://github.com/owncloud/ocis/pull/3606
|
||||
|
||||
* Enhancement - Wrap metadata storage with dedicated reva gateway: [#3602](https://github.com/owncloud/ocis/pull/3602)
|
||||
|
||||
We wrapped the metadata storage in a minimal reva instance with a dedicated gateway, including
|
||||
static storage registry, static auth registry, in memory userprovider, machine
|
||||
authprovider and demo permissions service. This allows us to preconfigure the service user
|
||||
for the ocis settings service, share and public share providers.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3602
|
||||
https://github.com/owncloud/ocis/pull/3647
|
||||
|
||||
* Enhancement - Product field in OCS version: [#2918](https://github.com/owncloud/ocis/pull/2918)
|
||||
|
||||
We've added a new field to the OCS Version, which is supposed to announce the product name. The
|
||||
web ui as a client will make use of it to make the backend product and version available (e.g. for
|
||||
easier bug reports).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2918
|
||||
|
||||
* Enhancement - Add initial version of the search extensions: [#3635](https://github.com/owncloud/ocis/pull/3635)
|
||||
|
||||
It is now possible to search for files and directories by their name using the web UI. Therefor
|
||||
new search extension indexes files in a persistent local index.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3635
|
||||
|
||||
* Enhancement - Add capability for public link single file edit: [#6787](https://github.com/owncloud/web/pull/6787)
|
||||
|
||||
It is now possible to share a single file by link with edit permissions. Therefore we need a
|
||||
public share capability to enable that feature in the clients. At the same time, we improved the
|
||||
WebDAV permissions for public links.
|
||||
|
||||
https://github.com/owncloud/web/pull/6787
|
||||
https://github.com/owncloud/ocis/pull/3538
|
||||
|
||||
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
|
||||
|
||||
We've added feature flags to the `spaces` capability to indicate to clients which features are
|
||||
supposed to be shown to users.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3626
|
||||
|
||||
* Enhancement - Update linkshare capabilities: [#3579](https://github.com/owncloud/ocis/pull/3579)
|
||||
|
||||
We have updated the capabilities regarding password enforcement and expiration dates of
|
||||
public links. They were previously hardcoded in a way that didn't reflect the actual backend
|
||||
functionality anymore.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3579
|
||||
|
||||
* Enhancement - Update reva to v2.3.1: [#3552](https://github.com/owncloud/ocis/pull/3552)
|
||||
|
||||
Updated reva to version 2.3.1. This update includes
|
||||
|
||||
* Bugfix [cs3org/reva#2827](https://github.com/cs3org/reva/pull/2827): Check permissions when deleting spaces
|
||||
* Bugfix [cs3org/reva#2830](https://github.com/cs3org/reva/pull/2830): Correctly render response when accepting merged shares
|
||||
* Bugfix [cs3org/reva#2831](https://github.com/cs3org/reva/pull/2831): Fix uploads to owncloudsql storage when no mtime is provided
|
||||
* Enhancement [cs3org/reva#2833](https://github.com/cs3org/reva/pull/2833): Make status.php values configurable
|
||||
* Enhancement [cs3org/reva#2832](https://github.com/cs3org/reva/pull/2832): Add version option for ocdav go-micro service
|
||||
|
||||
Updated reva to version 2.3.0. This update includes:
|
||||
|
||||
* Bugfix [cs3org/reva#2693](https://github.com/cs3org/reva/pull/2693): Support editnew actions from MS Office
|
||||
* Bugfix [cs3org/reva#2588](https://github.com/cs3org/reva/pull/2588): Dockerfile.revad-ceph to use the right base image
|
||||
* Bugfix [cs3org/reva#2499](https://github.com/cs3org/reva/pull/2499): Removed check DenyGrant in resource permission
|
||||
* Bugfix [cs3org/reva#2285](https://github.com/cs3org/reva/pull/2285): Accept new userid idp format
|
||||
* Bugfix [cs3org/reva#2802](https://github.com/cs3org/reva/pull/2802): Bugfix the resource id handling for space shares
|
||||
* Bugfix [cs3org/reva#2800](https://github.com/cs3org/reva/pull/2800): Bugfix spaceid parsing in spaces trashbin API
|
||||
* Bugfix [cs3org/reva#2608](https://github.com/cs3org/reva/pull/2608): Respect the tracing_service_name config variable
|
||||
* Bugfix [cs3org/reva#2742](https://github.com/cs3org/reva/pull/2742): Use exact match in login filter
|
||||
* Bugfix [cs3org/reva#2759](https://github.com/cs3org/reva/pull/2759): Made uid, gid claims parsing more robust in OIDC auth provider
|
||||
* Bugfix [cs3org/reva#2788](https://github.com/cs3org/reva/pull/2788): Return the correct file IDs on public link resources
|
||||
* Bugfix [cs3org/reva#2322](https://github.com/cs3org/reva/pull/2322): Use RFC3339 for parsing dates
|
||||
* Bugfix [cs3org/reva#2784](https://github.com/cs3org/reva/pull/2784): Disable storageprovider cache for the share jail
|
||||
* Bugfix [cs3org/reva#2555](https://github.com/cs3org/reva/pull/2555): Bugfix site accounts endpoints
|
||||
* Bugfix [cs3org/reva#2675](https://github.com/cs3org/reva/pull/2675): Updates Makefile according to latest go standards
|
||||
* Bugfix [cs3org/reva#2572](https://github.com/cs3org/reva/pull/2572): Wait for nats server on middleware start
|
||||
* Change [cs3org/reva#2735](https://github.com/cs3org/reva/pull/2735): Avoid user enumeration
|
||||
* Change [cs3org/reva#2737](https://github.com/cs3org/reva/pull/2737): Bump go-cs3api
|
||||
* Change [cs3org/reva#2763](https://github.com/cs3org/reva/pull/2763): Change the oCIS and S3NG storage driver blob store layout
|
||||
* Change [cs3org/reva#2596](https://github.com/cs3org/reva/pull/2596): Remove hash from public link urls
|
||||
* Change [cs3org/reva#2785](https://github.com/cs3org/reva/pull/2785): Implement workaround for chi.RegisterMethod
|
||||
* Change [cs3org/reva#2559](https://github.com/cs3org/reva/pull/2559): Do not encode webDAV ids to base64
|
||||
* Change [cs3org/reva#2740](https://github.com/cs3org/reva/pull/2740): Rename oc10 share manager driver
|
||||
* Change [cs3org/reva#2561](https://github.com/cs3org/reva/pull/2561): Merge oidcmapping auth manager into oidc
|
||||
* Enhancement [cs3org/reva#2698](https://github.com/cs3org/reva/pull/2698): Make capabilities endpoint public, authenticate users is present
|
||||
* Enhancement [cs3org/reva#2515](https://github.com/cs3org/reva/pull/2515): Enabling tracing by default if not explicitly disabled
|
||||
* Enhancement [cs3org/reva#2686](https://github.com/cs3org/reva/pull/2686): Features for favorites xattrs in EOS, cache for scope expansion
|
||||
* Enhancement [cs3org/reva#2494](https://github.com/cs3org/reva/pull/2494): Use sys ACLs for file permissions
|
||||
* Enhancement [cs3org/reva#2522](https://github.com/cs3org/reva/pull/2522): Introduce events
|
||||
* Enhancement [cs3org/reva#2811](https://github.com/cs3org/reva/pull/2811): Add event for created directories
|
||||
* Enhancement [cs3org/reva#2798](https://github.com/cs3org/reva/pull/2798): Add additional fields to events to enable search
|
||||
* Enhancement [cs3org/reva#2790](https://github.com/cs3org/reva/pull/2790): Fake providerids so API stays stable after beta
|
||||
* Enhancement [cs3org/reva#2685](https://github.com/cs3org/reva/pull/2685): Enable federated account access
|
||||
* Enhancement [cs3org/reva#1787](https://github.com/cs3org/reva/pull/1787): Add support for HTTP TPC
|
||||
* Enhancement [cs3org/reva#2799](https://github.com/cs3org/reva/pull/2799): Add flag to enable unrestriced listing of spaces
|
||||
* Enhancement [cs3org/reva#2560](https://github.com/cs3org/reva/pull/2560): Mentix PromSD extensions
|
||||
* Enhancement [cs3org/reva#2741](https://github.com/cs3org/reva/pull/2741): Meta path for user
|
||||
* Enhancement [cs3org/reva#2613](https://github.com/cs3org/reva/pull/2613): Externalize custom mime types configuration for storage providers
|
||||
* Enhancement [cs3org/reva#2163](https://github.com/cs3org/reva/pull/2163): Nextcloud-based share manager for pkg/ocm/share
|
||||
* Enhancement [cs3org/reva#2696](https://github.com/cs3org/reva/pull/2696): Preferences driver refactor and cbox sql implementation
|
||||
* Enhancement [cs3org/reva#2052](https://github.com/cs3org/reva/pull/2052): New CS3API datatx methods
|
||||
* Enhancement [cs3org/reva#2743](https://github.com/cs3org/reva/pull/2743): Add capability for public link single file edit
|
||||
* Enhancement [cs3org/reva#2738](https://github.com/cs3org/reva/pull/2738): Site accounts site-global settings
|
||||
* Enhancement [cs3org/reva#2672](https://github.com/cs3org/reva/pull/2672): Further Site Accounts improvements
|
||||
* Enhancement [cs3org/reva#2549](https://github.com/cs3org/reva/pull/2549): Site accounts improvements
|
||||
* Enhancement [cs3org/reva#2795](https://github.com/cs3org/reva/pull/2795): Add feature flags "projects" and "share_jail" to spaces capability
|
||||
* Enhancement [cs3org/reva#2514](https://github.com/cs3org/reva/pull/2514): Reuse ocs role objects in other drivers
|
||||
* Enhancement [cs3org/reva#2781](https://github.com/cs3org/reva/pull/2781): In memory user provider
|
||||
* Enhancement [cs3org/reva#2752](https://github.com/cs3org/reva/pull/2752): Refactor the rest user and group provider drivers
|
||||
|
||||
https://github.com/owncloud/ocis/issues/3621
|
||||
https://github.com/owncloud/ocis/pull/3552
|
||||
https://github.com/owncloud/ocis/pull/3570
|
||||
https://github.com/owncloud/ocis/pull/3601
|
||||
https://github.com/owncloud/ocis/pull/3602
|
||||
https://github.com/owncloud/ocis/pull/3605
|
||||
https://github.com/owncloud/ocis/pull/3611
|
||||
https://github.com/owncloud/ocis/pull/3637
|
||||
https://github.com/owncloud/ocis/pull/3652
|
||||
https://github.com/owncloud/ocis/pull/3681
|
||||
|
||||
* Enhancement - Update ownCloud Web to v5.5.0-rc.5: [#6854](https://github.com/owncloud/web/pull/6854)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v5.5.0-rc.5. Please refer to the changelog (linked) for details on
|
||||
the web release.
|
||||
|
||||
https://github.com/owncloud/web/pull/6854
|
||||
https://github.com/owncloud/ocis/pull/3664
|
||||
https://github.com/owncloud/ocis/pull/3680
|
||||
https://github.com/owncloud/ocis/pull/3727
|
||||
https://github.com/owncloud/ocis/pull/3747
|
||||
https://github.com/owncloud/web/releases/tag/v5.5.0-rc.5
|
||||
# Changelog for [1.20.0] (2022-04-13)
|
||||
|
||||
The following sections list the changes for 1.20.0.
|
||||
|
||||
[1.20.0]: https://github.com/owncloud/ocis/compare/v1.19.1...v1.20.0
|
||||
[1.20.0]: https://github.com/owncloud/ocis/compare/v1.19.0...v1.20.0
|
||||
|
||||
## Summary
|
||||
|
||||
@@ -170,28 +490,11 @@ The following sections list the changes for 1.20.0.
|
||||
Group member remove
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3467
|
||||
# Changelog for [1.19.1] (2022-03-29)
|
||||
|
||||
The following sections list the changes for 1.19.1.
|
||||
|
||||
[1.19.1]: https://github.com/owncloud/ocis/compare/v1.19.0...v1.19.1
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
|
||||
|
||||
URLs for Special items (space image, readme) were broken.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3419
|
||||
# Changelog for [1.19.0] (2022-03-29)
|
||||
|
||||
The following sections list the changes for 1.19.0.
|
||||
|
||||
[1.19.0]: https://github.com/owncloud/ocis/compare/v1.18.0...v1.19.0
|
||||
[1.19.0]: https://github.com/owncloud/ocis/compare/v1.19.1...v1.19.0
|
||||
|
||||
## Summary
|
||||
|
||||
@@ -360,6 +663,23 @@ The following sections list the changes for 1.19.0.
|
||||
https://github.com/owncloud/ocis/pull/3291
|
||||
https://github.com/owncloud/ocis/pull/3375
|
||||
https://github.com/owncloud/web/releases/tag/v5.3.0
|
||||
# Changelog for [1.19.1] (2022-03-29)
|
||||
|
||||
The following sections list the changes for 1.19.1.
|
||||
|
||||
[1.19.1]: https://github.com/owncloud/ocis/compare/v1.18.0...v1.19.1
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
|
||||
|
||||
URLs for Special items (space image, readme) were broken.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3419
|
||||
# Changelog for [1.18.0] (2022-03-03)
|
||||
|
||||
The following sections list the changes for 1.18.0.
|
||||
|
||||
+14
-14
@@ -9,7 +9,7 @@ For simplicity reasons, this document mostly refers to the ownCloud [Infinite Sc
|
||||
[I don't want to read this whole thing, I just have a question](#i-dont-want-to-read-this-whole-thing-i-just-have-a-question)
|
||||
|
||||
[What should I know before I get started](#what-should-i-know-before-i-get-started)
|
||||
* [ownCloud is hosted on Github](#owncloud-is-hosted-on-github)
|
||||
* [ownCloud is hosted on GitHub](#owncloud-is-hosted-on-github)
|
||||
* [ownCloud Company, Engineering Partners and Community](#owncloud-company,-engineering-partners-and-community)
|
||||
* [Licensing and CLA](#licensing-and-cla)
|
||||
|
||||
@@ -42,17 +42,17 @@ We also have a [Rocket Chat Server](https://talk.owncloud.com/channel/ocis) to a
|
||||
|
||||
## What should I know before I get started
|
||||
|
||||
### ownCloud is hosted on Github
|
||||
### ownCloud is hosted on GitHub
|
||||
|
||||
To effectively contribute to ownCloud Infinite Scale, you need a Github account. You can get that for free at [Github](https://github.com/join). You can find howtos on the internet, for example [here](https://www.wikihow.com/Create-an-Account-on-GitHub).
|
||||
To effectively contribute to ownCloud Infinite Scale, you need a GitHub account. You can get that for free at [GitHub](https://github.com/join). You can find howtos on the internet, for example [here](https://www.wikihow.com/Create-an-Account-on-GitHub).
|
||||
|
||||
For other ways of contributing, for example with translations, other systems require you to have an account as well, for example [Transifex](https://www.transifex.com).
|
||||
|
||||
The ownCloud project follows the strict Github workflow of development as briefly [described here](https://guides.github.com/introduction/flow/).
|
||||
The ownCloud project follows the strict GitHub workflow of development as briefly [described here](https://guides.github.com/introduction/flow/).
|
||||
|
||||
### ownCloud Company, Engineering Partners and Community
|
||||
|
||||
ownCloud Infinite Scale is largely created by developers who are employed by the [ownCloud company](https://www.owncloud.com), which is located in Germany. It is providing support for ownCloud for customers worldwide. In addition there are engineering partners who also work full time on ownCloud related code, for example in [CERN REVA](https://github.com/cs3org/reva/).
|
||||
ownCloud Infinite Scale is largely created by developers who are employed by the [ownCloud company](https://www.owncloud.com), which is located in Germany. It is providing support for ownCloud for customers worldwide. In addition, there are engineering partners who also work full time on ownCloud related code, for example in [CERN REVA](https://github.com/cs3org/reva/).
|
||||
|
||||
Because of that fact, the pace that the development is moving forward is sometimes high for people who are not willing and/or able to spend a comparable amount of time to contribute. Even though this can be a challenge, it should not scare anybody away. Here is our clear commitment that we feel honored by everybody who is interested in our work and improves it, no matter how big the contribution might be.
|
||||
|
||||
@@ -76,7 +76,7 @@ There are many ways to contribute to open source projects, and all are equally v
|
||||
|
||||
This way to contribute to the project can not be overestimated: People who talk about their experience with ownCloud Infinite Scale and help others with that are the key to success of the project.
|
||||
|
||||
There are too many ways of doing that to line them up here, but examples are answering questions in [ownCloud Central](https://central.owncloud.org/) or on [ownCloud Talk](https://talk.owncloud.com/channel/ocis), writing blog posts etc pp.
|
||||
There are too many ways of doing that to line them up here, but examples are answering questions in [ownCloud Central](https://central.owncloud.org/) or on [ownCloud Talk](https://talk.owncloud.com/channel/ocis), writing blog posts etc. pp.
|
||||
|
||||
There is no formal guideline to this, just do it :-)
|
||||
|
||||
@@ -92,7 +92,7 @@ Before creating bug reports, please check [this list](#before-submitting-a-bug-r
|
||||
|
||||
* **Make sure you are running a recent version** Usually, developers' interest in old versions of software drops very fast once a new shiny version has been released. So the general recommendation is: Use the latest released version or even the current master to reproduce problems that you might encounter. That helps a lot to attract developers attention.
|
||||
* **Determine which [repository](https://github.com/owncloud) the problem should be reported in**.
|
||||
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** with possibly a more granular filter on the repository, to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one **if you have new information**. Please abstain from adding "plus ones", except using the Github emojis. That might indicate how many users are affected.
|
||||
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** with possibly a more granular filter on the repository, to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one **if you have new information**. Please abstain from adding "plus ones", except using the GitHub emojis. That might indicate how many users are affected.
|
||||
|
||||
#### How Do I Submit A (Good) Bug Report
|
||||
|
||||
@@ -126,7 +126,7 @@ Before creating enhancement suggestions, please check [this list](#before-submit
|
||||
#### Before Submitting An Enhancement Suggestion
|
||||
|
||||
* **Check if there's already an extension or other component which provides that enhancement, even in a different way.**
|
||||
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one. Feel free to use the Github emojis to indicate that you are in favour of an enhancement request.
|
||||
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one. Feel free to use the GitHub emojis to indicate that you are in favour of an enhancement request.
|
||||
|
||||
#### How Do I Submit A (Good) Enhancement Suggestion
|
||||
|
||||
@@ -152,7 +152,7 @@ To find out how to set up ownCloud Infinite Scale for local development please r
|
||||
|
||||
### Pull Requests
|
||||
|
||||
All contributions to ownClouds projects use so called pull requests following the [Github PR workflow](https://guides.github.com/introduction/flow/).
|
||||
All contributions to ownClouds projects use so-called pull requests following the [GitHub PR workflow](https://guides.github.com/introduction/flow/).
|
||||
|
||||
Please follow these steps to have your contribution considered by the maintainers:
|
||||
|
||||
@@ -180,7 +180,7 @@ Depending on the ownCloud component, there is complex deployment tooling to inst
|
||||
|
||||
## Styleguides
|
||||
|
||||
To keep up with a consistent code and tooling landscape, some of the ownCloud modules maintain styleguides for contributions. It is mandatory to follow them in contributions.
|
||||
To keep up with a consistent code and tooling landscape, some ownCloud modules maintain styleguides for contributions. It is mandatory to follow them in contributions.
|
||||
|
||||
### Git Commit Messages
|
||||
|
||||
@@ -192,7 +192,7 @@ To keep up with a consistent code and tooling landscape, some of the ownCloud mo
|
||||
|
||||
### Golang Styleguide
|
||||
|
||||
Use the built in golang code formatter before submitting the patch. Also, consulting documentation like [Effective Go](https://golang.org/doc/effective_go) or [Practical Go](http://bit.ly/gcsg-2019) helps to improve the code quality.
|
||||
Use the built-in golang code formatter before submitting the patch. Also, consulting documentation like [Effective Go](https://golang.org/doc/effective_go) or [Practical Go](http://bit.ly/gcsg-2019) helps to improve the code quality.
|
||||
|
||||
### Web Styleguide
|
||||
|
||||
@@ -216,7 +216,7 @@ The list here contains all the more general categories of issues which are follo
|
||||
|
||||
#### Platform
|
||||
|
||||
Describes the platform the issue is happening on, ie. iOS or Windows.
|
||||
Describes the platform the issue is happening on, i.e. iOS or Windows.
|
||||
|
||||
#### Estimation
|
||||
|
||||
@@ -224,7 +224,7 @@ T-Shirt sizes for effort estimation to fix that bug or implement an enhancement.
|
||||
|
||||
#### Priority
|
||||
|
||||
P1 to P4 (lowest) to indicate an priority. Mostly a tool for internal project management and support.
|
||||
P1 to P4 (lowest) to indicate a priority. Mostly a tool for internal project management and support.
|
||||
|
||||
#### QA
|
||||
|
||||
@@ -260,4 +260,4 @@ Important for browser dependent web issues. It specifies the browser that shows
|
||||
|
||||
#### Early-Adopter
|
||||
|
||||
Tags issues that were reported by one of the oCIS early adopters, ie. customers and users who start using ownCloud Infinite Scale before it's general availability.
|
||||
Tags issues that were reported by one of the oCIS early adopters, i.e. customers and users who start using ownCloud Infinite Scale before its general availability.
|
||||
@@ -16,22 +16,39 @@ L10N_MODULES := $(shell find . -path '*.tx*' -name 'config' | sed 's|/[^/]*$$||'
|
||||
|
||||
# if you add a module here please also add it to the .drone.star file
|
||||
OCIS_MODULES = \
|
||||
accounts \
|
||||
audit \
|
||||
glauth \
|
||||
graph \
|
||||
graph-explorer \
|
||||
idp \
|
||||
extensions/accounts \
|
||||
extensions/app-provider \
|
||||
extensions/app-registry \
|
||||
extensions/audit \
|
||||
extensions/auth-basic \
|
||||
extensions/auth-bearer \
|
||||
extensions/auth-machine \
|
||||
extensions/frontend \
|
||||
extensions/gateway \
|
||||
extensions/glauth \
|
||||
extensions/graph \
|
||||
extensions/graph-explorer \
|
||||
extensions/groups \
|
||||
extensions/idm \
|
||||
extensions/idp \
|
||||
extensions/nats \
|
||||
extensions/notifications \
|
||||
extensions/ocdav \
|
||||
extensions/ocs \
|
||||
extensions/proxy \
|
||||
extensions/settings \
|
||||
extensions/sharing \
|
||||
extensions/storage-system \
|
||||
extensions/storage-publiclink \
|
||||
extensions/storage-shares \
|
||||
extensions/storage-users \
|
||||
extensions/store \
|
||||
extensions/thumbnails \
|
||||
extensions/users \
|
||||
extensions/web \
|
||||
extensions/webdav\
|
||||
ocis \
|
||||
ocis-pkg \
|
||||
ocs \
|
||||
proxy \
|
||||
settings \
|
||||
storage \
|
||||
store \
|
||||
thumbnails \
|
||||
web \
|
||||
webdav
|
||||
ocis-pkg
|
||||
|
||||
# bin file definitions
|
||||
PHP_CS_FIXER=php -d zend.enable_gc=0 vendor-bin/owncloud-codestyle/vendor/bin/php-cs-fixer
|
||||
@@ -111,7 +128,7 @@ composer.lock: composer.json
|
||||
.PHONY: generate
|
||||
generate:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
$(MAKE) --no-print-directory -C $$mod generate || exit 1; \
|
||||
$(MAKE) -C $$mod generate || exit 1; \
|
||||
done
|
||||
|
||||
.PHONY: vet
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
accountsdefaults "github.com/owncloud/ocis/accounts/pkg/config/defaults"
|
||||
idpdefaults "github.com/owncloud/ocis/idp/pkg/config/defaults"
|
||||
"gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
fn1 := accountsdefaults.FullDefaultConfig
|
||||
fn2 := idpdefaults.FullDefaultConfig
|
||||
|
||||
b, err := yaml.Marshal(fn1())
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
fmt.Println(string(b))
|
||||
|
||||
b, err = yaml.Marshal(fn2())
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
fmt.Println(string(b))
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: align service naming
|
||||
|
||||
We now reflect the configured service names when listing them in the ocis runtime
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3606
|
||||
https://github.com/owncloud/ocis/issues/3603
|
||||
@@ -0,0 +1,5 @@
|
||||
Change: Update ocis packages and imports to V2
|
||||
|
||||
This needs to be done in preparation for the major version bump in ocis.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3678
|
||||
@@ -0,0 +1,12 @@
|
||||
Change: Load configuration files just from one directory
|
||||
|
||||
We've changed the configuration file loading behavior and are now only loading
|
||||
configuration files from ONE single directory. This directory can be set on
|
||||
compile time or via an environment variable on startup (`OCIS_CONFIG_DIR`).
|
||||
|
||||
We are using following configuration default paths:
|
||||
|
||||
- Docker images: `/etc/ocis/`
|
||||
- Binary releases: `$HOME/.ocis/config/`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3587
|
||||
@@ -0,0 +1,9 @@
|
||||
Change: Reduce permissions on docker image predeclared volumes
|
||||
|
||||
We've lowered the permissions on the predeclared volumes of the oCIS
|
||||
docker image from 777 to 750.
|
||||
|
||||
This change doesn't affect you, unless you use the docker image with
|
||||
the non default uid/guid to start oCIS (default is 1000:1000).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3641
|
||||
@@ -0,0 +1,13 @@
|
||||
Change: Introduce `ocis init` and remove all default secrets
|
||||
|
||||
We've removed all default secrets and the hardcoded UUID of the user `admin`.
|
||||
This means you can't start oCIS any longer without setting these via
|
||||
environment variable or configuration file.
|
||||
|
||||
In order to make this easy for you, we introduced a new command: `ocis init`.
|
||||
You can run this command before starting oCIS with `ocis server` and it will
|
||||
bootstrap you a configuration file for a secure oCIS instance.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3551
|
||||
https://github.com/owncloud/ocis/issues/3524
|
||||
https://github.com/owncloud/ocis/pull/3743
|
||||
@@ -0,0 +1,10 @@
|
||||
Bugfix: Remove runtime kill and run commands
|
||||
|
||||
We've removed the kill and run commands from the oCIS runtime.
|
||||
If these dynamic capabilities are needed, one should switch to a full fledged
|
||||
supervisor and start oCIS as individual services.
|
||||
|
||||
If one wants to start a only a subset of services, this is still possible
|
||||
by setting OCIS_RUN_EXTENSIONS.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3740
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Check permissions when deleting Space
|
||||
|
||||
Check for manager permissions when deleting spaces.
|
||||
Do not allow deleting spaces via dav service
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3709
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Make IDP secrets configurable via environment variables
|
||||
|
||||
We've fixed the configuration options of the IDP to make the IDP secrets again
|
||||
configurable via environment variables.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3744
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Thumbnails for `/dav/xxx?preview=1` requests
|
||||
|
||||
We've added the thumbnail rendering for `/dav/xxx?preview=1`, `/remote.php/webdav/{relative path}?preview=1` and `/webdav/{relative path}?preview=1` requests, which was previously not supported because of missing routes. It now returns the same thumbnails as for
|
||||
`/remote.php/dav/xxx?preview=1`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3567
|
||||
@@ -0,0 +1,6 @@
|
||||
Change: Reduce drives in graph /me/drives API
|
||||
|
||||
Reduced the drives in the graph `/me/drives` API to only the drives the user has access to.
|
||||
The endpoint `/drives` will list all drives when the user has the permission.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3629
|
||||
@@ -0,0 +1,8 @@
|
||||
Bugfix: idp: Check if CA certificate if present
|
||||
|
||||
Upon first start with the default configurtation the idm service creates
|
||||
a server certificate, that might not be finished before the idp service
|
||||
is starting. Add a check to idp similar to what the user, group, and
|
||||
auth-providers implement.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/3623
|
||||
@@ -0,0 +1,9 @@
|
||||
Change: Switched default configuration to use libregraph/idm
|
||||
|
||||
We switched the default configuration of oCIS to use the "idm" service (based
|
||||
on libregraph/idm) as the standard source for user and group information. The
|
||||
accounts and glauth services are no longer enabled by default and will be
|
||||
removed with an upcoming release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3331
|
||||
https://github.com/owncloud/ocis/pull/3633
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: wrap metadata storage with dedicated reva gateway
|
||||
|
||||
We wrapped the metadata storage in a minimal reva instance with a dedicated gateway, including static storage registry, static auth registry, in memory userprovider, machine authprovider and demo permissions service. This allows us to preconfigure the service user for the ocis settings service, share and public share providers.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3602
|
||||
https://github.com/owncloud/ocis/pull/3647
|
||||
@@ -0,0 +1,5 @@
|
||||
Change: rename MetadataUserID
|
||||
|
||||
MetadataUserID is renamed to SystemUserID including yaml tags and env vars
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3671
|
||||
@@ -0,0 +1,6 @@
|
||||
Change: Use new space ID util functions
|
||||
|
||||
Changed code to use the new space ID util functions so that everything works with the new spaces ID format.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3648
|
||||
https://github.com/owncloud/ocis/pull/3669
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: return proper errors when ocs/cloud/users is using the cs3 backend
|
||||
|
||||
The ocs API was just exiting with a fatal error on any update request,
|
||||
when configured for the cs3 backend. Now it returns a proper error.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/3483
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Product field in OCS version
|
||||
|
||||
We've added a new field to the OCS Version, which is supposed to announce the product name. The web ui as a client will make use of it to make the backend product and version available (e.g. for easier bug reports).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2918
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Add initial version of the search extensions
|
||||
|
||||
It is now possible to search for files and directories by their name using the web UI. Therefor new search extension indexes files in a persistent local index.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3635
|
||||
@@ -0,0 +1,6 @@
|
||||
Change: rename serviceUser to systemUser
|
||||
|
||||
We renamed serviceUser to systemUser in all configs and vars
|
||||
including yaml-tags and env vars
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3673
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add capability for public link single file edit
|
||||
|
||||
It is now possible to share a single file by link with edit permissions. Therefore we need a public share capability to enable that feature in the clients. At the same time, we improved the WebDAV permissions for public links.
|
||||
|
||||
https://github.com/owncloud/web/pull/6787
|
||||
https://github.com/owncloud/ocis/pull/3538
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Added `share_jail` and `projects` feature flags in spaces capability
|
||||
|
||||
We've added feature flags to the `spaces` capability to indicate to clients which features are supposed to be shown to users.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3626
|
||||
@@ -0,0 +1,6 @@
|
||||
Change: Split MachineAuth from SystemUser
|
||||
|
||||
We now have two different APIKeys: MachineAuth for the machine-auth service
|
||||
and SystemUser for the system user used e.g. by settings service
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3672
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Update linkshare capabilities
|
||||
|
||||
We have updated the capabilities regarding password enforcement and expiration dates of public links. They were previously hardcoded in a way that didn't reflect the actual backend functionality anymore.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3579
|
||||
@@ -0,0 +1,71 @@
|
||||
Enhancement: update reva to v2.3.1
|
||||
|
||||
Updated reva to version 2.3.1. This update includes
|
||||
|
||||
* Bugfix [cs3org/reva#2827](https://github.com/cs3org/reva/pull/2827): Check permissions when deleting spaces
|
||||
* Bugfix [cs3org/reva#2830](https://github.com/cs3org/reva/pull/2830): Correctly render response when accepting merged shares
|
||||
* Bugfix [cs3org/reva#2831](https://github.com/cs3org/reva/pull/2831): Fix uploads to owncloudsql storage when no mtime is provided
|
||||
* Enhancement [cs3org/reva#2833](https://github.com/cs3org/reva/pull/2833): Make status.php values configurable
|
||||
* Enhancement [cs3org/reva#2832](https://github.com/cs3org/reva/pull/2832): Add version option for ocdav go-micro service
|
||||
|
||||
Updated reva to version 2.3.0. This update includes:
|
||||
|
||||
* Bugfix [cs3org/reva#2693](https://github.com/cs3org/reva/pull/2693): Support editnew actions from MS Office
|
||||
* Bugfix [cs3org/reva#2588](https://github.com/cs3org/reva/pull/2588): Dockerfile.revad-ceph to use the right base image
|
||||
* Bugfix [cs3org/reva#2499](https://github.com/cs3org/reva/pull/2499): Removed check DenyGrant in resource permission
|
||||
* Bugfix [cs3org/reva#2285](https://github.com/cs3org/reva/pull/2285): Accept new userid idp format
|
||||
* Bugfix [cs3org/reva#2802](https://github.com/cs3org/reva/pull/2802): Bugfix the resource id handling for space shares
|
||||
* Bugfix [cs3org/reva#2800](https://github.com/cs3org/reva/pull/2800): Bugfix spaceid parsing in spaces trashbin API
|
||||
* Bugfix [cs3org/reva#2608](https://github.com/cs3org/reva/pull/2608): Respect the tracing_service_name config variable
|
||||
* Bugfix [cs3org/reva#2742](https://github.com/cs3org/reva/pull/2742): Use exact match in login filter
|
||||
* Bugfix [cs3org/reva#2759](https://github.com/cs3org/reva/pull/2759): Made uid, gid claims parsing more robust in OIDC auth provider
|
||||
* Bugfix [cs3org/reva#2788](https://github.com/cs3org/reva/pull/2788): Return the correct file IDs on public link resources
|
||||
* Bugfix [cs3org/reva#2322](https://github.com/cs3org/reva/pull/2322): Use RFC3339 for parsing dates
|
||||
* Bugfix [cs3org/reva#2784](https://github.com/cs3org/reva/pull/2784): Disable storageprovider cache for the share jail
|
||||
* Bugfix [cs3org/reva#2555](https://github.com/cs3org/reva/pull/2555): Bugfix site accounts endpoints
|
||||
* Bugfix [cs3org/reva#2675](https://github.com/cs3org/reva/pull/2675): Updates Makefile according to latest go standards
|
||||
* Bugfix [cs3org/reva#2572](https://github.com/cs3org/reva/pull/2572): Wait for nats server on middleware start
|
||||
* Change [cs3org/reva#2735](https://github.com/cs3org/reva/pull/2735): Avoid user enumeration
|
||||
* Change [cs3org/reva#2737](https://github.com/cs3org/reva/pull/2737): Bump go-cs3api
|
||||
* Change [cs3org/reva#2763](https://github.com/cs3org/reva/pull/2763): Change the oCIS and S3NG storage driver blob store layout
|
||||
* Change [cs3org/reva#2596](https://github.com/cs3org/reva/pull/2596): Remove hash from public link urls
|
||||
* Change [cs3org/reva#2785](https://github.com/cs3org/reva/pull/2785): Implement workaround for chi.RegisterMethod
|
||||
* Change [cs3org/reva#2559](https://github.com/cs3org/reva/pull/2559): Do not encode webDAV ids to base64
|
||||
* Change [cs3org/reva#2740](https://github.com/cs3org/reva/pull/2740): Rename oc10 share manager driver
|
||||
* Change [cs3org/reva#2561](https://github.com/cs3org/reva/pull/2561): Merge oidcmapping auth manager into oidc
|
||||
* Enhancement [cs3org/reva#2698](https://github.com/cs3org/reva/pull/2698): Make capabilities endpoint public, authenticate users is present
|
||||
* Enhancement [cs3org/reva#2515](https://github.com/cs3org/reva/pull/2515): Enabling tracing by default if not explicitly disabled
|
||||
* Enhancement [cs3org/reva#2686](https://github.com/cs3org/reva/pull/2686): Features for favorites xattrs in EOS, cache for scope expansion
|
||||
* Enhancement [cs3org/reva#2494](https://github.com/cs3org/reva/pull/2494): Use sys ACLs for file permissions
|
||||
* Enhancement [cs3org/reva#2522](https://github.com/cs3org/reva/pull/2522): Introduce events
|
||||
* Enhancement [cs3org/reva#2811](https://github.com/cs3org/reva/pull/2811): Add event for created directories
|
||||
* Enhancement [cs3org/reva#2798](https://github.com/cs3org/reva/pull/2798): Add additional fields to events to enable search
|
||||
* Enhancement [cs3org/reva#2790](https://github.com/cs3org/reva/pull/2790): Fake providerids so API stays stable after beta
|
||||
* Enhancement [cs3org/reva#2685](https://github.com/cs3org/reva/pull/2685): Enable federated account access
|
||||
* Enhancement [cs3org/reva#1787](https://github.com/cs3org/reva/pull/1787): Add support for HTTP TPC
|
||||
* Enhancement [cs3org/reva#2799](https://github.com/cs3org/reva/pull/2799): Add flag to enable unrestriced listing of spaces
|
||||
* Enhancement [cs3org/reva#2560](https://github.com/cs3org/reva/pull/2560): Mentix PromSD extensions
|
||||
* Enhancement [cs3org/reva#2741](https://github.com/cs3org/reva/pull/2741): Meta path for user
|
||||
* Enhancement [cs3org/reva#2613](https://github.com/cs3org/reva/pull/2613): Externalize custom mime types configuration for storage providers
|
||||
* Enhancement [cs3org/reva#2163](https://github.com/cs3org/reva/pull/2163): Nextcloud-based share manager for pkg/ocm/share
|
||||
* Enhancement [cs3org/reva#2696](https://github.com/cs3org/reva/pull/2696): Preferences driver refactor and cbox sql implementation
|
||||
* Enhancement [cs3org/reva#2052](https://github.com/cs3org/reva/pull/2052): New CS3API datatx methods
|
||||
* Enhancement [cs3org/reva#2743](https://github.com/cs3org/reva/pull/2743): Add capability for public link single file edit
|
||||
* Enhancement [cs3org/reva#2738](https://github.com/cs3org/reva/pull/2738): Site accounts site-global settings
|
||||
* Enhancement [cs3org/reva#2672](https://github.com/cs3org/reva/pull/2672): Further Site Accounts improvements
|
||||
* Enhancement [cs3org/reva#2549](https://github.com/cs3org/reva/pull/2549): Site accounts improvements
|
||||
* Enhancement [cs3org/reva#2795](https://github.com/cs3org/reva/pull/2795): Add feature flags "projects" and "share_jail" to spaces capability
|
||||
* Enhancement [cs3org/reva#2514](https://github.com/cs3org/reva/pull/2514): Reuse ocs role objects in other drivers
|
||||
* Enhancement [cs3org/reva#2781](https://github.com/cs3org/reva/pull/2781): In memory user provider
|
||||
* Enhancement [cs3org/reva#2752](https://github.com/cs3org/reva/pull/2752): Refactor the rest user and group provider drivers
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3552
|
||||
https://github.com/owncloud/ocis/pull/3570
|
||||
https://github.com/owncloud/ocis/pull/3601
|
||||
https://github.com/owncloud/ocis/pull/3602
|
||||
https://github.com/owncloud/ocis/pull/3605
|
||||
https://github.com/owncloud/ocis/pull/3611
|
||||
https://github.com/owncloud/ocis/issues/3621
|
||||
https://github.com/owncloud/ocis/pull/3637
|
||||
https://github.com/owncloud/ocis/pull/3652
|
||||
https://github.com/owncloud/ocis/pull/3681
|
||||
@@ -0,0 +1,12 @@
|
||||
Enhancement: Update ownCloud Web to v5.5.0-rc.5
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v5.5.0-rc.5. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
https://github.com/owncloud/web/pull/6854
|
||||
https://github.com/owncloud/ocis/pull/3664
|
||||
https://github.com/owncloud/ocis/pull/3680
|
||||
https://github.com/owncloud/ocis/pull/3727
|
||||
https://github.com/owncloud/ocis/pull/3747
|
||||
https://github.com/owncloud/web/releases/tag/v5.5.0-rc.5
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: URL encode the webdav url in the graph API
|
||||
|
||||
Fixed the webdav URL in the drives responses. Without encoding the URL could be broken by files with spaces in the file name.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3597
|
||||
https://github.com/owncloud/ocis/issues/3538
|
||||
@@ -1,19 +1,24 @@
|
||||
{{ $allVersions := . }}
|
||||
{{- range $index, $changes := . }}{{ with $changes -}}
|
||||
{{ $version := .Version -}}
|
||||
{{/* ocis beta program */ -}}
|
||||
{{ if eq .Version "2.0.0" -}}
|
||||
{{ $version = (printf "%v-%v" $version "beta1") -}}
|
||||
{{ end -}}
|
||||
{{ if gt (len $allVersions) 1 -}}
|
||||
# Changelog for [{{ .Version }}] ({{ .Date }})
|
||||
# Changelog for [{{ $version }}] ({{ .Date }})
|
||||
|
||||
The following sections list the changes for {{ .Version }}.
|
||||
The following sections list the changes for {{ $version }}.
|
||||
|
||||
{{/* creating version compare links */ -}}
|
||||
{{ $next := add1 $index -}}
|
||||
{{ if ne (len $allVersions) $next -}}
|
||||
{{ $previousVersion := (index $allVersions $next).Version -}}
|
||||
{{ if eq .Version "unreleased" -}}
|
||||
[{{ .Version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...master
|
||||
[{{ $version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...master
|
||||
|
||||
{{ else -}}
|
||||
[{{ .Version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...v{{ .Version }}
|
||||
[{{ $version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...v{{ $version }}
|
||||
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
@@ -24,7 +29,7 @@ The following sections list the changes for {{ .Version }}.
|
||||
|
||||
{{ end -}}
|
||||
{{ else -}}
|
||||
# Changes in {{ .Version }}
|
||||
# Changes in {{ $version }}
|
||||
|
||||
{{ end -}}
|
||||
|
||||
|
||||
+4
-1
@@ -4,7 +4,10 @@
|
||||
"platform": {
|
||||
"php": "7.2"
|
||||
},
|
||||
"vendor-dir": "./vendor-php"
|
||||
"vendor-dir": "./vendor-php",
|
||||
"allow-plugins": {
|
||||
"bamarni/composer-bin-plugin": true
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-s3-latest
|
||||
- name: continuous-deployment-ocis-hello-latest
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-20.04
|
||||
@@ -14,7 +14,7 @@
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-s3.latest.owncloud.works"
|
||||
- "*.ocis-hello.latest.owncloud.works"
|
||||
|
||||
vars:
|
||||
ssh_authorized_keys:
|
||||
@@ -29,21 +29,21 @@
|
||||
- name: ocis
|
||||
git_url: https://github.com/owncloud/ocis.git
|
||||
ref: master
|
||||
docker_compose_path: deployments/examples/ocis_s3
|
||||
docker_compose_path: deployments/examples/ocis_hello
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_DOMAIN: ocis.ocis-s3.latest.owncloud.works
|
||||
MINIO_DOMAIN: minio.ocis-s3.latest.owncloud.works
|
||||
OCIS_DOMAIN: ocis.ocis-hello.latest.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-s3.latest.owncloud.works
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-hello.latest.owncloud.works
|
||||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
|
||||
OCIS_URL: ocis.ocis-s3.latest.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-s3-latest
|
||||
OCIS_URL: ocis.ocis-hello.latest.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-hello-latest
|
||||
@@ -36,6 +36,7 @@
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_SCALE: 6
|
||||
OCIS_DOMAIN: ocis.ocis-individual-services.latest.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-hello-latest
|
||||
- name: continuous-deployment-ocis-s3-latest
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-20.04
|
||||
@@ -14,7 +14,7 @@
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-hello.latest.owncloud.works"
|
||||
- "*.ocis-s3.latest.owncloud.works"
|
||||
|
||||
vars:
|
||||
ssh_authorized_keys:
|
||||
@@ -29,20 +29,22 @@
|
||||
- name: ocis
|
||||
git_url: https://github.com/owncloud/ocis.git
|
||||
ref: master
|
||||
docker_compose_path: deployments/examples/ocis_hello
|
||||
docker_compose_path: deployments/examples/ocis_s3
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_DOMAIN: ocis.ocis-hello.latest.owncloud.works
|
||||
OCIS_DOMAIN: ocis.ocis-s3.latest.owncloud.works
|
||||
MINIO_DOMAIN: minio.ocis-s3.latest.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-hello.latest.owncloud.works
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-s3.latest.owncloud.works
|
||||
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
|
||||
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
|
||||
OCIS_URL: ocis.ocis-hello.latest.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-hello-latest
|
||||
OCIS_URL: ocis.ocis-s3.latest.owncloud.works
|
||||
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-s3-latest
|
||||
@@ -35,6 +35,7 @@
|
||||
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_DOMAIN: ocis.ocis-traefik.latest.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||
OCIS_DOCKER_TAG: 1
|
||||
OCIS_DOMAIN: ocis.ocis-traefik.released.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.latest.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis-wopi.latest.owncloud.works
|
||||
ONLYOFFICE_DOMAIN: onlyoffice.ocis-wopi.latest.owncloud.works
|
||||
CODIMD_DOMAIN: codimd.ocis-wopi.latest.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.released.owncloud.works
|
||||
COLLABORA_DOMAIN: collabora.ocis-wopi.released.owncloud.works
|
||||
ONLYOFFICE_DOMAIN: onlyoffice.ocis-wopi.released.owncloud.works
|
||||
CODIMD_DOMAIN: codimd.ocis-wopi.released.owncloud.works
|
||||
DEMO_USERS: "true"
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
|
||||
@@ -8,7 +8,7 @@ DEMO_USERS=false
|
||||
|
||||
### Traefik settings ###
|
||||
TRAEFIK_LOG_LEVEL=
|
||||
# Serve Treafik dashboard. Defaults to "false".
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
@@ -48,7 +48,7 @@ LDAP_ADMIN_PASSWORD=
|
||||
LDAP_MANAGER_DOMAIN=
|
||||
|
||||
### Keycloak ###
|
||||
# Domain of Keycloak, where you can find the managment and authentication frontend. Defaults to "keycloak.owncloud.test"
|
||||
# Domain of Keycloak, where you can find the management and authentication frontend. Defaults to "keycloak.owncloud.test"
|
||||
KEYCLOAK_DOMAIN=
|
||||
# Realm which to be used with oCIS. Defaults to "oCIS"
|
||||
KEYCLOAK_REALM=
|
||||
|
||||
@@ -6,5 +6,5 @@ objectClass: olcSchemaConfig
|
||||
cn: owncloud
|
||||
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.1 NAME 'ownCloudQuota' DESC 'User Quota (e.g. 2 GB)' EQUALITY caseExactMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
|
||||
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.2 NAME 'ownCloudUUID' DESC 'A non-reassignable and persistent account ID)' EQUALITY uuidMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.1.16.1 SINGLE-VALUE )
|
||||
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.3 NAME 'ownCloudSelector' DESC 'A selector attribute for a route in the ownCloud Infinte Scale proxy)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
|
||||
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.3 NAME 'ownCloudSelector' DESC 'A selector attribute for a route in the ownCloud Infinite Scale proxy)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
|
||||
olcObjectClasses: ( 1.3.6.1.4.1.39430.1.2.1 NAME 'ownCloud' DESC 'ownCloud LDAP Schema' AUXILIARY MAY ( ownCloudQuota $ ownCloudUUID $ ownCloudSelector ) )
|
||||
@@ -6,7 +6,7 @@ gomplate \
|
||||
-f /etc/templates/oidc.config.php \
|
||||
-o ${OWNCLOUD_VOLUME_CONFIG}/oidc.config.php
|
||||
|
||||
# we need at least version 2.1.0 of the oenidconnect app
|
||||
# we need at least version 2.1.0 of the openidconnect app
|
||||
occ market:upgrade --major openidconnect
|
||||
occ app:enable openidconnect
|
||||
|
||||
|
||||
Regular → Executable
+42
-27
@@ -6,45 +6,60 @@ policy_selector:
|
||||
policies:
|
||||
- name: ocis
|
||||
routes:
|
||||
- endpoint: "/"
|
||||
- endpoint: /
|
||||
backend: http://localhost:9100
|
||||
- endpoint: "/.well-known/"
|
||||
- endpoint: /.well-known/
|
||||
backend: http://localhost:9130
|
||||
- endpoint: /konnect/
|
||||
backend: http://localhost:9130
|
||||
- endpoint: /signin/
|
||||
backend: http://localhost:9130
|
||||
- endpoint: /archiver
|
||||
backend: http://localhost:9140
|
||||
- type: regex
|
||||
endpoint: "/ocs/v[12].php/cloud/user/signing-key"
|
||||
endpoint: /ocs/v[12].php/cloud/(users?|groups)
|
||||
backend: http://localhost:9110
|
||||
- endpoint: "/ocs/"
|
||||
- endpoint: /ocs/
|
||||
backend: http://localhost:9140
|
||||
- type: query
|
||||
endpoint: "/remote.php/?preview=1"
|
||||
endpoint: /remote.php/?preview=1
|
||||
backend: http://localhost:9115
|
||||
- endpoint: "/remote.php/"
|
||||
- method: REPORT
|
||||
endpoint: /remote.php/dav/
|
||||
backend: http://localhost:9115
|
||||
- type: query
|
||||
endpoint: /dav/?preview=1
|
||||
backend: http://localhost:9115
|
||||
- type: query
|
||||
endpoint: /webdav/?preview=1
|
||||
backend: http://localhost:9115
|
||||
- endpoint: /remote.php/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /dav/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /webdav/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /status.php
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /index.php/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /apps/
|
||||
service: com.owncloud.web.ocdav
|
||||
- endpoint: /data
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/dav/"
|
||||
- endpoint: /app/
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/webdav/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/status.php"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/index.php/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/index.php/login"
|
||||
backend: http://localhost:9100
|
||||
- endpoint: "/login"
|
||||
backend: http://localhost:9100
|
||||
- endpoint: "/data"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/graph/"
|
||||
- endpoint: /graph/
|
||||
backend: http://localhost:9120
|
||||
- endpoint: "/app/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/archiver"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/graph-explorer/"
|
||||
- endpoint: /graph-explorer
|
||||
backend: http://localhost:9135
|
||||
- endpoint: "/api/v0/settings"
|
||||
- endpoint: /api/v0/accounts
|
||||
backend: http://localhost:9181
|
||||
- endpoint: /accounts.js
|
||||
backend: http://localhost:9181
|
||||
- endpoint: /api/v0/settings
|
||||
backend: http://localhost:9190
|
||||
- endpoint: "/settings.js"
|
||||
- endpoint: /settings.js
|
||||
backend: http://localhost:9190
|
||||
- name: oc10
|
||||
routes:
|
||||
|
||||
@@ -43,88 +43,94 @@ services:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
ocis-init-volumes:
|
||||
image: busybox
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
# prepare the oCIS config volume for oCIS
|
||||
command: ["-c", "chown -R 33:33 /etc/ocis /var/lib/ocis"]
|
||||
volumes:
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
|
||||
ocis:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
user: "33:33" # equals the user "www-data" for oC10
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
# run ocis init to initialize a configuration file with random secrets
|
||||
# it will fail on subsequent runs, because the config file already exists
|
||||
# therefore we ignore the error and then start the ocis server
|
||||
command: ["-c", "ocis init || true; ocis server"]
|
||||
#entrypoint:
|
||||
# - /bin/sh
|
||||
# - /entrypoint-override.sh
|
||||
environment:
|
||||
# Keycloak IDP specific configuration
|
||||
PROXY_OIDC_ISSUER: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
|
||||
WEB_OIDC_AUTHORITY: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
|
||||
WEB_OIDC_CLIENT_ID: ocis-web
|
||||
OCIS_OIDC_ISSUER: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
|
||||
WEB_OIDC_METADATA_URL: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}/.well-known/openid-configuration
|
||||
STORAGE_OIDC_ISSUER: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}
|
||||
STORAGE_LDAP_IDP: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
|
||||
WEB_OIDC_CLIENT_ID: ocis-web
|
||||
WEB_OIDC_SCOPE: openid profile email owncloud
|
||||
# external ldap is supposed to be read only
|
||||
GRAPH_IDENTITY_BACKEND: ldap
|
||||
GRAPH_LDAP_SERVER_WRITE_ENABLED: "false"
|
||||
# LDAP bind
|
||||
STORAGE_LDAP_URI: "ldaps://openldap"
|
||||
STORAGE_LDAP_INSECURE: "true"
|
||||
STORAGE_LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
|
||||
STORAGE_LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
|
||||
LDAP_URI: "ldaps://openldap"
|
||||
LDAP_INSECURE: "true"
|
||||
LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
|
||||
LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
|
||||
# LDAP user settings
|
||||
PROXY_AUTOPROVISION_ACCOUNTS: "true" # automatically create users when they login
|
||||
PROXY_ACCOUNT_BACKEND_TYPE: cs3 # proxy should get users from CS3APIS (which gets it from LDAP)
|
||||
PROXY_USER_OIDC_CLAIM: ocis.user.uuid # claim was added in Keycloak
|
||||
PROXY_USER_CS3_CLAIM: userid # equals STORAGE_LDAP_USER_SCHEMA_UID
|
||||
STORAGE_LDAP_GROUP_BASE_DN: "dc=owncloud,dc=com"
|
||||
STORAGE_LDAP_GROUP_SCHEMA_DISPLAYNAME: "cn"
|
||||
STORAGE_LDAP_GROUP_SCHEMA_GID_NUMBER: "gidnumber"
|
||||
STORAGE_LDAP_GROUP_SCHEMA_ID: "cn"
|
||||
STORAGE_LDAP_GROUP_SCHEMA_MAIL: "mail"
|
||||
STORAGE_LDAP_GROUP_SCHEMA_MEMBER: "cn"
|
||||
STORAGE_LDAP_GROUP_OBJECTCLASS: "groupOfUniqueNames"
|
||||
STORAGE_LDAP_GROUPFILTER: "(objectclass=owncloud)"
|
||||
STORAGE_LDAP_USER_BASE_DN: "dc=owncloud,dc=com"
|
||||
STORAGE_LDAP_USER_SCHEMA_USERNAME: "cn"
|
||||
STORAGE_LDAP_USER_SCHEMA_DISPLAYNAME: "displayname"
|
||||
STORAGE_LDAP_USER_SCHEMA_GID_NUMBER: "gidnumber"
|
||||
STORAGE_LDAP_USER_SCHEMA_MAIL: "mail"
|
||||
STORAGE_LDAP_USER_SCHEMA_UID_NUMBER: "uidnumber"
|
||||
STORAGE_LDAP_USER_SCHEMA_ID: "ownclouduuid"
|
||||
STORAGE_LDAP_LOGIN_ATTRIBUTES: "uid,mail"
|
||||
LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
|
||||
LDAP_GROUP_OBJECTCLASS: "groupOfUniqueNames"
|
||||
LDAP_GROUP_SCHEMA_DISPLAYNAME: "cn"
|
||||
LDAP_GROUP_SCHEMA_ID: "cn"
|
||||
LDAP_GROUP_SCHEMA_MAIL: "mail"
|
||||
LDAP_GROUP_SCHEMA_MEMBER: "cn"
|
||||
LDAP_GROUPFILTER: "(objectclass=owncloud)"
|
||||
LDAP_LOGIN_ATTRIBUTES: "uid"
|
||||
LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
|
||||
LDAP_USER_OBJECTCLASS: "posixAccount"
|
||||
LDAP_USER_SCHEMA_DISPLAYNAME: "displayname"
|
||||
LDAP_USER_SCHEMA_ID: "ownclouduuid"
|
||||
LDAP_USER_SCHEMA_MAIL: "mail"
|
||||
LDAP_USER_SCHEMA_USERNAME: "cn"
|
||||
LDAP_USERFILTER: "(objectclass=owncloud)"
|
||||
# ownCloudSQL storage driver
|
||||
STORAGE_USERS_DRIVER: owncloudsql
|
||||
STORAGE_METADATA_DRIVER: ocis # keep metadata on ocis storage since this are only small files atm
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DATADIR: /mnt/data/files
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_UPLOADINFO_DIR: /tmp
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_SHARE_FOLDER: "/Shares"
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_LAYOUT: "{{.Username}}"
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBUSERNAME: owncloud
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBPASSWORD: owncloud
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBHOST: oc10-db
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBPORT: 3306
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBNAME: owncloud
|
||||
STORAGE_USERS_DRIVER_OWNCLOUDSQL_REDIS_ADDR: redis:6379 # TODO: redis is not yet supported
|
||||
STORAGE_USERS_DRIVER: "owncloudsql"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DATADIR: "/mnt/data/files"
|
||||
STORAGE_USERS_OWNCLOUDSQL_SHARE_FOLDER: "/Shares"
|
||||
STORAGE_USERS_OWNCLOUDSQL_LAYOUT: "{{.Username}}"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_USERNAME: "owncloud"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_PASSWORD: "owncloud"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_HOST: "oc10-db"
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_PORT: 3306
|
||||
STORAGE_USERS_OWNCLOUDSQL_DB_NAME: "owncloud"
|
||||
# ownCloudSQL sharing driver
|
||||
STORAGE_SHARING_USER_DRIVER: oc10-sql
|
||||
STORAGE_SHARING_USER_SQL_USERNAME: owncloud
|
||||
STORAGE_SHARING_USER_SQL_PASSWORD: owncloud
|
||||
STORAGE_SHARING_USER_SQL_HOST: oc10-db
|
||||
STORAGE_SHARING_USER_SQL_PORT: 3306
|
||||
STORAGE_SHARING_USER_SQL_NAME: owncloud
|
||||
|
||||
SHARING_USER_DRIVER: "owncloudsql"
|
||||
SHARING_USER_OWNCLOUDSQL_DB_USERNAME: "owncloud"
|
||||
SHARING_USER_OWNCLOUDSQL_DB_PASSWORD: "owncloud"
|
||||
SHARING_USER_OWNCLOUDSQL_DB_HOST: "oc10-db"
|
||||
SHARING_USER_OWNCLOUDSQL_DB_PORT: 3306
|
||||
SHARING_USER_OWNCLOUDSQL_DB_NAME: "owncloud"
|
||||
# ownCloud storage readonly
|
||||
OCIS_STORAGE_READ_ONLY: "false" # TODO: conflict with OWNCLOUDSQL -> https://github.com/owncloud/ocis/issues/2303
|
||||
# General oCIS config
|
||||
# OCIS_RUN_EXTENSIONS specifies to start all extensions except glauth, idp and accounts. These are replaced by external services
|
||||
OCIS_RUN_EXTENSIONS: settings,storage-metadata,graph,graph-explorer,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,proxy,nats
|
||||
OCIS_RUN_EXTENSIONS: app-registry,app-provider,audit,auth-basic,auth-bearer,auth-machine,frontend,gateway,graph,graph-explorer,groups,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
OCIS_URL: https://${CLOUD_DOMAIN:-cloud.owncloud.test}
|
||||
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
|
||||
# change default secrets
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
|
||||
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||
OCIS_INSECURE: "${INSECURE:-false}"
|
||||
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
|
||||
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
|
||||
# demo users
|
||||
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
|
||||
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
|
||||
volumes:
|
||||
- ./config/ocis/proxy.yaml:/etc/ocis/proxy.yaml
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
# shared volume with oC10
|
||||
- oc10-data:/mnt/data
|
||||
@@ -339,6 +345,7 @@ services:
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-config:
|
||||
ocis-data:
|
||||
keycloak-postgres-data:
|
||||
oc10-mysql-data:
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ services:
|
||||
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
|
||||
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
|
||||
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
|
||||
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
|
||||
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
|
||||
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
|
||||
|
||||
@@ -2,12 +2,8 @@
|
||||
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
|
||||
INSECURE=true
|
||||
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public
|
||||
DEMO_USERS=true
|
||||
|
||||
### Traefik settings ###
|
||||
# Serve Treafik dashboard. Defaults to "false".
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
@@ -21,16 +17,11 @@ TRAEFIK_ACME_MAIL=
|
||||
OCIS_DOCKER_TAG=
|
||||
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
|
||||
OCIS_DOMAIN=
|
||||
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
|
||||
IDP_LDAP_BIND_PASSWORD=
|
||||
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
|
||||
STORAGE_LDAP_BIND_PASSWORD=
|
||||
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
|
||||
OCIS_JWT_SECRET=
|
||||
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
|
||||
STORAGE_TRANSFER_SECRET=
|
||||
# Machine auth api key secret. Must be changed in order to have a secure oCIS. Defaults to "change-me-please"
|
||||
OCIS_MACHINE_AUTH_API_KEY=
|
||||
# oCIS admin user password. Defaults to "admin".
|
||||
ADMIN_PASSWORD=
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public. Defaults to "false".
|
||||
DEMO_USERS=
|
||||
|
||||
### oCIS Hello settings ###
|
||||
# oCIS Hello version. Defaults to "latest"
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p /var/tmp/ocis/.config/
|
||||
cp /config/web-config.dist.json /var/tmp/ocis/.config/web-config.json
|
||||
sed -i 's/ocis.owncloud.test/'${OCIS_DOMAIN:-ocis.owncloud.test}'/g' /var/tmp/ocis/.config/web-config.json
|
||||
|
||||
ocis server&
|
||||
sleep 10
|
||||
|
||||
echo "##################################################"
|
||||
echo "change default secrets:"
|
||||
|
||||
# IDP
|
||||
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
|
||||
echo " IDP user UUID: $IDP_USER_UUID"
|
||||
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
|
||||
|
||||
# REVA
|
||||
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
|
||||
echo " Reva user UUID: $REVA_USER_UUID"
|
||||
ocis accounts update --password $STORAGE_LDAP_BIND_PASSWORD $REVA_USER_UUID
|
||||
|
||||
echo "default secrets changed"
|
||||
echo "##################################################"
|
||||
|
||||
wait # wait for oCIS to exit
|
||||
@@ -1,55 +1,151 @@
|
||||
---
|
||||
policy_selector:
|
||||
static:
|
||||
policy: ocis
|
||||
|
||||
policies:
|
||||
- name: ocis
|
||||
routes:
|
||||
- endpoint: "/"
|
||||
backend: http://localhost:9100
|
||||
- endpoint: "/.well-known/"
|
||||
backend: http://localhost:9130
|
||||
- endpoint: "/konnect/"
|
||||
backend: http://localhost:9130
|
||||
- endpoint: "/signin/"
|
||||
backend: http://localhost:9130
|
||||
- type: regex
|
||||
endpoint: "/ocs/v[12].php/cloud/(users?|groups)"
|
||||
backend: http://localhost:9110
|
||||
- endpoint: "/ocs/"
|
||||
backend: http://localhost:9140
|
||||
- type: query
|
||||
endpoint: "/remote.php/?preview=1"
|
||||
backend: http://localhost:9115
|
||||
- endpoint: "/remote.php/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/dav/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/webdav/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/status.php"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/index.php/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/data"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/app/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/archiver"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/graph/"
|
||||
backend: http://localhost:9120
|
||||
- endpoint: "/graph-explorer/"
|
||||
backend: http://localhost:9135
|
||||
- endpoint: "/api/v0/accounts"
|
||||
backend: http://localhost:9181
|
||||
- endpoint: "/accounts.js"
|
||||
backend: http://localhost:9181
|
||||
- endpoint: "/api/v0/settings"
|
||||
backend: http://localhost:9190
|
||||
- endpoint: "/settings.js"
|
||||
backend: http://localhost:9190
|
||||
- endpoint: "/api/v0/greet"
|
||||
backend: http://ocis-hello:9105
|
||||
- endpoint: "/hello.js"
|
||||
backend: http://ocis-hello:9105
|
||||
- name: ocis
|
||||
routes:
|
||||
# defaults, taken from https://owncloud.dev/extensions/proxy/configuration/
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /
|
||||
backend: http://localhost:9100
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /.well-known/
|
||||
backend: http://localhost:9130
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /konnect/
|
||||
backend: http://localhost:9130
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /signin/
|
||||
backend: http://localhost:9130
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /archiver
|
||||
backend: http://localhost:9140
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: regex
|
||||
method: ""
|
||||
endpoint: /ocs/v[12].php/cloud/(users?|groups)
|
||||
backend: http://localhost:9110
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /ocs/
|
||||
backend: http://localhost:9140
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: query
|
||||
method: ""
|
||||
endpoint: /remote.php/?preview=1
|
||||
backend: http://localhost:9115
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: REPORT
|
||||
endpoint: /remote.php/dav/
|
||||
backend: http://localhost:9115
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /remote.php/
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /dav/
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /webdav/
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /status.php
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /index.php/
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /apps/
|
||||
backend: ""
|
||||
service: ocdav
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /data
|
||||
backend: http://localhost:9140
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /app/
|
||||
backend: http://localhost:9140
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /graph/
|
||||
backend: http://localhost:9120
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /graph-explorer
|
||||
backend: http://localhost:9135
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /api/v0/accounts
|
||||
backend: http://localhost:9181
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /accounts.js
|
||||
backend: http://localhost:9181
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /api/v0/settings
|
||||
backend: http://localhost:9190
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
- type: ""
|
||||
method: ""
|
||||
endpoint: /settings.js
|
||||
backend: http://localhost:9190
|
||||
service: ""
|
||||
apache_vhost: false
|
||||
# oCIS Hello specific routes
|
||||
- endpoint: "/api/v0/greet"
|
||||
backend: http://ocis-hello:9105
|
||||
- endpoint: "/hello.js"
|
||||
backend: http://ocis-hello:9105
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"server": "https://ocis.owncloud.test",
|
||||
"theme": "https://ocis.owncloud.test/themes/owncloud/theme.json",
|
||||
"version": "0.1.0",
|
||||
"openIdConnect": {
|
||||
"metadata_url": "https://ocis.owncloud.test/.well-known/openid-configuration",
|
||||
"authority": "https://ocis.owncloud.test",
|
||||
"client_id": "web",
|
||||
"response_type": "code",
|
||||
"scope": "openid profile email"
|
||||
},
|
||||
"apps": ["files"],
|
||||
"external_apps": [
|
||||
{
|
||||
"id": "settings",
|
||||
"path": "/settings.js"
|
||||
},
|
||||
{
|
||||
"id": "accounts",
|
||||
"path": "/accounts.js"
|
||||
},
|
||||
{
|
||||
"id": "hello",
|
||||
"path": "/hello.js"
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
"hideSearchBar": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
web:
|
||||
config:
|
||||
external_apps:
|
||||
- id: hello
|
||||
path: /hello.js
|
||||
@@ -48,33 +48,28 @@ services:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
# run ocis init to initialize a configuration file with random secrets
|
||||
# it will fail on subsequent runs, because the config file already exists
|
||||
# therefore we ignore the error and then start the ocis server
|
||||
command: ["-c", "ocis init || true; ocis server"]
|
||||
environment:
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_DOMAIN: ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
|
||||
# change default secrets
|
||||
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
|
||||
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
|
||||
# web ui
|
||||
WEB_UI_CONFIG: "/var/tmp/ocis/.config/web-config.json"
|
||||
# make settings service available to oCIS Hello
|
||||
SETTINGS_GRPC_ADDR: 0.0.0.0:9191
|
||||
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||
OCIS_INSECURE: "${INSECURE:-false}"
|
||||
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
|
||||
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
|
||||
# admin user password
|
||||
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
|
||||
# demo users
|
||||
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
|
||||
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
|
||||
volumes:
|
||||
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ./config/ocis/web-config.dist.json:/config/web-config.dist.json
|
||||
- ./config/ocis/proxy.yaml:/etc/ocis/proxy.yaml
|
||||
- ./config/ocis/web.yaml:/etc/ocis/web.yaml
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -99,6 +94,7 @@ services:
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-config:
|
||||
ocis-data:
|
||||
|
||||
networks:
|
||||
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
|
||||
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
|
||||
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
|
||||
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
|
||||
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
|
||||
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
|
||||
|
||||
@@ -7,7 +7,7 @@ INSECURE=true
|
||||
DEMO_USERS=true
|
||||
|
||||
### Traefik settings ###
|
||||
# Serve Treafik dashboard. Defaults to "false".
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
|
||||
@@ -128,7 +128,7 @@ services:
|
||||
ACCOUNTS_GRPC_ADDR: 0.0.0.0:9180
|
||||
|
||||
ACCOUNTS_STORAGE_BACKEND: cs3
|
||||
ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR: storage-metadata:9215
|
||||
ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR: storage-system:9215
|
||||
|
||||
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
|
||||
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
|
||||
@@ -366,7 +366,7 @@ services:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
storage-metadata:
|
||||
storage-system:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
deploy:
|
||||
replicas: 1
|
||||
@@ -374,7 +374,7 @@ services:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- ocis
|
||||
- storage-metadata
|
||||
- storage-system
|
||||
- server
|
||||
environment:
|
||||
OCIS_LOG_LEVEL: "${OCIS_LOG_LEVEL:-error}"
|
||||
@@ -383,18 +383,18 @@ services:
|
||||
|
||||
STORAGE_HOME_DATAPROVIDER_INSECURE: "${INSECURE:-false}"
|
||||
|
||||
STORAGE_METADATA_GRPC_ADDR: 0.0.0.0:9215
|
||||
STORAGE_METADATA_HTTP_ADDR: 0.0.0.0:9216
|
||||
STORAGE_METADATA_DATA_SERVER_URL: http://storage-metadata:9216/data
|
||||
STORAGE_SYSTEM_GRPC_ADDR: 0.0.0.0:9215
|
||||
STORAGE_SYSTEM_HTTP_ADDR: 0.0.0.0:9216
|
||||
STORAGE_SYSTEM_DATA_SERVER_URL: http://storage-system:9216/data
|
||||
|
||||
STORAGE_JWT_SECRET: ${OCIS_METADATA_JWT_SECRET:-Pive-Fumkiu4}
|
||||
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
|
||||
STORAGE_METADATA_DRIVER: ocis
|
||||
STORAGE_SYSTEM_DRIVER: ocis
|
||||
|
||||
REVA_GATEWAY: storage-gateway:9142
|
||||
volumes:
|
||||
- "ocis-storage-metadata:/var/lib/ocis"
|
||||
- "ocis-storage-system:/var/lib/ocis"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
@@ -589,7 +589,7 @@ services:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
storage-userprovider:
|
||||
users:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
deploy:
|
||||
replicas: ${OCIS_SCALE:-1}
|
||||
@@ -597,14 +597,14 @@ services:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- ocis
|
||||
- storage-userprovider
|
||||
- users
|
||||
- server
|
||||
environment:
|
||||
OCIS_LOG_LEVEL: "${OCIS_LOG_LEVEL:-error}"
|
||||
OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
|
||||
OCIS_LOG_PRETTY: "${OCIS_LOG_PRETTY:-false}"
|
||||
|
||||
STORAGE_USERPROVIDER_ENDPOINT: storage-userprovider:9144
|
||||
STORAGE_USERPROVIDER_ENDPOINT: users:9144
|
||||
STORAGE_USERPROVIDER_ADDR: 0.0.0.0:9144
|
||||
|
||||
STORAGE_USERPROVIDER_DRIVER: ldap
|
||||
@@ -619,7 +619,7 @@ services:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
storage-groupprovider:
|
||||
groups:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
deploy:
|
||||
replicas: ${OCIS_SCALE:-1}
|
||||
@@ -627,14 +627,14 @@ services:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- ocis
|
||||
- storage-groupprovider
|
||||
- groups
|
||||
- server
|
||||
environment:
|
||||
OCIS_LOG_LEVEL: "${OCIS_LOG_LEVEL:-error}"
|
||||
OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
|
||||
OCIS_LOG_PRETTY: "${OCIS_LOG_PRETTY:-false}"
|
||||
|
||||
STORAGE_GROUPPROVIDER_ENDPOINT: storage-groupprovider:9160
|
||||
STORAGE_GROUPPROVIDER_ENDPOINT: groups:9160
|
||||
STORAGE_GROUPPROVIDER_ADDR: 0.0.0.0:9160
|
||||
|
||||
STORAGE_GROUPPROVIDER_DRIVER: ldap
|
||||
@@ -664,7 +664,8 @@ services:
|
||||
STORAGE_FRONTEND_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
|
||||
STORAGE_FRONTEND_LOG_PRETTY: "${OCIS_LOG_PRETTY:-false}"
|
||||
|
||||
STORAGE_FRONTEND_APPPROVIDER_INSECURE: "true"
|
||||
# FIXME this now lives in a dedicated service
|
||||
APP_PROVIDER_WOPI_INSECURE: "true"
|
||||
STORAGE_FRONTEND_ARCHIVER_INSECURE: "true"
|
||||
STORAGE_FRONTEND_OCDAV_INSECURE: "true"
|
||||
|
||||
@@ -694,7 +695,7 @@ services:
|
||||
OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
|
||||
OCIS_LOG_PRETTY: "${OCIS_LOG_PRETTY:-false}"
|
||||
|
||||
STORAGE_GATEWAY_GRPC_ADDR: 0.0.0.0:9142
|
||||
GATEWAY_GRPC_ADDR: 0.0.0.0:9142
|
||||
|
||||
REVA_GATEWAY: storage-gateway:9142
|
||||
|
||||
@@ -707,10 +708,10 @@ services:
|
||||
STORAGE_AUTH_MACHINE_ENDPOINT: storage-authmachine:9148
|
||||
|
||||
STORAGE_SHARES_ENDPOINT: storage-shares:9154
|
||||
STORAGE_SHARING_ENDPOINT: storage-sharing:9150
|
||||
STORAGE_SHARING_ENDPOINT: sharing:9150
|
||||
|
||||
STORAGE_GROUPPROVIDER_ENDPOINT: storage-groupprovider:9160
|
||||
STORAGE_USERPROVIDER_ENDPOINT: storage-userprovider:9144
|
||||
STORAGE_GROUPPROVIDER_ENDPOINT: groups:9160
|
||||
STORAGE_USERPROVIDER_ENDPOINT: users:9144
|
||||
STORAGE_PERMISSIONS_ENDPOINT: settings:9191
|
||||
|
||||
STORAGE_FRONTEND_PUBLIC_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
@@ -725,7 +726,7 @@ volumes:
|
||||
traefik-certs: null
|
||||
ocis-settings: null
|
||||
ocis-store: null
|
||||
ocis-storage-metadata: null
|
||||
ocis-storage-system: null
|
||||
ocis-storage-users: null
|
||||
ocis-storage-sharing: null
|
||||
|
||||
|
||||
+4
-4
@@ -99,14 +99,14 @@ services:
|
||||
# OCIS_TRACING_ENDPOINT: jaeger-agent:6831
|
||||
# # metrics
|
||||
# GRAPH_EXPLORER_DEBUG_ADDR: 0.0.0.0:9136
|
||||
storage-metadata:
|
||||
storage-system:
|
||||
environment:
|
||||
# tracing
|
||||
OCIS_TRACING_ENABLED: "true"
|
||||
OCIS_TRACING_TYPE: jaeger
|
||||
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
|
||||
# metrics
|
||||
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
|
||||
storage-authbasic:
|
||||
environment:
|
||||
# tracing
|
||||
@@ -163,7 +163,7 @@ services:
|
||||
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
|
||||
# metrics
|
||||
STORAGE_SHARING_DEBUG_ADDR: 0.0.0.0:9151
|
||||
storage-userprovider:
|
||||
users:
|
||||
environment:
|
||||
# tracing
|
||||
OCIS_TRACING_ENABLED: "true"
|
||||
@@ -171,7 +171,7 @@ services:
|
||||
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
|
||||
# metrics
|
||||
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
|
||||
storage-groupprovider:
|
||||
groups:
|
||||
environment:
|
||||
# tracing
|
||||
OCIS_TRACING_ENABLED: "true"
|
||||
|
||||
@@ -7,7 +7,7 @@ INSECURE=true
|
||||
DEMO_USERS=false
|
||||
|
||||
### Traefik settings ###
|
||||
# Serve Treafik dashboard. Defaults to "false".
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
|
||||
@@ -6,7 +6,7 @@ ocis server&
|
||||
sleep 10
|
||||
|
||||
# stop builtin IDP since we use Keycloak as a replacement
|
||||
ocis kill idp
|
||||
#ocis kill idp
|
||||
|
||||
echo "##################################################"
|
||||
echo "change default secrets:"
|
||||
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
|
||||
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
|
||||
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
|
||||
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
|
||||
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
|
||||
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
|
||||
|
||||
@@ -7,7 +7,7 @@ INSECURE=true
|
||||
DEMO_USERS=true
|
||||
|
||||
### Traefik settings ###
|
||||
# Serve Treafik dashboard. Defaults to "false".
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p /var/tmp/ocis/.config/
|
||||
cp /config/web-config.dist.json /var/tmp/ocis/.config/web-config.json
|
||||
sed -i 's/ocis.owncloud.test/'${OCIS_DOMAIN:-ocis.owncloud.test}'/g' /var/tmp/ocis/.config/web-config.json
|
||||
|
||||
ocis server&
|
||||
sleep 10
|
||||
|
||||
# stop builtin accounts since we use LDAP only
|
||||
ocis kill accounts
|
||||
# stop builtin LDAP server since we use external LDAP only
|
||||
ocis kill glauth
|
||||
|
||||
wait # wait for oCIS to exit
|
||||
@@ -1,47 +0,0 @@
|
||||
---
|
||||
policy_selector:
|
||||
static:
|
||||
policy: ocis
|
||||
policies:
|
||||
- name: ocis
|
||||
routes:
|
||||
- endpoint: "/"
|
||||
backend: http://localhost:9100
|
||||
- endpoint: "/.well-known/"
|
||||
backend: http://localhost:9130
|
||||
- endpoint: "/konnect/"
|
||||
backend: http://localhost:9130
|
||||
- endpoint: "/signin/"
|
||||
backend: http://localhost:9130
|
||||
- type: regex
|
||||
endpoint: "/ocs/v[12].php/cloud/user/signing-key"
|
||||
backend: http://localhost:9110
|
||||
- endpoint: "/ocs/"
|
||||
backend: http://localhost:9140
|
||||
- type: query
|
||||
endpoint: "/remote.php/?preview=1"
|
||||
backend: http://localhost:9115
|
||||
- endpoint: "/remote.php/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/dav/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/webdav/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/status.php"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/index.php/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/app/"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/archiver"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/data"
|
||||
backend: http://localhost:9140
|
||||
- endpoint: "/graph/"
|
||||
backend: http://localhost:9120
|
||||
- endpoint: "/graph-explorer/"
|
||||
backend: http://localhost:9135
|
||||
- endpoint: "/api/v0/settings"
|
||||
backend: http://localhost:9190
|
||||
- endpoint: "/settings.js"
|
||||
backend: http://localhost:9190
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"server": "https://ocis.owncloud.test",
|
||||
"theme": "owncloud",
|
||||
"version": "0.1.0",
|
||||
"openIdConnect": {
|
||||
"metadata_url": "https://ocis.owncloud.test/.well-known/openid-configuration",
|
||||
"authority": "https://ocis.owncloud.test",
|
||||
"client_id": "web",
|
||||
"response_type": "code",
|
||||
"scope": "openid profile email"
|
||||
},
|
||||
"apps": ["files"],
|
||||
"external_apps": [
|
||||
{
|
||||
"id": "settings",
|
||||
"path": "/settings.js"
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
"hideSearchBar": true
|
||||
}
|
||||
}
|
||||
@@ -50,9 +50,13 @@ services:
|
||||
- ldap-server
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
# run ocis init to initialize a configuration file with random secrets
|
||||
# it will fail on subsequent runs, because the config file already exists
|
||||
# therefore we ignore the error and then start the ocis server
|
||||
command: ["-c", "ocis init || true; ocis server"]
|
||||
environment:
|
||||
# CS3 users from ldap specific configuration
|
||||
|
||||
# users/gropups from ldap
|
||||
LDAP_URI: ldaps://ldap-server
|
||||
LDAP_INSECURE: "true"
|
||||
LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
|
||||
@@ -64,32 +68,24 @@ services:
|
||||
LDAP_USERFILTER: "(objectclass=owncloud)"
|
||||
LDAP_USER_OBEJECTCLASS: "inetOrgPerson"
|
||||
LDAP_LOGIN_ATTRIBUTES: "uid,mail"
|
||||
IDP_LDAP_URI: ldap://ldap-server
|
||||
IDP_LDAP_LOGIN_ATTRIBUTE: "uid"
|
||||
IDP_LDAP_UUID_ATTRIBUTE: "ownclouduuid"
|
||||
IDP_LDAP_UUID_ATTRIBUTE_TYPE: binary
|
||||
PROXY_ACCOUNT_BACKEND_TYPE: cs3
|
||||
# web ui
|
||||
WEB_UI_CONFIG: "/var/tmp/ocis/.config/web-config.json"
|
||||
GRAPH_LDAP_SERVER_WRITE_ENABLED: "false" # assuming the external ldap is readonly
|
||||
# OCIS_RUN_EXTENSIONS specifies to start all extensions except glauth, idm and accounts. These are replaced by external services
|
||||
OCIS_RUN_EXTENSIONS: app-registry,app-provider,audit,auth-basic,auth-bearer,auth-machine,frontend,gateway,graph,graph-explorer,groups,idp,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav
|
||||
# General oCIS config
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_DOMAIN: ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
|
||||
# change default secrets
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
|
||||
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||
OCIS_INSECURE: "${INSECURE:-false}"
|
||||
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
|
||||
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
|
||||
# demo users
|
||||
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
|
||||
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
|
||||
# admin user password
|
||||
volumes:
|
||||
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ./config/ocis/web-config.dist.json:/config/web-config.dist.json
|
||||
- ./config/ocis/proxy.yaml:/etc/ocis/proxy.yaml
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -124,7 +120,7 @@ services:
|
||||
restart: always
|
||||
|
||||
ldap-manager:
|
||||
image: osixia/phpldapadmin:0.9.0
|
||||
image: osixia/phpldapadmin:latest
|
||||
networks:
|
||||
ocis-net:
|
||||
environment:
|
||||
@@ -143,6 +139,7 @@ services:
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-config:
|
||||
ocis-data:
|
||||
|
||||
networks:
|
||||
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
|
||||
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
|
||||
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
|
||||
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
|
||||
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
|
||||
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
|
||||
|
||||
@@ -2,12 +2,8 @@
|
||||
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
|
||||
INSECURE=true
|
||||
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public
|
||||
DEMO_USERS=true
|
||||
|
||||
### Traefik settings ###
|
||||
# Serve Treafik dashboard. Defaults to "false".
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
@@ -21,16 +17,11 @@ TRAEFIK_ACME_MAIL=
|
||||
OCIS_DOCKER_TAG=
|
||||
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
|
||||
OCIS_DOMAIN=
|
||||
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
|
||||
IDP_LDAP_BIND_PASSWORD=
|
||||
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
|
||||
STORAGE_LDAP_BIND_PASSWORD=
|
||||
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
|
||||
OCIS_JWT_SECRET=
|
||||
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
|
||||
STORAGE_TRANSFER_SECRET=
|
||||
# Machine auth api key secret. Must be changed in order to have a secure oCIS. Defaults to "change-me-please"
|
||||
OCIS_MACHINE_AUTH_API_KEY=
|
||||
# oCIS admin user password. Defaults to "admin".
|
||||
ADMIN_PASSWORD=
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public. Defaults to "false".
|
||||
DEMO_USERS=
|
||||
|
||||
### MINIO / S3 settings ###
|
||||
# Domain of MinIO where the Web UI is accessible. Defaults to "minio.owncloud.test".
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
ocis server&
|
||||
sleep 10
|
||||
|
||||
echo "##################################################"
|
||||
echo "change default secrets:"
|
||||
|
||||
# IDP
|
||||
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
|
||||
echo " IDP user UUID: $IDP_USER_UUID"
|
||||
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
|
||||
|
||||
# REVA
|
||||
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
|
||||
echo " Reva user UUID: $REVA_USER_UUID"
|
||||
ocis accounts update --password $STORAGE_LDAP_BIND_PASSWORD $REVA_USER_UUID
|
||||
|
||||
echo "default secrets changed"
|
||||
echo "##################################################"
|
||||
|
||||
wait # wait for oCIS to exit
|
||||
@@ -48,35 +48,33 @@ services:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
# run ocis init to initialize a configuration file with random secrets
|
||||
# it will fail on subsequent runs, because the config file already exists
|
||||
# therefore we ignore the error and then start the ocis server
|
||||
command: ["-c", "ocis init || true; ocis server"]
|
||||
environment:
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
|
||||
# change default secrets
|
||||
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
|
||||
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
|
||||
# activate s3ng storage driver
|
||||
STORAGE_USERS_DRIVER: s3ng
|
||||
STORAGE_METADATA_DRIVER: ocis # keep metadata on ocis storage since this are only small files atm
|
||||
STORAGE_SYSTEM_DRIVER: ocis # keep system data on ocis storage since this are only small files atm
|
||||
# s3ng specific settings
|
||||
STORAGE_USERS_DRIVER_S3NG_ENDPOINT: http://minio:9000
|
||||
STORAGE_USERS_DRIVER_S3NG_REGION: default
|
||||
STORAGE_USERS_DRIVER_S3NG_ACCESS_KEY: ${MINIO_ACCESS_KEY:-ocis}
|
||||
STORAGE_USERS_DRIVER_S3NG_SECRET_KEY: ${MINIO_SECRET_KEY:-ocis-secret-key}
|
||||
STORAGE_USERS_DRIVER_S3NG_BUCKET: ${MINIO_BUCKET:-ocis-bucket}
|
||||
STORAGE_USERS_S3NG_ENDPOINT: http://minio:9000
|
||||
STORAGE_USERS_S3NG_REGION: default
|
||||
STORAGE_USERS_S3NG_ACCESS_KEY: ${MINIO_ACCESS_KEY:-ocis}
|
||||
STORAGE_USERS_S3NG_SECRET_KEY: ${MINIO_SECRET_KEY:-ocis-secret-key}
|
||||
STORAGE_USERS_S3NG_BUCKET: ${MINIO_BUCKET:-ocis-bucket}
|
||||
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||
OCIS_INSECURE: "${INSECURE:-false}"
|
||||
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
|
||||
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
|
||||
# admin user password
|
||||
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
|
||||
# demo users
|
||||
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
|
||||
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
|
||||
volumes:
|
||||
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -95,8 +93,7 @@ services:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- "mkdir -p /data/${MINIO_BUCKET:-ocis-bucket} && minio server --console-address ':9001' /data"
|
||||
command: ["-c", "mkdir -p /data/${MINIO_BUCKET:-ocis-bucket} && minio server --console-address ':9001' /data"]
|
||||
volumes:
|
||||
- minio-data:/data
|
||||
environment:
|
||||
@@ -115,6 +112,7 @@ services:
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-config:
|
||||
ocis-data:
|
||||
minio-data:
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
|
||||
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
|
||||
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
|
||||
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
|
||||
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
|
||||
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
|
||||
|
||||
@@ -2,12 +2,8 @@
|
||||
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
|
||||
INSECURE=true
|
||||
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public
|
||||
DEMO_USERS=true
|
||||
|
||||
### Traefik settings ###
|
||||
# Serve Treafik dashboard. Defaults to "false".
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
@@ -21,16 +17,11 @@ TRAEFIK_ACME_MAIL=
|
||||
OCIS_DOCKER_TAG=
|
||||
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
|
||||
OCIS_DOMAIN=
|
||||
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
|
||||
IDP_LDAP_BIND_PASSWORD=
|
||||
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
|
||||
STORAGE_LDAP_BIND_PASSWORD=
|
||||
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
|
||||
OCIS_JWT_SECRET=
|
||||
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
|
||||
STORAGE_TRANSFER_SECRET=
|
||||
# Machine auth api key secret. Must be changed in order to have a secure oCIS. Defaults to "change-me-please"
|
||||
OCIS_MACHINE_AUTH_API_KEY=
|
||||
# oCIS admin user password. Defaults to "admin".
|
||||
ADMIN_PASSWORD=
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public. Defaults to "false".
|
||||
DEMO_USERS=
|
||||
|
||||
# If you want to use debugging and tracing with this stack,
|
||||
# you need uncomment following line. Please see documentation at
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
ocis server&
|
||||
sleep 10
|
||||
|
||||
echo "##################################################"
|
||||
echo "change default secrets:"
|
||||
|
||||
# IDP
|
||||
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
|
||||
echo " IDP user UUID: $IDP_USER_UUID"
|
||||
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
|
||||
|
||||
# REVA
|
||||
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
|
||||
echo " Reva user UUID: $REVA_USER_UUID"
|
||||
ocis accounts update --password $STORAGE_LDAP_BIND_PASSWORD $REVA_USER_UUID
|
||||
|
||||
echo "default secrets changed"
|
||||
echo "##################################################"
|
||||
|
||||
wait # wait for oCIS to exit
|
||||
@@ -48,26 +48,24 @@ services:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
# run ocis init to initialize a configuration file with random secrets
|
||||
# it will fail on subsequent runs, because the config file already exists
|
||||
# therefore we ignore the error and then start the ocis server
|
||||
command: ["-c", "ocis init || true; ocis server"]
|
||||
environment:
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
|
||||
# change default secrets
|
||||
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
|
||||
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
|
||||
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||
OCIS_INSECURE: "${INSECURE:-false}"
|
||||
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
|
||||
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
|
||||
# admin user password
|
||||
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
|
||||
# demo users
|
||||
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
|
||||
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
|
||||
volumes:
|
||||
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -82,7 +80,9 @@ services:
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-config:
|
||||
ocis-data:
|
||||
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
|
||||
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
|
||||
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
|
||||
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
|
||||
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
|
||||
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
|
||||
|
||||
@@ -2,12 +2,8 @@
|
||||
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
|
||||
INSECURE=true
|
||||
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public
|
||||
DEMO_USERS=true
|
||||
|
||||
### Traefik settings ###
|
||||
# Serve Treafik dashboard. Defaults to "false".
|
||||
# Serve Traefik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
@@ -21,16 +17,11 @@ TRAEFIK_ACME_MAIL=
|
||||
OCIS_DOCKER_TAG=
|
||||
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
|
||||
OCIS_DOMAIN=
|
||||
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
|
||||
IDP_LDAP_BIND_PASSWORD=
|
||||
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
|
||||
STORAGE_LDAP_BIND_PASSWORD=
|
||||
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
|
||||
OCIS_JWT_SECRET=
|
||||
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
|
||||
STORAGE_TRANSFER_SECRET=
|
||||
# Machine auth api key secret. Must be changed in order to have a secure oCIS. Defaults to "change-me-please"
|
||||
OCIS_MACHINE_AUTH_API_KEY=
|
||||
# oCIS admin user password. Defaults to "admin".
|
||||
ADMIN_PASSWORD=
|
||||
# The demo users should not be created on a production instance
|
||||
# because their passwords are public. Defaults to "false".
|
||||
DEMO_USERS=
|
||||
|
||||
### Wopi server settings ###
|
||||
# cs3org wopi server version. Defaults to "latest"
|
||||
@@ -54,13 +45,6 @@ COLLABORA_ADMIN_PASSWORD=
|
||||
# Domain of OnlyOffice, where you can find the frontend. Defaults to "onlyoffice.owncloud.test"
|
||||
ONLYOFFICE_DOMAIN=
|
||||
|
||||
### CodiMD settings ###
|
||||
# Domain of Collabora, where you can find the frontend. Defaults to "codimd.owncloud.test"
|
||||
CODIMD_DOMAIN=
|
||||
# Secret which is used for the communication with the WOPI server. Must be changed in order to have a secure CodiMD. Defaults to "LoremIpsum456"
|
||||
CODIMD_SECRET=
|
||||
|
||||
|
||||
# If you want to use debugging and tracing with this stack,
|
||||
# you need uncomment following line. Please see documentation at
|
||||
# https://owncloud.dev/ocis/deployment/monitoring-tracing/
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
apk add curl
|
||||
|
||||
#TODO: app driver itself should try again until CodiMD is up...
|
||||
|
||||
retries=10
|
||||
while [[ $retries -gt 0 ]]; do
|
||||
if curl --silent --show-error --fail http://codimd:3000 > /dev/null; then
|
||||
ocis storage-app-provider server
|
||||
else
|
||||
echo "CodiMD is not yet available, trying again in 10 seconds"
|
||||
sleep 10
|
||||
retries=$((retries - 1))
|
||||
fi
|
||||
done
|
||||
echo 'CodiMD was not available after 100 seconds'
|
||||
exit 1
|
||||
+1
-1
@@ -8,7 +8,7 @@ apk add curl
|
||||
retries=10
|
||||
while [[ $retries -gt 0 ]]; do
|
||||
if curl --silent --show-error --fail http://onlyoffice/hosting/discovery > /dev/null; then
|
||||
ocis storage-app-provider server
|
||||
ocis app-provider server
|
||||
else
|
||||
echo "OnlyOffice is not yet available, trying again in 10 seconds"
|
||||
sleep 10
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
app_registry:
|
||||
mimetypes:
|
||||
- mime_type: application/pdf
|
||||
extension: pdf
|
||||
name: PDF
|
||||
description: PDF document
|
||||
icon: ''
|
||||
default_app: ''
|
||||
allow_creation: false
|
||||
- mime_type: application/vnd.oasis.opendocument.text
|
||||
extension: odt
|
||||
name: OpenDocument
|
||||
description: OpenDocument text document
|
||||
icon: ''
|
||||
default_app: Collabora
|
||||
allow_creation: true
|
||||
- mime_type: application/vnd.oasis.opendocument.spreadsheet
|
||||
extension: ods
|
||||
name: OpenSpreadsheet
|
||||
description: OpenDocument spreadsheet document
|
||||
icon: ''
|
||||
default_app: Collabora
|
||||
allow_creation: true
|
||||
- mime_type: application/vnd.oasis.opendocument.presentation
|
||||
extension: odp
|
||||
name: OpenPresentation
|
||||
description: OpenDocument presentation document
|
||||
icon: ''
|
||||
default_app: Collabora
|
||||
allow_creation: true
|
||||
- mime_type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
||||
extension: docx
|
||||
name: Microsoft Word
|
||||
description: Microsoft Word document
|
||||
icon: ''
|
||||
default_app: OnlyOffice
|
||||
allow_creation: true
|
||||
- mime_type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
|
||||
extension: xlsx
|
||||
name: Microsoft Excel
|
||||
description: Microsoft Excel document
|
||||
icon: ''
|
||||
default_app: OnlyOffice
|
||||
allow_creation: true
|
||||
- mime_type: application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||
extension: pptx
|
||||
name: Microsoft PowerPoint
|
||||
description: Microsoft PowerPoint document
|
||||
icon: ''
|
||||
default_app: OnlyOffice
|
||||
allow_creation: true
|
||||
- mime_type: application/vnd.jupyter
|
||||
extension: ipynb
|
||||
name: Jupyter Notebook
|
||||
description: Jupyter Notebook
|
||||
icon: ''
|
||||
default_app: ''
|
||||
allow_creation: true
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
ocis server&
|
||||
sleep 10
|
||||
|
||||
echo "##################################################"
|
||||
echo "change default secrets:"
|
||||
|
||||
# IDP
|
||||
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
|
||||
echo " IDP user UUID: $IDP_USER_UUID"
|
||||
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
|
||||
|
||||
# REVA
|
||||
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
|
||||
echo " Reva user UUID: $REVA_USER_UUID"
|
||||
ocis accounts update --password $STORAGE_LDAP_BIND_PASSWORD $REVA_USER_UUID
|
||||
|
||||
echo "default secrets changed"
|
||||
echo "##################################################"
|
||||
|
||||
wait # wait for oCIS to exit
|
||||
@@ -1,92 +0,0 @@
|
||||
[
|
||||
{
|
||||
"mime_type": "application/pdf",
|
||||
"extension": "pdf",
|
||||
"name": "PDF",
|
||||
"description": "PDF document",
|
||||
"icon": "",
|
||||
"default_app": "",
|
||||
"allow_creation": false
|
||||
},
|
||||
{
|
||||
"mime_type": "application/vnd.oasis.opendocument.text",
|
||||
"extension": "odt",
|
||||
"name": "OpenDocument",
|
||||
"description": "OpenDocument text document",
|
||||
"icon": "",
|
||||
"default_app": "Collabora",
|
||||
"allow_creation": true
|
||||
},
|
||||
{
|
||||
"mime_type": "application/vnd.oasis.opendocument.spreadsheet",
|
||||
"extension": "ods",
|
||||
"name": "OpenSpreadsheet",
|
||||
"description": "OpenDocument spreadsheet document",
|
||||
"icon": "",
|
||||
"default_app": "Collabora",
|
||||
"allow_creation": true
|
||||
},
|
||||
{
|
||||
"mime_type": "application/vnd.oasis.opendocument.presentation",
|
||||
"extension": "odp",
|
||||
"name": "OpenPresentation",
|
||||
"description": "OpenDocument presentation document",
|
||||
"icon": "",
|
||||
"default_app": "Collabora",
|
||||
"allow_creation": true
|
||||
},
|
||||
{
|
||||
"mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
||||
"extension": "docx",
|
||||
"name": "Microsoft Word",
|
||||
"description": "Microsoft Word document",
|
||||
"icon": "",
|
||||
"default_app": "OnlyOffice",
|
||||
"allow_creation": true
|
||||
},
|
||||
{
|
||||
"mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
||||
"extension": "xlsx",
|
||||
"name": "Microsoft Excel",
|
||||
"description": "Microsoft Excel document",
|
||||
"icon": "",
|
||||
"default_app": "OnlyOffice",
|
||||
"allow_creation": true
|
||||
},
|
||||
{
|
||||
"mime_type": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
||||
"extension": "pptx",
|
||||
"name": "Microsoft PowerPoint",
|
||||
"description": "Microsoft PowerPoint document",
|
||||
"icon": "",
|
||||
"default_app": "OnlyOffice",
|
||||
"allow_creation": true
|
||||
},
|
||||
{
|
||||
"mime_type": "application/vnd.jupyter",
|
||||
"extension": "ipynb",
|
||||
"name": "Jupyter Notebook",
|
||||
"description": "Jupyter Notebook",
|
||||
"icon": "",
|
||||
"default_app": "",
|
||||
"allow_creation": true
|
||||
},
|
||||
{
|
||||
"mime_type": "text/markdown",
|
||||
"extension": "md",
|
||||
"name": "Markdown file",
|
||||
"description": "Markdown file",
|
||||
"icon": "",
|
||||
"default_app": "CodiMD",
|
||||
"allow_creation": true
|
||||
},
|
||||
{
|
||||
"mime_type": "application/compressed-markdown",
|
||||
"extension": "zmd",
|
||||
"name": "Compressed markdown file",
|
||||
"description": "Compressed markdown file",
|
||||
"icon": "",
|
||||
"default_app": "CodiMD",
|
||||
"allow_creation": false
|
||||
}
|
||||
]
|
||||
@@ -1,16 +1,19 @@
|
||||
#/bin/sh!
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "${WOPISECRET}" > /etc/wopi/wopisecret
|
||||
echo "${IOPSECRET}" > /etc/wopi/iopsecret
|
||||
mkdir -p /var/run/secrets
|
||||
echo "$CODIMDSECRET" > /var/run/secrets/codimd_apikey
|
||||
|
||||
cp /etc/wopi/wopiserver.conf.dist /etc/wopi/wopiserver.conf
|
||||
sed -i 's/ocis.owncloud.test/'${OCIS_DOMAIN}'/g' /etc/wopi/wopiserver.conf
|
||||
sed -i 's/collabora.owncloud.test/'${COLLABORA_DOMAIN}'/g' /etc/wopi/wopiserver.conf
|
||||
sed -i 's/wopiserver.owncloud.test/'${WOPISERVER_DOMAIN}'/g' /etc/wopi/wopiserver.conf
|
||||
|
||||
|
||||
if [ "$WOPISERVER_INSECURE" == "true" ]; then
|
||||
sed -i 's/sslverify\s=\sTrue/sslverify = False/g' /etc/wopi/wopiserver.conf
|
||||
fi
|
||||
|
||||
touch /var/log/wopi/wopiserver.log
|
||||
|
||||
/app/wopiserver.py &
|
||||
|
||||
@@ -1,27 +1,23 @@
|
||||
#
|
||||
# This config is based on https://github.com/cs3org/wopiserver/blob/master/wopiserver.conf
|
||||
#
|
||||
# wopiserver.conf
|
||||
#
|
||||
# Default configuration file for the WOPI server for CERNBox
|
||||
# Default configuration file for the WOPI server for oCIS
|
||||
#
|
||||
##############################################################
|
||||
|
||||
[general]
|
||||
# Storage access layer to be loaded in order to operate this WOPI server
|
||||
# Supported values: local, xroot, cs3.
|
||||
# only "cs3" is supported with oCIS
|
||||
storagetype = cs3
|
||||
|
||||
# Port where to listen for WOPI requests
|
||||
port = 8880
|
||||
|
||||
# URL of your Microsoft Office Online service
|
||||
#oosurl = https://officeonline.owncloud.test
|
||||
|
||||
# URL of your Collabora Online service
|
||||
#codeurl = https://collabora.owncloud.test
|
||||
|
||||
# URL of your CodiMD service
|
||||
codimdurl = https://codimd.owncloud.test
|
||||
codimdinturl = http://codimd:3000
|
||||
# Logging level. Debug enables the Flask debug mode as well.
|
||||
# Valid values are: Debug, Info, Warning, Error.
|
||||
loglevel = Error
|
||||
|
||||
# URL of your WOPI server or your HA proxy in front of it
|
||||
wopiurl = https://wopiserver.owncloud.test
|
||||
@@ -30,40 +26,56 @@ wopiurl = https://wopiserver.owncloud.test
|
||||
# to clients will include the access_token argument
|
||||
downloadurl = https://wopiserver.owncloud.test/wopi/cbox/download
|
||||
|
||||
# Optional URL prefix for WebDAV access to the files. This enables the
|
||||
# 'Edit in Desktop client' action on Windows-based clients
|
||||
webdavurl = https://ocis.owncloud.test/webdav
|
||||
# The internal server engine to use (defaults to flask).
|
||||
# Set to waitress for production installations.
|
||||
internalserver = waitress
|
||||
|
||||
# List of file extensions deemed incompatible with LibreOffice:
|
||||
# interoperable locking will be disabled for such files
|
||||
nonofficetypes = .md .zmd .txt .epd
|
||||
|
||||
# List of file extensions to be supported by Collabora
|
||||
# List of file extensions to be supported by Collabora (deprecated)
|
||||
codeofficetypes = .odt .ott .ods .ots .odp .otp .odg .otg .doc .dot .xls .xlt .xlm .ppt .pot .pps .vsd .dxf .wmf .cdr .pages .number .key
|
||||
|
||||
# WOPI access token expiration time [seconds]
|
||||
tokenvalidity = 86400
|
||||
|
||||
# WOPI lock expiration time [seconds]
|
||||
wopilockexpiration = 7200
|
||||
wopilockexpiration = 3600
|
||||
|
||||
# WOPI lock strict check: if True, WOPI locks will be compared according to specs,
|
||||
# that is their representation must match. False (default) allows for a more relaxed
|
||||
# comparison, which compensates incorrect lock requests from Microsoft Office Online
|
||||
# on-premise setups.
|
||||
#wopilockstrictcheck = False
|
||||
wopilockstrictcheck = False
|
||||
|
||||
# Logging level. Debug enables the Flask debug mode as well.
|
||||
# Valid values are: Debug, Info, Warning, Error.
|
||||
loglevel = Info
|
||||
# Enable support of rename operations from WOPI apps. This is currently
|
||||
# disabled by default as it has been observed that both MS Office and Collabora
|
||||
# Online do not play well with this feature.
|
||||
# Not supported with oCIS, must always be set to "False"
|
||||
enablerename = False
|
||||
|
||||
# Location of the lock files. Currently, two modes are supported:
|
||||
# if a path is provided, all locks will be stored there with a hashed name,
|
||||
# otherwise the lock is stored on the same path as the original file.
|
||||
# This latter mode will eventually be dropped once the system is deemed
|
||||
# stable enough and lock files are hidden away.
|
||||
#lockpath = /your_storage/wopilocks
|
||||
# Detection of external Microsoft Office or LibreOffice locks. By default, lock files
|
||||
# compatible with Office for Desktop applications are detected, assuming that the
|
||||
# underlying storage can be mounted as a remote filesystem: in this case, WOPI GetLock
|
||||
# and SetLock operations return such locks and prevent online apps from entering edit mode.
|
||||
# This feature can be disabled in order to operate a pure WOPI server for online apps.
|
||||
# Not supported with oCIS, must always be set to "False"
|
||||
detectexternallocks = False
|
||||
|
||||
# Location of the webconflict files. By default, such files are stored in the same path
|
||||
# as the original file. If that fails (e.g. because of missing permissions),
|
||||
# an attempt is made to store such files in this path if specified, otherwise
|
||||
# the system falls back to the recovery space (cf. io|recoverypath).
|
||||
# The keywords <user_initial> and <username> are replaced with the actual username's
|
||||
# initial letter and the actual username, respectively, so you can use e.g.
|
||||
# /your_storage/home/user_initial/username
|
||||
#conflictpath = /
|
||||
|
||||
# ownCloud's WOPI proxy configuration. Disabled by default.
|
||||
#wopiproxy = https://external-wopi-proxy.com
|
||||
#wopiproxysecretfile = /path/to/your/shared-key-file
|
||||
#proxiedappname = Name of your proxied app
|
||||
|
||||
[security]
|
||||
# Location of the secret files. Requires a restart of the
|
||||
@@ -82,7 +94,7 @@ wopikey = /etc/grid-security/host.key
|
||||
|
||||
[bridge]
|
||||
# SSL certificate check for the connected apps
|
||||
sslverify = False
|
||||
sslverify = True
|
||||
|
||||
# Minimal time interval between two consecutive save operations [seconds]
|
||||
#saveinterval = 200
|
||||
@@ -90,39 +102,25 @@ sslverify = False
|
||||
# Minimal time interval before a closed file is WOPI-unlocked [seconds]
|
||||
#unlockinterval = 90
|
||||
|
||||
# CodiMD: disable creating zipped bundles when files contain pictures
|
||||
#disablezip = False
|
||||
|
||||
[io]
|
||||
# Size used for buffered reads [bytes]
|
||||
chunksize = 4194304
|
||||
|
||||
|
||||
[xroot]
|
||||
# URL of the default remote xroot storage server. This can be overridden
|
||||
# if the end-point is passed on the /wopi/cbox/open call
|
||||
#storageserver = root://your-xrootd-server.org
|
||||
|
||||
# Optional EOS top-level path that will be prepended to all user paths. Useful
|
||||
# to map the CERNBox-exposed files in a subfolder of the EOS storage. By default,
|
||||
# this is not used and storagehomepath is empty.
|
||||
#storagehomepath = /your/top/storage/path
|
||||
|
||||
|
||||
[local]
|
||||
# Location of the folder or mount point used as local storage
|
||||
#storagehomepath = /mnt/your_local_storage
|
||||
|
||||
# Path to a recovery space in case of I/O errors when reaching to the remote storage.
|
||||
# This is expected to be a local path, and it is provided in order to ease user support.
|
||||
# Defaults to the indicated spool folder.
|
||||
#recoverypath = /var/spool/wopirecovery
|
||||
|
||||
[cs3]
|
||||
# Host and port of the Reva(-like) CS3-compliant GRPC gateway endpoint
|
||||
revagateway = ocis:9142
|
||||
|
||||
# HTTP (WebDAV) endpoint for uploading files
|
||||
#datagateway = https://your-reva-server.org:port/data
|
||||
|
||||
# Reva/gRPC authentication token expiration time [seconds]
|
||||
# The default value matches Reva's default
|
||||
authtokenvalidity = 3600
|
||||
|
||||
# SSL certificate check for Reva
|
||||
# oCIS uses self signed certificate in this example
|
||||
sslverify = false
|
||||
sslverify = True
|
||||
@@ -11,7 +11,6 @@ services:
|
||||
- ${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
- ${COLLABORA_DOMAIN:-collabora.owncloud.test}
|
||||
- ${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}
|
||||
- ${CODIMD_DOMAIN:-codimd.owncloud.test}
|
||||
command:
|
||||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
# letsencrypt configuration
|
||||
@@ -52,31 +51,26 @@ services:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
# run ocis init to initialize a configuration file with random secrets
|
||||
# it will fail on subsequent runs, because the config file already exists
|
||||
# therefore we ignore the error and then start the ocis server
|
||||
command: ["-c", "ocis init || true; ocis server"]
|
||||
environment:
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_DOMAIN: ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
|
||||
# change default secrets
|
||||
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
|
||||
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
|
||||
OCIS_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
# app registry
|
||||
STORAGE_GATEWAY_GRPC_ADDR: 0.0.0.0:9142 # make the REVA gateway accessible to the app drivers
|
||||
STORAGE_APP_REGISTRY_MIMETYPES_JSON: /var/tmp/ocis/app-config/mimetypes.json
|
||||
GATEWAY_GRPC_ADDR: 0.0.0.0:9142 # make the REVA gateway accessible to the app drivers
|
||||
# INSECURE: needed if oCIS / Traefik is using self generated certificates
|
||||
OCIS_INSECURE: "${INSECURE:-false}"
|
||||
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
|
||||
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
|
||||
# admin user password
|
||||
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
|
||||
# demo users
|
||||
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
|
||||
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
|
||||
volumes:
|
||||
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ./config/ocis/mimetypes.json:/var/tmp/ocis/app-config/mimetypes.json
|
||||
- ./config/ocis/app-registry.yaml:/etc/ocis/app-registry.yaml
|
||||
- ocis-config:/etc/ocis
|
||||
- ocis-data:/var/lib/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
@@ -93,20 +87,20 @@ services:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
command: storage-app-provider server
|
||||
command: app-provider server
|
||||
environment:
|
||||
REVA_GATEWAY: ${REVA_GATEWAY:-ocis:9142}
|
||||
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
|
||||
APP_PROVIDER_EXTERNAL_ADDR: ocis-appdriver-collabora:9164
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
|
||||
APP_PROVIDER_DRIVER: wopi
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_NAME: Collabora
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_ICON_URI: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}/favicon.ico
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_URL: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}
|
||||
APP_PROVIDER_WOPI_DRIVER_INSECURE: "${INSECURE:-false}"
|
||||
APP_PROVIDER_WOPI_DRIVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
|
||||
APP_PROVIDER_WOPI_DRIVER_WOPI_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
APP_PROVIDER_WOPI_APP_NAME: Collabora
|
||||
APP_PROVIDER_WOPI_APP_ICON_URI: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}/favicon.ico
|
||||
APP_PROVIDER_WOPI_APP_URL: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}
|
||||
APP_PROVIDER_WOPI_INSECURE: "${INSECURE:-false}"
|
||||
APP_PROVIDER_WOPI_WOPI_SERVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
|
||||
APP_PROVIDER_WOPI_WOPI_SERVER_EXTERNAL_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
volumes:
|
||||
- ocis-config:/etc/ocis
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
@@ -119,66 +113,35 @@ services:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
#command: storage-app-provider server
|
||||
#command: app-provider server
|
||||
environment:
|
||||
REVA_GATEWAY: ${REVA_GATEWAY:-ocis:9142}
|
||||
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
|
||||
APP_PROVIDER_EXTERNAL_ADDR: ocis-appdriver-onlyoffice:9164
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
|
||||
APP_PROVIDER_DRIVER: wopi
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_NAME: OnlyOffice
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_ICON_URI: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}/web-apps/apps/documenteditor/main/resources/img/favicon.ico
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_URL: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}
|
||||
APP_PROVIDER_WOPI_DRIVER_INSECURE: "${INSECURE:-false}"
|
||||
APP_PROVIDER_WOPI_DRIVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
|
||||
APP_PROVIDER_WOPI_DRIVER_WOPI_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
APP_PROVIDER_WOPI_APP_NAME: OnlyOffice
|
||||
APP_PROVIDER_WOPI_APP_ICON_URI: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}/web-apps/apps/documenteditor/main/resources/img/favicon.ico
|
||||
APP_PROVIDER_WOPI_APP_URL: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}
|
||||
APP_PROVIDER_WOPI_INSECURE: "${INSECURE:-false}"
|
||||
APP_PROVIDER_WOPI_WOPI_SERVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
|
||||
APP_PROVIDER_WOPI_WOPI_SERVER_EXTERNAL_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
volumes:
|
||||
- ./config/ocis-appdriver-onlyoffice/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ocis-config:/etc/ocis
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
ocis-appdriver-codimd:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
user: "0" # needed for apk add in entrypoint script
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
#command: storage-app-provider server
|
||||
environment:
|
||||
REVA_GATEWAY: ${REVA_GATEWAY:-ocis:9142}
|
||||
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
|
||||
APP_PROVIDER_EXTERNAL_ADDR: ocis-appdriver-codimd:9164
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
|
||||
APP_PROVIDER_DRIVER: wopi
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_NAME: CodiMD
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_API_KEY: ${CODIMD_SECRET:-LoremIpsum456}
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_ICON_URI: https://${CODIMD_DOMAIN:-codimd.owncloud.test}/favicon.png
|
||||
APP_PROVIDER_WOPI_DRIVER_APP_URL: https://${CODIMD_DOMAIN:-codimd.owncloud.test}
|
||||
APP_PROVIDER_WOPI_DRIVER_INSECURE: "${INSECURE:-false}"
|
||||
APP_PROVIDER_WOPI_DRIVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
|
||||
APP_PROVIDER_WOPI_DRIVER_WOPI_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
volumes:
|
||||
- ./config/ocis-appdriver-codimd/entrypoint-override.sh:/entrypoint-override.sh
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
wopiserver:
|
||||
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /bin/bash
|
||||
- /entrypoint-override.sh
|
||||
environment:
|
||||
WOPISERVER_INSECURE: "${INSECURE:-false}"
|
||||
WOPISECRET: ${WOPI_JWT_SECRET:-LoremIpsum567}
|
||||
IOPSECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
|
||||
CODIMDSECRET: ${CODIMD_SECRET:-LoremIpsum456}
|
||||
WOPISERVER_DOMAIN: ${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
COLLABORA_DOMAIN: ${COLLABORA_DOMAIN:-collabora.owncloud.test}
|
||||
volumes:
|
||||
@@ -240,55 +203,12 @@ services:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
codimd:
|
||||
image: gitlab-registry.cern.ch/authoring/notes/codimd:cernbox-integration
|
||||
networks:
|
||||
ocis-net:
|
||||
environment:
|
||||
CMD_DB_URL: postgres://codimd:codimd@codimd-db/codimd
|
||||
CMD_AUTO_VERSION_CHECK: "false"
|
||||
CMD_ALLOW_ANONYMOUS: "true"
|
||||
CMD_ALLOW_ANONYMOUS_EDITS: "true"
|
||||
CMD_ALLOW_ANONYMOUS_VIEWS: "true"
|
||||
CMD_ALLOW_FREEURL: "true"
|
||||
CMD_EMAIL: "false"
|
||||
CMD_ALLOW_EMAIL_REGISTER: "false"
|
||||
CMD_USESSL: "false"
|
||||
NODE_TLS_REJECT_UNAUTHORIZED: 0
|
||||
CMD_APPLIANCE_MODE: "true"
|
||||
CMD_SAVE_WEBHOOK: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}/wopi/bridge
|
||||
CMD_API_KEY: ${CODIMD_SECRET:-LoremIpsum456}
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.codimd.entrypoints=https"
|
||||
- "traefik.http.routers.codimd.rule=Host(`${CODIMD_DOMAIN:-codimd.owncloud.test}`)"
|
||||
- "traefik.http.routers.codimd.tls.certresolver=http"
|
||||
- "traefik.http.routers.codimd.service=codimd"
|
||||
- "traefik.http.services.codimd.loadbalancer.server.port=3000"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
codimd-db:
|
||||
image: postgres:11.6-alpine
|
||||
networks:
|
||||
ocis-net:
|
||||
environment:
|
||||
POSTGRES_USER: codimd
|
||||
POSTGRES_PASSWORD: codimd
|
||||
POSTGRES_DB: codimd
|
||||
volumes:
|
||||
- codimd-db-data:/var/lib/postgresql/data
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-config:
|
||||
ocis-data:
|
||||
wopi-data:
|
||||
wopi-logs:
|
||||
codimd-db-data:
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
@@ -23,7 +23,7 @@ services:
|
||||
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
|
||||
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
|
||||
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
|
||||
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
|
||||
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
|
||||
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
|
||||
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
hugo/
|
||||
grpc_apis/
|
||||
mutagen.yml.lock
|
||||
helpers/output/*
|
||||
@@ -7,6 +7,6 @@ geekdocEditPath: edit/master/docs/architecture
|
||||
geekdocFilePath: _index.md
|
||||
---
|
||||
|
||||
In the architecture part of the documentation we collect useful developer documentation on different aspects of the architecture. We are using mermaid.js to collaborate on the necessardy diagrams.
|
||||
In the architecture part of the documentation we collect useful developer documentation on different aspects of the architecture. We are using mermaid.js to collaborate on the necessary diagrams.
|
||||
|
||||
*Pictures tell more than a thousand words.*
|
||||
@@ -16,7 +16,7 @@ What does ETag propagation mean? Whenever a file changes its content or metadata
|
||||
{{<mermaid class="text-center">}}
|
||||
graph TD
|
||||
linkStyle default interpolate basis
|
||||
|
||||
|
||||
subgraph final ETag propagation
|
||||
ert3(( etag:N )) --- el3(( etag:O )) & er3(( etag:N ))
|
||||
er3 --- erl3(( etag:O )) & err3(( etag:N ))
|
||||
@@ -27,7 +27,7 @@ graph TD
|
||||
er2 --- erl2(( etag:O )) & err2(( etag:N ))
|
||||
end
|
||||
|
||||
subgraph initial file change
|
||||
subgraph initial file change
|
||||
ert(( etag:O )) --- el(( etag:O )) & er(( etag:O ))
|
||||
er --- erl(( etag:O )) & err(( etag:N ))
|
||||
end
|
||||
@@ -48,9 +48,9 @@ graph TD
|
||||
|
||||
ec( client ) -->|"stat()"|ert
|
||||
|
||||
subgraph
|
||||
subgraph
|
||||
ert(( )) --- el(( )) & er(( ))
|
||||
er --- erl(( )) & err(( ))
|
||||
er --- erl(( )) & err(( ))
|
||||
end
|
||||
{{</mermaid>}}
|
||||
|
||||
@@ -65,21 +65,21 @@ graph TD
|
||||
|
||||
ec( client ) -->|"stat()"|ert
|
||||
|
||||
subgraph
|
||||
subgraph
|
||||
ert(( )) --- el(( )) & er(( ))
|
||||
er --- erl(( )) & err(( ))
|
||||
end
|
||||
|
||||
|
||||
mc( client ) -->|"stat()"|mrt
|
||||
|
||||
subgraph
|
||||
subgraph
|
||||
mrt(( )) --- ml(( )) & mr(( ))
|
||||
mr --- mrl(( )) & mrr(( ))
|
||||
end
|
||||
|
||||
fc( client ) -->|"stat()"|frt
|
||||
|
||||
subgraph
|
||||
subgraph
|
||||
frt(( )) --- fl(( )) & fr(( ))
|
||||
fr --- frl(( )) & frr(( ))
|
||||
end
|
||||
@@ -88,14 +88,14 @@ graph TD
|
||||
## Sharing
|
||||
*Storage providers* are responsible for persisting shares as close to the storage as possible.
|
||||
|
||||
One implementation may persist shares using ACLs, another might use custom extended attributes. The chosen implementation is storage specific and always a tradeoff between various requirements. Yet, the goal is to treat the storage provider as the single source of truth for all metadata.
|
||||
One implementation may persist shares using ACLs, another might use custom extended attributes. The chosen implementation is storage specific and always a tradeoff between various requirements. Yet, the goal is to treat the storage provider as the single source of truth for all metadata.
|
||||
|
||||
If users can bypass the storage provider using eg. `ssh` additional mechanisms needs to make sure no inconsistencies arise:
|
||||
If users can bypass the storage provider using e.g. `ssh` additional mechanisms needs to make sure no inconsistencies arise:
|
||||
- the ETag must still be propagated in a tree, eg using inotify, a policy engine or workflows triggered by other means
|
||||
- deleted files should land in the trash (eg. `rm` could be wrapped to move files to trash)
|
||||
- deleted files should land in the trash (e.g. `rm` could be wrapped to move files to trash)
|
||||
- overwriting files should create a new version ... other than a fuse fs I see no way of providing this for normal posix filesystems. Other storage backends that use the s3 protocol might provide versions natively.
|
||||
|
||||
The storage provider is also responsible for keeps track of references eg. using a shadow tree that users normally cannot see or representing them as symbolic links in the filesystem (Beware of symbolic link cycles. The clients are currently unaware of them and would flood the filesystem).
|
||||
The storage provider is also responsible for keeps track of references e.g. using a shadow tree that users normally cannot see or representing them as symbolic links in the filesystem (Beware of symbolic link cycles. The clients are currently unaware of them and would flood the filesystem).
|
||||
|
||||
To prevent write amplification ETags must not propagate across references. When a file that was shared by einstein changes the ETag must not be propagated into any share recipients tree.
|
||||
|
||||
@@ -106,7 +106,7 @@ graph TD
|
||||
|
||||
ec( einsteins client ) -->|"stat()"|ert
|
||||
|
||||
subgraph
|
||||
subgraph
|
||||
ml --- mlr(( ))
|
||||
mrt(( )) --- ml(( )) & mr(( ))
|
||||
mr --- mrl(( )) & mrr(( ))
|
||||
@@ -114,11 +114,11 @@ graph TD
|
||||
|
||||
mlr -. reference .-> er
|
||||
|
||||
subgraph
|
||||
subgraph
|
||||
ert(( )) --- el(( )) & er(( ))
|
||||
er --- erl(( )) & err(( ))
|
||||
end
|
||||
|
||||
|
||||
mc( maries client ) -->|"stat()"|mrt
|
||||
|
||||
{{</mermaid>}}
|
||||
@@ -132,7 +132,7 @@ It would require client changes that depend on the server side actually having a
|
||||
But having to list n storages might become a bottleneck anyway, so we are going to have the gateway calculate a virtual root ETag for all entry points a user has access to and cache that.
|
||||
|
||||
## Server Side Stat Polling
|
||||
Every client polls the virtual root ETag (every 30 sec). The gateway will cache the virutal root ETag of every storage for 30 sec as well. That way every storage provider is only stated once every 30 sec (can be throttled dynamically to adapt to storage io load).
|
||||
Every client polls the virtual root ETag (every 30 sec). The gateway will cache the virtual root ETag of every storage for 30 sec as well. That way every storage provider is only stated once every 30 sec (can be throttled dynamically to adapt to storage io load).
|
||||
|
||||
|
||||
{{<mermaid class="text-center">}}
|
||||
@@ -151,14 +151,14 @@ graph TD
|
||||
mvr --- mrt
|
||||
fvr --- frt
|
||||
|
||||
subgraph
|
||||
subgraph
|
||||
ert(( )) --- el(( )) & er(( ))
|
||||
er --- erl(( )) & err(( ))
|
||||
end
|
||||
|
||||
|
||||
mc( client ) -->|"stat()"|mvr
|
||||
|
||||
subgraph
|
||||
subgraph
|
||||
mrt(( )) --- ml(( )) & mr(( ))
|
||||
ml --- mlm(( ))
|
||||
mr --- mrl(( )) & mrr(( ))
|
||||
@@ -169,7 +169,7 @@ graph TD
|
||||
|
||||
fc( client ) -->|"stat()"|fvr
|
||||
|
||||
subgraph
|
||||
subgraph
|
||||
frt(( )) --- fl(( )) & fr(( ))
|
||||
fr --- frl(( )) & frr(( ))
|
||||
end
|
||||
@@ -182,9 +182,9 @@ Since the active clients will poll the etag for all active users the gateway wil
|
||||
|
||||
For a single machine using a local posix storage the linux kernel already caches the inodes that contain the metadata that is necessary to calculate the ETag (even extended attributes are supported). With 4k inodes 256 nodes take 1Mb of RAM, 1k inodes take 4Mb and 1M inodes take 4Gb to completely cache the file metadata. For distributed filesystems a dedicated cache might make sense to prevent hammering it with stat like requests to calculate ETags.
|
||||
|
||||
### Bandwith considerations
|
||||
### Bandwidth considerations
|
||||
|
||||
The bandwith for a single machine might be another bottleneck. Consider a propfind request with roughly 500 bytes and a response with roughly 800 bytes in size:
|
||||
The bandwidth for a single machine might be another bottleneck. Consider a propfind request with roughly 500 bytes and a response with roughly 800 bytes in size:
|
||||
- At 100Mbit (~10Mb/s) you can receive 20 000 PROPFIND requests
|
||||
- At 1000Mbit (~100Mb/s) you can receive 200 000 PROPFIND requests
|
||||
- At 10Gbit (~1Gb/s) you can receive 2 000 000 PROPFIND requests
|
||||
|
||||
@@ -15,7 +15,7 @@ Rclone itself is not able to open and maintain an OpenID Connect session. But it
|
||||
|
||||
### Setting up the OIDC-agent
|
||||
|
||||
You need to install the [OIDC-agent](https://github.com/indigo-dc/oidc-agent) from your OS' package repository (eg. [Debian](https://github.com/indigo-dc/oidc-agent#debian-packages) or [MacOS](https://github.com/indigo-dc/oidc-agent#debian-packages)).
|
||||
You need to install the [OIDC-agent](https://github.com/indigo-dc/oidc-agent) from your OS' package repository (e.g. [Debian](https://github.com/indigo-dc/oidc-agent#debian-packages) or [MacOS](https://github.com/indigo-dc/oidc-agent#debian-packages)).
|
||||
|
||||
|
||||
### Configuring the the OIDC-agent
|
||||
@@ -35,9 +35,9 @@ oidc-gen \
|
||||
|
||||
If you have dynamic client registration enabled on your OpenID Connect identity provider, you can skip the `--client-id`, `--client-secret` and `--pub` options.
|
||||
|
||||
If your're using a dedicated OpenID Connect client for the OIDC-agent, we recommend a public one with the following two redirect URIs: `http://127.0.0.1:*` and `http://localhost:*`. Alternatively you also may use the already existing OIDC client of the ownCloud Desktop Client (`--client-id=xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69` and `--client-secret=UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh`, no `--pub` set)
|
||||
If you're using a dedicated OpenID Connect client for the OIDC-agent, we recommend a public one with the following two redirect URIs: `http://127.0.0.1:*` and `http://localhost:*`. Alternatively you also may use the already existing OIDC client of the ownCloud Desktop Client (`--client-id=xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69` and `--client-secret=UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh`, no `--pub` set)
|
||||
|
||||
Please also note that the OIDC-agent will listen on your localhost interface on port 12345 for the time of the intial authentication. If that port is already occupied on your machine, you can easily change that by setting the `--redirect-uri` parameter to a different value.
|
||||
Please also note that the OIDC-agent will listen on your localhost interface on port 12345 for the time of the initial authentication. If that port is already occupied on your machine, you can easily change that by setting the `--redirect-uri` parameter to a different value.
|
||||
|
||||
After a successful login or an already existing session you will be redirected to success page of the OIDC-agent.
|
||||
You will now be asked for a password for your account configuration, so that your OIDC session is secured and cannot be used by other people with access to your computer.
|
||||
@@ -63,4 +63,4 @@ We now can use Rclone to sync the local folder `/tmp/test` to `/test` in your oC
|
||||
rclone sync :local:/tmp :webdav:/test
|
||||
```
|
||||
|
||||
If your oCIS doesn't use valid SSL certificates, you may need to use `rclone --no-check-certificate sync ...`.
|
||||
If your oCIS doesn't use valid SSL certificates, you may need to use `rclone --no-check-certificate sync ...`.
|
||||
Loaded 100 of 1499 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user