Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a357814531 | ||
|
|
fa85658281 | ||
|
|
5fd25ec06e | ||
|
|
0f6291f551 | ||
|
|
e0cfb10739 | ||
|
|
55e29a13f8 | ||
|
|
e0952ab27e | ||
|
|
c9e1136898 | ||
|
|
45813bb156 | ||
|
|
f5d905f944 | ||
|
|
6066b2b0d5 | ||
|
|
4cb667ed21 | ||
|
|
19b89fea6f | ||
|
|
f39b5e8205 | ||
|
|
1750c78a50 | ||
|
|
d8252e491d | ||
|
|
9fd78a5e49 | ||
|
|
9d1bc4495f | ||
|
|
8bc71e8610 | ||
|
|
1d205aad29 | ||
|
|
518b53fac5 | ||
|
|
4ab0599e83 | ||
|
|
e1524fefab | ||
|
|
f8b23eeb30 | ||
|
|
e7090f8871 | ||
|
|
e9f1cb210c | ||
|
|
b7f36b2e54 | ||
|
|
090cf59a5a | ||
|
|
ff7f29ef44 | ||
|
|
189e4cbdce | ||
|
|
1a8efb672f | ||
|
|
4c624ca058 | ||
|
|
d9a7e6e5ba | ||
|
|
5344e438db | ||
|
|
fb2b10b709 | ||
|
|
1dc476596d | ||
|
|
d3fce16e5c | ||
|
|
6c7907a25f | ||
|
|
a1f8cfc2ec | ||
|
|
ae63f520b1 | ||
|
|
4ca2313b30 | ||
|
|
da93fff35d | ||
|
|
ba0be7e9cc | ||
|
|
a182f376fb | ||
|
|
76993fba26 | ||
|
|
91cd67dbce | ||
|
|
649e3972c3 | ||
|
|
6954e8af3f | ||
|
|
90637b7ba2 | ||
|
|
1b1162e625 | ||
|
|
a5f2620858 | ||
|
|
4b3c122232 | ||
|
|
ad28148acb | ||
|
|
987b584604 | ||
|
|
9f78f3b65b | ||
|
|
f03e1c3a2f | ||
|
|
1ac7218337 | ||
|
|
573a729905 | ||
|
|
99e675dd18 | ||
|
|
8f3de4ff74 | ||
|
|
3b118bb7d9 | ||
|
|
29e0dbd14a | ||
|
|
f6a5466264 | ||
|
|
eaa1f08b35 | ||
|
|
59e90c508d | ||
|
|
8d56482d69 | ||
|
|
d4d18acebf | ||
|
|
7b9edd6327 | ||
|
|
ce08c2450b | ||
|
|
c14e217261 | ||
|
|
7f632389eb | ||
|
|
aa5c208e01 | ||
|
|
f8677b7d0c | ||
|
|
100cb24cf5 | ||
|
|
7ccffe2483 | ||
|
|
42d1ea394f | ||
|
|
3b4befc31c | ||
|
|
d07958672d | ||
|
|
091bb7f519 | ||
|
|
7b1465f8a8 | ||
|
|
82a7274ed4 | ||
|
|
b1e3818c98 | ||
|
|
571f3b2a97 | ||
|
|
0eab22268f | ||
|
|
1cd8c098d8 | ||
|
|
a3aa7b33eb | ||
|
|
b3ba7d104f | ||
|
|
5f4275f3b9 | ||
|
|
aa76b425e2 | ||
|
|
1d10f18da0 | ||
|
|
cb0912a9d4 | ||
|
|
c513d574d5 | ||
|
|
0ffc2372bb | ||
|
|
65c7a53cbf | ||
|
|
98beb64abe | ||
|
|
4af64f5249 | ||
|
|
d53ae1bbad | ||
|
|
a8c3311e69 | ||
|
|
c4eede9f25 | ||
|
|
8920afe054 | ||
|
|
78da832560 | ||
|
|
1bec2da4be | ||
|
|
41e2ce1d38 | ||
|
|
cfa5493023 | ||
|
|
4e65fa386f | ||
|
|
c4c741fb9e | ||
|
|
f5f667c38b | ||
|
|
1f26ac9ed7 | ||
|
|
5bf6722c64 | ||
|
|
6f9311cbcb | ||
|
|
0cf7154729 | ||
|
|
2a56305a21 | ||
|
|
ab3f4a7af7 | ||
|
|
852527171a | ||
|
|
917626163d | ||
|
|
f7403d8b37 | ||
|
|
ca0324dcc2 | ||
|
|
d314232ae6 | ||
|
|
5a0e552974 | ||
|
|
5ada3b1c22 | ||
|
|
b57d5aec66 | ||
|
|
00618ea9d3 | ||
|
|
2002a3f413 | ||
|
|
092d172f82 | ||
|
|
211934036e | ||
|
|
7838bf0d99 | ||
|
|
8d9db55e46 | ||
|
|
2904ec1701 | ||
|
|
6b70332b09 | ||
|
|
3ffc52b177 | ||
|
|
9996f226ff | ||
|
|
4e90676545 | ||
|
|
c630955890 | ||
|
|
a1d6aa730e | ||
|
|
b96e4719ab | ||
|
|
7d4f1d4ac0 | ||
|
|
b499e31051 | ||
|
|
598bd5f9ce | ||
|
|
85f7e0e44f | ||
|
|
b4552df41b | ||
|
|
09b57dfb1a | ||
|
|
09b82393f0 | ||
|
|
7637604ba2 | ||
|
|
9c543986ef | ||
|
|
b75e04207e | ||
|
|
33e1b0c0b1 | ||
|
|
490fa936eb | ||
|
|
52c39b3da2 | ||
|
|
61e773968c | ||
|
|
3bc6f48c14 | ||
|
|
720b5bbf26 | ||
|
|
3443a892ef | ||
|
|
bcb2b8e358 | ||
|
|
b80d3ab772 | ||
|
|
5daff9a7e3 | ||
|
|
867ceb1574 | ||
|
|
997bc22d94 | ||
|
|
bcb7819592 | ||
|
|
d7995cbf30 | ||
|
|
87549920d7 | ||
|
|
bbc2d14b37 | ||
|
|
47e92e8360 | ||
|
|
b963ca650c | ||
|
|
78bc2f3391 | ||
|
|
fe21d590e9 | ||
|
|
cd46d2b964 | ||
|
|
a142711031 | ||
|
|
b33445d17e | ||
|
|
4d2a43aabd | ||
|
|
e7be185502 | ||
|
|
cd755699e3 | ||
|
|
fc27def747 | ||
|
|
3c52abe2d8 | ||
|
|
0c1c791f7f | ||
|
|
25ef4d941d | ||
|
|
a942fc7fc0 | ||
|
|
1ba8dccc22 | ||
|
|
90df2299f6 | ||
|
|
e4ab7a812c | ||
|
|
89094c1f10 | ||
|
|
919478723c | ||
|
|
8254baf187 | ||
|
|
12d9bdd6f8 | ||
|
|
40c3e17ea9 | ||
|
|
c2225dda46 | ||
|
|
46c81972ec | ||
|
|
0edcf3a45a | ||
|
|
3f70de3579 | ||
|
|
09d0637c8b | ||
|
|
7470d6f3eb | ||
|
|
ba99684909 | ||
|
|
abcb8e8161 | ||
|
|
59355d38d5 | ||
|
|
852c11e11c | ||
|
|
70085c09ea | ||
|
|
4ef6a9863a | ||
|
|
27e396501c | ||
|
|
1074f20f9c | ||
|
|
9d5482a0c7 | ||
|
|
c7574a3d73 | ||
|
|
03e3684865 | ||
|
|
9ee7909eb0 | ||
|
|
e7d577fe17 | ||
|
|
0805bf6456 | ||
|
|
7fcb2c4cb0 | ||
|
|
a7aa45a891 | ||
|
|
239140d5e6 | ||
|
|
25e896a096 | ||
|
|
829c5b9a35 | ||
|
|
8ae9670250 | ||
|
|
56453266a6 | ||
|
|
5c42d96259 | ||
|
|
7efae88a5d | ||
|
|
515c6fe943 | ||
|
|
763df858de | ||
|
|
76cb95cd07 | ||
|
|
31a120ea9a | ||
|
|
a349d6934d | ||
|
|
7e964795b5 | ||
|
|
723334a1c1 | ||
|
|
5a37719111 | ||
|
|
d8d803ab8c | ||
|
|
313fde0bc6 | ||
|
|
d0b691cafb | ||
|
|
ed04da30dc | ||
|
|
0e45eed32a | ||
|
|
979b14bfae | ||
|
|
0fa105e781 | ||
|
|
b3c8abd0d8 | ||
|
|
5c095bb00b | ||
|
|
bad15df75d | ||
|
|
dfeae52619 | ||
|
|
795d695300 | ||
|
|
200fe5ab64 | ||
|
|
dd5894d690 | ||
|
|
1c1c464165 | ||
|
|
655324e179 | ||
|
|
5b0aa52d93 | ||
|
|
a4a2cb9721 | ||
|
|
881063e9fb | ||
|
|
63fe98d8ac | ||
|
|
08b4e9c709 | ||
|
|
41861a8d1f | ||
|
|
5feacb3b69 | ||
|
|
6325d56864 | ||
|
|
a811f49f58 | ||
|
|
bd883c53d2 | ||
|
|
fb71c3e1ce | ||
|
|
b415a9a598 | ||
|
|
b5ee31bad3 | ||
|
|
af5f521454 | ||
|
|
0761bff179 | ||
|
|
2a5d777219 | ||
|
|
6244502d87 | ||
|
|
4cb527795c | ||
|
|
a4361a447c | ||
|
|
4b77f648dd | ||
|
|
0a224c442b | ||
|
|
17d5683d98 | ||
|
|
8bdb9d72a9 | ||
|
|
31ffb0a2a1 | ||
|
|
8d49161b39 | ||
|
|
9281a3acae | ||
|
|
e0aa06cbc9 | ||
|
|
be9f000aad | ||
|
|
6094f5fcb7 | ||
|
|
0f30fa0bc5 | ||
|
|
3b665c28e3 | ||
|
|
55f41a12d7 | ||
|
|
b980363b7c | ||
|
|
1f7df2fd9b | ||
|
|
c02370145e | ||
|
|
ee4ae35eb9 | ||
|
|
33bcc4ba1c | ||
|
|
67c5b57cfd | ||
|
|
a5e2d7d239 | ||
|
|
c4406f4141 | ||
|
|
e8309e2431 | ||
|
|
c1ca971823 | ||
|
|
5bb9620aa1 | ||
|
|
8c2cfe9ab4 | ||
|
|
a962e2aca5 | ||
|
|
c5b8bbe0f4 | ||
|
|
e2ad7cbe2b | ||
|
|
60aeedd80e | ||
|
|
e8d7fd0953 | ||
|
|
18222b2467 | ||
|
|
84d8695677 | ||
|
|
24c2dd49ff | ||
|
|
5980af1caa | ||
|
|
91b9ccdb19 | ||
|
|
457a5d934a | ||
|
|
3d86e32eb5 | ||
|
|
48db65b178 | ||
|
|
6854dc5b02 | ||
|
|
c6f970b52a | ||
|
|
b2171f2e8f | ||
|
|
cc757729bd | ||
|
|
f6c5c63c0d | ||
|
|
871607b89c | ||
|
|
6b462c9895 | ||
|
|
1c258946c2 | ||
|
|
97acb9d4e4 | ||
|
|
e410a6f7ac | ||
|
|
f33e985b84 | ||
|
|
2bf7b49774 | ||
|
|
c65d78ff20 | ||
|
|
c91b7f7442 | ||
|
|
a6c74539f8 | ||
|
|
9e85786f00 | ||
|
|
2d0c73fef1 | ||
|
|
c549385e96 | ||
|
|
ffbe691085 | ||
|
|
6c1c723d50 | ||
|
|
d92ddc061c | ||
|
|
ea86870d7f | ||
|
|
1084f97927 | ||
|
|
3504a08163 | ||
|
|
ddf2e9f717 | ||
|
|
e6bc6591d8 | ||
|
|
4cda211590 | ||
|
|
8a8c82301d | ||
|
|
b78ce68baf | ||
|
|
814d147ad4 | ||
|
|
287089922b | ||
|
|
e4552b6da6 | ||
|
|
29079e5fd2 | ||
|
|
1a57ddef9a | ||
|
|
0eae7c59a9 | ||
|
|
9180481515 | ||
|
|
b1f8f084b8 | ||
|
|
b2f816eb31 | ||
|
|
a34488e47e | ||
|
|
afdfc62ee7 | ||
|
|
b8d796c19e | ||
|
|
255bcb1a99 | ||
|
|
57302403b6 | ||
|
|
ba44bfbe02 | ||
|
|
6bf4a37019 | ||
|
|
afce75826e | ||
|
|
30ceace544 | ||
|
|
f3417a1f3b | ||
|
|
c6f306af49 | ||
|
|
aab9c087bf | ||
|
|
d584f806f0 | ||
|
|
0b1b893740 | ||
|
|
7c9e3dab4f | ||
|
|
a6b46eef90 | ||
|
|
d51825c98d | ||
|
|
598458f759 | ||
|
|
3de7eb134d | ||
|
|
e89f2d5808 | ||
|
|
5136870879 | ||
|
|
06f5ffe296 | ||
|
|
f3a41dc260 | ||
|
|
65fa8c4c20 | ||
|
|
91919d9246 | ||
|
|
eb267862b7 | ||
|
|
dcb0bd26f3 | ||
|
|
e6b99c96e7 | ||
|
|
efe9692ee4 | ||
|
|
dba4dd513a | ||
|
|
92b58b654e | ||
|
|
4198991338 | ||
|
|
a80b2216ce | ||
|
|
6102f78552 | ||
|
|
330883cc81 | ||
|
|
0b2162d70c | ||
|
|
013ddc4bf1 | ||
|
|
c09979389d | ||
|
|
13e37493c9 | ||
|
|
fc1ba3c384 | ||
|
|
19b65e6afd | ||
|
|
716d1554b5 | ||
|
|
83b8c5cc0a | ||
|
|
fd428095d7 | ||
|
|
f83ecc83c8 | ||
|
|
b64569db57 | ||
|
|
c56cd56645 | ||
|
|
604eccb185 | ||
|
|
5fde328016 | ||
|
|
8bc3935130 | ||
|
|
80e610ea41 | ||
|
|
caba790774 | ||
|
|
1161c3f19e | ||
|
|
4be92d4650 | ||
|
|
411022175c | ||
|
|
f5218d53e0 | ||
|
|
2ba7087953 | ||
|
|
911e4072f4 | ||
|
|
9809e88ec0 | ||
|
|
0c7c92c40b | ||
|
|
bc2c96b284 | ||
|
|
2da70e914c | ||
|
|
3baa5ab208 | ||
|
|
6044010ffe | ||
|
|
56e3129f52 | ||
|
|
580ab151f1 | ||
|
|
2ccd0167f3 | ||
|
|
01961b4db6 | ||
|
|
db37d4f680 | ||
|
|
b44178b0ad | ||
|
|
b1e364efb6 | ||
|
|
48e90501c0 | ||
|
|
0b87d80f08 | ||
|
|
54d1c42ea7 | ||
|
|
7e84c2a934 | ||
|
|
8ae25feaee | ||
|
|
c99ef87a5f | ||
|
|
72c96f7054 | ||
|
|
b4e068af38 | ||
|
|
85ae0ef010 | ||
|
|
6e4913ade8 | ||
|
|
1787cd4ea2 | ||
|
|
a731e87267 | ||
|
|
007f9a3696 | ||
|
|
08bddb3dcf | ||
|
|
a638f3c31b | ||
|
|
d2c6f0c0a7 | ||
|
|
6e7645b4f4 | ||
|
|
2d05f45a6d | ||
|
|
b64e41f1cb | ||
|
|
738c491800 | ||
|
|
fe13a0ef23 | ||
|
|
3ab681415b | ||
|
|
bf213bc11f | ||
|
|
946d2a1d5e | ||
|
|
a44441bdda | ||
|
|
c6d71c4c14 | ||
|
|
fc06e1b91e | ||
|
|
e73f9970ee | ||
|
|
4c4d6948cc | ||
|
|
054717cc65 | ||
|
|
58652a5522 | ||
|
|
f7195a0192 | ||
|
|
6a6fb1dab7 | ||
|
|
70c1cef829 | ||
|
|
753399fdc7 | ||
|
|
0a463042e5 | ||
|
|
30e5ad14ae | ||
|
|
1b7ffa00bf | ||
|
|
f606d14b6d | ||
|
|
644a9ee978 | ||
|
|
0b88b6e144 | ||
|
|
99434be7c4 | ||
|
|
68c8ce6010 | ||
|
|
9fe0c6f364 | ||
|
|
3a4d516c24 | ||
|
|
a724993861 | ||
|
|
38f0266ecf | ||
|
|
7a539ef071 | ||
|
|
c4c9fac34a | ||
|
|
49a125ebd6 | ||
|
|
649c5cfe0c | ||
|
|
beb3abb7f3 | ||
|
|
32aa5113b5 | ||
|
|
ff7bb22903 | ||
|
|
c117f1eb60 | ||
|
|
1b1e20bee7 | ||
|
|
d5f143c4cc | ||
|
|
9e3499707c | ||
|
|
1b279acca8 | ||
|
|
831813fd81 | ||
|
|
44e91d4d9d | ||
|
|
7df332b2dc | ||
|
|
50a565f11d | ||
|
|
430872629d | ||
|
|
79650fbcb9 | ||
|
|
7fb56cd467 | ||
|
|
a524d9083f | ||
|
|
e7d190adf4 | ||
|
|
f5e32fb333 | ||
|
|
3d1ba53339 | ||
|
|
d0857dd009 | ||
|
|
4567ce5496 | ||
|
|
37f99a7fa2 | ||
|
|
4feff15973 | ||
|
|
25d7f4149e | ||
|
|
aa081f0080 | ||
|
|
278da5520a | ||
|
|
eba09158c3 | ||
|
|
eaf0265866 | ||
|
|
42ca74cbb0 | ||
|
|
64eeacb829 | ||
|
|
3eea52f5f3 | ||
|
|
3c0087da97 | ||
|
|
bb86f57628 | ||
|
|
57c93d37c2 | ||
|
|
5326351378 | ||
|
|
52e69cf25b | ||
|
|
3a214db461 | ||
|
|
54d82af9ff | ||
|
|
23b02079d3 | ||
|
|
2f6192a6e5 | ||
|
|
3f0df0a5c9 | ||
|
|
7f3543e802 | ||
|
|
017e68b79c | ||
|
|
1e968d6ab1 | ||
|
|
20e9b8e94f | ||
|
|
e71ae2e532 | ||
|
|
45ade381de | ||
|
|
30c18fd1ea | ||
|
|
65d16da98b | ||
|
|
1e6a090810 | ||
|
|
f402dd9692 | ||
|
|
f83bf524a8 | ||
|
|
ad2c8fc08e | ||
|
|
492cf00064 | ||
|
|
e29cfabfe9 | ||
|
|
0b59dd9e2a | ||
|
|
ee17b00288 | ||
|
|
728db354f9 | ||
|
|
1df99748ef | ||
|
|
452b23cc39 | ||
|
|
773a8d6a63 | ||
|
|
a2f836bb66 | ||
|
|
1aacc2b45f | ||
|
|
9562e70450 | ||
|
|
7fece371ad | ||
|
|
94a6c44012 | ||
|
|
b4775d52ed | ||
|
|
37427304fd | ||
|
|
47edebde38 | ||
|
|
1ce514972b | ||
|
|
6b36468d19 | ||
|
|
35e9301a6d | ||
|
|
d933e88f64 | ||
|
|
7549a547de | ||
|
|
51e02f9591 | ||
|
|
2d6184ccfc | ||
|
|
4752d2741e | ||
|
|
ae947a5ca4 | ||
|
|
6ab0506c9a | ||
|
|
0faa786b2e | ||
|
|
824be9278c | ||
|
|
aa00ad74b2 | ||
|
|
c1e2b2dee5 | ||
|
|
229ff7c38b | ||
|
|
e78b0fb447 | ||
|
|
956cfa5d7b | ||
|
|
70abde93de | ||
|
|
69b368e111 | ||
|
|
3019c540a1 | ||
|
|
eef9e38065 | ||
|
|
422d432712 | ||
|
|
74e117191e | ||
|
|
7e6162815f | ||
|
|
984d0fe93c | ||
|
|
4bb1071e1a | ||
|
|
2769d9389a | ||
|
|
6417c93517 | ||
|
|
4f0b0b9116 | ||
|
|
39745e49e7 | ||
|
|
cfb25da11f | ||
|
|
b57414a759 | ||
|
|
e884640785 | ||
|
|
351905fc48 | ||
|
|
648d3f5292 | ||
|
|
845a6b2f68 | ||
|
|
ebe6c2bca7 | ||
|
|
769430b8f0 | ||
|
|
393c9b4072 | ||
|
|
ab3d19d29e | ||
|
|
e94220a906 | ||
|
|
c568af347c | ||
|
|
5c1b4ba796 | ||
|
|
e13ad5ff26 | ||
|
|
5166231481 | ||
|
|
25300cc0e9 | ||
|
|
b637679083 | ||
|
|
c928224b55 | ||
|
|
83378f60c3 | ||
|
|
237b26ae79 | ||
|
|
e393a6db27 | ||
|
|
df45b5543b | ||
|
|
9f86064b81 | ||
|
|
73da2a1d14 | ||
|
|
26683f5c61 | ||
|
|
56572a09ef | ||
|
|
7b58b8c328 | ||
|
|
30b66dcd27 | ||
|
|
26e0dab381 | ||
|
|
93bb169c6c | ||
|
|
4e03fb3894 | ||
|
|
4d9d895b57 | ||
|
|
9fae39b45f | ||
|
|
e2cce3957e | ||
|
|
6bdde0e59a | ||
|
|
1e5a2583df | ||
|
|
b5c3d07ab3 | ||
|
|
705d942124 | ||
|
|
40a68482fe | ||
|
|
4d27d9c0a9 | ||
|
|
955cf86f05 | ||
|
|
b1dd34e18c | ||
|
|
2ea5eaca4c | ||
|
|
a92e749c9f | ||
|
|
8a988a9e84 | ||
|
|
8d1864d0cf | ||
|
|
4015763df6 | ||
|
|
f720c186c3 | ||
|
|
75949fb5ca | ||
|
|
033bc352f4 | ||
|
|
9e8c3f2192 | ||
|
|
39cb69737c | ||
|
|
106d02f4ee | ||
|
|
6fbfd0c6ce | ||
|
|
962f9413bf | ||
|
|
092704a1e1 | ||
|
|
69f0edec74 | ||
|
|
ae7247b008 | ||
|
|
08706b4813 | ||
|
|
a9b587b1cd | ||
|
|
5b806394b6 | ||
|
|
5170f029b2 | ||
|
|
999ec8202e | ||
|
|
658371336e | ||
|
|
447c2f9d52 | ||
|
|
c7dafff817 | ||
|
|
d238c8a7fb | ||
|
|
88b49880e1 | ||
|
|
6cf396f0d4 | ||
|
|
ac9aedecec | ||
|
|
b535fe2926 | ||
|
|
c8fba79f9f | ||
|
|
8f941939e2 | ||
|
|
75d3236fa7 | ||
|
|
6a3903afbe | ||
|
|
aeb9ea9871 | ||
|
|
7712e694b1 | ||
|
|
04ff966d63 | ||
|
|
a99032ccf4 | ||
|
|
953b5c637e | ||
|
|
2f4aef8fb2 | ||
|
|
53cfb1196d | ||
|
|
c7555938a5 | ||
|
|
cf1e7013f4 | ||
|
|
8258843ae1 | ||
|
|
67baae4441 | ||
|
|
a5509797bc | ||
|
|
3ff2d58a25 | ||
|
|
e7e02837e6 | ||
|
|
eaed9886cf | ||
|
|
cb9c6fc8f6 | ||
|
|
b4136568e5 | ||
|
|
8bb465f1e7 | ||
|
|
5511c063d6 | ||
|
|
0e1f66e0e3 | ||
|
|
2c71d2b57e | ||
|
|
a61c4b932c | ||
|
|
8b9d6b2f22 | ||
|
|
87f03c7c17 | ||
|
|
6ca77290ec | ||
|
|
d2a323a970 | ||
|
|
a6ef30cbbd | ||
|
|
184eaef74f | ||
|
|
27d49da7ea | ||
|
|
2ffcb50397 | ||
|
|
55d038e801 | ||
|
|
47066401d0 | ||
|
|
3eb7aa3809 | ||
|
|
1cb345c99f | ||
|
|
870b04a390 | ||
|
|
ec14112d82 | ||
|
|
b20373d59b | ||
|
|
9745b34290 | ||
|
|
b589077669 | ||
|
|
56d0517a47 | ||
|
|
ebaf8c6ccf | ||
|
|
029c54dc2b | ||
|
|
4ab8d0cb35 | ||
|
|
ab0abea781 | ||
|
|
fadbd7629d | ||
|
|
cf2267e196 | ||
|
|
77c4819e98 | ||
|
|
76d58fbbc8 | ||
|
|
7ec2ffc6af | ||
|
|
c848d4fd3b | ||
|
|
e3d43e754d | ||
|
|
bcb55a0e4c | ||
|
|
a9fbec2934 | ||
|
|
140e923982 | ||
|
|
680cf56746 | ||
|
|
7162aa65f4 | ||
|
|
a6e16a4e71 | ||
|
|
93b143a647 | ||
|
|
78aa439660 | ||
|
|
a3fd1a0ac6 | ||
|
|
302b253e9a | ||
|
|
7469b5dd96 | ||
|
|
e4ce10f180 | ||
|
|
2ecff7c12f | ||
|
|
5849a4a93f | ||
|
|
999a2ee86e | ||
|
|
eac4e49ceb | ||
|
|
5c9c34f1d2 | ||
|
|
0302a62af5 | ||
|
|
11774de541 | ||
|
|
90382c5889 | ||
|
|
ce841a3c4f | ||
|
|
d5ee0ef158 | ||
|
|
d06a4b155d | ||
|
|
3ddb48b647 | ||
|
|
957484588e | ||
|
|
cf22541dd5 | ||
|
|
61338bbb0c | ||
|
|
890b8df374 | ||
|
|
981ecb91c9 | ||
|
|
39921730b3 | ||
|
|
641ebef687 | ||
|
|
788ebbcdab | ||
|
|
ce35d6448e | ||
|
|
a1bc147849 |
No files matched your search
@@ -1,6 +1,4 @@
|
||||
# built application files
|
||||
*.apk
|
||||
*.ap_
|
||||
|
||||
# files for the dex VM
|
||||
*.dex
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
Nextcloud Android client application
|
||||
|
||||
Copyright (C) 2012 Bartek Przybylski
|
||||
Copyright (C) 2012-2016 ownCloud Inc.
|
||||
@@ -20,12 +20,12 @@
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.owncloud.android"
|
||||
android:versionCode="10030199"
|
||||
android:versionName="1.3.1">
|
||||
android:versionCode="20161027"
|
||||
android:versionName="20161027" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="14"
|
||||
android:targetSdkVersion="23" />
|
||||
android:targetSdkVersion="24" />
|
||||
|
||||
<!-- GET_ACCOUNTS is needed for API < 23.
|
||||
For API >= 23 results in the addition of CONTACTS group to the list of permissions that may be
|
||||
@@ -44,6 +44,7 @@
|
||||
<!-- WRITE_EXTERNAL_STORAGE may be enabled or disabled by the user after installation in
|
||||
API >= 23; the app needs to handle this -->
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
|
||||
|
||||
<!-- Next permissions are always approved in installation time,
|
||||
the apps needs to do nothing special in runtime -->
|
||||
@@ -56,15 +57,18 @@
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
|
||||
<application
|
||||
android:name=".MainApp"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:label="Nextcloud beta"
|
||||
android:theme="@style/Theme.ownCloud.Toolbar"
|
||||
android:manageSpaceActivity="com.owncloud.android.ui.activity.ManageSpaceActivity">
|
||||
<activity
|
||||
android:name=".ui.activity.FileDisplayActivity"
|
||||
android:label="@string/app_name"
|
||||
android:label="Nextcloud beta"
|
||||
android:theme="@style/Theme.ownCloud.Toolbar.Drawer">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
@@ -80,7 +84,10 @@
|
||||
|
||||
android:taskAffinity=""
|
||||
android:excludeFromRecents="true"
|
||||
android:label="Nextcloud beta"
|
||||
android:theme="@style/Theme.ownCloud.NoActionBar">
|
||||
<activity android:name=".ui.activity.LocalDirectorySelectorActivity" />
|
||||
<activity android:name=".ui.activity.StorageMigrationActivity" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SEND" />
|
||||
|
||||
@@ -105,7 +112,7 @@
|
||||
android:theme="@style/Theme.ownCloud.Overlay" />
|
||||
<activity
|
||||
android:name=".ui.preview.PreviewVideoActivity"
|
||||
android:label="@string/app_name"
|
||||
android:label="Nextcloud beta"
|
||||
android:theme="@style/Theme.ownCloud.Fullscreen" />
|
||||
|
||||
<service
|
||||
@@ -145,8 +152,8 @@
|
||||
android:syncable="true" />
|
||||
|
||||
<provider
|
||||
android:name=".providers.UsersAndGroupsSearchProvider"
|
||||
android:authorities="com.nextcloud.android.providers.UsersAndGroupsSearchProvider"
|
||||
android:name="org.nextcloud.providers.UsersAndGroupsSearchProvider"
|
||||
android:authorities="org.nextcloud.beta.android.providers.UsersAndGroupsSearchProvider"
|
||||
android:enabled="true"
|
||||
android:exported="false"
|
||||
android:label="@string/search_users_and_groups_hint" />
|
||||
@@ -163,6 +170,23 @@
|
||||
</intent-filter>
|
||||
</provider>
|
||||
|
||||
<!-- new provider used to generate URIs without file:// scheme (forbidden from Android 7) -->
|
||||
<provider
|
||||
android:name="android.support.v4.content.FileProvider"
|
||||
android:authorities="@string/file_provider_authority"
|
||||
android:grantUriPermissions="true"
|
||||
android:exported="false">
|
||||
<meta-data
|
||||
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||
android:resource="@xml/exposed_filepaths" />
|
||||
</provider>
|
||||
|
||||
<provider
|
||||
android:name=".ui.adapter.DiskLruImageCacheFileProvider"
|
||||
android:authorities="@string/authorityCache"
|
||||
android:exported="true">
|
||||
</provider>
|
||||
|
||||
<activity
|
||||
android:name=".authentication.AuthenticatorActivity"
|
||||
android:exported="true"
|
||||
@@ -198,11 +222,13 @@
|
||||
<activity android:name=".ui.activity.ConflictsResolveActivity"/>
|
||||
<activity android:name=".ui.activity.GenericExplanationActivity"/>
|
||||
<activity android:name=".ui.activity.ErrorsWhileCopyingHandlerActivity"/>
|
||||
|
||||
|
||||
<activity android:name=".ui.activity.LogHistoryActivity"/>
|
||||
<activity android:name=".ui.activity.ErrorReportActivity"/>
|
||||
|
||||
<activity android:name=".ui.errorhandling.ErrorShowActivity" />
|
||||
<activity android:name=".ui.activity.UploadListActivity" />
|
||||
<activity android:name=".ui.activity.WhatsNewActivity" />
|
||||
|
||||
<receiver android:name=".files.services.ConnectivityActionReceiver"
|
||||
android:enabled="true" android:label="ConnectivityActionReceiver">
|
||||
@@ -240,16 +266,16 @@
|
||||
<activity
|
||||
android:name=".ui.activity.CopyToClipboardActivity"
|
||||
android:icon="@drawable/copy_link"
|
||||
android:label="@string/copy_link" />
|
||||
android:label="Copy link" />
|
||||
<activity
|
||||
android:name=".ui.activity.FolderPickerActivity"
|
||||
android:label="@string/app_name" />
|
||||
android:label="Nextcloud beta" />
|
||||
<activity
|
||||
android:name=".ui.activity.UploadPathActivity"
|
||||
android:label="@string/app_name" />
|
||||
android:label="Nextcloud beta" />
|
||||
<activity
|
||||
android:name=".ui.activity.ShareActivity"
|
||||
android:label="@string/share_dialog_title"
|
||||
android:label="Sharing"
|
||||
android:theme="@style/Theme.ownCloud.Dialog.NoTitle"
|
||||
android:launchMode="singleTop"
|
||||
android:windowSoftInputMode="adjustResize" >
|
||||
@@ -260,7 +286,7 @@
|
||||
android:resource="@xml/users_and_groups_searchable"/>
|
||||
</activity>
|
||||
<activity android:name=".ui.activity.ManageSpaceActivity"
|
||||
android:label="@string/manage_space_title"
|
||||
android:label="Manage space"
|
||||
android:theme="@style/Theme.ownCloud" />
|
||||
</application>
|
||||
|
||||
|
||||
@@ -1,54 +1,89 @@
|
||||
## 1.3.1 (September 20, 2016)
|
||||
## 2016-10-26
|
||||
- New Instant Upload (Android 5+) #358
|
||||
|
||||
- Move action hard to discover - difference between single/multi selection
|
||||
- Show move/copy context in toolbar title
|
||||
- Share file with dictadroid to Nextcloud
|
||||
- Don't show upload failure notification for already deleted files
|
||||
## 2016-10-19
|
||||
- Fix user info route (https://github.com/nextcloud/android-library/pull/21)
|
||||
- Begin debug logs when build type is debug #335
|
||||
- Account switcher optimizations #326
|
||||
- Fix TimSort #339
|
||||
- add preference to show hidden files #328
|
||||
- tune grid view of images #316
|
||||
- add grid view option when choosing a file from within the app #301
|
||||
|
||||
## 1.3.0 (September 17, 2016)
|
||||
## 2016-10-06
|
||||
- put cursor close in finally block to make sure no resource leak occurrs #306
|
||||
- change wordings for davdroid integration #293
|
||||
- added logging to gain information about upload issues
|
||||
- Sorts favourite files first in list #302
|
||||
- Add open URL file feature #298
|
||||
- fix remove failed #241
|
||||
- Crash when sending non-existing log #284
|
||||
- Fix NPE in ExpandableUploadListAdapter...setText #290
|
||||
- change wordings for davdroid integration #293
|
||||
- Fix NullPointerException in PreviewMediaFragment. #295
|
||||
|
||||
- Files drop permission in share viewe
|
||||
- Display quota if configured/available in navigation drawer
|
||||
- Resume chunked uploads instead of complete restarts
|
||||
- Filter remote and local file lists
|
||||
- Simple integration with DAVdroid for calender and contacts sync
|
||||
- Mix folders and files on sort by date
|
||||
- Upload when charging option
|
||||
- Revamp upload options Move/Copy/Just-Upload
|
||||
- Text can be selected and shared to Nextcloud
|
||||
- Respect metered wifi and block instant uploads
|
||||
- Proper handling of .djvu files
|
||||
- Bugfixes and design improvements
|
||||
## 2016-09-26
|
||||
- update fix crash in dismissLoadingDialog #279
|
||||
- fix crash when sending non-existing log #284
|
||||
|
||||
## 1.2.0 (July 29, 2016)
|
||||
## 2016-09-22
|
||||
- update to latest 1.3.1 functionality
|
||||
- updated What's new #84
|
||||
- fix crash in dismissLoadingDialog #279
|
||||
- Provisioning Links to launch and prefill app with login data #248
|
||||
- fix remove failed #241
|
||||
|
||||
- Multi select capabilities
|
||||
- Confirmation dialog on account removal
|
||||
- Offline available filter in main menu
|
||||
- Sorting capability when choosing files to be uploaded
|
||||
- Video thumbnails if activated on server
|
||||
- Thumbnails during upload
|
||||
- Fixed user agent for file firewalling
|
||||
- Showing server side folder sizes
|
||||
- Text in test preview can now be selected
|
||||
- Search suggestions fixed for user/group search during sharing
|
||||
- Minor bugfixes
|
||||
## 2016-09-18
|
||||
- update to latest 1.3.0 functionality
|
||||
- change caption for move and copy action #265
|
||||
|
||||
## 1.1.0 (July 6, 2016)
|
||||
## 2016-09-15
|
||||
- update to latest 1.3.0 RC2 functionality
|
||||
- What's new #84
|
||||
|
||||
- New main menu to switch accounts easily
|
||||
- Ability to open Nextcloud hosted files (read-only) from other apps that support the standard file chooser (requires Android 4.4 / KitKat or higher)
|
||||
- "Select all files" for upload within a folder
|
||||
- Optional feature to auto-create monthly folders for your instant uploads
|
||||
- Revamped login screen
|
||||
- Minor bugfixes
|
||||
## 2016-09-07
|
||||
- update Motivate more users #239
|
||||
- DAVdroid login screen prefilled launch #236
|
||||
|
||||
## 1.0.1 (June 20, 2016)
|
||||
## 2016-09-04
|
||||
- descend into folder after creating it in uploader #206
|
||||
- Motivate more users #239
|
||||
|
||||
- Fix thumbnail preview support for new files
|
||||
- Add support for animated GIFs
|
||||
- Optimized uploader layout
|
||||
## 2016-09-03
|
||||
- Display quota if configured/available in navigation drawer #204
|
||||
- bugfix for empty folder display #229
|
||||
- Update Toolchain/Android-Target to v24 #214
|
||||
- Restore display of remote folder size #235
|
||||
|
||||
## 1.0.0 (June 12, 2016)
|
||||
## 2016-08-08
|
||||
- update all PR
|
||||
- search for the right ocShare with public link #197
|
||||
- Fix comparator determining order of list of uploads #199
|
||||
- generate thumbnails only if mCurrentUpload is not null #205
|
||||
|
||||
- initial release of the Nextcloud Android app
|
||||
## 2016-07-31
|
||||
- External SD support #92
|
||||
- move / copy updated #178
|
||||
- prevents NPE when selecting empty local folder #180
|
||||
|
||||
## 2016-07-30
|
||||
- Upload when charging #171
|
||||
|
||||
## 2016-07-28
|
||||
Fresh start on current master with these PRs:
|
||||
- Resized images #69
|
||||
- Instant upload in the context of multi account support #98
|
||||
- mix folders and files on sort by date #135
|
||||
- Files drop #141
|
||||
- Receive text file #142
|
||||
- Pinch zoom #143
|
||||
- Resize cache #144
|
||||
- filter for oc file list and local file list #152
|
||||
- djvu is not an image #153
|
||||
- delay instant upload when metered wifi is used #161
|
||||
- rename instant upload path #162
|
||||
- Refresh when app starts #166
|
||||
- Disable suggestions in password field #167
|
||||
- resume chunked uploads #168
|
||||
|
||||
From now on every new PR with "3. to review" will be merged to beta and published
|
||||
@@ -16,8 +16,8 @@ The [Android SDK][3] is necessary to build the app. There are different options
|
||||
Open a terminal and type 'android' to start the Android SDK Manager. To build the Nextcloud for Android app you will need to install at least the next SDK packages:
|
||||
|
||||
* Android SDK Tools and Android SDK Platform-tools (already installed); upgrade to their last versions is usually a good idea.
|
||||
* Android SDK Build-Tools; any version from 23 or later should work fine; avoid preview versions, if any available.
|
||||
* Android 6.0 (API 23), SDK Platform; needed to build the nextcloud app.
|
||||
* Android SDK Build-Tools 24.0.2.
|
||||
* Android 7.0 (API 24), SDK Platform; needed to build the nextcloud app.
|
||||
|
||||
Install any other package you consider interesting, such as emulators.
|
||||
|
||||
|
||||
@@ -18,10 +18,6 @@
|
||||
|
||||
package com.owncloud.android.uiautomator;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
@@ -36,6 +32,9 @@ import android.support.test.uiautomator.UiObjectNotFoundException;
|
||||
import android.support.test.uiautomator.UiSelector;
|
||||
import android.support.test.uiautomator.Until;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.hamcrest.CoreMatchers.notNullValue;
|
||||
import static org.junit.Assert.assertThat;
|
||||
@@ -59,7 +58,6 @@ public class InitialTest {
|
||||
public void initializeDevice() {
|
||||
// Initialize UiDevice instance
|
||||
mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -114,7 +112,6 @@ public class InitialTest {
|
||||
context.startActivity(intent);
|
||||
|
||||
clickByText(SETTINGS_DATA_USAGE_OPTION);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -134,24 +131,26 @@ public class InitialTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper to click on objects that match the content-description text
|
||||
* Helper to click on objects that match the content-description text.
|
||||
*
|
||||
* @param text
|
||||
* @param description the description
|
||||
* @throws UiObjectNotFoundException
|
||||
*/
|
||||
private void clickByDescription(String text) throws UiObjectNotFoundException {
|
||||
UiObject obj = new UiObject(new UiSelector().description(text));
|
||||
private void clickByDescription(String description) throws UiObjectNotFoundException {
|
||||
UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
|
||||
UiObject obj = device.findObject(new UiSelector().description(description));
|
||||
obj.clickAndWaitForNewWindow();
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper to click on object that match the text value
|
||||
* Helper to click on object that match the text value.
|
||||
*
|
||||
* @param text
|
||||
* @param text the text
|
||||
* @throws UiObjectNotFoundException
|
||||
*/
|
||||
private void clickByText(String text) throws UiObjectNotFoundException {
|
||||
UiObject obj = new UiObject(new UiSelector().text(text));
|
||||
UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
|
||||
UiObject obj = device.findObject(new UiSelector().text(text));
|
||||
obj.clickAndWaitForNewWindow();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
20161027
|
||||
@@ -20,7 +20,12 @@ apply plugin: 'pmd'
|
||||
apply plugin: 'findbugs'
|
||||
|
||||
ext {
|
||||
supportLibraryVersion = '23.4.0'
|
||||
supportLibraryVersion = '24.2.1'
|
||||
|
||||
travisBuild = System.getenv("TRAVIS") == "true"
|
||||
|
||||
// allows for -Dpre-dex=false to be set
|
||||
preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -36,14 +41,14 @@ dependencies {
|
||||
/// dependencies for app building
|
||||
compile name: 'touch-image-view'
|
||||
|
||||
compile 'com.github.nextcloud:android-library:1.0.7'
|
||||
compile 'com.github.nextcloud:android-library:beta-SNAPSHOT'
|
||||
compile "com.android.support:support-v4:${supportLibraryVersion}"
|
||||
compile "com.android.support:design:${supportLibraryVersion}"
|
||||
compile 'com.jakewharton:disklrucache:2.0.2'
|
||||
compile "com.android.support:appcompat-v7:${supportLibraryVersion}"
|
||||
compile "com.android.support:cardview-v7:${supportLibraryVersion}"
|
||||
compile 'com.getbase:floatingactionbutton:1.10.1'
|
||||
|
||||
|
||||
/// dependencies for local unit tests
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile 'org.mockito:mockito-core:1.10.19'
|
||||
@@ -62,7 +67,10 @@ dependencies {
|
||||
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
|
||||
|
||||
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
|
||||
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1'
|
||||
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
|
||||
|
||||
// fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
|
||||
androidTestCompile "com.android.support:support-annotations:${supportLibraryVersion}"
|
||||
|
||||
}
|
||||
|
||||
@@ -80,8 +88,8 @@ android {
|
||||
htmlReport true
|
||||
htmlOutput file("$project.buildDir/reports/lint/lint.html")
|
||||
}
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "23.0.3"
|
||||
compileSdkVersion 24
|
||||
buildToolsVersion "24.0.2"
|
||||
|
||||
defaultConfig {
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
@@ -91,7 +99,14 @@ android {
|
||||
testInstrumentationRunnerArgument "TEST_PASSWORD", "\"$System.env.OCTEST_APP_PASSWORD\""
|
||||
testInstrumentationRunnerArgument "TEST_SERVER_URL", "\"$System.env.OCTEST_SERVER_BASE_URL\""
|
||||
|
||||
applicationId "com.nextcloud.client"
|
||||
applicationId "com.nextcloud.android.beta"
|
||||
versionCode 20161027
|
||||
versionName "20161027"
|
||||
|
||||
// disable the experimental Jack build tools.
|
||||
jackOptions {
|
||||
enabled false
|
||||
}
|
||||
}
|
||||
|
||||
// adapt structure from Eclipse to Gradle/Android Studio expectations;
|
||||
@@ -107,12 +122,14 @@ android {
|
||||
assets.srcDirs = ['assets']
|
||||
}
|
||||
|
||||
|
||||
// move whole local unit tests structure as a whole from src/test/* to test/*
|
||||
test.setRoot('test')
|
||||
|
||||
// move whole instrumented tests structure as a whole from src/androidTest/* to androidTest/*
|
||||
androidTest.setRoot('androidTest')
|
||||
|
||||
|
||||
// Move the build types to build-types/<type>
|
||||
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
|
||||
// This moves them out of them default location under src/<type>/... which would
|
||||
@@ -123,9 +140,15 @@ android {
|
||||
release.setRoot('build-types/release')
|
||||
}
|
||||
|
||||
dexOptions {
|
||||
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
|
||||
preDexLibraries = preDexEnabled && !travisBuild
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_7
|
||||
targetCompatibility JavaVersion.VERSION_1_7
|
||||
incremental false
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
@@ -135,6 +158,9 @@ android {
|
||||
packagingOptions {
|
||||
exclude 'META-INF/LICENSE.txt'
|
||||
}
|
||||
signingConfigs {
|
||||
release
|
||||
}
|
||||
|
||||
task checkstyle(type: Checkstyle) {
|
||||
configFile = file("${rootProject.projectDir}/checkstyle.xml")
|
||||
@@ -187,4 +213,17 @@ android {
|
||||
}
|
||||
check.dependsOn 'checkstyle', 'findbugs', 'pmd', 'lint'
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (project.hasProperty('RELEASE_STORE_FILE')) {
|
||||
android.signingConfigs.release.storeFile = file(RELEASE_STORE_FILE)
|
||||
android.signingConfigs.release.storePassword = RELEASE_STORE_PASSWORD
|
||||
android.signingConfigs.release.keyAlias = RELEASE_KEY_ALIAS
|
||||
android.signingConfigs.release.keyPassword = RELEASE_KEY_PASSWORD
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#Tue Aug 16 10:44:46 CEST 2016
|
||||
#Sat Sep 03 07:48:32 CEST 2016
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<!-- drawable/arrow_right.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="#007CC2" android:pathData="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z" />
|
||||
</vector>
|
||||
|
After Width: | Height: | Size: 347 B |
|
After Width: | Height: | Size: 573 B |
|
After Width: | Height: | Size: 188 B |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 266 B |
|
After Width: | Height: | Size: 361 B |
|
After Width: | Height: | Size: 199 B |
|
After Width: | Height: | Size: 357 B |
|
After Width: | Height: | Size: 684 B |
|
After Width: | Height: | Size: 199 B |
|
After Width: | Height: | Size: 497 B |
|
After Width: | Height: | Size: 997 B |
|
After Width: | Height: | Size: 255 B |
|
After Width: | Height: | Size: 608 B |
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
|
||||
Copyright (C) 2015-2016 Bartosz Przybylski
|
||||
Copyright (C) 2015 ownCloud Inc.
|
||||
Copyright (C) 2016 nextCloud
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:bottom="5dp" android:top="5dp" android:right="5dp" android:left="5dp">
|
||||
|
||||
<shape
|
||||
android:shape="oval">
|
||||
<solid android:color="@color/owncloud_blue_dark_transparent"/>
|
||||
<size android:width="8dp" android:height="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
|
||||
Copyright (C) 2015-2016 Bartosz Przybylski
|
||||
Copyright (C) 2015 ownCloud Inc.
|
||||
Copyright (C) 2016 nextCloud
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:bottom="5dp" android:top="5dp" android:right="5dp" android:left="5dp">
|
||||
<shape
|
||||
android:shape="oval">
|
||||
<solid android:color="@color/owncloud_blue_accent"/>
|
||||
<size android:width="8dp" android:height="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<solid android:color="#ffffff"/>
|
||||
</shape>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<solid android:color="@color/owncloud_blue_accent"/>
|
||||
</shape>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
|
||||
Copyright (C) 2015 Bartosz Przybylski
|
||||
Copyright (C) 2015 ownCloud Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<transition xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/indicator_dot_not_selected" />
|
||||
<item android:drawable="@drawable/indicator_dot_selected" />
|
||||
</transition>
|
||||
@@ -1,21 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
Nextcloud Android client application
|
||||
|
||||
Copyright (C) 2016 ownCloud Inc.
|
||||
Copyright (C) 2016 Andy Scherzinger
|
||||
Copyright (C) 2016 Nextcloud
|
||||
Copyright (C) 2016 ownCloud
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2,
|
||||
as published by the Free Software Foundation.
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
License as published by the Free Software Foundation; either
|
||||
version 3 of the License, or 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 General Public License for more details.
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
You should have received a copy of the GNU Affero General Public
|
||||
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
|
||||
@@ -1,70 +1,127 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
Nextcloud Android client application
|
||||
|
||||
Copyright (C) 2016 ownCloud Inc.
|
||||
Copyright (C) 2016 Andy Scherzinger
|
||||
Copyright (C) 2016 Nextcloud
|
||||
Copyright (C) 2016 ownCloud
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2,
|
||||
as published by the Free Software Foundation.
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
License as published by the Free Software Foundation; either
|
||||
version 3 of the License, or 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 General Public License for more details.
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
You should have received a copy of the GNU Affero General Public
|
||||
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<LinearLayout
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="@dimen/account_item_layout_height"
|
||||
android:orientation="horizontal"
|
||||
android:weightSum="1">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/avatar_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/user_icon"
|
||||
android:layout_width="@dimen/user_icon_size"
|
||||
android:layout_height="@dimen/user_icon_size"
|
||||
android:layout_gravity="top|left"
|
||||
android:layout_marginBottom="1dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="1dp"
|
||||
android:layout_marginTop="1dp"
|
||||
android:src="@drawable/ic_menu_archive"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ticker"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|right"
|
||||
android:background="@drawable/round_bgnd"
|
||||
android:src="@drawable/ic_account_circle_white_18dp"
|
||||
android:tint="@color/actionbar_start_color"/>
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_toEndOf="@id/avatar_container"
|
||||
android:layout_toLeftOf="@+id/passwordButton"
|
||||
android:layout_toRightOf="@id/avatar_container"
|
||||
android:layout_toStartOf="@id/passwordButton"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/standard_half_margin"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin"
|
||||
android:layout_marginRight="@dimen/standard_half_margin"
|
||||
android:layout_marginStart="@dimen/standard_margin"
|
||||
android:layout_marginTop="4dp"
|
||||
android:ellipsize="end"
|
||||
android:gravity="bottom"
|
||||
android:maxLines="1"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textAppearance="?android:attr/textAppearanceListItem"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/account"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginEnd="@dimen/standard_half_margin"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin"
|
||||
android:layout_marginRight="@dimen/standard_half_margin"
|
||||
android:layout_marginStart="@dimen/standard_margin"
|
||||
android:ellipsize="end"
|
||||
android:gravity="top"
|
||||
android:maxLines="2"
|
||||
android:text="@string/placeholder_sentence"
|
||||
android:textColor="?android:attr/textColorSecondary"/>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/user_icon"
|
||||
android:layout_width="@dimen/user_icon_size"
|
||||
android:layout_height="@dimen/user_icon_size"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="@dimen/standard_margin"
|
||||
android:src="@drawable/ic_menu_archive"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name"
|
||||
android:layout_width="@dimen/zero"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="@dimen/standard_margin"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="@dimen/standard_padding"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/two_line_primary_text_size"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/passwordButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/standard_half_padding"
|
||||
android:paddingTop="@dimen/standard_padding"
|
||||
android:layout_toLeftOf="@+id/removeButton"
|
||||
android:layout_toStartOf="@id/removeButton"
|
||||
android:paddingBottom="@dimen/standard_padding"
|
||||
android:paddingLeft="@dimen/standard_half_padding"
|
||||
android:paddingRight="@dimen/standard_half_padding"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:paddingTop="@dimen/standard_padding"
|
||||
android:src="@drawable/ic_key"/>
|
||||
|
||||
<ImageButton
|
||||
<ImageView
|
||||
android:id="@+id/removeButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:paddingLeft="@dimen/standard_half_padding"
|
||||
android:paddingTop="@dimen/standard_padding"
|
||||
android:paddingBottom="@dimen/standard_padding"
|
||||
android:paddingLeft="@dimen/standard_half_padding"
|
||||
android:paddingRight="@dimen/standard_padding"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:paddingTop="@dimen/standard_padding"
|
||||
android:src="@drawable/ic_action_delete_grey"/>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
@@ -1,21 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
<!--
|
||||
Nextcloud Android client application
|
||||
|
||||
Copyright (C) 2016 ownCloud Inc.
|
||||
Copyright (C) 2016 Andy Scherzinger
|
||||
Copyright (C) 2016 Nextcloud
|
||||
Copyright (C) 2016 ownCloud
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2,
|
||||
as published by the Free Software Foundation.
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
License as published by the Free Software Foundation; either
|
||||
version 3 of the License, or 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 General Public License for more details.
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
You should have received a copy of the GNU Affero General Public
|
||||
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<LinearLayout
|
||||
android:id="@+id/upload_files_layout"
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:singleLine="false"
|
||||
android:layout_margin="@dimen/standard_margin"
|
||||
style="?android:attr/editTextPreferenceStyle"
|
||||
android:text="@string/manage_space_description"
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
<!--
|
||||
Nextcloud Android client application
|
||||
|
||||
Copyright (C) 2016 Andy Scherzinger
|
||||
Copyright (C) 2016 Nextcloud.
|
||||
Copyright (C) 2015 Andy Scherzinger
|
||||
Copyright (C) 2016 Nextcloud
|
||||
Copyright (C) 2015 ownCloud
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
@@ -12,12 +13,12 @@
|
||||
|
||||
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
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
<!--
|
||||
Nextcloud Android client application
|
||||
|
||||
Copyright (C) 2016 Andy Scherzinger
|
||||
Copyright (C) 2016 Nextcloud.
|
||||
Copyright (C) 2015 Andy Scherzinger
|
||||
Copyright (C) 2016 Nextcloud
|
||||
Copyright (C) 2015 ownCloud
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
@@ -12,12 +13,12 @@
|
||||
|
||||
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
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/nav_drawer_header_height"
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
|
||||
Copyright (C) 2015 ownCloud Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2,
|
||||
as published by the Free Software Foundation.
|
||||
|
||||
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 General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:weightSum="1" >
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginBottom="@dimen/standard_margin"
|
||||
android:layout_weight="1">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/standard_padding"
|
||||
android:paddingRight="@dimen/standard_padding">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/logTV"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/empty"
|
||||
android:typeface="monospace"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/historyButtonBar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginBottom="@dimen/standard_margin"
|
||||
android:layout_marginLeft="@dimen/standard_margin"
|
||||
android:layout_marginRight="@dimen/standard_margin">
|
||||
|
||||
<Button
|
||||
android:id="@+id/cancelErrorLogButton"
|
||||
android:theme="@style/Button"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/error_log_exit" />
|
||||
|
||||
<android.support.v7.widget.AppCompatButton
|
||||
android:id="@+id/sendErrorLogButton"
|
||||
android:theme="@style/Button.Primary"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/error_log_send" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_margin="@dimen/standard_margin"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/file_actions_header"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/standard_padding"
|
||||
android:textColor="@color/black"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
|
||||
<View
|
||||
android:id="@+id/file_actions_header_divider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/file_actions_view_height"
|
||||
android:background="@color/owncloud_blue"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/file_actions_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/zero"
|
||||
android:layout_weight="1"
|
||||
/>
|
||||
|
||||
</LinearLayout >
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/thumbnail"
|
||||
android:layout_width="@dimen/file_icon_size"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="@dimen/file_icon_size"
|
||||
android:layout_gravity="left|center_vertical"
|
||||
android:src="@drawable/ic_menu_archive" />
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Nextcloud Android client application
|
||||
|
||||
Copyright (C) 2016 Bartosz Przybylski
|
||||
Copyright (C) 2016 Nextcloud
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
License as published by the Free Software Foundation; either
|
||||
version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/migrationProgress"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:paddingLeft="30dp"
|
||||
android:paddingRight="30dp"
|
||||
android:progress="50"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/migrationText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text=""
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/finishButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="@string/drawer_close"/>
|
||||
</LinearLayout>
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
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
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<android.support.v4.widget.DrawerLayout android:id="@+id/drawer_layout"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
|
||||
@@ -1,20 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
Nextcloud Android client application
|
||||
|
||||
Copyright (C) 2016 ownCloud Inc.
|
||||
Copyright (C) 2016 Andy Scherzinger
|
||||
Copyright (C) 2016 Nextcloud
|
||||
Copyright (C) 2016 ownCloud
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2,
|
||||
as published by the Free Software Foundation.
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
License as published by the Free Software Foundation; either
|
||||
version 3 of the License, or 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 General Public License for more details.
|
||||
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
You should have received a copy of the GNU Affero General Public
|
||||
License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:id="@+id/appbar"
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:weightSum="100">
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:text="@string/placeholder_sentence"
|
||||
android:id="@+id/welcomeText"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_weight="10"
|
||||
android:gravity="center"/>
|
||||
|
||||
<android.support.v4.view.ViewPager
|
||||
android:id="@+id/contentPanel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="80">
|
||||
</android.support.v4.view.ViewPager>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="10"
|
||||
android:weightSum="3"
|
||||
android:layout_marginBottom="@dimen/standard_margin"
|
||||
android:layout_marginLeft="@dimen/standard_margin"
|
||||
android:layout_marginRight="@dimen/standard_margin">
|
||||
|
||||
<android.support.v7.widget.AppCompatButton
|
||||
android:id="@+id/skip"
|
||||
style="@style/Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/whats_new_skip"
|
||||
android:layout_gravity="center_vertical|center_horizontal"/>
|
||||
|
||||
<com.owncloud.android.ui.whatsnew.ProgressIndicator
|
||||
android:id="@+id/progressIndicator"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center_vertical|center_horizontal">
|
||||
</com.owncloud.android.ui.whatsnew.ProgressIndicator>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="center">
|
||||
<ImageButton
|
||||
android:id="@+id/forward"
|
||||
android:src="@drawable/arrow_right"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:padding="@dimen/standard_padding"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:weightSum="100">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:id="@+id/whatsNewImage"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_weight="50"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="@style/NextcloudTextAppearanceHeadline"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/placeholder_sentence"
|
||||
android:id="@+id/whatsNewTitle"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="@style/NextcloudTextAppearanceMedium"
|
||||
android:text="@string/placeholder_sentence"
|
||||
android:id="@+id/whatsNewText"
|
||||
android:layout_margin="@dimen/standard_margin"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"/>
|
||||
</LinearLayout>
|
||||
|
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 38 KiB |
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="about_android">%1$s Android приложение</string>
|
||||
<string name="about_android">Android приложение за %1$s</string>
|
||||
<string name="about_version">версия %1$s</string>
|
||||
<string name="actionbar_sync">Обновяви профила</string>
|
||||
<string name="actionbar_upload">Качване</string>
|
||||
@@ -27,6 +27,7 @@
|
||||
<string name="prefs_accounts">Профили</string>
|
||||
<string name="prefs_manage_accounts">Управление на профилите</string>
|
||||
<string name="prefs_passcode">Код за достъп</string>
|
||||
<string name="prefs_show_hidden_files">Показване и на скрити файлове</string>
|
||||
<string name="prefs_instant_upload">Незабавно качване на снимки</string>
|
||||
<string name="prefs_instant_upload_summary">Незабавно качване на направените снимки</string>
|
||||
<string name="prefs_instant_video_upload">Незабавно качване на видео</string>
|
||||
@@ -123,8 +124,9 @@
|
||||
<string name="uploader_upload_failed_ticker">Неуспешно качване</string>
|
||||
<string name="uploader_upload_failed_content_single">Качването на %1$s не може да бъде завършено</string>
|
||||
<string name="uploader_upload_failed_credentials_error">Неуспешно качване, нужно е да се впишете отново</string>
|
||||
<string name="uploads_view_title">Качено</string>
|
||||
<string name="uploads_view_title">Качени</string>
|
||||
<string name="uploads_view_group_current_uploads">Текущ</string>
|
||||
<string name="uploads_view_group_failed_uploads">Некачени (докоснете за нов опит)</string>
|
||||
<string name="uploads_view_group_finished_uploads">Качени</string>
|
||||
<string name="uploads_view_upload_status_succeeded">Завършено</string>
|
||||
<string name="uploads_view_upload_status_cancelled">Отказано</string>
|
||||
@@ -134,7 +136,7 @@
|
||||
<string name="uploads_view_upload_status_failed_credentials_error">Грешка при удостоверение</string>
|
||||
<string name="uploads_view_upload_status_failed_folder_error">Грешка в папката</string>
|
||||
<string name="uploads_view_upload_status_failed_file_error">Грешка във файла</string>
|
||||
<string name="uploads_view_upload_status_failed_localfile_error">Локалния фаил не е намерен</string>
|
||||
<string name="uploads_view_upload_status_failed_localfile_error">Локалният фаил не е намерен</string>
|
||||
<string name="uploads_view_upload_status_failed_permission_error">Грешка в правата</string>
|
||||
<string name="uploads_view_upload_status_conflict">Конфликт</string>
|
||||
<string name="uploads_view_upload_status_service_interrupted">Приложението бе терминирано</string>
|
||||
@@ -436,6 +438,11 @@
|
||||
<string name="share_privilege_can_edit_create">създаване</string>
|
||||
<string name="share_privilege_can_edit_change">промяна</string>
|
||||
<string name="share_privilege_can_edit_delete">изтриване</string>
|
||||
<string name="action_retry_uploads">Нов опит</string>
|
||||
<string name="action_clear_failed_uploads">Изчисти некачените</string>
|
||||
<string name="action_clear_successful_uploads">Изчисти качените</string>
|
||||
<string name="action_clear_finished_uploads">Изчисти всички</string>
|
||||
|
||||
<string name="action_switch_grid_view">Решетъчен изглед</string>
|
||||
<string name="action_switch_list_view">Списъчен изглед</string>
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
<string name="prefs_accounts">Účty</string>
|
||||
<string name="prefs_manage_accounts">Spravovat účty</string>
|
||||
<string name="prefs_passcode">Zámek bezpečnostního kódu</string>
|
||||
<string name="prefs_show_hidden_files">Zobrazit skryté soubory</string>
|
||||
<string name="prefs_instant_upload">Okamžité nahrávání obrázků</string>
|
||||
<string name="prefs_instant_upload_summary">Okamžitě nahrávat vytvořené fotografie</string>
|
||||
<string name="prefs_instant_video_upload">Okamžité nahrávání videa</string>
|
||||
|
||||
@@ -1,204 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<string name="about_android">%1$s Android App</string>
|
||||
<string name="about_version">Version %1$s</string>
|
||||
<string name="actionbar_sync">Konto aktualisieren</string>
|
||||
<string name="actionbar_upload">Datei hochladen</string>
|
||||
<string name="actionbar_upload_from_apps">Inhalt von anderen Apps</string>
|
||||
<string name="actionbar_upload_files">Dateien</string>
|
||||
<string name="actionbar_open_with">Öffnen mit</string>
|
||||
<string name="actionbar_mkdir">Neues Verzeichnis</string>
|
||||
<string name="actionbar_settings">Einstellungen</string>
|
||||
<string name="actionbar_see_details">Details</string>
|
||||
<string name="actionbar_send_file">Senden</string>
|
||||
<!--TODO re-enable when server-side folder size calculation is available
|
||||
<item>Biggest - Smallest</item>-->
|
||||
<string name="prefs_category_general">Allgemein</string>
|
||||
<string name="prefs_category_more">Mehr</string>
|
||||
<string name="prefs_accounts">Konten</string>
|
||||
<string name="prefs_manage_accounts">Konten verwalten</string>
|
||||
<string name="prefs_pincode">App-PIN</string>
|
||||
<string name="prefs_pincode_summary">Schützen Sie Ihren Client</string>
|
||||
<string name="prefs_log_title">Protokollierung aktivieren</string>
|
||||
<string name="prefs_log_summary">Dies wird zur Protokollierung von Problemen genutzt</string>
|
||||
<string name="prefs_log_title_history">Protokollierungsverlauf</string>
|
||||
<string name="prefs_log_summary_history">Dies zeigt die gespeicherten Protokollierungen</string>
|
||||
<string name="prefs_log_delete_history_button">Verlauf löschen</string>
|
||||
<string name="prefs_help">Hilfe</string>
|
||||
<string name="prefs_feedback">Rückmeldungen</string>
|
||||
<string name="prefs_imprint">Impressum</string>
|
||||
<string name="auth_check_server">Server überprüfen</string>
|
||||
<string name="auth_username">Benutzername</string>
|
||||
<string name="auth_password">Passwort</string>
|
||||
<string name="auth_register">Ist %1$s neu für Sie?</string>
|
||||
<string name="sync_string_files">Dateien</string>
|
||||
<string name="setup_btn_connect">Verbinden</string>
|
||||
<string name="uploader_btn_upload_text">Hochladen</string>
|
||||
<string name="uploader_wrn_no_account_title">Kein Konto gefunden</string>
|
||||
<string name="uploader_wrn_no_account_text">Es sind keine %1$s-Konten auf Ihrem Gerät eingerichtet. Bitte richten Sie zuerst ein Konto ein.</string>
|
||||
<string name="uploader_wrn_no_account_setup_btn_text">Einrichten</string>
|
||||
<string name="uploader_wrn_no_account_quit_btn_text">Beenden</string>
|
||||
<string name="uploader_wrn_no_content_title">Keine Inhalte zum Hochladen vorhanden</string>
|
||||
<string name="uploader_wrn_no_content_text">Es wurden keine Inhalte empfangen. Es gibt nichts zum Hochladen.</string>
|
||||
<string name="uploader_error_forbidden_content">%1$s darf den freigegebenen Inhalt nicht nutzen.</string>
|
||||
<string name="uploader_info_uploading">Lade hoch</string>
|
||||
<string name="file_list_empty">Alles leer. Laden Sie etwas hoch!</string>
|
||||
<string name="filedetails_select_file">Klicken Sie auf eine Datei für weitere Informationen.</string>
|
||||
<string name="filedetails_size">Grösse:</string>
|
||||
<string name="filedetails_type">Art:</string>
|
||||
<string name="filedetails_created">Erstellt:</string>
|
||||
<string name="filedetails_modified">Geändert:</string>
|
||||
<string name="filedetails_download">Herunterladen</string>
|
||||
<string name="filedetails_sync_file">Datei aktualisieren</string>
|
||||
<string name="filedetails_renamed_in_upload_msg">Datei wurde wärend des Uploads zu %1$s umbenannt</string>
|
||||
<string name="common_yes">Ja</string>
|
||||
<string name="common_no">Nein</string>
|
||||
<string name="common_ok">OK</string>
|
||||
<string name="common_cancel_download">Download abbrechen</string>
|
||||
<string name="common_cancel_upload">Upload abbrechen</string>
|
||||
<string name="common_cancel">Abbrechen</string>
|
||||
<string name="common_save_exit">Speichern & Schliessen</string>
|
||||
<string name="common_error">Fehler</string>
|
||||
<string name="common_loading">Lade...</string>
|
||||
<string name="common_error_unknown">Unbekannter Fehler</string>
|
||||
<string name="about_title">Über</string>
|
||||
<string name="change_password">Passwort ändern</string>
|
||||
<string name="delete_account">Account löschen</string>
|
||||
<string name="create_account">Account erstellen</string>
|
||||
<string name="upload_chooser_title">Dateien hochladen von...</string>
|
||||
<string name="uploader_info_dirname">Ordnername</string>
|
||||
<string name="uploader_upload_in_progress_ticker">Hochladen...</string>
|
||||
<string name="uploader_upload_in_progress_content">%1$d%% Hochladen %2$s</string>
|
||||
<string name="uploader_upload_succeeded_ticker">Hochladen erfolgreich</string>
|
||||
<string name="uploader_upload_succeeded_content_single">%1$s wurde(n) erfolgreich hochgeladen</string>
|
||||
<string name="uploader_upload_failed_ticker">Hochladen fehlgeschlagen</string>
|
||||
<string name="uploader_upload_failed_content_single">Hochladen von %1$s konnte nicht abgeschlossen werden</string>
|
||||
<string name="downloader_download_in_progress_ticker">Herunterladen...</string>
|
||||
<string name="downloader_download_in_progress_content">%1$d%% Herunterladen %2$s</string>
|
||||
<string name="downloader_download_succeeded_ticker">Herunterladen erfolgreich</string>
|
||||
<string name="downloader_download_succeeded_content">%1$s wurde erfolgreich heruntergeladen</string>
|
||||
<string name="downloader_download_failed_ticker">Herunterladen fehlgeschlagen</string>
|
||||
<string name="downloader_download_failed_content">Herunterladen von %1$s konnte nicht abgeschlossen werden</string>
|
||||
<string name="downloader_not_downloaded_yet">Noch nicht heruntergeladen</string>
|
||||
<string name="common_choose_account">Konto auswählen</string>
|
||||
<string name="sync_fail_ticker">Synchronisation fehlgeschlagen</string>
|
||||
<string name="sync_fail_content">Bei der Synchronisation konnte %1$s nicht übertragen werden</string>
|
||||
<string name="sync_fail_content_unauthorized">Ungültiges Passwort für %1$s</string>
|
||||
<string name="sync_conflicts_in_favourites_ticker">Konflikte gefunden</string>
|
||||
<string name="sync_conflicts_in_favourites_content">%1$d Synchronisationsdateien konnten nicht synchronisiert werden.</string>
|
||||
<string name="sync_fail_in_favourites_ticker">Synchronisationsdateien konnten nicht synchronisiert werden.</string>
|
||||
<string name="sync_fail_in_favourites_content">Inhalte von %1$d konnte nicht synchronisiert werden (%2$d Konflikte)</string>
|
||||
<string name="sync_foreign_files_forgotten_ticker">Einige lokale Dateien wurden vergessen</string>
|
||||
<string name="foreign_files_move">Verschiebe alle</string>
|
||||
<string name="foreign_files_success">Alle Dateien wurden verschoben</string>
|
||||
<string name="foreign_files_fail">Einige Dateien konnten nicht verschoben werden</string>
|
||||
<string name="foreign_files_local_text">Lokal: %1$s</string>
|
||||
<string name="foreign_files_remote_text">Remote: %1$s</string>
|
||||
<string name="pincode_enter_pin_code">Bitte geben Sie Ihre App-PIN ein</string>
|
||||
<string name="pincode_configure_your_pin">Bitte geben Sie Ihre App-PIN ein</string>
|
||||
<string name="pincode_configure_your_pin_explanation">PIN-Abfrage erfolgt nach Starten der App.</string>
|
||||
<string name="pincode_reenter_your_pincode">Bitte geben Sie Ihre App-PIN erneut ein.</string>
|
||||
<string name="pincode_remove_your_pincode">App-PIN entfernen</string>
|
||||
<string name="pincode_mismatch">Die App-PINs stimmen nicht überein</string>
|
||||
<string name="pincode_wrong">Falsche App-PIN</string>
|
||||
<string name="pincode_removed">Die App-PIN wurde entfernt</string>
|
||||
<string name="pincode_stored">Die App-PIN wurde gespeichert</string>
|
||||
<string name="media_notif_ticker">%1$s Musikplayer</string>
|
||||
<string name="media_state_playing">%1$s (abspielend)</string>
|
||||
<string name="media_state_loading">%1$s (lädt)</string>
|
||||
<string name="media_event_done">%1$s Wiedergabe beendet</string>
|
||||
<string name="media_err_nothing_to_play">Keine Mediadatei gefunden</string>
|
||||
<string name="media_err_no_account">Kein Account angegeben</string>
|
||||
<string name="media_err_not_in_owncloud">Datei nicht in einem gültigen Account</string>
|
||||
<string name="media_err_unsupported">Nicht unterstützter Media-codec</string>
|
||||
<string name="media_err_io">Mediendatei konnte nicht gelesen werden</string>
|
||||
<string name="media_err_malformed">Mediendatei nicht korrekt kodiert</string>
|
||||
<string name="media_err_invalid_progressive_playback">Mediendatei kann nicht gestreamt werden</string>
|
||||
<string name="media_err_unknown">Die Mediendatei kann nicht mit dem vorinstallierten Media Player abgespielt werden</string>
|
||||
<string name="media_err_security_ex">Sicherheitsfehler beim abspielen von %1$s</string>
|
||||
<string name="media_err_io_ex">Eingabefehler beim Versuch %1$s abzuspielen</string>
|
||||
<string name="media_err_unexpected">Unerwarteter Fehler beim Versuch %1$s abzuspielen</string>
|
||||
<string name="media_rewind_description">Zurückspulen Button</string>
|
||||
<string name="media_play_pause_description">Abspielen oder Pausieren Button</string>
|
||||
<string name="media_forward_description">Vorspulen Button</string>
|
||||
<string name="auth_trying_to_login">Anmeldungsversuch...</string>
|
||||
<string name="auth_no_net_conn_title">Keine Netzwerkverbindung</string>
|
||||
<string name="auth_nossl_plain_ok_title">Sichere Verbindung nicht verfügbar.</string>
|
||||
<string name="auth_connection_established">Verbindung hergestellt</string>
|
||||
<string name="auth_testing_connection">Verbindung testen...</string>
|
||||
<string name="auth_not_configured_title">Fehlerhafte Server Konfiguration</string>
|
||||
<string name="auth_unknown_error_title">Ein unbekannter Fehler ist aufgetreten!</string>
|
||||
<string name="auth_unknown_host_title">Konnte den Host nicht finden.</string>
|
||||
<string name="auth_incorrect_path_title">Server-Installation nicht gefunden</string>
|
||||
<string name="auth_timeout_title">Der Server braucht zu lange für eine Antwort.</string>
|
||||
<string name="auth_incorrect_address_title">Fehlerhafte URL</string>
|
||||
<string name="auth_ssl_general_error_title">SSL-Initialisierung fehlgeschlagen.</string>
|
||||
<string name="auth_bad_oc_version_title">Unbekannte Server-Version</string>
|
||||
<string name="auth_wrong_connection_title">Konnte keine Verbindung aufbauen.</string>
|
||||
<string name="auth_secure_connection">Sichere Verbindung hergestellt</string>
|
||||
<string name="auth_unauthorized">Falscher Benutzername oder Passwort</string>
|
||||
<string name="auth_oauth_error">Autorisierung nicht erfolgreich</string>
|
||||
<string name="auth_oauth_error_access_denied">Zugriff durch den Autorisierungsserver abgelehnt</string>
|
||||
<string name="auth_wtf_reenter_URL">Unerwarteter Zustand; bitte geben Sie die URL des Servers nochmals ein</string>
|
||||
<string name="auth_expired_basic_auth_toast">Bitte geben Sie Ihr aktuelles Passwort ein</string>
|
||||
<string name="fd_keep_in_sync">Datei aktuell halten</string>
|
||||
<string name="common_rename">Umbenennen</string>
|
||||
<string name="common_remove">Löschen</string>
|
||||
<string name="confirmation_remove_local">Nur lokal</string>
|
||||
<string name="confirmation_remove_folder_local">Nur lokale Inhalte</string>
|
||||
<string name="confirmation_remove_remote">Vom Server entfernen</string>
|
||||
<string name="confirmation_remove_remote_and_local">Lokal und auf dem Server</string>
|
||||
<string name="remove_success_msg">Erfolgreich gelöscht</string>
|
||||
<string name="remove_fail_msg">Der Löschvorgang konnte nicht beendet werden</string>
|
||||
<string name="rename_dialog_title">Geben Sie einen neuen Namen ein</string>
|
||||
<string name="rename_local_fail_msg">Die lokale Kopie konnte nicht umbenannt werden. Versuchen Sie es mit einem anderen neuen Namen.</string>
|
||||
<string name="rename_server_fail_msg">Die Umbenennung konnte nicht abgeschlossen werden.</string>
|
||||
<string name="sync_file_fail_msg">Die entfernte Datei konnte nicht überprüft werden</string>
|
||||
<string name="sync_file_nothing_to_do_msg">Dateiinhalte bereits synchronisiert</string>
|
||||
<string name="wait_a_moment">Bitte warten Sie einen Moment.</string>
|
||||
<string name="filedisplay_unexpected_bad_get_content">Ein unerwartetes Problem ist aufgetreten. Bitte versuchen Sie, die Datei in einer anderen App zu öffnen.</string>
|
||||
<string name="filedisplay_no_file_selected">Es wurde keine Datei ausgewählt.</string>
|
||||
<string name="oauth_login_connection">Verbinde mit dem oAuth2-Server...</string>
|
||||
<string name="ssl_validator_header">Die Identität der Website konnte nicht überprüft werden</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- Das Zertifikat des Servers ist nicht vertrauenswürdig</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- Das Zertifikat des Servers ist abgelaufen</string>
|
||||
<string name="ssl_validator_reason_cert_not_yet_valid">- Das Gültigkeitsdatum des Serverzertifikats liegt in der Zukunft</string>
|
||||
<string name="ssl_validator_reason_hostname_not_verified">- Die Adresse stimmt nicht mit dem im Zertifikat angegebenen Hostnamen überein</string>
|
||||
<string name="ssl_validator_question">Möchten Sie diesem Zertifikat trotzdem vertrauen?</string>
|
||||
<string name="ssl_validator_not_saved">Das Zertifikat konnte nicht gespeichert werden</string>
|
||||
<string name="ssl_validator_btn_details_see">Details</string>
|
||||
<string name="ssl_validator_btn_details_hide">Ausblenden</string>
|
||||
<string name="ssl_validator_label_subject">Ausgestellt für:</string>
|
||||
<string name="ssl_validator_label_issuer">Ausgestellt von:</string>
|
||||
<string name="ssl_validator_label_CN">Üblicher Name:</string>
|
||||
<string name="ssl_validator_label_O">Organisation:</string>
|
||||
<string name="ssl_validator_label_OU">Organisationseinheit:</string>
|
||||
<string name="ssl_validator_label_C">Land:</string>
|
||||
<string name="ssl_validator_label_ST">Bundesland:</string>
|
||||
<string name="ssl_validator_label_L">Ort:</string>
|
||||
<string name="ssl_validator_label_validity">Gültigkeit:</string>
|
||||
<string name="ssl_validator_label_validity_from">Von:</string>
|
||||
<string name="ssl_validator_label_validity_to">An:</string>
|
||||
<string name="ssl_validator_label_signature">Signatur:</string>
|
||||
<string name="ssl_validator_label_signature_algorithm">Algorithmus:</string>
|
||||
<string name="placeholder_sentence">Dies ist ein Platzhalter</string>
|
||||
<string name="placeholder_filename">platzhalter.txt</string>
|
||||
<string name="placeholder_filetype">PNG Bild</string>
|
||||
<string name="placeholder_filesize">389 KB</string>
|
||||
<string name="placeholder_timestamp">18.05.2012 12:23</string>
|
||||
<string name="placeholder_media_time">12:23:45</string>
|
||||
<string name="instant_upload_on_wifi">Fotos nur über WiFi hochladen</string>
|
||||
<string name="instant_upload_path">/SofortUpload</string>
|
||||
<string name="conflict_title">Konflikt beim Update</string>
|
||||
<string name="conflict_message">Serverdatei %s ist nicht synchronisiert mit der lokalen Datei. Weitermachen bedeutet, dass der Inhalt der Datei auf dem Server ersetzt wird.</string>
|
||||
<string name="conflict_keep_both">Beide behalten</string>
|
||||
<string name="conflict_overwrite">Überschreiben</string>
|
||||
<string name="conflict_dont_upload">Nicht hochladen</string>
|
||||
<string name="preview_image_description">Bildvorschau</string>
|
||||
<string name="activity_chooser_send_file_title">Senden</string>
|
||||
<string name="clipboard_text_copied">In die Zwischenablage kopiert</string>
|
||||
<string name="empty"></string>
|
||||
<string name="prefs_category_accounts">Konten</string>
|
||||
<string name="move_choose_button_text">Auswählen</string>
|
||||
<string name="prefs_category_security">Sicherheit</string>
|
||||
</resources>
|
||||
@@ -28,6 +28,7 @@
|
||||
<string name="prefs_accounts">Konten</string>
|
||||
<string name="prefs_manage_accounts">Konten verwalten</string>
|
||||
<string name="prefs_passcode">PIN gesperrt</string>
|
||||
<string name="prefs_show_hidden_files">Verstckte Dateien anzeigen</string>
|
||||
<string name="prefs_instant_upload">Sofortiger Bilderupload</string>
|
||||
<string name="prefs_instant_upload_summary">Fotos von der Kamera sofort hochladen</string>
|
||||
<string name="prefs_instant_video_upload">Sofortiger Videoupload</string>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<!--TODO re-enable when server-side folder size calculation is available
|
||||
<item>Biggest - Smallest</item>-->
|
||||
<string name="filedetails_download">Deskargatu</string>
|
||||
<string name="common_cancel">Ezeztatu</string>
|
||||
<string name="empty"></string>
|
||||
</resources>
|
||||
@@ -1,271 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<string name="about_android">%1$s Android aplikazioa</string>
|
||||
<string name="about_version">%1$s bertsioa</string>
|
||||
<string name="actionbar_sync">Freskatu kontua</string>
|
||||
<string name="actionbar_upload">Igo fitxategia</string>
|
||||
<string name="actionbar_upload_from_apps">Beste app-en edukia</string>
|
||||
<string name="actionbar_upload_files">Fitxategiak</string>
|
||||
<string name="actionbar_open_with">Ireki honekin</string>
|
||||
<string name="actionbar_mkdir">Karpeta berria</string>
|
||||
<string name="actionbar_settings">Ezarpenak</string>
|
||||
<string name="actionbar_see_details">Xehetasunak</string>
|
||||
<string name="actionbar_send_file">Bidali</string>
|
||||
<string name="actionbar_sort">Ordenatu</string>
|
||||
<string name="actionbar_sort_title">Ordenatu honen arabera</string>
|
||||
<string-array name="actionbar_sortby">
|
||||
<item>A-Z</item>
|
||||
<item>Berrienak - Zaharrenak</item>
|
||||
</string-array>
|
||||
<!--TODO re-enable when server-side folder size calculation is available
|
||||
<item>Biggest - Smallest</item>-->
|
||||
<!--TODO re-enable when "Accounts" is available in Navigation Drawer-->
|
||||
<!--<string name="drawer_item_accounts">Accounts</string>-->
|
||||
<string name="drawer_item_all_files">Fitxategi guztiak</string>
|
||||
<!--TODO re-enable when "On Device" is available
|
||||
<string name="drawer_item_on_device">On device</string>-->
|
||||
<string name="drawer_item_settings">Ezarpenak</string>
|
||||
<string name="drawer_close">Itxi</string>
|
||||
<string name="drawer_open">Ireki</string>
|
||||
<string name="prefs_category_general">Orokorra</string>
|
||||
<string name="prefs_category_more">Gehiago</string>
|
||||
<string name="prefs_accounts">Kontuak</string>
|
||||
<string name="prefs_manage_accounts">Kontuak kudeatu</string>
|
||||
<string name="prefs_instant_upload">Uneko irudi igoerak</string>
|
||||
<string name="prefs_instant_upload_summary">Igo berehala kamerak ateratako argazkiak</string>
|
||||
<string name="prefs_instant_video_upload">Uneko bideo igoerak</string>
|
||||
<string name="prefs_instant_video_upload_summary">Igo berehala kamerak filmatutako bideoak</string>
|
||||
<string name="prefs_log_summary">Arazoen erregistroa gordetzeko erabiltzen da</string>
|
||||
<string name="prefs_log_title_history">Saio historia</string>
|
||||
<string name="prefs_log_summary_history">Honek gordetako erregistroak bistaratzen ditu.</string>
|
||||
<string name="prefs_log_delete_history_button">Ezabatu historiala</string>
|
||||
<string name="prefs_help">Laguntza</string>
|
||||
<string name="prefs_recommend">Lagun bati aholkatu</string>
|
||||
<string name="prefs_feedback">Oharrak</string>
|
||||
<string name="prefs_imprint">Imprint</string>
|
||||
<string name="prefs_remember_last_share_location">Oroitu partekatutako kokalekua</string>
|
||||
<string name="recommend_subject">Probatu %1$s zure telefono adimentsuan!</string>
|
||||
<string name="recommend_text">Nik %1$s zure telefono adimentsuan erabitzera gonbidatu nahi zaitut!\nDeskargatu hemen: %2$s</string>
|
||||
<string name="auth_host_url">Zerbitzariaren helbidea https://</string>
|
||||
<string name="auth_username">Erabiltzaile izena</string>
|
||||
<string name="auth_password">Pasahitza</string>
|
||||
<string name="auth_register">Berria %1$s-n?</string>
|
||||
<string name="sync_string_files">Fitxategiak</string>
|
||||
<string name="setup_btn_connect">Konektatu</string>
|
||||
<string name="uploader_btn_upload_text">Igo</string>
|
||||
<string name="uploader_wrn_no_account_title">Ez da konturik aurkitu</string>
|
||||
<string name="uploader_wrn_no_account_setup_btn_text">Konfiguratu</string>
|
||||
<string name="uploader_wrn_no_account_quit_btn_text">Irten</string>
|
||||
<string name="file_list_seconds_ago">segundu</string>
|
||||
<string name="file_list_empty">Ez dago ezer. Igo zerbait!</string>
|
||||
<string name="local_file_list_empty">Ez dago fitxategirik karpeta honetan.</string>
|
||||
<string name="file_list_folder">karpeta</string>
|
||||
<string name="file_list_folders">Karpetak</string>
|
||||
<string name="file_list_file">fitxategia</string>
|
||||
<string name="file_list_files">fitxategia</string>
|
||||
<string name="filedetails_select_file">Sakatu fitxategi baten gainean informazio gehiago lortzeko</string>
|
||||
<string name="filedetails_size">Tamaina:</string>
|
||||
<string name="filedetails_type">Mota:</string>
|
||||
<string name="filedetails_created">Sortuta:</string>
|
||||
<string name="filedetails_modified">Aldatuta:</string>
|
||||
<string name="filedetails_download">Deskargatu</string>
|
||||
<string name="filedetails_renamed_in_upload_msg">Fitxategiaren izena %1$sra aldatu da igotzean</string>
|
||||
<string name="action_share">Partekatu</string>
|
||||
<string name="common_yes">Bai</string>
|
||||
<string name="common_no">Ez</string>
|
||||
<string name="common_ok">Ados</string>
|
||||
<string name="common_cancel">Ezeztatu</string>
|
||||
<string name="common_back">Atzera</string>
|
||||
<string name="common_error">Errorea</string>
|
||||
<string name="common_loading">Kargatzen ...</string>
|
||||
<string name="common_unknown">ezezaguna</string>
|
||||
<string name="common_error_unknown">Errore ezezaguna</string>
|
||||
<string name="about_title">Honi buruz</string>
|
||||
<string name="change_password">Aldatu pasahitza</string>
|
||||
<string name="create_account">Sortu kontua</string>
|
||||
<string name="upload_chooser_title">Igo fitxategia hemendik ...</string>
|
||||
<string name="uploader_info_dirname">Karpetaren izena</string>
|
||||
<string name="uploader_upload_in_progress_ticker">Igotzen ...</string>
|
||||
<string name="uploader_upload_in_progress_content">%1$d%% Igotzen %2$s</string>
|
||||
<string name="uploader_upload_succeeded_ticker">Igotzea ongi burutu da</string>
|
||||
<string name="uploader_upload_failed_ticker">igotzeak huts egin du</string>
|
||||
<string name="uploader_upload_failed_content_single">%1$s fitxategiaren igoera ezin izan da burutu</string>
|
||||
<string name="uploads_view_group_current_uploads">Unekoa</string>
|
||||
<string name="uploads_view_group_finished_uploads">Igoa</string>
|
||||
<string name="uploads_view_upload_status_succeeded">Betea</string>
|
||||
<string name="uploads_view_upload_status_failed_permission_error">Baimen errorea.</string>
|
||||
<string name="uploads_view_upload_status_unknown_fail">Errore ezezaguna</string>
|
||||
<string name="downloader_download_in_progress_ticker">Deskargatzen ...</string>
|
||||
<string name="downloader_download_in_progress_content">%1$d%% Deskargatzen %2$s</string>
|
||||
<string name="downloader_download_succeeded_ticker">Deskarga ongi burutu da</string>
|
||||
<string name="downloader_download_failed_ticker">Deskargak huts egin du</string>
|
||||
<string name="downloader_download_failed_content">%1$s fitxategiaren deskarga ezin izan da burutu</string>
|
||||
<string name="downloader_not_downloaded_yet">Oraindik deskargatu gabe</string>
|
||||
<string name="common_choose_account">Hautatu kontua</string>
|
||||
<string name="sync_fail_content_unauthorized">Okerreko pasahitza %1$s-rako</string>
|
||||
<string name="sync_conflicts_in_favourites_ticker">Gatazkak aurkituak </string>
|
||||
<string name="sync_conflicts_in_favourites_content">sinkronizatu beharreko %1$d fitxategiak ezin dira sinkronizatu</string>
|
||||
<string name="sync_fail_in_favourites_ticker">edukien sinkronizazioak huts egin du</string>
|
||||
<string name="sync_fail_in_favourites_content">%1$d fitxategien edukiak ezin dira sinkronizatu (%2$d gatazka)</string>
|
||||
<string name="sync_foreign_files_forgotten_ticker">Bertako fitxategi batzuk ahaztu dira</string>
|
||||
<string name="sync_foreign_files_forgotten_content">%2$s karpetako %1$d fitxategi ezin dira dira kopiatu</string>
|
||||
<string name="sync_foreign_files_forgotten_explanation">1.3.16 bertsioan, gailu honetatik igotzen diren fitxategiak bertako %1$s karpetara mugitzen dira datu galera ekiditeko fitxategi bat kontu ezberdinekin sinkronizatzen denean.\n\n Aldaketa hau dela eta, programa honen aurreko bertsioetan igotako fitxategi guztiak %2$s karpetara kopiatu dira. Hala ere, errore batek hau burutzea ekidin du kontuaren sinkronizazioa egiten ari zen bitartean. Orain fitxategiak dauden bezala utz ditzakezu eta %3$s rako lotura ezabatu, edo fitxategiak %1$s karpetara mugi ditzakezu eta %4$srako lotura mantendu.\n\nBehean bertako fitxategien zerrenda eta %5$s era lotuta zeuden urruneko fitxategiena.</string>
|
||||
<string name="sync_current_folder_was_removed">%1$s karpeta dagoeneko ez da existitzen</string>
|
||||
<string name="foreign_files_move">Mugitu denak</string>
|
||||
<string name="foreign_files_success">Fitxategi guztiak mugitu dira</string>
|
||||
<string name="foreign_files_fail">Fitxategi batzuk ezin dira mugitu</string>
|
||||
<string name="foreign_files_local_text">Bertakoa: %1$s</string>
|
||||
<string name="foreign_files_remote_text">Urrunekoa: %1$s</string>
|
||||
<string name="media_notif_ticker">%1$s musika erreproduzigailua</string>
|
||||
<string name="media_state_playing">%1$s (jotzen)</string>
|
||||
<string name="media_state_loading">%1$s (kargatzen)</string>
|
||||
<string name="media_event_done">%1$s erreprodukzioa amaitua</string>
|
||||
<string name="media_err_nothing_to_play">Ez da euskarri fitxategia aurkitu</string>
|
||||
<string name="media_err_no_account">Ez da konturik eman</string>
|
||||
<string name="media_err_not_in_owncloud">Fitxategiak ez du baliozko kontu bat</string>
|
||||
<string name="media_err_unsupported">Onartzen ez de euskarri kodeka</string>
|
||||
<string name="media_err_io">Euskarri fitxategia ezin da bihurtu</string>
|
||||
<string name="media_err_malformed">Euskarri fitxategia ezin da kodetu</string>
|
||||
<string name="media_err_timeout">Erreproduzitzen saiatzean denbora iraungitu da</string>
|
||||
<string name="media_err_invalid_progressive_playback">Euskarri fitxategia ezin da jariotu</string>
|
||||
<string name="media_err_unknown">Euskarri fitxategia ezin erreproduzitu stock euskarri erreproduzigailuarekin</string>
|
||||
<string name="media_err_security_ex">Segurtasun errorea %1$s erreproduzitzen saiatzean</string>
|
||||
<string name="media_err_io_ex">Sarrera errorea %1$s erreproduzitzen saiatzean</string>
|
||||
<string name="media_err_unexpected">Ezusteko errorea %1$s erreproduzitzen saiatzean</string>
|
||||
<string name="media_rewind_description">Atzeratu botoia</string>
|
||||
<string name="media_play_pause_description">Erreproduzitu edo pausatu botoia</string>
|
||||
<string name="media_forward_description">Azkar aurreratu botoia</string>
|
||||
<string name="auth_getting_authorization">Baimena eskuratzen</string>
|
||||
<string name="auth_trying_to_login">Saio hasten saiatzen</string>
|
||||
<string name="auth_no_net_conn_title">Ez dago sare konexiorik</string>
|
||||
<string name="auth_nossl_plain_ok_title">Konexio segurua ez dago eskuragarri</string>
|
||||
<string name="auth_connection_established">Konexioa ezarri da</string>
|
||||
<string name="auth_not_configured_title">gaizki egindako server konfigurazioa</string>
|
||||
<string name="auth_account_not_new">Erabiltzaile eta zerbitzari hauendako dagoeneko kontu bat existitzen da gailu honetan</string>
|
||||
<string name="auth_account_not_the_same">Sartutako erabiltzaileak ez du bat egiten kontu honetako erabiltzailearekin</string>
|
||||
<string name="auth_unknown_error_title">Errore ezezagun bat gertatu da</string>
|
||||
<string name="auth_unknown_host_title">Ezin izan da hostalaria aurkitu</string>
|
||||
<string name="auth_incorrect_path_title">ez da serveren instalaziorik aurkitu</string>
|
||||
<string name="auth_timeout_title">Zerbitzariak denbora asko hartu du erantzuteko</string>
|
||||
<string name="auth_ssl_general_error_title">SSL abiaratzeak huts egin du</string>
|
||||
<string name="auth_ssl_unverified_server_title">Ezin izan da SSL zerbitzariaren identitaea egiaztatu</string>
|
||||
<string name="auth_bad_oc_version_title">server zerbitzari bertsio ezezaguna</string>
|
||||
<string name="auth_wrong_connection_title">Ezin izan da konexioa egin</string>
|
||||
<string name="auth_secure_connection">Konexio segurua ezarri da</string>
|
||||
<string name="auth_unauthorized">Okerreko erabiltzaile izen edo pasahitza</string>
|
||||
<string name="auth_oauth_error">Baimena ez da lortu</string>
|
||||
<string name="auth_oauth_error_access_denied">Sarrera autorizazio zerbitzariak ukatua</string>
|
||||
<string name="auth_expired_oauth_token_toast">Zure baimena iraungitu da.
|
||||
Mesedez, baimendu berriz</string>
|
||||
<string name="auth_expired_saml_sso_token_toast">Zure saioa iraungitu da. Mesdez konektatu berriro</string>
|
||||
<string name="auth_unsupported_auth_method">Zerbitzariak ez du autentikazio metodo hau onartzen</string>
|
||||
<string name="auth_unsupported_multiaccount">%1$s ez du kontu anitzak onartzen</string>
|
||||
<string name="auth_fail_get_user_name">Zure zerbitzariak ez du bueltatzen erabiltzailearen id egokia, mesedez jarri harremanetan administratzailearekin.</string>
|
||||
<string name="common_rename">Berrizendatu</string>
|
||||
<string name="common_remove">Ezabatu</string>
|
||||
<string name="confirmation_remove_alert">Ziur zaude %1$s ezabatu nahi duzula?</string>
|
||||
<string name="confirmation_remove_folder_alert">Ziru zaude %1$s eta bere edukiak ezabatu nahi dituzula?</string>
|
||||
<string name="confirmation_remove_local">Bertakoa bakarrik</string>
|
||||
<string name="remove_success_msg">Ongi ezabatu da</string>
|
||||
<string name="remove_fail_msg">Ezin izan da ezabaketa burutu</string>
|
||||
<string name="rename_dialog_title">Idatzi izen berri bat</string>
|
||||
<string name="rename_local_fail_msg">Bertako kopia ezin da izenez aldatu, saiatu beste izen batekin</string>
|
||||
<string name="rename_server_fail_msg">Izen aldaketa ezin izan da burutu</string>
|
||||
<string name="sync_file_fail_msg">Urruneko fitxategia ezin izan da arakatu</string>
|
||||
<string name="sync_file_nothing_to_do_msg">Fitxategi edukiak dagoeneko sinkronizaturik</string>
|
||||
<string name="create_dir_fail_msg">Ezin izan da karpeta sortu</string>
|
||||
<string name="filename_forbidden_characters">Debekatutako karaktereak: / \\ < > : \" | ? *</string>
|
||||
<string name="filename_forbidden_charaters_from_server">Fitxategi izenak behintzat baliogabeko karaktere bat du</string>
|
||||
<string name="filename_empty">Fitxategi izena ezin da hutsa izan</string>
|
||||
<string name="wait_a_moment">Itxaron momentu bat</string>
|
||||
<string name="filedisplay_unexpected_bad_get_content">Ezusteko arazoa; mesedez, saiatu beste app batekin fitxategia hautatzeko</string>
|
||||
<string name="filedisplay_no_file_selected">Ez da fitxategirik hautatu</string>
|
||||
<string name="activity_chooser_title">Bidali lotura honi...</string>
|
||||
<string name="oauth_check_onoff">Saioa hasi oAuth2-rekin</string>
|
||||
<string name="oauth_login_connection">Konektatzen oAuth2 zerbitzarira...</string>
|
||||
<string name="ssl_validator_header">Lekuaren identitatea ezin da egiaztatu</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- Zerbitzariaren ziurtagiria ez da fidagarria</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- Zerbitzariaren ziurtagiria iraungi da</string>
|
||||
<string name="ssl_validator_reason_cert_not_yet_valid">- Zerbitzariaren ziurtagiria oso gaztea da</string>
|
||||
<string name="ssl_validator_reason_hostname_not_verified">- URLa ez dator bat ziurtagiriaren hostalari izenarekin</string>
|
||||
<string name="ssl_validator_question">Nahi duzu, hala ere, ziurtagiriaz fidatu?</string>
|
||||
<string name="ssl_validator_not_saved">Ziurtagiria ezin da gorde</string>
|
||||
<string name="ssl_validator_btn_details_see">Xehetasunak</string>
|
||||
<string name="ssl_validator_btn_details_hide">Ezkutatu</string>
|
||||
<string name="ssl_validator_label_subject">Honi bidalita:</string>
|
||||
<string name="ssl_validator_label_issuer">Honek bidalita:</string>
|
||||
<string name="ssl_validator_label_CN">Izen arrunta:</string>
|
||||
<string name="ssl_validator_label_O">Erakundea:</string>
|
||||
<string name="ssl_validator_label_OU">Erakunde atala:</string>
|
||||
<string name="ssl_validator_label_C">Herrialdea:</string>
|
||||
<string name="ssl_validator_label_ST">Estatua:</string>
|
||||
<string name="ssl_validator_label_L">Kokapena:</string>
|
||||
<string name="ssl_validator_label_validity">Baliozkotasuna:</string>
|
||||
<string name="ssl_validator_label_validity_from">Noiztik:</string>
|
||||
<string name="ssl_validator_label_validity_to">Noiz arte:</string>
|
||||
<string name="ssl_validator_label_signature">Sinadura:</string>
|
||||
<string name="ssl_validator_label_signature_algorithm">Algoritmoa:</string>
|
||||
<string name="ssl_validator_null_cert">Ezin da ziurtagiria erakutsi.</string>
|
||||
<string name="ssl_validator_no_info_about_error">- Ez dago errorearen gaineko informaziorik.</string>
|
||||
<string name="placeholder_sentence">Hau leku-marka da</string>
|
||||
<string name="placeholder_filename">kokalekua.txt</string>
|
||||
<string name="placeholder_filetype">PNG Irudia</string>
|
||||
<string name="placeholder_filesize">389 KB</string>
|
||||
<string name="placeholder_timestamp">2012/05/18 12:23 PM</string>
|
||||
<string name="placeholder_media_time">12:23:45</string>
|
||||
<string name="instant_upload_path">/BerehalakoIgoerak</string>
|
||||
<string name="conflict_keep_both">Mantendu biak</string>
|
||||
<string name="preview_image_description">Irudi aurreikuspena</string>
|
||||
<string name="preview_image_error_unknown_format">Ezin da irudi hau erakutsi</string>
|
||||
<string name="error__upload__local_file_not_copied">%1$s ezin da %2$s karpeta lokalera kopiatu</string>
|
||||
<string name="share_link_no_support_share_api">Sentitzen dut, partekatzea ez dago zure zerbitzarian gaituta. Mesedez jarri harremanetan zure administratzailearekin.</string>
|
||||
<string name="share_link_file_no_exist">Ezin izan da partekatu. Mesedez egiaztatu fitxategia existitzen dela</string>
|
||||
<string name="share_link_file_error">Errore bat egon da fitxategaia edo karpeta partekatzerakoan</string>
|
||||
<string name="unshare_link_file_no_exist">Ezin izan da partekatzea desegin. Mesedez egiaztatu fitxategia existitzen dela</string>
|
||||
<string name="unshare_link_file_error">Errore bat egon da fitxategaia edo karpeta partekatzeari uzterakoan</string>
|
||||
<string name="activity_chooser_send_file_title">Bidali</string>
|
||||
<string name="copy_link">Lotura kopiatu</string>
|
||||
<string name="clipboard_text_copied">Arbelera kopiatua</string>
|
||||
<string name="error_cant_bind_to_operations_service">Errore larria: ezin dira egin eragiketak</string>
|
||||
<string name="network_error_socket_exception">Errore bat gertatu da zerbitzariarekin konektatzean.</string>
|
||||
<string name="network_error_socket_timeout_exception">Errore bat gertatu da zerbitzariaren zain egon bitartean, ezin izan da eragiketa burutu</string>
|
||||
<string name="network_error_connect_timeout_exception">Errore bat gertatu da zerbitzariaren zain egon bitartean, ezin izan da eragiketa burutu</string>
|
||||
<string name="network_host_not_available">Eragiketa ezin izan da burutu, zerbitzaria ez dago erabilgarri</string>
|
||||
<string name="empty"></string>
|
||||
<string name="forbidden_permissions">Ez daukazu baimenik %s</string>
|
||||
<string name="forbidden_permissions_rename">fitxategia berrizendatzeko</string>
|
||||
<string name="forbidden_permissions_delete">fitxategia ezabatzeko</string>
|
||||
<string name="share_link_forbidden_permissions">fitxategia konpartitzeko</string>
|
||||
<string name="unshare_link_forbidden_permissions">fitxategiaren konpartitzea kentzeko</string>
|
||||
<string name="forbidden_permissions_create">fitxategia sortzeko</string>
|
||||
<string name="uploader_upload_forbidden_permissions">karpeta honetara igotzeko</string>
|
||||
<string name="downloader_download_file_not_found">Fitxategia jadanik ez dago eskuragarri zerbitzarian</string>
|
||||
<string name="prefs_category_accounts">Kontuak</string>
|
||||
<string name="prefs_add_account">Gehitu kontua</string>
|
||||
<string name="auth_redirect_non_secure_connection_title">Konexio segurua birbideratu da segurua ez den bide batetik.</string>
|
||||
<string name="actionbar_logger">Egunkariak</string>
|
||||
<string name="log_send_mail_subject">%1$s Android aplikazioaren egunerokoak</string>
|
||||
<string name="saml_authentication_required_text">Autentikazioa beharrezkoa</string>
|
||||
<string name="saml_authentication_wrong_pass">Pasahitz okerra</string>
|
||||
<string name="actionbar_move">Mugitu</string>
|
||||
<string name="file_list_empty_moving">Hemen ez dago ezer. Karpeta bat gehi dezakezu!</string>
|
||||
<string name="folder_picker_choose_button_text">Aukeratu</string>
|
||||
<string name="move_file_not_found">Ezin izan da mugitu. Mesedez egiaztatu fitxategia existitzen dela</string>
|
||||
<string name="move_file_invalid_overwrite">Fitxategia dagoeneko existitzen da helburuko karpetan</string>
|
||||
<string name="move_file_error">Errore bat gertatu da fitxategi edo karpeta hau mugitzen saiatzerakoan</string>
|
||||
<string name="forbidden_permissions_move">fitxategi hau mugitzeko</string>
|
||||
<string name="copy_file_invalid_overwrite">Fitxategia dagoeneko existitzen da helburuko karpetan</string>
|
||||
<string name="prefs_category_details">Xehetasunak</string>
|
||||
<string name="auth_host_address">Zerbitzariaren helbidea</string>
|
||||
<string name="share_dialog_title">Partekatzea</string>
|
||||
<string name="share_via_link_section_title">Elkarbanatu lotura</string>
|
||||
<string name="share_via_link_expiration_date_label">Ezarri muga data</string>
|
||||
<string name="share_via_link_password_label">Babestu pasahitzarekin</string>
|
||||
<string name="share_via_link_edit_permission_label">Baimendu editatzea</string>
|
||||
<string name="share_search">Bilatu</string>
|
||||
<string name="share_privilege_can_share">elkarbana dezake</string>
|
||||
<string name="share_privilege_can_edit">editatu dezake</string>
|
||||
<string name="share_privilege_can_edit_create">sortu</string>
|
||||
<string name="share_privilege_can_edit_change">aldatu</string>
|
||||
<string name="share_privilege_can_edit_delete">ezabatu</string>
|
||||
</resources>
|
||||
@@ -1,42 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<string name="actionbar_upload">Lähetä</string>
|
||||
<string name="actionbar_open_with">Avaa sovelluksessa</string>
|
||||
<string name="actionbar_mkdir">Luo kansio</string>
|
||||
<string name="actionbar_settings">Asetukset</string>
|
||||
<!--TODO re-enable when server-side folder size calculation is available
|
||||
<item>Biggest - Smallest</item>-->
|
||||
<string name="prefs_category_more">Lisää</string>
|
||||
<string name="prefs_manage_accounts">Hallitse tilejä</string>
|
||||
<string name="prefs_pincode">Sovelluksen PIN</string>
|
||||
<string name="prefs_help">Apua</string>
|
||||
<string name="auth_host_url">http://esimerkki.fi/palvelu/</string>
|
||||
<string name="auth_username">Käyttäjätunnus</string>
|
||||
<string name="auth_password">Salasana</string>
|
||||
<string name="uploader_btn_upload_text">Lähetä</string>
|
||||
<string name="file_list_empty">Ei sisältöä. Siirrä tänne jotakin!</string>
|
||||
<string name="file_list_loading">Ladataan...</string>
|
||||
<string name="file_list_folder">kansio</string>
|
||||
<string name="file_list_folders">kansiot</string>
|
||||
<string name="file_list_file">tiedosto</string>
|
||||
<string name="file_list_files">Tiedostot</string>
|
||||
<string name="action_unshare_file">Poista linkin jako</string>
|
||||
<string name="common_yes">KYLLÄ</string>
|
||||
<string name="common_no">EI</string>
|
||||
<string name="common_ok">Ok</string>
|
||||
<string name="common_cancel">Peruuta</string>
|
||||
<string name="common_error">Virhe</string>
|
||||
<string name="pincode_wrong">Virheellinen PIN</string>
|
||||
<string name="pincode_removed">Sovelluksen PIN poistettu</string>
|
||||
<string name="pincode_stored">Sovelluksen PIN tallennettu</string>
|
||||
<string name="auth_account_not_the_same">Syötetty käyttäjä ei täsmää tämän tilin käyttäjän kanssa</string>
|
||||
<string name="auth_unsupported_auth_method">Palvelin ei tue tätä autentikointitapaa</string>
|
||||
<string name="common_rename">Nimeä uudelleen</string>
|
||||
<string name="ssl_validator_label_L">Sijainti:</string>
|
||||
<string name="conflict_overwrite">Ylikirjoita</string>
|
||||
<string name="copy_link">Kopioi linkki</string>
|
||||
<string name="empty"></string>
|
||||
<string name="actionbar_move">Siirrä</string>
|
||||
<string name="folder_picker_choose_button_text">Valitse</string>
|
||||
<string name="move_file_invalid_overwrite">Tiedosto on jo kohdekansiossa.</string>
|
||||
</resources>
|
||||
@@ -28,6 +28,7 @@
|
||||
<string name="prefs_accounts">Accounts</string>
|
||||
<string name="prefs_manage_accounts">Accounts beheren</string>
|
||||
<string name="prefs_passcode">Toegangscode slot</string>
|
||||
<string name="prefs_show_hidden_files">Verborgen bestanden weergeven</string>
|
||||
<string name="prefs_instant_upload">Directe uploads van afbeeldingen</string>
|
||||
<string name="prefs_instant_upload_summary">Direct uploaden van foto\'s genomen met de camera</string>
|
||||
<string name="prefs_instant_video_upload">Direct uploaden van video\'s</string>
|
||||
|
||||
@@ -1,148 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<resources>
|
||||
<string name="actionbar_sync">Обновить</string>
|
||||
<string name="actionbar_upload">Загрузка</string>
|
||||
<string name="actionbar_upload_from_apps">Содержимое из других приложений</string>
|
||||
<string name="actionbar_upload_files">Файлы</string>
|
||||
<string name="actionbar_mkdir">Создать директорию</string>
|
||||
<string name="actionbar_settings">Настройки</string>
|
||||
<string name="actionbar_see_details">Сведения</string>
|
||||
<string name="prefs_category_general">Общие</string>
|
||||
<string name="prefs_category_more">Подробнее</string>
|
||||
<string name="prefs_accounts">Учетные записи</string>
|
||||
<string name="prefs_manage_accounts">Управление учетными записями</string>
|
||||
<string name="prefs_pincode">App PIN</string>
|
||||
<string name="prefs_pincode_summary">Защитить Ваш клиент</string>
|
||||
<string name="prefs_instant_upload">Включить немедленную загрузку</string>
|
||||
<string name="prefs_instant_upload_summary">Мгновенно загрузить фотографии, сделанные камерой</string>
|
||||
<string name="prefs_help">Помощь</string>
|
||||
<string name="auth_username">Имя пользователя</string>
|
||||
<string name="auth_password">Пароль</string>
|
||||
<string name="auth_register">Я новичок в %1$s</string>
|
||||
<string name="sync_string_files">Файлы</string>
|
||||
<string name="setup_btn_connect">Подключить</string>
|
||||
<string name="uploader_btn_upload_text">Загрузка</string>
|
||||
<string name="uploader_wrn_no_account_title">Не найден аккаунт</string>
|
||||
<string name="uploader_wrn_no_account_text">На Вашем устройстве нет %1$s-аккаунтов. Пожалуйста, настройте учетную запись.</string>
|
||||
<string name="uploader_wrn_no_account_setup_btn_text">Установка</string>
|
||||
<string name="uploader_wrn_no_account_quit_btn_text">Выход</string>
|
||||
<string name="uploader_wrn_no_content_title">Нет содержимого для загрузки</string>
|
||||
<string name="uploader_wrn_no_content_text">Содержимое не было получено. Нечего загружать.</string>
|
||||
<string name="uploader_error_forbidden_content">%1$s не разрешен доступ к общему содержимому</string>
|
||||
<string name="uploader_info_uploading">Загрузка</string>
|
||||
<string name="file_list_empty">В этой папке нет файлов.\nНовые файлы могут быть добавлены с помощью опции \"Загрузка\" в меню.</string>
|
||||
<string name="filedetails_select_file">Нажмите на файл, чтобы увидеть дополнительную информацию.</string>
|
||||
<string name="filedetails_size">Размер:</string>
|
||||
<string name="filedetails_type">Тип:</string>
|
||||
<string name="filedetails_created">Создано:</string>
|
||||
<string name="filedetails_modified">Модифицировано:</string>
|
||||
<string name="filedetails_download">Загрузка</string>
|
||||
<string name="filedetails_sync_file">Обновить</string>
|
||||
<string name="filedetails_renamed_in_upload_msg">Файл был переименован в %1$s во время загрузки</string>
|
||||
<string name="common_yes">Да</string>
|
||||
<string name="common_no">Нет</string>
|
||||
<string name="common_ok">OK</string>
|
||||
<string name="common_cancel_download">Отменить загрузку</string>
|
||||
<string name="common_cancel_upload">Отмена загрузки</string>
|
||||
<string name="common_cancel">Отмена</string>
|
||||
<string name="common_save_exit">Сохранить & Выход</string>
|
||||
<string name="common_error">Ошибка</string>
|
||||
<string name="about_title">О программе</string>
|
||||
<string name="delete_account">Удалить аккаунт</string>
|
||||
<string name="create_account">Создать аккаунт</string>
|
||||
<string name="upload_chooser_title">Загрузить из...</string>
|
||||
<string name="uploader_info_dirname">Имя каталога</string>
|
||||
<string name="uploader_upload_in_progress_ticker">Загрузка …</string>
|
||||
<string name="uploader_upload_in_progress_content">%1$d%% Загрузка %2$s</string>
|
||||
<string name="uploader_upload_succeeded_ticker">Загрузка выполнена успешно</string>
|
||||
<string name="uploader_upload_succeeded_content_single">%1$s был успешно загружен</string>
|
||||
<string name="uploader_upload_failed_ticker">Загрузка не удалась</string>
|
||||
<string name="uploader_upload_failed_content_single">Загрузка %1$s не может быть завершена</string>
|
||||
<string name="downloader_download_in_progress_ticker">Загрузка …</string>
|
||||
<string name="downloader_download_in_progress_content">%1$d%% Загрузка %2$s</string>
|
||||
<string name="downloader_download_succeeded_ticker">Загрузка выполнена успешно</string>
|
||||
<string name="downloader_download_succeeded_content">%1$s был успешно загружен</string>
|
||||
<string name="downloader_download_failed_ticker">Загрузка не удалась</string>
|
||||
<string name="downloader_download_failed_content">Загрузка %1$s не может быть завершена</string>
|
||||
<string name="common_choose_account">Выбрать аккаунт</string>
|
||||
<string name="sync_fail_ticker">Ошибка синхронизации</string>
|
||||
<string name="sync_fail_content">Синхронизация %1$s не может быть завершена</string>
|
||||
<string name="sync_conflicts_in_favourites_ticker">Найдены конфликты</string>
|
||||
<string name="sync_conflicts_in_favourites_content">%1$d файлы, подлежащие синхронизации, не могут быть синхронизированы</string>
|
||||
<string name="sync_fail_in_favourites_ticker">Синхронизация файлов не удалась</string>
|
||||
<string name="sync_fail_in_favourites_content">Содержимое %1$d файлов не может быть синхронизировано (%2$d конфликты)</string>
|
||||
<string name="pincode_enter_pin_code">Пожалуйста, введите Ваш PIN-код приложения</string>
|
||||
<string name="pincode_configure_your_pin">Введите PIN-код приложения</string>
|
||||
<string name="pincode_configure_your_pin_explanation">PIN будет запрашиваться каждый раз при запуске приложения</string>
|
||||
<string name="pincode_reenter_your_pincode">Повторно введите PIN-код приложения, пожалуйста</string>
|
||||
<string name="pincode_remove_your_pincode">Удалите PIN-код приложения</string>
|
||||
<string name="pincode_mismatch">PIN-коды приложения не идентичны</string>
|
||||
<string name="pincode_wrong">Неверный PIN-код приложения</string>
|
||||
<string name="pincode_removed">PIN-код приложения удален</string>
|
||||
<string name="pincode_stored">PIN-код приложения сохранен</string>
|
||||
<string name="auth_trying_to_login">Попытка входа ...</string>
|
||||
<string name="auth_no_net_conn_title">Нет подключения к сети</string>
|
||||
<string name="auth_nossl_plain_ok_title">Защищенное соединение недоступно.</string>
|
||||
<string name="auth_connection_established">Соединение установлено</string>
|
||||
<string name="auth_testing_connection">Тестирование соединения…</string>
|
||||
<string name="auth_not_configured_title">Некорректная сервер-конфигурация</string>
|
||||
<string name="auth_unknown_error_title">Произошла неизвестная ошибка!</string>
|
||||
<string name="auth_unknown_host_title">Не удалось найти хост</string>
|
||||
<string name="auth_incorrect_path_title">сервер не найден</string>
|
||||
<string name="auth_timeout_title">Ответ сервера занимает слишком много времени</string>
|
||||
<string name="auth_incorrect_address_title">Адрес URL неверен</string>
|
||||
<string name="auth_ssl_general_error_title">SSL-инициализация не удалась</string>
|
||||
<string name="auth_bad_oc_version_title">Неизвестная версия сервера сервер </string>
|
||||
<string name="auth_wrong_connection_title">Не удалось установить соединение</string>
|
||||
<string name="auth_secure_connection">Защищенное соединение установлено</string>
|
||||
<string name="auth_unauthorized">Неверный логин / пароль</string>
|
||||
<string name="fd_keep_in_sync">Обновлять файл</string>
|
||||
<string name="common_rename">Переименовать</string>
|
||||
<string name="common_remove">Удалить</string>
|
||||
<string name="confirmation_remove_alert">Вы действительно хотите удалить %1$s?</string>
|
||||
<string name="confirmation_remove_folder_alert">Вы действительно хотите удалить %1$s и все содержимое ?</string>
|
||||
<string name="confirmation_remove_local">Только локально</string>
|
||||
<string name="confirmation_remove_folder_local">Только локальное содержимое</string>
|
||||
<string name="confirmation_remove_remote">Удалить с сервера</string>
|
||||
<string name="confirmation_remove_remote_and_local">Оба, удаленный и локальный</string>
|
||||
<string name="remove_success_msg">Успешное удаление</string>
|
||||
<string name="remove_fail_msg">Удаление не может быть завершено</string>
|
||||
<string name="rename_dialog_title">Введите новое имя</string>
|
||||
<string name="rename_local_fail_msg">Локальная копия не может быть переименована; попробуйте другое новое имя</string>
|
||||
<string name="rename_server_fail_msg">Переименование не может быть завершено</string>
|
||||
<string name="sync_file_fail_msg">Удаленный файл не может быть проверен</string>
|
||||
<string name="sync_file_nothing_to_do_msg">Содержимое файла уже синхронизировано</string>
|
||||
<string name="create_dir_fail_msg">Каталог не может быть создан</string>
|
||||
<string name="wait_a_moment">Подождите</string>
|
||||
<string name="filedisplay_unexpected_bad_get_content">Неожиданная проблема; пожалуйста, попробуйте другое приложение для выбора файла</string>
|
||||
<string name="filedisplay_no_file_selected">Файл не был выбран</string>
|
||||
<string name="ssl_validator_header">Идентификация сайта не может быть проверена</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- Сертификат сервера недостоверен</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- Сертификат сервера истек</string>
|
||||
<string name="ssl_validator_reason_cert_not_yet_valid">- Сертификат сервера еще не действителен</string>
|
||||
<string name="ssl_validator_reason_hostname_not_verified">- URL не соответствует имени хоста в сертификате</string>
|
||||
<string name="ssl_validator_question">Хотите объявить этот сертификат надежным в любом случае?</string>
|
||||
<string name="ssl_validator_not_saved">Этот сертификат не может быть сохранен</string>
|
||||
<string name="ssl_validator_btn_details_see">Сведения</string>
|
||||
<string name="ssl_validator_btn_details_hide">Скрыть</string>
|
||||
<string name="ssl_validator_label_subject">Выдано для:</string>
|
||||
<string name="ssl_validator_label_issuer">Выдал:</string>
|
||||
<string name="ssl_validator_label_CN">Общее имя:</string>
|
||||
<string name="ssl_validator_label_O">Организация:</string>
|
||||
<string name="ssl_validator_label_OU">Организационное подразделение:</string>
|
||||
<string name="ssl_validator_label_C">Страна:</string>
|
||||
<string name="ssl_validator_label_ST">Состояние:</string>
|
||||
<string name="ssl_validator_label_L">Расположение:</string>
|
||||
<string name="ssl_validator_label_validity">Срок действия:</string>
|
||||
<string name="ssl_validator_label_validity_from">От:</string>
|
||||
<string name="ssl_validator_label_validity_to">Для:</string>
|
||||
<string name="ssl_validator_label_signature">Подпись:</string>
|
||||
<string name="ssl_validator_label_signature_algorithm">Алгоритм:</string>
|
||||
<string name="instant_upload_on_wifi">Загрузать изображения только посредством WiFi </string>
|
||||
<string name="instant_upload_path">/НемедленнаяЗагрузка</string>
|
||||
<string name="conflict_title">Конфликт обновления</string>
|
||||
<string name="conflict_message">Удаленный файл %s не синхронизирован с локальным файлом. Продолжение повлечет замену содержимого файла на сервере.</string>
|
||||
<string name="conflict_keep_both">Сохранить оба</string>
|
||||
<string name="conflict_overwrite">Перезаписать</string>
|
||||
<string name="conflict_dont_upload">Не загружать</string>
|
||||
</resources>
|
||||
@@ -47,7 +47,7 @@
|
||||
<dimen name="two_line_primary_text_size">16sp</dimen>
|
||||
<dimen name="two_line_secondary_text_size">14sp</dimen>
|
||||
<dimen name="list_item_avatar_icon_margin">20dp</dimen>
|
||||
<dimen name="list_item_avatar_text_margin">28dp</dimen>
|
||||
<dimen name="list_item_avatar_text_margin">20dp</dimen>
|
||||
<dimen name="account_action_layout_height">72dp</dimen>
|
||||
<dimen name="zero">0dp</dimen>
|
||||
<dimen name="account_item_layout_height">72dp</dimen>
|
||||
|
||||
@@ -1,23 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Beta indicator -->
|
||||
<bool name="is_beta">false</bool>
|
||||
|
||||
<!-- App name and other strings-->
|
||||
<string name="app_name">Nextcloud</string>
|
||||
<string name="account_type">nextcloud</string> <!-- better if was a domain name; but changing it now would require
|
||||
<string name="app_name">Nextcloud beta</string>
|
||||
<string name="account_type">nextcloud.beta</string> <!-- better if was a domain name; but changing it now would require
|
||||
migrate accounts when the app is updated -->
|
||||
<string name="authority">org.nextcloud</string> <!-- better if was the app package with ".provider" appended ; it identifies the provider -->
|
||||
<string name="document_provider_authority">org.nextcloud.documents</string>
|
||||
<string name="authority">org.nextcloud.beta.provider</string> <!-- better if was the app package with ".provider" appended ; it identifies the provider -->
|
||||
<string name="authorityCache">org.nextcloud.beta.imageCache.provider</string>
|
||||
<string name="authoritySearch">org.nextcloud.beta.android.providers.UsersAndGroupsSearchProvider</string>
|
||||
<string name="document_provider_authority">org.nextcloud.beta.documents</string>
|
||||
<string name="file_provider_authority">org.nextcloud.beta.files</string>
|
||||
<string name ="db_file">nextcloud.db</string>
|
||||
<string name ="db_name">nextcloud</string>
|
||||
<string name ="data_folder">nextcloud</string>
|
||||
<string name ="log_name">nextcloud</string>
|
||||
<string name ="log_name">beta</string>
|
||||
<string name ="default_display_name_for_root_folder">Nextcloud</string>
|
||||
<string name ="user_agent">Mozilla/5.0 (Android) ownCloud-android/%1$s</string>
|
||||
<string name ="user_agent">Mozilla/5.0 (Android) nextcloud-android/%1$s</string>
|
||||
|
||||
<!-- URLs and flags related -->
|
||||
<string name="server_url"></string>
|
||||
<bool name="show_server_url_input">true</bool>
|
||||
<bool name="show_welcome_link">true</bool>
|
||||
<string name="welcome_link_url">"https://nextcloud.com"</string>
|
||||
<string name="welcome_link_url">"https://nextcloud.com/mobile/new"</string>
|
||||
<string name="share_api_link"></string>
|
||||
|
||||
<!-- Flags to setup the authentication methods available in the app -->
|
||||
@@ -61,8 +67,10 @@
|
||||
<bool name="imprint_enabled">false</bool>
|
||||
<bool name="recommend_enabled">true</bool>
|
||||
<bool name="feedback_enabled">true</bool>
|
||||
<bool name="logger_enabled">false</bool>
|
||||
<bool name="logger_enabled">true</bool>
|
||||
<string name="url_help">https://help.nextcloud.com/c/feature</string>
|
||||
<string name="beta_link">https://github.com/nextcloud/android/raw/beta/apks/nextcloud-beta-</string>
|
||||
<string name="beta_latest">https://github.com/nextcloud/android/raw/beta/apks/latest</string>
|
||||
<string name="url_imprint"></string>
|
||||
<string name="mail_recommend">"mailto:"</string>
|
||||
<string name="mail_feedback">"mailto:[email protected]"</string>
|
||||
|
||||
@@ -315,10 +315,16 @@
|
||||
<string name="preview_image_description">Image preview</string>
|
||||
<string name="preview_image_error_unknown_format">This image cannot be shown</string>
|
||||
|
||||
<string name="error_log_exit">Exit</string>
|
||||
<string name="error_log_send">Send Log</string>
|
||||
<string name="error_log_title">Error Log</string>
|
||||
|
||||
<string name="error__upload__local_file_not_copied">%1$s could not be copied to %2$s local folder</string>
|
||||
<string name="prefs_instant_upload_path_title">Instant upload folder</string>
|
||||
<string name="prefs_folder_sync_local_path_title">Local folder</string>
|
||||
<string name="prefs_folder_sync_remote_path_title">Remote folder</string>
|
||||
<string name="prefs_instant_upload_account">Account</string>
|
||||
<string name="prefs_instant_upload_path">Path</string>
|
||||
<string name="prefs_instant_upload_path_use_subfolders_title">Use subfolders</string>
|
||||
<string name="prefs_instant_upload_path_use_subfolders_summary">Store in subfolders based on year and month</string>
|
||||
|
||||
@@ -347,7 +353,7 @@
|
||||
<string name="network_error_socket_timeout_exception">An error occurred while waiting for the server, the operation couldn\'t have been done</string>
|
||||
<string name="network_error_connect_timeout_exception">An error occurred while waiting for the server, the operation couldn\'t have been done</string>
|
||||
<string name="network_host_not_available">The operation couldn\'t be completed, server is unavailable</string>
|
||||
<string name="empty" />
|
||||
<string name="empty" translatable="false" />
|
||||
|
||||
<string name="forbidden_permissions">You do not have permission %s</string>
|
||||
<string name="forbidden_permissions_rename">to rename this file</string>
|
||||
@@ -359,6 +365,28 @@
|
||||
<string name="uploader_upload_forbidden_permissions">to upload in this folder</string>
|
||||
<string name="downloader_download_file_not_found">The file is no longer available on the server</string>
|
||||
|
||||
<string name="file_migration_dialog_title">Updating storage path</string>
|
||||
<string name="file_migration_finish_button">Finish</string>
|
||||
<string name="file_migration_preparing">Preparing for migration…</string>
|
||||
<string name="file_migration_checking_destination">Checking destination…</string>
|
||||
<string name="file_migration_saving_accounts_configuration">Saving accounts configuration…</string>
|
||||
<string name="file_migration_waiting_for_unfinished_sync">Waiting for unfinished synchronizations…</string>
|
||||
<string name="file_migration_migrating">Moving data…</string>
|
||||
<string name="file_migration_updating_index">Updating index…</string>
|
||||
<string name="file_migration_cleaning">Cleaning…</string>
|
||||
<string name="file_migration_restoring_accounts_configuration">Restoring accounts configuration…</string>
|
||||
<string name="file_migration_ok_finished">Finished</string>
|
||||
<string name="file_migration_failed_not_enough_space">ERROR: Not enough space</string>
|
||||
<string name="file_migration_failed_not_writable">ERROR: File is not writable</string>
|
||||
<string name="file_migration_failed_not_readable">ERROR: File is not readable</string>
|
||||
<string name="file_migration_failed_dir_already_exists">ERROR: Nextcloud directory already exists</string>
|
||||
<string name="file_migration_failed_while_coping">ERROR: While migrating</string>
|
||||
<string name="file_migration_failed_while_updating_index">ERROR: While updating index</string>
|
||||
|
||||
<string name="file_migration_directory_already_exists">Data folder already exists, what to do?</string>
|
||||
<string name="file_migration_override_data_folder">Override</string>
|
||||
<string name="file_migration_use_data_folder">Use existing</string>
|
||||
|
||||
<string name="prefs_category_accounts">Accounts</string>
|
||||
<string name="prefs_add_account">Add account</string>
|
||||
<string name="drawer_manage_accounts">Manage accounts</string>
|
||||
@@ -425,6 +453,10 @@
|
||||
<string name="pref_behaviour_entries_keep_file">kept in original folder</string>
|
||||
<string name="pref_behaviour_entries_move">moved to app folder</string>
|
||||
<string name="pref_behaviour_entries_delete_file">deleted</string>
|
||||
<string name="prefs_storage_path">Storage path</string>
|
||||
<string name="prefs_common">Common</string>
|
||||
|
||||
<string name="pref_cache_size">Cache size</string>
|
||||
|
||||
<string name="share_dialog_title">Sharing</string>
|
||||
<string name="share_file">Share %1$s</string>
|
||||
@@ -457,6 +489,7 @@
|
||||
<string name="share_privilege_can_edit_delete">delete</string>
|
||||
<string name="edit_share_unshare">Stop sharing</string>
|
||||
<string name="edit_share_done">done</string>
|
||||
<string name="changelog">https://github.com/nextcloud/android/raw/beta/CHANGELOG.md</string>
|
||||
|
||||
<string name="action_retry_uploads">Retry failed</string>
|
||||
<string name="action_clear_failed_uploads">Clear failed</string>
|
||||
@@ -517,4 +550,28 @@
|
||||
<item quantity="other">%d selected</item>
|
||||
</plurals>
|
||||
|
||||
<string name="storage_description_default">Default</string>
|
||||
<string name="storage_description_sd_no">SD card %1$d</string>
|
||||
<string name="storage_description_unknown">Unknown</string>
|
||||
<string name="prefs_category_beta">Beta</string>
|
||||
|
||||
|
||||
<!-- What's new feature and texts to show -->
|
||||
<string name="whats_new_title">What\'s new in Nextcloud</string>
|
||||
|
||||
<!-- Welcome to oC intro features -->
|
||||
<string name="welcome_feature_1_title">Instant upload</string>
|
||||
<string name="welcome_feature_1_text">Keep your photos safe</string>
|
||||
|
||||
<string name="welcome_feature_2_title">Manage all your files</string>
|
||||
<string name="welcome_feature_2_text">You can delete, move</string>
|
||||
|
||||
<string name="welcome_feature_3_title">Share</string>
|
||||
<string name="welcome_feature_3_text">You can share files and folders</string>
|
||||
|
||||
<string name="welcome_feature_4_title">MultiAccount</string>
|
||||
<string name="welcome_feature_4_text">Connect to all your clouds</string>
|
||||
|
||||
<string name="welcome_feature_5_title">Your private files synced anywhere</string>
|
||||
<string name="whats_new_skip">Skip</string>
|
||||
</resources>
|
||||
@@ -277,4 +277,14 @@
|
||||
</style>
|
||||
<style name="Theme.ownCloud.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||
<style name="Theme.ownCloud.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
||||
|
||||
<!-- Text styles -->
|
||||
<style name="NextcloudTextAppearanceHeadline" parent="style/TextAppearance.AppCompat.Headline">
|
||||
<item name="android:textSize">28sp</item>
|
||||
<item name="android:textColor">#000000</item>
|
||||
</style>
|
||||
<style name="NextcloudTextAppearanceMedium" parent="style/TextAppearance.AppCompat.Medium">
|
||||
</style>
|
||||
<style name="NextcloudTextAppearanceSmall" parent="style/TextAppearance.AppCompat.Small">
|
||||
</style>
|
||||
</resources>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<paths xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<external-path name="file" path="/" />
|
||||
<!-- yes, valid for ALL external storage and not only our app folder, since we can't use @string/data_folder
|
||||
as a value for 'path' attribute; in practice, we will only generate URIs in our folders, of course -->
|
||||
</paths>
|
||||
@@ -18,12 +18,17 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<PreferenceCategory android:title="@string/prefs_category_general">
|
||||
<ListPreference
|
||||
android:title="@string/prefs_storage_path"
|
||||
android:key="storage_path" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/prefs_category_instant_uploading" android:key="instant_uploading_category">
|
||||
<com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:key="instant_uploading"
|
||||
android:title="@string/prefs_instant_upload"
|
||||
android:summary="@string/prefs_instant_upload_summary"/>
|
||||
<com.owncloud.android.ui.PreferenceWithLongSummary
|
||||
<com.owncloud.android.ui.PreferenceWithTwoLineLongSummary
|
||||
android:title="@string/prefs_instant_upload_path_title"
|
||||
android:key="instant_upload_path" />
|
||||
<com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
|
||||
@@ -31,8 +36,6 @@
|
||||
android:summary="@string/prefs_instant_upload_path_use_subfolders_summary"
|
||||
android:key="instant_upload_path_use_subfolders" />
|
||||
<com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
|
||||
android:dependency="instant_uploading"
|
||||
android:disableDependentsState="true"
|
||||
android:title="@string/instant_upload_on_wifi"
|
||||
android:key="instant_upload_on_wifi"/>
|
||||
<com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
|
||||
@@ -76,6 +79,10 @@
|
||||
<PreferenceCategory android:title="@string/prefs_category_details">
|
||||
<android.preference.CheckBoxPreference android:title="@string/prefs_passcode" android:key="set_pincode" />
|
||||
<android.preference.CheckBoxPreference android:title="@string/prefs_show_hidden_files" android:key="show_hidden_files" />
|
||||
|
||||
<EditTextPreference android:title="@string/pref_cache_size"
|
||||
android:key="pref_cache_size"
|
||||
android:digits="0123456789"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
|
||||
@@ -90,4 +97,15 @@
|
||||
<Preference android:title="@string/about_title" android:id="@+id/about_app" android:key="about_app" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/prefs_category_beta" android:key="beta_category">
|
||||
<Preference android:id="@+id/beta_link"
|
||||
android:title="Download latest beta version"
|
||||
android:key="beta_link" />
|
||||
|
||||
<Preference android:id="@+id/changelog_link"
|
||||
android:title="Changelog beta version"
|
||||
android:key="changelog_link" />
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -22,7 +22,7 @@
|
||||
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:label="@string/app_name"
|
||||
android:hint="@string/search_users_and_groups_hint"
|
||||
android:searchSuggestAuthority="com.nextcloud.android.providers.UsersAndGroupsSearchProvider"
|
||||
android:searchSuggestIntentAction="com.nextcloud.android.providers.UsersAndGroupsSearchProvider.action.SHARE_WITH"
|
||||
android:searchSuggestAuthority="org.nextcloud.beta.android.providers.UsersAndGroupsSearchProvider"
|
||||
android:searchSuggestIntentAction="org.nextcloud.beta.android.providers.UsersAndGroupsSearchProvider.action.SHARE_WITH"
|
||||
android:searchSuggestThreshold="1" >
|
||||
</searchable>
|
||||
@@ -26,11 +26,14 @@ import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.ServiceConnection;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.pm.PackageInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Bundle;
|
||||
import android.os.Environment;
|
||||
import android.os.IBinder;
|
||||
import android.util.Log;
|
||||
import android.preference.PreferenceManager;
|
||||
|
||||
import com.owncloud.android.authentication.PassCodeManager;
|
||||
import com.owncloud.android.datamodel.ThumbnailsCacheManager;
|
||||
@@ -39,6 +42,9 @@ import com.owncloud.android.lib.common.OwnCloudClientManagerFactory.Policy;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.services.observer.SyncedFolderObserverService;
|
||||
|
||||
import com.owncloud.android.ui.activity.WhatsNewActivity;
|
||||
import com.owncloud.android.utils.ExceptionHandler;
|
||||
import com.owncloud.android.ui.activity.Preferences;
|
||||
|
||||
/**
|
||||
* Main Application of the project
|
||||
@@ -59,16 +65,27 @@ public class MainApp extends Application {
|
||||
|
||||
private static Context mContext;
|
||||
|
||||
private static String storagePath;
|
||||
|
||||
private static boolean mOnlyOnDevice = false;
|
||||
|
||||
private static SyncedFolderObserverService mObserverService;
|
||||
private boolean mBound;
|
||||
|
||||
|
||||
|
||||
public void onCreate(){
|
||||
super.onCreate();
|
||||
MainApp.mContext = getApplicationContext();
|
||||
|
||||
|
||||
// Setup handler for uncaught exceptions.
|
||||
Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler());
|
||||
|
||||
|
||||
SharedPreferences appPrefs =
|
||||
PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
|
||||
MainApp.storagePath = appPrefs.getString(Preferences.Keys.STORAGE_PATH, Environment.
|
||||
getExternalStorageDirectory().getAbsolutePath());
|
||||
|
||||
boolean isSamlAuth = AUTH_ON.equals(getString(R.string.auth_method_saml_web_sso));
|
||||
|
||||
OwnCloudClientManagerFactory.setUserAgent(getUserAgent());
|
||||
@@ -80,18 +97,15 @@ public class MainApp extends Application {
|
||||
|
||||
// initialise thumbnails cache on background thread
|
||||
new ThumbnailsCacheManager.InitDiskCacheTask().execute();
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
|
||||
String dataFolder = getDataFolder();
|
||||
|
||||
// Set folder for store logs
|
||||
Log_OC.setLogDataFolder(dataFolder);
|
||||
String dataFolder = getDataFolder() + getAppContext().getResources().getString(R.string.log_name);
|
||||
|
||||
//TODO: to be changed/fixed whenever SD card support gets merged.
|
||||
Log_OC.startLogging(Environment.getExternalStorageDirectory().getAbsolutePath());
|
||||
Log_OC.d("Debug", "start logging");
|
||||
}
|
||||
// Set folder for store logs
|
||||
Log_OC.setLogDataFolder(dataFolder);
|
||||
|
||||
Log_OC.startLogging(MainApp.storagePath);
|
||||
Log_OC.d("Debug", "start logging");
|
||||
|
||||
Log_OC.d("SyncedFolderObserverService", "Start service SyncedFolderObserverService");
|
||||
Intent i = new Intent(this, SyncedFolderObserverService.class);
|
||||
@@ -104,6 +118,7 @@ public class MainApp extends Application {
|
||||
@Override
|
||||
public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
|
||||
Log_OC.d(activity.getClass().getSimpleName(), "onCreate(Bundle) starting" );
|
||||
WhatsNewActivity.runIfNeeded(activity);
|
||||
PassCodeManager.getPassCodeManager().onActivityCreated(activity);
|
||||
}
|
||||
|
||||
@@ -145,14 +160,33 @@ public class MainApp extends Application {
|
||||
return MainApp.mContext;
|
||||
}
|
||||
|
||||
// Methods to obtain Strings referring app_name
|
||||
public static String getStoragePath(){
|
||||
return MainApp.storagePath;
|
||||
}
|
||||
|
||||
public static void setStoragePath(String path){
|
||||
MainApp.storagePath = path;
|
||||
}
|
||||
|
||||
// Methods to obtain Strings referring app_name
|
||||
// From AccountAuthenticator
|
||||
// public static final String ACCOUNT_TYPE = "owncloud";
|
||||
public static String getAccountType() {
|
||||
return getAppContext().getResources().getString(R.string.account_type);
|
||||
}
|
||||
|
||||
// From AccountAuthenticator
|
||||
// Non gradle build systems do not provide BuildConfig.VERSION_CODE
|
||||
// so we must fallback to this method :(
|
||||
public static int getVersionCode() {
|
||||
try {
|
||||
String thisPackageName = getAppContext().getPackageName();
|
||||
return getAppContext().getPackageManager().getPackageInfo(thisPackageName, 0).versionCode;
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// From AccountAuthenticator
|
||||
// public static final String AUTHORITY = "org.owncloud";
|
||||
public static String getAuthority() {
|
||||
return getAppContext().getResources().getString(R.string.authority);
|
||||
|
||||
@@ -332,4 +332,28 @@ public class AccountUtils {
|
||||
}
|
||||
return (serverVersion != null ? serverVersion.isSearchUsersSupported() : false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns account for instant upload or null, if not defined.
|
||||
* @return instant upload account or null
|
||||
*/
|
||||
public static Account getInstantUploadAccount(Context context) {
|
||||
return getAccount(com.owncloud.android.db.PreferenceManager.instantPictureUploadPathAccount(context));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns account for instant video upload or null, if not defined.
|
||||
* @return instant video upload account or null
|
||||
*/
|
||||
public static Account getInstantVideoUploadAccount(Context context) {
|
||||
return getAccount(com.owncloud.android.db.PreferenceManager.instantVideoUploadPathAccount(context));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns account for given account name or null, if not defined.
|
||||
* @return account named accountNam or null
|
||||
*/
|
||||
private static Account getAccount(String accountName) {
|
||||
return getOwnCloudAccountByName(MainApp.getAppContext(), accountName);
|
||||
}
|
||||
}
|
||||
@@ -43,13 +43,9 @@ import com.owncloud.android.lib.resources.status.CapabilityBooleanType;
|
||||
import com.owncloud.android.lib.resources.status.OCCapability;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
import com.owncloud.android.utils.MimeType;
|
||||
import com.owncloud.android.utils.MimeTypeUtil;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
@@ -161,7 +157,7 @@ public class FileDataStorageManager {
|
||||
OCFile current = null;
|
||||
for (int i=0; i<tmp.size(); i++) {
|
||||
current = tmp.get(i);
|
||||
if (current.isImage()) {
|
||||
if (MimeTypeUtil.isImage(current)) {
|
||||
ret.add(current);
|
||||
}
|
||||
}
|
||||
@@ -726,44 +722,69 @@ public class FileDataStorageManager {
|
||||
if (!targetFolder.exists()) {
|
||||
targetFolder.mkdirs();
|
||||
}
|
||||
copied = copyFile(localFile, targetFile);
|
||||
copied = FileStorageUtils.copyFile(localFile, targetFile);
|
||||
}
|
||||
Log_OC.d(TAG, "Local file COPIED : " + copied);
|
||||
}
|
||||
}
|
||||
|
||||
private boolean copyFile(File src, File target) {
|
||||
boolean ret = true;
|
||||
public void migrateStoredFiles(String srcPath, String dstPath) throws Exception {
|
||||
Cursor c = null;
|
||||
if (getContentResolver() != null) {
|
||||
c = getContentResolver().query(ProviderTableMeta.CONTENT_URI_FILE,
|
||||
null,
|
||||
ProviderTableMeta.FILE_STORAGE_PATH + " IS NOT NULL",
|
||||
null,
|
||||
null);
|
||||
|
||||
InputStream in = null;
|
||||
OutputStream out = null;
|
||||
|
||||
try {
|
||||
in = new FileInputStream(src);
|
||||
out = new FileOutputStream(target);
|
||||
byte[] buf = new byte[1024];
|
||||
int len;
|
||||
while ((len = in.read(buf)) > 0) {
|
||||
out.write(buf, 0, len);
|
||||
}
|
||||
} catch (IOException ex) {
|
||||
ret = false;
|
||||
} finally {
|
||||
if (in != null) try {
|
||||
in.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace(System.err);
|
||||
}
|
||||
if (out != null) try {
|
||||
out.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace(System.err);
|
||||
} else {
|
||||
try {
|
||||
c = getContentProviderClient().query(ProviderTableMeta.CONTENT_URI_FILE,
|
||||
new String[]{ProviderTableMeta._ID, ProviderTableMeta.FILE_STORAGE_PATH},
|
||||
ProviderTableMeta.FILE_STORAGE_PATH + " IS NOT NULL",
|
||||
null,
|
||||
null);
|
||||
} catch (RemoteException e) {
|
||||
Log_OC.e(TAG, e.getMessage());
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
ArrayList<ContentProviderOperation> operations =
|
||||
new ArrayList<ContentProviderOperation>(c.getCount());
|
||||
if (c.moveToFirst()) {
|
||||
do {
|
||||
ContentValues cv = new ContentValues();
|
||||
long fileId = c.getLong(c.getColumnIndex(ProviderTableMeta._ID));
|
||||
String oldFileStoragePath = c.getString(c.getColumnIndex(ProviderTableMeta.FILE_STORAGE_PATH));
|
||||
|
||||
if (oldFileStoragePath.startsWith(srcPath)) {
|
||||
|
||||
cv.put(
|
||||
ProviderTableMeta.FILE_STORAGE_PATH,
|
||||
oldFileStoragePath.replaceFirst(srcPath, dstPath));
|
||||
|
||||
operations.add(
|
||||
ContentProviderOperation.newUpdate(ProviderTableMeta.CONTENT_URI).
|
||||
withValues(cv).
|
||||
withSelection(
|
||||
ProviderTableMeta._ID + "=?",
|
||||
new String[]{String.valueOf(fileId)}
|
||||
)
|
||||
.build());
|
||||
}
|
||||
|
||||
} while (c.moveToNext());
|
||||
}
|
||||
c.close();
|
||||
|
||||
/// 3. apply updates in batch
|
||||
if (getContentResolver() != null) {
|
||||
getContentResolver().applyBatch(MainApp.getAuthority(), operations);
|
||||
} else {
|
||||
getContentProviderClient().applyBatch(operations);
|
||||
}
|
||||
}
|
||||
|
||||
private Vector<OCFile> getFolderContent(long parentId, boolean onlyOnDevice) {
|
||||
|
||||
@@ -1689,15 +1710,15 @@ public class FileDataStorageManager {
|
||||
ContentResolver contentResolver = getContentResolver();
|
||||
|
||||
if (contentResolver != null) {
|
||||
if (mimetypeString.startsWith("image/")) {
|
||||
if (MimeTypeUtil.isImage(mimetypeString)) {
|
||||
// Images
|
||||
contentResolver.delete(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
|
||||
MediaStore.Images.Media.DATA + "=?", new String[]{path});
|
||||
} else if (mimetypeString.startsWith("audio/")) {
|
||||
} else if (MimeTypeUtil.isAudio(mimetypeString)) {
|
||||
// Audio
|
||||
contentResolver.delete(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
|
||||
MediaStore.Audio.Media.DATA + "=?", new String[]{path});
|
||||
} else if (mimetypeString.startsWith("video/")) {
|
||||
} else if (MimeTypeUtil.isVideo(mimetypeString)) {
|
||||
// Video
|
||||
contentResolver.delete(MediaStore.Video.Media.EXTERNAL_CONTENT_URI,
|
||||
MediaStore.Video.Media.DATA + "=?", new String[]{path});
|
||||
@@ -1705,15 +1726,15 @@ public class FileDataStorageManager {
|
||||
} else {
|
||||
ContentProviderClient contentProviderClient = getContentProviderClient();
|
||||
try {
|
||||
if (mimetypeString.startsWith("image/")) {
|
||||
if (MimeTypeUtil.isImage(mimetypeString)) {
|
||||
// Images
|
||||
contentProviderClient.delete(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
|
||||
MediaStore.Images.Media.DATA + "=?", new String[]{path});
|
||||
} else if (mimetypeString.startsWith("audio/")) {
|
||||
} else if (MimeTypeUtil.isAudio(mimetypeString)) {
|
||||
// Audio
|
||||
contentProviderClient.delete(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
|
||||
MediaStore.Audio.Media.DATA + "=?", new String[]{path});
|
||||
} else if (mimetypeString.startsWith("video/")) {
|
||||
} else if (MimeTypeUtil.isVideo(mimetypeString)) {
|
||||
// Video
|
||||
contentProviderClient.delete(MediaStore.Video.Media.EXTERNAL_CONTENT_URI,
|
||||
MediaStore.Video.Media.DATA + "=?", new String[]{path});
|
||||
@@ -1722,7 +1743,6 @@ public class FileDataStorageManager {
|
||||
Log_OC.e(TAG, "Exception deleting media file in MediaStore " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void saveConflict(OCFile file, String etagInConflict) {
|
||||
|
||||
@@ -24,11 +24,16 @@ package com.owncloud.android.datamodel;
|
||||
|
||||
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.support.v4.content.FileProvider;
|
||||
import android.webkit.MimeTypeMap;
|
||||
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.lib.common.network.WebdavUtils;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.utils.MimeType;
|
||||
|
||||
@@ -95,6 +100,14 @@ public class OCFile implements Parcelable, Comparable<OCFile> {
|
||||
private Uri mLocalUri;
|
||||
|
||||
|
||||
/**
|
||||
* Exportable URI to the local path of the file contents, if stored in the device.
|
||||
*
|
||||
* Cached after first call, until changed.
|
||||
*/
|
||||
private Uri mExposedFileUri;
|
||||
|
||||
|
||||
/**
|
||||
* Create new {@link OCFile} with given path.
|
||||
* <p/>
|
||||
@@ -245,6 +258,32 @@ public class OCFile implements Parcelable, Comparable<OCFile> {
|
||||
return mLocalUri;
|
||||
}
|
||||
|
||||
public Uri getExposedFileUri(Context context) {
|
||||
if (mLocalPath == null || mLocalPath.length() == 0) {
|
||||
return null;
|
||||
}
|
||||
if (mExposedFileUri == null) {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) {
|
||||
// TODO - use FileProvider with any Android version, with deeper testing -> 2.2.0
|
||||
mExposedFileUri = Uri.parse(
|
||||
ContentResolver.SCHEME_FILE + "://" + WebdavUtils.encodePath(mLocalPath)
|
||||
);
|
||||
} else {
|
||||
// Use the FileProvider to get a content URI
|
||||
try {
|
||||
mExposedFileUri = FileProvider.getUriForFile(
|
||||
context,
|
||||
context.getString(R.string.file_provider_authority),
|
||||
new File(mLocalPath)
|
||||
);
|
||||
} catch (IllegalArgumentException e) {
|
||||
Log_OC.e(TAG, "File can't be exported");
|
||||
}
|
||||
}
|
||||
}
|
||||
return mExposedFileUri;
|
||||
}
|
||||
|
||||
/**
|
||||
* Can be used to set the path where the file is stored
|
||||
*
|
||||
@@ -253,6 +292,7 @@ public class OCFile implements Parcelable, Comparable<OCFile> {
|
||||
public void setStoragePath(String storage_path) {
|
||||
mLocalPath = storage_path;
|
||||
mLocalUri = null;
|
||||
mExposedFileUri = null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -562,53 +602,6 @@ public class OCFile implements Parcelable, Comparable<OCFile> {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return 'True' if the file contains audio
|
||||
*/
|
||||
public boolean isAudio() {
|
||||
return (mMimeType != null && mMimeType.startsWith("audio/"));
|
||||
}
|
||||
|
||||
/**
|
||||
* @return 'True' if the file contains video
|
||||
*/
|
||||
public boolean isVideo() {
|
||||
return (mMimeType != null && mMimeType.startsWith("video/"));
|
||||
}
|
||||
|
||||
/**
|
||||
* @return 'True' if the file contains an image
|
||||
*/
|
||||
public boolean isImage() {
|
||||
String mimeType;
|
||||
if (mMimeType != null) {
|
||||
mimeType = mMimeType;
|
||||
} else {
|
||||
mimeType = getMimeTypeFromName();
|
||||
}
|
||||
|
||||
return (mimeType.startsWith("image/") && !mimeType.contains("djvu"));
|
||||
}
|
||||
|
||||
/**
|
||||
* @return 'True' if the file is simple text (e.g. not application-dependent, like .doc or .docx)
|
||||
*/
|
||||
public boolean isText() {
|
||||
return ((mMimeType != null && mMimeType.startsWith("text/")) ||
|
||||
getMimeTypeFromName().startsWith("text/"));
|
||||
}
|
||||
|
||||
public String getMimeTypeFromName() {
|
||||
String extension = "";
|
||||
int pos = mRemotePath.lastIndexOf('.');
|
||||
if (pos >= 0) {
|
||||
extension = mRemotePath.substring(pos + 1);
|
||||
}
|
||||
String result = MimeTypeMap.getSingleton().
|
||||
getMimeTypeFromExtension(extension.toLowerCase());
|
||||
return (result != null) ? result : "";
|
||||
}
|
||||
|
||||
/**
|
||||
* @return 'True' if the file is hidden
|
||||
*/
|
||||
|
||||
@@ -22,19 +22,27 @@
|
||||
package com.owncloud.android.datamodel;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Bitmap.CompressFormat;
|
||||
import android.graphics.BitmapFactory;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.Point;
|
||||
import android.graphics.drawable.BitmapDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.media.ThumbnailUtils;
|
||||
import android.net.Uri;
|
||||
import android.os.AsyncTask;
|
||||
import android.view.Display;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.WindowManager;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.ProgressBar;
|
||||
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
@@ -48,7 +56,8 @@ import com.owncloud.android.ui.adapter.DiskLruImageCache;
|
||||
import com.owncloud.android.utils.BitmapUtils;
|
||||
import com.owncloud.android.utils.DisplayUtils.AvatarGenerationListener;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
import com.owncloud.android.utils.MimetypeIconUtil;
|
||||
import com.owncloud.android.utils.MimeType;
|
||||
import com.owncloud.android.utils.MimeTypeUtil;
|
||||
|
||||
import org.apache.commons.httpclient.HttpStatus;
|
||||
import org.apache.commons.httpclient.methods.GetMethod;
|
||||
@@ -65,12 +74,12 @@ public class ThumbnailsCacheManager {
|
||||
private static final String TAG = ThumbnailsCacheManager.class.getSimpleName();
|
||||
|
||||
private static final String CACHE_FOLDER = "thumbnailCache";
|
||||
private static final Integer CACHE_SIZE_MB = 10;
|
||||
|
||||
private static final Object mThumbnailsDiskCacheLock = new Object();
|
||||
private static DiskLruImageCache mThumbnailCache = null;
|
||||
private static boolean mThumbnailCacheStarting = true;
|
||||
|
||||
private static final int DISK_CACHE_SIZE = 1024 * 1024 * 10; // 10MB
|
||||
|
||||
private static final CompressFormat mCompressFormat = CompressFormat.JPEG;
|
||||
private static final int mCompressQuality = 70;
|
||||
private static OwnCloudClient mClient = null;
|
||||
@@ -87,7 +96,7 @@ public class ThumbnailsCacheManager {
|
||||
R.drawable.file_movie
|
||||
);
|
||||
|
||||
|
||||
|
||||
public static class InitDiskCacheTask extends AsyncTask<File, Void, Void> {
|
||||
|
||||
@Override
|
||||
@@ -97,7 +106,19 @@ public class ThumbnailsCacheManager {
|
||||
|
||||
if (mThumbnailCache == null) {
|
||||
try {
|
||||
// Check if media is mounted or storage is built-in, if so,
|
||||
SharedPreferences appPrefs =
|
||||
PreferenceManager.getDefaultSharedPreferences(MainApp.getAppContext());
|
||||
// due to backward compatibility
|
||||
Integer cacheSize = CACHE_SIZE_MB * 1024 * 1024;
|
||||
try {
|
||||
cacheSize = appPrefs.getInt("pref_cache_size", cacheSize);
|
||||
} catch (ClassCastException e) {
|
||||
String temp = appPrefs.getString("pref_cache_size",
|
||||
cacheSize.toString());
|
||||
cacheSize = Integer.decode(temp) * 1024 * 1024;
|
||||
}
|
||||
|
||||
// Check if media is mounted or storage is built-in, if so,
|
||||
// try and use external cache dir; otherwise use internal cache dir
|
||||
final String cachePath =
|
||||
MainApp.getAppContext().getExternalCacheDir().getPath() +
|
||||
@@ -106,7 +127,7 @@ public class ThumbnailsCacheManager {
|
||||
final File diskCacheDir = new File(cachePath);
|
||||
mThumbnailCache = new DiskLruImageCache(
|
||||
diskCacheDir,
|
||||
DISK_CACHE_SIZE,
|
||||
cacheSize,
|
||||
mCompressFormat,
|
||||
mCompressQuality
|
||||
);
|
||||
@@ -161,6 +182,7 @@ public class ThumbnailsCacheManager {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static Bitmap getBitmapFromDiskCache(String key) {
|
||||
synchronized (mThumbnailsDiskCacheLock) {
|
||||
// Wait while disk cache is started from background thread
|
||||
@@ -178,14 +200,40 @@ public class ThumbnailsCacheManager {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets max size of cache
|
||||
* @param maxSize in MB
|
||||
* @return
|
||||
*/
|
||||
public static boolean setMaxSize(long maxSize){
|
||||
if (mThumbnailCache != null){
|
||||
mThumbnailCache.setMaxSize(maxSize * 1024 * 1024);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Shows max cache size
|
||||
* @return max cache size in MB.
|
||||
*/
|
||||
public static long getMaxSize(){
|
||||
if (mThumbnailCache == null) {
|
||||
new ThumbnailsCacheManager.InitDiskCacheTask().execute();
|
||||
}
|
||||
return mThumbnailCache.getMaxSize() / 1024 / 1024;
|
||||
}
|
||||
|
||||
public static class ThumbnailGenerationTask extends AsyncTask<Object, Void, Bitmap> {
|
||||
private final WeakReference<ImageView> mImageViewReference;
|
||||
private WeakReference<ProgressBar> mProgressWheelRef;
|
||||
private static Account mAccount;
|
||||
private Object mFile;
|
||||
private Boolean mIsThumbnail;
|
||||
private String mImageKey = null;
|
||||
private FileDataStorageManager mStorageManager;
|
||||
|
||||
|
||||
public ThumbnailGenerationTask(ImageView imageView, FileDataStorageManager storageManager,
|
||||
Account account) {
|
||||
// Use a WeakReference to ensure the ImageView can be garbage collected
|
||||
@@ -204,6 +252,12 @@ public class ThumbnailsCacheManager {
|
||||
mImageViewReference = null;
|
||||
}
|
||||
|
||||
public ThumbnailGenerationTask(ImageView imageView, FileDataStorageManager storageManager,
|
||||
Account account, ProgressBar progressWheel) {
|
||||
this(imageView, storageManager, account);
|
||||
mProgressWheelRef = new WeakReference<ProgressBar>(progressWheel);
|
||||
}
|
||||
|
||||
public ThumbnailGenerationTask(ImageView imageView) {
|
||||
// Use a WeakReference to ensure the ImageView can be garbage collected
|
||||
mImageViewReference = new WeakReference<ImageView>(imageView);
|
||||
@@ -224,23 +278,25 @@ public class ThumbnailsCacheManager {
|
||||
}
|
||||
|
||||
mFile = params[0];
|
||||
if (params.length == 2){
|
||||
mImageKey = (String) params[1];
|
||||
}
|
||||
|
||||
if (mFile instanceof OCFile) {
|
||||
thumbnail = doOCFileInBackground();
|
||||
mIsThumbnail = (Boolean) params[1];
|
||||
|
||||
if (((OCFile) mFile).isVideo() && thumbnail != null){
|
||||
if (params.length == 3){
|
||||
mImageKey = (String) params[2];
|
||||
}
|
||||
|
||||
if (mFile instanceof OCFile) {
|
||||
thumbnail = doOCFileInBackground(mIsThumbnail);
|
||||
|
||||
if (MimeTypeUtil.isVideo((OCFile) mFile) && thumbnail != null) {
|
||||
thumbnail = addVideoOverlay(thumbnail);
|
||||
}
|
||||
} else if (mFile instanceof File) {
|
||||
thumbnail = doFileInBackground();
|
||||
thumbnail = doFileInBackground(mIsThumbnail);
|
||||
|
||||
String url = ((File) mFile).getAbsolutePath();
|
||||
String mMimeType = FileStorageUtils.getMimeTypeFromName(url);
|
||||
|
||||
if (mMimeType != null && mMimeType.startsWith("video/") && thumbnail != null){
|
||||
if (MimeTypeUtil.isVideo(mMimeType) && thumbnail != null) {
|
||||
thumbnail = addVideoOverlay(thumbnail);
|
||||
}
|
||||
//} else { do nothing
|
||||
@@ -269,12 +325,41 @@ public class ThumbnailsCacheManager {
|
||||
tagId = String.valueOf(mFile.hashCode());
|
||||
}
|
||||
if (String.valueOf(imageView.getTag()).equals(tagId)) {
|
||||
if (mProgressWheelRef != null) {
|
||||
final ProgressBar progressWheel = mProgressWheelRef.get();
|
||||
if (progressWheel != null) {
|
||||
progressWheel.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
imageView.setImageBitmap(bitmap);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add thumbnail to cache
|
||||
* @param imageKey: thumb key
|
||||
* @param bitmap: image for extracting thumbnail
|
||||
* @param path: image path
|
||||
* @param pxW: thumbnail width in pixel
|
||||
* @param pxH: thumbnail height in pixel
|
||||
* @return Bitmap
|
||||
*/
|
||||
private Bitmap addThumbnailToCache(String imageKey, Bitmap bitmap, String path,
|
||||
int pxW, int pxH){
|
||||
|
||||
Bitmap thumbnail = ThumbnailUtils.extractThumbnail(bitmap, pxW, pxH);
|
||||
|
||||
// Rotate image, obeying exif tag
|
||||
thumbnail = BitmapUtils.rotateImage(thumbnail,path);
|
||||
|
||||
// Add thumbnail to cache
|
||||
addBitmapToCache(imageKey, thumbnail);
|
||||
|
||||
return thumbnail;
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts size of file icon from dp to pixel
|
||||
* @return int
|
||||
@@ -285,31 +370,56 @@ public class ThumbnailsCacheManager {
|
||||
return Math.round(r.getDimension(R.dimen.file_icon_size_grid));
|
||||
}
|
||||
|
||||
private Bitmap doOCFileInBackground() {
|
||||
private Point getScreenDimension(){
|
||||
WindowManager wm = (WindowManager) MainApp.getAppContext().
|
||||
getSystemService(Context.WINDOW_SERVICE);
|
||||
Display display = wm.getDefaultDisplay();
|
||||
Point test = new Point();
|
||||
display.getSize(test);
|
||||
return test;
|
||||
}
|
||||
|
||||
private Bitmap doOCFileInBackground(Boolean isThumbnail) {
|
||||
Bitmap thumbnail = null;
|
||||
OCFile file = (OCFile)mFile;
|
||||
|
||||
final String imageKey = String.valueOf(file.getRemoteId());
|
||||
// distinguish between thumbnail and resized image
|
||||
String temp = String.valueOf(file.getRemoteId());
|
||||
if (isThumbnail){
|
||||
temp = "t" + temp;
|
||||
} else {
|
||||
temp = "r" + temp;
|
||||
}
|
||||
|
||||
final String imageKey = temp;
|
||||
|
||||
// Check disk cache in background thread
|
||||
Bitmap thumbnail = getBitmapFromDiskCache(imageKey);
|
||||
thumbnail = getBitmapFromDiskCache(imageKey);
|
||||
|
||||
// Not found in disk cache
|
||||
if (thumbnail == null || file.needsUpdateThumbnail()) {
|
||||
|
||||
int px = getThumbnailDimension();
|
||||
int pxW = 0;
|
||||
int pxH = 0;
|
||||
if (mIsThumbnail) {
|
||||
pxW = pxH = getThumbnailDimension();
|
||||
} else {
|
||||
Point p = getScreenDimension();
|
||||
pxW = p.x;
|
||||
pxH = p.y;
|
||||
}
|
||||
|
||||
if (file.isDown()) {
|
||||
Bitmap temp = BitmapUtils.decodeSampledBitmapFromFile(
|
||||
file.getStoragePath(), px, px);
|
||||
Bitmap bitmap = ThumbnailUtils.extractThumbnail(temp, px, px);
|
||||
Bitmap bitmap = BitmapUtils.decodeSampledBitmapFromFile(
|
||||
file.getStoragePath(), pxW, pxH);
|
||||
|
||||
if (bitmap != null) {
|
||||
// Handle PNG
|
||||
if (file.getMimetype().equalsIgnoreCase("image/png")) {
|
||||
bitmap = handlePNG(bitmap, px);
|
||||
bitmap = handlePNG(bitmap, pxW);
|
||||
}
|
||||
|
||||
thumbnail = addThumbnailToCache(imageKey, bitmap, file.getStoragePath(), px);
|
||||
thumbnail = addThumbnailToCache(imageKey, bitmap, file.getStoragePath(),
|
||||
pxW, pxH);
|
||||
|
||||
file.setNeedsUpdateThumbnail(false);
|
||||
mStorageManager.saveFile(file);
|
||||
@@ -322,30 +432,47 @@ public class ThumbnailsCacheManager {
|
||||
if (serverOCVersion.supportsRemoteThumbnails()) {
|
||||
GetMethod get = null;
|
||||
try {
|
||||
String uri = mClient.getBaseUri() + "" +
|
||||
"/index.php/apps/files/api/v1/thumbnail/" +
|
||||
px + "/" + px + Uri.encode(file.getRemotePath(), "/");
|
||||
Log_OC.d("Thumbnail", "URI: " + uri);
|
||||
get = new GetMethod(uri);
|
||||
get.setRequestHeader("Cookie",
|
||||
"nc_sameSiteCookielax=true;nc_sameSiteCookiestrict=true");
|
||||
int status = mClient.executeMethod(get);
|
||||
if (status == HttpStatus.SC_OK) {
|
||||
InputStream inputStream = get.getResponseBodyAsStream();
|
||||
Bitmap bitmap = BitmapFactory.decodeStream(inputStream);
|
||||
thumbnail = ThumbnailUtils.extractThumbnail(bitmap, px, px);
|
||||
|
||||
// Handle PNG
|
||||
if (file.getMimetype().equalsIgnoreCase("image/png")) {
|
||||
thumbnail = handlePNG(thumbnail, px);
|
||||
}
|
||||
|
||||
// Add thumbnail to cache
|
||||
if (thumbnail != null) {
|
||||
addBitmapToCache(imageKey, thumbnail);
|
||||
if (mIsThumbnail) {
|
||||
String uri = mClient.getBaseUri() + "" +
|
||||
"/index.php/apps/files/api/v1/thumbnail/" +
|
||||
pxW + "/" + pxH + Uri.encode(file.getRemotePath(), "/");
|
||||
Log_OC.d("Thumbnail", "URI: " + uri);
|
||||
get = new GetMethod(uri);
|
||||
get.setRequestHeader("Cookie",
|
||||
"nc_sameSiteCookielax=true;nc_sameSiteCookiestrict=true");
|
||||
int status = mClient.executeMethod(get);
|
||||
if (status == HttpStatus.SC_OK) {
|
||||
InputStream inputStream = get.getResponseBodyAsStream();
|
||||
Bitmap bitmap = BitmapFactory.decodeStream(inputStream);
|
||||
thumbnail = ThumbnailUtils.extractThumbnail(bitmap, pxW, pxH);
|
||||
}
|
||||
} else {
|
||||
mClient.exhaustResponse(get.getResponseBodyAsStream());
|
||||
String uri = mClient.getBaseUri() + "" +
|
||||
"/index.php/apps/gallery/api/preview/" +
|
||||
Integer.parseInt(file.getRemoteId().substring(0,8)) +
|
||||
"/" + pxW + "/" + pxH;
|
||||
Log_OC.d("Thumbnail", "FileName: " + file.getFileName() +
|
||||
" Download URI: " + uri);
|
||||
get = new GetMethod(uri);
|
||||
get.setRequestHeader("Cookie",
|
||||
"nc_sameSiteCookielax=true;nc_sameSiteCookiestrict=true");
|
||||
int status = mClient.executeMethod(get);
|
||||
if (status == HttpStatus.SC_OK) {
|
||||
InputStream inputStream = get.getResponseBodyAsStream();
|
||||
Bitmap bitmap = BitmapFactory.decodeStream(inputStream);
|
||||
// Download via gallery app
|
||||
thumbnail = bitmap;
|
||||
}
|
||||
}
|
||||
|
||||
// Handle PNG
|
||||
if (file.getMimetype().equalsIgnoreCase("image/png")) {
|
||||
thumbnail = handlePNG(thumbnail, pxW);
|
||||
}
|
||||
|
||||
// Add thumbnail to cache
|
||||
if (thumbnail != null) {
|
||||
addBitmapToCache(imageKey, thumbnail);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
@@ -365,7 +492,7 @@ public class ThumbnailsCacheManager {
|
||||
|
||||
}
|
||||
|
||||
private Bitmap doFileInBackground() {
|
||||
private Bitmap doFileInBackground(Boolean mIsThumbnail) {
|
||||
File file = (File)mFile;
|
||||
|
||||
final String imageKey;
|
||||
@@ -375,19 +502,33 @@ public class ThumbnailsCacheManager {
|
||||
imageKey = String.valueOf(file.hashCode());
|
||||
}
|
||||
|
||||
// distinguish between thumbnail and resized image
|
||||
if (mIsThumbnail){
|
||||
mImageKey = "t" + mImageKey;
|
||||
} else {
|
||||
mImageKey = "r" + mImageKey;
|
||||
}
|
||||
|
||||
// Check disk cache in background thread
|
||||
Bitmap thumbnail = getBitmapFromDiskCache(imageKey);
|
||||
|
||||
// Not found in disk cache
|
||||
if (thumbnail == null) {
|
||||
|
||||
int px = getThumbnailDimension();
|
||||
int pxW = 0;
|
||||
int pxH = 0;
|
||||
if (mIsThumbnail) {
|
||||
pxW = pxH = getThumbnailDimension();
|
||||
} else {
|
||||
Point p = getScreenDimension();
|
||||
pxW = p.x;
|
||||
pxH = p.y;
|
||||
}
|
||||
|
||||
Bitmap bitmap = BitmapUtils.decodeSampledBitmapFromFile(
|
||||
file.getAbsolutePath(), px, px);
|
||||
file.getAbsolutePath(), pxW, pxH);
|
||||
|
||||
if (bitmap != null) {
|
||||
thumbnail = addThumbnailToCache(imageKey, bitmap, file.getPath(), px);
|
||||
thumbnail = addThumbnailToCache(imageKey, bitmap, file.getPath(), pxW, pxH);
|
||||
}
|
||||
}
|
||||
return thumbnail;
|
||||
@@ -451,7 +592,7 @@ public class ThumbnailsCacheManager {
|
||||
if (BitmapUtils.isVideo(mFile)) {
|
||||
imageView.setImageBitmap(ThumbnailsCacheManager.mDefaultVideo);
|
||||
} else {
|
||||
imageView.setImageResource(MimetypeIconUtil.getFileTypeIconId(null, mFile.getName()));
|
||||
imageView.setImageResource(MimeTypeUtil.getFileTypeIconId(null, mFile.getName()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,96 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage;
|
||||
|
||||
import android.os.Build;
|
||||
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.datastorage.providers.EnvironmentStoragePointProvider;
|
||||
import com.owncloud.android.datastorage.providers.HardcodedStoragePointProvider;
|
||||
import com.owncloud.android.datastorage.providers.IStoragePointProvider;
|
||||
import com.owncloud.android.datastorage.providers.MountCommandStoragePointProvider;
|
||||
import com.owncloud.android.datastorage.providers.SystemDefaultStoragePointProvider;
|
||||
import com.owncloud.android.datastorage.providers.VDCStoragePointProvider;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class DataStorageProvider {
|
||||
|
||||
private static final Vector<IStoragePointProvider> mStorageProviders = new Vector<>();
|
||||
private static final UniqueStorageList mCachedStoragePoints = new UniqueStorageList();
|
||||
private static final DataStorageProvider sInstance = new DataStorageProvider() {{
|
||||
// There is no system wide way to get usb storage so we need to provide multiple
|
||||
// handcrafted ways to add those.
|
||||
addStoragePointProvider(new SystemDefaultStoragePointProvider());
|
||||
addStoragePointProvider(new EnvironmentStoragePointProvider());
|
||||
addStoragePointProvider(new VDCStoragePointProvider());
|
||||
addStoragePointProvider(new MountCommandStoragePointProvider());
|
||||
addStoragePointProvider(new HardcodedStoragePointProvider());
|
||||
}};
|
||||
|
||||
|
||||
public static DataStorageProvider getInstance() {
|
||||
return sInstance;
|
||||
}
|
||||
|
||||
private DataStorageProvider() {}
|
||||
|
||||
public StoragePoint[] getAvailableStoragePoints() {
|
||||
if (mCachedStoragePoints.size() != 0)
|
||||
return mCachedStoragePoints.toArray(new StoragePoint[mCachedStoragePoints.size()]);
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
for (File f : MainApp.getAppContext().getExternalFilesDirs(null)) {
|
||||
if (f != null) {
|
||||
mCachedStoragePoints.add(new StoragePoint(f.getAbsolutePath(), f.getAbsolutePath()));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (IStoragePointProvider p : mStorageProviders)
|
||||
if (p.canProvideStoragePoints()) {
|
||||
mCachedStoragePoints.addAll(p.getAvailableStoragePoint());
|
||||
}
|
||||
}
|
||||
|
||||
return mCachedStoragePoints.toArray(new StoragePoint[mCachedStoragePoints.size()]);
|
||||
}
|
||||
|
||||
public String getStorageDescriptionByPath(String path) {
|
||||
for (StoragePoint s : getAvailableStoragePoints())
|
||||
if (s.getPath().equals(path))
|
||||
return s.getDescription();
|
||||
return MainApp.getAppContext().getString(R.string.storage_description_unknown);
|
||||
}
|
||||
|
||||
public void addStoragePointProvider(IStoragePointProvider provider) {
|
||||
mStorageProviders.add(provider);
|
||||
}
|
||||
|
||||
public void removeStoragePointProvider(IStoragePointProvider provider) {
|
||||
mStorageProviders.remove(provider);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class StoragePoint implements Comparable<StoragePoint> {
|
||||
private String mDescription;
|
||||
private String mPath;
|
||||
|
||||
public StoragePoint(String description, String path) {
|
||||
mDescription = description;
|
||||
mPath = path;
|
||||
}
|
||||
|
||||
public String getPath() { return mPath; }
|
||||
public String getDescription() { return mDescription; }
|
||||
|
||||
@Override
|
||||
public int compareTo(StoragePoint another) {
|
||||
return mPath.compareTo(another.getPath());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Collection;
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class UniqueStorageList extends Vector<StoragePoint> {
|
||||
@Override
|
||||
public boolean add(StoragePoint sp) {
|
||||
try {
|
||||
for (StoragePoint s : this) {
|
||||
String thisCanonPath = new File(s.getPath()).getCanonicalPath();
|
||||
String otherCanonPath = new File(sp.getPath()).getCanonicalPath();
|
||||
if (thisCanonPath.equals(otherCanonPath))
|
||||
return true;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
return false;
|
||||
}
|
||||
return super.add(sp);
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized boolean addAll(Collection<? extends StoragePoint> collection) {
|
||||
for (StoragePoint sp : collection)
|
||||
add(sp);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage.providers;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
abstract public class AbstractCommandLineStoragePoint extends AbstractStoragePointProvider {
|
||||
|
||||
static protected final int sCommandLineOKReturnValue = 0;
|
||||
|
||||
protected abstract String[] getCommand();
|
||||
|
||||
@Override
|
||||
public boolean canProvideStoragePoints() {
|
||||
Process process;
|
||||
try {
|
||||
process = new ProcessBuilder().command(Arrays.asList(getCommand())).start();
|
||||
process.waitFor();
|
||||
} catch (Exception e) {
|
||||
return false;
|
||||
}
|
||||
return process != null && process.exitValue() == sCommandLineOKReturnValue;
|
||||
}
|
||||
|
||||
protected String getCommandLineResult() {
|
||||
String s = "";
|
||||
try {
|
||||
final Process process = new ProcessBuilder().command(getCommand())
|
||||
.redirectErrorStream(true).start();
|
||||
|
||||
process.waitFor();
|
||||
final InputStream is = process.getInputStream();
|
||||
final byte buffer[] = new byte[1024];
|
||||
while (is.read(buffer) != -1)
|
||||
s += new String(buffer);
|
||||
is.close();
|
||||
} catch (final Exception e) { }
|
||||
return s;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage.providers;
|
||||
|
||||
import com.owncloud.android.datastorage.StoragePoint;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
abstract public class AbstractStoragePointProvider implements IStoragePointProvider {
|
||||
|
||||
protected boolean canBeAddedToAvailableList(Vector<StoragePoint> currentList, String path) {
|
||||
if (path == null) return false;
|
||||
for (StoragePoint storage : currentList)
|
||||
if (storage.getPath().equals(path))
|
||||
return false;
|
||||
File f = new File(path);
|
||||
return f.exists() && f.isDirectory() && f.canRead() && f.canWrite();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage.providers;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.owncloud.android.datastorage.StoragePoint;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class EnvironmentStoragePointProvider extends AbstractStoragePointProvider {
|
||||
|
||||
private static final String sSecondaryStorageEnvName = "SECONDARY_STORAGE";
|
||||
|
||||
@Override
|
||||
public boolean canProvideStoragePoints() {
|
||||
return !TextUtils.isEmpty(System.getenv(sSecondaryStorageEnvName));
|
||||
}
|
||||
|
||||
@Override
|
||||
public Vector<StoragePoint> getAvailableStoragePoint() {
|
||||
Vector<StoragePoint> result = new Vector<>();
|
||||
|
||||
addEntriesFromEnv(result, sSecondaryStorageEnvName);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
private void addEntriesFromEnv(Vector<StoragePoint> result, String envName) {
|
||||
String env = System.getenv(envName);
|
||||
if (env != null)
|
||||
for (String p : env.split(":"))
|
||||
if (canBeAddedToAvailableList(result, p))
|
||||
result.add(new StoragePoint(p, p));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage.providers;
|
||||
|
||||
import com.owncloud.android.datastorage.StoragePoint;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class HardcodedStoragePointProvider extends AbstractStoragePointProvider {
|
||||
|
||||
static private final String[] sPaths = {
|
||||
"/mnt/external_sd/",
|
||||
"/mnt/extSdCard/",
|
||||
"/storage/extSdCard",
|
||||
"/storage/sdcard1/",
|
||||
"/storage/usbcard1/"
|
||||
};
|
||||
|
||||
@Override
|
||||
public boolean canProvideStoragePoints() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Vector<StoragePoint> getAvailableStoragePoint() {
|
||||
Vector<StoragePoint> result = new Vector<>();
|
||||
|
||||
for (String s : sPaths)
|
||||
if (canBeAddedToAvailableList(result, s))
|
||||
result.add(new StoragePoint(s, s));
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage.providers;
|
||||
|
||||
import com.owncloud.android.datastorage.StoragePoint;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public interface IStoragePointProvider {
|
||||
|
||||
/**
|
||||
* This method is used for querying storage provider to check if it can provide
|
||||
* usable and reliable data storage places.
|
||||
*
|
||||
* @return true if provider can reliably return storage path
|
||||
*/
|
||||
boolean canProvideStoragePoints();
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @return available storage points
|
||||
*/
|
||||
Vector<StoragePoint> getAvailableStoragePoint();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage.providers;
|
||||
|
||||
import com.owncloud.android.datastorage.StoragePoint;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.Vector;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class MountCommandStoragePointProvider extends AbstractCommandLineStoragePoint {
|
||||
|
||||
static private final String[] sCommand = new String[] { "mount" };
|
||||
|
||||
private static Pattern sPattern = Pattern.compile("(?i).*vold.*(vfat|ntfs|exfat|fat32|ext3|ext4).*rw.*");
|
||||
|
||||
@Override
|
||||
protected String[] getCommand() {
|
||||
return sCommand;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Vector<StoragePoint> getAvailableStoragePoint() {
|
||||
Vector<StoragePoint> result = new Vector<>();
|
||||
|
||||
for (String p : getPotentialPaths(getCommandLineResult()))
|
||||
if (canBeAddedToAvailableList(result, p))
|
||||
result.add(new StoragePoint(p, p));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
private Vector<String> getPotentialPaths(String mounted) {
|
||||
final Vector<String> result = new Vector<>();
|
||||
|
||||
for (String line : mounted.split("\n"))
|
||||
if (!line.toLowerCase(Locale.US).contains("asec") && sPattern.matcher(line).matches()) {
|
||||
String parts[] = line.split(" ");
|
||||
for (String path : parts) {
|
||||
if (path.startsWith("/") &&
|
||||
!path.toLowerCase(Locale.US).contains("vold"))
|
||||
result.add(path);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage.providers;
|
||||
|
||||
import android.os.Environment;
|
||||
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.datastorage.StoragePoint;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class SystemDefaultStoragePointProvider extends AbstractStoragePointProvider {
|
||||
@Override
|
||||
public boolean canProvideStoragePoints() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Vector<StoragePoint> getAvailableStoragePoint() {
|
||||
Vector<StoragePoint> result = new Vector<>();
|
||||
|
||||
final String defaultStringDesc =
|
||||
MainApp.getAppContext().getString(R.string.storage_description_default);
|
||||
final String path = Environment.getExternalStorageDirectory().getAbsolutePath();
|
||||
result.add(new StoragePoint(defaultStringDesc, path));
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
/**
|
||||
* Nextcloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2016 Nextcloud
|
||||
* Copyright (C) 2016 Bartosz Przybylski
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package com.owncloud.android.datastorage.providers;
|
||||
|
||||
import com.owncloud.android.datastorage.StoragePoint;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class VDCStoragePointProvider extends AbstractCommandLineStoragePoint {
|
||||
|
||||
static private final String TAG = VDCStoragePointProvider.class.getSimpleName();
|
||||
|
||||
static private final String[] sVDCVolListCommand = new String[]{ "/system/bin/vdc", "volume", "list" };
|
||||
static private final int sVDCVolumeList = 110;
|
||||
|
||||
|
||||
@Override
|
||||
public Vector<StoragePoint> getAvailableStoragePoint() {
|
||||
Vector<StoragePoint> result = new Vector<>();
|
||||
|
||||
result.addAll(getPaths(getCommandLineResult()));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String[] getCommand() {
|
||||
return sVDCVolListCommand;
|
||||
}
|
||||
|
||||
private Vector<StoragePoint> getPaths(String vdcResources) {
|
||||
Vector<StoragePoint> result = new Vector<>();
|
||||
|
||||
for (String line : vdcResources.split("\n")) {
|
||||
String vdcLine[] = line.split(" ");
|
||||
try {
|
||||
int status = Integer.parseInt(vdcLine[0]);
|
||||
if (status != sVDCVolumeList)
|
||||
continue;
|
||||
final String description = vdcLine[1];
|
||||
final String path = vdcLine[2];
|
||||
|
||||
if (canBeAddedToAvailableList(result, path))
|
||||
result.add(new StoragePoint(description, path));
|
||||
|
||||
} catch (NumberFormatException e) {
|
||||
Log_OC.e(TAG, "Incorrect VDC output format " + e);
|
||||
} catch (Exception e) {
|
||||
Log_OC.e(TAG, "Unexpected exception on VDC parsing " + e);
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -34,7 +34,7 @@ import com.owncloud.android.datamodel.UploadsStorageManager.UploadStatus;
|
||||
import com.owncloud.android.files.services.FileUploader;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.operations.UploadFileOperation;
|
||||
import com.owncloud.android.utils.MimetypeIconUtil;
|
||||
import com.owncloud.android.utils.MimeTypeUtil;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
@@ -235,7 +235,7 @@ public class OCUpload implements Parcelable {
|
||||
* @return the mimeType
|
||||
*/
|
||||
public String getMimeType() {
|
||||
return MimetypeIconUtil.getBestMimeTypeByFilename(mLocalPath);
|
||||
return MimeTypeUtil.getBestMimeTypeByFilename(mLocalPath);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -22,6 +22,8 @@ package com.owncloud.android.db;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.authentication.AccountUtils;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
|
||||
/**
|
||||
@@ -36,17 +38,25 @@ public abstract class PreferenceManager {
|
||||
private static final String AUTO_PREF__SORT_ORDER = "sort_order";
|
||||
private static final String AUTO_PREF__SORT_ASCENDING = "sort_ascending";
|
||||
private static final String AUTO_PREF__UPLOADER_BEHAVIOR = "prefs_uploader_behaviour";
|
||||
private static final String AUTO_PREF__GRID_COLUMNS = "grid_columns";
|
||||
private static final String PREF__INSTANT_UPLOADING = "instant_uploading";
|
||||
private static final String PREF__INSTANT_UPLOAD_PATH_ACCOUNT = "instant_upload_path_account";
|
||||
private static final String PREF__INSTANT_VIDEO_UPLOADING = "instant_video_uploading";
|
||||
private static final String PREF__INSTANT_UPLOAD_PATH_USE_SUBFOLDERS = "instant_upload_path_use_subfolders";
|
||||
private static final String PREF__INSTANT_UPLOAD_ON_WIFI = "instant_upload_on_wifi";
|
||||
private static final String PREF__INSTANT_VIDEO_UPLOAD_ON_WIFI = "instant_video_upload_on_wifi";
|
||||
private static final String PREF__INSTANT_VIDEO_UPLOAD_PATH_USE_SUBFOLDERS = "instant_video_upload_path_use_subfolders";
|
||||
private static final String PREF__INSTANT_VIDEO_UPLOAD_PATH_ACCOUNT = "instant_video_upload_path_account";
|
||||
|
||||
public static boolean instantPictureUploadEnabled(Context context) {
|
||||
return getDefaultSharedPreferences(context).getBoolean(PREF__INSTANT_UPLOADING, false);
|
||||
}
|
||||
|
||||
public static String instantPictureUploadPathAccount(Context context) {
|
||||
return getDefaultSharedPreferences(context).getString(PREF__INSTANT_UPLOAD_PATH_ACCOUNT,
|
||||
AccountUtils.getCurrentOwnCloudAccount(MainApp.getAppContext()).name);
|
||||
}
|
||||
|
||||
public static boolean instantVideoUploadEnabled(Context context) {
|
||||
return getDefaultSharedPreferences(context).getBoolean(PREF__INSTANT_VIDEO_UPLOADING, false);
|
||||
}
|
||||
@@ -59,6 +69,11 @@ public abstract class PreferenceManager {
|
||||
return getDefaultSharedPreferences(context).getBoolean(PREF__INSTANT_UPLOAD_ON_WIFI, false);
|
||||
}
|
||||
|
||||
public static String instantVideoUploadPathAccount(Context context) {
|
||||
return getDefaultSharedPreferences(context).getString(PREF__INSTANT_VIDEO_UPLOAD_PATH_ACCOUNT,
|
||||
AccountUtils.getCurrentOwnCloudAccount(MainApp.getAppContext()).name);
|
||||
}
|
||||
|
||||
public static boolean instantVideoUploadPathUseSubfolders(Context context) {
|
||||
return getDefaultSharedPreferences(context).getBoolean(PREF__INSTANT_VIDEO_UPLOAD_PATH_USE_SUBFOLDERS, false);
|
||||
}
|
||||
@@ -159,22 +174,44 @@ public abstract class PreferenceManager {
|
||||
saveIntPreference(context, AUTO_PREF__UPLOADER_BEHAVIOR, uploaderBehaviour);
|
||||
}
|
||||
|
||||
public static void saveBooleanPreference(Context context, String key, boolean value) {
|
||||
/**
|
||||
* Gets the grid columns which the user has set last.
|
||||
*
|
||||
* @param context Caller {@link Context}, used to access to shared preferences manager.
|
||||
* @return grid columns grid columns
|
||||
*/
|
||||
public static float getGridColumns(Context context) {
|
||||
return getDefaultSharedPreferences(context).getFloat(AUTO_PREF__GRID_COLUMNS, -1.0f);
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves the grid columns which the user has set last.
|
||||
*
|
||||
* @param context Caller {@link Context}, used to access to shared preferences manager.
|
||||
* @param gridColumns the uploader behavior
|
||||
*/
|
||||
public static void setGridColumns(Context context, float gridColumns) {
|
||||
saveFloatPreference(context, AUTO_PREF__GRID_COLUMNS, gridColumns);
|
||||
}
|
||||
|
||||
private static void saveBooleanPreference(Context context, String key, boolean value) {
|
||||
SharedPreferences.Editor appPreferences = getDefaultSharedPreferences(context.getApplicationContext()).edit();
|
||||
appPreferences.putBoolean(key, value);
|
||||
appPreferences.apply();
|
||||
appPreferences.putBoolean(key, value).apply();
|
||||
}
|
||||
|
||||
private static void saveStringPreference(Context context, String key, String value) {
|
||||
SharedPreferences.Editor appPreferences = getDefaultSharedPreferences(context.getApplicationContext()).edit();
|
||||
appPreferences.putString(key, value);
|
||||
appPreferences.apply();
|
||||
appPreferences.putString(key, value).apply();
|
||||
}
|
||||
|
||||
private static void saveIntPreference(Context context, String key, int value) {
|
||||
SharedPreferences.Editor appPreferences = getDefaultSharedPreferences(context.getApplicationContext()).edit();
|
||||
appPreferences.putInt(key, value);
|
||||
appPreferences.apply();
|
||||
appPreferences.putInt(key, value).apply();
|
||||
}
|
||||
|
||||
private static void saveFloatPreference(Context context, String key, float value) {
|
||||
SharedPreferences.Editor appPreferences = getDefaultSharedPreferences(context.getApplicationContext()).edit();
|
||||
appPreferences.putFloat(key, value).apply();
|
||||
}
|
||||
|
||||
public static SharedPreferences getDefaultSharedPreferences(Context context) {
|
||||
|
||||
@@ -0,0 +1,160 @@
|
||||
/**
|
||||
* ownCloud Android client application
|
||||
*
|
||||
* @author Bartosz Przybylski
|
||||
* Copyright (C) 2015 Bartosz Przybylski
|
||||
* Copyright (C) 2015 ownCloud Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* 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 General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
package com.owncloud.android.features;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
import com.owncloud.android.BuildConfig;
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author Bartosz Przybylski
|
||||
*/
|
||||
public class FeatureList {
|
||||
|
||||
static final private boolean SHOW_ON_FIRST_RUN = true;
|
||||
static final private boolean SHOW_ON_UPGRADE = false;
|
||||
|
||||
|
||||
static final private FeatureItem featuresList[] = {
|
||||
// Basic features showed on first install
|
||||
new FeatureItem(R.drawable.what_new_instant_upload, R.string.welcome_feature_1_title, R.string.welcome_feature_1_text, "1.0.0", "0", SHOW_ON_FIRST_RUN),
|
||||
new FeatureItem(R.drawable.whats_new_files, R.string.welcome_feature_2_title, R.string.welcome_feature_2_text, "1.0.0", "0", SHOW_ON_FIRST_RUN),
|
||||
new FeatureItem(R.drawable.whats_new_share, R.string.welcome_feature_3_title, R.string.welcome_feature_3_text, "1.0.0", "0" ,SHOW_ON_FIRST_RUN),
|
||||
new FeatureItem(R.drawable.whats_new_accounts, R.string.welcome_feature_4_title, R.string.welcome_feature_4_text, "1.0.0", "0", SHOW_ON_FIRST_RUN),
|
||||
// Features introduced in certain point in time
|
||||
};
|
||||
|
||||
|
||||
static public FeatureItem[] get() {
|
||||
return featuresList;
|
||||
}
|
||||
|
||||
static public FeatureItem[] getFiltered(final int lastSeenVersionCode, final boolean isFirstRun, boolean isBeta) {
|
||||
List<FeatureItem> features = new LinkedList<>();
|
||||
|
||||
for (FeatureItem item : get()) {
|
||||
final int itemVersionCode = isBeta ? item.getBetaVersionNumber() : item.getVersionNumber();
|
||||
if (isFirstRun && item.shouldShowOnFirstRun()) {
|
||||
features.add(item);
|
||||
} else if (!isFirstRun && !item.shouldShowOnFirstRun() &&
|
||||
MainApp.getVersionCode() >= itemVersionCode &&
|
||||
lastSeenVersionCode < itemVersionCode) {
|
||||
features.add(item);
|
||||
}
|
||||
}
|
||||
return features.toArray(new FeatureItem[features.size()]);
|
||||
}
|
||||
|
||||
static public class FeatureItem implements Parcelable {
|
||||
public static final int DO_NOT_SHOW = -1;
|
||||
private int image;
|
||||
private int titleText;
|
||||
private int contentText;
|
||||
private int versionNumber;
|
||||
private int betaVersion;
|
||||
private boolean showOnInitialRun;
|
||||
|
||||
public FeatureItem(int image, int titleText, int contentText, String version, String betaVersion) {
|
||||
this(image, titleText, contentText, version, betaVersion, false);
|
||||
}
|
||||
|
||||
public FeatureItem(int image, int titleText, int contentText, String version, String betaVersion, boolean showOnInitialRun) {
|
||||
this.image = image;
|
||||
this.titleText = titleText;
|
||||
this.contentText = contentText;
|
||||
this.versionNumber = versionCodeFromString(version);
|
||||
this.betaVersion = Integer.parseInt(betaVersion);
|
||||
this.showOnInitialRun = showOnInitialRun;
|
||||
}
|
||||
|
||||
public boolean shouldShowImage() { return image != DO_NOT_SHOW; }
|
||||
public int getImage() { return image; }
|
||||
|
||||
public boolean shouldShowTitleText() { return titleText != DO_NOT_SHOW; }
|
||||
public int getTitleText() { return titleText; }
|
||||
|
||||
public boolean shouldShowContentText() { return contentText != DO_NOT_SHOW; }
|
||||
public int getContentText() { return contentText; }
|
||||
|
||||
public int getVersionNumber() { return versionNumber; }
|
||||
public int getBetaVersionNumber() { return betaVersion; }
|
||||
public boolean shouldShowOnFirstRun() { return showOnInitialRun; }
|
||||
|
||||
@Override
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel dest, int flags) {
|
||||
dest.writeInt(image);
|
||||
dest.writeInt(titleText);
|
||||
dest.writeInt(contentText);
|
||||
dest.writeInt(versionNumber);
|
||||
dest.writeInt(betaVersion);
|
||||
dest.writeByte((byte) (showOnInitialRun ? 1 : 0));
|
||||
}
|
||||
|
||||
private FeatureItem(Parcel p) {
|
||||
image = p.readInt();
|
||||
titleText = p.readInt();
|
||||
contentText = p.readInt();
|
||||
versionNumber = p.readInt();
|
||||
betaVersion = p.readInt();
|
||||
showOnInitialRun = p.readByte() == 1;
|
||||
}
|
||||
public static final Parcelable.Creator CREATOR =
|
||||
new Parcelable.Creator() {
|
||||
|
||||
@Override
|
||||
public Object createFromParcel(Parcel source) {
|
||||
return new FeatureItem(source);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object[] newArray(int size) {
|
||||
return new FeatureItem[size];
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
static int versionCodeFromString(String version) {
|
||||
String v[] = version.split(Pattern.quote("."));
|
||||
if (v.length != 3) {
|
||||
Log_OC.wtf("FeatureList", "Version string is incorrect " + version);
|
||||
return 0;
|
||||
}
|
||||
int result = Integer.parseInt(v[0])*(int)(10e6) +
|
||||
Integer.parseInt(v[1])*(int)(10e4) +
|
||||
Integer.parseInt(v[2])*100;
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
@@ -93,9 +93,9 @@ public class InstantUploadBroadcastReceiver extends BroadcastReceiver {
|
||||
return;
|
||||
}
|
||||
|
||||
Account account = AccountUtils.getCurrentOwnCloudAccount(context);
|
||||
Account account = AccountUtils.getInstantUploadAccount(context);
|
||||
if (account == null) {
|
||||
Log_OC.w(TAG, "No account found for instant upload, aborting");
|
||||
Log_OC.w(TAG, "No account found for instant photo upload, aborting");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -181,9 +181,9 @@ public class InstantUploadBroadcastReceiver extends BroadcastReceiver {
|
||||
return;
|
||||
}
|
||||
|
||||
Account account = AccountUtils.getCurrentOwnCloudAccount(context);
|
||||
Account account = AccountUtils.getInstantVideoUploadAccount(context);
|
||||
if (account == null) {
|
||||
Log_OC.w(TAG, "No account found for instant upload, aborting");
|
||||
Log_OC.w(TAG, "No account found for instant video upload, aborting");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -954,9 +954,10 @@ public class FileUploader extends Service
|
||||
final ThumbnailsCacheManager.ThumbnailGenerationTask task =
|
||||
new ThumbnailsCacheManager.ThumbnailGenerationTask(mStorageManager, mCurrentAccount);
|
||||
|
||||
Object[] params = new Object[2];
|
||||
params[0] = new File(mCurrentUpload.getOriginalStoragePath());
|
||||
params[1] = mCurrentUpload.getFile().getRemoteId();
|
||||
Object[] params = new Object[3];
|
||||
params[0] = mCurrentUpload.getFile();
|
||||
params[1] = true;
|
||||
params[2] = mCurrentUpload.getFile().getRemoteId();
|
||||
|
||||
task.execute(params);
|
||||
}
|
||||
|
||||
@@ -39,6 +39,7 @@ import com.owncloud.android.lib.resources.shares.GetRemoteSharesForFileOperation
|
||||
import com.owncloud.android.lib.resources.shares.OCShare;
|
||||
import com.owncloud.android.syncadapter.FileSyncAdapter;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
import com.owncloud.android.utils.MimeTypeUtil;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@@ -404,7 +405,7 @@ public class RefreshFolderOperation extends RemoteOperation {
|
||||
updatedFile.setEtag(localFile.getEtag());
|
||||
if (updatedFile.isFolder()) {
|
||||
updatedFile.setFileLength(remoteFile.getFileLength());
|
||||
} else if (mRemoteFolderChanged && remoteFile.isImage() &&
|
||||
} else if (mRemoteFolderChanged && MimeTypeUtil.isImage(remoteFile) &&
|
||||
remoteFile.getModificationTimestamp() !=
|
||||
localFile.getModificationTimestamp()) {
|
||||
updatedFile.setNeedsUpdateThumbnail(true);
|
||||
|
||||
@@ -20,19 +20,11 @@
|
||||
|
||||
package com.owncloud.android.operations;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Vector;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.util.Log;
|
||||
|
||||
|
||||
import com.owncloud.android.datamodel.FileDataStorageManager;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.files.services.FileDownloader;
|
||||
@@ -47,7 +39,14 @@ import com.owncloud.android.lib.resources.files.RemoteFile;
|
||||
import com.owncloud.android.operations.common.SyncOperation;
|
||||
import com.owncloud.android.services.OperationsService;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
import com.owncloud.android.utils.MimeTypeUtil;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Vector;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
||||
|
||||
@@ -329,7 +328,7 @@ public class SynchronizeFolderOperation extends SyncOperation {
|
||||
if (updatedFile.isFolder()) {
|
||||
updatedFile.setFileLength(localFile.getFileLength());
|
||||
// TODO move operations about size of folders to FileContentProvider
|
||||
} else if (mRemoteFolderChanged && remoteFile.isImage() &&
|
||||
} else if (mRemoteFolderChanged && MimeTypeUtil.isImage(remoteFile) &&
|
||||
remoteFile.getModificationTimestamp() !=
|
||||
localFile.getModificationTimestamp()) {
|
||||
updatedFile.setNeedsUpdateThumbnail(true);
|
||||
|
||||
@@ -47,7 +47,7 @@ import com.owncloud.android.operations.common.SyncOperation;
|
||||
import com.owncloud.android.utils.ConnectivityUtils;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
import com.owncloud.android.utils.MimeType;
|
||||
import com.owncloud.android.utils.MimetypeIconUtil;
|
||||
import com.owncloud.android.utils.MimeTypeUtil;
|
||||
import com.owncloud.android.utils.UriUtils;
|
||||
|
||||
import org.apache.commons.httpclient.HttpStatus;
|
||||
@@ -80,7 +80,7 @@ public class UploadFileOperation extends SyncOperation {
|
||||
|
||||
// MIME type
|
||||
if (mimeType == null || mimeType.length() <= 0) {
|
||||
mimeType = MimetypeIconUtil.getBestMimeTypeByFilename(localPath);
|
||||
mimeType = MimeTypeUtil.getBestMimeTypeByFilename(localPath);
|
||||
}
|
||||
|
||||
OCFile newFile = new OCFile(remotePath);
|
||||
@@ -433,15 +433,14 @@ public class UploadFileOperation extends SyncOperation {
|
||||
if (result.getException() != null) {
|
||||
if(result.isCancelled()){
|
||||
Log_OC.w(TAG, "Upload of " + mOriginalStoragePath + " to " + mRemotePath +
|
||||
": " + result.getLogMessage());
|
||||
" has been canceled: " + result.getLogMessage());
|
||||
} else {
|
||||
Log_OC.e(TAG, "Upload of " + mOriginalStoragePath + " to " + mRemotePath +
|
||||
": " + result.getLogMessage(), result.getException());
|
||||
}
|
||||
|
||||
} else {
|
||||
Log_OC.e(TAG, "Upload of " + mOriginalStoragePath + " to " + mRemotePath +
|
||||
": " + result.getLogMessage());
|
||||
Log_OC.e(TAG, "Upload of " + mOriginalStoragePath + " to " + mRemotePath + "ResultCode(" +
|
||||
result.getCode().name() + "): " + result.getLogMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ import com.owncloud.android.files.services.FileUploader;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.operations.UploadFileOperation;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
import com.owncloud.android.utils.MimetypeIconUtil;
|
||||
import com.owncloud.android.utils.MimeTypeUtil;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
@@ -63,7 +63,7 @@ public class SyncedFolderJobService extends JobService {
|
||||
Integer uploadBehaviour = bundle.getInt("uploadBehaviour");
|
||||
|
||||
File file = new File(filePath);
|
||||
String mimeType = MimetypeIconUtil.getBestMimeTypeByFilename(file.getAbsolutePath());
|
||||
String mimeType = MimeTypeUtil.getBestMimeTypeByFilename(file.getAbsolutePath());
|
||||
|
||||
FileUploader.UploadRequester requester = new FileUploader.UploadRequester();
|
||||
requester.uploadNewFile(
|
||||
|
||||
@@ -40,29 +40,33 @@ class SyncedFolderObserver extends RecursiveFileObserver {
|
||||
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
|
||||
@Override
|
||||
public void onEvent(int event, String path) {
|
||||
PersistableBundle bundle = new PersistableBundle();
|
||||
// TODO extract
|
||||
bundle.putString("filePath", path);
|
||||
bundle.putString("remotePath", syncedFolder.getRemotePath());
|
||||
bundle.putLong("dateTaken", new Date().getTime());
|
||||
bundle.putString("account", syncedFolder.getAccount());
|
||||
bundle.putInt("uploadBehaviour", syncedFolder.getUploadAction());
|
||||
bundle.putInt("subfolderByDate", syncedFolder.getSubfolderByDate() ? 1 : 0);
|
||||
File temp = new File(path);
|
||||
|
||||
JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE);
|
||||
JobInfo job = new JobInfo.Builder(
|
||||
MY_BACKGROUND_JOB,
|
||||
new ComponentName(context, SyncedFolderJobService.class))
|
||||
.setRequiresCharging(syncedFolder.getChargingOnly())
|
||||
.setRequiredNetworkType(syncedFolder.getWifiOnly() ? JobInfo.NETWORK_TYPE_UNMETERED : JobInfo.NETWORK_TYPE_ANY)
|
||||
.setExtras(bundle)
|
||||
.build();
|
||||
if (!temp.getName().equalsIgnoreCase("null")) {
|
||||
PersistableBundle bundle = new PersistableBundle();
|
||||
// TODO extract
|
||||
bundle.putString("filePath", path);
|
||||
bundle.putString("remotePath", syncedFolder.getRemotePath());
|
||||
bundle.putLong("dateTaken", new Date().getTime());
|
||||
bundle.putString("account", syncedFolder.getAccount());
|
||||
bundle.putInt("uploadBehaviour", syncedFolder.getUploadAction());
|
||||
bundle.putInt("subfolderByDate", syncedFolder.getSubfolderByDate() ? 1 : 0);
|
||||
|
||||
Integer result = js.schedule(job);
|
||||
if (result <= 0) {
|
||||
Log_OC.d(TAG, "Job failed to start: " + result);
|
||||
JobScheduler js = (JobScheduler) context.getSystemService(Context.JOB_SCHEDULER_SERVICE);
|
||||
JobInfo job = new JobInfo.Builder(
|
||||
MY_BACKGROUND_JOB,
|
||||
new ComponentName(context, SyncedFolderJobService.class))
|
||||
.setRequiresCharging(syncedFolder.getChargingOnly())
|
||||
.setRequiredNetworkType(syncedFolder.getWifiOnly() ? JobInfo.NETWORK_TYPE_UNMETERED : JobInfo.NETWORK_TYPE_ANY)
|
||||
.setExtras(bundle)
|
||||
.build();
|
||||
|
||||
Integer result = js.schedule(job);
|
||||
if (result <= 0) {
|
||||
Log_OC.d(TAG, "Job failed to start: " + result);
|
||||
}
|
||||
|
||||
Log.d(TAG, "Event: " + event + " Path: " + path);
|
||||
}
|
||||
|
||||
Log.d(TAG, "Event: " + event + " Path: " + path);
|
||||
}
|
||||
}
|
||||