Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f7597cc68 | ||
|
|
d31a83c426 | ||
|
|
0acae91fdf | ||
|
|
f6e8636cfa | ||
|
|
ba62819180 | ||
|
|
cee5b45b84 | ||
|
|
05748959e9 | ||
|
|
969c0d3916 | ||
|
|
726e4ca7b4 | ||
|
|
444dcd000e | ||
|
|
551628d4fe | ||
|
|
9f7f28c7c1 | ||
|
|
5fa9f7420d | ||
|
|
db5b0752f8 | ||
|
|
7cbfc58036 | ||
|
|
3d7e8b770a | ||
|
|
f1a70ccb32 | ||
|
|
d721941032 | ||
|
|
f07e14fd30 | ||
|
|
7af28a1c36 | ||
|
|
e5f56152b0 | ||
|
|
4a4ad20e66 | ||
|
|
74e68d6b8e | ||
|
|
a887a4c32b | ||
|
|
50b19e5d77 | ||
|
|
bcb1262064 | ||
|
|
214689bc0d | ||
|
|
ed4917db14 | ||
|
|
815e30166e | ||
|
|
40d40c32b1 | ||
|
|
51365fa7c3 | ||
|
|
3848346f4a | ||
|
|
3c7fe3a405 | ||
|
|
8c9841f033 | ||
|
|
ff4a0a7030 | ||
|
|
197552a488 | ||
|
|
beb45efc0b | ||
|
|
b630abe052 | ||
|
|
07a2106d45 | ||
|
|
10f6ec94fa | ||
|
|
738291b2fa | ||
|
|
14fd15e9ae | ||
|
|
4073cd235c | ||
|
|
cc517ffcfd | ||
|
|
98d1b5e2b9 | ||
|
|
3102c23d2c | ||
|
|
32a0d1c309 | ||
|
|
212b3a6ef9 | ||
|
|
fd7b722ac4 | ||
|
|
0207e70323 | ||
|
|
fb5ae37a38 | ||
|
|
ced60bf59b | ||
|
|
3c609a329f | ||
|
|
9a0d1085ed | ||
|
|
a5142483a4 | ||
|
|
1edaffeafe | ||
|
|
b2ff37505e | ||
|
|
ebbedb46a0 | ||
|
|
dfe2e5dbd4 | ||
|
|
c1f5817f3f | ||
|
|
9f23230bf1 | ||
|
|
fbfdf1104a | ||
|
|
bf587f1a65 | ||
|
|
cbfa9ff6cb | ||
|
|
6db7c79962 | ||
|
|
dbae9443eb | ||
|
|
e13a3ca7cb | ||
|
|
79f4270bb9 | ||
|
|
5f73a5ec75 | ||
|
|
0ad81bdd29 | ||
|
|
8af257d54f | ||
|
|
a7088c8c87 | ||
|
|
5b76892ab1 | ||
|
|
7005cdef2e | ||
|
|
643454c1d7 | ||
|
|
20d2ef989d | ||
|
|
dfc94f4505 | ||
|
|
8f0e4eab60 | ||
|
|
93d0875883 | ||
|
|
947e4a1b10 | ||
|
|
c55e9b8fd2 | ||
|
|
2b5c39095d | ||
|
|
348ae4435a | ||
|
|
a22b0724ae | ||
|
|
c42c24be80 | ||
|
|
7e03aa39b5 | ||
|
|
097434916e | ||
|
|
728de81736 | ||
|
|
21f2ce7425 | ||
|
|
8ba7eb619e | ||
|
|
5609b5041e | ||
|
|
d36c2d35a5 | ||
|
|
741cc24d11 | ||
|
|
5288548e70 | ||
|
|
e0d5676151 | ||
|
|
7ed4e2b24e | ||
|
|
58ba15ac95 | ||
|
|
fe1cd33c26 | ||
|
|
c3f838d445 | ||
|
|
2f60b75fc5 | ||
|
|
f6e7c44596 | ||
|
|
1017e3ac3b | ||
|
|
2913918232 | ||
|
|
ca7350fa8a | ||
|
|
2c5fb2b2f9 | ||
|
|
d70502f747 | ||
|
|
38c28332e2 | ||
|
|
bd5c9dfa1e | ||
|
|
db4a7ee8f5 | ||
|
|
066fef03c2 | ||
|
|
741fb410f1 | ||
|
|
961e6c179a | ||
|
|
22657040bd | ||
|
|
a9dc3f5787 | ||
|
|
e5ec91b5a7 | ||
|
|
1ecd64f128 | ||
|
|
6dfb4c7ef6 | ||
|
|
56a1fc868d | ||
|
|
7140340c59 | ||
|
|
360f9dab90 | ||
|
|
83d4aaf1ab | ||
|
|
01d9d2e437 | ||
|
|
98d930b8ab | ||
|
|
0fa902d2d2 | ||
|
|
1f5352f2ec | ||
|
|
72fce1dd1e | ||
|
|
9e633b91b5 | ||
|
|
37fdd97c29 | ||
|
|
cb0ae700db | ||
|
|
9f3e1857db | ||
|
|
f0a608acde | ||
|
|
4a791dda86 | ||
|
|
3e05624064 | ||
|
|
33dfc9651a | ||
|
|
14172fd1f0 | ||
|
|
b18ff7404e | ||
|
|
ed8819ec86 | ||
|
|
a424706368 | ||
|
|
7ced94d42e | ||
|
|
86ebd24f2d | ||
|
|
99d6c1c5fd | ||
|
|
0aed8aaa86 | ||
|
|
c5abe938bd | ||
|
|
4e52f7f970 | ||
|
|
a43933082d | ||
|
|
374bb21c33 | ||
|
|
558f1775de | ||
|
|
934e1f406a | ||
|
|
7732ff065b | ||
|
|
9e6fa5c769 | ||
|
|
59fddce138 | ||
|
|
e503106960 | ||
|
|
96aecac8ed | ||
|
|
ab3dff9e1b | ||
|
|
2bbaf7b21d | ||
|
|
9370cbab09 | ||
|
|
a04f52915a | ||
|
|
0de60103b1 | ||
|
|
388301082d | ||
|
|
4bdd27ffe0 | ||
|
|
fb1bb6905c | ||
|
|
3a28b84e9d | ||
|
|
94d7506cb5 | ||
|
|
ab0ea3e8d9 | ||
|
|
eb08f75257 | ||
|
|
e40893a136 | ||
|
|
5f185326ab | ||
|
|
a9f689044d | ||
|
|
7360bbabfe | ||
|
|
0f9ec55d7a | ||
|
|
7802fabf0e | ||
|
|
f6f401aa0d | ||
|
|
123593fc4e | ||
|
|
a9b8bf7f3a | ||
|
|
0630142792 | ||
|
|
94dfdd88a6 | ||
|
|
33d5826337 | ||
|
|
7306bc096d | ||
|
|
a475af6ac6 | ||
|
|
c048fe2121 | ||
|
|
ace90ef2ad | ||
|
|
1b1a58ed8c | ||
|
|
6e7cdededb | ||
|
|
cc06c8b613 | ||
|
|
347abae8aa | ||
|
|
b65fd5bd46 | ||
|
|
6d3c96c8f3 | ||
|
|
6a6913b17e | ||
|
|
28279bc3c1 | ||
|
|
663537f304 | ||
|
|
39bb258648 | ||
|
|
a33cc9d278 | ||
|
|
73c22d4e8f | ||
|
|
7b88e39572 | ||
|
|
6f31f92a3f | ||
|
|
f499fb3ee8 | ||
|
|
d053177cf7 | ||
|
|
8e5f893812 | ||
|
|
7f1ba75b7d | ||
|
|
b6b57fa06e | ||
|
|
adac921f5c | ||
|
|
78b879d10f | ||
|
|
7c5948b61a | ||
|
|
0b15433cda | ||
|
|
228a44fc87 | ||
|
|
fbb3a339bc | ||
|
|
5d9d094f42 | ||
|
|
094416e8e3 | ||
|
|
2d6c25ab0f | ||
|
|
34eaf9d6db | ||
|
|
3ae47b3f9a | ||
|
|
37bf0dde69 | ||
|
|
eec9e940fd | ||
|
|
f608b3916e | ||
|
|
81764b4872 | ||
|
|
fd7cf51a4b | ||
|
|
09c48e65d4 | ||
|
|
3e3d80d08c | ||
|
|
fa9804d742 | ||
|
|
983a35517d | ||
|
|
49a93485c4 | ||
|
|
a2487ff457 | ||
|
|
7d000f964e | ||
|
|
d65d917b81 | ||
|
|
5f74c93664 | ||
|
|
a71933d075 | ||
|
|
0f06180ba3 | ||
|
|
5d8883e8c2 | ||
|
|
8a70f22cc3 | ||
|
|
b508452eb0 | ||
|
|
270c8a36d2 | ||
|
|
4d9fc70376 | ||
|
|
c289e61b39 | ||
|
|
5aeba5e021 | ||
|
|
740c3fe2ba | ||
|
|
b633ebd86b | ||
|
|
77ab8116cc | ||
|
|
613b98ae1b | ||
|
|
5ba2aff146 | ||
|
|
29ed661cec | ||
|
|
e95caf3572 | ||
|
|
5472ec40e2 | ||
|
|
f028eefd83 | ||
|
|
2e8fd6aba1 | ||
|
|
3965af0cfc | ||
|
|
fe8b0fba77 | ||
|
|
6f9db5475e | ||
|
|
75ce22d2db | ||
|
|
9801bbef76 | ||
|
|
a0bf78e7b4 | ||
|
|
8b1396f73a | ||
|
|
b13e828b87 | ||
|
|
53fcf81b75 | ||
|
|
3c0415e417 | ||
|
|
ec12ad56d4 | ||
|
|
8cec637c24 | ||
|
|
392961dbe6 | ||
|
|
d2f1f33ef0 | ||
|
|
45ef15cd66 | ||
|
|
36eaee63b6 | ||
|
|
ec5dcefc7d | ||
|
|
1671ba29c8 | ||
|
|
6bd0fd9eb6 | ||
|
|
5adef2978a | ||
|
|
d2a56f871b | ||
|
|
94e72e9293 | ||
|
|
ddb8ee9fd1 | ||
|
|
f07c535fba | ||
|
|
94b31a0a37 | ||
|
|
b625cdaddb | ||
|
|
3d5d6ea739 | ||
|
|
cad9e59435 | ||
|
|
b996cced68 | ||
|
|
80d83e4721 | ||
|
|
d0f3a00637 | ||
|
|
ee6e5311b8 | ||
|
|
d1f17df63c | ||
|
|
409947cb10 | ||
|
|
9016b98cb1 | ||
|
|
389b0efe14 | ||
|
|
ba6a38de64 | ||
|
|
f0f700900f | ||
|
|
27214ae138 | ||
|
|
d446d9eae9 | ||
|
|
352cdb6332 | ||
|
|
20a63a6cde | ||
|
|
07dc18339a | ||
|
|
1dd3c986c4 | ||
|
|
6a6231ef5e | ||
|
|
2a3fd4287e | ||
|
|
a86038ebab | ||
|
|
ca8a89b930 | ||
|
|
8a09c3fdfd | ||
|
|
80d4dd5908 | ||
|
|
16794043fe | ||
|
|
f0f77098bb | ||
|
|
4b9319a38c | ||
|
|
5b3f222971 | ||
|
|
b0ac12f933 | ||
|
|
d968dc20b3 | ||
|
|
c20ac3b7f2 | ||
|
|
7739d87cbb | ||
|
|
cff3d8f588 | ||
|
|
3e55fad482 | ||
|
|
212671813b | ||
|
|
8d6e4a9b6e | ||
|
|
72ddb14d95 | ||
|
|
1fcc05d04c | ||
|
|
060416fb20 | ||
|
|
a97933e14c | ||
|
|
68eb067ad0 | ||
|
|
b0eb93da68 | ||
|
|
96236d7740 | ||
|
|
e9734ffb00 | ||
|
|
89eaa947e1 | ||
|
|
73d4b60d98 | ||
|
|
4cca23f32a | ||
|
|
1866d2b213 | ||
|
|
32c7c0560c | ||
|
|
2d0d307d11 | ||
|
|
e81dcb7804 | ||
|
|
5a76122a94 | ||
|
|
7972c6cf7d | ||
|
|
d94f3817d7 | ||
|
|
8af384f1f1 | ||
|
|
9613502253 | ||
|
|
134286eff1 | ||
|
|
fe20249af3 | ||
|
|
f3effa397b | ||
|
|
8034601537 | ||
|
|
7fd7e10f8d | ||
|
|
2e051917ec | ||
|
|
2ce949cb81 | ||
|
|
42b4aaad99 | ||
|
|
22d460d434 | ||
|
|
8f6722e673 | ||
|
|
12cdf456df | ||
|
|
27ec5c8688 | ||
|
|
af14a5ae95 | ||
|
|
9ed8713503 | ||
|
|
ba5430ff1d | ||
|
|
64c5a3b199 | ||
|
|
68fd9847f0 | ||
|
|
c9b4f42fd6 | ||
|
|
2052894196 | ||
|
|
204844e451 | ||
|
|
01ef66a13d | ||
|
|
f953f2513d | ||
|
|
9c7bd2b3e5 | ||
|
|
189b812845 | ||
|
|
50120cb083 | ||
|
|
22ad54b80c | ||
|
|
252b0dac19 | ||
|
|
bd94196ede | ||
|
|
af166ba8ce | ||
|
|
58a92cbebc | ||
|
|
9d47c07fa0 | ||
|
|
eb88e0f7e9 | ||
|
|
0fc1fce488 | ||
|
|
00df846744 | ||
|
|
85b68f4482 | ||
|
|
2d862d257f | ||
|
|
138aec8855 | ||
|
|
67ea4c872e | ||
|
|
47ebef15c1 | ||
|
|
1dbd3435d6 | ||
|
|
b752e94130 | ||
|
|
bb83592db3 | ||
|
|
2d3aef36f6 | ||
|
|
807917c491 | ||
|
|
7d16250ab3 | ||
|
|
6e14d46ea1 | ||
|
|
8081bf7d06 | ||
|
|
fb014b3029 | ||
|
|
ca17f165bb | ||
|
|
52401cfa41 | ||
|
|
196956193d | ||
|
|
e0892eef8c | ||
|
|
d54a7403d3 | ||
|
|
fa8ffa1873 | ||
|
|
c13ddaac99 | ||
|
|
6e34c38da7 | ||
|
|
f4752cb9bb | ||
|
|
f41e2c80b8 | ||
|
|
da5983d7db | ||
|
|
01a597d391 | ||
|
|
127f4886cd | ||
|
|
9049b51de0 | ||
|
|
d43ec2d3be | ||
|
|
74e7b13968 | ||
|
|
df6256edd4 | ||
|
|
dfbb80b933 | ||
|
|
3465e08d4d | ||
|
|
9e4b6250d6 | ||
|
|
710e3957fb | ||
|
|
6e3edc41f1 | ||
|
|
ce5aa9267d | ||
|
|
5b5fdb4d6f | ||
|
|
d4dcaaa0eb | ||
|
|
a885fb2aa7 | ||
|
|
a5b0c83f02 | ||
|
|
dd1a192650 | ||
|
|
df75e35db5 | ||
|
|
a87c54effa | ||
|
|
6d4597b258 | ||
|
|
129f815267 | ||
|
|
3fc11ac9bd | ||
|
|
e22ef9ebf3 | ||
|
|
b09ae7255d | ||
|
|
be2a4489e2 | ||
|
|
d3c84bb6c1 | ||
|
|
5843499d7a | ||
|
|
46c410cad6 | ||
|
|
eae71a31e4 | ||
|
|
43cf2909c4 | ||
|
|
f9d54fe468 | ||
|
|
4dd361c219 | ||
|
|
92dd7b968c | ||
|
|
016fa1373a | ||
|
|
2c1c49076c | ||
|
|
926b3a2cdf | ||
|
|
bfb01fbdb3 | ||
|
|
11adba0301 | ||
|
|
5d7610d8b4 | ||
|
|
db49ffd29c | ||
|
|
0d741ff73a | ||
|
|
f0da2f41e1 | ||
|
|
1a4be987d9 | ||
|
|
89c9838442 | ||
|
|
b580352ccc | ||
|
|
d88f346b28 | ||
|
|
7d8ee17399 | ||
|
|
d9f2d996bf | ||
|
|
13f071a721 | ||
|
|
c059aa605e | ||
|
|
183e1eb77b | ||
|
|
a575cb01c6 | ||
|
|
45bcd3029a | ||
|
|
34ccaef48e | ||
|
|
d7c98b4bde | ||
|
|
73f6d9d800 | ||
|
|
57de283d58 | ||
|
|
e2e606633f | ||
|
|
8c8850a625 | ||
|
|
c3b7ccb46c | ||
|
|
4847d3f2f5 | ||
|
|
05d3fe1742 | ||
|
|
3963a0dec1 | ||
|
|
b417d6eae9 | ||
|
|
a1a1a8d565 | ||
|
|
ba3529ee78 | ||
|
|
d7eadbbb19 | ||
|
|
a2fc279c01 | ||
|
|
4f6e810226 | ||
|
|
98a0ca8a57 | ||
|
|
8d4d52dbd3 | ||
|
|
a6e4818225 | ||
|
|
561c5f4b94 | ||
|
|
40c2de359f | ||
|
|
de1a14fc0b | ||
|
|
0e74305c1d | ||
|
|
2c2a07de46 | ||
|
|
7f00d2b018 | ||
|
|
6163badbb7 | ||
|
|
768b067fb2 | ||
|
|
89908d2296 | ||
|
|
e722448e19 | ||
|
|
da1a2e20f7 | ||
|
|
39cb42a4d1 | ||
|
|
4a39f3970d | ||
|
|
829d17c69e | ||
|
|
58f804360b | ||
|
|
6517cb85e7 | ||
|
|
0d7185c75e | ||
|
|
2a0b1ea5d2 | ||
|
|
84971d876e | ||
|
|
5eea9fd7fb | ||
|
|
55c68e789b | ||
|
|
a707091c19 | ||
|
|
bcaa29eff5 | ||
|
|
25f9485e4d | ||
|
|
f33b3bf5ca | ||
|
|
5a8cec6372 | ||
|
|
ecd96ca10b | ||
|
|
7aefbee788 | ||
|
|
d6ffe98714 | ||
|
|
96f03d1ec6 | ||
|
|
a0ff4e4cc1 | ||
|
|
8edbd8349e | ||
|
|
30bc33307e | ||
|
|
fe4175ae59 | ||
|
|
d6f9f3f09e | ||
|
|
2b0f55982e | ||
|
|
f53b16a48c | ||
|
|
ef5edb1018 | ||
|
|
1c7430367d | ||
|
|
4ef84bd2fd | ||
|
|
d2e3bef968 | ||
|
|
23f1c74e1d | ||
|
|
30501e9503 | ||
|
|
24252b6e43 | ||
|
|
d0b883f61d | ||
|
|
ed73735e40 | ||
|
|
83d46ffe63 | ||
|
|
f971c0b3e6 | ||
|
|
62ab750512 | ||
|
|
8e8d57ad27 | ||
|
|
cbf64fb928 | ||
|
|
f5dfefc560 | ||
|
|
bbe21a9d9f | ||
|
|
c4174b52be | ||
|
|
3c41a3ff09 | ||
|
|
2f12db03bb | ||
|
|
d09c4510a4 | ||
|
|
8255b94284 | ||
|
|
f17213c34d | ||
|
|
3d951e16c6 | ||
|
|
fec01b6db5 | ||
|
|
bfc054f38a | ||
|
|
08ed7a971e | ||
|
|
14f841300a | ||
|
|
d8dace97c4 | ||
|
|
cd5406b7e0 | ||
|
|
a725bbbc47 | ||
|
|
186ce62bdb | ||
|
|
df107cc34e | ||
|
|
898975b822 | ||
|
|
937f6e036c | ||
|
|
7e34e3b965 | ||
|
|
b607542c39 | ||
|
|
d5c8e9911f | ||
|
|
f770912328 | ||
|
|
adecd7b5ae | ||
|
|
54d4acf216 | ||
|
|
ab99e71c41 | ||
|
|
b10038cced | ||
|
|
c0bd6b1a51 | ||
|
|
24cbc66a92 | ||
|
|
a9a2c06a1b | ||
|
|
19deab3fba | ||
|
|
10437c9d82 | ||
|
|
53a1344e47 | ||
|
|
9a00819286 | ||
|
|
820f6745e1 | ||
|
|
ad8eaff22b | ||
|
|
dfb3d8d15f | ||
|
|
40e1f089f4 | ||
|
|
a751523c20 | ||
|
|
37aa694a52 | ||
|
|
ee882187fb | ||
|
|
b0ab109e5d | ||
|
|
bb805f681b | ||
|
|
659dabb672 | ||
|
|
48fc341f90 | ||
|
|
77c104d2fe | ||
|
|
2956c59e43 | ||
|
|
db104952d5 | ||
|
|
1bc187ec48 | ||
|
|
93e0fef71b | ||
|
|
5464453901 | ||
|
|
e3d71457e7 | ||
|
|
c6c38e87eb | ||
|
|
2dd3d7505c | ||
|
|
013f7d2fca | ||
|
|
7475c667a8 | ||
|
|
4a5d98020d | ||
|
|
a4c7941a30 | ||
|
|
4157a120fe | ||
|
|
e88da96a28 | ||
|
|
dcb4f117ea | ||
|
|
f612f81fc0 | ||
|
|
89b20d61ed | ||
|
|
6f5e7027f4 | ||
|
|
ffcfdf9fdb | ||
|
|
f50325c514 | ||
|
|
cbe99d978e | ||
|
|
0734102c4c | ||
|
|
f9c233f5b3 | ||
|
|
09cc29b5e5 | ||
|
|
8779f633ab | ||
|
|
e84cc8eca3 | ||
|
|
ac35fb0b56 | ||
|
|
8bedbef074 | ||
|
|
5ce43b4eb3 | ||
|
|
4e1ef91f8c | ||
|
|
25adbd4f47 | ||
|
|
109be926ff | ||
|
|
4a764ff616 | ||
|
|
40328631fd | ||
|
|
8c1c803b9d | ||
|
|
7873c4d7aa | ||
|
|
5ee1650064 | ||
|
|
4247a512c2 | ||
|
|
7084735f5e | ||
|
|
f899c2c668 | ||
|
|
3eb8b1c069 | ||
|
|
c276374978 | ||
|
|
c5dd1a94ec | ||
|
|
60d7f2c417 | ||
|
|
d86e5bb256 | ||
|
|
ab6d2557e0 | ||
|
|
c3f015b695 | ||
|
|
f0c09bdd7b | ||
|
|
1cf41b93ff | ||
|
|
eee55edb80 | ||
|
|
8073a0d003 | ||
|
|
d62174a97d | ||
|
|
245decb0f8 | ||
|
|
cbeaf726b3 | ||
|
|
3bc3a86354 | ||
|
|
45b09c64d2 | ||
|
|
ae33986943 | ||
|
|
483c1962d5 | ||
|
|
2391561755 | ||
|
|
a46c58dabf | ||
|
|
f17509478d | ||
|
|
abaecc3bcc | ||
|
|
b12671234a | ||
|
|
d008c5464c | ||
|
|
ba7964805d | ||
|
|
c125bf0907 | ||
|
|
84c1378dae | ||
|
|
29f60460bb | ||
|
|
b690617f9b | ||
|
|
280dd91c92 | ||
|
|
4accfe4efa | ||
|
|
d12d20fc1d | ||
|
|
050bcdd3c8 | ||
|
|
0ccd196845 | ||
|
|
62de808945 | ||
|
|
3fa4c17f4c | ||
|
|
6fa36fa4b7 | ||
|
|
d209c239e8 | ||
|
|
207846ebea | ||
|
|
a143fdfd27 | ||
|
|
0aae89ddb5 | ||
|
|
9f63c3db85 | ||
|
|
09f03c8f7c | ||
|
|
679e513d52 | ||
|
|
ab7a04419c | ||
|
|
5e6beb78ff | ||
|
|
834ad8018a | ||
|
|
e8dc080fee | ||
|
|
3417a75e2e | ||
|
|
13b55f9e15 | ||
|
|
886c0c6394 | ||
|
|
eb03d18ed7 | ||
|
|
29fb9b2272 | ||
|
|
f9a2223b32 | ||
|
|
3aa25cc7a5 | ||
|
|
a38017893e | ||
|
|
1512b96482 | ||
|
|
99888c2640 | ||
|
|
84d740c231 | ||
|
|
f22c34e432 | ||
|
|
1a2d85a9cb | ||
|
|
45b0d3638b | ||
|
|
d670218993 | ||
|
|
f477a6873b | ||
|
|
40fd0ff757 | ||
|
|
56c7fb4949 | ||
|
|
cf996c34af | ||
|
|
61fc005c26 | ||
|
|
aaabd6d6ff | ||
|
|
907d8007b5 | ||
|
|
43bbdfdbd9 | ||
|
|
0edbd4832b | ||
|
|
265dad23c8 | ||
|
|
c1e031384e | ||
|
|
9dacc8bf4b | ||
|
|
d066d2d42c | ||
|
|
bbdeec4d9e | ||
|
|
5858f68878 | ||
|
|
57ac50788e | ||
|
|
f1743e96b3 | ||
|
|
ef5df5376a | ||
|
|
ff4df03919 | ||
|
|
a31854a5c4 | ||
|
|
63a3d92b1c | ||
|
|
ad0e77ef03 | ||
|
|
871caae99f | ||
|
|
aa95964058 | ||
|
|
81a6ab38a9 | ||
|
|
5ba9e6c198 | ||
|
|
4a94b547a7 | ||
|
|
833720261b | ||
|
|
121b60a17c | ||
|
|
fc9c5e35b6 | ||
|
|
808e5acfb0 | ||
|
|
84e72b11a1 | ||
|
|
8008688fec | ||
|
|
653984e7e1 | ||
|
|
c785c0b22d | ||
|
|
bba0b35518 | ||
|
|
5db713f02a | ||
|
|
8cf578db52 | ||
|
|
d7533ee640 | ||
|
|
922f84a443 | ||
|
|
f97dc2d101 | ||
|
|
3d033ff9b9 | ||
|
|
27e6c7b205 | ||
|
|
76a093e63f | ||
|
|
8128c3f9f2 | ||
|
|
f3fbdab05a | ||
|
|
9396b2b43e | ||
|
|
841cedd307 | ||
|
|
1adc7654a1 | ||
|
|
4b083e9e34 | ||
|
|
4b464e1f54 | ||
|
|
32f9a64225 | ||
|
|
829e17fd06 | ||
|
|
ea86559e84 | ||
|
|
1917f68931 | ||
|
|
44b12dcd3b | ||
|
|
2d3048eead | ||
|
|
59226deecb | ||
|
|
fc804bafce | ||
|
|
f163dcb67e | ||
|
|
a19b145a36 | ||
|
|
51c7c85c39 | ||
|
|
4022cda329 | ||
|
|
eafacd00ec | ||
|
|
c7d562370d | ||
|
|
97c27f1051 | ||
|
|
4f360fa786 | ||
|
|
c1396fd3b8 | ||
|
|
46f0880b83 | ||
|
|
7b166fc957 | ||
|
|
4b71608c2a | ||
|
|
d5b9b3e55d | ||
|
|
9a63600521 | ||
|
|
31df74ed17 | ||
|
|
e3c9a11167 | ||
|
|
3f4e6247c8 | ||
|
|
5581ef7460 | ||
|
|
1ffbb63fef | ||
|
|
0793808a06 | ||
|
|
2c3ebac7e4 | ||
|
|
515e551fda | ||
|
|
6d34e6c1f8 | ||
|
|
47b94004b8 | ||
|
|
d5394df132 | ||
|
|
8b9147ac4a | ||
|
|
4653f10957 | ||
|
|
1ec71927df | ||
|
|
9c6105e94c | ||
|
|
ec2214337d | ||
|
|
d6ad8f6c2f | ||
|
|
d0a6fdc2da | ||
|
|
77c4a3e6a5 | ||
|
|
719e3b1b63 | ||
|
|
5da1b7f8a9 | ||
|
|
268f71f0a0 | ||
|
|
31fe35906e | ||
|
|
4491f9a40d | ||
|
|
a92725f8a7 | ||
|
|
1e17af8a75 | ||
|
|
d4f28aad60 | ||
|
|
812e8500f7 | ||
|
|
b8e63e39e9 |
No files matched your search
@@ -1,19 +1,35 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: generic
|
||||
name: tests-stable
|
||||
|
||||
steps:
|
||||
- name: generic
|
||||
- name: gplay
|
||||
image: nextcloudci/android:android-49
|
||||
privileged: true
|
||||
environment:
|
||||
LOG_USERNAME:
|
||||
from_secret: LOG_USERNAME
|
||||
LOG_PASSWORD:
|
||||
from_secret: LOG_PASSWORD
|
||||
GIT_USERNAME:
|
||||
from_secret: GIT_USERNAME
|
||||
GIT_TOKEN:
|
||||
from_secret: GIT_TOKEN
|
||||
ORG_GRADLE_PROJECT_coverage: ''
|
||||
commands:
|
||||
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
|
||||
- ./gradlew assembleGeneric
|
||||
|
||||
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
|
||||
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
|
||||
- sed -i s"#server#server#" gradle.properties
|
||||
- ./gradlew assembleGplay
|
||||
- ./gradlew assembleGplayDebug
|
||||
- scripts/wait_for_emulator.sh
|
||||
- ./gradlew jacocoTestGplayDebugUnitTestReport && scripts/deleteOutdatedComments.sh "stable" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
- ./gradlew installGplayDebugAndroidTest
|
||||
- scripts/wait_for_server.sh "server"
|
||||
- ./gradlew createGplayDebugCoverageReport -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest && scripts/deleteOutdatedComments.sh "stable" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
- ./gradlew combinedTestReport
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
@@ -28,10 +44,6 @@ steps:
|
||||
from_secret: EMAIL_RECIPIENTS
|
||||
host:
|
||||
from_secret: EMAIL_HOST
|
||||
GIT_USERNAME:
|
||||
from_secret: GIT_USERNAME
|
||||
GIT_TOKEN:
|
||||
from_secret: GIT_TOKEN
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
@@ -40,17 +52,36 @@ steps:
|
||||
branch:
|
||||
- master
|
||||
|
||||
services:
|
||||
- name: server
|
||||
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
|
||||
commands:
|
||||
- BRANCH='stable18' /usr/local/bin/initnc.sh
|
||||
- echo 127.0.0.1 server >> /etc/hosts
|
||||
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
|
||||
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
|
||||
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
|
||||
- su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G"
|
||||
- su www-data -c "php /var/www/html/occ group:add users"
|
||||
- su www-data -c "php /var/www/html/occ group:adduser users user1"
|
||||
- su www-data -c "php /var/www/html/occ group:adduser users user2"
|
||||
- su www-data -c "git clone -b stable18 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable activity"
|
||||
- su www-data -c "git clone -b stable18 https://github.com/nextcloud/text.git /var/www/html/apps/text/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable text"
|
||||
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
|
||||
- /usr/local/bin/run.sh
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
- pull_request
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: gplay
|
||||
name: tests-master
|
||||
|
||||
steps:
|
||||
- name: gplay
|
||||
@@ -73,10 +104,10 @@ steps:
|
||||
- ./gradlew assembleGplay
|
||||
- ./gradlew assembleGplayDebug
|
||||
- scripts/wait_for_emulator.sh
|
||||
- ./gradlew jacocoTestGplayDebugUnitTestReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
- ./gradlew jacocoTestGplayDebugUnitTestReport && scripts/deleteOutdatedComments.sh "master" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
- ./gradlew installGplayDebugAndroidTest
|
||||
- ./gradlew createGplayDebugCoverageReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
- ./gradlew executeScreenshotTests || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "Screenshot" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
- scripts/wait_for_server.sh "server"
|
||||
- ./gradlew createGplayDebugCoverageReport -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest && scripts/deleteOutdatedComments.sh "master" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
- ./gradlew combinedTestReport
|
||||
- curl -o codecov.sh https://codecov.io/bash
|
||||
- bash ./codecov.sh -t fc506ba4-33c3-43e4-a760-aada38c24fd5
|
||||
@@ -102,6 +133,158 @@ steps:
|
||||
branch:
|
||||
- master
|
||||
|
||||
services:
|
||||
- name: server
|
||||
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
|
||||
commands:
|
||||
- /usr/local/bin/initnc.sh
|
||||
- echo 127.0.0.1 server >> /etc/hosts
|
||||
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
|
||||
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
|
||||
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
|
||||
- su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G"
|
||||
- su www-data -c "php /var/www/html/occ group:add users"
|
||||
- su www-data -c "php /var/www/html/occ group:adduser users user1"
|
||||
- su www-data -c "php /var/www/html/occ group:adduser users user2"
|
||||
- su www-data -c "git clone -b master https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable activity"
|
||||
- su www-data -c "git clone -b master https://github.com/nextcloud/text.git /var/www/html/apps/text/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable text"
|
||||
- su www-data -c "git clone -b master https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
|
||||
- /usr/local/bin/run.sh
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: screenshots-stable
|
||||
|
||||
steps:
|
||||
- name: gplay
|
||||
image: nextcloudci/android:android-49
|
||||
privileged: true
|
||||
environment:
|
||||
LOG_USERNAME:
|
||||
from_secret: LOG_USERNAME
|
||||
LOG_PASSWORD:
|
||||
from_secret: LOG_PASSWORD
|
||||
GIT_USERNAME:
|
||||
from_secret: GIT_USERNAME
|
||||
GIT_TOKEN:
|
||||
from_secret: GIT_TOKEN
|
||||
ORG_GRADLE_PROJECT_coverage: ''
|
||||
commands:
|
||||
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
|
||||
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
|
||||
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
|
||||
- ./gradlew assembleGplayDebug
|
||||
- scripts/wait_for_emulator.sh
|
||||
- ./gradlew installGplayDebugAndroidTest
|
||||
- scripts/wait_for_server.sh "server"
|
||||
- ./gradlew gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest && scripts/deleteOutdatedComments.sh "stable" "Screenshot" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "Screenshot" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
port: 587
|
||||
from: [email protected]
|
||||
recipients_only: true
|
||||
username:
|
||||
from_secret: EMAIL_USERNAME
|
||||
password:
|
||||
from_secret: EMAIL_PASSWORD
|
||||
recipients:
|
||||
from_secret: EMAIL_RECIPIENTS
|
||||
host:
|
||||
from_secret: EMAIL_HOST
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
status:
|
||||
- failure
|
||||
branch:
|
||||
- master
|
||||
|
||||
services:
|
||||
- name: server
|
||||
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
|
||||
commands:
|
||||
- BRANCH='stable18' /usr/local/bin/initnc.sh
|
||||
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
|
||||
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
|
||||
- su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3"
|
||||
- su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G"
|
||||
- su www-data -c "php /var/www/html/occ group:add users"
|
||||
- su www-data -c "php /var/www/html/occ group:adduser users user1"
|
||||
- su www-data -c "php /var/www/html/occ group:adduser users user2"
|
||||
- su www-data -c "git clone -b stable18 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable activity"
|
||||
- su www-data -c "git clone -b stable18 https://github.com/nextcloud/text.git /var/www/html/apps/text/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable text"
|
||||
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
|
||||
- /usr/local/bin/run.sh
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: screenshots-master
|
||||
|
||||
steps:
|
||||
- name: gplay
|
||||
image: nextcloudci/android:android-49
|
||||
privileged: true
|
||||
environment:
|
||||
LOG_USERNAME:
|
||||
from_secret: LOG_USERNAME
|
||||
LOG_PASSWORD:
|
||||
from_secret: LOG_PASSWORD
|
||||
GIT_USERNAME:
|
||||
from_secret: GIT_USERNAME
|
||||
GIT_TOKEN:
|
||||
from_secret: GIT_TOKEN
|
||||
ORG_GRADLE_PROJECT_coverage: ''
|
||||
commands:
|
||||
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
|
||||
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
|
||||
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
|
||||
- ./gradlew assembleGplayDebug
|
||||
- scripts/wait_for_emulator.sh
|
||||
- ./gradlew installGplayDebugAndroidTest
|
||||
- scripts/wait_for_server.sh "server"
|
||||
- ./gradlew gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest && scripts/deleteOutdatedComments.sh "master" "Screenshot" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master" "Screenshot" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
port: 587
|
||||
from: [email protected]
|
||||
recipients_only: true
|
||||
username:
|
||||
from_secret: EMAIL_USERNAME
|
||||
password:
|
||||
from_secret: EMAIL_PASSWORD
|
||||
recipients:
|
||||
from_secret: EMAIL_RECIPIENTS
|
||||
host:
|
||||
from_secret: EMAIL_HOST
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
status:
|
||||
- failure
|
||||
branch:
|
||||
- master
|
||||
|
||||
services:
|
||||
- name: server
|
||||
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
|
||||
@@ -118,13 +301,8 @@ services:
|
||||
- su www-data -c "php /var/www/html/occ app:enable activity"
|
||||
- su www-data -c "git clone -b master https://github.com/nextcloud/text.git /var/www/html/apps/text/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable text"
|
||||
- su www-data -c "git clone -b master https://github.com/nextcloud/circles.git /var/www/html/apps/circles/"
|
||||
- apt-get update; apt-get -y install composer
|
||||
- su www-data -c "cd /var/www/html/apps/circles; composer install"
|
||||
- su www-data -c "php /var/www/html/occ app:enable -f circles"
|
||||
- su www-data -c "php /var/www/html/occ config:app:set circles --value 1 allow_non_ssl_links"
|
||||
- su www-data -c "php /var/www/html/occ config:app:set circles --value 1 local_is_non_ssl"
|
||||
- su www-data -c "php /var/www/html/occ circles:manage:create test public publicCircle"
|
||||
- su www-data -c "git clone -b master https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
|
||||
- /usr/local/bin/run.sh
|
||||
|
||||
trigger:
|
||||
@@ -210,7 +388,7 @@ steps:
|
||||
- sed -i "/qa/,/\}/ s/versionCode .*/versionCode $DRONE_BUILD_NUMBER/" build.gradle
|
||||
- sed -i "/qa/,/\}/ s/versionName .*/versionName \"$DRONE_BUILD_NUMBER\"/" build.gradle
|
||||
- ./gradlew assembleQaDebug
|
||||
- /opt/android-sdk-linux/build-tools/*/apksigner sign --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks build/outputs/apk/qa/debug/qa-debug-*.apk
|
||||
- $(find /opt/android-sdk-linux/build-tools/*/apksigner | sort | tail -n1) sign --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks build/outputs/apk/qa/debug/qa-debug-*.apk
|
||||
- scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
|
||||
|
||||
trigger:
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# You can add one username per supported platform and one custom link
|
||||
custom: https://www.bountysource.com/teams/nextcloud/issues?tracker_ids=38838206
|
||||
custom: https://nextcloud.com/include/
|
||||
@@ -0,0 +1,20 @@
|
||||
name: Detekt
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
detekt:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Runt detekt
|
||||
run: ./gradlew detekt
|
||||
@@ -0,0 +1,25 @@
|
||||
name: "Gplay Flavor"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
gPlayFlavor:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Install NDK
|
||||
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
|
||||
- name: Build with Gradle
|
||||
run: |
|
||||
mkdir -p $HOME/.gradle
|
||||
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
|
||||
./gradlew assembleGplay
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
name: "Generic Flavor"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
genericFlavor:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Install NDK
|
||||
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
|
||||
- name: Build generic
|
||||
run: |
|
||||
mkdir -p $HOME/.gradle
|
||||
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
|
||||
./gradlew assembleGeneric
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
name: "Validate Gradle Wrapper"
|
||||
on: [push, pull_request]
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
name: KtLint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
ktlint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Runt ktlint
|
||||
run: ./gradlew ktlint
|
||||
@@ -61,6 +61,7 @@
|
||||
</option>
|
||||
<option name="NAME_COUNT_TO_USE_STAR_IMPORT" value="2147483647" />
|
||||
<option name="NAME_COUNT_TO_USE_STAR_IMPORT_FOR_MEMBERS" value="2147483647" />
|
||||
<option name="CONTINUATION_INDENT_IN_PARAMETER_LISTS" value="false" />
|
||||
</JetCodeStyleSettings>
|
||||
<MarkdownNavigatorCodeStyleSettings>
|
||||
<option name="RIGHT_MARGIN" value="120" />
|
||||
@@ -193,8 +194,5 @@
|
||||
</rules>
|
||||
</arrangement>
|
||||
</codeStyleSettings>
|
||||
<codeStyleSettings language="kotlin">
|
||||
<option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
|
||||
</codeStyleSettings>
|
||||
</code_scheme>
|
||||
</component>
|
||||
@@ -1,3 +1,25 @@
|
||||
## 3.12.0 (June, 10, 2020)
|
||||
|
||||
- add circle support for searching/displaying
|
||||
- if no offline editor is available, use OO/Cool/Text
|
||||
- add possibility to set expiration date on user/group shares (NC18+)
|
||||
- rich workspaces can be disabled on server side
|
||||
- improved loading view
|
||||
- requires Android 4.2 or newer
|
||||
|
||||
For a full list, please see https://github.com/nextcloud/android/milestone/42
|
||||
|
||||
## 3.11.1 (April, 23, 2020)
|
||||
|
||||
- Crash while browsing files
|
||||
- auto upload:
|
||||
- fix wrong conflict detection on custom folder
|
||||
- allow to choose default conflict strategy @fodinabor
|
||||
- fix hanging UI after saving
|
||||
- open office files online if no local app installed
|
||||
|
||||
For a full list, please see https://github.com/nextcloud/android/milestone/47
|
||||
|
||||
## 3.11.0 (March, 26, 2020)
|
||||
|
||||
- not enough space dialog @Shagequi
|
||||
|
||||
@@ -272,7 +272,7 @@ Source code of app:
|
||||
|
||||
#### UI tests
|
||||
We use [shot](https://github.com/Karumi/Shot) for taking screenshots and compare them
|
||||
- check screenshots: ```./gradlew executeScreenshotTests ```
|
||||
- check screenshots: ```./gradlew gplayDebugExecuteScreenshotTests ```
|
||||
- update/generate new screenshots: ```scripts/updateScreenshots.sh ```
|
||||
- in this script are samples how to only execute a given class/test
|
||||
- this will fire up docker & emulator to ensure that screenshots look the same
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import com.github.spotbugs.snom.SpotBugsTask
|
||||
|
||||
// Gradle build file
|
||||
//
|
||||
// This project was started in Eclipse and later moved to Android Studio. In the transition, both IDEs were supported.
|
||||
// Due to this, the files layout is not the usual in new projects created with Android Studio / gradle. This file
|
||||
// merges declarations usually split in two separates build.gradle file, one for global settings of the project in
|
||||
// its root folder, another one for the app module in subfolder of root.
|
||||
import com.github.spotbugs.SpotBugsTask
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.3.72'
|
||||
@@ -20,15 +21,13 @@ buildscript {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.6.3'
|
||||
classpath('com.dicedmelon.gradle:jacoco-android:0.1.4') {
|
||||
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
|
||||
}
|
||||
classpath 'gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.6'
|
||||
classpath 'com.android.tools.build:gradle:4.0.0'
|
||||
classpath('com.hiya:jacoco-android:0.2')
|
||||
classpath 'gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.4.4'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.8.0"
|
||||
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.10.0"
|
||||
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
|
||||
classpath 'com.karumi:shot:3.1.0'
|
||||
classpath 'com.karumi:shot:4.3.0'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +38,7 @@ apply plugin: 'kotlin-android-extensions'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
apply plugin: 'checkstyle'
|
||||
apply plugin: 'pmd'
|
||||
apply plugin: 'jacoco-android'
|
||||
apply plugin: 'com.hiya.jacoco-android'
|
||||
apply plugin: 'com.github.spotbugs'
|
||||
apply plugin: 'io.gitlab.arturbosch.detekt'
|
||||
apply plugin: 'shot'
|
||||
@@ -51,7 +50,7 @@ configurations {
|
||||
exclude group: 'com.google.firebase', module: 'firebase-core'
|
||||
exclude group: 'com.google.firebase', module: 'firebase-analytics'
|
||||
exclude group: 'com.google.firebase', module: 'firebase-measurement-connector'
|
||||
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitely
|
||||
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
|
||||
|
||||
// check for updates every build
|
||||
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
|
||||
@@ -60,15 +59,15 @@ configurations {
|
||||
|
||||
ext {
|
||||
jacocoVersion = "0.8.2"
|
||||
daggerVersion = "2.27"
|
||||
markwonVersion = "4.3.1"
|
||||
daggerVersion = "2.28.1"
|
||||
markwonVersion = "4.4.0"
|
||||
prismVersion = "2.0.0"
|
||||
androidLibraryVersion ="cc78c5da33b65f787e3a6ac87bb69dc3e5114270"
|
||||
androidLibraryVersion ="f37013d222bc868514fa74a94fa9efd8fd2db8bc"
|
||||
|
||||
travisBuild = System.getenv("TRAVIS") == "true"
|
||||
|
||||
// allows for -Dpre-dex=false to be set
|
||||
preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
|
||||
// allows for -D pre-dex=false to be set
|
||||
preDexEnabled = "true" == System.getProperty("pre-dex", "true")
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -84,14 +83,14 @@ repositories {
|
||||
|
||||
// semantic versioning for version code
|
||||
def versionMajor = 3
|
||||
def versionMinor = 12
|
||||
def versionMinor = 13
|
||||
def versionPatch = 0
|
||||
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
|
||||
|
||||
for (TaskExecutionRequest tr : getGradle().getStartParameter().getTaskRequests()) {
|
||||
for (String arg : tr.args) {
|
||||
// any gplay, but only exact "build", as e.g. buildGeneric shall not apply gplay.grade
|
||||
if (arg.contains("Gplay") || arg.contains("lint") || arg.contains("executeScreenshot") || arg == "build") {
|
||||
if (arg.contains("Gplay") || arg.contains("lint") || arg.contains("ExecuteScreenshot") || arg == "build") {
|
||||
apply from: 'gplay.gradle'
|
||||
System.console().println("Applying gplay.gradle")
|
||||
break
|
||||
@@ -99,17 +98,11 @@ for (TaskExecutionRequest tr : getGradle().getStartParameter().getTaskRequests()
|
||||
}
|
||||
}
|
||||
|
||||
spotbugs {
|
||||
toolVersion = '3.1.12'
|
||||
}
|
||||
|
||||
shot {
|
||||
appId = 'com.nextcloud.client'
|
||||
instrumentationTestTask = 'connectedGplayDebugAndroidTest'
|
||||
}
|
||||
|
||||
android {
|
||||
lintOptions {
|
||||
checkGeneratedSources = true
|
||||
abortOnError false
|
||||
htmlReport true
|
||||
htmlOutput file("$project.buildDir/reports/lint/lint.html")
|
||||
@@ -119,7 +112,8 @@ android {
|
||||
'IconMissingDensityFolder',
|
||||
'IconDensities',
|
||||
'GoogleAppIndexingWarning',
|
||||
'MissingDefaultResource'
|
||||
'MissingDefaultResource',
|
||||
'InvalidPeriodicWorkRequestInterval' // crashes due to a bug in lint itself
|
||||
}
|
||||
|
||||
dexOptions {
|
||||
@@ -129,7 +123,7 @@ android {
|
||||
compileSdkVersion 29
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 17
|
||||
minSdkVersion 18
|
||||
targetSdkVersion 29
|
||||
|
||||
// arguments to be passed to functional tests
|
||||
@@ -177,8 +171,8 @@ android {
|
||||
versionDev {
|
||||
applicationId "com.nextcloud.android.beta"
|
||||
dimension "default"
|
||||
versionCode 20200423
|
||||
versionName "20200423"
|
||||
versionCode 20200701
|
||||
versionName "20200701"
|
||||
}
|
||||
|
||||
qa {
|
||||
@@ -191,8 +185,6 @@ android {
|
||||
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
// comment out if you run androidTests in Android Studio experiencing test runner crashes
|
||||
execution 'ANDROIDX_TEST_ORCHESTRATOR'
|
||||
animationsDisabled true
|
||||
}
|
||||
}
|
||||
@@ -201,7 +193,7 @@ android {
|
||||
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
|
||||
|
||||
dexOptions {
|
||||
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
|
||||
// Skip pre-dexing when running on Travis CI or when disabled via -D pre-dex=false.
|
||||
preDexLibraries = preDexEnabled && !travisBuild
|
||||
}
|
||||
|
||||
@@ -243,41 +235,33 @@ android {
|
||||
android.applicationVariants.all { variant ->
|
||||
String variantName = variant.name
|
||||
String capVariantName = variantName.substring(0, 1).toUpperCase() + variantName.substring(1)
|
||||
tasks.register("spotbugs${capVariantName}", SpotBugsTask) {
|
||||
tasks.register("spotbugs${capVariantName}Report", SpotBugsTask) {
|
||||
ignoreFailures = true // should continue checking
|
||||
effort = "max"
|
||||
reportLevel = "medium"
|
||||
classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/")
|
||||
excludeFilter = file("${project.rootDir}/spotbugs-filter.xml")
|
||||
pluginClasspath = project.configurations.spotbugsPlugins
|
||||
source = fileTree('src/main/java')
|
||||
classpath = files()
|
||||
include '**/*.java'
|
||||
exclude '**/gen/**'
|
||||
|
||||
reports {
|
||||
xml.enabled = false
|
||||
html.enabled = true
|
||||
html {
|
||||
enabled = true
|
||||
destination = file("$project.buildDir/reports/spotbugs/spotbugs.html")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
check.dependsOn 'checkstyle', 'spotbugsGplayDebug', 'pmd', 'lint', 'ktlint', 'detekt'
|
||||
check.dependsOn 'checkstyle', 'spotbugsGplayDebugReport', 'pmd', 'lint', 'ktlint', 'detekt'
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
dataBinding {
|
||||
enabled true
|
||||
}
|
||||
|
||||
viewBinding {
|
||||
enabled true
|
||||
buildFeatures {
|
||||
dataBinding true
|
||||
viewBinding true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -289,6 +273,15 @@ dependencies {
|
||||
gplayImplementation "com.github.nextcloud:android-library:$androidLibraryVersion"
|
||||
versionDevImplementation "com.github.nextcloud:android-library:$androidLibraryVersion"
|
||||
qaImplementation "com.github.nextcloud:android-library:$androidLibraryVersion"
|
||||
|
||||
kapt 'javax.xml.bind:jaxb-api:2.3.1'
|
||||
kapt 'org.glassfish.jaxb:jaxb-core:2.3.0.1'
|
||||
kapt 'org.glassfish.jaxb:jaxb-runtime:2.3.3'
|
||||
|
||||
annotationProcessor 'javax.xml.bind:jaxb-api:2.3.1'
|
||||
annotationProcessor 'org.glassfish.jaxb:jaxb-core:2.3.0.1'
|
||||
annotationProcessor 'org.glassfish.jaxb:jaxb-runtime:2.3.3'
|
||||
|
||||
compileOnly 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2' // remove after entire switch to lib v2
|
||||
implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
|
||||
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.1' // remove after entire switch to lib v2
|
||||
@@ -296,26 +289,26 @@ dependencies {
|
||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation 'com.google.android.material:material:1.1.0'
|
||||
implementation 'com.jakewharton:disklrucache:2.0.2'
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0-beta01'
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0-rc01'
|
||||
implementation 'androidx.cardview:cardview:1.0.0'
|
||||
implementation 'androidx.exifinterface:exifinterface:1.2.0'
|
||||
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
|
||||
implementation "androidx.work:work-runtime:2.3.4"
|
||||
implementation "androidx.work:work-runtime-ktx:2.3.4"
|
||||
implementation "androidx.fragment:fragment:1.2.5"
|
||||
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
|
||||
compileOnly 'com.google.code.findbugs:annotations:2.0.1'
|
||||
implementation 'commons-io:commons-io:2.6'
|
||||
implementation 'com.github.tobiaskaminsky:android-job:v1.2.6.1' // 'com.github.evernote:android-job:v1.2.5'
|
||||
implementation 'commons-io:commons-io:2.7'
|
||||
implementation 'com.jakewharton:butterknife:10.2.1'
|
||||
kapt 'com.jakewharton:butterknife-compiler:10.2.1'
|
||||
implementation 'org.greenrobot:eventbus:3.2.0'
|
||||
implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.6'
|
||||
implementation 'org.lukhnos:nnio:0.2'
|
||||
implementation 'com.madgag.spongycastle:pkix:1.54.0.0'
|
||||
implementation 'org.bouncycastle:bcpkix-jdk15on:1.65'
|
||||
implementation 'com.google.code.gson:gson:2.8.6'
|
||||
implementation 'com.afollestad:sectioned-recyclerview:0.5.0'
|
||||
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
|
||||
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.19'
|
||||
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.20'
|
||||
implementation 'com.github.tobiaskaminsky:qrcodescanner:0.1.2.2' // 'com.github.blikoon:QRCodeScanner:0.1.2'
|
||||
implementation 'com.google.android:flexbox:2.0.1'
|
||||
implementation 'org.parceler:parceler-api:1.1.13'
|
||||
@@ -338,9 +331,12 @@ dependencies {
|
||||
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
|
||||
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
|
||||
|
||||
ktlint "com.pinterest:ktlint:0.36.0"
|
||||
ktlint "com.pinterest:ktlint:0.37.2"
|
||||
implementation 'org.conscrypt:conscrypt-android:2.4.0'
|
||||
|
||||
// Shimmer animation
|
||||
implementation 'com.elyeproj.libraries:loaderviewlibrary:2.0.0'
|
||||
|
||||
// dependencies for markdown rendering
|
||||
implementation "io.noties.markwon:core:$markwonVersion"
|
||||
implementation "io.noties.markwon:ext-strikethrough:$markwonVersion"
|
||||
@@ -359,7 +355,7 @@ dependencies {
|
||||
testImplementation 'org.powermock:powermock-core:2.0.7'
|
||||
testImplementation 'org.powermock:powermock-module-junit4:2.0.7'
|
||||
testImplementation 'org.powermock:powermock-api-mockito2:2.0.7'
|
||||
testImplementation 'org.json:json:20190722'
|
||||
testImplementation 'org.json:json:20200518'
|
||||
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
|
||||
testImplementation "androidx.arch.core:core-testing:2.1.0"
|
||||
|
||||
@@ -394,6 +390,11 @@ dependencies {
|
||||
implementation "com.github.stateless4j:stateless4j:2.6.0"
|
||||
androidTestImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
|
||||
androidTestImplementation "org.mockito:mockito-android:3.3.3"
|
||||
androidTestImplementation 'net.bytebuddy:byte-buddy:1.10.13'
|
||||
}
|
||||
|
||||
spotbugs {
|
||||
toolVersion = '3.1.12'
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
@@ -416,17 +417,15 @@ android.applicationVariants.all { variant ->
|
||||
tasks.register("combinedTestReport", JacocoReport) {
|
||||
|
||||
reports {
|
||||
xml.enabled = true
|
||||
html.enabled = true
|
||||
xml.enabled true
|
||||
html.enabled true
|
||||
csv.enabled false
|
||||
}
|
||||
|
||||
def fileFilter = ['**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', '**/*Test*.*', 'android/**/*.*']
|
||||
def debugTree = fileTree(dir: "$project.buildDir/intermediates/classes/gplay/debug", excludes: fileFilter)
|
||||
def mainSrc = "$project.projectDir/src/main/java"
|
||||
|
||||
sourceDirectories = files([mainSrc])
|
||||
classDirectories = files([debugTree])
|
||||
executionData = fileTree(dir: project.buildDir, includes: [
|
||||
additionalSourceDirs.setFrom files(subprojects.sourceSets.main.allSource.srcDirs)
|
||||
sourceDirectories.setFrom files(subprojects.sourceSets.main.allSource.srcDirs)
|
||||
classDirectories.setFrom files(subprojects.sourceSets.main.output)
|
||||
executionData.setFrom project.fileTree(dir: project.buildDir, includes: [
|
||||
'jacoco/testGplayDebugUnitTest.exec', 'outputs/code-coverage/connected/flavors/GPLAY/*coverage.ec'
|
||||
])
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1">
|
||||
<path
|
||||
d="M1.46 2c-.25 0-.46.21-.46.46v11.08c0 .257.203.46.46.46h13.08c.257 0 .46-.203.46-.46V4.462a.47.47 0 0 0-.46-.465H8L6 2H1.46zm7.583 3.82c.671 0 1.24.49 1.24 1.123v.014c-.007.197-.007.424-.142.969l-.012.011a.914.914 0 0 1-.156.26c-.067.086-.145.173-.22.258l-.089.104c-.013.05-.03.104-.039.154-.038.187-.019.308 0 .35.333.141.668.267.955.388.314.133.584.264.764.479a.208.208 0 0 1 .05.103c.02.155.036.417.053.684.017.267.035.54.051.66a.212.212 0 0 1-.103.207c-.566.301-1.457.434-2.352.437-.895.004-1.793-.121-2.377-.437a.212.212 0 0 1-.104-.207c.022-.171.044-.385.069-.598l-.022.002c-.614.003-1.23-.084-1.63-.3a.146.146 0 0 1-.07-.143c.033-.264.076-.656.105-.922a.111.111 0 0 1 0-.018c.03-.129.12-.173.213-.23.091-.057.204-.105.328-.158.22-.096.466-.179.664-.248a.69.69 0 0 0-.018-.248l-.035-.153-.018-.017a3.558 3.558 0 0 1-.168-.186c-.05-.059-.088-.102-.115-.178l-.01-.007v-.01a3.08 3.08 0 0 1-.097-.664c0-.435.391-.772.851-.772.46 0 .852.337.852.772v.01c-.005.135-.005.29-.098.664l-.01.01a.61.61 0 0 1-.105.175c-.045.059-.1.12-.15.178l-.063.07c-.009.036-.02.074-.027.108a.448.448 0 0 0 0 .238c.228.097.46.183.656.266.15.063.277.134.387.216.144-.051.297-.114.424-.158a1.03 1.03 0 0 0-.026-.361c-.015-.07-.036-.149-.053-.22l-.025-.026a5.503 5.503 0 0 1-.246-.272c-.074-.085-.13-.148-.168-.258l-.012-.013v-.014c-.12-.522-.138-.768-.142-.969 0-.633.569-1.123 1.24-1.123z"
|
||||
fill="#0082c9" fill-rule="evenodd" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16" width="16" version="1.1"><path fill="#0082c9" d="m1.5 2c-0.25 0-0.5 0.25-0.5 0.5v11c0 0.26 0.24 0.5 0.5 0.5h13c0.26 0 0.5-0.241 0.5-0.5v-9c0-0.25-0.25-0.5-0.5-0.5h-6.5l-2-2h-4.5zm8.75 3.5a1.25 1.25 0 0 1 1.25 1.25 1.25 1.25 0 0 1 -1.25 1.25 1.25 1.25 0 0 1 -0.8008 -0.291l-2.4512 1.2265a1.25 1.25 0 0 1 0.002 0.0645 1.25 1.25 0 0 1 -0.0039 0.0645l2.4531 1.2265a1.25 1.25 0 0 1 0.8008 -0.291 1.25 1.25 0 0 1 1.25 1.25 1.25 1.25 0 0 1 -1.25 1.25 1.25 1.25 0 0 1 -1.25 -1.25 1.25 1.25 0 0 1 0.0039 -0.064l-2.4531-1.227a1.25 1.25 0 0 1 -0.8008 0.291 1.25 1.25 0 0 1 -1.25 -1.25 1.25 1.25 0 0 1 1.25 -1.25 1.25 1.25 0 0 1 0.8008 0.291l2.4512-1.2265a1.25 1.25 0 0 1 -0.002 -0.0645 1.25 1.25 0 0 1 1.25 -1.25z"/></svg>
|
||||
|
Before Width: | Height: | Size: 784 B |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16" width="16" version="1.1"><path fill="#0082c9" d="m1.5 2c-0.25 0-0.5 0.25-0.5 0.5v11c0 0.26 0.24 0.5 0.5 0.5h13c0.26 0 0.5-0.241 0.5-0.5v-9c0-0.25-0.25-0.5-0.5-0.5h-6.5l-2-2h-4.5zm6.5 3.25l1.1 2.6504 2.9 0.2246-2.25 1.875 0.75 2.75-2.5-1.551-2.5 1.551 0.75-2.75-2.25-1.875 2.9-0.2246 1.1-2.6504z"/></svg>
|
||||
|
Before Width: | Height: | Size: 376 B |
@@ -1,56 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
height="17.066668"
|
||||
width="17.066668"
|
||||
version="1"
|
||||
id="svg2"
|
||||
inkscape:version="0.92.2 2405546, 2018-03-11"
|
||||
sodipodi:docname="folder.svg"
|
||||
inkscape:export-filename="C:\DEV\src\Android\Nextcloud\colorFolderNew\src\main\res\drawable-xxxhdpi\ic_list_empty_folder.png"
|
||||
inkscape:export-xdpi="1620"
|
||||
inkscape:export-ydpi="1620">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8"/>
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="871"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:zoom="14.75"
|
||||
inkscape:cx="19.423729"
|
||||
inkscape:cy="8"
|
||||
inkscape:window-x="1600"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2"/>
|
||||
<path
|
||||
d="m 1.5541333,2.1301333 c -0.2666666,0 -0.4906666,0.224 -0.4906666,0.4906667 v 11.818667 c 0,0.277333 0.2154666,0.490666 0.4906666,0.490666 H 15.506133 c 0.2752,0 0.490667,-0.213333 0.490667,-0.490666 V 4.7573333 c 0,-0.2666666 -0.224,-0.4938666 -0.490667,-0.4938666 H 8.5301333 L 6.3968,2.1301333 Z"
|
||||
id="path4"
|
||||
style="fill:#0082c9;fill-opacity:1;fill-rule:evenodd;stroke-width:1.06666672;opacity:1"
|
||||
inkscape:connector-curvature="0"/>
|
||||
</svg>
|
||||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z" /></svg>
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 388 B |
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
id="svg3738"
|
||||
sodipodi:docname="folder-group.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata3744">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs3742" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2520"
|
||||
inkscape:window-height="1481"
|
||||
id="namedview3740"
|
||||
showgrid="false"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="27.812867"
|
||||
inkscape:cx="20.589505"
|
||||
inkscape:cy="10.4013"
|
||||
inkscape:window-x="2869"
|
||||
inkscape:window-y="-11"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg3738">
|
||||
<sodipodi:guide
|
||||
position="12.025424,12.737288"
|
||||
orientation="1,0"
|
||||
id="guide3746"
|
||||
inkscape:locked="false" />
|
||||
<sodipodi:guide
|
||||
position="1.0606602,11.020079"
|
||||
orientation="0,1"
|
||||
id="guide3748"
|
||||
inkscape:locked="false" />
|
||||
</sodipodi:namedview>
|
||||
<path
|
||||
d="M 4 4 C 2.89 4 2 4.89 2 6 L 2 18 C 2 19.104569 2.8954305 20 4 20 L 20 20 C 21.104569 20 22 19.104569 22 18 L 22 8 C 22 6.89 21.1 6 20 6 L 12 6 L 10 4 L 4 4 z M 12.025391 8.6132812 A 2.0714286 2.0714286 0 0 1 14.097656 10.685547 L 14.097656 11.513672 L 14.511719 11.513672 A 0.82857142 0.82857142 0 0 1 15.339844 12.341797 L 15.339844 16.484375 A 0.82857142 0.82857142 0 0 1 14.511719 17.314453 L 9.5390625 17.314453 A 0.82857142 0.82857142 0 0 1 8.7109375 16.484375 L 8.7109375 12.341797 C 8.7109375 11.88194 9.0833475 11.513672 9.5390625 11.513672 L 9.953125 11.513672 L 9.953125 10.685547 A 2.0714286 2.0714286 0 0 1 12.025391 8.6132812 z M 12.025391 9.4414062 A 1.2428571 1.2428571 0 0 0 10.783203 10.685547 L 10.783203 11.513672 L 13.267578 11.513672 L 13.267578 10.685547 A 1.2428571 1.2428571 0 0 0 12.025391 9.4414062 z M 12.025391 13.585938 A 0.82857142 0.82857142 0 0 0 11.197266 14.414062 A 0.82857142 0.82857142 0 0 0 12.025391 15.242188 A 0.82857142 0.82857142 0 0 0 12.853516 14.414062 C 12.853516 13.954206 12.481105 13.585937 12.025391 13.585938 z "
|
||||
id="path3736" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -1,5 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1">
|
||||
<path
|
||||
d="M1.46 2c-.25 0-.46.21-.46.46v11.08c0 .258.202.46.46.46h13.08c.258 0 .46-.202.46-.46V4.462c0-.25-.21-.463-.46-.463H8L6 2H1.46zm6.517 3.793h3.57v3.385L10.355 8.05 8.57 9.743l-1.19-1.13 1.786-1.69-1.19-1.13zm-2.38.564H7.38l.597.565h-2.38v4.514h4.758V9.178l.596.564v1.694c0 .312-.265.564-.595.564h-4.76c-.33 0-.595-.252-.595-.564V6.922c0-.313.266-.565.596-.565z"
|
||||
fill-rule="evenodd" fill="#0082c9"/>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<path d="M10,4L4,4C2.89,4 2,4.89 2,6L2,18C2,19.097 2.903,20 4,20L20,20C21.097,20 22,19.097 22,18L22,8C22,6.89 21.1,6 20,6L12,6L10,4ZM8.453,9.652L10.823,9.652L11.616,10.403L8.453,10.403L8.453,16.403L14.776,16.403L14.776,13.402L15.569,14.151L15.569,16.403C15.569,16.817 15.216,17.152 14.778,17.152L8.451,17.152C8.013,17.152 7.661,16.817 7.661,16.403L7.661,10.403C7.661,9.987 8.014,9.652 8.453,9.652ZM11.616,8.903L16.361,8.903L16.361,13.402L14.776,11.902L12.404,14.152L10.823,12.651L13.196,10.405L11.616,8.903Z" style="fill-rule:nonzero;"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 508 B After Width: | Height: | Size: 992 B |
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
id="svg3738"
|
||||
sodipodi:docname="folder-group.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata3744">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs3742" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2520"
|
||||
inkscape:window-height="1481"
|
||||
id="namedview3740"
|
||||
showgrid="false"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="39.333333"
|
||||
inkscape:cx="5.613764"
|
||||
inkscape:cy="12.065596"
|
||||
inkscape:window-x="2869"
|
||||
inkscape:window-y="-11"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg3738">
|
||||
<sodipodi:guide
|
||||
position="12.025424,12.737288"
|
||||
orientation="1,0"
|
||||
id="guide3746"
|
||||
inkscape:locked="false" />
|
||||
<sodipodi:guide
|
||||
position="1.0606602,11.020079"
|
||||
orientation="0,1"
|
||||
id="guide3748"
|
||||
inkscape:locked="false" />
|
||||
</sodipodi:namedview>
|
||||
<path
|
||||
d="M 4 4 C 2.89 4 2 4.89 2 6 L 2 18 C 2 19.104569 2.8954305 20 4 20 L 20 20 C 21.104569 20 22 19.104569 22 18 L 22 8 C 22 6.89 21.1 6 20 6 L 12 6 L 10 4 L 4 4 z M 10.224609 8.6347656 A 2.0299929 2.0299929 0 0 1 12.3125 10.664062 A 2.0299929 2.0299929 0 0 1 10.283203 12.693359 A 2.0299929 2.0299929 0 0 1 10.224609 8.6347656 z M 13.763672 8.6347656 A 2.0299932 2.0299932 0 0 1 13.763672 12.693359 A 1.9661931 1.9661931 0 0 1 12.644531 12.351562 A 2.8999899 2.8999899 0 0 0 12.644531 8.9765625 A 1.9661931 1.9661931 0 0 1 13.763672 8.6347656 z M 10.283203 13.853516 C 14.343189 13.853516 14.34375 16.173828 14.34375 16.173828 L 14.34375 17.333984 L 6.2226562 17.333984 L 6.2226562 16.173828 C 6.2226562 16.173828 6.2232172 13.853516 10.283203 13.853516 z M 14.308594 13.853516 C 17.823381 14.068115 17.822266 16.173828 17.822266 16.173828 L 17.822266 17.333984 L 15.503906 17.333984 L 15.503906 16.173828 A 3.0855892 3.0855892 0 0 0 14.308594 13.853516 z "
|
||||
id="path3736" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -1,4 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16" width="16" version="1.1">
|
||||
<path fill="#0082c9"
|
||||
d="m1.5 2c-0.25 0-0.5 0.25-0.5 0.5v11c0 0.26 0.24 0.5 0.5 0.5h13c0.26 0 0.5-0.241 0.5-0.5v-9c0-0.25-0.25-0.5-0.5-0.5h-6.5l-2-2h-4.5zm8.334 3.5c0.434-0.0019 0.866 0.1545 1.186 0.4746 0.64 0.6407 0.64 1.742 0 2.3828l-0.85 0.8496c0.027-0.4496-0.019-0.7497-0.3067-1.1562l0.4237-0.4258c0.275-0.2752 0.252-0.6283 0.002-0.916-0.27-0.2699-0.644-0.2702-0.916 0.0019l-1.6464 1.6465c-0.2829 0.283-0.2956 0.6223-0.002 0.916l-0.7305 0.7326c-0.2872-0.2874-0.4858-0.6731-0.5117-1.1076-0.0256-0.4344 0.1457-0.9071 0.5117-1.2734l1.6465-1.6484c0.3245-0.3147 0.7598-0.4747 1.1934-0.4766zm-0.8262 2.4902c0.2882 0.2871 0.4869 0.6743 0.5117 1.1094 0.0254 0.4352-0.1449 0.9064-0.5117 1.2734l-1.6484 1.647c-0.6396 0.639-1.7395 0.639-2.3789 0-0.6396-0.64-0.6415-1.738 0-2.3794l0.8613-0.8633c-0.0263 0.4493 0.0227 0.7505 0.3105 1.1563l-0.4394 0.4394c-0.2588 0.259-0.3242 0.59 0 0.914 0.2438 0.244 0.5557 0.307 0.916 0l1.6465-1.6464c0.2647-0.2648 0.2866-0.6331 0.0019-0.9179l0.7305-0.7325z"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
id="svg3738"
|
||||
sodipodi:docname="folder_public.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata3744">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs3742" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2520"
|
||||
inkscape:window-height="1481"
|
||||
id="namedview3740"
|
||||
showgrid="false"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="27.812867"
|
||||
inkscape:cx="19.008573"
|
||||
inkscape:cy="7.4638855"
|
||||
inkscape:window-x="2869"
|
||||
inkscape:window-y="-11"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg3738">
|
||||
<sodipodi:guide
|
||||
position="12.025424,12.737288"
|
||||
orientation="1,0"
|
||||
id="guide3746"
|
||||
inkscape:locked="false" />
|
||||
<sodipodi:guide
|
||||
position="1.0606602,11.020079"
|
||||
orientation="0,1"
|
||||
id="guide3748"
|
||||
inkscape:locked="false" />
|
||||
</sodipodi:namedview>
|
||||
<path
|
||||
d="M 4 4 C 2.89 4 2 4.89 2 6 L 2 18 C 2 19.104569 2.8954305 20 4 20 L 20 20 C 21.104569 20 22 19.104569 22 18 L 22 8 C 22 6.89 21.1 6 20 6 L 12 6 L 10 4 L 4 4 z M 14.3125 8.7167969 C 14.834031 8.7167969 15.355444 8.9140378 15.75 9.3085938 C 16.539112 10.097706 16.539112 11.393256 15.75 12.183594 L 14.466797 13.466797 C 14.520098 12.985243 14.444634 12.498869 14.236328 12.054688 L 14.929688 11.361328 C 15.278905 11.013335 15.27768 10.480077 14.929688 10.130859 C 14.581694 9.7816405 14.04526 9.7816405 13.697266 10.130859 L 11.644531 12.183594 A 0.8577305 0.8577305 0 0 0 11.886719 13.582031 L 11.041016 14.429688 C 10.961982 14.371484 10.893336 14.308618 10.822266 14.236328 A 2.0413986 2.0413986 0 0 1 10.822266 11.361328 L 12.875 9.3085938 C 13.269556 8.9140377 13.790969 8.7167969 14.3125 8.7167969 z M 13.068359 11.580078 A 1.9151897 1.9151897 0 0 1 13.285156 11.771484 A 2.0413986 2.0413986 0 0 1 13.285156 14.646484 L 13.285156 14.648438 L 11.232422 16.701172 C 10.44331 17.491509 9.146534 17.490284 8.3574219 16.701172 C 7.5683099 15.91206 7.5683099 14.616509 8.3574219 13.826172 L 9.640625 12.542969 A 2.627106 2.627106 0 0 0 9.8730469 13.955078 L 9.1796875 14.648438 C 8.8316939 14.996431 8.8310813 15.530912 9.1796875 15.878906 C 9.5282936 16.226925 10.062891 16.228125 10.412109 15.878906 L 12.464844 13.826172 A 0.8577305 0.8577305 0 0 0 12.220703 12.427734 L 13.068359 11.580078 z "
|
||||
id="path3736" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.2 KiB |
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
id="svg3738"
|
||||
sodipodi:docname="folder-shared.svg"
|
||||
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
|
||||
<metadata
|
||||
id="metadata3744">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs3742" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="2520"
|
||||
inkscape:window-height="1481"
|
||||
id="namedview3740"
|
||||
showgrid="false"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="27.812867"
|
||||
inkscape:cx="-0.64166953"
|
||||
inkscape:cy="11.271299"
|
||||
inkscape:window-x="2869"
|
||||
inkscape:window-y="-11"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg3738">
|
||||
<sodipodi:guide
|
||||
position="12.025424,12.737288"
|
||||
orientation="1,0"
|
||||
id="guide3746"
|
||||
inkscape:locked="false" />
|
||||
<sodipodi:guide
|
||||
position="1.0606602,11.020079"
|
||||
orientation="0,1"
|
||||
id="guide3748"
|
||||
inkscape:locked="false" />
|
||||
</sodipodi:namedview>
|
||||
<path
|
||||
d="M 4 4 C 2.89 4 2 4.89 2 6 L 2 18 A 2 2 0 0 0 4 20 L 20 20 A 2 2 0 0 0 22 18 L 22 8 C 22 6.89 21.1 6 20 6 L 12 6 L 10 4 L 4 4 z M 14.933594 8.1679688 A 1.449999 1.449999 0 0 1 16.382812 9.6191406 A 1.449999 1.449999 0 0 1 14.933594 11.068359 C 14.55176 11.068359 14.208265 10.9194 13.947266 10.677734 L 10.539062 12.664062 C 10.563222 12.77523 10.583984 12.885951 10.583984 13.001953 C 10.583984 13.117952 10.563223 13.228676 10.539062 13.339844 L 13.986328 15.345703 C 14.237662 15.118536 14.566259 14.974609 14.933594 14.974609 A 1.4113325 1.4113325 0 0 1 16.345703 16.384766 C 16.345703 17.162932 15.711761 17.791016 14.933594 17.791016 C 14.155428 17.791016 13.521484 17.162932 13.521484 16.384766 C 13.521484 16.273599 13.536387 16.167908 13.560547 16.066406 L 10.119141 14.060547 C 9.8581421 14.302213 9.5146455 14.451172 9.1328125 14.451172 A 1.449999 1.449999 0 0 1 7.6835938 13.001953 A 1.449999 1.449999 0 0 1 9.1328125 11.552734 C 9.5146455 11.552734 9.8581421 11.701692 10.119141 11.943359 L 13.527344 9.9570312 C 13.503184 9.8458632 13.484375 9.7351412 13.484375 9.6191406 A 1.449999 1.449999 0 0 1 14.933594 8.1679688 z "
|
||||
id="path3736" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="100%" height="100%" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
||||
<path d="M10,4L4,4C2.89,4 2,4.89 2,6L2,18C2,19.097 2.903,20 4,20L20,20C21.097,20 22,19.097 22,18L22,8C22,6.89 21.1,6 20,6L12,6L10,4ZM11.988,8.52L13.26,11.583L16.611,11.843L14.011,14.01L14.878,17.188L11.988,15.395L9.099,17.188L9.966,14.01L7.365,11.843L10.717,11.583L11.988,8.52Z" style="fill-rule:nonzero;"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 762 B |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1"><path fill-rule="evenodd" fill="#0082c9" d="m1.4609 2c-0.25 0-0.4609 0.2109-0.4609 0.4609v11.078c0 0.258 0.2029 0.461 0.4609 0.461h13.078c0.258 0 0.461-0.203 0.461-0.461v-9.0761c0-0.25-0.211-0.4649-0.461-0.4649h-6.539l-2-1.998h-4.5391zm6.5391 3.8008c0.8836 0 1.5996 0.7159 1.5996 1.5996v0.7988h0.4004v2.8008h-4v-2.8008h0.4004v-0.7988c0-0.8837 0.716-1.5996 1.5996-1.5996zm0 0.7988c-0.4419 0-0.8008 0.3589-0.8008 0.8008v0.7988h1.6016v-0.7988c0-0.4419-0.3589-0.8008-0.8008-0.8008z"/></svg>
|
||||
|
Before Width: | Height: | Size: 562 B |
@@ -1 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z" /></svg>
|
||||
|
Before Width: | Height: | Size: 335 B |
@@ -1,20 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
height="16"
|
||||
width="16"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="shared_via_link.svg"
|
||||
inkscape:version="0.92.2 2405546, 2018-03-11"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" inkscape:export-ydpi="384" inkscape:export-xdpi="384"
|
||||
inkscape:export-filename="C:\DEV\src\Android\Nextcloud\greySharedIndicator\res\drawable-xxxhdpi\shared_via_link.png"
|
||||
inkscape:export-xdpi="384"
|
||||
inkscape:export-ydpi="384">
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)" sodipodi:docname="shared_via_link.svg" id="svg8" version="1.1"
|
||||
width="16" height="16">
|
||||
<metadata
|
||||
id="metadata14">
|
||||
<rdf:RDF>
|
||||
@@ -28,37 +19,18 @@
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs12" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="871"
|
||||
id="namedview10"
|
||||
showgrid="false"
|
||||
inkscape:zoom="29.5"
|
||||
inkscape:cx="-1.1061145"
|
||||
inkscape:cy="7.2856262"
|
||||
inkscape:window-x="1600"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg8"/>
|
||||
<g
|
||||
color="#000"
|
||||
id="g6"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-opacity:1;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:none;opacity:0.8">
|
||||
<path
|
||||
style="block-progression:tb;text-transform:none;text-indent:0;fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-opacity:1;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
<sodipodi:namedview inkscape:document-rotation="0" inkscape:current-layer="g6" inkscape:window-maximized="1"
|
||||
inkscape:window-y="0" inkscape:window-x="0" inkscape:cy="8.0173062" inkscape:cx="5.9813853"
|
||||
inkscape:zoom="41.7193" showgrid="false" id="namedview10" inkscape:window-height="1141"
|
||||
inkscape:window-width="1920" inkscape:pageshadow="2" inkscape:pageopacity="0" guidetolerance="10"
|
||||
gridtolerance="10" objecttolerance="10" borderopacity="1" bordercolor="#666666" pagecolor="#ffffff" />
|
||||
<g style="fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-opacity:1;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:none;opacity:0.8"
|
||||
id="g6" color="#000">
|
||||
<path id="path2"
|
||||
d="M5.99 5.318a3.332 3.332 0 0 0 0 4.693c.116.118.226.22.355.315l1.383-1.383A1.4 1.4 0 0 1 7.33 6.66l3.352-3.352c.568-.57 1.442-.57 2.01 0s.57 1.442 0 2.01l-1.13 1.132c.34.725.464 1.518.377 2.304l2.094-2.095c1.288-1.29 1.288-3.406 0-4.694s-3.405-1.288-4.693 0L5.99 5.318z"
|
||||
id="path2"/>
|
||||
<path
|
||||
style="block-progression:tb;text-transform:none;text-indent:0;fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-opacity:1;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
style="block-progression:tb;text-transform:none;text-indent:0;fill:#000000;fill-opacity:1;stroke:none;stroke-opacity:1;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path id="path4"
|
||||
d="M10.01 10.68a3.332 3.332 0 0 0 0-4.692 3.126 3.126 0 0 0-.355-.314L8.272 7.057A1.4 1.4 0 0 1 8.67 9.34l-3.35 3.35c-.57.57-1.444.57-2.013.002s-.568-1.442 0-2.01L4.44 9.55a4.288 4.288 0 0 1-.38-2.305L1.967 9.34c-1.288 1.29-1.288 3.405 0 4.693s3.405 1.29 4.693 0l3.35-3.352z"
|
||||
id="path4"/>
|
||||
style="block-progression:tb;text-transform:none;text-indent:0;fill:#000000;fill-opacity:1;stroke:none;stroke-opacity:1;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
@@ -1,6 +1,6 @@
|
||||
#Wed Aug 21 07:03:37 CEST 2019
|
||||
#Fri May 29 07:39:21 CEST 2020
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
|
||||
@@ -7,7 +7,7 @@
|
||||
<issue id="InvalidPackage">
|
||||
<ignore path="**/freemarker-2.*.*.jar" />
|
||||
<ignore path="**/nnio-0.2.jar"/>
|
||||
<ignore path="**/pkix-1.54.0.0.jar"/>
|
||||
<ignore path="**/bcpkix-jdk15on-1.65.jar" />
|
||||
</issue>
|
||||
|
||||
<issue id="UnusedResources">
|
||||
@@ -44,4 +44,22 @@
|
||||
<ignore path="**/values-**/strings.xml" />
|
||||
</issue>
|
||||
|
||||
<issue id="TrustAllX509TrustManager">
|
||||
<ignore path="**/bouncycastle/est/jcajce/*.class" />
|
||||
</issue>
|
||||
|
||||
<issue id="RestrictedApi" severity="error">
|
||||
<ignore path="build" />
|
||||
</issue>
|
||||
|
||||
<issue id="NewApi" severity="error">
|
||||
<ignore path="build" />
|
||||
</issue>
|
||||
|
||||
<issue id="ObsoleteLintCustomCheck" severity="warning">
|
||||
<ignore path="**/fragment-1.2.5/**/lint.jar" />
|
||||
<ignore path="**/work-runtime-2.3.4/**/lint.jar" />
|
||||
<ignore path="**/jetified-butterknife-runtime-10.2.1/**/lint.jar" />
|
||||
<ignore path="**/jetified-dagger-lint-aar-2.28.1/**/lint.jar" />
|
||||
</issue>
|
||||
</lint>
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<full-backup-content>
|
||||
<exclude domain="sharedpref" path="evernote_jobs.xml" />
|
||||
<exclude domain="database" path="evernote_jobs.db" />
|
||||
</full-backup-content>
|
||||
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 25 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
@@ -17,13 +17,6 @@ lintValue=$?
|
||||
ruby scripts/analysis/findbugs-up.rb $1 $2 $3
|
||||
findbugsValue=$?
|
||||
|
||||
|
||||
./gradlew ktlint
|
||||
ktlintValue=$?
|
||||
|
||||
./gradlew detekt
|
||||
detektValue=$?
|
||||
|
||||
# exit codes:
|
||||
# 0: count was reduced
|
||||
# 1: count was increased
|
||||
@@ -127,17 +120,6 @@ else
|
||||
findbugsMessage="<h1>SpotBugs increased!</h1>"
|
||||
fi
|
||||
|
||||
if ( [ $ktlintValue -eq 1 ] ) ; then
|
||||
sed -i ':a;N;$!ba;s#\n#<br />#g;s#^<br />##g' build/ktlint.txt
|
||||
curl -u $4:$5 -X PUT https://nextcloud.kaminsky.me/remote.php/webdav/android-ktlint/$6.html --upload-file build/ktlint.txt
|
||||
ktlintMessage="<h1>Kotlin lint found errors</h1><a href='https://www.kaminsky.me/nc-dev/android-ktlint/$6.html'>Lint</a>"
|
||||
fi
|
||||
|
||||
if ( [ $detektValue -eq 1 ] ) ; then
|
||||
curl -u $4:$5 -X PUT https://nextcloud.kaminsky.me/remote.php/webdav/android-detekt/$6.html --upload-file build/reports/detekt/detekt.html
|
||||
detektMessage="<h1>Detekt errors found</h1><a href='https://www.kaminsky.me/nc-dev/android-detekt/$6.html'>Lint</a>"
|
||||
fi
|
||||
|
||||
# check gplay limitation: all changelog files must only have 500 chars
|
||||
gplayLimitation=$(scripts/checkGplayLimitation.sh)
|
||||
|
||||
@@ -145,7 +127,7 @@ else
|
||||
gplayLimitation="<h1>Following files are beyond 500 char limit:</h1><br><br>"$gplayLimitation
|
||||
fi
|
||||
|
||||
curl -u $1:$2 -X POST https://api.github.com/repos/nextcloud/android/issues/$7/comments -d "{ \"body\" : \"$codacyResult $lintResult $findbugsResultNew $findbugsResultOld $checkLibraryMessage $lintMessage $findbugsMessage $ktlintMessage $detektMessage $gplayLimitation \" }"
|
||||
curl -u $1:$2 -X POST https://api.github.com/repos/nextcloud/android/issues/$7/comments -d "{ \"body\" : \"$codacyResult $lintResult $findbugsResultNew $findbugsResultOld $checkLibraryMessage $lintMessage $findbugsMessage $gplayLimitation \" }"
|
||||
|
||||
if [ ! -z "$gplayLimitation" ]; then
|
||||
exit 1
|
||||
@@ -159,15 +141,6 @@ else
|
||||
exit $lintValue
|
||||
fi
|
||||
|
||||
|
||||
if [ $ktlintValue -eq 1 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $detektValue -eq 1 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $findbugsValue -eq 2 ]; then
|
||||
exit 0
|
||||
else
|
||||
|
||||
@@ -1 +1 @@
|
||||
381
|
||||
335
|
||||
@@ -48,7 +48,15 @@ require 'xmlsimple'
|
||||
# run FindBugs
|
||||
puts "running FindBugs..."
|
||||
system './gradlew assembleGplayDebug'
|
||||
system './gradlew spotbugsGplayDebug'
|
||||
|
||||
# confirm that assemble ran w/out error
|
||||
result = $?.to_i
|
||||
if result != 0
|
||||
puts "FAIL: failed to run ./gradlew assembleGplayDebug"
|
||||
exit 1
|
||||
end
|
||||
|
||||
system './gradlew spotbugsGplayDebugReport'
|
||||
|
||||
# find FindBugs report file
|
||||
findbugs_reports = Dir.glob(FINDBUGS_REPORT_FILE)
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DO NOT TOUCH; GENERATED BY DRONE
|
||||
<span class="mdl-layout-title">Lint Report: 1 error and 94 warnings</span>
|
||||
<span class="mdl-layout-title">Lint Report: 83 warnings</span>
|
||||
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BRANCH=$1
|
||||
TYPE=$2
|
||||
PR=$3
|
||||
GITHUB_USER=$4
|
||||
GITHUB_PASSWORD=$5
|
||||
BRANCH_TYPE=$BRANCH-$TYPE
|
||||
|
||||
# delete all old comments, matching this type
|
||||
oldComments=$(curl 2>/dev/null -u $GITHUB_USER:$GITHUB_PASSWORD -X GET https://api.github.com/repos/nextcloud/android/issues/$PR/comments | jq --arg TYPE $BRANCH_TYPE '.[] | (.id |tostring) + "|" + (.user.login | test("nextcloud-android-bot") | tostring) + "|" + (.body | test([$TYPE]) | tostring)'| grep "true|true" | tr -d "\"" | cut -f1 -d"|")
|
||||
|
||||
echo $oldComments | while read comment ; do
|
||||
curl 2>/dev/null -u $GITHUB_USER:$GITHUB_PASSWORD -X DELETE https://api.github.com/repos/nextcloud/android/issues/comments/$comment
|
||||
done
|
||||
|
||||
exit 0
|
||||
@@ -1,22 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if ( [[ $(grep NC_TEST_SERVER_BASEURL ~/.gradle/gradle.properties | grep -v "#" -c) -gt 0 ]] ); then
|
||||
if [[ $(grep NC_TEST_SERVER_BASEURL ~/.gradle/gradle.properties | grep -v "#" -c) -gt 0 ]]; then
|
||||
echo "This will not use server in docker. Please comment in .gradle/gradle.properties. Aborting!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
## emulator
|
||||
if ( [[ ! $(emulator -list-avds | grep uiComparison -c) -eq 0 ]] ); then
|
||||
if [[ ! $(emulator -list-avds | grep uiComparison -c) -eq 0 ]]; then
|
||||
avdmanager delete avd -n uiComparison
|
||||
(sleep 5; echo "no") | avdmanager create avd -n uiComparison -c 100M -k "system-images;android-27;google_apis;x86" --abi "google_apis/x86"
|
||||
fi
|
||||
|
||||
if [ $1 == "debug" ]; then
|
||||
emulator -avd uiComparison -no-snapshot -gpu swiftshader_indirect -no-audio -skin 500x833 1>/dev/null &
|
||||
if [ "$1" == "debug" ]; then
|
||||
emulator -writable-system -avd uiComparison -no-snapshot -gpu swiftshader_indirect -no-audio -skin 500x833 1>/dev/null &
|
||||
else
|
||||
emulator -avd uiComparison -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 1>/dev/null &
|
||||
emulator -writable-system -avd uiComparison -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 1>/dev/null &
|
||||
fi
|
||||
PID=$(echo $!)
|
||||
PID=$!
|
||||
|
||||
## server
|
||||
docker run --name=uiComparison nextcloudci/server --entrypoint '/usr/local/bin/initnc.sh' 1>/dev/null &
|
||||
@@ -29,14 +29,10 @@ if [[ $IP = "" ]]; then
|
||||
fi
|
||||
|
||||
## wait for server to finish
|
||||
scripts/wait_for_server.sh $IP
|
||||
|
||||
## run on server
|
||||
cp gradle.properties gradle.properties_
|
||||
sed -i s"/server/$IP/" gradle.properties
|
||||
scripts/wait_for_emulator.sh
|
||||
scripts/wait_for_server.sh "$IP"
|
||||
|
||||
# setup test server
|
||||
docker exec uiComparison /bin/sh -c "echo $IP server >> /etc/hosts"
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3\""
|
||||
@@ -44,39 +40,73 @@ docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ user
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ group:add users\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ group:adduser users user1\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ group:adduser users user2\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"git clone -b master https://github.com/nextcloud/activity.git /var/www/html/apps/activity/\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ app:enable activity\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"git clone -b master https://github.com/nextcloud/text.git /var/www/html/apps/text/\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ app:enable text\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"git clone -b master https://github.com/nextcloud/circles.git /var/www/html/apps/circles/\""
|
||||
docker exec uiComparison /bin/sh -c "apt-get update; apt-get -y install composer"
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"cd /var/www/html/apps/circles; composer install\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ app:enable -f circles\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ config:app:set circles --value 1 allow_non_ssl_links\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ config:app:set circles --value 1 local_is_non_ssl\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ circles:manage:create test public publicCircle\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"git clone -b master https://github.com/nextcloud/end_to_end_encryption/ /var/www/html/apps/end_to_end_encryption/\""
|
||||
docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ app:enable end_to_end_encryption\""
|
||||
#docker exec uiComparison /bin/sh -c "su www-data -c \"git clone -b master https://github.com/nextcloud/circles.git /var/www/html/apps/circles/\""
|
||||
#docker exec uiComparison /bin/sh -c "apt-get update; apt-get -y install composer"
|
||||
#docker exec uiComparison /bin/sh -c "su www-data -c \"cd /var/www/html/apps/circles; composer install\""
|
||||
#docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ app:enable -f circles\""
|
||||
#docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ config:app:set circles --value 1 allow_non_ssl_links\""
|
||||
#docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ config:app:set circles --value 1 local_is_non_ssl\""
|
||||
#docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ config:system:set allow_local_remote_servers --value true --type bool\""
|
||||
#docker exec uiComparison /bin/sh -c "su www-data -c \"php /var/www/html/occ circles:manage:create test public publicCircle\""
|
||||
docker exec uiComparison /bin/sh -c "/usr/local/bin/run.sh"
|
||||
|
||||
## wait for server to finish
|
||||
scripts/wait_for_server.sh "$IP"
|
||||
|
||||
scripts/wait_for_emulator.sh
|
||||
|
||||
# change server to ip on emulator
|
||||
adb root
|
||||
sleep 2
|
||||
adb remount
|
||||
sleep 2
|
||||
adb shell "mount -o remount,rw /system"
|
||||
sleep 2
|
||||
adb shell "echo $IP server >> /system/etc/hosts"
|
||||
|
||||
sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
|
||||
|
||||
## update/create all screenshots
|
||||
./gradlew executeScreenshotTests -Precord
|
||||
#./gradlew gplayDebugExecuteScreenshotTests -Precord \
|
||||
#-Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest
|
||||
|
||||
## update screenshots in a class
|
||||
#./gradlew executeScreenshotTests \
|
||||
#./gradlew gplayDebugExecuteScreenshotTests \
|
||||
#-Precord \
|
||||
#-Pandroid.testInstrumentationRunnerArguments.class=\
|
||||
#com.owncloud.android.ui.dialog.SyncFileNotEnoughSpaceDialogFragmentTest
|
||||
|
||||
## update single screenshot within a class
|
||||
#./gradlew executeScreenshotTests \
|
||||
#./gradlew gplayDebugExecuteScreenshotTests \
|
||||
#-Precord \
|
||||
#-Pandroid.testInstrumentationRunnerArguments.class=\
|
||||
#com.owncloud.android.ui.dialog.SyncFileNotEnoughSpaceDialogFragmentTest#showNotEnoughSpaceDialogForFile
|
||||
#com.nextcloud.client.FileDisplayActivityIT#showShares
|
||||
|
||||
mv gradle.properties_ gradle.properties
|
||||
resultCode=-1
|
||||
retryCount=0
|
||||
until [ $resultCode -eq 0 ] || [ $retryCount -gt 2 ]
|
||||
do
|
||||
# test all screenshots
|
||||
./gradlew gplayDebugExecuteScreenshotTests \
|
||||
-Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest
|
||||
|
||||
if [ $1 == "debug" ]; then
|
||||
resultCode=$?
|
||||
((retryCount++))
|
||||
done
|
||||
|
||||
sed -i s'#<bool name="is_beta">true</bool>#<bool name="is_beta">false</bool>#'g src/main/res/values/setup.xml
|
||||
|
||||
if [ "$1" == "debug" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
# tidy up
|
||||
kill $PID
|
||||
kill "$PID"
|
||||
docker stop uiComparison
|
||||
docker rm uiComparison
|
||||
@@ -1,6 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
deleteOldComments() {
|
||||
# delete all old comments, matching this type
|
||||
echo "Deleting old comments for $BRANCH_TYPE"
|
||||
oldComments=$(curl 2>/dev/null -u $GITHUB_USER:$GITHUB_PASSWORD -X GET https://api.github.com/repos/nextcloud/android/issues/$PR/comments | jq --arg TYPE $BRANCH_TYPE '.[] | (.id |tostring) + "|" + (.user.login | test("nextcloud-android-bot") | tostring) + "|" + (.body | test([$TYPE]) | tostring)'| grep "true|true" | tr -d "\"" | cut -f1 -d"|")
|
||||
count=$(echo $oldComments | grep true | wc -l)
|
||||
echo "Found $count old comments"
|
||||
|
||||
echo $oldComments | while read comment ; do
|
||||
echo "Deleting comment: $comment"
|
||||
curl 2>/dev/null -u $GITHUB_USER:$GITHUB_PASSWORD -X DELETE https://api.github.com/repos/nextcloud/android/issues/comments/$comment
|
||||
done
|
||||
}
|
||||
|
||||
upload() {
|
||||
deleteOldComments
|
||||
|
||||
cd $1
|
||||
|
||||
find . -type d -exec curl -u $USER:$PASS -X MKCOL $URL/$REMOTE_FOLDER/$(echo {} | sed s#\./##) \;
|
||||
@@ -9,7 +24,7 @@ upload() {
|
||||
echo "Uploaded failing tests to https://www.kaminsky.me/nc-dev/android-integrationTests/$REMOTE_FOLDER"
|
||||
|
||||
curl -u $GITHUB_USER:$GITHUB_PASSWORD -X POST https://api.github.com/repos/nextcloud/android/issues/$PR/comments \
|
||||
-d "{ \"body\" : \"$TYPE test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/$REMOTE_FOLDER \" }"
|
||||
-d "{ \"body\" : \"$BRANCH_TYPE test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/$REMOTE_FOLDER \" }"
|
||||
|
||||
exit 1
|
||||
}
|
||||
@@ -17,20 +32,23 @@ upload() {
|
||||
#1: LOG_USERNAME
|
||||
#2: LOG_PASSWORD
|
||||
#3: DRONE_BUILD_NUMBER
|
||||
#4: TYPE (IT or Unit)
|
||||
#5: DRONE_PULL_REQUEST
|
||||
#6: GIT_USERNAME
|
||||
#7: GIT_TOKEN
|
||||
#4: BRANCH (stable or master)
|
||||
#5: TYPE (IT or Unit)
|
||||
#6: DRONE_PULL_REQUEST
|
||||
#7: GIT_USERNAME
|
||||
#8: GIT_TOKEN
|
||||
|
||||
URL=https://nextcloud.kaminsky.me/remote.php/webdav/android-integrationTests
|
||||
ID=$3
|
||||
USER=$1
|
||||
PASS=$2
|
||||
TYPE=$4
|
||||
PR=$5
|
||||
GITHUB_USER=$6
|
||||
GITHUB_PASSWORD=$7
|
||||
REMOTE_FOLDER=$ID-$TYPE
|
||||
BRANCH=$4
|
||||
TYPE=$5
|
||||
PR=$6
|
||||
GITHUB_USER=$7
|
||||
GITHUB_PASSWORD=$8
|
||||
REMOTE_FOLDER=$ID-$TYPE-$BRANCH
|
||||
BRANCH_TYPE=$BRANCH-$TYPE
|
||||
|
||||
set -e
|
||||
|
||||
@@ -45,24 +63,28 @@ fi
|
||||
if [ -e $FOLDER ]; then
|
||||
upload $FOLDER
|
||||
else
|
||||
echo "$TYPE test failed, but no output was generated. Maybe a preliminary stage failed."
|
||||
deleteOldComments
|
||||
echo "$BRANCH_TYPE test failed, but no output was generated. Maybe a preliminary stage failed."
|
||||
|
||||
curl -u $GITHUB_USER:$GITHUB_PASSWORD \
|
||||
-X POST https://api.github.com/repos/nextcloud/android/issues/$PR/comments \
|
||||
-d "{ \"body\" : \"$TYPE test failed, but no output was generated. Maybe a preliminary stage failed. \" }"
|
||||
-d "{ \"body\" : \"$BRANCH_TYPE test failed, but no output was generated. Maybe a preliminary stage failed. \" }"
|
||||
|
||||
if [ -e build/reports/androidTests/connected/flavors/GPLAY ] ; then
|
||||
TYPE="IT"
|
||||
BRANCH_TYPE=$BRANCH-$TYPE
|
||||
upload "build/reports/androidTests/connected/flavors/GPLAY"
|
||||
fi
|
||||
|
||||
if [ -e build/reports/tests/testGplayDebugUnitTest ] ; then
|
||||
TYPE="Unit"
|
||||
BRANCH_TYPE=$BRANCH-$TYPE
|
||||
upload "build/reports/tests/testGplayDebugUnitTest"
|
||||
fi
|
||||
|
||||
if [ -e build/reports/shot/verification ] ; then
|
||||
TYPE="Screenshot"
|
||||
BRANCH_TYPE=$BRANCH-$TYPE
|
||||
upload "build/reports/shot/verification"
|
||||
fi
|
||||
fi
|
||||
@@ -10,7 +10,7 @@ until [[ $status = "false" ]]; do
|
||||
|
||||
if [[ "$status" =~ "false" || "$status" = "" ]]; then
|
||||
let "counter += 1"
|
||||
if [[ $counter -gt 10 ]]; then
|
||||
if [[ $counter -gt 50 ]]; then
|
||||
echo "Failed to wait for server"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -31,7 +31,8 @@
|
||||
<Match>
|
||||
<Or>
|
||||
<Class name="~.*BindingImpl"/>
|
||||
<Class name="~.*\.DataBinderMapperImpl"/>
|
||||
<Class name="~.*\.DataBinderMapperImpl" />
|
||||
<Class name="~.*Binding" />
|
||||
</Or>
|
||||
</Match>
|
||||
|
||||
@@ -53,6 +54,7 @@
|
||||
<Bug pattern="PATH_TRAVERSAL_IN" />
|
||||
<Bug pattern="ANDROID_EXTERNAL_FILE_ACCESS" />
|
||||
<Bug pattern="BAS_BLOATED_ASSIGNMENT_SCOPE" />
|
||||
<Bug pattern="IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID" />
|
||||
|
||||
<!-- This is unmanageable for now due to large amount of interconnected static state -->
|
||||
<Bug pattern="FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY" />
|
||||
|
||||
|
After Width: | Height: | Size: 18 KiB |
@@ -23,16 +23,24 @@
|
||||
package com.nextcloud.client;
|
||||
|
||||
import android.Manifest;
|
||||
import android.view.View;
|
||||
|
||||
import com.facebook.testing.screenshot.Screenshot;
|
||||
import com.owncloud.android.AbstractIT;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.ui.activities.ActivitiesActivity;
|
||||
import com.owncloud.android.utils.ScreenshotTest;
|
||||
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
|
||||
import androidx.test.espresso.contrib.DrawerActions;
|
||||
import androidx.test.espresso.intent.rule.IntentsTestRule;
|
||||
import androidx.test.rule.GrantPermissionRule;
|
||||
|
||||
import static androidx.test.espresso.Espresso.onView;
|
||||
import static androidx.test.espresso.matcher.ViewMatchers.withId;
|
||||
|
||||
|
||||
public class ActivitiesActivityIT extends AbstractIT {
|
||||
@Rule public IntentsTestRule<ActivitiesActivity> activityRule = new IntentsTestRule<>(ActivitiesActivity.class,
|
||||
@@ -44,7 +52,24 @@ public class ActivitiesActivityIT extends AbstractIT {
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE);
|
||||
|
||||
@Test
|
||||
public void openDrawer() throws InterruptedException {
|
||||
super.openDrawer(activityRule);
|
||||
@ScreenshotTest
|
||||
public void openDrawer() {
|
||||
ActivitiesActivity sut = activityRule.launchActivity(null);
|
||||
|
||||
shortSleep();
|
||||
|
||||
onView(withId(R.id.drawer_layout)).perform(DrawerActions.open());
|
||||
|
||||
sut.runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
sut.emptyContentContainer.setVisibility(View.VISIBLE);
|
||||
sut.recyclerView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
});
|
||||
|
||||
waitForIdleSync();
|
||||
|
||||
Screenshot.snapActivity(sut).record();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,398 @@
|
||||
/*
|
||||
*
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Tobias Kaminsky
|
||||
* Copyright (C) 2020 Tobias Kaminsky
|
||||
* Copyright (C) 2020 Nextcloud GmbH
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.nextcloud.client;
|
||||
|
||||
import android.accounts.AccountManager;
|
||||
|
||||
import com.owncloud.android.AbstractIT;
|
||||
import com.owncloud.android.datamodel.ArbitraryDataProvider;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.db.OCUpload;
|
||||
import com.owncloud.android.lib.common.accounts.AccountUtils;
|
||||
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.lib.resources.e2ee.ToggleEncryptionRemoteOperation;
|
||||
import com.owncloud.android.lib.resources.users.GetPrivateKeyOperation;
|
||||
import com.owncloud.android.lib.resources.users.GetPublicKeyOperation;
|
||||
import com.owncloud.android.lib.resources.users.SendCSROperation;
|
||||
import com.owncloud.android.lib.resources.users.StorePrivateKeyOperation;
|
||||
import com.owncloud.android.operations.RemoveFileOperation;
|
||||
import com.owncloud.android.utils.CsrHelper;
|
||||
import com.owncloud.android.utils.EncryptionUtils;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
|
||||
import net.bytebuddy.utility.RandomString;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.security.KeyPair;
|
||||
import java.security.PrivateKey;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
|
||||
import static com.owncloud.android.lib.resources.status.OwnCloudVersion.nextcloud_19;
|
||||
import static junit.framework.TestCase.assertNotNull;
|
||||
import static junit.framework.TestCase.assertTrue;
|
||||
import static org.junit.Assume.assumeTrue;
|
||||
|
||||
public class EndToEndRandomIT extends AbstractIT {
|
||||
public enum Action {
|
||||
CREATE_FOLDER,
|
||||
GO_INTO_FOLDER,
|
||||
GO_UP,
|
||||
UPLOAD_FILE
|
||||
}
|
||||
|
||||
private static ArbitraryDataProvider arbitraryDataProvider;
|
||||
|
||||
private OCFile currentFolder;
|
||||
private int actionCount = 20;
|
||||
private String rootEncFolder = "/e/";
|
||||
|
||||
@BeforeClass
|
||||
public static void initClass() {
|
||||
arbitraryDataProvider = new ArbitraryDataProvider(targetContext.getContentResolver());
|
||||
}
|
||||
|
||||
@Before
|
||||
public void before() {
|
||||
// tests only for NC19+
|
||||
assumeTrue(getStorageManager()
|
||||
.getCapability(account.name)
|
||||
.getVersion()
|
||||
.isNewerOrEqual(nextcloud_19)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void run() throws Exception {
|
||||
init();
|
||||
|
||||
for (int i = 0; i < actionCount; i++) {
|
||||
Action nextAction = Action.values()[new Random().nextInt(Action.values().length)];
|
||||
|
||||
switch (nextAction) {
|
||||
case CREATE_FOLDER:
|
||||
createFolder(i);
|
||||
break;
|
||||
|
||||
case GO_INTO_FOLDER:
|
||||
goIntoFolder(i);
|
||||
break;
|
||||
|
||||
case GO_UP:
|
||||
goUp(i);
|
||||
break;
|
||||
|
||||
case UPLOAD_FILE:
|
||||
uploadFile(i);
|
||||
break;
|
||||
|
||||
default:
|
||||
Log_OC.d(this, "[" + i + "/" + actionCount + "]" + " Unknown action: " + nextAction);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void uploadOneFile() throws Exception {
|
||||
init();
|
||||
|
||||
uploadFile(0);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createFolder() throws Exception {
|
||||
init();
|
||||
|
||||
currentFolder = createFolder(0);
|
||||
assertNotNull(currentFolder);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createSubFolders() throws Exception {
|
||||
init();
|
||||
|
||||
currentFolder = createFolder(0);
|
||||
assertNotNull(currentFolder);
|
||||
|
||||
currentFolder = createFolder(1);
|
||||
assertNotNull(currentFolder);
|
||||
|
||||
currentFolder = createFolder(2);
|
||||
assertNotNull(currentFolder);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void createSubFoldersWithFiles() throws Exception {
|
||||
init();
|
||||
|
||||
currentFolder = createFolder(0);
|
||||
assertNotNull(currentFolder);
|
||||
|
||||
uploadFile(1);
|
||||
uploadFile(1);
|
||||
uploadFile(2);
|
||||
|
||||
currentFolder = createFolder(1);
|
||||
assertNotNull(currentFolder);
|
||||
uploadFile(11);
|
||||
uploadFile(12);
|
||||
uploadFile(13);
|
||||
|
||||
currentFolder = createFolder(2);
|
||||
assertNotNull(currentFolder);
|
||||
|
||||
uploadFile(21);
|
||||
uploadFile(22);
|
||||
uploadFile(23);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void pseudoRandom() throws Exception {
|
||||
init();
|
||||
|
||||
uploadFile(1);
|
||||
createFolder(2);
|
||||
goIntoFolder(3);
|
||||
goUp(4);
|
||||
createFolder(5);
|
||||
uploadFile(6);
|
||||
goUp(7);
|
||||
goIntoFolder(8);
|
||||
goIntoFolder(9);
|
||||
uploadFile(10);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void deleteFile() throws Exception {
|
||||
init();
|
||||
|
||||
uploadFile(1);
|
||||
deleteFile(1);
|
||||
}
|
||||
|
||||
private void init() throws Exception {
|
||||
// create folder
|
||||
createFolder(rootEncFolder);
|
||||
OCFile encFolder = createFolder(rootEncFolder + RandomString.make(5) + "/");
|
||||
|
||||
// encrypt it
|
||||
assertTrue(new ToggleEncryptionRemoteOperation(encFolder.getLocalId(),
|
||||
encFolder.getRemotePath(),
|
||||
true)
|
||||
.execute(client).isSuccess());
|
||||
encFolder.setEncrypted(true);
|
||||
getStorageManager().saveFolder(encFolder, new ArrayList<>(), new ArrayList<>());
|
||||
|
||||
useExistingKeys();
|
||||
|
||||
rootEncFolder = encFolder.getDecryptedRemotePath();
|
||||
currentFolder = encFolder;
|
||||
}
|
||||
|
||||
private OCFile createFolder(int i) {
|
||||
String path = currentFolder.getDecryptedRemotePath() + RandomString.make(5) + "/";
|
||||
Log_OC.d(this, "[" + i + "/" + actionCount + "] " + "Create folder: " + path);
|
||||
|
||||
return createFolder(path);
|
||||
}
|
||||
|
||||
private void goIntoFolder(int i) {
|
||||
ArrayList<OCFile> folders = new ArrayList<>();
|
||||
for (OCFile file : getStorageManager().getFolderContent(currentFolder, false)) {
|
||||
if (file.isFolder()) {
|
||||
folders.add(file);
|
||||
}
|
||||
}
|
||||
|
||||
if (folders.isEmpty()) {
|
||||
Log_OC.d(this, "[" + i + "/" + actionCount + "] " + "Go into folder: No folders");
|
||||
return;
|
||||
}
|
||||
|
||||
currentFolder = folders.get(new Random().nextInt(folders.size()));
|
||||
Log_OC.d(this,
|
||||
"[" + i + "/" + actionCount + "] " + "Go into folder: " + currentFolder.getDecryptedRemotePath());
|
||||
}
|
||||
|
||||
private void goUp(int i) {
|
||||
if (currentFolder.getRemotePath().equals(rootEncFolder)) {
|
||||
Log_OC.d(this,
|
||||
"[" + i + "/" + actionCount + "] " + "Go up to folder: " + currentFolder.getDecryptedRemotePath());
|
||||
return;
|
||||
}
|
||||
|
||||
currentFolder = getStorageManager().getFileById(currentFolder.getParentId());
|
||||
if (currentFolder == null) {
|
||||
throw new RuntimeException("Current folder is null");
|
||||
}
|
||||
|
||||
Log_OC.d(this,
|
||||
"[" + i + "/" + actionCount + "] " + "Go up to folder: " + currentFolder.getDecryptedRemotePath());
|
||||
}
|
||||
|
||||
private void uploadFile(int i) throws IOException {
|
||||
String fileName = RandomString.make(5) + ".txt";
|
||||
createFile(fileName, new Random().nextInt(50000));
|
||||
String path = currentFolder.getRemotePath() + fileName;
|
||||
|
||||
Log_OC.d(this,
|
||||
"[" + i + "/" + actionCount + "] " +
|
||||
"Upload file to: " + currentFolder.getDecryptedRemotePath() + fileName);
|
||||
|
||||
OCUpload ocUpload = new OCUpload(FileStorageUtils.getSavePath(account.name) + File.separator + fileName,
|
||||
path,
|
||||
account.name);
|
||||
uploadOCUpload(ocUpload);
|
||||
}
|
||||
|
||||
private void deleteFile(int i) {
|
||||
ArrayList<OCFile> files = new ArrayList<>();
|
||||
for (OCFile file : getStorageManager().getFolderContent(currentFolder, false)) {
|
||||
if (!file.isFolder()) {
|
||||
files.add(file);
|
||||
}
|
||||
}
|
||||
|
||||
OCFile fileToDelete = files.get(new Random().nextInt(files.size()));
|
||||
|
||||
Log_OC.d(this,
|
||||
"[" + i + "/" + actionCount + "] " +
|
||||
"Delete file: " + currentFolder.getDecryptedRemotePath() + fileToDelete.getDecryptedFileName());
|
||||
|
||||
assertTrue(new RemoveFileOperation(fileToDelete,
|
||||
false,
|
||||
account,
|
||||
false,
|
||||
targetContext)
|
||||
.execute(client, getStorageManager())
|
||||
.isSuccess());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void reInit() throws Exception {
|
||||
// create folder
|
||||
OCFile encFolder = createFolder(rootEncFolder);
|
||||
|
||||
// encrypt it
|
||||
assertTrue(new ToggleEncryptionRemoteOperation(encFolder.getLocalId(),
|
||||
encFolder.getRemotePath(),
|
||||
true)
|
||||
.execute(client).isSuccess());
|
||||
encFolder.setEncrypted(true);
|
||||
getStorageManager().saveFolder(encFolder, new ArrayList<>(), new ArrayList<>());
|
||||
|
||||
createKeys();
|
||||
|
||||
// delete keys
|
||||
arbitraryDataProvider.deleteKeyForAccount(account.name, EncryptionUtils.PRIVATE_KEY);
|
||||
arbitraryDataProvider.deleteKeyForAccount(account.name, EncryptionUtils.PUBLIC_KEY);
|
||||
arbitraryDataProvider.deleteKeyForAccount(account.name, EncryptionUtils.MNEMONIC);
|
||||
|
||||
useExistingKeys();
|
||||
}
|
||||
|
||||
private void useExistingKeys() throws Exception {
|
||||
// download them from server
|
||||
GetPublicKeyOperation publicKeyOperation = new GetPublicKeyOperation();
|
||||
RemoteOperationResult publicKeyResult = publicKeyOperation.execute(account, targetContext);
|
||||
|
||||
assertTrue(publicKeyResult.isSuccess());
|
||||
|
||||
String publicKeyFromServer = (String) publicKeyResult.getData().get(0);
|
||||
arbitraryDataProvider.storeOrUpdateKeyValue(account.name,
|
||||
EncryptionUtils.PUBLIC_KEY,
|
||||
publicKeyFromServer);
|
||||
|
||||
GetPrivateKeyOperation privateKeyOperation = new GetPrivateKeyOperation();
|
||||
RemoteOperationResult privateKeyResult = privateKeyOperation.execute(account, targetContext);
|
||||
assertTrue(privateKeyResult.isSuccess());
|
||||
|
||||
String privateKey = (String) privateKeyResult.getData().get(0);
|
||||
|
||||
String mnemonic = generateMnemonicString();
|
||||
String decryptedPrivateKey = EncryptionUtils.decryptPrivateKey(privateKey, mnemonic);
|
||||
|
||||
arbitraryDataProvider.storeOrUpdateKeyValue(account.name,
|
||||
EncryptionUtils.PRIVATE_KEY, decryptedPrivateKey);
|
||||
|
||||
Log_OC.d(this, "Private key successfully decrypted and stored");
|
||||
|
||||
arbitraryDataProvider.storeOrUpdateKeyValue(account.name, EncryptionUtils.MNEMONIC, mnemonic);
|
||||
}
|
||||
|
||||
/*
|
||||
TODO do not c&p code
|
||||
*/
|
||||
private void createKeys() throws Exception {
|
||||
String publicKey;
|
||||
|
||||
// Create public/private key pair
|
||||
KeyPair keyPair = EncryptionUtils.generateKeyPair();
|
||||
|
||||
// create CSR
|
||||
AccountManager accountManager = AccountManager.get(targetContext);
|
||||
String userId = accountManager.getUserData(account, AccountUtils.Constants.KEY_USER_ID);
|
||||
String urlEncoded = CsrHelper.generateCsrPemEncodedString(keyPair, userId);
|
||||
|
||||
SendCSROperation operation = new SendCSROperation(urlEncoded);
|
||||
RemoteOperationResult result = operation.execute(account, targetContext);
|
||||
|
||||
if (result.isSuccess()) {
|
||||
publicKey = (String) result.getData().get(0);
|
||||
} else {
|
||||
throw new Exception("failed to send CSR", result.getException());
|
||||
}
|
||||
|
||||
PrivateKey privateKey = keyPair.getPrivate();
|
||||
String privateKeyString = EncryptionUtils.encodeBytesToBase64String(privateKey.getEncoded());
|
||||
String privatePemKeyString = EncryptionUtils.privateKeyToPEM(privateKey);
|
||||
String encryptedPrivateKey = EncryptionUtils.encryptPrivateKey(privatePemKeyString,
|
||||
generateMnemonicString());
|
||||
|
||||
// upload encryptedPrivateKey
|
||||
StorePrivateKeyOperation storePrivateKeyOperation = new StorePrivateKeyOperation(encryptedPrivateKey);
|
||||
RemoteOperationResult storePrivateKeyResult = storePrivateKeyOperation.execute(account, targetContext);
|
||||
|
||||
if (storePrivateKeyResult.isSuccess()) {
|
||||
arbitraryDataProvider.storeOrUpdateKeyValue(account.name, EncryptionUtils.PRIVATE_KEY,
|
||||
privateKeyString);
|
||||
arbitraryDataProvider.storeOrUpdateKeyValue(account.name, EncryptionUtils.PUBLIC_KEY, publicKey);
|
||||
arbitraryDataProvider.storeOrUpdateKeyValue(account.name, EncryptionUtils.MNEMONIC,
|
||||
generateMnemonicString());
|
||||
} else {
|
||||
throw new RuntimeException("Error uploading private key!");
|
||||
}
|
||||
}
|
||||
|
||||
private String generateMnemonicString() {
|
||||
return "1 2 3 4 5 6";
|
||||
}
|
||||
}
|
||||
@@ -29,21 +29,18 @@ import com.facebook.testing.screenshot.Screenshot;
|
||||
import com.owncloud.android.AbstractIT;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
|
||||
import com.owncloud.android.lib.resources.files.CreateFolderRemoteOperation;
|
||||
import com.owncloud.android.lib.resources.files.ExistenceCheckRemoteOperation;
|
||||
import com.owncloud.android.lib.resources.files.SearchRemoteOperation;
|
||||
import com.owncloud.android.lib.resources.shares.CreateShareRemoteOperation;
|
||||
import com.owncloud.android.lib.resources.shares.GetShareesRemoteOperation;
|
||||
import com.owncloud.android.lib.resources.shares.OCShare;
|
||||
import com.owncloud.android.lib.resources.shares.ShareType;
|
||||
import com.owncloud.android.operations.CreateFolderOperation;
|
||||
import com.owncloud.android.ui.activity.FileDisplayActivity;
|
||||
import com.owncloud.android.ui.events.SearchEvent;
|
||||
import com.owncloud.android.utils.ScreenshotTest;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
@@ -54,13 +51,11 @@ import androidx.test.espresso.intent.rule.IntentsTestRule;
|
||||
import androidx.test.rule.GrantPermissionRule;
|
||||
|
||||
import static androidx.test.espresso.Espresso.onView;
|
||||
import static androidx.test.espresso.action.ViewActions.click;
|
||||
import static androidx.test.espresso.matcher.ViewMatchers.withId;
|
||||
import static androidx.test.platform.app.InstrumentationRegistry.getInstrumentation;
|
||||
import static junit.framework.TestCase.assertEquals;
|
||||
import static junit.framework.TestCase.assertTrue;
|
||||
|
||||
|
||||
public class FileDisplayActivityIT extends AbstractIT {
|
||||
@Rule public IntentsTestRule<FileDisplayActivity> activityRule = new IntentsTestRule<>(FileDisplayActivity.class,
|
||||
true,
|
||||
@@ -71,6 +66,7 @@ public class FileDisplayActivityIT extends AbstractIT {
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE);
|
||||
|
||||
@Test
|
||||
@ScreenshotTest
|
||||
public void open() {
|
||||
Activity sut = activityRule.launchActivity(null);
|
||||
|
||||
@@ -80,22 +76,28 @@ public class FileDisplayActivityIT extends AbstractIT {
|
||||
}
|
||||
|
||||
@Test
|
||||
@ScreenshotTest
|
||||
public void drawer() {
|
||||
Activity sut = activityRule.launchActivity(null);
|
||||
FileDisplayActivity sut = activityRule.launchActivity(null);
|
||||
|
||||
onView(withId(R.id.drawer_layout)).perform(DrawerActions.open());
|
||||
|
||||
waitForIdleSync();
|
||||
shortSleep();
|
||||
sut.getListOfFilesFragment().setFabEnabled(false);
|
||||
|
||||
Screenshot.snapActivity(sut).record();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void showShares() throws JSONException {
|
||||
@ScreenshotTest
|
||||
public void showShares() {
|
||||
assertTrue(new ExistenceCheckRemoteOperation("/shareToAdmin/", true).execute(client).isSuccess());
|
||||
assertTrue(new CreateFolderRemoteOperation("/shareToAdmin/", true).execute(client).isSuccess());
|
||||
assertTrue(new CreateFolderRemoteOperation("/shareToGroup/", true).execute(client).isSuccess());
|
||||
assertTrue(new CreateFolderRemoteOperation("/shareViaLink/", true).execute(client).isSuccess());
|
||||
assertTrue(new CreateFolderRemoteOperation("/noShare/", true).execute(client).isSuccess());
|
||||
assertTrue(new CreateFolderRemoteOperation("/shareToCircle/", true).execute(client).isSuccess());
|
||||
// assertTrue(new CreateFolderRemoteOperation("/shareToCircle/", true).execute(client).isSuccess());
|
||||
|
||||
// share folder to user "admin"
|
||||
assertTrue(new CreateShareRemoteOperation("/shareToAdmin/",
|
||||
@@ -126,19 +128,19 @@ public class FileDisplayActivityIT extends AbstractIT {
|
||||
|
||||
// share folder to circle
|
||||
// get share
|
||||
RemoteOperationResult searchResult = new GetShareesRemoteOperation("publicCircle", 1, 50).execute(client);
|
||||
assertTrue(searchResult.getLogMessage(), searchResult.isSuccess());
|
||||
|
||||
JSONObject resultJson = (JSONObject) searchResult.getData().get(0);
|
||||
String circleId = resultJson.getJSONObject("value").getString("shareWith");
|
||||
|
||||
assertTrue(new CreateShareRemoteOperation("/shareToCircle/",
|
||||
ShareType.CIRCLE,
|
||||
circleId,
|
||||
false,
|
||||
"",
|
||||
OCShare.DEFAULT_PERMISSION)
|
||||
.execute(client).isSuccess());
|
||||
// RemoteOperationResult searchResult = new GetShareesRemoteOperation("publicCircle", 1, 50).execute(client);
|
||||
// assertTrue(searchResult.getLogMessage(), searchResult.isSuccess());
|
||||
//
|
||||
// JSONObject resultJson = (JSONObject) searchResult.getData().get(0);
|
||||
// String circleId = resultJson.getJSONObject("value").getString("shareWith");
|
||||
//
|
||||
// assertTrue(new CreateShareRemoteOperation("/shareToCircle/",
|
||||
// ShareType.CIRCLE,
|
||||
// circleId,
|
||||
// false,
|
||||
// "",
|
||||
// OCShare.DEFAULT_PERMISSION)
|
||||
// .execute(client).isSuccess());
|
||||
|
||||
Activity sut = activityRule.launchActivity(null);
|
||||
|
||||
@@ -146,28 +148,20 @@ public class FileDisplayActivityIT extends AbstractIT {
|
||||
|
||||
EventBus.getDefault().post(new SearchEvent("", SearchRemoteOperation.SearchType.SHARED_FILTER));
|
||||
|
||||
getInstrumentation().waitForIdleSync();
|
||||
|
||||
Screenshot.snapActivity(sut).record();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void showAccounts() {
|
||||
Activity sut = activityRule.launchActivity(null);
|
||||
|
||||
onView(withId(R.id.drawer_layout)).perform(DrawerActions.open());
|
||||
onView(withId(R.id.drawer_active_user)).perform(click());
|
||||
shortSleep();
|
||||
shortSleep();
|
||||
|
||||
Screenshot.snapActivity(sut).record();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void allFiles() {
|
||||
// ActivityScenario<FileDisplayActivity> sut = ActivityScenario.launch(FileDisplayActivity.class);
|
||||
FileDisplayActivity sut = activityRule.launchActivity(null);
|
||||
|
||||
// given test folder
|
||||
assertTrue(new CreateFolderOperation("/test/", true).execute(client, getStorageManager()).isSuccess());
|
||||
assertTrue(new CreateFolderOperation("/test/", account, targetContext)
|
||||
.execute(client, getStorageManager())
|
||||
.isSuccess());
|
||||
|
||||
// navigate into it
|
||||
OCFile test = getStorageManager().getFileByPath("/test/");
|
||||
|
||||
@@ -28,6 +28,7 @@ import android.app.Activity;
|
||||
import com.facebook.testing.screenshot.Screenshot;
|
||||
import com.nextcloud.client.onboarding.FirstRunActivity;
|
||||
import com.owncloud.android.AbstractIT;
|
||||
import com.owncloud.android.utils.ScreenshotTest;
|
||||
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
@@ -46,6 +47,7 @@ public class FirstRunActivityIT extends AbstractIT {
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE);
|
||||
|
||||
@Test
|
||||
@ScreenshotTest
|
||||
public void open() {
|
||||
Activity sut = activityRule.launchActivity(null);
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ import android.Manifest;
|
||||
|
||||
import com.owncloud.android.AbstractIT;
|
||||
import com.owncloud.android.ui.activity.NotificationsActivity;
|
||||
import com.owncloud.android.utils.ScreenshotTest;
|
||||
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
@@ -44,7 +45,8 @@ public class NotificationsActivityIT extends AbstractIT {
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE);
|
||||
|
||||
@Test
|
||||
public void openDrawer() throws InterruptedException {
|
||||
@ScreenshotTest
|
||||
public void openDrawer() {
|
||||
super.openDrawer(activityRule);
|
||||
}
|
||||
}
|
||||