Selaa lähdekoodia

Merge remote-tracking branch 'remotes/upstream/master' into sortAccents

tobiasKaminsky 9 vuotta sitten
vanhempi
commit
7579d3daf7
100 muutettua tiedostoa jossa 50 lisäystä ja 51 poistoa
  1. 0 1
      .gitmodules
  2. 28 40
      AndroidManifest.xml
  3. 18 0
      CHANGELOG.md
  4. 1 1
      SETUP.md
  5. 0 6
      build.gradle
  6. BIN
      doc/oCC2015_Android_workshop.odp
  7. 2 2
      oc_jb_workaround/AndroidManifest.xml
  8. 1 1
      owncloud-android-library
  9. BIN
      res/drawable-hdpi/file.png
  10. BIN
      res/drawable-hdpi/file_application.png
  11. BIN
      res/drawable-hdpi/file_calendar.png
  12. BIN
      res/drawable-hdpi/file_code.png
  13. BIN
      res/drawable-hdpi/file_doc.png
  14. BIN
      res/drawable-hdpi/file_image.png
  15. BIN
      res/drawable-hdpi/file_movie.png
  16. BIN
      res/drawable-hdpi/file_pdf.png
  17. BIN
      res/drawable-hdpi/file_ppt.png
  18. BIN
      res/drawable-hdpi/file_sound.png
  19. BIN
      res/drawable-hdpi/file_text.png
  20. BIN
      res/drawable-hdpi/file_vcard.png
  21. BIN
      res/drawable-hdpi/file_xls.png
  22. BIN
      res/drawable-hdpi/file_zip.png
  23. BIN
      res/drawable-hdpi/folder_external.png
  24. BIN
      res/drawable-hdpi/folder_public.png
  25. BIN
      res/drawable-hdpi/ic_menu_archive.png
  26. BIN
      res/drawable-hdpi/shared_with_me_folder.png
  27. BIN
      res/drawable-ldpi-v9/ic_action_download.png
  28. BIN
      res/drawable-ldpi-v9/ic_action_refresh.png
  29. BIN
      res/drawable-ldpi-v9/ic_action_settings.png
  30. BIN
      res/drawable-ldpi/common_error.png
  31. BIN
      res/drawable-ldpi/copy_link.png
  32. BIN
      res/drawable-ldpi/file.png
  33. BIN
      res/drawable-ldpi/file_doc.png
  34. BIN
      res/drawable-ldpi/file_image.png
  35. BIN
      res/drawable-ldpi/file_movie.png
  36. BIN
      res/drawable-ldpi/file_pdf.png
  37. BIN
      res/drawable-ldpi/file_ppt.png
  38. BIN
      res/drawable-ldpi/ic_action_create_dir.png
  39. BIN
      res/drawable-ldpi/ic_action_download.png
  40. BIN
      res/drawable-ldpi/ic_action_refresh.png
  41. BIN
      res/drawable-ldpi/ic_action_refresh_black.png
  42. BIN
      res/drawable-ldpi/ic_action_settings.png
  43. BIN
      res/drawable-ldpi/ic_action_upload.png
  44. BIN
      res/drawable-ldpi/icon.png
  45. BIN
      res/drawable-ldpi/image_fail.png
  46. BIN
      res/drawable-ldpi/winter_holidays_icon.png
  47. BIN
      res/drawable-mdpi/file.png
  48. BIN
      res/drawable-mdpi/file_application.png
  49. BIN
      res/drawable-mdpi/file_calendar.png
  50. BIN
      res/drawable-mdpi/file_code.png
  51. BIN
      res/drawable-mdpi/file_doc.png
  52. BIN
      res/drawable-mdpi/file_image.png
  53. BIN
      res/drawable-mdpi/file_movie.png
  54. BIN
      res/drawable-mdpi/file_pdf.png
  55. BIN
      res/drawable-mdpi/file_ppt.png
  56. BIN
      res/drawable-mdpi/file_sound.png
  57. BIN
      res/drawable-mdpi/file_text.png
  58. BIN
      res/drawable-mdpi/file_vcard.png
  59. BIN
      res/drawable-mdpi/file_xls.png
  60. BIN
      res/drawable-mdpi/file_zip.png
  61. BIN
      res/drawable-mdpi/folder_external.png
  62. BIN
      res/drawable-mdpi/folder_public.png
  63. BIN
      res/drawable-mdpi/ic_menu_archive.png
  64. BIN
      res/drawable-mdpi/shared_with_me_folder.png
  65. BIN
      res/drawable-xhdpi/file.png
  66. BIN
      res/drawable-xhdpi/file_application.png
  67. BIN
      res/drawable-xhdpi/file_calendar.png
  68. BIN
      res/drawable-xhdpi/file_code.png
  69. BIN
      res/drawable-xhdpi/file_doc.png
  70. BIN
      res/drawable-xhdpi/file_image.png
  71. BIN
      res/drawable-xhdpi/file_movie.png
  72. BIN
      res/drawable-xhdpi/file_pdf.png
  73. BIN
      res/drawable-xhdpi/file_ppt.png
  74. BIN
      res/drawable-xhdpi/file_sound.png
  75. BIN
      res/drawable-xhdpi/file_text.png
  76. BIN
      res/drawable-xhdpi/file_vcard.png
  77. BIN
      res/drawable-xhdpi/file_xls.png
  78. BIN
      res/drawable-xhdpi/file_zip.png
  79. BIN
      res/drawable-xhdpi/folder_external.png
  80. BIN
      res/drawable-xhdpi/folder_public.png
  81. BIN
      res/drawable-xhdpi/ic_menu_archive.png
  82. BIN
      res/drawable-xhdpi/shared_with_me_folder.png
  83. BIN
      res/drawable-xxhdpi/file.png
  84. BIN
      res/drawable-xxhdpi/file_application.png
  85. BIN
      res/drawable-xxhdpi/file_calendar.png
  86. BIN
      res/drawable-xxhdpi/file_code.png
  87. BIN
      res/drawable-xxhdpi/file_doc.png
  88. BIN
      res/drawable-xxhdpi/file_image.png
  89. BIN
      res/drawable-xxhdpi/file_movie.png
  90. BIN
      res/drawable-xxhdpi/file_pdf.png
  91. BIN
      res/drawable-xxhdpi/file_ppt.png
  92. BIN
      res/drawable-xxhdpi/file_sound.png
  93. BIN
      res/drawable-xxhdpi/file_text.png
  94. BIN
      res/drawable-xxhdpi/file_vcard.png
  95. BIN
      res/drawable-xxhdpi/file_xls.png
  96. BIN
      res/drawable-xxhdpi/file_zip.png
  97. BIN
      res/drawable-xxhdpi/folder_external.png
  98. BIN
      res/drawable-xxhdpi/folder_public.png
  99. BIN
      res/drawable-xxhdpi/ic_menu_archive.png
  100. BIN
      res/drawable-xxhdpi/shared_with_me_folder.png

+ 0 - 1
.gitmodules

@@ -1,4 +1,3 @@
-
 [submodule "owncloud-android-library"]
 	path = owncloud-android-library
 	url = git://github.com/owncloud/android-library.git

+ 28 - 40
AndroidManifest.xml

@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- 
+<?xml version="1.0" encoding="utf-8"?><!--
   ownCloud Android client application
 
   Copyright (C) 2012  Bartek Przybylski
@@ -18,8 +17,8 @@
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->
 <manifest package="com.owncloud.android"
-    android:versionCode="10700200"
-    android:versionName="1.7.2" xmlns:android="http://schemas.android.com/apk/res/android">
+    android:versionCode="10800000"
+    android:versionName="1.8.0" xmlns:android="http://schemas.android.com/apk/res/android">
 
     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
     <uses-permission android:name="android.permission.USE_CREDENTIALS" />
@@ -39,47 +38,38 @@
         android:minSdkVersion="14"
         android:targetSdkVersion="22" />
 
-    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" >
-    </uses-permission>
+    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
 
     <application
         android:name=".MainApp"
         android:icon="@drawable/icon"
         android:label="@string/app_name"
-        android:theme="@style/Theme.ownCloud"> 
+        android:theme="@style/Theme.ownCloud">
         <activity
             android:name=".ui.activity.FileDisplayActivity"
-            android:label="@string/app_name"
-            >
+            android:label="@string/app_name">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
-        <activity android:name=".ui.activity.UploadFilesActivity">
-        </activity>
-        <activity android:name=".ui.activity.Uploader" >
+        <activity android:name=".ui.activity.UploadFilesActivity"></activity>
+        <activity android:name=".ui.activity.Uploader">
             <intent-filter>
-                <action android:name="android.intent.action.SEND" >
-                </action>
+                <action android:name="android.intent.action.SEND"></action>
 
-                <category android:name="android.intent.category.DEFAULT" >
-                </category>
+                <category android:name="android.intent.category.DEFAULT"></category>
 
-                <data android:mimeType="*/*" >
-                </data>
+                <data android:mimeType="*/*"></data>
             </intent-filter>
             <intent-filter>
-                <action android:name="android.intent.action.SEND_MULTIPLE" >
-                </action>
+                <action android:name="android.intent.action.SEND_MULTIPLE"></action>
 
-                <category android:name="android.intent.category.DEFAULT" >
-                </category>
+                <category android:name="android.intent.category.DEFAULT"></category>
 
-                <data android:mimeType="*/*" >
-                </data>
+                <data android:mimeType="*/*"></data>
 
-			</intent-filter>
+            </intent-filter>
         </activity>
         <activity
             android:name=".ui.activity.Preferences"
@@ -92,15 +82,13 @@
 		        
         <activity	
             android:name=".ui.preview.PreviewVideoActivity"
-			android:label="@string/app_name"
-			android:theme="@style/Theme.ownCloud.Fullscreen" 
-			>
-		</activity>        
+            android:label="@string/app_name"
+            android:theme="@style/Theme.ownCloud.Fullscreen"></activity>
 
         <service
             android:name=".authentication.AccountAuthenticatorService"
             android:exported="true">
-            <intent-filter  android:priority="100">
+            <intent-filter android:priority="100">
                 <action android:name="android.accounts.AccountAuthenticator" />
             </intent-filter>
 
@@ -110,8 +98,7 @@
         </service>
         <service
             android:name=".syncadapter.FileSyncService"
-            android:exported="true" 
-            >
+            android:exported="true">
             <intent-filter>
                 <action android:name="android.content.SyncAdapter" />
             </intent-filter>
@@ -127,8 +114,7 @@
             android:enabled="true"
             android:exported="false"
             android:label="@string/sync_string_files"
-            android:syncable="true" >
-        </provider>
+            android:syncable="true"></provider>
 
         <activity
             android:name=".authentication.AuthenticatorActivity"
@@ -137,8 +123,10 @@
             android:launchMode="singleTask">
             <intent-filter>
                 <action android:name="android.intent.action.VIEW" />
+
                 <category android:name="android.intent.category.DEFAULT" />
                 <category android:name="android.intent.category.BROWSABLE" />
+
                 <data android:scheme="@string/oauth2_redirect_scheme" />
             </intent-filter>
             <intent-filter>
@@ -151,7 +139,7 @@
         <service android:name=".files.services.FileDownloader" />
         <service android:name=".files.services.FileUploader" />
         <service android:name=".media.MediaService" />
-        
+
         <activity android:name=".ui.activity.PassCodeActivity" />
         <activity android:name=".ui.activity.ConflictsResolveActivity"/>
         <activity android:name=".ui.activity.GenericExplanationActivity"/>
@@ -163,7 +151,7 @@
             <intent-filter>
                 <!-- unofficially supported by many Android phones but not by HTC devices: -->
                 <action android:name="com.android.camera.NEW_PICTURE" />
-                <!-- officially supported since Android 4.0 (SDK 14, works even for HTC devices): --> 
+                <!-- officially supported since Android 4.0 (SDK 14, works even for HTC devices): -->
                 <action android:name="android.hardware.action.NEW_PICTURE" />
                 <data android:mimeType="image/*" />
             </intent-filter>
@@ -172,12 +160,12 @@
                 <data android:mimeType="video/*" />
             </intent-filter>
             <intent-filter>
-                <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
+                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
             </intent-filter>
         </receiver>
         <receiver android:name=".files.BootupBroadcastReceiver">
             <intent-filter>
-                <action android:name="android.intent.action.BOOT_COMPLETED"/>
+                <action android:name="android.intent.action.BOOT_COMPLETED" />
             </intent-filter>
         </receiver>
         <service android:name=".services.observer.FileObserverService"/>
@@ -187,11 +175,11 @@
 			android:label="@string/copy_link"
 			android:icon="@drawable/copy_link"/>
 
-        <activity 
+        <activity
 			android:name=".ui.activity.FolderPickerActivity"
 			android:label="@string/app_name"/>
 
-        <activity 
+        <activity
 			android:name=".ui.activity.UploadPathActivity"
 			android:label="@string/app_name"/>
         

+ 18 - 0
CHANGELOG.md

@@ -1,3 +1,21 @@
+## 1.8.0 (September 2015)
+- New MATERIAL DESIGN theme
+- Updated FILE TYPE ICONS
+- Preview TXT files within the app
+- COPY files & folders
+- Preview the full file/folder name from the long press menu
+- Set a file as FAVORITE (kept-in-sync) from the CONTEXT MENU
+- Updated CONFLICT RESOLUTION dialog (wording)
+- Updated background for images with TRANSPARENCY in GALLERY
+- Hidden files will not enforce list view instead of GRID VIEW (folders from Picasa & others)
+- Security:
+  + Updated network stack with security fixes (Jackrabbit 2.10.1)
+- Bugs fixed:
+  + Fixed crash when ETag is lost
+  + Passcode creation not restarted on device rotation
+  + Recovered share icon shown on folders 'shared with me'
+  + User name added to subject when sending a share link through e-mail (fixed on SAMLed apps)
+
 ## 1.7.2 (July 2015)
 - New navigation drawer
 - Improved Passcode

+ 1 - 1
SETUP.md

@@ -36,7 +36,7 @@ Next steps will assume you have a Github account and that you will get the code
 * Open a terminal and go on with the next steps in it.
 * Clone your forked repository: ```git clone git@github.com:YOURGITHUBNAME/android.git```.
 * Move to the project folder with ```cd android```.
-* Checkout the remote branch 'master' in your own local branch 'master': ```git checkout -b master remotes/origin/master```.
+* Checkout the remote branch 'master' in your own local branch 'master': ```git checkout master remotes/origin/master```.
 * Pull any changes from your remote branch 'master': ```git pull origin master```
 * Make official ownCloud repo known as upstream: ```git remote add upstream git@github.com:owncloud/android.git```
 * Make sure to get the latest changes from official android/master branch: ```git pull upstream master```

+ 0 - 6
build.gradle

@@ -58,12 +58,6 @@ android {
             abortOnError false
         }
     }
-
-
-    compileOptions {
-        sourceCompatibility JavaVersion.VERSION_1_7
-        targetCompatibility JavaVersion.VERSION_1_7
-    }
     
     productFlavors {
     }

BIN
doc/oCC2015_Android_workshop.odp


+ 2 - 2
oc_jb_workaround/AndroidManifest.xml

@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.owncloud.android.workaround.accounts"
-    android:versionCode="0100024"
-    android:versionName="1.0.24" >
+    android:versionCode="0100025"
+    android:versionName="1.0.25" >
 
     <uses-sdk
         android:minSdkVersion="16"

+ 1 - 1
owncloud-android-library

@@ -1 +1 @@
-Subproject commit dbc8c325d74f3f7e8da8236c5abe77a141ae4019
+Subproject commit 5985ba9a9fd9a208b2a09ee7809949874e0c3a97

BIN
res/drawable-hdpi/file.png


BIN
res/drawable-hdpi/file_application.png


BIN
res/drawable-hdpi/file_calendar.png


BIN
res/drawable-hdpi/file_code.png


BIN
res/drawable-hdpi/file_doc.png


BIN
res/drawable-hdpi/file_image.png


BIN
res/drawable-hdpi/file_movie.png


BIN
res/drawable-hdpi/file_pdf.png


BIN
res/drawable-hdpi/file_ppt.png


BIN
res/drawable-hdpi/file_sound.png


BIN
res/drawable-hdpi/file_text.png


BIN
res/drawable-hdpi/file_vcard.png


BIN
res/drawable-hdpi/file_xls.png


BIN
res/drawable-hdpi/file_zip.png


BIN
res/drawable-hdpi/folder_external.png


BIN
res/drawable-hdpi/folder_public.png


BIN
res/drawable-hdpi/ic_menu_archive.png


BIN
res/drawable-hdpi/shared_with_me_folder.png


BIN
res/drawable-ldpi-v9/ic_action_download.png


BIN
res/drawable-ldpi-v9/ic_action_refresh.png


BIN
res/drawable-ldpi-v9/ic_action_settings.png


BIN
res/drawable-ldpi/common_error.png


BIN
res/drawable-ldpi/copy_link.png


BIN
res/drawable-ldpi/file.png


BIN
res/drawable-ldpi/file_doc.png


BIN
res/drawable-ldpi/file_image.png


BIN
res/drawable-ldpi/file_movie.png


BIN
res/drawable-ldpi/file_pdf.png


BIN
res/drawable-ldpi/file_ppt.png


BIN
res/drawable-ldpi/ic_action_create_dir.png


BIN
res/drawable-ldpi/ic_action_download.png


BIN
res/drawable-ldpi/ic_action_refresh.png


BIN
res/drawable-ldpi/ic_action_refresh_black.png


BIN
res/drawable-ldpi/ic_action_settings.png


BIN
res/drawable-ldpi/ic_action_upload.png


BIN
res/drawable-ldpi/icon.png


BIN
res/drawable-ldpi/image_fail.png


BIN
res/drawable-ldpi/winter_holidays_icon.png


BIN
res/drawable-mdpi/file.png


BIN
res/drawable-mdpi/file_application.png


BIN
res/drawable-mdpi/file_calendar.png


BIN
res/drawable-mdpi/file_code.png


BIN
res/drawable-mdpi/file_doc.png


BIN
res/drawable-mdpi/file_image.png


BIN
res/drawable-mdpi/file_movie.png


BIN
res/drawable-mdpi/file_pdf.png


BIN
res/drawable-mdpi/file_ppt.png


BIN
res/drawable-mdpi/file_sound.png


BIN
res/drawable-mdpi/file_text.png


BIN
res/drawable-mdpi/file_vcard.png


BIN
res/drawable-mdpi/file_xls.png


BIN
res/drawable-mdpi/file_zip.png


BIN
res/drawable-mdpi/folder_external.png


BIN
res/drawable-mdpi/folder_public.png


BIN
res/drawable-mdpi/ic_menu_archive.png


BIN
res/drawable-mdpi/shared_with_me_folder.png


BIN
res/drawable-xhdpi/file.png


BIN
res/drawable-xhdpi/file_application.png


BIN
res/drawable-xhdpi/file_calendar.png


BIN
res/drawable-xhdpi/file_code.png


BIN
res/drawable-xhdpi/file_doc.png


BIN
res/drawable-xhdpi/file_image.png


BIN
res/drawable-xhdpi/file_movie.png


BIN
res/drawable-xhdpi/file_pdf.png


BIN
res/drawable-xhdpi/file_ppt.png


BIN
res/drawable-xhdpi/file_sound.png


BIN
res/drawable-xhdpi/file_text.png


BIN
res/drawable-xhdpi/file_vcard.png


BIN
res/drawable-xhdpi/file_xls.png


BIN
res/drawable-xhdpi/file_zip.png


BIN
res/drawable-xhdpi/folder_external.png


BIN
res/drawable-xhdpi/folder_public.png


BIN
res/drawable-xhdpi/ic_menu_archive.png


BIN
res/drawable-xhdpi/shared_with_me_folder.png


BIN
res/drawable-xxhdpi/file.png


BIN
res/drawable-xxhdpi/file_application.png


BIN
res/drawable-xxhdpi/file_calendar.png


BIN
res/drawable-xxhdpi/file_code.png


BIN
res/drawable-xxhdpi/file_doc.png


BIN
res/drawable-xxhdpi/file_image.png


BIN
res/drawable-xxhdpi/file_movie.png


BIN
res/drawable-xxhdpi/file_pdf.png


BIN
res/drawable-xxhdpi/file_ppt.png


BIN
res/drawable-xxhdpi/file_sound.png


BIN
res/drawable-xxhdpi/file_text.png


BIN
res/drawable-xxhdpi/file_vcard.png


BIN
res/drawable-xxhdpi/file_xls.png


BIN
res/drawable-xxhdpi/file_zip.png


BIN
res/drawable-xxhdpi/folder_external.png


BIN
res/drawable-xxhdpi/folder_public.png


BIN
res/drawable-xxhdpi/ic_menu_archive.png


BIN
res/drawable-xxhdpi/shared_with_me_folder.png


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä