Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd1ee0e13d | ||
|
|
c120bcc40e | ||
|
|
f8ffe99212 | ||
|
|
06898aa8f7 | ||
|
|
37503b1b59 | ||
|
|
ded5026866 | ||
|
|
6cc518d0d8 | ||
|
|
393d9aaea8 | ||
|
|
ee44c8da7f | ||
|
|
95072a5b3a | ||
|
|
c7e1fe7b28 | ||
|
|
58e9010e9a | ||
|
|
4857af7aa4 | ||
|
|
9b528cf6fa | ||
|
|
55d0570669 | ||
|
|
8a77916265 | ||
|
|
819c2ecfcb | ||
|
|
ef2b7adc85 | ||
|
|
889a587cf6 | ||
|
|
65774dd435 | ||
|
|
98992f8fca | ||
|
|
fabaa22eae | ||
|
|
4c9efdeefb | ||
|
|
3016787717 | ||
|
|
07850390e2 | ||
|
|
de647c6c9e | ||
|
|
8e8a95ed29 | ||
|
|
b382bcff28 | ||
|
|
43ed561ec9 | ||
|
|
32fc0750e6 | ||
|
|
17a53a948b | ||
|
|
3314afbd81 | ||
|
|
162473a025 | ||
|
|
61a71d33d0 | ||
|
|
73f59188d1 | ||
|
|
825f5aae69 | ||
|
|
f1285579ce | ||
|
|
306401772b | ||
|
|
ef91e7fd57 | ||
|
|
3edb8416fa | ||
|
|
e5b09d1433 | ||
|
|
7166163b03 | ||
|
|
8af1976acb | ||
|
|
993e684a95 | ||
|
|
5c4036f6a2 | ||
|
|
7ca94042f4 | ||
|
|
cb03506b90 | ||
|
|
14eed9f5f1 | ||
|
|
b42ceec141 | ||
|
|
2ae68242e1 | ||
|
|
a43978c797 | ||
|
|
0bebf0f20f | ||
|
|
2fa4f35afd | ||
|
|
416db99d33 | ||
|
|
fed13409ca | ||
|
|
2da61fa0e7 | ||
|
|
5d130a2d6f | ||
|
|
5e7e216d65 | ||
|
|
6bc2024c39 | ||
|
|
2f2c0cfa28 | ||
|
|
e49ef434a1 | ||
|
|
ab77f4bfcf | ||
|
|
345d91c992 | ||
|
|
656306bac7 | ||
|
|
5128498089 | ||
|
|
72acdd3def | ||
|
|
b21cda7af4 | ||
|
|
9790941cbe | ||
|
|
0ce657f9d0 | ||
|
|
12fb16f294 | ||
|
|
d22f5fe92c | ||
|
|
7a143d7d9e | ||
|
|
d9cdcf224f | ||
|
|
47dec7d142 | ||
|
|
35c388d652 | ||
|
|
a27209c6ad | ||
|
|
4cc80785c2 | ||
|
|
846dacabf0 | ||
|
|
888acbb701 | ||
|
|
579d797c71 | ||
|
|
ff4f506dc7 | ||
|
|
ed5fc8edc5 | ||
|
|
f532d081ba | ||
|
|
5d26fd1788 | ||
|
|
262a1707b7 | ||
|
|
db7ca579c3 | ||
|
|
0e97346535 | ||
|
|
5c99a3e976 | ||
|
|
2d2e4501a0 | ||
|
|
790e12d6c9 | ||
|
|
a5f5d5cb34 | ||
|
|
dccf68065f | ||
|
|
2d255030dc | ||
|
|
e758738f5a | ||
|
|
9daced6535 | ||
|
|
cb7388bc3a | ||
|
|
9906cec46b | ||
|
|
7a7e2be550 | ||
|
|
c3395d671e | ||
|
|
122ded3468 | ||
|
|
75c90bbfc1 | ||
|
|
6a263fdd11 | ||
|
|
fd40f8c624 | ||
|
|
e07dec0e4f | ||
|
|
f9d2776c0f | ||
|
|
0eeccd522f | ||
|
|
d46917bc35 | ||
|
|
d8d1bae404 | ||
|
|
6d93e85297 | ||
|
|
d233585663 | ||
|
|
9a985c3518 | ||
|
|
2cb1991199 | ||
|
|
b8b283cf86 | ||
|
|
d7b7db5fb2 | ||
|
|
299368a62a | ||
|
|
ce329ebe23 | ||
|
|
616a84c230 | ||
|
|
2b55c309d8 | ||
|
|
2c00e2ef6b | ||
|
|
97ca58f6f3 | ||
|
|
b2c6dc4eae | ||
|
|
f5cafc83ae | ||
|
|
a6377539a2 | ||
|
|
1cbe35259d | ||
|
|
ea272cf862 | ||
|
|
83ce4e70f6 | ||
|
|
958f9e218d | ||
|
|
5692f3e4c2 | ||
|
|
0ab1fdc9dd | ||
|
|
e48d385aa5 | ||
|
|
773fbcddf9 | ||
|
|
44a88f4543 | ||
|
|
022f741da7 | ||
|
|
c81f07795f | ||
|
|
8272678a2d | ||
|
|
151f72a886 | ||
|
|
2074e2f362 | ||
|
|
65593dabcb | ||
|
|
ce2fac33bf | ||
|
|
8b1ed6d18c | ||
|
|
c41cce2f04 | ||
|
|
da996aefc7 | ||
|
|
a99b9c2845 | ||
|
|
198f829eef | ||
|
|
56ebf988c1 | ||
|
|
501830d67b | ||
|
|
ba092cee7b | ||
|
|
c4b1382bbf | ||
|
|
15b47c2025 | ||
|
|
522427427b | ||
|
|
77d22fd9bb | ||
|
|
343f9bd3da | ||
|
|
5a7a6667e7 | ||
|
|
515297e259 | ||
|
|
38d8175cdd | ||
|
|
13ac8c6dbf | ||
|
|
7e909ea6b9 | ||
|
|
8c0e39c66c | ||
|
|
400fc6ac5a | ||
|
|
6dd6c989e4 | ||
|
|
69a4d453a6 | ||
|
|
bb8ae4e4c8 | ||
|
|
41e18d4129 | ||
|
|
d43bc03d0b | ||
|
|
bcc70fda0d | ||
|
|
524f9afaf8 | ||
|
|
21748b4899 | ||
|
|
28abcad91a | ||
|
|
c632f3f453 | ||
|
|
ecf148033b | ||
|
|
56bab2e418 | ||
|
|
f17c0ef04b | ||
|
|
76096d2e64 | ||
|
|
0d03ed96c0 | ||
|
|
810559126a | ||
|
|
d9bff2a631 | ||
|
|
fa9add4217 | ||
|
|
780592fbc6 | ||
|
|
7121523442 | ||
|
|
36ce0fd69b | ||
|
|
a2e5c86db3 | ||
|
|
02ab0852e4 | ||
|
|
3b42f3b39d | ||
|
|
672c769790 | ||
|
|
f6d15dbcd8 | ||
|
|
d898829af2 | ||
|
|
741791f7ef | ||
|
|
89d9893434 | ||
|
|
938cf8c720 | ||
|
|
5d0c59593e | ||
|
|
8022ea5064 | ||
|
|
46631569e9 | ||
|
|
a1819de1ee | ||
|
|
1bbfd6001f | ||
|
|
46fab4f07a | ||
|
|
4dec99d87d | ||
|
|
eb9337d06e | ||
|
|
fe855d651e | ||
|
|
19cebd610b | ||
|
|
bd6fae8ff3 | ||
|
|
4f9389924e | ||
|
|
1dd48fc51c | ||
|
|
9d5b55e0a2 | ||
|
|
b3d3c5b3bc | ||
|
|
c773cbe777 | ||
|
|
72e19b55ad | ||
|
|
a904dd4dc3 | ||
|
|
c517ca339b | ||
|
|
425cac602c | ||
|
|
9b3f1acf89 | ||
|
|
da7cf3a853 | ||
|
|
8c3639762a | ||
|
|
dd78be073a | ||
|
|
a1db7187f7 | ||
|
|
a6d89a97e5 | ||
|
|
85490f7d44 | ||
|
|
0188e2e33d | ||
|
|
ff1d344782 | ||
|
|
fcfaf2bace | ||
|
|
cf19728063 | ||
|
|
f27605dc13 | ||
|
|
617f6e74b6 | ||
|
|
cedf0be331 | ||
|
|
0e486d84e7 | ||
|
|
6e2cc8f38c | ||
|
|
db5ac0206b | ||
|
|
14936b3c45 | ||
|
|
a0780b7154 | ||
|
|
3b91dbb335 | ||
|
|
4789809df2 | ||
|
|
61178f3532 | ||
|
|
d50d8c34c6 | ||
|
|
61db8db122 | ||
|
|
6276e743e2 | ||
|
|
f6a2a8def2 | ||
|
|
25d4b54e5c | ||
|
|
940da7325d | ||
|
|
39620c105d | ||
|
|
cda7b00e84 | ||
|
|
bfcf6b919b | ||
|
|
134ed43d34 | ||
|
|
5a8cd879f1 | ||
|
|
33478d2f7d | ||
|
|
2494c13a66 | ||
|
|
edd4f7cae5 | ||
|
|
1339acd035 | ||
|
|
32a66b96c2 | ||
|
|
7d86c5282d | ||
|
|
e2c9dddda8 | ||
|
|
fffa235b79 | ||
|
|
532b65a66d | ||
|
|
52e91cb72a | ||
|
|
e43c1b5fec | ||
|
|
058bb9704a | ||
|
|
d747efa134 | ||
|
|
8bf2cf8355 | ||
|
|
dbb6d997be | ||
|
|
4a8611738c | ||
|
|
55b80312f4 | ||
|
|
b76e64b294 | ||
|
|
408646db01 | ||
|
|
7be1cdc2d5 | ||
|
|
39bf645f1c | ||
|
|
0239d3b955 | ||
|
|
702316c444 | ||
|
|
88cc730c0e | ||
|
|
eb07297f91 | ||
|
|
bbbf55765d | ||
|
|
dda2439393 | ||
|
|
96cda366cb | ||
|
|
944647dc72 | ||
|
|
6f6fe94218 | ||
|
|
a04abec2f1 | ||
|
|
0145deb320 | ||
|
|
ac8860e8fd | ||
|
|
34776e1125 | ||
|
|
0a2346491b | ||
|
|
a7fb57daff | ||
|
|
5e9ba17298 | ||
|
|
ed5093914d | ||
|
|
744bbe93bc | ||
|
|
a6d6f88a79 | ||
|
|
28c8dc1613 | ||
|
|
b3b8b4c9e1 | ||
|
|
5fa5175698 | ||
|
|
919dd1fef8 | ||
|
|
af099f17c4 | ||
|
|
ba9baafbe6 | ||
|
|
c450bf1e1a | ||
|
|
94cc2fb38d | ||
|
|
31c0bc5cf8 | ||
|
|
d89116d7ff | ||
|
|
ba0452bb06 | ||
|
|
baf36f4473 | ||
|
|
52ff0290e6 | ||
|
|
aa83e6b41b | ||
|
|
a0151fee46 | ||
|
|
1b39f35af6 | ||
|
|
c6a317cd78 | ||
|
|
24417af511 | ||
|
|
0ed4459eac | ||
|
|
89efc52a6b | ||
|
|
4bdc3a1667 | ||
|
|
760c8c5d8f | ||
|
|
c63cdcf6ef | ||
|
|
5d0b3559ca | ||
|
|
99e8bd3f71 | ||
|
|
219058770b | ||
|
|
f8dcfefea5 | ||
|
|
f07d88e197 | ||
|
|
abb201c1c4 | ||
|
|
1fb07f6692 | ||
|
|
74eb71aded | ||
|
|
acca3b5e08 | ||
|
|
d14657e493 | ||
|
|
ab356b356a | ||
|
|
eb581bdda5 | ||
|
|
25eb96ed0f | ||
|
|
c1baee06f6 | ||
|
|
4c3ebdf19f | ||
|
|
243e940b22 | ||
|
|
86ef6701d3 | ||
|
|
742b803ea8 | ||
|
|
3ebef317ad | ||
|
|
ac5a957ca1 | ||
|
|
0332ce4475 | ||
|
|
c85c9904d7 | ||
|
|
55a55940f5 | ||
|
|
8da05f4559 | ||
|
|
dbe750d368 | ||
|
|
a3b8019f0a | ||
|
|
7b74ed53ef | ||
|
|
d45bb6b848 | ||
|
|
c6c5ad5176 | ||
|
|
92600904a1 | ||
|
|
6428ed7c02 | ||
|
|
78775f143d | ||
|
|
b6f0222caa | ||
|
|
2fe5a7d284 | ||
|
|
b321407b77 | ||
|
|
b81c60cbe7 | ||
|
|
7431ea337c | ||
|
|
6a715b5a42 | ||
|
|
59353923c6 | ||
|
|
9121d12699 | ||
|
|
88dcd1f244 | ||
|
|
88e755f560 | ||
|
|
870cb1f794 | ||
|
|
cbcef968e3 | ||
|
|
40edf50f86 | ||
|
|
0e9193594b | ||
|
|
c2c44c4bdf | ||
|
|
25ade84d89 | ||
|
|
3a9f25f496 | ||
|
|
1d50abafd4 | ||
|
|
ffdd318c5f | ||
|
|
82cec264f0 | ||
|
|
f8f495d7fd | ||
|
|
3f9ccf96b0 | ||
|
|
9dc0271b99 | ||
|
|
f5a9c4067e | ||
|
|
aac405c430 | ||
|
|
e93f404eb0 | ||
|
|
fa0c0a4edb | ||
|
|
bc94b966fd | ||
|
|
9b95160214 | ||
|
|
62e1aeba2c | ||
|
|
17c0322715 | ||
|
|
c1871306f3 | ||
|
|
bd8ad58cfc | ||
|
|
b020cc51b7 | ||
|
|
c77ffe2afb | ||
|
|
50ba869b91 | ||
|
|
991a84ad5e | ||
|
|
af889a40ee | ||
|
|
7b4c1a9338 | ||
|
|
34bf82e59c | ||
|
|
ff67766cb6 | ||
|
|
a4e5a6f0e5 | ||
|
|
78afffb0c4 | ||
|
|
9e5f3b8ca5 | ||
|
|
111ebaf4bd | ||
|
|
2656b810f3 | ||
|
|
00f9ec9451 | ||
|
|
9cebde80af | ||
|
|
d9362b73c1 | ||
|
|
2744da47b8 | ||
|
|
793c516f1f | ||
|
|
59f33abf53 | ||
|
|
fe3746b61f | ||
|
|
0b6fbbc79f | ||
|
|
836d7f670b | ||
|
|
de78b22e66 | ||
|
|
a287f8ecaf | ||
|
|
4b21bf3687 | ||
|
|
efb29b0fe9 | ||
|
|
9cfa1dafbe | ||
|
|
def417dbd5 | ||
|
|
f6fb0a5cf0 | ||
|
|
072a45bdd6 | ||
|
|
2c32f1dc37 | ||
|
|
efedc11aaa | ||
|
|
8c9bc8e595 | ||
|
|
638df22080 | ||
|
|
9b60ca7798 | ||
|
|
03d0c9fa4a | ||
|
|
1d7a427bd4 | ||
|
|
46f7e0af4e | ||
|
|
1e653d5eaf | ||
|
|
8f291127ba | ||
|
|
f862099e20 | ||
|
|
b25fe94af0 | ||
|
|
18a35a2586 | ||
|
|
2d76982d47 | ||
|
|
e8a92a0031 | ||
|
|
816f532417 | ||
|
|
65be7efa2d | ||
|
|
d6115cbf85 | ||
|
|
d1d99c5e3f | ||
|
|
b203c48c51 | ||
|
|
cbc44a6014 | ||
|
|
69661e6951 | ||
|
|
9a2ae6cb0b | ||
|
|
9f86064b81 | ||
|
|
73da2a1d14 | ||
|
|
93bb169c6c | ||
|
|
cf1e7013f4 | ||
|
|
8258843ae1 | ||
|
|
67baae4441 | ||
|
|
a5509797bc | ||
|
|
3ff2d58a25 | ||
|
|
e3d43e754d | ||
|
|
bcb55a0e4c | ||
|
|
a9fbec2934 | ||
|
|
140e923982 | ||
|
|
680cf56746 | ||
|
|
7162aa65f4 | ||
|
|
a6e16a4e71 | ||
|
|
eac4e49ceb | ||
|
|
90382c5889 | ||
|
|
ce841a3c4f | ||
|
|
d5ee0ef158 | ||
|
|
d06a4b155d | ||
|
|
3ddb48b647 | ||
|
|
957484588e | ||
|
|
cf22541dd5 | ||
|
|
61338bbb0c | ||
|
|
788ebbcdab | ||
|
|
ce35d6448e | ||
|
|
a1bc147849 |
No files matched your search
@@ -1,5 +1,525 @@
|
||||
## 1.4.3 (May 22, 2017)
|
||||
- Hotfix: ignore oauth header for now and use basic auth to allow new logins for nc12
|
||||
## 2017-07-16 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-07-15 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-07-14 00:30
|
||||
- revamped details screen (nextcloud/new_details_view_animations) [https://github.com/nextcloud/android/pull/1156] added
|
||||
- Resized images (nextcloud/resizedImages) [https://github.com/nextcloud/android/pull/69] added
|
||||
|
||||
- revamped details screen (nextcloud/new_details_view_animations) [https://github.com/nextcloud/android/pull/1156] updated
|
||||
- Resized images (nextcloud/resizedImages) [https://github.com/nextcloud/android/pull/69] updated
|
||||
|
||||
## 2017-07-13 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-07-12 00:31
|
||||
- Catch a rare exception while setting activity list adapter (nextcloud/ErrorInActivityListAdapter) [https://github.com/nextcloud/android/pull/1173] added
|
||||
|
||||
- Catch a rare exception while setting activity list adapter (nextcloud/ErrorInActivityListAdapter) [https://github.com/nextcloud/android/pull/1173] updated
|
||||
- Theming Dynamically use server color (nextcloud/userTheming) [https://github.com/nextcloud/android/pull/1031] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-07-11 00:30
|
||||
no new branches added
|
||||
|
||||
- Theming Dynamically use server color (nextcloud/userTheming) [https://github.com/nextcloud/android/pull/1031] updated
|
||||
|
||||
## 2017-07-10 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-07-09 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-07-08 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-07-07 00:30
|
||||
- Theming Dynamically use server color (nextcloud/userTheming) [https://github.com/nextcloud/android/pull/1031] added
|
||||
|
||||
- Theming Dynamically use server color (nextcloud/userTheming) [https://github.com/nextcloud/android/pull/1031] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-07-06 00:30
|
||||
- Fix: no shared folders after \ (nextcloud/sharedFolderMissing) [https://github.com/nextcloud/android/pull/1165] added
|
||||
|
||||
- Fix: no shared folders after \ (nextcloud/sharedFolderMissing) [https://github.com/nextcloud/android/pull/1165] updated
|
||||
|
||||
## 2017-07-05 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-07-04 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-07-03 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-07-02 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-07-01 00:30
|
||||
- Comment out adding all new downloaded files to folder observer (nextcloud/folderObserver) [https://github.com/nextcloud/android/pull/1155] added
|
||||
|
||||
- Comment out adding all new downloaded files to folder observer (nextcloud/folderObserver) [https://github.com/nextcloud/android/pull/1155] updated
|
||||
|
||||
## 2017-06-30 00:32
|
||||
no new branches added
|
||||
|
||||
- 1089 sharing with password rule (nextcloud/1089_sharing_with_password_rule) [https://github.com/nextcloud/android/pull/1110] updated
|
||||
|
||||
## 2017-06-29 00:31
|
||||
- Cancel pending thumbnail tasks (nextcloud/stopAsyncTasks) [https://github.com/nextcloud/android/pull/1149] added
|
||||
|
||||
- Cancel pending thumbnail tasks (nextcloud/stopAsyncTasks) [https://github.com/nextcloud/android/pull/1149] updated
|
||||
|
||||
## 2017-06-28 00:32
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Fix settings on android 4.x (nextcloud/settingsOn4x) [https://github.com/nextcloud/android/pull/1133] updated
|
||||
- 1089 sharing with password rule (nextcloud/1089_sharing_with_password_rule) [https://github.com/nextcloud/android/pull/1110] updated
|
||||
|
||||
## 2017-06-27 00:31
|
||||
- Prevent NPE when disabling \ (nextcloud/autoUploadWithoutStoragePermission) [https://github.com/nextcloud/android/pull/1140] added
|
||||
- Auto upload rotation bug (nextcloud/autoUploadRotationBug) [https://github.com/nextcloud/android/pull/1138] added
|
||||
- Opens share by clicking icon in file listing (nextcloud/shareDialog) [https://github.com/nextcloud/android/pull/1135] added
|
||||
- Fix settings on android 4.x (nextcloud/settingsOn4x) [https://github.com/nextcloud/android/pull/1133] added
|
||||
- 1089 sharing with password rule (nextcloud/1089_sharing_with_password_rule) [https://github.com/nextcloud/android/pull/1110] added
|
||||
- Enhance UI\ (nextcloud/contactsBackupUI) [https://github.com/nextcloud/android/pull/1027] added
|
||||
|
||||
- Prevent NPE when disabling \ (nextcloud/autoUploadWithoutStoragePermission) [https://github.com/nextcloud/android/pull/1140] updated
|
||||
- Auto upload rotation bug (nextcloud/autoUploadRotationBug) [https://github.com/nextcloud/android/pull/1138] updated
|
||||
- Opens share by clicking icon in file listing (nextcloud/shareDialog) [https://github.com/nextcloud/android/pull/1135] updated
|
||||
- Fix settings on android 4.x (nextcloud/settingsOn4x) [https://github.com/nextcloud/android/pull/1133] updated
|
||||
- 1089 sharing with password rule (nextcloud/1089_sharing_with_password_rule) [https://github.com/nextcloud/android/pull/1110] updated
|
||||
- Enhance UI\ (nextcloud/contactsBackupUI) [https://github.com/nextcloud/android/pull/1027] updated
|
||||
|
||||
## 2017-06-26 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-25 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-06-24 00:31
|
||||
- Sdcard: test if writable before offering it (nextcloud/removedSDcard) [https://github.com/nextcloud/android/pull/1119] added
|
||||
- Delete all local files on account removal (nextcloud/deleteFilesOnAccountRemoval) [https://github.com/nextcloud/android/pull/1109] added
|
||||
|
||||
- Sdcard: test if writable before offering it (nextcloud/removedSDcard) [https://github.com/nextcloud/android/pull/1119] updated
|
||||
- Delete all local files on account removal (nextcloud/deleteFilesOnAccountRemoval) [https://github.com/nextcloud/android/pull/1109] updated
|
||||
|
||||
## 2017-06-23 00:31
|
||||
- Transaction too large (nextcloud/transactionTooLarge) [https://github.com/nextcloud/android/pull/1102] added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Transaction too large (nextcloud/transactionTooLarge) [https://github.com/nextcloud/android/pull/1102] updated
|
||||
|
||||
## 2017-06-22 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-06-21 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-18 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-17 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-16 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-15 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-14 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-13 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-12 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-06-11 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-06-10 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-06-09 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-08 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-06-07 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-06-06 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-05 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-04 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-03 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-02 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-06-01 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-05-31 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-05-30 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-05-29 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-28 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-27 00:30
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-05-26 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-25 00:30
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-24 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-05-23 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-05-22 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-21 00:32
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-20 00:31
|
||||
- Search view wrong files (nextcloud/searchViewWrongFiles) [https://github.com/nextcloud/android/pull/896] added
|
||||
- Pinch zoom (nextcloud/pinchZoom) [https://github.com/nextcloud/android/pull/143] added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Search view wrong files (nextcloud/searchViewWrongFiles) [https://github.com/nextcloud/android/pull/896] updated
|
||||
- Pinch zoom (nextcloud/pinchZoom) [https://github.com/nextcloud/android/pull/143] updated
|
||||
|
||||
## 2017-05-19 00:31
|
||||
no new branches added
|
||||
|
||||
- Crash due to non-existing empty string (nextcloud/crashDueToEmptyString) [https://github.com/nextcloud/android/pull/995] updated
|
||||
|
||||
## 2017-05-18 00:30
|
||||
no new branches added
|
||||
|
||||
- Crash due to non-existing empty string (nextcloud/crashDueToEmptyString) [https://github.com/nextcloud/android/pull/995] updated
|
||||
|
||||
## 2017-05-17 15:07
|
||||
- Crash due to non-existing empty string (nextcloud/crashDueToEmptyString) [https://github.com/nextcloud/android/pull/995] added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Crash due to non-existing empty string (nextcloud/crashDueToEmptyString) [https://github.com/nextcloud/android/pull/995] updated
|
||||
|
||||
## 2017-05-17 00:32
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-05-16 14:27
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-05-16 13:43
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-05-16 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-05-15 00:32
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-13 09:04
|
||||
- Re-use second fragment if available (nextcloud/audioRotationBug) [https://github.com/nextcloud/android/pull/985] added
|
||||
|
||||
- Re-use second fragment if available (nextcloud/audioRotationBug) [https://github.com/nextcloud/android/pull/985] updated
|
||||
|
||||
## 2017-05-13 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-05-12 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-11 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-10 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-09 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-08 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-07 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-06 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-05 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-04 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-03 16:25
|
||||
- Enhance external Sdcard usage (nextcloud/externalStorage) [https://github.com/nextcloud/android/pull/947] added
|
||||
|
||||
- Enhance external Sdcard usage (nextcloud/externalStorage) [https://github.com/nextcloud/android/pull/947] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-05-03 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-05-02 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-05-01 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-04-30 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-04-29 00:32
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-04-28 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-04-27 00:31
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-04-26 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-04-25 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-04-24 00:30
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-04-23 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-04-22 00:40
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-04-21 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-04-20 00:31
|
||||
no new branches added
|
||||
|
||||
no branches updated
|
||||
|
||||
## 2017-04-19 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-04-18 16:42
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-04-15 00:30
|
||||
no new branches added
|
||||
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 2017-04-14 00:31
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-04-13 14:50
|
||||
no new branches added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-04-13 14:18
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] added
|
||||
- Dev base (nextcloud/dev-base) [https://github.com/nextcloud/android/tree/dev-base] added
|
||||
|
||||
- Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] updated
|
||||
|
||||
## 2017-04-13 09:55
|
||||
|
||||
|
||||
## 2017-04-13 09:27
|
||||
|
||||
- Added fingerprint support (Flole998/master) [https://github.com/nextcloud/android/pull/624] updated
|
||||
- Fix file modification date on upload (nextcloud/fix_file_modification_date_on_upload) [https://github.com/nextcloud/android/pull/451] updated
|
||||
- Master (nextcloud/master) [https://github.com/nextcloud/android] updated
|
||||
|
||||
## 1.4.2 (March 14, 2017)
|
||||
- Auto Upload for newly taken photos/images (Android 6+)
|
||||
|
||||
@@ -74,13 +74,17 @@ android {
|
||||
|
||||
multiDexEnabled true
|
||||
|
||||
applicationId "com.nextcloud.android.beta"
|
||||
versionCode 20170716
|
||||
versionName "20170716"
|
||||
|
||||
// adapt structure from Eclipse to Gradle/Android Studio expectations;
|
||||
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
|
||||
|
||||
productFlavors {
|
||||
// used for f-droid
|
||||
generic {
|
||||
applicationId 'com.nextcloud.client'
|
||||
applicationId 'com.nextcloud.android.beta'
|
||||
}
|
||||
|
||||
gplay {
|
||||
@@ -120,6 +124,10 @@ android {
|
||||
exclude 'META-INF/LICENSE'
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
release
|
||||
}
|
||||
|
||||
task checkstyle(type: Checkstyle) {
|
||||
configFile = file("${rootProject.projectDir}/checkstyle.xml")
|
||||
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
|
||||
@@ -171,6 +179,19 @@ 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
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -178,7 +199,7 @@ dependencies {
|
||||
compile name: 'touch-image-view'
|
||||
compile 'com.android.support:multidex:1.0.1'
|
||||
|
||||
compile 'com.github.nextcloud:android-library:1.0.21'
|
||||
compile 'com.github.nextcloud:android-library:dev-SNAPSHOT'
|
||||
compile "com.android.support:support-v4:${supportLibraryVersion}"
|
||||
compile "com.android.support:design:${supportLibraryVersion}"
|
||||
compile 'com.jakewharton:disklrucache:2.0.2'
|
||||
@@ -187,7 +208,7 @@ dependencies {
|
||||
compile 'com.github.tobiasKaminsky:android-floating-action-button:1.10.2'
|
||||
compile 'com.google.code.findbugs:annotations:2.0.1'
|
||||
compile group: 'commons-io', name: 'commons-io', version: '2.4'
|
||||
compile 'com.github.evernote:android-job:v1.1.9'
|
||||
compile 'com.github.evernote:android-job:v1.1.10'
|
||||
compile 'com.jakewharton:butterknife:8.4.0'
|
||||
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
|
||||
compile 'org.greenrobot:eventbus:3.0.0'
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
2017-07-16
|
||||
Branches: 12
|
||||
[00 / 12] Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] was updated successfully
|
||||
[01 / 12] Catch a rare exception while setting activity list adapter (nextcloud/ErrorInActivityListAdapter) [https://github.com/nextcloud/android/pull/1173] no update needed
|
||||
[02 / 12] Fix: no shared folders after \ (nextcloud/sharedFolderMissing) [https://github.com/nextcloud/android/pull/1165] no update needed
|
||||
[03 / 12] revamped details screen (nextcloud/new_details_view_animations) [https://github.com/nextcloud/android/pull/1156] no update needed
|
||||
[04 / 12] Comment out adding all new downloaded files to folder observer (nextcloud/folderObserver) [https://github.com/nextcloud/android/pull/1155] no update needed
|
||||
[05 / 12] Auto upload rotation bug (nextcloud/autoUploadRotationBug) [https://github.com/nextcloud/android/pull/1138] CONFLICT
|
||||
[06 / 12] 1089 sharing with password rule (nextcloud/1089_sharing_with_password_rule) [https://github.com/nextcloud/android/pull/1110] CONFLICT
|
||||
[07 / 12] Delete all local files on account removal (nextcloud/deleteFilesOnAccountRemoval) [https://github.com/nextcloud/android/pull/1109] CONFLICT
|
||||
[08 / 12] Bruteforce support: re-use cookie (nextcloud/bruteforce) [https://github.com/nextcloud/android/pull/1099] no update needed
|
||||
[09 / 12] Search inside of text files (nextcloud/bugfix-454) [https://github.com/nextcloud/android/pull/565] CONFLICT
|
||||
[10 / 12] Resized images (nextcloud/resizedImages) [https://github.com/nextcloud/android/pull/69] no update needed
|
||||
[11 / 12] Master (nextcloud/master) [https://github.com/nextcloud/android] no update needed
|
||||
[12 / 12] Dev base (nextcloud/dev-base) [https://github.com/nextcloud/android/tree/dev-base] CONFLICT
|
||||
@@ -0,0 +1,5 @@
|
||||
Die Nextcloud App erlaubt Dir Zugriff auf alle Dateien in Deiner Nextcloud.
|
||||
|
||||
Die ist die Dev-Version der offiziellen Nextcloud App und enthält neue Features, die noch nicht ausgiebig getestet wurden. Dies kann zu Datenverlust oder Instabilität führen. Die App ist nur zum Testen der neuen Funktionen, melden von Fehlern und nicht für den alltäglichen Einsatz vorgesehen.
|
||||
|
||||
Die Dev-Version kann parallel zu der offiziellen Nextcloud-App installiert werden.
|
||||
|
After Width: | Height: | Size: 821 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 79 KiB |
@@ -0,0 +1 @@
|
||||
Die Nextcloud App erlaubt Dir Zugriff auf alle Dateien in Deiner Nextcloud.
|
||||
@@ -0,0 +1 @@
|
||||
Nextcloud Dev
|
||||
@@ -0,0 +1,4 @@
|
||||
A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
|
||||
This is a dev version of the official Nextcloid app and includes brand-new, untested features which might lead to instabilities and data loss. The app is designed for users willing to test the new features and to report bugs if they occur. Do not use it for your productive work!
|
||||
|
||||
The dev version can be installed alongside the official Nextcloud app which is available at F-Droid, too. Once a day it is checked if the source code was updated, so there can be longer pauses between builds.
|
||||
|
After Width: | Height: | Size: 821 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 79 KiB |
@@ -0,0 +1 @@
|
||||
A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
|
||||
@@ -0,0 +1 @@
|
||||
Nextcloud Dev
|
||||
@@ -0,0 +1,25 @@
|
||||
Flole998/master
|
||||
nextcloud/1089_sharing_with_password_rule
|
||||
nextcloud/audioRotationBug
|
||||
nextcloud/autoUploadRotationBug
|
||||
nextcloud/autoUploadWithoutStoragePermission
|
||||
nextcloud/contactsBackupUI
|
||||
nextcloud/crashDueToEmptyString
|
||||
nextcloud/deleteFilesOnAccountRemoval
|
||||
nextcloud/dev
|
||||
nextcloud/ErrorInActivityListAdapter
|
||||
nextcloud/externalStorage
|
||||
nextcloud/fix_file_modification_date_on_upload
|
||||
nextcloud/folderObserver
|
||||
nextcloud/master
|
||||
nextcloud/new_details_view_animations
|
||||
nextcloud/pinchZoom
|
||||
nextcloud/removedSDcard
|
||||
nextcloud/resizedImages
|
||||
nextcloud/searchViewWrongFiles
|
||||
nextcloud/settingsOn4x
|
||||
nextcloud/sharedFolderMissing
|
||||
nextcloud/shareDialog
|
||||
nextcloud/stopAsyncTasks
|
||||
nextcloud/transactionTooLarge
|
||||
nextcloud/userTheming
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/bin/bash
|
||||
date=$(date +%Y%m%d)
|
||||
|
||||
# use the current date
|
||||
mkdir -p ~/apks
|
||||
echo $date > ~/apks/latest
|
||||
|
||||
# always use dev branch for android library
|
||||
sed -i s"#'com.github.nextcloud:android-library.*#'com.github.nextcloud:android-library:dev-SNAPSHOT'#" build.gradle
|
||||
|
||||
# use current date for version code/name
|
||||
sed -i s"#android:versionCode=.*#android:versionCode=\"$date\"#" src/main/AndroidManifest.xml
|
||||
sed -i s"#versionCode .*#versionCode $date#" build.gradle
|
||||
|
||||
sed -i s"#android:versionName=.*\"#android:versionName=\"$date\"#" src/main/AndroidManifest.xml
|
||||
sed -i s"#versionName .*#versionName \"$date\"#" build.gradle
|
||||
|
||||
# sed -e 's#\@string/app_name#Nextcloud dev#' -e 's#\@string/copy_link#Copy link#' -e 's#\@string/share_dialog_title#Sharing#' -e 's#\@string/manage_space_title#Manage space#' src/main/AndroidManifest.xml -i
|
||||
|
||||
# build signed apk
|
||||
gradle assembleGenericRelease >> /tmp/dev.log 2>&1
|
||||
|
||||
if [ $? != 0 ] ; then
|
||||
echo "Build error!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mv build/outputs/apk/android-generic-release.apk ~/apks/nextcloud-dev-$date.apk
|
||||
ln -s nextcloud-dev-$date.apk latest.apk
|
||||
mv latest.apk ~/apks/
|
||||
|
||||
# remove all but the latest 5 apks
|
||||
/bin/ls -t ~/apks/*.apk | awk 'NR>6' | xargs rm -f
|
||||
|
||||
git add .
|
||||
git commit -m "daily dev $date"
|
||||
git push
|
||||
|
||||
git tag dev-$date
|
||||
git push origin dev-$date
|
||||
|
||||
# remove all but the latest 5 tags
|
||||
git tag|grep dev | sort -r | awk 'NR>5' | xargs -n 1 git push --delete origin
|
||||
git tag|grep dev | sort -r | awk 'NR>5' | xargs -n 1 git tag -d
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
source ~/.git/githubPass
|
||||
|
||||
pullRequests=$(curl -u "$GITHUB_USER:$GITHUB_PASS" 2>/dev/null https://api.github.com/search/issues?q=repo:nextcloud/android+state:open+type:pr+label:%22ready%20for%20dev%22 | grep pulls | cut -d'"' -f4)
|
||||
|
||||
for pr in $pullRequests; do
|
||||
xml=$(curl -u "$GITHUB_USER:$GITHUB_PASS" 2> /dev/null $pr)
|
||||
branchName=$(echo "$xml" | grep \"label\" | head -n1 | cut -d'"' -f 4| tr ":" "/")
|
||||
title=$(echo "$xml" | grep "title" | head -n1 | cut -d'"' -f 4 | tr -d "(" | tr -d ")" | tr -d "[" | tr -d "]")
|
||||
htmlUrl=$(echo "$xml" |grep html_url | grep pull | cut -d'"' -f4)
|
||||
|
||||
echo "$title ("$branchName") ["$htmlUrl"]"
|
||||
done
|
||||
|
||||
# manually add master and dev-base branch
|
||||
echo "Master (nextcloud/master) [https://github.com/nextcloud/android]"
|
||||
echo "Dev base (nextcloud/dev-base) [https://github.com/nextcloud/android/tree/dev-base]"
|
||||
|
||||
## add remote repos
|
||||
for repoUrl in $(curl -u "$GITHUB_USER:$GITHUB_PASS" 2> /dev/null $pullRequests | grep \"git_url\" | sort | uniq | cut -f4 -d"\"" ); do
|
||||
repoName=$(echo $repoUrl | cut -f4 -d"/")
|
||||
git remote add $repoName $repoUrl 2>/dev/null
|
||||
done
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
DO NOT TOUCH; GENERATED BY DRONE
|
||||
<span class="mdl-layout-title">Lint Report: 71 errors and 846 warnings</span>
|
||||
<span class="mdl-layout-title">Lint Report: 71 errors and 831 warnings</span>
|
||||
@@ -0,0 +1,82 @@
|
||||
#!/bin/bash
|
||||
|
||||
statusFile="devUpdateStatus"
|
||||
touch mergedBranches
|
||||
|
||||
# check if branch was changed
|
||||
git fetch
|
||||
devBranchWasUpdated=$(git status | grep "dem selben Stand" -c)
|
||||
|
||||
git pull -q || exit
|
||||
|
||||
branches=$(scripts/getBranchesForDev)
|
||||
branchesCount=$(echo "$branches" | wc -l)
|
||||
count=1
|
||||
|
||||
date +%F > $statusFile
|
||||
echo "Branches: $branchesCount" >> $statusFile
|
||||
|
||||
if [ $devBranchWasUpdated -eq 0 ]; then
|
||||
# branch was updated outside, so build new dev
|
||||
echo "[00 / $(printf "%02d" $branchesCount)] Dev branch (nextcloud/dev) [https://github.com/nextcloud/android/tree/dev] was updated successfully" >> $statusFile
|
||||
fi
|
||||
|
||||
while read -r branch; do
|
||||
echo -n "[$(printf "%02d" $count) / $(printf "%02d" $branchesCount)] " >> $statusFile
|
||||
|
||||
branchName=$(echo $branch | cut -d"(" -f2 | cut -d")" -f1 | tr ":" "/")
|
||||
|
||||
if [ $(echo $branchName | grep -c "^origin") -eq 0 ] ; then
|
||||
# remote repo
|
||||
git fetch -q $(echo $branchName | cut -f1 -d"/") 1> /dev/null
|
||||
fi
|
||||
|
||||
mergeOutput=$(git merge --no-edit $branchName)
|
||||
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "$branch CONFLICT" >> $statusFile
|
||||
git merge --abort
|
||||
else
|
||||
if [ $(echo $mergeOutput | grep "up-to-date" -c) -eq 0 ] ; then
|
||||
# branch has newer state
|
||||
echo "$branch merged successfully" >> $statusFile
|
||||
else
|
||||
echo "$branch no update needed" >> $statusFile
|
||||
fi
|
||||
fi
|
||||
|
||||
let count++
|
||||
done <<< "$branches"
|
||||
|
||||
## Update Changelog.md
|
||||
tmpFile=$(tempfile)
|
||||
cp CHANGELOG.md $tmpFile
|
||||
|
||||
echo "## $(date '+%F %H:%M')" > CHANGELOG.md
|
||||
|
||||
## add new branches
|
||||
if [ $(comm -13 mergedBranches <(cat devUpdateStatus | grep succ | cut -d"(" -f2 | cut -d")" -f1 | sort) | wc -l) -gt 0 ] ; then
|
||||
egrep "$(comm -13 mergedBranches <(cat devUpdateStatus | grep succ | cut -d"(" -f2 | cut -d")" -f1 | sort) )" devUpdateStatus | cut -d"]" -f2 | sed s'#$#]#'g | sed s'#^#-#'g | sed s'#$# added#'g >> CHANGELOG.md
|
||||
else
|
||||
echo "no new branches added" >> CHANGELOG.md
|
||||
fi
|
||||
|
||||
cat devUpdateStatus | grep succ | cut -d"(" -f2 | cut -d")" -f1 >> mergedBranches
|
||||
sort -u mergedBranches -o mergedBranches_unique
|
||||
mv mergedBranches_unique mergedBranches
|
||||
|
||||
echo >> CHANGELOG.md
|
||||
|
||||
## add updated branches
|
||||
if [ $(cat devUpdateStatus | grep succ -c) -gt 0 ]; then
|
||||
cat devUpdateStatus | grep succ | cut -d"]" -f2 | sed s'#$#]#'g | sed s'#^#-#'g | sed s'#$# updated#'g >> CHANGELOG.md
|
||||
else
|
||||
echo "no branches updated" >> CHANGELOG.md
|
||||
fi
|
||||
|
||||
echo >> CHANGELOG.md
|
||||
cat $tmpFile >> CHANGELOG.md
|
||||
|
||||
git add .
|
||||
git commit -m "update dev $(date +%F)"
|
||||
git push
|
||||
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -n "git pull:"
|
||||
git pull || exit
|
||||
echo
|
||||
|
||||
branches=$(scripts/getBranchesForDev)
|
||||
branchesCount=$(echo "$branches" | wc -l)
|
||||
|
||||
count=1
|
||||
echo "Branches: $branchesCount"
|
||||
|
||||
while read -u 3 -r branch; do
|
||||
branchName=$(echo $branch | cut -d"(" -f2 | cut -d")" -f1 | tr ":" "/")
|
||||
|
||||
echo -n "[$(printf "%02d" $count) / $(printf "%02d" $branchesCount)] $branch"
|
||||
|
||||
|
||||
if [ $(echo $branchName | grep -c "^origin") -eq 0 ] ; then
|
||||
# remote repo
|
||||
git fetch -q $(echo $branchName | cut -f1 -d"/") 1> /dev/null
|
||||
fi
|
||||
|
||||
git merge --no-edit $branchName 1> /dev/null
|
||||
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "resolve conflict in androidStudio, after resolving press RETURN"
|
||||
read
|
||||
git add . && git commit --no-edit 1> /dev/null
|
||||
else
|
||||
echo " merged"
|
||||
fi
|
||||
|
||||
let count++
|
||||
|
||||
done 3<<< "$branches"
|
||||
|
||||
echo "git push? [y/n]"
|
||||
read -r result
|
||||
|
||||
if [ $result = "y" ] ; then
|
||||
git push
|
||||
fi
|
||||
@@ -1 +1 @@
|
||||
include ':'
|
||||
include ':'
|
||||
@@ -8,7 +8,7 @@
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "",
|
||||
"android_client_info": {
|
||||
"package_name": "com.nextcloud.client"
|
||||
"package_name": "com.nextcloud.android.beta"
|
||||
}
|
||||
},
|
||||
"oauth_client": [],
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.owncloud.android"
|
||||
android:versionCode="10040399"
|
||||
android:versionName="1.4.3">
|
||||
android:versionCode="20170716"
|
||||
android:versionName="20170716">
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="14"
|
||||
@@ -83,8 +83,9 @@
|
||||
<activity android:name=".ui.activity.UserInfoActivity" />
|
||||
<activity android:name=".ui.activity.NotificationsActivity"/>
|
||||
<activity android:name=".ui.activity.ParticipateActivity" />
|
||||
<activity android:name=".ui.activity.ActivitiesListActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden" />
|
||||
<activity
|
||||
android:name=".ui.activity.ActivitiesListActivity"
|
||||
android:configChanges="orientation|screenSize|keyboardHidden"/>
|
||||
<activity android:name=".ui.activity.FolderSyncActivity" />
|
||||
<activity android:name=".ui.activity.UploadFilesActivity" />
|
||||
<activity android:name=".ui.activity.ExternalSiteWebView"
|
||||
@@ -181,6 +182,12 @@
|
||||
android:resource="@xml/exposed_filepaths" />
|
||||
</provider>
|
||||
|
||||
<provider
|
||||
android:name=".providers.DiskLruImageCacheFileProvider"
|
||||
android:authorities="org.nextcloud.imageCache.provider"
|
||||
android:exported="true">
|
||||
</provider>
|
||||
|
||||
<activity
|
||||
android:name=".authentication.AuthenticatorActivity"
|
||||
android:exported="true"
|
||||
@@ -217,7 +224,7 @@
|
||||
<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.errorhandling.ErrorShowActivity" />
|
||||
|
||||
@@ -105,17 +105,16 @@ public class MainApp extends MultiDexApplication {
|
||||
if (isSamlAuth) {
|
||||
OwnCloudClientManagerFactory.setDefaultPolicy(Policy.SINGLE_SESSION_PER_ACCOUNT);
|
||||
} else {
|
||||
OwnCloudClientManagerFactory.setDefaultPolicy(Policy.ALWAYS_NEW_CLIENT);
|
||||
OwnCloudClientManagerFactory
|
||||
.setDefaultPolicy(Policy.SINGLE_SESSION_PER_ACCOUNT_IF_SERVER_SUPPORTS_SERVER_MONITORING);
|
||||
}
|
||||
|
||||
// initialise thumbnails cache on background thread
|
||||
new ThumbnailsCacheManager.InitDiskCacheTask().execute();
|
||||
|
||||
if (BuildConfig.DEBUG) {
|
||||
// use app writable dir, no permissions needed
|
||||
Log_OC.startLogging(getAppContext());
|
||||
Log_OC.d("Debug", "start logging");
|
||||
}
|
||||
// use app writable dir, no permissions needed
|
||||
Log_OC.startLogging(getAppContext());
|
||||
Log_OC.d("Debug", "start logging");
|
||||
|
||||
cleanOldEntries();
|
||||
updateAutoUploadEntries();
|
||||
|
||||
@@ -1088,12 +1088,10 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
||||
return;
|
||||
}
|
||||
|
||||
if (AccountTypeUtils.getAuthTokenTypeAccessToken(MainApp.getAccountType()).
|
||||
equals(mAuthTokenType)) {
|
||||
|
||||
if (AccountTypeUtils.getAuthTokenTypeAccessToken(MainApp.getAccountType()).equals(mAuthTokenType)) {
|
||||
startOauthorization();
|
||||
} else if (AccountTypeUtils.getAuthTokenTypeSamlSessionCookie(MainApp.getAccountType()).
|
||||
equals(mAuthTokenType)) {
|
||||
} else if (AccountTypeUtils.getAuthTokenTypeSamlSessionCookie(MainApp.getAccountType())
|
||||
.equals(mAuthTokenType)) {
|
||||
|
||||
startSamlBasedFederatedSingleSignOnAuthorization();
|
||||
} else {
|
||||
@@ -1125,8 +1123,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
|
||||
dialog.show(getSupportFragmentManager(), WAIT_DIALOG_TAG);
|
||||
|
||||
/// validate credentials accessing the root folder
|
||||
OwnCloudCredentials credentials = OwnCloudCredentialsFactory.newBasicCredentials(username,
|
||||
password);
|
||||
OwnCloudCredentials credentials = OwnCloudCredentialsFactory.newBasicCredentials(username, password);
|
||||
accessRootFolder(credentials);
|
||||
}
|
||||
|
||||
|
||||
@@ -2158,4 +2158,20 @@ public class FileDataStorageManager {
|
||||
return ocFiles;
|
||||
}
|
||||
|
||||
public void deleteAllFiles() {
|
||||
String where = ProviderTableMeta.FILE_ACCOUNT_OWNER + "=?";
|
||||
String[] whereArgs = new String[]{mAccount.name};
|
||||
|
||||
if (getContentResolver() != null) {
|
||||
getContentResolver().delete(ProviderTableMeta.CONTENT_URI_FILE, where, whereArgs);
|
||||
|
||||
} else {
|
||||
try {
|
||||
getContentProviderClient().delete(ProviderTableMeta.CONTENT_URI_FILE, where, whereArgs);
|
||||
} catch (RemoteException e) {
|
||||
Log_OC.e(TAG, "Exception in deleteAllFiles for account " + mAccount.name + ": " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -22,19 +22,25 @@
|
||||
package com.owncloud.android.datamodel;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.content.Context;
|
||||
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.widget.ImageView;
|
||||
import android.widget.ProgressBar;
|
||||
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
@@ -73,7 +79,7 @@ public class ThumbnailsCacheManager {
|
||||
private static DiskLruImageCache mThumbnailCache = null;
|
||||
private static boolean mThumbnailCacheStarting = true;
|
||||
|
||||
private static final int DISK_CACHE_SIZE = 1024 * 1024 * 10; // 10MB
|
||||
private static final int DISK_CACHE_SIZE = 1024 * 1024 * 200; // 10MB
|
||||
private static final CompressFormat mCompressFormat = CompressFormat.JPEG;
|
||||
private static final int mCompressQuality = 70;
|
||||
private static OwnCloudClient mClient = null;
|
||||
@@ -90,7 +96,7 @@ public class ThumbnailsCacheManager {
|
||||
R.drawable.file_movie
|
||||
);
|
||||
|
||||
|
||||
|
||||
public static class InitDiskCacheTask extends AsyncTask<File, Void, Void> {
|
||||
|
||||
@Override
|
||||
@@ -183,9 +189,11 @@ public class ThumbnailsCacheManager {
|
||||
|
||||
public static class ThumbnailGenerationTask extends AsyncTask<Object, Void, Bitmap> {
|
||||
private final WeakReference<ImageView> mImageViewReference;
|
||||
private WeakReference<ProgressBar> mProgressWheelRef;
|
||||
private static Account mAccount;
|
||||
private ArrayList<ThumbnailGenerationTask> mAsyncTasks = null;
|
||||
private Object mFile;
|
||||
private Boolean mIsThumbnail;
|
||||
private String mImageKey = null;
|
||||
private FileDataStorageManager mStorageManager;
|
||||
private GetMethod getMethod;
|
||||
@@ -221,6 +229,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);
|
||||
@@ -242,18 +256,20 @@ public class ThumbnailsCacheManager {
|
||||
}
|
||||
|
||||
mFile = params[0];
|
||||
if (params.length == 2) {
|
||||
mImageKey = (String) params[1];
|
||||
mIsThumbnail = (Boolean) params[1];
|
||||
|
||||
if (params.length == 3){
|
||||
mImageKey = (String) params[2];
|
||||
}
|
||||
|
||||
if (mFile instanceof OCFile) {
|
||||
thumbnail = doOCFileInBackground();
|
||||
thumbnail = doOCFileInBackground(mIsThumbnail);
|
||||
|
||||
if (MimeTypeUtil.isVideo((OCFile) mFile) && thumbnail != null) {
|
||||
thumbnail = addVideoOverlay(thumbnail);
|
||||
}
|
||||
} else if (mFile instanceof File) {
|
||||
thumbnail = doFileInBackground();
|
||||
} else if (mFile instanceof File) {
|
||||
thumbnail = doFileInBackground(mIsThumbnail);
|
||||
|
||||
String url = ((File) mFile).getAbsolutePath();
|
||||
String mMimeType = FileStorageUtils.getMimeTypeFromName(url);
|
||||
@@ -286,6 +302,12 @@ 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);
|
||||
}
|
||||
}
|
||||
@@ -296,6 +318,29 @@ public class ThumbnailsCacheManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
@@ -307,31 +352,56 @@ public class ThumbnailsCacheManager {
|
||||
return d.intValue();
|
||||
}
|
||||
|
||||
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);
|
||||
@@ -344,30 +414,49 @@ public class ThumbnailsCacheManager {
|
||||
if (serverOCVersion.supportsRemoteThumbnails()) {
|
||||
getMethod = 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);
|
||||
getMethod = new GetMethod(uri);
|
||||
getMethod.setRequestHeader("Cookie",
|
||||
"nc_sameSiteCookielax=true;nc_sameSiteCookiestrict=true");
|
||||
int status = mClient.executeMethod(getMethod);
|
||||
if (status == HttpStatus.SC_OK) {
|
||||
InputStream inputStream = getMethod.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);
|
||||
getMethod = new GetMethod(uri);
|
||||
getMethod.setRequestHeader("Cookie",
|
||||
"nc_sameSiteCookielax=true;nc_sameSiteCookiestrict=true");
|
||||
int status = mClient.executeMethod(getMethod);
|
||||
if (status == HttpStatus.SC_OK) {
|
||||
InputStream inputStream = getMethod.getResponseBodyAsStream();
|
||||
Bitmap bitmap = BitmapFactory.decodeStream(inputStream);
|
||||
thumbnail = ThumbnailUtils.extractThumbnail(bitmap, pxW, pxH);
|
||||
}
|
||||
} else {
|
||||
mClient.exhaustResponse(getMethod.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);
|
||||
getMethod = new GetMethod(uri);
|
||||
getMethod.setRequestHeader("Cookie",
|
||||
"nc_sameSiteCookielax=true;nc_sameSiteCookiestrict=true");
|
||||
int status = mClient.executeMethod(getMethod);
|
||||
if (status == HttpStatus.SC_OK) {
|
||||
InputStream inputStream = getMethod.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);
|
||||
}
|
||||
} else {
|
||||
mClient.exhaustResponse(getMethod.getResponseBodyAsStream());
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
Log_OC.d(TAG, e.getMessage(), e);
|
||||
@@ -387,7 +476,7 @@ public class ThumbnailsCacheManager {
|
||||
|
||||
}
|
||||
|
||||
private Bitmap doFileInBackground() {
|
||||
private Bitmap doFileInBackground(Boolean mIsThumbnail) {
|
||||
File file = (File)mFile;
|
||||
|
||||
final String imageKey;
|
||||
@@ -397,19 +486,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;
|
||||
@@ -474,7 +577,7 @@ public class ThumbnailsCacheManager {
|
||||
if (MimeTypeUtil.isVideo(mFile)) {
|
||||
imageView.setImageBitmap(ThumbnailsCacheManager.mDefaultVideo);
|
||||
} else {
|
||||
imageView.setImageResource(MimeTypeUtil.getFileTypeIconId(null, mFile.getName()));
|
||||
imageView.setImageDrawable(MimeTypeUtil.getFileTypeIcon(null, mFile.getName(), null));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
/**
|
||||
/*
|
||||
* ownCloud Android client application
|
||||
*
|
||||
* @author David A. Velasco
|
||||
* Copyright (C) 2016 ownCloud Inc.
|
||||
* <p/>
|
||||
*
|
||||
* 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.
|
||||
* <p/>
|
||||
*
|
||||
* 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.
|
||||
* <p/>
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
@@ -223,10 +223,10 @@ public class MediaControlView extends FrameLayout /* implements OnLayoutChangeLi
|
||||
if (mProgress != null) {
|
||||
if (mProgress instanceof SeekBar) {
|
||||
SeekBar seeker = (SeekBar) mProgress;
|
||||
ThemeUtils.colorPreLollipopHorizontalSeekBar(seeker);
|
||||
ThemeUtils.colorHorizontalSeekBar(seeker);
|
||||
seeker.setOnSeekBarChangeListener(this);
|
||||
} else {
|
||||
ThemeUtils.colorPreLollipopHorizontalProgressBar(mProgress);
|
||||
ThemeUtils.colorHorizontalProgressBar(mProgress, ThemeUtils.primaryAccentColor());
|
||||
}
|
||||
mProgress.setMax(1000);
|
||||
}
|
||||
|
||||
@@ -448,7 +448,13 @@ public class UploadFileOperation extends SyncOperation {
|
||||
|
||||
|
||||
} else if (mLocalBehaviour == FileUploader.LOCAL_BEHAVIOUR_DELETE) {
|
||||
originalFile.delete();
|
||||
try {
|
||||
if (!originalFile.delete()) {
|
||||
Log_OC.e(TAG, "Deletion of " + originalFile.getName() + " failed!");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
Log_OC.e(TAG, "Deletion of " + originalFile.getName() + " failed with " + e.getMessage());
|
||||
}
|
||||
getStorageManager().deleteFileInMediaScan(originalFile.getAbsolutePath());
|
||||
saveUploadedFile(client);
|
||||
} else {
|
||||
|
||||
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
* ownCloud Android client application
|
||||
*
|
||||
* Copyright (C) 2016 Tobias Kaminsky
|
||||
*
|
||||
* 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.providers;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.content.ContentProvider;
|
||||
import android.content.ContentValues;
|
||||
import android.database.Cursor;
|
||||
import android.database.MatrixCursor;
|
||||
import android.graphics.Bitmap;
|
||||
import android.net.Uri;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import android.provider.OpenableColumns;
|
||||
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.authentication.AccountUtils;
|
||||
import com.owncloud.android.datamodel.FileDataStorageManager;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.datamodel.ThumbnailsCacheManager;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.File;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public class DiskLruImageCacheFileProvider extends ContentProvider {
|
||||
public static final String AUTHORITY = "org.nextcloud.imageCache.provider";
|
||||
|
||||
@Override
|
||||
public boolean onCreate() {
|
||||
return true;
|
||||
}
|
||||
|
||||
private OCFile getFile(Uri uri) {
|
||||
Account account = AccountUtils.getCurrentOwnCloudAccount(MainApp.getAppContext());
|
||||
FileDataStorageManager fileDataStorageManager = new FileDataStorageManager(account,
|
||||
MainApp.getAppContext().getContentResolver());
|
||||
|
||||
return fileDataStorageManager.getFileByPath(uri.getPath());
|
||||
}
|
||||
|
||||
@Override
|
||||
public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException {
|
||||
OCFile ocFile = getFile(uri);
|
||||
|
||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
|
||||
String.valueOf("r" + ocFile.getRemoteId()));
|
||||
|
||||
// create a file to write bitmap data
|
||||
File f = new File(MainApp.getAppContext().getCacheDir(), ocFile.getFileName());
|
||||
try {
|
||||
f.createNewFile();
|
||||
|
||||
//Convert bitmap to byte array
|
||||
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
||||
thumbnail.compress(Bitmap.CompressFormat.JPEG, 90, bos);
|
||||
byte[] bitmapdata = bos.toByteArray();
|
||||
|
||||
//write the bytes in file
|
||||
FileOutputStream fos = null;
|
||||
try {
|
||||
fos = new FileOutputStream(f);
|
||||
} catch (FileNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
fos.write(bitmapdata);
|
||||
fos.flush();
|
||||
fos.close();
|
||||
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
return ParcelFileDescriptor.open(f, ParcelFileDescriptor.MODE_READ_ONLY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getType(Uri uri) {
|
||||
OCFile ocFile = getFile(uri);
|
||||
return ocFile.getMimetype();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cursor query(Uri uri, String[] arg1, String arg2, String[] arg3, String arg4) {
|
||||
MatrixCursor cursor = null;
|
||||
|
||||
OCFile ocFile = getFile(uri);
|
||||
File file = new File(MainApp.getAppContext().getCacheDir(), ocFile.getFileName());
|
||||
if (file.exists()) {
|
||||
cursor = new MatrixCursor(new String[] {
|
||||
OpenableColumns.DISPLAY_NAME, OpenableColumns.SIZE });
|
||||
cursor.addRow(new Object[] { uri.getLastPathSegment(),
|
||||
file.length() });
|
||||
}
|
||||
|
||||
return cursor;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Uri insert(Uri uri, ContentValues values) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int delete(Uri uri, String selection, String[] selectionArgs) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -168,8 +168,8 @@ public class FileObserverService extends Service {
|
||||
return Service.START_STICKY;
|
||||
|
||||
} else if (ACTION_ADD_OBSERVED_FILE.equals(intent.getAction())) {
|
||||
OCFile file = (OCFile) intent.getParcelableExtra(ARG_FILE);
|
||||
Account account = (Account) intent.getParcelableExtra(ARG_ACCOUNT);
|
||||
OCFile file = intent.getParcelableExtra(ARG_FILE);
|
||||
Account account = intent.getParcelableExtra(ARG_ACCOUNT);
|
||||
addObservedFile(file, account);
|
||||
|
||||
} else if (ACTION_DEL_OBSERVED_FILE.equals(intent.getAction())) {
|
||||
@@ -359,7 +359,7 @@ public class FileObserverService extends Service {
|
||||
&& downloadedFile.exists()) {
|
||||
// no matter if the download was successful or not; the
|
||||
// file could be down anyway due to a former download or upload
|
||||
observer.startWatching(downloadedFile.getName());
|
||||
// observer.startWatching(downloadedFile.getName());
|
||||
Log_OC.d(TAG, "Resuming observance of " + downloadedFile.getAbsolutePath());
|
||||
|
||||
} else if (intent.getAction().equals(FileDownloader.getDownloadAddedMessage())) {
|
||||
|
||||
@@ -26,8 +26,8 @@ import android.accounts.AuthenticatorException;
|
||||
import android.accounts.OperationCanceledException;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.AsyncTask;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Bundle;
|
||||
import android.support.design.widget.BottomNavigationView;
|
||||
import android.support.v4.widget.SwipeRefreshLayout;
|
||||
|
||||
@@ -291,7 +291,7 @@ public abstract class DrawerActivity extends ToolbarActivity implements DisplayU
|
||||
mQuotaProgressBar = (ProgressBar) findQuotaViewById(R.id.drawer_quota_ProgressBar);
|
||||
mQuotaTextPercentage = (TextView) findQuotaViewById(R.id.drawer_quota_percentage);
|
||||
mQuotaTextLink = (TextView) findQuotaViewById(R.id.drawer_quota_link);
|
||||
ThemeUtils.colorPreLollipopHorizontalProgressBar(mQuotaProgressBar);
|
||||
ThemeUtils.colorHorizontalProgressBar(mQuotaProgressBar, ThemeUtils.primaryAccentColor());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -40,7 +40,6 @@ import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.authentication.AccountUtils;
|
||||
import com.owncloud.android.authentication.AuthenticatorActivity;
|
||||
import com.owncloud.android.datamodel.ArbitraryDataProvider;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.files.services.FileDownloader;
|
||||
import com.owncloud.android.files.services.FileDownloader.FileDownloaderBinder;
|
||||
@@ -56,6 +55,7 @@ import com.owncloud.android.lib.common.operations.RemoteOperation;
|
||||
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
|
||||
import com.owncloud.android.lib.common.operations.RemoteOperationResult.ResultCode;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.operations.CreateShareViaLinkOperation;
|
||||
import com.owncloud.android.operations.CreateShareWithShareeOperation;
|
||||
import com.owncloud.android.operations.GetSharesForFileOperation;
|
||||
import com.owncloud.android.operations.SynchronizeFileOperation;
|
||||
@@ -302,7 +302,7 @@ public abstract class FileActivity extends DrawerActivity
|
||||
|
||||
dismissLoadingDialog();
|
||||
|
||||
if (!result.isSuccess() && (
|
||||
if (!result.isSuccess() && ! (operation instanceof CreateShareViaLinkOperation) && (
|
||||
result.getCode() == ResultCode.UNAUTHORIZED ||
|
||||
(result.isException() && result.getException() instanceof AuthenticatorException)
|
||||
)) {
|
||||
|
||||
@@ -99,7 +99,6 @@ import com.owncloud.android.ui.preview.PreviewMediaFragment;
|
||||
import com.owncloud.android.ui.preview.PreviewTextFragment;
|
||||
import com.owncloud.android.ui.preview.PreviewVideoActivity;
|
||||
import com.owncloud.android.utils.DataHolderUtil;
|
||||
import com.owncloud.android.utils.DisplayUtils;
|
||||
import com.owncloud.android.utils.ErrorMessageAdapter;
|
||||
import com.owncloud.android.utils.MimeTypeUtil;
|
||||
import com.owncloud.android.utils.PermissionUtil;
|
||||
|
||||
@@ -29,6 +29,7 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.ServiceConnection;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.IBinder;
|
||||
@@ -54,9 +55,11 @@ import com.owncloud.android.ui.helpers.FileOperationsHelper;
|
||||
import com.owncloud.android.utils.AnalyticsUtils;
|
||||
import com.owncloud.android.utils.DisplayUtils;
|
||||
import com.owncloud.android.utils.ThemeUtils;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
|
||||
import org.parceler.Parcels;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Set;
|
||||
|
||||
@@ -358,6 +361,30 @@ public class ManageAccountsActivity extends FileActivity
|
||||
private void performAccountRemoval(Account account) {
|
||||
AccountManager am = (AccountManager) getSystemService(ACCOUNT_SERVICE);
|
||||
am.removeAccount(account, this, this.getHandler());
|
||||
|
||||
deleteAccountFiles(account);
|
||||
}
|
||||
|
||||
private void deleteAccountFiles(final Account account) {
|
||||
AsyncTask removalTask = new AsyncTask() {
|
||||
@Override
|
||||
protected Object doInBackground(Object[] params) {
|
||||
FileDataStorageManager storageManager = new FileDataStorageManager(account, getContentResolver());
|
||||
|
||||
File tempDir = new File(FileStorageUtils.getTemporalPath(account.name));
|
||||
File saveDir = new File(FileStorageUtils.getSavePath(account.name));
|
||||
|
||||
FileStorageUtils.deleteRecursively(tempDir, storageManager);
|
||||
FileStorageUtils.deleteRecursively(saveDir, storageManager);
|
||||
|
||||
// delete all database entries
|
||||
storageManager.deleteAllFiles();
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
removalTask.execute();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
/*
|
||||
* ownCloud Android client application
|
||||
*
|
||||
* @author Bartek Przybylski
|
||||
@@ -33,6 +33,7 @@ import android.content.res.Configuration;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.net.Uri;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.Environment;
|
||||
@@ -76,7 +77,11 @@ import com.owncloud.android.utils.AnalyticsUtils;
|
||||
import com.owncloud.android.utils.DisplayUtils;
|
||||
import com.owncloud.android.utils.ThemeUtils;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.net.URL;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
/**
|
||||
* An Activity that allows the user to change the application's settings.
|
||||
@@ -662,6 +667,54 @@ public class Preferences extends PreferenceActivity
|
||||
loadExternalSettingLinks(preferenceCategoryMore);
|
||||
|
||||
loadStoragePath();
|
||||
|
||||
/* Link to dev apks */
|
||||
Preference pDevLink = findPreference("dev_link");
|
||||
if (pDevLink != null) {
|
||||
pDevLink.setOnPreferenceClickListener(new OnPreferenceClickListener() {
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference) {
|
||||
Integer latestVersion = -1;
|
||||
Integer currentVersion = -1;
|
||||
try {
|
||||
currentVersion = getPackageManager().getPackageInfo(getPackageName(), 0).versionCode;
|
||||
LoadingVersionNumberTask loadTask = new LoadingVersionNumberTask();
|
||||
loadTask.execute();
|
||||
latestVersion = loadTask.get();
|
||||
} catch (InterruptedException | ExecutionException | NameNotFoundException e) {
|
||||
Log_OC.e(TAG, "Error detecting app version", e);
|
||||
}
|
||||
if (latestVersion == -1 || currentVersion == -1) {
|
||||
Toast.makeText(getApplicationContext(), "No information available!", Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
if (latestVersion > currentVersion) {
|
||||
String devApkLink = (String) getText(R.string.dev_link) + latestVersion + ".apk";
|
||||
Uri uriUrl = Uri.parse(devApkLink);
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, uriUrl);
|
||||
startActivity(intent);
|
||||
return true;
|
||||
} else {
|
||||
Toast.makeText(getApplicationContext(), "No new version available!", Toast.LENGTH_SHORT).show();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/* Link to dev changelog */
|
||||
Preference pChangelogLink = findPreference("changelog_link");
|
||||
if (pChangelogLink != null) {
|
||||
pChangelogLink.setOnPreferenceClickListener(new OnPreferenceClickListener() {
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference) {
|
||||
String devChangelogLink = getString(R.string.dev_changelog);
|
||||
Uri uriUrl = Uri.parse(devChangelogLink);
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW, uriUrl);
|
||||
startActivity(intent);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private void launchDavDroidLogin()
|
||||
@@ -1039,4 +1092,27 @@ public class Preferences extends PreferenceActivity
|
||||
public void onCancelMigration() {
|
||||
// Migration was canceled so we don't do anything
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Class for loading the version number
|
||||
*
|
||||
*/
|
||||
private class LoadingVersionNumberTask extends AsyncTask<Void, Void, Integer> {
|
||||
protected Integer doInBackground(Void... args) {
|
||||
try {
|
||||
URL url = new URL(getString(R.string.dev_latest));
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
|
||||
|
||||
Integer latestVersion = Integer.parseInt(in.readLine());
|
||||
in.close();
|
||||
|
||||
return latestVersion;
|
||||
|
||||
} catch (IOException e) {
|
||||
Log_OC.e(TAG, "Error loading version number", e);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,20 +1,20 @@
|
||||
/**
|
||||
/*
|
||||
* ownCloud Android client application
|
||||
*
|
||||
* @author masensio
|
||||
* @author David A. Velasco
|
||||
* @author Juan Carlos González Cabrero
|
||||
* Copyright (C) 2015 ownCloud Inc.
|
||||
* <p/>
|
||||
*
|
||||
* 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.
|
||||
* <p/>
|
||||
*
|
||||
* 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.
|
||||
* <p/>
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
@@ -347,13 +347,14 @@ public class ShareActivity extends FileActivity
|
||||
chooserDialog.show(getSupportFragmentManager(), FTAG_CHOOSER_DIALOG);
|
||||
|
||||
} else {
|
||||
// Detect Failure (403) --> maybe needs password
|
||||
// Detect Failure (403) or Unauthorized (401) --> maybe needs password
|
||||
String password = operation.getPassword();
|
||||
if (result.getCode() == RemoteOperationResult.ResultCode.SHARE_FORBIDDEN &&
|
||||
(password == null || password.length() == 0) &&
|
||||
getCapabilities().getFilesSharingPublicEnabled().isUnknown()) {
|
||||
if (((result.getCode() == RemoteOperationResult.ResultCode.SHARE_FORBIDDEN &&
|
||||
(password == null || password.length() == 0) &&
|
||||
getCapabilities().getFilesSharingPublicEnabled().isUnknown()) ||
|
||||
result.getCode() == RemoteOperationResult.ResultCode.UNAUTHORIZED) ) {
|
||||
// Was tried without password, but not sure that it's optional.
|
||||
|
||||
Toast.makeText(this, R.string.enter_valid_password, Toast.LENGTH_SHORT).show();
|
||||
// Try with password before giving up; see also ShareFileFragment#OnShareViaLinkListener
|
||||
ShareFileFragment shareFileFragment = getShareFileFragment();
|
||||
if (shareFileFragment != null
|
||||
|
||||
@@ -50,6 +50,7 @@ import com.owncloud.android.R;
|
||||
import com.owncloud.android.datamodel.FileDataStorageManager;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.lib.common.OwnCloudClient;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.lib.resources.activities.models.Activity;
|
||||
import com.owncloud.android.lib.resources.activities.models.RichElement;
|
||||
import com.owncloud.android.lib.resources.activities.models.RichObject;
|
||||
@@ -78,6 +79,7 @@ public class ActivityListAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
|
||||
public static final int ACTIVITY_TYPE = 101;
|
||||
private final ActivityListInterface activityListInterface;
|
||||
private final int px;
|
||||
private static final String TAG = ActivityListAdapter.class.getSimpleName();
|
||||
private OwnCloudClient mClient;
|
||||
|
||||
private Context context;
|
||||
@@ -184,10 +186,14 @@ public class ActivityListAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
|
||||
@Override
|
||||
public void run() {
|
||||
int w = activityViewHolder.list.getMeasuredWidth();
|
||||
|
||||
int elPxSize = px + 20;
|
||||
int totalColumnCount = (int) Math.floor(w / elPxSize);
|
||||
activityViewHolder.list.setColumnCount(totalColumnCount);
|
||||
|
||||
try {
|
||||
activityViewHolder.list.setColumnCount(totalColumnCount);
|
||||
} catch (IllegalArgumentException e) {
|
||||
Log_OC.e(TAG, "error setting column count to " + totalColumnCount);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -245,8 +251,7 @@ public class ActivityListAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
|
||||
Glide.with(context).using(new CustomGlideStreamLoader()).load(uri).into(fileIcon); //Using custom fetcher
|
||||
|
||||
} else {
|
||||
fileIcon.setImageResource(MimeTypeUtil.getFileTypeIconId(file.getMimetype(),
|
||||
file.getFileName()));
|
||||
fileIcon.setImageDrawable(MimeTypeUtil.getFileTypeIcon(file.getMimetype(), file.getFileName(), null));
|
||||
}
|
||||
} else {
|
||||
// Folder
|
||||
|
||||
@@ -121,10 +121,10 @@ public class DiskLruImageCache {
|
||||
}
|
||||
final InputStream in = snapshot.getInputStream( 0 );
|
||||
if ( in != null ) {
|
||||
final BufferedInputStream buffIn =
|
||||
final BufferedInputStream buffIn =
|
||||
new BufferedInputStream( in, IO_BUFFER_SIZE );
|
||||
bitmap = BitmapFactory.decodeStream( buffIn );
|
||||
}
|
||||
bitmap = BitmapFactory.decodeStream( buffIn );
|
||||
}
|
||||
} catch ( IOException e ) {
|
||||
Log_OC.d(TAG, e.getMessage(), e);
|
||||
} finally {
|
||||
|
||||
@@ -281,6 +281,7 @@ public class ExpandableUploadListAdapter extends BaseExpandableListAdapter imple
|
||||
String status = getStatusText(upload);
|
||||
switch (upload.getUploadStatus()) {
|
||||
case UPLOAD_IN_PROGRESS:
|
||||
ThemeUtils.colorHorizontalProgressBar(progressBar, ThemeUtils.primaryAccentColor());
|
||||
progressBar.setProgress(0);
|
||||
progressBar.setVisibility(View.VISIBLE);
|
||||
|
||||
@@ -450,7 +451,7 @@ public class ExpandableUploadListAdapter extends BaseExpandableListAdapter imple
|
||||
task
|
||||
);
|
||||
fileIcon.setImageDrawable(asyncDrawable);
|
||||
task.execute(fakeFileToCheatThumbnailsCacheManagerInterface);
|
||||
task.execute(fakeFileToCheatThumbnailsCacheManagerInterface, true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -496,12 +497,8 @@ public class ExpandableUploadListAdapter extends BaseExpandableListAdapter imple
|
||||
.getColor(R.color.background_color));
|
||||
}
|
||||
} else {
|
||||
fileIcon.setImageResource(MimeTypeUtil.getFileTypeIconId(
|
||||
upload.getMimeType(),
|
||||
fileName
|
||||
));
|
||||
fileIcon.setImageDrawable(MimeTypeUtil.getFileTypeIcon(upload.getMimeType(), fileName, account));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return view;
|
||||
|
||||
@@ -271,7 +271,6 @@ public class FileListListAdapter extends BaseAdapter {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
case GRID_ITEM:
|
||||
// filename
|
||||
fileName = (TextView) view.findViewById(R.id.Filename);
|
||||
@@ -369,7 +368,9 @@ public class FileListListAdapter extends BaseAdapter {
|
||||
if (!file.isFolder()) {
|
||||
if ((MimeTypeUtil.isImage(file) || MimeTypeUtil.isVideo(file)) && file.getRemoteId() != null) {
|
||||
// Thumbnail in Cache?
|
||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(file.getRemoteId());
|
||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
|
||||
"t" + String.valueOf(file.getRemoteId())
|
||||
);
|
||||
if (thumbnail != null && !file.needsUpdateThumbnail()) {
|
||||
|
||||
if (MimeTypeUtil.isVideo(file)) {
|
||||
@@ -385,7 +386,6 @@ public class FileListListAdapter extends BaseAdapter {
|
||||
final ThumbnailsCacheManager.ThumbnailGenerationTask task =
|
||||
new ThumbnailsCacheManager.ThumbnailGenerationTask(
|
||||
fileIcon, mStorageManager, mAccount, asyncTasks);
|
||||
|
||||
if (thumbnail == null) {
|
||||
if (MimeTypeUtil.isVideo(file)) {
|
||||
thumbnail = ThumbnailsCacheManager.mDefaultVideo;
|
||||
@@ -401,7 +401,7 @@ public class FileListListAdapter extends BaseAdapter {
|
||||
);
|
||||
fileIcon.setImageDrawable(asyncDrawable);
|
||||
asyncTasks.add(task);
|
||||
task.execute(file);
|
||||
task.execute(file, true);
|
||||
} catch (IllegalArgumentException e) {
|
||||
Log_OC.d(TAG, "ThumbnailGenerationTask : " + e.getMessage());
|
||||
}
|
||||
@@ -414,7 +414,9 @@ public class FileListListAdapter extends BaseAdapter {
|
||||
|
||||
|
||||
} else {
|
||||
fileIcon.setImageResource(MimeTypeUtil.getFileTypeIconId(file.getMimetype(), file.getFileName()));
|
||||
fileIcon.setImageDrawable(
|
||||
MimeTypeUtil.getFileTypeIcon(file.getMimetype(), file.getFileName(), mAccount)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -538,6 +540,8 @@ public class FileListListAdapter extends BaseAdapter {
|
||||
RemoteOperationResult result = operation.execute(mAccount, mContext);
|
||||
if (result.isSuccess()) {
|
||||
OCFile file = FileStorageUtils.fillOCFile((RemoteFile) result.getData().get(0));
|
||||
searchForLocalFileInDefaultPath(file);
|
||||
file = mStorageManager.saveFileWithParent(file, mContext);
|
||||
|
||||
ShareType newShareType = ocShare.getShareType();
|
||||
if (newShareType == ShareType.PUBLIC_LINK) {
|
||||
|
||||
@@ -200,7 +200,7 @@ public class LocalFileListAdapter extends BaseAdapter implements FilterableListA
|
||||
if (MimeTypeUtil.isImage(file)){
|
||||
// Thumbnail in Cache?
|
||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
|
||||
String.valueOf(file.hashCode())
|
||||
"t" + String.valueOf(file.hashCode())
|
||||
);
|
||||
if (thumbnail != null){
|
||||
fileIcon.setImageBitmap(thumbnail);
|
||||
@@ -222,13 +222,15 @@ public class LocalFileListAdapter extends BaseAdapter implements FilterableListA
|
||||
task
|
||||
);
|
||||
fileIcon.setImageDrawable(asyncDrawable);
|
||||
task.execute(file);
|
||||
task.execute(file, true);
|
||||
Log_OC.v(TAG, "Executing task to generate a new thumbnail");
|
||||
|
||||
} // else, already being generated, don't restart it
|
||||
}
|
||||
} else {
|
||||
fileIcon.setImageResource(MimeTypeUtil.getFileTypeIconId(null, file.getName()));
|
||||
fileIcon.setImageDrawable(
|
||||
MimeTypeUtil.getFileTypeIcon(null, file.getName(), null)
|
||||
);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
@@ -122,12 +122,12 @@ public class UploaderAdapter extends SimpleAdapter {
|
||||
task
|
||||
);
|
||||
fileIcon.setImageDrawable(asyncDrawable);
|
||||
task.execute(file);
|
||||
task.execute(file, true);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
fileIcon.setImageResource(
|
||||
MimeTypeUtil.getFileTypeIconId(file.getMimetype(), file.getFileName())
|
||||
fileIcon.setImageDrawable(
|
||||
MimeTypeUtil.getFileTypeIcon(file.getMimetype(), file.getFileName(), mAccount)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
/**
|
||||
* ownCloud Android client application
|
||||
*
|
||||
* @author masensio
|
||||
* 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.ui.adapter;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.lib.resources.shares.OCShare;
|
||||
import com.owncloud.android.lib.resources.shares.ShareType;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* Adapter to show a user/group in Share With List in Details View
|
||||
*/
|
||||
public class UserListAdapter extends ArrayAdapter {
|
||||
|
||||
private Context mContext;
|
||||
private ArrayList<OCShare> mShares;
|
||||
|
||||
public UserListAdapter(Context context, int resource, ArrayList<OCShare> shares) {
|
||||
super(context, resource);
|
||||
mContext = context;
|
||||
mShares = shares;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
return mShares.size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getItem(int position) {
|
||||
return mShares.get(position);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getItemId(int position) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NonNull View getView(final int position, View convertView, @NonNull ViewGroup parent) {
|
||||
View view = convertView;
|
||||
if (view == null) {
|
||||
LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||
view = inflater.inflate(R.layout.file_details_share_user_item, parent, false);
|
||||
}
|
||||
|
||||
if (mShares != null && mShares.size() > position) {
|
||||
OCShare share = mShares.get(position);
|
||||
|
||||
TextView userName = (TextView) view.findViewById(R.id.userOrGroupName);
|
||||
ImageView icon = (ImageView) view.findViewById(R.id.userIcon);
|
||||
String name = share.getSharedWithDisplayName();
|
||||
if (share.getShareType() == ShareType.GROUP) {
|
||||
name = getContext().getString(R.string.share_group_clarification, name);
|
||||
icon.setImageResource(R.drawable.ic_group);
|
||||
} else if (share.getShareType() == ShareType.EMAIL) {
|
||||
name = getContext().getString(R.string.share_email_clarification, name);
|
||||
icon.setImageResource(R.drawable.ic_email);
|
||||
}
|
||||
userName.setText(name);
|
||||
|
||||
}
|
||||
return view;
|
||||
}
|
||||
}
|
||||
@@ -24,6 +24,7 @@ package com.owncloud.android.ui.dialog;
|
||||
import android.app.Dialog;
|
||||
import android.content.DialogInterface;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.support.v4.app.DialogFragment;
|
||||
import android.support.v4.app.Fragment;
|
||||
import android.support.v4.app.FragmentTransaction;
|
||||
@@ -38,7 +39,7 @@ import com.owncloud.android.R;
|
||||
*/
|
||||
public class ConflictsResolveDialog extends DialogFragment {
|
||||
|
||||
public static enum Decision {
|
||||
public enum Decision {
|
||||
CANCEL,
|
||||
KEEP_BOTH,
|
||||
OVERWRITE,
|
||||
@@ -57,12 +58,11 @@ public class ConflictsResolveDialog extends DialogFragment {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Dialog onCreateDialog(Bundle savedInstanceState) {
|
||||
String remotepath = getArguments().getString("remotepath");
|
||||
public @NonNull Dialog onCreateDialog(Bundle savedInstanceState) {
|
||||
return new AlertDialog.Builder(getActivity(), R.style.Theme_ownCloud_Dialog)
|
||||
.setIcon(R.drawable.ic_warning)
|
||||
.setTitle(R.string.conflict_title)
|
||||
.setMessage(String.format(getString(R.string.conflict_message), remotepath))
|
||||
.setMessage(getString(R.string.conflict_message))
|
||||
.setPositiveButton(R.string.conflict_use_local_version,
|
||||
new DialogInterface.OnClickListener() {
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ import android.content.Intent;
|
||||
import android.graphics.Typeface;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.support.v4.app.DialogFragment;
|
||||
import android.support.v7.app.AlertDialog;
|
||||
import android.support.v7.widget.AppCompatButton;
|
||||
@@ -54,6 +55,7 @@ public class SyncedFolderPreferencesDialogFragment extends DialogFragment {
|
||||
|
||||
private final static String TAG = SyncedFolderPreferencesDialogFragment.class.getSimpleName();
|
||||
public static final String SYNCED_FOLDER_PARCELABLE = "SyncedFolderParcelable";
|
||||
private static final String BEHAVIOUR_DIALOG_STATE = "BEHAVIOUR_DIALOG_STATE";
|
||||
public static final int REQUEST_CODE__SELECT_REMOTE_FOLDER = 0;
|
||||
|
||||
private CharSequence[] mUploadBehaviorItemStrings;
|
||||
@@ -68,6 +70,8 @@ public class SyncedFolderPreferencesDialogFragment extends DialogFragment {
|
||||
private TextView mRemoteFolderSummary;
|
||||
|
||||
private SyncedFolderParcelable mSyncedFolder;
|
||||
private boolean behaviourDialogShown;
|
||||
private AlertDialog behaviourDialog;
|
||||
private AppCompatButton mCancel;
|
||||
private AppCompatButton mSave;
|
||||
|
||||
@@ -253,30 +257,33 @@ public class SyncedFolderPreferencesDialogFragment extends DialogFragment {
|
||||
new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
||||
builder.setTitle(ThemeUtils.getColoredTitle(
|
||||
getResources().getString(R.string.prefs_instant_behaviour_dialogTitle),
|
||||
ThemeUtils.primaryAccentColor()))
|
||||
.setSingleChoiceItems(getResources().getTextArray(R.array.pref_behaviour_entries),
|
||||
mSyncedFolder.getUploadActionInteger(),
|
||||
new
|
||||
DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
mSyncedFolder.setUploadAction(
|
||||
getResources().getTextArray(
|
||||
R.array.pref_behaviour_entryValues)[which].toString());
|
||||
mUploadBehaviorSummary.setText(SyncedFolderPreferencesDialogFragment
|
||||
.this.mUploadBehaviorItemStrings[which]);
|
||||
dialog.dismiss();
|
||||
}
|
||||
});
|
||||
Dialog dialog = builder.create();
|
||||
dialog.show();
|
||||
|
||||
showBehaviourDialog();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void showBehaviourDialog() {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
||||
builder.setTitle(R.string.prefs_instant_behaviour_dialogTitle)
|
||||
.setSingleChoiceItems(getResources().getTextArray(R.array.pref_behaviour_entries),
|
||||
mSyncedFolder.getUploadActionInteger(),
|
||||
new
|
||||
DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
mSyncedFolder.setUploadAction(
|
||||
getResources().getTextArray(
|
||||
R.array.pref_behaviour_entryValues)[which].toString());
|
||||
mUploadBehaviorSummary.setText(SyncedFolderPreferencesDialogFragment
|
||||
.this.mUploadBehaviorItemStrings[which]);
|
||||
dialog.dismiss();
|
||||
behaviourDialogShown = false;
|
||||
}
|
||||
});
|
||||
behaviourDialogShown = true;
|
||||
behaviourDialog = builder.create();
|
||||
behaviourDialog.show();
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public Dialog onCreateDialog(Bundle savedInstanceState) {
|
||||
@@ -291,6 +298,11 @@ public class SyncedFolderPreferencesDialogFragment extends DialogFragment {
|
||||
if (getDialog() != null && getRetainInstance()) {
|
||||
getDialog().setDismissMessage(null);
|
||||
}
|
||||
|
||||
if (behaviourDialog != null && behaviourDialog.isShowing()) {
|
||||
behaviourDialog.dismiss();
|
||||
}
|
||||
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
@@ -315,4 +327,23 @@ public class SyncedFolderPreferencesDialogFragment extends DialogFragment {
|
||||
|
||||
void onCancelSyncedFolderPreference();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSaveInstanceState(Bundle outState) {
|
||||
outState.putBoolean(BEHAVIOUR_DIALOG_STATE, behaviourDialogShown);
|
||||
|
||||
super.onSaveInstanceState(outState);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onViewStateRestored(@Nullable Bundle savedInstanceState) {
|
||||
behaviourDialogShown = savedInstanceState != null &&
|
||||
savedInstanceState.getBoolean(BEHAVIOUR_DIALOG_STATE, false);
|
||||
|
||||
if (behaviourDialogShown) {
|
||||
showBehaviourDialog();
|
||||
}
|
||||
|
||||
super.onViewStateRestored(savedInstanceState);
|
||||
}
|
||||
}
|
||||
@@ -75,7 +75,6 @@ import com.owncloud.android.ui.activity.UploadFilesActivity;
|
||||
import com.owncloud.android.ui.adapter.FileListListAdapter;
|
||||
import com.owncloud.android.ui.adapter.LocalFileListAdapter;
|
||||
import com.owncloud.android.ui.events.SearchEvent;
|
||||
import com.owncloud.android.utils.DisplayUtils;
|
||||
import com.owncloud.android.utils.ThemeUtils;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
@@ -24,7 +24,7 @@ package com.owncloud.android.ui.fragment;
|
||||
import android.accounts.Account;
|
||||
import android.graphics.Bitmap;
|
||||
import android.os.Bundle;
|
||||
import android.support.v7.widget.AppCompatCheckBox;
|
||||
import android.support.v7.widget.SwitchCompat;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
@@ -32,8 +32,10 @@ import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.ListAdapter;
|
||||
import android.widget.ListView;
|
||||
import android.widget.ProgressBar;
|
||||
import android.widget.TextView;
|
||||
|
||||
@@ -47,8 +49,10 @@ import com.owncloud.android.files.services.FileDownloader.FileDownloaderBinder;
|
||||
import com.owncloud.android.files.services.FileUploader.FileUploaderBinder;
|
||||
import com.owncloud.android.lib.common.network.OnDatatransferProgressListener;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.lib.resources.shares.OCShare;
|
||||
import com.owncloud.android.ui.activity.FileActivity;
|
||||
import com.owncloud.android.ui.activity.FileDisplayActivity;
|
||||
import com.owncloud.android.ui.adapter.UserListAdapter;
|
||||
import com.owncloud.android.ui.dialog.RemoveFilesDialogFragment;
|
||||
import com.owncloud.android.ui.dialog.RenameFileDialogFragment;
|
||||
import com.owncloud.android.utils.AnalyticsUtils;
|
||||
@@ -57,12 +61,14 @@ import com.owncloud.android.utils.MimeTypeUtil;
|
||||
import com.owncloud.android.utils.ThemeUtils;
|
||||
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
/**
|
||||
* This Fragment is used to display the details about a file.
|
||||
*/
|
||||
public class FileDetailFragment extends FileFragment implements OnClickListener {
|
||||
public class FileDetailFragment extends FileFragment implements OnClickListener,
|
||||
CompoundButton.OnCheckedChangeListener {
|
||||
|
||||
private int mLayout;
|
||||
private View mView;
|
||||
@@ -70,6 +76,9 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
|
||||
public ProgressListener mProgressListener;
|
||||
|
||||
// to show share with users/groups info
|
||||
private ArrayList<OCShare> mShares;
|
||||
|
||||
private static final String TAG = FileDetailFragment.class.getSimpleName();
|
||||
public static final String FTAG_CONFIRMATION = "REMOVE_CONFIRMATION_FRAGMENT";
|
||||
public static final String FTAG_RENAME_FILE = "RENAME_FILE_FRAGMENT";
|
||||
@@ -143,14 +152,16 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
mView = inflater.inflate(mLayout, null);
|
||||
|
||||
if (mLayout == R.layout.file_details_fragment) {
|
||||
mView.findViewById(R.id.fdFavorite).setOnClickListener(this);
|
||||
int accentColor = ThemeUtils.primaryAccentColor();
|
||||
SwitchCompat favoriteToggle = (SwitchCompat) mView.findViewById(R.id.fdFavorite);
|
||||
favoriteToggle.setOnCheckedChangeListener(this);
|
||||
ThemeUtils.tintSwitch(favoriteToggle, accentColor, false);
|
||||
ProgressBar progressBar = (ProgressBar)mView.findViewById(R.id.fdProgressBar);
|
||||
ThemeUtils.colorPreLollipopHorizontalProgressBar(progressBar);
|
||||
ThemeUtils.colorHorizontalProgressBar(progressBar, ThemeUtils.primaryAccentColor());
|
||||
mProgressListener = new ProgressListener(progressBar);
|
||||
mView.findViewById(R.id.fdCancelBtn).setOnClickListener(this);
|
||||
|
||||
AppCompatCheckBox favoriteCheckBox = (AppCompatCheckBox) mView.findViewById(R.id.fdFavorite);
|
||||
ThemeUtils.tintCheckbox(favoriteCheckBox, ThemeUtils.primaryAccentColor());
|
||||
((TextView)mView.findViewById(R.id.fdShareTitle)).setTextColor(accentColor);
|
||||
((TextView)mView.findViewById(R.id.fdShareWithUsersTitle)).setTextColor(accentColor);
|
||||
}
|
||||
|
||||
updateFileDetails(false, false);
|
||||
@@ -309,17 +320,16 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
return true;
|
||||
}
|
||||
case R.id.action_send_file: {
|
||||
// Obtain the file
|
||||
if (!getFile().isDown()) { // Download the file
|
||||
Log_OC.d(TAG, getFile().getRemotePath() + " : File must be downloaded");
|
||||
((FileDisplayActivity) mContainerActivity).startDownloadForSending(getFile(),
|
||||
OCFileListFragment.DOWNLOAD_SEND);
|
||||
// Obtain the file
|
||||
if (!getFile().isDown()) { // Download the file
|
||||
Log_OC.d(TAG, getFile().getRemotePath() + " : File must be downloaded");
|
||||
((FileDisplayActivity) mContainerActivity).startDownloadForSending(getFile(),
|
||||
OCFileListFragment.DOWNLOAD_SEND);
|
||||
} else {
|
||||
mContainerActivity.getFileOperationsHelper().sendDownloadedFile(getFile());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
mContainerActivity.getFileOperationsHelper().sendDownloadedFile(getFile());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
default:
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
@@ -328,11 +338,6 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
switch (v.getId()) {
|
||||
case R.id.fdFavorite: {
|
||||
CheckBox cb = (CheckBox) getView().findViewById(R.id.fdFavorite);
|
||||
mContainerActivity.getFileOperationsHelper().toggleOfflineFile(getFile(),cb.isChecked());
|
||||
break;
|
||||
}
|
||||
case R.id.fdCancelBtn: {
|
||||
((FileDisplayActivity) mContainerActivity).cancelTransference(getFile());
|
||||
break;
|
||||
@@ -343,6 +348,12 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
SwitchCompat favSwitch = (SwitchCompat) getView().findViewById(R.id.fdFavorite);
|
||||
mContainerActivity.getFileOperationsHelper().toggleOfflineFile(getFile(), favSwitch.isChecked());
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the fragment was created with an empty layout. An empty fragment can't show file details, must be replaced.
|
||||
*
|
||||
@@ -389,8 +400,12 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
|
||||
setTimeModified(file.getModificationTimestamp());
|
||||
|
||||
CheckBox cb = (CheckBox)getView().findViewById(R.id.fdFavorite);
|
||||
cb.setChecked(file.isAvailableOffline());
|
||||
SwitchCompat favSwitch = (SwitchCompat) getView().findViewById(R.id.fdFavorite);
|
||||
favSwitch.setChecked(file.isAvailableOffline());
|
||||
|
||||
setShareByLinkInfo(file.isSharedViaLink());
|
||||
|
||||
setShareWithUserInfo();
|
||||
|
||||
// configure UI for depending upon local state of the file
|
||||
FileDownloaderBinder downloaderBinder = mContainerActivity.getFileDownloaderBinder();
|
||||
@@ -452,8 +467,11 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
ImageView iv = (ImageView) getView().findViewById(R.id.fdIcon);
|
||||
|
||||
if (iv != null) {
|
||||
Bitmap thumbnail;
|
||||
iv.setTag(file.getFileId());
|
||||
// Name of the file, to deduce the icon to use in case the MIME type is not precise enough
|
||||
iv.setImageDrawable(MimeTypeUtil.getFileTypeIcon(file.getMimetype(), file.getFileName(), mAccount));
|
||||
|
||||
Bitmap thumbnail;
|
||||
|
||||
if (MimeTypeUtil.isImage(file)) {
|
||||
String tagId = String.valueOf(file.getRemoteId());
|
||||
@@ -478,13 +496,11 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
task
|
||||
);
|
||||
iv.setImageDrawable(asyncDrawable);
|
||||
task.execute(file);
|
||||
task.execute(file, true);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Name of the file, to deduce the icon to use in case the MIME type is not precise enough
|
||||
String filename = file.getFileName();
|
||||
iv.setImageResource(MimeTypeUtil.getFileTypeIconId(mimetype, filename));
|
||||
iv.setImageDrawable(MimeTypeUtil.getFileTypeIcon(file.getMimetype(), file.getFileName(), mAccount));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -492,12 +508,12 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
/**
|
||||
* Updates the file size in view
|
||||
*
|
||||
* @param filesize in bytes to set
|
||||
* @param fileSize in bytes to set
|
||||
*/
|
||||
private void setFilesize(long filesize) {
|
||||
private void setFilesize(long fileSize) {
|
||||
TextView tv = (TextView) getView().findViewById(R.id.fdSize);
|
||||
if (tv != null) {
|
||||
tv.setText(DisplayUtils.bytesToHumanReadable(filesize));
|
||||
tv.setText(DisplayUtils.bytesToHumanReadable(fileSize));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -513,6 +529,88 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates Share by link data
|
||||
*
|
||||
* @param isShareByLink flag is share by link is enable
|
||||
*/
|
||||
private void setShareByLinkInfo(boolean isShareByLink) {
|
||||
TextView tv = (TextView) getView().findViewById(R.id.fdSharebyLink);
|
||||
if (tv != null) {
|
||||
tv.setText(isShareByLink ? R.string.filedetails_share_link_enable :
|
||||
R.string.filedetails_share_link_disable);
|
||||
}
|
||||
ImageView linkIcon = (ImageView) getView().findViewById(R.id.fdShareLinkIcon);
|
||||
if (linkIcon != null) {
|
||||
linkIcon.setVisibility(isShareByLink ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update Share With data
|
||||
*/
|
||||
private void setShareWithUserInfo(){
|
||||
// Get Users and Groups
|
||||
if (((FileActivity) getActivity()).getStorageManager() != null) {
|
||||
FileDataStorageManager fileDataStorageManager = ((FileActivity) getActivity()).getStorageManager();
|
||||
mShares = fileDataStorageManager.getSharesWithForAFile(
|
||||
getFile().getRemotePath(),mAccount.name
|
||||
);
|
||||
|
||||
// Update list of users/groups
|
||||
updateListOfUserGroups();
|
||||
}
|
||||
}
|
||||
|
||||
private void updateListOfUserGroups() {
|
||||
// Update list of users/groups
|
||||
// TODO Refactoring: create a new {@link ShareUserListAdapter} instance with every call should not be needed
|
||||
UserListAdapter mUserGroupsAdapter = new UserListAdapter(
|
||||
getActivity().getApplicationContext(),
|
||||
R.layout.share_user_item, mShares
|
||||
);
|
||||
|
||||
// Show data
|
||||
ListView usersList = (ListView) getView().findViewById(R.id.fdshareUsersList);
|
||||
|
||||
// No data
|
||||
TextView noList = (TextView) getView().findViewById(R.id.fdShareNoUsers);
|
||||
|
||||
if (mShares.size() > 0) {
|
||||
usersList.setVisibility(View.VISIBLE);
|
||||
usersList.setAdapter(mUserGroupsAdapter);
|
||||
noList.setVisibility(View.GONE);
|
||||
setListViewHeightBasedOnChildren(usersList);
|
||||
|
||||
} else {
|
||||
usersList.setVisibility(View.GONE);
|
||||
noList.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
/* Fix scroll in listview when the parent is ac ScrollView */
|
||||
private static void setListViewHeightBasedOnChildren(ListView listView) {
|
||||
ListAdapter listAdapter = listView.getAdapter();
|
||||
if (listAdapter == null) {
|
||||
return;
|
||||
}
|
||||
int desiredWidth = View.MeasureSpec.makeMeasureSpec(listView.getWidth(), View.MeasureSpec.AT_MOST);
|
||||
int totalHeight = 0;
|
||||
View view = null;
|
||||
for (int i = 0; i < listAdapter.getCount(); i++) {
|
||||
view = listAdapter.getView(i, view, listView);
|
||||
if (i == 0) {
|
||||
view.setLayoutParams(new ViewGroup.LayoutParams(desiredWidth, ViewGroup.LayoutParams.WRAP_CONTENT));
|
||||
}
|
||||
view.measure(desiredWidth, View.MeasureSpec.UNSPECIFIED);
|
||||
totalHeight += view.getMeasuredHeight();
|
||||
}
|
||||
ViewGroup.LayoutParams params = listView.getLayoutParams();
|
||||
params.height = totalHeight + (listView.getDividerHeight() * (listAdapter.getCount() - 1));
|
||||
listView.setLayoutParams(params);
|
||||
listView.requestLayout();
|
||||
}
|
||||
|
||||
/**
|
||||
* Enables or disables buttons for a file being downloaded
|
||||
*/
|
||||
|
||||
@@ -931,14 +931,21 @@ public class OCFileListFragment extends ExtendedListFragment implements OCFileLi
|
||||
return true;
|
||||
}
|
||||
case R.id.action_send_file: {
|
||||
// Obtain the file
|
||||
if (!singleFile.isDown()) { // Download the file
|
||||
Log_OC.d(TAG, singleFile.getRemotePath() + " : File must be downloaded");
|
||||
((FileDisplayActivity) mContainerActivity).startDownloadForSending(singleFile, DOWNLOAD_SEND);
|
||||
if (MimeTypeUtil.isImage(singleFile) && !singleFile.isDown()) {
|
||||
mContainerActivity.getFileOperationsHelper().sendCachedImage(singleFile);
|
||||
return true;
|
||||
} else {
|
||||
mContainerActivity.getFileOperationsHelper().sendDownloadedFile(singleFile);
|
||||
// Obtain the file
|
||||
if (!singleFile.isDown()) { // Download the file
|
||||
Log_OC.d(TAG, singleFile.getRemotePath() + " : File must be downloaded");
|
||||
((FileDisplayActivity) mContainerActivity).startDownloadForSending(singleFile,
|
||||
DOWNLOAD_SEND);
|
||||
|
||||
} else {
|
||||
mContainerActivity.getFileOperationsHelper().sendDownloadedFile(singleFile);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
case R.id.action_set_as_wallpaper: {
|
||||
if (singleFile.isDown()) {
|
||||
|
||||
@@ -206,8 +206,9 @@ public class ShareFileFragment extends Fragment implements ShareUserListAdapter.
|
||||
// Setup layout
|
||||
// Image
|
||||
ImageView icon = (ImageView) view.findViewById(R.id.shareFileIcon);
|
||||
icon.setImageResource(MimeTypeUtil.getFileTypeIconId(mFile.getMimetype(),
|
||||
mFile.getFileName()));
|
||||
icon.setImageDrawable(
|
||||
MimeTypeUtil.getFileTypeIcon(mFile.getMimetype(), mFile.getFileName(), mAccount)
|
||||
);
|
||||
if (MimeTypeUtil.isImage(mFile)) {
|
||||
String remoteId = String.valueOf(mFile.getRemoteId());
|
||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(remoteId);
|
||||
|
||||
@@ -532,6 +532,24 @@ public class FileOperationsHelper {
|
||||
}
|
||||
}
|
||||
|
||||
public void sendCachedImage(OCFile file) {
|
||||
// // TODO check if already exists in cache, else download resized image first
|
||||
// if (file != null) {
|
||||
// Intent sendIntent = new Intent(Intent.ACTION_SEND);
|
||||
// // set MimeType
|
||||
// sendIntent.setType(file.getMimetype());
|
||||
// sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("content://" + DiskLruImageCacheFileProvider.AUTHORITY + file.getRemotePath()));
|
||||
// sendIntent.putExtra(Intent.ACTION_SEND, true); // Send Action
|
||||
//
|
||||
// // Show dialog, without the own app
|
||||
// String[] packagesToExclude = new String[] { mFileActivity.getPackageName() };
|
||||
// DialogFragment chooserDialog = ShareLinkToDialog.newInstance(sendIntent, packagesToExclude);
|
||||
// chooserDialog.show(mFileActivity.getSupportFragmentManager(), FTAG_CHOOSER_DIALOG);
|
||||
// } else {
|
||||
// Log_OC.wtf(TAG, "Trying to send a NULL OCFile");
|
||||
// }
|
||||
}
|
||||
|
||||
public void setPictureAs(OCFile file) {
|
||||
if (file != null) {
|
||||
if (file.isDown()) {
|
||||
|
||||
@@ -138,7 +138,7 @@ public class FileDownloadFragment extends FileFragment implements OnClickListene
|
||||
mView = inflater.inflate(R.layout.file_download_fragment, container, false);
|
||||
|
||||
ProgressBar progressBar = (ProgressBar)mView.findViewById(R.id.progressBar);
|
||||
ThemeUtils.colorPreLollipopHorizontalProgressBar(progressBar);
|
||||
ThemeUtils.colorHorizontalProgressBar(progressBar, ThemeUtils.primaryAccentColor());
|
||||
mProgressListener = new ProgressListener(progressBar);
|
||||
|
||||
(mView.findViewById(R.id.cancelBtn)).setOnClickListener(this);
|
||||
|
||||
@@ -31,6 +31,7 @@ public class ImageViewCustom extends AppCompatImageView {
|
||||
private long mMovieDuration;
|
||||
private long mMovieRunDuration;
|
||||
private long mLastTick;
|
||||
protected PreviewImageFragment previewImageFragment;
|
||||
|
||||
public ImageViewCustom(Context context) {
|
||||
super(context);
|
||||
@@ -143,4 +144,7 @@ public class ImageViewCustom extends AppCompatImageView {
|
||||
}
|
||||
}
|
||||
|
||||
public void setPreviewImageFragment(PreviewImageFragment previewImageFragment) {
|
||||
this.previewImageFragment = previewImageFragment;
|
||||
}
|
||||
}
|
||||
@@ -26,6 +26,7 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.content.ServiceConnection;
|
||||
import android.content.SharedPreferences;
|
||||
import android.os.Bundle;
|
||||
import android.os.IBinder;
|
||||
import android.support.v4.view.ViewPager;
|
||||
@@ -41,6 +42,7 @@ import com.owncloud.android.authentication.AccountUtils;
|
||||
import com.owncloud.android.datamodel.FileDataStorageManager;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.datamodel.VirtualFolderType;
|
||||
import com.owncloud.android.db.PreferenceManager;
|
||||
import com.owncloud.android.files.services.FileDownloader;
|
||||
import com.owncloud.android.files.services.FileDownloader.FileDownloaderBinder;
|
||||
import com.owncloud.android.files.services.FileUploader;
|
||||
@@ -121,13 +123,13 @@ public class PreviewImageActivity extends FileActivity implements
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
if (savedInstanceState != null) {
|
||||
mRequestWaitingForBinder = savedInstanceState.getBoolean(KEY_WAITING_FOR_BINDER);
|
||||
} else {
|
||||
mRequestWaitingForBinder = false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void initViewPager() {
|
||||
@@ -149,7 +151,7 @@ public class PreviewImageActivity extends FileActivity implements
|
||||
}
|
||||
|
||||
mPreviewImagePagerAdapter = new PreviewImagePagerAdapter(getSupportFragmentManager(),
|
||||
parentFolder, getAccount(), getStorageManager(), MainApp.isOnlyOnDevice());
|
||||
parentFolder, getAccount(), getStorageManager(), MainApp.isOnlyOnDevice(), getBaseContext());
|
||||
}
|
||||
|
||||
mViewPager = (ExtendedViewPager) findViewById(R.id.fragmentPager);
|
||||
@@ -325,7 +327,7 @@ public class PreviewImageActivity extends FileActivity implements
|
||||
finish();
|
||||
}
|
||||
|
||||
private void requestForDownload(OCFile file) {
|
||||
public void requestForDownload(OCFile file) {
|
||||
if (mDownloaderBinder == null) {
|
||||
Log_OC.d(TAG, "requestForDownload called without binder to download service");
|
||||
|
||||
@@ -349,13 +351,16 @@ public class PreviewImageActivity extends FileActivity implements
|
||||
mHasSavedPosition = true;
|
||||
if (mDownloaderBinder == null) {
|
||||
mRequestWaitingForBinder = true;
|
||||
|
||||
} else {
|
||||
OCFile currentFile = mPreviewImagePagerAdapter.getFileAt(position);
|
||||
getSupportActionBar().setTitle(currentFile.getFileName());
|
||||
setDrawerIndicatorEnabled(false);
|
||||
if (!currentFile.isDown()
|
||||
&& !mPreviewImagePagerAdapter.pendingErrorAt(position)) {
|
||||
|
||||
SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getBaseContext());
|
||||
String behaviour = sharedPreferences.getString("preview_behaviour", "PREVIEW_BEHAVIOUR_PREVIEW");
|
||||
boolean resizedBehaviour = behaviour.equalsIgnoreCase("PREVIEW_BEHAVIOUR_PREVIEW");
|
||||
|
||||
if (!currentFile.isDown() && !mPreviewImagePagerAdapter.pendingErrorAt(position) && !resizedBehaviour) {
|
||||
requestForDownload(currentFile);
|
||||
}
|
||||
|
||||
@@ -456,6 +461,10 @@ public class PreviewImageActivity extends FileActivity implements
|
||||
}
|
||||
}
|
||||
|
||||
public void switchToFullScreen() {
|
||||
hideSystemUI(mFullScreenAnchorView);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onAccountSet(boolean stateWasRecovered) {
|
||||
super.onAccountSet(stateWasRecovered);
|
||||
@@ -473,7 +482,7 @@ public class PreviewImageActivity extends FileActivity implements
|
||||
if (file.getFileId() > FileDataStorageManager.ROOT_PARENT_ID) {
|
||||
file = getStorageManager().getFileById(file.getFileId());
|
||||
}
|
||||
|
||||
|
||||
if (file != null) {
|
||||
/// Refresh the activity according to the Account and OCFile set
|
||||
setFile(file); // reset after getting it fresh from storageManager
|
||||
|
||||
@@ -52,8 +52,10 @@ import android.widget.TextView;
|
||||
|
||||
import com.caverock.androidsvg.SVG;
|
||||
import com.caverock.androidsvg.SVGParseException;
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.datamodel.ThumbnailsCacheManager;
|
||||
import com.owncloud.android.files.FileMenuFilter;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.ui.dialog.ConfirmationDialogFragment;
|
||||
@@ -87,7 +89,7 @@ public class PreviewImageFragment extends FileFragment {
|
||||
|
||||
private static final String ARG_FILE = "FILE";
|
||||
private static final String ARG_IGNORE_FIRST = "IGNORE_FIRST";
|
||||
|
||||
private static final String ARG_SHOW_RESIZED_IMAGE = "SHOW_RESIZED_IMAGE";
|
||||
private static final String SCREEN_NAME = "Image Preview";
|
||||
|
||||
private TouchImageViewCustom mImageView;
|
||||
@@ -99,6 +101,8 @@ public class PreviewImageFragment extends FileFragment {
|
||||
protected ImageView mMultiListIcon;
|
||||
protected ProgressBar mMultiListProgress;
|
||||
|
||||
private Boolean mShowResizedImage = false;
|
||||
|
||||
public Bitmap mBitmap = null;
|
||||
|
||||
private static final String TAG = PreviewImageFragment.class.getSimpleName();
|
||||
@@ -121,11 +125,14 @@ public class PreviewImageFragment extends FileFragment {
|
||||
* {@link FragmentStatePagerAdapter}
|
||||
* ; TODO better solution
|
||||
*/
|
||||
public static PreviewImageFragment newInstance(OCFile imageFile, boolean ignoreFirstSavedState) {
|
||||
public static PreviewImageFragment newInstance(OCFile imageFile, boolean ignoreFirstSavedState,
|
||||
boolean showResizedImage) {
|
||||
PreviewImageFragment frag = new PreviewImageFragment();
|
||||
frag.mShowResizedImage = showResizedImage;
|
||||
Bundle args = new Bundle();
|
||||
args.putParcelable(ARG_FILE, imageFile);
|
||||
args.putBoolean(ARG_IGNORE_FIRST, ignoreFirstSavedState);
|
||||
args.putBoolean(ARG_SHOW_RESIZED_IMAGE, showResizedImage);
|
||||
frag.setArguments(args);
|
||||
return frag;
|
||||
}
|
||||
@@ -157,6 +164,7 @@ public class PreviewImageFragment extends FileFragment {
|
||||
// not right now
|
||||
|
||||
mIgnoreFirstSavedState = args.getBoolean(ARG_IGNORE_FIRST);
|
||||
mShowResizedImage = args.getBoolean(ARG_SHOW_RESIZED_IMAGE);
|
||||
setHasOptionsMenu(true);
|
||||
}
|
||||
|
||||
@@ -170,6 +178,7 @@ public class PreviewImageFragment extends FileFragment {
|
||||
super.onCreateView(inflater, container, savedInstanceState);
|
||||
View view = inflater.inflate(R.layout.preview_image_fragment, container, false);
|
||||
mImageView = (TouchImageViewCustom) view.findViewById(R.id.image);
|
||||
mImageView.setPreviewImageFragment(this);
|
||||
mImageView.setVisibility(View.GONE);
|
||||
|
||||
view.setOnClickListener(new OnClickListener() {
|
||||
@@ -196,6 +205,14 @@ public class PreviewImageFragment extends FileFragment {
|
||||
return view;
|
||||
}
|
||||
|
||||
public void switchToFullScreen() {
|
||||
((PreviewImageActivity) getActivity()).switchToFullScreen();
|
||||
}
|
||||
|
||||
public void downloadFile() {
|
||||
((PreviewImageActivity) getActivity()).requestForDownload(getFile());
|
||||
}
|
||||
|
||||
protected void setupMultiView(View view) {
|
||||
mMultiListContainer = (LinearLayout) view.findViewById(R.id.empty_list_view);
|
||||
mMultiListMessage = (TextView) view.findViewById(R.id.empty_list_view_text);
|
||||
@@ -221,9 +238,6 @@ public class PreviewImageFragment extends FileFragment {
|
||||
if (getFile() == null) {
|
||||
throw new IllegalStateException("Instanced with a NULL OCFile");
|
||||
}
|
||||
if (!getFile().isDown()) {
|
||||
throw new IllegalStateException("There is no local file to preview");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -241,10 +255,59 @@ public class PreviewImageFragment extends FileFragment {
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
if (getFile() != null) {
|
||||
mLoadBitmapTask = new LoadBitmapTask(mImageView);
|
||||
//mLoadBitmapTask.execute(new String[]{getFile().getStoragePath()});
|
||||
// mLoadBitmapTask.execute(getFile().getStoragePath());
|
||||
mLoadBitmapTask.execute(getFile());
|
||||
mImageView.setTag(getFile().getFileId());
|
||||
|
||||
if (mShowResizedImage) {
|
||||
Bitmap resizedImage = ThumbnailsCacheManager.getBitmapFromDiskCache(
|
||||
String.valueOf("r" + getFile().getRemoteId()));
|
||||
|
||||
if (resizedImage != null && !getFile().needsUpdateThumbnail()) {
|
||||
mImageView.setImageBitmap(resizedImage);
|
||||
mImageView.setVisibility(View.VISIBLE);
|
||||
mBitmap = resizedImage;
|
||||
} else {
|
||||
// show thumbnail while loading resized image
|
||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
|
||||
String.valueOf("t" + getFile().getRemoteId()));
|
||||
|
||||
if (thumbnail != null) {
|
||||
mImageView.setImageBitmap(thumbnail);
|
||||
mImageView.setVisibility(View.VISIBLE);
|
||||
mBitmap = thumbnail;
|
||||
} else {
|
||||
thumbnail = ThumbnailsCacheManager.mDefaultImg;
|
||||
}
|
||||
|
||||
// generate new resized image
|
||||
if (ThumbnailsCacheManager.cancelPotentialThumbnailWork(getFile(), mImageView) &&
|
||||
mContainerActivity.getStorageManager() != null) {
|
||||
final ThumbnailsCacheManager.ThumbnailGenerationTask task =
|
||||
new ThumbnailsCacheManager.ThumbnailGenerationTask(
|
||||
mImageView, mContainerActivity.getStorageManager(),
|
||||
mContainerActivity.getStorageManager().getAccount());
|
||||
if (resizedImage == null) {
|
||||
resizedImage = thumbnail;
|
||||
}
|
||||
final ThumbnailsCacheManager.AsyncThumbnailDrawable asyncDrawable =
|
||||
new ThumbnailsCacheManager.AsyncThumbnailDrawable(
|
||||
MainApp.getAppContext().getResources(),
|
||||
resizedImage,
|
||||
task
|
||||
);
|
||||
mImageView.setImageDrawable(asyncDrawable);
|
||||
task.execute(getFile(), false);
|
||||
}
|
||||
}
|
||||
mMultiView.setVisibility(View.GONE);
|
||||
if (getResources() != null) {
|
||||
mImageView.setBackgroundColor(getResources().getColor(R.color.black));
|
||||
}
|
||||
mImageView.setVisibility(View.VISIBLE);
|
||||
|
||||
} else {
|
||||
mLoadBitmapTask = new LoadBitmapTask(mImageView);
|
||||
mLoadBitmapTask.execute(getFile());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -359,9 +422,15 @@ public class PreviewImageFragment extends FileFragment {
|
||||
return true;
|
||||
|
||||
case R.id.action_send_file:
|
||||
mContainerActivity.getFileOperationsHelper().sendDownloadedFile(getFile());
|
||||
return true;
|
||||
if (MimeTypeUtil.isImage(getFile()) && !getFile().isDown()) {
|
||||
mContainerActivity.getFileOperationsHelper().sendCachedImage(getFile());
|
||||
return true;
|
||||
} else {
|
||||
mContainerActivity.getFileOperationsHelper().sendDownloadedFile(getFile());
|
||||
return true;
|
||||
}
|
||||
|
||||
case R.id.action_download_file:
|
||||
case R.id.action_sync_file:
|
||||
mContainerActivity.getFileOperationsHelper().syncFile(getFile());
|
||||
return true;
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
package com.owncloud.android.ui.preview;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.support.v4.app.Fragment;
|
||||
import android.support.v4.app.FragmentManager;
|
||||
import android.support.v4.app.FragmentStatePagerAdapter;
|
||||
@@ -28,6 +30,7 @@ import android.view.ViewGroup;
|
||||
import com.owncloud.android.datamodel.FileDataStorageManager;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.datamodel.VirtualFolderType;
|
||||
import com.owncloud.android.db.PreferenceManager;
|
||||
import com.owncloud.android.ui.fragment.FileFragment;
|
||||
import com.owncloud.android.utils.FileStorageUtils;
|
||||
|
||||
@@ -50,7 +53,8 @@ public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
|
||||
private Set<Integer> mObsoletePositions;
|
||||
private Set<Integer> mDownloadErrors;
|
||||
private FileDataStorageManager mStorageManager;
|
||||
|
||||
private Context mContext;
|
||||
|
||||
private Map<Integer, FileFragment> mCachedFragments;
|
||||
|
||||
/**
|
||||
@@ -63,7 +67,7 @@ public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
|
||||
*/
|
||||
public PreviewImagePagerAdapter(FragmentManager fragmentManager, OCFile parentFolder,
|
||||
Account account, FileDataStorageManager storageManager,
|
||||
boolean onlyOnDevice) {
|
||||
boolean onlyOnDevice, Context context) {
|
||||
super(fragmentManager);
|
||||
|
||||
if (fragmentManager == null) {
|
||||
@@ -76,6 +80,7 @@ public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
|
||||
throw new IllegalArgumentException("NULL storage manager");
|
||||
}
|
||||
|
||||
mContext = context;
|
||||
mAccount = account;
|
||||
mStorageManager = storageManager;
|
||||
mImageFiles = mStorageManager.getFolderImages(parentFolder, onlyOnDevice);
|
||||
@@ -140,20 +145,27 @@ public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
|
||||
OCFile file = mImageFiles.get(i);
|
||||
Fragment fragment = null;
|
||||
if (file.isDown()) {
|
||||
fragment = PreviewImageFragment.newInstance(file,
|
||||
mObsoletePositions.contains(Integer.valueOf(i)));
|
||||
|
||||
} else if (mDownloadErrors.contains(Integer.valueOf(i))) {
|
||||
fragment = FileDownloadFragment.newInstance(file, mAccount, true);
|
||||
((FileDownloadFragment)fragment).setError(true);
|
||||
mDownloadErrors.remove(Integer.valueOf(i));
|
||||
fragment = PreviewImageFragment.newInstance(file, mObsoletePositions.contains(i), false);
|
||||
|
||||
} else {
|
||||
fragment = FileDownloadFragment.newInstance(
|
||||
file, mAccount, mObsoletePositions.contains(Integer.valueOf(i))
|
||||
);
|
||||
if (mDownloadErrors.contains(i)) {
|
||||
fragment = FileDownloadFragment.newInstance(file, mAccount, true);
|
||||
((FileDownloadFragment)fragment).setError(true);
|
||||
mDownloadErrors.remove(i);
|
||||
} else {
|
||||
SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(mContext);
|
||||
boolean behaviour = sharedPreferences.getString("preview_behaviour", "PREVIEW_BEHAVIOUR_PREVIEW")
|
||||
.equalsIgnoreCase("PREVIEW_BEHAVIOUR_PREVIEW");
|
||||
|
||||
if (behaviour) {
|
||||
fragment = PreviewImageFragment.newInstance(file, mObsoletePositions.contains(i), true);
|
||||
} else {
|
||||
fragment = FileDownloadFragment.newInstance(file, mAccount, mObsoletePositions.contains(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
mObsoletePositions.remove(Integer.valueOf(i));
|
||||
|
||||
mObsoletePositions.remove(i);
|
||||
return fragment;
|
||||
}
|
||||
|
||||
|
||||
@@ -358,8 +358,9 @@ public class DisplayUtils {
|
||||
|
||||
// Remove last slash from path
|
||||
if (path.length() > 1 && path.charAt(path.length() - 1) == OCFile.PATH_SEPARATOR.charAt(0)) {
|
||||
path = path.substring(0, path.length() - 1);
|
||||
return path.substring(0, path.length() - 1);
|
||||
}
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ import android.webkit.MimeTypeMap;
|
||||
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.datamodel.FileDataStorageManager;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
import com.owncloud.android.lib.common.utils.Log_OC;
|
||||
import com.owncloud.android.lib.resources.files.RemoteFile;
|
||||
@@ -579,4 +580,15 @@ public class FileStorageUtils {
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void deleteRecursively(File file, FileDataStorageManager storageManager) {
|
||||
if (file.isDirectory()) {
|
||||
for (File child : file.listFiles()) {
|
||||
deleteRecursively(child, storageManager);
|
||||
}
|
||||
}
|
||||
|
||||
storageManager.deleteFileInMediaScan(file.getAbsolutePath());
|
||||
file.delete();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -23,6 +23,7 @@ import android.graphics.drawable.Drawable;
|
||||
import android.net.Uri;
|
||||
import android.webkit.MimeTypeMap;
|
||||
|
||||
import com.owncloud.android.MainApp;
|
||||
import com.owncloud.android.R;
|
||||
import com.owncloud.android.datamodel.OCFile;
|
||||
|
||||
@@ -71,6 +72,36 @@ public class MimeTypeUtil {
|
||||
populateMainMimeTypeMapping();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Drawable of an image to use as icon associated to a known MIME type.
|
||||
*
|
||||
* @param mimetype MIME type string; if NULL, the method tries to guess it from the extension in filename
|
||||
* @param filename Name, with extension.
|
||||
* @return Drawable of an image resource.
|
||||
*/
|
||||
public static Drawable getFileTypeIcon(String mimetype, String filename) {
|
||||
return getFileTypeIcon(mimetype, filename, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Drawable of an image to use as icon associated to a known MIME type.
|
||||
*
|
||||
* @param mimetype MIME type string; if NULL, the method tries to guess it from the extension in filename
|
||||
* @param filename Name, with extension.
|
||||
* @param account account which color should be used
|
||||
* @return Drawable of an image resource.
|
||||
*/
|
||||
public static Drawable getFileTypeIcon(String mimetype, String filename, Account account) {
|
||||
int iconId = MimeTypeUtil.getFileTypeIconId(mimetype, filename);
|
||||
Drawable icon = MainApp.getAppContext().getResources().getDrawable(iconId);
|
||||
|
||||
if(R.drawable.file_zip == iconId) {
|
||||
ThemeUtils.tintDrawable(icon, ThemeUtils.primaryColor(account));
|
||||
}
|
||||
|
||||
return icon;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the resource identifier of an image to use as icon associated to a known MIME type.
|
||||
*
|
||||
@@ -104,8 +135,8 @@ public class MimeTypeUtil {
|
||||
* Returns the resource identifier of an image to use as icon associated to a type of folder.
|
||||
*
|
||||
* @param isSharedViaUsers flag if the folder is shared via the users system
|
||||
* @param isSharedViaLink flag if the folder is publicly shared via link
|
||||
* @param account account which color should be used
|
||||
* @param isSharedViaLink flag if the folder is publicly shared via link
|
||||
* @param account account which color should be used
|
||||
* @return Identifier of an image resource.
|
||||
*/
|
||||
public static Drawable getFolderTypeIcon(boolean isSharedViaUsers, boolean isSharedViaLink, Account account) {
|
||||
|
||||
@@ -63,7 +63,7 @@ public class ThemeUtils {
|
||||
|
||||
try {
|
||||
float adjust;
|
||||
if (darkTheme()){
|
||||
if (darkTheme()) {
|
||||
adjust = +0.1f;
|
||||
} else {
|
||||
adjust = -0.1f;
|
||||
@@ -120,6 +120,7 @@ public class ThemeUtils {
|
||||
|
||||
/**
|
||||
* Tests if dark color is set
|
||||
*
|
||||
* @return true if dark theme -> e.g.use light font color, darker accent color
|
||||
*/
|
||||
public static boolean darkTheme() {
|
||||
@@ -179,17 +180,6 @@ public class ThemeUtils {
|
||||
return ColorUtils.HSLToColor(hsl);
|
||||
}
|
||||
|
||||
/**
|
||||
* sets the coloring of the given progress bar to color_accent.
|
||||
*
|
||||
* @param progressBar the progress bar to be colored
|
||||
*/
|
||||
public static void colorPreLollipopHorizontalProgressBar(ProgressBar progressBar) {
|
||||
if (progressBar != null && Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
|
||||
colorHorizontalProgressBar(progressBar, ThemeUtils.primaryAccentColor());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* sets the tinting of the given ImageButton's icon to color_accent.
|
||||
*
|
||||
@@ -219,15 +209,13 @@ public class ThemeUtils {
|
||||
*
|
||||
* @param seekBar the seek bar to be colored
|
||||
*/
|
||||
public static void colorPreLollipopHorizontalSeekBar(SeekBar seekBar) {
|
||||
if (seekBar != null && Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
|
||||
colorPreLollipopHorizontalProgressBar(seekBar);
|
||||
public static void colorHorizontalSeekBar(SeekBar seekBar) {
|
||||
int color = ThemeUtils.primaryAccentColor();
|
||||
colorHorizontalProgressBar(seekBar, color);
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
|
||||
int color = ThemeUtils.primaryAccentColor();
|
||||
seekBar.getThumb().setColorFilter(color, PorterDuff.Mode.SRC_IN);
|
||||
seekBar.getThumb().setColorFilter(color, PorterDuff.Mode.SRC_IN);
|
||||
}
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
|
||||
seekBar.getThumb().setColorFilter(color, PorterDuff.Mode.SRC_IN);
|
||||
seekBar.getThumb().setColorFilter(color, PorterDuff.Mode.SRC_IN);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ public class ActionEditText extends AppCompatEditText {
|
||||
getDrawingRect(mButtonRect);
|
||||
mButtonRect.top += 10;
|
||||
mButtonRect.bottom -= 10;
|
||||
mButtonRect.left = (int) (getWidth() - mTextBounds.width() - 18);
|
||||
mButtonRect.left = getWidth() - mTextBounds.width() - 18;
|
||||
mButtonRect.right = getWidth() - 10;
|
||||
btn_rect = mButtonRect;
|
||||
|
||||
|
||||
@@ -160,7 +160,7 @@
|
||||
android:ems="10"
|
||||
android:enabled="false"
|
||||
android:inputType="textUri"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:text="@string/oauth2_url_endpoint_auth"
|
||||
android:textColor="@color/login_text_color"
|
||||
android:textColorHint="@color/login_text_hint_color"
|
||||
@@ -180,7 +180,7 @@
|
||||
android:ems="10"
|
||||
android:enabled="false"
|
||||
android:text="@string/oauth2_url_endpoint_access"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:inputType="textUri"
|
||||
android:textColor="@color/login_text_color"
|
||||
android:textColorHint="@color/login_text_hint_color"
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
android:ems="10"
|
||||
android:enabled="false"
|
||||
android:inputType="textUri"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:text="@string/oauth2_url_endpoint_auth"
|
||||
android:textColor="@color/login_text_color"
|
||||
android:textColorHint="@color/login_text_hint_color"
|
||||
@@ -172,7 +172,7 @@
|
||||
android:ems="10"
|
||||
android:enabled="false"
|
||||
android:inputType="textUri"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:text="@string/oauth2_url_endpoint_access"
|
||||
android:textColor="@color/login_text_color"
|
||||
android:textColorHint="@color/login_text_hint_color"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
android:layout_gravity="center_vertical"
|
||||
android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
|
||||
android:duplicateParentState="true"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="marquee"
|
||||
android:fadingEdge="horizontal" />
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
android:shadowDx="0.5"
|
||||
android:shadowDy="0"
|
||||
android:shadowRadius="2"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:text="@string/app_name"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/drawer_header_text"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
android:text="@string/share_with_edit_title"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
||||
android:padding="@dimen/standard_padding"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="middle"
|
||||
/>
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
android:layout_marginTop="@dimen/standard_half_margin"
|
||||
android:textColor="@color/color_accent"
|
||||
android:paddingLeft="@dimen/zero"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
style="@style/TextAppearance.AppCompat.Body2"
|
||||
/>
|
||||
|
||||
<android.support.v7.widget.AppCompatCheckBox
|
||||
@@ -97,7 +97,7 @@
|
||||
android:layout_marginTop="@dimen/standard_half_margin"
|
||||
android:textColor="@color/color_accent"
|
||||
android:paddingLeft="@dimen/zero"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
style="@style/TextAppearance.AppCompat.Body2"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
|
||||
Copyright (C) 2012 Bartek Przybylski
|
||||
Copyright (C) 2015 ownCloud Inc.
|
||||
Copyright (C) 2012 Bartek Przybylski
|
||||
Copyright (C) 2017 ownCloud GmbH.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License version 2,
|
||||
@@ -18,206 +18,275 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fdScrollView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true"
|
||||
>
|
||||
android:id="@+id/fdScrollView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true">
|
||||
|
||||
<RelativeLayout
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/fdFileHeaderContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/standard_margin"
|
||||
android:layout_marginRight="@dimen/standard_margin"
|
||||
android:layout_marginTop="@dimen/standard_margin">
|
||||
|
||||
android:layout_margin="@dimen/standard_margin">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fdIcon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/file" />
|
||||
|
||||
android:src="@drawable/file"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdFilename"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toRightOf="@+id/fdIcon"
|
||||
android:paddingLeft="@dimen/standard_padding"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/fdDetailsContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/standard_margin"
|
||||
android:layout_marginRight="@dimen/standard_margin"
|
||||
android:layout_marginTop="@dimen/standard_margin"
|
||||
android:layout_below="@id/fdFileHeaderContainer" >
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/fdLabelContainer"
|
||||
android:id="@+id/fdFilename"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true" >
|
||||
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toRightOf="@+id/fdIcon"
|
||||
android:paddingLeft="@dimen/standard_padding"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TableLayout
|
||||
android:id="@+id/fdDetailsTable"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginBottom="8dp">
|
||||
|
||||
<TableRow
|
||||
android:id="@+id/fdTypeRow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/standard_half_margin">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdTypeLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/filedetails_type"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdSizeLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/fdTypeLabel"
|
||||
android:layout_marginTop="@dimen/fragment_margin"
|
||||
android:text="@string/filedetails_size"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdCreatedLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/fdSizeLabel"
|
||||
android:layout_marginTop="@dimen/fragment_margin"
|
||||
android:text="@string/filedetails_created"
|
||||
android:visibility="gone"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdModifiedLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/fdCreatedLabel"
|
||||
android:layout_marginTop="@dimen/fragment_margin"
|
||||
android:text="@string/filedetails_modified"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/fdValueContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_marginLeft="@dimen/standard_margin"
|
||||
android:layout_toRightOf="@+id/fdLabelContainer" >
|
||||
|
||||
android:textSize="16sp" />
|
||||
<TextView
|
||||
android:id="@+id/fdType"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/placeholder_filetype"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
android:textSize="16sp"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin" />
|
||||
|
||||
</TableRow>
|
||||
<TableRow
|
||||
android:id="@+id/fdSizeRow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/standard_half_margin">
|
||||
<TextView
|
||||
android:id="@+id/fdSizeLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/filedetails_size"
|
||||
android:textSize="16sp"/>
|
||||
<TextView
|
||||
android:id="@+id/fdSize"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/fdType"
|
||||
android:layout_marginTop="@dimen/fragment_margin"
|
||||
android:text="@string/placeholder_filesize"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
android:textSize="16sp"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin" />
|
||||
|
||||
</TableRow>
|
||||
<TableRow
|
||||
android:id="@+id/fdCreatedRow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:visibility="gone">
|
||||
<TextView
|
||||
android:id="@+id/fdCreatedLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/filedetails_created"
|
||||
android:textSize="16sp" />
|
||||
<TextView
|
||||
android:id="@+id/fdCreated"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/fdSize"
|
||||
android:layout_marginTop="@dimen/fragment_margin"
|
||||
android:visibility="gone"
|
||||
android:text="@string/placeholder_timestamp"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
android:textSize="16sp"
|
||||
android:layout_marginLeft="4dp" />
|
||||
|
||||
</TableRow>
|
||||
<TableRow
|
||||
android:id="@+id/fdModifiedRow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/standard_half_margin">
|
||||
<TextView
|
||||
android:id="@+id/fdModifiedLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/filedetails_modified"
|
||||
android:textSize="16sp" />
|
||||
<TextView
|
||||
android:id="@+id/fdModified"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/fdCreated"
|
||||
android:layout_marginTop="@dimen/fragment_margin"
|
||||
android:text="@string/placeholder_timestamp"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
android:textSize="16sp"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin" />
|
||||
|
||||
</TableRow>
|
||||
|
||||
</TableLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/list_divider_background"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/fdProgressAndControl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/fdDetailsContainer"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_margin="@dimen/standard_margin"
|
||||
>
|
||||
|
||||
<android.support.v7.widget.AppCompatCheckBox
|
||||
android:layout_marginBottom="@dimen/standard_half_margin"
|
||||
android:layout_marginLeft="@dimen/standard_margin"
|
||||
android:layout_marginRight="@dimen/standard_margin"
|
||||
android:layout_marginTop="@dimen/standard_half_margin"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<android.support.v7.widget.SwitchCompat
|
||||
android:id="@+id/fdFavorite"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_gravity="start"
|
||||
android:text="@string/favorite"
|
||||
android:checked="false" />
|
||||
android:textSize="16sp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/fdFavorite"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdProgressText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/downloader_download_in_progress_ticker"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fdProgressBlock"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdProgressText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/downloader_download_in_progress_ticker"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fdProgressBlock"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/standard_quarter_margin"
|
||||
android:layout_marginTop="@dimen/standard_half_margin"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="@dimen/fragment_margin"
|
||||
android:layout_marginBottom="@dimen/fragment_margin"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/fdProgressBar"
|
||||
android:layout_width="@dimen/zero"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/fdProgressBar"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:indeterminate="false"
|
||||
android:indeterminateOnly="false"
|
||||
/>
|
||||
|
||||
android:indeterminate="false"
|
||||
android:indeterminateOnly="false"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/fdCancelBtn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/fragment_margin"
|
||||
android:src="@drawable/ic_action_cancel_grey"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin"
|
||||
android:background="@android:color/transparent"
|
||||
/>
|
||||
|
||||
android:src="@drawable/ic_cancel"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/list_divider_background"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fdShareContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/standard_half_margin"
|
||||
android:layout_marginLeft="@dimen/standard_margin"
|
||||
android:layout_marginRight="@dimen/standard_margin"
|
||||
android:layout_marginTop="@dimen/standard_half_margin"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdShareTitle"
|
||||
style="@style/TextAppearance.AppCompat.Body2"
|
||||
android:textColor="@color/color_accent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/standard_half_margin"
|
||||
android:text="@string/action_share"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fdShareLinkIcon"
|
||||
android:layout_width="14sp"
|
||||
android:layout_height="14sp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginRight="@dimen/standard_half_margin"
|
||||
android:src="@drawable/shared_via_link"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdSharebyLink"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="start"
|
||||
android:text="@string/filedetails_share_link_disable"/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdShareWithUsersTitle"
|
||||
style="@style/TextAppearance.AppCompat.Body2"
|
||||
android:textColor="@color/color_accent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="start"
|
||||
android:layout_marginBottom="@dimen/standard_half_margin"
|
||||
android:layout_marginTop="@dimen/standard_half_margin"
|
||||
android:text="@string/filedetails_share_users_with_access"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/fdshareUsersList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dip"
|
||||
android:layout_weight="1"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fdShareNoUsers"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/share_no_users"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?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="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:weightSum="1">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/userIcon"
|
||||
android:layout_width="32sp"
|
||||
android:layout_height="32sp"
|
||||
android:src="@drawable/ic_user"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="16dip"
|
||||
android:text="@string/username"
|
||||
android:id="@+id/userOrGroupName"
|
||||
android:layout_margin="12dp"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="middle"
|
||||
android:textColor="@color/black"/>
|
||||
</LinearLayout>
|
||||
@@ -49,7 +49,7 @@
|
||||
android:padding="8dp"
|
||||
android:text="@string/fingerprint_scan_finger"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="32dp"/>
|
||||
android:textSize="32sp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fingerprinticon"
|
||||
|
||||
@@ -94,8 +94,8 @@
|
||||
android:layout_marginRight="@dimen/standard_quarter_margin"
|
||||
android:ellipsize="middle"
|
||||
android:gravity="center_horizontal"
|
||||
android:singleLine="true"
|
||||
android:text="TextView"
|
||||
android:maxLines="1"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/grid_item_text_size" />
|
||||
|
||||
|
||||
@@ -94,8 +94,8 @@
|
||||
android:layout_marginLeft="@dimen/zero"
|
||||
android:layout_marginRight="@dimen/standard_quarter_margin"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:text="TextView"
|
||||
android:maxLines="1"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/two_line_primary_text_size" />
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<TextView android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="marquee"
|
||||
android:fadingEdge="horizontal"
|
||||
style="@style/Theme.ownCloud.NotificationText.Title"
|
||||
@@ -46,7 +46,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/standard_eighth_margin_negative"
|
||||
android:layout_marginBottom="@dimen/standard_eighth_margin_negative"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:fadingEdge="horizontal"
|
||||
android:ellipsize="marquee"
|
||||
style="@style/Theme.ownCloud.NotificationText.Content"
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
android:layout_toEndOf="@+id/shareFileIcon"
|
||||
android:layout_toRightOf="@+id/shareFileIcon"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/two_line_primary_text_size"/>
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/shareWithUsersSectionTitle"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
style="@style/TextAppearance.AppCompat.Body2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="start"
|
||||
@@ -140,7 +140,7 @@
|
||||
|
||||
<android.support.v7.widget.SwitchCompat
|
||||
android:id="@+id/shareViaLinkSectionSwitch"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
style="@style/TextAppearance.AppCompat.Body2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="start"
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
android:layout_marginBottom="@dimen/standard_half_margin"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin"
|
||||
android:textColor="@color/textColor"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="middle"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/uploadListGroupName"
|
||||
style="?android:attr/listSeparatorTextViewStyle"
|
||||
style="@style/TextAppearance.AppCompat.Body2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:divider="@null"
|
||||
@@ -14,6 +15,8 @@
|
||||
android:showDividers="none"
|
||||
android:textColor="@color/color_accent"
|
||||
android:paddingLeft="@dimen/standard_padding"
|
||||
android:paddingTop="@dimen/standard_padding"
|
||||
android:paddingBottom="@dimen/standard_half_margin"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -37,7 +37,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/textColor"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textSize="@dimen/two_line_primary_text_size" />
|
||||
@@ -53,7 +53,7 @@
|
||||
android:gravity="left"
|
||||
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:text="@string/placeholder_filesize"
|
||||
android:textSize="@dimen/upload_list_item_text_size"/>
|
||||
<TextView
|
||||
@@ -87,7 +87,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:text="@string/auth_username"
|
||||
android:textSize="@dimen/upload_list_item_text_size_independent"/>
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:text="@string/instant_upload_path"
|
||||
android:textSize="@dimen/upload_list_item_text_size_independent"/>
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
android:layout_marginLeft="@dimen/zero"
|
||||
android:layout_marginRight="@dimen/standard_quarter_margin"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:maxLines="1"
|
||||
android:text="TextView"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/two_line_primary_text_size" />
|
||||
|
||||
|
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: 24 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 38 KiB |
@@ -302,10 +302,10 @@
|
||||
<string name="filedisplay_no_file_selected">Žádný soubor nebyl vybrán</string>
|
||||
<string name="activity_chooser_title">Odeslat odkaz …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Kopírování souboru z privátního úložiště</string>
|
||||
|
||||
<string name="oauth_check_onoff">Přihlásit se s OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Připojuji se k OAuth 2.0 serveru...</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Přihlásit se s OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Připojuji se k OAuth 2.0 serveru...</string>
|
||||
|
||||
<string name="ssl_validator_header">Identitu stránky nelze ověřit</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- Certifikát serveru je nedůvěryhodný</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- Certifikátu serveru vypršela platnost</string>
|
||||
|
||||
@@ -303,10 +303,10 @@
|
||||
<string name="filedisplay_no_file_selected">Keine Datei gewählt</string>
|
||||
<string name="activity_chooser_title">Link senden an …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Kopiere Datei vom privatem Speicher</string>
|
||||
|
||||
<string name="oauth_check_onoff">Anmelden mit OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Verbinde mit dem OAuth 2.0-Server …</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Anmelden mit OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Verbinde mit dem OAuth 2.0-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>
|
||||
@@ -614,7 +614,6 @@
|
||||
<string name="welcome_feature_3_text">Schützen Sie Ihre Fotos</string>
|
||||
|
||||
<string name="whats_new_skip">Überspringen</string>
|
||||
|
||||
<string name="fingerprint_scan_finger">Bitte scannen Sie Ihren Finger</string>
|
||||
<string name="fingerprint_unknown">Finger nicht erkannt</string>
|
||||
|
||||
|
||||
@@ -303,10 +303,10 @@
|
||||
<string name="filedisplay_no_file_selected">Keine Datei gewählt</string>
|
||||
<string name="activity_chooser_title">Link senden an …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Kopiere Datei vom privatem Speicher</string>
|
||||
|
||||
<string name="oauth_check_onoff">Anmelden mit OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Verbinde mit dem OAuth 2.0-Server…</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Anmelden mit OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Verbinde mit dem OAuth 2.0-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>
|
||||
|
||||
@@ -301,10 +301,10 @@
|
||||
<string name="filedisplay_no_file_selected">Δεν επιλέχθηκε αρχείο</string>
|
||||
<string name="activity_chooser_title">Αποστολή συνδέσμου σε …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Γίνεται αντιγραφή αρχείου από ιδιωτικό αποθηκευτικό χώρο</string>
|
||||
|
||||
<string name="oauth_check_onoff">Σύνδεση με OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Γίνεται σύνδεση στο διακομιστή OAuth 2.0...</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Σύνδεση με OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Γίνεται σύνδεση στο διακομιστή OAuth 2.0...</string>
|
||||
|
||||
<string name="ssl_validator_header">Η ταυτότητα της σελίδας δεν μπορεί να επληθευτεί</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- Το πιστοποιητικό του διακομιστή δεν είναι έμπιστο</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- Το πιστοποιητικό του διακομιστή έχει λήξει</string>
|
||||
|
||||
@@ -302,10 +302,10 @@
|
||||
<string name="filedisplay_no_file_selected">No file selected</string>
|
||||
<string name="activity_chooser_title">Send link to …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Copying file from private storage</string>
|
||||
|
||||
<string name="oauth_check_onoff">Log in with OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Connecting to OAuth 2.0 server…</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Log in with OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Connecting to OAuth 2.0 server…</string>
|
||||
|
||||
<string name="ssl_validator_header">The identity of the site could not be verified</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- The server certificate is not trusted</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- The server certificate expired</string>
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
<string name="foreign_files_remote_text">Remoto: %1$s</string>
|
||||
<string name="upload_query_move_foreign_files">El espacio insuficiente evita que se copien los archivos seleccionados dentro de la carpeta %1$s. ¿Te gustaría moverlos ahí en su lugar?</string>
|
||||
<string name="pass_code_enter_pass_code">Por favor ingresa tu código de seguridad</string>
|
||||
|
||||
|
||||
<string name="pass_code_configure_your_pass_code">Ingresa tu código de seguridad</string>
|
||||
<string name="pass_code_configure_your_pass_code_explanation">El código de seguridad será solicitado cada vez que inicie la aplicación</string>
|
||||
<string name="pass_code_reenter_your_pass_code">Por favor reingresa el código de seguridad</string>
|
||||
@@ -265,9 +265,9 @@
|
||||
<string name="auth_oauth_error">Autorización no exitosa</string>
|
||||
<string name="auth_oauth_error_access_denied">Acceso denegado por el servidor de autorización</string>
|
||||
<string name="auth_wtf_reenter_URL">Estado inesperado, por favor reingresa la dirección del servidor</string>
|
||||
<string name="auth_expired_oauth_token_toast">Tu autorización ha expirado. Por favor vuelve a autorizar</string>
|
||||
<string name="auth_expired_basic_auth_toast">Por favor ingresa tu contraseña actual</string>
|
||||
<string name="auth_expired_saml_sso_token_toast">Tu sesión ha expirado. Por favor conectate de nuevo</string>
|
||||
<string name="auth_expired_oauth_token_toast">Tu autorización ha expirado. Por favor vuelve a autorizar</string>
|
||||
<string name="auth_expired_basic_auth_toast">Por favor ingresa tu contraseña actual</string>
|
||||
<string name="auth_expired_saml_sso_token_toast">Tu sesión ha expirado. Por favor conectate de nuevo</string>
|
||||
<string name="auth_connecting_auth_server">Conectando al servidor de autenticación...</string>
|
||||
<string name="auth_unsupported_auth_method">El servidor no soporta este método de autenticación</string>
|
||||
<string name="auth_unsupported_multiaccount">%1$s no soporta cuentas múltiples</string>
|
||||
@@ -302,10 +302,10 @@
|
||||
<string name="filedisplay_no_file_selected">No se ha seleccionado algún archivo</string>
|
||||
<string name="activity_chooser_title">Enviar la liga a …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Copiando el archivo desde almacenamiento privado</string>
|
||||
|
||||
<string name="oauth_check_onoff">Iniciar sesión con OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Conectando al servidor OAuth 2.0...</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Iniciar sesión con OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Conectando al servidor OAuth 2.0...</string>
|
||||
|
||||
<string name="ssl_validator_header">La identidad del sitio no pudo ser verificada</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- El certificado del servidor no es de confianza</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- El certificado del servidor expiró</string>
|
||||
@@ -463,9 +463,9 @@
|
||||
<string name="sync_folder_failed_content">La sincronización de %1$s carpeta no se pudo completar</string>
|
||||
|
||||
<string name="shared_subject_header">compartido</string>
|
||||
<string name="with_you_subject_header">contigo</string>
|
||||
|
||||
<string name="subject_user_shared_with_you">%1$s ha compartido \"%2$s\" contigo</string>
|
||||
<string name="with_you_subject_header">contigo</string>
|
||||
|
||||
<string name="subject_user_shared_with_you">%1$s ha compartido \"%2$s\" contigo</string>
|
||||
<string name="subject_shared_with_you">\"%1$s\" ha sido compartido contigo</string>
|
||||
|
||||
<string name="auth_refresh_button">Actualizar conexión</string>
|
||||
|
||||
@@ -302,10 +302,10 @@
|
||||
<string name="filedisplay_no_file_selected">No hay archivos seleccionados</string>
|
||||
<string name="activity_chooser_title">Enviar enlace a …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Copiando el archivo desde el almacenamiento privado.</string>
|
||||
|
||||
<string name="oauth_check_onoff">Ingresar con OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Conectando al servidor OAuth 2.0...</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Ingresar con OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Conectando al servidor OAuth 2.0...</string>
|
||||
|
||||
<string name="ssl_validator_header">No se ha podido verificar la ia identidad del sitio</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- El certificado del servidor no es de confianza</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- El certificado del servidor ha expirado</string>
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
<string name="prefs_remember_last_upload_location_summary">Muista jaon sijainti eniten käytetyissä</string>
|
||||
|
||||
<string name="recommend_subject">Kokeile %1$sia älypuhelimellasi!</string>
|
||||
<string name="auth_check_server">Tarkista palvelin</string>
|
||||
<string name="auth_check_server">Tarkista palvelin</string>
|
||||
<string name="auth_host_url">Palvelinosoite https://…</string>
|
||||
<string name="auth_username">Käyttäjätunnus</string>
|
||||
<string name="auth_password">Salasana</string>
|
||||
@@ -209,11 +209,11 @@
|
||||
<string name="auth_not_configured_title">Väärin tehdyt palvelin-asetukset</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_unknown_error_title">Tuntematon virhe</string>
|
||||
<string name="auth_incorrect_path_title">Palvelinta ei löytynyt</string>
|
||||
<string name="auth_incorrect_path_title">Palvelinta ei löytynyt</string>
|
||||
<string name="auth_timeout_title">Palvelimen vastaus viipyy liian kauan</string>
|
||||
<string name="auth_ssl_general_error_title">SSL:n alustus epäonnistui</string>
|
||||
<string name="auth_bad_oc_version_title">Tuntematon palvelimen versio</string>
|
||||
<string name="auth_wrong_connection_title">Yhteyden muodostaminen ei onnistunut</string>
|
||||
<string name="auth_wrong_connection_title">Yhteyden muodostaminen ei onnistunut</string>
|
||||
<string name="auth_secure_connection">Salattu yhteys muodostettu</string>
|
||||
<string name="auth_unauthorized">Väärä käyttäjätunnus tai salasana</string>
|
||||
<string name="auth_oauth_error">Epäonnistunut valtuutus</string>
|
||||
@@ -355,7 +355,7 @@
|
||||
<string name="prefs_category_instant_uploading">Välittömät lähetykset</string>
|
||||
<string name="prefs_category_details">Tiedot</string>
|
||||
|
||||
<string name="sync_folder_failed_content">Kansion %1$s synkronointia ei voitu suorittaa kokonaan</string>
|
||||
<string name="sync_folder_failed_content">Kansion %1$s synkronointia ei voitu suorittaa kokonaan</string>
|
||||
|
||||
<string name="shared_subject_header">jaettu</string>
|
||||
<string name="with_you_subject_header">kanssasi</string>
|
||||
@@ -504,4 +504,4 @@
|
||||
<string name="privacy">Yksityisyys</string>
|
||||
<string name="file_not_found">Tiedostoa ei löytynyt!</string>
|
||||
|
||||
</resources>
|
||||
</resources>
|
||||
@@ -302,10 +302,10 @@
|
||||
<string name="filedisplay_no_file_selected">Aucun fichier sélectionné</string>
|
||||
<string name="activity_chooser_title">Envoyer le lien vers …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Copie du fichier depuis le stockage privé</string>
|
||||
|
||||
<string name="oauth_check_onoff">Connexion avec OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Connexion au serveur OAuth 2.0…</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Connexion avec OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Connexion au serveur OAuth 2.0…</string>
|
||||
|
||||
<string name="ssl_validator_header">L\'identité du site ne peut être vérifiée</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- Le certificat du serveur n\'est pas sûr</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- Le certificat du serveur a expiré</string>
|
||||
|
||||
@@ -302,10 +302,10 @@ Smelltu hér til að fá þér einn frá þjónustuaðila.</string>
|
||||
<string name="filedisplay_no_file_selected">Engin skrá valin</string>
|
||||
<string name="activity_chooser_title">Senda tengil til …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Afrita skrá úr einkageymslu</string>
|
||||
|
||||
<string name="oauth_check_onoff">Skrá inn með OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Tengist við OAuth 2.0-auðkenningarþjón …</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Skrá inn með OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Tengist við OAuth 2.0-auðkenningarþjón …</string>
|
||||
|
||||
<string name="ssl_validator_header">Ekki var hægt að sannreyna auðkenni vefsvæðisins</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- Skilríki þjónsins er ekki treyst</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- Skilríki þjónsins er útrunnið</string>
|
||||
|
||||
@@ -271,7 +271,7 @@
|
||||
<string name="auth_connecting_auth_server">Kobler til autentiseringstjener...</string>
|
||||
<string name="auth_unsupported_auth_method">Tjeneren støtter ikke denne autorisasjonsmetoden</string>
|
||||
<string name="auth_unsupported_multiaccount">%1$s støtter ikke flere kontoer</string>
|
||||
<string name="auth_fail_get_user_name">Tjeneren din svarer ikke med korrekt bruker-ID, ta kontakt med en administrator </string>
|
||||
<string name="auth_fail_get_user_name">Tjeneren din svarer ikke med korrekt bruker-ID, ta kontakt med en administrator </string>
|
||||
<string name="auth_can_not_auth_against_server">Kan ikke autentisere mot denne tjeneren</string>
|
||||
<string name="auth_account_does_not_exist">Kontoen eksisterer ikke på enheten enda</string>
|
||||
|
||||
@@ -302,10 +302,10 @@
|
||||
<string name="filedisplay_no_file_selected">Ingen fil ble valgt</string>
|
||||
<string name="activity_chooser_title">Send lenke til …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Kopierer fil fra privat lager</string>
|
||||
|
||||
<string name="oauth_check_onoff">Logg inn med OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Kobler til OAuth 2.0-tjener...</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Logg inn med OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Kobler til OAuth 2.0-tjener...</string>
|
||||
|
||||
<string name="ssl_validator_header">Identiteten til siden kunne ikke bekreftes</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- Tjenerens sertifikat er ikke til å stole på</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- Tjenerens sertifikat er utløpt</string>
|
||||
@@ -433,7 +433,7 @@
|
||||
<string name="actionbar_logger">Logger</string>
|
||||
<string name="log_send_history_button">Send historikk </string>
|
||||
<string name="log_send_no_mail_app">Fant inget program til forsendelse av logger. Installer e-post-program.</string>
|
||||
<string name="log_send_mail_subject">%1$s Android program-logger</string>
|
||||
<string name="log_send_mail_subject">%1$s Android program-logger</string>
|
||||
<string name="log_progress_dialog_text">Laster data …</string>
|
||||
|
||||
<string name="saml_authentication_required_text">Autentisering kreves</string>
|
||||
|
||||
@@ -303,10 +303,10 @@ Kies er eentje van een provider.</string>
|
||||
<string name="filedisplay_no_file_selected">Geen bestand geselecteerd</string>
|
||||
<string name="activity_chooser_title">Verstuur link naar …</string>
|
||||
<string name="wait_for_tmp_copy_from_private_storage">Bestand vanaf privéopslag kopiëren</string>
|
||||
|
||||
<string name="oauth_check_onoff">Inloggen met OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Verbinden met OAuth 2.0 server…</string>
|
||||
|
||||
|
||||
<string name="oauth_check_onoff">Inloggen met OAuth 2.0</string>
|
||||
<string name="oauth_login_connection">Verbinden met OAuth 2.0 server…</string>
|
||||
|
||||
<string name="ssl_validator_header">De identiteit van de site kan niet worden gecontroleerd</string>
|
||||
<string name="ssl_validator_reason_cert_not_trusted">- Het servercertificaat wordt niet vertrouwd</string>
|
||||
<string name="ssl_validator_reason_cert_expired">- Het servercertificaat is verlopen</string>
|
||||
|
||||