Compare commits

...
Author SHA1 Message Date
Tobias Kaminsky dd1ee0e13d daily dev 20170716 2017-07-16 00:41:55 +02:00
Tobias Kaminsky c120bcc40e update dev 2017-07-16 2017-07-16 00:31:58 +02:00
AndyScherzinger f8ffe99212 Merge branch 'new_details_view_animations' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/res/layout/file_details_share_user_item.xml
2017-07-15 12:47:41 +02:00
AndyScherzinger 06898aa8f7 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	scripts/lint/lint-results.txt
#	src/main/java/com/owncloud/android/ui/adapter/FileListListAdapter.java
#	src/main/res/values-es-rMX/strings.xml
2017-07-15 12:46:32 +02:00
nextcloud-android-bot 37503b1b59 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-07-15 12:29:12 +02:00
AndyScherzinger ded5026866 replace deprecated android:singleLine with android:maxLines=1 2017-07-15 12:29:12 +02:00
AndyScherzinger 6cc518d0d8 raising padding on headline 2017-07-15 12:29:12 +02:00
AndyScherzinger 393d9aaea8 theming for zip icon 2017-07-15 12:29:11 +02:00
AndyScherzinger ee44c8da7f theme new details screen 2017-07-15 12:29:11 +02:00
AndyScherzinger 95072a5b3a theming fixes for ProgressBar elements 2017-07-15 12:29:10 +02:00
AndyScherzinger c7e1fe7b28 re-use existing view for better performance 2017-07-15 12:29:10 +02:00
AndyScherzinger 58e9010e9a use proper mini headline styling using material body2 definition 2017-07-15 12:29:10 +02:00
AndyScherzinger 4857af7aa4 avoid re-assigning of var 2017-07-15 12:29:09 +02:00
AndyScherzinger 9b528cf6fa codacy 2017-07-15 12:29:09 +02:00
AndyScherzinger 55d0570669 Fix headline coloring 2017-07-15 12:29:09 +02:00
AndyScherzinger 8a77916265 fixed cherry picked new details 2017-07-15 12:29:08 +02:00
AndyScherzinger 819c2ecfcb adapt to cherry pick 2017-07-15 12:29:08 +02:00
masensio ef2b7adc85 Review some text sizes in details view 2017-07-15 12:29:07 +02:00
masensio 889a587cf6 Review some margins in details view. Add method to show more than one item in share users list view (details view) 2017-07-15 12:29:07 +02:00
masensio 65774dd435 Fix favourite feature from details view 2017-07-15 12:29:07 +02:00
masensio 98992f8fca Add share users to details view 2017-07-15 12:29:06 +02:00
masensio fabaa22eae Remove old file_details_fragment.xml
# Conflicts:
#	res/layout/file_details_fragment.xml
2017-07-15 12:29:06 +02:00
masensio 4c9efdeefb Add share data to details view layout
# Conflicts:
#	owncloud-android-library
#	res/layout/file_details_fragment_new.xml
#	res/values/strings.xml
#	src/com/owncloud/android/ui/fragment/FileDetailFragment.java
2017-07-15 12:28:57 +02:00
Tobias Kaminsky 3016787717 update dev 2017-07-15 2017-07-15 00:30:57 +02:00
Tobias Kaminsky 07850390e2 daily dev 20170714 2017-07-14 00:40:57 +02:00
Tobias Kaminsky de647c6c9e update dev 2017-07-14 2017-07-14 00:30:54 +02:00
Tobias Kaminsky 8e8a95ed29 Merge remote-tracking branch 'nextcloud/resizedImages' into dev 2017-07-14 00:30:52 +02:00
Tobias Kaminsky b382bcff28 Merge remote-tracking branch 'nextcloud/new_details_view_animations' into dev 2017-07-14 00:30:40 +02:00
AndyScherzinger 43ed561ec9 theming for zip icon 2017-07-13 18:15:41 +02:00
AndyScherzinger 32fc0750e6 theme new details screen 2017-07-13 17:47:52 +02:00
AndyScherzinger 17a53a948b theming fixes for ProgressBar elements 2017-07-13 17:47:33 +02:00
tobiasKaminsky 3314afbd81 merge 2017-07-13 15:40:59 +02:00
tobiasKaminsky 162473a025 Merge remote-tracking branch 'remotes/origin/master' into resizedImages
# Conflicts:
#	src/main/java/com/owncloud/android/ui/adapter/UploaderAdapter.java
#	src/main/java/third_parties/michaelOrtiz/TouchImageViewCustom.java
2017-07-13 15:39:55 +02:00
tobiasKaminsky 61a71d33d0 downloading is working if set in preferences 2017-07-13 15:26:10 +02:00
AndyScherzinger 73f59188d1 re-use existing view for better performance 2017-07-13 12:13:08 +02:00
AndyScherzinger 825f5aae69 use proper mini headline styling using material body2 definition 2017-07-13 12:13:08 +02:00
AndyScherzinger f1285579ce avoid re-assigning of var 2017-07-13 12:13:08 +02:00
AndyScherzinger 306401772b codacy 2017-07-13 12:13:07 +02:00
AndyScherzinger ef91e7fd57 Fix headline coloring 2017-07-13 12:13:07 +02:00
AndyScherzinger 3edb8416fa fixed cherry picked new details 2017-07-13 12:13:06 +02:00
AndyScherzinger e5b09d1433 adapt to cherry pick 2017-07-13 12:12:28 +02:00
masensio 7166163b03 Review some text sizes in details view 2017-07-13 12:12:28 +02:00
masensio 8af1976acb Review some margins in details view. Add method to show more than one item in share users list view (details view) 2017-07-13 12:12:27 +02:00
masensio 993e684a95 Fix favourite feature from details view 2017-07-13 12:12:27 +02:00
masensio 5c4036f6a2 Add share users to details view 2017-07-13 12:12:26 +02:00
masensio 7ca94042f4 Remove old file_details_fragment.xml
# Conflicts:
#	res/layout/file_details_fragment.xml
2017-07-13 12:12:26 +02:00
masensio cb03506b90 Add share data to details view layout
# Conflicts:
#	owncloud-android-library
#	res/layout/file_details_fragment_new.xml
#	res/values/strings.xml
#	src/com/owncloud/android/ui/fragment/FileDetailFragment.java
2017-07-13 12:12:23 +02:00
tobiasKaminsky 14eed9f5f1 Merge remote-tracking branch 'remotes/origin/master' into resizedImages
# Conflicts:
#	src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
#	src/main/java/com/owncloud/android/ui/adapter/FileListListAdapter.java
#	src/main/res/values/strings.xml
2017-07-13 11:25:38 +02:00
tobiasKaminsky b42ceec141 Merge remote-tracking branch 'remotes/origin/master' into resizedImages
# Conflicts:
#	src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
#	src/main/java/com/owncloud/android/ui/adapter/FileListListAdapter.java
#	src/main/res/values/strings.xml
2017-07-13 11:13:42 +02:00
tobiasKaminsky 2ae68242e1 preference setting: download or preview 2017-07-13 11:04:53 +02:00
Tobias Kaminsky a43978c797 daily dev 20170713 2017-07-13 00:40:20 +02:00
Tobias Kaminsky 0bebf0f20f update dev 2017-07-13 2017-07-13 00:31:46 +02:00
Tobias Kaminsky 2fa4f35afd Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-13 00:31:38 +02:00
tobiasKaminsky 416db99d33 further work: image can now be download via snack 2017-07-12 17:05:06 +02:00
Tobias Kaminsky fed13409ca daily dev 20170712 2017-07-12 00:41:20 +02:00
Tobias Kaminsky 2da61fa0e7 update dev 2017-07-12 2017-07-12 00:31:06 +02:00
Tobias Kaminsky 5d130a2d6f Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-12 00:31:05 +02:00
Tobias Kaminsky 5e7e216d65 Merge remote-tracking branch 'nextcloud/userTheming' into dev 2017-07-12 00:30:59 +02:00
Tobias Kaminsky 6bc2024c39 Merge remote-tracking branch 'nextcloud/ErrorInActivityListAdapter' into dev 2017-07-12 00:30:44 +02:00
tobiasKaminsky 2f2c0cfa28 renamed tag 2017-07-11 16:23:37 +02:00
tobiasKaminsky e49ef434a1 catch a rare exception while setting activity list adapter 2017-07-11 15:04:15 +02:00
Tobias Kaminsky ab77f4bfcf daily dev 20170711 2017-07-11 00:42:03 +02:00
Tobias Kaminsky 345d91c992 update dev 2017-07-11 2017-07-11 00:30:55 +02:00
Tobias Kaminsky 656306bac7 Merge remote-tracking branch 'nextcloud/userTheming' into dev 2017-07-11 00:30:44 +02:00
Tobias Kaminsky 5128498089 daily dev 20170710 2017-07-10 00:39:27 +02:00
Tobias Kaminsky 72acdd3def update dev 2017-07-10 2017-07-10 00:31:05 +02:00
Tobias Kaminsky b21cda7af4 Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-10 00:30:58 +02:00
Tobias Kaminsky 9790941cbe daily dev 20170709 2017-07-09 00:40:07 +02:00
Tobias Kaminsky 0ce657f9d0 update dev 2017-07-09 2017-07-09 00:31:27 +02:00
Tobias Kaminsky 12fb16f294 Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-09 00:31:26 +02:00
Tobias Kaminsky d22f5fe92c update dev 2017-07-08 2017-07-08 00:30:56 +02:00
Tobias Kaminsky 7a143d7d9e daily dev 20170707 2017-07-07 00:40:19 +02:00
Tobias Kaminsky d9cdcf224f update dev 2017-07-07 2017-07-07 00:30:50 +02:00
Tobias Kaminsky 47dec7d142 Merge remote-tracking branch 'nextcloud/master' into dev 2017-07-07 00:30:48 +02:00
Tobias Kaminsky 35c388d652 Merge remote-tracking branch 'nextcloud/userTheming' into dev 2017-07-07 00:30:43 +02:00
Tobias Kaminsky a27209c6ad daily dev 20170706 2017-07-06 00:41:07 +02:00
Tobias Kaminsky 4cc80785c2 update dev 2017-07-06 2017-07-06 00:30:49 +02:00
Tobias Kaminsky 846dacabf0 Merge remote-tracking branch 'nextcloud/sharedFolderMissing' into dev 2017-07-06 00:30:29 +02:00
tobiaskaminsky 888acbb701 fix no showing shares after "shared" view 2017-07-05 14:55:11 +02:00
Tobias Kaminsky 579d797c71 daily dev 20170705 2017-07-05 00:48:39 +02:00
Tobias Kaminsky ff4f506dc7 update dev 2017-07-05 2017-07-05 00:31:46 +02:00
tobiaskaminsky ed5fc8edc5 Merge remote-tracking branch 'remotes/origin/userTheming' into dev 2017-07-04 13:12:17 +02:00
Tobias Kaminsky f532d081ba update dev 2017-07-04 2017-07-04 00:31:07 +02:00
Tobias Kaminsky 5d26fd1788 update dev 2017-07-03 2017-07-03 00:31:28 +02:00
Tobias Kaminsky 262a1707b7 update dev 2017-07-02 2017-07-02 00:30:51 +02:00
Tobias Kaminsky db7ca579c3 daily dev 20170701 2017-07-01 00:41:02 +02:00
Tobias Kaminsky 0e97346535 update dev 2017-07-01 2017-07-01 00:30:58 +02:00
Tobias Kaminsky 5c99a3e976 Merge remote-tracking branch 'nextcloud/folderObserver' into dev 2017-07-01 00:30:41 +02:00
tobiasKaminsky 2d2e4501a0 resolved update conflicts, adapted to current system 2017-06-30 17:01:04 +02:00
tobiaskaminsky 790e12d6c9 comment out adding new downloadedf files to folder observer 2017-06-30 15:25:26 +02:00
Tobias Kaminsky a5f5d5cb34 daily dev 20170630 2017-06-30 00:41:49 +02:00
Tobias Kaminsky dccf68065f update dev 2017-06-30 2017-06-30 00:32:09 +02:00
Tobias Kaminsky 2d255030dc Merge remote-tracking branch 'nextcloud/1089_sharing_with_password_rule' into dev 2017-06-30 00:30:59 +02:00
tobiasKaminsky e758738f5a Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2017-06-29 16:05:32 +02:00
nextcloud-android-bot 9daced6535 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-06-29 11:38:59 +02:00
tobiasKaminsky cb7388bc3a comment licence correctly 2017-06-29 11:38:59 +02:00
tobiasKaminsky 9906cec46b extract string resource, remove obsolete string 2017-06-29 11:38:58 +02:00
nextcloud-android-bot 7a7e2be550 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-06-29 11:38:58 +02:00
AndyScherzinger c3395d671e dp -> sp for text 2017-06-29 11:38:58 +02:00
AndyScherzinger 122ded3468 remove unused static and fix string format call 2017-06-29 11:38:57 +02:00
Augustin 75c90bbfc1 test commit for github build 2017-06-29 11:38:57 +02:00
augustin 6a263fdd11 1089_sharing_with_password_rule: don't ask for authentification when trying to share with too short password but ask for a new 2017-06-29 11:38:57 +02:00
Tobias Kaminsky fd40f8c624 daily dev 20170629 2017-06-29 00:40:44 +02:00
Tobias Kaminsky e07dec0e4f update dev 2017-06-29 2017-06-29 00:32:07 +02:00
Tobias Kaminsky f9d2776c0f Merge remote-tracking branch 'nextcloud/stopAsyncTasks' into dev 2017-06-29 00:30:53 +02:00
Tobias Kaminsky 0eeccd522f daily dev 20170628 2017-06-28 00:41:32 +02:00
Tobias Kaminsky d46917bc35 update dev 2017-06-28 2017-06-28 00:32:52 +02:00
Tobias Kaminsky d8d1bae404 Merge remote-tracking branch 'nextcloud/1089_sharing_with_password_rule' into dev 2017-06-28 00:31:52 +02:00
Tobias Kaminsky 6d93e85297 Merge remote-tracking branch 'nextcloud/settingsOn4x' into dev 2017-06-28 00:31:48 +02:00
nextcloud-android-bot d233585663 Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-06-27 11:25:29 +00:00
Tobias Kaminsky 9a985c3518 Merge 2cb1991199 into f9ec3574c1 2017-06-27 11:13:14 +00:00
tobiasKaminsky 2cb1991199 comment licence correctly 2017-06-27 13:13:08 +02:00
tobiasKaminsky b8b283cf86 extract string resource, remove obsolete string 2017-06-27 13:12:37 +02:00
tobiasKaminsky d7b7db5fb2 Merge remote-tracking branch 'origin/dev' into dev 2017-06-27 08:23:28 +02:00
tobiasKaminsky 299368a62a move to fastlane directory structure 2017-06-27 08:23:13 +02:00
Tobias Kaminsky ce329ebe23 daily dev 20170627 2017-06-27 00:42:05 +02:00
Tobias Kaminsky 616a84c230 update dev 2017-06-27 2017-06-27 00:31:48 +02:00
Tobias Kaminsky 2b55c309d8 Merge remote-tracking branch 'nextcloud/contactsBackupUI' into dev 2017-06-27 00:31:30 +02:00
Tobias Kaminsky 2c00e2ef6b Merge remote-tracking branch 'nextcloud/1089_sharing_with_password_rule' into dev 2017-06-27 00:31:18 +02:00
Tobias Kaminsky 97ca58f6f3 Merge remote-tracking branch 'nextcloud/settingsOn4x' into dev 2017-06-27 00:30:59 +02:00
Tobias Kaminsky b2c6dc4eae Merge remote-tracking branch 'nextcloud/shareDialog' into dev 2017-06-27 00:30:56 +02:00
Tobias Kaminsky f5cafc83ae Merge remote-tracking branch 'nextcloud/autoUploadRotationBug' into dev 2017-06-27 00:30:53 +02:00
Tobias Kaminsky a6377539a2 Merge remote-tracking branch 'nextcloud/autoUploadWithoutStoragePermission' into dev 2017-06-27 00:30:48 +02:00
nextcloud-android-bot 1cbe35259d Drone: update Lint results to reflect reduced error/warning count [skip ci] 2017-06-26 12:55:14 +00:00
tobiasKaminsky ea272cf862 remove obsolete strings 2017-06-26 14:37:07 +02:00
Tobias Kaminsky 83ce4e70f6 Merge 958f9e218d into 88e58e9c0c 2017-06-26 12:36:04 +00:00
AndyScherzinger 958f9e218d dp -> sp for text 2017-06-26 14:35:53 +02:00
tobiasKaminsky 5692f3e4c2 fix comment 2017-06-26 13:43:05 +02:00
tobiasKaminsky 0ab1fdc9dd fix dismissing dialog on rotation 2017-06-26 13:42:27 +02:00
AndyScherzinger e48d385aa5 remove unused static and fix string format call 2017-06-26 10:09:40 +02:00
tobiasKaminsky 773fbcddf9 click on shared/linked icon opens share dialog 2017-06-26 09:53:09 +02:00
Tobias Kaminsky 44a88f4543 daily dev 20170626 2017-06-26 00:40:15 +02:00
Tobias Kaminsky 022f741da7 update dev 2017-06-26 2017-06-26 00:31:08 +02:00
Tobias Kaminsky c81f07795f Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-26 00:30:58 +02:00
Tobias Kaminsky 8272678a2d update dev 2017-06-25 2017-06-25 00:30:59 +02:00
Tobias Kaminsky 151f72a886 daily dev 20170624 2017-06-24 00:40:08 +02:00
Tobias Kaminsky 2074e2f362 update dev 2017-06-24 2017-06-24 00:31:29 +02:00
Tobias Kaminsky 65593dabcb Merge remote-tracking branch 'nextcloud/deleteFilesOnAccountRemoval' into dev 2017-06-24 00:30:47 +02:00
Tobias Kaminsky ce2fac33bf Merge remote-tracking branch 'nextcloud/removedSDcard' into dev 2017-06-24 00:30:43 +02:00
tobiasKaminsky 8b1ed6d18c delete all local files on account removal 2017-06-23 14:00:06 +02:00
Augustin c41cce2f04 test commit for github build 2017-06-23 08:25:51 +02:00
augustin da996aefc7 Merge branch 'master' into 1089_sharing_with_password_rule 2017-06-23 08:22:11 +02:00
Tobias Kaminsky a99b9c2845 daily dev 20170623 2017-06-23 00:45:31 +02:00
Tobias Kaminsky 198f829eef update dev 2017-06-23 2017-06-23 00:31:54 +02:00
Tobias Kaminsky 56ebf988c1 Merge remote-tracking branch 'nextcloud/transactionTooLarge' into dev 2017-06-23 00:31:02 +02:00
tobiasKaminsky 501830d67b debug code for https://github.com/nextcloud/android/issues/808 2017-06-22 12:36:45 +02:00
tobiasKaminsky ba092cee7b bump to evernote 1.1.10 2017-06-22 09:36:51 +02:00
tobiasKaminsky c4b1382bbf Merge remote-tracking branch 'origin/dev' into dev 2017-06-22 07:31:07 +02:00
tobiasKaminsky 15b47c2025 Merge remote-tracking branch 'remotes/origin/bruteforce' into dev 2017-06-22 07:30:56 +02:00
Tobias Kaminsky 522427427b daily dev 20170622 2017-06-22 00:43:45 +02:00
Tobias Kaminsky 77d22fd9bb update dev 2017-06-22 2017-06-22 00:31:47 +02:00
tobiasKaminsky 343f9bd3da Merge remote-tracking branch 'remotes/origin/contactsBackupUI' into dev 2017-06-21 16:47:08 +02:00
tobiasKaminsky 5a7a6667e7 fix npe if folder on server does not exist 2017-06-21 16:39:13 +02:00
tobiasKaminsky 515297e259 use snapshot 2017-06-21 11:31:43 +02:00
tobiasKaminsky 38d8175cdd use lib branch 2017-06-21 11:09:49 +02:00
tobiasKaminsky 13ac8c6dbf remove version dependency as NC can this in all supported version 2017-06-21 11:08:37 +02:00
tobiasKaminsky 7e909ea6b9 use grey theme if no theming of elements is possible 2017-06-21 10:52:02 +02:00
tobiasKaminsky 8c0e39c66c change ui for public release 2017-06-21 10:01:19 +02:00
tobiasKaminsky 400fc6ac5a show "contacts backup" eithen in drawer or settings 2017-06-21 10:01:18 +02:00
AndyScherzinger 6dd6c989e4 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-06-21 09:43:25 +02:00
Tobias Kaminsky 69a4d453a6 daily dev 20170621 2017-06-21 00:39:14 +02:00
Tobias Kaminsky bb8ae4e4c8 update dev 2017-06-21 2017-06-21 00:31:05 +02:00
Tobias Kaminsky 41e18d4129 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-21 00:31:04 +02:00
augustin d43bc03d0b 1089_sharing_with_password_rule: don't ask for authentification when trying to share with too short password but ask for a new 2017-06-19 20:07:26 +02:00
tobiaskaminsky bcc70fda0d set Cache size to 200mb 2017-06-19 16:51:12 +02:00
AndyScherzinger 524f9afaf8 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java
2017-06-19 13:29:47 +02:00
Tobias Kaminsky 21748b4899 daily dev 20170618 2017-06-18 00:39:16 +02:00
Tobias Kaminsky 28abcad91a update dev 2017-06-18 2017-06-18 00:30:38 +02:00
Tobias Kaminsky c632f3f453 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-18 00:30:37 +02:00
Tobias Kaminsky ecf148033b daily dev 20170617 2017-06-17 00:40:08 +02:00
Tobias Kaminsky 56bab2e418 update dev 2017-06-17 2017-06-17 00:31:09 +02:00
Tobias Kaminsky f17c0ef04b Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-17 00:31:05 +02:00
tobiasKaminsky 76096d2e64 add image for fdroid 2017-06-16 16:39:26 +02:00
tobiasKaminsky 0d03ed96c0 try for fdroid 2017-06-16 15:07:20 +02:00
Tobias Kaminsky 810559126a daily dev 20170616 2017-06-16 00:39:54 +02:00
Tobias Kaminsky d9bff2a631 update dev 2017-06-16 2017-06-16 00:31:01 +02:00
Tobias Kaminsky fa9add4217 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-16 00:30:57 +02:00
Tobias Kaminsky 780592fbc6 daily dev 20170615 2017-06-15 00:39:48 +02:00
Tobias Kaminsky 7121523442 update dev 2017-06-15 2017-06-15 00:31:03 +02:00
Tobias Kaminsky 36ce0fd69b Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-15 00:31:01 +02:00
AndyScherzinger a2e5c86db3 Merge branch 'tintingFix' of https://github.com/nextcloud/android into dev 2017-06-14 11:42:17 +02:00
AndyScherzinger 02ab0852e4 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-06-14 11:42:03 +02:00
Tobias Kaminsky 3b42f3b39d daily dev 20170614 2017-06-14 00:41:10 +02:00
Tobias Kaminsky 672c769790 update dev 2017-06-14 2017-06-14 00:30:55 +02:00
Tobias Kaminsky f6d15dbcd8 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-14 00:30:51 +02:00
Tobias Kaminsky d898829af2 daily dev 20170613 2017-06-13 00:39:28 +02:00
Tobias Kaminsky 741791f7ef update dev 2017-06-13 2017-06-13 00:30:55 +02:00
Tobias Kaminsky 89d9893434 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-13 00:30:47 +02:00
Tobias Kaminsky 938cf8c720 update dev 2017-06-12 2017-06-12 00:31:00 +02:00
Tobias Kaminsky 5d0c59593e update dev 2017-06-11 2017-06-11 00:31:18 +02:00
Tobias Kaminsky 8022ea5064 update dev 2017-06-10 2017-06-10 00:31:49 +02:00
Tobias Kaminsky 46631569e9 daily dev 20170609 2017-06-09 00:39:35 +02:00
Tobias Kaminsky a1819de1ee update dev 2017-06-09 2017-06-09 00:30:43 +02:00
Tobias Kaminsky 1bbfd6001f Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-09 00:30:36 +02:00
Tobias Kaminsky 46fab4f07a daily dev 20170608 2017-06-08 00:39:35 +02:00
Tobias Kaminsky 4dec99d87d update dev 2017-06-08 2017-06-08 00:31:18 +02:00
AndyScherzinger eb9337d06e Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/java/com/owncloud/android/ui/activity/Preferences.java
2017-06-07 13:28:13 +02:00
Tobias Kaminsky fe855d651e update dev 2017-06-07 2017-06-07 00:31:12 +02:00
Tobias Kaminsky 19cebd610b daily dev 20170606 2017-06-06 00:39:08 +02:00
Tobias Kaminsky bd6fae8ff3 update dev 2017-06-06 2017-06-06 00:31:07 +02:00
Tobias Kaminsky 4f9389924e Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-06 00:31:02 +02:00
Tobias Kaminsky 1dd48fc51c daily dev 20170605 2017-06-05 00:41:15 +02:00
Tobias Kaminsky 9d5b55e0a2 update dev 2017-06-05 2017-06-05 00:30:57 +02:00
Tobias Kaminsky b3d3c5b3bc Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-05 00:30:52 +02:00
Tobias Kaminsky c773cbe777 daily dev 20170604 2017-06-04 00:38:38 +02:00
Tobias Kaminsky 72e19b55ad update dev 2017-06-04 2017-06-04 00:30:29 +02:00
Tobias Kaminsky a904dd4dc3 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-04 00:30:25 +02:00
Tobias Kaminsky c517ca339b daily dev 20170603 2017-06-03 00:40:40 +02:00
Tobias Kaminsky 425cac602c update dev 2017-06-03 2017-06-03 00:30:33 +02:00
Tobias Kaminsky 9b3f1acf89 Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-03 00:30:29 +02:00
Tobias Kaminsky da7cf3a853 daily dev 20170602 2017-06-02 00:38:48 +02:00
Tobias Kaminsky 8c3639762a update dev 2017-06-02 2017-06-02 00:30:44 +02:00
Tobias Kaminsky dd78be073a Merge remote-tracking branch 'nextcloud/master' into dev 2017-06-02 00:30:38 +02:00
Tobias Kaminsky a1db7187f7 daily dev 20170601 2017-06-01 00:45:44 +02:00
Tobias Kaminsky a6d89a97e5 update dev 2017-06-01 2017-06-01 00:31:25 +02:00
Mario Danic 85490f7d44 Merge branch 'master' into dev
Signed-off-by: Mario Danic <[email protected]>

# Conflicts:
#	build.gradle
#	src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java
#	src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java
2017-05-31 22:34:33 +02:00
Tobias Kaminsky 0188e2e33d update dev 2017-05-31 2017-05-31 00:30:39 +02:00
Tobias Kaminsky ff1d344782 update dev 2017-05-30 2017-05-30 00:30:51 +02:00
Tobias Kaminsky fcfaf2bace daily dev 20170529 2017-05-29 00:40:38 +02:00
Tobias Kaminsky cf19728063 update dev 2017-05-29 2017-05-29 00:31:42 +02:00
Tobias Kaminsky f27605dc13 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-29 00:31:33 +02:00
Tobias Kaminsky 617f6e74b6 daily dev 20170528 2017-05-28 00:39:03 +02:00
Tobias Kaminsky cedf0be331 update dev 2017-05-28 2017-05-28 00:30:51 +02:00
Tobias Kaminsky 0e486d84e7 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-28 00:30:45 +02:00
Tobias Kaminsky 6e2cc8f38c daily dev 20170527 2017-05-27 00:39:50 +02:00
Tobias Kaminsky db5ac0206b update dev 2017-05-27 2017-05-27 00:30:36 +02:00
AndyScherzinger 14936b3c45 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-26 17:37:01 +02:00
Tobias Kaminsky a0780b7154 daily dev 20170526 2017-05-26 00:39:53 +02:00
Tobias Kaminsky 3b91dbb335 update dev 2017-05-26 2017-05-26 00:30:57 +02:00
Tobias Kaminsky 4789809df2 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-26 00:30:37 +02:00
Tobias Kaminsky 61178f3532 daily dev 20170525 2017-05-25 00:41:29 +02:00
Tobias Kaminsky d50d8c34c6 update dev 2017-05-25 2017-05-25 00:31:03 +02:00
Tobias Kaminsky 61db8db122 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-25 00:30:52 +02:00
AndyScherzinger 6276e743e2 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-24 15:21:18 +02:00
Tobias Kaminsky f6a2a8def2 daily dev 20170524 2017-05-24 00:42:09 +02:00
Tobias Kaminsky 25d4b54e5c update dev 2017-05-24 2017-05-24 00:32:01 +02:00
AndyScherzinger 940da7325d Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java
#	src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java
2017-05-24 00:16:14 +02:00
AndyScherzinger 39620c105d Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	CHANGELOG.md
#	src/main/AndroidManifest.xml
2017-05-23 23:55:35 +02:00
Tobias Kaminsky cda7b00e84 update dev 2017-05-23 2017-05-23 00:31:04 +02:00
Tobias Kaminsky bfcf6b919b daily dev 20170522 2017-05-22 00:38:44 +02:00
Tobias Kaminsky 134ed43d34 update dev 2017-05-22 2017-05-22 00:31:14 +02:00
Tobias Kaminsky 5a8cd879f1 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-22 00:31:11 +02:00
Tobias Kaminsky 33478d2f7d daily dev 20170521 2017-05-21 00:41:20 +02:00
Tobias Kaminsky 2494c13a66 update dev 2017-05-21 2017-05-21 00:32:16 +02:00
Tobias Kaminsky edd4f7cae5 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-21 00:32:14 +02:00
Tobias Kaminsky 1339acd035 daily dev 20170520 2017-05-20 00:40:38 +02:00
Tobias Kaminsky 32a66b96c2 update dev 2017-05-20 2017-05-20 00:31:20 +02:00
Tobias Kaminsky 7d86c5282d Merge remote-tracking branch 'nextcloud/pinchZoom' into dev 2017-05-20 00:31:07 +02:00
Tobias Kaminsky e2c9dddda8 Merge remote-tracking branch 'nextcloud/searchViewWrongFiles' into dev 2017-05-20 00:30:59 +02:00
AndyScherzinger fffa235b79 Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-19 18:42:54 +02:00
Tobias Kaminsky 532b65a66d daily dev 20170519 2017-05-19 00:40:37 +02:00
Tobias Kaminsky 52e91cb72a update dev 2017-05-19 2017-05-19 00:31:04 +02:00
Tobias Kaminsky e43c1b5fec Merge remote-tracking branch 'nextcloud/crashDueToEmptyString' into dev 2017-05-19 00:30:43 +02:00
Tobias Kaminsky 058bb9704a daily dev 20170518 2017-05-18 00:38:39 +02:00
Tobias Kaminsky d747efa134 update dev 2017-05-18 2017-05-18 00:30:46 +02:00
Tobias Kaminsky 8bf2cf8355 Merge remote-tracking branch 'nextcloud/crashDueToEmptyString' into dev 2017-05-18 00:30:31 +02:00
Tobias Kaminsky dbb6d997be update dev 2017-05-17 2017-05-17 15:07:54 +02:00
Tobias Kaminsky 4a8611738c Merge remote-tracking branch 'nextcloud/crashDueToEmptyString' into dev 2017-05-17 15:06:44 +02:00
tobiaskaminsky 55b80312f4 always enable logging on dev 2017-05-17 15:04:02 +02:00
Tobias Kaminsky b76e64b294 daily dev 20170517 2017-05-17 00:44:54 +02:00
Tobias Kaminsky 408646db01 update dev 2017-05-17 2017-05-17 00:32:16 +02:00
AndyScherzinger 7be1cdc2d5 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	scripts/lint/lint-results.txt
2017-05-16 23:28:00 +02:00
Tobias Kaminsky 39bf645f1c update dev 2017-05-16 2017-05-16 14:27:25 +02:00
tobiaskaminsky 0239d3b955 Merge remote-tracking branch 'remotes/origin/crashDueToEmptyString' into dev 2017-05-16 14:19:58 +02:00
Tobias Kaminsky 702316c444 update dev 2017-05-16 2017-05-16 13:43:26 +02:00
Tobias Kaminsky 88cc730c0e daily dev 20170516 2017-05-16 00:41:06 +02:00
Tobias Kaminsky eb07297f91 update dev 2017-05-16 2017-05-16 00:32:19 +02:00
tobiasKaminsky bbbf55765d fix line wrap 2017-05-15 10:44:02 +02:00
tobiasKaminsky dda2439393 Merge remote-tracking branch 'remotes/origin/logFolder' into dev 2017-05-15 09:12:51 +02:00
Tobias Kaminsky 96cda366cb daily dev 20170515 2017-05-15 00:40:44 +02:00
Tobias Kaminsky 944647dc72 update dev 2017-05-15 2017-05-15 00:32:06 +02:00
Tobias Kaminsky 6f6fe94218 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-15 00:31:58 +02:00
Tobias Kaminsky a04abec2f1 Merge branch 'dev' of github.com:/nextcloud/android into dev 2017-05-15 00:30:09 +02:00
Tobias Kaminsky 0145deb320 daily dev 20170514 2017-05-14 17:59:39 +02:00
AndyScherzinger ac8860e8fd Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-13 23:32:14 +02:00
AndyScherzinger 34776e1125 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
#	src/main/java/com/owncloud/android/ui/activity/ShareActivity.java
#	src/main/java/com/owncloud/android/ui/fragment/EditShareFragment.java
#	src/main/java/com/owncloud/android/ui/helpers/FileOperationsHelper.java
#	src/main/res/values/setup.xml
2017-05-13 16:05:12 +02:00
Tobias Kaminsky 0a2346491b update dev 2017-05-13 2017-05-13 09:04:31 +02:00
Tobias Kaminsky a7fb57daff Merge remote-tracking branch 'nextcloud/audioRotationBug' into dev 2017-05-13 09:04:08 +02:00
Tobias Kaminsky 5e9ba17298 update dev 2017-05-13 2017-05-13 00:31:05 +02:00
Tobias Kaminsky ed5093914d daily dev 20170512 2017-05-12 00:40:21 +02:00
Tobias Kaminsky 744bbe93bc update dev 2017-05-12 2017-05-12 00:31:03 +02:00
Tobias Kaminsky a6d6f88a79 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-12 00:30:41 +02:00
Tobias Kaminsky 28c8dc1613 daily dev 20170511 2017-05-11 00:39:20 +02:00
Tobias Kaminsky b3b8b4c9e1 update dev 2017-05-11 2017-05-11 00:31:09 +02:00
Tobias Kaminsky 5fa5175698 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-11 00:31:07 +02:00
Tobias Kaminsky 919dd1fef8 daily dev 20170510 2017-05-10 00:39:24 +02:00
Tobias Kaminsky af099f17c4 update dev 2017-05-10 2017-05-10 00:31:06 +02:00
Tobias Kaminsky ba9baafbe6 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-10 00:31:02 +02:00
Tobias Kaminsky c450bf1e1a daily dev 20170509 2017-05-09 00:39:29 +02:00
Tobias Kaminsky 94cc2fb38d update dev 2017-05-09 2017-05-09 00:31:01 +02:00
Tobias Kaminsky 31c0bc5cf8 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-09 00:30:57 +02:00
Tobias Kaminsky d89116d7ff daily dev 20170508 2017-05-08 00:40:48 +02:00
Tobias Kaminsky ba0452bb06 update dev 2017-05-08 2017-05-08 00:31:10 +02:00
Tobias Kaminsky baf36f4473 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-08 00:31:09 +02:00
Tobias Kaminsky 52ff0290e6 daily dev 20170507 2017-05-07 00:40:25 +02:00
Tobias Kaminsky aa83e6b41b update dev 2017-05-07 2017-05-07 00:31:24 +02:00
Tobias Kaminsky a0151fee46 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-07 00:31:21 +02:00
Tobias Kaminsky 1b39f35af6 daily dev 20170506 2017-05-06 00:40:14 +02:00
Tobias Kaminsky c6a317cd78 update dev 2017-05-06 2017-05-06 00:30:50 +02:00
Tobias Kaminsky 24417af511 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-06 00:30:46 +02:00
Tobias Kaminsky 0ed4459eac daily dev 20170505 2017-05-05 00:40:40 +02:00
Tobias Kaminsky 89efc52a6b update dev 2017-05-05 2017-05-05 00:31:16 +02:00
Tobias Kaminsky 4bdc3a1667 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-05 00:31:15 +02:00
AndyScherzinger 760c8c5d8f Merge branch 'master' of https://github.com/nextcloud/android into dev 2017-05-04 14:35:04 +02:00
Tobias Kaminsky c63cdcf6ef daily dev 20170504 2017-05-04 00:41:46 +02:00
Tobias Kaminsky 5d0b3559ca update dev 2017-05-04 2017-05-04 00:31:55 +02:00
Tobias Kaminsky 99e8bd3f71 Merge remote-tracking branch 'nextcloud/master' into dev 2017-05-04 00:31:49 +02:00
AndyScherzinger 219058770b Merge branch 'federated_sharing_edit_options' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
2017-05-03 18:27:09 +02:00
tobiasKaminsky f8dcfefea5 update dev 2017-05-03 2017-05-03 16:26:30 +02:00
tobiasKaminsky f07d88e197 Merge remote-tracking branch 'nextcloud/externalStorage' into dev 2017-05-03 16:25:26 +02:00
AndyScherzinger abb201c1c4 fix codacy warning 2017-05-03 15:00:34 +02:00
AndyScherzinger 1fb07f6692 fix import 2017-05-03 15:00:34 +02:00
AndyScherzinger 74eb71aded adaptes federated shares permission computation 2017-05-03 15:00:33 +02:00
AndyScherzinger acca3b5e08 fix compile error after lib merges
# Conflicts:
#	src/com/owncloud/android/ui/activity/ShareActivity.java
2017-05-03 15:00:33 +02:00
David A. Velasco d14657e493 Remove always-true component in condition, from CR 2017-05-03 15:00:33 +02:00
jabarros ab356b356a Fix var name in comment 2017-05-03 15:00:32 +02:00
jabarros eb581bdda5 Handle create, change and delete options in federated sharing in servers 9.1 or up
# Conflicts:
#	src/com/owncloud/android/ui/fragment/EditShareFragment.java
2017-05-03 15:00:32 +02:00
AndyScherzinger 25eb96ed0f fix codacy warning 2017-05-03 15:00:32 +02:00
AndyScherzinger c1baee06f6 reintroduce account for federated sharing permission 2017-05-03 15:00:31 +02:00
AndyScherzinger 4c3ebdf19f fix import 2017-05-03 15:00:31 +02:00
AndyScherzinger 243e940b22 adaptes federated shares permission computation 2017-05-03 15:00:30 +02:00
AndyScherzinger 86ef6701d3 fix compile error after lib merges
# Conflicts:
#	src/com/owncloud/android/ui/activity/ShareActivity.java
2017-05-03 15:00:30 +02:00
AndyScherzinger 742b803ea8 temp gradle dependency to library PR 2017-05-03 15:00:30 +02:00
AndyScherzinger 3ebef317ad add missing code fragments 2017-05-03 15:00:29 +02:00
David A. Velasco ac5a957ca1 Remove always-true component in condition, from CR 2017-05-03 15:00:29 +02:00
jabarros 0332ce4475 Fix var name in comment 2017-05-03 15:00:29 +02:00
jabarros c85c9904d7 Handle create, change and delete options in federated sharing in servers 9.1 or up
# Conflicts:
#	src/com/owncloud/android/ui/fragment/EditShareFragment.java
2017-05-03 15:00:26 +02:00
AndyScherzinger 55a55940f5 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/res/values-fr/strings.xml
2017-05-03 14:45:56 +02:00
Tobias Kaminsky 8da05f4559 update dev 2017-05-03 2017-05-03 00:30:59 +02:00
Tobias Kaminsky dbe750d368 daily dev 20170502 2017-05-02 00:41:13 +02:00
Tobias Kaminsky a3b8019f0a update dev 2017-05-02 2017-05-02 00:31:47 +02:00
AndyScherzinger 7b74ed53ef Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/res/values/strings.xml
2017-05-01 18:39:17 +02:00
Tobias Kaminsky d45bb6b848 update dev 2017-05-01 2017-05-01 00:31:20 +02:00
Tobias Kaminsky c6c5ad5176 daily dev 20170430 2017-04-30 00:39:46 +02:00
Tobias Kaminsky 92600904a1 update dev 2017-04-30 2017-04-30 00:30:38 +02:00
Tobias Kaminsky 6428ed7c02 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-30 00:30:34 +02:00
Tobias Kaminsky 78775f143d daily dev 20170429 2017-04-29 00:46:36 +02:00
Tobias Kaminsky b6f0222caa update dev 2017-04-29 2017-04-29 00:32:27 +02:00
Tobias Kaminsky 2fe5a7d284 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-29 00:32:21 +02:00
AndyScherzinger b321407b77 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
#	src/main/res/values/strings.xml
2017-04-28 10:37:36 +02:00
Tobias Kaminsky b81c60cbe7 update dev 2017-04-28 2017-04-28 00:30:56 +02:00
Tobias Kaminsky 7431ea337c daily dev 20170427 2017-04-27 00:41:44 +02:00
Tobias Kaminsky 6a715b5a42 update dev 2017-04-27 2017-04-27 00:32:06 +02:00
Tobias Kaminsky 59353923c6 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-27 00:31:00 +02:00
Tobias Kaminsky 9121d12699 daily dev 20170426 2017-04-26 00:40:21 +02:00
Tobias Kaminsky 88dcd1f244 update dev 2017-04-26 2017-04-26 00:30:58 +02:00
Tobias Kaminsky 88e755f560 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-26 00:30:58 +02:00
Tobias Kaminsky 870cb1f794 daily dev 20170425 2017-04-25 00:48:21 +02:00
Tobias Kaminsky cbcef968e3 update dev 2017-04-25 2017-04-25 00:31:31 +02:00
AndyScherzinger 40edf50f86 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	src/main/res/values-de-rDE/strings.xml
2017-04-24 08:47:37 +02:00
AndyScherzinger 0e9193594b Merge branch 'dev' of https://github.com/nextcloud/android into dev 2017-04-24 08:46:58 +02:00
Tobias Kaminsky c2c44c4bdf update dev 2017-04-24 2017-04-24 00:30:53 +02:00
Tobias Kaminsky 25ade84d89 update dev 2017-04-23 2017-04-23 00:32:00 +02:00
Tobias Kaminsky 3a9f25f496 update dev 2017-04-22 2017-04-22 00:40:32 +02:00
AndyScherzinger 1d50abafd4 remove unused image 2017-04-21 20:18:39 +02:00
AndyScherzinger ffdd318c5f Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
2017-04-21 20:08:58 +02:00
AndyScherzinger 82cec264f0 Merge branch 'master' of https://github.com/nextcloud/android into dev
# Conflicts:
#	build.gradle
#	src/main/AndroidManifest.xml
#	src/main/java/com/owncloud/android/authentication/PassCodeManager.java
#	src/main/java/com/owncloud/android/ui/activity/FingerprintActivity.java
#	src/main/java/com/owncloud/android/ui/activity/Preferences.java
#	src/main/res/layout/fingerprintlock.xml
#	src/main/res/values/setup.xml
#	src/main/res/values/strings.xml
2017-04-21 00:50:39 +02:00
Tobias Kaminsky f8f495d7fd update dev 2017-04-21 2017-04-21 00:32:05 +02:00
Tobias Kaminsky 3f9ccf96b0 update dev 2017-04-20 2017-04-20 00:31:17 +02:00
Tobias Kaminsky 9dc0271b99 daily dev 20170419 2017-04-19 00:38:19 +02:00
Tobias Kaminsky f5a9c4067e update dev 2017-04-19 2017-04-19 00:31:01 +02:00
Tobias Kaminsky aac405c430 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-19 00:30:56 +02:00
Tobias Kaminsky e93f404eb0 daily dev 20170418 2017-04-18 16:51:34 +02:00
Tobias Kaminsky fa0c0a4edb update dev 2017-04-18 2017-04-18 16:42:11 +02:00
Tobias Kaminsky bc94b966fd Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-18 16:42:04 +02:00
Tobias Kaminsky 9b95160214 Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-18 00:31:03 +02:00
Tobias Kaminsky 62e1aeba2c Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-17 00:37:27 +02:00
Tobias Kaminsky 17c0322715 daily dev 20170415 2017-04-15 00:37:34 +02:00
Tobias Kaminsky c1871306f3 update dev 2017-04-15 2017-04-15 00:30:49 +02:00
Tobias Kaminsky bd8ad58cfc Merge remote-tracking branch 'nextcloud/master' into dev 2017-04-15 00:30:35 +02:00
Tobias Kaminsky b020cc51b7 daily dev 20170414 2017-04-14 00:37:03 +02:00
Tobias Kaminsky c77ffe2afb update dev 2017-04-14 2017-04-14 00:31:21 +02:00
tobiasKaminsky 50ba869b91 Merge remote-tracking branch 'remotes/origin/dev-base' into dev 2017-04-13 15:10:39 +02:00
tobiasKaminsky 991a84ad5e reverting app id to beta as fdroid needs this 2017-04-13 15:09:07 +02:00
Tobias Kaminsky af889a40ee update dev 2017-04-13 2017-04-13 14:50:21 +02:00
Tobias Kaminsky 7b4c1a9338 Merge remote-tracking branch 'nextcloud/dev-base' into dev 2017-04-13 14:49:06 +02:00
tobiasKaminsky 34bf82e59c enable logger 2017-04-13 14:48:06 +02:00
tobiasKaminsky ff67766cb6 build and use only generic release 2017-04-13 14:38:18 +02:00
Tobias Kaminsky a4e5a6f0e5 daily dev build 2017-04-13 14:29:46 +02:00
tobiasKaminsky 78afffb0c4 add date to commit messages 2017-04-13 14:25:48 +02:00
Tobias Kaminsky 9e5f3b8ca5 update dev 2017-04-13 14:18:52 +02:00
Tobias Kaminsky 111ebaf4bd Merge remote-tracking branch 'nextcloud/dev-base' into dev 2017-04-13 14:17:25 +02:00
tobiasKaminsky 2656b810f3 improved changelog output 2017-04-13 14:14:02 +02:00
Tobias Kaminsky 00f9ec9451 Merge remote-tracking branch 'nextcloud/dev-base' into dev 2017-04-13 10:04:21 +02:00
tobiasKaminsky 9cebde80af add dev-base to check 2017-04-13 10:02:16 +02:00
tobiasKaminsky d9362b73c1 new location of androidManifest 2017-04-13 09:59:33 +02:00
Tobias Kaminsky 2744da47b8 update dev 2017-04-13 09:56:01 +02:00
tobiasKaminsky 793c516f1f update dev 2017-04-13 09:27:52 +02:00
tobiasKaminsky 59f33abf53 Merge remote-tracking branch 'nextcloud/fix_file_modification_date_on_upload' into dev 2017-04-13 09:27:49 +02:00
tobiasKaminsky fe3746b61f Merge remote-tracking branch 'Flole998/master' into dev 2017-04-13 09:27:47 +02:00
tobiasKaminsky 0b6fbbc79f inital state of dev base 2017-04-13 09:14:19 +02:00
AndyScherzinger 836d7f670b fixes after rebase due to project structure changes 2017-04-05 19:21:02 +02:00
Flole de78b22e66 Fixed crashes when OEM removes Fingerprintmanager from system 2017-04-05 19:09:28 +02:00
Flole a287f8ecaf Removed useless check and double inverse 2017-04-05 19:09:26 +02:00
Flole998 4b21bf3687 Update strings.xml 2017-04-05 19:09:25 +02:00
Flole998 efb29b0fe9 Update strings.xml 2017-04-05 19:09:16 +02:00
Flole 9cfa1dafbe Fixing issues mentioned in review. 2017-04-05 19:09:14 +02:00
Flole def417dbd5 Made fingerprintmanager private 2017-04-05 19:08:59 +02:00
Flole f6fb0a5cf0 Fixed some issues 2017-04-05 19:08:58 +02:00
Flole 072a45bdd6 Fixed some issues 2017-04-05 19:08:56 +02:00
Flole 2c32f1dc37 Fixed some issues 2017-04-05 19:08:55 +02:00
Flole efedc11aaa Added Fingerprint Support 2017-04-05 19:08:54 +02:00
Flole 8c9bc8e595 Added Fingerprint Support 2017-04-05 19:08:16 +02:00
AndyScherzinger 638df22080 fix rebase 2017-04-05 11:28:19 +02:00
AndyScherzinger 9b60ca7798 use lib master since lib pr got merged 2017-04-05 11:28:19 +02:00
davigonz 03d0c9fa4a update to snapshot of lib version 2017-04-05 11:28:18 +02:00
davigonz 1d7a427bd4 Read modification time from the file in local filesystem and set it to the file
# Conflicts:
#	src/com/owncloud/android/operations/UploadFileOperation.java
2017-04-05 11:28:18 +02:00
tobiasKaminsky 46f7e0af4e setting / snackbar is working 2017-03-19 10:24:12 +01:00
tobiasKaminsky 1e653d5eaf wip snackbar 2017-03-18 07:14:36 +01:00
tobiasKaminsky 8f291127ba wip saving behaviour 2017-03-05 08:38:27 +01:00
tobiasKaminsky f862099e20 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2017-03-04 12:22:55 +01:00
tobiasKaminsky b25fe94af0 wip snackbars 2017-03-04 12:13:08 +01:00
tobiasKaminsky 18a35a2586 fix some codacy issues 2017-02-13 12:55:02 +01:00
tobiasKaminsky 2d76982d47 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2017-02-13 12:48:55 +01:00
AndyScherzinger e8a92a0031 Merge branch 'master' of https://github.com/nextcloud/android into resizedImages 2017-01-21 14:36:10 +01:00
AndyScherzinger 816f532417 Merge branch 'master' of https://github.com/nextcloud/android into resizedImages 2017-01-10 22:26:51 +01:00
AndyScherzinger 65be7efa2d Merge branch 'master' of https://github.com/nextcloud/android into resizedImages 2017-01-04 18:24:32 +01:00
tobiasKaminsky d6115cbf85 Merge remote-tracking branch 'remotes/origin/master' into resizedImages
# Conflicts:
#	src/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
2016-12-29 14:37:53 +01:00
tobiasKaminsky d1d99c5e3f send resized image also on filelist 2016-12-28 07:55:48 +01:00
tobiasKaminsky b203c48c51 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2016-11-16 12:29:26 +01:00
tobiasKaminsky cbc44a6014 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2016-09-18 09:13:16 +02:00
tobiasKaminsky 69661e6951 Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2016-09-17 16:25:39 +02:00
tobiasKaminsky 9a2ae6cb0b fix bug: resized image was always used indepentent of download state 2016-09-03 12:15:06 +02:00
tobiasKaminsky 9f86064b81 Merge remote-tracking branch 'origin/resizedImages' into resizedImages 2016-08-01 21:56:21 +02:00
tobiasKaminsky 73da2a1d14 added second parameter to thumbnail generation task 2016-08-01 21:43:18 +02:00
Andy Scherzinger 93bb169c6c GPLv3 2016-08-01 11:31:37 +02:00
tobiasKaminsky cf1e7013f4 minor code enhancements 2016-07-23 10:23:54 +02:00
tobiasKaminsky 8258843ae1 Merge remote-tracking branch 'remotes/origin/resizedImages' into resizedImages2 2016-07-23 10:15:50 +02:00
tobiasKaminsky 67baae4441 Merge remote-tracking branch 'remotes/origin/master' into resizedImages2 2016-07-23 10:12:39 +02:00
tobiasKaminsky a5509797bc resized images are now fetched via gallery app 2016-07-23 09:46:59 +02:00
tobiasKaminsky 3ff2d58a25 Merge remote-tracking branch 'remotes/origin/master' into storeResizedImagesOnDeletion 2016-07-21 20:25:31 +02:00
tobiasKaminsky e3d43e754d wip 2016-06-25 13:38:55 +02:00
tobiasKaminsky bcb55a0e4c Merge remote-tracking branch 'remotes/origin/master' into resizedImages 2016-06-25 13:30:23 +02:00
tobiasKaminsky a9fbec2934 revert wip 2016-05-13 18:17:49 +02:00
tobiasKaminsky 140e923982 update build gradle 2016-05-13 18:16:10 +02:00
tobiasKaminsky 680cf56746 correct indentation 2016-05-13 18:15:12 +02:00
tobiasKaminsky 7162aa65f4 revert exporting FileContentProvider 2016-05-13 18:14:32 +02:00
tobiasKaminsky a6e16a4e71 wip 2016-04-10 18:54:28 +02:00
tobiasKaminsky eac4e49ceb fixed showing thumbnails in local file list (uploader) 2016-01-03 13:36:29 +01:00
tobiasKaminsky 90382c5889 show thumbnail while waiting for resized image 2015-11-13 16:41:05 +01:00
tobiasKaminsky ce841a3c4f Merge remote-tracking branch 'remotes/upstream/master' into resizedImagesMaster 2015-11-05 22:04:57 +01:00
tobiasKaminsky d5ee0ef158 fixed #1244 2015-11-05 21:58:02 +01:00
tobiasKaminsky d06a4b155d updated for future use with later PRs 2015-11-02 22:09:29 +01:00
tobiasKaminsky 3ddb48b647 exported must be set to true 2015-11-02 10:24:01 +01:00
tobiasKaminsky 957484588e fix #1230 2015-10-31 11:03:15 +01:00
tobiasKaminsky cf22541dd5 fixed storing thumbnails by correct imageKey 2015-10-31 08:30:13 +01:00
tobiasKaminsky 61338bbb0c fixed rotating resized image 2015-10-31 08:09:49 +01:00
tobiasKaminsky 788ebbcdab reverted library 2015-07-01 20:13:02 +02:00
tobiasKaminsky ce35d6448e Merge remote-tracking branch 'upstream/develop' into resizedImages 2015-07-01 19:16:42 +02:00
tobiasKaminsky a1bc147849 resized image is loaded instead of full sized image. 2015-05-18 21:01:17 +02:00
112 changed files with 2395 additions and 674 deletions

No files matched your search

+522 -2
View File
@@ -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+)
+24 -3
View File
@@ -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'
+15
View File
@@ -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.
Binary file not shown.

After

Width:  |  Height:  |  Size: 821 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

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.
Binary file not shown.

After

Width:  |  Height:  |  Size: 821 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

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
+25
View File
@@ -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
+44
View File
@@ -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
+26
View File
@@ -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 -1
View File
@@ -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>
+82
View File
@@ -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
+43
View File
@@ -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
View File
@@ -1 +1 @@
include ':'
include ':'
Whitespace-only changes.
+1 -1
View File
@@ -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": [],
+12 -5
View File
@@ -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;
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -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" />
+1 -1
View File
@@ -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"
+3 -3
View File
@@ -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>
+208 -139
View File
@@ -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>
+1 -1
View File
@@ -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"
+2 -2
View File
@@ -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" />
+2 -2
View File
@@ -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"
+3 -3
View File
@@ -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"
+1 -1
View File
@@ -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"/>
+4 -1
View File
@@ -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>
+4 -4
View File
@@ -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" />
Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 38 KiB

+4 -4
View File
@@ -302,10 +302,10 @@
<string name="filedisplay_no_file_selected">Žádný soubor nebyl vybrán</string>
<string name="activity_chooser_title">Odeslat odkaz &#8230;</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>
+4 -5
View File
@@ -303,10 +303,10 @@
<string name="filedisplay_no_file_selected">Keine Datei gewählt</string>
<string name="activity_chooser_title">Link senden an &#8230;</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>
+4 -4
View File
@@ -303,10 +303,10 @@
<string name="filedisplay_no_file_selected">Keine Datei gewählt</string>
<string name="activity_chooser_title">Link senden an &#8230;</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>
+4 -4
View File
@@ -301,10 +301,10 @@
<string name="filedisplay_no_file_selected">Δεν επιλέχθηκε αρχείο</string>
<string name="activity_chooser_title">Αποστολή συνδέσμου σε &#8230;</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>
+4 -4
View File
@@ -302,10 +302,10 @@
<string name="filedisplay_no_file_selected">No file selected</string>
<string name="activity_chooser_title">Send link to &#8230;</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>
+11 -11
View File
@@ -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 &#8230;</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>
+4 -4
View File
@@ -302,10 +302,10 @@
<string name="filedisplay_no_file_selected">No hay archivos seleccionados</string>
<string name="activity_chooser_title">Enviar enlace a &#8230;</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>
+5 -5
View File
@@ -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>
+4 -4
View File
@@ -302,10 +302,10 @@
<string name="filedisplay_no_file_selected">Aucun fichier sélectionné</string>
<string name="activity_chooser_title">Envoyer le lien vers &#8230;</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>
+4 -4
View File
@@ -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 &#8230;</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>
+6 -6
View File
@@ -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 &#8230;</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 &#8230;</string>
<string name="saml_authentication_required_text">Autentisering kreves</string>
+4 -4
View File
@@ -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 &#8230;</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>
Loaded 100 of 112 files, more files were not shown because too many files have changed in this diff. Show more