Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da9f2da964 | ||
|
|
506fd49f3a | ||
|
|
defdb92055 | ||
|
|
83e1ac5e60 | ||
|
|
9590120284 | ||
|
|
edd42aabd1 | ||
|
|
98cd991502 | ||
|
|
ace68da2a7 | ||
|
|
9f7370f76b | ||
|
|
907cd130e0 | ||
|
|
0f1d0ed6c3 | ||
|
|
507ad3f543 | ||
|
|
b0bf5ecda1 | ||
|
|
d31312eb51 | ||
|
|
b4536c9025 | ||
|
|
8d99529b22 | ||
|
|
8f362c040b | ||
|
|
6ecd83f987 | ||
|
|
3e656486c7 | ||
|
|
175a2421dd | ||
|
|
33fa2ffd35 | ||
|
|
2a8110f526 | ||
|
|
df566b9c3e | ||
|
|
e7027dbf3b | ||
|
|
e17dc1f592 | ||
|
|
0c445d4024 | ||
|
|
83edc19c93 | ||
|
|
1d84bd28e0 | ||
|
|
4385285f68 | ||
|
|
de8d45646f | ||
|
|
66cf7f83eb | ||
|
|
b977b44295 | ||
|
|
bfb319b67e | ||
|
|
2ec38321b7 | ||
|
|
d5a91239cc | ||
|
|
32350da288 | ||
|
|
1113005e5c | ||
|
|
763c3a77a6 | ||
|
|
570efe69e5 | ||
|
|
abe82cb47f | ||
|
|
dd68fe6162 | ||
|
|
77f74f0386 | ||
|
|
4134bca13e | ||
|
|
ddcd22357b | ||
|
|
9801624786 | ||
|
|
2d53e53a47 | ||
|
|
06b8db9e26 | ||
|
|
54cc4f8377 | ||
|
|
98529dc291 | ||
|
|
0d53be7890 | ||
|
|
561c6d1d0b | ||
|
|
41b06ccf4e | ||
|
|
e0ac903bce | ||
|
|
fb087b56ec | ||
|
|
06af70802d | ||
|
|
8d4a34c86a | ||
|
|
3cffeee863 | ||
|
|
92c99b2233 | ||
|
|
8f698167eb | ||
|
|
51b5add1be | ||
|
|
2ca151d9bc | ||
|
|
21ef73578a | ||
|
|
ac3c735d97 | ||
|
|
4796b67943 | ||
|
|
312e793fb2 | ||
|
|
ded93848a4 | ||
|
|
f7bfaa5ba1 | ||
|
|
d620123e3e | ||
|
|
baba9e0455 | ||
|
|
bab98b4213 | ||
|
|
8f718995ea | ||
|
|
a4c36f180b | ||
|
|
623ff84a43 | ||
|
|
b8055bcf65 | ||
|
|
9de9f0d0f5 | ||
|
|
e2fc6a74d8 | ||
|
|
7be3938798 | ||
|
|
2a3ade90b7 | ||
|
|
dfd5e46d78 | ||
|
|
49ee19d785 | ||
|
|
329f113d75 | ||
|
|
1a7f34d302 | ||
|
|
b9be105730 | ||
|
|
9487e8b3c8 | ||
|
|
aab9409ad3 | ||
|
|
42a9c1fa69 | ||
|
|
5dab2604d2 | ||
|
|
5c7cdafa10 | ||
|
|
0ff17fbb13 | ||
|
|
2a09f53f6c | ||
|
|
5531d29213 | ||
|
|
2d65cee38e | ||
|
|
770f228174 | ||
|
|
7cbc69c079 | ||
|
|
ed7626241c | ||
|
|
bb72d0b4f8 | ||
|
|
ba85b70364 | ||
|
|
cc4e71d467 | ||
|
|
125238cbd3 | ||
|
|
12d16dc8f1 | ||
|
|
e070878e80 | ||
|
|
0835fce7ab | ||
|
|
1dffffb451 | ||
|
|
4a224815cc | ||
|
|
1f43a4c6d4 | ||
|
|
aa3c87aa7a | ||
|
|
581b258952 | ||
|
|
6ab6f7c46f | ||
|
|
2d711b9782 | ||
|
|
585dda3583 | ||
|
|
7e46856090 | ||
|
|
a61d615440 | ||
|
|
01a61ccca7 | ||
|
|
82c50e2114 | ||
|
|
52314d1989 | ||
|
|
2b43c5279a | ||
|
|
f86238b0af | ||
|
|
f556167c56 | ||
|
|
a30de8a424 | ||
|
|
536a821d82 | ||
|
|
ef81f43730 | ||
|
|
f0f60e0c12 | ||
|
|
0dc680269f | ||
|
|
63d2c66518 | ||
|
|
565158cf7b | ||
|
|
82baa59e32 | ||
|
|
aa5a196961 | ||
|
|
077ff6ad58 | ||
|
|
f836644333 | ||
|
|
b08e2e132b | ||
|
|
4811df6f6c | ||
|
|
e48a933b51 | ||
|
|
16f4a467a6 | ||
|
|
b0890567c7 | ||
|
|
8a6f52a765 | ||
|
|
e315793137 | ||
|
|
7acacbe4ec | ||
|
|
6e2619f040 | ||
|
|
8b5bad1f33 | ||
|
|
7157191669 | ||
|
|
0174370288 | ||
|
|
d874881e13 | ||
|
|
acf287346d | ||
|
|
ff01a89e89 | ||
|
|
da5c4beb51 | ||
|
|
4ba47438b2 | ||
|
|
8e4cc74e86 | ||
|
|
c9c82efe11 | ||
|
|
e4045ce087 | ||
|
|
28cc777600 | ||
|
|
fd5496f166 | ||
|
|
dee3ee67fd | ||
|
|
e8dae6599a | ||
|
|
8352718092 | ||
|
|
1d23c3a45e | ||
|
|
8311326d55 | ||
|
|
f5b5f8fab6 | ||
|
|
eb9244df1d | ||
|
|
1a553180ca | ||
|
|
432cc31ce6 | ||
|
|
1b04b91418 | ||
|
|
05e1d69f94 | ||
|
|
25b9e5b337 | ||
|
|
d4b46893fd | ||
|
|
287203e2a5 | ||
|
|
a0c5a9e3e4 | ||
|
|
72fdb340eb | ||
|
|
034ab2c22e | ||
|
|
dc1d5dfa19 | ||
|
|
9e45aedc7a | ||
|
|
46b56c43f7 | ||
|
|
9bcce5ed82 | ||
|
|
cff4973f35 | ||
|
|
10ce4fd7dd | ||
|
|
c813538422 | ||
|
|
879124bb0a | ||
|
|
d85214677e | ||
|
|
455874293b | ||
|
|
633d8de28c | ||
|
|
c0b3ec8b80 | ||
|
|
cbd2b64e0d | ||
|
|
c8510275bb | ||
|
|
e10f3b1afd | ||
|
|
93bc307640 | ||
|
|
64443475cb | ||
|
|
d137b71024 | ||
|
|
866531259e | ||
|
|
5d269d00f7 | ||
|
|
bfddd8b34e | ||
|
|
97b4d0d6ae | ||
|
|
72ef3f34cf | ||
|
|
b4b5fae8aa | ||
|
|
aecb574b05 | ||
|
|
2db2d4cf2f | ||
|
|
d554f01407 | ||
|
|
19ac34e299 | ||
|
|
0a1336a10f | ||
|
|
cd1fa9e9a7 | ||
|
|
c7ea8166a0 | ||
|
|
ce65f4dd66 | ||
|
|
97e31aaede | ||
|
|
d631131f4d | ||
|
|
851221245c | ||
|
|
03b83c4a0a | ||
|
|
d763717daa | ||
|
|
63756c7a14 | ||
|
|
cca9329a2d | ||
|
|
6a96931c01 | ||
|
|
4ee8483272 | ||
|
|
9d7d5bb283 | ||
|
|
ac785d3d77 | ||
|
|
5cce0ebfd4 | ||
|
|
2b021c5a54 | ||
|
|
79d4753bba | ||
|
|
f62fbd0194 | ||
|
|
a2d12f45ff | ||
|
|
a15092e62b | ||
|
|
ade2c0c568 | ||
|
|
870e78ab3b | ||
|
|
1c24f780e8 | ||
|
|
684a7c67dd | ||
|
|
a845cd2b8b | ||
|
|
851d4c3daf | ||
|
|
b5d0d1acc7 | ||
|
|
608c66ca62 | ||
|
|
f171e0a794 | ||
|
|
a9302966c0 | ||
|
|
c01fc2d795 | ||
|
|
3be1ee92cb | ||
|
|
dbe54da4be | ||
|
|
887dd0f106 | ||
|
|
54cc1df23a | ||
|
|
490a9595dd | ||
|
|
5fe0fdcbeb | ||
|
|
db426aa3fc | ||
|
|
3f9e563dea | ||
|
|
9f7f1f288c | ||
|
|
590bb8f51c | ||
|
|
7a7c12b3df | ||
|
|
3ae45b4beb | ||
|
|
4039ffe0c9 | ||
|
|
d5b1891439 | ||
|
|
8746e903cf | ||
|
|
7abddb240d | ||
|
|
d45ed86f3f | ||
|
|
d8db5739bd | ||
|
|
4a8ceb59aa | ||
|
|
50e76e7d9e | ||
|
|
7014ad133a | ||
|
|
35533e1264 | ||
|
|
772f9c9b56 | ||
|
|
60bcb92cd9 | ||
|
|
e9054e1a05 | ||
|
|
90902f5194 | ||
|
|
e0ad34c472 | ||
|
|
005bbcd20f | ||
|
|
0c42df2337 | ||
|
|
f4b49b5da5 | ||
|
|
8bdfbb49ab | ||
|
|
66902d2ced | ||
|
|
87784c2345 | ||
|
|
5662885d82 | ||
|
|
22b091014d | ||
|
|
bae0ab70f6 | ||
|
|
904e556a97 | ||
|
|
8b8ac0b038 | ||
|
|
66150af636 | ||
|
|
79ebc7c6f1 | ||
|
|
00c2b76b17 | ||
|
|
da1a9518e0 | ||
|
|
a2ed2a701f | ||
|
|
6c936885f1 | ||
|
|
a95a1ecf2b | ||
|
|
43ce5582af | ||
|
|
f32438693c | ||
|
|
de21cfd9c9 | ||
|
|
f682715292 | ||
|
|
3134ab1936 | ||
|
|
088cb72912 | ||
|
|
33d20128cc | ||
|
|
c3c7606edc | ||
|
|
cf9855844b | ||
|
|
b5738c718e | ||
|
|
b4ee24ce0d | ||
|
|
d9550175e8 | ||
|
|
c1e1cf1032 | ||
|
|
7be7026fa9 | ||
|
|
1f88ba0333 | ||
|
|
2146e395e4 | ||
|
|
02d0901163 | ||
|
|
d36a80559a | ||
|
|
3ad56f3704 | ||
|
|
3f8ce2e327 | ||
|
|
668c63f465 | ||
|
|
234082b39e | ||
|
|
4a28561ed6 | ||
|
|
38d14cc791 | ||
|
|
fed49594a5 | ||
|
|
4a191e2b62 | ||
|
|
6b0af0af32 | ||
|
|
78db60aec1 | ||
|
|
d8255e76e3 | ||
|
|
1dfc12c97c | ||
|
|
56c8b72f8d | ||
|
|
831847eee2 | ||
|
|
d41ab3c2c1 | ||
|
|
9450fc2136 | ||
|
|
a24c15daca | ||
|
|
6fced1952b | ||
|
|
693b06a456 | ||
|
|
b0cc96a561 | ||
|
|
d69b9a9fbe | ||
|
|
fb4420cb09 | ||
|
|
c5c6dac1df | ||
|
|
aa4fc03662 | ||
|
|
f15bdb67e2 | ||
|
|
7be2a1680c | ||
|
|
f985c7a676 | ||
|
|
9b18f62299 | ||
|
|
273edf9b74 | ||
|
|
f66bdcfd0f | ||
|
|
e479950912 | ||
|
|
de146a1958 | ||
|
|
a7433351e5 | ||
|
|
c94b2f1c51 | ||
|
|
6cdae0d74a | ||
|
|
1eae2a4c0f | ||
|
|
7c3eb3d316 | ||
|
|
7b8e9ded17 | ||
|
|
ca29ea92af | ||
|
|
e2dfea7c75 | ||
|
|
b85affb3f9 | ||
|
|
c45d8394e2 | ||
|
|
846b701916 | ||
|
|
d8e951ecaa | ||
|
|
dbcfcca259 | ||
|
|
db547427f4 | ||
|
|
e48cb5aee4 | ||
|
|
f15c017174 | ||
|
|
190d0a9bab | ||
|
|
bcbefc0e0b | ||
|
|
bf8c6d8a89 | ||
|
|
e764a3eabb | ||
|
|
98d11ce379 | ||
|
|
e1071374c8 | ||
|
|
aff67498f1 | ||
|
|
3200a16f81 | ||
|
|
4224b45152 | ||
|
|
2d16a1eac2 | ||
|
|
aa77375ae3 | ||
|
|
918adcad05 | ||
|
|
b59cf3bd1e | ||
|
|
686730882a | ||
|
|
a2510495bd | ||
|
|
a6a3197b78 | ||
|
|
cc79542099 | ||
|
|
07ef42de72 | ||
|
|
dd2104a318 | ||
|
|
dc65407672 | ||
|
|
a9d9fbfcc5 | ||
|
|
a05d638407 | ||
|
|
6d0aaa6499 | ||
|
|
d60864a340 | ||
|
|
abd3f9e547 | ||
|
|
3602d9af0c | ||
|
|
23b2306c9c | ||
|
|
04ab8f0347 | ||
|
|
15879b384d | ||
|
|
4f52062f16 | ||
|
|
ace56876d9 | ||
|
|
da414658dc | ||
|
|
82f3d06c32 | ||
|
|
18ca1af906 | ||
|
|
5c38fc52cc | ||
|
|
4e5d3112b5 | ||
|
|
2ff4f0402c | ||
|
|
06927968a9 | ||
|
|
d009778689 | ||
|
|
cbc5fe4ef7 | ||
|
|
5934b048f5 | ||
|
|
220823da6b | ||
|
|
611051f49c | ||
|
|
7ca05ca679 | ||
|
|
d7a9d75dc1 | ||
|
|
b11853caf1 | ||
|
|
264db1d824 | ||
|
|
c73fc7620e | ||
|
|
4fe93a0bf6 | ||
|
|
916f38bad4 | ||
|
|
229f59269e | ||
|
|
ad8da72554 | ||
|
|
4f0c892eea | ||
|
|
ea0aa57dfe | ||
|
|
90ba36aeb2 | ||
|
|
de20c6dc13 | ||
|
|
7286af80f0 | ||
|
|
75ff52aa16 | ||
|
|
b12f417a1a | ||
|
|
151ec16567 | ||
|
|
30ef5b466c | ||
|
|
a14b90885f | ||
|
|
577c110921 | ||
|
|
e7ab1e8eab | ||
|
|
d5fbba280f | ||
|
|
662eb9144b | ||
|
|
35024f0678 | ||
|
|
8fa1ae2499 | ||
|
|
ffc0528605 | ||
|
|
5d26dbede3 | ||
|
|
564a5fe2c7 | ||
|
|
0f827f5bad | ||
|
|
71e9c60631 | ||
|
|
ff060eff6a | ||
|
|
54592b2813 | ||
|
|
d36fa320e0 | ||
|
|
29ed5f01e6 | ||
|
|
81e5de6194 | ||
|
|
2cc4e1065f | ||
|
|
5bb43f3c77 | ||
|
|
be70aef0fe | ||
|
|
861787348c | ||
|
|
c97082b172 | ||
|
|
7ec78948a7 | ||
|
|
5137bc6574 | ||
|
|
043c8b390e | ||
|
|
0454a2c570 | ||
|
|
7b6caf0685 | ||
|
|
84c7cdbf56 | ||
|
|
b3845560a0 | ||
|
|
1fc4f51fd1 | ||
|
|
00509efa02 | ||
|
|
8431266caa | ||
|
|
4cec0fc6e0 | ||
|
|
e48a3365b1 | ||
|
|
d21321e1d6 | ||
|
|
733f9cdfd9 | ||
|
|
c32881ed60 | ||
|
|
488589d2a7 | ||
|
|
832a63b5a6 | ||
|
|
76d4df6d15 | ||
|
|
ecd0194160 | ||
|
|
3fda8d3567 | ||
|
|
8b499fbe5d | ||
|
|
b1c720b28f | ||
|
|
c84f926329 | ||
|
|
c98a720950 | ||
|
|
1b6073d0de | ||
|
|
f0a8400cec | ||
|
|
67b78283f2 | ||
|
|
a413005cb9 | ||
|
|
095e5da242 | ||
|
|
e39e0ba623 | ||
|
|
010e03e7d1 | ||
|
|
0bb1960b32 | ||
|
|
6f6962ef04 | ||
|
|
bc0ccba3ce | ||
|
|
5ba7713aea | ||
|
|
65bab5a39d | ||
|
|
a0f14bc778 | ||
|
|
26d7a0111a | ||
|
|
73ea0e81e5 | ||
|
|
aee3c290d0 | ||
|
|
cd16043508 | ||
|
|
5f578c4f8c | ||
|
|
92c55acf19 | ||
|
|
a78607a6e9 | ||
|
|
2e03e22497 | ||
|
|
dd7b08ff7a | ||
|
|
1fa3f7243e | ||
|
|
e1020c8fd9 | ||
|
|
6f7fc5d309 | ||
|
|
6a8ca4db77 | ||
|
|
ea3d029591 | ||
|
|
4a0fadaa94 | ||
|
|
7a5aff30d5 | ||
|
|
206eeab779 | ||
|
|
154d0456c6 | ||
|
|
0e61e27258 | ||
|
|
108dbebc44 | ||
|
|
f54eb094d6 | ||
|
|
939388ffe4 | ||
|
|
a253bfc4ec | ||
|
|
223b67a8da | ||
|
|
08bae700f8 | ||
|
|
6e1483fe09 | ||
|
|
04f719a372 | ||
|
|
fb93b8b35d | ||
|
|
9d9c6609e8 | ||
|
|
cfd26e4886 | ||
|
|
d789a2f58d | ||
|
|
7fe8484569 | ||
|
|
75ac2731a4 | ||
|
|
66deb62b0b | ||
|
|
045dd810c2 | ||
|
|
12d7a2568f | ||
|
|
67cb31dd39 | ||
|
|
bfcbf9cbf1 | ||
|
|
9b4cd65f74 | ||
|
|
b676c60775 | ||
|
|
d543e273a1 | ||
|
|
ce25c16a56 | ||
|
|
a76192d019 | ||
|
|
57a93f4743 | ||
|
|
8c737aeb34 | ||
|
|
aa5c34afcb | ||
|
|
6866d771e4 | ||
|
|
dfdb207933 | ||
|
|
41cfc914bf | ||
|
|
f52199dde9 | ||
|
|
e6a35967c0 | ||
|
|
26c2ffd203 | ||
|
|
2d1ce2145c | ||
|
|
ae11b1ea9c | ||
|
|
340db81b67 | ||
|
|
bd40d6ab79 | ||
|
|
2151e50035 | ||
|
|
b19ed6528c | ||
|
|
826c5e73cf | ||
|
|
ffbc071e26 | ||
|
|
7c4f3d6c0d | ||
|
|
92faa342ad | ||
|
|
9351e07f65 | ||
|
|
c3c5aa7a0f | ||
|
|
eb75643dad | ||
|
|
10a96816d4 | ||
|
|
398a851cb9 | ||
|
|
40ca0b1670 | ||
|
|
5ddec7fa76 | ||
|
|
47ca21168a | ||
|
|
a4866b4cce | ||
|
|
0eb9cdd8f7 | ||
|
|
cdfba526cd | ||
|
|
5b74ec86aa | ||
|
|
2032c004d9 | ||
|
|
f29bb70b3e | ||
|
|
2696bdca52 | ||
|
|
da46628fab | ||
|
|
7a0192e657 | ||
|
|
11aabfcafd | ||
|
|
7c84a15fce | ||
|
|
78676dc691 | ||
|
|
2becc095cf | ||
|
|
58d9e5e23e | ||
|
|
896db74c13 | ||
|
|
79cc82c249 | ||
|
|
3398114b29 | ||
|
|
63b68a97ff | ||
|
|
0d46f138c7 | ||
|
|
e0b547fda3 | ||
|
|
c3ceb633e6 | ||
|
|
cc21cd1997 | ||
|
|
b21fb4e76c | ||
|
|
2cf5b9c0ca | ||
|
|
7f15154b8e | ||
|
|
dac84a5c6d | ||
|
|
15754d4c5d | ||
|
|
be9699bc20 | ||
|
|
78cef9d59b | ||
|
|
1d75d53e01 | ||
|
|
8087644e76 | ||
|
|
e4c35314e9 | ||
|
|
700e176413 | ||
|
|
0c6fca2a67 | ||
|
|
4b8b82dd47 | ||
|
|
56c9c13802 | ||
|
|
069264fb8f | ||
|
|
74868302a2 | ||
|
|
a7af4fae42 | ||
|
|
e197d3586f | ||
|
|
b7479c1572 |
No files matched your search
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:noble@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
|
||||
FROM ubuntu:noble@sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ENV ANDROID_HOME=/usr/lib/android-sdk
|
||||
|
||||
@@ -9,7 +9,7 @@ name: tests-stable
|
||||
|
||||
steps:
|
||||
- name: gplay
|
||||
image: ghcr.io/nextcloud/continuous-integration-android8:3
|
||||
image: ghcr.io/nextcloud/continuous-integration-android8:4
|
||||
privileged: true
|
||||
environment:
|
||||
LOG_USERNAME:
|
||||
@@ -55,7 +55,7 @@ services:
|
||||
- su www-data -c "git clone --depth 1 -b $SERVER_VERSION https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/"
|
||||
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
|
||||
- su www-data -c "git clone --depth 1 -b $SERVER_VERSION https://github.com/nextcloud/photos.git /var/www/html/apps/photos/"
|
||||
- su www-data -c "cd /var/www/html/apps/photos; composer install"
|
||||
- su www-data -c "cd /var/www/html/apps/photos; composer install --no-dev"
|
||||
- su www-data -c "php /var/www/html/occ app:enable -f photos"
|
||||
- /usr/local/bin/run.sh
|
||||
|
||||
@@ -113,7 +113,7 @@ services:
|
||||
- su www-data -c "git clone --depth 1 -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"
|
||||
- su www-data -c "git clone --depth 1 https://github.com/nextcloud/photos.git /var/www/html/apps/photos/"
|
||||
- su www-data -c "cd /var/www/html/apps/photos; composer install"
|
||||
- su www-data -c "cd /var/www/html/apps/photos; composer install --no-dev"
|
||||
- su www-data -c "php /var/www/html/occ app:enable -f photos"
|
||||
- /usr/local/bin/run.sh
|
||||
|
||||
@@ -132,7 +132,7 @@ name: allScreenshots
|
||||
|
||||
steps:
|
||||
- name: runAllScreenshots
|
||||
image: ghcr.io/nextcloud/continuous-integration-android8:3
|
||||
image: ghcr.io/nextcloud/continuous-integration-android8:4
|
||||
privileged: true
|
||||
environment:
|
||||
GIT_USERNAME:
|
||||
@@ -183,6 +183,6 @@ name: GIT_TOKEN
|
||||
data: XIoa9IYq+xQ+N5iln8dlpWv0jV6ROr7HuE24ioUr4uQ8m8SjyH0yognWYLYLqnbTKrFWlFZiEMQTH/sZiWjRFvV1iL0=
|
||||
---
|
||||
kind: signature
|
||||
hmac: a659f1f06a609743077c77b6a07a369e55db67adbd8343fc027ac1c9473d1a43
|
||||
hmac: f0d3fa25f7f901e8b3deacec52db0d5a81f05f7d4f13af27c633ad712ecdbc4d
|
||||
|
||||
...
|
||||
@@ -44,12 +44,12 @@ jobs:
|
||||
echo "repo=${{ github.event.pull_request.head.repo.full_name }}"
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
repository: ${{ steps.get-vars.outputs.repo }}
|
||||
ref: ${{ steps.get-vars.outputs.branch }}
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
|
||||
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 17
|
||||
|
||||
@@ -22,9 +22,9 @@ jobs:
|
||||
matrix:
|
||||
flavor: [ Generic, Gplay, Huawei ]
|
||||
steps:
|
||||
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
|
||||
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 17
|
||||
|
||||
@@ -22,9 +22,9 @@ jobs:
|
||||
matrix:
|
||||
task: [ detekt, spotlessKotlinCheck ]
|
||||
steps:
|
||||
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
|
||||
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 17
|
||||
|
||||
@@ -33,17 +33,17 @@ jobs:
|
||||
language: [ 'java' ]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Set Swap Space
|
||||
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
|
||||
with:
|
||||
swap-size-gb: 10
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
|
||||
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
|
||||
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 17
|
||||
@@ -53,4 +53,4 @@ jobs:
|
||||
echo "org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
|
||||
./gradlew assembleDebug
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
|
||||
uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
|
||||
@@ -17,12 +17,12 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
detectWrongSettings:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
|
||||
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 17
|
||||
|
||||
@@ -25,5 +25,5 @@ jobs:
|
||||
name: "Validation"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: The get-github-handles-from-website action
|
||||
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
|
||||
uses: marcelklehr/get-github-handles-from-website-action@06b2239db0a48fe1484ba0bfd966a3ab81a08308 # v1.0.1
|
||||
id: scrape
|
||||
with:
|
||||
website: 'https://nextcloud.com/team/'
|
||||
|
||||
@@ -23,10 +23,10 @@ jobs:
|
||||
- name: Check if secrets are available
|
||||
run: echo "ok=${{ secrets.KS_PASS != '' }}" >> "$GITHUB_OUTPUT"
|
||||
id: check-secrets
|
||||
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
|
||||
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
|
||||
if: ${{ steps.check-secrets.outputs.ok == 'true' }}
|
||||
with:
|
||||
distribution: "temurin"
|
||||
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: REUSE Compliance Check
|
||||
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0
|
||||
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: "Checkout code"
|
||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
@@ -42,6 +42,6 @@ jobs:
|
||||
|
||||
# Upload the results to GitHub's code scanning dashboard.
|
||||
- name: "Upload to code-scanning"
|
||||
uses: github/codeql-action/upload-sarif@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
|
||||
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
@@ -17,7 +17,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
screenshot:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -25,17 +25,17 @@ jobs:
|
||||
color: [ blue ]
|
||||
api-level: [ 27 ]
|
||||
steps:
|
||||
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: Gradle cache
|
||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
||||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
||||
- name: AVD cache
|
||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
||||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
|
||||
id: avd-cache
|
||||
with:
|
||||
path: |
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
~/.android/adb*
|
||||
key: avd-${{ matrix.api-level }}
|
||||
|
||||
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
|
||||
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 17
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
|
||||
- name: create AVD and generate snapshot for caching
|
||||
if: steps.avd-cache.outputs.cache-hit != 'true'
|
||||
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 # v2.32.0
|
||||
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # v2.33.0
|
||||
with:
|
||||
api-level: ${{ matrix.api-level }}
|
||||
force-avd-creation: false
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
- name: Run screenshot tests
|
||||
env:
|
||||
SHOT_TEST: "true"
|
||||
uses: reactivecircus/android-emulator-runner@f0d1ed2dcad93c7479e8b2f2226c83af54494915 # v2.32.0
|
||||
uses: reactivecircus/android-emulator-runner@62dbb605bba737720e10b196cb4220d374026a6d # v2.33.0
|
||||
with:
|
||||
api-level: ${{ matrix.api-level }}
|
||||
force-avd-creation: false
|
||||
@@ -99,7 +99,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}}
|
||||
- name: Archive Espresso results
|
||||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
|
||||
|
||||
@@ -21,9 +21,9 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
|
||||
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 17
|
||||
@@ -42,14 +42,14 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "test" "Unit" ${{github.event.number}}
|
||||
- name: Upload coverage to codecov
|
||||
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
|
||||
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: unit
|
||||
fail_ci_if_error: true
|
||||
- name: Upload jacoco artifacts
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
name: test-results
|
||||
path: app/build/reports/tests/testGplayDebugUnitTest/
|
||||
@@ -1,3 +1,23 @@
|
||||
## 3.30.3 (October 22, 2024)
|
||||
|
||||
- Bugfix for two way sync: sync only on wifi
|
||||
|
||||
## 3.30.2 (October 21, 2024)
|
||||
|
||||
- Bugfix for two way sync. Please check listed folders in settings -> internal two way sync
|
||||
|
||||
Minimum: NC 16 Server, Android 7.0 Nougat
|
||||
|
||||
For a full list, please see https://github.com/nextcloud/android/milestone/99
|
||||
|
||||
## 3.30.1 (October 11, 2024)
|
||||
|
||||
- Bugfixes
|
||||
|
||||
Minimum: NC 16 Server, Android 7.0 Nougat
|
||||
|
||||
For a full list, please see https://github.com/nextcloud/android/milestone/99
|
||||
|
||||
## 3.29.1 (June 27, 2024)
|
||||
|
||||
- Bugfixes
|
||||
|
||||
@@ -198,7 +198,7 @@ Source code of app:
|
||||
XML (layout) file:
|
||||
```xml
|
||||
<!--
|
||||
~ Nextcloud Talk - Android Client
|
||||
~ Nextcloud - Android Client
|
||||
~
|
||||
~ SPDX-FileCopyrightText: 2024 Your name <your@email.com>
|
||||
~ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
|
||||
|
||||
@@ -10,20 +10,20 @@ GEM
|
||||
artifactory (3.0.17)
|
||||
atomos (0.1.3)
|
||||
aws-eventstream (1.3.0)
|
||||
aws-partitions (1.984.0)
|
||||
aws-sdk-core (3.209.1)
|
||||
aws-partitions (1.1021.0)
|
||||
aws-sdk-core (3.214.0)
|
||||
aws-eventstream (~> 1, >= 1.3.0)
|
||||
aws-partitions (~> 1, >= 1.651.0)
|
||||
aws-partitions (~> 1, >= 1.992.0)
|
||||
aws-sigv4 (~> 1.9)
|
||||
jmespath (~> 1, >= 1.6.1)
|
||||
aws-sdk-kms (1.94.0)
|
||||
aws-sdk-core (~> 3, >= 3.207.0)
|
||||
aws-sdk-kms (1.96.0)
|
||||
aws-sdk-core (~> 3, >= 3.210.0)
|
||||
aws-sigv4 (~> 1.5)
|
||||
aws-sdk-s3 (1.167.0)
|
||||
aws-sdk-core (~> 3, >= 3.207.0)
|
||||
aws-sdk-s3 (1.176.0)
|
||||
aws-sdk-core (~> 3, >= 3.210.0)
|
||||
aws-sdk-kms (~> 1)
|
||||
aws-sigv4 (~> 1.5)
|
||||
aws-sigv4 (1.10.0)
|
||||
aws-sigv4 (1.10.1)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
babosa (1.0.4)
|
||||
base64 (0.2.0)
|
||||
@@ -69,7 +69,7 @@ GEM
|
||||
faraday_middleware (1.2.1)
|
||||
faraday (~> 1.0)
|
||||
fastimage (2.3.1)
|
||||
fastlane (2.224.0)
|
||||
fastlane (2.226.0)
|
||||
CFPropertyList (>= 2.3, < 4.0.0)
|
||||
addressable (>= 2.8, < 3.0.0)
|
||||
artifactory (~> 3.0)
|
||||
@@ -85,6 +85,7 @@ GEM
|
||||
faraday-cookie_jar (~> 0.0.6)
|
||||
faraday_middleware (~> 1.0)
|
||||
fastimage (>= 2.1.0, < 3.0.0)
|
||||
fastlane-sirp (>= 1.0.0)
|
||||
gh_inspector (>= 1.1.2, < 2.0.0)
|
||||
google-apis-androidpublisher_v3 (~> 0.3)
|
||||
google-apis-playcustomapp_v1 (~> 0.1)
|
||||
@@ -108,10 +109,12 @@ GEM
|
||||
tty-spinner (>= 0.8.0, < 1.0.0)
|
||||
word_wrap (~> 1.0.0)
|
||||
xcodeproj (>= 1.13.0, < 2.0.0)
|
||||
xcpretty (~> 0.3.0)
|
||||
xcpretty (~> 0.4.0)
|
||||
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
|
||||
fastlane-plugin-huawei_appgallery_connect (1.0.30)
|
||||
fastlane-plugin-huawei_appgallery_connect (1.0.31)
|
||||
cgi
|
||||
fastlane-sirp (1.0.0)
|
||||
sysrandom (~> 1.0)
|
||||
gh_inspector (1.1.3)
|
||||
google-apis-androidpublisher_v3 (0.54.0)
|
||||
google-apis-core (>= 0.11.0, < 2.a)
|
||||
@@ -150,32 +153,32 @@ GEM
|
||||
os (>= 0.9, < 2.0)
|
||||
signet (>= 0.16, < 2.a)
|
||||
highline (2.0.3)
|
||||
http-cookie (1.0.7)
|
||||
http-cookie (1.0.8)
|
||||
domain_name (~> 0.5)
|
||||
httpclient (2.8.3)
|
||||
jmespath (1.6.2)
|
||||
json (2.7.2)
|
||||
json (2.9.0)
|
||||
jwt (2.9.3)
|
||||
base64
|
||||
mini_magick (4.13.2)
|
||||
mini_mime (1.1.5)
|
||||
multi_json (1.15.0)
|
||||
multipart-post (2.4.1)
|
||||
nanaimo (0.3.0)
|
||||
nanaimo (0.4.0)
|
||||
naturally (2.2.1)
|
||||
nkf (0.2.0)
|
||||
optparse (0.5.0)
|
||||
optparse (0.6.0)
|
||||
os (1.1.4)
|
||||
plist (3.7.1)
|
||||
public_suffix (5.1.1)
|
||||
public_suffix (6.0.1)
|
||||
rake (13.2.1)
|
||||
representable (3.2.0)
|
||||
declarative (< 0.1.0)
|
||||
trailblazer-option (>= 0.1.1, < 0.2.0)
|
||||
uber (< 0.2.0)
|
||||
retriable (3.1.2)
|
||||
rexml (3.3.8)
|
||||
rouge (2.0.7)
|
||||
rexml (3.3.9)
|
||||
rouge (3.28.0)
|
||||
ruby2_keywords (0.0.5)
|
||||
rubyzip (2.3.2)
|
||||
security (0.1.5)
|
||||
@@ -187,6 +190,7 @@ GEM
|
||||
simctl (1.6.10)
|
||||
CFPropertyList
|
||||
naturally
|
||||
sysrandom (1.0.5)
|
||||
terminal-notifier (2.0.0)
|
||||
terminal-table (3.0.2)
|
||||
unicode-display_width (>= 1.1.1, < 3)
|
||||
@@ -198,15 +202,15 @@ GEM
|
||||
uber (0.1.0)
|
||||
unicode-display_width (2.6.0)
|
||||
word_wrap (1.0.0)
|
||||
xcodeproj (1.25.1)
|
||||
xcodeproj (1.27.0)
|
||||
CFPropertyList (>= 2.3.3, < 4.0)
|
||||
atomos (~> 0.1.3)
|
||||
claide (>= 1.0.2, < 2.0)
|
||||
colored2 (~> 3.1)
|
||||
nanaimo (~> 0.3.0)
|
||||
nanaimo (~> 0.4.0)
|
||||
rexml (>= 3.3.6, < 4.0)
|
||||
xcpretty (0.3.0)
|
||||
rouge (~> 2.0.7)
|
||||
xcpretty (0.4.0)
|
||||
rouge (~> 3.28.0)
|
||||
xcpretty-travis-formatter (1.0.1)
|
||||
xcpretty (~> 0.2, >= 0.0.7)
|
||||
|
||||
|
||||
@@ -13,6 +13,15 @@ height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client
|
||||
alt="Get it on F-Droid"
|
||||
height="80">](https://f-droid.org/packages/com.nextcloud.client/)
|
||||
|
||||
Signing certificate fingerprint to [verify](https://developer.android.com/studio/command-line/apksigner#usage-verify) the APK:
|
||||
- APK with "gplay" name, found [here](https://github.com/nextcloud/android/releases) or distributed via Google Play Store
|
||||
- APK with "nextcloud", found [here](https://github.com/nextcloud/android/releases)
|
||||
- not suitable for Fdroid downloads, as Fdroid is signing it on their own
|
||||
```
|
||||
SHA-256: fb009522f65e25802261b67b10a45fd70e610031976f40b28a649e152ded0373
|
||||
SHA-1: 74aa1702e714941be481e1f7ce4a8f779c19dcea
|
||||
```
|
||||
|
||||
**The Android client for [Nextcloud](https://nextcloud.com). Easily work with your data on your Nextcloud.**
|
||||
|
||||

|
||||
|
||||
@@ -16,7 +16,7 @@ import org.gradle.internal.jvm.Jvm
|
||||
buildscript {
|
||||
dependencies {
|
||||
classpath "com.android.tools.build:gradle:$androidPluginVersion"
|
||||
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.24'
|
||||
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.0.26'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.7"
|
||||
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
|
||||
@@ -28,10 +28,10 @@ buildscript {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "org.jetbrains.kotlin.plugin.compose" version "2.0.20"
|
||||
id "org.jetbrains.kotlin.plugin.compose" version "2.1.0"
|
||||
id "com.diffplug.spotless" version "6.25.0"
|
||||
id "org.jetbrains.kotlin.kapt" version "2.0.20"
|
||||
id 'com.google.devtools.ksp' version '2.0.20-1.0.25' apply false
|
||||
id "org.jetbrains.kotlin.kapt" version "2.1.0"
|
||||
id 'com.google.devtools.ksp' version '2.1.0-1.0.29' apply false
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
@@ -106,8 +106,8 @@ android {
|
||||
defaultConfig {
|
||||
applicationId "com.nextcloud.client"
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 34
|
||||
compileSdk 34
|
||||
targetSdkVersion 35
|
||||
compileSdk 35
|
||||
|
||||
buildConfigField 'boolean', 'CI', ciBuild.toString()
|
||||
buildConfigField 'boolean', 'RUNTIME_PERF_ANALYSIS', perfAnalysis.toString()
|
||||
@@ -147,6 +147,7 @@ android {
|
||||
buildTypes {
|
||||
debug {
|
||||
testCoverageEnabled(project.hasProperty('coverage'))
|
||||
resConfigs "en", "xxxhdpi"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -186,7 +187,6 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
animationsDisabled true
|
||||
@@ -261,6 +261,10 @@ android {
|
||||
// Adds exported schema location as test app assets.
|
||||
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
|
||||
}
|
||||
|
||||
kapt {
|
||||
useBuildCache true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -269,7 +273,7 @@ dependencies {
|
||||
}
|
||||
|
||||
// Jetpack Compose
|
||||
implementation(platform("androidx.compose:compose-bom:2024.09.02"))
|
||||
implementation(platform("androidx.compose:compose-bom:2024.12.01"))
|
||||
implementation("androidx.compose.ui:ui")
|
||||
implementation("androidx.compose.ui:ui-graphics")
|
||||
implementation("androidx.compose.material3:material3")
|
||||
@@ -280,22 +284,22 @@ dependencies {
|
||||
// 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.5' // remove after entire switch to lib v2
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.2.0'
|
||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation 'com.google.android.material:material:1.12.0'
|
||||
implementation 'com.jakewharton:disklrucache:2.0.2'
|
||||
implementation "androidx.appcompat:appcompat:$appCompatVersion"
|
||||
implementation 'androidx.webkit:webkit:1.12.0'
|
||||
implementation 'androidx.webkit:webkit:1.12.1'
|
||||
implementation 'androidx.cardview:cardview:1.0.0'
|
||||
implementation 'androidx.exifinterface:exifinterface:1.3.7'
|
||||
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.6"
|
||||
implementation "androidx.lifecycle:lifecycle-service:2.8.6"
|
||||
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7"
|
||||
implementation "androidx.lifecycle:lifecycle-service:2.8.7"
|
||||
implementation "androidx.work:work-runtime:$workRuntime"
|
||||
implementation "androidx.work:work-runtime-ktx:$workRuntime"
|
||||
implementation "androidx.fragment:fragment-ktx:1.8.3"
|
||||
implementation "androidx.fragment:fragment-ktx:1.8.5"
|
||||
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
|
||||
compileOnly 'com.google.code.findbugs:annotations:3.0.1u2'
|
||||
implementation 'commons-io:commons-io:2.17.0'
|
||||
implementation 'commons-io:commons-io:2.18.0'
|
||||
implementation 'org.greenrobot:eventbus:3.3.1'
|
||||
implementation 'com.googlecode.ez-vcard:ez-vcard:0.12.1'
|
||||
implementation 'org.lukhnos:nnio:0.3.1'
|
||||
@@ -310,8 +314,9 @@ dependencies {
|
||||
exclude group: "com.android.support"
|
||||
}
|
||||
implementation 'com.caverock:androidsvg:1.4'
|
||||
implementation 'androidx.annotation:annotation:1.8.2'
|
||||
implementation 'androidx.annotation:annotation:1.9.1'
|
||||
implementation 'com.vanniktech:emoji-google:0.21.0'
|
||||
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
|
||||
|
||||
// document scanner not available on FDroid (generic) due to OpenCV binaries
|
||||
gplayImplementation project(':appscan')
|
||||
@@ -319,7 +324,7 @@ dependencies {
|
||||
qaImplementation project(':appscan')
|
||||
|
||||
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.13.0'
|
||||
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.5'
|
||||
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.6.8'
|
||||
|
||||
implementation "com.google.dagger:dagger:$daggerVersion"
|
||||
implementation "com.google.dagger:dagger-android:$daggerVersion"
|
||||
@@ -381,7 +386,7 @@ dependencies {
|
||||
androidTestImplementation "androidx.test:rules:$androidxTestVersion"
|
||||
// Android JUnit Runner
|
||||
androidTestImplementation "androidx.test:runner:1.6.2"
|
||||
androidTestUtil "androidx.test:orchestrator:1.5.0"
|
||||
androidTestUtil "androidx.test:orchestrator:1.5.1"
|
||||
androidTestImplementation "androidx.test:core-ktx:$androidxTestVersion"
|
||||
|
||||
// Espresso
|
||||
@@ -411,11 +416,11 @@ dependencies {
|
||||
implementation "com.github.stateless4j:stateless4j:2.6.0"
|
||||
|
||||
// upon each update first test: new registration, receive push
|
||||
gplayImplementation "com.google.firebase:firebase-messaging:24.0.2"
|
||||
gplayImplementation "com.google.firebase:firebase-messaging:24.1.0"
|
||||
gplayImplementation 'com.google.android.gms:play-services-base:18.5.0'
|
||||
gplayImplementation 'com.google.android.play:review-ktx:2.0.1'
|
||||
gplayImplementation 'com.google.android.play:review-ktx:2.0.2'
|
||||
|
||||
implementation 'com.github.nextcloud.android-common:ui:0.17.0'
|
||||
implementation 'com.github.nextcloud.android-common:ui:0.24.0'
|
||||
|
||||
implementation "androidx.room:room-runtime:$roomVersion"
|
||||
ksp "androidx.room:room-compiler:$roomVersion"
|
||||
@@ -467,7 +472,7 @@ if (shotTest) {
|
||||
showOnlyFailingTestsInReports = ciBuild
|
||||
// CI environment renders some shadows slightly different from local VMs
|
||||
// Add a 0.5% tolerance to account for that
|
||||
tolerance = ciBuild ? 0.5 : 0
|
||||
tolerance = ciBuild ? 0.1 : 0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Nextcloud Talk - Android Client
|
||||
~ Nextcloud - Android Client
|
||||
~
|
||||
~ SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
|
||||
~ SPDX-FileCopyrightText: 2022 Andy Scherzinger <info@andy-scherzinger.de>
|
||||
@@ -26,14 +26,21 @@
|
||||
<ignore path="**/raw/encryption_key_words.txt" />
|
||||
</issue>
|
||||
|
||||
<issue id="ImpliedQuantity">
|
||||
<ignore path="**/values-**/strings.xml" />
|
||||
</issue>
|
||||
|
||||
<issue id="MissingQuantity">
|
||||
<ignore path="**/values-ka-rGE/strings.xml"/>
|
||||
<ignore path="**/values-ar/strings.xml" />
|
||||
<ignore path="**/values-**/strings.xml" />
|
||||
</issue>
|
||||
|
||||
<issue id="UnusedQuantity">
|
||||
<ignore path="**/values-**/strings.xml" />
|
||||
</issue>
|
||||
|
||||
<issue id="StringFormatCount">
|
||||
<ignore path="**/values-**/strings.xml" />
|
||||
</issue>
|
||||
|
||||
<issue id="ExtraTranslation">
|
||||
<ignore path="**/strings.xml"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 20 KiB |
@@ -155,43 +155,43 @@ class FileDisplayActivityIT : AbstractOnServerIT() {
|
||||
Assert.assertEquals(storageManager.getFileByPath("/"), sut.currentDir)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun checkToolbarTitleOnNavigation() {
|
||||
// Create folder structure
|
||||
val topFolder = "folder1"
|
||||
val childFolder = "folder2"
|
||||
|
||||
CreateFolderOperation("/$topFolder/", user, targetContext, storageManager)
|
||||
.execute(client)
|
||||
|
||||
CreateFolderOperation("/$topFolder/$childFolder/", user, targetContext, storageManager)
|
||||
.execute(client)
|
||||
|
||||
activityRule.launchActivity(null)
|
||||
|
||||
shortSleep()
|
||||
|
||||
// go into "foo"
|
||||
onView(withText(topFolder)).perform(click())
|
||||
shortSleep()
|
||||
|
||||
// check title is right
|
||||
checkToolbarTitle(topFolder)
|
||||
|
||||
// go into "bar"
|
||||
onView(withText(childFolder)).perform(click())
|
||||
shortSleep()
|
||||
|
||||
// check title is right
|
||||
checkToolbarTitle(childFolder)
|
||||
|
||||
// browse back up, we should be back in "foo"
|
||||
Espresso.pressBack()
|
||||
shortSleep()
|
||||
|
||||
// check title is right
|
||||
checkToolbarTitle(topFolder)
|
||||
}
|
||||
// @Test
|
||||
// fun checkToolbarTitleOnNavigation() {
|
||||
// // Create folder structure
|
||||
// val topFolder = "folder1"
|
||||
// val childFolder = "folder2"
|
||||
//
|
||||
// CreateFolderOperation("/$topFolder/", user, targetContext, storageManager)
|
||||
// .execute(client)
|
||||
//
|
||||
// CreateFolderOperation("/$topFolder/$childFolder/", user, targetContext, storageManager)
|
||||
// .execute(client)
|
||||
//
|
||||
// activityRule.launchActivity(null)
|
||||
//
|
||||
// shortSleep()
|
||||
//
|
||||
// // go into "foo"
|
||||
// onView(withText(topFolder)).perform(click())
|
||||
// shortSleep()
|
||||
//
|
||||
// // check title is right
|
||||
// checkToolbarTitle(topFolder)
|
||||
//
|
||||
// // go into "bar"
|
||||
// onView(withText(childFolder)).perform(click())
|
||||
// shortSleep()
|
||||
//
|
||||
// // check title is right
|
||||
// checkToolbarTitle(childFolder)
|
||||
//
|
||||
// // browse back up, we should be back in "foo"
|
||||
// Espresso.pressBack()
|
||||
// shortSleep()
|
||||
//
|
||||
// // check title is right
|
||||
// checkToolbarTitle(topFolder)
|
||||
// }
|
||||
|
||||
private fun checkToolbarTitle(childFolder: String) {
|
||||
onView(withId(R.id.appbar)).check(
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
*/
|
||||
package com.nextcloud.client;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.os.Looper;
|
||||
|
||||
import com.nextcloud.client.preferences.SubFolderRule;
|
||||
import com.owncloud.android.AbstractIT;
|
||||
@@ -25,6 +25,7 @@ import org.junit.Test;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.test.espresso.intent.rule.IntentsTestRule;
|
||||
|
||||
import static androidx.test.platform.app.InstrumentationRegistry.getInstrumentation;
|
||||
@@ -78,4 +79,24 @@ public class SyncedFoldersActivityIT extends AbstractIT {
|
||||
|
||||
screenshot(Objects.requireNonNull(sut.requireDialog().getWindow()).getDecorView());
|
||||
}
|
||||
|
||||
@Test
|
||||
@ScreenshotTest
|
||||
public void showPowerCheckDialog() {
|
||||
if (Looper.myLooper() == null) {
|
||||
Looper.prepare();
|
||||
}
|
||||
|
||||
Intent intent = new Intent(targetContext, SyncedFoldersActivity.class);
|
||||
SyncedFoldersActivity activity = activityRule.launchActivity(intent);
|
||||
|
||||
AlertDialog sut = activity.buildPowerCheckDialog();
|
||||
|
||||
activity.runOnUiThread(sut::show);
|
||||
|
||||
getInstrumentation().waitForIdleSync();
|
||||
shortSleep();
|
||||
|
||||
screenshot(Objects.requireNonNull(sut.getWindow()).getDecorView());
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@ package com.nextcloud.client.assistant
|
||||
|
||||
import com.nextcloud.client.assistant.repository.AssistantRepository
|
||||
import com.owncloud.android.AbstractOnServerIT
|
||||
import com.owncloud.android.lib.resources.assistant.v2.model.TaskTypeData
|
||||
import com.owncloud.android.lib.resources.status.NextcloudVersion
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Before
|
||||
@@ -21,7 +22,7 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
|
||||
|
||||
@Before
|
||||
fun setup() {
|
||||
sut = AssistantRepository(nextcloudClient)
|
||||
sut = AssistantRepository(nextcloudClient, capability)
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -33,10 +34,7 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
|
||||
}
|
||||
|
||||
val result = sut?.getTaskTypes()
|
||||
assertTrue(result?.isSuccess == true)
|
||||
|
||||
val taskTypes = result?.resultData?.types
|
||||
assertTrue(taskTypes?.isNotEmpty() == true)
|
||||
assertTrue(result?.isNotEmpty() == true)
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -48,10 +46,7 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
|
||||
}
|
||||
|
||||
val result = sut?.getTaskList("assistant")
|
||||
assertTrue(result?.isSuccess == true)
|
||||
|
||||
val taskList = result?.resultData?.tasks
|
||||
assertTrue(taskList?.isEmpty() == true || (taskList?.size ?: 0) > 0)
|
||||
assertTrue(result?.isEmpty() == true || (result?.size ?: 0) > 0)
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -63,8 +58,14 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
|
||||
}
|
||||
|
||||
val input = "Give me some random output for test purpose"
|
||||
val type = "OCP\\TextProcessing\\FreePromptTaskType"
|
||||
val result = sut?.createTask(input, type)
|
||||
val taskType = TaskTypeData(
|
||||
"core:text2text",
|
||||
"Free text to text prompt",
|
||||
"Runs an arbitrary prompt through a language model that returns a reply",
|
||||
null,
|
||||
null
|
||||
)
|
||||
val result = sut?.createTask(input, taskType)
|
||||
assertTrue(result?.isSuccess == true)
|
||||
}
|
||||
|
||||
@@ -80,13 +81,11 @@ class AssistantRepositoryTests : AbstractOnServerIT() {
|
||||
|
||||
sleep(120)
|
||||
|
||||
val resultOfTaskList = sut?.getTaskList("assistant")
|
||||
assertTrue(resultOfTaskList?.isSuccess == true)
|
||||
val taskList = sut?.getTaskList("assistant")
|
||||
assertTrue(taskList != null)
|
||||
|
||||
sleep(120)
|
||||
|
||||
val taskList = resultOfTaskList?.resultData?.tasks
|
||||
|
||||
assert((taskList?.size ?: 0) > 0)
|
||||
|
||||
val result = sut?.deleteTask(taskList!!.first().id)
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
/*
|
||||
* Nextcloud - Android Client
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2024 Alper Ozturk <[email protected]>
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
package com.nextcloud.utils
|
||||
|
||||
import android.os.Bundle
|
||||
import com.owncloud.android.AbstractIT
|
||||
import com.owncloud.android.lib.common.OwnCloudClientManagerFactory
|
||||
import com.owncloud.android.utils.appConfig.AppConfigKeys
|
||||
import com.owncloud.android.utils.appConfig.AppConfigManager
|
||||
import org.junit.AfterClass
|
||||
import org.junit.Test
|
||||
|
||||
class AppConfigManagerTests : AbstractIT() {
|
||||
|
||||
private val testBaseUrl = "nextcloud.cloud.cloud"
|
||||
private val testProxyHost = "nextcloud.cloud.cloud.com"
|
||||
|
||||
@Suppress("MagicNumber")
|
||||
private val testProxyPort = 8800
|
||||
|
||||
@Test
|
||||
fun testSetProxyConfigWhenGivenClientBrandedPlusAndCorrectBundleDataProxyConfigurationShouldSet() {
|
||||
val proxySetting = Bundle().apply {
|
||||
putString(AppConfigKeys.ProxyHost.key, testProxyHost)
|
||||
putInt(AppConfigKeys.ProxyPort.key, testProxyPort)
|
||||
}
|
||||
|
||||
AppConfigManager(targetContext, proxySetting).run {
|
||||
setProxyConfig(true)
|
||||
}
|
||||
|
||||
val proxyHost = OwnCloudClientManagerFactory.getProxyHost()
|
||||
val proxyPort = OwnCloudClientManagerFactory.getProxyPort()
|
||||
|
||||
assert(proxyHost.equals(testProxyHost))
|
||||
assert(proxyPort == testProxyPort)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testSetProxyConfigWhenGivenClientNotBrandedPlusAndCorrectBundleDataProxyConfigurationShouldNotSet() {
|
||||
val proxySetting = Bundle().apply {
|
||||
putString(AppConfigKeys.ProxyHost.key, testProxyHost)
|
||||
putInt(AppConfigKeys.ProxyPort.key, testProxyPort)
|
||||
}
|
||||
|
||||
AppConfigManager(targetContext, proxySetting).run {
|
||||
setProxyConfig(false)
|
||||
}
|
||||
|
||||
val proxyHost = OwnCloudClientManagerFactory.getProxyHost()
|
||||
val proxyPort = OwnCloudClientManagerFactory.getProxyPort()
|
||||
|
||||
assert(proxyHost.equals(""))
|
||||
assert(proxyPort == -1)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testGetBaseUrlConfigWhenGivenClientBrandedPlusAndCorrectBundleDataBaseUrlConfigurationShouldSet() {
|
||||
val baseUrlConfig = Bundle().apply {
|
||||
putString(AppConfigKeys.BaseUrl.key, testBaseUrl)
|
||||
}
|
||||
val sut = AppConfigManager(targetContext, baseUrlConfig)
|
||||
assert(!sut.getBaseUrl(true).isNullOrEmpty())
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testGetBaseUrlConfigWhenGivenClientBrandedPlusAndBrokenBundleDataBaseUrlConfigurationShouldNotSet() {
|
||||
val baseUrlConfig = Bundle()
|
||||
val sut = AppConfigManager(targetContext, baseUrlConfig)
|
||||
assert(sut.getBaseUrl(true).isNullOrEmpty())
|
||||
}
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
@AfterClass
|
||||
fun tearDown() {
|
||||
OwnCloudClientManagerFactory.setProxyHost("")
|
||||
OwnCloudClientManagerFactory.setProxyPort(-1)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,16 @@ class AutoRenameTests : AbstractOnServerIT() {
|
||||
testOnlyOnServer(NextcloudVersion.nextcloud_30)
|
||||
|
||||
capability = capability.apply {
|
||||
forbiddenFilenameExtensionJson = """[" ",".",".part",".part"]"""
|
||||
forbiddenFilenameExtensionJson = listOf(
|
||||
"""[" ",".",".part",".part"]""",
|
||||
"""[".",".part",".part"," "]""",
|
||||
"""[".",".part"," ", ".part"]""",
|
||||
"""[".part"," ", ".part","."]""",
|
||||
"""[" ",".",".PART",".PART"]""",
|
||||
"""[".",".PART",".PART"," "]""",
|
||||
"""[".",".PART"," ", ".PART"]""",
|
||||
"""[".PART"," ", ".PART","."]"""
|
||||
).random()
|
||||
forbiddenFilenameCharactersJson = """["<", ">", ":", "\\\\", "/", "|", "?", "*", "&"]"""
|
||||
}
|
||||
}
|
||||
@@ -158,4 +167,12 @@ class AutoRenameTests : AbstractOnServerIT() {
|
||||
val expectedFolderName = "/COm02/2569.webp"
|
||||
assert(result == expectedFolderName) { "Expected $expectedFolderName but got $result" }
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testValidFilename() {
|
||||
val filename = ".file.TXT"
|
||||
val result = AutoRename.rename(filename, capability)
|
||||
val expectedFilename = "_file.txt"
|
||||
assert(result == expectedFilename) { "Expected $expectedFilename but got $result" }
|
||||
}
|
||||
}
|
||||
@@ -183,7 +183,7 @@ public abstract class AbstractIT {
|
||||
String darkModeParameter = arguments.getString("DARKMODE");
|
||||
|
||||
if (darkModeParameter != null) {
|
||||
if (darkModeParameter.equalsIgnoreCase("dark")) {
|
||||
if ("dark".equalsIgnoreCase(darkModeParameter)) {
|
||||
DARK_MODE = "dark";
|
||||
AppPreferencesImpl.fromContext(targetContext).setDarkThemeMode(DarkMode.DARK);
|
||||
MainApp.setAppTheme(DarkMode.DARK);
|
||||
@@ -192,7 +192,7 @@ public abstract class AbstractIT {
|
||||
}
|
||||
}
|
||||
|
||||
if (DARK_MODE.equalsIgnoreCase("light") && COLOR.equalsIgnoreCase("blue")) {
|
||||
if ("light".equalsIgnoreCase(DARK_MODE) && "blue".equalsIgnoreCase(COLOR)) {
|
||||
// use already existing names
|
||||
DARK_MODE = "";
|
||||
COLOR = "";
|
||||
|
||||
@@ -106,7 +106,8 @@ public class FileIT extends AbstractOnServerIT {
|
||||
assertTrue(new SynchronizeFolderOperation(targetContext,
|
||||
folderPath,
|
||||
user,
|
||||
fileDataStorageManager)
|
||||
fileDataStorageManager,
|
||||
false)
|
||||
.execute(targetContext)
|
||||
.isSuccess());
|
||||
|
||||
|
||||
@@ -515,7 +515,7 @@ public class UploadIT extends AbstractOnServerIT {
|
||||
|
||||
OCFile ocFile = null;
|
||||
for (OCFile f : files) {
|
||||
if (f.getFileName().equals("metadata.jpg")) {
|
||||
if ("metadata.jpg".equals(f.getFileName())) {
|
||||
ocFile = f;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -7,94 +7,154 @@
|
||||
package com.owncloud.android.ui.fragment
|
||||
|
||||
import android.Manifest
|
||||
import androidx.test.espresso.intent.rule.IntentsTestRule
|
||||
import androidx.test.core.app.launchActivity
|
||||
import androidx.test.espresso.Espresso.onView
|
||||
import androidx.test.espresso.IdlingRegistry
|
||||
import androidx.test.espresso.assertion.ViewAssertions.matches
|
||||
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
|
||||
import androidx.test.espresso.matcher.ViewMatchers.isRoot
|
||||
import androidx.test.rule.GrantPermissionRule
|
||||
import com.owncloud.android.AbstractIT
|
||||
import com.owncloud.android.R
|
||||
import com.owncloud.android.datamodel.OCFile
|
||||
import com.owncloud.android.ui.activity.ContactsPreferenceActivity
|
||||
import com.owncloud.android.ui.fragment.contactsbackup.BackupListFragment
|
||||
import com.owncloud.android.utils.EspressoIdlingResource
|
||||
import com.owncloud.android.utils.ScreenshotTest
|
||||
import org.junit.After
|
||||
import org.junit.Before
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
|
||||
class BackupListFragmentIT : AbstractIT() {
|
||||
@get:Rule
|
||||
val testActivityRule = IntentsTestRule(ContactsPreferenceActivity::class.java, true, false)
|
||||
|
||||
@get:Rule
|
||||
val permissionRule: GrantPermissionRule = GrantPermissionRule.grant(Manifest.permission.READ_CALENDAR)
|
||||
|
||||
private val testClassName = "com.owncloud.android.ui.fragment.BackupListFragmentIT"
|
||||
|
||||
@Before
|
||||
fun registerIdlingResource() {
|
||||
IdlingRegistry.getInstance().register(EspressoIdlingResource.countingIdlingResource)
|
||||
}
|
||||
|
||||
@After
|
||||
fun unregisterIdlingResource() {
|
||||
IdlingRegistry.getInstance().unregister(EspressoIdlingResource.countingIdlingResource)
|
||||
}
|
||||
|
||||
@Test
|
||||
@ScreenshotTest
|
||||
fun showLoading() {
|
||||
val sut = testActivityRule.launchActivity(null)
|
||||
val file = OCFile("/")
|
||||
val transaction = sut.supportFragmentManager.beginTransaction()
|
||||
launchActivity<ContactsPreferenceActivity>().use { scenario ->
|
||||
scenario.onActivity { sut ->
|
||||
val file = OCFile("/")
|
||||
val transaction = sut.supportFragmentManager.beginTransaction()
|
||||
|
||||
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(file, user))
|
||||
transaction.commit()
|
||||
onIdleSync {
|
||||
EspressoIdlingResource.increment()
|
||||
|
||||
waitForIdleSync()
|
||||
screenshot(sut)
|
||||
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(file, user))
|
||||
transaction.commit()
|
||||
|
||||
EspressoIdlingResource.decrement()
|
||||
|
||||
val screenShotName = createName(testClassName + "_" + "showLoading", "")
|
||||
onView(isRoot()).check(matches(isDisplayed()))
|
||||
screenshotViaName(sut, screenShotName)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@ScreenshotTest
|
||||
fun showContactList() {
|
||||
val sut = testActivityRule.launchActivity(null)
|
||||
val transaction = sut.supportFragmentManager.beginTransaction()
|
||||
val file = getFile("vcard.vcf")
|
||||
val ocFile = OCFile("/vcard.vcf")
|
||||
ocFile.storagePath = file.absolutePath
|
||||
ocFile.mimeType = "text/vcard"
|
||||
launchActivity<ContactsPreferenceActivity>().use { scenario ->
|
||||
scenario.onActivity { sut ->
|
||||
val transaction = sut.supportFragmentManager.beginTransaction()
|
||||
val file = getFile("vcard.vcf")
|
||||
val ocFile = OCFile("/vcard.vcf").apply {
|
||||
storagePath = file.absolutePath
|
||||
mimeType = "text/vcard"
|
||||
}
|
||||
|
||||
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(ocFile, user))
|
||||
transaction.commit()
|
||||
onIdleSync {
|
||||
EspressoIdlingResource.increment()
|
||||
|
||||
waitForIdleSync()
|
||||
shortSleep()
|
||||
screenshot(sut)
|
||||
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(ocFile, user))
|
||||
transaction.commit()
|
||||
|
||||
EspressoIdlingResource.decrement()
|
||||
|
||||
val screenShotName = createName(testClassName + "_" + "showContactList", "")
|
||||
onView(isRoot()).check(matches(isDisplayed()))
|
||||
screenshotViaName(sut, screenShotName)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@ScreenshotTest
|
||||
fun showCalendarList() {
|
||||
val sut = testActivityRule.launchActivity(null)
|
||||
val transaction = sut.supportFragmentManager.beginTransaction()
|
||||
val file = getFile("calendar.ics")
|
||||
val ocFile = OCFile("/Private calender_2020-09-01_10-45-20.ics.ics")
|
||||
ocFile.storagePath = file.absolutePath
|
||||
ocFile.mimeType = "text/calendar"
|
||||
launchActivity<ContactsPreferenceActivity>().use { scenario ->
|
||||
scenario.onActivity { sut ->
|
||||
val transaction = sut.supportFragmentManager.beginTransaction()
|
||||
val file = getFile("calendar.ics")
|
||||
val ocFile = OCFile("/Private calender_2020-09-01_10-45-20.ics.ics").apply {
|
||||
storagePath = file.absolutePath
|
||||
mimeType = "text/calendar"
|
||||
}
|
||||
|
||||
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(ocFile, user))
|
||||
transaction.commit()
|
||||
onIdleSync {
|
||||
EspressoIdlingResource.increment()
|
||||
|
||||
waitForIdleSync()
|
||||
screenshot(sut)
|
||||
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(ocFile, user))
|
||||
transaction.commit()
|
||||
|
||||
EspressoIdlingResource.decrement()
|
||||
|
||||
val screenShotName = createName(testClassName + "_" + "showCalendarList", "")
|
||||
onView(isRoot()).check(matches(isDisplayed()))
|
||||
screenshotViaName(sut, screenShotName)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@ScreenshotTest
|
||||
fun showCalendarAndContactsList() {
|
||||
val sut = testActivityRule.launchActivity(null)
|
||||
val transaction = sut.supportFragmentManager.beginTransaction()
|
||||
launchActivity<ContactsPreferenceActivity>().use { scenario ->
|
||||
scenario.onActivity { sut ->
|
||||
val transaction = sut.supportFragmentManager.beginTransaction()
|
||||
val calendarFile = getFile("calendar.ics")
|
||||
val calendarOcFile = OCFile("/Private calender_2020-09-01_10-45-20.ics.ics").apply {
|
||||
storagePath = calendarFile.absolutePath
|
||||
mimeType = "text/calendar"
|
||||
}
|
||||
|
||||
val calendarFile = getFile("calendar.ics")
|
||||
val calendarOcFile = OCFile("/Private calender_2020-09-01_10-45-20.ics")
|
||||
calendarOcFile.storagePath = calendarFile.absolutePath
|
||||
calendarOcFile.mimeType = "text/calendar"
|
||||
val contactFile = getFile("vcard.vcf")
|
||||
val contactOcFile = OCFile("/vcard.vcf").apply {
|
||||
storagePath = contactFile.absolutePath
|
||||
mimeType = "text/vcard"
|
||||
}
|
||||
|
||||
val contactFile = getFile("vcard.vcf")
|
||||
val contactOcFile = OCFile("/vcard.vcf")
|
||||
contactOcFile.storagePath = contactFile.absolutePath
|
||||
contactOcFile.mimeType = "text/vcard"
|
||||
val files = arrayOf(calendarOcFile, contactOcFile)
|
||||
|
||||
val files = arrayOf(calendarOcFile, contactOcFile)
|
||||
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(files, user))
|
||||
transaction.commit()
|
||||
onIdleSync {
|
||||
EspressoIdlingResource.increment()
|
||||
|
||||
waitForIdleSync()
|
||||
screenshot(sut)
|
||||
transaction.replace(R.id.frame_container, BackupListFragment.newInstance(files, user))
|
||||
transaction.commit()
|
||||
|
||||
EspressoIdlingResource.decrement()
|
||||
|
||||
val screenShotName = createName(testClassName + "_" + "showCalendarAndContactsList", "")
|
||||
onView(isRoot()).check(matches(isDisplayed()))
|
||||
screenshotViaName(sut, screenShotName)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -300,6 +300,14 @@ class OCFileListFragmentStaticServerIT : AbstractIT() {
|
||||
sut.storageManager.saveFile(this)
|
||||
}
|
||||
|
||||
OCFile("/offlineOperation/").apply {
|
||||
mimeType = MimeType.DIRECTORY
|
||||
decryptedRemotePath = "/offlineOperation/"
|
||||
modificationTimestamp = System.currentTimeMillis()
|
||||
parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
|
||||
sut.storageManager.saveFile(this)
|
||||
}
|
||||
|
||||
sut.addFragment(fragment)
|
||||
|
||||
shortSleep()
|
||||
|
||||
@@ -12,18 +12,15 @@ import android.graphics.Bitmap
|
||||
import android.graphics.drawable.BitmapDrawable
|
||||
import androidx.test.platform.app.InstrumentationRegistry
|
||||
import org.junit.After
|
||||
import org.junit.Assert.fail
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
|
||||
class DrawableUtilTests {
|
||||
|
||||
private var sut: DrawableUtil? = null
|
||||
private var context: Context? = null
|
||||
|
||||
@Before
|
||||
fun setUp() {
|
||||
sut = DrawableUtil()
|
||||
context = InstrumentationRegistry.getInstrumentation().context
|
||||
}
|
||||
|
||||
@@ -32,18 +29,13 @@ class DrawableUtilTests {
|
||||
val bitmap: Bitmap = Bitmap.createBitmap(2, 2, Bitmap.Config.ARGB_8888)
|
||||
val drawable = BitmapDrawable(context?.resources, bitmap)
|
||||
|
||||
val layerDrawable = sut?.addDrawableAsOverlay(drawable, drawable)
|
||||
val layerDrawable = DrawableUtil.addDrawableAsOverlay(drawable, drawable)
|
||||
|
||||
if (layerDrawable == null) {
|
||||
fail("Layer drawable expected to be not null")
|
||||
}
|
||||
|
||||
assert(layerDrawable?.numberOfLayers == 2)
|
||||
assert(layerDrawable.numberOfLayers == 2)
|
||||
}
|
||||
|
||||
@After
|
||||
fun destroy() {
|
||||
sut = null
|
||||
context = null
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,11 @@
|
||||
android:name="android.permission.REQUEST_INSTALL_PACKAGES"
|
||||
tools:node="remove"/>
|
||||
|
||||
<uses-permission
|
||||
android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
|
||||
tools:node="remove"
|
||||
tools:ignore="ScopedStorage" />
|
||||
|
||||
<application
|
||||
android:name=".MainApp"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
|
||||