diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b21361bd54..66c019baab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,34 @@ +Changelog for ownCloud Android Client [4.1.1] (2023-10-18) +======================================= +The following sections list the changes in ownCloud Android Client 4.1.1 relevant to +ownCloud admins and users. + +[4.1.1]: https://github.com/owncloud/android/compare/v4.1.0...v4.1.1 + +Summary +------- + +* Bugfix - Some Null Pointer Exceptions avoided: [#4158](https://github.com/owncloud/android/issues/4158) +* Bugfix - Thumbnails correctly shown for every user: [#4189](https://github.com/owncloud/android/pull/4189) + +Details +------- + +* Bugfix - Some Null Pointer Exceptions avoided: [#4158](https://github.com/owncloud/android/issues/4158) + + In the detail screen, in the main file list ViewModel and in the OCFile repository the app has + been prevented from crashing when a null is found. + + https://github.com/owncloud/android/issues/4158 + https://github.com/owncloud/android/pull/4170 + +* Bugfix - Thumbnails correctly shown for every user: [#4189](https://github.com/owncloud/android/pull/4189) + + Due to an error in the request, users that included the '@' character in their usernames + couldn't see the thumbnails of the image files. Now, every user can see them correctly. + + https://github.com/owncloud/android/pull/4189 + Changelog for ownCloud Android Client [4.1.0] (2023-08-23) ======================================= The following sections list the changes in ownCloud Android Client 4.1.0 relevant to diff --git a/changelog/4.1.1_2023-10-18/4170 b/changelog/4.1.1_2023-10-18/4170 new file mode 100644 index 00000000000..e7ad28c99a7 --- /dev/null +++ b/changelog/4.1.1_2023-10-18/4170 @@ -0,0 +1,6 @@ +Bugfix: Some Null Pointer Exceptions avoided + +in the detail screen, in the main file list ViewModel and in the OCFile repository the app has been prevented from crashing when a null is found. + +https://github.com/owncloud/android/issues/4158 +https://github.com/owncloud/android/pull/4170 diff --git a/changelog/4.1.1_2023-10-18/4189 b/changelog/4.1.1_2023-10-18/4189 new file mode 100644 index 00000000000..2f0d3bede90 --- /dev/null +++ b/changelog/4.1.1_2023-10-18/4189 @@ -0,0 +1,6 @@ +Bugfix: Thumbnails correctly shown for every user + +Due to an error in the request, users that included the '@' character in their usernames couldn't +see the thumbnails of the image files. Now, every user can see them correctly. + +https://github.com/owncloud/android/pull/4189 diff --git a/owncloudApp/build.gradle b/owncloudApp/build.gradle index 3e61d9d2882..8b0cc13a9b4 100644 --- a/owncloudApp/build.gradle +++ b/owncloudApp/build.gradle @@ -92,8 +92,8 @@ android { testInstrumentationRunner "com.owncloud.android.utils.OCTestAndroidJUnitRunner" - versionCode = 41000000 - versionName = "4.1.0" + versionCode = 41000100 + versionName = "4.1.1" buildConfigField "String", gitRemote, "\"" + getGitOriginRemote() + "\"" buildConfigField "String", commitSHA1, "\"" + getLatestGitHash() + "\"" @@ -160,6 +160,11 @@ android { } testOptions { + packagingOptions { + jniLibs { + useLegacyPackaging = true + } + } unitTests.returnDefaultValues = true animationsDisabled = true } diff --git a/owncloudApp/src/androidTest/java/com/owncloud/android/utils/ReleaseNotesList.kt b/owncloudApp/src/androidTest/java/com/owncloud/android/utils/ReleaseNotesList.kt index dec200fba1e..16a2cde32a7 100644 --- a/owncloudApp/src/androidTest/java/com/owncloud/android/utils/ReleaseNotesList.kt +++ b/owncloudApp/src/androidTest/java/com/owncloud/android/utils/ReleaseNotesList.kt @@ -25,38 +25,18 @@ import com.owncloud.android.presentation.releasenotes.ReleaseNoteType val releaseNotesList = listOf( ReleaseNote( - title = R.string.release_notes_4_1_title_1, - subtitle = R.string.release_notes_4_1_subtitle_1, - type = ReleaseNoteType.ENHANCEMENT, + title = R.string.release_notes_header, + subtitle = R.string.release_notes_footer, + type = ReleaseNoteType.BUGFIX ), ReleaseNote( - title = R.string.release_notes_4_1_title_2, - subtitle = R.string.release_notes_4_1_subtitle_2, - type = ReleaseNoteType.ENHANCEMENT, + title = R.string.release_notes_header, + subtitle = R.string.release_notes_footer, + type = ReleaseNoteType.BUGFIX ), ReleaseNote( - title = R.string.release_notes_4_1_title_3, - subtitle = R.string.release_notes_4_1_subtitle_3, - type = ReleaseNoteType.ENHANCEMENT, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_4, - subtitle = R.string.release_notes_4_1_subtitle_4, - type = ReleaseNoteType.BUGFIX, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_5, - subtitle = R.string.release_notes_4_1_subtitle_5, - type = ReleaseNoteType.ENHANCEMENT, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_6, - subtitle = R.string.release_notes_4_1_subtitle_6, - type = ReleaseNoteType.ENHANCEMENT, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_7, - subtitle = R.string.release_notes_4_1_subtitle_7, - type = ReleaseNoteType.BUGFIX, - ), + title = R.string.release_notes_header, + subtitle = R.string.release_notes_footer, + type = ReleaseNoteType.ENHANCEMENT + ) ) diff --git a/owncloudApp/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java b/owncloudApp/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java index 84664b29c8d..96531c0dc31 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java +++ b/owncloudApp/src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java @@ -44,6 +44,7 @@ import com.owncloud.android.lib.common.OwnCloudAccount; import com.owncloud.android.lib.common.OwnCloudClient; import com.owncloud.android.lib.common.SingleSessionManager; +import com.owncloud.android.lib.common.accounts.AccountUtils; import com.owncloud.android.lib.common.http.HttpConstants; import com.owncloud.android.lib.common.http.methods.nonwebdav.GetMethod; import com.owncloud.android.ui.adapter.DiskLruImageCache; @@ -259,7 +260,7 @@ private int getThumbnailDimension() { } private String getPreviewUrl(OCFile ocFile, Account account) { - String baseUrl = mClient.getBaseUri() + "/remote.php/dav/files/" + account.name.split("@")[0]; + String baseUrl = mClient.getBaseUri() + "/remote.php/dav/files/" + AccountUtils.getUserId(account, MainApp.Companion.getAppContext()); if (ocFile.getSpaceId() != null) { Lazy getWebDavUrlForSpaceUseCaseLazy = inject(GetWebDavUrlForSpaceUseCase.class); diff --git a/owncloudApp/src/main/java/com/owncloud/android/presentation/files/details/FileDetailsFragment.kt b/owncloudApp/src/main/java/com/owncloud/android/presentation/files/details/FileDetailsFragment.kt index 34ac35701bb..f1611f7aabb 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/presentation/files/details/FileDetailsFragment.kt +++ b/owncloudApp/src/main/java/com/owncloud/android/presentation/files/details/FileDetailsFragment.kt @@ -309,7 +309,7 @@ class FileDetailsFragment : FileFragment() { } private fun setLastSync(ocFile: OCFile) { - if (ocFile.lastSyncDateForData!! > ZERO_MILLISECOND_TIME) { + if (ocFile.lastSyncDateForData?.let { it > ZERO_MILLISECOND_TIME } == true) { binding.fdLastSync.visibility = View.VISIBLE binding.fdLastSyncLabel.visibility = View.VISIBLE binding.fdLastSync.text = DisplayUtils.unixTimeToHumanReadable(ocFile.lastSyncDateForData!!) @@ -317,15 +317,15 @@ class FileDetailsFragment : FileFragment() { } private fun setModified(ocFile: OCFile) { - if (ocFile.modificationTimestamp!! > ZERO_MILLISECOND_TIME) { + if (ocFile.modificationTimestamp?.let { it > ZERO_MILLISECOND_TIME } == true) { binding.fdModified.visibility = View.VISIBLE binding.fdModifiedLabel.visibility = View.VISIBLE - binding.fdModified.text = DisplayUtils.unixTimeToHumanReadable(ocFile.modificationTimestamp!!) + binding.fdModified.text = DisplayUtils.unixTimeToHumanReadable(ocFile.modificationTimestamp) } } private fun setCreated(ocFile: OCFile) { - if (ocFile.creationTimestamp!! > ZERO_MILLISECOND_TIME) { + if (ocFile.creationTimestamp?.let { it > ZERO_MILLISECOND_TIME } == true) { binding.fdCreated.visibility = View.VISIBLE binding.fdCreatedLabel.visibility = View.VISIBLE binding.fdCreated.text = DisplayUtils.unixTimeToHumanReadable(ocFile.creationTimestamp!!) diff --git a/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListViewModel.kt b/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListViewModel.kt index 48de4b2ba71..a9dde92c8b8 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListViewModel.kt +++ b/owncloudApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListViewModel.kt @@ -256,7 +256,7 @@ class MainFileListViewModel( TODO() } - updateFolderToDisplay(parentDir!!) + parentDir?.let { updateFolderToDisplay(it) } } } diff --git a/owncloudApp/src/main/java/com/owncloud/android/presentation/releasenotes/ReleaseNotesViewModel.kt b/owncloudApp/src/main/java/com/owncloud/android/presentation/releasenotes/ReleaseNotesViewModel.kt index b32d25a4d1f..02809e9f9cd 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/presentation/releasenotes/ReleaseNotesViewModel.kt +++ b/owncloudApp/src/main/java/com/owncloud/android/presentation/releasenotes/ReleaseNotesViewModel.kt @@ -46,43 +46,13 @@ class ReleaseNotesViewModel( companion object { val releaseNotesList = listOf( ReleaseNote( - title = R.string.release_notes_4_1_title_1, - subtitle = R.string.release_notes_4_1_subtitle_1, - type = ReleaseNoteType.ENHANCEMENT, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_2, - subtitle = R.string.release_notes_4_1_subtitle_2, - type = ReleaseNoteType.ENHANCEMENT, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_3, - subtitle = R.string.release_notes_4_1_subtitle_3, - type = ReleaseNoteType.ENHANCEMENT, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_4, - subtitle = R.string.release_notes_4_1_subtitle_4, + title = R.string.release_notes_4_1_1_title_1, + subtitle = R.string.release_notes_4_1_1_subtitle_1, type = ReleaseNoteType.BUGFIX, ), ReleaseNote( - title = R.string.release_notes_4_1_title_5, - subtitle = R.string.release_notes_4_1_subtitle_5, - type = ReleaseNoteType.ENHANCEMENT, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_6, - subtitle = R.string.release_notes_4_1_subtitle_6, - type = ReleaseNoteType.ENHANCEMENT, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_8, - subtitle = R.string.release_notes_4_1_subtitle_8, - type = ReleaseNoteType.CHANGE, - ), - ReleaseNote( - title = R.string.release_notes_4_1_title_7, - subtitle = R.string.release_notes_4_1_subtitle_7, + title = R.string.release_notes_4_1_1_title_2, + subtitle = R.string.release_notes_4_1_1_subtitle_2, type = ReleaseNoteType.BUGFIX, ), ) diff --git a/owncloudApp/src/main/java/com/owncloud/android/ui/adapter/DiskLruImageCache.java b/owncloudApp/src/main/java/com/owncloud/android/ui/adapter/DiskLruImageCache.java index 22b1677abf0..5530bd108ab 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/ui/adapter/DiskLruImageCache.java +++ b/owncloudApp/src/main/java/com/owncloud/android/ui/adapter/DiskLruImageCache.java @@ -31,7 +31,6 @@ import android.graphics.BitmapFactory; import com.jakewharton.disklrucache.DiskLruCache; -import com.owncloud.android.MainApp; import timber.log.Timber; public class DiskLruImageCache { @@ -39,7 +38,7 @@ public class DiskLruImageCache { private final DiskLruCache mDiskCache; private final CompressFormat mCompressFormat; private final int mCompressQuality; - private static final int CACHE_VERSION = 1; + private static final int CACHE_VERSION = 2; private static final int VALUE_COUNT = 1; private static final int IO_BUFFER_SIZE = 8 * 1024; diff --git a/owncloudApp/src/main/res/values-bg-rBG/strings.xml b/owncloudApp/src/main/res/values-bg-rBG/strings.xml index ee9ae8a9d97..38ab08f28a3 100644 --- a/owncloudApp/src/main/res/values-bg-rBG/strings.xml +++ b/owncloudApp/src/main/res/values-bg-rBG/strings.xml @@ -657,22 +657,6 @@ Благодарим ви, че използвате %1$s.\n❤ Продължаване Икона за бележка по изданието - Поддръжка за пространства - Въвеждане на поддръжка за функцията за пространства (oCIS). Налична само за нови регистрирани профили - Долна лента за навигация - Пренареждане на някои раздели - Край на поддръжката на Lollipop - Това ще бъде последната версия с поддръжка на Android Lollipop (v5.0) - Актуализиране на потока от WebFinger - За сървърите на WebFinger първо ще бъде поисканo търсене в сървър и ако не е успешно, ще бъде последван редовния процес на удостоверяване - Боравене с разрешения - Сега, когато липсват разрешения за извършване на някои действия с дадена папка или файл, тези действия ще бъдат скрити. - Нова настройка \"Управление на известия\" - В настройките е добавен нов елемент, който пренасочва към настройките за известия на приложението на устройството. - Незначителни поправки на грешки и подобрения - Отстранени са някои дребни грешки и са въведени незначителни технически подобрения, за да се подобри работата с приложението. - Незначителни поправки на грешки и подобрения - Отстранени са някои дребни грешки и са въведени незначителни технически подобрения, за да се подобри работата с приложението. Отваряне в мрежата Отваряне в %1$s (уеб) diff --git a/owncloudApp/src/main/res/values-de-rDE/strings.xml b/owncloudApp/src/main/res/values-de-rDE/strings.xml index a6f58af6f7e..3ccff9eb617 100644 --- a/owncloudApp/src/main/res/values-de-rDE/strings.xml +++ b/owncloudApp/src/main/res/values-de-rDE/strings.xml @@ -659,26 +659,6 @@ Vielen Dank für die Verwendung von %1$s.\n Fortfahren Symbol für Veröffentlichungsnotizen - Unterstützung für Spaces - Unterstützung von Spaces (oCIS)Nur verfügbar für neu eingeloggte Konten - Untere Navigationsleiste - Einige Tabs neu angeordnet - Unterstützung von Lollipop endet. - Mit dieser Version wird zum letzten Mal Android Lollipop (v5.0) unterstützt. - WebFinger Flow aktualisiert - Bei WebFinger-Servern wird zuerst ein Lookup-Server angefragt. Falls das fehlschlägt, wird die reguläre Authentifizierung durchgeführt. - Zugriffsrechte - Wenn für bestimmte Aktionen auf eine Datei oder einen Ordner die notwendigen Zugriffsrechte fehlen, werden diese Aktionen nicht angeboten. - Neue Einstellung \"Benachrichtigungen verwalten\" - In den Einstellungen wurde ein neuer Eintrag hinzugefügt, der zu den App-Benachrichtigungseinstellungen des Geräts weiterleitet. - Kleine Fehlerberichtigungen und Verbesserungen - Kleine Fehler wurden behoben und geringfügige technische Verbesserungen durchgeführt, um die Benutzung der App zu erleichtern. - Markdown-Unterstützung - Markdown-Dateien werden gerendert und im entsprechenden Format dargestellt. - Liste der Provider (Infinite Scale) - Wenn der Server zum Öffnen spezifischer Dateiarten App-Provider unterstützt, werden alle in der Detail-Ansicht angezeigt. - Kleine Fehlerberichtigungen und Verbesserungen - Kleine Fehler wurden behoben und geringfügige technische Verbesserungen durchgeführt, um die Benutzung der App zu erleichtern. Öffnen im Webbrowser Öffnen in %1$s (web) diff --git a/owncloudApp/src/main/res/values-de/strings.xml b/owncloudApp/src/main/res/values-de/strings.xml index 348411062e0..99d2b2381da 100644 --- a/owncloudApp/src/main/res/values-de/strings.xml +++ b/owncloudApp/src/main/res/values-de/strings.xml @@ -659,26 +659,6 @@ Vielen Dank für die Verwendung von %1$s.\n Fortfahren Icon für Veröffentlichungsnotizen - Unterstützung für Spaces - Unterstützung von Spaces (oCIS)Nur verfügbar für neu eingeloggte Konten - Untere Navigationsleiste - Einige Tabs neu angeordnet - Unterstützung von Lollipop endet. - Mit dieser Version wird zum letzten Mal Android Lollipop (v5.0) unterstützt. - WebFinger Flow aktualisiert - Bei WebFinger-Servern wird zuerst ein Lookup-Server angefragt. Falls das fehlschlägt, wird die reguläre Authentifizierung durchgeführt. - Zugriffsrechte - Wenn für bestimmte Aktionen auf eine Datei oder einen Ordner die notwendigen Zugriffsrechte fehlen, werden diese Aktionen nicht angeboten. - Neue Einstellung \"Benachrichtigungen verwalten\" - In den Einstellungen wurde ein neuer Eintrag hinzugefügt, der zu den App-Benachrichtigungseinstellungen des Geräts weiterleitet. - Kleine Fehlerberichtigungen und Verbesserungen - Kleine Fehler wurden behoben und geringfügige technische Verbesserungen durchgeführt, um die Benutzung der App zu erleichtern. - Markdown-Unterstützung - Markdown-Dateien werden gerendert und im entsprechenden Format dargestellt. - Liste der Provider (Infinite Scale) - Wenn der Server zum Öffnen spezifischer Dateiarten App-Provider unterstützt, werden alle in der Detail-Ansicht angezeigt. - Kleine Fehlerberichtigungen und Verbesserungen - Kleine Fehler wurden behoben und geringfügige technische Verbesserungen durchgeführt, um die Benutzung der App zu erleichtern. Öffnen im Webbrowser Öffnen in %1$s (web) diff --git a/owncloudApp/src/main/res/values-en-rGB/strings.xml b/owncloudApp/src/main/res/values-en-rGB/strings.xml index d601eb35bb8..4b6ed7f4349 100644 --- a/owncloudApp/src/main/res/values-en-rGB/strings.xml +++ b/owncloudApp/src/main/res/values-en-rGB/strings.xml @@ -661,32 +661,6 @@ Thank you for using %1$s.\n❤ Proceed Release note icon - Support for Spaces - Introducing support for spaces feature (oCIS). Only available for newly logged-in accounts - Bottom navigation bar - Reordered some tabs - End of support Lollipop - This will be the last release with support for Android Lollipop (v5.0) - Updated WebFinger flow - For WebFinger servers, lookup server will be requested first, and if not successful, regular authentication flow will be followed - Permission handling - Now, when there is lack of permissions to perform some actions over a folder or a file, those actions will be hidden - New \"Manage notifications\" setting - A new item has been added in the settings, which redirects to the app notifications settings of the device - Minor bugfixes and improvements - Some minor bugs have been fixed, and minor technical improvements were introduced to improve the experience in the app - Markdown support - Markdown files rendered and displayed with proper format - List of providers (oCIS) - If your server supports app providers to open specific kind of files, all of them will be listed in Details view - Themed icons supported - Android 13 feature \"Themed icons\" will let you set app icon in monochrome - Create new documents via web (oCIS) - If oCIS server supports application providers, new documents can be created via browser and synced with oC - New setting with app suggested to browse files - A new setting was added in \"More\" section with a suggested app to access files via document provider - Minor bugfixes and improvements - Some minor bugs have been fixed, and minor technical improvements were introduced to improve the experience in the app Open in web Open in %1$s (web) diff --git a/owncloudApp/src/main/res/values-et-rEE/strings.xml b/owncloudApp/src/main/res/values-et-rEE/strings.xml index 35650621306..f0beda5cd1b 100644 --- a/owncloudApp/src/main/res/values-et-rEE/strings.xml +++ b/owncloudApp/src/main/res/values-et-rEE/strings.xml @@ -666,44 +666,6 @@ Aitäh, et kasutad %1$si.\n❤ Jätka Väljalasketeavituse ikoon - Ruumide tugi - Spaces toe lisamine (oCIS). Saadaval vaid uutele kontodele - Alumine navigatsiooniriba - Mõnede kaartide ümberjärjestamine - Lollipop toe lõpp - See on viimane väljalase, mis toetab Android Lollipop (v5.0) versiooni - WebFinger\'i voog on uuendatud - WebFinger\'i serveri puhul saadetakse päring kõigepealt otsinguserverile ja ebaedu korral jätkatakse tavalise autentimise vooga - Õiguste käsitlemine - Kui õigused osutuvad kausta või failitegevuste korral ebapiisavaks, siis vastavad tegevused peidetakse - Uus \"Halda teavitusi\" seadistus - Seadetesse on lisatud uus valik, mis suunab rakenduse seadme teavituste seadetesse - Väiksemad veaparandused ja parendused - Parandatud on mõned väiksemad tarkvaravead ning lisatud on väiksemad tehnilised parendused, et parandada rakenduse kasutajakogemust - Markdown\'i tugi - Markdown\'i faile renderdatakse ja näidatakse õigel kujul - Pakkujate nimekiri (oCIS) - Kui su server lubab eri rakenduse pakkujatel avada kindlat tüüpi faile, siis kõik need näidatakse detailivaates - Temaatilised ikoonid on toetatud - Android 13 võimalus \"Temaatilised ikoonid\" lubab rakenduse ikoonid muuta mustvalgeks - Loo uusi dokumente üle võrgu (oCIS) - Kui oCIS server toetab rakenduste pakkujaid, siis saab uusi dokumente luua ja zoneCloudiga sünkroonida läbi brauseri - Uus seadistus failisirvija soovitusega - Lisatud on uus seadistus \"More\" alajaotuses, kus soovitatakse rakendust ligipääsuks failidele läbi dokumendi pakkuja - Lisatud on 3 punktiga nupp kõikide üksuste kuvamiseks - Lisatud on nupp näitamaks menüüd koos üksuse kõigi sätetega - Detailivaate parendused - Detailivaate uus kujundus - Tugi keelevahetuseks - Lisatud tugi uueks keelevahetuseks Android versioonil 13 ja üle - Parandatud viga ruumi piltide laadimisel - Ruumi piltide esmakordsel laadimisel neid näidatakse ja parandatakse üksuste piltide laadimist - Markdown failid avatakse ASCII-režiimis - Lisatud uus režiim markdown-failide avamiseks, mis näitab ASCII-koode - Näidatakse pop-up\'i kopeerimise/teisaldamise konflikti korral - Näidatakse 3 valikuga pop-up\'i kui kopeerimise või teisaldamise ajal tekib nimekonflikt - Väiksemad veaparandused ja parendused - Parandatud on mõned väiksemad tarkvaravead ning lisatud on väiksemad tehnilised parendused, et parandada rakenduse kasutajakogemust Ava veebis Ava %1$s (veebis) diff --git a/owncloudApp/src/main/res/values-ko/strings.xml b/owncloudApp/src/main/res/values-ko/strings.xml index 74c0c4507c2..fe3b8fea76a 100644 --- a/owncloudApp/src/main/res/values-ko/strings.xml +++ b/owncloudApp/src/main/res/values-ko/strings.xml @@ -649,11 +649,6 @@ %1$s 신규 추가 %1$s을(를) 사용해주셔서 감사합니다.\n❤ 진행 - 스페이스 관련 도움 - 하단 내비게이션 바 - 일부 탭을 재정렬함 - Lollipop 지원 종료 - Android Lollipop (v5.0)을 위한 마지막 지원 버전입니다 웹에서 열기 웹에서 열 수 없음 diff --git a/owncloudApp/src/main/res/values-pt-rBR/strings.xml b/owncloudApp/src/main/res/values-pt-rBR/strings.xml index 876e6f98dc4..f4b84423774 100644 --- a/owncloudApp/src/main/res/values-pt-rBR/strings.xml +++ b/owncloudApp/src/main/res/values-pt-rBR/strings.xml @@ -667,44 +667,6 @@ Obrigado por usar %1$s.\n❤ Prosseguir Ícone de nota de lançamento - Support for Spaces - Apresentando o suporte para o recurso de espaços (oCIS). Disponível apenas para contas recém-logadas - Bottom navigation bar - Reordered some tabs - Fim do suporte Lollipop - This will be the last release with support for Android Lollipop (v5.0) - Fluxo do WebFinger atualizado - Para servidores WebFinger, o servidor de pesquisa será solicitado primeiro e, se não for bem-sucedido, o fluxo de autenticação regular será seguido - Manipulação de permissão - Agora, quando houver falta de permissões para executar algumas ações em uma pasta ou arquivo, essas ações serão ocultadas - Nova configuração \"Gerenciar notificações\" - Um novo item foi adicionado nas configurações, que redireciona para as configurações de notificações do aplicativo do dispositivo - Pequenas correções de bugs e melhorias - Alguns pequenos bugs foram corrigidos e pequenas melhorias técnicas foram introduzidas para melhorar a experiência no aplicativo - Suporte de remarcação - Arquivos Remarcados renderizados e exibidos com o formato adequado - Lista de provedores (oCIS) - Se o seu servidor oferecer suporte a provedores de aplicativos para abrir tipos específicos de arquivos, todos eles serão listados na visualização Detalhes - Ícones temáticos suportados - O recurso \"Ícones temáticos\" do Android 13 permitirá que você defina o ícone do aplicativo em monocromático - Criar novos documentos via web (oCIS) - Se o servidor oCIS suportar provedores de aplicativos, novos documentos podem ser criados via navegador e sincronizados com - Nova configuração com aplicativo sugerido para procurar arquivos - Uma nova configuração foi adicionada na seção \"Mais\" com um aplicativo sugerido para acessar arquivos via provedor de documentos - Adicionado botão de 3 pontos a todos os itens da lista - Adicionado botão a todos os elementos da lista para mostrar um menu com todas as opções do item - Melhorar visualização de detalhes - Redesenho da visualização de detalhes - Suporte para nova mudança de idioma - Adicionado suporte para a nova alteração de idioma no Android 13+ - Bug corrigido sobre o carregamento de imagens do espaço - Carregando as imagens dos espaços na primeira vez que mostramos e melhorando o carregamento das imagens dos itens - Abrir arquivos markdown no modo ASCII - Adicionado um novo modo para abrir arquivos markdown para mostrar o código ASCII - Mostrando pop-up no conflito de copiar/mover - Mostrando um pop-up de 3 opções ao ter um conflito de nomenclatura na ação de copiar ou mover - Pequenas correções de bugs e melhorias - Alguns pequenos bugs foram corrigidos e pequenas melhorias técnicas foram introduzidas para melhorar a experiência no aplicativo Abrir na web Abrir em%1$s (web) diff --git a/owncloudApp/src/main/res/values-ru/strings.xml b/owncloudApp/src/main/res/values-ru/strings.xml index 099c70a4fc7..cb1ea9cd097 100644 --- a/owncloudApp/src/main/res/values-ru/strings.xml +++ b/owncloudApp/src/main/res/values-ru/strings.xml @@ -653,21 +653,6 @@ Благодарим за использование %1$s.\n❤ Продолжить Иконка к примечанию релиза - Поддержка хранилищ - Нижняя панель навигации - Переупорядочены некоторые вкладки - Окончание поддержки Lollipop - Это будет последний выпуск с поддержкой Android Lollipop (v5.0). - Обновленный поток WebFinger - Для серверов WebFinger сначала будет запрашиваться сервер поиска, а в случае неудачи будет использоваться обычный поток аутентификации. - Обработка разрешений - Теперь при отсутствии прав на выполнение каких-либо действий над папкой или файлом эти действия будут скрыты - Новая настройка «Управление уведомлениями» - В настройках добавлен новый пункт, который перенаправляет в настройки уведомлений приложений устройства - Мелкие исправления и улучшения - Были исправлены некоторые незначительные ошибки, а также были внесены незначительные технические улучшения для улучшения работы приложения. - Мелкие исправления и улучшения - Были исправлены некоторые незначительные ошибки, а также были внесены незначительные технические улучшения для улучшения работы приложения. Открыть в браузере Открыть в %1$s (веб) diff --git a/owncloudApp/src/main/res/values-sq/strings.xml b/owncloudApp/src/main/res/values-sq/strings.xml index f1290dde792..157e65a4712 100644 --- a/owncloudApp/src/main/res/values-sq/strings.xml +++ b/owncloudApp/src/main/res/values-sq/strings.xml @@ -663,44 +663,6 @@ Faleminderit për përdorimin e %1$s.\n❤ Bëje Ikonë shënimesh hedhjeje në qarkullim - Mbulim për Hapësira - Prezantim mbulimi për veçorinë hapësira (oCIS). E përdorshme vetëm për llogari me hyrje të re - Shtyllë lëvizjesh në fund - U rirenditën disa skeda - Fund i mbulimit për Lollipop - Kjo do të jetë hedhja e fundit në qarkullim me mbulim për Android Lollipop (v5.0) - Përditësoni rrjedhë WebFinger - Për shërbyes WebFinger, shërbyesi i kërkimeve do të kërkohet i pari dhe, nëse kjo s’ka sukses, do të ndiqet rrjedha e mirëfilltësimit të rregullt - Trajtim lejesh - Tani, kur ka mungesë lejesh për kryerje të disa veprimeve mbi një dosje ose kartelë, këto veprime do të fshihen - Rregullim i ri “Administroni njoftime” - Te rregullimet është shtuar një zë i ri, i cili ridrejton te rregullimet e njoftimeve të aplikacioneve të pajisjes - Ndreqje të metash të vockla dhe përmirësime - Janë ndrequr disa të meta të cokla dhe u sollën për herë të parë përmirësime të vockla teknike për të përmirësuar punën te aplikacioni - Mbulim për Markdown - Kartelat Markdown u formuan dhe shfaqën me formatim si duhet - Listë furnizuesish (oCIS) - Nëse shërbyesi juaj mbulon furnizues apIikacionesh për hapje llojesh specifike kartelash, krejt këta do të shfaqen te pamja Hollësi - Mbulohen ikona temash - Veçoria “Ikona teme” e Android 13-s do t’ju lejojë të caktoni ikona aplikacioni njëngjyrëshe - Krijoni dokumente të reja përmes web-it (oCIS) - Nëse shërbyesi oCIS mbulon shërbime aplikacionesh, dokumentet e reja do të krijohen përmes shfletuesit dhe njëkohësohen me oC - Rregullime të reja me aplikacionin sugjeruan shfletim kartelash - Te ndarja “Më tepër” u shtua një rregullim i ri, me një aplikacion të sugjeruar për hyrje në kartela përmes furnizuesi dokumentesh - U shtua buton me 3 pika te krejt objektet e listës - U shtua buton te krejt elementët e listës, për të shfaqur një menu me krejt mundësitë për elementin - Përmirësim parjeje hollësish - Rihartim i parjes së hollësive - Mbulim për ndryshim gjuhe të re - U shtua mbulim për ndryshim gjuhe të re në Android 13+ - U ndreq e metë e lidhur me ngarkim figurash hapësire - Ngarkim i figurave të hapësirës herën e parë që e shfaqim dhe përmirësim i ngarkimit të figurave të elementëve - Hapje kartelash Markdown nën mënyrën ASCII - U shtua një mënyrë e re për hapje kartelash Markdown për të shfaqur kodin ASCII - Shfaqje dritare flluskë në rast përplasjeje veprimesh kopjimi/lëvizjeje - Shfaqje e një dritareje flluskë me 3 mundësi, kur kihet përplasje emri gjatë veprimi kopjimi, ose lëvizjeje - Ndreqje të metash të vockla dhe përmirësime - Janë ndrequr disa të meta të cokla dhe u sollën për herë të parë përmirësime të vockla teknike për të përmirësuar punën te aplikacioni Hape në web Hape në %1$s (web) diff --git a/owncloudApp/src/main/res/values-tr/strings.xml b/owncloudApp/src/main/res/values-tr/strings.xml index 884ca3e5036..435a81916b6 100644 --- a/owncloudApp/src/main/res/values-tr/strings.xml +++ b/owncloudApp/src/main/res/values-tr/strings.xml @@ -666,44 +666,6 @@ %1$s kullandığınız için teşekkürler.\n❤ Devam et Sürüm notu simgesi - Alanlar için Destek - Alanlar için destek özelliği (oCIS) ile tanışın. Yalnızca yeni oturum açmış hesaplar için kullanılabilir - Alt gezinme çubuğu - Bazı sekmeleri yeniden sıraladı - Lollipop desteğinin sonu - Bu, Android Lollipop (v5.0) destekli son sürüm olacak - WebFinger akışı güncellendi - WebFinger sunucuları için önce arama sunucusu istenir ve başarılı olmazsa normal kimlik doğrulama akışı izlenir - İzin işleniyor - Artık, bir klasör veya dosya üzerinde bazı eylemleri gerçekleştirme izni olmadığında, bu işlemler gizlenecek - Yeni \"Bildirimleri yönet\" ayarı - Ayarlara, cihazın uygulama bildirimleri ayarlarına yönlendiren yeni bir öge eklendi - Küçük hata düzeltmeleri ve iyileştirmeler - Bazı küçük hatalar giderildi ve uygulamadaki deneyimi iyileştirmek için küçük teknik iyileştirmeler yapıldı. - Markdown desteği - Markdown dosyaları uygun formatta işlenir ve görüntülenir - Sağlayıcı listesi (oCIS) - Sunucunuz, uygulama sağlayıcıların belirli türden dosyaları açmasını destekliyorsa, bunların tümü Ayrıntılar görünümünde listelenir - Temalı ikonlar desteklendi - Android 13 özelliği \"Temalı ikonlar\", uygulama simgesini tek renkli olarak ayarlamanıza izin verir - Web (oCIS) aracılığıyla yeni dokümanlar oluştur - oCIS sunucusu uygulama sağlayıcıları destekliyorsa, tarayıcı aracılığıyla yeni belgeler oluşturulabilir ve oC ile senkronize edilebilir - Dosyalara göz atmak için önerilen uygulamayla yeni ayar - Dosyalara belge sağlayıcı aracılığıyla erişmek için önerilen bir uygulama ile \"Diğer\" bölümüne yeni bir ayar eklendi - Tüm liste ögelerine 3 nokta düğmesi eklendi - Ögenin tüm seçeneklerini içeren bir menüyü göstermek için tüm liste elementlerine buton eklendi - Detaylar görünümünü iyileştir - Detaylar görünümünü yeniden tasarla - Yeni dil değişikliği desteği - Android 13+\'de yeni dil değişikliği için destek eklendi - Alan resimlerinin yüklenmesiyle ilgili hata düzeltildi - Alan resimlerini ilk gösterdiğimizde yüklemek ve ögelerin resimlerinin yüklenmesini iyileştirmek - Markdown dosyalarını ASCII modunda aç - Markdown dosyalarını ASCII kodunu göstererek açmak için yeni bir mod eklendi - Kopyalama/taşıma çakışmasında açılır pencere gösteriliyor - Kopyalama veya taşıma eyleminde bir adlandırma çakışması olduğunda 3 seçenek gösterilir - Küçük hata düzeltmeleri ve iyileştirmeler - Bazı küçük hatalar giderildi ve uygulamadaki deneyimi iyileştirmek için küçük teknik iyileştirmeler yapıldı. Web\'te aç %1$s\'da aç (web) diff --git a/owncloudApp/src/main/res/values/strings.xml b/owncloudApp/src/main/res/values/strings.xml index 9d684010d49..3bd137275ec 100644 --- a/owncloudApp/src/main/res/values/strings.xml +++ b/owncloudApp/src/main/res/values/strings.xml @@ -725,48 +725,10 @@ Proceed Release note icon - Support for Spaces - Introducing support for spaces feature (oCIS). Only available for newly logged-in accounts - Bottom navigation bar - Reordered some tabs - End of support Lollipop - This will be the last release with support for Android Lollipop (v5.0) - Updated WebFinger flow - For WebFinger servers, lookup server will be requested first, and if not successful, regular authentication flow will be followed - Permission handling - Now, when there is lack of permissions to perform some actions over a folder or a file, those actions will be hidden - New "Manage notifications" setting - A new item has been added in the settings, which redirects to the app notifications settings of the device - Minor bugfixes and improvements - Some minor bugs have been fixed, and minor technical improvements were introduced to improve the experience in the app - Markdown support - Markdown files rendered and displayed with proper format - List of providers (oCIS) - If your server supports app providers to open specific kind of files, all of them will be listed in Details view - Themed icons supported - Android 13 feature "Themed icons" will let you set app icon in monochrome - Create new documents via web (oCIS) - If oCIS server supports application providers, new documents can be created via browser and synced with oC - New setting with app suggested to browse files - A new setting was added in "More" section with a suggested app to access files via document provider - - Added 3 dot button to all list item - Added button to all list element to show a menu with all the options of the item - Improve details view - Redesign of the details view - Support for new language change - Added support for the new language change on Android 13+ - Bug fixed about loading space images - Loading the spaces images the first time we show it and improving the loading of the images of the items - Open markdown files in ASCII mode - Added a new mode to open markdown files to show the ASCII code - Showing pop up on copy/move conflict - Showing a 3 option pop up when having a naming conflict on copy or move action - Minor bugfixes and improvements - Some minor bugs have been fixed, and minor technical improvements were introduced to improve the experience in the app - Http traffic banned - New accounts over servers running on http will not be longer allowed. Only https allowed - + Thumbnails correctly shown for every user + Users with an @ in their username will now be able to see thumbnails correctly + Minor bugfixes + Some bugs were fixed to improve experience in the app Open in web diff --git a/owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt b/owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt index 45e694e4a6d..fbb94a734cb 100644 --- a/owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt +++ b/owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt @@ -168,10 +168,14 @@ class OCFileRepository( val personalSpace = localSpacesDataSource.getPersonalSpaceForAccount(owner) if (personalSpace == null) { val legacyRootFolder = localFileDataSource.getFileByRemotePath(remotePath = ROOT_PATH, owner = owner, spaceId = null) - return legacyRootFolder!! + try { + return legacyRootFolder ?: throw IllegalStateException("LegacyRootFolder not found") + } catch (e: IllegalStateException) { + Timber.i("There was an error: $e") + } } // TODO: Retrieving the root folders should return a non nullable. If they don't exist yet, they are created and returned. Remove nullability - val personalRootFolder = localFileDataSource.getFileByRemotePath(remotePath = ROOT_PATH, owner = owner, spaceId = personalSpace.root.id) + val personalRootFolder = localFileDataSource.getFileByRemotePath(remotePath = ROOT_PATH, owner = owner, spaceId = personalSpace?.root?.id) return personalRootFolder!! }