Compare commits

...
923 Commits
Author SHA1 Message Date
Tobias Kaminsky f23a7c6d53 update to 20161109 2016-11-09 00:35:03 +01:00
tobiasKaminsky 13b095c28e changelog 2016-11-08 21:25:01 +01:00
tobiasKaminsky a50cc4eb55 Merge remote-tracking branch 'remotes/origin/streaming' into beta 2016-11-08 21:18:23 +01:00
Andy Scherzinger bb599ae95f minor code changes after rebase 2016-11-08 21:03:30 +01:00
AndyScherzinger 4ff7abb0ca ortganize imports 2016-11-08 07:49:15 +01:00
AndyScherzinger 5b3cb3f620 fix API calls after rebase 2016-11-08 07:49:15 +01:00
Andy Scherzinger b2255e9e19 removed printStackTrace 2016-11-08 07:49:15 +01:00
Andy Scherzinger 83d16e5284 minor code changes after rebase 2016-11-08 07:49:15 +01:00
tobiasKaminsky 981c1f854f update warning message 2016-11-08 07:49:15 +01:00
tobiasKaminsky 324296646b try to fix #1348 2016-11-08 07:49:14 +01:00
tobiasKaminsky ab419aa80a show error message again.
Stream with external app is now only possible via menu item
2016-11-08 07:49:14 +01:00
tobiasKaminsky 983d076c88 show external streaming only for not downloaded files 2016-11-08 07:49:14 +01:00
tobiasKaminsky f3fbaa456b add missing check for context menu 2016-11-08 07:49:14 +01:00
tobiasKaminsky 6129a932b7 tidy up once more 2016-11-08 07:49:14 +01:00
tobiasKaminsky 5b37ea0a6f tidy up 2016-11-08 07:49:13 +01:00
tobiasKaminsky 66073b7b13 wip 2016-11-08 07:49:13 +01:00
tobiasKaminsky 0a12f86657 wip 2016-11-08 07:49:13 +01:00
Tobias Kaminsky 6444d7debc update to 20161108 2016-11-08 00:35:26 +01:00
AndyScherzinger ffeab978fb Merge branch 'syncedFolders' of https://github.com/nextcloud/android into beta
# Conflicts:
#	src/com/owncloud/android/services/observer/FolderObserver.java
2016-11-07 15:38:42 +01:00
AndyScherzinger 2f8e6ebf15 Merge branch 'whatsNew' of https://github.com/nextcloud/android into beta 2016-11-07 15:37:41 +01:00
AndyScherzinger c05e72f0bb removal of code warnings 2016-11-07 15:37:20 +01:00
AndyScherzinger 46d0f01ad6 removal of code warnings 2016-11-07 15:36:35 +01:00
AndyScherzinger e060616629 remove unneeded valueOff call 2016-11-07 12:31:19 +01:00
AndyScherzinger 35d76f11ae Merge branch 'whatsNew' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	res/drawable-anydpi-v21/arrow_right.xml
#	res/drawable-hdpi/what_new_instant_upload.png
#	res/drawable-hdpi/whats_new_accounts.png
#	res/drawable-hdpi/whats_new_files.png
#	res/drawable-hdpi/whats_new_share.png
#	res/drawable/indicator_dot_not_selected.xml
#	res/drawable/indicator_dot_selected.xml
#	res/drawable/round_button.xml
#	res/drawable/whats_new_progress_transition.xml
#	res/layout/whats_new_activity.xml
#	res/layout/whats_new_element.xml
#	res/values/strings.xml
#	src/com/owncloud/android/MainApp.java
#	src/com/owncloud/android/features/FeatureList.java
#	src/com/owncloud/android/ui/activity/WhatsNewActivity.java
#	src/com/owncloud/android/ui/whatsnew/ProgressIndicator.java
2016-11-07 10:41:48 +01:00
AndyScherzinger 036b281151 fixed headers and code duplication 2016-11-07 10:23:10 +01:00
AndyScherzinger 968be026d8 organize imports after rebase 2016-11-07 10:03:13 +01:00
Andy Scherzinger 4d44b3848a hide "skip" button on last feature element 2016-11-07 10:03:13 +01:00
Andy Scherzinger 8c62ada9ea incorporating the new feature graphics and coloring 2016-11-07 10:03:13 +01:00
Felix Epp 97b18c05eb Add new graphics for colorful whats new background 2016-11-07 10:03:12 +01:00
Andy Scherzinger 30f677610a resized font sizes 2016-11-07 10:03:12 +01:00
Andy Scherzinger 3d46f08caa fixed arrow icon color 2016-11-07 10:03:12 +01:00
Andy Scherzinger a728198e13 fixed arrow color, images and logos 2016-11-07 10:03:12 +01:00
Bartosz Przybylski f15afd89a1 Code review fixes 2016-11-07 10:03:12 +01:00
Bartosz Przybylski fa5d3b0caa tabs to spaces 2016-11-07 10:03:11 +01:00
Bartosz Przybylski c82511ce19 tabs to spaces 2016-11-07 10:03:11 +01:00
Bartosz Przybylski 6f28bcbf71 Show whats new only once on first run 2016-11-07 10:03:11 +01:00
Bartosz Przybylski 1f65aa0426 Change the way of displaying progress indicator 2016-11-07 10:03:11 +01:00
Bartosz Przybylski e41d991a73 Use ViewPager instead of custom dragging mechanism 2016-11-07 10:03:11 +01:00
Bartosz Przybylski 0f2333a431 Add parameter to allow showing whats new in beta 2016-11-07 10:03:10 +01:00
Andy Scherzinger 8df44eb9a7 use the standard dp margin & padding references 2016-11-07 10:03:10 +01:00
Andy Scherzinger ac484f0696 rework icons to not break ANT builds 2016-11-07 10:03:10 +01:00
Bartosz Przybylski 80d9d8985a Till java7 won't be used on ant project use old diamond notation 2016-11-07 10:03:10 +01:00
Andy Scherzinger 17a68e087f small design changes, adding arrow as vector (thus bumping gradle plugin to 1.5.0!), changing check icon and adding circle background for finish action 2016-11-07 10:03:10 +01:00
Andy Scherzinger 338b6c526a changes indicator to more material like style 2016-11-07 10:03:09 +01:00
Andy Scherzinger c13f865b5e added iOS images for the whats new screens 2016-11-07 10:03:09 +01:00
Bartosz Przybylski 9816b0c309 Use global method to get version code 2016-11-07 10:03:09 +01:00
Bartosz Przybylski 9a2561d130 Show done button when only single news is available 2016-11-07 10:03:09 +01:00
Bartosz Przybylski 369e63ed25 Insert type in diamond operator, but this is just a hack to support old comiler 2016-11-07 10:03:09 +01:00
Bartosz Przybylski 9a1b6105aa Implement left/right swipe in whats new view 2016-11-07 10:03:09 +01:00
Bartosz Przybylski 4c9ac6a3e3 Another small cleanup 2016-11-07 10:03:08 +01:00
Bartosz Przybylski 6a4a5eb49b Remove testing stuff 2016-11-07 10:03:08 +01:00
Bartosz Przybylski 84cfe8c1f0 Put FeatureList to separate file for cleaner code 2016-11-07 10:03:08 +01:00
Bartosz Przybylski 38700482a9 Small code cleanup in WhatsNewActivity 2016-11-07 10:03:08 +01:00
Bartosz Przybylski 8c08511237 Add Whats new activity and embed it into project 2016-11-07 10:02:58 +01:00
Tobias Kaminsky 46158d364a Merge branch 'beta' of github.com:/nextcloud/android into beta 2016-11-07 07:37:37 +01:00
AndyScherzinger 1aabcc9e25 remove unnecessary valueOf 2016-11-07 00:51:42 +01:00
AndyScherzinger 364145c349 replace printStackTrace with log call 2016-11-07 00:46:11 +01:00
AndyScherzinger 05056ccab7 replace printStackTrace with log call 2016-11-07 00:38:56 +01:00
Tobias Kaminsky b98b786c10 update to 20161107 2016-11-07 00:35:21 +01:00
AndyScherzinger 1c8b734a17 Merge branch 'fixPythonWarnings' of https://github.com/nextcloud/android into beta 2016-11-07 00:33:55 +01:00
AndyScherzinger a3bd4b91c1 Merge branch 'syncedFolders' of https://github.com/nextcloud/android into beta 2016-11-07 00:33:30 +01:00
AndyScherzinger 560f5a76f2 simplified boolean check 2016-11-07 00:31:54 +01:00
Tobias Kaminsky 8ef23b1425 Merge branch 'beta' of github.com:/nextcloud/android into beta 2016-11-07 00:30:12 +01:00
AndyScherzinger f0eff92011 Merge branch 'syncedFolders' of https://github.com/nextcloud/android into beta
# Conflicts:
#	src/com/owncloud/android/services/observer/FolderObserver.java
2016-11-07 00:24:52 +01:00
AndyScherzinger ff6b07b041 Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 2016-11-07 00:23:17 +01:00
AndyScherzinger 86064d8fc1 removed unused code warnings 2016-11-06 23:52:34 +01:00
AndyScherzinger 75b2fe9c36 imports fixed after merge 2016-11-06 23:33:18 +01:00
AndyScherzinger 4c04c8d5e0 Merge branch 'fixSendLogCrash' of https://github.com/nextcloud/android into beta 2016-11-06 23:25:21 +01:00
AndyScherzinger 6f7ebd22e3 Merge branch 'sortFix' of https://github.com/nextcloud/android into beta
# Conflicts:
#	src/com/owncloud/android/ui/activity/UploadFilesActivity.java
2016-11-06 23:24:36 +01:00
AndyScherzinger 4753f2bae7 remove unused array list 2016-11-06 23:20:34 +01:00
AndyScherzinger bf14e37db3 re-add sort by size for local folder views while sorting folders in the list alphabetically 2016-11-06 23:18:46 +01:00
AndyScherzinger 90b1202876 fix crash when exposing URI on Android 7+ 2016-11-06 22:05:19 +01:00
AndyScherzinger c3eb12caef fix crash when exposing URI on Android 7+ 2016-11-06 21:59:34 +01:00
tobiasKaminsky 314146622d Merge remote-tracking branch 'remotes/origin/syncedFolders' into beta 2016-11-06 09:38:40 +01:00
tobiasKaminsky af859dfbda fix wrong upload behaviour 2016-11-06 09:19:10 +01:00
Tobias Kaminsky 5f883c7d5c Merge branch 'beta' of github.com:/nextcloud/android into beta 2016-11-06 08:46:44 +01:00
Tobias Kaminsky 08bda3b50d update to 20161106 2016-11-06 08:40:47 +01:00
tobiasKaminsky 7be7c6d9f6 dummy change to get an update to beta 2016-11-05 10:30:53 +01:00
Tobias Kaminsky 6b6abdadf6 update 2016-11-05 10:06:34 +01:00
tobiasKaminsky ccccbbb4d6 dirty fix for null occurence 2016-11-03 22:02:55 +01:00
AndyScherzinger 25a9ec1ef5 Merge branch 'master' of https://github.com/iskradelta/android into beta
# Conflicts:
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-11-03 17:02:03 +01:00
AndyScherzinger 491b7998ae remove unused code 2016-11-03 16:48:21 +01:00
AndyScherzinger bff45cc5d8 further formatting issues 2016-11-03 16:46:05 +01:00
AndyScherzinger 613e426468 formatting 2016-11-03 16:34:44 +01:00
AndyScherzinger faa6714cd6 centralize repeated texts 2016-11-03 16:27:01 +01:00
AndyScherzinger bd577c2863 bugfix compile 2016-11-03 16:00:07 +01:00
AndyScherzinger a04e68d8fe centralize repeated texts 2016-11-03 15:50:58 +01:00
AndyScherzinger 7f68bff3fc firther coverage issue not merge from PMD branch 2016-11-03 15:48:37 +01:00
AndyScherzinger 90f483331b fix for log path calculation 2016-11-03 14:53:09 +01:00
AndyScherzinger 8cbf227b03 fixed logging paths after merges 2016-11-03 14:27:57 +01:00
AndyScherzinger 84d4c8fa8a formatting 2016-11-03 13:17:56 +01:00
AndyScherzinger 852fdd59a3 Merge branch 'master' of https://github.com/iskradelta/android into beta
# Conflicts:
#	AndroidManifest.xml
#	build.gradle
#	res/values/setup.xml
#	src/com/owncloud/android/MainApp.java
#	src/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
#	src/com/owncloud/android/db/ProviderMeta.java
#	src/com/owncloud/android/providers/FileContentProvider.java
#	src/com/owncloud/android/ui/activity/Preferences.java
#	src/com/owncloud/android/ui/preview/PreviewImageActivity.java
#	src/com/owncloud/android/utils/DisplayUtils.java
#	src/com/owncloud/android/utils/FileStorageUtils.java
2016-11-03 12:27:16 +01:00
AndyScherzinger 181cc6f120 fix after pull 2016-11-03 10:50:33 +01:00
AndyScherzinger a8004ba13f Merge branch 'master' of https://github.com/iskradelta/android
# Conflicts:
#	build.gradle
#	src/com/owncloud/android/datamodel/FileDataStorageManager.java
2016-11-03 10:48:59 +01:00
AndyScherzinger 0913b58594 further findbugs/pmd fixes for new feature (sd card) 2016-11-03 10:47:15 +01:00
AndyScherzinger 65ad78725a fixed minor warnings 2016-11-03 09:53:51 +01:00
AndyScherzinger b0590e2928 add Null Checks to fix isGrid/list checks 2016-11-03 09:53:51 +01:00
AndyScherzinger f3b02603e2 fix new PMD error after rebase, fix display remote file list issue 2016-11-03 09:53:51 +01:00
Iskra Delta 9dfb068357 PMD appeased
Some warnings have been supressed.
2016-11-03 09:53:50 +01:00
Iskra Delta ae05054fc7 FindBugs appeased 2016-11-03 09:53:14 +01:00
AndyScherzinger 9d7c9530b9 Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders 2016-11-03 00:20:29 +01:00
AndyScherzinger 0d88c5e4f1 Use correct array of options
Resolves: #336
2016-11-03 00:14:26 +01:00
AndyScherzinger 2fcdd2daf7 Revert "added lost imports"
This reverts commit d25e1c2343.
2016-11-02 22:42:33 +01:00
AndyScherzinger d25e1c2343 added lost imports 2016-11-02 22:29:24 +01:00
AndyScherzinger 3c89d5133d Merge branch 'master' of https://github.com/nextcloud/android into beta
# Conflicts:
#	res/values/strings.xml
#	src/com/owncloud/android/MainApp.java
#	src/com/owncloud/android/ui/activity/Preferences.java
#	src/com/owncloud/android/utils/FileStorageUtils.java
2016-11-02 22:25:48 +01:00
AndyScherzinger a737c09f10 fixes for preferences after merge 2016-11-02 22:06:51 +01:00
tobiasKaminsky e7f7954a3e update 2016-11-02 22:03:02 +01:00
AndyScherzinger fee252176e Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders
# Conflicts:
#	src/com/owncloud/android/MainApp.java
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-11-02 21:48:52 +01:00
AndyScherzinger 481ce675dc fixed minor warnings 2016-11-02 19:03:19 +01:00
AndyScherzinger b5f995b1fe add Null Checks to fix isGrid/list checks 2016-11-02 18:39:57 +01:00
AndyScherzinger 4a7bf985cb fix new PMD error after rebase, fix display remote file list issue 2016-11-02 16:56:44 +01:00
Iskra Delta 821dd1b868 PMD appeased
Some warnings have been supressed.
2016-11-02 16:22:31 +01:00
Iskra Delta 116a5ad597 FindBugs appeased 2016-11-02 16:20:18 +01:00
AndyScherzinger 49cd2c1df2 Merge branch 'master' of https://github.com/nextcloud/android into beta 2016-11-02 11:17:16 +01:00
AndyScherzinger aa3ed90295 Merge branch 'syncedFolders' of https://github.com/nextcloud/android into beta 2016-11-02 00:37:13 +01:00
AndyScherzinger d713294cf0 further merge fixes 2016-11-02 00:34:54 +01:00
AndyScherzinger 5890f1b8da Merge branch 'syncedFolders' of https://github.com/nextcloud/android into beta
# Conflicts:
#	src/com/owncloud/android/datamodel/OCFile.java
#	src/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
#	src/com/owncloud/android/utils/BitmapUtils.java
#	src/com/owncloud/android/utils/MimeTypeUtil.java
2016-11-02 00:33:49 +01:00
AndyScherzinger d912bd2dce Fixes after rebase 2016-11-02 00:30:50 +01:00
AndyScherzinger fc6e3fc458 Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders
# Conflicts:
#	res/layout/drawer.xml
#	res/layout/drawer_header.xml
#	src/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
2016-11-02 00:18:24 +01:00
AndyScherzinger d3dbdcedc6 Merge branch 'syncedFolders' of https://github.com/nextcloud/android into beta 2016-11-01 18:51:58 +01:00
AndyScherzinger 9a6bf6e2e4 Instant upload --> Auto upload 2016-11-01 18:51:03 +01:00
AndyScherzinger 96666937c9 Merge branch 'syncedFolders' of https://github.com/nextcloud/android into beta
# Conflicts:
#	res/values/strings.xml
2016-10-31 18:58:42 +01:00
AndyScherzinger d49d248b06 Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders 2016-10-31 18:54:15 +01:00
AndyScherzinger 0b26154f6d Instant Upload --> Instant upload 2016-10-31 18:53:51 +01:00
AndyScherzinger 87d1e56b63 Merge branch 'syncedFolders' of https://github.com/nextcloud/android into beta 2016-10-27 23:43:53 +02:00
AndyScherzinger e0eb7fb468 fix media queries escaping folder names and respecting folders with same names
Resolves: #361
2016-10-27 23:38:16 +02:00
tobiasKaminsky a357814531 update 2016-10-27 21:41:30 +02:00
tobiasKaminsky fa85658281 dirty fix for the null occurence 2016-10-27 20:11:57 +02:00
AndyScherzinger 5fd25ec06e Merge branch 'accountSwitcherOptimizations' of https://github.com/nextcloud/android into beta
# Conflicts:
#	build.gradle
#	res/layout/account_action.xml
#	res/layout/account_item.xml
#	res/layout/accounts_layout.xml
#	res/layout/drawer.xml
#	res/layout/drawer_header.xml
#	res/layout/toolbar_standard.xml
#	src/com/owncloud/android/ui/activity/ManageAccountsActivity.java
2016-10-27 16:15:59 +02:00
AndyScherzinger 0f6291f551 Merge branch 'syncedFolders' of https://github.com/nextcloud/android into beta 2016-10-27 15:36:40 +02:00
AndyScherzinger 67672c53f0 proper formatting 2016-10-27 15:35:58 +02:00
AndyScherzinger a72056161c only show folder path on topo with synced folder made bold 2016-10-27 15:32:49 +02:00
AndyScherzinger 34003e922f moved to switch instead of icon 2016-10-27 12:04:36 +02:00
AndyScherzinger e0cfb10739 use proper alert 2016-10-27 09:46:05 +02:00
AndyScherzinger 55e29a13f8 removed deprecated eu language file (es is available) 2016-10-27 09:46:05 +02:00
AndyScherzinger e0952ab27e removed deprecated eu language file (es is available) 2016-10-27 09:46:05 +02:00
AndyScherzinger c9e1136898 removed deprecated ru-ru language file (ru is available) 2016-10-27 09:46:05 +02:00
AndyScherzinger 45813bb156 removed deprecated ch language file 2016-10-27 09:46:05 +02:00
AndyScherzinger f5d905f944 removed deprecated fi language file 2016-10-27 09:46:04 +02:00
AndyScherzinger 6066b2b0d5 upgrade legacy calls 2016-10-27 09:46:04 +02:00
AndyScherzinger 4cb667ed21 code review changes 2016-10-27 09:46:04 +02:00
AndyScherzinger 19b89fea6f fixes after cherry pick 2016-10-27 09:46:04 +02:00
AndyScherzinger f39b5e8205 use latest 2.2.1 gradle/Android plugin 2016-10-27 09:46:04 +02:00
David A. Velasco 1750c78a50 Finish action mode when drawer starts to open, recover it when drawer is closed
# Conflicts:
#	build.gradle
#	src/com/owncloud/android/ui/activity/DrawerActivity.java
#	src/com/owncloud/android/ui/fragment/OCFileListFragment.java
2016-10-27 09:46:03 +02:00
AndyScherzinger d8252e491d spacing fix (dp perfect) 2016-10-27 09:46:03 +02:00
AndyScherzinger 9fd78a5e49 fixed file headers 2016-10-27 09:46:03 +02:00
AndyScherzinger 9d1bc4495f housekeeping (file_actions and AccountActionsDialog aren't in use anymore due to multi select / account manager capabilities) 2016-10-27 09:46:03 +02:00
AndyScherzinger 8bc71e8610 layout fixes II 2016-10-27 09:46:03 +02:00
AndyScherzinger 1d205aad29 layoutfix 2016-10-27 09:46:02 +02:00
AndyScherzinger 518b53fac5 optimized layout adding username + account-url 2016-10-27 09:46:02 +02:00
AndyScherzinger 4ab0599e83 name and avatr clickable (switching accounts) 2016-10-27 09:46:02 +02:00
AndyScherzinger e1524fefab highlight currently active user 2016-10-27 09:46:02 +02:00
David A. Velasco f8b23eeb30 Show a check mark on the current account in the account manager
# Conflicts:
#	res/layout/account_item.xml
#	src/com/owncloud/android/ui/activity/ManageAccountsActivity.java
#	src/com/owncloud/android/ui/adapter/AccountListAdapter.java
2016-10-27 09:46:02 +02:00
AndyScherzinger e7090f8871 account switching via list item click 2016-10-27 09:46:01 +02:00
David A. Velasco e9f1cb210c Fix exit of the app after not creating account from 'Add account' in navigation drawer 2016-10-27 09:45:52 +02:00
AndyScherzinger 66c4a57ba4 added javadoc 2016-10-26 23:34:46 +02:00
AndyScherzinger 624e222ad5 beatufied code 2016-10-26 23:24:40 +02:00
AndyScherzinger 090cf59a5a 2016-10-26 Changelog 2016-10-26 22:19:37 +02:00
tobiasKaminsky ff7f29ef44 update to 20161026 2016-10-26 21:42:20 +02:00
AndyScherzinger 10cc73cf68 header 2016-10-26 21:41:10 +02:00
AndyScherzinger 189e4cbdce fix preferences after merge 2016-10-26 21:22:05 +02:00
tobiasKaminsky 1a8efb672f resolve merge problems 2016-10-26 20:56:44 +02:00
tobiasKaminsky 4c624ca058 Merge remote-tracking branch 'remotes/origin/syncedFolders' into beta 2016-10-26 20:49:17 +02:00
tobiasKaminsky 3c62f4128d observers are restarted after changing a setting 2016-10-26 20:35:00 +02:00
AndyScherzinger 235b01b4bf fixed review comments 2016-10-26 18:08:25 +02:00
AndyScherzinger 29d5e1e8cb tweaked layout for preferences 2016-10-26 14:02:40 +02:00
AndyScherzinger e879517481 removed final declaration 2016-10-26 13:36:25 +02:00
AndyScherzinger e3bd1cecb1 Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders 2016-10-26 12:15:14 +02:00
AndyScherzinger cc45b0f1e9 added possibility to enable/disable sync folder in the settings screen 2016-10-26 12:14:56 +02:00
AndyScherzinger d2d8352bac recyclerview/media-folder optimized thumbnail cache/async task implementation 2016-10-25 18:02:12 +02:00
AndyScherzinger d9a7e6e5ba build tools 24.0.2 2016-10-24 23:25:55 +02:00
AndyScherzinger 5344e438db downgrade to v24 due to old drone build images 2016-10-24 23:05:36 +02:00
AndyScherzinger fb2b10b709 remove merge duplicates 2016-10-24 22:41:24 +02:00
AndyScherzinger 1dc476596d fix comment 2016-10-24 19:52:38 +02:00
AndyScherzinger d3fce16e5c fixed merge errors, bumped to v25 (jack disabled due to http-client 3.3 enforcement) 2016-10-24 19:52:05 +02:00
AndyScherzinger 6c7907a25f Merge branch 'build24' of https://github.com/nextcloud/android into beta 2016-10-24 19:15:42 +02:00
AndyScherzinger a1f8cfc2ec manifest bump v25 2016-10-24 19:15:11 +02:00
AndyScherzinger ae63f520b1 Merge branch 'build24' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	build.gradle
#	res/values/setup.xml
#	src/com/owncloud/android/datamodel/OCFile.java
2016-10-24 19:14:34 +02:00
AndyScherzinger 4ca2313b30 bump to 2.2.2 and v25 2016-10-24 19:12:16 +02:00
AndyScherzinger fbca8cd215 Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders 2016-10-24 18:30:25 +02:00
AndyScherzinger cf28cdbbda better legacy shared prefereenced cleanup 2016-10-24 18:28:31 +02:00
AndyScherzinger a3cf129281 initially show instant upload feature revamp message if instant upload has been used/active with the legacy preferences 2016-10-24 16:43:10 +02:00
AndyScherzinger 9efa7de760 fix synced folder settings dialog theming + code cleanup 2016-10-24 15:52:16 +02:00
AndyScherzinger 85b2223d09 fix copyright note 2016-10-24 15:24:00 +02:00
AndyScherzinger faea2f01fb dynamic media grid width sizing and revampedd instant upload icon 2016-10-24 15:21:00 +02:00
AndyScherzinger c30dcd4a6d minor renamings & javadoc 2016-10-24 14:45:09 +02:00
AndyScherzinger 223e29d5d4 hide legacy instant upload preferences on Android 5+ 2016-10-24 13:21:09 +02:00
AndyScherzinger e68c54798f fix default upload behavior for synced folder 2016-10-24 12:12:45 +02:00
AndyScherzinger eff5d9e70a Order images by date (to always show the latest pictures taken) 2016-10-24 11:57:11 +02:00
AndyScherzinger 6afeee7535 hide instant upload icon on Android pre-lollipop 2016-10-24 11:56:43 +02:00
AndyScherzinger a4a41a6705 enforce camera folder top position 2016-10-24 10:58:23 +02:00
AndyScherzinger da93fff35d launcher icon aligned with stable release icon 2016-10-24 09:52:47 +02:00
tobiasKaminsky c7147795c7 fix wlan upload 2016-10-21 21:52:00 +02:00
tobiasKaminsky ba0be7e9cc Merge remote-tracking branch 'origin/build24' into beta 2016-10-19 21:05:13 +02:00
tobiasKaminsky a182f376fb Merge remote-tracking branch 'origin/accountSwitcherOptimizations' into beta 2016-10-19 21:03:20 +02:00
tobiasKaminsky 76993fba26 Merge remote-tracking branch 'origin/MimeUtilsHousekeeping' into beta 2016-10-19 21:01:02 +02:00
tobiasKaminsky 91cd67dbce revert removing buildTypes 2016-10-19 19:08:45 +02:00
AndyScherzinger e053caf4ff Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders 2016-10-19 18:23:57 +02:00
AndyScherzinger 649e3972c3 new version 2016-10-19 18:12:14 +02:00
AndyScherzinger 6954e8af3f Merge branch 'master' of https://github.com/nextcloud/android into beta
# Conflicts:
#	res/xml/preferences.xml
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-10-19 17:22:57 +02:00
AndyScherzinger 90637b7ba2 Merge branch 'accountSwitcherOptimizations' of https://github.com/nextcloud/android into beta
# Conflicts:
#	build.gradle
2016-10-18 16:25:51 +02:00
AndyScherzinger 1b1162e625 fixes after cherry pick 2016-10-17 14:40:24 +02:00
AndyScherzinger a5f2620858 use latest 2.2.1 gradle/Android plugin 2016-10-17 14:33:29 +02:00
David A. Velasco 4b3c122232 Finish action mode when drawer starts to open, recover it when drawer is closed
# Conflicts:
#	build.gradle
#	src/com/owncloud/android/ui/activity/DrawerActivity.java
#	src/com/owncloud/android/ui/fragment/OCFileListFragment.java
2016-10-17 14:31:18 +02:00
AndyScherzinger ad28148acb spacing fix (dp perfect) 2016-10-17 13:44:20 +02:00
AndyScherzinger 987b584604 fixed file headers 2016-10-17 13:44:20 +02:00
AndyScherzinger 9f78f3b65b housekeeping (file_actions and AccountActionsDialog aren't in use anymore due to multi select / account manager capabilities) 2016-10-17 13:44:20 +02:00
AndyScherzinger f03e1c3a2f layout fixes II 2016-10-17 13:44:20 +02:00
AndyScherzinger 1ac7218337 layoutfix 2016-10-17 13:44:19 +02:00
AndyScherzinger 573a729905 optimized layout adding username + account-url 2016-10-17 13:44:19 +02:00
AndyScherzinger 99e675dd18 name and avatr clickable (switching accounts) 2016-10-17 13:44:19 +02:00
AndyScherzinger 8f3de4ff74 highlight currently active user 2016-10-17 13:44:19 +02:00
David A. Velasco 3b118bb7d9 Show a check mark on the current account in the account manager
# Conflicts:
#	res/layout/account_item.xml
#	src/com/owncloud/android/ui/activity/ManageAccountsActivity.java
#	src/com/owncloud/android/ui/adapter/AccountListAdapter.java
2016-10-17 13:44:19 +02:00
AndyScherzinger 29e0dbd14a account switching via list item click 2016-10-17 13:44:18 +02:00
David A. Velasco f6a5466264 Fix exit of the app after not creating account from 'Add account' in navigation drawer 2016-10-17 13:44:18 +02:00
AndyScherzinger eaa1f08b35 Update Android Gradle Plugin to 2.2.1 2016-10-17 13:42:03 +02:00
AndyScherzinger 59e90c508d fix after rebase 2016-10-17 13:42:03 +02:00
AndyScherzinger 8d56482d69 update support library 2016-10-17 13:42:03 +02:00
Andy Scherzinger d4d18acebf fix android-lib reference 2016-10-17 13:42:03 +02:00
Andy Scherzinger 7b9edd6327 fixes 2016-10-17 13:42:02 +02:00
David A. Velasco ce08c2450b Fix crash opening or sending files in Android 7
# Conflicts:
#	res/values/setup.xml
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-10-17 13:42:02 +02:00
Andy Scherzinger c14e217261 Revert "reactive instrumented demo test"
This reverts commit f7195a0192.
2016-10-17 13:42:02 +02:00
Andy Scherzinger 7f632389eb reactive instrumented demo test 2016-10-17 13:42:02 +02:00
Andy Scherzinger aa5c208e01 change emulator ready detection again, disable running sample instrumented unit test (failing at the moment)
updated wait_for_emulator.sh for actual travis cookbook revision https://github.com/travis-ci/travis-cookbooks/blob/62039b204699adcdf4b3365fac42d81246cb57fe/ci_environment/android-sdk/files/default/android-wait-for-emulator

try emulator 24

bump support lib to 24.2.0
2016-10-17 13:42:02 +02:00
Andy Scherzinger f8677b7d0c bump Android SDK Build-Tools to 24.0.2 2016-10-17 13:42:01 +02:00
Andy Scherzinger 100cb24cf5 no pre-dexing on travis (performance) 2016-10-17 13:42:01 +02:00
Andy Scherzinger 7ccffe2483 Update build tools to 24.0.1, java7 compat 2016-10-17 13:42:01 +02:00
Andy Scherzinger 42d1ea394f rebase/merge 2016-10-17 13:42:01 +02:00
Andy Scherzinger 3b4befc31c lib1.0.4 2016-10-17 13:42:01 +02:00
Andy Scherzinger d07958672d Revert "added jcenter repo"
This reverts commit b54e954c96014babd176d8f50ba6b7a9e44dea38.
2016-10-17 13:42:00 +02:00
Andy Scherzinger 091bb7f519 link to v24 version of the Nc lib 2016-10-17 13:42:00 +02:00
Andy Scherzinger 7b1465f8a8 added jcenter repo 2016-10-17 13:42:00 +02:00
Andy Scherzinger 82a7274ed4 bump to v24 incl. toolchain, jdk8 etc. 2016-10-17 13:41:57 +02:00
AndyScherzinger bf39292df6 persistence fix 2016-10-17 12:13:37 +02:00
tobiasKaminsky b1e3818c98 update 2016-10-17 09:46:00 +02:00
Tobias Kaminsky 571f3b2a97 Merge pull request #335 from iskradelta/beta
Begin debug logs when build type is debug
2016-10-17 09:40:06 +02:00
Iskra Delta 0eab22268f Begin debug logs always
Previous check was not true hence no logs
being made ever. Also place the logs in
different folder in case user wishes
to debug both apps (or more) at the same
time.
2016-10-16 19:27:12 +00:00
AndyScherzinger 6783a1c628 minor persistence bugfix 2016-10-13 02:07:32 +02:00
AndyScherzinger 0889f8a69e grid spacing added + negative/shortened margins for containers for nice image grids 2016-10-13 02:00:49 +02:00
tobiasKaminsky c3a8b0c450 update job to obey syncedfolder settings 2016-10-12 21:41:44 +02:00
tobiasKaminsky 179c695128 removed dummy synced folder entry 2016-10-12 20:44:54 +02:00
tobiasKaminsky 1cd8c098d8 update 2016-10-12 18:54:31 +02:00
tobiasKaminsky a3aa7b33eb fix wrong merging 2016-10-12 18:50:26 +02:00
tobiasKaminsky b3ba7d104f Merge remote-tracking branch 'remotes/origin/build24' into beta
# Conflicts:
#	AndroidManifest.xml
#	build.gradle
#	res/values/setup.xml
#	src/com/owncloud/android/utils/FileStorageUtils.java
2016-10-12 18:38:59 +02:00
David A. Velasco 5f4275f3b9 Fix crash opening or sending files in Android 7
# Conflicts:
#	res/values/setup.xml
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-10-12 18:38:20 +02:00
Andy Scherzinger aa76b425e2 Revert "reactive instrumented demo test"
This reverts commit f7195a0192.
2016-10-12 18:35:40 +02:00
Andy Scherzinger 1d10f18da0 reactive instrumented demo test 2016-10-12 18:35:40 +02:00
Andy Scherzinger cb0912a9d4 no pre-dexing on travis (performance) 2016-10-12 18:35:20 +02:00
Andy Scherzinger c513d574d5 Update build tools to 24.0.1, java7 compat 2016-10-12 18:34:43 +02:00
Andy Scherzinger 0ffc2372bb rebase/merge 2016-10-12 18:34:14 +02:00
Andy Scherzinger 65c7a53cbf Revert "added jcenter repo"
This reverts commit b54e954c96014babd176d8f50ba6b7a9e44dea38.
2016-10-12 18:33:56 +02:00
Andy Scherzinger 98beb64abe added jcenter repo 2016-10-12 18:33:39 +02:00
Andy Scherzinger 4af64f5249 bump to v24 incl. toolchain, jdk8 etc. 2016-10-12 18:33:39 +02:00
Andy Scherzinger d53ae1bbad cleanup 2016-10-12 18:32:43 +02:00
Andy Scherzinger a8c3311e69 CR 2016-10-12 18:32:43 +02:00
tobiasKaminsky c4eede9f25 save gridColumns on start/stop 2016-10-12 18:30:37 +02:00
tobiasKaminsky 8920afe054 wip 2016-10-12 18:27:58 +02:00
Jubril Edu 78da832560 Incorporated Checkstyle, findbugs, pmd and lint 2016-10-12 18:27:03 +02:00
AndyScherzinger 1bec2da4be Update Android Gradle Plugin to 2.2.1 2016-10-12 18:08:35 +02:00
AndyScherzinger 41e2ce1d38 fix after rebase 2016-10-12 17:22:38 +02:00
AndyScherzinger cfa5493023 update support library 2016-10-12 17:22:38 +02:00
Andy Scherzinger 4e65fa386f fix android-lib reference 2016-10-12 17:22:37 +02:00
Andy Scherzinger c4c741fb9e fixes 2016-10-12 17:22:37 +02:00
David A. Velasco f5f667c38b Fix crash opening or sending files in Android 7
# Conflicts:
#	res/values/setup.xml
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-10-12 17:22:37 +02:00
Andy Scherzinger 1f26ac9ed7 Revert "reactive instrumented demo test"
This reverts commit f7195a0192.
2016-10-12 17:22:37 +02:00
Andy Scherzinger 5bf6722c64 reactive instrumented demo test 2016-10-12 17:22:36 +02:00
Andy Scherzinger 6f9311cbcb change emulator ready detection again, disable running sample instrumented unit test (failing at the moment)
updated wait_for_emulator.sh for actual travis cookbook revision https://github.com/travis-ci/travis-cookbooks/blob/62039b204699adcdf4b3365fac42d81246cb57fe/ci_environment/android-sdk/files/default/android-wait-for-emulator

try emulator 24

bump support lib to 24.2.0
2016-10-12 17:22:36 +02:00
Andy Scherzinger 0cf7154729 bump Android SDK Build-Tools to 24.0.2 2016-10-12 17:22:36 +02:00
Andy Scherzinger 2a56305a21 no pre-dexing on travis (performance) 2016-10-12 17:22:36 +02:00
Andy Scherzinger ab3f4a7af7 Update build tools to 24.0.1, java7 compat 2016-10-12 17:22:35 +02:00
Andy Scherzinger 852527171a rebase/merge 2016-10-12 17:22:35 +02:00
Andy Scherzinger 917626163d lib1.0.4 2016-10-12 17:22:35 +02:00
Andy Scherzinger f7403d8b37 Revert "added jcenter repo"
This reverts commit b54e954c96014babd176d8f50ba6b7a9e44dea38.
2016-10-12 17:22:34 +02:00
Andy Scherzinger ca0324dcc2 link to v24 version of the Nc lib 2016-10-12 17:22:34 +02:00
Andy Scherzinger d314232ae6 added jcenter repo 2016-10-12 17:22:34 +02:00
Andy Scherzinger 5a0e552974 bump to v24 incl. toolchain, jdk8 etc. 2016-10-12 17:22:34 +02:00
AndyScherzinger 5ada3b1c22 rename 2/2 2016-10-12 17:18:38 +02:00
AndyScherzinger b57d5aec66 rename 1/2 2016-10-12 17:18:38 +02:00
AndyScherzinger 00618ea9d3 Move all file type (as in mime type) checks to MimeTypeUtil 2016-10-12 17:18:37 +02:00
AndyScherzinger 2002a3f413 spacing fix (dp perfect) 2016-10-12 17:15:19 +02:00
AndyScherzinger 092d172f82 fixed file headers 2016-10-12 17:15:19 +02:00
AndyScherzinger 211934036e housekeeping (file_actions and AccountActionsDialog aren't in use anymore due to multi select / account manager capabilities) 2016-10-12 17:15:19 +02:00
AndyScherzinger 7838bf0d99 layout fixes II 2016-10-12 17:15:19 +02:00
AndyScherzinger 8d9db55e46 layoutfix 2016-10-12 17:15:19 +02:00
AndyScherzinger 2904ec1701 optimized layout adding username + account-url 2016-10-12 17:15:18 +02:00
AndyScherzinger 6b70332b09 name and avatr clickable (switching accounts) 2016-10-12 17:15:18 +02:00
AndyScherzinger 3ffc52b177 highlight currently active user 2016-10-12 17:15:18 +02:00
David A. Velasco 9996f226ff Show a check mark on the current account in the account manager
# Conflicts:
#	res/layout/account_item.xml
#	src/com/owncloud/android/ui/activity/ManageAccountsActivity.java
#	src/com/owncloud/android/ui/adapter/AccountListAdapter.java
2016-10-12 17:15:18 +02:00
AndyScherzinger 4e90676545 account switching via list item click 2016-10-12 17:15:18 +02:00
David A. Velasco c630955890 Fix exit of the app after not creating account from 'Add account' in navigation drawer 2016-10-12 17:15:14 +02:00
AndyScherzinger a1d6aa730e Merge branch 'accountSwitcherOptimizations' of https://github.com/nextcloud/android into beta 2016-10-12 16:59:27 +02:00
AndyScherzinger b96e4719ab spacing fix (dp perfect) 2016-10-12 16:58:31 +02:00
AndyScherzinger 7d4f1d4ac0 fixed file headers 2016-10-12 16:51:40 +02:00
AndyScherzinger b499e31051 housekeeping (file_actions and AccountActionsDialog aren't in use anymore due to multi select / account manager capabilities) 2016-10-12 16:51:24 +02:00
AndyScherzinger 598bd5f9ce Merge branch 'accountSwitcherOptimizations' of https://github.com/nextcloud/android into beta
# Conflicts:
#	res/layout/account_item.xml
2016-10-12 15:01:55 +02:00
AndyScherzinger 85f7e0e44f layout fixes II 2016-10-12 15:00:43 +02:00
AndyScherzinger b4552df41b layoutfix 2016-10-12 13:20:58 +02:00
AndyScherzinger 09b57dfb1a optimized layout adding username + account-url 2016-10-12 12:18:27 +02:00
AndyScherzinger 09b82393f0 name and avatr clickable (switching accounts) 2016-10-12 12:18:27 +02:00
AndyScherzinger 7637604ba2 highlight currently active user 2016-10-12 12:18:27 +02:00
David A. Velasco 9c543986ef Show a check mark on the current account in the account manager
# Conflicts:
#	res/layout/account_item.xml
#	src/com/owncloud/android/ui/activity/ManageAccountsActivity.java
#	src/com/owncloud/android/ui/adapter/AccountListAdapter.java
2016-10-12 12:18:26 +02:00
AndyScherzinger b75e04207e account switching via list item click 2016-10-12 12:18:26 +02:00
David A. Velasco 33e1b0c0b1 Fix exit of the app after not creating account from 'Add account' in navigation drawer 2016-10-12 12:18:23 +02:00
AndyScherzinger 490fa936eb Fixes after pulls, bumping version code, latest gradle plugin 2016-10-12 11:24:14 +02:00
AndyScherzinger 52c39b3da2 Merge branch 'MimeUtilsHousekeeping' of https://github.com/nextcloud/android into beta
# Conflicts:
#	src/com/owncloud/android/datamodel/OCFile.java
#	src/com/owncloud/android/datamodel/ThumbnailsCacheManager.java
#	src/com/owncloud/android/ui/adapter/FileListListAdapter.java
2016-10-12 10:55:10 +02:00
AndyScherzinger 61e773968c Merge branch 'accountSwitcherOptimizations' of https://github.com/nextcloud/android into beta 2016-10-12 10:53:47 +02:00
AndyScherzinger 3bc6f48c14 Merge branch 'master' of https://github.com/nextcloud/android into beta 2016-10-12 10:52:56 +02:00
AndyScherzinger 720b5bbf26 optimized layout adding username + account-url 2016-10-11 16:07:20 +02:00
AndyScherzinger 3443a892ef name and avatr clickable (switching accounts) 2016-10-11 15:20:16 +02:00
AndyScherzinger bcb2b8e358 highlight currently active user 2016-10-11 15:08:41 +02:00
David A. Velasco b80d3ab772 Show a check mark on the current account in the account manager
# Conflicts:
#	res/layout/account_item.xml
#	src/com/owncloud/android/ui/activity/ManageAccountsActivity.java
#	src/com/owncloud/android/ui/adapter/AccountListAdapter.java
2016-10-11 14:08:27 +02:00
AndyScherzinger 5daff9a7e3 account switching via list item click 2016-10-11 13:24:05 +02:00
David A. Velasco 867ceb1574 Fix exit of the app after not creating account from 'Add account' in navigation drawer 2016-10-11 13:11:58 +02:00
AndyScherzinger db96fe0399 media folder sorting (enabled, alphanumerical) + javadoc 2016-10-10 22:58:25 +02:00
AndyScherzinger 52fdc316d6 better empty message 2016-10-10 22:02:54 +02:00
AndyScherzinger 0454c2498b bump gradle plugin to 2.2.1 2016-10-10 21:44:32 +02:00
AndyScherzinger 997bc22d94 rename 2/2 2016-10-10 18:32:00 +02:00
AndyScherzinger bcb7819592 rename 1/2 2016-10-10 18:31:32 +02:00
AndyScherzinger d7995cbf30 Move all file type (as in mime type) checks to MimeTypeUtil 2016-10-10 15:29:20 +02:00
AndyScherzinger 48d3ef6a24 removed toast 2016-10-09 23:43:46 +02:00
AndyScherzinger e1273ee86d ellipsizing 2016-10-09 23:30:23 +02:00
AndyScherzinger b557b0762c remote folder can now be changed, all config changes for a synced folder are now saved 2016-10-09 23:27:30 +02:00
AndyScherzinger 5214659b05 Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders 2016-10-09 18:42:15 +02:00
AndyScherzinger ccb16b7cc4 initial wip implementation of config element click listeners 2016-10-06 23:22:56 +02:00
AndyScherzinger 4796633bcd Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders 2016-10-06 22:47:02 +02:00
AndyScherzinger 87549920d7 Merge branch 'beta' of https://github.com/nextcloud/android into beta 2016-10-06 22:45:00 +02:00
AndyScherzinger bbc2d14b37 Merge branch 'master' of https://github.com/nextcloud/android into beta 2016-10-06 22:44:14 +02:00
AndyScherzinger c4c1b6b450 Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders 2016-10-06 20:02:49 +02:00
tobiasKaminsky 47e92e8360 new version 2016-10-06 19:34:12 +02:00
tobiasKaminsky b963ca650c Merge remote-tracking branch 'origin/descendIntoFolder' into beta 2016-10-06 19:31:43 +02:00
tobiasKaminsky 78bc2f3391 Merge remote-tracking branch 'origin/master' into beta 2016-10-06 19:31:01 +02:00
AndyScherzinger b607a770f2 minor layout optimization 2016-10-06 18:25:23 +02:00
AndyScherzinger d7f461a0f0 Merge branch 'master' of https://github.com/nextcloud/android into syncedFolders 2016-10-06 10:17:50 +02:00
AndyScherzinger fe21d590e9 version bump + CHANGELOG.md 2016-10-06 10:11:38 +02:00
AndyScherzinger cd46d2b964 Merge branch 'build24' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	build.gradle
#	res/values/setup.xml
#	src/com/owncloud/android/ui/helpers/FileOperationsHelper.java
#	src/com/owncloud/android/utils/FileStorageUtils.java
2016-10-06 09:57:19 +02:00
AndyScherzinger a142711031 Merge branch 'master' of https://github.com/nextcloud/android into beta
# Conflicts:
#	src/com/owncloud/android/ui/helpers/FileOperationsHelper.java
#	src/com/owncloud/android/utils/FileStorageUtils.java
2016-10-06 09:54:40 +02:00
AndyScherzinger b33445d17e fix after rebase 2016-10-06 09:39:54 +02:00
AndyScherzinger 4d2a43aabd update support library 2016-10-06 09:14:59 +02:00
Andy Scherzinger e7be185502 fix android-lib reference 2016-10-06 09:14:59 +02:00
Andy Scherzinger cd755699e3 fixes 2016-10-06 09:14:58 +02:00
David A. Velasco fc27def747 Fix crash opening or sending files in Android 7
# Conflicts:
#	res/values/setup.xml
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-10-06 09:14:58 +02:00
Andy Scherzinger 3c52abe2d8 Revert "reactive instrumented demo test"
This reverts commit f7195a0192.
2016-10-06 09:10:56 +02:00
Andy Scherzinger 0c1c791f7f reactive instrumented demo test 2016-10-06 09:10:56 +02:00
Andy Scherzinger 25ef4d941d change emulator ready detection again, disable running sample instrumented unit test (failing at the moment)
updated wait_for_emulator.sh for actual travis cookbook revision https://github.com/travis-ci/travis-cookbooks/blob/62039b204699adcdf4b3365fac42d81246cb57fe/ci_environment/android-sdk/files/default/android-wait-for-emulator

try emulator 24

bump support lib to 24.2.0
2016-10-06 09:10:56 +02:00
Andy Scherzinger a942fc7fc0 bump Android SDK Build-Tools to 24.0.2 2016-10-06 09:10:56 +02:00
Andy Scherzinger 1ba8dccc22 no pre-dexing on travis (performance) 2016-10-06 09:10:56 +02:00
Andy Scherzinger 90df2299f6 Update build tools to 24.0.1, java7 compat 2016-10-06 09:10:55 +02:00
Andy Scherzinger e4ab7a812c rebase/merge 2016-10-06 09:10:55 +02:00
Andy Scherzinger 89094c1f10 lib1.0.4 2016-10-06 09:10:55 +02:00
Andy Scherzinger 919478723c Revert "added jcenter repo"
This reverts commit b54e954c96014babd176d8f50ba6b7a9e44dea38.
2016-10-06 09:10:55 +02:00
Andy Scherzinger 8254baf187 link to v24 version of the Nc lib 2016-10-06 09:10:55 +02:00
Andy Scherzinger 12d9bdd6f8 added jcenter repo 2016-10-06 09:10:55 +02:00
Andy Scherzinger 40c3e17ea9 bump to v24 incl. toolchain, jdk8 etc. 2016-10-06 09:10:54 +02:00
tobiasKaminsky c2225dda46 add change to subfolder 2016-10-05 20:24:13 +02:00
AndyScherzinger 46c81972ec merge fix 2016-10-05 01:31:51 +02:00
AndyScherzinger 0edcf3a45a Merge branch 'build24' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	build.gradle
#	res/values/setup.xml
#	src/com/owncloud/android/utils/FileStorageUtils.java
2016-10-05 01:07:02 +02:00
AndyScherzinger 3f70de3579 update support library 2016-10-05 00:58:04 +02:00
AndyScherzinger 09d0637c8b Merge branch 'fixDroneLink' of https://github.com/nextcloud/android into beta 2016-10-05 00:33:11 +02:00
AndyScherzinger 7470d6f3eb further pulls/changes 2016-10-05 00:32:36 +02:00
AndyScherzinger ba99684909 Merge branch 'wordingDavdroid' of https://github.com/nextcloud/android into beta 2016-10-05 00:31:20 +02:00
AndyScherzinger abcb8e8161 Merge branch 'cursorFix' of https://github.com/nextcloud/android into beta 2016-10-05 00:29:47 +02:00
AndyScherzinger 59355d38d5 log result code for error without exceptions 2016-10-05 00:15:34 +02:00
AndyScherzinger 852c11e11c distinguish exception for error and canceled 2016-10-05 00:09:04 +02:00
AndyScherzinger 70085c09ea Merge branch 'master' of https://github.com/nextcloud/android into beta 2016-10-04 23:49:28 +02:00
tobiasKaminsky 4ef6a9863a descend into folder after creating it in uploader 2016-10-04 13:52:41 +02:00
Andy Scherzinger 27e396501c fix android-lib reference 2016-10-04 13:44:55 +02:00
Andy Scherzinger 1074f20f9c fixes 2016-10-04 13:44:55 +02:00
David A. Velasco 9d5482a0c7 Fix crash opening or sending files in Android 7
# Conflicts:
#	res/values/setup.xml
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-10-04 13:44:54 +02:00
Andy Scherzinger c7574a3d73 Revert "reactive instrumented demo test"
This reverts commit f7195a0192.
2016-10-04 13:44:54 +02:00
Andy Scherzinger 03e3684865 reactive instrumented demo test 2016-10-04 13:44:54 +02:00
Andy Scherzinger 9ee7909eb0 change emulator ready detection again, disable running sample instrumented unit test (failing at the moment)
updated wait_for_emulator.sh for actual travis cookbook revision https://github.com/travis-ci/travis-cookbooks/blob/62039b204699adcdf4b3365fac42d81246cb57fe/ci_environment/android-sdk/files/default/android-wait-for-emulator

try emulator 24

bump support lib to 24.2.0
2016-10-04 13:44:54 +02:00
Andy Scherzinger e7d577fe17 bump Android SDK Build-Tools to 24.0.2 2016-10-04 13:44:54 +02:00
Andy Scherzinger 0805bf6456 no pre-dexing on travis (performance) 2016-10-04 13:44:53 +02:00
Andy Scherzinger 7fcb2c4cb0 Update build tools to 24.0.1, java7 compat 2016-10-04 13:44:53 +02:00
Andy Scherzinger a7aa45a891 rebase/merge 2016-10-04 13:44:53 +02:00
Andy Scherzinger 239140d5e6 lib1.0.4 2016-10-04 13:44:53 +02:00
Andy Scherzinger 25e896a096 Revert "added jcenter repo"
This reverts commit b54e954c96014babd176d8f50ba6b7a9e44dea38.
2016-10-04 13:44:53 +02:00
Andy Scherzinger 829c5b9a35 link to v24 version of the Nc lib 2016-10-04 13:44:52 +02:00
Andy Scherzinger 8ae9670250 added jcenter repo 2016-10-04 13:44:52 +02:00
Andy Scherzinger 56453266a6 bump to v24 incl. toolchain, jdk8 etc. 2016-10-04 13:44:49 +02:00
Andy Scherzinger b9c15c127c toggle folder's sync on/off - wip since state persistence is not working reliably yet 2016-09-30 22:02:13 +02:00
Andy Scherzinger 17b9eaed96 initial code to read (yet empty DB) and display settings screen (non-functional yet) 2016-09-30 01:27:50 +02:00
Andy Scherzinger f868e0daa0 Merge branch 'syncedFolders' of https://github.com/nextcloud/android into syncedFolders 2016-09-29 10:56:12 +02:00
Andy Scherzinger a04682fe5d hardening provider implementation + javadoc 2016-09-29 10:54:32 +02:00
Andy Scherzinger 78dfb7cedf make SyncedFolderObserverService use SyncedFolderProvider (todo also move the Observable to the Provider implementation) 2016-09-29 10:54:32 +02:00
Andy Scherzinger 67d7ec9741 renamed upload action column, extended SyncFolder POJO, createdd a draft implementation of a SyncFolderProvider for DB operations 2016-09-29 10:54:32 +02:00
Andy Scherzinger a1931ed9a5 layout tweaking, better listener support, loading visualization 2016-09-29 10:54:32 +02:00
Andy Scherzinger 6774a002b4 ignore gradle.properties for git 2016-09-29 10:54:32 +02:00
tobiasKaminsky 77353f698d wip 2016-09-29 10:54:32 +02:00
tobiasKaminsky 7fef98ce47 wip 2016-09-29 10:54:32 +02:00
tobiasKaminsky 99a8278de8 wip 2016-09-29 10:54:32 +02:00
Andy Scherzinger db872635ce initial add for recycler view implementation with headers (WIP) 2016-09-29 10:54:32 +02:00
Andy Scherzinger 34cae927fa initial navigation setup for menu and activity 2016-09-29 10:54:32 +02:00
Andy Scherzinger 6369364fa9 initial link of menu buttons 2016-09-29 10:54:32 +02:00
Andy Scherzinger ef53c97bda proper thumbnails, image counter, darkening etc. 2016-09-29 10:54:32 +02:00
Andy Scherzinger 0e6d3951fb initial v1 for grid view 2016-09-29 10:54:32 +02:00
Andy Scherzinger 9874b09502 rudimentary media loader implementation (file thumbnails and any action TBD) 2016-09-29 10:54:32 +02:00
Andy Scherzinger 20dbdb872f initial add for recycler view implementation with headers (WIP) 2016-09-29 10:54:32 +02:00
Andy Scherzinger 2334e066ef sync config icons 2016-09-29 10:54:32 +02:00
Andy Scherzinger 61244d0d8e header fix 2016-09-29 10:54:32 +02:00
Andy Scherzinger cf4498d17c initial navigation setup for menu and activity 2016-09-29 10:54:32 +02:00
tobiasKaminsky 9f67ced1dd add database for synced folders 2016-09-29 10:54:32 +02:00
Andy Scherzinger 512b7ad229 hardening provider implementation + javadoc 2016-09-29 10:48:08 +02:00
Andy Scherzinger a883dfcee7 make SyncedFolderObserverService use SyncedFolderProvider (todo also move the Observable to the Provider implementation) 2016-09-29 01:14:02 +02:00
Andy Scherzinger dd35c49484 renamed upload action column, extended SyncFolder POJO, createdd a draft implementation of a SyncFolderProvider for DB operations 2016-09-29 01:06:52 +02:00
Andy Scherzinger dc1b7b3958 layout tweaking, better listener support, loading visualization 2016-09-26 23:12:20 +02:00
Andy Scherzinger 25117bc0e3 ignore gradle.properties for git 2016-09-26 17:59:14 +02:00
tobiasKaminsky 281f970869 wip 2016-09-26 17:59:14 +02:00
tobiasKaminsky 59da136b9b wip 2016-09-26 17:59:14 +02:00
tobiasKaminsky 12e4532a0d wip 2016-09-26 17:59:14 +02:00
Andy Scherzinger d2aa22f6c0 initial add for recycler view implementation with headers (WIP) 2016-09-26 17:59:14 +02:00
Andy Scherzinger 27cb68bee3 initial navigation setup for menu and activity 2016-09-26 17:59:14 +02:00
Andy Scherzinger 038f3167ab initial link of menu buttons 2016-09-26 17:59:14 +02:00
Andy Scherzinger c0afddd5d8 proper thumbnails, image counter, darkening etc. 2016-09-26 17:59:14 +02:00
Andy Scherzinger 4c31ca1ebe initial v1 for grid view 2016-09-26 17:59:14 +02:00
Andy Scherzinger 36280b92d6 rudimentary media loader implementation (file thumbnails and any action TBD) 2016-09-26 17:59:14 +02:00
Andy Scherzinger c1c7d232aa initial add for recycler view implementation with headers (WIP) 2016-09-26 17:59:14 +02:00
Andy Scherzinger b27b5a460b sync config icons 2016-09-26 17:59:14 +02:00
Andy Scherzinger db67a4f633 header fix 2016-09-26 17:59:14 +02:00
Andy Scherzinger 30669c9677 initial navigation setup for menu and activity 2016-09-26 17:59:14 +02:00
tobiasKaminsky cf27c2c9d3 add database for synced folders 2016-09-26 17:59:14 +02:00
Andy Scherzinger 5c42d96259 Merge branch '201_fixExpandableUploadListAdapter' of https://github.com/nextcloud/android into beta 2016-09-26 17:53:11 +02:00
Andy Scherzinger 7efae88a5d bugfix for NPE #201 2016-09-26 17:49:45 +02:00
Andy Scherzinger 515c6fe943 Merge branch 'beta' of https://github.com/nextcloud/android into beta
# Conflicts:
#	build.gradle
2016-09-26 17:32:34 +02:00
Andy Scherzinger 763df858de fix setup.xml after branch pulls 2016-09-26 17:29:42 +02:00
Andy Scherzinger 76cb95cd07 Merge branch 'dismissDialogFragment' of https://github.com/nextcloud/android into beta 2016-09-26 17:25:10 +02:00
Andy Scherzinger 31a120ea9a Merge branch 'build24' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	build.gradle
#	res/values/setup.xml
#	src/com/owncloud/android/utils/FileStorageUtils.java
2016-09-26 17:23:27 +02:00
Andy Scherzinger a349d6934d Merge branch 'master' of https://github.com/nextcloud/android into beta
# Conflicts:
#	wait_for_emulator.sh
2016-09-26 17:19:37 +02:00
Andy Scherzinger 7e964795b5 fix android-lib reference 2016-09-26 16:40:38 +02:00
Andy Scherzinger 723334a1c1 fixes 2016-09-26 16:40:38 +02:00
David A. Velasco 5a37719111 Fix crash opening or sending files in Android 7
# Conflicts:
#	res/values/setup.xml
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-09-26 16:40:38 +02:00
Andy Scherzinger d8d803ab8c Revert "reactive instrumented demo test"
This reverts commit f7195a0192.
2016-09-26 16:40:38 +02:00
Andy Scherzinger 313fde0bc6 reactive instrumented demo test 2016-09-26 16:40:38 +02:00
Andy Scherzinger d0b691cafb change emulator ready detection again, disable running sample instrumented unit test (failing at the moment)
updated wait_for_emulator.sh for actual travis cookbook revision https://github.com/travis-ci/travis-cookbooks/blob/62039b204699adcdf4b3365fac42d81246cb57fe/ci_environment/android-sdk/files/default/android-wait-for-emulator

try emulator 24

bump support lib to 24.2.0
2016-09-26 16:40:38 +02:00
Andy Scherzinger ed04da30dc bump Android SDK Build-Tools to 24.0.2 2016-09-26 16:40:00 +02:00
Andy Scherzinger 0e45eed32a no pre-dexing on travis (performance) 2016-09-26 16:40:00 +02:00
Andy Scherzinger 979b14bfae Update build tools to 24.0.1, java7 compat 2016-09-26 16:40:00 +02:00
Andy Scherzinger 0fa105e781 rebase/merge 2016-09-26 16:40:00 +02:00
Andy Scherzinger b3c8abd0d8 lib1.0.4 2016-09-26 16:40:00 +02:00
Andy Scherzinger 5c095bb00b Revert "added jcenter repo"
This reverts commit b54e954c96014babd176d8f50ba6b7a9e44dea38.
2016-09-26 16:40:00 +02:00
Andy Scherzinger bad15df75d link to v24 version of the Nc lib 2016-09-26 16:40:00 +02:00
Andy Scherzinger dfeae52619 added jcenter repo 2016-09-26 16:40:00 +02:00
Andy Scherzinger 795d695300 bump to v24 incl. toolchain, jdk8 etc. 2016-09-26 16:40:00 +02:00
Andy Scherzinger 200fe5ab64 fix crash in dismissLoadingDialog #279 2016-09-26 16:30:53 +02:00
Andy Scherzinger dd5894d690 fix crash in dismissLoadingDialog #279 2016-09-26 16:28:24 +02:00
tobiasKaminsky 1c1c464165 update 2016-09-22 20:15:43 +02:00
tobiasKaminsky 655324e179 Merge remote-tracking branch 'origin/beta' into beta
# Conflicts:
#	AndroidManifest.xml
#	CHANGELOG.md
#	res/values/strings.xml
2016-09-21 19:43:18 +02:00
tobiasKaminsky 5b0aa52d93 Merge remote-tracking branch 'remotes/origin/whatsNew' into beta 2016-09-21 19:40:51 +02:00
tobiasKaminsky a4a2cb9721 removed 5. screen
avoid duplicate whats new
2016-09-21 19:40:27 +02:00
tobiasKaminsky 881063e9fb Merge remote-tracking branch 'remotes/origin/whatsNew' into beta 2016-09-21 19:35:40 +02:00
tobiasKaminsky 63fe98d8ac Merge remote-tracking branch 'origin/whatsNew' into whatsNew 2016-09-21 17:29:09 +02:00
Andy Scherzinger 08b4e9c709 Merge branch 'logSendCrash' of https://github.com/nextcloud/android into beta 2016-09-21 12:01:59 +02:00
Andy Scherzinger 41861a8d1f IndexOutOfBounds check #283 2016-09-21 11:56:38 +02:00
Andy Scherzinger 5feacb3b69 2016-09-21 2016-09-21 01:58:18 +02:00
Andy Scherzinger 6325d56864 Merge branch 'LukeOwncloud-patch-remove-failed' of https://github.com/nextcloud/android into beta 2016-09-21 01:56:01 +02:00
Andy Scherzinger a811f49f58 Merge branch 'magicUrl' of https://github.com/nextcloud/android into beta 2016-09-21 01:54:59 +02:00
Andy Scherzinger bd883c53d2 Merge branch 'dismissDialogFragment' of https://github.com/nextcloud/android into beta 2016-09-21 01:54:11 +02:00
Andy Scherzinger fb71c3e1ce Merge branch 'whatsNew' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	res/layout/whats_new_activity.xml
#	res/layout/whats_new_element.xml
#	res/values/strings.xml
#	src/com/owncloud/android/MainApp.java
#	src/com/owncloud/android/ui/activity/WhatsNewActivity.java
2016-09-21 01:33:08 +02:00
Andy Scherzinger b415a9a598 Merge branch 'master' of https://github.com/nextcloud/android into beta
# Conflicts:
#	.travis.yml
#	AndroidManifest.xml
#	CHANGELOG.md
2016-09-21 01:30:09 +02:00
Andy Scherzinger b5ee31bad3 removed unnecessary else part 2016-09-21 00:20:41 +02:00
LukeOwncloud af5f521454 return false if remove failed
if OCFile is null --> cannot delete ==> return false.
2016-09-21 00:20:41 +02:00
Andy Scherzinger 0761bff179 fix crash in dismissLoadingDialog #279 2016-09-21 00:19:35 +02:00
Andy Scherzinger 2a5d777219 code review changes 2016-09-21 00:18:17 +02:00
Andy Scherzinger 6244502d87 downgrade to only support cloud://login 2016-09-21 00:18:17 +02:00
Andy Scherzinger 4cb527795c move connection (re) init from start to onResume and restore server checked flag 2016-09-21 00:18:17 +02:00
Andy Scherzinger a4361a447c wip server check 2016-09-21 00:18:17 +02:00
Andy Scherzinger 4b77f648dd focus check 2016-09-21 00:18:17 +02:00
Andy Scherzinger 0a224c442b fix url mapping 2016-09-21 00:18:17 +02:00
Andy Scherzinger 17d5683d98 MagicUrls for Login + Unit tests for the parser 2016-09-21 00:18:17 +02:00
Andy Scherzinger 8bdb9d72a9 resized font sizes 2016-09-21 00:11:24 +02:00
Andy Scherzinger 31ffb0a2a1 fixed arrow icon color 2016-09-21 00:11:24 +02:00
Andy Scherzinger 8d49161b39 fixed arrow color, images and logos 2016-09-21 00:11:24 +02:00
Bartosz Przybylski 9281a3acae Code review fixes 2016-09-21 00:11:24 +02:00
Bartosz Przybylski e0aa06cbc9 tabs to spaces 2016-09-21 00:11:24 +02:00
Bartosz Przybylski be9f000aad tabs to spaces 2016-09-21 00:11:24 +02:00
Bartosz Przybylski 6094f5fcb7 Show whats new only once on first run 2016-09-21 00:11:24 +02:00
Bartosz Przybylski 0f30fa0bc5 Change the way of displaying progress indicator 2016-09-21 00:11:24 +02:00
Bartosz Przybylski 3b665c28e3 Use ViewPager instead of custom dragging mechanism 2016-09-21 00:11:24 +02:00
Bartosz Przybylski 55f41a12d7 Add parameter to allow showing whats new in beta 2016-09-21 00:11:24 +02:00
Andy Scherzinger b980363b7c use the standard dp margin & padding references 2016-09-21 00:11:24 +02:00
Andy Scherzinger 1f7df2fd9b rework icons to not break ANT builds 2016-09-21 00:11:24 +02:00
Bartosz Przybylski c02370145e Till java7 won't be used on ant project use old diamond notation 2016-09-21 00:11:24 +02:00
Andy Scherzinger ee4ae35eb9 small design changes, adding arrow as vector (thus bumping gradle plugin to 1.5.0!), changing check icon and adding circle background for finish action 2016-09-21 00:11:24 +02:00
Andy Scherzinger 33bcc4ba1c changes indicator to more material like style 2016-09-21 00:11:24 +02:00
Andy Scherzinger 67c5b57cfd added iOS images for the whats new screens 2016-09-21 00:11:24 +02:00
Bartosz Przybylski a5e2d7d239 Use global method to get version code 2016-09-21 00:11:24 +02:00
Bartosz Przybylski c4406f4141 Show done button when only single news is available 2016-09-21 00:11:24 +02:00
Bartosz Przybylski e8309e2431 Insert type in diamond operator, but this is just a hack to support old comiler 2016-09-21 00:11:24 +02:00
Bartosz Przybylski c1ca971823 Implement left/right swipe in whats new view 2016-09-21 00:11:24 +02:00
Bartosz Przybylski 5bb9620aa1 Another small cleanup 2016-09-21 00:11:24 +02:00
Bartosz Przybylski 8c2cfe9ab4 Remove testing stuff 2016-09-21 00:11:24 +02:00
Bartosz Przybylski a962e2aca5 Put FeatureList to separate file for cleaner code 2016-09-21 00:11:24 +02:00
Bartosz Przybylski c5b8bbe0f4 Small code cleanup in WhatsNewActivity 2016-09-21 00:11:24 +02:00
Bartosz Przybylski e2ad7cbe2b Add Whats new activity and embed it into project 2016-09-21 00:11:24 +02:00
tobiasKaminsky 60aeedd80e Merge remote-tracking branch 'remotes/origin/whatsNew' into beta 2016-09-18 17:55:06 +02:00
Andy Scherzinger e8d7fd0953 resized font sizes 2016-09-18 17:50:40 +02:00
Andy Scherzinger 18222b2467 fixed arrow icon color 2016-09-18 17:50:40 +02:00
Andy Scherzinger 84d8695677 fixed arrow color, images and logos 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 24c2dd49ff Code review fixes 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 5980af1caa tabs to spaces 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 91b9ccdb19 tabs to spaces 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 457a5d934a Show whats new only once on first run 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 3d86e32eb5 Change the way of displaying progress indicator 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 48db65b178 Use ViewPager instead of custom dragging mechanism 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 6854dc5b02 Add parameter to allow showing whats new in beta 2016-09-18 17:50:40 +02:00
Andy Scherzinger c6f970b52a use the standard dp margin & padding references 2016-09-18 17:50:40 +02:00
Andy Scherzinger b2171f2e8f rework icons to not break ANT builds 2016-09-18 17:50:40 +02:00
Bartosz Przybylski cc757729bd Till java7 won't be used on ant project use old diamond notation 2016-09-18 17:50:40 +02:00
Andy Scherzinger f6c5c63c0d small design changes, adding arrow as vector (thus bumping gradle plugin to 1.5.0!), changing check icon and adding circle background for finish action 2016-09-18 17:50:40 +02:00
Andy Scherzinger 871607b89c changes indicator to more material like style 2016-09-18 17:50:40 +02:00
Andy Scherzinger 6b462c9895 added iOS images for the whats new screens 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 1c258946c2 Use global method to get version code 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 97acb9d4e4 Show done button when only single news is available 2016-09-18 17:50:40 +02:00
Bartosz Przybylski e410a6f7ac Insert type in diamond operator, but this is just a hack to support old comiler 2016-09-18 17:50:40 +02:00
Bartosz Przybylski f33e985b84 Implement left/right swipe in whats new view 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 2bf7b49774 Another small cleanup 2016-09-18 17:50:40 +02:00
Bartosz Przybylski c65d78ff20 Remove testing stuff 2016-09-18 17:50:40 +02:00
Bartosz Przybylski c91b7f7442 Put FeatureList to separate file for cleaner code 2016-09-18 17:50:40 +02:00
Bartosz Przybylski a6c74539f8 Small code cleanup in WhatsNewActivity 2016-09-18 17:50:40 +02:00
Bartosz Przybylski 9e85786f00 Add Whats new activity and embed it into project 2016-09-18 17:50:40 +02:00
tobiasKaminsky 2d0c73fef1 Merge remote-tracking branch 'remotes/origin/whatsNew' into beta 2016-09-18 17:49:24 +02:00
tobiasKaminsky c549385e96 prevent showing what's new screen twice 2016-09-18 14:48:48 +02:00
tobiasKaminsky ffbe691085 Merge remote-tracking branch 'origin/beta' into beta 2016-09-18 09:12:41 +02:00
tobiasKaminsky 6c1c723d50 Merge remote-tracking branch 'remotes/origin/master' into beta 2016-09-18 09:11:38 +02:00
Andy Scherzinger d92ddc061c Merge branch 'master' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	CHANGELOG.md
2016-09-18 01:28:36 +02:00
Andy Scherzinger ea86870d7f Merge branch 'whatsNew' of https://github.com/nextcloud/android into beta 2016-09-15 15:19:52 +02:00
Andy Scherzinger 1084f97927 fixed arrow icon color 2016-09-15 15:19:20 +02:00
Andy Scherzinger 3504a08163 Merge branch 'whatsNew' of https://github.com/nextcloud/android into beta
# Conflicts:
#	res/drawable-hdpi/whats_new_accounts.png
2016-09-15 15:12:16 +02:00
Andy Scherzinger ddf2e9f717 fixed arrow color, images and logos 2016-09-15 15:08:43 +02:00
Andy Scherzinger e6bc6591d8 Merge branch 'whatsNew' of https://github.com/nextcloud/android into beta
# Conflicts:
#	res/values/strings.xml
#	src/com/owncloud/android/MainApp.java
2016-09-15 14:37:56 +02:00
Andy Scherzinger 4cda211590 fixed logos 2016-09-15 13:30:28 +02:00
Bartosz Przybylski 8a8c82301d Code review fixes 2016-09-15 11:35:43 +02:00
Bartosz Przybylski b78ce68baf tabs to spaces 2016-09-15 11:35:43 +02:00
Bartosz Przybylski 814d147ad4 tabs to spaces 2016-09-15 11:35:43 +02:00
Bartosz Przybylski 287089922b Show whats new only once on first run 2016-09-15 11:35:43 +02:00
Bartosz Przybylski e4552b6da6 Change the way of displaying progress indicator 2016-09-15 11:35:43 +02:00
Bartosz Przybylski 29079e5fd2 Use ViewPager instead of custom dragging mechanism 2016-09-15 11:35:43 +02:00
Bartosz Przybylski 1a57ddef9a Add parameter to allow showing whats new in beta 2016-09-15 11:35:43 +02:00
Andy Scherzinger 0eae7c59a9 use the standard dp margin & padding references 2016-09-15 11:35:43 +02:00
Andy Scherzinger 9180481515 rework icons to not break ANT builds 2016-09-15 11:35:43 +02:00
Bartosz Przybylski b1f8f084b8 Till java7 won't be used on ant project use old diamond notation 2016-09-15 11:35:43 +02:00
Andy Scherzinger b2f816eb31 small design changes, adding arrow as vector (thus bumping gradle plugin to 1.5.0!), changing check icon and adding circle background for finish action 2016-09-15 11:35:43 +02:00
Andy Scherzinger a34488e47e changes indicator to more material like style 2016-09-15 11:35:43 +02:00
Andy Scherzinger afdfc62ee7 added iOS images for the whats new screens 2016-09-15 11:35:43 +02:00
Bartosz Przybylski b8d796c19e Use global method to get version code 2016-09-15 11:35:43 +02:00
Bartosz Przybylski 255bcb1a99 Show done button when only single news is available 2016-09-15 11:35:43 +02:00
Bartosz Przybylski 57302403b6 Insert type in diamond operator, but this is just a hack to support old comiler 2016-09-15 11:35:43 +02:00
Bartosz Przybylski ba44bfbe02 Implement left/right swipe in whats new view 2016-09-15 11:35:43 +02:00
Bartosz Przybylski 6bf4a37019 Another small cleanup 2016-09-15 11:35:43 +02:00
Bartosz Przybylski afce75826e Remove testing stuff 2016-09-15 11:35:43 +02:00
Bartosz Przybylski 30ceace544 Put FeatureList to separate file for cleaner code 2016-09-15 11:35:43 +02:00
Bartosz Przybylski f3417a1f3b Small code cleanup in WhatsNewActivity 2016-09-15 11:35:43 +02:00
Bartosz Przybylski c6f306af49 Add Whats new activity and embed it into project 2016-09-15 11:35:43 +02:00
Andy Scherzinger aab9c087bf Merge branch 'master' of https://github.com/nextcloud/android into beta
# Conflicts:
#	CHANGELOG.md
#	res/xml/preferences.xml
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-09-12 22:39:16 +02:00
Andy Scherzinger d584f806f0 Merge branch '130rcBugfix' of https://github.com/nextcloud/android into beta 2016-09-08 13:38:45 +02:00
Andy Scherzinger 0b1b893740 Merge branch '130rcBugfix' of https://github.com/nextcloud/android into beta 2016-09-08 13:35:30 +02:00
Andy Scherzinger 7c9e3dab4f Merge branch '130rcBugfix' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	res/layout/participate_layout.xml
#	res/values/strings.xml
2016-09-08 10:36:32 +02:00
tobiasKaminsky a6b46eef90 update changelod 2016-09-07 21:49:44 +02:00
tobiasKaminsky d51825c98d update to rc2 2016-09-07 21:44:18 +02:00
Andy Scherzinger 598458f759 bugfix incorrect merge 2016-09-07 19:18:40 +02:00
Andy Scherzinger 3de7eb134d updated CHANGELOG.md 2016-09-07 18:50:15 +02:00
Andy Scherzinger e89f2d5808 Merge branch '130rcBugfix' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
2016-09-07 18:47:31 +02:00
Andy Scherzinger 5136870879 compile fixes after merge 2016-09-07 18:43:30 +02:00
Andy Scherzinger 06f5ffe296 Merge branch 'davAppIntegration' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	CHANGELOG.md
#	build.gradle
#	oc_jb_workaround/build.gradle
#	res/layout/participate_layout.xml
#	res/layout/share_file_layout.xml
#	res/layout/upload_files_layout.xml
#	res/menu/drawer_menu.xml
#	res/values/attrs.xml
#	res/values/setup.xml
#	res/values/strings.xml
#	res/xml/preferences.xml
#	src/com/owncloud/android/ui/activity/ParticipateActivity.java
#	src/com/owncloud/android/ui/activity/Preferences.java
#	src/com/owncloud/android/ui/activity/UploadFilesActivity.java
#	src/com/owncloud/android/ui/fragment/ShareFileFragment.java
#	src/com/owncloud/android/ui/helpers/FileOperationsHelper.java
2016-09-07 18:38:42 +02:00
Andy Scherzinger f3a41dc260 consistent wording for upload options --> folder 2016-09-07 18:29:14 +02:00
Andy Scherzinger 65fa8c4c20 show toast if davdroid sync has been setup successfully 2016-09-07 17:52:12 +02:00
Andy Scherzinger 91919d9246 move setup call to settings screen 2016-09-07 17:37:33 +02:00
Andy Scherzinger eb267862b7 wip davdroid login launch 2016-09-07 15:46:47 +02:00
Andy Scherzinger dcb0bd26f3 improve layouting and texts for upload behavior #26 2016-09-07 15:21:24 +02:00
Andy Scherzinger e6b99c96e7 bugfix layouting and issue reporting button click 2016-09-07 15:08:02 +02:00
Andy Scherzinger efe9692ee4 1.3.0 RC2 versioning 2016-09-07 14:46:59 +02:00
Andy Scherzinger dba4dd513a Bugfix report GH issue button click 2016-09-07 14:46:44 +02:00
Andy Scherzinger 92b58b654e Merge branch 'mixSortByDate' of https://github.com/nextcloud/android into beta 2016-09-04 21:41:48 +02:00
Andy Scherzinger 4198991338 Merge branch 'participate' of https://github.com/nextcloud/android into beta
# Conflicts:
#	build.gradle
#	res/layout/participate_layout.xml
#	res/menu/drawer_menu.xml
#	res/values/setup.xml
#	src/com/owncloud/android/ui/activity/ParticipateActivity.java
#	src/com/owncloud/android/utils/ConnectivityUtils.java
2016-09-04 21:31:37 +02:00
Andy Scherzinger a80b2216ce don't show the currently active account in the account chooser (since it is already active and displayer in the drawer header)
- don't show information twice
2016-09-04 21:20:35 +02:00
Andy Scherzinger 6102f78552 fix for triggering the main drawer menu items from "participate", changed participate icon and checkable behavior, don't show settings etc when showing accounts 2016-09-04 21:12:03 +02:00
Andy Scherzinger 330883cc81 participate icon 2016-09-04 20:35:52 +02:00
Andy Scherzinger 0b2162d70c slight whitespace optimizations in accordance with material design guidelines 2016-09-04 20:26:11 +02:00
tobiasKaminsky 013ddc4bf1 fix wrong new line 2016-09-04 20:06:07 +02:00
tobiasKaminsky c09979389d links are now extracted to setup.xml 2016-09-04 20:06:07 +02:00
tobiasKaminsky 13e37493c9 wip 2016-09-04 20:06:07 +02:00
tobiasKaminsky fc1ba3c384 Merge remote-tracking branch 'remotes/origin/participate' into beta 2016-09-04 15:37:27 +02:00
tobiasKaminsky 19b65e6afd fix wrong new line 2016-09-04 15:36:33 +02:00
tobiasKaminsky 716d1554b5 Merge remote-tracking branch 'remotes/origin/instant_upload_multi_account' into beta 2016-09-04 12:00:46 +02:00
tobiasKaminsky 83b8c5cc0a if no account is set the current account is used for instant upload 2016-09-04 11:40:24 +02:00
tobiasKaminsky fd428095d7 Merge remote-tracking branch 'origin/instant_upload_multi_account' into instant_upload_multi_account 2016-09-04 11:21:49 +02:00
tobiasKaminsky f83ecc83c8 Merge remote-tracking branch 'origin/beta' into beta 2016-09-04 11:08:36 +02:00
tobiasKaminsky b64569db57 Merge remote-tracking branch 'remotes/origin/mixSortByDate' into beta 2016-09-04 11:08:16 +02:00
tobiasKaminsky c56cd56645 Merge remote-tracking branch 'remotes/origin/pinchZoom' into beta 2016-09-04 11:08:04 +02:00
tobiasKaminsky 604eccb185 Merge remote-tracking branch 'remotes/origin/resizeCache' into beta 2016-09-04 11:04:49 +02:00
tobiasKaminsky 5fde328016 Merge remote-tracking branch 'remotes/origin/fixPublicLink' into beta 2016-09-04 11:01:10 +02:00
tobiasKaminsky 8bc3935130 Merge remote-tracking branch 'remotes/origin/descendIntoFolder' into beta 2016-09-04 11:00:58 +02:00
tobiasKaminsky 80e610ea41 Merge remote-tracking branch 'remotes/origin/participate' into beta 2016-09-04 11:00:36 +02:00
tobiasKaminsky caba790774 Merge remote-tracking branch 'remotes/origin/filesDrop' into beta 2016-09-04 11:00:04 +02:00
tobiasKaminsky 1161c3f19e links are now extracted to setup.xml 2016-09-04 10:52:32 +02:00
tobiasKaminsky 4be92d4650 wip 2016-09-03 23:13:34 +02:00
Andy Scherzinger 411022175c sizeScale 1 for MB, code removed for unsupported legacy Android versions
# Conflicts:
#	src/com/owncloud/android/utils/DisplayUtils.java
2016-09-03 17:56:49 +02:00
tobiasKaminsky f5218d53e0 update 2016-09-03 12:59:06 +02:00
tobiasKaminsky 2ba7087953 fix bug: resized image was always used indepentent of download state 2016-09-03 12:14:00 +02:00
tobiasKaminsky 911e4072f4 fix wrong merge resolve: thumbnails are now generated during upload again 2016-09-03 09:12:49 +02:00
tobiasKaminsky 9809e88ec0 Merge remote-tracking branch 'origin/beta' into beta 2016-09-03 07:55:16 +02:00
tobiasKaminsky 0c7c92c40b Merge remote-tracking branch 'remotes/origin/quotaDisplay' into beta 2016-09-03 07:49:56 +02:00
Andy Scherzinger bc2c96b284 organize imports 2016-09-01 16:26:39 +02:00
Andy Scherzinger 2da70e914c cleanup 2016-09-01 16:26:39 +02:00
Andy Scherzinger 3baa5ab208 CR 2016-09-01 16:26:39 +02:00
tobiasKaminsky 6044010ffe show filenames only if column size < 4 2016-09-01 16:26:39 +02:00
tobiasKaminsky 56e3129f52 use local context 2016-09-01 16:26:39 +02:00
tobiasKaminsky 580ab151f1 changes due to CR 2016-09-01 16:26:39 +02:00
tobiasKaminsky 2ccd0167f3 changes according to CR 2016-09-01 16:26:39 +02:00
tobiasKaminsky 01961b4db6 save gridColumns on start/stop 2016-09-01 16:26:39 +02:00
tobiasKaminsky db37d4f680 after pinching grid is updated correctly 2016-09-01 16:26:39 +02:00
tobiasKaminsky b44178b0ad wip 2016-09-01 16:26:39 +02:00
Andy Scherzinger b1e364efb6 fixed copyright 2016-09-01 16:20:02 +02:00
Andy Scherzinger 48e90501c0 code cleanup 2016-09-01 16:20:02 +02:00
Andy Scherzinger 0b87d80f08 beatified info rendereing for active account/path for uploads 2016-09-01 16:20:02 +02:00
Andy Scherzinger 54d1c42ea7 fix AccountUtils calls 2016-09-01 16:20:02 +02:00
Andy Scherzinger 7e84c2a934 CR changes 2016-09-01 16:20:02 +02:00
Andy Scherzinger 8ae25feaee cleanup code for preference loading 2016-09-01 16:20:02 +02:00
Luke Owncloud c99ef87a5f configure account for instant upload 2016-09-01 16:20:02 +02:00
Andy Scherzinger 72c96f7054 minor cleanups after rebase 2016-09-01 16:15:45 +02:00
tobiasKaminsky b4e068af38 fix wrong cast of cache size 2016-09-01 16:15:45 +02:00
tobiasKaminsky 85ae0ef010 show cache size in mb 2016-09-01 16:15:45 +02:00
tobiasKaminsky 6e4913ade8 fixed according to andys comments 2016-09-01 16:15:45 +02:00
tobiasKaminsky 1787cd4ea2 cache size is read from cache on preference start 2016-09-01 16:15:45 +02:00
tobiasKaminsky a731e87267 cache resize 2016-09-01 16:15:45 +02:00
tobiasKaminsky 007f9a3696 add preference for cache size 2016-09-01 16:15:45 +02:00
tobiasKaminsky 08bddb3dcf descend into folder after creating it in uploader 2016-09-01 16:12:59 +02:00
Andy Scherzinger a638f3c31b CHANGELOG.md 2016-09-01 14:56:53 +02:00
Andy Scherzinger d2c6f0c0a7 Merge branch 'fixRemoteFolderSize' of https://github.com/nextcloud/android into beta 2016-09-01 14:55:52 +02:00
tobiasKaminsky 6e7645b4f4 mix folders and files on sort by date 2016-09-01 11:32:01 +02:00
Andy Scherzinger 2d05f45a6d minor formattings 2016-09-01 11:26:09 +02:00
Andy Scherzinger b64e41f1cb hide file listing switch visibility fix when share link gets deactivated 2016-09-01 11:26:09 +02:00
tobiasKaminsky 738c491800 wip 2016-09-01 11:26:09 +02:00
tobiasKaminsky fe13a0ef23 wip 2016-09-01 11:26:09 +02:00
tobiasKaminsky 3ab681415b wip 2016-09-01 11:26:09 +02:00
tobiasKaminsky bf213bc11f wip 2016-09-01 11:26:09 +02:00
tobiasKaminsky 946d2a1d5e wip 2016-09-01 11:26:09 +02:00
Andy Scherzinger a44441bdda Merge branch 'quotaDisplay' of https://github.com/nextcloud/android into beta 2016-09-01 10:12:41 +02:00
Andy Scherzinger c6d71c4c14 CHANGELOG.md 2016-08-31 19:35:43 +02:00
Andy Scherzinger fc06e1b91e Merge branch 'build24' of https://github.com/nextcloud/android into beta
# Conflicts:
#	AndroidManifest.xml
#	res/values/setup.xml
#	src/com/owncloud/android/utils/FileStorageUtils.java
2016-08-31 19:34:30 +02:00
Andy Scherzinger e73f9970ee fixes 2016-08-31 19:27:38 +02:00
David A. Velasco 4c4d6948cc Fix crash opening or sending files in Android 7
# Conflicts:
#	res/values/setup.xml
#	src/com/owncloud/android/ui/activity/Preferences.java
2016-08-31 19:23:42 +02:00
Andy Scherzinger 054717cc65 Merge branch 'quotaDisplay' of https://github.com/nextcloud/android into beta
# Conflicts:
#	build.gradle
2016-08-31 19:18:40 +02:00
Andy Scherzinger 58652a5522 Revert "reactive instrumented demo test"
This reverts commit f7195a0192.
2016-08-30 23:29:49 +02:00
Andy Scherzinger f7195a0192 reactive instrumented demo test 2016-08-30 19:12:29 +02:00
Andy Scherzinger 6a6fb1dab7 Merge branch 'build24' of https://github.com/nextcloud/android into beta 2016-08-30 18:46:58 +02:00
Andy Scherzinger 70c1cef829 atm we only need the emulator version since it is also the targeted version 2016-08-30 18:25:34 +02:00
Andy Scherzinger 753399fdc7 Updated CHANGELOG.md 2016-08-30 18:20:46 +02:00
Andy Scherzinger 0a463042e5 Merge branch 'build24' of https://github.com/nextcloud/android into beta
# Conflicts:
#	build.gradle
2016-08-30 18:15:57 +02:00
Andy Scherzinger 30e5ad14ae Merge branch 'fixEmptyLocalUploadFolder' of https://github.com/nextcloud/android into beta
# Conflicts:
#	build.gradle
#	src/com/owncloud/android/MainApp.java
#	src/com/owncloud/android/ui/activity/FileDisplayActivity.java
2016-08-30 18:06:05 +02:00
Andy Scherzinger 1b7ffa00bf bugfix showing empty local folders as empty and not showing the parent folder in an empty folder 2016-08-30 17:56:28 +02:00
Andy Scherzinger f606d14b6d change emulator ready detection again, disable running sample instrumented unit test (failing at the moment)
updated wait_for_emulator.sh for actual travis cookbook revision https://github.com/travis-ci/travis-cookbooks/blob/62039b204699adcdf4b3365fac42d81246cb57fe/ci_environment/android-sdk/files/default/android-wait-for-emulator

try emulator 24

bump support lib to 24.2.0
2016-08-30 15:16:47 +02:00
Andy Scherzinger 644a9ee978 bump Android SDK Build-Tools to 24.0.2 2016-08-29 17:58:55 +02:00
Andy Scherzinger 0b88b6e144 changed matrix variables to better support different target and emulator API-level 2016-08-18 15:53:46 +02:00
Andy Scherzinger 99434be7c4 no pre-dexing on travis (performance) 2016-08-18 15:53:46 +02:00
Andy Scherzinger 68c8ce6010 try v23 emulator 2016-08-18 15:53:46 +02:00
Andy Scherzinger 9fe0c6f364 Update build tools to 24.0.1, java7 compat 2016-08-18 15:53:46 +02:00
Andy Scherzinger 3a4d516c24 rebase/merge 2016-08-18 15:53:46 +02:00
Andy Scherzinger a724993861 lib1.0.4 2016-08-18 15:53:46 +02:00
Andy Scherzinger 38f0266ecf Revert "added jcenter repo"
This reverts commit b54e954c96014babd176d8f50ba6b7a9e44dea38.
2016-08-18 15:53:46 +02:00
Andy Scherzinger 7a539ef071 link to v24 version of the Nc lib 2016-08-18 15:53:46 +02:00
Andy Scherzinger c4c9fac34a added jcenter repo 2016-08-18 15:53:46 +02:00
Andy Scherzinger 49a125ebd6 bump to v24 incl. toolchain, jdk8 etc. 2016-08-18 15:53:46 +02:00
Andy Scherzinger 649c5cfe0c fixed the background color 2016-08-14 20:26:08 +02:00
Andy Scherzinger beb3abb7f3 CR changes 2016-08-14 20:18:32 +02:00
Andy Scherzinger 32aa5113b5 colorize quota progress bar depending on thresholds met, reformattings 2016-08-14 20:18:32 +02:00
Andy Scherzinger ff7bb22903 minor code refactoring extracting setup code into dedicated methods 2016-08-14 20:18:32 +02:00
Andy Scherzinger c117f1eb60 get and show quota information 2016-08-14 20:18:32 +02:00
Andy Scherzinger 1b1e20bee7 update to Nc Android library 1.0.4 2016-08-14 20:14:52 +02:00
Andy Scherzinger d5f143c4cc view elements fix 2016-08-14 20:14:26 +02:00
Andy Scherzinger 9e3499707c initial quota display implementation 2016-08-14 20:14:26 +02:00
Andy Scherzinger 1b279acca8 initial layout changes for in drawer quota display 2016-08-14 20:14:26 +02:00
tobiasKaminsky 831813fd81 update 2016-08-09 22:04:03 +02:00
tobiasKaminsky 44e91d4d9d fix wrong beta lookup url 2016-08-09 21:11:34 +02:00
tobiasKaminsky 7df332b2dc update 2016-08-08 20:28:02 +02:00
tobiasKaminsky 50a565f11d Merge remote-tracking branch 'remotes/origin/externalSD2' into beta 2016-08-08 20:21:03 +02:00
tobiasKaminsky 430872629d Merge remote-tracking branch 'remotes/origin/updateCopyMove' into beta 2016-08-08 19:53:39 +02:00
tobiasKaminsky 79650fbcb9 Merge remote-tracking branch 'remotes/origin/filesDrop' into beta 2016-08-08 19:52:38 +02:00
tobiasKaminsky 7fb56cd467 Merge remote-tracking branch 'remotes/origin/fixNPEinUploadFile' into beta 2016-08-08 19:45:44 +02:00
tobiasKaminsky a524d9083f Merge remote-tracking branch 'remotes/origin/fixUploadComparator' into beta 2016-08-08 19:45:00 +02:00
tobiasKaminsky e7d190adf4 "move upload" is first default when on first startup 2016-08-08 10:51:41 +02:00
tobiasKaminsky f5e32fb333 move / copy updated 2016-08-08 10:51:41 +02:00
Andy Scherzinger 3d1ba53339 fix chunked upload constructor call 2016-08-08 10:32:49 +02:00
Andy Scherzinger d0857dd009 extract/pre-compile the pattern 2016-08-08 10:32:49 +02:00
Andy Scherzinger 4567ce5496 further CR fixes, fixed comment in layout/migration_layout.xml 2016-08-08 10:32:49 +02:00
Andy Scherzinger 37f99a7fa2 CR, GPLv3 2016-08-08 10:32:49 +02:00
Andy Scherzinger 4feff15973 lib version 1.0.2, organizes imports in FileStorageUtils 2016-08-08 10:32:49 +02:00
Andy Scherzinger 25d7f4149e fixed strings (oC->Nc and ... --> &#8230;) 2016-08-08 10:32:49 +02:00
Andy Scherzinger aa081f0080 temporary gradle link to branch/snapshot of the library until it is merged, so the build works again 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 278da5520a rebase fixes 2016-08-08 10:32:49 +02:00
tobiasKaminsky eba09158c3 use lollipop external storage system 2016-08-08 10:32:49 +02:00
Bartosz Przybylski eaf0265866 Because of multiple underlying implementation of storage mount points introduce a mechanism which is querying multiple solutions and lists them to the user 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 42ca74cbb0 Handle case of migration of empty src directory 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 64eeacb829 Change the way of fetching mounted resources, use system tools and parse results 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 3eea52f5f3 Use progress dialog instead of alert dialog, for better UX 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 3c0087da97 Tabs to spaces 2016-08-08 10:32:49 +02:00
Bartosz Przybylski bb86f57628 Small code cleanups 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 57c93d37c2 Simplify storage selection process 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 5326351378 Add DataStorageUtils to detect connected SD cards 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 52e69cf25b For more reliability delete old files recursively in migration cleanup 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 3a214db461 Fix after rebase 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 54d82af9ff Soften requirement on cleanup step failures 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 23b02079d3 Stop and start logging on migration 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 2f6192a6e5 Code cleanups 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 3f0df0a5c9 Add cleanup and rollback step when migrating. Correctly set progress during migration. 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 7f3543e802 Add more migration stuff. cleanup step is still missing 2016-08-08 10:32:49 +02:00
Bartosz Przybylski 017e68b79c Add unfinished local directories browser for storage target. Add migration activity stub. Adjust some parts of app to prepare it for storage migration 2016-08-08 10:32:49 +02:00
tobiasKaminsky 1e968d6ab1 Prepare preferences and project to use user defined storage path 2016-08-08 10:32:49 +02:00
Andy Scherzinger 20e9b8e94f minor formattings 2016-08-08 10:28:16 +02:00
Andy Scherzinger e71ae2e532 hide file listing switch visibility fix when share link gets deactivated 2016-08-08 10:28:16 +02:00
tobiasKaminsky 45ade381de wip 2016-08-08 10:28:16 +02:00
tobiasKaminsky 30c18fd1ea wip 2016-08-08 10:28:16 +02:00
tobiasKaminsky 65d16da98b wip 2016-08-08 10:28:16 +02:00
tobiasKaminsky 1e6a090810 wip 2016-08-08 10:28:16 +02:00
tobiasKaminsky f402dd9692 wip 2016-08-08 10:28:16 +02:00
tobiasKaminsky f83bf524a8 Merge remote-tracking branch 'remotes/origin/updateCopyMove' into beta 2016-08-08 10:17:31 +02:00
tobiasKaminsky ad2c8fc08e update 2016-08-08 10:11:08 +02:00
tobiasKaminsky 492cf00064 Merge remote-tracking branch 'remotes/origin/fixPublicLink' into beta 2016-08-08 10:09:16 +02:00
tobiasKaminsky e29cfabfe9 allow apk to git 2016-08-04 18:28:54 +02:00
tobiasKaminsky 0b59dd9e2a "move upload" is first default when on first startup 2016-08-04 10:51:55 +02:00
tobiasKaminsky ee17b00288 move / copy updated 2016-08-04 10:51:55 +02:00
tobiasKaminsky 728db354f9 Merge remote-tracking branch 'remotes/origin/resizedImages' into beta 2016-08-03 17:50:50 +02:00
tobiasKaminsky 1df99748ef Merge remote-tracking branch 'remotes/origin/protect_password_field_agains_autocompletion_suggestions' into beta 2016-08-03 17:50:39 +02:00
tobiasKaminsky 452b23cc39 Merge remote-tracking branch 'remotes/origin/meteredWiFi' into beta 2016-08-03 17:50:27 +02:00
tobiasKaminsky 773a8d6a63 Merge remote-tracking branch 'remotes/origin/instant_upload_multi_account' into beta 2016-08-03 17:49:36 +02:00
tobiasKaminsky a2f836bb66 Merge remote-tracking branch 'remotes/origin/filter' into beta 2016-08-03 17:46:17 +02:00
tobiasKaminsky 1aacc2b45f Merge remote-tracking branch 'remotes/origin/filesDrop' into beta 2016-08-03 17:45:00 +02:00
tobiasKaminsky 9562e70450 Merge remote-tracking branch 'remotes/origin/externalSD2' into beta 2016-08-03 17:43:07 +02:00
tobiasKaminsky 7fece371ad Merge remote-tracking branch 'remotes/origin/resumeChunkedUploads' into beta 2016-08-03 17:17:00 +02:00
tobiasKaminsky 94a6c44012 Merge remote-tracking branch 'remotes/origin/uploadWhenCharging' into beta 2016-08-03 17:16:07 +02:00
tobiasKaminsky b4775d52ed update 2016-08-02 22:15:49 +02:00
tobiasKaminsky 37427304fd Merge remote-tracking branch 'remotes/origin/updateCopyMove' into beta 2016-08-02 21:39:33 +02:00
tobiasKaminsky 47edebde38 Merge remote-tracking branch 'origin/beta' into beta 2016-08-02 21:39:12 +02:00
tobiasKaminsky 1ce514972b "move upload" is first default when on first startup 2016-08-02 21:36:11 +02:00
Andy Scherzinger 6b36468d19 fixed copyright 2016-08-02 19:42:08 +02:00
Andy Scherzinger 35e9301a6d code cleanup 2016-08-02 19:42:08 +02:00
Andy Scherzinger d933e88f64 beatified info rendereing for active account/path for uploads 2016-08-02 19:42:08 +02:00
Andy Scherzinger 7549a547de fix AccountUtils calls 2016-08-02 19:41:31 +02:00
Andy Scherzinger 51e02f9591 CR changes 2016-08-02 19:41:31 +02:00
Andy Scherzinger 2d6184ccfc cleanup code for preference loading 2016-08-02 19:41:31 +02:00
Luke Owncloud 4752d2741e configure account for instant upload 2016-08-02 19:41:31 +02:00
Andy Scherzinger ae947a5ca4 minor formattings 2016-08-02 17:55:30 +02:00
Andy Scherzinger 6ab0506c9a hide file listing switch visibility fix when share link gets deactivated 2016-08-02 17:18:46 +02:00
Andy Scherzinger 0faa786b2e hide file listing switch visibility fix when share link gets deactivated 2016-08-02 17:17:20 +02:00
tobiasKaminsky 824be9278c wip 2016-08-02 15:44:18 +02:00
tobiasKaminsky aa00ad74b2 wip 2016-08-02 15:44:18 +02:00
tobiasKaminsky c1e2b2dee5 wip 2016-08-02 15:44:18 +02:00
tobiasKaminsky 229ff7c38b wip 2016-08-02 15:44:18 +02:00
tobiasKaminsky e78b0fb447 wip 2016-08-02 15:44:18 +02:00
Andy Scherzinger 956cfa5d7b proper show hide during drawer open/close, also for filter-menu-item 2016-08-02 15:28:44 +02:00
Andy Scherzinger 70abde93de GPLv3 2016-08-02 15:28:44 +02:00
Andy Scherzinger 69b368e111 hide non-primary action menu items in overflow menu 2016-08-02 15:28:44 +02:00
Andy Scherzinger 3019c540a1 added description and went for ifRoom 2016-08-02 15:28:44 +02:00
Andy Scherzinger eef9e38065 fix UI behavior for filtering in upload view 2016-08-02 15:28:44 +02:00
Andy Scherzinger 422d432712 fixed license version 2016-08-02 15:28:44 +02:00
Andy Scherzinger 74e117191e correct search view UI-behavior 2016-08-02 15:28:44 +02:00
tobiasKaminsky 7e6162815f filter for oc file list and local file list 2016-08-02 15:28:44 +02:00
Andy Scherzinger 984d0fe93c fixed parameter order 2016-08-02 11:50:02 +02:00
Andy Scherzinger 4bb1071e1a fix chunked upload constructor call 2016-08-02 11:35:51 +02:00
Andy Scherzinger 2769d9389a extract/pre-compile the pattern 2016-08-02 11:18:49 +02:00
Andy Scherzinger 6417c93517 further CR fixes, fixed comment in layout/migration_layout.xml 2016-08-02 11:12:25 +02:00
Andy Scherzinger 4f0b0b9116 CR, GPLv3 2016-08-02 10:59:31 +02:00
Andy Scherzinger 39745e49e7 lib version 1.0.2, organizes imports in FileStorageUtils 2016-08-02 10:37:35 +02:00
Andy Scherzinger cfb25da11f fixed strings (oC->Nc and ... --> &#8230;) 2016-08-02 10:34:26 +02:00
Andy Scherzinger b57414a759 temporary gradle link to branch/snapshot of the library until it is merged, so the build works again 2016-08-02 10:34:26 +02:00
Bartosz Przybylski e884640785 rebase fixes 2016-08-02 10:34:26 +02:00
tobiasKaminsky 351905fc48 use lollipop external storage system 2016-08-02 10:34:26 +02:00
Bartosz Przybylski 648d3f5292 Because of multiple underlying implementation of storage mount points introduce a mechanism which is querying multiple solutions and lists them to the user 2016-08-02 10:34:26 +02:00
Bartosz Przybylski 845a6b2f68 Handle case of migration of empty src directory 2016-08-02 10:34:26 +02:00
Bartosz Przybylski ebe6c2bca7 Change the way of fetching mounted resources, use system tools and parse results 2016-08-02 10:34:26 +02:00
Bartosz Przybylski 769430b8f0 Use progress dialog instead of alert dialog, for better UX 2016-08-02 10:34:26 +02:00
Bartosz Przybylski 393c9b4072 Tabs to spaces 2016-08-02 10:34:26 +02:00
Bartosz Przybylski ab3d19d29e Small code cleanups 2016-08-02 10:34:26 +02:00
Bartosz Przybylski e94220a906 Simplify storage selection process 2016-08-02 10:34:03 +02:00
Bartosz Przybylski c568af347c Add DataStorageUtils to detect connected SD cards 2016-08-02 10:34:03 +02:00
Bartosz Przybylski 5c1b4ba796 For more reliability delete old files recursively in migration cleanup 2016-08-02 10:34:03 +02:00
Bartosz Przybylski e13ad5ff26 Fix after rebase 2016-08-02 10:34:03 +02:00
Bartosz Przybylski 5166231481 Soften requirement on cleanup step failures 2016-08-02 10:34:03 +02:00
Bartosz Przybylski 25300cc0e9 Stop and start logging on migration 2016-08-02 10:34:03 +02:00
Bartosz Przybylski b637679083 Code cleanups 2016-08-02 10:34:03 +02:00
Bartosz Przybylski c928224b55 Add cleanup and rollback step when migrating. Correctly set progress during migration. 2016-08-02 10:32:41 +02:00
Bartosz Przybylski 83378f60c3 Add more migration stuff. cleanup step is still missing 2016-08-02 10:32:41 +02:00
Bartosz Przybylski 237b26ae79 Add unfinished local directories browser for storage target. Add migration activity stub. Adjust some parts of app to prepare it for storage migration 2016-08-02 10:32:41 +02:00
tobiasKaminsky e393a6db27 Prepare preferences and project to use user defined storage path 2016-08-02 10:32:41 +02:00
tobiasKaminsky df45b5543b Merge remote-tracking branch 'remotes/origin/filter' into beta 2016-08-01 21:57:58 +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
tobiasKaminsky 26683f5c61 added second parameter to thumbnail generation task 2016-08-01 21:42:11 +02:00
tobiasKaminsky 56572a09ef allow apk to be uploaded 2016-08-01 21:18:58 +02:00
Andy Scherzinger 7b58b8c328 update to Nc Android lib 1.0.2 2016-08-01 16:51:42 +02:00
Andy Scherzinger 30b66dcd27 bump Nc Android lib version 2016-08-01 16:25:23 +02:00
tobiasKaminsky 26e0dab381 resume chunked uploads 2016-08-01 16:22:32 +02:00
Andy Scherzinger 93bb169c6c GPLv3 2016-08-01 11:31:37 +02:00
Andy Scherzinger 4e03fb3894 GPLv3 2016-08-01 11:29:08 +02:00
tobiasKaminsky 4d9d895b57 add apks ;) 2016-07-31 13:18:15 +02:00
tobiasKaminsky 9fae39b45f update beta 2016-07-31 12:56:38 +02:00
tobiasKaminsky e2cce3957e fix merging error 2016-07-31 12:55:03 +02:00
tobiasKaminsky 6bdde0e59a Merge remote-tracking branch 'remotes/origin/updateCopyMove' into beta 2016-07-31 12:46:36 +02:00
tobiasKaminsky 1e5a2583df Merge remote-tracking branch 'remotes/origin/NPEonEmptyLocalFolder' into beta 2016-07-31 12:40:02 +02:00
tobiasKaminsky b5c3d07ab3 update changelog 2016-07-31 12:22:25 +02:00
tobiasKaminsky 705d942124 move / copy updated 2016-07-31 12:14:33 +02:00
tobiasKaminsky 40a68482fe Merge remote-tracking branch 'remotes/origin/externalSD2' into beta 2016-07-31 10:27:53 +02:00
tobiasKaminsky 4d27d9c0a9 add only upload when charging 2016-07-30 19:31:03 +02:00
tobiasKaminsky 955cf86f05 update changelog 2016-07-30 19:29:23 +02:00
tobiasKaminsky b1dd34e18c Merge remote-tracking branch 'remotes/origin/uploadWhenCharging' into beta 2016-07-30 18:58:26 +02:00
tobiasKaminsky 2ea5eaca4c finally a beta update :) 2016-07-28 21:42:08 +02:00
tobiasKaminsky a92e749c9f fix sharing for beta 2016-07-28 21:22:47 +02:00
tobiasKaminsky 8a988a9e84 wip 2016-07-28 20:57:26 +02:00
tobiasKaminsky 8d1864d0cf update beta 2016-07-28 20:38:00 +02:00
tobiasKaminsky 4015763df6 Merge remote-tracking branch 'remotes/origin/resumeChunkedUploads' into beta 2016-07-28 20:02:07 +02:00
tobiasKaminsky f720c186c3 Merge remote-tracking branch 'remotes/origin/protect_password_field_agains_autocompletion_suggestions' into beta 2016-07-28 19:57:48 +02:00
tobiasKaminsky 75949fb5ca Merge remote-tracking branch 'remotes/origin/refresh_folders_startup' into beta 2016-07-28 19:55:36 +02:00
tobiasKaminsky 033bc352f4 Merge remote-tracking branch 'remotes/origin/renameInstantUploadPath' into beta 2016-07-28 19:54:55 +02:00
tobiasKaminsky 9e8c3f2192 Merge remote-tracking branch 'remotes/origin/meteredWiFi' into beta 2016-07-28 19:53:48 +02:00
tobiasKaminsky 39cb69737c Merge remote-tracking branch 'remotes/origin/djvu' into beta 2016-07-28 19:53:31 +02:00
tobiasKaminsky 106d02f4ee Merge remote-tracking branch 'remotes/origin/filter' into beta 2016-07-28 19:53:08 +02:00
tobiasKaminsky 6fbfd0c6ce Merge remote-tracking branch 'remotes/origin/resizeCache' into beta 2016-07-28 19:50:58 +02:00
tobiasKaminsky 962f9413bf Merge remote-tracking branch 'remotes/origin/pinchZoom' into beta 2016-07-28 19:49:43 +02:00
tobiasKaminsky 092704a1e1 Merge remote-tracking branch 'remotes/origin/textFile' into beta 2016-07-28 19:49:28 +02:00
tobiasKaminsky 69f0edec74 Merge remote-tracking branch 'remotes/origin/filesDrop' into beta 2016-07-28 19:49:12 +02:00
tobiasKaminsky ae7247b008 Merge remote-tracking branch 'remotes/origin/mixSortByDate' into beta 2016-07-28 19:48:49 +02:00
tobiasKaminsky 08706b4813 Merge remote-tracking branch 'remotes/origin/instant_upload_multi_account' into beta 2016-07-28 19:48:23 +02:00
tobiasKaminsky a9b587b1cd Merge remote-tracking branch 'remotes/origin/resizedImages' into beta 2016-07-28 19:47:39 +02:00
Andy Scherzinger 5b806394b6 reformetted two lines 2016-07-28 19:04:52 +02:00
tobiasKaminsky 5170f029b2 changes due to CR 2016-07-28 19:04:52 +02:00
Andy Scherzinger 999ec8202e textfile --> text file 2016-07-28 19:04:52 +02:00
tobiasKaminsky 658371336e finish 2016-07-28 19:04:52 +02:00
tobiasKaminsky 447c2f9d52 wip 2016-07-28 19:04:52 +02:00
tobiasKaminsky c7dafff817 djvu is not an image 2016-07-28 19:00:30 +02:00
tobiasKaminsky d238c8a7fb resume chunked uploads 2016-07-28 18:29:49 +02:00
Andy Scherzinger 88b49880e1 Changed the delay to execute the runnable in startSyncFolderOperation, adding 350 ms. 2016-07-28 18:03:44 +02:00
David A. Velasco 6cf396f0d4 Add flag to disable suggestions in password field, no matter if visible or not 2016-07-28 18:00:03 +02:00
Andy Scherzinger ac9aedecec hide non-primary action menu items in overflow menu 2016-07-28 17:46:51 +02:00
Andy Scherzinger b535fe2926 added description and went for ifRoom 2016-07-28 17:46:51 +02:00
Andy Scherzinger c8fba79f9f fix UI behavior for filtering in upload view 2016-07-28 17:46:51 +02:00
Andy Scherzinger 8f941939e2 fixed license version 2016-07-28 17:46:51 +02:00
Andy Scherzinger 75d3236fa7 correct search view UI-behavior 2016-07-28 17:46:51 +02:00
tobiasKaminsky 6a3903afbe filter for oc file list and local file list 2016-07-28 17:46:51 +02:00
Andy Scherzinger aeb9ea9871 fixed copyright 2016-07-27 17:31:01 +02:00
Andy Scherzinger 7712e694b1 code cleanup 2016-07-27 17:31:01 +02:00
Andy Scherzinger 04ff966d63 beatified info rendereing for active account/path for uploads 2016-07-27 17:31:01 +02:00
Andy Scherzinger a99032ccf4 fix AccountUtils calls 2016-07-27 17:31:01 +02:00
Andy Scherzinger 953b5c637e CR changes 2016-07-27 17:31:01 +02:00
Andy Scherzinger 2f4aef8fb2 cleanup code for preference loading 2016-07-27 17:31:01 +02:00
Luke Owncloud 53cfb1196d configure account for instant upload 2016-07-27 17:31:01 +02:00
tobiasKaminsky c7555938a5 delay instant upload when metered wifi is used 2016-07-26 19:52:49 +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 e7e02837e6 update 2016-07-21 20:02:23 +02:00
tobiasKaminsky eaed9886cf Merge remote-tracking branch 'remotes/origin/master' into resizeCache 2016-07-21 19:58:36 +02:00
tobiasKaminsky cb9c6fc8f6 show filenames only if column size < 4 2016-07-21 19:44:22 +02:00
tobiasKaminsky b4136568e5 Merge remote-tracking branch 'remotes/origin/master' into pinchZoom 2016-07-21 19:24:15 +02:00
tobiasKaminsky 8bb465f1e7 wip 2016-07-21 18:26:52 +02:00
tobiasKaminsky 5511c063d6 Merge remote-tracking branch 'remotes/origin/master' into filesDrop 2016-07-21 18:18:05 +02:00
tobiasKaminsky 0e1f66e0e3 wip 2016-07-21 18:17:46 +02:00
tobiasKaminsky 2c71d2b57e wip 2016-07-20 20:18:18 +02:00
tobiasKaminsky a61c4b932c wip 2016-07-18 18:39:59 +02:00
tobiasKaminsky 8b9d6b2f22 Merge remote-tracking branch 'remotes/origin/master' into filesDrop 2016-07-18 18:37:20 +02:00
tobiasKaminsky 87f03c7c17 wip 2016-07-18 17:27:38 +02:00
tobiasKaminsky 6ca77290ec mix folders and files on sort by date 2016-07-17 17:22:42 +02:00
Andy Scherzinger d2a323a970 fix AccountUtils calls 2016-07-09 20:48:17 +02:00
Andy Scherzinger a6ef30cbbd CR changes 2016-07-09 20:23:47 +02:00
Andy Scherzinger 184eaef74f cleanup code for preference loading 2016-07-09 20:23:47 +02:00
Luke Owncloud 27d49da7ea configure account for instant upload 2016-07-09 20:23:46 +02:00
Andy Scherzinger 2ffcb50397 fixed strings (oC->Nc and ... --> &#8230;) 2016-07-03 14:36:17 +02:00
Andy Scherzinger 55d038e801 temporary gradle link to branch/snapshot of the library until it is merged, so the build works again 2016-07-03 14:32:04 +02:00
Bartosz Przybylski 47066401d0 rebase fixes 2016-07-03 00:19:59 +02:00
tobiasKaminsky 3eb7aa3809 use lollipop external storage system 2016-07-03 00:04:43 +02:00
Bartosz Przybylski 1cb345c99f Because of multiple underlying implementation of storage mount points introduce a mechanism which is querying multiple solutions and lists them to the user 2016-07-03 00:03:49 +02:00
Bartosz Przybylski 870b04a390 Handle case of migration of empty src directory 2016-07-03 00:02:31 +02:00
Bartosz Przybylski ec14112d82 Change the way of fetching mounted resources, use system tools and parse results 2016-07-03 00:02:31 +02:00
Bartosz Przybylski b20373d59b Use progress dialog instead of alert dialog, for better UX 2016-07-03 00:02:31 +02:00
Bartosz Przybylski 9745b34290 Tabs to spaces 2016-07-03 00:02:31 +02:00
Bartosz Przybylski b589077669 Small code cleanups 2016-07-03 00:01:07 +02:00
Bartosz Przybylski 56d0517a47 Simplify storage selection process 2016-07-02 23:58:49 +02:00
Bartosz Przybylski ebaf8c6ccf Add DataStorageUtils to detect connected SD cards 2016-07-02 23:48:40 +02:00
Bartosz Przybylski 029c54dc2b For more reliability delete old files recursively in migration cleanup 2016-07-02 23:48:40 +02:00
Bartosz Przybylski 4ab8d0cb35 Fix after rebase 2016-07-02 23:48:40 +02:00
Bartosz Przybylski ab0abea781 Soften requirement on cleanup step failures 2016-07-02 23:48:40 +02:00
Bartosz Przybylski fadbd7629d Stop and start logging on migration 2016-07-02 23:48:40 +02:00
Bartosz Przybylski cf2267e196 Code cleanups 2016-07-02 23:48:40 +02:00
Bartosz Przybylski 77c4819e98 Add cleanup and rollback step when migrating. Correctly set progress during migration. 2016-07-02 23:44:54 +02:00
Bartosz Przybylski 76d58fbbc8 Add more migration stuff. cleanup step is still missing 2016-07-02 23:44:54 +02:00
Bartosz Przybylski 7ec2ffc6af Add unfinished local directories browser for storage target. Add migration activity stub. Adjust some parts of app to prepare it for storage migration 2016-07-02 23:44:12 +02:00
tobiasKaminsky c848d4fd3b Prepare preferences and project to use user defined storage path 2016-07-02 23:32:03 +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 93b143a647 use local context 2016-03-30 18:09:04 +02:00
tobiasKaminsky 78aa439660 changes due to CR 2016-03-21 08:25:12 +01:00
tobiasKaminsky a3fd1a0ac6 Merge remote-tracking branch 'remotes/upstream/master' into pinchZoom 2016-03-12 10:33:02 +01:00
tobiasKaminsky 302b253e9a update lib 2016-03-12 09:02:30 +01:00
tobiasKaminsky 7469b5dd96 Merge remote-tracking branch 'remotes/upstream/master' into pinchZoom 2016-03-12 08:56:26 +01:00
tobiasKaminsky e4ce10f180 changes according to CR 2016-03-12 08:54:59 +01:00
tobiasKaminsky 2ecff7c12f save gridColumns on start/stop 2016-02-08 08:58:59 +01:00
tobiasKaminsky 5849a4a93f after pinching grid is updated correctly 2016-01-24 09:46:51 +01:00
tobiasKaminsky 999a2ee86e wip 2016-01-20 20:39:33 +01:00
tobiasKaminsky eac4e49ceb fixed showing thumbnails in local file list (uploader) 2016-01-03 13:36:29 +01:00
tobiasKaminsky 5c9c34f1d2 fix wrong cast of cache size 2015-11-22 10:13:40 +01:00
tobiasKaminsky 0302a62af5 Merge branch 'master' of github.com:owncloud/android into resizeCache 2015-11-14 16:33:22 +01:00
tobiasKaminsky 11774de541 show cache size in mb 2015-11-13 18:33:21 +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 890b8df374 fixed according to andys comments 2015-10-17 17:36:31 +02:00
tobiasKaminsky 981ecb91c9 cache size is read from cache on preference start 2015-10-12 20:21:19 +02:00
tobiasKaminsky 39921730b3 cache resize 2015-10-12 08:30:30 +02:00
tobiasKaminsky 641ebef687 add preference for cache size 2015-10-12 07:40:21 +02: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
223 changed files with 6774 additions and 1544 deletions

No files matched your search

+2 -3
View File
@@ -1,6 +1,4 @@
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
@@ -31,4 +29,5 @@ tests/proguard-project.txt
.gradle
.idea
*.iml
build
build
/gradle.properties
+34 -16
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
ownCloud Android client application
Nextcloud Android client application
Copyright (C) 2012 Bartek Przybylski
Copyright (C) 2012-2016 ownCloud Inc.
@@ -20,8 +20,8 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.owncloud.android"
android:versionCode="10030199"
android:versionName="1.3.1">
android:versionCode="20161109"
android:versionName="20161109" >
<uses-sdk
android:minSdkVersion="14"
@@ -44,6 +44,7 @@
<!-- WRITE_EXTERNAL_STORAGE may be enabled or disabled by the user after installation in
API >= 23; the app needs to handle this -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
<!-- Next permissions are always approved in installation time,
the apps needs to do nothing special in runtime -->
@@ -62,12 +63,12 @@
<application
android:name=".MainApp"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:label="Nextcloud beta"
android:theme="@style/Theme.ownCloud.Toolbar"
android:manageSpaceActivity="com.owncloud.android.ui.activity.ManageSpaceActivity">
<activity
android:name=".ui.activity.FileDisplayActivity"
android:label="@string/app_name"
android:label="Nextcloud beta"
android:theme="@style/Theme.ownCloud.Toolbar.Drawer">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@@ -77,10 +78,13 @@
</activity>
<activity android:name=".ui.activity.ManageAccountsActivity" />
<activity android:name=".ui.activity.ParticipateActivity" />
<activity android:name=".ui.activity.FolderSyncActivity" />
<activity android:name=".ui.activity.UploadFilesActivity" />
<activity android:name=".ui.activity.ReceiveExternalFilesActivity"
android:taskAffinity=""
android:excludeFromRecents="true"
android:label="Nextcloud beta"
android:theme="@style/Theme.ownCloud.NoActionBar">
<activity android:name=".ui.activity.LocalDirectorySelectorActivity" />
<activity android:name=".ui.activity.StorageMigrationActivity" />
@@ -108,7 +112,7 @@
android:theme="@style/Theme.ownCloud.Overlay" />
<activity
android:name=".ui.preview.PreviewVideoActivity"
android:label="@string/app_name"
android:label="Nextcloud beta"
android:theme="@style/Theme.ownCloud.Fullscreen" />
<service
@@ -122,6 +126,7 @@
android:name="android.accounts.AccountAuthenticator"
android:resource="@xml/authenticator" />
</service>
<service android:name=".services.observer.SyncedFolderObserverService"/>
<service
android:name=".syncadapter.FileSyncService"
android:exported="true" >
@@ -133,6 +138,10 @@
android:name="android.content.SyncAdapter"
android:resource="@xml/syncadapter_files" />
</service>
<service
android:name=".services.SyncedFolderJobService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="true"/>
<provider
android:name=".providers.FileContentProvider"
@@ -143,8 +152,8 @@
android:syncable="true" />
<provider
android:name=".providers.UsersAndGroupsSearchProvider"
android:authorities="com.nextcloud.android.providers.UsersAndGroupsSearchProvider"
android:name="org.nextcloud.providers.UsersAndGroupsSearchProvider"
android:authorities="org.nextcloud.beta.android.providers.UsersAndGroupsSearchProvider"
android:enabled="true"
android:exported="false"
android:label="@string/search_users_and_groups_hint" />
@@ -172,11 +181,17 @@
android:resource="@xml/exposed_filepaths" />
</provider>
<provider
android:name=".ui.adapter.DiskLruImageCacheFileProvider"
android:authorities="@string/authorityCache"
android:exported="true">
</provider>
<activity
android:name=".authentication.AuthenticatorActivity"
android:exported="true"
android:launchMode="singleTask"
android:theme="@style/Theme.ownCloud.noActionBar.Login" >
android:theme="@style/Theme.ownCloud.noActionBar.Login">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
@@ -207,12 +222,15 @@
<activity android:name=".ui.activity.ConflictsResolveActivity"/>
<activity android:name=".ui.activity.GenericExplanationActivity"/>
<activity android:name=".ui.activity.ErrorsWhileCopyingHandlerActivity"/>
<activity android:name=".ui.activity.LogHistoryActivity"/>
<activity android:name=".ui.activity.ErrorReportActivity"/>
<activity android:name=".ui.errorhandling.ErrorShowActivity" />
<activity android:name=".ui.activity.UploadListActivity" />
<activity android:name=".ui.activity.WhatsNewActivity"
android:theme="@style/Theme.ownCloud.noActionBar.Login" />
<receiver android:name=".files.services.ConnectivityActionReceiver"
android:enabled="true" android:label="ConnectivityActionReceiver">
<intent-filter>
@@ -249,16 +267,16 @@
<activity
android:name=".ui.activity.CopyToClipboardActivity"
android:icon="@drawable/copy_link"
android:label="@string/copy_link" />
android:label="Copy link" />
<activity
android:name=".ui.activity.FolderPickerActivity"
android:label="@string/app_name" />
android:label="Nextcloud beta" />
<activity
android:name=".ui.activity.UploadPathActivity"
android:label="@string/app_name" />
android:label="Nextcloud beta" />
<activity
android:name=".ui.activity.ShareActivity"
android:label="@string/share_dialog_title"
android:label="Sharing"
android:theme="@style/Theme.ownCloud.Dialog.NoTitle"
android:launchMode="singleTop"
android:windowSoftInputMode="adjustResize" >
@@ -269,7 +287,7 @@
android:resource="@xml/users_and_groups_searchable"/>
</activity>
<activity android:name=".ui.activity.ManageSpaceActivity"
android:label="@string/manage_space_title"
android:label="Manage space"
android:theme="@style/Theme.ownCloud" />
</application>
+81 -43
View File
@@ -1,54 +1,92 @@
## 1.3.1 (September 20, 2016)
## 2016-11-08
- Streaming #183
- Move action hard to discover - difference between single/multi selection
- Show move/copy context in toolbar title
- Share file with dictadroid to Nextcloud
- Don't show upload failure notification for already deleted files
## 2016-10-26
- New Instant Upload (Android 5+) #358
## 1.3.0 (September 17, 2016)
## 2016-10-19
- Fix user info route (https://github.com/nextcloud/android-library/pull/21)
- Begin debug logs when build type is debug #335
- Account switcher optimizations #326
- Fix TimSort #339
- add preference to show hidden files #328
- tune grid view of images #316
- add grid view option when choosing a file from within the app #301
- Files drop permission in share viewe
- Display quota if configured/available in navigation drawer
- Resume chunked uploads instead of complete restarts
- Filter remote and local file lists
- Simple integration with DAVdroid for calender and contacts sync
- Mix folders and files on sort by date
- Upload when charging option
- Revamp upload options Move/Copy/Just-Upload
- Text can be selected and shared to Nextcloud
- Respect metered wifi and block instant uploads
- Proper handling of .djvu files
- Bugfixes and design improvements
## 2016-10-06
- put cursor close in finally block to make sure no resource leak occurrs #306
- change wordings for davdroid integration #293
- added logging to gain information about upload issues
- Sorts favourite files first in list #302
- Add open URL file feature #298
- fix remove failed #241
- Crash when sending non-existing log #284
- Fix NPE in ExpandableUploadListAdapter...setText #290
- change wordings for davdroid integration #293
- Fix NullPointerException in PreviewMediaFragment. #295
## 1.2.0 (July 29, 2016)
## 2016-09-26
- update fix crash in dismissLoadingDialog #279
- fix crash when sending non-existing log #284
- Multi select capabilities
- Confirmation dialog on account removal
- Offline available filter in main menu
- Sorting capability when choosing files to be uploaded
- Video thumbnails if activated on server
- Thumbnails during upload
- Fixed user agent for file firewalling
- Showing server side folder sizes
- Text in test preview can now be selected
- Search suggestions fixed for user/group search during sharing
- Minor bugfixes
## 2016-09-22
- update to latest 1.3.1 functionality
- updated What's new #84
- fix crash in dismissLoadingDialog #279
- Provisioning Links to launch and prefill app with login data #248
- fix remove failed #241
## 1.1.0 (July 6, 2016)
## 2016-09-18
- update to latest 1.3.0 functionality
- change caption for move and copy action #265
- New main menu to switch accounts easily
- Ability to open Nextcloud hosted files (read-only) from other apps that support the standard file chooser (requires Android 4.4 / KitKat or higher)
- "Select all files" for upload within a folder
- Optional feature to auto-create monthly folders for your instant uploads
- Revamped login screen
- Minor bugfixes
## 2016-09-15
- update to latest 1.3.0 RC2 functionality
- What's new #84
## 1.0.1 (June 20, 2016)
## 2016-09-07
- update Motivate more users #239
- DAVdroid login screen prefilled launch #236
- Fix thumbnail preview support for new files
- Add support for animated GIFs
- Optimized uploader layout
## 2016-09-04
- descend into folder after creating it in uploader #206
- Motivate more users #239
## 1.0.0 (June 12, 2016)
## 2016-09-03
- Display quota if configured/available in navigation drawer #204
- bugfix for empty folder display #229
- Update Toolchain/Android-Target to v24 #214
- Restore display of remote folder size #235
- initial release of the Nextcloud Android app
## 2016-08-08
- update all PR
- search for the right ocShare with public link #197
- Fix comparator determining order of list of uploads #199
- generate thumbnails only if mCurrentUpload is not null #205
## 2016-07-31
- External SD support #92
- move / copy updated #178
- prevents NPE when selecting empty local folder #180
## 2016-07-30
- Upload when charging #171
## 2016-07-28
Fresh start on current master with these PRs:
- Resized images #69
- Instant upload in the context of multi account support #98
- mix folders and files on sort by date #135
- Files drop #141
- Receive text file #142
- Pinch zoom #143
- Resize cache #144
- filter for oc file list and local file list #152
- djvu is not an image #153
- delay instant upload when metered wifi is used #161
- rename instant upload path #162
- Refresh when app starts #166
- Disable suggestions in password field #167
- resume chunked uploads #168
From now on every new PR with "3. to review" will be merged to beta and published
+1
View File
@@ -0,0 +1 @@
20161109
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+32 -2
View File
@@ -41,12 +41,13 @@ dependencies {
/// dependencies for app building
compile name: 'touch-image-view'
compile 'com.github.nextcloud:android-library:1.0.8'
compile 'com.github.nextcloud:android-library:beta-SNAPSHOT'
compile "com.android.support:support-v4:${supportLibraryVersion}"
compile "com.android.support:design:${supportLibraryVersion}"
compile 'com.jakewharton:disklrucache:2.0.2'
compile "com.android.support:appcompat-v7:${supportLibraryVersion}"
compile 'com.getbase:floatingactionbutton:1.10.1'
compile 'com.google.code.findbugs:annotations:2.0.1'
/// dependencies for local unit tests
@@ -99,7 +100,14 @@ android {
testInstrumentationRunnerArgument "TEST_PASSWORD", "\"$System.env.OCTEST_APP_PASSWORD\""
testInstrumentationRunnerArgument "TEST_SERVER_URL", "\"$System.env.OCTEST_SERVER_BASE_URL\""
applicationId "com.nextcloud.client"
applicationId "com.nextcloud.android.beta"
versionCode 20161109
versionName "20161109"
// disable the experimental Jack build tools.
jackOptions {
enabled false
}
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
@@ -138,9 +146,15 @@ android {
preDexLibraries = preDexEnabled && !travisBuild
}
dexOptions {
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
preDexLibraries = preDexEnabled && !travisBuild
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
incremental false
}
lintOptions {
@@ -150,6 +164,10 @@ android {
packagingOptions {
exclude 'META-INF/LICENSE.txt'
}
signingConfigs {
release
}
task checkstyle(type: Checkstyle) {
configFile = file("${rootProject.projectDir}/checkstyle.xml")
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
@@ -201,4 +219,16 @@ android {
}
check.dependsOn 'checkstyle', 'findbugs', 'pmd', 'lint'
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
if (project.hasProperty('RELEASE_STORE_FILE')) {
android.signingConfigs.release.storeFile = file(RELEASE_STORE_FILE)
android.signingConfigs.release.storePassword = RELEASE_STORE_PASSWORD
android.signingConfigs.release.keyAlias = RELEASE_KEY_ALIAS
android.signingConfigs.release.keyPassword = RELEASE_KEY_PASSWORD
}
+1 -1
View File
@@ -1,4 +1,4 @@
#Tue Aug 16 10:44:46 CEST 2016
#Sat Sep 03 07:48:32 CEST 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
+1
View File
@@ -9,6 +9,7 @@
</description>
<exclude-pattern>.*/R.java</exclude-pattern>
<exclude-pattern>.*/gen/.*</exclude-pattern>
<exclude-pattern>.*/third_parties/.*</exclude-pattern>
<rule ref="rulesets/java/logging-java.xml" />
<rule ref="rulesets/java/braces.xml" />
+27
View File
@@ -0,0 +1,27 @@
<!--
Nextcloud Android client application
Copyright (C) 2016 Andy Scherzinger
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#ffffff"
android:pathData="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z" />
</vector>
Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 920 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 944 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 879 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2015-2016 Bartosz Przybylski
Copyright (C) 2015 ownCloud Inc.
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU 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/>.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:bottom="5dp" android:top="5dp" android:right="5dp" android:left="5dp">
<shape
android:shape="oval">
<solid android:color="@color/owncloud_blue_dark_transparent"/>
<size android:width="8dp" android:height="8dp" />
</shape>
</item>
</layer-list>
+30
View File
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2015-2016 Bartosz Przybylski
Copyright (C) 2015 ownCloud Inc.
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU 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/>.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:bottom="5dp" android:top="5dp" android:right="5dp" android:left="5dp">
<shape
android:shape="oval">
<solid android:color="@color/white"/>
<size android:width="8dp" android:height="8dp" />
</shape>
</item>
</layer-list>
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2016 Andy Scherzinger
Copyright (C) 2015 ownCloud Inc.
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU 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/>.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/owncloud_blue_accent"/>
</shape>
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2015 Bartosz Przybylski
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<transition xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/indicator_dot_not_selected" />
<item android:drawable="@drawable/indicator_dot_selected" />
</transition>
-1
View File
@@ -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"
+77
View File
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
ownCloud Android client application
Copyright (C) 2015 ownCloud Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="1" >
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginBottom="@dimen/standard_margin"
android:layout_weight="1">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="@dimen/standard_padding"
android:paddingRight="@dimen/standard_padding">
<TextView
android:id="@+id/logTV"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/empty"
android:typeface="monospace"/>
</LinearLayout>
</ScrollView>
<LinearLayout
android:id="@+id/historyButtonBar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="@dimen/standard_margin"
android:layout_marginLeft="@dimen/standard_margin"
android:layout_marginRight="@dimen/standard_margin">
<Button
android:id="@+id/cancelErrorLogButton"
android:theme="@style/Button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_weight="1"
android:text="@string/error_log_exit" />
<android.support.v7.widget.AppCompatButton
android:id="@+id/sendErrorLogButton"
android:theme="@style/Button.Primary"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_weight="1"
android:text="@string/error_log_send" />
</LinearLayout>
</LinearLayout>
+70
View File
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2016 Andy Scherzinger
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/alternate_half_padding"
android:paddingBottom="@dimen/alternate_half_padding"
android:paddingLeft="@dimen/standard_padding">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/buttonBar"
android:layout_alignParentLeft="true"
android:layout_alignTop="@+id/buttonBar"
android:layout_toLeftOf="@+id/buttonBar"
android:ellipsize="middle"
android:gravity="start|center_vertical"
android:text="Header Text"
android:textColor="?android:textColorPrimary"
android:textStyle="bold"/>
<LinearLayout
android:id="@+id/buttonBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true">
<ImageButton
android:id="@+id/syncStatusButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/transparent"
android:clickable="true"
android:padding="@dimen/standard_half_padding"
android:src="@drawable/ic_cloud_sync_off"/>
<ImageButton
android:id="@+id/settingsButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/transparent"
android:clickable="true"
android:paddingBottom="@dimen/standard_half_padding"
android:paddingLeft="@dimen/standard_half_padding"
android:paddingRight="@dimen/standard_padding"
android:paddingTop="@dimen/standard_half_padding"
android:src="@drawable/ic_dots_vertical"/>
</LinearLayout>
</RelativeLayout>
+98
View File
@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2016 Andy Scherzinger
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<android.support.v4.widget.DrawerLayout android:id="@+id/drawer_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="true"
android:fitsSystemWindows="true">
<!-- The main content view -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include
layout="@layout/toolbar_standard"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
android:visibility="visible"
android:layout_marginRight="-3dp"
android:layout_marginLeft="-3dp"
android:layout_marginBottom="-3dp"/>
<LinearLayout
android:id="@android:id/progress"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical"
android:visibility="gone">
<ProgressBar
android:id="@+id/folderSyncProgressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"/>
<TextView
android:id="@+id/progressText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="@dimen/standard_half_margin"
android:text="@string/folder_sync_loading_folders"
android:textColor="@color/secondaryTextColor"
android:textStyle="italic"/>
</LinearLayout>
<TextView
android:id="@android:id/empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="@dimen/standard_margin"
android:gravity="center"
android:textColor="@color/secondaryTextColor"
android:text="@string/folder_sync_no_results"
android:visibility="gone" />
</FrameLayout>
</LinearLayout>
<include
layout="@layout/drawer"
android:layout_width="240dp"
android:layout_height="match_parent"
android:layout_gravity="start"/>
</android.support.v4.widget.DrawerLayout>
+331
View File
@@ -0,0 +1,331 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2016 Andy Scherzinger
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout android:id="@+id/root"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:padding="@dimen/standard_padding">
<LinearLayout
android:id="@+id/top_title"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingBottom="@dimen/standard_padding"
android:paddingTop="@dimen/standard_padding"
android:orientation="vertical">
<TextView
android:id="@+id/folder_sync_settings_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/folder_sync_preferences"
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
<TextView
android:id="@+id/folder_sync_settings_local_folder_path"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="middle"
android:maxLines="2"
android:text="@string/folder_sync_preferences_folder_path"
android:textColor="?android:attr/textColorSecondary"/>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="end|top"
android:orientation="vertical"
android:paddingTop="@dimen/standard_padding"
android:paddingLeft="@dimen/standard_padding">
<android.support.v7.widget.SwitchCompat
android:id="@+id/sync_enabled"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:focusable="false"/>
</LinearLayout>
</LinearLayout>
<ScrollView
android:id="@+id/details_scroll"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:id="@+id/remote_folder_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:baselineAligned="false"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:orientation="vertical"
android:paddingBottom="@dimen/standard_padding"
android:paddingTop="@dimen/standard_padding">
<TextView
android:id="@+id/remote_folder_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:text="@string/prefs_folder_sync_remote_path_title"
android:textAppearance="?attr/textAppearanceListItem"/>
<TextView
android:id="@+id/remote_folder_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="middle"
android:maxLines="2"
android:text="@string/placeholder_filename"
android:textColor="?android:attr/textColorSecondary"/>
</LinearLayout>
<LinearLayout
android:id="@+id/setting_instant_upload_on_wifi_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:baselineAligned="false"
android:clipToPadding="false"
android:gravity="center_vertical"
android:minHeight="?attr/listPreferredItemHeightSmall">
<RelativeLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingBottom="@dimen/standard_padding"
android:paddingTop="@dimen/standard_padding">
<TextView
android:id="@+id/setting_instant_upload_on_wifi_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:maxLines="1"
android:text="@string/instant_upload_on_wifi"
android:textAppearance="?attr/textAppearanceListItem"/>
</RelativeLayout>
<LinearLayout
android:id="@+id/setting_instant_upload_on_wifi_frame"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="end|center_vertical"
android:orientation="vertical"
android:paddingLeft="@dimen/standard_padding">
<android.support.v7.widget.AppCompatCheckBox
android:id="@+id/setting_instant_upload_on_wifi_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:focusable="false"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/setting_instant_upload_on_charging_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:baselineAligned="false"
android:clipToPadding="false"
android:gravity="center_vertical"
android:minHeight="?attr/listPreferredItemHeightSmall">
<RelativeLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingBottom="@dimen/standard_padding"
android:paddingTop="@dimen/standard_padding">
<TextView
android:id="@+id/setting_instant_upload_on_charging_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:maxLines="1"
android:text="@string/instant_upload_on_charging"
android:textAppearance="?attr/textAppearanceListItem"/>
</RelativeLayout>
<LinearLayout
android:id="@+id/setting_instant_upload_on_charging_frame"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="end|center_vertical"
android:orientation="vertical"
android:paddingLeft="@dimen/standard_padding">
<android.support.v7.widget.AppCompatCheckBox
android:id="@+id/setting_instant_upload_on_charging_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:focusable="false"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/setting_instant_upload_path_use_subfolders_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:baselineAligned="false"
android:clipToPadding="false"
android:gravity="center_vertical"
android:minHeight="?attr/listPreferredItemHeightSmall">
<RelativeLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingBottom="@dimen/standard_padding"
android:paddingTop="@dimen/standard_padding">
<TextView
android:id="@+id/setting_instant_upload_path_use_subfolders_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:maxLines="1"
android:text="@string/prefs_instant_upload_path_use_subfolders_title"
android:textAppearance="?attr/textAppearanceListItem"/>
<TextView
android:id="@+id/setting_instant_upload_path_use_subfolders_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@id/setting_instant_upload_path_use_subfolders_label"
android:layout_below="@id/setting_instant_upload_path_use_subfolders_label"
android:ellipsize="end"
android:maxLines="2"
android:text="@string/prefs_instant_upload_path_use_subfolders_summary"
android:textColor="?android:attr/textColorSecondary"/>
</RelativeLayout>
<!-- Preference should place its actual preference widget here. -->
<LinearLayout
android:id="@+id/setting_instant_upload_path_use_subfolders_frame"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="end|center_vertical"
android:orientation="vertical"
android:paddingLeft="@dimen/standard_padding">
<android.support.v7.widget.AppCompatCheckBox
android:id="@+id/setting_instant_upload_path_use_subfolders_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:focusable="false"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/setting_instant_behaviour_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:baselineAligned="false"
android:clipToPadding="false"
android:gravity="center_vertical"
android:minHeight="?attr/listPreferredItemHeightSmall"
android:orientation="vertical"
android:paddingBottom="@dimen/standard_padding"
android:paddingTop="@dimen/standard_padding">
<TextView
android:id="@+id/setting_instant_behaviour_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:maxLines="1"
android:text="@string/prefs_instant_behaviour_title"
android:textAppearance="?attr/textAppearanceListItem"/>
<TextView
android:id="@+id/setting_instant_behaviour_summary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:text="@string/placeholder_filename"
android:textColor="?android:attr/textColorSecondary"/>
</LinearLayout>
</LinearLayout>
</ScrollView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="right">
<android.support.v7.widget.AppCompatButton
android:id="@+id/cancel"
style="@style/Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/common_cancel"/>
<android.support.v7.widget.AppCompatButton
android:id="@+id/save"
style="@style/Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/common_save"/>
</LinearLayout>
</LinearLayout>
+77
View File
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2016 Andy Scherzinger
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout android:id="@+id/grid_item_container"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:background="@drawable/list_selector"
android:gravity="center_horizontal"
android:orientation="vertical">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.owncloud.android.ui.SquareImageView
android:id="@+id/thumbnail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/ic_menu_archive"/>
<ImageView
android:id="@+id/thumbnailDarkener"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:background="#99000000"/>
<LinearLayout
android:id="@+id/counterLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:gravity="center_horizontal"
android:orientation="horizontal">
<TextView
android:id="@+id/next"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="+"
android:textColor="#bcbcbc"
android:textSize="22dp"
android:textStyle="bold"/>
<TextView
android:id="@+id/counter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@android:drawable/checkbox_off_background"
android:text="127"
android:textColor="#ffffff"
android:textSize="22dp"
android:textStyle="bold"/>
</LinearLayout>
</FrameLayout>
</LinearLayout>
+90
View File
@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2015-2016 Bartosz Przybylski
Copyright (C) 2015 ownCloud Inc.
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:weightSum="100">
<TextView
android:id="@+id/welcomeText"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_margin="5dp"
android:layout_weight="10"
android:gravity="center"
android:text="@string/placeholder_sentence"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@color/login_text_hint_color"/>
<android.support.v4.view.ViewPager
android:id="@+id/contentPanel"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="80">
</android.support.v4.view.ViewPager>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginBottom="@dimen/standard_margin"
android:layout_marginLeft="@dimen/standard_margin"
android:layout_marginRight="@dimen/standard_margin"
android:layout_weight="10"
android:orientation="horizontal"
android:weightSum="3">
<android.support.v7.widget.AppCompatButton
android:id="@+id/skip"
style="@style/Button.Borderless.Login"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_weight="1"
android:text="@string/whats_new_skip"/>
<com.owncloud.android.ui.whatsnew.ProgressIndicator
android:id="@+id/progressIndicator"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_weight="1">
</com.owncloud.android.ui.whatsnew.ProgressIndicator>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:orientation="vertical">
<ImageButton
android:id="@+id/forward"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="@dimen/standard_padding"
android:src="@drawable/arrow_right"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
+56
View File
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2015-2016 Bartosz Przybylski
Copyright (C) 2015 ownCloud Inc.
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="100">
<ImageView
android:layout_width="wrap_content"
android:layout_height="0dp"
android:id="@+id/whatsNewImage"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="10dp"
android:layout_weight="50"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/NextcloudTextAppearanceHeadline"
android:textColor="@color/white"
android:textStyle="bold"
android:text="@string/placeholder_sentence"
android:id="@+id/whatsNewTitle"
android:layout_gravity="center_horizontal"
android:gravity="center"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/NextcloudTextAppearanceMedium"
android:textColor="@color/login_text_hint_color"
android:text="@string/placeholder_sentence"
android:id="@+id/whatsNewText"
android:layout_margin="@dimen/standard_margin"
android:layout_gravity="center_horizontal"
android:gravity="center"/>
</LinearLayout>
+5
View File
@@ -37,6 +37,11 @@
android:id="@+id/nav_uploads"
android:icon="@drawable/ic_uploads"
android:title="@string/drawer_item_uploads_list"/>
<item
android:orderInCategory="0"
android:id="@+id/nav_folder_sync"
android:icon="@drawable/ic_cloud_upload"
android:title="@string/drawer_folder_sync"/>
</group>
<!--
+7
View File
@@ -29,6 +29,13 @@
app:showAsAction="never"
android:showAsAction="never"
android:orderInCategory="1" />
<item
android:id="@+id/action_stream_file"
android:title="@string/action_stream_file"
android:icon="@drawable/ic_view"
app:showAsAction="never"
android:showAsAction="never"
android:orderInCategory="1" />
<item
android:id="@+id/action_open_file_with"
android:title="@string/actionbar_open_with"
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: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 38 KiB

+1
View File
@@ -22,4 +22,5 @@
<dimen name="nav_drawer_header_avatar">64dp</dimen>
<!-- avatar radius needs to 1/2 of the avatar dp value -->
<dimen name="nav_drawer_header_avatar_radius">32dp</dimen>
<integer name="media_grid_width">4</integer>
</resources>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Nextcloud Android client application
Copyright (C) 2016 Andy Scherzinger
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources>
<integer name="media_grid_width">6</integer>
</resources>
+3 -3
View File
@@ -16,9 +16,9 @@
</string-array>
<string-array name="pref_behaviour_entryValues" translatable="false">
<item>NOTHING</item>
<item>MOVE</item>
<item>DELETE</item>
<item>LOCAL_BEHAVIOUR_FORGET</item>
<item>LOCAL_BEHAVIOUR_MOVE</item>
<item>LOCAL_BEHAVIOUR_DELETE</item>
</string-array>
<string-array name="upload_files_behaviour" translatable="false">
+2
View File
@@ -99,4 +99,6 @@
<dimen name="upload_list_item_text_size_independent">12dip</dimen>
<dimen name="upload_list_item_image_size">35dp</dimen>
<dimen name="uploader_list_item_layout_image_margin">12dp</dimen>
<dimen name="media_grid_spacing">2dp</dimen>
<integer name="media_grid_width">4</integer>
</resources>
+17 -9
View File
@@ -1,23 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Beta indicator -->
<bool name="is_beta">false</bool>
<!-- App name and other strings-->
<string name="app_name">Nextcloud</string>
<string name="account_type">nextcloud</string> <!-- better if was a domain name; but changing it now would require migrate accounts when the app is updated -->
<string name="authority">org.nextcloud</string> <!-- better if was the app package with ".provider" appended ; it identifies the provider -->
<string name="document_provider_authority">org.nextcloud.documents</string>
<string name="file_provider_authority">org.nextcloud.files</string>
<string name="app_name">Nextcloud beta</string>
<string name="account_type">nextcloud.beta</string> <!-- better if was a domain name; but changing it now would require
migrate accounts when the app is updated -->
<string name="authority">org.nextcloud.beta.provider</string> <!-- better if was the app package with ".provider" appended ; it identifies the provider -->
<string name="authorityCache">org.nextcloud.beta.imageCache.provider</string>
<string name="authoritySearch">org.nextcloud.beta.android.providers.UsersAndGroupsSearchProvider</string>
<string name="document_provider_authority">org.nextcloud.beta.documents</string>
<string name="file_provider_authority">org.nextcloud.beta.files</string>
<string name ="db_file">nextcloud.db</string>
<string name ="db_name">nextcloud</string>
<string name ="data_folder">nextcloud</string>
<string name ="log_name">nextcloud</string>
<string name ="log_name">beta</string>
<string name ="default_display_name_for_root_folder">Nextcloud</string>
<string name ="user_agent">Mozilla/5.0 (Android) ownCloud-android/%1$s</string>
<string name ="user_agent">Mozilla/5.0 (Android) nextcloud-android/%1$s</string>
<!-- URLs and flags related -->
<string name="server_url"></string>
<bool name="show_server_url_input">true</bool>
<bool name="show_welcome_link">true</bool>
<string name="welcome_link_url">"https://nextcloud.com"</string>
<string name="welcome_link_url">"https://nextcloud.com/mobile/new"</string>
<string name="share_api_link"></string>
<!-- Flags to setup the authentication methods available in the app -->
@@ -61,8 +67,10 @@
<bool name="imprint_enabled">false</bool>
<bool name="recommend_enabled">true</bool>
<bool name="feedback_enabled">true</bool>
<bool name="logger_enabled">false</bool>
<bool name="logger_enabled">true</bool>
<string name="url_help">https://help.nextcloud.com/c/feature</string>
<string name="beta_link">https://github.com/nextcloud/android/raw/beta/apks/nextcloud-beta-</string>
<string name="beta_latest">https://github.com/nextcloud/android/raw/beta/apks/latest</string>
<string name="url_imprint"></string>
<string name="mail_recommend">"mailto:"</string>
<string name="mail_feedback">"mailto:[email protected]"</string>
+43 -1
View File
@@ -106,6 +106,7 @@
<string name="common_cancel_sync">Cancel sync</string>
<string name="common_cancel">Cancel</string>
<string name="common_back">Back</string>
<string name="common_save">Save</string>
<string name="common_save_exit">Save &amp; exit</string>
<string name="common_error">Error</string>
<string name="common_loading">Loading &#8230;</string>
@@ -314,8 +315,16 @@
<string name="preview_image_description">Image preview</string>
<string name="preview_image_error_unknown_format">This image cannot be shown</string>
<string name="error_log_exit">Exit</string>
<string name="error_log_send">Send Log</string>
<string name="error_log_title">Error Log</string>
<string name="error__upload__local_file_not_copied">%1$s could not be copied to %2$s local folder</string>
<string name="prefs_instant_upload_path_title">Instant upload folder</string>
<string name="prefs_folder_sync_local_path_title">Local folder</string>
<string name="prefs_folder_sync_remote_path_title">Remote folder</string>
<string name="prefs_instant_upload_account">Account</string>
<string name="prefs_instant_upload_path">Path</string>
<string name="prefs_instant_upload_path_use_subfolders_title">Use subfolders</string>
<string name="prefs_instant_upload_path_use_subfolders_summary">Store in subfolders based on year and month</string>
@@ -344,7 +353,7 @@
<string name="network_error_socket_timeout_exception">An error occurred while waiting for the server; the operation couldn\'t be completed</string>
<string name="network_error_connect_timeout_exception">An error occurred while waiting for the server; the operation couldn\'t be completed</string>
<string name="network_host_not_available">The operation couldn\'t be completed; server is unavailable</string>
<string name="empty" />
<string name="empty" translatable="false" />
<string name="forbidden_permissions">You do not have permission %s</string>
<string name="forbidden_permissions_rename">to rename this file</string>
@@ -441,12 +450,17 @@
<string name="upload_move_files">Move file</string>
<string name="select_all">Select all</string>
<string name="action_stream_file">Stream file with external player</string>
<string name="stream_expose_password">Do you want to stream this file with an external app?\n\nCAUTION: This may expose your password locally on the display!</string>
<string name="pref_behaviour_entries_keep_file">kept in original folder</string>
<string name="pref_behaviour_entries_move">moved to app folder</string>
<string name="pref_behaviour_entries_delete_file">deleted</string>
<string name="prefs_storage_path">Storage path</string>
<string name="prefs_common">Common</string>
<string name="pref_cache_size">Cache size</string>
<string name="share_dialog_title">Sharing</string>
<string name="share_file">Share %1$s</string>
<string name="share_with_user_section_title">Share with users and groups</string>
@@ -478,6 +492,7 @@
<string name="share_privilege_can_edit_delete">delete</string>
<string name="edit_share_unshare">Stop sharing</string>
<string name="edit_share_done">done</string>
<string name="changelog">https://github.com/nextcloud/android/raw/beta/CHANGELOG.md</string>
<string name="action_retry_uploads">Retry failed</string>
<string name="action_clear_failed_uploads">Clear failed</string>
@@ -500,6 +515,7 @@
<string name="actionbar_search">Search</string>
<string name="files_drop_not_supported">This is a Nextcloud feature, please update.</string>
<string name="learn_more">Learn more</string>
<string name="drawer_folder_sync">Auto upload</string>
<string name="drawer_participate">Participate</string>
<string name="participate_testing_headline">Help us testing</string>
<string name="participate_testing_bug_text">Found a bug? Something is odd?</string>
@@ -518,6 +534,13 @@
<string name="participate_contribute_github_text">Contribute as a developer, see &lt;a href="https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md">CONTRIBUTING.md&lt;/a> for details</string>
<string name="move_to">Move to&#8230;</string>
<string name="copy_to">Copy to&#8230;</string>
<string name="choose_remote_folder">Choose folder&#8230;</string>
<string name="folder_sync_loading_folders">Loading folders&#8230;</string>
<string name="folder_sync_no_results">No media folders found.</string>
<string name="folder_sync_preferences">Auto upload preferences</string>
<string name="folder_sync_settings">Settings</string>
<string name="folder_sync_new_info">Instant upload has been revamped completely. Please see the main menu and re-configure your auto upload. Sorry for the inconvenience.\n\nEnjoy the new and extended auto upload capabilities!</string>
<string name="folder_sync_preferences_folder_path">For %1$s</string>
<plurals name="items_selected_count">
<!--
As a developer, you should always supply "one" and "other"
@@ -533,5 +556,24 @@
<string name="storage_description_default">Default</string>
<string name="storage_description_sd_no">SD card %1$d</string>
<string name="storage_description_unknown">Unknown</string>
<string name="prefs_category_beta">Beta</string>
<!-- What's new feature and texts to show -->
<string name="whats_new_title">What\'s new in Nextcloud</string>
<!-- Welcome to oC intro features -->
<string name="welcome_feature_1_title">Instant upload</string>
<string name="welcome_feature_1_text">Keep your photos safe</string>
<string name="welcome_feature_2_title">Manage all your files</string>
<string name="welcome_feature_2_text">You can delete, move</string>
<string name="welcome_feature_3_title">Share</string>
<string name="welcome_feature_3_text">You can share files and folders</string>
<string name="welcome_feature_4_title">MultiAccount</string>
<string name="welcome_feature_4_text">Connect to all your clouds</string>
<string name="welcome_feature_5_title">Your private files synced anywhere</string>
<string name="whats_new_skip">Skip</string>
</resources>
+14
View File
@@ -113,6 +113,10 @@
<item name="android:textColor">@color/color_accent</item>
</style>
<style name="Button.Borderless.Login" parent="Base.Widget.AppCompat.Button.Borderless">
<item name="android:textColor">@color/white</item>
</style>
<!-- separat translucent action bar style -->
<style name="Theme.ownCloud.Overlay" parent="style/Theme.ownCloud">
<item name="android:actionBarStyle">@style/Theme.ownCloud.Overlay.ActionBar</item>
@@ -277,4 +281,14 @@
</style>
<style name="Theme.ownCloud.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="Theme.ownCloud.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
<!-- Text styles -->
<style name="NextcloudTextAppearanceHeadline" parent="style/TextAppearance.AppCompat.Headline">
<item name="android:textSize">28sp</item>
<item name="android:textColor">#000000</item>
</style>
<style name="NextcloudTextAppearanceMedium" parent="style/TextAppearance.AppCompat.Medium">
</style>
<style name="NextcloudTextAppearanceSmall" parent="style/TextAppearance.AppCompat.Small">
</style>
</resources>
+16 -3
View File
@@ -28,7 +28,7 @@
<com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:key="instant_uploading"
android:title="@string/prefs_instant_upload"
android:summary="@string/prefs_instant_upload_summary"/>
<com.owncloud.android.ui.PreferenceWithLongSummary
<com.owncloud.android.ui.PreferenceWithTwoLineLongSummary
android:title="@string/prefs_instant_upload_path_title"
android:key="instant_upload_path" />
<com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
@@ -36,8 +36,6 @@
android:summary="@string/prefs_instant_upload_path_use_subfolders_summary"
android:key="instant_upload_path_use_subfolders" />
<com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
android:dependency="instant_uploading"
android:disableDependentsState="true"
android:title="@string/instant_upload_on_wifi"
android:key="instant_upload_on_wifi"/>
<com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
@@ -81,6 +79,10 @@
<PreferenceCategory android:title="@string/prefs_category_details">
<android.preference.CheckBoxPreference android:title="@string/prefs_passcode" android:key="set_pincode" />
<android.preference.CheckBoxPreference android:title="@string/prefs_show_hidden_files" android:key="show_hidden_files" />
<EditTextPreference android:title="@string/pref_cache_size"
android:key="pref_cache_size"
android:digits="0123456789"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
@@ -95,4 +97,15 @@
<Preference android:title="@string/about_title" android:id="@+id/about_app" android:key="about_app" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/prefs_category_beta" android:key="beta_category">
<Preference android:id="@+id/beta_link"
android:title="Download latest beta version"
android:key="beta_link" />
<Preference android:id="@+id/changelog_link"
android:title="Changelog beta version"
android:key="changelog_link" />
</PreferenceCategory>
</PreferenceScreen>
+2 -2
View File
@@ -22,7 +22,7 @@
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
android:label="@string/app_name"
android:hint="@string/search_users_and_groups_hint"
android:searchSuggestAuthority="com.nextcloud.android.providers.UsersAndGroupsSearchProvider"
android:searchSuggestIntentAction="com.nextcloud.android.providers.UsersAndGroupsSearchProvider.action.SHARE_WITH"
android:searchSuggestAuthority="org.nextcloud.beta.android.providers.UsersAndGroupsSearchProvider"
android:searchSuggestIntentAction="org.nextcloud.beta.android.providers.UsersAndGroupsSearchProvider.action.SHARE_WITH"
android:searchSuggestThreshold="1" >
</searchable>
@@ -0,0 +1,184 @@
/**
* Copyright 2016 Aidan Follestad
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
package com.afollestad.sectionedrecyclerview;
import android.support.annotation.IntRange;
import android.support.annotation.Nullable;
import android.support.v4.util.ArrayMap;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.view.ViewGroup;
import java.util.List;
/**
* @author Aidan Follestad (afollestad)
*/
public abstract class SectionedRecyclerViewAdapter<VH extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<VH> {
protected final static int VIEW_TYPE_HEADER = -2;
protected final static int VIEW_TYPE_ITEM = -1;
private final ArrayMap<Integer, Integer> mHeaderLocationMap;
private GridLayoutManager mLayoutManager;
private ArrayMap<Integer, Integer> mSpanMap;
private boolean mShowHeadersForEmptySections;
public SectionedRecyclerViewAdapter() {
mHeaderLocationMap = new ArrayMap<>();
}
public abstract int getSectionCount();
public abstract int getItemCount(int section);
public abstract void onBindHeaderViewHolder(VH holder, int section);
public abstract void onBindViewHolder(VH holder, int section, int relativePosition, int absolutePosition);
public final boolean isHeader(int position) {
return mHeaderLocationMap.get(position) != null;
}
/**
* Instructs the list view adapter to whether show headers for empty sections or not.
*
* @param show flag indicating whether headers for empty sections ought to be shown.
*/
public final void shouldShowHeadersForEmptySections(boolean show) {
mShowHeadersForEmptySections = show;
}
public final void setLayoutManager(@Nullable GridLayoutManager lm) {
mLayoutManager = lm;
if (lm == null) return;
lm.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
@Override
public int getSpanSize(int position) {
if (isHeader(position))
return mLayoutManager.getSpanCount();
final int[] sectionAndPos = getSectionIndexAndRelativePosition(position);
final int absPos = position - (sectionAndPos[0] + 1);
return getRowSpan(mLayoutManager.getSpanCount(),
sectionAndPos[0], sectionAndPos[1], absPos);
}
});
}
@SuppressWarnings("UnusedParameters")
protected int getRowSpan(int fullSpanSize, int section, int relativePosition, int absolutePosition) {
return 1;
}
// returns section along with offsetted position
private int[] getSectionIndexAndRelativePosition(int itemPosition) {
synchronized (mHeaderLocationMap) {
Integer lastSectionIndex = -1;
for (final Integer sectionIndex : mHeaderLocationMap.keySet()) {
if (itemPosition > sectionIndex) {
lastSectionIndex = sectionIndex;
} else {
break;
}
}
return new int[]{mHeaderLocationMap.get(lastSectionIndex), itemPosition - lastSectionIndex - 1};
}
}
@Override
public final int getItemCount() {
int count = 0;
mHeaderLocationMap.clear();
for (int s = 0; s < getSectionCount(); s++) {
int itemCount = getItemCount(s);
if (mShowHeadersForEmptySections || (itemCount > 0)) {
mHeaderLocationMap.put(count, s);
count += itemCount + 1;
}
}
return count;
}
/**
* @hide
* @deprecated
*/
@Override
@Deprecated
public final int getItemViewType(int position) {
if (isHeader(position)) {
return getHeaderViewType(mHeaderLocationMap.get(position));
} else {
final int[] sectionAndPos = getSectionIndexAndRelativePosition(position);
return getItemViewType(sectionAndPos[0],
// offset section view positions
sectionAndPos[1],
position - (sectionAndPos[0] + 1));
}
}
@SuppressWarnings("UnusedParameters")
@IntRange(from = 0, to = Integer.MAX_VALUE)
public int getHeaderViewType(int section) {
//noinspection ResourceType
return VIEW_TYPE_HEADER;
}
@SuppressWarnings("UnusedParameters")
@IntRange(from = 0, to = Integer.MAX_VALUE)
public int getItemViewType(int section, int relativePosition, int absolutePosition) {
//noinspection ResourceType
return VIEW_TYPE_ITEM;
}
/**
* @hide
* @deprecated
*/
@Override
@Deprecated
public final void onBindViewHolder(VH holder, int position) {
StaggeredGridLayoutManager.LayoutParams layoutParams = null;
if (holder.itemView.getLayoutParams() instanceof GridLayoutManager.LayoutParams)
layoutParams = new StaggeredGridLayoutManager.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
else if (holder.itemView.getLayoutParams() instanceof StaggeredGridLayoutManager.LayoutParams)
layoutParams = (StaggeredGridLayoutManager.LayoutParams) holder.itemView.getLayoutParams();
if (isHeader(position)) {
if (layoutParams != null) layoutParams.setFullSpan(true);
onBindHeaderViewHolder(holder, mHeaderLocationMap.get(position));
} else {
if (layoutParams != null) layoutParams.setFullSpan(false);
final int[] sectionAndPos = getSectionIndexAndRelativePosition(position);
final int absPos = position - (sectionAndPos[0] + 1);
onBindViewHolder(holder, sectionAndPos[0],
// offset section view positions
sectionAndPos[1], absPos);
}
if (layoutParams != null)
holder.itemView.setLayoutParams(layoutParams);
}
/**
* @hide
* @deprecated
*/
@Deprecated
@Override
public final void onBindViewHolder(VH holder, int position, List<Object> payloads) {
super.onBindViewHolder(holder, position, payloads);
}
}
+68 -14
View File
@@ -22,12 +22,16 @@ package com.owncloud.android;
import android.app.Activity;
import android.app.Application;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.os.Environment;
import android.os.IBinder;
import android.preference.PreferenceManager;
import com.owncloud.android.authentication.PassCodeManager;
@@ -35,7 +39,12 @@ import com.owncloud.android.datamodel.ThumbnailsCacheManager;
import com.owncloud.android.lib.common.OwnCloudClientManagerFactory;
import com.owncloud.android.lib.common.OwnCloudClientManagerFactory.Policy;
import com.owncloud.android.lib.common.utils.Log_OC;
import com.owncloud.android.services.observer.SyncedFolderObserverService;
import com.owncloud.android.ui.activity.Preferences;
import com.owncloud.android.ui.activity.WhatsNewActivity;
import com.owncloud.android.utils.ExceptionHandler;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
/**
@@ -61,15 +70,23 @@ public class MainApp extends Application {
private static boolean mOnlyOnDevice = false;
private static SyncedFolderObserverService mObserverService;
private boolean mBound;
@SuppressFBWarnings("ST")
public void onCreate(){
super.onCreate();
MainApp.mContext = getApplicationContext();
// Setup handler for uncaught exceptions.
Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this));
SharedPreferences appPrefs =
PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
MainApp.storagePath = appPrefs.getString(Preferences.Keys.STORAGE_PATH, Environment.
getExternalStorageDirectory().getAbsolutePath());
MainApp.storagePath = appPrefs.getString(Preferences.PreferenceKeys.STORAGE_PATH, Environment.
getExternalStorageDirectory().getAbsolutePath());
boolean isSamlAuth = AUTH_ON.equals(getString(R.string.auth_method_saml_web_sso));
@@ -82,17 +99,20 @@ public class MainApp extends Application {
// initialise thumbnails cache on background thread
new ThumbnailsCacheManager.InitDiskCacheTask().execute();
if (BuildConfig.DEBUG) {
String dataFolder = getDataFolder();
// Set folder for store logs
Log_OC.setLogDataFolder(dataFolder);
String dataFolder = getDataFolder() + getAppContext().getResources().getString(R.string.log_name);
Log_OC.startLogging(MainApp.storagePath);
Log_OC.d("Debug", "start logging");
}
// Set folder for store logs
Log_OC.setLogDataFolder(dataFolder);
Log_OC.startLogging(MainApp.storagePath);
Log_OC.d("Debug", "start logging");
Log_OC.d("SyncedFolderObserverService", "Start service SyncedFolderObserverService");
Intent i = new Intent(this, SyncedFolderObserverService.class);
startService(i);
bindService(i, syncedFolderObserverServiceConnection, Context.BIND_AUTO_CREATE);
// register global protection with pass code
registerActivityLifecycleCallbacks( new ActivityLifecycleCallbacks() {
@@ -100,6 +120,7 @@ public class MainApp extends Application {
@Override
public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
Log_OC.d(activity.getClass().getSimpleName(), "onCreate(Bundle) starting" );
WhatsNewActivity.runIfNeeded(activity);
PassCodeManager.getPassCodeManager().onActivityCreated(activity);
}
@@ -122,6 +143,7 @@ public class MainApp extends Application {
@Override
public void onActivityStopped(Activity activity) {
Log_OC.d(activity.getClass().getSimpleName(), "onStop() ending" );
WhatsNewActivity.runIfNeeded(activity);
PassCodeManager.getPassCodeManager().onActivityStopped(activity);
}
@@ -149,14 +171,25 @@ public class MainApp extends Application {
MainApp.storagePath = path;
}
// Methods to obtain Strings referring app_name
// Methods to obtain Strings referring app_name
// From AccountAuthenticator
// public static final String ACCOUNT_TYPE = "owncloud";
public static String getAccountType() {
return getAppContext().getResources().getString(R.string.account_type);
}
// From AccountAuthenticator
// Non gradle build systems do not provide BuildConfig.VERSION_CODE
// so we must fallback to this method :(
public static int getVersionCode() {
try {
String thisPackageName = getAppContext().getPackageName();
return getAppContext().getPackageManager().getPackageInfo(thisPackageName, 0).versionCode;
} catch (PackageManager.NameNotFoundException e) {
return 0;
}
}
// From AccountAuthenticator
// public static final String AUTHORITY = "org.owncloud";
public static String getAuthority() {
return getAppContext().getResources().getString(R.string.authority);
@@ -196,10 +229,14 @@ public class MainApp extends Application {
mOnlyOnDevice = state;
}
public static boolean getOnlyOnDevice(){
public static boolean isOnlyOnDevice(){
return mOnlyOnDevice;
}
public static SyncedFolderObserverService getSyncedFolderObserverService() {
return mObserverService;
}
// user agent
public static String getUserAgent() {
String appString = getAppContext().getResources().getString(R.string.user_agent);
@@ -221,4 +258,21 @@ public class MainApp extends Application {
return userAgent;
}
/** Defines callbacks for service binding, passed to bindService() */
private ServiceConnection syncedFolderObserverServiceConnection = new ServiceConnection() {
@Override
public void onServiceConnected(ComponentName className, IBinder service) {
SyncedFolderObserverService.SyncedFolderObserverBinder binder = (SyncedFolderObserverService.SyncedFolderObserverBinder) service;
mObserverService = binder.getService();
mBound = true;
}
@Override
public void onServiceDisconnected(ComponentName arg0) {
mBound = false;
}
};
}
@@ -87,8 +87,7 @@ public class AccountAuthenticator extends AbstractAccountAuthenticator {
validateAccountType(accountType);
} catch (AuthenticatorException e) {
Log_OC.e(TAG, "Failed to validate account type " + accountType + ": "
+ e.getMessage());
e.printStackTrace();
+ e.getMessage(), e);
return e.getFailureBundle();
}
@@ -133,8 +132,7 @@ public class AccountAuthenticator extends AbstractAccountAuthenticator {
validateAccountType(account.type);
} catch (AuthenticatorException e) {
Log_OC.e(TAG, "Failed to validate account type " + account.type + ": "
+ e.getMessage());
e.printStackTrace();
+ e.getMessage(), e);
return e.getFailureBundle();
}
Intent intent = new Intent(mContext, AuthenticatorActivity.class);
@@ -169,8 +167,7 @@ public class AccountAuthenticator extends AbstractAccountAuthenticator {
validateAuthTokenType(authTokenType);
} catch (AuthenticatorException e) {
Log_OC.e(TAG, "Failed to validate account type " + account.type + ": "
+ e.getMessage());
e.printStackTrace();
+ e.getMessage(), e);
return e.getFailureBundle();
}
@@ -119,7 +119,7 @@ public class AccountUtils {
*/
public static String getAccountUsername(String accountName) {
if (accountName != null) {
return accountName.substring(0, accountName.lastIndexOf("@"));
return accountName.substring(0, accountName.lastIndexOf('@'));
} else {
return null;
}
@@ -135,8 +135,9 @@ public class AccountUtils {
Account[] ocAccounts = AccountManager.get(context).getAccountsByType(
MainApp.getAccountType());
for (Account account : ocAccounts) {
if(account.name.equals(accountName))
if(account.name.equals(accountName)) {
return account;
}
}
return null;
}
@@ -241,15 +242,13 @@ public class AccountUtils {
);
// copy type of authentication
String isSamlStr = accountMgr.getUserData(account, Constants.KEY_SUPPORTS_SAML_WEB_SSO);
boolean isSaml = "TRUE".equals(isSamlStr);
if (isSaml) {
final String isSamlStr = accountMgr.getUserData(account, Constants.KEY_SUPPORTS_SAML_WEB_SSO);
if (Boolean.parseBoolean(isSamlStr)) {
accountMgr.setUserData(newAccount, Constants.KEY_SUPPORTS_SAML_WEB_SSO, "TRUE");
}
String isOauthStr = accountMgr.getUserData(account, Constants.KEY_SUPPORTS_OAUTH2);
boolean isOAuth = "TRUE".equals(isOauthStr);
if (isOAuth) {
final String isOauthStr = accountMgr.getUserData(account, Constants.KEY_SUPPORTS_OAUTH2);
if (Boolean.parseBoolean(isOauthStr)) {
accountMgr.setUserData(newAccount, Constants.KEY_SUPPORTS_OAUTH2, "TRUE");
}
/* TODO - study if it's possible to run this method in a background thread to copy the authToken
@@ -332,4 +331,28 @@ public class AccountUtils {
}
return (serverVersion != null ? serverVersion.isSearchUsersSupported() : false);
}
/**
* Returns account for instant upload or null, if not defined.
* @return instant upload account or null
*/
public static Account getInstantUploadAccount(Context context) {
return getAccount(com.owncloud.android.db.PreferenceManager.instantPictureUploadPathAccount(context));
}
/**
* Returns account for instant video upload or null, if not defined.
* @return instant video upload account or null
*/
public static Account getInstantVideoUploadAccount(Context context) {
return getAccount(com.owncloud.android.db.PreferenceManager.instantVideoUploadPathAccount(context));
}
/**
* Returns account for given account name or null, if not defined.
* @return account named accountNam or null
*/
private static Account getAccount(String accountName) {
return getOwnCloudAccountByName(MainApp.getAppContext(), accountName);
}
}
@@ -91,7 +91,7 @@ import com.owncloud.android.ui.dialog.SamlWebViewDialog;
import com.owncloud.android.ui.dialog.SslUntrustedCertDialog;
import com.owncloud.android.ui.dialog.SslUntrustedCertDialog.OnSslUntrustedCertListener;
import com.owncloud.android.utils.DisplayUtils;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.security.cert.X509Certificate;
import java.util.Map;
@@ -142,6 +142,8 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
private static final String KEY_ASYNC_TASK_IN_PROGRESS = "AUTH_IN_PROGRESS";
public static final String PROTOCOL_SUFFIX = "://";
public static final String LOGIN_URL_DATA_KEY_VALUE_SEPARATOR = ":";
private static final String HTTPS_PROTOCOL = "https://";
private static final String HTTP_PROTOCOL = "http://";
/// parameters from EXTRAs in starter Intent
private byte mAction;
@@ -167,7 +169,6 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
private boolean mServerIsChecked = false;
private boolean mServerIsValid = false;
private boolean mPendingAutoCheck = false;
private GetServerInfoOperation.ServerInfo mServerInfo = new GetServerInfoOperation.ServerInfo();
@@ -408,11 +409,11 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
if (mAccount != null) {
mServerInfo.mBaseUrl = mAccountMgr.getUserData(mAccount, Constants.KEY_OC_BASE_URL);
// TODO do next in a setter for mBaseUrl
mServerInfo.mIsSslConn = mServerInfo.mBaseUrl.startsWith("https://");
mServerInfo.mIsSslConn = mServerInfo.mBaseUrl.startsWith(HTTPS_PROTOCOL);
mServerInfo.mVersion = AccountUtils.getServerVersion(mAccount);
} else {
mServerInfo.mBaseUrl = getString(R.string.server_url).trim();
mServerInfo.mIsSslConn = mServerInfo.mBaseUrl.startsWith("https://");
mServerInfo.mIsSslConn = mServerInfo.mBaseUrl.startsWith(HTTPS_PROTOCOL);
}
} else {
mServerStatusText = savedInstanceState.getInt(KEY_SERVER_STATUS_TEXT);
@@ -492,24 +493,16 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
findViewById(R.id.scroll).setOnTouchListener(new OnTouchListener() {
@Override
public boolean onTouch(View view, MotionEvent event) {
if (event.getAction() == MotionEvent.ACTION_DOWN) {
if (
AccountTypeUtils.getAuthTokenTypeSamlSessionCookie(
MainApp.getAccountType()
).equals(mAuthTokenType) &&
mHostUrlInput.hasFocus()
) {
checkOcServer();
}
if (event.getAction() == MotionEvent.ACTION_DOWN &&
AccountTypeUtils
.getAuthTokenTypeSamlSessionCookie(MainApp
.getAccountType()).equals(mAuthTokenType) &&
mHostUrlInput.hasFocus()) {
checkOcServer();
}
return false;
}
});
/// step 4 - mark automatic check to be started when OperationsService is ready
mPendingAutoCheck = (savedInstanceState == null &&
(mAction != ACTION_CREATE || checkHostUrl));
}
@@ -1127,8 +1120,9 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
}
}
if (success)
if (success) {
finish();
}
} else {
updateStatusIconFailUserName();
showAuthStatus();
@@ -1197,14 +1191,15 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
// TODO remove, if possible
private String normalizeUrl(String url, boolean sslWhenUnprefixed) {
if (url != null && url.length() > 0) {
url = url.trim();
if (!url.toLowerCase().startsWith("http://") &&
!url.toLowerCase().startsWith("https://")) {
if (!url.toLowerCase().startsWith(HTTP_PROTOCOL) &&
!url.toLowerCase().startsWith(HTTP_PROTOCOL)) {
if (sslWhenUnprefixed) {
url = "https://" + url;
url = HTTPS_PROTOCOL + url;
} else {
url = "http://" + url;
url = HTTP_PROTOCOL + url;
}
}
@@ -1259,7 +1254,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
case OK_NO_SSL:
case OK:
if (mHostUrlInput.getText().toString().trim().toLowerCase().startsWith("http://")) {
if (mHostUrlInput.getText().toString().trim().toLowerCase().startsWith(HTTP_PROTOCOL)) {
mServerStatusText = R.string.auth_connection_established;
mServerStatusIcon = R.drawable.ic_ok;
} else {
@@ -1340,7 +1335,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
case OK_NO_SSL:
case OK:
if (mHostUrlInput.getText().toString().trim().toLowerCase().startsWith("http://")) {
if (mHostUrlInput.getText().toString().trim().toLowerCase().startsWith(HTTP_PROTOCOL)) {
mAuthStatusText = R.string.auth_connection_established;
mAuthStatusIcon = R.drawable.ic_ok;
} else {
@@ -1576,6 +1571,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
*
* TODO Decide how to name the OAuth accounts
*/
@SuppressFBWarnings("DMI")
private boolean createAccount(RemoteOperationResult authResult) {
/// create and save new ownCloud account
boolean isOAuth = AccountTypeUtils.
@@ -1782,11 +1778,10 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
}
} else if (actionId == EditorInfo.IME_ACTION_NEXT && inputField != null &&
inputField.equals(mHostUrlInput)) {
if (AccountTypeUtils.getAuthTokenTypeSamlSessionCookie(MainApp.getAccountType()).
equals(mAuthTokenType)) {
inputField.equals(mHostUrlInput) &&
AccountTypeUtils.getAuthTokenTypeSamlSessionCookie(MainApp.getAccountType()).
equals(mAuthTokenType)) {
checkOcServer();
}
}
return false; // always return false to grant that the software keyboard is hidden anyway
}
@@ -1847,7 +1842,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
mAuthToken = sessionCookie;
getRemoteUserNameOperation(sessionCookie);
Fragment fd = getSupportFragmentManager().findFragmentByTag(SAML_DIALOG_TAG);
if (fd != null && fd instanceof DialogFragment) {
if (fd instanceof DialogFragment) {
Dialog d = ((DialogFragment) fd).getDialog();
if (d != null && d.isShowing()) {
d.dismiss();
@@ -1950,7 +1945,7 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
private void dismissDialog(String dialogTag) {
Fragment frag = getSupportFragmentManager().findFragmentByTag(dialogTag);
if (frag != null && frag instanceof DialogFragment) {
if (frag instanceof DialogFragment) {
DialogFragment dialog = (DialogFragment) frag;
dialog.dismiss();
}
@@ -40,8 +40,8 @@ import java.lang.ref.WeakReference;
*/
public class AuthenticatorAsyncTask extends AsyncTask<Object, Void, RemoteOperationResult> {
private static String REMOTE_PATH = "/";
private static boolean SUCCESS_IF_ABSENT = false;
private static final String REMOTE_PATH = "/";
private static final boolean SUCCESS_IF_ABSENT = false;
private Context mContext;
private final WeakReference<OnAuthenticatorTaskListener> mListener;
@@ -43,7 +43,7 @@ public class PassCodeManager {
// other activities may be exempted, if needed
}
private static int PASS_CODE_TIMEOUT = 1000;
private static final int PASS_CODE_TIMEOUT = 1000;
// keeping a "low" positive value is the easiest way to prevent the pass code is requested on rotations
public static PassCodeManager mPassCodeManagerInstance = null;
File diff suppressed because it is too large. Load diff
Loaded 100 of 223 files, more files were not shown because too many files have changed in this diff. Show more