Compare commits
694
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5fb198be4b | ||
|
|
8e5b975b7f | ||
|
|
33581530f3 | ||
|
|
f902633a6b | ||
|
|
291b5fa3f5 | ||
|
|
892b6962ff | ||
|
|
84f2914a82 | ||
|
|
08d26b2ff1 | ||
|
|
63a6d9c73f | ||
|
|
f79e7658a6 | ||
|
|
fad056564a | ||
|
|
2c107a4bfe | ||
|
|
765f94bf6a | ||
|
|
ed86c9da84 | ||
|
|
50c37d9bbd | ||
|
|
46f0d6f7e4 | ||
|
|
06fda516ec | ||
|
|
aeebf76127 | ||
|
|
65dcb1685a | ||
|
|
0f0d305f6d | ||
|
|
7dac10b3b7 | ||
|
|
1dd4644370 | ||
|
|
3947531ae0 | ||
|
|
af7e6d1176 | ||
|
|
a7d89c7065 | ||
|
|
42e19037e0 | ||
|
|
5d7064ab17 | ||
|
|
eee4a80d71 | ||
|
|
3c0ce6180f | ||
|
|
6552bf0c34 | ||
|
|
7d22a4bee1 | ||
|
|
dbf8e6873b | ||
|
|
21e6aab85e | ||
|
|
50381b2225 | ||
|
|
aac45a46f4 | ||
|
|
021086e024 | ||
|
|
e4cab1e781 | ||
|
|
63e6660ca4 | ||
|
|
3782813ea1 | ||
|
|
cb4b16ce8e | ||
|
|
72c114c301 | ||
|
|
d74818b18f | ||
|
|
6b006fdf0e | ||
|
|
5e5f7ec402 | ||
|
|
a68a116c54 | ||
|
|
6485391fe9 | ||
|
|
fc97f52f06 | ||
|
|
018db1018a | ||
|
|
7c5fa2c114 | ||
|
|
a2d2671bf3 | ||
|
|
44abfe478d | ||
|
|
3e3ceeafee | ||
|
|
ed85fedf1a | ||
|
|
e62a9b6a36 | ||
|
|
dbb228349a | ||
|
|
8bda1d1bb0 | ||
|
|
bbac85d4c4 | ||
|
|
1cf4594211 | ||
|
|
7bd2d73bb3 | ||
|
|
35b206b230 | ||
|
|
eacdb8fa2f | ||
|
|
3bc60510ce | ||
|
|
b8150f25b8 | ||
|
|
8817e2bae3 | ||
|
|
41b26a3eb7 | ||
|
|
a8d78c06cd | ||
|
|
1468abe4e9 | ||
|
|
305ef58b73 | ||
|
|
2927dc45c3 | ||
|
|
2f4d065463 | ||
|
|
6c7bbd936a | ||
|
|
55aacdea13 | ||
|
|
6403e5c7e5 | ||
|
|
85848f1342 | ||
|
|
8499187315 | ||
|
|
778ad717df | ||
|
|
eb0b805b63 | ||
|
|
a5d2d8b676 | ||
|
|
648cfd0f43 | ||
|
|
d68b942832 | ||
|
|
41196732c9 | ||
|
|
c11137f817 | ||
|
|
6dd5be25fc | ||
|
|
e4b7c633cd | ||
|
|
a41e4b0ff6 | ||
|
|
698c094f9b | ||
|
|
969fa540a2 | ||
|
|
834a146c05 | ||
|
|
727042279f | ||
|
|
8a80b990a8 | ||
|
|
1ed38e1f3b | ||
|
|
b98761eaa4 | ||
|
|
78cd35db29 | ||
|
|
f2d36f6638 | ||
|
|
ad994ded16 | ||
|
|
b13863b717 | ||
|
|
6fc2b7503d | ||
|
|
4a817959ef | ||
|
|
ac087d0dae | ||
|
|
fe530e9a27 | ||
|
|
2a60b6b933 | ||
|
|
f5c3b49d12 | ||
|
|
45f29fdc98 | ||
|
|
500a77f005 | ||
|
|
0eb403d658 | ||
|
|
43a97f6bac | ||
|
|
0d13830203 | ||
|
|
30c7f58eb6 | ||
|
|
b74a0a6829 | ||
|
|
2bdd07e41b | ||
|
|
dc957c3722 | ||
|
|
283ecc28c9 | ||
|
|
3022479052 | ||
|
|
10b9fee60e | ||
|
|
ccf0c18f32 | ||
|
|
8b65d74a44 | ||
|
|
33b1524f15 | ||
|
|
8301a7e7a3 | ||
|
|
feed3e589b | ||
|
|
9f96321c1c | ||
|
|
9f50776b17 | ||
|
|
35979955e6 | ||
|
|
93f13388dd | ||
|
|
8e5ef03f9f | ||
|
|
6b1c8d1bf0 | ||
|
|
0e59776d72 | ||
|
|
737cca6600 | ||
|
|
84412bd9c1 | ||
|
|
4b35da08c6 | ||
|
|
5c550ecbb4 | ||
|
|
d2cb1fbd7c | ||
|
|
23c9a3156c | ||
|
|
396c24a73c | ||
|
|
8a645f6ac6 | ||
|
|
8bd46f2f5f | ||
|
|
459932c701 | ||
|
|
dbca0a6f0b | ||
|
|
5c122fb882 | ||
|
|
104b56a04c | ||
|
|
e621fa6a64 | ||
|
|
1d6f56f737 | ||
|
|
57c9c13129 | ||
|
|
da3d25f0f3 | ||
|
|
bfc891950e | ||
|
|
d13f3b53e9 | ||
|
|
aab73be154 | ||
|
|
ed3a5a7f5f | ||
|
|
07d5dd345d | ||
|
|
309374cda5 | ||
|
|
92e232ce62 | ||
|
|
2b6b92a134 | ||
|
|
d27e939ec2 | ||
|
|
31f80748cc | ||
|
|
d10f6a3b73 | ||
|
|
22cb67c3a4 | ||
|
|
69dfdeac0d | ||
|
|
508fa8c7cf | ||
|
|
c961de1d57 | ||
|
|
b0fd0b1ef5 | ||
|
|
30e0a09aa5 | ||
|
|
e1f6a109cc | ||
|
|
9e09bbffc9 | ||
|
|
499b85e865 | ||
|
|
8e729c9eae | ||
|
|
cbe1bbf432 | ||
|
|
d30670450a | ||
|
|
4d9612ae29 | ||
|
|
73f45deed6 | ||
|
|
672350af9e | ||
|
|
3747531774 | ||
|
|
fba3688f2e | ||
|
|
ad0e7fe38d | ||
|
|
92e7e1b509 | ||
|
|
4fdd65ed16 | ||
|
|
982ac391a6 | ||
|
|
54da37850a | ||
|
|
8703b091a6 | ||
|
|
a51ab55368 | ||
|
|
6bc06dad8c | ||
|
|
afffb3e09c | ||
|
|
c7c944e07e | ||
|
|
1288314946 | ||
|
|
480d57b13d | ||
|
|
08047e1d83 | ||
|
|
391e451e41 | ||
|
|
11722a3b4d | ||
|
|
27882a29c6 | ||
|
|
288e35a390 | ||
|
|
5c1e1e602e | ||
|
|
cc8273f048 | ||
|
|
2bc7657cd2 | ||
|
|
f7867e42f5 | ||
|
|
5825a9b957 | ||
|
|
968c9b75d8 | ||
|
|
c3951d67c8 | ||
|
|
d6a3da57c6 | ||
|
|
789b8de6b2 | ||
|
|
a168a60724 | ||
|
|
4ec63656dc | ||
|
|
289730a144 | ||
|
|
2800515c94 | ||
|
|
dcd8327e61 | ||
|
|
07bb4a179e | ||
|
|
bea986fe26 | ||
|
|
a0dce56480 | ||
|
|
cb70f4882f | ||
|
|
0a632df7d2 | ||
|
|
5c024b4543 | ||
|
|
2583c6a1a7 | ||
|
|
b0c742cb2f | ||
|
|
b540ccdf10 | ||
|
|
4385d3dacb | ||
|
|
1e4f8334cf | ||
|
|
40c8031441 | ||
|
|
a6575d9597 | ||
|
|
37de2b48fe | ||
|
|
bc69390006 | ||
|
|
499526d8b4 | ||
|
|
5de190ba4f | ||
|
|
2293403d45 | ||
|
|
1f3e963c29 | ||
|
|
c234c89be2 | ||
|
|
b148faada6 | ||
|
|
2e41e28637 | ||
|
|
188bb58547 | ||
|
|
bb1ce39e23 | ||
|
|
746ed8b414 | ||
|
|
5bf5fcf800 | ||
|
|
cdc2dd0ff3 | ||
|
|
90ca98d60f | ||
|
|
f322516862 | ||
|
|
900f8db799 | ||
|
|
2a54b647f1 | ||
|
|
5070941dc4 | ||
|
|
3ae2875fa9 | ||
|
|
71733fe677 | ||
|
|
8d78a64070 | ||
|
|
c41d9122b4 | ||
|
|
02d8d74466 | ||
|
|
1af75187c1 | ||
|
|
c0f8b030e4 | ||
|
|
74696dbd36 | ||
|
|
1bb4dcf782 | ||
|
|
1a65cd8d82 | ||
|
|
ebb67470dc | ||
|
|
7f8e5d0229 | ||
|
|
6123512367 | ||
|
|
ffca30cc4e | ||
|
|
f1f9583cb5 | ||
|
|
0a486b2a88 | ||
|
|
b1ab887004 | ||
|
|
68d7080fac | ||
|
|
83ba6ad5ba | ||
|
|
273ea197e8 | ||
|
|
1a8e00b19e | ||
|
|
adc21d8f0b | ||
|
|
41cabfcdcb | ||
|
|
04e5cfa52b | ||
|
|
6f37b386d5 | ||
|
|
041176ca2a | ||
|
|
1191d02187 | ||
|
|
a3fb9a4b37 | ||
|
|
c58f7094d2 | ||
|
|
e1a2e5c4b1 | ||
|
|
2bdb522a1d | ||
|
|
bcefff9b8d | ||
|
|
afa9afd205 | ||
|
|
90f066b540 | ||
|
|
7a64f2bcdf | ||
|
|
8c7f1f01ff | ||
|
|
8b271bccc6 | ||
|
|
85693de589 | ||
|
|
1dc7aac6fd | ||
|
|
31918dd44a | ||
|
|
d6bb6f511e | ||
|
|
91f6242eac | ||
|
|
96e6d58d38 | ||
|
|
4140116635 | ||
|
|
33aae8d829 | ||
|
|
a5366585a5 | ||
|
|
dc6d4d0569 | ||
|
|
5f970448fc | ||
|
|
e9e62d7fc6 | ||
|
|
7ab586b2ab | ||
|
|
d9916b6eed | ||
|
|
ccee07a384 | ||
|
|
420c703156 | ||
|
|
bfdcc0180c | ||
|
|
ac49348b41 | ||
|
|
e45954c52a | ||
|
|
29c5cb627a | ||
|
|
6c6a53a4de | ||
|
|
7b1130f34b | ||
|
|
cf6f71da89 | ||
|
|
2433cabae4 | ||
|
|
92d60126a0 | ||
|
|
10a03f8c98 | ||
|
|
ddd261fba7 | ||
|
|
2ac28854f8 | ||
|
|
faeec92a09 | ||
|
|
bf40bc0590 | ||
|
|
89af2f010c | ||
|
|
3897adfaa7 | ||
|
|
b031b40143 | ||
|
|
46fbf66bd0 | ||
|
|
78e668c187 | ||
|
|
a85905a541 | ||
|
|
4e7a4f2bfc | ||
|
|
63494c29e1 | ||
|
|
9eba1b0e26 | ||
|
|
39d5e66c91 | ||
|
|
c12d4381d5 | ||
|
|
ccf456aa9a | ||
|
|
93a317bb54 | ||
|
|
98563bb8f5 | ||
|
|
bfb0a98778 | ||
|
|
cd30d2d574 | ||
|
|
115ce78ad9 | ||
|
|
d59e828895 | ||
|
|
534190606e | ||
|
|
96738d2f1e | ||
|
|
de5aefbe91 | ||
|
|
5b8e883d4a | ||
|
|
caaf7e6088 | ||
|
|
6611f22312 | ||
|
|
441c19f34d | ||
|
|
b0fe255a5d | ||
|
|
2119d12cbc | ||
|
|
7a25f2ac5e | ||
|
|
a75c3b7777 | ||
|
|
9376e2ef5e | ||
|
|
d7031c93fe | ||
|
|
c1bfbd9c24 | ||
|
|
a38af180fa | ||
|
|
014538a0b4 | ||
|
|
034eb417f2 | ||
|
|
5b04bc853b | ||
|
|
53a06bd2da | ||
|
|
c2780440f7 | ||
|
|
ada2b96e4b | ||
|
|
2d51ea3cee | ||
|
|
449edd31c8 | ||
|
|
742b231818 | ||
|
|
322cb454c4 | ||
|
|
53fabd9ffd | ||
|
|
5114ba259f | ||
|
|
1c060606fe | ||
|
|
bd68d1ef72 | ||
|
|
ba924cb412 | ||
|
|
456e7c9300 | ||
|
|
cd4b391cb9 | ||
|
|
54e1796717 | ||
|
|
5d39a84a49 | ||
|
|
d77c83bdbe | ||
|
|
7baf67be8f | ||
|
|
7040f14884 | ||
|
|
d940dcc751 | ||
|
|
8801bd7eff | ||
|
|
2b6960171c | ||
|
|
1c05cf7e64 | ||
|
|
a05105d934 | ||
|
|
f419054936 | ||
|
|
90f7b170a9 | ||
|
|
f7fdda3ee1 | ||
|
|
0392dfd18c | ||
|
|
84e82b2686 | ||
|
|
7eb86e9b07 | ||
|
|
5ae2cdbad0 | ||
|
|
e30f3a377b | ||
|
|
72630c3291 | ||
|
|
e104622a8a | ||
|
|
25ca76ebd4 | ||
|
|
cb2323e9d6 | ||
|
|
b3bae592d0 | ||
|
|
98b0b9c49a | ||
|
|
296b41d4d2 | ||
|
|
1cc028694e | ||
|
|
ad02b40c3c | ||
|
|
3ffd0a13ef | ||
|
|
8343c192f2 | ||
|
|
e2bf20817c | ||
|
|
ca07c287c8 | ||
|
|
ddb6a15544 | ||
|
|
8d1847b9d3 | ||
|
|
b56cdc17c3 | ||
|
|
25742be970 | ||
|
|
ae790df695 | ||
|
|
53b80920ea | ||
|
|
6dc4e5c43e | ||
|
|
3b694547b7 | ||
|
|
debbec1d67 | ||
|
|
2bda4f57fa | ||
|
|
5512c5f1e1 | ||
|
|
81b35dfe17 | ||
|
|
c08c6c09a0 | ||
|
|
07ecdd608f | ||
|
|
1103af674a | ||
|
|
63dc64971f | ||
|
|
9e81558fc9 | ||
|
|
02200127fb | ||
|
|
4ce54edc1a | ||
|
|
e2e6a2f489 | ||
|
|
2300ab0033 | ||
|
|
f1b733f033 | ||
|
|
48ab84a7f5 | ||
|
|
db5900b85a | ||
|
|
8a2dcc22b6 | ||
|
|
e68e48293f | ||
|
|
ed9359ddd4 | ||
|
|
4994d0b132 | ||
|
|
72f6a3613a | ||
|
|
2e28582c1b | ||
|
|
f02f2a3d42 | ||
|
|
7c5a6ee047 | ||
|
|
34a207afd5 | ||
|
|
3af81700d0 | ||
|
|
e1b30284a8 | ||
|
|
cb996434cc | ||
|
|
458de9f554 | ||
|
|
c5f34a0726 | ||
|
|
23730f3e4a | ||
|
|
ed4fef9c0e | ||
|
|
5e7967c62c | ||
|
|
3dfced91e0 | ||
|
|
0f2cb27c4a | ||
|
|
f36cf67bc4 | ||
|
|
95a9405449 | ||
|
|
51b87e181d | ||
|
|
4794f52c72 | ||
|
|
6a8b1db9f3 | ||
|
|
063fd64483 | ||
|
|
f18365ddee | ||
|
|
96a548619a | ||
|
|
dab2d56089 | ||
|
|
3f29f50e45 | ||
|
|
ab48dd66c5 | ||
|
|
34e0877df7 | ||
|
|
89f8320c74 | ||
|
|
8403ae9933 | ||
|
|
4675c1442d | ||
|
|
823f2cb41f | ||
|
|
6859217a17 | ||
|
|
038c36467b | ||
|
|
e3ab89c698 | ||
|
|
538e7b576a | ||
|
|
3c92932835 | ||
|
|
2755f04938 | ||
|
|
28a6e7beb1 | ||
|
|
88587af369 | ||
|
|
216be05ffa | ||
|
|
3b50ee6e1f | ||
|
|
d3a7c3fc2b | ||
|
|
5b55b83084 | ||
|
|
8650a3c9fd | ||
|
|
359e1f8dfe | ||
|
|
a01d379908 | ||
|
|
7bd0626d50 | ||
|
|
02621ac59b | ||
|
|
5a6b16abd4 | ||
|
|
dc932c6904 | ||
|
|
6cf359800b | ||
|
|
c294d49a8a | ||
|
|
af184d84fd | ||
|
|
f888b93b64 | ||
|
|
fdbf1a76e9 | ||
|
|
acdec60cbd | ||
|
|
e079a0f9ac | ||
|
|
5859bc1e52 | ||
|
|
8323300122 | ||
|
|
c768791b2d | ||
|
|
6f79c13eb5 | ||
|
|
6d3472f383 | ||
|
|
f49e4af4cd | ||
|
|
3e815601dd | ||
|
|
a3007e515a | ||
|
|
a8a6bb6230 | ||
|
|
64136bc73c | ||
|
|
8fa8d81501 | ||
|
|
26ab81d7af | ||
|
|
cc1f41b332 | ||
|
|
b23570b80f | ||
|
|
78bbd7e4ce | ||
|
|
28525447dc | ||
|
|
521a60c427 | ||
|
|
189d1485a9 | ||
|
|
93b60b1770 | ||
|
|
6168ee7095 | ||
|
|
ed94da5104 | ||
|
|
5d229a679b | ||
|
|
36971ea28b | ||
|
|
5a1d52b1ea | ||
|
|
fe2ffe1ce4 | ||
|
|
63ce4ab71d | ||
|
|
27d55882d1 | ||
|
|
2e77412941 | ||
|
|
c03428eac8 | ||
|
|
bbc01b3763 | ||
|
|
757caa4287 | ||
|
|
15080fc5e6 | ||
|
|
ba438022f0 | ||
|
|
2a07339f7b | ||
|
|
e18b05c3f0 | ||
|
|
06570ae469 | ||
|
|
b9f7d20539 | ||
|
|
94cfb4805d | ||
|
|
8e64bf5570 | ||
|
|
ba44ad921c | ||
|
|
a218627df2 | ||
|
|
82081817f6 | ||
|
|
2b570c44e3 | ||
|
|
224f73c58c | ||
|
|
025e7484c9 | ||
|
|
136811f877 | ||
|
|
9a411f8995 | ||
|
|
8c26e58ddd | ||
|
|
9d8099347c | ||
|
|
1496462329 | ||
|
|
4a7e31040d | ||
|
|
34dff1c325 | ||
|
|
c5d362bc3e | ||
|
|
244e53f91b | ||
|
|
86adc2bd0b | ||
|
|
8e11efaa98 | ||
|
|
7062b432c5 | ||
|
|
68079b7a4b | ||
|
|
54a2981a3f | ||
|
|
93205dd9b0 | ||
|
|
920d68a0a9 | ||
|
|
fd8b3d23dd | ||
|
|
a845cd2a89 | ||
|
|
61466d2c02 | ||
|
|
175062e70c | ||
|
|
72aa5972b0 | ||
|
|
b29c747317 | ||
|
|
33f8cd04b2 | ||
|
|
8251e620c8 | ||
|
|
7efb715af7 | ||
|
|
f19ed5aede | ||
|
|
3e8198e4c2 | ||
|
|
c170e279e8 | ||
|
|
7c0a4bdc0d | ||
|
|
83f628052d | ||
|
|
24b94dd2f1 | ||
|
|
71e2cad13e | ||
|
|
5c0aabedd7 | ||
|
|
820205dfe5 | ||
|
|
28ea3b7341 | ||
|
|
6406982ab0 | ||
|
|
65c45caa8d | ||
|
|
fb31bf4427 | ||
|
|
c108d6d9f9 | ||
|
|
5518c6cf1c | ||
|
|
76594d375b | ||
|
|
7028bc4a44 | ||
|
|
4fa69900a3 | ||
|
|
1c3254a357 | ||
|
|
75a0345844 | ||
|
|
9277a8d6f7 | ||
|
|
870201902a | ||
|
|
7d94812d1e | ||
|
|
b64d13c20e | ||
|
|
d4d1075fdd | ||
|
|
58f8258560 | ||
|
|
073503beb9 | ||
|
|
1e79671580 | ||
|
|
8d3bbe47fc | ||
|
|
3101c292bb | ||
|
|
8ec6ac3de9 | ||
|
|
afec556f8d | ||
|
|
83e4dbf1e1 | ||
|
|
a1a6dfab5a | ||
|
|
150e5f4c01 | ||
|
|
2498a50199 | ||
|
|
2508ce0ef7 | ||
|
|
51abdf12b3 | ||
|
|
9bb9d3d80a | ||
|
|
8920b2c65e | ||
|
|
e11e286d33 | ||
|
|
d3d1dd65a8 | ||
|
|
b1e410b674 | ||
|
|
d78aef722c | ||
|
|
f9b2c9538d | ||
|
|
4b51164357 | ||
|
|
c6216b3e22 | ||
|
|
452fb79eec | ||
|
|
add77b991b | ||
|
|
6a54682c69 | ||
|
|
bf9936f764 | ||
|
|
61a07967d9 | ||
|
|
25dc6eb4cb | ||
|
|
e4aa00d4cd | ||
|
|
c13a504d05 | ||
|
|
52befa0299 | ||
|
|
2fee44581f | ||
|
|
279c73fbb5 | ||
|
|
fb5b34d136 | ||
|
|
947b3d6dad | ||
|
|
18b437ce5e | ||
|
|
1b4fe83c58 | ||
|
|
de20b85d18 | ||
|
|
5ce1841609 | ||
|
|
b696bf50d7 | ||
|
|
9a273639f1 | ||
|
|
c0cafba544 | ||
|
|
38d817db41 | ||
|
|
99b517a3ea | ||
|
|
03aa64168c | ||
|
|
06da18c697 | ||
|
|
192cff699f | ||
|
|
d441cfbd35 | ||
|
|
f4195285f8 | ||
|
|
3f97792f4d | ||
|
|
cd78c91507 | ||
|
|
7c21b381e1 | ||
|
|
8eb345b368 | ||
|
|
743a63811b | ||
|
|
202c6ce4fa | ||
|
|
bde661faa1 | ||
|
|
6bf1652df4 | ||
|
|
a01e3a78e4 | ||
|
|
64ab98fa40 | ||
|
|
eaa8022720 | ||
|
|
96811d7c52 | ||
|
|
97882210eb | ||
|
|
a90d2e2703 | ||
|
|
0628e66a0e | ||
|
|
5eecdc149e | ||
|
|
2f995a8791 | ||
|
|
7f1fb8db62 | ||
|
|
796376586b | ||
|
|
b575e93cdf | ||
|
|
9c267af1de | ||
|
|
8b1119f709 | ||
|
|
0d6e6b5ce8 | ||
|
|
e0b4d3bfdd | ||
|
|
bf83d1718f | ||
|
|
7ceda68962 | ||
|
|
33d656ec5c | ||
|
|
194206ba4c | ||
|
|
027a32eaae | ||
|
|
d5e50a082d | ||
|
|
8919311cbf | ||
|
|
e67e6132d3 | ||
|
|
427c097830 | ||
|
|
575a231410 | ||
|
|
0d3b22030f | ||
|
|
9b34a974d6 | ||
|
|
78d96d49b9 | ||
|
|
3ca92bc21c | ||
|
|
282e45fa11 | ||
|
|
332f4d3f60 | ||
|
|
96673b08e0 | ||
|
|
de2a21c500 | ||
|
|
34a8ed3816 | ||
|
|
4e09c7f354 | ||
|
|
d3da526464 | ||
|
|
cb2957f3b7 | ||
|
|
da9989f172 | ||
|
|
1ea97e92fc | ||
|
|
a812ad6b0d | ||
|
|
b34933dacf | ||
|
|
9b753d51cd | ||
|
|
53739f1fdf | ||
|
|
0f377cabc8 | ||
|
|
9533c5dc21 | ||
|
|
d0e5546c6f | ||
|
|
7bc064f4ff | ||
|
|
d1a64a8135 | ||
|
|
92989c9919 | ||
|
|
17cf468368 | ||
|
|
3b182d49c9 | ||
|
|
e7aed9520a | ||
|
|
46f3dc62d2 | ||
|
|
54a196a24e | ||
|
|
a45c4e0011 | ||
|
|
c6df0470ba | ||
|
|
3f86fe8066 | ||
|
|
8677761a7e | ||
|
|
3c1749e36e | ||
|
|
abbfbe2d14 | ||
|
|
8446779b42 | ||
|
|
68f119f0ff | ||
|
|
b8621aa55b | ||
|
|
6c3280cade | ||
|
|
4a9c6e8380 | ||
|
|
87ec7a5125 | ||
|
|
2826bdf3bd | ||
|
|
7d04fdc2e2 | ||
|
|
c8c6a7b135 | ||
|
|
71ac2049a6 | ||
|
|
b820b343df | ||
|
|
68c6eec432 | ||
|
|
c8749a561b | ||
|
|
6991dd777d |
No files matched your search
+12
-12
@@ -47,11 +47,11 @@ $(FILEB0X): $(BINGO_DIR)/fileb0x.mod
|
||||
@echo "(re)installing $(GOBIN)/fileb0x-v1.1.4"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=fileb0x.mod -o=$(GOBIN)/fileb0x-v1.1.4 "github.com/UnnoTed/fileb0x"
|
||||
|
||||
FLAEX := $(GOBIN)/flaex-v0.2.0
|
||||
FLAEX := $(GOBIN)/flaex-v0.2.1-0.20210701123229-9d7dceed124f
|
||||
$(FLAEX): $(BINGO_DIR)/flaex.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)/flaex-v0.2.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=flaex.mod -o=$(GOBIN)/flaex-v0.2.0 "github.com/owncloud/flaex"
|
||||
@echo "(re)installing $(GOBIN)/flaex-v0.2.1-0.20210701123229-9d7dceed124f"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=flaex.mod -o=$(GOBIN)/flaex-v0.2.1-0.20210701123229-9d7dceed124f "github.com/owncloud/flaex"
|
||||
|
||||
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.37.1
|
||||
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
|
||||
@@ -59,23 +59,17 @@ $(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
|
||||
@echo "(re)installing $(GOBIN)/golangci-lint-v1.37.1"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.37.1 "github.com/golangci/golangci-lint/cmd/golangci-lint"
|
||||
|
||||
GOVERAGE := $(GOBIN)/goverage-v0.0.0-20180129164344-eec3514a20b5
|
||||
$(GOVERAGE): $(BINGO_DIR)/goverage.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)/goverage-v0.0.0-20180129164344-eec3514a20b5"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=goverage.mod -o=$(GOBIN)/goverage-v0.0.0-20180129164344-eec3514a20b5 "github.com/haya14busa/goverage"
|
||||
|
||||
GOX := $(GOBIN)/gox-v1.0.1
|
||||
$(GOX): $(BINGO_DIR)/gox.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)/gox-v1.0.1"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=gox.mod -o=$(GOBIN)/gox-v1.0.1 "github.com/mitchellh/gox"
|
||||
|
||||
HUGO := $(GOBIN)/hugo-v0.80.0
|
||||
HUGO := $(GOBIN)/hugo-v0.87.0
|
||||
$(HUGO): $(BINGO_DIR)/hugo.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)/hugo-v0.80.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=hugo.mod -o=$(GOBIN)/hugo-v0.80.0 "github.com/gohugoio/hugo"
|
||||
@echo "(re)installing $(GOBIN)/hugo-v0.87.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=hugo.mod -o=$(GOBIN)/hugo-v0.87.0 "github.com/gohugoio/hugo"
|
||||
|
||||
MUTAGEN := $(GOBIN)/mutagen-v0.11.8
|
||||
$(MUTAGEN): $(BINGO_DIR)/mutagen.mod
|
||||
@@ -83,6 +77,12 @@ $(MUTAGEN): $(BINGO_DIR)/mutagen.mod
|
||||
@echo "(re)installing $(GOBIN)/mutagen-v0.11.8"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=mutagen.mod -o=$(GOBIN)/mutagen-v0.11.8 "github.com/mutagen-io/mutagen/cmd/mutagen"
|
||||
|
||||
OAPI_CODEGEN := $(GOBIN)/oapi-codegen-v1.6.1
|
||||
$(OAPI_CODEGEN): $(BINGO_DIR)/oapi-codegen.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)/oapi-codegen-v1.6.1"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=oapi-codegen.mod -o=$(GOBIN)/oapi-codegen-v1.6.1 "github.com/deepmap/oapi-codegen/cmd/oapi-codegen"
|
||||
|
||||
PROTOC_GEN_DOC := $(GOBIN)/protoc-gen-doc-v1.4.1
|
||||
$(PROTOC_GEN_DOC): $(BINGO_DIR)/protoc-gen-doc.mod
|
||||
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/owncloud/flaex v0.2.0
|
||||
require github.com/owncloud/flaex v0.2.1-0.20210701123229-9d7dceed124f
|
||||
@@ -1,5 +0,0 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/haya14busa/goverage v0.0.0-20180129164344-eec3514a20b5
|
||||
+1
-1
@@ -4,4 +4,4 @@ go 1.16
|
||||
|
||||
replace github.com/markbates/inflect => github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6
|
||||
|
||||
require github.com/gohugoio/hugo v0.80.0
|
||||
require github.com/gohugoio/hugo v0.87.0
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.15
|
||||
|
||||
require github.com/deepmap/oapi-codegen v1.6.1 // cmd/oapi-codegen
|
||||
@@ -18,18 +18,18 @@ CALENS="${GOBIN}/calens-v0.2.0"
|
||||
|
||||
FILEB0X="${GOBIN}/fileb0x-v1.1.4"
|
||||
|
||||
FLAEX="${GOBIN}/flaex-v0.2.0"
|
||||
FLAEX="${GOBIN}/flaex-v0.2.1-0.20210701123229-9d7dceed124f"
|
||||
|
||||
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.37.1"
|
||||
|
||||
GOVERAGE="${GOBIN}/goverage-v0.0.0-20180129164344-eec3514a20b5"
|
||||
|
||||
GOX="${GOBIN}/gox-v1.0.1"
|
||||
|
||||
HUGO="${GOBIN}/hugo-v0.80.0"
|
||||
HUGO="${GOBIN}/hugo-v0.87.0"
|
||||
|
||||
MUTAGEN="${GOBIN}/mutagen-v0.11.8"
|
||||
|
||||
OAPI_CODEGEN="${GOBIN}/oapi-codegen-v1.6.1"
|
||||
|
||||
PROTOC_GEN_DOC="${GOBIN}/protoc-gen-doc-v1.4.1"
|
||||
|
||||
PROTOC_GEN_GO="${GOBIN}/protoc-gen-go-v1.26.0"
|
||||
|
||||
@@ -15,5 +15,6 @@ exclude_paths:
|
||||
- 'ocis/docker/eos-ocis/Dockerfile'
|
||||
- 'ocis/docker/eos-ocis-dev/Dockerfile'
|
||||
- 'deployments/**'
|
||||
- 'tests/acceptance/expected-failures-*.md'
|
||||
|
||||
...
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
# The test runner source for API tests
|
||||
CORE_COMMITID=eb3deef4ce524b441e76a5b2861dc8fdf298b826
|
||||
CORE_COMMITID=5b1cbf202ff50485401e572b6462ce75e63395b8
|
||||
CORE_BRANCH=master
|
||||
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=90cfa889a64d47a98700469cd8cd81eafeedd277
|
||||
WEB_COMMITID=e44bf0c76d1811339ac58941130a411f420bd302
|
||||
WEB_BRANCH=master
|
||||
+273
-136
@@ -18,87 +18,29 @@ config = {
|
||||
"web",
|
||||
"webdav",
|
||||
],
|
||||
"localApiTests": {
|
||||
"skip": False,
|
||||
"earlyFail": True,
|
||||
},
|
||||
"apiTests": {
|
||||
"numberOfParts": 10,
|
||||
"skip": False,
|
||||
"skipExceptParts": [],
|
||||
"earlyFail": True,
|
||||
},
|
||||
"uiTests": {
|
||||
"suites": {
|
||||
"webUIBasic": [
|
||||
"webUILogin",
|
||||
"webUINotifications",
|
||||
"webUIPrivateLinks",
|
||||
"webUIPreview",
|
||||
"webUIAccount",
|
||||
# The following suites may have all scenarios currently skipped.
|
||||
# The suites are listed here so that scenarios will run when
|
||||
# they are enabled.
|
||||
"webUIAdminSettings",
|
||||
"webUIComments",
|
||||
"webUITags",
|
||||
"webUIWebdavLockProtection",
|
||||
"webUIWebdavLocks",
|
||||
],
|
||||
"webUICreateFilesFolders": "webUICreateFilesFolders",
|
||||
"webUIDeleteFilesFolders": "webUIDeleteFilesFolders",
|
||||
"webUIRename": [
|
||||
"webUIRenameFiles",
|
||||
"webUIRenameFolders",
|
||||
],
|
||||
"webUISharingBasic": [
|
||||
"webUISharingAcceptShares",
|
||||
],
|
||||
"webUIRestrictSharing": "webUIRestrictSharing",
|
||||
"webUISharingNotifications": [
|
||||
"webUISharingNotifications",
|
||||
],
|
||||
"webUIFavorites": "webUIFavorites",
|
||||
"webUIMarkdownEditor": "webUIMarkdownEditor",
|
||||
"webUIFiles1": [
|
||||
"webUIFiles",
|
||||
"webUIFilesActionMenu",
|
||||
"webUIFilesCopy",
|
||||
],
|
||||
"webUIFiles2": [
|
||||
"webUIFilesDetails",
|
||||
"webUIFilesList",
|
||||
"webUIFilesSearch",
|
||||
],
|
||||
"webUISharingAutocompletion": "webUISharingAutocompletion",
|
||||
"webUISharingInternalGroups": [
|
||||
"webUISharingInternalGroups",
|
||||
"webUISharingInternalGroupsEdgeCases",
|
||||
"webUISharingInternalGroupsSharingIndicator",
|
||||
],
|
||||
"webUISharingInternalUsers": [
|
||||
"webUISharingInternalUsers",
|
||||
"webUISharingInternalUsersBlacklisted",
|
||||
"webUISharingInternalUsersSharingIndicator",
|
||||
"webUISharingInternalUsersCollaborator",
|
||||
"webUISharingInternalUsersShareWithPage",
|
||||
],
|
||||
"webUISharingInternalUsersExpire": "webUISharingInternalUsersExpire",
|
||||
"webUISharingPermissionsUsers": "webUISharingPermissionsUsers",
|
||||
"webUISharingFilePermissionsGroups": "webUISharingFilePermissionsGroups",
|
||||
"webUISharingFolderPermissionsGroups": "webUISharingFolderPermissionsGroups",
|
||||
"webUISharingFolderAdvPermissionsGrp": "webUISharingFolderAdvancedPermissionsGroups",
|
||||
"webUIResharing": [
|
||||
"webUIResharing1",
|
||||
"webUIResharing2",
|
||||
],
|
||||
"webUISharingPublicBasic": "webUISharingPublicBasic",
|
||||
"webUISharingPublicManagement": "webUISharingPublicManagement",
|
||||
"webUISharingPublicExpire": "webUISharingPublicExpire",
|
||||
"webUISharingPublicDifferentRoles": "webUISharingPublicDifferentRoles",
|
||||
"webUITrashbinDelete": "webUITrashbinDelete",
|
||||
"webUITrashbinFilesFolders": "webUITrashbinFilesFolders",
|
||||
"webUITrashbinRestore": "webUITrashbinRestore",
|
||||
"webUIUpload": "webUIUpload",
|
||||
"webUISharingFilePermissionMultipleUsers": "webUISharingFilePermissionMultipleUsers",
|
||||
"webUISharingFolderPermissionMultipleUsers": "webUISharingFolderPermissionMultipleUsers",
|
||||
"webUISharingFolderAdvancedPermissionMU": "webUISharingFolderAdvancedPermissionMultipleUsers",
|
||||
"webUIMoveFilesFolders": "webUIMoveFilesFolders",
|
||||
"webUIUserJourney": "webUIUserJourney",
|
||||
},
|
||||
"filterTags": "@ocisSmokeTest",
|
||||
"skip": False,
|
||||
"skipExceptParts": [],
|
||||
"earlyFail": True,
|
||||
},
|
||||
"accountsUITests": {
|
||||
"skip": False,
|
||||
"earlyFail": True,
|
||||
},
|
||||
"settingsUITests": {
|
||||
"skip": False,
|
||||
"earlyFail": True,
|
||||
},
|
||||
"rocketchat": {
|
||||
"channel": "ocis-internal",
|
||||
@@ -141,14 +83,16 @@ pipelineVolumeOC10Tests = \
|
||||
}
|
||||
|
||||
def pipelineDependsOn(pipeline, dependant_pipelines):
|
||||
pipeline["depends_on"] = getPipelineNames(dependant_pipelines)
|
||||
if "depends_on" in pipeline.keys():
|
||||
pipeline["depends_on"] = pipeline["depends_on"] + getPipelineNames(dependant_pipelines)
|
||||
else:
|
||||
pipeline["depends_on"] = getPipelineNames(dependant_pipelines)
|
||||
return pipeline
|
||||
|
||||
def pipelinesDependsOn(pipelines, dependant_pipelines):
|
||||
pipes = []
|
||||
for pipeline in pipelines:
|
||||
pipeline["depends_on"] = getPipelineNames(dependant_pipelines)
|
||||
pipes.append(pipeline)
|
||||
pipes.append(pipelineDependsOn(pipeline, dependant_pipelines))
|
||||
|
||||
return pipes
|
||||
|
||||
@@ -181,7 +125,8 @@ def main(ctx):
|
||||
test_pipelines = \
|
||||
[buildOcisBinaryForTesting(ctx)] + \
|
||||
testOcisModules(ctx) + \
|
||||
testPipelines(ctx)
|
||||
testPipelines(ctx) + \
|
||||
checkForRecentBuilds(ctx)
|
||||
|
||||
build_release_pipelines = \
|
||||
dockerReleases(ctx) + \
|
||||
@@ -246,21 +191,70 @@ def testOcisModules(ctx):
|
||||
|
||||
return pipelines + [scan_result_upload]
|
||||
|
||||
def checkForRecentBuilds(ctx):
|
||||
pipelines = []
|
||||
|
||||
result = {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": "stop-recent-builds",
|
||||
"steps": stopRecentBuilds(ctx),
|
||||
"depends_on": [],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/tags/**",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
pipelines.append(result)
|
||||
|
||||
return pipelines
|
||||
|
||||
def stopRecentBuilds(ctx):
|
||||
return [{
|
||||
"name": "stop-recent-builds",
|
||||
"image": "drone/cli:alpine",
|
||||
"pull": "always",
|
||||
"environment": {
|
||||
"DRONE_SERVER": "https://drone.owncloud.com",
|
||||
"DRONE_TOKEN": {
|
||||
"from_secret": "drone_token",
|
||||
},
|
||||
},
|
||||
"commands": [
|
||||
"drone build ls %s --status running > /drone/src/recentBuilds.txt" % ctx.repo.slug,
|
||||
"drone build info %s ${DRONE_BUILD_NUMBER} > /drone/src/thisBuildInfo.txt" % ctx.repo.slug,
|
||||
"cd /drone/src && ./tests/acceptance/cancelBuilds.sh",
|
||||
],
|
||||
"when": {
|
||||
"event": [
|
||||
"pull_request",
|
||||
],
|
||||
},
|
||||
}]
|
||||
|
||||
def testPipelines(ctx):
|
||||
pipelines = [
|
||||
localApiTests(ctx, "owncloud", "apiBugDemonstration"),
|
||||
localApiTests(ctx, "ocis", "apiBugDemonstration"),
|
||||
localApiTests(ctx, "owncloud", "apiAccountsHashDifficulty", "default"),
|
||||
localApiTests(ctx, "ocis", "apiAccountsHashDifficulty", "default"),
|
||||
]
|
||||
pipelines = []
|
||||
if "skip" not in config["localApiTests"] or not config["localApiTests"]["skip"]:
|
||||
pipelines = [
|
||||
localApiTests(ctx, "ocis", "apiAccountsHashDifficulty", "default"),
|
||||
]
|
||||
|
||||
for runPart in range(1, config["apiTests"]["numberOfParts"] + 1):
|
||||
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], "owncloud"))
|
||||
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], "ocis"))
|
||||
if "skip" not in config["apiTests"] or not config["apiTests"]["skip"]:
|
||||
pipelines += apiTests(ctx)
|
||||
|
||||
if "skip" not in config["uiTests"] or not config["uiTests"]["skip"]:
|
||||
pipelines += uiTests(ctx)
|
||||
|
||||
if "skip" not in config["accountsUITests"] or not config["accountsUITests"]["skip"]:
|
||||
pipelines.append(accountsUITests(ctx))
|
||||
|
||||
if "skip" not in config["settingsUITests"] or not config["settingsUITests"]["skip"]:
|
||||
pipelines.append(settingsUITests(ctx))
|
||||
|
||||
pipelines += uiTests(ctx)
|
||||
pipelines.append(accountsUITests(ctx))
|
||||
pipelines.append(settingsUITests(ctx))
|
||||
return pipelines
|
||||
|
||||
def testOcisModule(ctx, module):
|
||||
@@ -436,7 +430,12 @@ def uploadScanResults(ctx):
|
||||
},
|
||||
}
|
||||
|
||||
def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", accounts_hash_difficulty = 4):
|
||||
def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
|
||||
earlyFail = config["localApiTests"]["earlyFail"] if "earlyFail" in config["localApiTests"] else False
|
||||
|
||||
if ("full-ci" in ctx.build.title.lower()):
|
||||
earlyFail = False
|
||||
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
@@ -458,17 +457,19 @@ def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", acco
|
||||
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
|
||||
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
|
||||
"TEST_OCIS": "true",
|
||||
"SEND_SCENARIO_LINE_REFERENCES": "true",
|
||||
"STORAGE_DRIVER": storage,
|
||||
"BEHAT_SUITE": suite,
|
||||
"BEHAT_FILTER_TAGS": "~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"PATH_TO_CORE": "/srv/app/testrunner",
|
||||
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
||||
},
|
||||
"commands": [
|
||||
"make test-acceptance-api",
|
||||
],
|
||||
"volumes": [stepVolumeOC10Tests],
|
||||
},
|
||||
],
|
||||
] + buildGithubCommentForBuildStopped("localApiTests-%s-%s" % (suite, storage), earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
|
||||
"services": redisForOCStorage(storage),
|
||||
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
|
||||
"trigger": {
|
||||
@@ -481,7 +482,12 @@ def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", acco
|
||||
"volumes": [pipelineVolumeOC10Tests],
|
||||
}
|
||||
|
||||
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "owncloud", accounts_hash_difficulty = 4):
|
||||
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
earlyFail = config["apiTests"]["earlyFail"] if "earlyFail" in config["apiTests"] else False
|
||||
|
||||
if ("full-ci" in ctx.build.title.lower()):
|
||||
earlyFail = False
|
||||
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
@@ -503,18 +509,20 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "owncloud"
|
||||
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
|
||||
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
|
||||
"TEST_OCIS": "true",
|
||||
"SEND_SCENARIO_LINE_REFERENCES": "true",
|
||||
"STORAGE_DRIVER": storage,
|
||||
"BEHAT_FILTER_TAGS": "~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"BEHAT_FILTER_TAGS": "~@skipOnOcis&&~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"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()),
|
||||
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
||||
},
|
||||
"commands": [
|
||||
"make -C /srv/app/testrunner test-acceptance-api",
|
||||
],
|
||||
"volumes": [stepVolumeOC10Tests],
|
||||
},
|
||||
],
|
||||
] + buildGithubCommentForBuildStopped("Core-API-Tests-%s-storage-%s" % (storage, part_number), earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
|
||||
"services": redisForOCStorage(storage),
|
||||
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
|
||||
"trigger": {
|
||||
@@ -527,24 +535,78 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "owncloud"
|
||||
"volumes": [pipelineVolumeOC10Tests],
|
||||
}
|
||||
|
||||
def uiTests(ctx):
|
||||
suiteNames = config["uiTests"]["suites"].keys()
|
||||
return [uiTestPipeline(ctx, suiteName) for suiteName in suiteNames]
|
||||
def apiTests(ctx):
|
||||
pipelines = []
|
||||
debugParts = config["apiTests"]["skipExceptParts"]
|
||||
debugPartsEnabled = (len(debugParts) != 0)
|
||||
for runPart in range(1, config["apiTests"]["numberOfParts"] + 1):
|
||||
if (not debugPartsEnabled or (debugPartsEnabled and runPart in debugParts)):
|
||||
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], "ocis"))
|
||||
|
||||
def uiTestPipeline(ctx, suiteName, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
suites = config["uiTests"]["suites"]
|
||||
paths = ""
|
||||
suite = suites[suiteName]
|
||||
if type(suite) == "list":
|
||||
for path in suite:
|
||||
paths = paths + "tests/acceptance/features/" + path + " "
|
||||
return pipelines
|
||||
|
||||
def uiTests(ctx):
|
||||
default = {
|
||||
"filterTags": "",
|
||||
"skip": False,
|
||||
"earlyFail": False,
|
||||
# only used if 'full-ci' is in build title
|
||||
"numberOfParts": 20,
|
||||
"skipExceptParts": [],
|
||||
}
|
||||
params = {}
|
||||
pipelines = []
|
||||
|
||||
for item in default:
|
||||
params[item] = config["uiTests"][item] if item in config["uiTests"] else default[item]
|
||||
|
||||
filterTags = params["filterTags"]
|
||||
earlyFail = params["earlyFail"]
|
||||
|
||||
if ("full-ci" in ctx.build.title.lower()):
|
||||
earlyFail = False
|
||||
|
||||
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "tag"):
|
||||
numberOfParts = params["numberOfParts"]
|
||||
skipExceptParts = params["skipExceptParts"]
|
||||
debugPartsEnabled = (len(skipExceptParts) != 0)
|
||||
|
||||
for runPart in range(1, numberOfParts + 1):
|
||||
if (not debugPartsEnabled or (debugPartsEnabled and runPart in skipExceptParts)):
|
||||
pipelines.append(uiTestPipeline(ctx, "", earlyFail, runPart, numberOfParts))
|
||||
|
||||
# For ordinary PRs, always run the "minimal" UI test pipeline
|
||||
# That has its own expected-failures file, and we always want to know that it is correct,
|
||||
if (ctx.build.event != "tag"):
|
||||
pipelines.append(uiTestPipeline(ctx, filterTags, earlyFail, 1, 2, "ocis", "smoke"))
|
||||
pipelines.append(uiTestPipeline(ctx, filterTags, earlyFail, 2, 2, "ocis", "smoke"))
|
||||
|
||||
return pipelines
|
||||
|
||||
def uiTestPipeline(ctx, filterTags, earlyFail, runPart = 1, numberOfParts = 1, storage = "ocis", uniqueName = "", accounts_hash_difficulty = 4):
|
||||
standardFilterTags = "not @skipOnOCIS and not @skip and not @notToImplementOnOCIS and not @federated-server-needed"
|
||||
if filterTags == "":
|
||||
finalFilterTags = standardFilterTags
|
||||
expectedFailuresFileFilterTags = ""
|
||||
else:
|
||||
paths = paths + "tests/acceptance/features/" + suite + " "
|
||||
finalFilterTags = filterTags + " and " + standardFilterTags
|
||||
expectedFailuresFileFilterTags = "-" + filterTags.lstrip("@")
|
||||
|
||||
if uniqueName == "":
|
||||
uniqueNameString = ""
|
||||
else:
|
||||
finalFilterTags = filterTags + " and " + standardFilterTags
|
||||
uniqueNameString = "-" + uniqueName
|
||||
|
||||
if numberOfParts == 1:
|
||||
pipelineName = "Web-Tests-ocis%s-%s-storage" % (uniqueNameString, storage)
|
||||
else:
|
||||
pipelineName = "Web-Tests-ocis%s-%s-storage-%s" % (uniqueNameString, storage, runPart)
|
||||
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
"name": suiteName,
|
||||
"name": pipelineName,
|
||||
"platform": {
|
||||
"os": "linux",
|
||||
"arch": "amd64",
|
||||
@@ -562,11 +624,12 @@ def uiTestPipeline(ctx, suiteName, storage = "ocis", accounts_hash_difficulty =
|
||||
"OCIS_REVA_DATA_ROOT": "/srv/app/tmp/ocis/owncloud/data",
|
||||
"TESTING_DATA_DIR": "/srv/app/testing/data",
|
||||
"WEB_UI_CONFIG": "/drone/src/tests/config/drone/ocis-config.json",
|
||||
"TEST_TAGS": "not @skipOnOCIS and not @skip and not @notToImplementOnOCIS",
|
||||
"TEST_TAGS": finalFilterTags,
|
||||
"LOCAL_UPLOAD_DIR": "/uploads",
|
||||
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
|
||||
"TEST_PATHS": paths,
|
||||
"EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-webUI-on-%s-storage.md" % (storage.upper()),
|
||||
"RUN_PART": runPart,
|
||||
"DIVIDE_INTO_NUM_PARTS": numberOfParts,
|
||||
"EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-webUI-on-%s-storage%s.md" % (storage.upper(), expectedFailuresFileFilterTags),
|
||||
},
|
||||
"commands": [
|
||||
". /drone/src/.drone.env",
|
||||
@@ -585,7 +648,7 @@ def uiTestPipeline(ctx, suiteName, storage = "ocis", accounts_hash_difficulty =
|
||||
"path": "/uploads",
|
||||
}],
|
||||
},
|
||||
],
|
||||
] + buildGithubCommentForBuildStopped("Web-Tests-ocis-%s-storage-%s" % (storage, runPart), earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
|
||||
"services": selenium(),
|
||||
"volumes": [pipelineVolumeOC10Tests] +
|
||||
[{
|
||||
@@ -603,6 +666,11 @@ def uiTestPipeline(ctx, suiteName, storage = "ocis", accounts_hash_difficulty =
|
||||
}
|
||||
|
||||
def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
earlyFail = config["accountsUITests"]["earlyFail"] if "earlyFail" in config["accountsUITests"] else False
|
||||
|
||||
if ("full-ci" in ctx.build.title.lower()):
|
||||
earlyFail = False
|
||||
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
@@ -649,7 +717,7 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
"path": "/uploads",
|
||||
}],
|
||||
},
|
||||
],
|
||||
] + buildGithubCommentForBuildStopped("accountsUITests", earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
|
||||
"services": selenium(),
|
||||
"volumes": [stepVolumeOC10Tests] +
|
||||
[{
|
||||
@@ -667,6 +735,11 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
}
|
||||
|
||||
def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
earlyFail = config["settingsUITests"]["earlyFail"] if "earlyFail" in config["settingsUITests"] else False
|
||||
|
||||
if ("full-ci" in ctx.build.title.lower()):
|
||||
earlyFail = False
|
||||
|
||||
return {
|
||||
"kind": "pipeline",
|
||||
"type": "docker",
|
||||
@@ -679,7 +752,7 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
ocisServer(storage, accounts_hash_difficulty, [stepVolumeOC10Tests]) + [
|
||||
{
|
||||
"name": "WebUIAcceptanceTests",
|
||||
"image": "webhippie/nodejs:latest",
|
||||
"image": "owncloudci/nodejs:14",
|
||||
"pull": "always",
|
||||
"environment": {
|
||||
"SERVER_HOST": "https://ocis-server:9200",
|
||||
@@ -692,7 +765,6 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
|
||||
"WEB_PATH": "/srv/app/web",
|
||||
"FEATURE_PATH": "/drone/src/settings/ui/tests/acceptance/features",
|
||||
"OCIS_SETTINGS_STORE": "/srv/app/tmp/ocis/settings",
|
||||
},
|
||||
"commands": [
|
||||
". /drone/src/.drone.env",
|
||||
@@ -712,28 +784,14 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
"path": "/uploads",
|
||||
}],
|
||||
},
|
||||
],
|
||||
] + buildGithubCommentForBuildStopped("settingsUITests", earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
|
||||
"services": [
|
||||
{
|
||||
"name": "redis",
|
||||
"image": "webhippie/redis",
|
||||
"image": "redis:6-alpine",
|
||||
"pull": "always",
|
||||
"environment": {
|
||||
"REDIS_DATABASES": 1,
|
||||
},
|
||||
},
|
||||
{
|
||||
"name": "selenium",
|
||||
"image": "selenium/standalone-chrome-debug:3.141.59-20200326",
|
||||
"pull": "always",
|
||||
"volumes": [
|
||||
{
|
||||
"name": "uploads",
|
||||
"path": "/uploads",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
] + selenium(),
|
||||
"volumes": [stepVolumeOC10Tests] +
|
||||
[{
|
||||
"name": "uploads",
|
||||
@@ -749,6 +807,83 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
|
||||
},
|
||||
}
|
||||
|
||||
def stopBuild(earlyFail):
|
||||
if (earlyFail):
|
||||
return [{
|
||||
"name": "stop-build",
|
||||
"image": "drone/cli:alpine",
|
||||
"pull": "always",
|
||||
"environment": {
|
||||
"DRONE_SERVER": "https://drone.owncloud.com",
|
||||
"DRONE_TOKEN": {
|
||||
"from_secret": "drone_token",
|
||||
},
|
||||
},
|
||||
"commands": [
|
||||
"drone build stop owncloud/ocis ${DRONE_BUILD_NUMBER}",
|
||||
],
|
||||
"when": {
|
||||
"status": [
|
||||
"failure",
|
||||
],
|
||||
"event": [
|
||||
"pull_request",
|
||||
],
|
||||
},
|
||||
}]
|
||||
|
||||
else:
|
||||
return []
|
||||
|
||||
def buildGithubCommentForBuildStopped(alternateSuiteName, earlyFail):
|
||||
if (earlyFail):
|
||||
return [{
|
||||
"name": "build-github-comment-buildStop",
|
||||
"image": "owncloud/ubuntu:16.04",
|
||||
"pull": "always",
|
||||
"commands": [
|
||||
'echo "<details><summary>:boom: Acceptance tests <strong>%s</strong> failed. The build is cancelled...</summary>\\n\\n" >> /drone/src/comments.file' % alternateSuiteName,
|
||||
],
|
||||
"when": {
|
||||
"status": [
|
||||
"failure",
|
||||
],
|
||||
"event": [
|
||||
"pull_request",
|
||||
],
|
||||
},
|
||||
}]
|
||||
|
||||
else:
|
||||
return []
|
||||
|
||||
def githubComment(earlyFail):
|
||||
if (earlyFail):
|
||||
return [{
|
||||
"name": "github-comment",
|
||||
"image": "jmccann/drone-github-comment:1",
|
||||
"pull": "if-not-exists",
|
||||
"settings": {
|
||||
"message_file": "/drone/src/comments.file",
|
||||
},
|
||||
"environment": {
|
||||
"GITHUB_TOKEN": {
|
||||
"from_secret": "github_token",
|
||||
},
|
||||
},
|
||||
"when": {
|
||||
"status": [
|
||||
"failure",
|
||||
],
|
||||
"event": [
|
||||
"pull_request",
|
||||
],
|
||||
},
|
||||
}]
|
||||
|
||||
else:
|
||||
return []
|
||||
|
||||
def dockerReleases(ctx):
|
||||
pipelines = []
|
||||
for arch in config["dockerReleases"]["architectures"]:
|
||||
@@ -1385,7 +1520,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = []):
|
||||
"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": "warn",
|
||||
"OCIS_LOG_LEVEL": "error",
|
||||
"SETTINGS_DATA_PATH": "/srv/app/tmp/ocis/settings",
|
||||
}
|
||||
|
||||
@@ -1483,6 +1618,8 @@ def example_deploys(ctx):
|
||||
"ocis_keycloak/latest.yml",
|
||||
"ocis_traefik/latest.yml",
|
||||
"ocis_wopi/latest.yml",
|
||||
"ocis_hello/latest.yml",
|
||||
"ocis_s3/latest.yml",
|
||||
]
|
||||
released_configs = [
|
||||
"cs3_users_ocis/released.yml",
|
||||
|
||||
+4
-1
@@ -1,2 +1,5 @@
|
||||
/onlyoffice/ @LukasHirt
|
||||
/accounts/ @kulmann @pascalwengerter
|
||||
/onlyoffice/ @kulmann @pascalwengerter
|
||||
/settings/ @kulmann @pascalwengerter
|
||||
/web/ @kulmann @pascalwengerter
|
||||
.drone.star @wkloucek @micbar @phil-davis @individual-it
|
||||
@@ -1,9 +1,9 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "gomod"
|
||||
directory: "/ocis"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 2
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
|
||||
@@ -29,6 +29,8 @@ teams:
|
||||
permission: admin
|
||||
- name: employees
|
||||
permission: push
|
||||
- name: cern
|
||||
permission: triage
|
||||
|
||||
branches:
|
||||
- name: master
|
||||
|
||||
@@ -7,6 +7,7 @@ daysUntilClose: 10
|
||||
exemptLabels:
|
||||
- "Type:Bug"
|
||||
- "Type:Technical-Debt"
|
||||
- "Category:Research"
|
||||
# Label to use when marking an issue as stale
|
||||
staleLabel: "Status:Stale"
|
||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||
|
||||
+5
-11
@@ -16,9 +16,7 @@ else
|
||||
GOBUILD ?= go build
|
||||
endif
|
||||
|
||||
PACKAGES ?= $(shell go list ./...)
|
||||
SOURCES ?= $(shell find . -name "*.go" -type f -not -path "./node_modules/*")
|
||||
GENERATE ?= $(PACKAGES)
|
||||
|
||||
TAGS ?=
|
||||
|
||||
@@ -42,8 +40,9 @@ ifndef DATE
|
||||
DATE := $(shell date -u '+%Y%m%d')
|
||||
endif
|
||||
|
||||
LDFLAGS += -s -w -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
|
||||
DEBUG_LDFLAGS += -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
|
||||
LDFLAGS += -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn -s -w -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
|
||||
DEBUG_LDFLAGS += -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
|
||||
|
||||
GCFLAGS += all=-N -l
|
||||
|
||||
.PHONY: all
|
||||
@@ -77,16 +76,11 @@ ci-golangci-lint: $(GOLANGCI_LINT)
|
||||
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E golint -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME) --timeout 10m0s --issues-exit-code 0 --out-format checkstyle > checkstyle.xml
|
||||
|
||||
.PHONY: test
|
||||
test: $(GOVERAGE)
|
||||
@echo
|
||||
@echo
|
||||
@echo "$(NAME): test"
|
||||
@echo
|
||||
@$(GOVERAGE) -v -coverprofile coverage.out $(PACKAGES)
|
||||
test:
|
||||
@go test -v -coverprofile coverage.out ./...
|
||||
|
||||
.PHONY: go-coverage
|
||||
go-coverage:
|
||||
@echo "$(NAME): go-coverage"
|
||||
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
|
||||
@go tool cover -func coverage.out | tail -1 | grep -Eo "[0-9]+\.[0-9]+"
|
||||
|
||||
|
||||
+487
-1
@@ -2,7 +2,493 @@
|
||||
|
||||
The following sections list the changes for unreleased.
|
||||
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v1.5.0...master
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v1.10.0...master
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Specify primary user type for all accounts: [#2364](https://github.com/owncloud/ocis/pull/2364)
|
||||
* Bugfix - Fix naming of the user- and groupprovider services: [#2388](https://github.com/owncloud/ocis/pull/2388)
|
||||
* Change - Update ownCloud Web to v4.1.0: [#2426](https://github.com/owncloud/ocis/pull/2426)
|
||||
* Enhancement - Use non root user for the owncloud/ocis docker image: [#2380](https://github.com/owncloud/ocis/pull/2380)
|
||||
* Enhancement - Replace unmaintained jwt library: [#2386](https://github.com/owncloud/ocis/pull/2386)
|
||||
* Enhancement - Update bleve to version 2.1.0: [#2391](https://github.com/owncloud/ocis/pull/2391)
|
||||
* Enhancement - Update github.com/coreos/go-oidc to v3.0.0: [#2393](https://github.com/owncloud/ocis/pull/2393)
|
||||
* Enhancement - Update reva to v1.12: [#2423](https://github.com/owncloud/ocis/pull/2423)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Specify primary user type for all accounts: [#2364](https://github.com/owncloud/ocis/pull/2364)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2364
|
||||
|
||||
* Bugfix - Fix naming of the user- and groupprovider services: [#2388](https://github.com/owncloud/ocis/pull/2388)
|
||||
|
||||
The services are called "storage-userprovider" and "storage-groupprovider". The 'ocis
|
||||
help' output was misleading.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2388
|
||||
|
||||
* Change - Update ownCloud Web to v4.1.0: [#2426](https://github.com/owncloud/ocis/pull/2426)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v4.1.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2426
|
||||
https://github.com/owncloud/web/releases/tag/v4.1.0
|
||||
|
||||
* Enhancement - Use non root user for the owncloud/ocis docker image: [#2380](https://github.com/owncloud/ocis/pull/2380)
|
||||
|
||||
The owncloud/ocis docker image now uses a non root user and enables you to set a different user
|
||||
with the docker `--user` parameter. The default user has the UID 1000 is part of a group with the
|
||||
GID 1000.
|
||||
|
||||
This is a breaking change for existing docker deployments. The permission on the files and
|
||||
folders in persistent volumes need to be changed to the UID and GID used for oCIS (default
|
||||
1000:1000 if not changed by the user).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2380
|
||||
|
||||
* Enhancement - Replace unmaintained jwt library: [#2386](https://github.com/owncloud/ocis/pull/2386)
|
||||
|
||||
The old library [github.com/dgrijalva/jwt-go](https://github.com/dgrijalva/jwt-go)
|
||||
is unmaintained and was replaced by the community maintained fork
|
||||
[github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2386
|
||||
|
||||
* Enhancement - Update bleve to version 2.1.0: [#2391](https://github.com/owncloud/ocis/pull/2391)
|
||||
|
||||
Updated bleve to the current version.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2391
|
||||
|
||||
* Enhancement - Update github.com/coreos/go-oidc to v3.0.0: [#2393](https://github.com/owncloud/ocis/pull/2393)
|
||||
|
||||
Updated the github.com/coreos/go-oidc library to the version 3.0.0.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2393
|
||||
|
||||
* Enhancement - Update reva to v1.12: [#2423](https://github.com/owncloud/ocis/pull/2423)
|
||||
|
||||
* Enhancement cs3org/reva#1803: Introduce new webdav spaces endpoint
|
||||
* Bugfix cs3org/reva#1819: Disable notifications
|
||||
* Enhancement cs3org/reva#1861: Add support for runtime plugins
|
||||
* Bugfix cs3org/reva#1913: Logic to restore files to readonly nodes
|
||||
* Enhancement cs3org/reva#1946: Add share manager that connects to oc10 databases
|
||||
* Bugfix cs3org/reva#1954: Fix response format of the sharees API
|
||||
* Bugfix cs3org/reva#1956: Fix trashbin listing with depth 0
|
||||
* Bugfix cs3org/reva#1957: Fix etag propagation on deletes
|
||||
* Bugfix cs3org/reva#1960: Return the updated share after updating
|
||||
* Bugfix cs3org/reva#1965 cs3org/reva#1967: Fix the file target of user and group shares
|
||||
* Bugfix cs3org/reva#1980: Propagate the etag after restoring a file version
|
||||
* Enhancement cs3org/reva#1984: Replace OpenCensus with OpenTelemetry
|
||||
* Bugfix cs3org/reva#1985: Add quota stubs
|
||||
* Bugfix cs3org/reva#1987: Fix windows build
|
||||
* Bugfix cs3org/reva#1990: Increase oc10 compatibility of owncloudsql
|
||||
* Bugfix cs3org/reva#1992: Check if symlink exists instead of spamming the console
|
||||
* Bugfix cs3org/reva#1993: fix owncloudsql GetMD
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2423
|
||||
# Changelog for [1.10.0] (2021-08-06)
|
||||
|
||||
The following sections list the changes for 1.10.0.
|
||||
|
||||
[1.10.0]: https://github.com/owncloud/ocis/compare/v1.9.0...v1.10.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Improve IDP Login Accessibility: [#5376](https://github.com/owncloud/web/issues/5376)
|
||||
* Bugfix - Forward basic auth to OpenID connect token authentication endpoint: [#2095](https://github.com/owncloud/ocis/issues/2095)
|
||||
* Bugfix - Log all requests in the proxy access log: [#2301](https://github.com/owncloud/ocis/pull/2301)
|
||||
* Bugfix - Update glauth to 20210729125545-b9aecdfcac31: [#2336](https://github.com/owncloud/ocis/pull/2336)
|
||||
* Change - Update ownCloud Web to v4.0.0: [#2353](https://github.com/owncloud/ocis/pull/2353)
|
||||
* Enhancement - Proxy: Add claims policy selector: [#2248](https://github.com/owncloud/ocis/pull/2248)
|
||||
* Enhancement - Add ocs cache warmup config and warn on protobuf ns conflicts: [#2328](https://github.com/owncloud/ocis/pull/2328)
|
||||
* Enhancement - Refactor graph API: [#2277](https://github.com/owncloud/ocis/pull/2277)
|
||||
* Enhancement - Update REVA: [#2355](https://github.com/owncloud/ocis/pull/2355)
|
||||
* Enhancement - Use only one go.mod file for project dependencies: [#2344](https://github.com/owncloud/ocis/pull/2344)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Improve IDP Login Accessibility: [#5376](https://github.com/owncloud/web/issues/5376)
|
||||
|
||||
We have addressed the feedback from the `a11y` audit and improved the IDP login screen
|
||||
accordingly.
|
||||
|
||||
https://github.com/owncloud/web/issues/5376
|
||||
https://github.com/owncloud/web/issues/5377
|
||||
|
||||
* Bugfix - Forward basic auth to OpenID connect token authentication endpoint: [#2095](https://github.com/owncloud/ocis/issues/2095)
|
||||
|
||||
When using `PROXY_ENABLE_BASIC_AUTH=true` we now forward request to the idp instead of
|
||||
trying to authenticate the request ourself.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/2095
|
||||
https://github.com/owncloud/ocis/issues/2094
|
||||
|
||||
* Bugfix - Log all requests in the proxy access log: [#2301](https://github.com/owncloud/ocis/pull/2301)
|
||||
|
||||
We now use a dedicated middleware to log all requests, regardless of routing selector outcome.
|
||||
While the log now includes the remote address, the selected routing policy is only logged when
|
||||
log level is set to debug because the request context cannot be changed in the
|
||||
`directorSelectionDirector`, as per the `ReverseProxy.Director` documentation.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2301
|
||||
|
||||
* Bugfix - Update glauth to 20210729125545-b9aecdfcac31: [#2336](https://github.com/owncloud/ocis/pull/2336)
|
||||
|
||||
* Fixes the backend config not being passed correctly in ocis
|
||||
* Fixes a mutex being copied, leading to concurrent writes
|
||||
* Fixes UTF8 chars in filters
|
||||
* Fixes case insensitive strings
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2336
|
||||
https://github.com/glauth/glauth/pull/198
|
||||
https://github.com/glauth/glauth/pull/194
|
||||
|
||||
* Change - Update ownCloud Web to v4.0.0: [#2353](https://github.com/owncloud/ocis/pull/2353)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v4.0.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2353
|
||||
https://github.com/owncloud/web/releases/tag/v4.0.0
|
||||
|
||||
* Enhancement - Proxy: Add claims policy selector: [#2248](https://github.com/owncloud/ocis/pull/2248)
|
||||
|
||||
Using the proxy config file, it is now possible to let let the IdP determine the routing policy by
|
||||
sending an `ocis.routing.policy` claim. Its value will be used to determine the set of routes
|
||||
for the logged in user.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2248
|
||||
|
||||
* Enhancement - Add ocs cache warmup config and warn on protobuf ns conflicts: [#2328](https://github.com/owncloud/ocis/pull/2328)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2328
|
||||
|
||||
* Enhancement - Refactor graph API: [#2277](https://github.com/owncloud/ocis/pull/2277)
|
||||
|
||||
We refactored the `/graph/v1.0/` endpoint which now relies on the internal acces token fer
|
||||
authentication, getting rid of any LDAP or OIDC code to authenticate requests. This allows
|
||||
using the graph api when using basic auth or any other auth mechanism provided by the CS3 auth
|
||||
providers / reva gateway / ocis proxy.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2277
|
||||
|
||||
* Enhancement - Update REVA: [#2355](https://github.com/owncloud/ocis/pull/2355)
|
||||
|
||||
Update REVA from v1.10.1-0.20210730095301-fcb7a30a44a6 to
|
||||
v1.11.1-0.20210809134415-3fe79c870fb5 * Fix cs3org/reva#1978: Fix owner type is optional
|
||||
* Fix cs3org/reva#1965: fix value of file_target in shares * Fix cs3org/reva#1960: fix
|
||||
updating shares in the memory share manager * Fix cs3org/reva#1956: fix trashbin listing with
|
||||
depth 0 * Fix cs3org/reva#1957: fix etag propagation on deletes * Enh cs3org/reva#1861: [WIP]
|
||||
Runtime plugins * Fix cs3org/reva#1954: fix response format of the sharees API * Fix
|
||||
cs3org/reva#1819: Remove notifications key from ocs response * Enh cs3org/reva#1946: Add a
|
||||
share manager that connects to oc10 databases * Fix cs3org/reva#1899: Fix chunked uploads for
|
||||
new versions * Fix cs3org/reva#1906: Fix copy over existing resource * Fix cs3org/reva#1891:
|
||||
Delete Shared Resources as Receiver * Fix cs3org/reva#1907: Error when creating folder with
|
||||
existing name * Fix cs3org/reva#1937: Do not overwrite more specific matches when finding
|
||||
storage providers * Fix cs3org/reva#1939: Fix the share jail permissions in the decomposedfs
|
||||
* Fix cs3org/reva#1932: Numerous fixes to the owncloudsql storage driver * Fix
|
||||
cs3org/reva#1912: Fix response when listing versions of another user * Fix
|
||||
cs3org/reva#1910: Get user groups recursively in the cbox rest user driver * Fix
|
||||
cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the datagateway * Fix
|
||||
cs3org/reva#1911: Fix version order in propfind responses * Fix cs3org/reva#1926: Trash Bin
|
||||
in oCIS Storage Operations * Fix cs3org/reva#1901: Fix response code when folder doesnt exist
|
||||
on upload * Enh cs3org/reva#1785: Extend app registry with AddProvider method and mimetype
|
||||
filters * Enh cs3org/reva#1938: Add methods to get and put context values * Enh
|
||||
cs3org/reva#1798: Add support for a deny-all permission on references * Enh
|
||||
cs3org/reva#1916: Generate updated protobuf bindings for EOS GRPC * Enh cs3org/reva#1887:
|
||||
Add "a" and "l" filter for grappa queries * Enh cs3org/reva#1919: Run gofmt before building *
|
||||
Enh cs3org/reva#1927: Implement RollbackToVersion for eosgrpc (needs a newer EOS MGM) * Enh
|
||||
cs3org/reva#1944: Implement listing supported mime types in app registry * Enh
|
||||
cs3org/reva#1870: Be defensive about wrongly quoted etags * Enh cs3org/reva#1940: Reduce
|
||||
memory usage when uploading with S3ng storage * Enh cs3org/reva#1888: Refactoring of the
|
||||
webdav code * Enh cs3org/reva#1900: Check for illegal names while uploading or moving files *
|
||||
Enh cs3org/reva#1925: Refactor listing and statting across providers for virtual views * Fix
|
||||
cs3org/reva#1883: Pass directories with trailing slashes to eosclient.GenerateToken * Fix
|
||||
cs3org/reva#1878: Improve the webdav error handling in the trashbin * Fix cs3org/reva#1884:
|
||||
Do not send body on failed range request * Enh cs3org/reva#1744: Add support for lightweight
|
||||
user types * Fix cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the
|
||||
datagateway * Fix cs3org/reva#1899: Bugfix: Fix chunked uploads for new versions * Enh
|
||||
cs3org/reva#1888: Refactoring of the webdav code * Enh cs3org/reva#1887: Add "a" and "l"
|
||||
filter for grappa queries
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2355
|
||||
https://github.com/owncloud/ocis/pull/2295
|
||||
https://github.com/owncloud/ocis/pull/2314
|
||||
|
||||
* Enhancement - Use only one go.mod file for project dependencies: [#2344](https://github.com/owncloud/ocis/pull/2344)
|
||||
|
||||
We now use one single go.mod file at the root of the repository rather than one per core
|
||||
extension.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2344
|
||||
# Changelog for [1.9.0] (2021-07-13)
|
||||
|
||||
The following sections list the changes for 1.9.0.
|
||||
|
||||
[1.9.0]: https://github.com/owncloud/ocis/compare/v1.8.0...v1.9.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Panic when service fails to start: [#2252](https://github.com/owncloud/ocis/pull/2252)
|
||||
* Bugfix - Dont use port 80 as debug for GroupsProvider: [#2271](https://github.com/owncloud/ocis/pull/2271)
|
||||
* Change - Update ownCloud Web to v3.4.0: [#2276](https://github.com/owncloud/ocis/pull/2276)
|
||||
* Change - Update WEB to v3.4.1: [#2283](https://github.com/owncloud/ocis/pull/2283)
|
||||
* Enhancement - Runtime support for cherry picking extensions: [#2229](https://github.com/owncloud/ocis/pull/2229)
|
||||
* Enhancement - Add readonly mode for storagehome and storageusers: [#2230](https://github.com/owncloud/ocis/pull/2230)
|
||||
* Enhancement - Remove unnecessary Service.Init(): [#1705](https://github.com/owncloud/ocis/pull/1705)
|
||||
* Enhancement - Update REVA to v1.9.1-0.20210628143859-9d29c36c0c3f: [#2227](https://github.com/owncloud/ocis/pull/2227)
|
||||
* Enhancement - Update REVA to v1.9.1: [#2280](https://github.com/owncloud/ocis/pull/2280)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Panic when service fails to start: [#2252](https://github.com/owncloud/ocis/pull/2252)
|
||||
|
||||
Tags: runtime
|
||||
|
||||
When attempting to run a service through the runtime that is currently running and fails to
|
||||
start, a race condition still redirect os Interrupt signals to a closed channel.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2252
|
||||
|
||||
* Bugfix - Dont use port 80 as debug for GroupsProvider: [#2271](https://github.com/owncloud/ocis/pull/2271)
|
||||
|
||||
A copy/paste error where the configuration for the groupsprovider's debug address was not
|
||||
present leaves go-micro to start the debug service in port 80 by default.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2271
|
||||
|
||||
* Change - Update ownCloud Web to v3.4.0: [#2276](https://github.com/owncloud/ocis/pull/2276)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v3.4.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2276
|
||||
https://github.com/owncloud/web/releases/tag/v3.4.0
|
||||
|
||||
* Change - Update WEB to v3.4.1: [#2283](https://github.com/owncloud/ocis/pull/2283)
|
||||
|
||||
* Fix [5501](https://github.com/owncloud/web/pull/5501): loading previews in the right sidebar
|
||||
* Fix [5493](https://github.com/owncloud/web/pull/5493): view options position
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2283
|
||||
https://github.com/owncloud/web/releases/tag/v3.4.1
|
||||
|
||||
* Enhancement - Runtime support for cherry picking extensions: [#2229](https://github.com/owncloud/ocis/pull/2229)
|
||||
|
||||
Support for running certain extensions supervised via cli flags. Example usage:
|
||||
|
||||
``` > ocis server --extensions="proxy, idp, storage-metadata, accounts" ```
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2229
|
||||
|
||||
* Enhancement - Add readonly mode for storagehome and storageusers: [#2230](https://github.com/owncloud/ocis/pull/2230)
|
||||
|
||||
To enable the readonly mode use `STORAGE_HOME_READ_ONLY=true` and
|
||||
`STORAGE_USERS_READ_ONLY=true`. Alternative: use `OCIS_STORAGE_READ_ONLY=true`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2230
|
||||
|
||||
* Enhancement - Remove unnecessary Service.Init(): [#1705](https://github.com/owncloud/ocis/pull/1705)
|
||||
|
||||
As it turns out oCIS already calls this method. Invoking it twice would end in accidentally
|
||||
resetting values.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1705
|
||||
|
||||
* Enhancement - Update REVA to v1.9.1-0.20210628143859-9d29c36c0c3f: [#2227](https://github.com/owncloud/ocis/pull/2227)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2227
|
||||
|
||||
* Enhancement - Update REVA to v1.9.1: [#2280](https://github.com/owncloud/ocis/pull/2280)
|
||||
|
||||
* Fix cs3org/reva#1843: Correct Dockerfile path for the reva CLI and alpine3.13 as builder
|
||||
* Fix cs3org/reva#1835: Cleanup owncloudsql driver
|
||||
* Fix cs3org/reva#1868: Minor fixes to the grpc/http plugin: checksum, url escaping
|
||||
* Fix cs3org/reva#1885: Fix template in eoshomewrapper to use context user rather than resource
|
||||
* Fix cs3org/reva#1833: Properly handle name collisions for deletes in the owncloud driver
|
||||
* Fix cs3org/reva#1874: Use the original file mtime during upload
|
||||
* Fix cs3org/reva#1854: Add the uid/gid to the url for eos
|
||||
* Fix cs3org/reva#1848: Fill in missing gid/uid number with nobody
|
||||
* Fix cs3org/reva#1831: Make the ocm-provider endpoint in the ocmd service unprotected
|
||||
* Fix cs3org/reva#1808: Use empty array in OCS Notifications endpoints
|
||||
* Fix cs3org/reva#1825: Raise max grpc message size
|
||||
* Fix cs3org/reva#1828: Send a proper XML header with error messages
|
||||
* Chg cs3org/reva#1828: Remove the oidc provider in order to upgrad mattn/go-sqlite3 to v1.14.7
|
||||
* Enh cs3org/reva#1834: Add API key to Mentix GOCDB connector
|
||||
* Enh cs3org/reva#1855: Minor optimization in parsing EOS ACLs
|
||||
* Enh cs3org/reva#1873: Update the EOS image tag to be for revad-eos image
|
||||
* Enh cs3org/reva#1802: Introduce list spaces
|
||||
* Enh cs3org/reva#1849: Add readonly interceptor
|
||||
* Enh cs3org/reva#1875: Simplify resource comparison
|
||||
* Enh cs3org/reva#1827: Support trashbin sub paths in the recycle API
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2280
|
||||
# Changelog for [1.8.0] (2021-06-28)
|
||||
|
||||
The following sections list the changes for 1.8.0.
|
||||
|
||||
[1.8.0]: https://github.com/owncloud/ocis/compare/v1.7.0...v1.8.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - External storage registration used wrong config: [#2120](https://github.com/owncloud/ocis/pull/2120)
|
||||
* Bugfix - Remove authentication from /status.php completely: [#2188](https://github.com/owncloud/ocis/pull/2188)
|
||||
* Bugfix - Make webdav namespace configurable across services: [#2198](https://github.com/owncloud/ocis/pull/2198)
|
||||
* Change - Update ownCloud Web to v3.3.0: [#2187](https://github.com/owncloud/ocis/pull/2187)
|
||||
* Enhancement - Properly configure graph-explorer client registration: [#2118](https://github.com/owncloud/ocis/pull/2118)
|
||||
* Enhancement - Use system default location to store TLS artefacts: [#2129](https://github.com/owncloud/ocis/pull/2129)
|
||||
* Enhancement - Update REVA to v1.9: [#2205](https://github.com/owncloud/ocis/pull/2205)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - External storage registration used wrong config: [#2120](https://github.com/owncloud/ocis/pull/2120)
|
||||
|
||||
The go-micro registry-singleton ignores the ocis configuration and defaults to mdns
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2120
|
||||
|
||||
* Bugfix - Remove authentication from /status.php completely: [#2188](https://github.com/owncloud/ocis/pull/2188)
|
||||
|
||||
Despite requests without Authentication header being successful, requests with an invalid
|
||||
bearer token in the Authentication header were rejected in the proxy with an 401
|
||||
unauthenticated. Now the Authentication header is completely ignored for the /status.php
|
||||
route.
|
||||
|
||||
https://github.com/owncloud/client/issues/8538
|
||||
https://github.com/owncloud/ocis/pull/2188
|
||||
|
||||
* Bugfix - Make webdav namespace configurable across services: [#2198](https://github.com/owncloud/ocis/pull/2198)
|
||||
|
||||
The WebDAV namespace is used across various services, but it was previously hardcoded in some
|
||||
of the services. This PR uses the same environment variable to set the config correctly across
|
||||
the services.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2198
|
||||
|
||||
* Change - Update ownCloud Web to v3.3.0: [#2187](https://github.com/owncloud/ocis/pull/2187)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v3.3.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2187
|
||||
https://github.com/owncloud/web/releases/tag/v3.3.0
|
||||
|
||||
* Enhancement - Properly configure graph-explorer client registration: [#2118](https://github.com/owncloud/ocis/pull/2118)
|
||||
|
||||
The client registration in the `identifier-registration.yaml` for the graph-explorer
|
||||
didn't contain `redirect_uris` nor `origins`. Both were added to prevent exploitation.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2118
|
||||
|
||||
* Enhancement - Use system default location to store TLS artefacts: [#2129](https://github.com/owncloud/ocis/pull/2129)
|
||||
|
||||
This used to default to the current location of the binary, which is not ideal after a first run as
|
||||
it leaves traces behind. It now uses the system's location for artefacts with the help of
|
||||
https://golang.org/pkg/os/#UserConfigDir.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2129
|
||||
|
||||
* Enhancement - Update REVA to v1.9: [#2205](https://github.com/owncloud/ocis/pull/2205)
|
||||
|
||||
This update includes * [set Content-Type
|
||||
correctly](https://github.com/cs3org/reva/pull/1750) * [Return file checksum
|
||||
available from the metadata for the EOS
|
||||
driver](https://github.com/cs3org/reva/pull/1755) * [Sort share entries
|
||||
alphabetically](https://github.com/cs3org/reva/pull/1772) * [Initial work on the
|
||||
owncloudsql driver](https://github.com/cs3org/reva/pull/1710) * [Add user ID cache
|
||||
warmup to EOS storage driver](https://github.com/cs3org/reva/pull/1774) * [Use
|
||||
UidNumber and GidNumber fields in User
|
||||
objects](https://github.com/cs3org/reva/pull/1573) * [EOS GRPC
|
||||
interface](https://github.com/cs3org/reva/pull/1471) * [switch
|
||||
references](https://github.com/cs3org/reva/pull/1721) * [remove user's uuid from
|
||||
trashbin file key](https://github.com/cs3org/reva/pull/1793) * [fix restore behavior of
|
||||
the trashbin API](https://github.com/cs3org/reva/pull/1795) * [eosfs: add arbitrary
|
||||
metadata support](https://github.com/cs3org/reva/pull/1811)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2205
|
||||
https://github.com/owncloud/ocis/pull/2210
|
||||
# Changelog for [1.7.0] (2021-06-04)
|
||||
|
||||
The following sections list the changes for 1.7.0.
|
||||
|
||||
[1.7.0]: https://github.com/owncloud/ocis/compare/v1.6.0...v1.7.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Change the groups index to be case sensitive: [#2109](https://github.com/owncloud/ocis/pull/2109)
|
||||
* Change - Update ownCloud Web to v3.2.0: [#2096](https://github.com/owncloud/ocis/pull/2096)
|
||||
* Enhancement - Enable the s3ng storage driver: [#1886](https://github.com/owncloud/ocis/pull/1886)
|
||||
* Enhancement - Color contrasts on IDP/OIDC login pages: [#2088](https://github.com/owncloud/ocis/pull/2088)
|
||||
* Enhancement - Announce user profile picture capability: [#2036](https://github.com/owncloud/ocis/pull/2036)
|
||||
* Enhancement - Update reva to v1.7.1-0.20210531093513-b74a2b156af6: [#2104](https://github.com/owncloud/ocis/pull/2104)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Change the groups index to be case sensitive: [#2109](https://github.com/owncloud/ocis/pull/2109)
|
||||
|
||||
Groups are considered to be case sensitive. The index must handle them case sensitive too
|
||||
otherwise we will have undeterministic behavior while editing or deleting groups.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2109
|
||||
|
||||
* Change - Update ownCloud Web to v3.2.0: [#2096](https://github.com/owncloud/ocis/pull/2096)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v3.2.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2096
|
||||
https://github.com/owncloud/web/releases/tag/v3.2.0
|
||||
|
||||
* Enhancement - Enable the s3ng storage driver: [#1886](https://github.com/owncloud/ocis/pull/1886)
|
||||
|
||||
We made it possible to use the new s3ng storage driver by adding according commandline flags and
|
||||
environment variables.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1886
|
||||
|
||||
* Enhancement - Color contrasts on IDP/OIDC login pages: [#2088](https://github.com/owncloud/ocis/pull/2088)
|
||||
|
||||
We have updated the color contrasts on the IDP pages in order to improve accessibility.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2088
|
||||
|
||||
* Enhancement - Announce user profile picture capability: [#2036](https://github.com/owncloud/ocis/pull/2036)
|
||||
|
||||
Added a new capability (through https://github.com/cs3org/reva/pull/1694) to prevent the
|
||||
web frontend from fetching (nonexistent) user avatar profile pictures which added latency &
|
||||
console errors.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2036
|
||||
|
||||
* Enhancement - Update reva to v1.7.1-0.20210531093513-b74a2b156af6: [#2104](https://github.com/owncloud/ocis/pull/2104)
|
||||
|
||||
This reva update includes: * [fix move in the owncloud storage
|
||||
driver](https://github.com/cs3org/reva/pull/1696) * [add checksum header to the tus
|
||||
preflight response](https://github.com/cs3org/reva/pull/1702) * [Add reliability
|
||||
calculations support to Mentix](https://github.com/cs3org/reva/pull/1649) * [fix
|
||||
response format when accepting shares](https://github.com/cs3org/reva/pull/1724) *
|
||||
[Datatx createtransfershare](https://github.com/cs3org/reva/pull/1725)
|
||||
|
||||
https://github.com/owncloud/ocis/issues/2102
|
||||
https://github.com/owncloud/ocis/pull/2104
|
||||
# Changelog for [1.6.0] (2021-05-12)
|
||||
|
||||
The following sections list the changes for 1.6.0.
|
||||
|
||||
[1.6.0]: https://github.com/owncloud/ocis/compare/v1.5.0...v1.6.0
|
||||
|
||||
## Summary
|
||||
|
||||
|
||||
+263
@@ -0,0 +1,263 @@
|
||||
First of all, thank you for taking the time to read this and your interest in contributing to ownCloud Infinite Scale!
|
||||
|
||||
The following is a set of guidelines for contributing to most of the projects hosted in the [ownCloud Organization](https://github.com/owncloud) on [GitHub](https://www.github.com). These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
|
||||
|
||||
For simplicity reasons, this document mostly refers to the ownCloud [Infinite Scale project](https://www.github.com/owncloud/ocis), but it should be easily transferable to other (sub)projects.
|
||||
|
||||
#### Table Of Contents
|
||||
|
||||
[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 Company, Engineering Partners and Community](#owncloud-company,-engineering-partners-and-community)
|
||||
* [Licensing and CLA](#licensing-and-cla)
|
||||
|
||||
[How Can I Contribute](#how-can-i-contribute)
|
||||
* [Help spreading the word](#help-spreading-the-word)
|
||||
* [Reporting Bugs](#reporting-bugs)
|
||||
* [Suggesting Enhancements](#suggesting-enhancements)
|
||||
* [Your First Code Contribution](#your-first-code-contribution)
|
||||
* [Pull Requests](#pull-requests)
|
||||
* [Documentation Contributions](#documentation-contributions)
|
||||
* [Internationalization](#internationalization)
|
||||
* [Deployments: Docker, Ansible and friends](#deployments-docker-ansible-and-friends)
|
||||
|
||||
[Styleguides](#styleguides)
|
||||
* [Git Commit Messages](#git-commit-messages)
|
||||
* [Golang Styleguide](#golang-styleguide)
|
||||
* [Web Styleguide](#web-styleguide)
|
||||
* [Documentation Styleguide](#documentation-styleguide)
|
||||
|
||||
[Additional Notes](#additional-notes)
|
||||
* [Issue and Pull Request Labels](#issue-and-pull-request-labels)
|
||||
|
||||
## I don't want to read this whole thing I just have a question
|
||||
|
||||
> **Note:** Please don't file an issue to ask a question. You'll get faster results by using the resources below.
|
||||
|
||||
For general questions, please refer to [ownCloud's FAQs](https://owncloud.com/faq/) or ask on the [ownCloud Central Server](https://central.owncloud.org/).
|
||||
|
||||
We also have a [Rocket Chat Server](https://talk.owncloud.com/channel/ocis) to answer your questions specifically about ownCloud Infinite Scale.
|
||||
|
||||
## What should I know before I get started
|
||||
|
||||
### ownCloud is hosted on Github
|
||||
|
||||
To effectivly 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/).
|
||||
|
||||
### 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/).
|
||||
|
||||
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.
|
||||
|
||||
We as the full time devs from either organization are doing our best to listen, review and consider all changes that are brought forward following this guideline and make sense for the project.
|
||||
|
||||
### Licensing and CLA
|
||||
|
||||
We are very happy that there is *no CLA* required for most of the code of ownCloud Infinite Scale.
|
||||
|
||||
Currently, only for the following components you need to sign a [Contributors License Agreement](https://en.wikipedia.org/wiki/Contributor_License_Agreement):
|
||||
|
||||
* [ownCloud Web](https://github.com/owncloud/web/): [Link to CLA](https://owncloud.com/contribute/join-the-development/contributor-agreement/)
|
||||
|
||||
Please make sure to read and understand the details of the CLA before starting to invest time on a component that requires it. If you have any questions or concerns please feel free to raise them with us.
|
||||
|
||||
## How Can I Contribute
|
||||
|
||||
There are many ways to contribute to open source projects, and all are equally valuable and appreciated.
|
||||
|
||||
### Help spreading the word
|
||||
|
||||
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 is no formal guideline to this, just do it :-)
|
||||
|
||||
### Reporting Bugs
|
||||
|
||||
This section guides you through submitting a bug report for ownCloud Infinite Scale. Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behavior :computer: :computer:, and find related reports :mag_right:.
|
||||
|
||||
Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](https://github.com/owncloud/ocis/issues/new?Type%3ABug&template=bug_report.md), the information it asks for helps us resolve issues faster.
|
||||
|
||||
> **Note:** If you find a **Closed** issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one. If you have permission to reopen the issue, feel free to do so.
|
||||
|
||||
#### Before Submitting A Bug Report
|
||||
|
||||
* **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.
|
||||
|
||||
#### How Do I Submit A (Good) Bug Report
|
||||
|
||||
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined [which repository](https://github.com/owncloud) your bug is related to, create an issue on that repository and provide the following information by filling in [the template](https://github.com/owncloud/ocis/issues/new?Type%3ABug&template=bug_report.md).
|
||||
|
||||
Explain the problem and include additional details to help maintainers reproduce the problem:
|
||||
|
||||
* **Use a clear and descriptive title** for the issue to identify the problem.
|
||||
* **Describe the exact steps which reproduce the problem** in as many details as possible. Start with describing, from a user perspective, what you tried to achieve, i.e. "I want to share some pictures with Grandma". When listing steps, **don't just say what you did, but explain how you did it**. For example, if you uploaded a file to ownCloud, say which client you used, which way of uploading you chose, if the name was special somehow and how big it was.
|
||||
* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
|
||||
* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
|
||||
* **Explain which behavior you expected to see instead and why.**
|
||||
* **Include screenshots and animated GIFs** which show you following the described steps and clearly demonstrate the problem. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux.
|
||||
* **If you report a web browser related problem**, consider to using the browser's Web developer tools (such as the debugger, console or network monitor) to check what happened. Make sure to add screenshots of the utilities if you are short of time to interpret it.
|
||||
* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below.
|
||||
|
||||
Provide more context by answering these questions:
|
||||
|
||||
* **Did the problem start happening recently** (e.g. after updating to a new version) or was this always a problem?
|
||||
* If the problem started happening recently, **can you reproduce the problem in an older version?** What's the most recent version in which the problem doesn't happen? You can find more information about how to set up [test environments](https://owncloud.dev/ocis/development/testing/) in the [developer documentation](https://owncloud.dev/#developer-documentation).
|
||||
* **Can you reliably reproduce the issue?** If not, provide details about how often the problem happens and under which conditions it normally happens.
|
||||
|
||||
Include details about your configuration and environment as asked for in the template.
|
||||
|
||||
### Suggesting Enhancements
|
||||
|
||||
This section guides you through submitting an enhancement suggestion for ownCloud Infinite Scale, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion :pencil: and find related suggestions :mag_right:.
|
||||
|
||||
Before creating enhancement suggestions, please check [this list](#before-submitting-an-enhancement-suggestion) as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please [include as many details as possible](#how-do-i-submit-a-good-enhancement-suggestion). Fill in [the template](https://github.com/owncloud/ocis/.github/blob/master/.github/ISSUE_TEMPLATE/feature_request.md), including the steps that you imagine you would take if the feature you're requesting existed.
|
||||
|
||||
#### 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.
|
||||
|
||||
#### How Do I Submit A (Good) Enhancement Suggestion
|
||||
|
||||
Enhancement suggestions are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined [which repository](https://github.com/owncloud) your enhancement suggestion is related to, create an issue on that repository and provide the following information:
|
||||
|
||||
* **Use a clear and descriptive title** for the issue to identify the suggestion.
|
||||
* **Provide a step-by-step description of the suggested enhancement** in as many details as possible.
|
||||
* **Provide specific examples to demonstrate the steps**. Include copy/pasteable snippets which you use in those examples, as [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
|
||||
* **Explain why this enhancement would be useful** to most ownCloud users.
|
||||
* **List some other projects or products where this enhancement exists.**
|
||||
|
||||
### Your First Code Contribution
|
||||
|
||||
Unsure where to begin contributing to ownCloud? You can start by looking through these `Needs-help` issues:
|
||||
|
||||
* The [Good first issue](https://github.com/owncloud/ocis/labels/Topic%3Agood-first-issue) label marks good items to start with.
|
||||
* [Tests needed](https://github.com/owncloud/ocis/labels/Interaction%3ANeeds-tests) - issues which would benefit from a test.
|
||||
* [Help wanted issues](https://github.com/owncloud/ocis/labels/Interaction%3ANeeds-help) - issues which should be a bit more involved.
|
||||
|
||||
It is fine to pick one of the list following personal preference. While not perfect, number of comments is a reasonable proxy for impact a given change will have.
|
||||
|
||||
To find out how to set up ownCloud Infinite Scale for local development please refer to the [Developer Documentation](https://owncloud.dev/ocis/development/getting-started/). It contains a lot of information that will come in handy when starting to work on the project.
|
||||
|
||||
### Pull Requests
|
||||
|
||||
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:
|
||||
|
||||
* Follow all instructions in [the template](https://github.com/owncloud/ocis/blob/master/.github/pull_request_template.md)
|
||||
* Follow the [styleguides](#styleguides) where applicable
|
||||
* After you submit your pull request, verify that all [status checks](https://help.github.com/articles/about-status-checks/) are passing <details><summary>What if the status checks are failing?</summary>If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.</details>
|
||||
|
||||
While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.
|
||||
|
||||
### Documentation Contributions
|
||||
|
||||
ownCloud is very proud of the documentation it has, which is the work of a great team of people. Of course, also the documentation is open to contributions.
|
||||
|
||||
See the [Getting Started Guide](https://owncloud.dev/ocis/development/getting-started/) on how to get started. Other useful information is summarized in the [Documentation Readme](https://github.com/owncloud/docs).
|
||||
|
||||
### Internationalization
|
||||
|
||||
Our projects are getting translated into many languages to allow people from all over the world to use ownCloud in their native language. For translations, ownCloud uses [Transifex](https://www.transifex.com) as a community based collaboration platform for internationalization.
|
||||
|
||||
For contributions please refer to the [Transifex Resources](https://www.transifex.com/resources/) to learn how to improve ownClouds translations there.
|
||||
|
||||
### Deployments: Docker, Ansible and friends
|
||||
|
||||
Depending on the ownCloud component, there is complex deployment tooling to install in various environments. There is for example [ownCloud Ansible](https://github.com/owncloud-ansible) with Ansible resources. Contributions to that are very appreciated and follow the same guidelines as every other code contribution.
|
||||
|
||||
## 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.
|
||||
|
||||
### Git Commit Messages
|
||||
|
||||
* Use the present tense ("Add feature" not "Added feature")
|
||||
* Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
|
||||
* Limit the first line to 72 characters or less
|
||||
* Reference issues and pull requests liberally after the first line
|
||||
* When only changing documentation, include `[docs-only]` in the commit title
|
||||
|
||||
### 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.
|
||||
|
||||
### Web Styleguide
|
||||
|
||||
Refer to related documents in the [ownCloud Web Repository](https://github.com/owncloud/web).
|
||||
|
||||
#### Documentation Styleguide
|
||||
|
||||
See the [ownCloud Documentation Styleguide](https://github.com/owncloud/docs/blob/master/docs/style-guide.md).
|
||||
|
||||
## Additional Notes
|
||||
|
||||
### Issue and Pull Request Labels
|
||||
|
||||
This section lists the labels we use to help us track and manage issues and pull requests. Most labels are used across all ownCloud repositories, but some are specific.
|
||||
|
||||
[GitHub search](https://help.github.com/articles/searching-issues/) makes it easy to use labels for finding groups of issues or pull requests you're interested in. To help you find issues and pull requests, each label can be used in search links for finding open items with that label in the ownCloud repositories.
|
||||
|
||||
The labels are loosely grouped by their purpose, but it's not required that every issue has a label from every group or that an issue can't have more than one label from the same group.
|
||||
|
||||
The list here contains all the more general categories of issues which are followed by a colon and a specific value. For example severity 1 looks like `Severity:sev1-critical`.
|
||||
|
||||
#### Platform
|
||||
|
||||
Describes the platform the issue is happening on, ie. iOS or Windows.
|
||||
|
||||
#### Estimation
|
||||
|
||||
T-Shirt sizes for effort estimation to fix that bug or implement an enhancement. Ranges from XS to XXXL.
|
||||
|
||||
#### Priority
|
||||
|
||||
P1 to P4 (lowest) to indicate an priority. Mostly a tool for internal project management and support.
|
||||
|
||||
#### QA
|
||||
|
||||
Flags to indicate the internal QA status in terms of process and priority. Please leave alone unless you're QA ;-)
|
||||
|
||||
#### Severity
|
||||
|
||||
Severity for the product, mostly impact on user.
|
||||
|
||||
#### Type
|
||||
|
||||
The issue type, helps to structure the issues in the agile categories (Epic, Story...) but also organizational ones.
|
||||
|
||||
#### Topic
|
||||
|
||||
A general category of the topic of a ticket.
|
||||
|
||||
#### Category
|
||||
|
||||
Categorizes the issue to also indicate the type of the issue.
|
||||
|
||||
#### Status
|
||||
|
||||
The status in the ticket life cycle. Keep an eye on that one, especially for the `Waiting-for-Feedback` tag which might indicate that the reporter is asked for feedback.
|
||||
|
||||
#### Interaction
|
||||
|
||||
Another label that indicates the type of the issue.
|
||||
|
||||
#### Browser
|
||||
|
||||
Important for browser dependent web issues. It specifies the browser that shows the error.
|
||||
|
||||
#### 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.
|
||||
@@ -1,6 +1,6 @@
|
||||
# ownCloud Infinite Scale
|
||||
|
||||
[](https://talk.owncloud.com/channel/infinitescale)
|
||||
[](https://talk.owncloud.com/channel/ocis)
|
||||
[](https://drone.owncloud.com/owncloud/ocis)
|
||||
[](https://sonarcloud.io/dashboard?id=owncloud_ocis)
|
||||
[](https://sonarcloud.io/dashboard?id=owncloud_ocis)
|
||||
@@ -24,7 +24,7 @@ If you find a security issue please contact [security@owncloud.com](mailto:secur
|
||||
|
||||
## Contributing
|
||||
|
||||
Fork -> Patch -> Push -> Pull Request
|
||||
Please refer to our [Contribution Guidelines](CONTRIBUTING.md).
|
||||
|
||||
## License
|
||||
|
||||
@@ -33,5 +33,5 @@ Apache-2.0
|
||||
## Copyright
|
||||
|
||||
```console
|
||||
Copyright (c) 2020 ownCloud GmbH <https://owncloud.com>
|
||||
Copyright (c) 2020-2021 ownCloud GmbH <https://owncloud.com>
|
||||
```
|
||||
@@ -1,47 +0,0 @@
|
||||
module github.com/owncloud/ocis/accounts
|
||||
|
||||
go 1.16
|
||||
|
||||
require (
|
||||
contrib.go.opencensus.io/exporter/jaeger v0.2.1
|
||||
contrib.go.opencensus.io/exporter/ocagent v0.7.0
|
||||
contrib.go.opencensus.io/exporter/zipkin v0.1.2
|
||||
github.com/asim/go-micro/plugins/client/grpc/v3 v3.0.0-20210408173139-0d57213d3f5c
|
||||
github.com/asim/go-micro/v3 v3.5.1-0.20210217182006-0f0ace1a44a9
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20210507060801-f176760d55f4
|
||||
github.com/cs3org/reva v1.7.1-0.20210507160327-e2c3841d0dbc
|
||||
github.com/go-chi/chi v4.1.2+incompatible
|
||||
github.com/go-chi/render v1.0.1
|
||||
github.com/gofrs/uuid v3.3.0+incompatible
|
||||
github.com/golang/protobuf v1.5.2
|
||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.2.0
|
||||
github.com/mennanov/fieldmask-utils v0.3.3
|
||||
github.com/micro/cli/v2 v2.1.2
|
||||
github.com/oklog/run v1.1.0
|
||||
github.com/olekukonko/tablewriter v0.0.5
|
||||
github.com/openzipkin/zipkin-go v0.2.5
|
||||
github.com/owncloud/ocis/ocis-pkg v0.0.0-20210216094451-dc73176dc62d
|
||||
github.com/owncloud/ocis/settings v0.0.0-20210413063522-955bd60edf33
|
||||
github.com/prometheus/client_golang v1.10.0
|
||||
github.com/rs/zerolog v1.21.0
|
||||
github.com/spf13/viper v1.7.1
|
||||
github.com/stretchr/testify v1.7.0
|
||||
github.com/thejerf/suture/v4 v4.0.0
|
||||
go.opencensus.io v0.23.0
|
||||
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
|
||||
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
|
||||
google.golang.org/genproto v0.0.0-20210207032614-bba0dbe2a9ea
|
||||
google.golang.org/grpc v1.37.0
|
||||
google.golang.org/protobuf v1.26.0
|
||||
)
|
||||
|
||||
replace (
|
||||
github.com/owncloud/ocis/ocis-pkg => ../ocis-pkg
|
||||
github.com/owncloud/ocis/settings => ../settings
|
||||
github.com/owncloud/ocis/store => ../store
|
||||
// taken from https://github.com/asim/go-micro/blob/master/plugins/registry/etcd/go.mod#L14-L16
|
||||
go.etcd.io/etcd/api/v3 => go.etcd.io/etcd/api/v3 v3.0.0-20210204162551-dae29bb719dd
|
||||
go.etcd.io/etcd/pkg/v3 => go.etcd.io/etcd/pkg/v3 v3.0.0-20210204162551-dae29bb719dd
|
||||
// latest version compatible with etcd
|
||||
google.golang.org/grpc => google.golang.org/grpc v1.29.1
|
||||
)
|
||||
-2223
File diff suppressed because it is too large.
Load diff
@@ -1 +1 @@
|
||||
{"ar":{"Account is activated":"تم تفعيل الحساب","Account is blocked":"تم حظر الحساب","Accounts":"حسابات","Activate":"فعل","Activated":"مُفعّلة","Admin":"المسؤول","Block":"حظر","Cancel":"إلغاء","Clear selection":"اختيار واضحة","Confirm":"تأكيد","Create":"إنشاء","Create new account":"إنشاء حساب جديد","Creating":"إنشاء","Delete":"حذف","Display name":"اسم العرض","Email":"البريد الإلكتروني","Email cannot be empty":"لا يمكن للبريد الإلكتروني أن يكون فارغا","Failed to change role.":"فشل في تغيير الدور","Guest":"ضيف","Invalid email address":"عنوان بريد إلكتروني غير صالح","Invalid username":"اسم مستخدم غير صالح","Loading":"تحميل","msg":"ام اس جي","Password":"كلمة المرور","Password cannot be empty":"لا يمكن أن تكون كلمة المرور فارغة","Role":"الدور","Select all users":"تحديد كل المستخدمين","Select role":"تحديد الدور","User":"المستخدم","Username":"اسم المستخدم","Username cannot be empty":"لا يمكن أن يكون إسم المستخدم فارغا","You don't have permissions to manage accounts.":"ليس لديك صلاحيات لإدارة الحسابات"},"de":{"%{ amount } selected user":["%{ amount } ausgewählter Benutzer","%{ amount } ausgewählte Benutzer"],"Account is activated":"Konto ist aktiviert","Account is blocked":"Konto ist geblockt","Accounts":"Konten","Activate":"Aktivieren","Activated":"Aktiviert","Admin":"Administration","Block":"Blockieren","Cancel":"Abbrechen","Clear selection":"Auswahl aufheben","Confirm":"Bestätigen","Create":"Erstellen","Create new account":"Neues Konto erstellen","Creating":"Erstelle","Delete":"Löschen","Delete the selected account?":["Ausgewählten Account löschen?","Ausgewählte Accounts löschen?"],"Display name":"Anzeigename","Email":"E-Mail","Email cannot be empty":"E-Mail darf nicht leer sein","Failed to change role.":"Ändern der Rolle fehlgeschlagen.","Guest":"Gast","Invalid email address":"Ungültige E-Mail-Adresse","Invalid username":"Ungültiger Benutzername","Loading":"Lade","msg":"msg","Password":"Passwort","Password cannot be empty":"Das Passwort darf nicht leer sein","Role":"Rolle","Select %{ account }":" %{ account } auswählen","Select all users":"Alle Benutzer auswählen","Select role":"Rolle auswählen","User":"Benutzer","Username":"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein","You don't have permissions to manage accounts.":"Keine Berechtigungen um Konten zu verwalten"},"fr":{"%{ amount } selected user":["%{ amount } utilisateur sélectionné","%{ amount } utilisateurs sélectionnés"],"Account is activated":"Le compte est activé","Account is blocked":"Le compte est verrouillé","Accounts":"Comptes","Activate":"Activer","Activated":"Activé","Admin":"Administration","Block":"Bloquer","Cancel":"Annuler","Clear selection":"Vider la sélection","Confirm":"Confirmer","Create":"Créer","Create new account":"Créer un compte","Delete":"Supprimer","Delete the selected account?":["Supprimer le compte sélectionné ?","Supprimer les comptes sélectionnés ?"],"Display name":"Nom affiché","Email":"Adresse courriel","Email cannot be empty":"L'email ne peut pas être vide.","Guest":"Invité","Invalid email address":"Adresse mail invalide","Invalid username":"Noms d'utilisateur non valide","Loading":"Chargement","Password":"Mot de passe","Password cannot be empty":"Le mot de passe ne peut être vide","Role":"Rôle ","Select %{ account }":"%{ account } sélectionné","Select all users":"Sélectionner tous les utilisateurs","Select role":"Sélectionnez un rôle","User":"Utilisateur","Username":"Nom d'utilisateur","Username cannot be empty":"Le nom d'utilisateur ne peut pas être vide"},"id":{"%{ amount } selected user":"%{ amount } pengguna yang dipilih","Account is activated":"Akun diaktifkan","Account is blocked":"Akun di blokir","Accounts":"Akun","Activate":"Aktifkan","Activated":"Diaktifkan","Admin":"Admin","Block":"Blokir","Cancel":"Batal","Clear selection":"Bersihkan seleksi","Confirm":"Memastikan","Create":"Buat","Create new account":"Buat akun baru","Creating":"Membuat","Delete":"Hapus","Delete the selected account?":"Hapus akun yang dipilih?","Display name":"Nama tampilan","Email":"Email","Email cannot be empty":"Email tidak boleh kosong","Failed to change role.":"Gagal untuk mengubah peran.","Invalid email address":"Alamat surel tidak benar","Invalid username":"Nama pengguna tidak valid","Loading":"Memuat","msg":"psn","Password":"Kata Sandi","Password cannot be empty":"Kata sandi tidak boleh kosong","Role":"Peran","Select %{ account }":"Pilih %{ account }","Select all users":"Pilih semua pengguna","Select role":"Pilih peran","User":"Pengguna","Username":"Nama pengguna","Username cannot be empty":"Nama pengguna tidaLine truncated
|
||||
{"ar":{"Account is activated":"تم تفعيل الحساب","Account is blocked":"تم حظر الحساب","Accounts":"حسابات","Activate":"فعل","Activated":"مُفعّلة","Admin":"المسؤول","Block":"حظر","Cancel":"إلغاء","Clear selection":"اختيار واضحة","Confirm":"تأكيد","Create":"إنشاء","Create new account":"إنشاء حساب جديد","Creating":"إنشاء","Delete":"حذف","Display name":"اسم العرض","Email":"البريد الإلكتروني","Email cannot be empty":"لا يمكن للبريد الإلكتروني أن يكون فارغا","Failed to change role.":"فشل في تغيير الدور","Guest":"ضيف","Invalid email address":"عنوان بريد إلكتروني غير صالح","Invalid username":"اسم مستخدم غير صالح","Loading":"تحميل","msg":"ام اس جي","Password":"كلمة المرور","Password cannot be empty":"لا يمكن أن تكون كلمة المرور فارغة","Role":"الدور","Select all users":"تحديد كل المستخدمين","Select role":"تحديد الدور","User":"المستخدم","Username":"اسم المستخدم","Username cannot be empty":"لا يمكن أن يكون إسم المستخدم فارغا","You don't have permissions to manage accounts.":"ليس لديك صلاحيات لإدارة الحسابات"},"de":{"%{ amount } selected user":["%{ amount } ausgewählter Benutzer","%{ amount } ausgewählte Benutzer"],"Account is activated":"Konto ist aktiviert","Account is blocked":"Konto ist geblockt","Accounts":"Konten","Activate":"Aktivieren","Activated":"Aktiviert","Admin":"Administration","Block":"Blockieren","Cancel":"Abbrechen","Clear selection":"Auswahl aufheben","Confirm":"Bestätigen","Create":"Erstellen","Create new account":"Neues Konto erstellen","Creating":"Erstelle","Delete":"Löschen","Delete the selected account?":["Ausgewählten Account löschen?","Ausgewählte Accounts löschen?"],"Display name":"Anzeigename","Email":"E-Mail","Email cannot be empty":"E-Mail darf nicht leer sein","Failed to change role.":"Ändern der Rolle fehlgeschlagen.","Guest":"Gast","Invalid email address":"Ungültige E-Mail-Adresse","Invalid username":"Ungültiger Benutzername","Loading":"Lade","msg":"msg","Password":"Passwort","Password cannot be empty":"Das Passwort darf nicht leer sein","Role":"Rolle","Select %{ account }":" %{ account } auswählen","Select all users":"Alle Benutzer auswählen","Select role":"Rolle auswählen","User":"Benutzer","Username":"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein","You don't have permissions to manage accounts.":"Keine Berechtigungen um Konten zu verwalten"},"es":{"%{ amount } selected user":["%{ amount } usuario seleccionado","%{ amount } usuarios seleccionados"],"Account is activated":"La cuenta está activada","Account is blocked":"La cuenta está bloqueada","Accounts":"Cuentas","Activate":"Activar","Activated":"Activada","Admin":"Administración","Block":"Bloquear","Cancel":"Cancelar","Clear selection":"Selección clara","Confirm":"Confirmar","Create":"Crear","Create new account":"Crear una nueva cuenta","Creating":"Creando","Delete":"Eliminar","Delete the selected account?":["¿Eliminar la cuenta seleccionada?","¿Eliminar las cuentas seleccionadas?"],"Display name":"Nombre para mostrar","Email":"Correo electrónico","Email cannot be empty":"El correo electrónico no puede estar vacío","Failed to change role.":"Error al cambiar de rol.","Guest":"Invitado","Invalid email address":"Dirección de correo no válida","Invalid username":"Nombre de usuario no válido","Loading":"Cargando","msg":"msg","Password":"Contraseña","Password cannot be empty":"La contraseña no puede estar vacía","Role":"Rol","Select %{ account }":"Seleccionar %{ account }","Select all users":"Seleccionar todos los usuarios","Select role":"Seleccionar rol","User":"Usuario","Username":"Nombre de usuario","Username cannot be empty":"El nombre de usuario no puede estar vacío","You don't have permissions to manage accounts.":"No tienes permisos para gestionar cuentas."},"fr":{"%{ amount } selected user":["%{ amount } utilisateur sélectionné","%{ amount } utilisateurs sélectionnés"],"Account is activated":"Le compte est activé","Account is blocked":"Le compte est verrouillé","Accounts":"Comptes","Activate":"Activer","Activated":"Activé","Admin":"Administration","Block":"Bloquer","Cancel":"Annuler","Clear selection":"Vider la sélection","Confirm":"Confirmer","Create":"Créer","Create new account":"Créer un compte","Delete":"Supprimer","Delete the selected account?":["Supprimer le compte sélectionné ?","Supprimer les comptes sélectionnés ?"],"Display name":"Nom affiché","Email":"Adresse courriel","Email cannot be empty":"L'email ne peut pas être vide.","Guest":"Invité","Invalid email address":"Adresse mail invalide","Invalid username":"Noms d'utilisateur non valide","Loading":"Chargement","Password":"Mot de passe",Line truncated
|
||||
@@ -28,7 +28,7 @@
|
||||
"@babel/plugin-transform-runtime": "^7.13.10",
|
||||
"@babel/polyfill": "^7.10.1",
|
||||
"@babel/preset-env": "^7.13.12",
|
||||
"@babel/register": "7.13.8",
|
||||
"@babel/register": "^7.14.5",
|
||||
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
|
||||
"@rollup/plugin-commonjs": "^17.1.0",
|
||||
"@rollup/plugin-json": "^4.0.1",
|
||||
@@ -40,7 +40,7 @@
|
||||
"cucumber": "^6.0.5",
|
||||
"cucumber-pretty": ">=6.0.0",
|
||||
"debounce": "^1.2.1",
|
||||
"easygettext": "^2.7.0",
|
||||
"easygettext": "^2.17.0",
|
||||
"eslint": "7.24.0",
|
||||
"eslint-config-standard": "^16.0.2",
|
||||
"eslint-plugin-import": "^2.17.3",
|
||||
@@ -51,13 +51,13 @@
|
||||
"fs-extra": "^9.0.1",
|
||||
"join-path": "^1.1.1",
|
||||
"ldapjs": "^2.2.3",
|
||||
"nightwatch": "^1.3.6",
|
||||
"nightwatch": "^1.6.0",
|
||||
"nightwatch-api": "^3.0.1",
|
||||
"nightwatch-vrt": "^0.2.10",
|
||||
"node-fetch": "^2.6.1",
|
||||
"qs": "^6.10.1",
|
||||
"rimraf": "^3.0.0",
|
||||
"rollup": "^2.42.4",
|
||||
"rollup": "^2.55.1",
|
||||
"rollup-plugin-babel": "^4.3.3",
|
||||
"rollup-plugin-eslint": "^7.0.0",
|
||||
"rollup-plugin-filesize": "^9.1.0",
|
||||
@@ -76,7 +76,7 @@
|
||||
"not dead"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"owncloud-design-system": "^6.0.1"
|
||||
"owncloud-design-system": "^7.4.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"validator": "^13.1.1"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by fileb0x at "2021-05-10 09:09:08.432578 +0100 WEST m=+0.055032667" from config file "embed.yml" DO NOT EDIT.
|
||||
// modification hash(8ff85c5a20f443aa72338e8c88f810cf.8058aec596c5fb73022d09bb97af796e)
|
||||
// Code generated by fileb0x at "2021-08-05 14:43:32.938326 +0200 CEST m=+0.060784209" from config file "embed.yml" DO NOT EDIT.
|
||||
// modification hash(a28574734dbd0feb390032f3839bf984.8058aec596c5fb73022d09bb97af796e)
|
||||
|
||||
package assets
|
||||
|
||||
@@ -36,7 +36,7 @@ type HTTPFS struct {
|
||||
}
|
||||
|
||||
// FileAccountsJs is "accounts.js"
|
||||
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xfd\xf9\x92\x1b\xb7\x92\x38\x0a\xff\xfd\xcd\x53\x90\x18\xa9\x0c\x98\xe8\x12\x29\x79\x2d\x0a\xe2\xc8\x52\xcb\x96\xad\xcd\x6a\xc9\xcb\x61\xf3\xf4\x41\x17\x41\x76\x49\x24\x40\xa3\xc0\x5e\x4c\xd6\xf7\x3e\xf7\x35\xee\x93\xdd\xc0\x56\x85\x5a\xd8\xd2\x99\x99\xdf\x8d\xb8\x11\x1d\xcd\x02\x90\x48\xec\x89\xcc\x44\x22\x31\x67\x8b\x8c\x33\x08\x17\x5b\x9e\xaa\x4c\x70\x88\x76\x60\x9b\xb3\x5e\xae\x64\x96\x2a\x30\xbe\xa4\xb2\xc7\x08\xd8\x72\x0b\x38\x07\x7d\xa2\x6e\x36\x4c\x2c\x7a\xcb\x95\x38\xa7\xab\x77\x17\x59\x3e\xa9\x3e\x93\x2e\xc8\xab\x8c\xcf\xc5\xd5\xc4\xfe\x74\x42\x58\x04\x0e\x4f\x27\x44\xce\x56\x8b\x89\xfe\x97\xec\x8a\xb1\xaf\x6c\x4f\x41\x86\x76\x92\xa9\xad\xe4\x3d\x16\x45\x2c\x3e\x3b\x63\xf9\x4b\x31\xdf\xae\x58\x14\xbd\x3e\xff\xc0\x52\x15\x6f\xa4\x50\x42\x63\x89\x2f\x68\xfe\xfa\x8a\xbf\x91\x62\xc3\xa4\xba\x89\x53\xba\x5a\x41\x86\xc1\x9c\x2d\xe8\x76\xa5\x00\x9a\xb0\xd8\x7d\x27\xac\x28\xcb\xe0\xba\x8c\x6c\x01\x43\xe4\xc8\x97\x69\xfa\x47\x11\x57\x94\xad\xb5\x2f\x00\xee\x0a\x0c\xaa\x3c\x00\xef\x2e\xe9\x6a\xcb\x92\xfe\xb0\x40\x63\x87\xc0\x65\xfc\xc8\x6e\x72\xc8\x50\xbc\x10\xf2\x98\xa6\x17\xc1\x70\x70\xb4\xd3\x45\x48\x5f\xc4\x92\xa9\xa0\x0d\x4f\x59\x9e\xca\x6c\xa3\x84\x84\x0c\x73\x34\xee\xae\x87\xc2\x1c\x4b\x9d\x73\x22\x93\x1d\xe3\xdb\x35\x93\xf4\x7c\xa5\x2b\x82\x97\x4c\x25\xc1\xd0\xfb\x66\x4d\xf9\xac\x28\x50\x81\x10\x56\x55\x47\x48\xdd\x11\xb6\xbd\x3b\x76\xbd\x11\x52\xe5\xc9\xae\x28\x7c\x53\x18\x54\x58\xc5\x2e\x01\x55\x9f\x85\x0c\x9a\x53\x62\x68\xc5\x60\x4e\x9a\x03\x86\x25\xe1\x8d\x41\xc3\x82\x00\x9f\x15\x10\x3f\x39\x4e\x6e\xd6\xe7\x62\x35\xb1\x3f\xc9\xae\xc0\x94\x88\x38\x53\x4c\x52\x25\xe4\x7e\x0f\xfe\xeb\xbf\x7c\x00\xe0\x8c\x88\x98\xe6\x37\x3c\x7d\x1e\xa6\xd7\x62\x00\xce\x89\x88\x95\x38\x51\x32\xe3\xcb\x77\x74\x69\x40\x82\x30\xa8\x66\x60\x0a\x19\x56\x98\x97\x5d\xd7\x3d\x02\x1a\xc6\x8d\x3e\xc7\xf5\x11\x48\x05\x5f\x64\xcb\x6d\x19\xbe\x92\x99\x72\xdf\x05\xc2\x6c\xaa\x66\x85\x92\x37\xbb\xd4\xcc\x26\x80\x8a\x94\xaa\xf4\x42\xf7\x5a\x1a\xf4\x61\xad\x0a\x3a\x0f\xe1\x45\x35\x70\x5b\x0b\x80\xa5\xed\x6a\x41\x54\x14\x05\xdd\xdc\xcb\x78\xae\x28\x4f\x75\x4f\xde\x4c\x54\x72\x83\xa9\x1f\x8a\x54\x32\xaa\x18\x14\x15\x30\xc2\x19\xe1\xec\xaa\xf7\x01\xca\xfd\x7e\x3a\x2b\x27\x32\x8d\xcf\x32\x7e\x29\x3e\xb2\x56\xad\xec\xf4\x5d\x78\xc0\x32\x59\x60\x6a\xd6\x95\x24\x84\xcc\x91\xba\x90\xe2\xaa\xa7\x31\x1f\x4b\x29\x24\x04\x3f\x32\x6e\x47\xa3\x97\xe5\x3d\xba\x92\x8c\xce\x6f\x7a\x72\xcb\x79\xc6\x97\x00\x8d\x5d\xc6\x0b\x83\x02\x98\xdc\x80\x10\x22\x1c\x22\xea\x8b\xbb\x86\xa8\x58\x08\x09\x79\xbc\x66\xea\x42\xcc\x89\xc0\x3c\xa6\x72\x49\xe8\x78\x6c\xeb\x96\x11\x1e\xcf\xd9\x8a\x2d\xa9\x62\x1a\x6d\x66\xa3\x73\xf2\x11\x66\x7a\x4d\x65\x0b\x98\x9b\x52\x72\x42\xc8\x1a\xa5\x82\xab\x8c\x6f\x99\x2f\x20\x2f\x0a\x5d\x03\xce\xae\x95\xae\x80\x2f\x07\xf1\x38\x67\x5c\x11\x1e\x9f\xb9\x5f\x2a\x97\x63\xb6\xca\x59\xaf\x56\xe1\x12\xde\x77\xc5\xc2\xb5\x40\x92\x0b\x5b\xd3\x31\x8f\xe7\x59\xbe\xd1\xc3\x7e\x7c\x9d\xb2\x8d\x25\x0b\x3a\x05\x15\x1a\x1f\xb0\x15\x09\x91\x45\x11\x8f\xe9\xb9\xdc\x6e\x14\xf4\xa9\x16\x17\x1a\x4b\x32\x37\x34\x2b\x25\x2b\x37\x40\x63\x53\x7d\x21\xd7\x74\xa5\x71\xa4\xb1\x19\x66\x5b\x1d\x1e\xcf\x05\x67\x93\x8b\x64\x83\x53\xd3\x6b\x1d\x3d\xe0\xe6\xb5\x49\xc7\x1a\x3c\xb1\xb9\x8a\xa2\x6a\xa5\x45\x1a\x45\xd0\xb6\xca\x0d\x85\x4b\x77\x03\x92\xda\x26\x15\x85\x26\x65\x38\x43\x98\x56\x33\xd8\xd7\x75\xa7\x97\x82\x2b\x56\x63\x4c\x7c\xc5\x31\x95\xcb\x84\x59\x92\xae\x01\x8b\x6a\x9d\xd4\xc0\x5d\x89\x06\xba\x28\x0a\x16\x5f\x49\xba\x21\x5b\xd3\x25\x0b\x02\xf2\x6d\xbe\x61\x7c\xce\xe6\x27\x8a\x4a\x05\xf0\x26\x88\xfa\x33\x63\xab\x39\xc0\x73\x02\xd8\x35\x4b\xb7\x4a\xcf\x43\x7c\x41\x40\x2a\xd6\x9b\x15\x53\x6c\x0e\xf0\x9a\x84\x9b\xd3\x0d\x44\xbb\xaa\x09\xcb\x5a\xe8\x52\x87\x74\xa1\xe7\x3a\xcb\xf9\x94\xce\x48\x9b\x0c\xab\x8b\x2c\x2f\x4c\xd5\xae\x02\xf2\xff\xc6\x2f\xc5\xd7\x0b\xfc\x98\x5c\x45\xd1\x15\xbc\x82\x4f\xe0\x74\x86\x10\x1a\x3f\x8e\xa2\xc7\x7d\x42\x78\x14\x49\xdb\x19\x8f\x31\x45\x51\x04\xcf\xc9\x63\x64\x30\x9d\x90\xcb\x6a\x31\x93\x9b\xe0\xbb\xbe\xe4\xcf\x51\xd5\x90\x63\xdd\x8d\x53\x3b\xc5\xb1\xef\x42\x3f\xb1\x66\x1d\x9b\x96\x42\x3b\x4b\x17\x6b\x84\x3f\x68\x95\x27\x16\x50\x61\xa6\xb7\x19\xfd\x57\x16\xf7\x5a\x67\x45\xbb\x60\x03\x16\x98\xe2\x0c\xe7\x76\x61\x9a\x99\x3b\x15\x33\xcc\x30\xb5\x93\xd7\xd6\xa8\x5f\xcd\x5d\x0d\xb6\xb5\x13\x0a\x2f\xc8\x36\x36\x33\xb4\x24\x40\x51\x04\x84\x69\x6b\xb5\x81\x2c\xca\xfe\x5a\xe8\x2d\x9b\x5e\xd1\x4c\xf3\x03\x2a\x96\x2c\x17\xab\x4b\x06\x17\xb1\x8b\x45\xb1\xba\x60\xbc\xbe\xa3\x71\xb7\xfc\x31\x33\xb5\x2c\x10\x6e\x26\xbb\x3e\xf3\xe9\x28\x09\x30\x77\x61\x74\x55\x26\x0c\x67\x70\xdb\x42\xe8\x1a\xd2\x81\xb7\xc8\xa1\x5b\x46\x86\xd0\x8f\xc3\xbe\x0e\x09\xb3\x0c\xba\x97\x56\x13\x4e\x93\x5f\x15\x8e\x23\x16\xba\xfa\x0c\x4b\xac\x3f\x75\x01\x0e\x52\x10\x31\x11\xb6\xe2\x14\x53\x94\x50\x88\x82\x0d\xe7\xa3\xe1\x46\x1c\xe5\x67\xe5\x4e\x3c\xf5\x2b\x7f\xe6\xc9\xb7\x32\x74\xa6\xa2\xbf\x84\x6f\x57\x2b\x7c\x80\x3a\x56\x88\x62\x5b\x8b\x28\xaa\xc8\x7a\x9d\xce\x11\x85\x6d\x1d\xba\x70\x79\xe6\x6d\xLine truncated
|
||||
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xfd\xf9\x92\x1b\xb7\x92\x38\x0a\xff\xfd\xcd\x53\x90\x18\xa9\x0c\x98\xe8\x12\x29\x79\x2d\x0a\xe2\xc8\x52\xcb\x96\xad\xcd\x6a\xc9\xcb\x61\xf3\xf4\x41\x17\x41\x76\x49\x24\x40\xa3\xc0\x5e\x4c\xd6\xf7\x3e\xf7\x35\xee\x93\xdd\xc0\x56\x85\x5a\xd8\xd2\x99\x99\xdf\x8d\xb8\x11\x1d\xcd\x02\x90\x48\xec\x89\xcc\x44\x22\x31\x67\x8b\x8c\x33\x08\x17\x5b\x9e\xaa\x4c\x70\x88\x76\x60\x9b\xb3\x5e\xae\x64\x96\x2a\x30\xbe\xa4\xb2\xc7\x08\xd8\x72\x0b\x38\x07\x7d\xa2\x6e\x36\x4c\x2c\x7a\xcb\x95\x38\xa7\xab\x77\x17\x59\x3e\xa9\x3e\x93\x2e\xc8\xab\x8c\xcf\xc5\xd5\xc4\xfe\x74\x42\x58\x04\x0e\x4f\x27\x44\xce\x56\x8b\x89\xfe\x97\xec\x8a\xb1\xaf\x6c\x4f\x41\x86\x76\x92\xa9\xad\xe4\x3d\x16\x45\x2c\x3e\x3b\x63\xf9\x4b\x31\xdf\xae\x58\x14\xbd\x3e\xff\xc0\x52\x15\x6f\xa4\x50\x42\x63\x89\x2f\x68\xfe\xfa\x8a\xbf\x91\x62\xc3\xa4\xba\x89\x53\xba\x5a\x41\x86\xc1\x9c\x2d\xe8\x76\xa5\x00\x9a\xb0\xd8\x7d\x27\xac\x28\xcb\xe0\xba\x8c\x6c\x01\x43\xe4\xc8\x97\x69\xfa\x47\x11\x57\x94\xad\xb5\x2f\x00\xee\x0a\x0c\xaa\x3c\x00\xef\x2e\xe9\x6a\xcb\x92\xfe\xb0\x40\x63\x87\xc0\x65\xfc\xc8\x6e\x72\xc8\x50\xbc\x10\xf2\x98\xa6\x17\xc1\x70\x70\xb4\xd3\x45\x48\x5f\xc4\x92\xa9\xa0\x0d\x4f\x59\x9e\xca\x6c\xa3\x84\x84\x0c\x73\x34\xee\xae\x87\xc2\x1c\x4b\x9d\x73\x22\x93\x1d\xe3\xdb\x35\x93\xf4\x7c\xa5\x2b\x82\x97\x4c\x25\xc1\xd0\xfb\x66\x4d\xf9\xac\x28\x50\x81\x10\x56\x55\x47\x48\xdd\x11\xb6\xbd\x3b\x76\xbd\x11\x52\xe5\xc9\xae\x28\x7c\x53\x18\x54\x58\xc5\x2e\x01\x55\x9f\x85\x0c\x9a\x53\x62\x68\xc5\x60\x4e\x9a\x03\x86\x25\xe1\x8d\x41\xc3\x82\x00\x9f\x15\x10\x3f\x39\x4e\x6e\xd6\xe7\x62\x35\xb1\x3f\xc9\xae\xc0\x94\x88\x38\x53\x4c\x52\x25\xe4\x7e\x0f\xfe\xeb\xbf\x7c\x00\xe0\x8c\x88\x98\xe6\x37\x3c\x7d\x1e\xa6\xd7\x62\x00\xce\x89\x88\x95\x38\x51\x32\xe3\xcb\x77\x74\x69\x40\x82\x30\xa8\x66\x60\x0a\x19\x56\x98\x97\x5d\xd7\x3d\x02\x1a\xc6\x8d\x3e\xc7\xf5\x11\x48\x05\x5f\x64\xcb\x6d\x19\xbe\x92\x99\x72\xdf\x05\xc2\x6c\xaa\x66\x85\x92\x37\xbb\xd4\xcc\x26\x80\x8a\x94\xaa\xf4\x42\xf7\x5a\x1a\xf4\x61\xad\x0a\x3a\x0f\xe1\x45\x35\x70\x5b\x0b\x80\xa5\xed\x6a\x41\x54\x14\x05\xdd\xdc\xcb\x78\xae\x28\x4f\x75\x4f\xde\x4c\x54\x72\x83\xa9\x1f\x8a\x54\x32\xaa\x18\x14\x15\x30\xc2\x19\xe1\xec\xaa\x77\x06\xe5\x7e\x3f\x9d\x95\x13\x99\xc6\x67\x19\xbf\x14\x1f\x59\xab\x56\x76\xfa\x2e\x3c\x60\x99\x2c\x30\x35\xeb\x4a\x12\x42\xe6\x48\x5d\x48\x71\xd5\xd3\x98\x8f\xa5\x14\x12\x82\x1f\x19\xb7\xa3\xd1\xcb\xf2\x1e\x5d\x49\x46\xe7\x37\x3d\xb9\xe5\x3c\xe3\x4b\x80\xc6\x2e\xe3\x85\x41\x01\x4c\x6e\x40\x08\x11\x0e\x11\xf5\xc5\x5d\x43\x54\x2c\x84\x84\x3c\x5e\x33\x75\x21\xe6\x44\x60\x1e\x53\xb9\x24\x74\x3c\xb6\x75\xcb\x08\x8f\xe7\x6c\xc5\x96\x54\x31\x8d\x36\xb3\xd1\x39\xf9\x08\x33\xbd\xa6\xb2\x05\xcc\x4d\x29\x39\x21\x64\x8d\x52\xc1\x55\xc6\xb7\xcc\x17\x90\x17\x85\xae\x01\x67\xd7\x4a\x57\xc0\x97\x83\x78\x9c\x33\xae\x08\x8f\xcf\xdc\x2f\x95\xcb\x31\x5b\xe5\xac\x57\xab\x70\x09\xef\xbb\x62\xe1\x5a\x20\xc9\x85\xad\xe9\x98\xc7\xf3\x2c\xdf\xe8\x61\x3f\xbe\x4e\xd9\xc6\x92\x05\x9d\x82\x0a\x8d\x0f\xd8\x8a\x84\xc8\xa2\x88\xc7\xf4\x5c\x6e\x37\x0a\xfa\x54\x8b\x0b\x8d\x25\x99\x1b\x9a\x95\x92\x95\x1b\xa0\xb1\xa9\xbe\x90\x6b\xba\xd2\x38\xd2\xd8\x0c\xb3\xad\x0e\x8f\xe7\x82\xb3\xc9\x45\xb2\xc1\xa9\xe9\xb5\x8e\x1e\x70\xf3\xda\xa4\x63\x0d\x9e\xd8\x5c\x45\x51\xb5\xd2\x22\x8d\x22\x68\x5b\xe5\x86\xc2\xa5\xbb\x01\x49\x6d\x93\x8a\x42\x93\x32\x9c\x21\x4c\xab\x19\xec\xeb\xba\xd3\x4b\xc1\x15\xab\x31\x26\xbe\xe2\x98\xca\x65\xc2\x2c\x49\xd7\x80\x45\xb5\x4e\x6a\xe0\xae\x44\x03\x5d\x14\x05\x8b\xaf\x24\xdd\x90\xad\xe9\x92\x05\x01\xf9\x36\xdf\x30\x3e\x67\xf3\x13\x45\xa5\x02\x78\x13\x44\xfd\x99\xb1\xd5\x1c\xe0\x39\x01\xec\x9a\xa5\x5b\xa5\xe7\x21\xbe\x20\x20\x15\xeb\xcd\x8a\x29\x36\x07\x78\x4d\xc2\xcd\xe9\x06\xa2\x5d\xd5\x84\x65\x2d\x74\xa9\x43\xba\xd0\x73\x9d\xe5\x7c\x4a\x67\xa4\x4d\x86\xd5\x45\x96\x17\xa6\x6a\x57\x01\xf9\x7f\xe3\x97\xe2\xeb\x05\x7e\x4c\xae\xa2\xe8\x0a\x5e\xc1\x0f\x70\x3a\x43\x08\x8d\x1f\x47\xd1\xe3\x3e\x21\x3c\x8a\xa4\xed\x8c\xc7\x98\xa2\x28\x82\xe7\xe4\x31\x32\x98\x4e\xc8\x65\xb5\x98\xc9\x4d\xf0\x5d\x5f\xf2\xe7\xa8\x6a\xc8\xb1\xee\xc6\xa9\x9d\xe2\xd8\x77\xa1\x9f\x58\xb3\x8e\x4d\x4b\xa1\x9d\xa5\x8b\x35\xc2\x1f\xb4\xca\x13\x0b\xa8\x30\xd3\xdb\x8c\xfe\x2b\x8b\x7b\xad\xb3\xa2\x5d\xb0\x01\x0b\x4c\x71\x86\x73\xbb\x30\xcd\xcc\x9d\x8a\x19\x66\x98\xda\xc9\x6b\x6b\xd4\xaf\xe6\xae\x06\xdb\xda\x09\x85\x17\x64\x1b\x9b\x19\x5a\x12\xa0\x28\x02\xc2\xb4\xb5\xda\x40\x16\x65\x7f\x2d\xf4\x96\x4d\xaf\x68\xa6\xf9\x01\x15\x4b\x96\x8b\xd5\x25\x83\x8b\xd8\xc5\xa2\x58\x5d\x30\x5e\xdf\xd1\xb8\x5b\xfe\x98\x99\x5a\x16\x08\x37\x93\x5d\x9f\xf9\x74\x94\x04\x98\xbb\x30\xba\x2a\x13\x86\x33\xb8\x6d\x21\x74\x0d\xe9\xc0\x5b\xe4\xd0\x2d\x23\x43\xe8\xc7\x61\x5f\x87\x84\x59\x06\xdd\x4b\xab\x09\xa7\xc9\xaf\x0a\xc7\x11\x0b\x5d\x7d\x86\x25\xd6\x9f\xba\x00\x07\x29\x88\x98\x08\x5b\x71\x8a\x29\x4a\x28\x44\xc1\x86\xf3\xd1\x70\x23\x8e\xf2\xb3\x72\x27\x9e\xfa\x95\x3f\xf3\xe4\x5b\x19\x3a\x53\xd1\x5f\xc2\xb7\xab\x15\x3e\x40\x1d\x2b\x44\xb1\xad\x45\x14\x55\x64\xbd\x4e\xe7\x88\xc2\xb6\x0e\x5d\xb8\x3c\xf3\xb6\xLine truncated
|
||||
|
||||
// FileAccountsJsMap is "accounts.js.map"
|
||||
var FileAccountsJsMap = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x0d\x97\x1b\xb7\x91\x28\x0c\xff\x15\x78\xe2\x35\x49\x8b\x1f\x92\x9d\xcd\xcd\x72\x32\x51\x64\x59\x76\xb4\xaf\x25\xf9\x4a\xb2\x77\xef\x99\x99\x95\xc0\x6e\x90\x84\xa6\xd9\x60\x1a\xdd\x43\x31\xd2\xbc\xe7\xfe\x88\xfb\x0b\xef\x2f\x79\x0e\xaa\x0a\x9f\xdd\xcd\xe1\xd8\x72\x76\xf7\x39\x8f\x73\x4e\xc4\x41\x03\x85\x02\x50\x28\xd4\x17\x0a\x1f\x4e\xae\x45\xa5\xa5\x2a\x4f\xe6\x5f\x8f\x4f\x96\xb2\x10\x27\xf3\x13\x9e\x65\xaa\x29\x6b\x3d\x7d\xa7\x4f\xc6\x27\x5a\x35\x55\x26\xf4\xc9\xfc\xfc\x64\x3a\x9d\x95\x2a\x17\x6f\x36\x2a\x6f\x0a\xa1\x67\x95\x58\x89\x52\x54\xbc\x56\xd5\xa4\x6a\xca\x5a\x6e\xc4\x8c\xfe\xc5\xb6\x69\x83\xbf\x2c\xf8\x42\x14\xb6\xce\x6c\x2d\x8a\xad\xa8\xf4\x2c\x17\x4b\x59\x8a\x1f\x2b\xb5\x15\x55\xbd\xef\x6e\x5a\xa9\xa2\x68\xb6\x93\x6d\xd1\xac\x64\x39\x31\x9f\x26\xab\x42\x2d\x78\xa1\x67\xba\xca\x66\xf8\xbb\xbb\xe9\x75\x23\xde\xcf\x72\xa9\x6b\xf8\x35\x15\x7a\xe3\xea\x35\xd2\x21\xd1\xd4\xb2\xd0\xdd\x00\xf8\x7b\xa9\xf4\xac\x90\x0b\x57\x79\x21\xcb\xfc\xb6\xba\x77\x03\xd8\xc8\x22\xff\xe9\xe5\x0f\xb7\xd5\xcf\x54\x25\x66\x4f\xcb\x5a\x54\x99\xd8\xd6\xaa\x7a\xc6\x4b\xbe\x12\xd5\x51\xcd\xea\x8a\x97\x7a\xa9\xaa\xcd\xb7\xbc\xe6\xb7\xb6\xe0\x65\x26\x8a\x99\xd4\x8f\xe1\x47\x77\xf5\x6d\xa5\x32\xa1\xf5\x44\xe8\x3f\xcc\x16\x95\xda\xe9\xdb\x31\xb1\x03\x2e\x55\xb5\xe1\x85\xfc\xbb\xf8\xab\xe0\xb9\xa8\x9e\xf3\x3e\x9a\x49\x06\x21\xca\xb5\x41\xe8\x49\x55\xa9\xe3\x46\x9d\x55\x82\xd7\x77\xa8\xaf\x45\x5d\x17\xb7\xe2\x62\x87\x91\x29\x75\x25\xc5\xd1\xcb\x2c\xf5\xa3\x85\x56\x45\x53\x8b\x23\xd6\xda\xf7\xb1\x59\xc8\xd2\xb4\xb8\xb5\x1f\x18\x01\xd0\xd2\x77\x4d\x51\xfc\xc8\xeb\xf5\xb1\x9d\x6c\x79\xa5\x69\x2d\xee\x30\x9a\x9f\x5e\xfe\xf0\x8a\x6f\xc4\x8b\x4a\xae\x64\x79\x5b\x33\x9e\xf3\x6d\x6d\xda\xbd\x5f\xdf\xba\x14\xb9\x58\xf2\xa6\xa8\x8f\x1b\x70\x2e\xf5\x96\xd7\xd9\xfa\xa5\xf8\x5b\x23\x74\x7d\x54\x9b\x8d\xa8\x56\xe2\xb1\x2a\x97\x72\x75\x54\xfd\x47\xe6\xcf\x23\x37\xcd\xa1\x2d\xd3\x53\xf9\xb5\xba\x12\xb7\x4e\xa0\x9d\x77\xbd\xad\x04\xbf\x95\xff\x04\x34\x67\xca\x8e\xda\x01\xfc\xb6\x51\xca\x32\x17\xef\xbb\xd8\x27\x6f\xfa\x68\x6d\xcd\xf5\x44\xef\x37\x0b\x65\x58\xf5\x9a\x6f\x7a\xe0\x87\xd5\xe2\x5e\xa2\x6a\xcb\xa6\xcc\x6a\xa9\xca\x89\x61\xc1\x33\xb9\xd9\x16\x62\x23\xca\x9a\x9b\xb2\xa3\x5a\xf4\x83\x5e\x73\x3c\x4b\x0e\x54\x59\x89\x7a\x22\xcb\xba\x92\xa5\x96\x07\x2b\x66\xbc\x28\x6e\xed\xd0\x57\x32\xbf\xbe\x51\x4d\xdf\xa1\xa2\x16\xef\x44\x66\x7a\xd6\x5b\x91\xd5\x87\x40\x6a\x99\x8b\x49\xb6\xe6\x65\x69\x98\x77\x7f\xbd\xbf\xe1\x7a\x9b\xd3\x80\xf7\xed\xb2\xbf\xdd\x7a\x8e\x51\x0d\x6d\x26\x64\x25\x97\x3d\x47\x37\xd5\x02\x0e\x73\xb0\x46\x8b\xb8\xb2\x42\x8a\xb2\x06\x96\x2c\xcb\xd5\x41\xba\x30\x9b\x74\xf2\xce\x54\xa9\x45\x55\x1a\xb1\xa0\x56\x66\xa9\x44\xef\xe9\xd8\x6e\x51\x89\xbf\x35\xb2\x12\x13\x9a\xee\x4c\x89\x2a\x93\x8b\xbe\xc3\xa0\xdd\x1e\xe7\x61\xb2\x69\x8a\x5a\x2e\xf6\xf5\xd1\xed\x0e\x09\x2f\xed\xda\x4b\xde\xbb\x1e\xed\xca\xb9\xd0\x59\x25\x8d\xa4\x70\x74\x13\xa9\x69\x02\x8e\xee\x43\x65\x8d\xd9\x83\x13\x3c\x6a\x27\x02\xb7\xe4\xd1\xfd\x89\x3f\x4e\x72\xb5\x99\xa0\x14\x78\x6c\x2b\x5e\xde\x11\xcb\x5a\x4d\xb6\x95\xdc\xc8\x5a\x5e\x1f\xdd\x09\x11\x02\x62\x36\xd9\x1e\x14\x50\xdb\xad\x69\x3a\x6c\xb3\x89\x5f\x8b\x3b\x42\x28\x55\x39\x11\x65\xb3\x11\x15\x5f\x14\x77\xc7\x43\x8b\x7a\x72\x37\x12\xd3\x6b\x5e\x89\x7c\xa2\x6b\x55\x1d\x3d\x57\xc4\x9c\x26\xa8\x2f\x1c\xdb\xaa\xe4\x66\x3d\x26\x3b\xc1\xaf\x26\x1b\xbe\x3d\xb6\xd9\x9a\xdf\x85\x9c\xb7\xcd\xf1\xc3\xc0\xa1\x1f\x5b\xbb\x91\x47\x57\xa5\x39\xbd\x12\x47\xaf\xdb\x5a\xe6\xb9\x28\x4d\x8b\xe3\x07\x4b\xbf\x26\xba\xe6\xc7\xf3\x1f\x22\x73\x47\xa8\x52\x07\xe4\x76\x34\xad\x16\x5c\x6b\xb5\x9c\x54\x7c\x77\x3c\xb6\xb9\x78\x2f\xf2\xbb\x6f\xe4\x5f\xd6\x90\x86\x69\xce\x70\xb5\x2b\x7f\xcd\xbe\xac\xc4\xdd\x98\xd5\xb6\x57\x10\xef\x38\x0c\x44\x3d\x31\x12\xbc\x39\xee\xef\x30\x25\x85\x28\x57\xc7\x77\x52\xab\x09\x27\x45\x64\x72\xa7\x43\x95\x57\x15\xdf\x4f\x64\x99\x15\x4d\xde\xa7\xf6\xf4\xce\xbc\xa1\xe4\x89\x2d\x3d\xb6\xad\xa1\xc4\xc9\xa2\x59\xdd\x69\x1f\xf4\x2d\x75\xc9\x37\x77\xc6\xba\x05\x84\xa4\xd4\xa3\xc1\xec\xee\xb6\x87\x33\xb5\xdd\x4f\x32\x55\xea\xba\x6a\xb2\x5a\x55\xb6\xe3\x5e\x35\xb3\x93\xe7\x2d\x55\x95\x1d\xcf\xc7\xc4\xfb\xad\xaa\xee\xb2\x03\xef\xb6\xf3\x32\x55\x55\xc4\x61\x6a\x55\xef\xb7\xc2\x4c\x6a\x7d\xbc\x60\x16\xac\x84\x07\xa1\x96\xc7\x93\xd0\xca\x9c\xdf\x52\x83\xdd\xe8\x8e\xad\x1a\x2d\xaa\x09\x5f\xdd\x41\xa0\xa1\x86\xd7\x7f\x9c\x90\x71\xed\x8e\x87\x21\xd2\xd7\xd1\x47\x90\xb6\x2d\x26\x5c\x4f\xee\x70\x20\xed\x44\x51\x4c\xae\x4a\x43\x9e\x77\xeb\x51\xd6\x68\xf3\xd3\x93\xec\x0e\xf2\x41\xc0\x03\x7e\x95\xf8\x75\x87\x6d\xb0\xae\x37\x47\x0f\xca\xca\xfc\x20\x71\xdd\x45\xb2\xaa\xd5\x84\xe4\xfe\x9a\xf7\x98\x12\x0e\x4c\xe1\x1d\x25\x41\xdb\x2e\xe4\x0f\x47\xb3\xee\xc9\x56\x69\x2d\x49\x82\xc4\x4d\x74\xc7\xd9\xd1\xbf\x70\x03\xd2\x0a\x5a\xec\x0f\x37\xb3\x7f\x0b\x3d\xc5\x89\x9d\x1e\xd7\xae\xb5\x8f\x9a\xea\xe8\xd5\xe7\xa5\x51\xae\x6b\x5e\x1e\x2f\xb9\xd2\x94\x70\xad\xe5\xea\xe8\x1d\xce\x27\xd6\x1a\x71\xb4\xb6\x17\x5a\x2f\xcc\xb2\xd7\xe2\xfd\xf1\xaa\x95\x23\x97\x42\xf5\xe9\xdLine truncated
|
||||
|
||||
@@ -40,7 +40,7 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
logger := NewLogger(cfg)
|
||||
err := tracing.Configure(cfg, logger)
|
||||
err := tracing.Configure(cfg)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -28,6 +28,10 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
|
||||
EnvVars: []string{"ACCOUNTS_LOG_COLOR", "OCIS_LOG_COLOR"},
|
||||
Destination: &cfg.Log.Color,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "extensions",
|
||||
Usage: "Run specific extensions during supervised mode",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,28 +47,28 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
&cli.BoolFlag{
|
||||
Name: "tracing-enabled",
|
||||
Usage: "Enable sending traces",
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_ENABLED"},
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_ENABLED", "OCIS_TRACING_ENABLED"},
|
||||
Destination: &cfg.Tracing.Enabled,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "tracing-type",
|
||||
Value: flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger"),
|
||||
Usage: "Tracing backend type",
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_TYPE"},
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_TYPE", "OCIS_TRACING_TYPE"},
|
||||
Destination: &cfg.Tracing.Type,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "tracing-endpoint",
|
||||
Value: flags.OverrideDefaultString(cfg.Tracing.Endpoint, ""),
|
||||
Usage: "Endpoint for the agent",
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_ENDPOINT"},
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_ENDPOINT", "OCIS_TRACING_ENDPOINT"},
|
||||
Destination: &cfg.Tracing.Endpoint,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "tracing-collector",
|
||||
Value: flags.OverrideDefaultString(cfg.Tracing.Collector, ""),
|
||||
Usage: "Endpoint for the collector",
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_COLLECTOR"},
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_COLLECTOR", "OCIS_TRACING_COLLECTOR"},
|
||||
Destination: &cfg.Tracing.Collector,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
@@ -235,6 +239,10 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
EnvVars: []string{"ACCOUNTS_GID_INDEX_UPPER_BOUND"},
|
||||
Destination: &cfg.Index.GID.Upper,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "extensions",
|
||||
Usage: "Run specific extensions during supervised mode",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,5 @@ func Server(opts ...Option) grpc.Service {
|
||||
options.Logger.Fatal().Err(err).Msg("could not register index handler")
|
||||
}
|
||||
|
||||
service.Init()
|
||||
return service
|
||||
}
|
||||
@@ -3,6 +3,7 @@ package http
|
||||
import (
|
||||
"github.com/asim/go-micro/v3"
|
||||
"github.com/go-chi/chi"
|
||||
chimiddleware "github.com/go-chi/chi/middleware"
|
||||
"github.com/owncloud/ocis/accounts/pkg/assets"
|
||||
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"github.com/owncloud/ocis/accounts/pkg/version"
|
||||
@@ -28,8 +29,9 @@ func Server(opts ...Option) http.Service {
|
||||
|
||||
mux := chi.NewMux()
|
||||
|
||||
mux.Use(middleware.RealIP)
|
||||
mux.Use(middleware.RequestID)
|
||||
mux.Use(chimiddleware.RealIP)
|
||||
mux.Use(chimiddleware.RequestID)
|
||||
mux.Use(middleware.TraceContext)
|
||||
mux.Use(middleware.NoCache)
|
||||
mux.Use(middleware.Cors)
|
||||
mux.Use(middleware.Secure)
|
||||
@@ -66,6 +68,5 @@ func Server(opts ...Option) http.Service {
|
||||
options.Logger.Fatal().Err(err).Msg("failed to register the handler")
|
||||
}
|
||||
|
||||
service.Init()
|
||||
return service
|
||||
}
|
||||
@@ -12,10 +12,9 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/owncloud/ocis/ocis-pkg/sync"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
"go.opentelemetry.io/otel/trace"
|
||||
|
||||
"github.com/owncloud/ocis/ocis-pkg/log"
|
||||
"go.opentelemetry.io/otel/attribute"
|
||||
|
||||
merrors "github.com/asim/go-micro/v3/errors"
|
||||
"github.com/asim/go-micro/v3/metadata"
|
||||
@@ -24,11 +23,15 @@ import (
|
||||
fieldmask_utils "github.com/mennanov/fieldmask-utils"
|
||||
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"github.com/owncloud/ocis/accounts/pkg/storage"
|
||||
accTracing "github.com/owncloud/ocis/accounts/pkg/tracing"
|
||||
"github.com/owncloud/ocis/ocis-pkg/log"
|
||||
"github.com/owncloud/ocis/ocis-pkg/middleware"
|
||||
"github.com/owncloud/ocis/ocis-pkg/roles"
|
||||
"github.com/owncloud/ocis/ocis-pkg/sync"
|
||||
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
|
||||
settings_svc "github.com/owncloud/ocis/settings/pkg/service/v0"
|
||||
"github.com/rs/zerolog"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
"google.golang.org/genproto/protobuf/field_mask"
|
||||
p "google.golang.org/protobuf/proto"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
@@ -124,6 +127,15 @@ func (s Service) getInMemoryServiceUser() proto.Account {
|
||||
// ListAccounts implements the AccountsServiceHandler interface
|
||||
// the query contains account properties
|
||||
func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest, out *proto.ListAccountsResponse) (err error) {
|
||||
var span trace.Span
|
||||
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.ListAccounts")
|
||||
defer span.End()
|
||||
|
||||
span.SetAttributes(
|
||||
attribute.KeyValue{Key: "page_size", Value: attribute.Int64Value(int64(in.PageSize))},
|
||||
attribute.KeyValue{Key: "page_token", Value: attribute.StringValue(in.PageToken)},
|
||||
)
|
||||
|
||||
hasSelf := s.hasSelfManagementPermissions(ctx)
|
||||
hasManagement := s.hasAccountManagementPermissions(ctx)
|
||||
if !hasSelf && !hasManagement {
|
||||
@@ -269,6 +281,15 @@ func (s Service) findAccountsByQuery(ctx context.Context, query string) ([]strin
|
||||
|
||||
// GetAccount implements the AccountsServiceHandler interface
|
||||
func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, out *proto.Account) (err error) {
|
||||
var span trace.Span
|
||||
|
||||
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.GetAccount")
|
||||
defer span.End()
|
||||
|
||||
span.SetAttributes(
|
||||
attribute.KeyValue{Key: "account_id", Value: attribute.StringValue(in.Id)},
|
||||
)
|
||||
|
||||
hasSelf := s.hasSelfManagementPermissions(ctx)
|
||||
hasManagement := s.hasAccountManagementPermissions(ctx)
|
||||
if !hasSelf && !hasManagement {
|
||||
@@ -317,6 +338,15 @@ func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, ou
|
||||
|
||||
// CreateAccount implements the AccountsServiceHandler interface
|
||||
func (s Service) CreateAccount(ctx context.Context, in *proto.CreateAccountRequest, out *proto.Account) (err error) {
|
||||
var span trace.Span
|
||||
|
||||
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.CreateAccount")
|
||||
defer span.End()
|
||||
|
||||
span.SetAttributes(
|
||||
attribute.KeyValue{Key: "account", Value: attribute.StringValue(in.Account.String())},
|
||||
)
|
||||
|
||||
if !s.hasAccountManagementPermissions(ctx) {
|
||||
return merrors.Forbidden(s.id, "no permission for CreateAccount")
|
||||
}
|
||||
@@ -449,6 +479,15 @@ func (s Service) rollbackCreateAccount(ctx context.Context, acc *proto.Account)
|
||||
// read only fields are ignored
|
||||
// TODO how can we unset specific values? using the update mask
|
||||
func (s Service) UpdateAccount(ctx context.Context, in *proto.UpdateAccountRequest, out *proto.Account) (err error) {
|
||||
var span trace.Span
|
||||
|
||||
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.UpdateAccount")
|
||||
defer span.End()
|
||||
|
||||
span.SetAttributes(
|
||||
attribute.KeyValue{Key: "account", Value: attribute.StringValue(in.Account.String())},
|
||||
)
|
||||
|
||||
hasSelf := s.hasSelfManagementPermissions(ctx)
|
||||
hasManagement := s.hasAccountManagementPermissions(ctx)
|
||||
if !hasSelf && !hasManagement {
|
||||
@@ -615,6 +654,11 @@ var updatableAccountPaths = map[string]struct{}{
|
||||
|
||||
// DeleteAccount implements the AccountsServiceHandler interface
|
||||
func (s Service) DeleteAccount(ctx context.Context, in *proto.DeleteAccountRequest, out *empty.Empty) (err error) {
|
||||
var span trace.Span
|
||||
|
||||
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.DeleteAccount")
|
||||
defer span.End()
|
||||
|
||||
if !s.hasAccountManagementPermissions(ctx) {
|
||||
return merrors.Forbidden(s.id, "no permission for DeleteAccount")
|
||||
}
|
||||
|
||||
@@ -63,11 +63,11 @@ func recreateContainers(idx *indexer.Indexer, cfg *config.Config) error {
|
||||
}
|
||||
|
||||
// Groups
|
||||
if err := idx.AddIndex(&proto.Group{}, "OnPremisesSamAccountName", "Id", "groups", "unique", nil, true); err != nil {
|
||||
if err := idx.AddIndex(&proto.Group{}, "OnPremisesSamAccountName", "Id", "groups", "unique", nil, false); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := idx.AddIndex(&proto.Group{}, "DisplayName", "Id", "groups", "non_unique", nil, true); err != nil {
|
||||
if err := idx.AddIndex(&proto.Group{}, "DisplayName", "Id", "groups", "non_unique", nil, false); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/golang/protobuf/ptypes/empty"
|
||||
v0proto "github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"go.opencensus.io/trace"
|
||||
)
|
||||
|
||||
// NewTracing returns a service that instruments traces.
|
||||
func NewTracing(next v0proto.AccountsServiceHandler) v0proto.AccountsServiceHandler {
|
||||
return tracing{
|
||||
next: next,
|
||||
}
|
||||
}
|
||||
|
||||
type tracing struct {
|
||||
next v0proto.AccountsServiceHandler
|
||||
}
|
||||
|
||||
func (t tracing) ListAccounts(ctx context.Context, req *v0proto.ListAccountsRequest, rsp *v0proto.ListAccountsResponse) error {
|
||||
ctx, span := trace.StartSpan(ctx, "Accounts.ListAccounts")
|
||||
defer span.End()
|
||||
|
||||
span.Annotate([]trace.Attribute{
|
||||
trace.Int64Attribute("page_size", int64(req.PageSize)),
|
||||
trace.StringAttribute("page_token", req.PageToken),
|
||||
trace.StringAttribute("field_mask", req.FieldMask.String()),
|
||||
}, "Execute Accounts.ListAccount handler")
|
||||
|
||||
return t.next.ListAccounts(ctx, req, rsp)
|
||||
}
|
||||
|
||||
func (t tracing) GetAccount(ctx context.Context, req *v0proto.GetAccountRequest, acc *v0proto.Account) error {
|
||||
ctx, span := trace.StartSpan(ctx, "Accounts.GetAccount")
|
||||
defer span.End()
|
||||
|
||||
span.Annotate([]trace.Attribute{
|
||||
trace.StringAttribute("id", req.Id),
|
||||
}, "Execute Accounts.GetAccount handler")
|
||||
|
||||
return t.next.GetAccount(ctx, req, acc)
|
||||
}
|
||||
|
||||
func (t tracing) CreateAccount(ctx context.Context, req *v0proto.CreateAccountRequest, acc *v0proto.Account) error {
|
||||
ctx, span := trace.StartSpan(ctx, "Accounts.CreateAccount")
|
||||
defer span.End()
|
||||
|
||||
span.Annotate([]trace.Attribute{
|
||||
trace.StringAttribute("account", req.Account.String()),
|
||||
}, "Execute Accounts.CreateAccount handler")
|
||||
|
||||
return t.next.CreateAccount(ctx, req, acc)
|
||||
}
|
||||
|
||||
func (t tracing) UpdateAccount(ctx context.Context, req *v0proto.UpdateAccountRequest, acc *v0proto.Account) error {
|
||||
ctx, span := trace.StartSpan(ctx, "Accounts.UpdateAccount")
|
||||
defer span.End()
|
||||
|
||||
span.Annotate([]trace.Attribute{
|
||||
trace.StringAttribute("account", req.Account.String()),
|
||||
}, "Execute Accounts.UpdateAccount handler")
|
||||
|
||||
return t.next.UpdateAccount(ctx, req, acc)
|
||||
}
|
||||
|
||||
func (t tracing) DeleteAccount(ctx context.Context, req *v0proto.DeleteAccountRequest, e *empty.Empty) error {
|
||||
ctx, span := trace.StartSpan(ctx, "Accounts.DeleteAccount")
|
||||
defer span.End()
|
||||
|
||||
span.Annotate([]trace.Attribute{
|
||||
trace.StringAttribute("id", req.Id),
|
||||
}, "Execute Accounts.DeleteAccout handler")
|
||||
return t.next.DeleteAccount(ctx, req, e)
|
||||
}
|
||||
+20
-30
@@ -4,19 +4,19 @@ import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"github.com/cs3org/reva/pkg/auth/scope"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/cs3org/reva/pkg/auth/scope"
|
||||
|
||||
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
|
||||
v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
|
||||
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
|
||||
types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
|
||||
revactx "github.com/cs3org/reva/pkg/ctx"
|
||||
"github.com/cs3org/reva/pkg/rgrpc/todo/pool"
|
||||
"github.com/cs3org/reva/pkg/token"
|
||||
"github.com/cs3org/reva/pkg/token/manager/jwt"
|
||||
@@ -68,7 +68,7 @@ func (r CS3Repo) WriteAccount(ctx context.Context, a *proto.Account) (err error)
|
||||
return err
|
||||
}
|
||||
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
|
||||
if err := r.makeRootDirIfNotExist(ctx, accountsFolder); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -105,10 +105,10 @@ func (r CS3Repo) LoadAccounts(ctx context.Context, a *[]*proto.Account) (err err
|
||||
return err
|
||||
}
|
||||
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
|
||||
res, err := r.storageProvider.ListContainer(ctx, &provider.ListContainerRequest{
|
||||
Ref: &provider.Reference{
|
||||
Spec: &provider.Reference_Path{Path: path.Join("/meta", accountsFolder)},
|
||||
Path: path.Join("/meta", accountsFolder),
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
@@ -155,11 +155,11 @@ func (r CS3Repo) DeleteAccount(ctx context.Context, id string) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
|
||||
|
||||
resp, err := r.storageProvider.Delete(ctx, &provider.DeleteRequest{
|
||||
Ref: &provider.Reference{
|
||||
Spec: &provider.Reference_Path{Path: path.Join("/meta", accountsFolder, id)},
|
||||
Path: path.Join("/meta", accountsFolder, id),
|
||||
},
|
||||
})
|
||||
|
||||
@@ -182,7 +182,7 @@ func (r CS3Repo) WriteGroup(ctx context.Context, g *proto.Group) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
|
||||
if err := r.makeRootDirIfNotExist(ctx, groupsFolder); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -219,10 +219,10 @@ func (r CS3Repo) LoadGroups(ctx context.Context, g *[]*proto.Group) (err error)
|
||||
return err
|
||||
}
|
||||
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
|
||||
res, err := r.storageProvider.ListContainer(ctx, &provider.ListContainerRequest{
|
||||
Ref: &provider.Reference{
|
||||
Spec: &provider.Reference_Path{Path: path.Join("/meta", groupsFolder)},
|
||||
Path: path.Join("/meta", groupsFolder),
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
@@ -269,11 +269,11 @@ func (r CS3Repo) DeleteGroup(ctx context.Context, id string) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
|
||||
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
|
||||
|
||||
resp, err := r.storageProvider.Delete(ctx, &provider.DeleteRequest{
|
||||
Ref: &provider.Reference{
|
||||
Spec: &provider.Reference_Path{Path: path.Join("/meta", groupsFolder, id)},
|
||||
Path: path.Join("/meta", groupsFolder, id),
|
||||
},
|
||||
})
|
||||
|
||||
@@ -299,21 +299,11 @@ func AuthenticateCS3(ctx context.Context, su config.ServiceUser, tm token.Manage
|
||||
Id: &user.UserId{
|
||||
OpaqueId: su.UUID,
|
||||
},
|
||||
Groups: []string{},
|
||||
Opaque: &types.Opaque{
|
||||
Map: map[string]*types.OpaqueEntry{
|
||||
"uid": {
|
||||
Decoder: "plain",
|
||||
Value: []byte(strconv.FormatInt(su.UID, 10)),
|
||||
},
|
||||
"gid": {
|
||||
Decoder: "plain",
|
||||
Value: []byte(strconv.FormatInt(su.GID, 10)),
|
||||
},
|
||||
},
|
||||
},
|
||||
Groups: []string{},
|
||||
UidNumber: su.UID,
|
||||
GidNumber: su.GID,
|
||||
}
|
||||
s, err := scope.GetOwnerScope()
|
||||
s, err := scope.AddOwnerScope(nil)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
@@ -335,7 +325,7 @@ func (r CS3Repo) makeRootDirIfNotExist(ctx context.Context, folder string) error
|
||||
// MakeDirIfNotExist will create a root node in the metadata storage. Requires an authenticated context.
|
||||
func MakeDirIfNotExist(ctx context.Context, sp provider.ProviderAPIClient, folder string) error {
|
||||
var rootPathRef = &provider.Reference{
|
||||
Spec: &provider.Reference_Path{Path: path.Join("/meta", folder)},
|
||||
Path: path.Join("/meta", folder),
|
||||
}
|
||||
|
||||
resp, err := sp.Stat(ctx, &provider.StatRequest{
|
||||
@@ -382,7 +372,7 @@ func (d dataProviderClient) put(url string, body io.Reader, token string) (*http
|
||||
return nil, err
|
||||
}
|
||||
|
||||
req.Header.Add("x-access-token", token)
|
||||
req.Header.Add(revactx.TokenHeader, token)
|
||||
return d.client.Do(req)
|
||||
}
|
||||
|
||||
@@ -392,6 +382,6 @@ func (d dataProviderClient) get(url string, token string) (*http.Response, error
|
||||
return nil, err
|
||||
}
|
||||
|
||||
req.Header.Add("x-access-token", token)
|
||||
req.Header.Add(revactx.TokenHeader, token)
|
||||
return d.client.Do(req)
|
||||
}
|
||||
@@ -1,90 +1,21 @@
|
||||
package tracing
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"contrib.go.opencensus.io/exporter/jaeger"
|
||||
"contrib.go.opencensus.io/exporter/ocagent"
|
||||
"contrib.go.opencensus.io/exporter/zipkin"
|
||||
openzipkin "github.com/openzipkin/zipkin-go"
|
||||
zipkinhttp "github.com/openzipkin/zipkin-go/reporter/http"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/ocis-pkg/log"
|
||||
"go.opencensus.io/stats/view"
|
||||
"go.opencensus.io/trace"
|
||||
pkgtrace "github.com/owncloud/ocis/ocis-pkg/tracing"
|
||||
"go.opentelemetry.io/otel/trace"
|
||||
)
|
||||
|
||||
func Configure(cfg *config.Config, logger log.Logger) error {
|
||||
if cfg.Tracing.Enabled {
|
||||
switch t := cfg.Tracing.Type; t {
|
||||
case "agent":
|
||||
exporter, err := ocagent.NewExporter(
|
||||
ocagent.WithReconnectionPeriod(5*time.Second),
|
||||
ocagent.WithAddress(cfg.Tracing.Endpoint),
|
||||
ocagent.WithServiceName(cfg.Tracing.Service),
|
||||
)
|
||||
if err != nil {
|
||||
logger.Error().
|
||||
Err(err).
|
||||
Str("endpoint", cfg.Tracing.Endpoint).
|
||||
Str("collector", cfg.Tracing.Collector).
|
||||
Msg("Failed to create agent tracing")
|
||||
return err
|
||||
}
|
||||
trace.RegisterExporter(exporter)
|
||||
view.RegisterExporter(exporter)
|
||||
case "jaeger":
|
||||
exporter, err := jaeger.NewExporter(
|
||||
jaeger.Options{
|
||||
AgentEndpoint: cfg.Tracing.Endpoint,
|
||||
CollectorEndpoint: cfg.Tracing.Collector,
|
||||
Process: jaeger.Process{
|
||||
ServiceName: cfg.Tracing.Service,
|
||||
},
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
logger.Error().
|
||||
Err(err).
|
||||
Str("endpoint", cfg.Tracing.Endpoint).
|
||||
Str("collector", cfg.Tracing.Collector).
|
||||
Msg("Failed to create jaeger tracing")
|
||||
return err
|
||||
}
|
||||
trace.RegisterExporter(exporter)
|
||||
case "zipkin":
|
||||
endpoint, err := openzipkin.NewEndpoint(
|
||||
cfg.Tracing.Service,
|
||||
cfg.Tracing.Endpoint,
|
||||
)
|
||||
if err != nil {
|
||||
logger.Error().
|
||||
Err(err).
|
||||
Str("endpoint", cfg.Tracing.Endpoint).
|
||||
Str("collector", cfg.Tracing.Collector).
|
||||
Msg("Failed to create zipkin tracing")
|
||||
return err
|
||||
}
|
||||
exporter := zipkin.NewExporter(
|
||||
zipkinhttp.NewReporter(
|
||||
cfg.Tracing.Collector,
|
||||
),
|
||||
endpoint,
|
||||
)
|
||||
trace.RegisterExporter(exporter)
|
||||
default:
|
||||
logger.Warn().
|
||||
Str("type", t).
|
||||
Msg("Unknown tracing backend")
|
||||
}
|
||||
trace.ApplyConfig(
|
||||
trace.Config{
|
||||
DefaultSampler: trace.AlwaysSample(),
|
||||
},
|
||||
)
|
||||
} else {
|
||||
logger.Debug().
|
||||
Msg("Tracing is not enabled")
|
||||
var (
|
||||
// TraceProvider is the global trace provider for the proxy service.
|
||||
TraceProvider = trace.NewNoopTracerProvider()
|
||||
)
|
||||
|
||||
func Configure(cfg *config.Config) error {
|
||||
var err error
|
||||
if TraceProvider, err = pkgtrace.GetTraceProvider(cfg.Tracing.Collector, cfg.Tracing.Type, "accounts"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
@@ -7,8 +7,9 @@ geekdocEditPath: edit/master/accounts/templates
|
||||
geekdocFilePath: CONFIGURATION.tmpl
|
||||
---
|
||||
{{- define "options"}}
|
||||
{{ $fnName := (last . ).Flags -}}
|
||||
{{ range $opt := first . }}{{ with list $fnName $opt -}}
|
||||
{{ $fnNames := (last . ).Flags -}}
|
||||
{{ range $opt := first . }}
|
||||
{{ range $fnName := $fnNames }}{{ with list $fnName $opt -}}
|
||||
{{ $o := last . -}}
|
||||
{{ if eq $o.FnName $fnName -}}
|
||||
-{{ $o.Name }} | {{ range $i, $e := $o.Env }} {{ if $i }}, {{ end }}${{ $e }}{{ end }}
|
||||
@@ -17,6 +18,7 @@ geekdocFilePath: CONFIGURATION.tmpl
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
|
||||
{{`{{< toc >}}`}}
|
||||
|
||||
+211
-214
@@ -889,13 +889,13 @@
|
||||
"@babel/types" "^7.4.4"
|
||||
esutils "^2.0.2"
|
||||
|
||||
"@babel/register@7.13.8":
|
||||
version "7.13.8"
|
||||
resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.13.8.tgz#d9051dc6820cb4e86375cc0e2d55a4862b31184f"
|
||||
integrity sha512-yCVtABcmvQjRsX2elcZFUV5Q5kDDpHdtXKKku22hNDma60lYuhKmtp1ykZ/okRCPLT2bR5S+cA1kvtBdAFlDTQ==
|
||||
"@babel/register@^7.14.5":
|
||||
version "7.14.5"
|
||||
resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.14.5.tgz#d0eac615065d9c2f1995842f85d6e56c345f3233"
|
||||
integrity sha512-TjJpGz/aDjFGWsItRBQMOFTrmTI9tr79CHOK+KIvLeCkbxuOAk2M5QHjvruIMGoo9OuccMh5euplPzc5FjAKGg==
|
||||
dependencies:
|
||||
clone-deep "^4.0.1"
|
||||
find-cache-dir "^2.0.0"
|
||||
lodash "^4.17.19"
|
||||
make-dir "^2.1.0"
|
||||
pirates "^4.0.0"
|
||||
source-map-support "^0.5.16"
|
||||
@@ -1313,27 +1313,13 @@ acorn@^7.1.1, acorn@^7.4.0:
|
||||
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"
|
||||
integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==
|
||||
|
||||
agent-base@4, agent-base@^4.2.0, agent-base@^4.3.0:
|
||||
version "4.3.0"
|
||||
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee"
|
||||
integrity sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==
|
||||
dependencies:
|
||||
es6-promisify "^5.0.0"
|
||||
|
||||
agent-base@6:
|
||||
agent-base@6, agent-base@^6.0.0:
|
||||
version "6.0.2"
|
||||
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77"
|
||||
integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==
|
||||
dependencies:
|
||||
debug "4"
|
||||
|
||||
agent-base@~4.2.1:
|
||||
version "4.2.1"
|
||||
resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
|
||||
integrity sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg==
|
||||
dependencies:
|
||||
es6-promisify "^5.0.0"
|
||||
|
||||
agentkeepalive@^4.1.3:
|
||||
version "4.1.4"
|
||||
resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.1.4.tgz#d928028a4862cb11718e55227872e842a44c945b"
|
||||
@@ -1581,10 +1567,10 @@ assertion-error@^1.1.0:
|
||||
resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b"
|
||||
integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==
|
||||
|
||||
ast-types@0.x.x:
|
||||
version "0.14.2"
|
||||
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.14.2.tgz#600b882df8583e3cd4f2df5fa20fa83759d4bdfd"
|
||||
integrity sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA==
|
||||
ast-types@^0.13.2:
|
||||
version "0.13.4"
|
||||
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.13.4.tgz#ee0d77b343263965ecc3fb62da16e7222b2b6782"
|
||||
integrity sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==
|
||||
dependencies:
|
||||
tslib "^2.0.1"
|
||||
|
||||
@@ -1598,6 +1584,11 @@ astral-regex@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31"
|
||||
integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==
|
||||
|
||||
async@0.9.x:
|
||||
version "0.9.2"
|
||||
resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d"
|
||||
integrity sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=
|
||||
|
||||
async@^3.2.0:
|
||||
version "3.2.0"
|
||||
resolved "https://registry.yarnpkg.com/async/-/async-3.2.0.tgz#b3a2685c5ebb641d3de02d161002c60fc9f85720"
|
||||
@@ -1880,15 +1871,15 @@ browserify-sign@^4.0.0:
|
||||
safe-buffer "^5.2.0"
|
||||
|
||||
browserslist@^4.14.5, browserslist@^4.16.3:
|
||||
version "4.16.3"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.3.tgz#340aa46940d7db878748567c5dea24a48ddf3717"
|
||||
integrity sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==
|
||||
version "4.16.6"
|
||||
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.6.tgz#d7901277a5a88e554ed305b183ec9b0c08f66fa2"
|
||||
integrity sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ==
|
||||
dependencies:
|
||||
caniuse-lite "^1.0.30001181"
|
||||
colorette "^1.2.1"
|
||||
electron-to-chromium "^1.3.649"
|
||||
caniuse-lite "^1.0.30001219"
|
||||
colorette "^1.2.2"
|
||||
electron-to-chromium "^1.3.723"
|
||||
escalade "^3.1.1"
|
||||
node-releases "^1.1.70"
|
||||
node-releases "^1.1.71"
|
||||
|
||||
buffer-crc32@^0.2.1, buffer-crc32@^0.2.13:
|
||||
version "0.2.13"
|
||||
@@ -1994,10 +1985,10 @@ camelcase@^6.2.0:
|
||||
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809"
|
||||
integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==
|
||||
|
||||
caniuse-lite@^1.0.30001181:
|
||||
version "1.0.30001196"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001196.tgz#00518a2044b1abf3e0df31fadbe5ed90b63f4e64"
|
||||
integrity sha512-CPvObjD3ovWrNBaXlAIGWmg2gQQuJ5YhuciUOjPRox6hIQttu8O+b51dx6VIpIY9ESd2d0Vac1RKpICdG4rGUg==
|
||||
caniuse-lite@^1.0.30001219:
|
||||
version "1.0.30001230"
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001230.tgz#8135c57459854b2240b57a4a6786044bdc5a9f71"
|
||||
integrity sha512-5yBd5nWCBS+jWKTcHOzXwo5xzcj4ePE/yjtkZyUV1BTUmrBaA9MRGC+e7mxnqXSA90CmCA8L3eKLaSUkt099IQ==
|
||||
|
||||
caseless@~0.12.0:
|
||||
version "0.12.0"
|
||||
@@ -2209,6 +2200,15 @@ cliui@^5.0.0:
|
||||
strip-ansi "^5.2.0"
|
||||
wrap-ansi "^5.1.0"
|
||||
|
||||
clone-deep@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387"
|
||||
integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==
|
||||
dependencies:
|
||||
is-plain-object "^2.0.4"
|
||||
kind-of "^6.0.2"
|
||||
shallow-clone "^3.0.0"
|
||||
|
||||
clone@^1.0.2:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
|
||||
@@ -2219,11 +2219,6 @@ clone@~0.1.9:
|
||||
resolved "https://registry.yarnpkg.com/clone/-/clone-0.1.19.tgz#613fb68639b26a494ac53253e15b1a6bd88ada85"
|
||||
integrity sha1-YT+2hjmyaklKxTJT4Vsaa9iK2oU=
|
||||
|
||||
co@^4.6.0:
|
||||
version "4.6.0"
|
||||
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
|
||||
integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=
|
||||
|
||||
code-point-at@^1.0.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
|
||||
@@ -2253,7 +2248,7 @@ color-name@~1.1.4:
|
||||
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
||||
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
||||
|
||||
colorette@^1.2.1, colorette@^1.2.2:
|
||||
colorette@^1.2.2:
|
||||
version "1.2.2"
|
||||
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94"
|
||||
integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==
|
||||
@@ -2609,10 +2604,10 @@ dashdash@^1.12.0:
|
||||
dependencies:
|
||||
assert-plus "^1.0.0"
|
||||
|
||||
data-uri-to-buffer@1:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-1.2.0.tgz#77163ea9c20d8641b4707e8f18abdf9a78f34835"
|
||||
integrity sha512-vKQ9DTQPN1FLYiiEEOQ6IBGFqvjCa5rSK3cWMy/Nespm5d/x3dGFT9UBZnkLxCwua/IXBi2TYnwTEpsOvhC4UQ==
|
||||
data-uri-to-buffer@3:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-3.0.1.tgz#594b8973938c5bc2c33046535785341abc4f3636"
|
||||
integrity sha512-WboRycPNsVw3B3TL559F7kuBUM4d8CgMEvk6xEJlOp7OBPjt6G7z8WMWlD2rOFZLk6OYfFIUGsCOWzcQH9K2og==
|
||||
|
||||
de-indent@^1.0.2:
|
||||
version "1.0.2"
|
||||
@@ -2624,20 +2619,6 @@ debounce@^1.2.1:
|
||||
resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5"
|
||||
integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==
|
||||
|
||||
debug@2, debug@^2.6.9:
|
||||
version "2.6.9"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
|
||||
integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==
|
||||
dependencies:
|
||||
ms "2.0.0"
|
||||
|
||||
debug@3.1.0, debug@~3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
|
||||
integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==
|
||||
dependencies:
|
||||
ms "2.0.0"
|
||||
|
||||
debug@3.2.6:
|
||||
version "3.2.6"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
|
||||
@@ -2652,12 +2633,19 @@ debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1:
|
||||
dependencies:
|
||||
ms "2.1.2"
|
||||
|
||||
debug@^3.1.0:
|
||||
version "3.2.7"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
|
||||
integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==
|
||||
debug@^2.6.9:
|
||||
version "2.6.9"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
|
||||
integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==
|
||||
dependencies:
|
||||
ms "^2.1.1"
|
||||
ms "2.0.0"
|
||||
|
||||
debug@~3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
|
||||
integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==
|
||||
dependencies:
|
||||
ms "2.0.0"
|
||||
|
||||
decamelize@^1.0.0, decamelize@^1.2.0:
|
||||
version "1.2.0"
|
||||
@@ -2710,14 +2698,14 @@ define-properties@^1.1.2, define-properties@^1.1.3:
|
||||
dependencies:
|
||||
object-keys "^1.0.12"
|
||||
|
||||
degenerator@^1.0.4:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/degenerator/-/degenerator-1.0.4.tgz#fcf490a37ece266464d9cc431ab98c5819ced095"
|
||||
integrity sha1-/PSQo37OJmRk2cxDGrmMWBnO0JU=
|
||||
degenerator@^2.2.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.yarnpkg.com/degenerator/-/degenerator-2.2.0.tgz#49e98c11fa0293c5b26edfbb52f15729afcdb254"
|
||||
integrity sha512-aiQcQowF01RxFI4ZLFMpzyotbQonhNpBao6dkI8JPk5a+hmSjR5ErHp2CQySmQe8os3VBqLCIh87nDBgZXvsmg==
|
||||
dependencies:
|
||||
ast-types "0.x.x"
|
||||
escodegen "1.x.x"
|
||||
esprima "3.x.x"
|
||||
ast-types "^0.13.2"
|
||||
escodegen "^1.8.1"
|
||||
esprima "^4.0.0"
|
||||
|
||||
delayed-stream@~1.0.0:
|
||||
version "1.0.0"
|
||||
@@ -2839,10 +2827,10 @@ duration@^0.2.1:
|
||||
d "1"
|
||||
es5-ext "~0.10.46"
|
||||
|
||||
easygettext@^2.7.0:
|
||||
version "2.16.1"
|
||||
resolved "https://registry.yarnpkg.com/easygettext/-/easygettext-2.16.1.tgz#0dee54c3776e2bb7ff434dadacb50c93877123e2"
|
||||
integrity sha512-ou7Rac3zlzR58DrfEp1mwuxHV/Y9j6Gq9po/4rNyWK/mJhXCGUTkCmZTQeiC+QKzGcAHXOkYqfEKZvetd6LGgw==
|
||||
easygettext@^2.17.0:
|
||||
version "2.17.0"
|
||||
resolved "https://registry.yarnpkg.com/easygettext/-/easygettext-2.17.0.tgz#af55ec030b9aabf514aadf0e32383a6f45cc43af"
|
||||
integrity sha512-QmMWIu6l83SW2QuEFd4GIDrTey0qOn0haTOMt4NdPKPHEBihAqdo9HHYRDHiPg/msZSKaye7qDOLAcqHlmfo+g==
|
||||
dependencies:
|
||||
"@babel/core" "^7.11.6"
|
||||
acorn "^7.4.0"
|
||||
@@ -2856,7 +2844,7 @@ easygettext@^2.7.0:
|
||||
pofile "^1.1.0"
|
||||
optionalDependencies:
|
||||
"@vue/compiler-sfc" "^3.0.0"
|
||||
pug "^3.0.0"
|
||||
pug "^3.0.2"
|
||||
|
||||
ecc-jsbn@~0.1.1:
|
||||
version "0.1.2"
|
||||
@@ -2876,15 +2864,17 @@ editorconfig@^0.15.3:
|
||||
semver "^5.6.0"
|
||||
sigmund "^1.0.1"
|
||||
|
||||
ejs@^2.7.4:
|
||||
version "2.7.4"
|
||||
resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba"
|
||||
integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA==
|
||||
ejs@^3.1.6:
|
||||
version "3.1.6"
|
||||
resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.6.tgz#5bfd0a0689743bb5268b3550cceeebbc1702822a"
|
||||
integrity sha512-9lt9Zse4hPucPkoP7FHDF0LQAlGyF9JVpnClFLFH3aSSbxmyoqINRpp/9wePWJTUl4KOQwRL72Iw3InHPDkoGw==
|
||||
dependencies:
|
||||
jake "^10.6.1"
|
||||
|
||||
electron-to-chromium@^1.3.649:
|
||||
version "1.3.681"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.681.tgz#facd915ae46a020e8be566a2ecdc0b9444439be9"
|
||||
integrity sha512-W6uYvSUTHuyX2DZklIESAqx57jfmGjUkd7Z3RWqLdj9Mmt39ylhBuvFXlskQnvBHj0MYXIeQI+mjiwVddZLSvA==
|
||||
electron-to-chromium@^1.3.723:
|
||||
version "1.3.739"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.739.tgz#f07756aa92cabd5a6eec6f491525a64fe62f98b9"
|
||||
integrity sha512-+LPJVRsN7hGZ9EIUUiWCpO7l4E3qBYHNadazlucBfsXBbccDFNKUBAgzE68FnkWGJPwD/AfKhSzL+G+Iqb8A4A==
|
||||
|
||||
elliptic@^6.5.3:
|
||||
version "6.5.4"
|
||||
@@ -3040,18 +3030,6 @@ es6-promise@^3.0.2:
|
||||
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.3.1.tgz#a08cdde84ccdbf34d027a1451bc91d4bcd28a613"
|
||||
integrity sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM=
|
||||
|
||||
es6-promise@^4.0.3:
|
||||
version "4.2.8"
|
||||
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a"
|
||||
integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==
|
||||
|
||||
es6-promisify@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203"
|
||||
integrity sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=
|
||||
dependencies:
|
||||
es6-promise "^4.0.3"
|
||||
|
||||
es6-symbol@^3.1.1, es6-symbol@~3.1.3:
|
||||
version "3.1.3"
|
||||
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18"
|
||||
@@ -3075,7 +3053,7 @@ escape-string-regexp@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
|
||||
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
|
||||
|
||||
escodegen@1.x.x:
|
||||
escodegen@^1.8.1:
|
||||
version "1.14.3"
|
||||
resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503"
|
||||
integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==
|
||||
@@ -3303,11 +3281,6 @@ espree@^7.3.0, espree@^7.3.1:
|
||||
acorn-jsx "^5.3.1"
|
||||
eslint-visitor-keys "^1.3.0"
|
||||
|
||||
esprima@3.x.x:
|
||||
version "3.1.3"
|
||||
resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
|
||||
integrity sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=
|
||||
|
||||
esprima@^4.0.0, esprima@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
|
||||
@@ -3457,10 +3430,17 @@ file-type@^3.1.0:
|
||||
resolved "https://registry.yarnpkg.com/file-type/-/file-type-3.9.0.tgz#257a078384d1db8087bc449d107d52a52672b9e9"
|
||||
integrity sha1-JXoHg4TR24CHvESdEH1SpSZyuek=
|
||||
|
||||
file-uri-to-path@1:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
|
||||
integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==
|
||||
file-uri-to-path@2:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-2.0.0.tgz#7b415aeba227d575851e0a5b0c640d7656403fba"
|
||||
integrity sha512-hjPFI8oE/2iQPVe4gbrJ73Pp+Xfub2+WI2LlXDbsaJBwT5wuMh35WNWVYYTpnz895shtwfyutMFLFywpQAFdLg==
|
||||
|
||||
filelist@^1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.2.tgz#80202f21462d4d1c2e214119b1807c1bc0380e5b"
|
||||
integrity sha512-z7O0IS8Plc39rTCq6i6iHxk43duYOn8uFJiWSewIq0Bww1RNybVHSCjahmcC87ZqAm4OTvFzlzeGu3XAzG1ctQ==
|
||||
dependencies:
|
||||
minimatch "^3.0.4"
|
||||
|
||||
filesize@^6.1.0:
|
||||
version "6.1.0"
|
||||
@@ -3574,6 +3554,15 @@ fs-constants@^1.0.0:
|
||||
resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
|
||||
integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
|
||||
|
||||
fs-extra@^8.1.0:
|
||||
version "8.1.0"
|
||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
|
||||
integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==
|
||||
dependencies:
|
||||
graceful-fs "^4.2.0"
|
||||
jsonfile "^4.0.0"
|
||||
universalify "^0.1.0"
|
||||
|
||||
fs-extra@^9.0.1:
|
||||
version "9.1.0"
|
||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d"
|
||||
@@ -3601,12 +3590,12 @@ fs@0.0.1-security:
|
||||
resolved "https://registry.yarnpkg.com/fs/-/fs-0.0.1-security.tgz#8a7bd37186b6dddf3813f23858b57ecaaf5e41d4"
|
||||
integrity sha1-invTcYa23d84E/I4WLV+yq9eQdQ=
|
||||
|
||||
fsevents@~2.3.1:
|
||||
fsevents@~2.3.1, fsevents@~2.3.2:
|
||||
version "2.3.2"
|
||||
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
|
||||
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
|
||||
|
||||
ftp@~0.3.10:
|
||||
ftp@^0.3.10:
|
||||
version "0.3.10"
|
||||
resolved "https://registry.yarnpkg.com/ftp/-/ftp-0.3.10.tgz#9197d861ad8142f3e63d5a83bfe4c59f7330885d"
|
||||
integrity sha1-kZfYYa2BQvPmPVqDv+TFn3MwiF0=
|
||||
@@ -3683,17 +3672,17 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.1:
|
||||
has "^1.0.3"
|
||||
has-symbols "^1.0.1"
|
||||
|
||||
get-uri@^2.0.0:
|
||||
version "2.0.4"
|
||||
resolved "https://registry.yarnpkg.com/get-uri/-/get-uri-2.0.4.tgz#d4937ab819e218d4cb5ae18e4f5962bef169cc6a"
|
||||
integrity sha512-v7LT/s8kVjs+Tx0ykk1I+H/rbpzkHvuIq87LmeXptcf5sNWm9uQiwjNAt94SJPA1zOlCntmnOlJvVWKmzsxG8Q==
|
||||
get-uri@3:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/get-uri/-/get-uri-3.0.2.tgz#f0ef1356faabc70e1f9404fa3b66b2ba9bfc725c"
|
||||
integrity sha512-+5s0SJbGoyiJTZZ2JTpFPLMPSch72KEqGOTvQsBqg0RBWvwhWUSYZFAtz3TPW0GXJuLBJPts1E241iHg+VRfhg==
|
||||
dependencies:
|
||||
data-uri-to-buffer "1"
|
||||
debug "2"
|
||||
extend "~3.0.2"
|
||||
file-uri-to-path "1"
|
||||
ftp "~0.3.10"
|
||||
readable-stream "2"
|
||||
"@tootallnate/once" "1"
|
||||
data-uri-to-buffer "3"
|
||||
debug "4"
|
||||
file-uri-to-path "2"
|
||||
fs-extra "^8.1.0"
|
||||
ftp "^0.3.10"
|
||||
|
||||
getpass@^0.1.1:
|
||||
version "0.1.7"
|
||||
@@ -3708,7 +3697,7 @@ gherkin@5.0.0:
|
||||
integrity sha1-lt70EZjsOQgli1Ea909lWidk0qE=
|
||||
|
||||
glob-parent@^5.0.0, glob-parent@~5.1.0:
|
||||
version "5.1.1"
|
||||
version "5.1.2"
|
||||
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229"
|
||||
integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==
|
||||
dependencies:
|
||||
@@ -3893,9 +3882,9 @@ hmac-drbg@^1.0.1:
|
||||
minimalistic-crypto-utils "^1.0.1"
|
||||
|
||||
hosted-git-info@^2.1.4:
|
||||
version "2.8.8"
|
||||
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488"
|
||||
integrity sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==
|
||||
version "2.8.9"
|
||||
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9"
|
||||
integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==
|
||||
|
||||
hosted-git-info@^3.0.6:
|
||||
version "3.0.8"
|
||||
@@ -3930,15 +3919,7 @@ http-errors@1.7.3:
|
||||
statuses ">= 1.5.0 < 2"
|
||||
toidentifier "1.0.0"
|
||||
|
||||
http-proxy-agent@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
|
||||
integrity sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg==
|
||||
dependencies:
|
||||
agent-base "4"
|
||||
debug "3.1.0"
|
||||
|
||||
http-proxy-agent@^4.0.1:
|
||||
http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a"
|
||||
integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==
|
||||
@@ -3956,15 +3937,7 @@ http-signature@~1.2.0:
|
||||
jsprim "^1.2.2"
|
||||
sshpk "^1.7.0"
|
||||
|
||||
https-proxy-agent@^3.0.0:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-3.0.1.tgz#b8c286433e87602311b01c8ea34413d856a4af81"
|
||||
integrity sha512-+ML2Rbh6DAuee7d07tYGEKOEi2voWPUGan+ExdPbPW6Z3svq+JCqr0v8WmKPOkz1vOVykPCBSuobe7G8GJUtVg==
|
||||
dependencies:
|
||||
agent-base "^4.3.0"
|
||||
debug "^3.1.0"
|
||||
|
||||
https-proxy-agent@^5.0.0:
|
||||
https-proxy-agent@5, https-proxy-agent@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2"
|
||||
integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==
|
||||
@@ -4120,7 +4093,7 @@ ip-regex@^1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-1.0.3.tgz#dc589076f659f419c222039a33316f1c7387effd"
|
||||
integrity sha1-3FiQdvZZ9BnCIgOaMzFvHHOH7/0=
|
||||
|
||||
ip@1.1.5, ip@^1.1.5:
|
||||
ip@^1.1.5:
|
||||
version "1.1.5"
|
||||
resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
|
||||
integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=
|
||||
@@ -4266,6 +4239,13 @@ is-object@~0.1.2:
|
||||
resolved "https://registry.yarnpkg.com/is-object/-/is-object-0.1.2.tgz#00efbc08816c33cfc4ac8251d132e10dc65098d7"
|
||||
integrity sha1-AO+8CIFsM8/ErIJR0TLhDcZQmNc=
|
||||
|
||||
is-plain-object@^2.0.4:
|
||||
version "2.0.4"
|
||||
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677"
|
||||
integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==
|
||||
dependencies:
|
||||
isobject "^3.0.1"
|
||||
|
||||
is-promise@^2.0.0:
|
||||
version "2.2.2"
|
||||
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1"
|
||||
@@ -4333,11 +4313,26 @@ isexe@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
|
||||
integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=
|
||||
|
||||
isobject@^3.0.1:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
|
||||
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=
|
||||
|
||||
isstream@~0.1.2:
|
||||
version "0.1.2"
|
||||
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
|
||||
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=
|
||||
|
||||
jake@^10.6.1:
|
||||
version "10.8.2"
|
||||
resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.2.tgz#ebc9de8558160a66d82d0eadc6a2e58fbc500a7b"
|
||||
integrity sha512-eLpKyrfG3mzvGE2Du8VoPbeSkRry093+tyNjdYaBbJS9v17knImYGNXQCUV0gLxQtF82m3E8iRb/wdSQZLoq7A==
|
||||
dependencies:
|
||||
async "0.9.x"
|
||||
chalk "^2.4.2"
|
||||
filelist "^1.0.1"
|
||||
minimatch "^3.0.4"
|
||||
|
||||
jest-worker@^26.2.1:
|
||||
version "26.6.2"
|
||||
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed"
|
||||
@@ -4489,6 +4484,13 @@ json5@^2.1.2:
|
||||
dependencies:
|
||||
minimist "^1.2.5"
|
||||
|
||||
jsonfile@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
|
||||
integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=
|
||||
optionalDependencies:
|
||||
graceful-fs "^4.1.6"
|
||||
|
||||
jsonfile@^6.0.1:
|
||||
version "6.1.0"
|
||||
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"
|
||||
@@ -4528,6 +4530,11 @@ kind-of@^3.0.2:
|
||||
dependencies:
|
||||
is-buffer "^1.1.5"
|
||||
|
||||
kind-of@^6.0.2:
|
||||
version "6.0.3"
|
||||
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
|
||||
integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==
|
||||
|
||||
knuth-shuffle-seeded@^1.0.6:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/knuth-shuffle-seeded/-/knuth-shuffle-seeded-1.0.6.tgz#01f1b65733aa7540ee08d8b0174164d22081e4e1"
|
||||
@@ -5257,10 +5264,10 @@ neo-async@^2.6.0:
|
||||
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
|
||||
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
|
||||
|
||||
netmask@^1.0.6:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/netmask/-/netmask-1.0.6.tgz#20297e89d86f6f6400f250d9f4f6b4c1945fcd35"
|
||||
integrity sha1-ICl+idhvb2QA8lDZ9Pa0wZRfzTU=
|
||||
netmask@^2.0.1:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/netmask/-/netmask-2.0.2.tgz#8b01a07644065d536383835823bc52004ebac5e7"
|
||||
integrity sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==
|
||||
|
||||
next-tick@~1.0.0:
|
||||
version "1.0.0"
|
||||
@@ -5288,16 +5295,16 @@ nightwatch-vrt@^0.2.10:
|
||||
jimp "^0.2.28"
|
||||
lodash "^4.17.4"
|
||||
|
||||
nightwatch@^1.3.6:
|
||||
version "1.5.1"
|
||||
resolved "https://registry.yarnpkg.com/nightwatch/-/nightwatch-1.5.1.tgz#100cee1d6545bc4367888514822d03e891d75655"
|
||||
integrity sha512-tFhzV7JyLjI+Rq7xXLaRUQ/hExP87GlMYiAlhAYaODpyQSIl8O7/yf7gAUYQd3H7m3n+tnwFFsuE0GaxvCdoZA==
|
||||
nightwatch@^1.6.0:
|
||||
version "1.6.3"
|
||||
resolved "https://registry.yarnpkg.com/nightwatch/-/nightwatch-1.6.3.tgz#94936dd1a267d9a16969141ac03ac61c5a26f636"
|
||||
integrity sha512-otVr+YUmtXcj7aG14GfkuCMUOpuJfSOVvsTxQiSRmO3rSfclOWglE6jaCmyMiHMYNwy/LPp86PXJFD5pzMo/wA==
|
||||
dependencies:
|
||||
assertion-error "^1.1.0"
|
||||
chai-nightwatch "^0.4.0"
|
||||
ci-info "^2.0.0"
|
||||
dotenv "7.0.0"
|
||||
ejs "^2.7.4"
|
||||
ejs "^3.1.6"
|
||||
envinfo "^7.5.1"
|
||||
lodash.clone "3.0.3"
|
||||
lodash.defaultsdeep "^4.6.1"
|
||||
@@ -5307,7 +5314,7 @@ nightwatch@^1.3.6:
|
||||
mkpath "1.0.0"
|
||||
mocha "6.2.3"
|
||||
ora "^4.0.3"
|
||||
proxy-agent "^3.1.1"
|
||||
proxy-agent "^4.0.1"
|
||||
request "^2.88.2"
|
||||
request-promise "^4.2.5"
|
||||
semver "^6.3.0"
|
||||
@@ -5354,10 +5361,10 @@ node-modules-regexp@^1.0.0:
|
||||
resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40"
|
||||
integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=
|
||||
|
||||
node-releases@^1.1.70:
|
||||
version "1.1.71"
|
||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.71.tgz#cb1334b179896b1c89ecfdd4b725fb7bbdfc7dbb"
|
||||
integrity sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==
|
||||
node-releases@^1.1.71:
|
||||
version "1.1.72"
|
||||
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.72.tgz#14802ab6b1039a79a0c7d662b610a5bbd76eacbe"
|
||||
integrity sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw==
|
||||
|
||||
nopt@^5.0.0:
|
||||
version "5.0.0"
|
||||
@@ -5639,30 +5646,29 @@ p-try@^2.0.0:
|
||||
resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
|
||||
integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==
|
||||
|
||||
pac-proxy-agent@^3.0.1:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/pac-proxy-agent/-/pac-proxy-agent-3.0.1.tgz#115b1e58f92576cac2eba718593ca7b0e37de2ad"
|
||||
integrity sha512-44DUg21G/liUZ48dJpUSjZnFfZro/0K5JTyFYLBcmh9+T6Ooi4/i4efwUiEy0+4oQusCBqWdhv16XohIj1GqnQ==
|
||||
pac-proxy-agent@^4.1.0:
|
||||
version "4.1.0"
|
||||
resolved "https://registry.yarnpkg.com/pac-proxy-agent/-/pac-proxy-agent-4.1.0.tgz#66883eeabadc915fc5e95457324cb0f0ac78defb"
|
||||
integrity sha512-ejNgYm2HTXSIYX9eFlkvqFp8hyJ374uDf0Zq5YUAifiSh1D6fo+iBivQZirGvVv8dCYUsLhmLBRhlAYvBKI5+Q==
|
||||
dependencies:
|
||||
agent-base "^4.2.0"
|
||||
debug "^4.1.1"
|
||||
get-uri "^2.0.0"
|
||||
http-proxy-agent "^2.1.0"
|
||||
https-proxy-agent "^3.0.0"
|
||||
pac-resolver "^3.0.0"
|
||||
"@tootallnate/once" "1"
|
||||
agent-base "6"
|
||||
debug "4"
|
||||
get-uri "3"
|
||||
http-proxy-agent "^4.0.1"
|
||||
https-proxy-agent "5"
|
||||
pac-resolver "^4.1.0"
|
||||
raw-body "^2.2.0"
|
||||
socks-proxy-agent "^4.0.1"
|
||||
socks-proxy-agent "5"
|
||||
|
||||
pac-resolver@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/pac-resolver/-/pac-resolver-3.0.0.tgz#6aea30787db0a891704deb7800a722a7615a6f26"
|
||||
integrity sha512-tcc38bsjuE3XZ5+4vP96OfhOugrX+JcnpUbhfuc4LuXBLQhoTthOstZeoQJBDnQUDYzYmdImKsbz0xSl1/9qeA==
|
||||
pac-resolver@^4.1.0:
|
||||
version "4.2.0"
|
||||
resolved "https://registry.yarnpkg.com/pac-resolver/-/pac-resolver-4.2.0.tgz#b82bcb9992d48166920bc83c7542abb454bd9bdd"
|
||||
integrity sha512-rPACZdUyuxT5Io/gFKUeeZFfE5T7ve7cAkE5TUZRRfuKP0u5Hocwe48X7ZEm6mYB+bTB0Qf+xlVlA/RM/i6RCQ==
|
||||
dependencies:
|
||||
co "^4.6.0"
|
||||
degenerator "^1.0.4"
|
||||
degenerator "^2.2.0"
|
||||
ip "^1.1.5"
|
||||
netmask "^1.0.6"
|
||||
thunkify "^2.1.2"
|
||||
netmask "^2.0.1"
|
||||
|
||||
pacote@^11.2.7:
|
||||
version "11.2.7"
|
||||
@@ -5777,7 +5783,7 @@ path-key@^3.1.0:
|
||||
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
|
||||
|
||||
path-parse@^1.0.6:
|
||||
version "1.0.6"
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
|
||||
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
|
||||
|
||||
@@ -6074,19 +6080,19 @@ proto-list@~1.2.1:
|
||||
resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"
|
||||
integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=
|
||||
|
||||
proxy-agent@^3.1.1:
|
||||
version "3.1.1"
|
||||
resolved "https://registry.yarnpkg.com/proxy-agent/-/proxy-agent-3.1.1.tgz#7e04e06bf36afa624a1540be247b47c970bd3014"
|
||||
integrity sha512-WudaR0eTsDx33O3EJE16PjBRZWcX8GqCEeERw1W3hZJgH/F2a46g7jty6UGty6NeJ4CKQy8ds2CJPMiyeqaTvw==
|
||||
proxy-agent@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/proxy-agent/-/proxy-agent-4.0.1.tgz#326c3250776c7044cd19655ccbfadf2e065a045c"
|
||||
integrity sha512-ODnQnW2jc/FUVwHHuaZEfN5otg/fMbvMxz9nMSUQfJ9JU7q2SZvSULSsjLloVgJOiv9yhc8GlNMKc4GkFmcVEA==
|
||||
dependencies:
|
||||
agent-base "^4.2.0"
|
||||
agent-base "^6.0.0"
|
||||
debug "4"
|
||||
http-proxy-agent "^2.1.0"
|
||||
https-proxy-agent "^3.0.0"
|
||||
http-proxy-agent "^4.0.0"
|
||||
https-proxy-agent "^5.0.0"
|
||||
lru-cache "^5.1.1"
|
||||
pac-proxy-agent "^3.0.1"
|
||||
pac-proxy-agent "^4.1.0"
|
||||
proxy-from-env "^1.0.0"
|
||||
socks-proxy-agent "^4.0.1"
|
||||
socks-proxy-agent "^5.0.0"
|
||||
|
||||
proxy-from-env@^1.0.0:
|
||||
version "1.1.0"
|
||||
@@ -6314,7 +6320,7 @@ pug@^2.0.3:
|
||||
pug-runtime "^2.0.5"
|
||||
pug-strip-comments "^1.0.4"
|
||||
|
||||
pug@^3.0.0:
|
||||
pug@^3.0.2:
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/pug/-/pug-3.0.2.tgz#f35c7107343454e43bc27ae0ff76c731b78ea535"
|
||||
integrity sha512-bp0I/hiK1D1vChHh6EfDxtndHji55XP/ZJKwsRqrz6lRia6ZC2OZbdAymlxdVFwd1L70ebrVJw4/eZ79skrIaw==
|
||||
@@ -6420,7 +6426,7 @@ readable-stream@1.1.x, readable-stream@^1.0.26-4:
|
||||
isarray "0.0.1"
|
||||
string_decoder "~0.10.x"
|
||||
|
||||
readable-stream@2, readable-stream@^2.0.0, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.2.2:
|
||||
readable-stream@^2.0.0, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.2.2:
|
||||
version "2.3.7"
|
||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
|
||||
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
|
||||
@@ -6737,12 +6743,12 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.7.1, rollup-pluginutils@^2.8.1,
|
||||
dependencies:
|
||||
estree-walker "^0.6.1"
|
||||
|
||||
rollup@^2.42.4:
|
||||
version "2.42.4"
|
||||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.42.4.tgz#97c910a48bd0db6aaa4271dd48745870cbbbf970"
|
||||
integrity sha512-Zqv3EvNfcllBHyyEUM754npqsZw82VIjK34cDQMwrQ1d6aqxzeYu5yFb7smGkPU4C1Bj7HupIMeT6WU7uIdnMw==
|
||||
rollup@^2.55.1:
|
||||
version "2.56.0"
|
||||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.56.0.tgz#daa832955d2b58f1ed52a3c4c85b7d1adaf076d0"
|
||||
integrity sha512-weEafgbjbHCnrtJPNyCrhYnjP62AkF04P0BcV/1mofy1+gytWln4VVB1OK462cq2EAyWzRDpTMheSP/o+quoiA==
|
||||
optionalDependencies:
|
||||
fsevents "~2.3.1"
|
||||
fsevents "~2.3.2"
|
||||
|
||||
run-async@^2.4.0:
|
||||
version "2.4.1"
|
||||
@@ -6842,6 +6848,13 @@ sha.js@^2.4.0, sha.js@^2.4.8:
|
||||
inherits "^2.0.1"
|
||||
safe-buffer "^5.0.1"
|
||||
|
||||
shallow-clone@^3.0.0:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3"
|
||||
integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==
|
||||
dependencies:
|
||||
kind-of "^6.0.2"
|
||||
|
||||
shebang-command@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
|
||||
@@ -6908,15 +6921,7 @@ smart-buffer@^4.1.0:
|
||||
resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.1.0.tgz#91605c25d91652f4661ea69ccf45f1b331ca21ba"
|
||||
integrity sha512-iVICrxOzCynf/SNaBQCw34eM9jROU/s5rzIhpOvzhzuYHfJR/DhZfDkXiZSgKXfgv26HT3Yni3AV/DGw0cGnnw==
|
||||
|
||||
socks-proxy-agent@^4.0.1:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386"
|
||||
integrity sha512-NT6syHhI9LmuEMSK6Kd2V7gNv5KFZoLE7V5udWmn0de+3Mkj3UMA/AJPLyeNUVmElCurSHtUdM3ETpR3z770Wg==
|
||||
dependencies:
|
||||
agent-base "~4.2.1"
|
||||
socks "~2.3.2"
|
||||
|
||||
socks-proxy-agent@^5.0.0:
|
||||
socks-proxy-agent@5, socks-proxy-agent@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-5.0.0.tgz#7c0f364e7b1cf4a7a437e71253bed72e9004be60"
|
||||
integrity sha512-lEpa1zsWCChxiynk+lCycKuC502RxDWLKJZoIhnxrWNjLSDGYRFflHA1/228VkRcnv9TIb8w98derGbpKxJRgA==
|
||||
@@ -6933,14 +6938,6 @@ socks@^2.3.3:
|
||||
ip "^1.1.5"
|
||||
smart-buffer "^4.1.0"
|
||||
|
||||
socks@~2.3.2:
|
||||
version "2.3.3"
|
||||
resolved "https://registry.yarnpkg.com/socks/-/socks-2.3.3.tgz#01129f0a5d534d2b897712ed8aceab7ee65d78e3"
|
||||
integrity sha512-o5t52PCNtVdiOvzMry7wU4aOqYWL0PeCXRWBEiJow4/i/wr+wpsJQ9awEu1EonLIqsfGd5qSgDdxEOvCdmBEpA==
|
||||
dependencies:
|
||||
ip "1.1.5"
|
||||
smart-buffer "^4.1.0"
|
||||
|
||||
source-map-resolve@^0.5.2:
|
||||
version "0.5.3"
|
||||
resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a"
|
||||
@@ -7336,7 +7333,7 @@ tar-stream@^2.2.0:
|
||||
readable-stream "^3.1.1"
|
||||
|
||||
tar@^6.0.2, tar@^6.1.0:
|
||||
version "6.1.0"
|
||||
version "6.1.6"
|
||||
resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.0.tgz#d1724e9bcc04b977b18d5c573b333a2207229a83"
|
||||
integrity sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA==
|
||||
dependencies:
|
||||
@@ -7389,11 +7386,6 @@ through@^2.3.6:
|
||||
resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
|
||||
integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=
|
||||
|
||||
thunkify@^2.1.2:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/thunkify/-/thunkify-2.1.2.tgz#faa0e9d230c51acc95ca13a361ac05ca7e04553d"
|
||||
integrity sha1-+qDp0jDFGsyVyhOjYawFyn4EVT0=
|
||||
|
||||
tinycolor2@^1.1.2:
|
||||
version "1.4.2"
|
||||
resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.4.2.tgz#3f6a4d1071ad07676d7fa472e1fac40a719d8803"
|
||||
@@ -7624,6 +7616,11 @@ unique-slug@^2.0.0:
|
||||
dependencies:
|
||||
imurmurhash "^0.1.4"
|
||||
|
||||
universalify@^0.1.0:
|
||||
version "0.1.2"
|
||||
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
|
||||
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
|
||||
|
||||
universalify@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Proxy: Add claims policy selector
|
||||
|
||||
Using the proxy config file, it is now possible to let let the IdP determine the routing policy by sending an `ocis.routing.policy` claim. Its value will be used to determine the set of routes for the logged in user.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2248
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Improve IDP Login Accessibility
|
||||
|
||||
We have addressed the feedback from the `a11y` audit and improved
|
||||
the IDP login screen accordingly.
|
||||
|
||||
https://github.com/owncloud/web/issues/5376
|
||||
https://github.com/owncloud/web/issues/5377
|
||||
@@ -0,0 +1,3 @@
|
||||
Enhancement: Add ocs cache warmup config and warn on protobuf ns conflicts
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2328
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: forward basic auth to OpenID connect token authentication endpoint
|
||||
|
||||
When using `PROXY_ENABLE_BASIC_AUTH=true` we now forward request to the idp instead of trying to authenticate the request ourself.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/2095
|
||||
https://github.com/owncloud/ocis/issues/2094
|
||||
@@ -0,0 +1,8 @@
|
||||
Bugfix: log all requests in the proxy access log
|
||||
|
||||
We now use a dedicated middleware to log all requests, regardless of routing selector outcome.
|
||||
While the log now includes the remote address, the selected routing policy is only logged when log level
|
||||
is set to debug because the request context cannot be changed in the `directorSelectionDirector`, as per
|
||||
the `ReverseProxy.Director` documentation.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2301
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Refactor graph API
|
||||
|
||||
We refactored the `/graph/v1.0/` endpoint which now relies on the internal acces token fer authentication, getting rid of any LDAP or OIDC code to authenticate requests. This allows using the graph api when using basic auth or any other auth mechanism provided by the CS3 auth providers / reva gateway / ocis proxy.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2277
|
||||
@@ -0,0 +1,10 @@
|
||||
Bugfix: update glauth to 20210729125545-b9aecdfcac31
|
||||
|
||||
* Fixes the backend config not being passed correctly in ocis
|
||||
* Fixes a mutex being copied, leading to concurrent writes
|
||||
* Fixes UTF8 chars in filters
|
||||
* Fixes case insensitive strings
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2336
|
||||
https://github.com/glauth/glauth/pull/198
|
||||
https://github.com/glauth/glauth/pull/194
|
||||
@@ -0,0 +1,50 @@
|
||||
Enhancement: update REVA
|
||||
|
||||
Update REVA from v1.10.1-0.20210730095301-fcb7a30a44a6 to v1.11.1-0.20210809134415-3fe79c870fb5
|
||||
* Fix cs3org/reva#1978: Fix owner type is optional
|
||||
* Fix cs3org/reva#1965: fix value of file_target in shares
|
||||
* Fix cs3org/reva#1960: fix updating shares in the memory share manager
|
||||
* Fix cs3org/reva#1956: fix trashbin listing with depth 0
|
||||
* Fix cs3org/reva#1957: fix etag propagation on deletes
|
||||
* Enh cs3org/reva#1861: [WIP] Runtime plugins
|
||||
* Fix cs3org/reva#1954: fix response format of the sharees API
|
||||
* Fix cs3org/reva#1819: Remove notifications key from ocs response
|
||||
* Enh cs3org/reva#1946: Add a share manager that connects to oc10 databases
|
||||
* Fix cs3org/reva#1899: Fix chunked uploads for new versions
|
||||
* Fix cs3org/reva#1906: Fix copy over existing resource
|
||||
* Fix cs3org/reva#1891: Delete Shared Resources as Receiver
|
||||
* Fix cs3org/reva#1907: Error when creating folder with existing name
|
||||
* Fix cs3org/reva#1937: Do not overwrite more specific matches when finding storage providers
|
||||
* Fix cs3org/reva#1939: Fix the share jail permissions in the decomposedfs
|
||||
* Fix cs3org/reva#1932: Numerous fixes to the owncloudsql storage driver
|
||||
* Fix cs3org/reva#1912: Fix response when listing versions of another user
|
||||
* Fix cs3org/reva#1910: Get user groups recursively in the cbox rest user driver
|
||||
* Fix cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the datagateway
|
||||
* Fix cs3org/reva#1911: Fix version order in propfind responses
|
||||
* Fix cs3org/reva#1926: Trash Bin in oCIS Storage Operations
|
||||
* Fix cs3org/reva#1901: Fix response code when folder doesnt exist on upload
|
||||
* Enh cs3org/reva#1785: Extend app registry with AddProvider method and mimetype filters
|
||||
* Enh cs3org/reva#1938: Add methods to get and put context values
|
||||
* Enh cs3org/reva#1798: Add support for a deny-all permission on references
|
||||
* Enh cs3org/reva#1916: Generate updated protobuf bindings for EOS GRPC
|
||||
* Enh cs3org/reva#1887: Add "a" and "l" filter for grappa queries
|
||||
* Enh cs3org/reva#1919: Run gofmt before building
|
||||
* Enh cs3org/reva#1927: Implement RollbackToVersion for eosgrpc (needs a newer EOS MGM)
|
||||
* Enh cs3org/reva#1944: Implement listing supported mime types in app registry
|
||||
* Enh cs3org/reva#1870: Be defensive about wrongly quoted etags
|
||||
* Enh cs3org/reva#1940: Reduce memory usage when uploading with S3ng storage
|
||||
* Enh cs3org/reva#1888: Refactoring of the webdav code
|
||||
* Enh cs3org/reva#1900: Check for illegal names while uploading or moving files
|
||||
* Enh cs3org/reva#1925: Refactor listing and statting across providers for virtual views
|
||||
* Fix cs3org/reva#1883: Pass directories with trailing slashes to eosclient.GenerateToken
|
||||
* Fix cs3org/reva#1878: Improve the webdav error handling in the trashbin
|
||||
* Fix cs3org/reva#1884: Do not send body on failed range request
|
||||
* Enh cs3org/reva#1744: Add support for lightweight user types
|
||||
* Fix cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the datagateway
|
||||
* Fix cs3org/reva#1899: Bugfix: Fix chunked uploads for new versions
|
||||
* Enh cs3org/reva#1888: Refactoring of the webdav code
|
||||
* Enh cs3org/reva#1887: Add "a" and "l" filter for grappa queries
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2355
|
||||
https://github.com/owncloud/ocis/pull/2295
|
||||
https://github.com/owncloud/ocis/pull/2314
|
||||
@@ -0,0 +1,8 @@
|
||||
Change: Update ownCloud Web to v4.0.0
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v4.0.0. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2353
|
||||
https://github.com/owncloud/web/releases/tag/v4.0.0
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: use only one go.mod file for project dependencies
|
||||
|
||||
We now use one single go.mod file at the root of the repository
|
||||
rather than one per core extension.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2344
|
||||
@@ -0,0 +1,3 @@
|
||||
Bugfix: Specify primary user type for all accounts
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2364
|
||||
@@ -0,0 +1,7 @@
|
||||
Enhancement: Use non root user for the owncloud/ocis docker image
|
||||
|
||||
The owncloud/ocis docker image now uses a non root user and enables you to set a different user with the docker `--user` parameter. The default user has the UID 1000 is part of a group with the GID 1000.
|
||||
|
||||
This is a breaking change for existing docker deployments. The permission on the files and folders in persistent volumes need to be changed to the UID and GID used for oCIS (default 1000:1000 if not changed by the user).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2380
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Replace unmaintained jwt library
|
||||
|
||||
The old library [github.com/dgrijalva/jwt-go](https://github.com/dgrijalva/jwt-go) is unmaintained and was replaced by the community maintained fork [github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2386
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Update bleve to version 2.1.0
|
||||
|
||||
Updated bleve to the current version.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2391
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Update github.com/coreos/go-oidc to v3.0.0
|
||||
|
||||
Updated the github.com/coreos/go-oidc library to the version 3.0.0.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2393
|
||||
@@ -0,0 +1,22 @@
|
||||
Enhancement: Update reva to v1.12
|
||||
|
||||
* Enhancement cs3org/reva#1803: Introduce new webdav spaces endpoint
|
||||
* Bugfix cs3org/reva#1819: Disable notifications
|
||||
* Enhancement cs3org/reva#1861: Add support for runtime plugins
|
||||
* Bugfix cs3org/reva#1913: Logic to restore files to readonly nodes
|
||||
* Enhancement cs3org/reva#1946: Add share manager that connects to oc10 databases
|
||||
* Bugfix cs3org/reva#1954: Fix response format of the sharees API
|
||||
* Bugfix cs3org/reva#1956: Fix trashbin listing with depth 0
|
||||
* Bugfix cs3org/reva#1957: Fix etag propagation on deletes
|
||||
* Bugfix cs3org/reva#1960: Return the updated share after updating
|
||||
* Bugfix cs3org/reva#1965 cs3org/reva#1967: Fix the file target of user and group shares
|
||||
* Bugfix cs3org/reva#1980: Propagate the etag after restoring a file version
|
||||
* Enhancement cs3org/reva#1984: Replace OpenCensus with OpenTelemetry
|
||||
* Bugfix cs3org/reva#1985: Add quota stubs
|
||||
* Bugfix cs3org/reva#1987: Fix windows build
|
||||
* Bugfix cs3org/reva#1990: Increase oc10 compatibility of owncloudsql
|
||||
* Bugfix cs3org/reva#1992: Check if symlink exists instead of spamming the console
|
||||
* Bugfix cs3org/reva#1993: fix owncloudsql GetMD
|
||||
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2423
|
||||
@@ -0,0 +1,8 @@
|
||||
Change: Update ownCloud Web to v4.1.0
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v4.1.0. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2426
|
||||
https://github.com/owncloud/web/releases/tag/v4.1.0
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix naming of the user- and groupprovider services
|
||||
|
||||
The services are called "storage-userprovider" and "storage-groupprovider". The 'ocis help' output was misleading.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2388
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: Enable the s3ng storage driver
|
||||
|
||||
We made it possible to use the new s3ng storage driver by adding according
|
||||
commandline flags and environment variables.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1886
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: Color contrasts on IDP/OIDC login pages
|
||||
|
||||
We have updated the color contrasts on the IDP pages
|
||||
in order to improve accessibility.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2088
|
||||
@@ -0,0 +1,7 @@
|
||||
Enhancement: Announce user profile picture capability
|
||||
|
||||
Added a new capability (through https://github.com/cs3org/reva/pull/1694) to prevent
|
||||
the web frontend from fetching (nonexistent) user avatar profile pictures which added
|
||||
latency & console errors.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2036
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Change the groups index to be case sensitive
|
||||
|
||||
Groups are considered to be case sensitive. The index must handle them case sensitive too otherwise we will have undeterministic behavior while editing or deleting groups.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2109
|
||||
@@ -0,0 +1,11 @@
|
||||
Enhancement: Update reva to v1.7.1-0.20210531093513-b74a2b156af6
|
||||
|
||||
This reva update includes:
|
||||
* [fix move in the owncloud storage driver](https://github.com/cs3org/reva/pull/1696)
|
||||
* [add checksum header to the tus preflight response](https://github.com/cs3org/reva/pull/1702)
|
||||
* [Add reliability calculations support to Mentix](https://github.com/cs3org/reva/pull/1649)
|
||||
* [fix response format when accepting shares](https://github.com/cs3org/reva/pull/1724)
|
||||
* [Datatx createtransfershare](https://github.com/cs3org/reva/pull/1725)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2104
|
||||
https://github.com/owncloud/ocis/issues/2102
|
||||
@@ -0,0 +1,8 @@
|
||||
Change: Update ownCloud Web to v3.2.0
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v3.2.0. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2096
|
||||
https://github.com/owncloud/web/releases/tag/v3.2.0
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: External storage registration used wrong config
|
||||
|
||||
The go-micro registry-singleton ignores the ocis configuration and defaults to mdns
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2120
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Properly configure graph-explorer client registration
|
||||
|
||||
The client registration in the `identifier-registration.yaml` for the graph-explorer didn't contain `redirect_uris` nor `origins`. Both were added to prevent exploitation.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2118
|
||||
@@ -0,0 +1,9 @@
|
||||
Bugfix: Remove authentication from /status.php completely
|
||||
|
||||
Despite requests without Authentication header being successful, requests with an
|
||||
invalid bearer token in the Authentication header were rejected in the proxy with
|
||||
an 401 unauthenticated. Now the Authentication header is completely ignored for the
|
||||
/status.php route.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2188
|
||||
https://github.com/owncloud/client/issues/8538
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Use system default location to store TLS artefacts
|
||||
|
||||
This used to default to the current location of the binary, which is not ideal after a first run as it leaves traces behind. It now uses the system's location for artefacts with the help of https://golang.org/pkg/os/#UserConfigDir.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2129
|
||||
@@ -0,0 +1,18 @@
|
||||
Enhancement: update REVA to v1.9
|
||||
|
||||
This update includes
|
||||
* [set Content-Type correctly](https://github.com/cs3org/reva/pull/1750)
|
||||
* [Return file checksum available from the metadata for the EOS driver](https://github.com/cs3org/reva/pull/1755)
|
||||
* [Sort share entries alphabetically](https://github.com/cs3org/reva/pull/1772)
|
||||
* [Initial work on the owncloudsql driver](https://github.com/cs3org/reva/pull/1710)
|
||||
* [Add user ID cache warmup to EOS storage driver](https://github.com/cs3org/reva/pull/1774)
|
||||
* [Use UidNumber and GidNumber fields in User objects](https://github.com/cs3org/reva/pull/1573)
|
||||
* [EOS GRPC interface](https://github.com/cs3org/reva/pull/1471)
|
||||
* [switch references](https://github.com/cs3org/reva/pull/1721)
|
||||
* [remove user's uuid from trashbin file key](https://github.com/cs3org/reva/pull/1793)
|
||||
* [fix restore behavior of the trashbin API](https://github.com/cs3org/reva/pull/1795)
|
||||
* [eosfs: add arbitrary metadata support](https://github.com/cs3org/reva/pull/1811)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2205
|
||||
https://github.com/owncloud/ocis/pull/2210
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
Change: Update ownCloud Web to v3.3.0
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v3.3.0. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2187
|
||||
https://github.com/owncloud/web/releases/tag/v3.3.0
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Make webdav namespace configurable across services
|
||||
|
||||
The WebDAV namespace is used across various services, but it was previously
|
||||
hardcoded in some of the services. This PR uses the same environment variable
|
||||
to set the config correctly across the services.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2198
|
||||
@@ -0,0 +1,7 @@
|
||||
Bugfix: Panic when service fails to start
|
||||
|
||||
Tags: runtime
|
||||
|
||||
When attempting to run a service through the runtime that is currently running and fails to start, a race condition still redirect os Interrupt signals to a closed channel.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2252
|
||||
@@ -0,0 +1,9 @@
|
||||
Enhancement: Runtime support for cherry picking extensions
|
||||
|
||||
Support for running certain extensions supervised via cli flags. Example usage:
|
||||
|
||||
```
|
||||
> ocis server --extensions="proxy, idp, storage-metadata, accounts"
|
||||
```
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2229
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Add readonly mode for storagehome and storageusers
|
||||
|
||||
To enable the readonly mode use `STORAGE_HOME_READ_ONLY=true` and `STORAGE_USERS_READ_ONLY=true`. Alternative: use `OCIS_STORAGE_READ_ONLY=true`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2230
|
||||
@@ -0,0 +1,5 @@
|
||||
Enhancement: Remove unnecessary Service.Init()
|
||||
|
||||
As it turns out oCIS already calls this method. Invoking it twice would end in accidentally resetting values.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1705
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Dont use port 80 as debug for GroupsProvider
|
||||
|
||||
A copy/paste error where the configuration for the groupsprovider's debug address was not present leaves go-micro to start the debug service in port 80 by default.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2271
|
||||
@@ -0,0 +1,3 @@
|
||||
Enhancement: update REVA to v1.9.1-0.20210628143859-9d29c36c0c3f
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2227
|
||||
@@ -0,0 +1,24 @@
|
||||
Enhancement: update REVA to v1.9.1
|
||||
|
||||
* Fix cs3org/reva#1843: Correct Dockerfile path for the reva CLI and alpine3.13 as builder
|
||||
* Fix cs3org/reva#1835: Cleanup owncloudsql driver
|
||||
* Fix cs3org/reva#1868: Minor fixes to the grpc/http plugin: checksum, url escaping
|
||||
* Fix cs3org/reva#1885: Fix template in eoshomewrapper to use context user rather than resource
|
||||
* Fix cs3org/reva#1833: Properly handle name collisions for deletes in the owncloud driver
|
||||
* Fix cs3org/reva#1874: Use the original file mtime during upload
|
||||
* Fix cs3org/reva#1854: Add the uid/gid to the url for eos
|
||||
* Fix cs3org/reva#1848: Fill in missing gid/uid number with nobody
|
||||
* Fix cs3org/reva#1831: Make the ocm-provider endpoint in the ocmd service unprotected
|
||||
* Fix cs3org/reva#1808: Use empty array in OCS Notifications endpoints
|
||||
* Fix cs3org/reva#1825: Raise max grpc message size
|
||||
* Fix cs3org/reva#1828: Send a proper XML header with error messages
|
||||
* Chg cs3org/reva#1828: Remove the oidc provider in order to upgrad mattn/go-sqlite3 to v1.14.7
|
||||
* Enh cs3org/reva#1834: Add API key to Mentix GOCDB connector
|
||||
* Enh cs3org/reva#1855: Minor optimization in parsing EOS ACLs
|
||||
* Enh cs3org/reva#1873: Update the EOS image tag to be for revad-eos image
|
||||
* Enh cs3org/reva#1802: Introduce list spaces
|
||||
* Enh cs3org/reva#1849: Add readonly interceptor
|
||||
* Enh cs3org/reva#1875: Simplify resource comparison
|
||||
* Enh cs3org/reva#1827: Support trashbin sub paths in the recycle API
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2280
|
||||
@@ -0,0 +1,8 @@
|
||||
Change: Update ownCloud Web to v3.4.0
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v3.4.0. Please refer to the changelog (linked) for details on the web release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2276
|
||||
https://github.com/owncloud/web/releases/tag/v3.4.0
|
||||
@@ -0,0 +1,7 @@
|
||||
Change: update WEB to v3.4.1
|
||||
|
||||
* Fix [5501](https://github.com/owncloud/web/pull/5501): loading previews in the right sidebar
|
||||
* Fix [5493](https://github.com/owncloud/web/pull/5493): view options position
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2283
|
||||
https://github.com/owncloud/web/releases/tag/v3.4.1
|
||||
@@ -0,0 +1,41 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-s3-latest
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-20.04
|
||||
location: nbg1
|
||||
initial_ssh_key_names:
|
||||
- owncloud-ocis@drone.owncloud.com
|
||||
labels:
|
||||
owner: wkloucek
|
||||
for: oCIS-continuous-deployment-examples
|
||||
rebuild: $REBUILD
|
||||
rebuild_carry_paths:
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-s3.latest.owncloud.works"
|
||||
|
||||
vars:
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
git_url: https://github.com/owncloud/ocis.git
|
||||
ref: master
|
||||
docker_compose_path: deployments/examples/ocis_s3
|
||||
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
|
||||
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
|
||||
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
|
||||
@@ -0,0 +1,40 @@
|
||||
---
|
||||
- name: continuous-deployment-ocis-hello-latest
|
||||
server:
|
||||
server_type: cx21
|
||||
image: ubuntu-20.04
|
||||
location: nbg1
|
||||
initial_ssh_key_names:
|
||||
- owncloud-ocis@drone.owncloud.com
|
||||
labels:
|
||||
owner: wkloucek
|
||||
for: oCIS-continuous-deployment-examples
|
||||
rebuild: $REBUILD
|
||||
rebuild_carry_paths:
|
||||
- /var/lib/docker/volumes/ocis_certs
|
||||
|
||||
domains:
|
||||
- "*.ocis-hello.latest.owncloud.works"
|
||||
|
||||
vars:
|
||||
docker_compose_projects:
|
||||
- name: ocis
|
||||
git_url: https://github.com/owncloud/ocis.git
|
||||
ref: master
|
||||
docker_compose_path: deployments/examples/ocis_hello
|
||||
env:
|
||||
INSECURE: "false"
|
||||
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
|
||||
OCIS_DOCKER_TAG: latest
|
||||
OCIS_DOMAIN: ocis.ocis-hello.latest.owncloud.works
|
||||
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
- name: monitoring
|
||||
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
|
||||
ref: master
|
||||
env:
|
||||
NETWORK_NAME: ocis-net
|
||||
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-hello.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
|
||||
@@ -19,6 +19,8 @@ OCIS_DOCKER_TAG=
|
||||
OCIS_DOMAIN=
|
||||
# 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"
|
||||
OCIS_TRANSFER_SECRET=
|
||||
|
||||
|
||||
### LDAP server settings ###
|
||||
|
||||
@@ -13,7 +13,7 @@ objectClass: top
|
||||
uid: einstein
|
||||
givenName: Albert
|
||||
sn: Einstein
|
||||
cn: Albert Einstein
|
||||
cn: einstein
|
||||
displayName: Albert Einstein
|
||||
description: A German-born theoretical physicist who developed the theory of relativity, one of the two pillars of modern physics (alongside quantum mechanics).
|
||||
mail: einstein@example.org
|
||||
@@ -33,7 +33,7 @@ objectClass: top
|
||||
uid: marie
|
||||
givenName: Marie
|
||||
sn: Curie
|
||||
cn: Marie Curie
|
||||
cn: marie
|
||||
displayName: Marie Skłodowska Curie
|
||||
description: A Polish and naturalized-French physicist and chemist who conducted pioneering research on radioactivity.
|
||||
mail: marie@example.org
|
||||
@@ -53,7 +53,7 @@ objectClass: top
|
||||
uid: richard
|
||||
givenName: Richard
|
||||
sn: Feynman
|
||||
cn: Richard Feynman
|
||||
cn: richard
|
||||
displayName: Richard Phillips Feynman
|
||||
description: An American theoretical physicist, known for his work in the path integral formulation of quantum mechanics, the theory of quantum electrodynamics, the physics of the superfluidity of supercooled liquid helium, as well as his work in particle physics for which he proposed the parton model.
|
||||
mail: richard@example.org
|
||||
|
||||
@@ -3,22 +3,27 @@ version: "3.7"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v2.4
|
||||
image: traefik:v2.5
|
||||
networks:
|
||||
ocis-net:
|
||||
aliases:
|
||||
- ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
command:
|
||||
#- "--log.level=DEBUG"
|
||||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
# letsencrypt configuration
|
||||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
||||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
||||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
||||
# enable dasbhoard
|
||||
- "--api.dashboard=true"
|
||||
# define entrypoints
|
||||
- "--entryPoints.http.address=:80"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.to=https"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
||||
- "--entryPoints.https.address=:443"
|
||||
# docker provider (get configuration from container labels)
|
||||
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
|
||||
- "--providers.docker.exposedByDefault=false"
|
||||
- "--serversTransport.insecureSkipVerify=true" # oCIS uses self generated certificate
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
@@ -27,17 +32,12 @@ services:
|
||||
- "certs:/certs"
|
||||
labels:
|
||||
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
||||
- "traefik.http.routers.traefik.entrypoints=http"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$apr1$4vqie50r$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
|
||||
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
|
||||
- "traefik.http.routers.traefik-secure.entrypoints=https"
|
||||
- "traefik.http.routers.traefik-secure.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik-secure.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik-secure.tls=true"
|
||||
- "traefik.http.routers.traefik-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik-secure.service=api@internal"
|
||||
- "traefik.http.routers.traefik.entrypoints=https"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
@@ -74,24 +74,20 @@ services:
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_OIDC_INSECURE: "${INSECURE:-false}" # needed if Traefik is using self generated certificates
|
||||
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
|
||||
# change default secrets
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
OCIS_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
volumes:
|
||||
- ./config/ocis/proxy-config.json:/config/proxy-config.json
|
||||
- ocis-data:/var/tmp/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ocis.entrypoints=http"
|
||||
- "traefik.http.routers.ocis.entrypoints=https"
|
||||
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.ocis-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.ocis.middlewares=ocis-https-redirect"
|
||||
- "traefik.http.routers.ocis-secure.entrypoints=https"
|
||||
- "traefik.http.routers.ocis-secure.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.routers.ocis-secure.tls=true"
|
||||
- "traefik.http.routers.ocis-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis-secure.service=ocis"
|
||||
- "traefik.http.routers.ocis.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis.service=ocis"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.scheme=https"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
@@ -126,15 +122,10 @@ services:
|
||||
PHPLDAPADMIN_HTTPS: "false"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ldap-manager.entrypoints=http"
|
||||
- "traefik.http.routers.ldap-manager.entrypoints=https"
|
||||
- "traefik.http.routers.ldap-manager.rule=Host(`${LDAP_MANAGER_DOMAIN:-ldap.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.ldap-manager-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.ldap-manager.middlewares=ldap-manager-https-redirect"
|
||||
- "traefik.http.routers.ldap-manager-secure.entrypoints=https"
|
||||
- "traefik.http.routers.ldap-manager-secure.rule=Host(`${LDAP_MANAGER_DOMAIN:-ldap.owncloud.test}`)"
|
||||
- "traefik.http.routers.ldap-manager-secure.tls=true"
|
||||
- "traefik.http.routers.ldap-manager-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.ldap-manager-secure.service=ldap-manager"
|
||||
- "traefik.http.routers.ldap-manager.tls.certresolver=http"
|
||||
- "traefik.http.routers.ldap-manager.service=ldap-manager"
|
||||
- "traefik.http.services.ldap-manager.loadbalancer.server.port=80"
|
||||
logging:
|
||||
driver: "local"
|
||||
|
||||
+11
-4
@@ -17,11 +17,18 @@ 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"
|
||||
OCIS_TRANSFER_SECRET=
|
||||
|
||||
### oC10 ###
|
||||
# Domain of ownCloud 10, where you can find the frontend. Defaults to "oc10.owncloud.test"
|
||||
#OC10_DOMAIN=
|
||||
|
||||
### oCIS Hello settings ###
|
||||
# oCIS Hello version. Defaults to "latest"
|
||||
OCIS_HELLO_DOCKER_TAG=
|
||||
|
||||
# If you want to use debugging and tracing with this stack,
|
||||
# you need uncomment following line. Please see documentation at
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
---
|
||||
document this deployment example in: docs/ocis/deployment/owncloud10_with_oc_web.md
|
||||
document this deployment example in: docs/ocis/deployment/ocis_hello.md
|
||||
---
|
||||
|
||||
Please refer to [our documentation](https://owncloud.dev/ocis/deployment/owncloud10_with_oc_web/)
|
||||
Please refer to [our documentation](https://owncloud.dev/ocis/deployment/ocis_hello/)
|
||||
for instructions on how to deploy this scenario.
|
||||
+6
-8
@@ -1,17 +1,15 @@
|
||||
{
|
||||
"server": "https://172.17.0.1:9200",
|
||||
"server": "https://ocis.owncloud.test",
|
||||
"theme": "owncloud",
|
||||
"version": "0.1.0",
|
||||
"openIdConnect": {
|
||||
"metadata_url": "https://172.17.0.1:9200/.well-known/openid-configuration",
|
||||
"authority": "https://172.17.0.1:9200",
|
||||
"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"
|
||||
],
|
||||
"apps": ["files"],
|
||||
"external_apps": [
|
||||
{
|
||||
"id": "settings",
|
||||
@@ -22,8 +20,8 @@
|
||||
"path": "/accounts.js"
|
||||
},
|
||||
{
|
||||
"id": "wopiserver",
|
||||
"path": "/wopiserver.js"
|
||||
"id": "hello",
|
||||
"path": "/hello.js"
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cp /config/config.dist.json /config/config.json
|
||||
sed -i 's/ocis.owncloud.test/'${OCIS_DOMAIN:-ocis.owncloud.test}'/g' /config/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 "##################################################"
|
||||
|
||||
ocis kill proxy
|
||||
sleep 10
|
||||
ocis proxy server # workaround for loading proxy configuration
|
||||
|
||||
wait # wait for oCIS to exit
|
||||
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"HTTP": {
|
||||
"Namespace": "com.owncloud"
|
||||
},
|
||||
"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": "/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": "/onlyoffice.js",
|
||||
"backend": "http://localhost:9220"
|
||||
},
|
||||
{
|
||||
"endpoint": "/api/v0/greet",
|
||||
"backend": "http://ocis-hello:9105"
|
||||
},
|
||||
{
|
||||
"endpoint": "/hello.js",
|
||||
"backend": "http://ocis-hello:9105"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v2.5
|
||||
networks:
|
||||
ocis-net:
|
||||
aliases:
|
||||
- ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
command:
|
||||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
# letsencrypt configuration
|
||||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
||||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
||||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
||||
# enable dasbhoard
|
||||
- "--api.dashboard=true"
|
||||
# define entrypoints
|
||||
- "--entryPoints.http.address=:80"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.to=https"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
||||
- "--entryPoints.https.address=:443"
|
||||
# docker provider (get configuration from container labels)
|
||||
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
|
||||
- "--providers.docker.exposedByDefault=false"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "certs:/certs"
|
||||
labels:
|
||||
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
||||
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$apr1$4vqie50r$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
|
||||
- "traefik.http.routers.traefik.entrypoints=https"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
ocis:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
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_OIDC_INSECURE: "${INSECURE:-false}" # needed if Traefik is using self generated certificates
|
||||
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_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
# web ui
|
||||
WEB_UI_CONFIG: "/config/config.json"
|
||||
# proxy
|
||||
PROXY_CONFIG_FILE: "/config/proxy-config.json"
|
||||
volumes:
|
||||
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ./config/ocis/config.dist.json:/config/config.dist.json
|
||||
- ./config/ocis/proxy-config.json:/config/proxy-config.json
|
||||
- ocis-data:/var/tmp/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ocis.entrypoints=https"
|
||||
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.routers.ocis.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis.service=ocis"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
ocis-hello:
|
||||
image: owncloud/ocis-hello:${OCIS_HELLO_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
environment:
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-data:
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
ocis:
|
||||
environment:
|
||||
OCIS_TRACING_ENABLED: "true"
|
||||
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
external: true
|
||||
@@ -25,6 +25,8 @@ IDP_LDAP_BIND_PASSWORD=
|
||||
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"
|
||||
OCIS_TRANSFER_SECRET=
|
||||
|
||||
### Keycloak ###
|
||||
# Domain of Keycloak, where you can find the managment and authentication frontend. Defaults to "keycloak.owncloud.test"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"clientAuthenticatorType": "client-secret",
|
||||
"secret" : "UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh",
|
||||
"redirectUris": [
|
||||
"http://127.0.0.1:*",
|
||||
"http://localhost:*"
|
||||
],
|
||||
"webOrigins": [],
|
||||
|
||||
@@ -846,7 +846,7 @@
|
||||
"alwaysDisplayInConsole" : false,
|
||||
"clientAuthenticatorType" : "client-secret",
|
||||
"secret" : "UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh",
|
||||
"redirectUris" : [ "http://localhost:*" ],
|
||||
"redirectUris" : [ "http://127.0.0.1:*", "http://localhost:*" ],
|
||||
"webOrigins" : [ ],
|
||||
"notBefore" : 0,
|
||||
"bearerOnly" : false,
|
||||
|
||||
@@ -5,14 +5,12 @@ set -e
|
||||
ocis server&
|
||||
sleep 10
|
||||
|
||||
# stop builtin idp since we use Keycloak as a replacement
|
||||
ocis kill idp
|
||||
|
||||
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"
|
||||
@@ -25,6 +23,11 @@ echo "##################################################"
|
||||
echo "delete demo users" # demo users are provided by keycloak
|
||||
|
||||
set +e # accounts can only delete once, so it will fail the second time
|
||||
# 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 remove $IDP_USER_UUID
|
||||
|
||||
ocis accounts remove 4c510ada-c86b-4815-8820-42cdf82c3d51
|
||||
ocis accounts remove ddc2004c-0977-11eb-9d3f-a793888cd0f8
|
||||
ocis accounts remove 932b4540-8d16-481e-8ef4-588e4b6b151c
|
||||
|
||||
@@ -3,23 +3,28 @@ version: "3.7"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v2.4
|
||||
image: traefik:v2.5
|
||||
networks:
|
||||
ocis-net:
|
||||
aliases:
|
||||
- ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
- ${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}
|
||||
command:
|
||||
#- "--log.level=DEBUG"
|
||||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
# letsencrypt configuration
|
||||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
||||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
||||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
||||
# enable dasbhoard
|
||||
- "--api.dashboard=true"
|
||||
# define entrypoints
|
||||
- "--entryPoints.http.address=:80"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.to=https"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
||||
- "--entryPoints.https.address=:443"
|
||||
# docker provider (get configuration from container labels)
|
||||
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
|
||||
- "--providers.docker.exposedByDefault=false"
|
||||
- "--serversTransport.insecureSkipVerify=true" # oCIS uses self generated certificate
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
@@ -28,17 +33,12 @@ services:
|
||||
- "certs:/certs"
|
||||
labels:
|
||||
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
||||
- "traefik.http.routers.traefik.entrypoints=http"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$apr1$4vqie50r$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
|
||||
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
|
||||
- "traefik.http.routers.traefik-secure.entrypoints=https"
|
||||
- "traefik.http.routers.traefik-secure.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik-secure.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik-secure.tls=true"
|
||||
- "traefik.http.routers.traefik-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik-secure.service=api@internal"
|
||||
- "traefik.http.routers.traefik.entrypoints=https"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
@@ -63,26 +63,22 @@ services:
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_OIDC_INSECURE: "${INSECURE:-false}" # needed if Traefik is using self generated certificates
|
||||
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_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
volumes:
|
||||
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ocis-data:/var/tmp/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ocis.entrypoints=http"
|
||||
- "traefik.http.routers.ocis.entrypoints=https"
|
||||
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.ocis-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.ocis.middlewares=ocis-https-redirect"
|
||||
- "traefik.http.routers.ocis-secure.entrypoints=https"
|
||||
- "traefik.http.routers.ocis-secure.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.routers.ocis-secure.tls=true"
|
||||
- "traefik.http.routers.ocis-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis-secure.service=ocis"
|
||||
- "traefik.http.routers.ocis.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis.service=ocis"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.scheme=https"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
@@ -123,27 +119,20 @@ services:
|
||||
KEYCLOAK_IMPORT: /opt/jboss/keycloak/ocis-realm.json
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.keycloak.entrypoints=http"
|
||||
- "traefik.http.routers.keycloak.entrypoints=https"
|
||||
- "traefik.http.routers.keycloak.rule=Host(`${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.keycloak-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.keycloak.middlewares=keycloak-https-redirect"
|
||||
- "traefik.http.routers.keycloak-secure.entrypoints=https"
|
||||
- "traefik.http.routers.keycloak-secure.rule=Host(`${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}`)"
|
||||
- "traefik.http.routers.keycloak-secure.tls=true"
|
||||
- "traefik.http.routers.keycloak-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.keycloak-secure.service=keycloak"
|
||||
- "traefik.http.routers.keycloak.tls.certresolver=http"
|
||||
- "traefik.http.routers.keycloak.service=keycloak"
|
||||
- "traefik.http.services.keycloak.loadbalancer.server.port=8080"
|
||||
- "traefik.http.services.keycloak.loadbalancer.server.scheme=http"
|
||||
# let /.well-known/openid-configuration be served by Keycloak
|
||||
- "traefik.http.routers.idp-wellknown-secure.entrypoints=https"
|
||||
- "traefik.http.routers.idp-wellknown-secure.tls=true"
|
||||
- "traefik.http.routers.idp-wellknown-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.idp-wellknown-secure.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`) && Path(`/.well-known/openid-configuration`)"
|
||||
- "traefik.http.middlewares.idp-headers.headers.customrequestheaders.X-Forwarded-Host=${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}"
|
||||
- "traefik.http.middlewares.idp-prefix.addprefix.prefix=/auth/realms/${KEYCLOAK_REALM:-oCIS}"
|
||||
- "traefik.http.middlewares.idp-override.chain.middlewares=idp-headers,idp-prefix"
|
||||
- "traefik.http.routers.idp-wellknown-secure.middlewares=idp-override"
|
||||
- "traefik.http.routers.idp-wellknown-secure.service=keycloak"
|
||||
- "traefik.http.routers.idp-wellknown.entrypoints=https"
|
||||
- "traefik.http.routers.idp-wellknown.tls.certresolver=http"
|
||||
- "traefik.http.routers.idp-wellknown.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`) && Path(`/.well-known/openid-configuration`)"
|
||||
- "traefik.http.routers.idp-wellknown.middlewares=idp-override"
|
||||
- "traefik.http.routers.idp-wellknown.service=keycloak"
|
||||
depends_on:
|
||||
- postgres
|
||||
logging:
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
# If you're on a internet facing server please comment out following line.
|
||||
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
|
||||
INSECURE=true
|
||||
|
||||
### Traefik settings ###
|
||||
# Serve Treafik dashboard. Defaults to "false".
|
||||
TRAEFIK_DASHBOARD=
|
||||
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
|
||||
TRAEFIK_DOMAIN=
|
||||
# Basic authentication for the dashboard. Defaults to user "admin" and password "admin"
|
||||
TRAEFIK_BASIC_AUTH_USERS=
|
||||
# Email address for obtaining LetsEncrypt certificates, needs only be changed if this is a public facing server
|
||||
TRAEFIK_ACME_MAIL=
|
||||
|
||||
### oCIS settings ###
|
||||
# oCIS version. Defaults to "latest"
|
||||
OCIS_DOCKER_TAG=
|
||||
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
|
||||
OCIS_DOMAIN=
|
||||
# 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"
|
||||
OCIS_TRANSFER_SECRET=
|
||||
|
||||
### MINIO / S3 settings ###
|
||||
# Domain of MinIO where the Web UI is accessible. Defaults to "minio.owncloud.test".
|
||||
MINIO_DOMAIN=
|
||||
# S3 bucket name, where oCIS stores its data in. Defaults to "ocis-bucket".
|
||||
MINIO_BUCKET=
|
||||
# S3 bucket access key, which oCIS uses to authenticate. Defaults to "ocis".
|
||||
MINIO_ACCESS_KEY=
|
||||
# S3 bucket access key secret, which oCIS uses to authenticate. Defaults to "ocis-secret-key".
|
||||
MINIO_SECRET_KEY=
|
||||
|
||||
# If you want to use debugging and tracing with this stack,
|
||||
# you need uncomment following line. Please see documentation at
|
||||
# https://owncloud.dev/ocis/deployment/monitoring-tracing/
|
||||
#COMPOSE_FILE=docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
document this deployment example in: docs/ocis/deployment/ocis_s3.md
|
||||
---
|
||||
|
||||
Please refer to [our documentation](https://owncloud.dev/ocis/deployment/ocis_s3/)
|
||||
for instructions on how to deploy this scenario.
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/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
|
||||
@@ -0,0 +1,116 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v2.5
|
||||
networks:
|
||||
ocis-net:
|
||||
aliases:
|
||||
- ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
command:
|
||||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
# letsencrypt configuration
|
||||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
||||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
||||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
||||
# enable dasbhoard
|
||||
- "--api.dashboard=true"
|
||||
# define entrypoints
|
||||
- "--entryPoints.http.address=:80"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.to=https"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
||||
- "--entryPoints.https.address=:443"
|
||||
# docker provider (get configuration from container labels)
|
||||
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
|
||||
- "--providers.docker.exposedByDefault=false"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "certs:/certs"
|
||||
labels:
|
||||
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
||||
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$apr1$4vqie50r$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
|
||||
- "traefik.http.routers.traefik.entrypoints=https"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
ocis:
|
||||
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
environment:
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_OIDC_INSECURE: "${INSECURE:-false}" # needed if Traefik is using self generated certificates
|
||||
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_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
# activate s3ng storage driver
|
||||
STORAGE_HOME_DRIVER: s3ng
|
||||
STORAGE_USERS_DRIVER: s3ng
|
||||
STORAGE_METADATA_DRIVER: ocis # keep metadata on ocis storage since this are only small files atm
|
||||
# s3ng specific settings
|
||||
STORAGE_DRIVER_S3NG_ENDPOINT: http://minio:9000
|
||||
STORAGE_DRIVER_S3NG_REGION: default
|
||||
STORAGE_DRIVER_S3NG_ACCESS_KEY: ${MINIO_ACCESS_KEY:-ocis}
|
||||
STORAGE_DRIVER_S3NG_SECRET_KEY: ${MINIO_SECRET_KEY:-ocis-secret-key}
|
||||
STORAGE_DRIVER_S3NG_BUCKET: ${MINIO_BUCKET:-ocis-bucket}
|
||||
volumes:
|
||||
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ocis-data:/var/tmp/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ocis.entrypoints=https"
|
||||
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.routers.ocis.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis.service=ocis"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
minio:
|
||||
image: minio/minio:latest
|
||||
networks:
|
||||
ocis-net:
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- "mkdir -p /data/${MINIO_BUCKET:-ocis-bucket} && minio server --console-address ':9001' /data"
|
||||
volumes:
|
||||
- minio-data:/data
|
||||
environment:
|
||||
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY:-ocis}
|
||||
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY:-ocis-secret-key}
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.minio.entrypoints=https"
|
||||
- "traefik.http.routers.minio.rule=Host(`${MINIO_DOMAIN:-minio.owncloud.test}`)"
|
||||
- "traefik.http.routers.minio.tls.certresolver=http"
|
||||
- "traefik.http.routers.minio.service=minio"
|
||||
- "traefik.http.services.minio.loadbalancer.server.port=9001"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
certs:
|
||||
ocis-data:
|
||||
minio-data:
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
ocis:
|
||||
environment:
|
||||
OCIS_TRACING_ENABLED: "true"
|
||||
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
|
||||
|
||||
networks:
|
||||
ocis-net:
|
||||
external: true
|
||||
@@ -18,11 +18,13 @@ 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=foo
|
||||
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=foo
|
||||
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=foo
|
||||
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"
|
||||
OCIS_TRANSFER_SECRET=
|
||||
|
||||
# If you want to use debugging and tracing with this stack,
|
||||
# you need uncomment following line. Please see documentation at
|
||||
|
||||
@@ -3,22 +3,27 @@ version: "3.7"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v2.4
|
||||
image: traefik:v2.5
|
||||
networks:
|
||||
ocis-net:
|
||||
aliases:
|
||||
- ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
command:
|
||||
#- "--log.level=DEBUG"
|
||||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
# letsencrypt configuration
|
||||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
||||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
||||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
||||
# enable dasbhoard
|
||||
- "--api.dashboard=true"
|
||||
# define entrypoints
|
||||
- "--entryPoints.http.address=:80"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.to=https"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
||||
- "--entryPoints.https.address=:443"
|
||||
# docker provider (get configuration from container labels)
|
||||
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
|
||||
- "--providers.docker.exposedByDefault=false"
|
||||
- "--serversTransport.insecureSkipVerify=true" # oCIS uses self generated certificate
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
@@ -27,17 +32,12 @@ services:
|
||||
- "certs:/certs"
|
||||
labels:
|
||||
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
||||
- "traefik.http.routers.traefik.entrypoints=http"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$apr1$4vqie50r$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
|
||||
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
|
||||
- "traefik.http.routers.traefik-secure.entrypoints=https"
|
||||
- "traefik.http.routers.traefik-secure.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik-secure.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik-secure.tls=true"
|
||||
- "traefik.http.routers.traefik-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik-secure.service=api@internal"
|
||||
- "traefik.http.routers.traefik.entrypoints=https"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
@@ -53,26 +53,22 @@ services:
|
||||
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_OIDC_INSECURE: "${INSECURE:-false}" # needed if Traefik is using self generated certificates
|
||||
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_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
volumes:
|
||||
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
|
||||
- ocis-data:/var/tmp/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ocis.entrypoints=http"
|
||||
- "traefik.http.routers.ocis.entrypoints=https"
|
||||
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.ocis-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.ocis.middlewares=ocis-https-redirect"
|
||||
- "traefik.http.routers.ocis-secure.entrypoints=https"
|
||||
- "traefik.http.routers.ocis-secure.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.routers.ocis-secure.tls=true"
|
||||
- "traefik.http.routers.ocis-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis-secure.service=ocis"
|
||||
- "traefik.http.routers.ocis.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis.service=ocis"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.scheme=https"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
|
||||
@@ -23,6 +23,8 @@ IDP_LDAP_BIND_PASSWORD=
|
||||
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"
|
||||
OCIS_TRANSFER_SECRET=
|
||||
|
||||
### Wopi server settings ###
|
||||
# oCIS Wopi server version. Defaults to "latest"
|
||||
@@ -31,8 +33,10 @@ OCIS_WOPISERVER_DOCKER_TAG=
|
||||
CS3ORG_WOPISERVER_DOCKER_TAG=
|
||||
# cs3org wopi server domain. Defaults to "wopiserver.owncloud.test"
|
||||
WOPISERVER_DOMAIN=
|
||||
# JWT secret which is used for the documents to be request by the Wopi client from the cs3org Wopi server. Must be change in order to have a secure Wopi server. Defaults to "Pive-Fumkiu4"
|
||||
# JWT secret which is used for the documents to be request by the Wopi client from the cs3org Wopi server. Must be change in order to have a secure Wopi server. Defaults to "LoremIpsum567"
|
||||
WOPI_JWT_SECRET=
|
||||
# JWT secret which is used for the documents to be request by the Wopi client from the cs3org Wopi server. Must be change in order to have a secure Wopi server. Defaults to "LoremIpsum123"
|
||||
WOPI_IOP_SECRET=
|
||||
|
||||
### Collabora settings ###
|
||||
# Domain of Collabora, where you can find the frontend. Defaults to "collabora.owncloud.test"
|
||||
|
||||
@@ -3,7 +3,7 @@ version: "3.7"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v2.4
|
||||
image: traefik:v2.5
|
||||
networks:
|
||||
ocis-net:
|
||||
aliases:
|
||||
@@ -11,16 +11,21 @@ services:
|
||||
- ${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
- ${COLLABORA_DOMAIN:-collabora.owncloud.test}
|
||||
command:
|
||||
#- "--log.level=DEBUG"
|
||||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
# letsencrypt configuration
|
||||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
|
||||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
|
||||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
|
||||
# enable dasbhoard
|
||||
- "--api.dashboard=true"
|
||||
# define entrypoints
|
||||
- "--entryPoints.http.address=:80"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.to=https"
|
||||
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
|
||||
- "--entryPoints.https.address=:443"
|
||||
# docker provider (get configuration from container labels)
|
||||
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
|
||||
- "--providers.docker.exposedByDefault=false"
|
||||
- "--serversTransport.insecureSkipVerify=true" # oCIS uses self generated certificate
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
@@ -29,17 +34,12 @@ services:
|
||||
- "certs:/certs"
|
||||
labels:
|
||||
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
|
||||
- "traefik.http.routers.traefik.entrypoints=http"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$apr1$4vqie50r$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
|
||||
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
|
||||
- "traefik.http.routers.traefik-secure.entrypoints=https"
|
||||
- "traefik.http.routers.traefik-secure.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik-secure.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik-secure.tls=true"
|
||||
- "traefik.http.routers.traefik-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik-secure.service=api@internal"
|
||||
- "traefik.http.routers.traefik.entrypoints=https"
|
||||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
|
||||
- "traefik.http.routers.traefik.middlewares=traefik-auth"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=http"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
@@ -56,10 +56,12 @@ services:
|
||||
OCIS_DOMAIN: ${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
PROXY_OIDC_INSECURE: "${INSECURE:-false}" # needed if Traefik is using self generated certificates
|
||||
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_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
|
||||
# web ui
|
||||
WEB_UI_CONFIG: "/config/config.json"
|
||||
# proxy
|
||||
@@ -71,17 +73,11 @@ services:
|
||||
- ocis-data:/var/tmp/ocis
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ocis.entrypoints=http"
|
||||
- "traefik.http.routers.ocis.entrypoints=https"
|
||||
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.ocis-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.ocis.middlewares=ocis-https-redirect"
|
||||
- "traefik.http.routers.ocis-secure.entrypoints=https"
|
||||
- "traefik.http.routers.ocis-secure.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
|
||||
- "traefik.http.routers.ocis-secure.tls=true"
|
||||
- "traefik.http.routers.ocis-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis-secure.service=ocis"
|
||||
- "traefik.http.routers.ocis.tls.certresolver=http"
|
||||
- "traefik.http.routers.ocis.service=ocis"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
|
||||
- "traefik.http.services.ocis.loadbalancer.server.scheme=https"
|
||||
logging:
|
||||
driver: "local"
|
||||
restart: always
|
||||
@@ -92,8 +88,10 @@ services:
|
||||
ocis-net:
|
||||
environment:
|
||||
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
|
||||
WOPISERVER_REVA_GATEWAY_ADDR: ocis:9142
|
||||
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
WOPISERVER_WOPI_SERVER_HOST: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
WOPISERVER_WOPI_SERVER_SECRET: ${WOPI_JWT_SECRET:-Pive-Fumkiu4}
|
||||
WOPISERVER_WOPI_SERVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
|
||||
WOPISERVER_WOPI_SERVER_INSECURE: "${INSECURE:-false}"
|
||||
logging:
|
||||
driver: "local"
|
||||
@@ -107,8 +105,8 @@ services:
|
||||
- /bin/sh
|
||||
- /entrypoint-override.sh
|
||||
environment:
|
||||
- WOPISECRET=${WOPI_JWT_SECRET:-Pive-Fumkiu4}
|
||||
- IOPSECRET=${OCIS_JWT_SECRET:-Pive-Fumkiu4}
|
||||
- WOPISECRET=${WOPI_JWT_SECRET:-LoremIpsum567}
|
||||
- IOPSECRET=${WOPI_IOP_SECRET:-LoremIpsum123}
|
||||
- WOPISERVER_DOMAIN=${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
|
||||
- COLLABORA_DOMAIN=${COLLABORA_DOMAIN:-collabora.owncloud.test}
|
||||
volumes:
|
||||
@@ -118,15 +116,10 @@ services:
|
||||
- wopi-logs:/var/log/wopi
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.wopiserver.entrypoints=http"
|
||||
- "traefik.http.routers.wopiserver.entrypoints=https"
|
||||
- "traefik.http.routers.wopiserver.rule=Host(`${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.wopiserver-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.wopiserver.middlewares=wopiserver-https-redirect"
|
||||
- "traefik.http.routers.wopiserver-secure.entrypoints=https"
|
||||
- "traefik.http.routers.wopiserver-secure.rule=Host(`${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}`)"
|
||||
- "traefik.http.routers.wopiserver-secure.tls=true"
|
||||
- "traefik.http.routers.wopiserver-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.wopiserver-secure.service=wopiserver"
|
||||
- "traefik.http.routers.wopiserver.tls.certresolver=http"
|
||||
- "traefik.http.routers.wopiserver.service=wopiserver"
|
||||
- "traefik.http.services.wopiserver.loadbalancer.server.port=8880"
|
||||
logging:
|
||||
driver: "local"
|
||||
@@ -139,22 +132,17 @@ services:
|
||||
environment:
|
||||
- domain=${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
- DONT_GEN_SSL_CERT=YES
|
||||
- extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:net.frame_ancestors=${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
- extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:welcome.enable=false --o:net.frame_ancestors=${OCIS_DOMAIN:-ocis.owncloud.test}
|
||||
- username=${COLLABORA_ADMIN_USER}
|
||||
- password=${COLLABORA_ADMIN_PASSWORD}
|
||||
cap_add:
|
||||
- MKNOD
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.collabora.entrypoints=http"
|
||||
- "traefik.http.routers.collabora.entrypoints=https"
|
||||
- "traefik.http.routers.collabora.rule=Host(`${COLLABORA_DOMAIN:-collabora.owncloud.test}`)"
|
||||
- "traefik.http.middlewares.collabora-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.collabora.middlewares=collabora-https-redirect"
|
||||
- "traefik.http.routers.collabora-secure.entrypoints=https"
|
||||
- "traefik.http.routers.collabora-secure.rule=Host(`${COLLABORA_DOMAIN:-collabora.owncloud.test}`)"
|
||||
- "traefik.http.routers.collabora-secure.tls=true"
|
||||
- "traefik.http.routers.collabora-secure.tls.certresolver=http"
|
||||
- "traefik.http.routers.collabora-secure.service=collabora"
|
||||
- "traefik.http.routers.collabora.tls.certresolver=http"
|
||||
- "traefik.http.routers.collabora.service=collabora"
|
||||
- "traefik.http.services.collabora.loadbalancer.server.port=9980"
|
||||
logging:
|
||||
driver: "local"
|
||||
|
||||
@@ -1,558 +0,0 @@
|
||||
<?php
|
||||
|
||||
function getConfigFromEnv() {
|
||||
if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
|
||||
$domain = trim(
|
||||
explode(
|
||||
",",
|
||||
$_SERVER['HTTP_X_FORWARDED_HOST']
|
||||
)[0]
|
||||
);
|
||||
} else if (isset($_SERVER['SERVER_NAME'])) {
|
||||
$domain = $_SERVER['SERVER_NAME'];
|
||||
} else {
|
||||
$domain = 'localhost';
|
||||
}
|
||||
|
||||
$config = [
|
||||
'apps_paths' => [
|
||||
0 => [
|
||||
"path" => OC::$SERVERROOT . "/apps",
|
||||
"url" => "/apps",
|
||||
"writable" => false
|
||||
],
|
||||
1 => [
|
||||
"path" => OC::$SERVERROOT . "/custom",
|
||||
"url" => "/custom",
|
||||
"writable" => true
|
||||
]
|
||||
],
|
||||
|
||||
'trusted_domains' => [
|
||||
0 => $domain
|
||||
],
|
||||
'openid-connect' => [
|
||||
'provider-url' => getenv('OCIS_URL'),
|
||||
'client-id' => 'oc10',
|
||||
'client-secret' => 'super',
|
||||
'loginButtonName' => 'OpenId Connect',
|
||||
'search-attribute' => 'preferred_username',
|
||||
'mode' => 'userid',
|
||||
'autoRedirectOnLoginPage' => true,
|
||||
'insecure' => true,
|
||||
'post_logout_redirect_uri' => getenv('OWNCLOUD_DOMAIN') . '/',
|
||||
],
|
||||
'datadirectory' => getenv('OWNCLOUD_VOLUME_FILES'),
|
||||
'dbtype' => getenv('OWNCLOUD_DB_TYPE'),
|
||||
'dbhost' => getenv('OWNCLOUD_DB_HOST'),
|
||||
'dbname' => getenv('OWNCLOUD_DB_NAME'),
|
||||
'dbuser' => getenv('OWNCLOUD_DB_USERNAME'),
|
||||
'dbpassword' => getenv('OWNCLOUD_DB_PASSWORD'),
|
||||
'dbtableprefix' => getenv('OWNCLOUD_DB_PREFIX'),
|
||||
|
||||
'web.baseUrl' => getenv('OCIS_URL'),
|
||||
'cors.allowed-domains' => [getenv('OCIS_URL')],
|
||||
|
||||
'log_type' => 'owncloud',
|
||||
|
||||
'supportedDatabases' => [
|
||||
'sqlite',
|
||||
'mysql',
|
||||
'pgsql',
|
||||
],
|
||||
|
||||
'upgrade.disable-web' => true,
|
||||
];
|
||||
|
||||
if (getenv('OWNCLOUD_CORS_ALLOWED_DOMAINS') != '') {
|
||||
$config['cors.allowed-domains'] = explode(',', getenv('OWNCLOUD_CORS_ALLOWED_DOMAINS'));
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_VERSION_HIDE') != '') {
|
||||
$config['version.hide'] = getenv('OWNCLOUD_VERSION_HIDE') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SHOW_SERVER_HOSTNAME') != '') {
|
||||
$config['show_server_hostname'] = getenv('OWNCLOUD_SHOW_SERVER_HOSTNAME') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_DEFAULT_LANGUAGE') != '') {
|
||||
$config['default_language'] = getenv('OWNCLOUD_DEFAULT_LANGUAGE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_DEFAULT_APP') != '') {
|
||||
$config['defaultapp'] = getenv('OWNCLOUD_DEFAULT_APP');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_KNOWLEDGEBASE_ENABLED') != '') {
|
||||
$config['knowledgebaseenabled'] = getenv('OWNCLOUD_KNOWLEDGEBASE_ENABLED') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_ENABLE_AVATARS') != '') {
|
||||
$config['enable_avatars'] = getenv('OWNCLOUD_ENABLE_AVATARS') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_ALLOW_USER_TO_CHANGE_DISPLAY_NAME') != '') {
|
||||
$config['allow_user_to_change_display_name'] = getenv('OWNCLOUD_ALLOW_USER_TO_CHANGE_DISPLAY_NAME') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_REMEMBER_LOGIN_COOKIE_LIFETIME') != '') {
|
||||
$config['remember_login_cookie_lifetime'] = (int) getenv('OWNCLOUD_REMEMBER_LOGIN_COOKIE_LIFETIME');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SESSION_LIFETIME') != '') {
|
||||
$config['session_lifetime'] = (int) getenv('OWNCLOUD_SESSION_LIFETIME');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SESSION_KEEPALIVE') != '') {
|
||||
$config['session_keepalive'] = getenv('OWNCLOUD_SESSION_KEEPALIVE') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_TOKEN_AUTH_ENFORCED') != '') {
|
||||
$config['token_auth_enforced'] = getenv('OWNCLOUD_TOKEN_AUTH_ENFORCED') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_CSRF_DISABLED') != '') {
|
||||
$config['csrf.disabled'] = getenv('OWNCLOUD_CSRF_DISABLED') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SKELETON_DIRECTORY') != '') {
|
||||
$config['skeletondirectory'] = getenv('OWNCLOUD_SKELETON_DIRECTORY');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_LOST_PASSWORD_LINK') != '') {
|
||||
$config['lost_password_link'] = getenv('OWNCLOUD_LOST_PASSWORD_LINK');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_ACCOUNTS_ENABLE_MEDIAL_SEARCH') != '') {
|
||||
$config['accounts.enable_medial_search'] = getenv('OWNCLOUD_ACCOUNTS_ENABLE_MEDIAL_SEARCH') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_USER_SEARCH_MIN_LENGTH') != '') {
|
||||
$config['user.search_min_length'] = (int) getenv('OWNCLOUD_USER_SEARCH_MIN_LENGTH');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_DOMAIN') != '') {
|
||||
$config['mail_domain'] = getenv('OWNCLOUD_MAIL_DOMAIN');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_FROM_ADDRESS') != '') {
|
||||
$config['mail_from_address'] = getenv('OWNCLOUD_MAIL_FROM_ADDRESS');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_DEBUG') != '') {
|
||||
$config['mail_smtpdebug'] = getenv('OWNCLOUD_MAIL_SMTP_DEBUG') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_MODE') != '') {
|
||||
$config['mail_smtpmode'] = getenv('OWNCLOUD_MAIL_SMTP_MODE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_HOST') != '') {
|
||||
$config['mail_smtphost'] = getenv('OWNCLOUD_MAIL_SMTP_HOST');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_PORT') != '') {
|
||||
$config['mail_smtpport'] = (int) getenv('OWNCLOUD_MAIL_SMTP_PORT');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_TIMEOUT') != '') {
|
||||
$config['mail_smtptimeout'] = (int) getenv('OWNCLOUD_MAIL_SMTP_TIMEOUT');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_SECURE') != '') {
|
||||
$config['mail_smtpsecure'] = getenv('OWNCLOUD_MAIL_SMTP_SECURE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_AUTH') != '') {
|
||||
$config['mail_smtpauth'] = getenv('OWNCLOUD_MAIL_SMTP_AUTH') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_AUTH_TYPE') != '') {
|
||||
$config['mail_smtpauthtype'] = getenv('OWNCLOUD_MAIL_SMTP_AUTH_TYPE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_NAME') != '') {
|
||||
$config['mail_smtpname'] = getenv('OWNCLOUD_MAIL_SMTP_NAME');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAIL_SMTP_PASSWORD') != '') {
|
||||
$config['mail_smtppassword'] = getenv('OWNCLOUD_MAIL_SMTP_PASSWORD');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_OVERWRITE_HOST') != '') {
|
||||
$config['overwritehost'] = getenv('OWNCLOUD_OVERWRITE_HOST');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_OVERWRITE_PROTOCOL') != '') {
|
||||
$config['overwriteprotocol'] = getenv('OWNCLOUD_OVERWRITE_PROTOCOL');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_OVERWRITE_WEBROOT') != '') {
|
||||
$config['overwritewebroot'] = getenv('OWNCLOUD_OVERWRITE_WEBROOT');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_OVERWRITE_COND_ADDR') != '') {
|
||||
$config['overwritecondaddr'] = getenv('OWNCLOUD_OVERWRITE_COND_ADDR');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_OVERWRITE_CLI_URL') != '') {
|
||||
$config['overwrite.cli.url'] = getenv('OWNCLOUD_OVERWRITE_CLI_URL');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_HTACCESS_REWRITE_BASE') != '') {
|
||||
$config['htaccess.RewriteBase'] = getenv('OWNCLOUD_HTACCESS_REWRITE_BASE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_PROXY') != '') {
|
||||
$config['proxy'] = getenv('OWNCLOUD_PROXY');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_PROXY_USERPWD') != '') {
|
||||
$config['proxyuserpwd'] = getenv('OWNCLOUD_PROXY_USERPWD');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_TRASHBIN_RETENTION_OBLIGATION') != '') {
|
||||
$config['trashbin_retention_obligation'] = getenv('OWNCLOUD_TRASHBIN_RETENTION_OBLIGATION');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_TRASHBIN_PURGE_LIMIT') != '') {
|
||||
$config['trashbin_purge_limit'] = (int) getenv('OWNCLOUD_TRASHBIN_PURGE_LIMIT');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_VERSIONS_RETENTION_OBLIGATION') != '') {
|
||||
$config['versions_retention_obligation'] = getenv('OWNCLOUD_VERSIONS_RETENTION_OBLIGATION');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_UPDATE_CHECKER') != '') {
|
||||
$config['updatechecker'] = getenv('OWNCLOUD_UPDATE_CHECKER') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_UPDATER_SERVER_URL') != '') {
|
||||
$config['updater.server.url'] = getenv('OWNCLOUD_UPDATER_SERVER_URL');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_HAS_INTERNET_CONNECTION') != '') {
|
||||
$config['has_internet_connection'] = getenv('OWNCLOUD_HAS_INTERNET_CONNECTION') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_CHECK_FOR_WORKING_WELLKNOWN_SETUP') != '') {
|
||||
$config['check_for_working_wellknown_setup'] = getenv('OWNCLOUD_CHECK_FOR_WORKING_WELLKNOWN_SETUP') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_OPERATION_MODE') != '') {
|
||||
$config['operation.mode'] = getenv('OWNCLOUD_OPERATION_MODE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_LOG_FILE') != '') {
|
||||
$config['logfile'] = getenv('OWNCLOUD_LOG_FILE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_LOG_LEVEL') != '') {
|
||||
$config['loglevel'] = (int) getenv('OWNCLOUD_LOG_LEVEL');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_LOG_DATE_FORMAT') != '') {
|
||||
$config['logdateformat'] = getenv('OWNCLOUD_LOG_DATE_FORMAT');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_LOG_TIMEZONE') != '') {
|
||||
$config['logtimezone'] = getenv('OWNCLOUD_LOG_TIMEZONE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_CRON_LOG') != '') {
|
||||
$config['cron_log'] = getenv('OWNCLOUD_CRON_LOG') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_LOG_ROTATE_SIZE') != '') {
|
||||
$config['log_rotate_size'] = (int) getenv('OWNCLOUD_LOG_ROTATE_SIZE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_ENABLE_PREVIEWS') != '') {
|
||||
$config['enable_previews'] = getenv('OWNCLOUD_ENABLE_PREVIEWS') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_PREVIEW_MAX_X') != '') {
|
||||
$config['preview_max_x'] = (int) getenv('OWNCLOUD_PREVIEW_MAX_X');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_PREVIEW_MAX_Y') != '') {
|
||||
$config['preview_max_y'] = (int) getenv('OWNCLOUD_PREVIEW_MAX_Y');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_PREVIEW_MAX_SCALE_FACTOR') != '') {
|
||||
$config['preview_max_scale_factor'] = (int) getenv('OWNCLOUD_PREVIEW_MAX_SCALE_FACTOR');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_PREVIEW_MAX_FILESIZE_IMAGE') != '') {
|
||||
$config['preview_max_filesize_image'] = getenv('OWNCLOUD_PREVIEW_MAX_FILESIZE_IMAGE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_PREVIEW_LIBREOFFICE_PATH') != '') {
|
||||
$config['preview_libreoffice_path'] = getenv('OWNCLOUD_PREVIEW_LIBREOFFICE_PATH');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_PREVIEW_OFFICE_CL_PARAMETERS') != '') {
|
||||
$config['preview_office_cl_parameters'] = getenv('OWNCLOUD_PREVIEW_OFFICE_CL_PARAMETERS');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_ENABLED_PREVIEW_PROVIDERS') != '') {
|
||||
$config['enabledPreviewProviders'] = explode(',', getenv('OWNCLOUD_ENABLED_PREVIEW_PROVIDERS'));
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_COMMENTS_MANAGER_FACTORY') != '') {
|
||||
$config['comments.managerFactory'] = getenv('OWNCLOUD_COMMENTS_MANAGER_FACTORY');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SYSTEMTAGS_MANAGER_FACTORY') != '') {
|
||||
$config['systemtags.managerFactory'] = getenv('OWNCLOUD_SYSTEMTAGS_MANAGER_FACTORY');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAINTENANCE') != '') {
|
||||
$config['maintenance'] = getenv('OWNCLOUD_MAINTENANCE') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SINGLEUSER') != '') {
|
||||
$config['singleuser'] = getenv('OWNCLOUD_SINGLEUSER');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_ENABLE_CERTIFICATE_MANAGEMENT') != '') {
|
||||
$config['enable_certificate_management'] = getenv('OWNCLOUD_ENABLE_CERTIFICATE_MANAGEMENT');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MEMCACHE_LOCAL') != '') {
|
||||
$config['memcache.local'] = getenv('OWNCLOUD_MEMCACHE_LOCAL');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_CACHE_PATH') != '') {
|
||||
$config['cache_path'] = getenv('OWNCLOUD_CACHE_PATH');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_CACHE_CHUNK_GC_TTL') != '') {
|
||||
$config['cache_chunk_gc_ttl'] = (int) getenv('OWNCLOUD_CACHE_CHUNK_GC_TTL');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_DAV_CHUNK_BASE_DIR') != '') {
|
||||
$config['dav.chunk_base_dir'] = getenv('OWNCLOUD_DAV_CHUNK_BASE_DIR');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SHARING_MANAGER_FACTORY') != '') {
|
||||
$config['sharing.managerFactory'] = getenv('OWNCLOUD_SHARING_MANAGER_FACTORY');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SHARING_FEDERATION_ALLOW_HTTP_FALLBACK') != '') {
|
||||
$config['sharing.federation.allowHttpFallback'] = getenv('OWNCLOUD_SHARING_FEDERATION_ALLOW_HTTP_FALLBACK') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SQLITE_JOURNAL_MODE') != '') {
|
||||
$config['sqlite.journal_mode'] = getenv('OWNCLOUD_SQLITE_JOURNAL_MODE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MYSQL_UTF8MB4') != '') {
|
||||
$config['mysql.utf8mb4'] = getenv('OWNCLOUD_MYSQL_UTF8MB4') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_TEMP_DIRECTORY') != '') {
|
||||
$config['tempdirectory'] = getenv('OWNCLOUD_TEMP_DIRECTORY');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_HASHING_COST') != '') {
|
||||
$config['hashingCost'] = (int) getenv('OWNCLOUD_HASHING_COST');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_BLACKLISTED_FILES') != '') {
|
||||
$config['blacklisted_files'] = explode(',', getenv('OWNCLOUD_BLACKLISTED_FILES'));
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_EXCLUDED_DIRECTORIES') != '') {
|
||||
$config['excluded_directories'] = explode(',', getenv('OWNCLOUD_EXCLUDED_DIRECTORIES'));
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_INTEGRITY_EXCLUDED_FILES') != '') {
|
||||
$config['integrity.excluded.files'] = explode(',', getenv('OWNCLOUD_INTEGRITY_EXCLUDED_FILES'));
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_INTEGRITY_IGNORE_MISSING_APP_SIGNATURE') != '') {
|
||||
$config['integrity.ignore.missing.app.signature'] = explode(',', getenv('OWNCLOUD_INTEGRITY_IGNORE_MISSING_APP_SIGNATURE'));
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SHARE_FOLDER') != '') {
|
||||
$config['share_folder'] = getenv('OWNCLOUD_SHARE_FOLDER');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_CIPHER') != '') {
|
||||
$config['cipher'] = getenv('OWNCLOUD_CIPHER');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MINIMUM_SUPPORTED_DESKTOP_VERSION') != '') {
|
||||
$config['minimum.supported.desktop.version'] = getenv('OWNCLOUD_MINIMUM_SUPPORTED_DESKTOP_VERSION');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_QUOTA_INCLUDE_EXTERNAL_STORAGE') != '') {
|
||||
$config['quota_include_external_storage'] = getenv('OWNCLOUD_QUOTA_INCLUDE_EXTERNAL_STORAGE') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_FILESYSTEM_CHECK_CHANGES') != '') {
|
||||
$config['filesystem_check_changes'] = (int) getenv('OWNCLOUD_FILESYSTEM_CHECK_CHANGES');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_PART_FILE_IN_STORAGE') != '') {
|
||||
$config['part_file_in_storage'] = getenv('OWNCLOUD_PART_FILE_IN_STORAGE') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MOUNT_FILE') != '') {
|
||||
$config['mount_file'] = getenv('OWNCLOUD_MOUNT_FILE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_FILESYSTEM_CACHE_READONLY') != '') {
|
||||
$config['filesystem_cache_readonly'] = getenv('OWNCLOUD_FILESYSTEM_CACHE_READONLY') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SECRET') != '') {
|
||||
$config['secret'] = getenv('OWNCLOUD_SECRET');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_TRUSTED_PROXIES') != '') {
|
||||
$config['trusted_proxies'] = explode(',', getenv('OWNCLOUD_TRUSTED_PROXIES'));
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_FORWARDED_FOR_HEADERS') != '') {
|
||||
$config['forwarded_for_headers'] = explode(',', getenv('OWNCLOUD_FORWARDED_FOR_HEADERS'));
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MAX_FILESIZE_ANIMATED_GIFS_PUBLIC_SHARING') != '') {
|
||||
$config['max_filesize_animated_gifs_public_sharing'] = (int) getenv('OWNCLOUD_MAX_FILESIZE_ANIMATED_GIFS_PUBLIC_SHARING');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_FILELOCKING_ENABLED') != '') {
|
||||
$config['filelocking.enabled'] = getenv('OWNCLOUD_FILELOCKING_ENABLED') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_FILELOCKING_TTL') != '') {
|
||||
$config['filelocking.ttl'] = getenv('OWNCLOUD_FILELOCKING_TTL');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MEMCACHE_LOCKING') != '') {
|
||||
$config['memcache.locking'] = getenv('OWNCLOUD_MEMCACHE_LOCKING');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_UPGRADE_AUTOMATIC_APP_UPDATES') != '') {
|
||||
$config['upgrade.automatic-app-update'] = getenv('OWNCLOUD_UPGRADE_AUTOMATIC_APP_UPDATES') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_DEBUG') != '') {
|
||||
$config['debug'] = getenv('OWNCLOUD_DEBUG') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_FILES_EXTERNAL_ALLOW_NEW_LOCAL') != '') {
|
||||
$config['files_external_allow_create_new_local'] = getenv('OWNCLOUD_FILES_EXTERNAL_ALLOW_NEW_LOCAL') == 'true';
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_SMB_LOGGING_ENABLE') != '') {
|
||||
$config['smb.logging.enable'] = getenv('OWNCLOUD_SMB_LOGGING_ENABLE');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_DAV_ENABLE_ASYNC') != '') {
|
||||
$config['dav.enable.async'] = getenv('OWNCLOUD_DAV_ENABLE_ASYNC');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_LICENSE_KEY') != '') {
|
||||
$config['license-key'] = getenv('OWNCLOUD_LICENSE_KEY');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MARKETPLACE_KEY') != '') {
|
||||
$config['marketplace.key'] = getenv('OWNCLOUD_MARKETPLACE_KEY');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_MARKETPLACE_CA') != '') {
|
||||
$config['marketplace.ca'] = getenv('OWNCLOUD_MARKETPLACE_CA');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_APPSTORE_URL') != '') {
|
||||
$config['appstoreurl'] = getenv('OWNCLOUD_APPSTORE_URL');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_LOGIN_ALTERNATIVES') != '') {
|
||||
$rows = explode(',', getenv('OWNCLOUD_LOGIN_ALTERNATIVES'));
|
||||
|
||||
foreach ($rows as $key => $value) {
|
||||
parse_str($value, $opts);
|
||||
$config['login.alternatives'][$key] = $opts;
|
||||
}
|
||||
}
|
||||
|
||||
switch (true) {
|
||||
case getenv('OWNCLOUD_REDIS_ENABLED') && getenv('OWNCLOUD_REDIS_ENABLED') == 'true':
|
||||
$config = array_merge_recursive($config, [
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
]);
|
||||
switch (true) {
|
||||
case getenv('OWNCLOUD_REDIS_SEEDS') != '':
|
||||
$config['redis.cluster']['seeds'] = explode(',', getenv('OWNCLOUD_REDIS_SEEDS'));
|
||||
|
||||
if (getenv('OWNCLOUD_REDIS_TIMEOUT') != '') {
|
||||
$config['redis.cluster']['timeout'] = (float) getenv('OWNCLOUD_REDIS_TIMEOUT');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_REDIS_READ_TIMEOUT') != '') {
|
||||
$config['redis.cluster']['read_timeout'] = (float) getenv('OWNCLOUD_REDIS_READ_TIMEOUT');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_REDIS_FAILOVER_MODE') != '') {
|
||||
switch (getenv('OWNCLOUD_REDIS_FAILOVER_MODE')) {
|
||||
case 'FAILOVER_NONE':
|
||||
$config['redis.cluster']['failover_mode'] = \RedisCluster::FAILOVER_NONE;
|
||||
case 'FAILOVER_ERROR':
|
||||
$config['redis.cluster']['failover_mode'] = \RedisCluster::FAILOVER_ERROR;
|
||||
case 'FAILOVER_DISTRIBUTE':
|
||||
$config['redis.cluster']['failover_mode'] = \RedisCluster::FAILOVER_DISTRIBUTE;
|
||||
}
|
||||
}
|
||||
|
||||
case getenv('OWNCLOUD_REDIS_HOST') != '':
|
||||
$config['redis']['host'] = getenv('OWNCLOUD_REDIS_HOST');
|
||||
$config['redis']['port'] = getenv('OWNCLOUD_REDIS_PORT');
|
||||
|
||||
if (getenv('OWNCLOUD_REDIS_DB') != '') {
|
||||
$config['redis']['dbindex'] = getenv('OWNCLOUD_REDIS_DB');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_REDIS_PASSWORD') != '') {
|
||||
$config['redis']['password'] = getenv('OWNCLOUD_REDIS_PASSWORD');
|
||||
}
|
||||
|
||||
if (getenv('OWNCLOUD_REDIS_TIMEOUT') != '') {
|
||||
$config['redis']['timeout'] = (float) getenv('OWNCLOUD_REDIS_TIMEOUT');
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
case getenv('OWNCLOUD_MEMCACHED_ENABLED') && getenv('OWNCLOUD_MEMCACHED_ENABLED') == 'true':
|
||||
$config = array_merge_recursive($config, [
|
||||
'memcache.distributed' => '\OC\Memcache\Memcached',
|
||||
'memcache.locking' => '\OC\Memcache\Memcached',
|
||||
|
||||
'memcached_servers' => [
|
||||
[
|
||||
getenv('OWNCLOUD_MEMCACHED_HOST'),
|
||||
getenv('OWNCLOUD_MEMCACHED_PORT'),
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
||||
if (getenv('OWNCLOUD_MEMCACHED_OPTIONS') != '') {
|
||||
parse_str(getenv('OWNCLOUD_MEMCACHED_OPTIONS'), $opts);
|
||||
|
||||
foreach($opts as $key => $value) {
|
||||
$config['memcached_options'][constant($key)] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
$CONFIG = getConfigFromEnv();
|
||||
Loaded 100 of 415 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user