Compare commits
1158
Commits
v1.1.0-rc1
...
v1.7.0-rc1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
923fd045ce | ||
|
|
279c73fbb5 | ||
|
|
fb5b34d136 | ||
|
|
947b3d6dad | ||
|
|
18b437ce5e | ||
|
|
1b4fe83c58 | ||
|
|
de20b85d18 | ||
|
|
b696bf50d7 | ||
|
|
9a273639f1 | ||
|
|
c0cafba544 | ||
|
|
38d817db41 | ||
|
|
99b517a3ea | ||
|
|
03aa64168c | ||
|
|
06da18c697 | ||
|
|
d441cfbd35 | ||
|
|
f4195285f8 | ||
|
|
3f97792f4d | ||
|
|
cd78c91507 | ||
|
|
8eb345b368 | ||
|
|
743a63811b | ||
|
|
202c6ce4fa | ||
|
|
bde661faa1 | ||
|
|
6bf1652df4 | ||
|
|
a01e3a78e4 | ||
|
|
64ab98fa40 | ||
|
|
eaa8022720 | ||
|
|
96811d7c52 | ||
|
|
97882210eb | ||
|
|
a90d2e2703 | ||
|
|
0628e66a0e | ||
|
|
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 | ||
|
|
473d9ca6d5 | ||
|
|
a200475b0c | ||
|
|
8b25351595 | ||
|
|
68f119f0ff | ||
|
|
1f3e0697cf | ||
|
|
b499af3fb8 | ||
|
|
8c76a866fc | ||
|
|
b8621aa55b | ||
|
|
6c3280cade | ||
|
|
d2cc70c2e5 | ||
|
|
4a9c6e8380 | ||
|
|
87ec7a5125 | ||
|
|
3b623bc2bf | ||
|
|
b06843b707 | ||
|
|
918ce630bf | ||
|
|
85f62eae2b | ||
|
|
cd4eca8d7c | ||
|
|
32ff8ee9bc | ||
|
|
f6ac50244b | ||
|
|
7a286e9b08 | ||
|
|
4271dd44df | ||
|
|
7d4be3145f | ||
|
|
8b195e95b6 | ||
|
|
e68c4c1b6e | ||
|
|
2826bdf3bd | ||
|
|
80c942d6ad | ||
|
|
ea3a4c8f50 | ||
|
|
aab0048a21 | ||
|
|
1d8b02ca3f | ||
|
|
19563196e2 | ||
|
|
610839a9e5 | ||
|
|
a1684bbeec | ||
|
|
4d09b61973 | ||
|
|
7ffd875966 | ||
|
|
82a04602ba | ||
|
|
d3f6298c8d | ||
|
|
74e4788c8b | ||
|
|
ba58cf8908 | ||
|
|
b01eefb91d | ||
|
|
c14365eb51 | ||
|
|
9a7ceee45f | ||
|
|
08cdc19fc8 | ||
|
|
4dac701997 | ||
|
|
ccb1ab69c6 | ||
|
|
bf9266f77a | ||
|
|
ec5bdada81 | ||
|
|
385b1d41d9 | ||
|
|
5ab65b32ca | ||
|
|
ffadb6e1fb | ||
|
|
63cea30af3 | ||
|
|
b530bfda99 | ||
|
|
32a101c162 | ||
|
|
34532d3bb4 | ||
|
|
a85a37370e | ||
|
|
cf94773686 | ||
|
|
ad452021ff | ||
|
|
2ea41f2782 | ||
|
|
ae10670fe7 | ||
|
|
7f90f861e3 | ||
|
|
415ea6bcaf | ||
|
|
e006f10324 | ||
|
|
d00d1364e8 | ||
|
|
5f7793fb28 | ||
|
|
1cdb18ff31 | ||
|
|
d144e3ddce | ||
|
|
3f9707274d | ||
|
|
25a5001a91 | ||
|
|
39973d13f0 | ||
|
|
5977a86eb3 | ||
|
|
df3b65b5e8 | ||
|
|
b5a8ffe6f6 | ||
|
|
63368039a7 | ||
|
|
ee73e44b21 | ||
|
|
56530879ef | ||
|
|
21db768e6b | ||
|
|
58a88b16e2 | ||
|
|
99e0972309 | ||
|
|
0ec8df4e4a | ||
|
|
e769bbefd7 | ||
|
|
a6df52008e | ||
|
|
d5c132b7f9 | ||
|
|
f9afcbc47a | ||
|
|
e78c93e016 | ||
|
|
329f5f026d | ||
|
|
896c46fe9f | ||
|
|
c11561bf68 | ||
|
|
6ada273cb0 | ||
|
|
115f03df43 | ||
|
|
14ac8e5748 | ||
|
|
6826e572d5 | ||
|
|
3122239d21 | ||
|
|
ddc320783e | ||
|
|
e34b9854a6 | ||
|
|
7d9afee7c6 | ||
|
|
144e3f8103 | ||
|
|
774518eb9c | ||
|
|
f0a1a53a43 | ||
|
|
16325083a0 | ||
|
|
de80dd9e39 | ||
|
|
1b4cf20419 | ||
|
|
10ed8a6903 | ||
|
|
95035af06d | ||
|
|
7e11c5cbf2 | ||
|
|
62d87078d1 | ||
|
|
6dfa4b2300 | ||
|
|
46c60cc852 | ||
|
|
2e1e729693 | ||
|
|
cd8f3e1af6 | ||
|
|
7b7fb647a1 | ||
|
|
012741d44f | ||
|
|
b642b9c6e4 | ||
|
|
73c16be2cf | ||
|
|
8f43938af5 | ||
|
|
dd75e1c760 | ||
|
|
73232b5534 | ||
|
|
e4ba643047 | ||
|
|
dcea5cdb5a | ||
|
|
8c00e02093 | ||
|
|
4239fb537f | ||
|
|
12b4a26385 | ||
|
|
1ae3819fe2 | ||
|
|
ec3c6495d3 | ||
|
|
c3d031db13 | ||
|
|
10d19e5c7b | ||
|
|
b75feb5330 | ||
|
|
9ddfab8fbd | ||
|
|
bc48e56d8e | ||
|
|
7405812ad9 | ||
|
|
7d968242bd | ||
|
|
205b3a72bd | ||
|
|
778aa25771 | ||
|
|
2dbf0bcbf1 | ||
|
|
4e09433c6e | ||
|
|
e006da5bb9 | ||
|
|
80ce64d6e5 | ||
|
|
a33c81cd44 | ||
|
|
8ec196df84 | ||
|
|
46db2e8f53 | ||
|
|
3301d4ac9f | ||
|
|
4ced02e790 | ||
|
|
1257bc3178 | ||
|
|
f7aa2383fa | ||
|
|
35f0e00b31 | ||
|
|
215b01544c | ||
|
|
e54e869c1d | ||
|
|
3f0d2cc28f | ||
|
|
af03099aba | ||
|
|
5d6b801b8c | ||
|
|
dceb96ff98 | ||
|
|
3957ab96e4 | ||
|
|
95bf02f94f | ||
|
|
a97d141ccb | ||
|
|
cc8f0c9b94 | ||
|
|
b64c224882 | ||
|
|
aaddbdaf9a | ||
|
|
f4bda0e90b | ||
|
|
9af32ee4b2 | ||
|
|
e436ecc271 | ||
|
|
fd4053f3c9 | ||
|
|
e6cc66c296 | ||
|
|
4fb04b8ee3 | ||
|
|
f2c5f06ad5 | ||
|
|
0bc0e2a7a4 | ||
|
|
26ee19d6fe | ||
|
|
6497743a02 | ||
|
|
332a0a6cce | ||
|
|
d976dc35d3 | ||
|
|
75be5783c7 | ||
|
|
7186fdf10f | ||
|
|
bc804b2524 | ||
|
|
81b7fad8f5 | ||
|
|
5c4ace63e8 | ||
|
|
2816ec7f8b | ||
|
|
ae71239e9c | ||
|
|
1782b27b51 | ||
|
|
d0c4882e95 | ||
|
|
ad1349aa42 | ||
|
|
8913e374f4 | ||
|
|
52fb3a41ec | ||
|
|
b820d93485 | ||
|
|
420447009b | ||
|
|
f8804b771f | ||
|
|
5fd121e84c | ||
|
|
8da06d32b9 | ||
|
|
11c11b06dc | ||
|
|
2cff4cf0bb | ||
|
|
fd01ee4dd0 | ||
|
|
fc2f9bbe4b | ||
|
|
cffe201d90 | ||
|
|
86e9369045 | ||
|
|
fa339639cb | ||
|
|
51313a424c | ||
|
|
fefee56e7a | ||
|
|
d5dff86f43 | ||
|
|
dfb2bda066 | ||
|
|
05f3b50964 | ||
|
|
0fa0c15304 | ||
|
|
bedd4135e1 | ||
|
|
c9344cf279 | ||
|
|
aaea372b7d | ||
|
|
1dc7bfe50a | ||
|
|
4967543130 | ||
|
|
8f40ee80f2 | ||
|
|
7ff08a5cce | ||
|
|
38863a4745 | ||
|
|
9721f81087 | ||
|
|
f6befe0532 | ||
|
|
cc790205ce | ||
|
|
ae25f6f61d | ||
|
|
378c37b935 | ||
|
|
f8f9cbe051 | ||
|
|
8dac955b6f | ||
|
|
f78f6ceeae | ||
|
|
a95cf437de | ||
|
|
781272e327 | ||
|
|
0e36f04a62 | ||
|
|
dff3f0afd1 | ||
|
|
cff1325b7f | ||
|
|
60280a3f28 | ||
|
|
c073329e17 | ||
|
|
7446c4de12 | ||
|
|
734e5564b6 | ||
|
|
8610b2560d | ||
|
|
63c6a438b6 | ||
|
|
f28ee8ac6e | ||
|
|
efa214f6ef | ||
|
|
81c57ee70c | ||
|
|
610c6fcbec | ||
|
|
32674c2e4f | ||
|
|
6e4de0abd3 | ||
|
|
771f85ce2b | ||
|
|
c0a4b1b611 | ||
|
|
a349bc3477 | ||
|
|
6c3ad8cb45 | ||
|
|
13bb862645 | ||
|
|
7266fb5f7a | ||
|
|
e4b9461ccc | ||
|
|
ad006496ef | ||
|
|
6bcade2e21 | ||
|
|
af64e288e9 | ||
|
|
fb30483d6f | ||
|
|
c3b3c8b5fd | ||
|
|
8af42a8d87 | ||
|
|
b9a1f4ee98 | ||
|
|
10ac4946ef | ||
|
|
9926c1cc70 | ||
|
|
01160c3941 | ||
|
|
b26b03165f | ||
|
|
7ff66dd65b | ||
|
|
642454f7cc | ||
|
|
94ec263d89 | ||
|
|
b34d8253e0 | ||
|
|
85550a3a35 | ||
|
|
20bc2a2b8c | ||
|
|
58f5e69229 | ||
|
|
0241467958 | ||
|
|
f926b60b1d | ||
|
|
3a6fb0e0fc | ||
|
|
8ee5aac82b | ||
|
|
7ca9e12116 | ||
|
|
4100541baf | ||
|
|
a6559c8289 | ||
|
|
f98347d841 | ||
|
|
28679c48ca | ||
|
|
d63a79a0ba | ||
|
|
ca0cc93252 | ||
|
|
12ef07244c | ||
|
|
c170e96b5f | ||
|
|
b4e2c338ec | ||
|
|
ded4abbd55 | ||
|
|
2bd67c2328 | ||
|
|
475b2d14d8 | ||
|
|
985b83a282 | ||
|
|
ffe3a17b73 | ||
|
|
8b3a18ac8c | ||
|
|
52f9d15b2b | ||
|
|
9a590b37dc | ||
|
|
fff0c7499a | ||
|
|
9a2a3bf229 | ||
|
|
095f596a06 | ||
|
|
1b0b14512c | ||
|
|
c6951d2e05 | ||
|
|
a4f5e223fa | ||
|
|
f23cf92153 | ||
|
|
158015112d | ||
|
|
708133ab08 | ||
|
|
955bd60edf | ||
|
|
8a34f2550d | ||
|
|
a05b463069 | ||
|
|
9b95e9b119 | ||
|
|
b789c02166 | ||
|
|
df6cd1cb16 | ||
|
|
5e8d477036 | ||
|
|
8c25b5d517 | ||
|
|
ed99fb8292 | ||
|
|
e41db209de | ||
|
|
09f0ba44d4 | ||
|
|
a0d9f63098 | ||
|
|
e3c7555211 | ||
|
|
4581e9cdd1 | ||
|
|
6020a37640 | ||
|
|
588509b8e4 | ||
|
|
b13914b022 | ||
|
|
481f9c045a | ||
|
|
b2bc4421a1 | ||
|
|
d78dcd1986 | ||
|
|
1fdffedc4f | ||
|
|
076d8c0661 | ||
|
|
80a158ba4a | ||
|
|
b598eb7caa | ||
|
|
9add66609d | ||
|
|
024b5f2283 | ||
|
|
afe16be7d9 | ||
|
|
011c6b76ee | ||
|
|
f6ad814332 | ||
|
|
1de4d8b271 | ||
|
|
5982e9fe56 | ||
|
|
399c33fe2f | ||
|
|
3f37ddb5a2 | ||
|
|
0dadf6f6a9 | ||
|
|
c5d9afdc58 | ||
|
|
29c4a34093 | ||
|
|
89da2b0ed1 | ||
|
|
9bc0cb49c1 | ||
|
|
2f831c4fca | ||
|
|
1ba10d97e8 | ||
|
|
fbe825bedc | ||
|
|
e26243ddf3 | ||
|
|
eeafcf8cfd | ||
|
|
14c0371f94 | ||
|
|
686df71eeb | ||
|
|
06e2154265 | ||
|
|
aa1c03aae2 | ||
|
|
31a0389fbc | ||
|
|
169962b4cf | ||
|
|
320679ca91 | ||
|
|
e27c320fa1 | ||
|
|
697b7cae27 | ||
|
|
c4cbe32c29 | ||
|
|
523e611b7e | ||
|
|
5723bd28e2 | ||
|
|
41079a1810 | ||
|
|
dabff59d27 | ||
|
|
bcffed2e00 | ||
|
|
b25ef84017 | ||
|
|
808e93ff4c | ||
|
|
dbfb17788c | ||
|
|
eab96d59a8 | ||
|
|
95b69a5e5d | ||
|
|
ed8d85077c | ||
|
|
e829ac8f88 | ||
|
|
8c00a0cf8c | ||
|
|
c5bef3609b | ||
|
|
d95d58c66a | ||
|
|
00dd4460ae | ||
|
|
c208b12eb1 | ||
|
|
c32e342487 | ||
|
|
5fe83f62c7 | ||
|
|
4511ca9770 | ||
|
|
f39e51e57b | ||
|
|
e28bdca121 | ||
|
|
316d838f90 | ||
|
|
7a72f52067 | ||
|
|
4bfdd604d1 | ||
|
|
fd2668a163 | ||
|
|
df8fb3097b | ||
|
|
0a5c0383c7 | ||
|
|
68bf78dc5b | ||
|
|
8f45adbcf8 | ||
|
|
3017b02219 | ||
|
|
0b3db9a9d9 | ||
|
|
79ca3116c9 | ||
|
|
35463646e4 | ||
|
|
bbcea23e85 | ||
|
|
abd657e644 | ||
|
|
26f7464bfb | ||
|
|
5ae42173bb | ||
|
|
c705ca9d21 | ||
|
|
31eee73cdf | ||
|
|
edb733baf3 | ||
|
|
4e224e6304 | ||
|
|
a7f0bac2a0 | ||
|
|
4c769e0d33 | ||
|
|
0e71d8c8a7 | ||
|
|
dbe2a2a61e | ||
|
|
be8441aa9a | ||
|
|
90f5eeaca4 | ||
|
|
d18b6d71d6 | ||
|
|
1314aacece | ||
|
|
bd49b1d5c7 | ||
|
|
daf18e486c | ||
|
|
a6da51c43b | ||
|
|
8f058b5867 | ||
|
|
5a5d3af8f2 | ||
|
|
fa040cf56f | ||
|
|
39937cec1b | ||
|
|
3ba9005992 | ||
|
|
54164e7491 | ||
|
|
958895a96b | ||
|
|
e9c09cce43 | ||
|
|
356aa6b523 | ||
|
|
3be69e45bd | ||
|
|
3b2ce2f12d | ||
|
|
1fa2c5f3a0 | ||
|
|
63abba7e6a | ||
|
|
48fe247a03 | ||
|
|
45256a4988 | ||
|
|
5582519b1e | ||
|
|
7a295da3ff | ||
|
|
ec0e962c7b | ||
|
|
f8d3e514c5 | ||
|
|
291710deb9 | ||
|
|
6c66c755f4 | ||
|
|
cd28ac3fbd | ||
|
|
ebba4f1bd6 | ||
|
|
6692c63517 | ||
|
|
617e5a9039 | ||
|
|
7440c2284b | ||
|
|
dc03cce6aa | ||
|
|
d183cdb742 | ||
|
|
61a15be7a8 | ||
|
|
25ea46324f | ||
|
|
385d6ecc48 | ||
|
|
fbfc10b65e | ||
|
|
61bd6be0ad | ||
|
|
3ec71d0da2 | ||
|
|
6af43cc150 | ||
|
|
338c8c6942 | ||
|
|
02bfa9509b | ||
|
|
192e3fbd00 | ||
|
|
8b48a3223f | ||
|
|
3872cb07ed | ||
|
|
cd41f1c8dc | ||
|
|
1d49a267f2 | ||
|
|
9a53c41552 | ||
|
|
f53d00b4ff | ||
|
|
43675c4f14 | ||
|
|
938f6e8d73 | ||
|
|
07ecf3199c | ||
|
|
0e3b97ac03 | ||
|
|
c8e7a75d54 | ||
|
|
604cab3e63 | ||
|
|
44fe360ef5 | ||
|
|
f407686404 | ||
|
|
9dd2cfa2e9 | ||
|
|
cd1e4419c8 | ||
|
|
0092c74959 | ||
|
|
29897cafaf | ||
|
|
0b448f6e02 | ||
|
|
cee8794101 | ||
|
|
2e37c42d57 | ||
|
|
4d021ae9bc | ||
|
|
192fa11d59 | ||
|
|
8a64b190a2 | ||
|
|
9c6e8d7bf3 | ||
|
|
fa27def950 | ||
|
|
c04abb9f47 | ||
|
|
094af97b95 | ||
|
|
9daf14e124 | ||
|
|
ed6bdc77b8 | ||
|
|
314014ae21 | ||
|
|
bf63bc8c7c | ||
|
|
e15e33d873 | ||
|
|
1c7b97ab88 | ||
|
|
4f3ebb710c | ||
|
|
abd18e3101 | ||
|
|
05f60af349 | ||
|
|
8a3e280d83 | ||
|
|
41f4a633f5 | ||
|
|
732db59bcf | ||
|
|
2fe3ffb637 | ||
|
|
bfcab42fc2 | ||
|
|
0d5ac2e5da | ||
|
|
1f27ea4aa2 | ||
|
|
14493d958e | ||
|
|
208f19ce4b | ||
|
|
9fa77a27ba | ||
|
|
fa7cce9e98 | ||
|
|
39a7a6a500 | ||
|
|
2c41d99587 | ||
|
|
808282864f | ||
|
|
d5316a61a3 | ||
|
|
f3df994c2d | ||
|
|
5594c142dd | ||
|
|
837b1ba96d | ||
|
|
4af261d6ed | ||
|
|
c804ed6065 | ||
|
|
5d15b0c86d | ||
|
|
04fa140c76 | ||
|
|
3fafbc88bd | ||
|
|
eeba03c727 | ||
|
|
2d5107fda3 | ||
|
|
26f333dece | ||
|
|
96447d50b9 | ||
|
|
dff486a737 | ||
|
|
f77d4eb67a | ||
|
|
df3d563aac | ||
|
|
e132be0db6 | ||
|
|
fbfa38c484 | ||
|
|
ee9457c645 | ||
|
|
49f7266d6e | ||
|
|
d922c1266e | ||
|
|
de9b43ed7c | ||
|
|
fb460f794f | ||
|
|
77bf0d4cee | ||
|
|
eb44997e43 | ||
|
|
db1b09c873 | ||
|
|
43038e8c4b | ||
|
|
f0c1d59672 | ||
|
|
c1f489a258 | ||
|
|
c586443609 | ||
|
|
3901680fba | ||
|
|
f04af83858 | ||
|
|
13b4c871cf | ||
|
|
42acd46b3a | ||
|
|
b52fe95762 | ||
|
|
dc4b4b7e46 | ||
|
|
99ad1cdd25 | ||
|
|
1df0d2d95f | ||
|
|
b892b5e501 | ||
|
|
a72059e50b | ||
|
|
f2dcc93e31 | ||
|
|
11dd0ae2d8 | ||
|
|
8f67dd3b08 | ||
|
|
84911d12a3 | ||
|
|
8f9e1dd5d8 | ||
|
|
b490e32d7d | ||
|
|
cdeda5c012 | ||
|
|
d3af1eacfb | ||
|
|
4ee52cc9cd | ||
|
|
83a7103620 | ||
|
|
9424caede8 | ||
|
|
b19e739137 | ||
|
|
117829515b | ||
|
|
a145ddf2b2 | ||
|
|
6f9df9830b | ||
|
|
a9a02c2ea6 | ||
|
|
a8ea9cc94e | ||
|
|
bcfd6acd87 | ||
|
|
40eec3460b | ||
|
|
a473780c9d | ||
|
|
6054e6b4a1 | ||
|
|
f4c1c063fa | ||
|
|
17a700f0a2 | ||
|
|
0d3350497a | ||
|
|
e8c57394d8 | ||
|
|
4e37d4a2f6 | ||
|
|
ff618c076a | ||
|
|
097cc1548a | ||
|
|
457ff589be | ||
|
|
4e62350696 | ||
|
|
ec8177d75e | ||
|
|
25909d5923 | ||
|
|
90aea4f58d | ||
|
|
27e3fbcf91 | ||
|
|
5f9133386d | ||
|
|
60a1e3ce19 | ||
|
|
9c1a51be01 | ||
|
|
f8a651bad2 | ||
|
|
2bfdab8735 | ||
|
|
1ca18f4cd2 | ||
|
|
98709a8dfc | ||
|
|
ebd863e73e | ||
|
|
29910838c1 | ||
|
|
255b872b30 | ||
|
|
dc5496e16c | ||
|
|
e0eff6ee41 | ||
|
|
c939d6042b | ||
|
|
757cb9abe9 | ||
|
|
253e180355 | ||
|
|
84888ebce1 | ||
|
|
d1701b3035 | ||
|
|
9284c232b8 | ||
|
|
463aa76833 | ||
|
|
34257672d3 | ||
|
|
bb7cfb5a87 | ||
|
|
97754be003 | ||
|
|
58c5ad2e2f | ||
|
|
8b29f096e8 | ||
|
|
bdff8b84f8 | ||
|
|
3b83e9dc93 | ||
|
|
6d410e596c | ||
|
|
0eda3b882b | ||
|
|
fb6b83a8cc | ||
|
|
074eb8d982 | ||
|
|
277ccc8b82 | ||
|
|
9da10fc14e | ||
|
|
bb2431839d | ||
|
|
9c6fbedfd5 | ||
|
|
400cd5e3e5 | ||
|
|
5a434d6deb | ||
|
|
e4c5043ef3 | ||
|
|
9669ae3ade | ||
|
|
2a565b80fa | ||
|
|
f2660dd608 | ||
|
|
01b507c4dc | ||
|
|
f62c6577c4 | ||
|
|
59b76bc5a6 | ||
|
|
7e834c11d6 | ||
|
|
308467b134 | ||
|
|
40ff29403f | ||
|
|
255fc4bc92 | ||
|
|
cea043c2ac | ||
|
|
30ed4233b2 | ||
|
|
66c1498ffa | ||
|
|
8aed339867 | ||
|
|
e8b1665f63 | ||
|
|
96521d23a9 | ||
|
|
3c770dd118 | ||
|
|
e25f5b1c98 | ||
|
|
f7917bf760 | ||
|
|
d0b71bf560 | ||
|
|
7eea714633 | ||
|
|
08e3eea6b7 | ||
|
|
742b571a5b | ||
|
|
81576c029a | ||
|
|
58543a1415 | ||
|
|
f9de747ef3 | ||
|
|
90e7c53187 | ||
|
|
0bbee16e88 | ||
|
|
a2a921454b | ||
|
|
6df001524e | ||
|
|
b806e4b902 | ||
|
|
a385dd2011 | ||
|
|
59de8198c6 | ||
|
|
ee4073256f | ||
|
|
bdbeb967c6 | ||
|
|
d007164a53 | ||
|
|
57b337546d | ||
|
|
c532073dd1 | ||
|
|
22e3d2fd35 | ||
|
|
98dd9a970f | ||
|
|
a31dd155fd | ||
|
|
12e6eb1395 | ||
|
|
0719d18586 | ||
|
|
4943fed2fe | ||
|
|
0f40e3896b | ||
|
|
6e17117800 | ||
|
|
b841cd7874 | ||
|
|
80e6600275 | ||
|
|
92145eeab9 | ||
|
|
271d27592f | ||
|
|
e2d8b90ecc | ||
|
|
f3d3ef1c3d | ||
|
|
58c3acb525 | ||
|
|
1aac5a09d2 | ||
|
|
82f75a2164 | ||
|
|
083b39ef17 | ||
|
|
387b2f3272 | ||
|
|
2cec8d757d | ||
|
|
53e64d4b4a | ||
|
|
305b7d7acc | ||
|
|
4bc6d1759f | ||
|
|
1469afb432 | ||
|
|
3c0730c170 | ||
|
|
a2e1e9f28e | ||
|
|
cfcd4b5992 | ||
|
|
4ec4dd5f77 | ||
|
|
c71fbf297a | ||
|
|
d6b2973697 | ||
|
|
1f5f99996b | ||
|
|
690399008d | ||
|
|
75116a3f12 | ||
|
|
dfbc6759da | ||
|
|
bb9c3db982 | ||
|
|
17711526e5 | ||
|
|
ab2fb958a3 | ||
|
|
d33ff007fd | ||
|
|
696fdecf42 | ||
|
|
071cb6a78a | ||
|
|
0c7874630b | ||
|
|
00659b6323 | ||
|
|
a7b2f4df2a | ||
|
|
b01a549579 | ||
|
|
a8660e27ed | ||
|
|
ad4da605d7 | ||
|
|
3f30ea134b | ||
|
|
902977cb60 | ||
|
|
ee161b2359 | ||
|
|
eda3997211 | ||
|
|
0802e8aac3 | ||
|
|
0fd7580301 | ||
|
|
c861d27aae | ||
|
|
52f13fe778 | ||
|
|
9bb88c848e | ||
|
|
059bec1a7a | ||
|
|
a22b7d6844 | ||
|
|
20dbf299d0 | ||
|
|
c8fa6af54b | ||
|
|
cc417c6ee8 | ||
|
|
b8ac8f1ddd | ||
|
|
71ec5b2106 | ||
|
|
878e465c52 | ||
|
|
226ffbb3f3 | ||
|
|
7b4ed397b3 | ||
|
|
3328f9acb7 | ||
|
|
4a107673ad | ||
|
|
1ecf95b896 | ||
|
|
9cb417bf6c | ||
|
|
80214cb2c7 | ||
|
|
9d5c82f61f | ||
|
|
8596afcfee | ||
|
|
262632e0ae | ||
|
|
71d63a69e6 | ||
|
|
89fc088239 | ||
|
|
b6dac5e36c | ||
|
|
f3468e1070 | ||
|
|
deb7417145 | ||
|
|
1ed27939cc | ||
|
|
9342b5abbd | ||
|
|
9a507a4450 | ||
|
|
78eabd2437 | ||
|
|
a361c12e2a | ||
|
|
6d397c79f5 | ||
|
|
19cfa326fd | ||
|
|
7609b11dc1 | ||
|
|
97271d51bc | ||
|
|
3a46bd2f94 | ||
|
|
f280e98897 | ||
|
|
5d98dbac4a | ||
|
|
368d32becb | ||
|
|
52ebb7c611 | ||
|
|
377eecc66e | ||
|
|
cf531154fb | ||
|
|
4fffec0749 | ||
|
|
bbb94c40da | ||
|
|
1088faf95d | ||
|
|
7ad38d7757 | ||
|
|
24cb9dcf70 | ||
|
|
e535975718 | ||
|
|
22ed643be8 | ||
|
|
b4713a4b49 | ||
|
|
deb20ffa90 | ||
|
|
fd703ec740 | ||
|
|
8a8aa2dc52 | ||
|
|
f89128a2d9 | ||
|
|
2004942a3a | ||
|
|
26d7842cfe | ||
|
|
cae068fe73 | ||
|
|
f15c40d52e | ||
|
|
aea505805c | ||
|
|
64dd0baa02 | ||
|
|
f75d2c1b32 | ||
|
|
14fdbb9788 | ||
|
|
2575c29051 | ||
|
|
d9894560d7 | ||
|
|
c9515ecb35 | ||
|
|
6fad231246 | ||
|
|
3bb76bfad6 | ||
|
|
6374fb4568 | ||
|
|
1762458e4d | ||
|
|
0bc9f71353 | ||
|
|
89b06defa5 | ||
|
|
ec882bc22e | ||
|
|
d4585933ac | ||
|
|
7736d26e0c | ||
|
|
f11d8a2718 | ||
|
|
1daad022c3 | ||
|
|
74c883b85b | ||
|
|
d9f4a4c524 | ||
|
|
977f590954 | ||
|
|
11ed5e49d8 | ||
|
|
13f6defb7a | ||
|
|
8d3562dc62 | ||
|
|
ebc51c6dff | ||
|
|
14feb0f4a6 | ||
|
|
cb45a4bb37 | ||
|
|
2ece67fd0b | ||
|
|
c2939551e5 | ||
|
|
34a9fb2dc8 | ||
|
|
63416c3cac | ||
|
|
57aec02410 | ||
|
|
588ac4a2a6 | ||
|
|
603dad3533 | ||
|
|
b89deea796 | ||
|
|
448bdde79c | ||
|
|
072d0704df | ||
|
|
7e505fbd9f | ||
|
|
54c4331479 | ||
|
|
6644f5b679 | ||
|
|
d19cc340ea | ||
|
|
b4115bbee4 | ||
|
|
a1d5e34f41 | ||
|
|
75c3b7d81b | ||
|
|
b167dc8b21 | ||
|
|
f851b91489 | ||
|
|
656d034dd3 | ||
|
|
9b9f4703af | ||
|
|
af33d62a9a | ||
|
|
005f47d436 | ||
|
|
83851ca2bb | ||
|
|
88f670b45c | ||
|
|
530ee622db | ||
|
|
8560368f47 | ||
|
|
4e130ac406 | ||
|
|
8b1571aa26 | ||
|
|
5e76dfdecd | ||
|
|
d7fedc7046 | ||
|
|
a5e55ef5e6 | ||
|
|
dc9cf9e8f1 | ||
|
|
d856506738 | ||
|
|
22ef448fa4 | ||
|
|
ca46b1a779 | ||
|
|
b4fe7de242 | ||
|
|
888481a64a | ||
|
|
e498ad69f9 | ||
|
|
84ca589a16 | ||
|
|
47a2ef8797 | ||
|
|
50d869697b | ||
|
|
ef109c872f | ||
|
|
f4161385d4 | ||
|
|
35eed83326 | ||
|
|
184216419d | ||
|
|
87a06b5e39 | ||
|
|
6ee83baf0b | ||
|
|
67eb5ce63e | ||
|
|
b0ca23fbd7 | ||
|
|
1618dbfa0b | ||
|
|
cf8d8aef92 | ||
|
|
07843042a5 | ||
|
|
bafa6b9c81 | ||
|
|
089325d30e | ||
|
|
69cc4d83ad | ||
|
|
4813b06ed5 | ||
|
|
d8ade4a917 | ||
|
|
e7afcd7c49 | ||
|
|
ee20ccd474 | ||
|
|
e401145235 | ||
|
|
86f27ca766 | ||
|
|
aed03b5bf5 | ||
|
|
0726156f1b | ||
|
|
ee596b4faa | ||
|
|
9d1341d1eb | ||
|
|
ee34fc5c89 | ||
|
|
9e5858ccab | ||
|
|
8aa06cc3f9 | ||
|
|
826c70b3d2 | ||
|
|
93c8a2a04d | ||
|
|
dc73176dc6 | ||
|
|
0d3d0bebf3 | ||
|
|
d1183fb2a2 | ||
|
|
4147434a33 | ||
|
|
8395d55fc5 | ||
|
|
7af5b8249c | ||
|
|
3f362283d0 | ||
|
|
6d7e9c8851 | ||
|
|
8026bcb691 | ||
|
|
536ae99fe8 | ||
|
|
7303704f36 | ||
|
|
e78ebe4c05 | ||
|
|
1348b07958 | ||
|
|
10d4bad26d | ||
|
|
0c6c18f818 | ||
|
|
a19708e067 | ||
|
|
9c34677889 | ||
|
|
7317c35387 | ||
|
|
959225e2bf | ||
|
|
dd26937d69 | ||
|
|
eefd6a517f | ||
|
|
29eda7f644 | ||
|
|
6c7934ee80 | ||
|
|
33d004a92e | ||
|
|
c88e544281 | ||
|
|
1544dffabd | ||
|
|
67f9f1f2db | ||
|
|
3f8245e042 | ||
|
|
6d598af782 | ||
|
|
249af958ff | ||
|
|
8c9a1712fb | ||
|
|
d7604d8608 | ||
|
|
9027864b68 | ||
|
|
dea1fa87a9 | ||
|
|
9bfe930978 | ||
|
|
9c648f93cc | ||
|
|
b8e18a8aa3 | ||
|
|
6ef57945f7 | ||
|
|
f2e90149ae | ||
|
|
2efbb13e66 | ||
|
|
1ddfb7c6c5 | ||
|
|
182f8953d7 | ||
|
|
d0244d6c74 | ||
|
|
ecc0a4d5fd | ||
|
|
e864db8a2f | ||
|
|
344ab4a821 | ||
|
|
43e257f05d | ||
|
|
77f2f4f0ba | ||
|
|
c32dd3d362 | ||
|
|
cf4f84708a | ||
|
|
cabe57e74b | ||
|
|
249e98bee5 | ||
|
|
d7215deb89 | ||
|
|
79c2907c40 | ||
|
|
cf3779bb73 | ||
|
|
5700585b33 | ||
|
|
68957acc0d | ||
|
|
6cfbec91e2 | ||
|
|
c0651479f4 | ||
|
|
937a07f2c6 | ||
|
|
a7c9414be9 | ||
|
|
f55a8092cb | ||
|
|
13dbfc6e6c | ||
|
|
c981f513c8 | ||
|
|
8146241777 | ||
|
|
6e0efcbe04 | ||
|
|
f9c48e1f98 | ||
|
|
77533a94a3 | ||
|
|
8e22270608 | ||
|
|
df43388e88 | ||
|
|
7fd1fef3f3 | ||
|
|
158f68f80f | ||
|
|
98c90e9deb | ||
|
|
018f5dc32a | ||
|
|
370cd1c8f6 | ||
|
|
46a2282e47 | ||
|
|
2af8d92b42 | ||
|
|
f6763be9f0 | ||
|
|
d01e629c0e | ||
|
|
2c793fb1d9 | ||
|
|
c059a2d41e | ||
|
|
bb05da0bf1 | ||
|
|
686f496c31 | ||
|
|
35f7cd52b8 | ||
|
|
9e3995ecc9 | ||
|
|
01d5020b5a | ||
|
|
55b3464c49 | ||
|
|
10629889f2 | ||
|
|
5b8f5eb16d | ||
|
|
9bfc8693f2 | ||
|
|
10b5611167 | ||
|
|
4ce67a48e7 | ||
|
|
17c4e9b1c5 | ||
|
|
f3404ab202 | ||
|
|
85ee5def6e | ||
|
|
45bb22863e | ||
|
|
91b41586b8 | ||
|
|
b7f02b0d1c | ||
|
|
916746c719 | ||
|
|
eb72c5d96a | ||
|
|
fb8a744dcb | ||
|
|
6d78b361f8 | ||
|
|
cfb6bf3ffc | ||
|
|
8cfbbf77b3 | ||
|
|
14aa851ae0 | ||
|
|
a4480ed16e | ||
|
|
e69e2213e4 | ||
|
|
b3062d1bd9 | ||
|
|
ce9177e21c | ||
|
|
1d5a116e3c | ||
|
|
085f6f0f4a | ||
|
|
92fbc158aa | ||
|
|
975737d5e6 | ||
|
|
e1394172db | ||
|
|
5265ec4a06 | ||
|
|
18a05e5fbc | ||
|
|
f90e49ad6a | ||
|
|
282a1c81c4 | ||
|
|
d60604366c | ||
|
|
4855f6b6a4 | ||
|
|
6d8f551b02 | ||
|
|
304b8a9846 | ||
|
|
7732949e3c | ||
|
|
9186448344 | ||
|
|
94299861c1 | ||
|
|
823e99efa9 | ||
|
|
fb2fe1dd19 | ||
|
|
2e09c80855 | ||
|
|
34d53304df | ||
|
|
a7c153cb6f | ||
|
|
b36a52189a | ||
|
|
2f73400328 | ||
|
|
9ae6704d60 | ||
|
|
4aea7a997d | ||
|
|
9751387b1b | ||
|
|
03cadf304c | ||
|
|
aca22cab42 | ||
|
|
a93caad947 | ||
|
|
5b2c2d2485 | ||
|
|
5f818c6bae | ||
|
|
417defdbb9 | ||
|
|
a378f259eb | ||
|
|
ffdc10cebe | ||
|
|
29129cdb9d | ||
|
|
c1839ce48e | ||
|
|
f9954bb022 | ||
|
|
080d348d19 | ||
|
|
5a74c1f49f | ||
|
|
aaac06da5b | ||
|
|
8ed2dedf4c | ||
|
|
b5d586fd89 | ||
|
|
414b635433 | ||
|
|
1b9126ad48 | ||
|
|
30c80b0923 | ||
|
|
5c235be89b | ||
|
|
18426be9a2 | ||
|
|
4fa73662ed | ||
|
|
6f27c726ce | ||
|
|
5751b08266 | ||
|
|
235a79ff12 | ||
|
|
dfb4eb11cb | ||
|
|
924246c0a6 | ||
|
|
5a44f83bbf | ||
|
|
5dac7ae5c4 | ||
|
|
54c4a73c8e | ||
|
|
498a21cf0a | ||
|
|
3c78241b98 | ||
|
|
ae07429eea | ||
|
|
d7b1ecb3dc | ||
|
|
5dd3612ae1 | ||
|
|
8dd28582cc | ||
|
|
157fbb6143 | ||
|
|
c2bdf7878e | ||
|
|
a90cf56246 | ||
|
|
e5c78eca3f | ||
|
|
5c3300b083 | ||
|
|
bec3290cb9 | ||
|
|
4b53a1713b | ||
|
|
daceb0279a | ||
|
|
8c73d16d2b | ||
|
|
8878aeeb6b | ||
|
|
655ceab413 | ||
|
|
02693de015 | ||
|
|
6de9b60aa9 | ||
|
|
0b14422901 | ||
|
|
8fe2e7234d | ||
|
|
4877cb0d9c | ||
|
|
bf3fff31c2 | ||
|
|
65bc3f1f7f | ||
|
|
706a58c58e | ||
|
|
4611cc2db4 | ||
|
|
70206b7c2f | ||
|
|
49b19418d2 | ||
|
|
1a38554d32 | ||
|
|
e50ee6e002 | ||
|
|
75984383d6 | ||
|
|
1404a8beaa | ||
|
|
b3636eed8b | ||
|
|
b8ea851fa9 | ||
|
|
0ec1bd7782 | ||
|
|
47d73572d0 | ||
|
|
1c83fa033a | ||
|
|
71dfb4e3ae | ||
|
|
9e68275730 | ||
|
|
eac9e11063 | ||
|
|
eb634d2d76 | ||
|
|
2575465591 | ||
|
|
94c65c6945 | ||
|
|
36441c864a | ||
|
|
f2e0d8e1a8 | ||
|
|
888bea54ad | ||
|
|
414add4358 | ||
|
|
66f4139627 | ||
|
|
7685ed962e | ||
|
|
3786104739 | ||
|
|
1418961a8b | ||
|
|
623f98d989 | ||
|
|
f6ac7b7863 | ||
|
|
da525aeb50 | ||
|
|
972ef91f57 | ||
|
|
cca8cb4386 | ||
|
|
7fa0bf1d92 | ||
|
|
85a7df32ea | ||
|
|
91d8dcfc8b | ||
|
|
ce2d766de6 | ||
|
|
017eeb40dc | ||
|
|
7140a4dfb1 | ||
|
|
2ca5030b08 | ||
|
|
d8d263c7f0 | ||
|
|
50f5056f7d | ||
|
|
78e556279e | ||
|
|
e4a2221a93 | ||
|
|
bf345cff03 | ||
|
|
950fb7e8b2 | ||
|
|
a1fd96f11d | ||
|
|
bc43bfe578 | ||
|
|
3b2e1da63f |
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
|
||||
# Ignore everything
|
||||
*
|
||||
|
||||
# But not these files:
|
||||
!.gitignore
|
||||
!*.mod
|
||||
!README.md
|
||||
!Variables.mk
|
||||
!variables.env
|
||||
|
||||
*tmp.mod
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
# Project Development Dependencies.
|
||||
|
||||
This is directory which stores Go modules with pinned buildable package that is used within this repository, managed by https://github.com/bwplotka/bingo.
|
||||
|
||||
* Run `bingo get` to install all tools having each own module file in this directory.
|
||||
* Run `bingo get <tool>` to install <tool> that have own module file in this directory.
|
||||
* For Makefile: Make sure to put `include .bingo/Variables.mk` in your Makefile, then use $(<upper case tool name>) variable where <tool> is the .bingo/<tool>.mod.
|
||||
* For shell: Run `source .bingo/variables.env` to source all environment variable for each tool.
|
||||
* For go: Import `.bingo/variables.go` to for variable names.
|
||||
* See https://github.com/bwplotka/bingo or -h on how to add, remove or change binaries dependencies.
|
||||
|
||||
## Requirements
|
||||
|
||||
* Go 1.14+
|
||||
@@ -0,0 +1,121 @@
|
||||
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.4.0. DO NOT EDIT.
|
||||
# All tools are designed to be build inside $GOBIN.
|
||||
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
GOPATH ?= $(shell go env GOPATH)
|
||||
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
|
||||
GO ?= $(shell which go)
|
||||
|
||||
# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
|
||||
# will be used; reinstalling only if needed.
|
||||
# For example for bingo variable:
|
||||
#
|
||||
# In your main Makefile (for non array binaries):
|
||||
#
|
||||
#include .bingo/Variables.mk # Assuming -dir was set to .bingo .
|
||||
#
|
||||
#command: $(BINGO)
|
||||
# @echo "Running bingo"
|
||||
# @$(BINGO) <flags/args..>
|
||||
#
|
||||
BINGO := $(GOBIN)/bingo-v0.4.0
|
||||
$(BINGO): $(BINGO_DIR)/bingo.mod
|
||||
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
|
||||
@echo "(re)installing $(GOBIN)/bingo-v0.4.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.4.0 "github.com/bwplotka/bingo"
|
||||
|
||||
BUF := $(GOBIN)/buf-v0.40.0
|
||||
$(BUF): $(BINGO_DIR)/buf.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)/buf-v0.40.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buf.mod -o=$(GOBIN)/buf-v0.40.0 "github.com/bufbuild/buf/cmd/buf"
|
||||
|
||||
BUILDIFIER := $(GOBIN)/buildifier-v0.0.0-20210227132407-f2aed9ee205d
|
||||
$(BUILDIFIER): $(BINGO_DIR)/buildifier.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)/buildifier-v0.0.0-20210227132407-f2aed9ee205d"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buildifier.mod -o=$(GOBIN)/buildifier-v0.0.0-20210227132407-f2aed9ee205d "github.com/bazelbuild/buildtools/buildifier"
|
||||
|
||||
CALENS := $(GOBIN)/calens-v0.2.0
|
||||
$(CALENS): $(BINGO_DIR)/calens.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)/calens-v0.2.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=calens.mod -o=$(GOBIN)/calens-v0.2.0 "github.com/restic/calens"
|
||||
|
||||
FILEB0X := $(GOBIN)/fileb0x-v1.1.4
|
||||
$(FILEB0X): $(BINGO_DIR)/fileb0x.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)/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): $(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"
|
||||
|
||||
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.37.1
|
||||
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.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)/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): $(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"
|
||||
|
||||
MUTAGEN := $(GOBIN)/mutagen-v0.11.8
|
||||
$(MUTAGEN): $(BINGO_DIR)/mutagen.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)/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"
|
||||
|
||||
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.
|
||||
@echo "(re)installing $(GOBIN)/protoc-gen-doc-v1.4.1"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-doc.mod -o=$(GOBIN)/protoc-gen-doc-v1.4.1 "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc"
|
||||
|
||||
PROTOC_GEN_GO := $(GOBIN)/protoc-gen-go-v1.26.0
|
||||
$(PROTOC_GEN_GO): $(BINGO_DIR)/protoc-gen-go.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)/protoc-gen-go-v1.26.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-go.mod -o=$(GOBIN)/protoc-gen-go-v1.26.0 "google.golang.org/protobuf/cmd/protoc-gen-go"
|
||||
|
||||
PROTOC_GEN_MICRO := $(GOBIN)/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888
|
||||
$(PROTOC_GEN_MICRO): $(BINGO_DIR)/protoc-gen-micro.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)/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-micro.mod -o=$(GOBIN)/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888 "github.com/asim/go-micro/cmd/protoc-gen-micro/v3"
|
||||
|
||||
PROTOC_GEN_MICROWEB := $(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4
|
||||
$(PROTOC_GEN_MICROWEB): $(BINGO_DIR)/protoc-gen-microweb.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)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-microweb.mod -o=$(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4 "github.com/owncloud/protoc-gen-microweb"
|
||||
|
||||
PROTOC_GEN_OPENAPIV2 := $(GOBIN)/protoc-gen-openapiv2-v2.3.0
|
||||
$(PROTOC_GEN_OPENAPIV2): $(BINGO_DIR)/protoc-gen-openapiv2.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)/protoc-gen-openapiv2-v2.3.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-openapiv2.mod -o=$(GOBIN)/protoc-gen-openapiv2-v2.3.0 "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
|
||||
|
||||
REFLEX := $(GOBIN)/reflex-v0.3.0
|
||||
$(REFLEX): $(BINGO_DIR)/reflex.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)/reflex-v0.3.0"
|
||||
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=reflex.mod -o=$(GOBIN)/reflex-v0.3.0 "github.com/cespare/reflex"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/bwplotka/bingo v0.4.0
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/bufbuild/buf v0.40.0 // cmd/buf
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/bazelbuild/buildtools v0.0.0-20210227132407-f2aed9ee205d // buildifier
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/restic/calens v0.2.0
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/UnnoTed/fileb0x v1.1.4
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/owncloud/flaex v0.2.0
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
module _ // Fake go.mod auto-created by 'bingo' for go -moddir compatibility with non-Go projects. Commit this file, together with other .mod files.
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/golangci/golangci-lint v1.37.1 // cmd/golangci-lint
|
||||
@@ -0,0 +1,5 @@
|
||||
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
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/mitchellh/gox v1.0.1
|
||||
@@ -0,0 +1,7 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
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
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/mutagen-io/mutagen v0.11.8 // cmd/mutagen
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/pseudomuto/protoc-gen-doc v1.4.1 // cmd/protoc-gen-doc
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require google.golang.org/protobuf v1.26.0 // cmd/protoc-gen-go
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/asim/go-micro/cmd/protoc-gen-micro/v3 v3.0.0-20210329103359-9b41d1bf0888
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/owncloud/protoc-gen-microweb v0.0.0-20210224131655-d9b1137a84d4
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/grpc-ecosystem/grpc-gateway/v2 v2.3.0 // protoc-gen-openapiv2
|
||||
@@ -0,0 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.16
|
||||
|
||||
require github.com/cespare/reflex v0.3.0
|
||||
@@ -0,0 +1,44 @@
|
||||
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.4.0. DO NOT EDIT.
|
||||
# All tools are designed to be build inside $GOBIN.
|
||||
# Those variables will work only until 'bingo get' was invoked, or if tools were installed via Makefile's Variables.mk.
|
||||
GOBIN=${GOBIN:=$(go env GOBIN)}
|
||||
|
||||
if [ -z "$GOBIN" ]; then
|
||||
GOBIN="$(go env GOPATH)/bin"
|
||||
fi
|
||||
|
||||
|
||||
BINGO="${GOBIN}/bingo-v0.4.0"
|
||||
|
||||
BUF="${GOBIN}/buf-v0.40.0"
|
||||
|
||||
BUILDIFIER="${GOBIN}/buildifier-v0.0.0-20210227132407-f2aed9ee205d"
|
||||
|
||||
CALENS="${GOBIN}/calens-v0.2.0"
|
||||
|
||||
FILEB0X="${GOBIN}/fileb0x-v1.1.4"
|
||||
|
||||
FLAEX="${GOBIN}/flaex-v0.2.0"
|
||||
|
||||
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"
|
||||
|
||||
MUTAGEN="${GOBIN}/mutagen-v0.11.8"
|
||||
|
||||
PROTOC_GEN_DOC="${GOBIN}/protoc-gen-doc-v1.4.1"
|
||||
|
||||
PROTOC_GEN_GO="${GOBIN}/protoc-gen-go-v1.26.0"
|
||||
|
||||
PROTOC_GEN_MICRO="${GOBIN}/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888"
|
||||
|
||||
PROTOC_GEN_MICROWEB="${GOBIN}/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4"
|
||||
|
||||
PROTOC_GEN_OPENAPIV2="${GOBIN}/protoc-gen-openapiv2-v2.3.0"
|
||||
|
||||
REFLEX="${GOBIN}/reflex-v0.3.0"
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ exclude_paths:
|
||||
- 'docs/**'
|
||||
- '**/docs/**'
|
||||
- '**/pkg/proto/**'
|
||||
- 'konnectd/ui_config/**'
|
||||
- 'konnectd/scripts/**'
|
||||
- 'idp/ui_config/**'
|
||||
- 'idp/scripts/**'
|
||||
- 'settings/rollup.config.js'
|
||||
- 'accounts/rollup.config.js'
|
||||
- 'ocis/docker/eos-ocis/Dockerfile'
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
.bingo
|
||||
!.bingo/*.mod
|
||||
!.bingo/Variables.mk
|
||||
**/.git
|
||||
**/bin
|
||||
docs
|
||||
**/node_modules
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
# The test runner source for API tests
|
||||
CORE_COMMITID=ec99c594e90b83c8a3778834e31a5714df630ffc
|
||||
CORE_COMMITID=67ce741589a98c61062277666dfbfad38d068c2c
|
||||
CORE_BRANCH=master
|
||||
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=5945833ca594c16d33514da74b3d2eb64d3560fd
|
||||
WEB_COMMITID=531c4718dbc6cec184cb1f38cca53f726502f7f9
|
||||
WEB_BRANCH=master
|
||||
+1570
-1463
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,32 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "gomod"
|
||||
directory: "/ocis"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
open-pull-requests-limit: 2
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/accounts"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
open-pull-requests-limit: 2
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/settings"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
open-pull-requests-limit: 2
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/onlyoffice"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
open-pull-requests-limit: 2
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/idp"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
open-pull-requests-limit: 2
|
||||
|
||||
@@ -7,7 +7,7 @@ For fixing potential security issues please see https://owncloud.org/security/
|
||||
|
||||
To make it possible for us to get your change reviewed and merged please carefully fill out the requested information below.
|
||||
|
||||
Please note that any kind of change needs first be submitted to the master branch which holds the next version of OCIS.
|
||||
Please note that any kind of change needs first be submitted to the master branch which holds the next version of oCIS.
|
||||
|
||||
Please set the following labels:
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ _extends: gh-labels
|
||||
repository:
|
||||
name: ocis
|
||||
description: ':atom_symbol: ownCloud Infinite Scale Stack'
|
||||
homepage: https://owncloud.github.io/ocis/
|
||||
homepage: https://owncloud.dev/ocis/
|
||||
topics: reva, ocis
|
||||
|
||||
private: false
|
||||
@@ -22,7 +22,7 @@ repository:
|
||||
labels:
|
||||
- name: OCIS-Fastlane
|
||||
color: "#deadbf"
|
||||
description: Something isn't working
|
||||
description: Planned outside of the sprint
|
||||
|
||||
teams:
|
||||
- name: ci
|
||||
@@ -37,16 +37,17 @@ branches:
|
||||
required_approving_review_count: 1
|
||||
dismiss_stale_reviews: false
|
||||
require_code_owner_reviews: false
|
||||
dismissal_restrictions: {}
|
||||
required_status_checks:
|
||||
strict: true
|
||||
strict: false
|
||||
contexts:
|
||||
- continuous-integration/drone/pr
|
||||
enforce_admins: false
|
||||
enforce_admins: null
|
||||
restrictions:
|
||||
apps: []
|
||||
users: []
|
||||
teams:
|
||||
- ci
|
||||
- employees
|
||||
|
||||
...
|
||||
|
||||
+10
-1
@@ -1,4 +1,6 @@
|
||||
*/coverage.out
|
||||
*/checkstyle.xml
|
||||
*/package-lock.json
|
||||
|
||||
ocis/config/identifier-registration.yaml
|
||||
*/bin
|
||||
@@ -8,13 +10,17 @@ dist/
|
||||
*crt
|
||||
node_modules/
|
||||
*/assets
|
||||
ocis/ocis
|
||||
ocis/cmd/ocis/__debug_bin
|
||||
ocis/cmd/ocis/config/
|
||||
|
||||
.idea
|
||||
|
||||
yarn-error.log
|
||||
yarn.lock
|
||||
|
||||
# Konnectd
|
||||
konnectd/assets/identifier
|
||||
idp/assets/identifier
|
||||
|
||||
# Composer - used for API acceptance tests
|
||||
composer.lock
|
||||
@@ -24,3 +30,6 @@ vendor-bin/**/composer.lock
|
||||
|
||||
# drone CI is in .drone.star, do not let someone accidentally commit a local .drone.yml
|
||||
.drone.yml
|
||||
|
||||
**/l10n/locale
|
||||
**/l10n/template.pot
|
||||
@@ -0,0 +1,7 @@
|
||||
.PHONY: config-docs-generate
|
||||
config-docs-generate: $(FLAEX)
|
||||
@echo "$(NAME): generating config docs"
|
||||
@$(FLAEX) >| ../docs/extensions/$(NAME)/configuration.md
|
||||
|
||||
.PHONY: grpc-docs-generate
|
||||
grpc-docs-generate: ../docs/extensions/${NAME}/grpc.md
|
||||
@@ -0,0 +1,6 @@
|
||||
.PHONY: generate
|
||||
generate: ci-node-generate ci-go-generate
|
||||
|
||||
.PHONY: embed.yml
|
||||
embed.yml: $(FILEB0X)
|
||||
@cd pkg/assets/ && echo -n "$(NAME): embed.go - " && $(FILEB0X) embed.yml
|
||||
+114
@@ -0,0 +1,114 @@
|
||||
IMPORT := github.com/owncloud/ocis/$(NAME)
|
||||
BIN := bin
|
||||
DIST := dist
|
||||
|
||||
ifeq ($(OS), Windows_NT)
|
||||
EXECUTABLE := $(NAME).exe
|
||||
UNAME := Windows
|
||||
else
|
||||
EXECUTABLE := $(NAME)
|
||||
UNAME := $(shell uname -s)
|
||||
endif
|
||||
|
||||
ifeq ($(UNAME), Darwin)
|
||||
GOBUILD ?= go build -i
|
||||
else
|
||||
GOBUILD ?= go build
|
||||
endif
|
||||
|
||||
PACKAGES ?= $(shell go list ./...)
|
||||
SOURCES ?= $(shell find . -name "*.go" -type f -not -path "./node_modules/*")
|
||||
GENERATE ?= $(PACKAGES)
|
||||
|
||||
TAGS ?=
|
||||
|
||||
ifndef OUTPUT
|
||||
ifneq ($(DRONE_TAG),)
|
||||
OUTPUT ?= $(subst v,,$(DRONE_TAG))
|
||||
else
|
||||
OUTPUT ?= testing
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef VERSION
|
||||
ifneq ($(DRONE_TAG),)
|
||||
VERSION ?= $(subst v,,$(DRONE_TAG))
|
||||
else
|
||||
VERSION ?= $(shell git rev-parse --short HEAD)
|
||||
endif
|
||||
endif
|
||||
|
||||
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)"
|
||||
GCFLAGS += all=-N -l
|
||||
|
||||
.PHONY: all
|
||||
all: build
|
||||
|
||||
.PHONY: sync
|
||||
sync:
|
||||
go mod download
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@echo "$(NAME): clean"
|
||||
go clean -i ./...
|
||||
rm -rf $(BIN) $(DIST)
|
||||
|
||||
.PHONY: go-mod-tidy
|
||||
go-mod-tidy:
|
||||
@echo "$(NAME): go-mod-tidy"
|
||||
@go mod tidy
|
||||
|
||||
.PHONY: fmt
|
||||
fmt:
|
||||
gofmt -s -w $(SOURCES)
|
||||
|
||||
.PHONY: golangci-lint
|
||||
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)
|
||||
|
||||
.PHONY: ci-golangci-lint
|
||||
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)
|
||||
|
||||
.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]+"
|
||||
|
||||
.PHONY: install
|
||||
install: $(SOURCES)
|
||||
go install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' ./cmd/$(NAME)
|
||||
|
||||
.PHONY: build-all
|
||||
build-all: build build-debug
|
||||
|
||||
.PHONY: build
|
||||
build: $(BIN)/$(EXECUTABLE)
|
||||
|
||||
.PHONY: build-debug
|
||||
build-debug: $(BIN)/$(EXECUTABLE)-debug
|
||||
|
||||
$(BIN)/$(EXECUTABLE): $(SOURCES)
|
||||
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $@ ./cmd/$(NAME)
|
||||
|
||||
$(BIN)/$(EXECUTABLE)-debug: $(SOURCES)
|
||||
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(DEBUG_LDFLAGS)' -gcflags '$(GCFLAGS)' -o $@ ./cmd/$(NAME)
|
||||
|
||||
.PHONY: watch
|
||||
watch: $(REFLEX)
|
||||
$(REFLEX) -c reflex.conf
|
||||
@@ -0,0 +1,50 @@
|
||||
# On OSX the PATH variable isn't exported unless "SHELL" is also set, see: http://stackoverflow.com/a/25506676
|
||||
SHELL = /bin/bash
|
||||
NODE_BINDIR = ./node_modules/.bin
|
||||
export PATH := $(PATH):$(NODE_BINDIR)
|
||||
|
||||
INPUT_FILES = ./ui
|
||||
|
||||
# Where to write the files generated by this makefile.
|
||||
OUTPUT_DIR = ./l10n
|
||||
|
||||
# Template file
|
||||
TEMPLATE_FILE = ./l10n/template.pot
|
||||
|
||||
# Name of the generated .po files for each available locale.
|
||||
LOCALE_FILES = $(shell find l10n/locale -name '*.po')
|
||||
|
||||
.PHONY: l10n-push
|
||||
l10n-push:
|
||||
cd $(OUTPUT_DIR) && tx -d push -s --skip --no-interactive
|
||||
|
||||
.PHONY: l10n-pull
|
||||
l10n-pull:
|
||||
cd $(OUTPUT_DIR) && tx -d pull -a --skip --minimum-perc=75
|
||||
|
||||
.PHONY: l10n-clean
|
||||
l10n-clean:
|
||||
rm -f $(TEMPLATE_FILE)
|
||||
rm -rf $(OUTPUT_DIR)/locale
|
||||
|
||||
.PHONY: l10n-read
|
||||
l10n-read: node_modules $(TEMPLATE_FILE)
|
||||
|
||||
.PHONY: l10n-write
|
||||
l10n-write: node_modules $(OUTPUT_DIR)/translations.json
|
||||
|
||||
# Create a main .pot template, then generate .po files for each available language.
|
||||
# Thanks to Systematic: https://github.com/Polyconseil/systematic/blob/866d5a/mk/main.mk#L167-L183
|
||||
$(TEMPLATE_FILE):
|
||||
# Extract gettext strings from each template file and create a POT dictionary template.
|
||||
# Generate .po files for each available language.
|
||||
export GETTEXT_SOURCES=`find $(INPUT_FILES) -name '*.vue' -o -name '*.js'`; \
|
||||
node ./node_modules/easygettext/src/extract-cli.js --attribute v-translate --output $(OUTPUT_DIR)/template.pot $$GETTEXT_SOURCES;
|
||||
|
||||
# Generate translations.json file from .pot template.
|
||||
.PHONY: $(OUTPUT_DIR)/translations.json
|
||||
$(OUTPUT_DIR)/translations.json:
|
||||
rm -rf $(OUTPUT_DIR)/translations.json
|
||||
gettext-compile --output $(OUTPUT_DIR)/translations.json $(LOCALE_FILES);
|
||||
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
.PHONY: protoc-gen-openapiv2
|
||||
protoc-gen-openapiv2:
|
||||
GO111MODULE=off go get -v github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2
|
||||
|
||||
|
||||
.PHONY: $(PROTO_SRC)/${NAME}.pb.go
|
||||
$(PROTO_SRC)/${NAME}.pb.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_GO)
|
||||
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.go"
|
||||
@$(BUF) protoc \
|
||||
-I=$(PROTO_SRC)/ \
|
||||
-I=../third_party/ \
|
||||
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
|
||||
--plugin protoc-gen-go=$(PROTOC_GEN_GO) \
|
||||
--go_out=$(PROTO_SRC) \
|
||||
--go_opt=paths=source_relative \
|
||||
$(PROTO_SRC)/${NAME}.proto
|
||||
|
||||
.PHONY: $(PROTO_SRC)/${NAME}.pb.micro.go
|
||||
$(PROTO_SRC)/${NAME}.pb.micro.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICRO)
|
||||
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.micro.go"
|
||||
@$(BUF) protoc \
|
||||
-I=$(PROTO_SRC)/ \
|
||||
-I=../third_party/ \
|
||||
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
|
||||
--plugin protoc-gen-micro=$(PROTOC_GEN_MICRO) \
|
||||
--micro_out=logtostderr=true:$(PROTO_SRC) \
|
||||
--micro_opt=paths=source_relative \
|
||||
$(PROTO_SRC)/${NAME}.proto
|
||||
|
||||
.PHONY: $(PROTO_SRC)/${NAME}.pb.web.go
|
||||
$(PROTO_SRC)/${NAME}.pb.web.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICROWEB)
|
||||
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.web.go"
|
||||
@$(BUF) protoc \
|
||||
-I=$(PROTO_SRC)/ \
|
||||
-I=../third_party/ \
|
||||
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
|
||||
--plugin protoc-gen-microweb=$(PROTOC_GEN_MICROWEB) \
|
||||
--microweb_out=logtostderr=true:$(PROTO_SRC) \
|
||||
--microweb_opt=paths=source_relative \
|
||||
$(PROTO_SRC)/${NAME}.proto
|
||||
|
||||
.PHONY: $(PROTO_SRC)/${NAME}.swagger.json
|
||||
$(PROTO_SRC)/${NAME}.swagger.json: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_OPENAPIV2)
|
||||
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.swagger.json"
|
||||
@$(BUF) protoc \
|
||||
-I=$(PROTO_SRC)/ \
|
||||
-I=../third_party/ \
|
||||
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
|
||||
--plugin protoc-gen-openapiv2=$(PROTOC_GEN_OPENAPIV2) \
|
||||
--openapiv2_out=logtostderr=true:$(PROTO_SRC)/ \
|
||||
$(PROTO_SRC)/${NAME}.proto
|
||||
|
||||
.PHONY: ../docs/extensions/${NAME}/grpc.md
|
||||
../docs/extensions/${NAME}/grpc.md: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_DOC)
|
||||
@echo "$(NAME): generating ../docs/extensions/${NAME}/grpc.md"
|
||||
@$(BUF) protoc \
|
||||
-I=$(PROTO_SRC)/ \
|
||||
-I=../third_party/ \
|
||||
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
|
||||
--plugin protoc-gen-doc=$(PROTOC_GEN_DOC) \
|
||||
--doc_opt=./templates/GRPC.tmpl,grpc.md \
|
||||
--doc_out=../docs/extensions/${NAME} \
|
||||
$(PROTO_SRC)/${NAME}.proto
|
||||
@@ -0,0 +1,36 @@
|
||||
.PHONY: changelog
|
||||
changelog: $(CALENS) ## generate changelog
|
||||
$(CALENS) -i ../changelog -t ../changelog/CHANGELOG.tmpl >| ../CHANGELOG.md
|
||||
|
||||
.PHONY: release
|
||||
release: release-dirs release-linux release-windows release-darwin release-copy release-check
|
||||
|
||||
.PHONY: release-dirs
|
||||
release-dirs:
|
||||
mkdir -p $(DIST)/binaries $(DIST)/release
|
||||
|
||||
.PHONY: release-linux
|
||||
release-linux: $(GOX) release-dirs
|
||||
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
|
||||
|
||||
release-linux-docker: $(GOX) release-dirs
|
||||
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
|
||||
|
||||
.PHONY: release-windows
|
||||
release-windows: $(GOX) release-dirs
|
||||
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'windows' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
|
||||
|
||||
.PHONY: release-darwin
|
||||
release-darwin: $(GOX) release-dirs
|
||||
$(GOX) -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -os 'darwin' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
|
||||
|
||||
.PHONY: release-copy
|
||||
release-copy:
|
||||
$(foreach file,$(wildcard $(DIST)/binaries/$(EXECUTABLE)-*),cp $(file) $(DIST)/release/$(notdir $(file));)
|
||||
|
||||
.PHONY: release-check
|
||||
release-check:
|
||||
cd $(DIST)/release; $(foreach file,$(wildcard $(DIST)/release/$(EXECUTABLE)-*),sha256sum $(notdir $(file)) > $(notdir $(file)).sha256;)
|
||||
|
||||
.PHONY: release-finish
|
||||
release-finish: release-copy release-check
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "oCIS server",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "${workspaceFolder}/ocis/cmd/ocis",
|
||||
"args": ["server"],
|
||||
"env": {
|
||||
"OCIS_LOG_LEVEL": "debug",
|
||||
"OCIS_LOG_PRETTY": "true",
|
||||
"OCIS_LOG_COLOR": "true",
|
||||
"PROXY_ENABLE_BASIC_AUTH": "true"
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
+684
-7
@@ -2,7 +2,684 @@
|
||||
|
||||
The following sections list the changes for unreleased.
|
||||
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v1.0.0...master
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v1.6.0...master
|
||||
|
||||
## 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
|
||||
|
||||
* Bugfix - Fix STORAGE_METADATA_ROOT default value override: [#1956](https://github.com/owncloud/ocis/pull/1956)
|
||||
* Bugfix - Stop the supervisor if a service fails to start: [#1963](https://github.com/owncloud/ocis/pull/1963)
|
||||
* Change - Update ownCloud Web to v3.1.0: [#2045](https://github.com/owncloud/ocis/pull/2045)
|
||||
* Enhancement - Added dictionary files: [#2003](https://github.com/owncloud/ocis/pull/2003)
|
||||
* Enhancement - Introduce login form with h1 tag for screen readers only: [#1991](https://github.com/owncloud/ocis/pull/1991)
|
||||
* Enhancement - User Deprovisioning for the OCS API: [#1962](https://github.com/owncloud/ocis/pull/1962)
|
||||
* Enhancement - Support thumbnails for txt files: [#1988](https://github.com/owncloud/ocis/pull/1988)
|
||||
* Enhancement - Update reva to v1.7.1-0.20210430154404-69bd21f2cc97: [#2010](https://github.com/owncloud/ocis/pull/2010)
|
||||
* Enhancement - Update reva to v1.7.1-0.20210507160327-e2c3841d0dbc: [#2044](https://github.com/owncloud/ocis/pull/2044)
|
||||
* Enhancement - Use oc-select: [#1979](https://github.com/owncloud/ocis/pull/1979)
|
||||
* Enhancement - Set SameSite settings to Strict for Web: [#2019](https://github.com/owncloud/ocis/pull/2019)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Fix STORAGE_METADATA_ROOT default value override: [#1956](https://github.com/owncloud/ocis/pull/1956)
|
||||
|
||||
The way the value was being set ensured that it was NOT being overridden where it should have
|
||||
been. This patch ensures the correct loading order of values.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1956
|
||||
|
||||
* Bugfix - Stop the supervisor if a service fails to start: [#1963](https://github.com/owncloud/ocis/pull/1963)
|
||||
|
||||
Steps to make the supervisor fail:
|
||||
|
||||
`PROXY_HTTP_ADDR=0.0.0.0:9144 bin/ocis server`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1963
|
||||
|
||||
* Change - Update ownCloud Web to v3.1.0: [#2045](https://github.com/owncloud/ocis/pull/2045)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v3.1.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2045
|
||||
https://github.com/owncloud/web/releases/tag/v3.1.0
|
||||
|
||||
* Enhancement - Added dictionary files: [#2003](https://github.com/owncloud/ocis/pull/2003)
|
||||
|
||||
Added the dictionary.js file for package settings and accounts which contains strings that
|
||||
should be synced to transifex but not exist in the UI directly.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2003
|
||||
|
||||
* Enhancement - Introduce login form with h1 tag for screen readers only: [#1991](https://github.com/owncloud/ocis/pull/1991)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1991
|
||||
|
||||
* Enhancement - User Deprovisioning for the OCS API: [#1962](https://github.com/owncloud/ocis/pull/1962)
|
||||
|
||||
Use the CS3 API and Reva to deprovision users completely.
|
||||
|
||||
Two new environment variables introduced: ``` OCS_IDM_ADDRESS OCS_STORAGE_USERS_DRIVER
|
||||
```
|
||||
|
||||
`OCS_IDM_ADDRESS` is also an alias for `OCIS_URL`; allows the OCS service to mint jwt tokens
|
||||
for the authenticated user that will be read by the reva authentication middleware.
|
||||
|
||||
`OCS_STORAGE_USERS_DRIVER` determines how a user is deprovisioned. This kind of behavior is
|
||||
needed since every storage driver deals with deleting differently.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1962
|
||||
|
||||
* Enhancement - Support thumbnails for txt files: [#1988](https://github.com/owncloud/ocis/pull/1988)
|
||||
|
||||
Implemented support for thumbnails for txt files in the thumbnails service.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1988
|
||||
|
||||
* Enhancement - Update reva to v1.7.1-0.20210430154404-69bd21f2cc97: [#2010](https://github.com/owncloud/ocis/pull/2010)
|
||||
|
||||
* Fix recycle to different locations (https://github.com/cs3org/reva/pull/1541)
|
||||
* Fix user share as grantee in json backend (https://github.com/cs3org/reva/pull/1650)
|
||||
* Introduce named services (https://github.com/cs3org/reva/pull/1509)
|
||||
* Improve json marshalling of share protobuf messages (https://github.com/cs3org/reva/pull/1655)
|
||||
* Cache resources from share getter methods in OCS (https://github.com/cs3org/reva/pull/1643)
|
||||
* Fix public file shares (https://github.com/cs3org/reva/pull/1666)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2010
|
||||
|
||||
* Enhancement - Update reva to v1.7.1-0.20210507160327-e2c3841d0dbc: [#2044](https://github.com/owncloud/ocis/pull/2044)
|
||||
|
||||
* Add user profile picture to capabilities (https://github.com/cs3org/reva/pull/1694)
|
||||
* Mint scope-based access tokens for RBAC (https://github.com/cs3org/reva/pull/1669)
|
||||
* Add cache warmup strategy for OCS resource infos (https://github.com/cs3org/reva/pull/1664)
|
||||
* Filter shares based on type in OCS (https://github.com/cs3org/reva/pull/1683)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2044
|
||||
|
||||
* Enhancement - Use oc-select: [#1979](https://github.com/owncloud/ocis/pull/1979)
|
||||
|
||||
Replace oc-drop with oc select in settings
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1979
|
||||
|
||||
* Enhancement - Set SameSite settings to Strict for Web: [#2019](https://github.com/owncloud/ocis/pull/2019)
|
||||
|
||||
Changed SameSite settings to Strict for Web to prevent warnings in Firefox
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2019
|
||||
# Changelog for [1.5.0] (2021-04-21)
|
||||
|
||||
The following sections list the changes for 1.5.0.
|
||||
|
||||
[1.5.0]: https://github.com/owncloud/ocis/compare/v1.4.0...v1.5.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Fixes "unaligned 64-bit atomic operation" panic on 32-bit ARM: [#1888](https://github.com/owncloud/ocis/pull/1888)
|
||||
* Change - Make Protobuf package names unique: [#1875](https://github.com/owncloud/ocis/pull/1875)
|
||||
* Change - Update ownCloud Web to v3.0.0: [#1938](https://github.com/owncloud/ocis/pull/1938)
|
||||
* Enhancement - Change default path for thumbnails: [#1892](https://github.com/owncloud/ocis/pull/1892)
|
||||
* Enhancement - Parse config on supervised mode with run subcommand: [#1931](https://github.com/owncloud/ocis/pull/1931)
|
||||
* Enhancement - Update ODS in accounts & settings extension: [#1934](https://github.com/owncloud/ocis/pull/1934)
|
||||
* Enhancement - Add config for public share SQL driver: [#1916](https://github.com/owncloud/ocis/pull/1916)
|
||||
* Enhancement - Remove dead runtime code: [#1923](https://github.com/owncloud/ocis/pull/1923)
|
||||
* Enhancement - Add option to reading registry rules from json file: [#1917](https://github.com/owncloud/ocis/pull/1917)
|
||||
* Enhancement - Update reva to v1.6.1-0.20210414111318-a4b5148cbfb2: [#1872](https://github.com/owncloud/ocis/pull/1872)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Fixes "unaligned 64-bit atomic operation" panic on 32-bit ARM: [#1888](https://github.com/owncloud/ocis/pull/1888)
|
||||
|
||||
Sync/cache had uint64s that were not 64-bit aligned causing panics on 32-bit systems during
|
||||
atomic access
|
||||
|
||||
https://github.com/owncloud/ocis/issues/1887
|
||||
https://github.com/owncloud/ocis/pull/1888
|
||||
|
||||
* Change - Make Protobuf package names unique: [#1875](https://github.com/owncloud/ocis/pull/1875)
|
||||
|
||||
Introduce unique `package` and `go_package` names for our Protobuf definitions
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1875
|
||||
|
||||
* Change - Update ownCloud Web to v3.0.0: [#1938](https://github.com/owncloud/ocis/pull/1938)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v3.0.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1938
|
||||
https://github.com/owncloud/web/releases/tag/v3.0.0
|
||||
|
||||
* Enhancement - Change default path for thumbnails: [#1892](https://github.com/owncloud/ocis/pull/1892)
|
||||
|
||||
Changes the default path for thumbnails from `<os tmp dir>/ocis-thumbnails` to
|
||||
`/var/tmp/ocis/thumbnails`
|
||||
|
||||
https://github.com/owncloud/ocis/issues/1891
|
||||
https://github.com/owncloud/ocis/pull/1892
|
||||
|
||||
* Enhancement - Parse config on supervised mode with run subcommand: [#1931](https://github.com/owncloud/ocis/pull/1931)
|
||||
|
||||
Currenntly it is not possible to parse a single config file from an extension when running on
|
||||
supervised mode.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1931
|
||||
|
||||
* Enhancement - Update ODS in accounts & settings extension: [#1934](https://github.com/owncloud/ocis/pull/1934)
|
||||
|
||||
The accounts and settings extensions were updated to reflect the latest changes in the
|
||||
ownCloud design system. In addition, a couple of quick wins in terms of accessibility are
|
||||
included.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1934
|
||||
|
||||
* Enhancement - Add config for public share SQL driver: [#1916](https://github.com/owncloud/ocis/pull/1916)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1916
|
||||
|
||||
* Enhancement - Remove dead runtime code: [#1923](https://github.com/owncloud/ocis/pull/1923)
|
||||
|
||||
When moving from the old runtime to the new one there were lots of files left behind that are
|
||||
essentially dead code and should be removed. The original code lives here
|
||||
github.com/refs/pman/ if someone finds it interesting to read.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1923
|
||||
|
||||
* Enhancement - Add option to reading registry rules from json file: [#1917](https://github.com/owncloud/ocis/pull/1917)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1917
|
||||
|
||||
* Enhancement - Update reva to v1.6.1-0.20210414111318-a4b5148cbfb2: [#1872](https://github.com/owncloud/ocis/pull/1872)
|
||||
|
||||
* enforce quota (https://github.com/cs3org/reva/pull/1557)
|
||||
* Make additional info attribute configureable (https://github.com/cs3org/reva/pull/1588)
|
||||
* check ENOTDIR for readlink (https://github.com/cs3org/reva/pull/1597)
|
||||
* Add wrappers for EOS and EOS Home storage drivers (https://github.com/cs3org/reva/pull/1624)
|
||||
* eos: fixes for enabling file sharing (https://github.com/cs3org/reva/pull/1619)
|
||||
* implement checksums in the owncloud storage driver (https://github.com/cs3org/reva/pull/1629)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1872
|
||||
# Changelog for [1.4.0] (2021-03-30)
|
||||
|
||||
The following sections list the changes for 1.4.0.
|
||||
|
||||
[1.4.0]: https://github.com/owncloud/ocis/compare/v1.3.0...v1.4.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Fix thumbnail generation for jpegs: [#1785](https://github.com/owncloud/ocis/pull/1785)
|
||||
* Change - Update ownCloud Web to v2.1.0: [#1870](https://github.com/owncloud/ocis/pull/1870)
|
||||
* Enhancement - Add focus to input elements on login page: [#1792](https://github.com/owncloud/ocis/pull/1792)
|
||||
* Enhancement - Improve accessibility to input elements on login page: [#1794](https://github.com/owncloud/ocis/pull/1794)
|
||||
* Enhancement - Add new build targets: [#1824](https://github.com/owncloud/ocis/pull/1824)
|
||||
* Enhancement - Clarify expected failures: [#1790](https://github.com/owncloud/ocis/pull/1790)
|
||||
* Enhancement - Replace special character in login page title with a regular minus: [#1813](https://github.com/owncloud/ocis/pull/1813)
|
||||
* Enhancement - File Logging: [#1816](https://github.com/owncloud/ocis/pull/1816)
|
||||
* Enhancement - Runtime Hostname and Port are now configurable: [#1822](https://github.com/owncloud/ocis/pull/1822)
|
||||
* Enhancement - Generate thumbnails for .gif files: [#1791](https://github.com/owncloud/ocis/pull/1791)
|
||||
* Enhancement - Tracing Refactor: [#1819](https://github.com/owncloud/ocis/pull/1819)
|
||||
* Enhancement - Update reva to v1.6.1-0.20210326165326-e8a00d9b2368: [#1683](https://github.com/owncloud/ocis/pull/1683)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Fix thumbnail generation for jpegs: [#1785](https://github.com/owncloud/ocis/pull/1785)
|
||||
|
||||
Images with the extension `.jpeg` were not properly supported.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/1490
|
||||
https://github.com/owncloud/ocis/pull/1785
|
||||
|
||||
* Change - Update ownCloud Web to v2.1.0: [#1870](https://github.com/owncloud/ocis/pull/1870)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v2.1.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1870
|
||||
https://github.com/owncloud/web/releases/tag/v2.1.0
|
||||
|
||||
* Enhancement - Add focus to input elements on login page: [#1792](https://github.com/owncloud/ocis/pull/1792)
|
||||
|
||||
https://github.com/owncloud/web/issues/4322
|
||||
https://github.com/owncloud/ocis/pull/1792
|
||||
|
||||
* Enhancement - Improve accessibility to input elements on login page: [#1794](https://github.com/owncloud/ocis/pull/1794)
|
||||
|
||||
https://github.com/owncloud/web/issues/4319
|
||||
https://github.com/owncloud/ocis/pull/1794
|
||||
https://github.com/owncloud/ocis/pull/1811
|
||||
|
||||
* Enhancement - Add new build targets: [#1824](https://github.com/owncloud/ocis/pull/1824)
|
||||
|
||||
Make build target `build` used to build a binary twice, the second occurrence having symbols
|
||||
for debugging. We split this step in two and added `build-all` and `build-debug` targets.
|
||||
|
||||
- `build-all` now behaves as the previous `build` target, it will generate 2 binaries, one for
|
||||
debug. - `build-debug` will build a single binary for debugging.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1824
|
||||
|
||||
* Enhancement - Clarify expected failures: [#1790](https://github.com/owncloud/ocis/pull/1790)
|
||||
|
||||
Some features, while covered by the ownCloud 10 acceptance tests, will not be implmented for
|
||||
now: - blacklisted / ignored files, because ocis does not need to blacklist `.htaccess` files -
|
||||
`OC-LazyOps` support was [removed from the
|
||||
clients](https://github.com/owncloud/client/pull/8398). We are thinking about [a state
|
||||
machine for uploads to properly solve that scenario and also list the state of files in progress
|
||||
in the web ui](https://github.com/owncloud/ocis/issues/214). The expected failures
|
||||
files now have a dedicated _Won't fix_ section for these items.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/214
|
||||
https://github.com/owncloud/ocis/pull/1790
|
||||
https://github.com/owncloud/client/pull/8398
|
||||
|
||||
* Enhancement - Replace special character in login page title with a regular minus: [#1813](https://github.com/owncloud/ocis/pull/1813)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1813
|
||||
|
||||
* Enhancement - File Logging: [#1816](https://github.com/owncloud/ocis/pull/1816)
|
||||
|
||||
When running supervised, support for configuring all logs to a single log file:
|
||||
`OCIS_LOG_FILE=/Users/foo/bar/ocis.log MICRO_REGISTRY=etcd bin/ocis server`
|
||||
|
||||
Supports directing log from single extensions to a log file:
|
||||
`PROXY_LOG_FILE=/Users/foo/bar/proxy.log MICRO_REGISTRY=etcd bin/ocis proxy`
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1816
|
||||
|
||||
* Enhancement - Runtime Hostname and Port are now configurable: [#1822](https://github.com/owncloud/ocis/pull/1822)
|
||||
|
||||
Without any configuration the ocis runtime will start on `localhost:9250` unless specified
|
||||
otherwise. Usage:
|
||||
|
||||
- `OCIS_RUNTIME_PORT=6061 bin/ocis server` - overrides the oCIS runtime and starts on port
|
||||
6061 - `OCIS_RUNTIME_PORT=6061 bin/ocis list` - lists running extensions for the runtime on
|
||||
`localhost:6061`
|
||||
|
||||
All subcommands are updated and expected to work with the following environment variables:
|
||||
|
||||
``` OCIS_RUNTIME_HOST OCIS_RUNTIME_PORT ```
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1822
|
||||
|
||||
* Enhancement - Generate thumbnails for .gif files: [#1791](https://github.com/owncloud/ocis/pull/1791)
|
||||
|
||||
Added support for gifs to the thumbnails service.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1791
|
||||
|
||||
* Enhancement - Tracing Refactor: [#1819](https://github.com/owncloud/ocis/pull/1819)
|
||||
|
||||
Centralize tracing handling per extension.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1819
|
||||
|
||||
* Enhancement - Update reva to v1.6.1-0.20210326165326-e8a00d9b2368: [#1683](https://github.com/owncloud/ocis/pull/1683)
|
||||
|
||||
* quota querying and tree accounting [cs3org/reva#1405](https://github.com/cs3org/reva/pull/1405)
|
||||
* Fix webdav file versions endpoint bugs [cs3org/reva#1526](https://github.com/cs3org/reva/pull/1526)
|
||||
* Fix etag changing only once a second [cs3org/reva#1576](https://github.com/cs3org/reva/pull/1576)
|
||||
* Trashbin API parity [cs3org/reva#1552](https://github.com/cs3org/reva/pull/1552)
|
||||
* Signature authentication for public links [cs3org/reva#1590](https://github.com/cs3org/reva/pull/1590)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1683
|
||||
https://github.com/cs3org/reva/pull/1405
|
||||
https://github.com/owncloud/ocis/pull/1861
|
||||
# Changelog for [1.3.0] (2021-03-09)
|
||||
|
||||
The following sections list the changes for 1.3.0.
|
||||
|
||||
[1.3.0]: https://github.com/owncloud/ocis/compare/v1.2.0...v1.3.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Purposely delay accounts service startup: [#1734](https://github.com/owncloud/ocis/pull/1734)
|
||||
* Bugfix - Add missing gateway config: [#1716](https://github.com/owncloud/ocis/pull/1716)
|
||||
* Bugfix - Fix accounts initialization: [#1696](https://github.com/owncloud/ocis/pull/1696)
|
||||
* Bugfix - Fix the ttl of the authentication middleware cache: [#1699](https://github.com/owncloud/ocis/pull/1699)
|
||||
* Change - Update ownCloud Web to v2.0.1: [#1683](https://github.com/owncloud/ocis/pull/1683)
|
||||
* Change - Update ownCloud Web to v2.0.2: [#1776](https://github.com/owncloud/ocis/pull/1776)
|
||||
* Enhancement - Remove the JWT from the log: [#1758](https://github.com/owncloud/ocis/pull/1758)
|
||||
* Enhancement - Update go-micro to v3.5.1-0.20210217182006-0f0ace1a44a9: [#1670](https://github.com/owncloud/ocis/pull/1670)
|
||||
* Enhancement - Update reva to v1.6.1-0.20210223065028-53f39499762e: [#1683](https://github.com/owncloud/ocis/pull/1683)
|
||||
* Enhancement - Add initial nats and kubernetes registry support: [#1697](https://github.com/owncloud/ocis/pull/1697)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Purposely delay accounts service startup: [#1734](https://github.com/owncloud/ocis/pull/1734)
|
||||
|
||||
As it turns out the race condition between `accounts <-> storage-metadata` still remains.
|
||||
This PR is a hotfix, and it should be followed up with a proper fix. Either:
|
||||
|
||||
- block the accounts' initialization until the storage metadata is ready (using the registry)
|
||||
or - allow the accounts service to initialize and use a message broker to signal the accounts the
|
||||
metadata storage is ready to receive requests.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1734
|
||||
|
||||
* Bugfix - Add missing gateway config: [#1716](https://github.com/owncloud/ocis/pull/1716)
|
||||
|
||||
The auth provider `ldap` and `oidc` drivers now need to be able talk to the reva gateway. We added
|
||||
the `gatewayscv` to the config that is passed to reva.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1716
|
||||
|
||||
* Bugfix - Fix accounts initialization: [#1696](https://github.com/owncloud/ocis/pull/1696)
|
||||
|
||||
Originally the accounts service relies on both the `settings` and `storage-metadata` to be up
|
||||
and running at the moment it starts. This is an antipattern as it will cause the entire service to
|
||||
panic if the dependants are not present.
|
||||
|
||||
We inverted this dependency and moved the default initialization data (i.e: creating roles,
|
||||
permissions, settings bundles) and instead of notifying the settings service that the
|
||||
account has to provide with such options, the settings is instead initialized with the options
|
||||
the accounts rely on. Essentially saving bandwith as there is no longer a gRPC call to the
|
||||
settings service.
|
||||
|
||||
For the `storage-metadata` a retry mechanism was added that retries by default 20 times to
|
||||
fetch the `com.owncloud.storage.metadata` from the service registry every `500`
|
||||
miliseconds. If this retry expires the accounts panics, as its dependency on the
|
||||
`storage-metadata` service cannot be resolved.
|
||||
|
||||
We also introduced a client wrapper that acts as middleware between a client and a server. For
|
||||
more information on how it works further read [here](https://github.com/sony/gobreaker)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1696
|
||||
|
||||
* Bugfix - Fix the ttl of the authentication middleware cache: [#1699](https://github.com/owncloud/ocis/pull/1699)
|
||||
|
||||
The authentication cache ttl was multiplied with `time.Second` multiple times. This
|
||||
resulted in a ttl that was not intended.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1699
|
||||
|
||||
* Change - Update ownCloud Web to v2.0.1: [#1683](https://github.com/owncloud/ocis/pull/1683)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v2.0.1. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1683
|
||||
https://github.com/owncloud/web/releases/tag/v2.0.1
|
||||
|
||||
* Change - Update ownCloud Web to v2.0.2: [#1776](https://github.com/owncloud/ocis/pull/1776)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v2.0.2. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1776
|
||||
https://github.com/owncloud/web/releases/tag/v2.0.2
|
||||
|
||||
* Enhancement - Remove the JWT from the log: [#1758](https://github.com/owncloud/ocis/pull/1758)
|
||||
|
||||
We were logging the JWT in some places. Secrets should not be exposed in logs so it got removed.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1758
|
||||
|
||||
* Enhancement - Update go-micro to v3.5.1-0.20210217182006-0f0ace1a44a9: [#1670](https://github.com/owncloud/ocis/pull/1670)
|
||||
|
||||
- We updated from go micro v2 (v2.9.1) go-micro v3 (v3.5.1 edge). - oCIS runtime is now aware of
|
||||
`MICRO_LOG_LEVEL` and is set to `error` by default. This decision was made because ownCloud,
|
||||
as framework builders, want to log everything oCIS related and hide everything unrelated by
|
||||
default. It can be re-enabled by setting it to a log level other than `error`. i.e:
|
||||
`MICRO_LOG_LEVEL=info`. - Updated `protoc-gen-micro` to the [latest
|
||||
version](https://github.com/asim/go-micro/tree/master/cmd/protoc-gen-micro). -
|
||||
We're using Prometheus wrappers from go-micro.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1670
|
||||
https://github.com/asim/go-micro/pull/2126
|
||||
|
||||
* Enhancement - Update reva to v1.6.1-0.20210223065028-53f39499762e: [#1683](https://github.com/owncloud/ocis/pull/1683)
|
||||
|
||||
* quota querying and tree accounting [cs3org/reva#1405](https://github.com/cs3org/reva/pull/1405)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1683
|
||||
https://github.com/cs3org/reva/pull/1405
|
||||
|
||||
* Enhancement - Add initial nats and kubernetes registry support: [#1697](https://github.com/owncloud/ocis/pull/1697)
|
||||
|
||||
We added initial support to use nats and kubernetes as a service registry using
|
||||
`MICRO_REGISTRY=nats` and `MICRO_REGISTRY=kubernetes` respectively. Multiple nodes can
|
||||
be given with `MICRO_REGISTRY_ADDRESS=1.2.3.4,5.6.7.8,9.10.11.12`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1697
|
||||
# Changelog for [1.2.0] (2021-02-17)
|
||||
|
||||
The following sections list the changes for 1.2.0.
|
||||
|
||||
[1.2.0]: https://github.com/owncloud/ocis/compare/v1.1.0...v1.2.0
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Check if roles are present in user object before looking those up: [#1388](https://github.com/owncloud/ocis/pull/1388)
|
||||
* Bugfix - Fix etcd address configuration: [#1546](https://github.com/owncloud/ocis/pull/1546)
|
||||
* Bugfix - Remove unimplemented config file option for oCIS root command: [#1636](https://github.com/owncloud/ocis/pull/1636)
|
||||
* Bugfix - Fix thumbnail generation when using different idp: [#1624](https://github.com/owncloud/ocis/issues/1624)
|
||||
* Change - Initial release of graph and graph explorer: [#1594](https://github.com/owncloud/ocis/pull/1594)
|
||||
* Change - Move runtime code on refs/pman over to owncloud/ocis/ocis: [#1483](https://github.com/owncloud/ocis/pull/1483)
|
||||
* Change - Update ownCloud Web to v2.0.0: [#1661](https://github.com/owncloud/ocis/pull/1661)
|
||||
* Enhancement - Make use of new design-system oc-table: [#1597](https://github.com/owncloud/ocis/pull/1597)
|
||||
* Enhancement - Use a default protocol parameter instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
|
||||
* Enhancement - Functionality to map home directory to different storage providers: [#1186](https://github.com/owncloud/ocis/pull/1186)
|
||||
* Enhancement - Introduce ADR: [#1042](https://github.com/owncloud/ocis/pull/1042)
|
||||
* Enhancement - Switch to opencontainers annotation scheme: [#1381](https://github.com/owncloud/ocis/pull/1381)
|
||||
* Enhancement - Migrate ocis-graph-explorer to ocis monorepo: [#1596](https://github.com/owncloud/ocis/pull/1596)
|
||||
* Enhancement - Migrate ocis-graph to ocis monorepo: [#1594](https://github.com/owncloud/ocis/pull/1594)
|
||||
* Enhancement - Enable group sharing and add config for sharing SQL driver: [#1626](https://github.com/owncloud/ocis/pull/1626)
|
||||
* Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: [#1482](https://github.com/owncloud/ocis/pull/1482)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Check if roles are present in user object before looking those up: [#1388](https://github.com/owncloud/ocis/pull/1388)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1388
|
||||
|
||||
* Bugfix - Fix etcd address configuration: [#1546](https://github.com/owncloud/ocis/pull/1546)
|
||||
|
||||
The etcd server address in `MICRO_REGISTRY_ADDRESS` was not picked up when etcd was set as
|
||||
service discovery registry `MICRO_REGISTRY=etcd`. Therefore etcd was only working if
|
||||
available on localhost / 127.0.0.1.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1546
|
||||
|
||||
* Bugfix - Remove unimplemented config file option for oCIS root command: [#1636](https://github.com/owncloud/ocis/pull/1636)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1636
|
||||
|
||||
* Bugfix - Fix thumbnail generation when using different idp: [#1624](https://github.com/owncloud/ocis/issues/1624)
|
||||
|
||||
The thumbnail service was relying on a konnectd specific field in the access token. This logic
|
||||
was now replaced by a service parameter for the username.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/1624
|
||||
https://github.com/owncloud/ocis/pull/1628
|
||||
|
||||
* Change - Initial release of graph and graph explorer: [#1594](https://github.com/owncloud/ocis/pull/1594)
|
||||
|
||||
Tags: graph, graph-explorer
|
||||
|
||||
We brought initial basic Graph and Graph-Explorer support for the ownCloud Infinite Scale
|
||||
project.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1594
|
||||
https://github.com/owncloud/ocis-graph-explorer/pull/3
|
||||
|
||||
* Change - Move runtime code on refs/pman over to owncloud/ocis/ocis: [#1483](https://github.com/owncloud/ocis/pull/1483)
|
||||
|
||||
Tags: ocis, runtime
|
||||
|
||||
Currently, the runtime is under the private account of an oCIS developer. For future-proofing
|
||||
we don't want oCIS mission critical components to depend on external repositories, so we're
|
||||
including refs/pman module as an oCIS package instead.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1483
|
||||
|
||||
* Change - Update ownCloud Web to v2.0.0: [#1661](https://github.com/owncloud/ocis/pull/1661)
|
||||
|
||||
Tags: web
|
||||
|
||||
We updated ownCloud Web to v2.0.0. Please refer to the changelog (linked) for details on the web
|
||||
release.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1661
|
||||
https://github.com/owncloud/web/releases/tag/v2.0.0
|
||||
|
||||
* Enhancement - Make use of new design-system oc-table: [#1597](https://github.com/owncloud/ocis/pull/1597)
|
||||
|
||||
Tags: ui, accounts
|
||||
|
||||
The design-system table component has changed the way it's used. We updated accounts-ui to use
|
||||
the new 'oc-table-simple' component.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1597
|
||||
|
||||
* Enhancement - Use a default protocol parameter instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
|
||||
|
||||
https://github.com/cs3org/reva/pull/1331
|
||||
https://github.com/owncloud/ocis/pull/1374
|
||||
|
||||
* Enhancement - Functionality to map home directory to different storage providers: [#1186](https://github.com/owncloud/ocis/pull/1186)
|
||||
|
||||
We added a parameter in reva that allows us to redirect /home requests to different storage
|
||||
providers based on a mapping derived from the user attributes, which was previously not
|
||||
possible since we hardcode the /home path for all users. For example, having its value as
|
||||
`/home/{{substr 0 1 .Username}}` can be used to redirect home requests for different users to
|
||||
different storage providers.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1186
|
||||
https://github.com/cs3org/reva/pull/1142
|
||||
|
||||
* Enhancement - Introduce ADR: [#1042](https://github.com/owncloud/ocis/pull/1042)
|
||||
|
||||
We will keep track of [Architectual Decision Records using
|
||||
Markdown](https://adr.github.io/madr/) in `/docs/adr`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1042
|
||||
|
||||
* Enhancement - Switch to opencontainers annotation scheme: [#1381](https://github.com/owncloud/ocis/pull/1381)
|
||||
|
||||
Switch docker image annotation scheme to org.opencontainers standard because
|
||||
org.label-schema is depreciated.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1381
|
||||
|
||||
* Enhancement - Migrate ocis-graph-explorer to ocis monorepo: [#1596](https://github.com/owncloud/ocis/pull/1596)
|
||||
|
||||
Tags: ocis, ocis-graph-explorer
|
||||
|
||||
Ocis-graph-explorer was not migrated during the monorepo conversion.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1596
|
||||
|
||||
* Enhancement - Migrate ocis-graph to ocis monorepo: [#1594](https://github.com/owncloud/ocis/pull/1594)
|
||||
|
||||
Tags: ocis, ocis-graph
|
||||
|
||||
Ocis-graph was not migrated during the monorepo conversion.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1594
|
||||
|
||||
* Enhancement - Enable group sharing and add config for sharing SQL driver: [#1626](https://github.com/owncloud/ocis/pull/1626)
|
||||
|
||||
This PR adds config to support sharing with groups. It also introduces a breaking change for the
|
||||
CS3APIs definitions since grantees can now refer to both users as well as groups. Since we store
|
||||
the grantee information in a json file, `/var/tmp/ocis/storage/shares.json`, its previous
|
||||
version needs to be removed as we won't be able to unmarshal data corresponding to the previous
|
||||
definitions.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1626
|
||||
https://github.com/cs3org/reva/pull/1453
|
||||
|
||||
* Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: [#1482](https://github.com/owncloud/ocis/pull/1482)
|
||||
|
||||
* initial checksum support for ocis [cs3org/reva#1400](https://github.com/cs3org/reva/pull/1400)
|
||||
* Use updated etag of home directory even if it is cached [cs3org/reva#1416](https://github.com/cs3org/reva/pull/#1416)
|
||||
* Indicate in EOS containers that TUS is not supported [cs3org/reva#1415](https://github.com/cs3org/reva/pull/#1415)
|
||||
* Get status code from recycle response [cs3org/reva#1408](https://github.com/cs3org/reva/pull/#1408)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1482
|
||||
https://github.com/cs3org/reva/pull/1400
|
||||
https://github.com/cs3org/reva/pull/1416
|
||||
https://github.com/cs3org/reva/pull/1415
|
||||
https://github.com/cs3org/reva/pull/1408
|
||||
# Changelog for [1.1.0] (2021-01-22)
|
||||
|
||||
The following sections list the changes for 1.1.0.
|
||||
|
||||
[1.1.0]: https://github.com/owncloud/ocis/compare/v1.0.0...v1.1.0
|
||||
|
||||
## Summary
|
||||
|
||||
@@ -60,7 +737,7 @@ The following sections list the changes for unreleased.
|
||||
|
||||
Tags: performance, testing, k6
|
||||
|
||||
The ownCloud performance tests can not only be used to test ocis. This is why we have decided to
|
||||
The ownCloud performance tests can not only be used to test oCIS. This is why we have decided to
|
||||
move the k6 tests to https://github.com/owncloud/cdperf
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1358
|
||||
@@ -105,10 +782,10 @@ The following sections list the changes for unreleased.
|
||||
default `https://localhost:9200` and remote deployment with `OCIS_URL` which is evaluated
|
||||
as a fallback if `KONNECTD_ISS` is not set.
|
||||
|
||||
An OCIS server can now be started on a remote machine as easy as
|
||||
An oCIS server can now be started on a remote machine as easy as
|
||||
`OCIS_URL=https://cloud.ocis.test PROXY_HTTP_ADDR=0.0.0.0:443 ocis server`.
|
||||
|
||||
Note that the `OCIS_DOMAIN` environment variable is not used by ocis, but by the docker
|
||||
Note that the `OCIS_DOMAIN` environment variable is not used by oCIS, but by the docker
|
||||
containers.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1148
|
||||
@@ -198,7 +875,7 @@ The following sections list the changes for unreleased.
|
||||
|
||||
* Enhancement #1393: Allow setting favorites, mtime and a temporary etag
|
||||
|
||||
We now let the ocis driver persist favorites, set temporary etags and the mtime as arbitrary
|
||||
We now let the oCIS driver persist favorites, set temporary etags and the mtime as arbitrary
|
||||
metadata.
|
||||
|
||||
Https://github.com/owncloud/ocis/issues/567
|
||||
@@ -2206,7 +2883,7 @@ The following sections list the changes for 1.0.0.
|
||||
Furthermore, we not only take care of such a thing at the Proxy but also Reva will take care of it.
|
||||
In addition, we now are able to lock-in a set of User-Agent to specific challenges.
|
||||
|
||||
Admins can use this feature by configuring OCIS + Reva following this approach:
|
||||
Admins can use this feature by configuring oCIS + Reva following this approach:
|
||||
|
||||
``` STORAGE_FRONTEND_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT="mirall:basic,
|
||||
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:83.0) Gecko/20100101
|
||||
@@ -2220,6 +2897,6 @@ The following sections list the changes for 1.0.0.
|
||||
`STORAGE_FRONTEND_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT` as well as
|
||||
`PROXY_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT`, The reason they have the same value
|
||||
is not to rely on the os env on a distributed environment, so in redundancy we trust. They both
|
||||
configure the same on the backend storage and OCIS Proxy.
|
||||
configure the same on the backend storage and oCIS Proxy.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1009
|
||||
+2
-9
@@ -1,19 +1,12 @@
|
||||
FROM webhippie/golang:1.15 as build
|
||||
FROM owncloudci/golang:1.16 as build
|
||||
|
||||
COPY ./ /ocis/
|
||||
ENV CGO_ENABLED=0
|
||||
ENV GOOS=linux
|
||||
|
||||
RUN apk update && \
|
||||
apk upgrade --ignore musl-dev && \
|
||||
apk add make gcc bash && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
WORKDIR /ocis/ocis
|
||||
RUN make clean generate build
|
||||
|
||||
|
||||
FROM alpine:3
|
||||
FROM alpine:3.13
|
||||
|
||||
RUN apk update && \
|
||||
apk upgrade && \
|
||||
|
||||
@@ -12,10 +12,15 @@ WHITE := $(shell tput -Txterm setaf 7)
|
||||
|
||||
RESET := $(shell tput -Txterm sgr0)
|
||||
|
||||
L10N_MODULES := $(shell find . -path '*.tx*' -name 'config' | sed 's|/[^/]*$$||' | sed 's|/[^/]*$$||' | sed 's|/[^/]*$$||')
|
||||
|
||||
# if you add a module here please also add it to the .drone.star file
|
||||
OCIS_MODULES = \
|
||||
accounts \
|
||||
glauth \
|
||||
konnectd \
|
||||
graph \
|
||||
graph-explorer \
|
||||
idp \
|
||||
ocis \
|
||||
ocis-pkg \
|
||||
ocs \
|
||||
@@ -28,12 +33,16 @@ OCIS_MODULES = \
|
||||
web \
|
||||
webdav
|
||||
|
||||
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
|
||||
include .bingo/Variables.mk
|
||||
endif
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@echo "Please use 'make <target>' where <target> is one of the following:"
|
||||
@echo
|
||||
@echo -e "${GREEN}Testing with test suite natively installed:${RESET}\n"
|
||||
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/testing/#testing-with-test-suite-natively-installed${RESET}\n"
|
||||
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/testing/#testing-with-test-suite-natively-installed${RESET}\n"
|
||||
@echo -e "\tmake test-acceptance-api\t${BLUE}run API acceptance tests${RESET}"
|
||||
@echo -e "\tmake clean-tests\t\t${BLUE}delete API tests framework dependencies${RESET}"
|
||||
@echo
|
||||
@@ -42,17 +51,17 @@ help:
|
||||
@echo -e "${RED}You also should have a look at other available Makefiles:${RESET}"
|
||||
@echo
|
||||
@echo -e "${GREEN}oCIS:${RESET}\n"
|
||||
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/building/${RESET}\n"
|
||||
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/build/${RESET}\n"
|
||||
@echo -e "\tsee ./ocis/Makefile"
|
||||
@echo -e "\tor run ${YELLOW}make -C ocis help${RESET}"
|
||||
@echo
|
||||
@echo -e "${GREEN}Documentation:${RESET}\n"
|
||||
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/building-docs/${RESET}\n"
|
||||
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/build-docs/${RESET}\n"
|
||||
@echo -e "\tsee ./docs/Makefile"
|
||||
@echo -e "\tor run ${YELLOW}make -C docs help${RESET}"
|
||||
@echo
|
||||
@echo -e "${GREEN}Testing with test suite in docker:${RESET}\n"
|
||||
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/testing/#testing-with-test-suite-in-docker${RESET}\n"
|
||||
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/testing/#testing-with-test-suite-in-docker${RESET}\n"
|
||||
@echo -e "\tsee ./tests/acceptance/docker/Makefile"
|
||||
@echo -e "\tor run ${YELLOW}make -C tests/acceptance/docker help${RESET}"
|
||||
@echo
|
||||
@@ -79,6 +88,42 @@ vendor-bin/behat/composer.lock: vendor-bin/behat/composer.json
|
||||
composer.lock: composer.json
|
||||
@echo composer.lock is not up to date.
|
||||
|
||||
.PHONY: generate
|
||||
generate:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
$(MAKE) --no-print-directory -C $$mod generate; \
|
||||
done
|
||||
|
||||
.PHONY: vet
|
||||
vet:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
$(MAKE) --no-print-directory -C $$mod vet; \
|
||||
done
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
$(MAKE) --no-print-directory -C $$mod clean; \
|
||||
done
|
||||
|
||||
.PHONY: docs-generate
|
||||
docs-generate:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
$(MAKE) --no-print-directory -C $$mod docs-generate; \
|
||||
done
|
||||
|
||||
.PHONY: ci-go-generate
|
||||
ci-go-generate:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
$(MAKE) --no-print-directory -C $$mod ci-go-generate; \
|
||||
done
|
||||
|
||||
.PHONY: ci-node-generate
|
||||
ci-node-generate:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
$(MAKE) --no-print-directory -C $$mod ci-node-generate; \
|
||||
done
|
||||
|
||||
.PHONY: go-mod-tidy
|
||||
go-mod-tidy:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
@@ -97,3 +142,56 @@ go-coverage:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
echo -n "% coverage $$mod: "; $(MAKE) --no-print-directory -C $$mod go-coverage; \
|
||||
done
|
||||
|
||||
.PHONY: protobuf
|
||||
protobuf:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
echo -n "% protobuf $$mod: "; $(MAKE) --no-print-directory -C $$mod protobuf; \
|
||||
done
|
||||
|
||||
.PHONY: bingo-update
|
||||
bingo-update: $(BINGO)
|
||||
$(BINGO) get -u
|
||||
|
||||
CHANGELOG_VERSION =
|
||||
|
||||
.PHONY: changelog
|
||||
changelog: $(CALENS)
|
||||
ifndef CHANGELOG_VERSION
|
||||
$(error CHANGELOG_VERSION is undefined)
|
||||
endif
|
||||
$(CALENS) --version $(CHANGELOG_VERSION) -o ocis/dist/CHANGELOG.md
|
||||
|
||||
.PHONY: l10n-push
|
||||
l10n-push:
|
||||
@for extension in $(L10N_MODULES); do \
|
||||
make -C $$extension l10n-push; \
|
||||
done
|
||||
|
||||
.PHONY: l10n-pull
|
||||
l10n-pull:
|
||||
@for extension in $(L10N_MODULES); do \
|
||||
make -C $$extension l10n-pull; \
|
||||
done
|
||||
|
||||
.PHONY: l10n-clean
|
||||
l10n-clean:
|
||||
@for extension in $(L10N_MODULES); do \
|
||||
make -C $$extension l10n-clean; \
|
||||
done
|
||||
|
||||
.PHONY: l10n-read
|
||||
l10n-read:
|
||||
@for extension in $(L10N_MODULES); do \
|
||||
make -C $$extension l10n-read; \
|
||||
done
|
||||
|
||||
.PHONY: l10n-write
|
||||
l10n-write:
|
||||
@for extension in $(L10N_MODULES); do \
|
||||
make -C $$extension l10n-write; \
|
||||
done
|
||||
|
||||
.PHONY: ci-format
|
||||
ci-format: $(BUILDIFIER)
|
||||
$(BUILDIFIER) --mode=fix .drone.star
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
## Run ownCloud Infinite Scale
|
||||
|
||||
Please see [Getting Started](https://owncloud.github.io/ocis/getting-started/)
|
||||
Please see [Getting Started](https://owncloud.dev/ocis/getting-started/)
|
||||
|
||||
## Development
|
||||
|
||||
Please see [Development - Getting Started](https://owncloud.github.io/ocis/development/getting-started/)
|
||||
Please see [Development - Getting Started](https://owncloud.dev/ocis/development/getting-started/)
|
||||
|
||||
## Security
|
||||
|
||||
|
||||
+44
-182
@@ -1,199 +1,61 @@
|
||||
SHELL := bash
|
||||
NAME := accounts
|
||||
IMPORT := github.com/owncloud/ocis/$(NAME)
|
||||
BIN := bin
|
||||
DIST := dist
|
||||
HUGO := hugo
|
||||
PROTO_VERSION := v0
|
||||
PROTO_SRC := pkg/proto/$(PROTO_VERSION)
|
||||
|
||||
ifeq ($(OS), Windows_NT)
|
||||
EXECUTABLE := $(NAME).exe
|
||||
UNAME := Windows
|
||||
else
|
||||
EXECUTABLE := $(NAME)
|
||||
UNAME := $(shell uname -s)
|
||||
endif
|
||||
|
||||
ifeq ($(UNAME), Darwin)
|
||||
GOBUILD ?= go build -i
|
||||
else
|
||||
GOBUILD ?= go build
|
||||
endif
|
||||
|
||||
PACKAGES ?= $(shell go list ./...)
|
||||
SOURCES ?= $(shell find . -name "*.go" -type f -not -path "./node_modules/*")
|
||||
GENERATE ?= $(IMPORT)/pkg/assets
|
||||
|
||||
FEATURE_PATH ?= "ui/tests/acceptance/features"
|
||||
|
||||
TAGS ?=
|
||||
|
||||
ifndef OUTPUT
|
||||
ifneq ($(DRONE_TAG),)
|
||||
OUTPUT ?= $(subst v,,$(DRONE_TAG))
|
||||
else
|
||||
OUTPUT ?= testing
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef VERSION
|
||||
ifneq ($(DRONE_TAG),)
|
||||
VERSION ?= $(subst v,,$(DRONE_TAG))
|
||||
else
|
||||
VERSION ?= $(shell git rev-parse --short HEAD)
|
||||
endif
|
||||
endif
|
||||
|
||||
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)"
|
||||
GCFLAGS += all=-N -l
|
||||
|
||||
.PHONY: all
|
||||
all: build
|
||||
|
||||
.PHONY: sync
|
||||
sync:
|
||||
go mod download
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
go clean -i ./...
|
||||
rm -rf $(BIN) $(DIST) $(HUGO)
|
||||
|
||||
.PHONY: go-mod-tidy
|
||||
go-mod-tidy:
|
||||
@go mod tidy
|
||||
|
||||
.PHONY: fmt
|
||||
fmt:
|
||||
gofmt -s -w $(SOURCES)
|
||||
|
||||
.PHONY: vet
|
||||
vet:
|
||||
go vet $(PACKAGES)
|
||||
|
||||
.PHONY: staticcheck
|
||||
staticcheck:
|
||||
go run honnef.co/go/tools/cmd/staticcheck -tags '$(TAGS)' $(PACKAGES)
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
for PKG in $(PACKAGES); do go run golang.org/x/lint/golint -set_exit_status $$PKG || exit 1; done;
|
||||
|
||||
.PHONY: generate
|
||||
generate: protobuf
|
||||
go generate $(GENERATE)
|
||||
|
||||
.PHONY: changelog
|
||||
changelog:
|
||||
go run github.com/restic/calens >| CHANGELOG.md
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go run github.com/haya14busa/goverage -v -coverprofile coverage.out $(PACKAGES)
|
||||
|
||||
.PHONY: go-coverage
|
||||
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]+"
|
||||
|
||||
.PHONY: install
|
||||
install: $(SOURCES)
|
||||
go install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' ./cmd/$(NAME)
|
||||
|
||||
.PHONY: build
|
||||
build: $(BIN)/$(EXECUTABLE) $(BIN)/$(EXECUTABLE)-debug
|
||||
|
||||
$(BIN)/$(EXECUTABLE): $(SOURCES)
|
||||
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $@ ./cmd/$(NAME)
|
||||
|
||||
$(BIN)/$(EXECUTABLE)-debug: $(SOURCES)
|
||||
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -gcflags '$(GCFLAGS)' -o $@ ./cmd/$(NAME)
|
||||
|
||||
.PHONY: release
|
||||
release: release-dirs release-linux release-windows release-darwin release-copy release-check
|
||||
|
||||
.PHONY: release-dirs
|
||||
release-dirs:
|
||||
mkdir -p $(DIST)/binaries $(DIST)/release
|
||||
|
||||
.PHONY: release-linux
|
||||
release-linux: release-dirs
|
||||
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
|
||||
|
||||
.PHONY: release-windows
|
||||
release-windows: release-dirs
|
||||
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'windows' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
|
||||
|
||||
.PHONY: release-darwin
|
||||
release-darwin: release-dirs
|
||||
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -os 'darwin' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
|
||||
|
||||
.PHONY: release-copy
|
||||
release-copy:
|
||||
$(foreach file,$(wildcard $(DIST)/binaries/$(EXECUTABLE)-*),cp $(file) $(DIST)/release/$(notdir $(file));)
|
||||
|
||||
.PHONY: release-check
|
||||
release-check:
|
||||
cd $(DIST)/release; $(foreach file,$(wildcard $(DIST)/release/$(EXECUTABLE)-*),sha256sum $(notdir $(file)) > $(notdir $(file)).sha256;)
|
||||
|
||||
.PHONY: release-finish
|
||||
release-finish: release-copy release-check
|
||||
|
||||
.PHONY: config-docs-generate
|
||||
config-docs-generate:
|
||||
go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
|
||||
|
||||
.PHONY: test-acceptance-webui
|
||||
test-acceptance-webui:
|
||||
./ui/tests/run-acceptance-test.sh $(FEATURE_PATH)
|
||||
|
||||
.PHONY: watch
|
||||
watch:
|
||||
go run github.com/cespare/reflex -c reflex.conf
|
||||
|
||||
$(GOPATH)/bin/protoc-gen-go:
|
||||
GO111MODULE=off go get -v google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
############ tooling ############
|
||||
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
|
||||
include ../.bingo/Variables.mk
|
||||
endif
|
||||
|
||||
$(GOPATH)/bin/protoc-gen-micro:
|
||||
GO111MODULE=on go get -v github.com/micro/protoc-gen-micro/v2
|
||||
############ go tooling ############
|
||||
include ../.make/go.mk
|
||||
|
||||
$(GOPATH)/bin/protoc-gen-microweb:
|
||||
GO111MODULE=off go get -v github.com/owncloud/protoc-gen-microweb
|
||||
############ release ############
|
||||
include ../.make/release.mk
|
||||
|
||||
$(GOPATH)/bin/protoc-gen-openapiv2:
|
||||
GO111MODULE=off go get -v github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2
|
||||
############ docs generate ############
|
||||
include ../.make/docs.mk
|
||||
|
||||
$(PROTO_SRC)/accounts.pb.go: $(PROTO_SRC)/accounts.proto
|
||||
protoc \
|
||||
-I=third_party/ \
|
||||
-I=$(PROTO_SRC)/ \
|
||||
--go_out=. accounts.proto
|
||||
############ l10n ############
|
||||
include ../.make/l10n.mk
|
||||
|
||||
$(PROTO_SRC)/accounts.pb.micro.go: $(PROTO_SRC)/accounts.proto
|
||||
protoc \
|
||||
-I=third_party/ \
|
||||
-I=$(PROTO_SRC)/ \
|
||||
--micro_out=. accounts.proto
|
||||
.PHONY: docs-generate
|
||||
docs-generate: config-docs-generate \
|
||||
grpc-docs-generate
|
||||
|
||||
$(PROTO_SRC)/accounts.pb.web.go: $(PROTO_SRC)/accounts.proto
|
||||
protoc \
|
||||
-I=third_party/ \
|
||||
-I=$(PROTO_SRC)/ \
|
||||
--microweb_out=. accounts.proto
|
||||
############ generate ############
|
||||
include ../.make/generate.mk
|
||||
|
||||
$(PROTO_SRC)/accounts.swagger.json: $(PROTO_SRC)/accounts.proto
|
||||
# the other commands above respect the declared package in the .proto file for placement of the resulting file.
|
||||
# `swagger_out` doesn't, so we have to specify the output path as `$(PROTO_SRC)` instead of `.`
|
||||
protoc \
|
||||
-I=third_party/ \
|
||||
-I=$(PROTO_SRC)/ \
|
||||
--swagger_out=$(PROTO_SRC) accounts.proto
|
||||
.PHONY: ci-go-generate
|
||||
ci-go-generate: protobuf # CI runs ci-node-generate automatically before this target
|
||||
@go generate $(GENERATE)
|
||||
|
||||
.PHONY: ci-node-generate
|
||||
ci-node-generate: yarn-build
|
||||
|
||||
.PHONY: yarn-build
|
||||
yarn-build: node_modules
|
||||
yarn lint
|
||||
yarn test
|
||||
yarn build
|
||||
|
||||
.PHONY: node_modules
|
||||
node_modules:
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
############ protobuf ############
|
||||
PROTO_VERSION := v0
|
||||
PROTO_SRC := pkg/proto/$(PROTO_VERSION)
|
||||
|
||||
include ../.make/protobuf.mk
|
||||
|
||||
.PHONY: protobuf
|
||||
protobuf: $(GOPATH)/bin/protoc-gen-go $(GOPATH)/bin/protoc-gen-micro $(GOPATH)/bin/protoc-gen-microweb $(GOPATH)/bin/protoc-gen-openapiv2 \
|
||||
$(PROTO_SRC)/accounts.pb.go $(PROTO_SRC)/accounts.pb.micro.go $(PROTO_SRC)/accounts.pb.web.go $(PROTO_SRC)/accounts.swagger.json
|
||||
protobuf: $(PROTO_SRC)/${NAME}.pb.go \
|
||||
$(PROTO_SRC)/${NAME}.pb.micro.go \
|
||||
$(PROTO_SRC)/${NAME}.pb.web.go \
|
||||
$(PROTO_SRC)/${NAME}.swagger.json \
|
||||
../docs/extensions/${NAME}/grpc.md
|
||||
@@ -4,10 +4,11 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/owncloud/ocis/accounts/pkg/command"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
)
|
||||
|
||||
func main() {
|
||||
if err := command.Execute(); err != nil {
|
||||
if err := command.Execute(config.New()); err != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
+28
-23
@@ -1,40 +1,45 @@
|
||||
module github.com/owncloud/ocis/accounts
|
||||
|
||||
go 1.15
|
||||
go 1.16
|
||||
|
||||
require (
|
||||
contrib.go.opencensus.io/exporter/jaeger v0.2.1
|
||||
contrib.go.opencensus.io/exporter/ocagent v0.6.0
|
||||
contrib.go.opencensus.io/exporter/zipkin v0.1.1
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21
|
||||
github.com/cs3org/reva v1.5.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-20210527092509-2b828e94ed4c
|
||||
github.com/cs3org/reva v1.7.1-0.20210531093513-b74a2b156af6
|
||||
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.4.3
|
||||
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/micro/go-micro/v2 v2.9.1
|
||||
github.com/oklog/run v1.1.0
|
||||
github.com/olekukonko/tablewriter v0.0.4
|
||||
github.com/openzipkin/zipkin-go v0.2.2
|
||||
github.com/owncloud/ocis/ocis-pkg v0.0.0-20201103111659-46bf133a3c63
|
||||
github.com/owncloud/ocis/settings v0.0.0-20200918114005-1a0ddd2190ee
|
||||
github.com/prometheus/client_golang v1.7.1
|
||||
github.com/restic/calens v0.2.0
|
||||
github.com/rs/zerolog v1.20.0
|
||||
github.com/spf13/viper v1.7.0
|
||||
github.com/stretchr/testify v1.6.1
|
||||
go.opencensus.io v0.22.5
|
||||
golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
|
||||
golang.org/x/net v0.0.0-20200822124328-c89045814202
|
||||
google.golang.org/genproto v0.0.0-20200624020401-64a14ca9d1ad
|
||||
google.golang.org/grpc v1.33.2
|
||||
google.golang.org/protobuf v1.25.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.22.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.38.0
|
||||
google.golang.org/protobuf v1.26.0
|
||||
)
|
||||
|
||||
replace (
|
||||
github.com/owncloud/ocis/ocis-pkg => ../ocis-pkg
|
||||
github.com/owncloud/ocis/settings => ../settings
|
||||
google.golang.org/grpc => google.golang.org/grpc v1.26.0
|
||||
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
|
||||
)
|
||||
+1419
-203
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,10 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[owncloud.ocis-accounts]
|
||||
file_filter = locale/<lang>/LC_MESSAGES/app.po
|
||||
minimum_perc = 0
|
||||
source_file = template.pot
|
||||
source_lang = en
|
||||
type = PO
|
||||
|
||||
@@ -0,0 +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"},"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
|
||||
+22
-22
@@ -8,7 +8,7 @@
|
||||
"author": "ownCloud GmbH <devops@owncloud.com>",
|
||||
"repository": "https://github.com/owncloud/ocis-accounts.git",
|
||||
"bugs": {
|
||||
"url": "https://github.com/owncloud/ocis/accounts/issues",
|
||||
"url": "https://github.com/owncloud/ocis/issues",
|
||||
"email": "support@owncloud.com"
|
||||
},
|
||||
"scripts": {
|
||||
@@ -20,50 +20,50 @@
|
||||
"acceptance-tests": "cucumber-js --retry 1 --require-module @babel/register --require-module @babel/polyfill --require ${TEST_INFRA_DIRECTORY}/acceptance/setup.js --require ui/tests/acceptance/stepDefinitions --require ${TEST_INFRA_DIRECTORY}/acceptance/stepDefinitions --format node_modules/cucumber-pretty -t \"${TEST_TAGS:-not @skip and not @skipOnOC10}\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.7.7",
|
||||
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
||||
"@babel/core": "^7.14.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||
"@babel/plugin-proposal-export-default-from": "^7.7.4",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
|
||||
"@babel/plugin-transform-runtime": "^7.8.0",
|
||||
"@babel/plugin-transform-runtime": "^7.13.10",
|
||||
"@babel/polyfill": "^7.10.1",
|
||||
"@babel/preset-env": "^7.7.7",
|
||||
"@babel/register": "7.10.1",
|
||||
"@babel/preset-env": "^7.13.12",
|
||||
"@babel/register": "7.13.8",
|
||||
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
|
||||
"@rollup/plugin-commonjs": "^11.0.1",
|
||||
"@rollup/plugin-commonjs": "^17.1.0",
|
||||
"@rollup/plugin-json": "^4.0.1",
|
||||
"@rollup/plugin-replace": "^2.3.0",
|
||||
"archiver": "^4.0.1",
|
||||
"archiver": "^5.3.0",
|
||||
"axios": "^0.21.1",
|
||||
"core-js": "3",
|
||||
"cross-env": "^6.0.3",
|
||||
"cross-env": "^7.0.3",
|
||||
"cucumber": "^6.0.5",
|
||||
"cucumber-pretty": ">=6.0.0",
|
||||
"debounce": "^1.2.0",
|
||||
"debounce": "^1.2.1",
|
||||
"easygettext": "^2.7.0",
|
||||
"eslint": "6.8.0",
|
||||
"eslint-config-standard": "^14.1.0",
|
||||
"eslint": "7.24.0",
|
||||
"eslint-config-standard": "^16.0.2",
|
||||
"eslint-plugin-import": "^2.17.3",
|
||||
"eslint-plugin-node": "11.0.0",
|
||||
"eslint-plugin-node": "11.1.0",
|
||||
"eslint-plugin-promise": "^4.1.1",
|
||||
"eslint-plugin-standard": "^4.0.0",
|
||||
"eslint-plugin-vue": "^6.1.2",
|
||||
"eslint-plugin-standard": "^5.0.0",
|
||||
"eslint-plugin-vue": "^7.8.0",
|
||||
"fs-extra": "^9.0.1",
|
||||
"join-path": "^1.1.1",
|
||||
"ldap": "^0.7.1",
|
||||
"ldapjs": "^2.2.3",
|
||||
"nightwatch": "^1.3.6",
|
||||
"nightwatch-api": "^3.0.1",
|
||||
"node-fetch": "^2.6.1",
|
||||
"nightwatch-vrt": "^0.2.10",
|
||||
"qs": "^6.9.1",
|
||||
"node-fetch": "^2.6.1",
|
||||
"qs": "^6.10.1",
|
||||
"rimraf": "^3.0.0",
|
||||
"rollup": "^1.28.0",
|
||||
"rollup": "^2.42.4",
|
||||
"rollup-plugin-babel": "^4.3.3",
|
||||
"rollup-plugin-eslint": "^7.0.0",
|
||||
"rollup-plugin-filesize": "^6.2.1",
|
||||
"rollup-plugin-filesize": "^9.1.0",
|
||||
"rollup-plugin-node-globals": "^1.4.0",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
"rollup-plugin-terser": "^5.1.3",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"rollup-plugin-vue": "^5.1.4",
|
||||
"swagger-vue-generator": "^1.0.6",
|
||||
"url-search-params-polyfill": "^8.1.0",
|
||||
@@ -76,7 +76,7 @@
|
||||
"not dead"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"owncloud-design-system": "^1.7.0"
|
||||
"owncloud-design-system": "^6.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"validator": "^13.1.1"
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
_ "golang.org/x/net/webdav"
|
||||
)
|
||||
|
||||
//go:generate go run github.com/UnnoTed/fileb0x embed.yml
|
||||
//go:generate make -C ../.. embed.yml
|
||||
|
||||
// assets gets initialized by New and provides the handler.
|
||||
type assets struct {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Code generated by fileb0x at "2021-01-13 08:23:16.044077 +0100 CET m=+0.009014926" from config file "embed.yml" DO NOT EDIT.
|
||||
// modification hash(c8fdaaee3828640ec93899c4406b029b.8058aec596c5fb73022d09bb97af796e)
|
||||
// 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)
|
||||
|
||||
package assets
|
||||
|
||||
@@ -36,7 +36,10 @@ type HTTPFS struct {
|
||||
}
|
||||
|
||||
// FileAccountsJs is "accounts.js"
|
||||
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xeb\x72\xdb\x38\xb7\x28\xf8\x7b\xf6\x53\x48\xdc\xfd\x71\x03\xad\x65\x45\x4a\xfa\x4a\x05\xad\xcf\x49\x9c\x74\xba\x93\x38\x6d\x3b\xe9\x8b\x5a\xdb\x45\x53\x90\x8d\x58\x02\x14\x10\xf2\x25\x12\xe7\x7d\xe6\x35\xe6\xc9\xa6\x70\x23\x41\x8a\x4a\xf7\xb7\xcf\x3e\xa7\xce\xd4\x4c\x95\xcb\x22\x41\x5c\x17\x80\x75\xc3\x5a\x0b\x33\x3a\x67\x9c\x22\x34\x5f\xf3\x4c\x31\xc1\x11\xde\x44\xeb\x9c\x76\x72\x25\x59\xa6\xa2\xd1\x4d\x2a\x3b\x8a\x44\x6b\x6e\x33\xce\xa2\x2e\x51\xf7\x2b\x2a\xe6\x9d\xcb\x85\xb8\x48\x17\x67\x57\x2c\x1f\x57\x8f\x49\x5b\xce\x5b\xc6\x67\xe2\x76\x6c\x7f\x5a\x73\xd8\x0a\x5c\x3d\xad\x39\x72\xba\x98\x8f\xf5\xbf\x64\x53\x8c\x7c\x67\x3b\x14\x29\xa0\x78\x23\xa9\x5a\x4b\xde\x51\x88\x92\x0d\xbd\x5b\x09\xa9\xf2\x64\x53\x14\x40\xfb\xee\x0d\x57\x8f\x85\x1e\x11\x27\xe1\x90\x15\xde\xe8\x44\x4a\x76\x53\x8e\x2f\x3e\xd0\x4c\xf5\x57\x52\x28\xa1\x7b\x02\x9c\xd0\xfe\x55\x9a\x1f\xdf\xf2\xb7\x52\xac\xa8\x54\xf7\x20\x49\xe4\x0b\x46\xc4\xf7\xf7\xf4\x7e\x79\x21\x16\x63\xfb\x93\x6c\x0a\x10\x44\xf6\x99\xa2\x32\x55\x42\x6e\xb7\xd1\x3f\xff\xe9\x5f\x22\x60\x44\xf6\xd3\xfc\x9e\x67\x2f\xc3\xef\xb5\x94\x08\x52\x22\xfb\x4a\x9c\x2a\xc9\xf8\xe5\x59\x7a\x69\xb2\x04\xef\x51\x05\x94\x4c\x03\x05\x78\x09\x16\x37\x06\x0b\x52\xdf\x6b\x93\x67\x73\x93\x2e\xd6\x34\xe1\x40\xf9\x7a\x49\x65\x7a\xb1\xa0\x49\x77\x00\x99\xe0\x73\x76\xb9\x2e\xdf\x6f\x25\x53\xee\xb9\xc0\xa0\x26\x74\x5a\x28\x79\xbf\xc9\xd0\xa6\x80\x28\xc2\x45\x96\xaa\xec\x4a\xc3\x2c\x0b\x20\x58\xeb\x82\x2e\x43\x78\x51\x94\x7d\xcc\x6d\x06\x90\x16\xd0\x82\xd0\x38\xa6\x15\x98\x3b\x8c\xe7\x2a\xe5\x99\x86\xe4\x7c\x4c\x93\x39\x30\x3f\x15\x99\xa4\xa9\xa2\x48\x54\x99\x31\xa4\x84\xd3\xdb\xce\x11\x92\xdb\xed\x64\x8a\x47\xae\x51\xd6\x3f\x67\xfc\x46\x5c\xd3\x9d\x5e\xe9\x26\x25\x89\xf2\x75\xbe\xa2\x7c\x46\x67\xa7\x2a\x95\x2a\xf2\xe5\xca\xdc\x02\x18\xde\xb0\x39\x8a\xe8\x1d\xcd\xd6\x8a\xf1\xcb\x88\x10\x22\xb1\xba\x92\xe2\xb6\x63\x9a\x94\x52\x48\x14\xbd\xa0\xdc\x4e\x53\x87\xe5\x9d\x74\x21\x69\x3a\xbb\xef\xc8\x35\xe7\xba\x08\x1e\xe9\x2a\x32\xb1\x5c\x2d\xa8\xa2\x33\x5b\x85\xa9\xd6\xd4\xa3\xdf\x85\xab\x92\xf9\x2e\x9c\x22\x5c\xcc\x85\x44\xbc\xbf\xa4\xea\x4a\xcc\x88\x00\xde\x4f\xe5\x25\x61\xa3\x91\xed\x7e\x4a\x78\x7f\x46\x17\xf4\x32\x55\x54\x37\x90\xda\xe4\x8c\xdc\xa2\x14\xb8\x69\x33\x33\xad\x64\x84\x90\x05\xce\x04\x57\x8c\xaf\xa9\x6f\x20\x2b\x0a\xdd\x03\x4e\xef\x94\xee\x80\x6f\x07\xf3\x7e\x4e\xb9\x22\xbc\x7f\xee\x7e\x53\x79\x39\xa2\x8b\x9c\x76\x6a\x1d\x2e\xf3\x9b\x71\x34\xe0\x18\xc0\x48\x92\x60\xe0\x76\x08\x23\xde\x9f\xb1\x7c\xa5\x97\xcc\xd1\x5d\x46\x57\x06\xd2\xe6\x0b\x2e\x74\x43\x91\xed\x61\xd8\x4a\x1c\xf3\x7e\x7a\x21\xd7\x2b\x85\xfc\x57\x5b\x17\x1e\x49\x12\x4c\x8e\x41\x56\x39\x59\xbb\x69\x36\x70\xe7\x42\x2e\xd3\x85\xae\x2d\xef\x9b\xc5\xa2\x7b\x2c\x35\xf0\x04\xa7\xe3\xa0\x77\x49\x35\x8c\xdf\x19\x5d\xcc\x22\xc8\x0d\xc4\x5b\xa0\xe7\xb6\x8d\xf9\x0e\xba\x9e\xc4\x56\x57\x14\x15\x84\x6c\x6b\x71\x8c\x9a\x20\x70\x13\xea\x72\xba\x69\xcd\xed\xf8\x8b\x02\x29\xe0\x90\x62\x60\xd5\x56\xf1\xc3\xd9\xe8\x3d\xe7\x3a\xa0\xeb\x4e\xfc\xd8\x20\x95\x97\x89\xea\x67\xe9\x62\x81\x74\xc6\xa2\xda\x90\xb5\xec\xae\x45\x93\xbb\x28\x0a\xd5\xbf\x95\xe9\x8a\xe4\x06\x6a\x0b\x12\xa2\xd5\x39\xc2\x9b\xaa\x03\xb3\xda\xdb\x4a\xbf\xe9\x22\x57\xba\xc8\xd5\x44\x4c\x49\x40\x3b\xfc\x7e\xbf\x62\x79\x61\x2a\x5e\xfa\x7d\x7b\x49\xd5\x5b\xbf\x63\x8f\xe7\x70\x43\x96\x71\xbc\x44\x4b\x74\x8c\x26\x53\x8c\xf1\xe8\x26\x8e\x6f\xba\x44\xe3\x01\x6e\x87\x72\x03\x02\xc7\x31\xba\x22\x37\xd8\xd4\x74\x49\x56\xd5\x9e\x27\xf3\xe0\xb9\x8e\x19\xae\x70\x35\x90\x7b\x0d\x84\x89\x5d\xe6\xe0\x01\xe0\xd7\xd0\xb4\x3f\x17\xf2\x28\xcd\xae\x02\x52\x40\xf1\xc6\xa2\xcf\x1a\x75\x08\x46\xe5\x71\x0a\xa2\xa0\x70\x81\xcd\x5f\xd9\xdc\x85\x25\x47\x06\xbd\x8c\xc2\xdc\xa4\x8e\x53\xca\x02\x69\x05\x32\x8d\x4e\x42\xa2\x24\x21\xc5\x9b\x6e\x99\x53\xea\x92\x90\x42\x66\xab\x37\xab\x7c\x22\xa6\xa0\x80\xd9\x85\x6e\x07\xd7\xad\xd6\xb9\x9d\x56\xbb\x48\xe7\x64\xd1\x37\x8b\xb6\xc4\x71\x71\x1c\x09\x03\xb6\x8a\x64\xcd\x4b\xd0\xcf\x21\x3a\x3f\x4f\x6f\x53\xa6\x22\x3c\xa6\x7d\x49\x73\xb1\xb8\xa1\x68\xde\x77\xa9\xb8\xaf\xae\x28\xaf\x53\x50\xe9\xb0\x09\x28\xd3\xcb\x02\x43\xf3\xb3\x03\xbf\xff\x8e\x93\xa0\xe6\xb6\x1a\x5d\x97\x89\x82\x14\x2d\x76\x2b\xb4\x03\x69\xa9\xb7\xc8\x90\xdb\x4f\x06\x66\x1a\x90\x3a\xd5\x17\x20\x72\x2c\x6d\x6b\x29\xa4\x38\x49\x11\x0e\xe8\xd2\x6d\x35\x83\x9c\xa8\x92\x60\x4f\xa8\xdb\xb7\x53\x0d\xeb\x1b\xc1\x66\x9d\x81\x46\x50\x06\x9b\xd0\x12\x11\x13\xbe\x5e\x2c\xa0\x42\x02\x34\x44\x93\x55\x6d\x7d\xdb\x95\x38\x46\xb4\x44\x07\x1e\xaf\x51\x83\x0f\x6c\x0b\x60\x7b\xd3\x56\x21\x76\xa3\x59\x8c\x68\x13\xa3\xd8\x1a\xf4\x72\x3a\xbb\x5f\x51\x47\xa1\xce\xae\x68\xc7\x37\xdf\x99\x09\x9a\x77\xb8\x50\x9d\x95\x14\x37\x6c\x46\x3b\x69\xe7\x3f\x4c\xe1\xff\xe8\xd8\xba\xa2\x12\x5a\x8b\xc2\xd2\xca\x35\xe2\x50\x0d\xc0\xb6\x11\xae\x3b\x8d\xf3\xed\xba\x73\x05\xf7\x74\x4b\x9a\xe5\xd8\x84\xd8\x62\x64\x99\x00\xf3\xd5\x2f\x51\x31\x16\x16\x49\x23\x3a\x51\x7a\xa5\xac\x17\xea\x4d\xba\xa4\x53\x22\xec\xc2\x00\xda\xd7\x2b\x8e\x28\xf3\xf3\x4a\x64\xe5\xce\xee\x56\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\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
|
||||
|
||||
// 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
|
||||
|
||||
func init() {
|
||||
err := CTX.Err()
|
||||
@@ -75,6 +78,32 @@ func init() {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
rb = bytes.NewReader(FileAccountsJsMap)
|
||||
r, err = gzip.NewReader(rb)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
err = r.Close()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
f, err = FS.OpenFile(CTX, "accounts.js.map", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
_, err = io.Copy(f, r)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
err = f.Close()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Handler = &webdav.Handler{
|
||||
FileSystem: FS,
|
||||
LockSystem: webdav.NewMemLS(),
|
||||
|
||||
@@ -3,8 +3,8 @@ package command
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/asim/go-micro/plugins/client/grpc/v3"
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/micro/go-micro/v2/client/grpc"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/accounts/pkg/flagset"
|
||||
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
|
||||
@@ -2,14 +2,15 @@ package command
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"strconv"
|
||||
|
||||
"github.com/asim/go-micro/plugins/client/grpc/v3"
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/micro/go-micro/v2/client/grpc"
|
||||
tw "github.com/olekukonko/tablewriter"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/accounts/pkg/flagset"
|
||||
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"os"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// InspectAccount command shows detailed information about a specific account.
|
||||
|
||||
@@ -2,14 +2,15 @@ package command
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"strconv"
|
||||
|
||||
"github.com/asim/go-micro/plugins/client/grpc/v3"
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/micro/go-micro/v2/client/grpc"
|
||||
tw "github.com/olekukonko/tablewriter"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/accounts/pkg/flagset"
|
||||
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"os"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
// ListAccounts command lists all accounts
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/asim/go-micro/plugins/client/grpc/v3"
|
||||
merrors "github.com/asim/go-micro/v3/errors"
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/micro/go-micro/v2/client/grpc"
|
||||
merrors "github.com/micro/go-micro/v2/errors"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
index "github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
)
|
||||
|
||||
@@ -2,12 +2,13 @@ package command
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/asim/go-micro/plugins/client/grpc/v3"
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/micro/go-micro/v2/client/grpc"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/accounts/pkg/flagset"
|
||||
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"os"
|
||||
)
|
||||
|
||||
// RemoveAccount command deletes an existing account.
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
package command
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/owncloud/ocis/accounts/pkg/flagset"
|
||||
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/accounts/pkg/flagset"
|
||||
"github.com/owncloud/ocis/accounts/pkg/version"
|
||||
ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
|
||||
"github.com/owncloud/ocis/ocis-pkg/log"
|
||||
"github.com/owncloud/ocis/ocis-pkg/sync"
|
||||
"github.com/spf13/viper"
|
||||
"github.com/thejerf/suture/v4"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -19,8 +22,7 @@ var (
|
||||
)
|
||||
|
||||
// Execute is the entry point for the ocis-accounts command.
|
||||
func Execute() error {
|
||||
cfg := config.New()
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := &cli.App{
|
||||
Name: "ocis-accounts",
|
||||
Version: version.String,
|
||||
@@ -73,11 +75,14 @@ func NewLogger(cfg *config.Config) log.Logger {
|
||||
log.Level(cfg.Log.Level),
|
||||
log.Pretty(cfg.Log.Pretty),
|
||||
log.Color(cfg.Log.Color),
|
||||
log.File(cfg.Log.File),
|
||||
)
|
||||
}
|
||||
|
||||
// ParseConfig loads accounts configuration from Viper known paths.
|
||||
func ParseConfig(c *cli.Context, cfg *config.Config) error {
|
||||
sync.ParsingViperConfig.Lock()
|
||||
defer sync.ParsingViperConfig.Unlock()
|
||||
logger := NewLogger(cfg)
|
||||
|
||||
viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_"))
|
||||
@@ -118,3 +123,28 @@ func ParseConfig(c *cli.Context, cfg *config.Config) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// SutureService allows for the accounts command to be embedded and supervised by a suture supervisor tree.
|
||||
type SutureService struct {
|
||||
cfg *config.Config
|
||||
}
|
||||
|
||||
// NewSutureService creates a new accounts.SutureService
|
||||
func NewSutureService(cfg *ociscfg.Config) suture.Service {
|
||||
if cfg.Mode == 0 {
|
||||
cfg.Accounts.Supervised = true
|
||||
}
|
||||
cfg.Accounts.Log.File = cfg.Log.File
|
||||
return SutureService{
|
||||
cfg: cfg.Accounts,
|
||||
}
|
||||
}
|
||||
|
||||
func (s SutureService) Serve(ctx context.Context) error {
|
||||
s.cfg.Context = ctx
|
||||
if err := Execute(s.cfg); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
+54
-141
@@ -2,26 +2,19 @@ package command
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"os/signal"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"contrib.go.opencensus.io/exporter/jaeger"
|
||||
"contrib.go.opencensus.io/exporter/ocagent"
|
||||
"contrib.go.opencensus.io/exporter/zipkin"
|
||||
"github.com/owncloud/ocis/ocis-pkg/sync"
|
||||
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/oklog/run"
|
||||
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/accounts/pkg/flagset"
|
||||
"github.com/owncloud/ocis/accounts/pkg/metrics"
|
||||
"github.com/owncloud/ocis/accounts/pkg/server/grpc"
|
||||
"github.com/owncloud/ocis/accounts/pkg/server/http"
|
||||
svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
|
||||
"go.opencensus.io/stats/view"
|
||||
"go.opencensus.io/trace"
|
||||
"github.com/owncloud/ocis/accounts/pkg/tracing"
|
||||
)
|
||||
|
||||
// Server is the entry point for the server command.
|
||||
@@ -32,92 +25,28 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
Description: "uses an LDAP server as the storage backend",
|
||||
Flags: flagset.ServerWithConfig(cfg),
|
||||
Before: func(ctx *cli.Context) error {
|
||||
logger := NewLogger(cfg)
|
||||
if cfg.HTTP.Root != "/" {
|
||||
cfg.HTTP.Root = strings.TrimSuffix(cfg.HTTP.Root, "/")
|
||||
}
|
||||
|
||||
// When running on single binary mode the before hook from the root command won't get called. We manually
|
||||
// call this before hook from ocis command, so the configuration can be loaded.
|
||||
return ParseConfig(ctx, cfg)
|
||||
if !cfg.Supervised {
|
||||
return ParseConfig(ctx, cfg)
|
||||
}
|
||||
logger.Debug().Str("service", "accounts").Msg("ignoring config file parsing when running supervised")
|
||||
return nil
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
logger := NewLogger(cfg)
|
||||
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")
|
||||
err := tracing.Configure(cfg, logger)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
var (
|
||||
gr = run.Group{}
|
||||
ctx, cancel = context.WithCancel(context.Background())
|
||||
mtrcs = metrics.New()
|
||||
)
|
||||
gr := run.Group{}
|
||||
ctx, cancel := defineContext(cfg)
|
||||
mtrcs := metrics.New()
|
||||
|
||||
defer cancel()
|
||||
|
||||
@@ -125,70 +54,54 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
|
||||
handler, err := svc.New(svc.Logger(logger), svc.Config(cfg))
|
||||
if err != nil {
|
||||
logger.Fatal().Err(err).Msg("could not initialize service handler")
|
||||
logger.Error().Err(err).Msg("handler init")
|
||||
return err
|
||||
}
|
||||
|
||||
{
|
||||
server := http.Server(
|
||||
http.Logger(logger),
|
||||
http.Name(cfg.Server.Name),
|
||||
http.Context(ctx),
|
||||
http.Config(cfg),
|
||||
http.Metrics(mtrcs),
|
||||
http.Flags(flagset.RootWithConfig(config.New())),
|
||||
http.Flags(flagset.ServerWithConfig(config.New())),
|
||||
http.Handler(handler),
|
||||
)
|
||||
httpServer := http.Server(
|
||||
http.Config(cfg),
|
||||
http.Logger(logger),
|
||||
http.Name(cfg.Server.Name),
|
||||
http.Context(ctx),
|
||||
http.Metrics(mtrcs),
|
||||
http.Handler(handler),
|
||||
)
|
||||
|
||||
gr.Add(server.Run, func(_ error) {
|
||||
logger.Info().
|
||||
Str("server", "http").
|
||||
Msg("Shutting down server")
|
||||
gr.Add(httpServer.Run, func(_ error) {
|
||||
logger.Info().Str("server", "http").Msg("shutting down server")
|
||||
cancel()
|
||||
})
|
||||
|
||||
cancel()
|
||||
})
|
||||
}
|
||||
grpcServer := grpc.Server(
|
||||
grpc.Config(cfg),
|
||||
grpc.Logger(logger),
|
||||
grpc.Name(cfg.Server.Name),
|
||||
grpc.Context(ctx),
|
||||
grpc.Metrics(mtrcs),
|
||||
grpc.Handler(handler),
|
||||
)
|
||||
|
||||
{
|
||||
server := grpc.Server(
|
||||
grpc.Logger(logger),
|
||||
grpc.Name(cfg.Server.Name),
|
||||
grpc.Context(ctx),
|
||||
grpc.Config(cfg),
|
||||
grpc.Metrics(mtrcs),
|
||||
grpc.Handler(handler),
|
||||
)
|
||||
gr.Add(grpcServer.Run, func(_ error) {
|
||||
logger.Info().Str("server", "grpc").Msg("shutting down server")
|
||||
cancel()
|
||||
})
|
||||
|
||||
gr.Add(func() error {
|
||||
logger.Info().Str("service", server.Name()).Msg("Reporting settings bundles to settings service")
|
||||
svc.RegisterSettingsBundles(&logger)
|
||||
svc.RegisterPermissions(&logger)
|
||||
return server.Run()
|
||||
}, func(_ error) {
|
||||
logger.Info().
|
||||
Str("server", "grpc").
|
||||
Msg("Shutting down server")
|
||||
|
||||
cancel()
|
||||
})
|
||||
}
|
||||
|
||||
{
|
||||
stop := make(chan os.Signal, 1)
|
||||
|
||||
gr.Add(func() error {
|
||||
signal.Notify(stop, os.Interrupt)
|
||||
|
||||
<-stop
|
||||
|
||||
return nil
|
||||
}, func(err error) {
|
||||
close(stop)
|
||||
cancel()
|
||||
})
|
||||
if !cfg.Supervised {
|
||||
sync.Trap(&gr, cancel)
|
||||
}
|
||||
|
||||
return gr.Run()
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
// defineContext sets the context for the extension. If there is a context configured it will create a new child from it,
|
||||
// if not, it will create a root context that can be cancelled.
|
||||
func defineContext(cfg *config.Config) (context.Context, context.CancelFunc) {
|
||||
return func() (context.Context, context.CancelFunc) {
|
||||
if cfg.Context == nil {
|
||||
return context.WithCancel(context.Background())
|
||||
}
|
||||
return context.WithCancel(cfg.Context)
|
||||
}()
|
||||
}
|
||||
@@ -3,8 +3,9 @@ package command
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/asim/go-micro/plugins/client/grpc/v3"
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/micro/go-micro/v2/client/grpc"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/accounts/pkg/flagset"
|
||||
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
|
||||
@@ -19,7 +19,7 @@ func PrintVersion(cfg *config.Config) *cli.Command {
|
||||
Usage: "Print the versions of the running instances",
|
||||
Flags: flagset.ListAccountsWithConfig(cfg),
|
||||
Action: func(c *cli.Context) error {
|
||||
reg := *registry.GetRegistry()
|
||||
reg := registry.GetRegistry()
|
||||
services, err := reg.GetService(cfg.GRPC.Namespace + "." + cfg.Server.Name)
|
||||
if err != nil {
|
||||
fmt.Println(fmt.Errorf("could not get accounts services from the registry: %v", err))
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// Package config should be moved to internal
|
||||
package config
|
||||
|
||||
import "context"
|
||||
|
||||
// LDAP defines the available ldap configuration.
|
||||
type LDAP struct {
|
||||
Hostname string
|
||||
@@ -60,6 +62,7 @@ type Log struct {
|
||||
Level string
|
||||
Pretty bool
|
||||
Color bool
|
||||
File string
|
||||
}
|
||||
|
||||
// Repo defines which storage implementation is to be used.
|
||||
@@ -121,6 +124,9 @@ type Config struct {
|
||||
Index Index
|
||||
ServiceUser ServiceUser
|
||||
Tracing Tracing
|
||||
|
||||
Context context.Context
|
||||
Supervised bool
|
||||
}
|
||||
|
||||
// New returns a new config.
|
||||
|
||||
@@ -4,6 +4,7 @@ import (
|
||||
"github.com/micro/cli/v2"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"github.com/owncloud/ocis/ocis-pkg/flags"
|
||||
)
|
||||
|
||||
// RootWithConfig applies cfg to the root flagset
|
||||
@@ -11,23 +12,20 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "log-level",
|
||||
Value: "info",
|
||||
Usage: "Set logging level",
|
||||
EnvVars: []string{"ACCOUNTS_LOG_LEVEL"},
|
||||
EnvVars: []string{"ACCOUNTS_LOG_LEVEL", "OCIS_LOG_LEVEL"},
|
||||
Destination: &cfg.Log.Level,
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Value: true,
|
||||
Name: "log-pretty",
|
||||
Usage: "Enable pretty logging",
|
||||
EnvVars: []string{"ACCOUNTS_LOG_PRETTY"},
|
||||
EnvVars: []string{"ACCOUNTS_LOG_PRETTY", "OCIS_LOG_PRETTY"},
|
||||
Destination: &cfg.Log.Pretty,
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Value: true,
|
||||
Name: "log-color",
|
||||
Usage: "Enable colored logging",
|
||||
EnvVars: []string{"ACCOUNTS_LOG_COLOR"},
|
||||
EnvVars: []string{"ACCOUNTS_LOG_COLOR", "OCIS_LOG_COLOR"},
|
||||
Destination: &cfg.Log.Color,
|
||||
},
|
||||
}
|
||||
@@ -36,6 +34,12 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
|
||||
// ServerWithConfig applies cfg to the root flagset
|
||||
func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "log-file",
|
||||
Usage: "Enable log to file",
|
||||
EnvVars: []string{"ACCOUNTS_LOG_FILE", "OCIS_LOG_FILE"},
|
||||
Destination: &cfg.Log.File,
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "tracing-enabled",
|
||||
Usage: "Enable sending traces",
|
||||
@@ -44,189 +48,189 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "tracing-type",
|
||||
Value: "jaeger",
|
||||
Value: flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger"),
|
||||
Usage: "Tracing backend type",
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_TYPE"},
|
||||
Destination: &cfg.Tracing.Type,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "tracing-endpoint",
|
||||
Value: "",
|
||||
Value: flags.OverrideDefaultString(cfg.Tracing.Endpoint, ""),
|
||||
Usage: "Endpoint for the agent",
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_ENDPOINT"},
|
||||
Destination: &cfg.Tracing.Endpoint,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "tracing-collector",
|
||||
Value: "",
|
||||
Value: flags.OverrideDefaultString(cfg.Tracing.Collector, ""),
|
||||
Usage: "Endpoint for the collector",
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_COLLECTOR"},
|
||||
Destination: &cfg.Tracing.Collector,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "tracing-service",
|
||||
Value: "accounts",
|
||||
Value: flags.OverrideDefaultString(cfg.Tracing.Service, "accounts"),
|
||||
Usage: "Service name for tracing",
|
||||
EnvVars: []string{"ACCOUNTS_TRACING_SERVICE"},
|
||||
Destination: &cfg.Tracing.Service,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "http-namespace",
|
||||
Value: "com.owncloud.web",
|
||||
Value: flags.OverrideDefaultString(cfg.HTTP.Namespace, "com.owncloud.web"),
|
||||
Usage: "Set the base namespace for the http namespace",
|
||||
EnvVars: []string{"ACCOUNTS_HTTP_NAMESPACE"},
|
||||
Destination: &cfg.HTTP.Namespace,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "http-addr",
|
||||
Value: "0.0.0.0:9181",
|
||||
Value: flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9181"),
|
||||
Usage: "Address to bind http server",
|
||||
EnvVars: []string{"ACCOUNTS_HTTP_ADDR"},
|
||||
Destination: &cfg.HTTP.Addr,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "http-root",
|
||||
Value: "/",
|
||||
Value: flags.OverrideDefaultString(cfg.HTTP.Root, "/"),
|
||||
Usage: "Root path of http server",
|
||||
EnvVars: []string{"ACCOUNTS_HTTP_ROOT"},
|
||||
Destination: &cfg.HTTP.Root,
|
||||
},
|
||||
&cli.IntFlag{
|
||||
Name: "http-cache-ttl",
|
||||
Value: 604800, // 7 days
|
||||
Value: flags.OverrideDefaultInt(cfg.HTTP.CacheTTL, 604800),
|
||||
Usage: "Set the static assets caching duration in seconds",
|
||||
EnvVars: []string{"ACCOUNTS_CACHE_TTL"},
|
||||
Destination: &cfg.HTTP.CacheTTL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "grpc-namespace",
|
||||
Value: "com.owncloud.api",
|
||||
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
|
||||
Usage: "Set the base namespace for the grpc namespace",
|
||||
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
|
||||
Destination: &cfg.GRPC.Namespace,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "grpc-addr",
|
||||
Value: "0.0.0.0:9180",
|
||||
Value: flags.OverrideDefaultString(cfg.GRPC.Addr, "0.0.0.0:9180"),
|
||||
Usage: "Address to bind grpc server",
|
||||
EnvVars: []string{"ACCOUNTS_GRPC_ADDR"},
|
||||
Destination: &cfg.GRPC.Addr,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "name",
|
||||
Value: "accounts",
|
||||
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
|
||||
Usage: "service name",
|
||||
EnvVars: []string{"ACCOUNTS_NAME"},
|
||||
Destination: &cfg.Server.Name,
|
||||
},
|
||||
&cli.IntFlag{
|
||||
Name: "accounts-hash-difficulty",
|
||||
Value: 11,
|
||||
Value: flags.OverrideDefaultInt(cfg.Server.HashDifficulty, 11),
|
||||
Usage: "accounts password hash difficulty",
|
||||
EnvVars: []string{"ACCOUNTS_HASH_DIFFICULTY"},
|
||||
Destination: &cfg.Server.HashDifficulty,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "asset-path",
|
||||
Value: "",
|
||||
Value: flags.OverrideDefaultString(cfg.Asset.Path, ""),
|
||||
Usage: "Path to custom assets",
|
||||
EnvVars: []string{"ACCOUNTS_ASSET_PATH"},
|
||||
Destination: &cfg.Asset.Path,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "jwt-secret",
|
||||
Value: "Pive-Fumkiu4",
|
||||
Value: flags.OverrideDefaultString(cfg.TokenManager.JWTSecret, "Pive-Fumkiu4"),
|
||||
Usage: "Used to create JWT to talk to reva, should equal reva's jwt-secret",
|
||||
EnvVars: []string{"ACCOUNTS_JWT_SECRET"},
|
||||
EnvVars: []string{"ACCOUNTS_JWT_SECRET", "OCIS_JWT_SECRET"},
|
||||
Destination: &cfg.TokenManager.JWTSecret,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-disk-path",
|
||||
Value: "",
|
||||
Value: flags.OverrideDefaultString(cfg.Repo.Disk.Path, ""),
|
||||
Usage: "Path on the local disk, e.g. /var/tmp/ocis/accounts",
|
||||
EnvVars: []string{"ACCOUNTS_STORAGE_DISK_PATH"},
|
||||
Destination: &cfg.Repo.Disk.Path,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-cs3-provider-addr",
|
||||
Value: "localhost:9215",
|
||||
Value: flags.OverrideDefaultString(cfg.Repo.CS3.ProviderAddr, "localhost:9215"),
|
||||
Usage: "bind address for the metadata storage provider",
|
||||
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR"},
|
||||
Destination: &cfg.Repo.CS3.ProviderAddr,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-cs3-data-url",
|
||||
Value: "http://localhost:9216",
|
||||
Value: flags.OverrideDefaultString(cfg.Repo.CS3.DataURL, "http://localhost:9216"),
|
||||
Usage: "http endpoint of the metadata storage",
|
||||
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_DATA_URL"},
|
||||
Destination: &cfg.Repo.CS3.DataURL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-cs3-data-prefix",
|
||||
Value: "data",
|
||||
Value: flags.OverrideDefaultString(cfg.Repo.CS3.DataPrefix, "data"),
|
||||
Usage: "path prefix for the http endpoint of the metadata storage, without leading slash",
|
||||
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_DATA_PREFIX"},
|
||||
Destination: &cfg.Repo.CS3.DataPrefix,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-cs3-jwt-secret",
|
||||
Value: "Pive-Fumkiu4",
|
||||
Value: flags.OverrideDefaultString(cfg.Repo.CS3.JWTSecret, "Pive-Fumkiu4"),
|
||||
Usage: "Used to create JWT to talk to reva, should equal reva's jwt-secret",
|
||||
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_JWT_SECRET"},
|
||||
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_JWT_SECRET", "OCIS_JWT_SECRET"},
|
||||
Destination: &cfg.Repo.CS3.JWTSecret,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "service-user-uuid",
|
||||
Value: "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad",
|
||||
Value: flags.OverrideDefaultString(cfg.ServiceUser.UUID, "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"),
|
||||
Usage: "uuid of the internal service user (required on EOS)",
|
||||
EnvVars: []string{"ACCOUNTS_SERVICE_USER_UUID"},
|
||||
Destination: &cfg.ServiceUser.UUID,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "service-user-username",
|
||||
Value: "",
|
||||
Value: flags.OverrideDefaultString(cfg.ServiceUser.Username, ""),
|
||||
Usage: "username of the internal service user (required on EOS)",
|
||||
EnvVars: []string{"ACCOUNTS_SERVICE_USER_USERNAME"},
|
||||
Destination: &cfg.ServiceUser.Username,
|
||||
},
|
||||
&cli.Int64Flag{
|
||||
Name: "service-user-uid",
|
||||
Value: 0,
|
||||
Value: flags.OverrideDefaultInt64(cfg.ServiceUser.UID, 0),
|
||||
Usage: "uid of the internal service user (required on EOS)",
|
||||
EnvVars: []string{"ACCOUNTS_SERVICE_USER_UID"},
|
||||
Destination: &cfg.ServiceUser.UID,
|
||||
},
|
||||
&cli.Int64Flag{
|
||||
Name: "service-user-gid",
|
||||
Value: 0,
|
||||
Value: flags.OverrideDefaultInt64(cfg.ServiceUser.GID, 0),
|
||||
Usage: "gid of the internal service user (required on EOS)",
|
||||
EnvVars: []string{"ACCOUNTS_SERVICE_USER_GID"},
|
||||
Destination: &cfg.ServiceUser.GID,
|
||||
},
|
||||
&cli.Int64Flag{
|
||||
Name: "uid-index-lower-bound",
|
||||
Value: 0,
|
||||
Value: flags.OverrideDefaultInt64(cfg.Index.UID.Lower, 0),
|
||||
Usage: "define a starting point for the account UID",
|
||||
EnvVars: []string{"ACCOUNTS_UID_INDEX_LOWER_BOUND"},
|
||||
Destination: &cfg.Index.UID.Lower,
|
||||
},
|
||||
&cli.Int64Flag{
|
||||
Name: "gid-index-lower-bound",
|
||||
Value: 1000,
|
||||
Value: flags.OverrideDefaultInt64(cfg.Index.GID.Lower, 1000),
|
||||
Usage: "define a starting point for the account GID",
|
||||
EnvVars: []string{"ACCOUNTS_GID_INDEX_LOWER_BOUND"},
|
||||
Destination: &cfg.Index.GID.Lower,
|
||||
},
|
||||
&cli.Int64Flag{
|
||||
Name: "uid-index-upper-bound",
|
||||
Value: 0,
|
||||
Value: flags.OverrideDefaultInt64(cfg.Index.UID.Upper, 0),
|
||||
Usage: "define an ending point for the account UID",
|
||||
EnvVars: []string{"ACCOUNTS_UID_INDEX_UPPER_BOUND"},
|
||||
Destination: &cfg.Index.UID.Upper,
|
||||
},
|
||||
&cli.Int64Flag{
|
||||
Name: "gid-index-upper-bound",
|
||||
Value: 1000,
|
||||
Value: flags.OverrideDefaultInt64(cfg.Index.GID.Upper, 1000),
|
||||
Usage: "define an ending point for the account GID",
|
||||
EnvVars: []string{"ACCOUNTS_GID_INDEX_UPPER_BOUND"},
|
||||
Destination: &cfg.Index.GID.Upper,
|
||||
@@ -243,14 +247,14 @@ func UpdateAccountWithConfig(cfg *config.Config, a *accounts.Account) []cli.Flag
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "grpc-namespace",
|
||||
Value: "com.owncloud.api",
|
||||
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
|
||||
Usage: "Set the base namespace for the grpc namespace",
|
||||
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
|
||||
Destination: &cfg.GRPC.Namespace,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "name",
|
||||
Value: "accounts",
|
||||
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
|
||||
Usage: "service name",
|
||||
EnvVars: []string{"ACCOUNTS_NAME"},
|
||||
Destination: &cfg.Server.Name,
|
||||
@@ -327,14 +331,14 @@ func AddAccountWithConfig(cfg *config.Config, a *accounts.Account) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "grpc-namespace",
|
||||
Value: "com.owncloud.api",
|
||||
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
|
||||
Usage: "Set the base namespace for the grpc namespace",
|
||||
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
|
||||
Destination: &cfg.GRPC.Namespace,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "name",
|
||||
Value: "accounts",
|
||||
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
|
||||
Usage: "service name",
|
||||
EnvVars: []string{"ACCOUNTS_NAME"},
|
||||
Destination: &cfg.Server.Name,
|
||||
@@ -411,14 +415,14 @@ func ListAccountsWithConfig(cfg *config.Config) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "grpc-namespace",
|
||||
Value: "com.owncloud.api",
|
||||
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
|
||||
Usage: "Set the base namespace for the grpc namespace",
|
||||
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
|
||||
Destination: &cfg.GRPC.Namespace,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "name",
|
||||
Value: "accounts",
|
||||
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
|
||||
Usage: "service name",
|
||||
EnvVars: []string{"ACCOUNTS_NAME"},
|
||||
Destination: &cfg.Server.Name,
|
||||
@@ -431,14 +435,14 @@ func RemoveAccountWithConfig(cfg *config.Config) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "grpc-namespace",
|
||||
Value: "com.owncloud.api",
|
||||
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
|
||||
Usage: "Set the base namespace for the grpc namespace",
|
||||
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
|
||||
Destination: &cfg.GRPC.Namespace,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "name",
|
||||
Value: "accounts",
|
||||
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
|
||||
Usage: "service name",
|
||||
EnvVars: []string{"ACCOUNTS_NAME"},
|
||||
Destination: &cfg.Server.Name,
|
||||
@@ -451,14 +455,14 @@ func InspectAccountWithConfig(cfg *config.Config) []cli.Flag {
|
||||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "grpc-namespace",
|
||||
Value: "com.owncloud.api",
|
||||
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
|
||||
Usage: "Set the base namespace for the grpc namespace",
|
||||
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
|
||||
Destination: &cfg.GRPC.Namespace,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "name",
|
||||
Value: "accounts",
|
||||
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
|
||||
Usage: "service name",
|
||||
EnvVars: []string{"ACCOUNTS_NAME"},
|
||||
Destination: &cfg.Server.Name,
|
||||
|
||||
@@ -3,8 +3,8 @@ package proto
|
||||
import (
|
||||
context "context"
|
||||
|
||||
client "github.com/asim/go-micro/v3/client"
|
||||
empty "github.com/golang/protobuf/ptypes/empty"
|
||||
client "github.com/micro/go-micro/v2/client"
|
||||
)
|
||||
|
||||
// MockAccountsService can be used to write tests
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -8,6 +8,7 @@ import (
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
empty "github.com/golang/protobuf/ptypes/empty"
|
||||
_ "github.com/golang/protobuf/ptypes/timestamp"
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
_ "google.golang.org/genproto/protobuf/field_mask"
|
||||
math "math"
|
||||
@@ -15,9 +16,9 @@ import (
|
||||
|
||||
import (
|
||||
context "context"
|
||||
api "github.com/micro/go-micro/v2/api"
|
||||
client "github.com/micro/go-micro/v2/client"
|
||||
server "github.com/micro/go-micro/v2/server"
|
||||
api "github.com/asim/go-micro/v3/api"
|
||||
client "github.com/asim/go-micro/v3/client"
|
||||
server "github.com/asim/go-micro/v3/server"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
|
||||
@@ -10,9 +10,11 @@ import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
mgrpcc "github.com/asim/go-micro/plugins/client/grpc/v3"
|
||||
|
||||
"github.com/asim/go-micro/v3/client"
|
||||
merrors "github.com/asim/go-micro/v3/errors"
|
||||
"github.com/golang/protobuf/ptypes/empty"
|
||||
"github.com/micro/go-micro/v2/client"
|
||||
merrors "github.com/micro/go-micro/v2/errors"
|
||||
"github.com/owncloud/ocis/accounts/pkg/command"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
@@ -24,7 +26,7 @@ import (
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
var service = grpc.Service{}
|
||||
var service = grpc.NewService()
|
||||
|
||||
var dataPath = createTmpDir()
|
||||
|
||||
@@ -126,7 +128,7 @@ func getGroup(group string) *proto.Group {
|
||||
switch group {
|
||||
case "sysusers":
|
||||
return &proto.Group{Id: "34f38767-c937-4eb6-b847-1c175829a2a0", GidNumber: 15000, OnPremisesSamAccountName: "sysusers", DisplayName: "Technical users", Description: "A group for technical users. They should not show up in sharing dialogs.", Members: []*proto.Account{
|
||||
{Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf"}, // konnectd
|
||||
{Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf"}, // idp
|
||||
{Id: "bc596f3c-c955-4328-80a0-60d018b4ad57"}, // reva
|
||||
}}
|
||||
case "users":
|
||||
@@ -302,18 +304,18 @@ func assertGroupsSame(t *testing.T, grp1, grp2 *proto.Group) {
|
||||
}
|
||||
}
|
||||
|
||||
func assertGroupHasMember(t *testing.T, grp *proto.Group, memberId string) {
|
||||
func assertGroupHasMember(t *testing.T, grp *proto.Group, memberID string) {
|
||||
for _, m := range grp.Members {
|
||||
if m.Id == memberId {
|
||||
if m.Id == memberID {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
t.Fatalf("Member with id %s expected to be in group '%s', but not found", memberId, grp.DisplayName)
|
||||
t.Fatalf("Member with id %s expected to be in group '%s', but not found", memberID, grp.DisplayName)
|
||||
}
|
||||
|
||||
func createAccount(t *testing.T, user string) (*proto.Account, error) {
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
|
||||
|
||||
account := getAccount(user)
|
||||
@@ -326,7 +328,7 @@ func createAccount(t *testing.T, user string) (*proto.Account, error) {
|
||||
}
|
||||
|
||||
func createGroup(t *testing.T, group *proto.Group) (*proto.Group, error) {
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
request := &proto.CreateGroupRequest{Group: group}
|
||||
@@ -338,7 +340,7 @@ func createGroup(t *testing.T, group *proto.Group) (*proto.Group, error) {
|
||||
}
|
||||
|
||||
func updateAccount(t *testing.T, account *proto.Account, updateArray []string) (*proto.Account, error) {
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
|
||||
|
||||
updateMask := &field_mask.FieldMask{
|
||||
@@ -352,7 +354,7 @@ func updateAccount(t *testing.T, account *proto.Account, updateArray []string) (
|
||||
|
||||
func listAccounts(t *testing.T) (*proto.ListAccountsResponse, error) {
|
||||
request := &proto.ListAccountsRequest{}
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
|
||||
|
||||
response, err := cl.ListAccounts(context.Background(), request)
|
||||
@@ -361,7 +363,7 @@ func listAccounts(t *testing.T) (*proto.ListAccountsResponse, error) {
|
||||
|
||||
func listGroups(t *testing.T) *proto.ListGroupsResponse {
|
||||
request := &proto.ListGroupsRequest{}
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
response, err := cl.ListGroups(context.Background(), request)
|
||||
@@ -370,7 +372,7 @@ func listGroups(t *testing.T) *proto.ListGroupsResponse {
|
||||
}
|
||||
|
||||
func deleteAccount(t *testing.T, id string) (*empty.Empty, error) {
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
|
||||
|
||||
req := &proto.DeleteAccountRequest{Id: id}
|
||||
@@ -379,7 +381,7 @@ func deleteAccount(t *testing.T, id string) (*empty.Empty, error) {
|
||||
}
|
||||
|
||||
func deleteGroup(t *testing.T, id string) (*empty.Empty, error) {
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
req := &proto.DeleteGroupRequest{Id: id}
|
||||
@@ -554,7 +556,8 @@ func TestUpdateAccount(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestUpdateNonUpdatableFieldsInAccount(t *testing.T) {
|
||||
_, _ = createAccount(t, "user1")
|
||||
_, err := createAccount(t, "user1")
|
||||
assert.NoError(t, err)
|
||||
|
||||
tests := []struct {
|
||||
name string
|
||||
@@ -622,8 +625,10 @@ func TestUpdateNonUpdatableFieldsInAccount(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestListAccounts(t *testing.T) {
|
||||
createAccount(t, "user1")
|
||||
createAccount(t, "user2")
|
||||
_, err := createAccount(t, "user1")
|
||||
assert.NoError(t, err)
|
||||
_, err = createAccount(t, "user2")
|
||||
assert.NoError(t, err)
|
||||
|
||||
resp, err := listAccounts(t)
|
||||
assert.NoError(t, err)
|
||||
@@ -744,7 +749,8 @@ func TestListAccountsWithFilterQuery(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetAccount(t *testing.T) {
|
||||
createAccount(t, "user1")
|
||||
_, err := createAccount(t, "user1")
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &proto.GetAccountRequest{Id: getAccount("user1").Id}
|
||||
|
||||
@@ -762,12 +768,14 @@ func TestGetAccount(t *testing.T) {
|
||||
//TODO: This segfaults! WIP
|
||||
|
||||
func TestDeleteAccount(t *testing.T) {
|
||||
createAccount(t, "user1")
|
||||
createAccount(t, "user2")
|
||||
_, err := createAccount(t, "user1")
|
||||
assert.NoError(t, err)
|
||||
_, err = createAccount(t, "user2")
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &proto.DeleteAccountRequest{Id: getAccount("user1").Id}
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
|
||||
|
||||
resp, err := cl.DeleteAccount(context.Background(), req)
|
||||
@@ -785,7 +793,7 @@ func TestDeleteAccount(t *testing.T) {
|
||||
func TestListGroups(t *testing.T) {
|
||||
req := &proto.ListGroupsRequest{}
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
resp, err := cl.ListGroups(context.Background(), req)
|
||||
@@ -812,7 +820,7 @@ func TestListGroups(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetGroups(t *testing.T) {
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
groups := []string{
|
||||
@@ -860,7 +868,7 @@ func TestCreateGroup(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetGroupInvalidID(t *testing.T) {
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
req := &proto.GetGroupRequest{Id: "42"}
|
||||
@@ -876,11 +884,14 @@ func TestDeleteGroup(t *testing.T) {
|
||||
grp1 := getTestGroups("grp1")
|
||||
grp2 := getTestGroups("grp2")
|
||||
grp3 := getTestGroups("grp3")
|
||||
createGroup(t, grp1)
|
||||
createGroup(t, grp2)
|
||||
createGroup(t, grp3)
|
||||
_, err := createGroup(t, grp1)
|
||||
assert.NoError(t, err)
|
||||
_, err = createGroup(t, grp2)
|
||||
assert.NoError(t, err)
|
||||
_, err = createGroup(t, grp3)
|
||||
assert.NoError(t, err)
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
req := &proto.DeleteGroupRequest{Id: grp1.Id}
|
||||
@@ -909,7 +920,7 @@ func TestDeleteGroupNotExisting(t *testing.T) {
|
||||
" ",
|
||||
}
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
for _, id := range invalidIds {
|
||||
@@ -932,7 +943,7 @@ func TestDeleteGroupInvalidId(t *testing.T) {
|
||||
"": ".",
|
||||
}
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
for id := range invalidIds {
|
||||
@@ -947,9 +958,10 @@ func TestDeleteGroupInvalidId(t *testing.T) {
|
||||
|
||||
func TestUpdateGroup(t *testing.T) {
|
||||
grp1 := getTestGroups("grp1")
|
||||
createGroup(t, grp1)
|
||||
_, err := createGroup(t, grp1)
|
||||
assert.NoError(t, err)
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
updateGrp := &proto.Group{
|
||||
@@ -975,10 +987,12 @@ func TestAddMember(t *testing.T) {
|
||||
updatedGroup := grp1
|
||||
updatedGroup.Members = append(updatedGroup.Members, &proto.Account{Id: account.Id})
|
||||
|
||||
createGroup(t, grp1)
|
||||
createAccount(t, account.PreferredName)
|
||||
_, err := createGroup(t, grp1)
|
||||
assert.NoError(t, err)
|
||||
_, err = createAccount(t, account.PreferredName)
|
||||
assert.NoError(t, err)
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
req := &proto.AddMemberRequest{GroupId: grp1.Id, AccountId: account.Id}
|
||||
@@ -1005,12 +1019,15 @@ func TestAddMemberAlreadyInGroup(t *testing.T) {
|
||||
updatedGroup := grp1
|
||||
updatedGroup.Members = append(updatedGroup.Members, &proto.Account{Id: account.Id})
|
||||
|
||||
createGroup(t, grp1)
|
||||
createAccount(t, account.PreferredName)
|
||||
_, err := createGroup(t, grp1)
|
||||
assert.NoError(t, err)
|
||||
_, err = createAccount(t, account.PreferredName)
|
||||
assert.NoError(t, err)
|
||||
|
||||
addMemberToGroup(t, grp1.Id, account.Id)
|
||||
_, err = addMemberToGroup(t, grp1.Id, account.Id)
|
||||
assert.NoError(t, err)
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
req := &proto.AddMemberRequest{GroupId: grp1.Id, AccountId: account.Id}
|
||||
@@ -1033,9 +1050,10 @@ func TestAddMemberAlreadyInGroup(t *testing.T) {
|
||||
func TestAddMemberNonExisting(t *testing.T) {
|
||||
grp1 := getTestGroups("grp1")
|
||||
|
||||
createGroup(t, grp1)
|
||||
_, err := createGroup(t, grp1)
|
||||
assert.NoError(t, err)
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
invalidIds := []string{
|
||||
@@ -1062,11 +1080,11 @@ func TestAddMemberNonExisting(t *testing.T) {
|
||||
cleanUp(t)
|
||||
}
|
||||
|
||||
func addMemberToGroup(t *testing.T, groupId, memberId string) (*proto.Group, error) {
|
||||
client := service.Client()
|
||||
func addMemberToGroup(t *testing.T, groupID, memberID string) (*proto.Group, error) {
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
req := &proto.AddMemberRequest{GroupId: groupId, AccountId: memberId}
|
||||
req := &proto.AddMemberRequest{GroupId: groupID, AccountId: memberID}
|
||||
|
||||
res, err := cl.AddMember(context.Background(), req)
|
||||
|
||||
@@ -1078,12 +1096,15 @@ func TestRemoveMember(t *testing.T) {
|
||||
grp1 := getTestGroups("grp1")
|
||||
account := getAccount("user1")
|
||||
|
||||
createGroup(t, grp1)
|
||||
createAccount(t, account.PreferredName)
|
||||
_, err := createGroup(t, grp1)
|
||||
assert.NoError(t, err)
|
||||
_, err = createAccount(t, account.PreferredName)
|
||||
assert.NoError(t, err)
|
||||
|
||||
addMemberToGroup(t, grp1.Id, account.Id)
|
||||
_, err = addMemberToGroup(t, grp1.Id, account.Id)
|
||||
assert.NoError(t, err)
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
req := &proto.RemoveMemberRequest{GroupId: grp1.Id, AccountId: account.Id}
|
||||
@@ -1104,9 +1125,10 @@ func TestRemoveMember(t *testing.T) {
|
||||
func TestRemoveMemberNonExistingUser(t *testing.T) {
|
||||
grp1 := getTestGroups("grp1")
|
||||
|
||||
createGroup(t, grp1)
|
||||
_, err := createGroup(t, grp1)
|
||||
assert.NoError(t, err)
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
invalidIds := []string{
|
||||
@@ -1137,10 +1159,12 @@ func TestRemoveMemberNotInGroup(t *testing.T) {
|
||||
grp1 := getTestGroups("grp1")
|
||||
account := getAccount("user1")
|
||||
|
||||
createGroup(t, grp1)
|
||||
createAccount(t, account.PreferredName)
|
||||
_, err := createGroup(t, grp1)
|
||||
assert.NoError(t, err)
|
||||
_, err = createAccount(t, account.PreferredName)
|
||||
assert.NoError(t, err)
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
req := &proto.RemoveMemberRequest{GroupId: grp1.Id, AccountId: account.Id}
|
||||
@@ -1177,7 +1201,7 @@ func TestListMembers(t *testing.T) {
|
||||
"physics-lovers",
|
||||
}
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
for _, group := range groups {
|
||||
@@ -1209,7 +1233,7 @@ func TestListMembers(t *testing.T) {
|
||||
func TestListMembersEmptyGroup(t *testing.T) {
|
||||
group := &proto.Group{Id: "5d58e5ec-842e-498b-8800-61f2ec6f911c", GidNumber: 60000, OnPremisesSamAccountName: "quantum-group", DisplayName: "Quantum Group", Members: []*proto.Account{}}
|
||||
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
|
||||
|
||||
request := &proto.CreateGroupRequest{Group: group}
|
||||
@@ -1229,9 +1253,11 @@ func TestListMembersEmptyGroup(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestAccountUpdateMask(t *testing.T) {
|
||||
createAccount(t, "user1")
|
||||
_, err := createAccount(t, "user1")
|
||||
assert.NoError(t, err)
|
||||
|
||||
user1 := getAccount("user1")
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
req := &proto.UpdateAccountRequest{
|
||||
// We only want to update the display-name, rest should be ignored
|
||||
UpdateMask: &field_mask.FieldMask{Paths: []string{"DisplayName"}},
|
||||
@@ -1252,9 +1278,11 @@ func TestAccountUpdateMask(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestAccountUpdateReadOnlyField(t *testing.T) {
|
||||
createAccount(t, "user1")
|
||||
_, err := createAccount(t, "user1")
|
||||
assert.NoError(t, err)
|
||||
|
||||
user1 := getAccount("user1")
|
||||
client := service.Client()
|
||||
client := mgrpcc.NewClient()
|
||||
req := &proto.UpdateAccountRequest{
|
||||
// We only want to update the display-name, rest should be ignored
|
||||
UpdateMask: &field_mask.FieldMask{Paths: []string{"CreatedDateTime"}},
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "pkg/proto/v0;proto";
|
||||
package com.owncloud.ocis.accounts.v0;
|
||||
|
||||
package settings;
|
||||
option go_package = "github.com/owncloud/ocis/accounts/pkg/proto/v0;proto";
|
||||
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/annotations.proto";
|
||||
@@ -10,6 +10,32 @@ import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/field_mask.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
||||
info: {
|
||||
title: "ownCloud Infinite Scale accounts";
|
||||
version: "1.0.0";
|
||||
contact: {
|
||||
name: "ownCloud GmbH";
|
||||
url: "https://github.com/owncloud/ocis";
|
||||
email: "support@owncloud.com";
|
||||
};
|
||||
license: {
|
||||
name: "Apache-2.0";
|
||||
url: "https://github.com/owncloud/ocis/blob/master/LICENSE";
|
||||
};
|
||||
};
|
||||
schemes: HTTP;
|
||||
schemes: HTTPS;
|
||||
consumes: "application/json";
|
||||
produces: "application/json";
|
||||
external_docs: {
|
||||
description: "Developer Manual";
|
||||
url: "https://owncloud.dev/extensions/accounts/";
|
||||
};
|
||||
};
|
||||
|
||||
// Follow recommended Methods for rpc APIs https://cloud.google.com/apis/design/resources?hl=de#methods
|
||||
// https://cloud.google.com/apis/design/standard_methods?hl=de#list
|
||||
// https://cloud.google.com/apis/design/naming_convention?hl=de
|
||||
@@ -242,13 +268,13 @@ message Account {
|
||||
|
||||
// Indicates whether the account was created as
|
||||
// - a regular school or work account ("" / emptystring),
|
||||
// - a local account, fully managed by ocis (LocalAccount), includes synced accounts or
|
||||
// - a local account, fully managed by oCIS (LocalAccount), includes synced accounts or
|
||||
// - an external account (Invitation),
|
||||
// - self-service sign-up using email verification (EmailVerified). Read-only.
|
||||
string creation_type = 4;
|
||||
|
||||
// Represents the identities that can be used to sign in to this account.
|
||||
// An identity can be provided by OCIS (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and is tied to an account.
|
||||
// An identity can be provided by oCIS (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and is tied to an account.
|
||||
// May contain multiple items with the same signInType value. Supports $filter.
|
||||
repeated Identities identities = 5;
|
||||
|
||||
@@ -321,7 +347,7 @@ message Account {
|
||||
// null if this object has never been synced from an on-premises directory (default). Read-only
|
||||
bool on_premises_sync_enabled = 20;
|
||||
|
||||
// This property is used to associate an on-premises LDAP user to the ocis account object.
|
||||
// This property is used to associate an on-premises LDAP user to the oCIS account object.
|
||||
// This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
|
||||
// Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
|
||||
string on_premises_immutable_id = 21;
|
||||
@@ -382,7 +408,7 @@ message Account {
|
||||
}
|
||||
|
||||
// Identities Represents an identity used to sign in to a user account.
|
||||
// An identity can be provided by ocis, by organizations, or by social identity providers such as Facebook, Google, or Microsoft, that are tied to a user account.
|
||||
// An identity can be provided by oCIS, by organizations, or by social identity providers such as Facebook, Google, or Microsoft, that are tied to a user account.
|
||||
// This enables the user to sign in to the user account with any of those associated identities.
|
||||
// They are also used to keep a history of old usernames.
|
||||
message Identities {
|
||||
@@ -627,7 +653,7 @@ message Group {
|
||||
// Returned by default. Read-only. Supports $filter.
|
||||
bool on_premises_sync_enabled = 20;
|
||||
|
||||
// This property is used to associate an on-premises LDAP user to the ocis account object.
|
||||
// This property is used to associate an on-premises LDAP user to the oCIS account object.
|
||||
// This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
|
||||
// Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
|
||||
string on_premises_immutable_id = 21;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,6 +1,7 @@
|
||||
package http
|
||||
|
||||
import (
|
||||
"github.com/asim/go-micro/v3"
|
||||
"github.com/go-chi/chi"
|
||||
"github.com/owncloud/ocis/accounts/pkg/assets"
|
||||
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
@@ -60,13 +61,11 @@ func Server(opts ...Option) http.Service {
|
||||
proto.RegisterGroupsServiceWeb(r, handler)
|
||||
})
|
||||
|
||||
service.Handle(
|
||||
"/",
|
||||
mux,
|
||||
)
|
||||
|
||||
if err := service.Init(); err != nil {
|
||||
panic(err)
|
||||
err := micro.RegisterHandler(service.Server(), mux)
|
||||
if err != nil {
|
||||
options.Logger.Fatal().Err(err).Msg("failed to register the handler")
|
||||
}
|
||||
|
||||
service.Init()
|
||||
return service
|
||||
}
|
||||
@@ -6,21 +6,22 @@ import (
|
||||
"crypto/sha256"
|
||||
"encoding/hex"
|
||||
"fmt"
|
||||
"github.com/owncloud/ocis/ocis-pkg/sync"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
"io"
|
||||
"path"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/owncloud/ocis/ocis-pkg/sync"
|
||||
"golang.org/x/crypto/bcrypt"
|
||||
|
||||
"github.com/owncloud/ocis/ocis-pkg/log"
|
||||
|
||||
merrors "github.com/asim/go-micro/v3/errors"
|
||||
"github.com/asim/go-micro/v3/metadata"
|
||||
"github.com/gofrs/uuid"
|
||||
p "github.com/golang/protobuf/proto"
|
||||
"github.com/golang/protobuf/ptypes/empty"
|
||||
fieldmask_utils "github.com/mennanov/fieldmask-utils"
|
||||
merrors "github.com/micro/go-micro/v2/errors"
|
||||
"github.com/micro/go-micro/v2/metadata"
|
||||
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"github.com/owncloud/ocis/accounts/pkg/storage"
|
||||
"github.com/owncloud/ocis/ocis-pkg/middleware"
|
||||
@@ -29,6 +30,7 @@ import (
|
||||
settings_svc "github.com/owncloud/ocis/settings/pkg/service/v0"
|
||||
"github.com/rs/zerolog"
|
||||
"google.golang.org/genproto/protobuf/field_mask"
|
||||
p "google.golang.org/protobuf/proto"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
)
|
||||
|
||||
@@ -171,11 +173,11 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
|
||||
var suspicious bool
|
||||
|
||||
kh := sha256.New()
|
||||
kh.Write([]byte(a.Id))
|
||||
mustWrite(kh, []byte(a.Id))
|
||||
k := hex.EncodeToString(kh.Sum([]byte(a.PasswordProfile.LastPasswordChangeDateTime.String())))
|
||||
|
||||
vh := sha256.New()
|
||||
vh.Write([]byte(a.PasswordProfile.Password))
|
||||
mustWrite(vh, []byte(a.PasswordProfile.Password))
|
||||
v := vh.Sum([]byte(password))
|
||||
|
||||
e := passwordValidCache.Load(k)
|
||||
@@ -837,3 +839,9 @@ func isPasswordValid(logger log.Logger, hash string, pwd string) (ok bool) {
|
||||
|
||||
return bcrypt.CompareHashAndPassword([]byte(hash), []byte(pwd)) == nil
|
||||
}
|
||||
|
||||
func mustWrite(w io.Writer, val []byte) {
|
||||
if _, err := w.Write(val); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/asim/go-micro/v3/client"
|
||||
merrors "github.com/asim/go-micro/v3/errors"
|
||||
"github.com/asim/go-micro/v3/metadata"
|
||||
"github.com/golang/protobuf/ptypes/empty"
|
||||
"github.com/micro/go-micro/v2/client"
|
||||
merrors "github.com/micro/go-micro/v2/errors"
|
||||
"github.com/micro/go-micro/v2/metadata"
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
olog "github.com/owncloud/ocis/ocis-pkg/log"
|
||||
|
||||
@@ -5,12 +5,12 @@ import (
|
||||
"path"
|
||||
"strconv"
|
||||
|
||||
merrors "github.com/asim/go-micro/v3/errors"
|
||||
"github.com/gofrs/uuid"
|
||||
p "github.com/golang/protobuf/proto"
|
||||
"github.com/golang/protobuf/ptypes/empty"
|
||||
merrors "github.com/micro/go-micro/v2/errors"
|
||||
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"github.com/owncloud/ocis/accounts/pkg/storage"
|
||||
p "google.golang.org/protobuf/proto"
|
||||
)
|
||||
|
||||
func (s Service) expandMembers(g *proto.Group) {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@ import (
|
||||
"github.com/owncloud/ocis/accounts/pkg/config"
|
||||
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
|
||||
"github.com/owncloud/ocis/ocis-pkg/log"
|
||||
oreg "github.com/owncloud/ocis/ocis-pkg/registry"
|
||||
"github.com/owncloud/ocis/ocis-pkg/roles"
|
||||
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
|
||||
settings_svc "github.com/owncloud/ocis/settings/pkg/service/v0"
|
||||
)
|
||||
|
||||
// userDefaultGID is the default integer representing the "users" group.
|
||||
@@ -57,6 +57,18 @@ func New(opts ...Option) (s *Service, err error) {
|
||||
repo: createMetadataStorage(cfg, logger),
|
||||
}
|
||||
|
||||
r := oreg.GetRegistry()
|
||||
if cfg.Repo.Disk.Path == "" {
|
||||
if _, err := r.GetService("com.owncloud.storage.metadata"); err != nil {
|
||||
logger.Error().Err(err).Msg("index: storage-metadata service not present")
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
// we want to wait anyway. If it depends on a reva service it could be the case that the entry on the registry
|
||||
// happens prior to the reva service being up and running
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
||||
if s.index, err = s.buildIndex(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -68,7 +80,6 @@ func New(opts ...Option) (s *Service, err error) {
|
||||
if err = s.createDefaultGroups(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// TODO watch folders for new records
|
||||
return
|
||||
}
|
||||
|
||||
@@ -236,14 +247,14 @@ func (s Service) createDefaultAccounts() (err error) {
|
||||
// technical users for kopano and reva
|
||||
{
|
||||
Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf",
|
||||
PreferredName: "konnectd",
|
||||
OnPremisesSamAccountName: "konnectd",
|
||||
PreferredName: "idp",
|
||||
OnPremisesSamAccountName: "idp",
|
||||
Mail: "idp@example.org",
|
||||
DisplayName: "Kopano Konnectd",
|
||||
DisplayName: "Kopano IDP",
|
||||
UidNumber: 10000,
|
||||
GidNumber: 15000,
|
||||
PasswordProfile: &proto.PasswordProfile{
|
||||
Password: "$2a$11$ntoTP2W/kyQIuoYpH5mRBuNzaEERYWSwn/zCsY5rtffen4d41y9.6",
|
||||
Password: "$2y$12$ywfGLDPsSlBTVZU0g.2GZOPO8Wap3rVOpm8e3192VlytNdGWH7x72",
|
||||
},
|
||||
AccountEnabled: true,
|
||||
MemberOf: []*proto.Group{
|
||||
@@ -267,7 +278,14 @@ func (s Service) createDefaultAccounts() (err error) {
|
||||
},
|
||||
},
|
||||
}
|
||||
// this only deals with the metadata service.
|
||||
for i := range accounts {
|
||||
a := &proto.Account{}
|
||||
err := s.repo.LoadAccount(context.Background(), accounts[i].Id, a)
|
||||
if !storage.IsNotFoundErr(err) {
|
||||
continue // account already exists -> do not overwrite
|
||||
}
|
||||
|
||||
if err := s.repo.WriteAccount(context.Background(), &accounts[i]); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -281,7 +299,6 @@ func (s Service) createDefaultAccounts() (err error) {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: can be removed again as soon as we respect the predefined UIDs and GIDs from the account. Then no autoincrement is happening, therefore we don't need to update accounts.
|
||||
changed := false
|
||||
for _, r := range results {
|
||||
if r.Field == "UidNumber" || r.Field == "GidNumber" {
|
||||
@@ -303,31 +320,13 @@ func (s Service) createDefaultAccounts() (err error) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// set role for admin users and regular users
|
||||
assignRoleToUser("058bff95-6708-4fe5-91e4-9ea3d377588b", settings_svc.BundleUUIDRoleAdmin, s.RoleService, s.log)
|
||||
for _, accountID := range []string{
|
||||
"058bff95-6708-4fe5-91e4-9ea3d377588b", //moss
|
||||
"ddc2004c-0977-11eb-9d3f-a793888cd0f8", //admin
|
||||
"820ba2a1-3f54-4538-80a4-2d73007e30bf", //konnectd
|
||||
"bc596f3c-c955-4328-80a0-60d018b4ad57", //reva
|
||||
} {
|
||||
assignRoleToUser(accountID, settings_svc.BundleUUIDRoleAdmin, s.RoleService, s.log)
|
||||
}
|
||||
for _, accountID := range []string{
|
||||
"4c510ada-c86b-4815-8820-42cdf82c3d51", //einstein
|
||||
"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c", //marie
|
||||
"932b4540-8d16-481e-8ef4-588e4b6b151c", //richard
|
||||
} {
|
||||
assignRoleToUser(accountID, settings_svc.BundleUUIDRoleUser, s.RoleService, s.log)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s Service) createDefaultGroups() (err error) {
|
||||
groups := []proto.Group{
|
||||
{Id: "34f38767-c937-4eb6-b847-1c175829a2a0", GidNumber: 15000, OnPremisesSamAccountName: "sysusers", DisplayName: "Technical users", Description: "A group for technical users. They should not show up in sharing dialogs.", Members: []*proto.Account{
|
||||
{Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf"}, // konnectd
|
||||
{Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf"}, // idp
|
||||
{Id: "bc596f3c-c955-4328-80a0-60d018b4ad57"}, // reva
|
||||
}},
|
||||
{Id: "509a9dcd-bb37-4f4f-a01a-19dca27d9cfa", GidNumber: 30000, OnPremisesSamAccountName: "users", DisplayName: "Users", Description: "A group every normal user belongs to.", Members: []*proto.Account{
|
||||
@@ -360,6 +359,12 @@ func (s Service) createDefaultGroups() (err error) {
|
||||
}},
|
||||
}
|
||||
for i := range groups {
|
||||
g := &proto.Group{}
|
||||
err := s.repo.LoadGroup(context.Background(), groups[i].Id, g)
|
||||
if !storage.IsNotFoundErr(err) {
|
||||
continue // group already exists -> do not overwrite
|
||||
}
|
||||
|
||||
if err := s.repo.WriteGroup(context.Background(), &groups[i]); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -391,18 +396,6 @@ func (s Service) createDefaultGroups() (err error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
func assignRoleToUser(accountID, roleID string, rs settings.RoleService, logger log.Logger) (ok bool) {
|
||||
_, err := rs.AssignRoleToUser(context.Background(), &settings.AssignRoleToUserRequest{
|
||||
AccountUuid: accountID,
|
||||
RoleId: roleID,
|
||||
})
|
||||
if err != nil {
|
||||
logger.Error().Err(err).Str("accountID", accountID).Str("roleID", roleID).Msg("could not set role for account")
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
func createMetadataStorage(cfg *config.Config, logger log.Logger) storage.Repo {
|
||||
// for now we detect the used storage implementation based on which storage is configured
|
||||
// the config with defaults needs to be checked last
|
||||
|
||||
@@ -1,194 +0,0 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
olog "github.com/owncloud/ocis/ocis-pkg/log"
|
||||
"github.com/owncloud/ocis/ocis-pkg/service/grpc"
|
||||
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
|
||||
ssvc "github.com/owncloud/ocis/settings/pkg/service/v0"
|
||||
)
|
||||
|
||||
const (
|
||||
settingUUIDProfileLanguage = "aa8cfbe5-95d4-4f7e-a032-c3c01f5f062f"
|
||||
)
|
||||
|
||||
// RegisterSettingsBundles pushes the settings bundle definitions for this extension to the ocis-settings service.
|
||||
func RegisterSettingsBundles(l *olog.Logger) {
|
||||
service := settings.NewBundleService("com.owncloud.api.settings", grpc.DefaultClient)
|
||||
|
||||
bundleRequests := []settings.SaveBundleRequest{
|
||||
generateBundleProfileRequest(),
|
||||
}
|
||||
|
||||
for i := range bundleRequests {
|
||||
res, err := service.SaveBundle(context.Background(), &bundleRequests[i])
|
||||
if err != nil {
|
||||
l.Err(err).Str("bundle", bundleRequests[i].Bundle.Id).Msg("Error registering bundle")
|
||||
} else {
|
||||
l.Info().Str("bundle", res.Bundle.Id).Msg("Successfully registered bundle")
|
||||
}
|
||||
}
|
||||
|
||||
permissionRequests := generateProfilePermissionsRequests()
|
||||
for i := range permissionRequests {
|
||||
res, err := service.AddSettingToBundle(context.Background(), &permissionRequests[i])
|
||||
bundleID := permissionRequests[i].BundleId
|
||||
if err != nil {
|
||||
l.Err(err).Str("bundle", bundleID).Str("setting", permissionRequests[i].Setting.Id).Msg("Error adding setting to bundle")
|
||||
} else {
|
||||
l.Info().Str("bundle", bundleID).Str("setting", res.Setting.Id).Msg("Successfully added setting to bundle")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var languageSetting = settings.Setting_SingleChoiceValue{
|
||||
SingleChoiceValue: &settings.SingleChoiceList{
|
||||
Options: []*settings.ListOption{
|
||||
{
|
||||
Value: &settings.ListOptionValue{
|
||||
Option: &settings.ListOptionValue_StringValue{
|
||||
StringValue: "cs",
|
||||
},
|
||||
},
|
||||
DisplayValue: "Czech",
|
||||
},
|
||||
{
|
||||
Value: &settings.ListOptionValue{
|
||||
Option: &settings.ListOptionValue_StringValue{
|
||||
StringValue: "de",
|
||||
},
|
||||
},
|
||||
DisplayValue: "Deutsch",
|
||||
},
|
||||
{
|
||||
Value: &settings.ListOptionValue{
|
||||
Option: &settings.ListOptionValue_StringValue{
|
||||
StringValue: "en",
|
||||
},
|
||||
},
|
||||
DisplayValue: "English",
|
||||
},
|
||||
{
|
||||
Value: &settings.ListOptionValue{
|
||||
Option: &settings.ListOptionValue_StringValue{
|
||||
StringValue: "es",
|
||||
},
|
||||
},
|
||||
DisplayValue: "Español",
|
||||
},
|
||||
{
|
||||
Value: &settings.ListOptionValue{
|
||||
Option: &settings.ListOptionValue_StringValue{
|
||||
StringValue: "fr",
|
||||
},
|
||||
},
|
||||
DisplayValue: "Français",
|
||||
},
|
||||
{
|
||||
Value: &settings.ListOptionValue{
|
||||
Option: &settings.ListOptionValue_StringValue{
|
||||
StringValue: "gl",
|
||||
},
|
||||
},
|
||||
DisplayValue: "Galego",
|
||||
},
|
||||
{
|
||||
Value: &settings.ListOptionValue{
|
||||
Option: &settings.ListOptionValue_StringValue{
|
||||
StringValue: "it",
|
||||
},
|
||||
},
|
||||
DisplayValue: "Italiano",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
func generateBundleProfileRequest() settings.SaveBundleRequest {
|
||||
return settings.SaveBundleRequest{
|
||||
Bundle: &settings.Bundle{
|
||||
Id: "2a506de7-99bd-4f0d-994e-c38e72c28fd9",
|
||||
Name: "profile",
|
||||
Extension: "ocis-accounts",
|
||||
Type: settings.Bundle_TYPE_DEFAULT,
|
||||
Resource: &settings.Resource{
|
||||
Type: settings.Resource_TYPE_SYSTEM,
|
||||
},
|
||||
DisplayName: "Profile",
|
||||
Settings: []*settings.Setting{
|
||||
{
|
||||
Id: settingUUIDProfileLanguage,
|
||||
Name: "language",
|
||||
DisplayName: "Language",
|
||||
Description: "User language",
|
||||
Resource: &settings.Resource{
|
||||
Type: settings.Resource_TYPE_USER,
|
||||
},
|
||||
Value: &languageSetting,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func generateProfilePermissionsRequests() []settings.AddSettingToBundleRequest {
|
||||
// TODO: we don't want to set up permissions for settings manually in the future. Instead each setting should come with
|
||||
// a set of default permissions for the default roles (guest, user, admin).
|
||||
return []settings.AddSettingToBundleRequest{
|
||||
{
|
||||
BundleId: ssvc.BundleUUIDRoleAdmin,
|
||||
Setting: &settings.Setting{
|
||||
Id: "7d81f103-0488-4853-bce5-98dcce36d649",
|
||||
Name: "language-readwrite",
|
||||
DisplayName: "Permission to read and set the language (anyone)",
|
||||
Resource: &settings.Resource{
|
||||
Type: settings.Resource_TYPE_SETTING,
|
||||
Id: settingUUIDProfileLanguage,
|
||||
},
|
||||
Value: &settings.Setting_PermissionValue{
|
||||
PermissionValue: &settings.Permission{
|
||||
Operation: settings.Permission_OPERATION_READWRITE,
|
||||
Constraint: settings.Permission_CONSTRAINT_ALL,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
BundleId: ssvc.BundleUUIDRoleUser,
|
||||
Setting: &settings.Setting{
|
||||
Id: "640e00d2-4df8-41bd-b1c2-9f30a01e0e99",
|
||||
Name: "language-readwrite",
|
||||
DisplayName: "Permission to read and set the language (self)",
|
||||
Resource: &settings.Resource{
|
||||
Type: settings.Resource_TYPE_SETTING,
|
||||
Id: settingUUIDProfileLanguage,
|
||||
},
|
||||
Value: &settings.Setting_PermissionValue{
|
||||
PermissionValue: &settings.Permission{
|
||||
Operation: settings.Permission_OPERATION_READWRITE,
|
||||
Constraint: settings.Permission_CONSTRAINT_OWN,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
BundleId: ssvc.BundleUUIDRoleGuest,
|
||||
Setting: &settings.Setting{
|
||||
Id: "ca878636-8b1a-4fae-8282-8617a4c13597",
|
||||
Name: "language-readwrite",
|
||||
DisplayName: "Permission to read and set the language (self)",
|
||||
Resource: &settings.Resource{
|
||||
Type: settings.Resource_TYPE_SETTING,
|
||||
Id: settingUUIDProfileLanguage,
|
||||
},
|
||||
Value: &settings.Setting_PermissionValue{
|
||||
PermissionValue: &settings.Permission{
|
||||
Operation: settings.Permission_OPERATION_READWRITE,
|
||||
Constraint: settings.Permission_CONSTRAINT_OWN,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,7 @@ import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"github.com/cs3org/reva/pkg/auth/scope"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
@@ -312,7 +313,11 @@ func AuthenticateCS3(ctx context.Context, su config.ServiceUser, tm token.Manage
|
||||
},
|
||||
},
|
||||
}
|
||||
return tm.MintToken(ctx, u)
|
||||
s, err := scope.GetOwnerScope()
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
return tm.MintToken(ctx, u, s)
|
||||
}
|
||||
|
||||
func (r CS3Repo) accountURL(id string) string {
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
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"
|
||||
)
|
||||
|
||||
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")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -35,7 +35,7 @@ $HOME/.ocis
|
||||
|
||||
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-accounts reads `accounts.json | yaml | toml ...`*.
|
||||
|
||||
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
|
||||
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/accounts/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
|
||||
|
||||
### Environment variables
|
||||
|
||||
|
||||
File renamed without changes.
@@ -1,7 +0,0 @@
|
||||
// +build tools
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/restic/calens"
|
||||
)
|
||||
+10
-3
@@ -1,9 +1,15 @@
|
||||
import 'regenerator-runtime/runtime'
|
||||
import App from './components/App.vue'
|
||||
import store from './store'
|
||||
import translations from './../l10n/translations.json'
|
||||
|
||||
// just a dummy function to trick gettext tools
|
||||
function $gettext (msg) {
|
||||
return msg
|
||||
}
|
||||
|
||||
const appInfo = {
|
||||
name: 'Accounts',
|
||||
name: $gettext('Accounts'),
|
||||
id: 'accounts',
|
||||
icon: 'text-vcard',
|
||||
isFileEditor: false,
|
||||
@@ -22,7 +28,7 @@ const routes = [
|
||||
|
||||
const navItems = [
|
||||
{
|
||||
name: 'Accounts',
|
||||
name: $gettext('Accounts'),
|
||||
iconMaterial: appInfo.icon,
|
||||
route: {
|
||||
name: 'accounts',
|
||||
@@ -36,5 +42,6 @@ export default {
|
||||
appInfo,
|
||||
routes,
|
||||
navItems,
|
||||
store
|
||||
store,
|
||||
translations
|
||||
}
|
||||
@@ -1,7 +1,10 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="uk-flex uk-flex-column uk-height-1-1" id="accounts-app">
|
||||
<main class="uk-flex uk-flex-column uk-height-1-1" id="accounts-app">
|
||||
<template v-if="isInitialized">
|
||||
<h1 class="oc-invisible-sr">
|
||||
<translate>Accounts</translate>
|
||||
</h1>
|
||||
<div class="oc-app-bar">
|
||||
<accounts-batch-actions
|
||||
v-if="isAnyAccountSelected"
|
||||
@@ -23,7 +26,7 @@
|
||||
</oc-alert>
|
||||
</template>
|
||||
<oc-loader id="accounts-list-loader" v-else />
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -55,17 +58,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/* TODO: After https://github.com/owncloud/owncloud-design-system/pull/418 gets merged
|
||||
there won't be an extra span and this won't be needed anymore */
|
||||
.accounts-selection-actions-btn > span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* TODO: Adjust in ODS */
|
||||
.oc-dropdown-menu {
|
||||
width: 150px;
|
||||
}
|
||||
</style>
|
||||
@@ -3,20 +3,20 @@
|
||||
<span v-text="selectionInfoText" />
|
||||
<span>|</span>
|
||||
<div>
|
||||
<oc-button v-text="$gettext('Clear selection')" variation="raw" @click="RESET_ACCOUNTS_SELECTION" />
|
||||
<oc-button v-text="$gettext('Clear selection')" appearance="raw" @click="RESET_ACCOUNTS_SELECTION" />
|
||||
</div>
|
||||
<oc-grid gutter="small" id="accounts-batch-actions">
|
||||
<div v-for="action in actions" :key="action.label">
|
||||
<oc-alert v-if="isConfirmationInProgress[action.id]" :variation="action.confirmation.variation || 'default'" noClose class="uk-flex uk-flex-middle tmp-alert-fixes">
|
||||
<div v-if="isConfirmationInProgress[action.id]" :variation="action.confirmation.variation || 'primary'" noClose class="uk-flex uk-flex-middle tmp-alert-fixes">
|
||||
<span>{{ action.confirmation.message }}</span>
|
||||
<oc-button size="small" :id="action.confirmation.cancel.id" @click="action.confirmation.cancel.handler" :variation="action.confirmation.cancel.variation || 'default'">
|
||||
<oc-button :id="action.confirmation.cancel.id" @click="action.confirmation.cancel.handler" :variation="action.confirmation.cancel.variation || 'passive'">
|
||||
{{ action.confirmation.cancel.label }}
|
||||
</oc-button>
|
||||
<oc-button size="small" :id="action.confirmation.confirm.id" @click="action.confirmation.confirm.handler" :variation="action.confirmation.confirm.variation || 'default'">
|
||||
<oc-button :id="action.confirmation.confirm.id" @click="action.confirmation.confirm.handler" :variation="action.confirmation.confirm.variation || 'primary'">
|
||||
{{ action.confirmation.confirm.label }}
|
||||
</oc-button>
|
||||
</oc-alert>
|
||||
<oc-button v-else :id="action.id" @click="action.handler" :variation="action.variation || 'default'" :icon="action.icon">
|
||||
</div>
|
||||
<oc-button v-else :id="action.id" @click="action.handler" :variation="action.variation || 'primary'" :icon="action.icon">
|
||||
{{ action.label }}
|
||||
</oc-button>
|
||||
</div>
|
||||
@@ -78,6 +78,7 @@ export default {
|
||||
id: idDeleteAction,
|
||||
label: this.$gettext('Delete'),
|
||||
icon: 'delete',
|
||||
variation: 'danger',
|
||||
handler: () => this.showConfirmationRequest(idDeleteAction),
|
||||
confirmation: {
|
||||
variation: 'danger',
|
||||
@@ -89,7 +90,6 @@ export default {
|
||||
cancel: {
|
||||
id: 'accounts-batch-action-delete-cancel',
|
||||
label: this.$gettext('Cancel'),
|
||||
variation: 'secondary',
|
||||
handler: () => this.hideConfirmationRequest(idDeleteAction)
|
||||
},
|
||||
confirm: {
|
||||
@@ -119,13 +119,9 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.tmp-alert-fixes {
|
||||
padding: 4px 11px 5px !important;
|
||||
border-radius: 3px !important;
|
||||
background-color: #fff !important;
|
||||
border: 1px solid rgb(224, 0, 0) !important;
|
||||
color: rgb(224, 0, 0) !important;
|
||||
|
||||
font-size: 1.1rem !important;
|
||||
font-size: 1.125rem !important;
|
||||
font-weight: 600 !important;
|
||||
line-height: 1.4 !important;
|
||||
}
|
||||
|
||||
@@ -1,50 +1,45 @@
|
||||
<template>
|
||||
<div>
|
||||
<oc-grid v-if="isFormInProgress" gutter="small">
|
||||
<label>
|
||||
<oc-text-input
|
||||
id="accounts-new-account-input-username"
|
||||
type="text"
|
||||
v-model="formData.username"
|
||||
:error-message="formValidation.usernameError"
|
||||
:placeholder="$gettext('Username')"
|
||||
:disabled="isRequestInProgress"
|
||||
@keydown.enter="createAccount"
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
<oc-text-input
|
||||
id="accounts-new-account-input-email"
|
||||
type="email"
|
||||
v-model="formData.email"
|
||||
:error-message="formValidation.emailError"
|
||||
:placeholder="$gettext('Email')"
|
||||
:disabled="isRequestInProgress"
|
||||
@keydown.enter="createAccount"
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
<oc-text-input
|
||||
id="accounts-new-account-input-password"
|
||||
type="password"
|
||||
v-model="formData.password"
|
||||
:error-message="formValidation.passwordError"
|
||||
:placeholder="$gettext('Password')"
|
||||
:disabled="isRequestInProgress"
|
||||
@keydown.enter="createAccount"
|
||||
/>
|
||||
</label>
|
||||
<div>
|
||||
<oc-text-input
|
||||
id="accounts-new-account-input-username"
|
||||
type="text"
|
||||
v-model="formData.username"
|
||||
:error-message="formValidation.usernameError"
|
||||
:label="$gettext('Username')"
|
||||
:disabled="isRequestInProgress"
|
||||
@keydown.enter="createAccount"
|
||||
/>
|
||||
<oc-text-input
|
||||
id="accounts-new-account-input-email"
|
||||
type="email"
|
||||
v-model="formData.email"
|
||||
:error-message="formValidation.emailError"
|
||||
:label="$gettext('Email')"
|
||||
:disabled="isRequestInProgress"
|
||||
@keydown.enter="createAccount"
|
||||
/>
|
||||
<oc-text-input
|
||||
id="accounts-new-account-input-password"
|
||||
type="password"
|
||||
v-model="formData.password"
|
||||
:error-message="formValidation.passwordError"
|
||||
:label="$gettext('Password')"
|
||||
:disabled="isRequestInProgress"
|
||||
@keydown.enter="createAccount"
|
||||
/>
|
||||
<div class="uk-flex">
|
||||
<oc-button
|
||||
class="oc-mr-s oc-mb-s"
|
||||
v-text="$gettext('Cancel')"
|
||||
@click="cancelForm"
|
||||
:disabled="isRequestInProgress"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<oc-button
|
||||
id="accounts-new-account-button-confirm"
|
||||
class="oc-mr-s oc-mb-s"
|
||||
variation="primary"
|
||||
appearance="filled"
|
||||
:disabled="isRequestInProgress"
|
||||
@click="createAccount"
|
||||
gap-size="small"
|
||||
@@ -66,6 +61,7 @@
|
||||
id="accounts-new-account-trigger"
|
||||
key="create-accounts-button"
|
||||
variation="primary"
|
||||
appearance="filled"
|
||||
gap-size="small"
|
||||
@click="setFormInProgress(true)"
|
||||
>
|
||||
@@ -194,9 +190,3 @@ export default {
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
<style scoped>
|
||||
.border-ods-tmp-fix {
|
||||
/* TODO: somehow the primary button receives a 2px border-width. remove it until we fix it in ODS. */
|
||||
border-width: 0 !important;
|
||||
}
|
||||
</style>
|
||||
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div>
|
||||
<oc-table middle divider>
|
||||
<oc-table-group>
|
||||
<oc-table-row class="fix-table-header">
|
||||
<oc-table-cell shrink type="head" class="uk-text-center">
|
||||
<oc-table-simple id="accounts-user-list">
|
||||
<oc-thead>
|
||||
<oc-tr>
|
||||
<oc-th shrink type="head" align-h="center">
|
||||
<oc-checkbox
|
||||
class="oc-ml-s"
|
||||
:value="areAllAccountsSelected"
|
||||
@@ -11,23 +11,23 @@
|
||||
:label="$gettext('Select all users')"
|
||||
hide-label
|
||||
/>
|
||||
</oc-table-cell>
|
||||
<oc-table-cell shrink type="head" />
|
||||
<oc-table-cell type="head" v-text="$gettext('Username')" />
|
||||
<oc-table-cell type="head" v-text="$gettext('Display name')" />
|
||||
<oc-table-cell type="head" v-text="$gettext('Email')" />
|
||||
<oc-table-cell type="head" v-text="$gettext('Role')" />
|
||||
<oc-table-cell shrink type="head" v-text="$gettext('Activated')" />
|
||||
</oc-table-row>
|
||||
</oc-table-group>
|
||||
<oc-table-group>
|
||||
</oc-th>
|
||||
<oc-th shrink type="head" />
|
||||
<oc-th type="head" v-text="$gettext('Username')" />
|
||||
<oc-th type="head" v-text="$gettext('Display name')" />
|
||||
<oc-th type="head" v-text="$gettext('Email')" />
|
||||
<oc-th type="head" v-text="$gettext('Role')" />
|
||||
<oc-th shrink type="head" v-text="$gettext('Activated')" align-h="center"/>
|
||||
</oc-tr>
|
||||
</oc-thead>
|
||||
<oc-tbody>
|
||||
<accounts-list-row
|
||||
v-for="account in accounts"
|
||||
:key="`account-list-row-${account.id}`"
|
||||
:account="account"
|
||||
/>
|
||||
</oc-table-group>
|
||||
</oc-table>
|
||||
</oc-tbody>
|
||||
</oc-table-simple>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -58,9 +58,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.fix-table-header > th {
|
||||
text-transform: none;
|
||||
}
|
||||
</style>
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<oc-table-row>
|
||||
<oc-table-cell>
|
||||
<oc-tr>
|
||||
<oc-td align-h="center">
|
||||
<oc-checkbox
|
||||
class="oc-ml-s"
|
||||
size="large"
|
||||
@@ -10,15 +10,15 @@
|
||||
:label="selectAccountLabel"
|
||||
hide-label
|
||||
/>
|
||||
</oc-table-cell>
|
||||
<oc-table-cell>
|
||||
</oc-td>
|
||||
<oc-td>
|
||||
<avatar :user-name="account.displayName || account.onPremisesSamAccountName" :userid="account.id" :width="35" />
|
||||
</oc-table-cell>
|
||||
<oc-table-cell v-text="account.onPremisesSamAccountName" />
|
||||
<oc-table-cell v-text="account.displayName || '-'" />
|
||||
<oc-table-cell v-text="account.mail" />
|
||||
<oc-table-cell>
|
||||
<oc-button :id="`accounts-roles-select-trigger-${account.id}`" class="accounts-roles-select-trigger" variation="raw">
|
||||
</oc-td>
|
||||
<oc-td v-text="account.onPremisesSamAccountName" />
|
||||
<oc-td v-text="account.displayName || '-'" />
|
||||
<oc-td v-text="account.mail" />
|
||||
<oc-td>
|
||||
<oc-button :id="`accounts-roles-select-trigger-${account.id}`" class="accounts-roles-select-trigger" appearance="outline">
|
||||
<span class="uk-flex uk-flex-middle accounts-roles-current-role">
|
||||
{{ currentRole ? currentRole.displayName : $gettext('Select role') }}
|
||||
<oc-icon name="expand_more" aria-hidden="true" />
|
||||
@@ -43,8 +43,8 @@
|
||||
</li>
|
||||
</ul>
|
||||
</oc-drop>
|
||||
</oc-table-cell>
|
||||
<oc-table-cell class="uk-text-center">
|
||||
</oc-td>
|
||||
<oc-td align-h="center">
|
||||
<oc-icon
|
||||
v-if="account.accountEnabled"
|
||||
key="account-icon-enabled"
|
||||
@@ -61,8 +61,8 @@
|
||||
:aria-label="$gettext('Account is blocked')"
|
||||
class="accounts-status-indicator-disabled"
|
||||
/>
|
||||
</oc-table-cell>
|
||||
</oc-table-row>
|
||||
</oc-td>
|
||||
</oc-tr>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -67,9 +67,9 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['getToken']),
|
||||
...mapGetters(['getToken', 'configuration']),
|
||||
enabled: function () {
|
||||
return this.$root.config.enableAvatars || true
|
||||
return this.configuration.enableAvatars || true
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -97,7 +97,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const headers = new Headers()
|
||||
const instance = this.$root.config.server || window.location.origin
|
||||
const instance = this.configuration.server || window.location.origin
|
||||
const url = instance + '/remote.php/dav/avatars/' + this.userid + '/128.png'
|
||||
headers.append('Authorization', 'Bearer ' + this.getToken)
|
||||
headers.append('X-Requested-With', 'XMLHttpRequest')
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* This file contains strings that should be synced to transifex but not exist in the UI directly,
|
||||
* moreover, they get loaded for example by API requests
|
||||
*/
|
||||
|
||||
// just a dummy function to trick gettext tools
|
||||
function $gettext (msg) {
|
||||
return msg
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const dictionary = [
|
||||
$gettext('Guest'),
|
||||
$gettext('Admin'),
|
||||
$gettext('User')
|
||||
]
|
||||
@@ -4,7 +4,7 @@ Feature: Accounts
|
||||
Given user "Moss" has logged in using the webUI
|
||||
When the user browses to the accounts page
|
||||
Then user "einstein" should be displayed in the accounts list on the WebUI
|
||||
And user "konnectd" should be displayed in the accounts list on the WebUI
|
||||
And user "idp" should be displayed in the accounts list on the WebUI
|
||||
And user "marie" should be displayed in the accounts list on the WebUI
|
||||
And user "reva" should be displayed in the accounts list on the WebUI
|
||||
And user "richard" should be displayed in the accounts list on the WebUI
|
||||
@@ -72,4 +72,4 @@ Feature: Accounts
|
||||
Given user "Moss" has logged in using the webUI
|
||||
And the user browses to the accounts page
|
||||
When the user deletes user "bob" using the WebUI
|
||||
Then user "bob" should not be displayed in the accounts list on the WebUI
|
||||
Then user "bob" should not be displayed in the accounts list on the WebUI
|
||||
@@ -104,15 +104,14 @@ module.exports = {
|
||||
selector: '#accounts-app'
|
||||
},
|
||||
accountsListTable: {
|
||||
selector: "//table[@class='uk-table uk-table-middle uk-table-divider']",
|
||||
locateStrategy: 'xpath'
|
||||
selector: '#accounts-user-list'
|
||||
},
|
||||
userInAccountsList: {
|
||||
selector: '//table//td[text()="%s"]',
|
||||
selector: '//table[@id="accounts-user-list"]//td[text()="%s"]',
|
||||
locateStrategy: 'xpath'
|
||||
},
|
||||
rowByUsername: {
|
||||
selector: '//table//td[text()="%s"]/ancestor::tr',
|
||||
selector: '//table[@id="accounts-user-list"]//td[text()="%s"]/ancestor::tr',
|
||||
locateStrategy: 'xpath'
|
||||
},
|
||||
currentRole: {
|
||||
@@ -120,7 +119,7 @@ module.exports = {
|
||||
locateStrategy: 'xpath'
|
||||
},
|
||||
roleInRolesDropdown: {
|
||||
selector: '//label[contains(@class, "accounts-roles-dropdown-role")]/span[normalize-space()="%s"]',
|
||||
selector: '//span[contains(@class, "accounts-roles-dropdown-role")]/label[normalize-space()="%s"]',
|
||||
locateStrategy: 'xpath'
|
||||
},
|
||||
rolesDropdownTrigger: {
|
||||
|
||||
@@ -29,9 +29,9 @@ trap clean_up SIGHUP SIGINT SIGTERM
|
||||
if [ -z "$TEST_INFRA_DIRECTORY" ]
|
||||
then
|
||||
cleanup=true
|
||||
testFolder=$(< /dev/urandom tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
|
||||
testFolder=$(mktemp -d -p .)
|
||||
printf "creating folder $testFolder for Test infrastructure setup\n\n"
|
||||
export TEST_INFRA_DIRECTORY=$testFolder
|
||||
export TEST_INFRA_DIRECTORY=$testFolder/tests
|
||||
fi
|
||||
|
||||
clean_up() {
|
||||
@@ -46,11 +46,10 @@ clean_up() {
|
||||
|
||||
trap clean_up SIGHUP SIGINT SIGTERM EXIT
|
||||
|
||||
cp -r "$WEB_PATH"/tests ./"$testFolder"
|
||||
cp -r "$WEB_PATH"/tests "$testFolder"
|
||||
|
||||
export SERVER_HOST=${SERVER_HOST:-https://localhost:9200}
|
||||
export BACKEND_HOST=${BACKEND_HOST:-https://localhost:9200}
|
||||
export RUN_ON_OCIS='true'
|
||||
export TEST_TAGS=${TEST_TAGS:-"not @skip"}
|
||||
|
||||
yarn run acceptance-tests "$1"
|
||||
|
||||
+2232
-1331
File diff suppressed because it is too large.
Load diff
@@ -4,7 +4,7 @@ Tags: reva, proxy
|
||||
|
||||
We now comply with HTTP spec by adding Www-Authenticate headers on every `401` request. Furthermore, we not only take care of such a thing at the Proxy but also Reva will take care of it. In addition, we now are able to lock-in a set of User-Agent to specific challenges.
|
||||
|
||||
Admins can use this feature by configuring OCIS + Reva following this approach:
|
||||
Admins can use this feature by configuring oCIS + Reva following this approach:
|
||||
|
||||
```
|
||||
STORAGE_FRONTEND_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT="mirall:basic, Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:83.0) Gecko/20100101 Firefox/83.0:bearer" \
|
||||
@@ -15,6 +15,6 @@ go run cmd/ocis/main.go server
|
||||
|
||||
We introduced two new environment variables:
|
||||
|
||||
`STORAGE_FRONTEND_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT` as well as `PROXY_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT`, The reason they have the same value is not to rely on the os env on a distributed environment, so in redundancy we trust. They both configure the same on the backend storage and OCIS Proxy.
|
||||
`STORAGE_FRONTEND_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT` as well as `PROXY_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT`, The reason they have the same value is not to rely on the os env on a distributed environment, so in redundancy we trust. They both configure the same on the backend storage and oCIS Proxy.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1009
|
||||
+2
-2
@@ -10,8 +10,8 @@ Some environment variables are now built dynamically if they are not set:
|
||||
|
||||
Furthermore, the built in konnectd will generate an `identifier-registration.yaml` that uses the `KONNECTD_ISS` in the allowed `redirect_uris` and `origins`. It simplifies the default `https://localhost:9200` and remote deployment with `OCIS_URL` which is evaluated as a fallback if `KONNECTD_ISS` is not set.
|
||||
|
||||
An OCIS server can now be started on a remote machine as easy as `OCIS_URL=https://cloud.ocis.test PROXY_HTTP_ADDR=0.0.0.0:443 ocis server`.
|
||||
An oCIS server can now be started on a remote machine as easy as `OCIS_URL=https://cloud.ocis.test PROXY_HTTP_ADDR=0.0.0.0:443 ocis server`.
|
||||
|
||||
Note that the `OCIS_DOMAIN` environment variable is not used by ocis, but by the docker containers.
|
||||
Note that the `OCIS_DOMAIN` environment variable is not used by oCIS, but by the docker containers.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1148
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -2,7 +2,7 @@ Change: Move k6 to cdperf
|
||||
|
||||
Tags: performance, testing, k6
|
||||
|
||||
The ownCloud performance tests can not only be used to test ocis.
|
||||
The ownCloud performance tests can not only be used to test oCIS.
|
||||
This is why we have decided to move the k6 tests to https://github.com/owncloud/cdperf
|
||||
|
||||
https://github.com/owncloud/ocis/pull/1358
|
||||
File renamed without changes.
Loaded 100 of 932 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user