Compare commits

...
Author SHA1 Message Date
Tobias Kaminsky 72abd7ba3a daily dev 20220111
l10n: fixed grammar
FileOperationsHelper: fix aliasing when toggling favorite files
Manually bump lib
ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies
2022-01-11 06:45:17 +01:00
Tobias Kaminsky 890090e3f8 Merge remote-tracking branch 'origin/master' into dev 2022-01-11 05:34:25 +01:00
Nextcloud bot e4d26e44d4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-11 03:53:46 +00:00
Álvaro Brey fd8aae8e40 Merge pull request #9658 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.1.0
Bump hmarr/auto-approve-action from 2.0.0 to 2.1.0
2022-01-10 16:05:00 +01:00
Tobias Kaminsky e8ce558a4e Merge pull request #9642 from nextcloud/fix/9640
ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
2022-01-10 12:03:51 +01:00
Álvaro Brey c9246210de Merge pull request #9674 from nextcloud/fixUploadingFailingScreenshots
Fix failing username/password upon uploading failing screenshots
2022-01-10 11:30:26 +01:00
tobiasKaminsky 719551505e Fix DialogFragmentIT test
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-10 10:12:44 +01:00
Álvaro Brey a037786328 Merge pull request #9667 from nextcloud/rakekniven-patch-2
l10n: fixed grammar
2022-01-10 10:04:46 +01:00
Tobias Kaminsky 195703a527 Merge pull request #9672 from nextcloud/dependabot/gradle/com.github.albfernandez-juniversalchardet-2.3.2
Bump juniversalchardet from 2.0.3 to 2.3.2
2022-01-10 09:45:55 +01:00
Tobias Kaminsky a24e6e9cfc Merge pull request #9579 from nextcloud/dependabot/gradle/org.mnode.ical4j-ical4j-1.0.8
Bump ical4j from 1.0.6 to 1.0.8
2022-01-10 09:45:25 +01:00
tobiasKaminsky 503d6685a2 Fix failing username/password
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-10 09:31:11 +01:00
Tobias Kaminsky 22c916e6db Merge pull request #9665 from nextcloud/bumpWebDavLib
Manually bump lib
2022-01-10 09:21:43 +01:00
Tobias Kaminsky 879286d05f Merge pull request #9666 from nextcloud/fix/favorites-selection-breaking
FileOperationsHelper: fix aliasing when toggling favorite files
2022-01-10 07:44:54 +01:00
dependabot[bot] 9e33a11930 Bump juniversalchardet from 2.0.3 to 2.3.2
Bumps [juniversalchardet](https://github.com/albfernandez/juniversalchardet) from 2.0.3 to 2.3.2.
- [Release notes](https://github.com/albfernandez/juniversalchardet/releases)
- [Commits](https://github.com/albfernandez/juniversalchardet/compare/v2.0.3...v2.3.2)

---
updated-dependencies:
- dependency-name: com.github.albfernandez:juniversalchardet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-10 02:07:17 +00:00
Tobias Kaminsky c09eb33fd4 daily dev 20220108
Run contacts backup job only when network is connected
FileOperationsHelper: remove duplicated flags in openFile
AuthenticatorAsyncTask: check if user info result is success before proceeding
Centralize creation of ACTION_SEND intents and explicitly grant READ_URI permission to them
Update translations
Update 3rd-party dependencies
2022-01-08 05:40:45 +01:00
Tobias Kaminsky 27632fecae Merge remote-tracking branch 'origin/master' into dev 2022-01-08 05:31:55 +01:00
Nextcloud bot 67da5e0a6f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-08 03:50:50 +00:00
rakekniven 065d19163f l10n: fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <[email protected]>
2022-01-07 21:33:51 +01:00
Álvaro Brey Vilas 0f9e4feb79 FileOperationsHelper: fix aliasing when toggling favorite files
Don't modify the original collection of files. Instead filter a clone.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-07 18:27:55 +01:00
Nextcloud bot 6faceec5a5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-07 14:05:13 +00:00
Álvaro Brey d3502b7bba Merge pull request #9572 from nextcloud/provider-uri-permissions
URI permissions
2022-01-07 13:26:03 +01:00
Álvaro Brey 875f4ae7eb Merge pull request #9656 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.8.1
Bump leakcanary-android from 2.8 to 2.8.1
2022-01-07 13:22:48 +01:00
Álvaro Brey fb6cb271fe Merge pull request #9655 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.4
Bump spotbugs-gradle-plugin from 5.0.3 to 5.0.4
2022-01-07 13:21:55 +01:00
tobiasKaminsky 9f7699835e Manually bump lib
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-07 11:30:51 +01:00
Álvaro Brey afaa537a45 Merge pull request #9646 from nextcloud/run-contacts-backup-only-when-network-is-connected
Run contacts backup job only when network is connected
2022-01-07 11:07:59 +01:00
dependabot[bot] f2c14abccb Bump hmarr/auto-approve-action from 2.0.0 to 2.1.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-07 08:42:37 +00:00
Tobias Kaminsky da39e19805 Merge pull request #9359 from nextcloud/fix/dependabot-yml-format
Fix dependabot.yml syntax
2022-01-07 09:42:13 +01:00
Álvaro Brey 3a72604a78 Merge pull request #9591 from nextcloud/fix/settings-activity-it
SettingsActivityIT: fix showMnemonic running on wrong thread
2022-01-07 09:40:06 +01:00
Álvaro Brey ebd608c179 Merge pull request #9607 from nextcloud/fix/accesing-result-data
AuthenticatorAsyncTask: check if user info result is success before proceeding
2022-01-07 08:47:48 +01:00
dependabot[bot] 3a225d6462 Bump leakcanary-android from 2.8 to 2.8.1
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.8 to 2.8.1.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.8...v2.8.1)

---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-07 02:07:21 +00:00
dependabot[bot] ec56997da8 Bump spotbugs-gradle-plugin from 5.0.3 to 5.0.4
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.3...5.0.4)

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-07 02:07:13 +00:00
Chris Narkiewicz b6ceec7904 Run contacts backup job only when network is connected
Apply network constrains to prevent daily backup
job being started without network.

Backup job restart is required to apply new constraints.

Similar migration has been applied in the past, but migration
manager does not support re-applying steps again.

Migrations manager has been refactored to make migration
step re-applying easier, as more job restarts can be
required in the future.

Fixes #9632

Signed-off-by: Chris Narkiewicz <[email protected]>
2022-01-05 22:01:41 +00:00
Álvaro Brey Vilas 4265f06160 FileOperationsHelper: remove duplicated flags in openFile
Already set for all intents a bit below

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-04 15:32:32 +01:00
Álvaro Brey Vilas 29d9ba4e52 AuthenticatorAsyncTask: check if user info result is success before proceeding
This will not fix failed logins but at least it will not crash the app.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-03 18:32:11 +00:00
Álvaro Brey Vilas 1a7ee3e179 ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
Don't do anything if the filename is not empty.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-03 09:43:24 +01:00
Álvaro Brey Vilas 87e859858b SettingsActivityIT: fix showMnemonic running on wrong thread
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 15:24:21 +01:00
dependabot[bot] b3fa1e3262 Bump ical4j from 1.0.6 to 1.0.8
Bumps [ical4j](https://github.com/ical4j/ical4j) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/ical4j/ical4j/releases)
- [Changelog](https://github.com/ical4j/ical4j/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ical4j/ical4j/compare/ical4j-1.0.6...ical4j-1.0.8)

---
updated-dependencies:
- dependency-name: org.mnode.ical4j:ical4j
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-17 02:05:30 +00:00
Álvaro Brey Vilas b1aa3dcdaf Centralize creation of ACTION_SEND intents and explicitly grant READ_URI permission to them
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-16 15:22:16 +01:00
Álvaro Brey Vilas be5cdc4169 dependabot: Disable autorebase
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 19:18:29 +01:00
Álvaro Brey Vilas c855ae3c00 Fix dependabot.yml syntax
This was broken since https://github.com/nextcloud/android/commit/7af55b2e773d5ca25029a66b02d633f3e09a3ce3

As a consequence dependabot wasn't really reading the config file, and parts of the admin UI were broken too.

I've also removed the dependency ignores, as they weren't being read anyway and we can use dependabot commands for that.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 09:58:49 +01:00
85 changed files with 395 additions and 429 deletions

No files matched your search

+13 -87
View File
@@ -1,91 +1,17 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
labels:
- 2. to review
- dependencies
ignore:
- dependency-name: com.github.albfernandez:juniversalchardet
versions:
- "> 2.0.3"
- dependency-name: com.github.albfernandez:juniversalchardet
versions:
- "< v2.2.0.999999"
- ">= v2.2.0.a"
- dependency-name: com.github.albfernandez:juniversalchardet
versions:
- "< v2.3.999999"
- ">= v2.3.a"
- dependency-name: com.github.bumptech.glide:glide
versions:
- ">= 4.9.a"
- "< 4.10"
- dependency-name: com.github.bumptech.glide:glide
versions:
- ">= 4.a"
- "< 5"
- dependency-name: com.github.nextcloud:android-library
versions:
- "< 2"
- ">= 1.a"
- dependency-name: gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin
versions:
- ">= 1.6.10.a"
- "< 1.6.11"
- dependency-name: gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin
versions:
- ">= 1.6.11.a"
- "< 1.6.12"
- dependency-name: gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin
versions:
- ">= 1.7.0.a"
- "< 1.7.1"
- dependency-name: gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin
versions:
- ">= 1.7.1.a"
- "< 1.7.2"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.16.a"
- "< 2.17"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.17.a"
- "< 2.18"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.18.a"
- "< 2.19"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.19.a"
- "< 2.20"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.20.a"
- "< 2.21"
- dependency-name: org.apache.jackrabbit:jackrabbit-webdav
versions:
- ">= 2.21.a"
- "< 2.22"
- dependency-name: org.objenesis:objenesis
versions:
- "> 2.6"
- dependency-name: pl.droidsonroids.gif:android-gif-drawable
versions:
- "< 1.2.17"
- ">= 1.2.16.a"
- dependency-name: pl.droidsonroids.gif:android-gif-drawable
versions:
- ">= 1.2.17.a"
- "< 1.2.18"
directory: "/"
schedule:
interval: daily
time: "03:00"
timezone: Europe/Paris
rebase-strategy: "disabled"
open-pull-requests-limit: 10
labels:
- 2. to review
- dependencies
+1 -1
View File
@@ -7,7 +7,7 @@ jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
- uses: hmarr/auto-approve-action@v2.1.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
+1 -4
View File
@@ -35,11 +35,8 @@ jobs:
script: ./gradlew gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
- name: upload failing results
if: ${{ failure() }}
env:
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
run:
scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
- name: Archive Espresso results
uses: actions/upload-artifact@v2
if: ${{ always() }}
+8 -8
View File
@@ -21,7 +21,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'com.hiya:jacoco-android:0.2'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.3'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.19.0"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
@@ -64,7 +64,7 @@ ext {
daggerVersion = "2.40.5"
markwonVersion = "4.6.2"
prismVersion = "2.0.0"
androidLibraryVersion ="b729946dd1ea9c6672387551acb9e87c7eee6c15"
androidLibraryVersion ="013d5b6eda46fc9bb7da6c66743263a45d495fff"
mockitoVersion = "4.2.0"
mockkVersion = "1.12.2"
powermockVersion = "2.0.9"
@@ -173,8 +173,8 @@ android {
versionDev {
applicationId "com.nextcloud.android.beta"
dimension "default"
versionCode 20220107
versionName "20220107"
versionCode 20220111
versionName "20220111"
}
qa {
@@ -251,7 +251,7 @@ dependencies {
compileOnly 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2' // remove after entire switch to lib v2
implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.1' // remove after entire switch to lib v2
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5' // remove after entire switch to lib v2
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.4.0'
@@ -264,7 +264,7 @@ dependencies {
implementation "androidx.work:work-runtime:$workRuntime"
implementation "androidx.work:work-runtime-ktx:$workRuntime"
implementation "androidx.fragment:fragment-ktx:1.4.0"
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
implementation 'com.github.albfernandez:juniversalchardet:2.3.2' // need this version for Android <7
compileOnly 'com.google.code.findbugs:annotations:3.0.1u2'
implementation 'commons-io:commons-io:2.11.0'
implementation 'org.greenrobot:eventbus:3.3.1'
@@ -317,14 +317,14 @@ dependencies {
implementation "io.noties:prism4j:$prismVersion"
kapt "io.noties:prism4j-bundler:$prismVersion"
implementation ('org.mnode.ical4j:ical4j:1.0.6') {
implementation ('org.mnode.ical4j:ical4j:1.0.8') {
['org.apache.commons','commons-logging'].each {
exclude group: "$it"
}
}
if (!ciBuild) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
}
// dependencies for local unit tests
+2 -2
View File
@@ -80,10 +80,10 @@ else
-X POST https://api.github.com/repos/nextcloud/android/issues/$PR/comments \
-d "{ \"body\" : \"$BRANCH_TYPE test failed, but no output was generated. Maybe a preliminary stage failed. \" }"
if [ -e build/reports/androidTests/connected/flavors/gplayDebugAndroidTest ] ; then
if [ -e build/reports/androidTests/connected/flavors/gplay ] ; then
TYPE="IT"
BRANCH_TYPE=$BRANCH-$TYPE
upload "build/reports/androidTests/connected/flavors/gplayDebugAndroidTest"
upload "build/reports/androidTests/connected/flavors/gplay"
fi
if [ -e build/reports/tests/testGplayDebugUnitTest ] ; then
@@ -1,90 +0,0 @@
/*
*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* Copyright (C) 2019 Tobias Kaminsky
* Copyright (C) 2019 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) 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 <https://www.gnu.org/licenses/>.
*/
package com.nextcloud.client;
import android.app.Activity;
import android.content.Intent;
import android.os.Looper;
import com.owncloud.android.AbstractIT;
import com.owncloud.android.datamodel.ArbitraryDataProvider;
import com.owncloud.android.ui.activity.RequestCredentialsActivity;
import com.owncloud.android.ui.activity.SettingsActivity;
import com.owncloud.android.utils.EncryptionUtils;
import com.owncloud.android.utils.ScreenshotTest;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestRule;
import androidx.test.espresso.intent.rule.IntentsTestRule;
import static org.junit.Assert.assertTrue;
public class SettingsActivityIT extends AbstractIT {
@Rule public IntentsTestRule<SettingsActivity> activityRule = new IntentsTestRule<>(SettingsActivity.class,
true,
false);
@Rule
public final TestRule permissionRule = GrantStoragePermissionRule.grant();
@Test
@ScreenshotTest
public void open() {
Activity sut = activityRule.launchActivity(null);
screenshot(sut);
}
@Test
@ScreenshotTest
public void showMnemonic_Error() {
SettingsActivity sut = activityRule.launchActivity(null);
sut.handleMnemonicRequest(null);
shortSleep();
waitForIdleSync();
screenshot(sut);
}
@Test
public void showMnemonic() {
if (Looper.myLooper() == null) {
Looper.prepare();
}
Intent intent = new Intent();
intent.putExtra(RequestCredentialsActivity.KEY_CHECK_RESULT, RequestCredentialsActivity.KEY_CHECK_RESULT_TRUE);
ArbitraryDataProvider arbitraryDataProvider = new ArbitraryDataProvider(targetContext.getContentResolver());
arbitraryDataProvider.storeOrUpdateKeyValue(user.getAccountName(), EncryptionUtils.MNEMONIC, "Secret mnemonic");
SettingsActivity sut = activityRule.launchActivity(null);
sut.handleMnemonicRequest(intent);
Looper.myLooper().quitSafely();
assertTrue(true); // if we reach this, everything is ok
}
}
@@ -0,0 +1,84 @@
/*
*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* Copyright (C) 2019 Tobias Kaminsky
* Copyright (C) 2019 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) 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 <https://www.gnu.org/licenses/>.
*/
package com.nextcloud.client
import android.app.Activity
import com.owncloud.android.AbstractIT
import androidx.test.espresso.intent.rule.IntentsTestRule
import com.owncloud.android.ui.activity.SettingsActivity
import android.os.Looper
import android.content.Intent
import com.owncloud.android.ui.activity.RequestCredentialsActivity
import com.owncloud.android.datamodel.ArbitraryDataProvider
import com.owncloud.android.utils.EncryptionUtils
import com.owncloud.android.utils.ScreenshotTest
import org.junit.Assert
import org.junit.Rule
import org.junit.Test
@Suppress("FunctionNaming")
class SettingsActivityIT : AbstractIT() {
@get:Rule
val activityRule = IntentsTestRule(
SettingsActivity::class.java,
true,
false
)
@get:Rule
val permissionRule = GrantStoragePermissionRule.grant()
@Test
@ScreenshotTest
fun open() {
val sut: Activity = activityRule.launchActivity(null)
screenshot(sut)
}
@Test
@ScreenshotTest
fun showMnemonic_Error() {
val sut = activityRule.launchActivity(null)
sut.handleMnemonicRequest(null)
shortSleep()
waitForIdleSync()
screenshot(sut)
}
@Test
fun showMnemonic() {
if (Looper.myLooper() == null) {
Looper.prepare()
}
val intent = Intent()
intent.putExtra(RequestCredentialsActivity.KEY_CHECK_RESULT, RequestCredentialsActivity.KEY_CHECK_RESULT_TRUE)
val arbitraryDataProvider = ArbitraryDataProvider(targetContext.contentResolver)
arbitraryDataProvider.storeOrUpdateKeyValue(user.accountName, EncryptionUtils.MNEMONIC, "Secret mnemonic")
val sut = activityRule.launchActivity(null)
sut.runOnUiThread {
sut.handleMnemonicRequest(intent)
}
Looper.myLooper()?.quitSafely()
Assert.assertTrue(true) // if we reach this, everything is ok
}
}
@@ -22,6 +22,8 @@ package com.nextcloud.client.migrations
import androidx.test.annotation.UiThreadTest
import com.nextcloud.client.appinfo.AppInfo
import com.nextcloud.client.core.ManualAsyncRunner
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.anyOrNull
import com.nhaarman.mockitokotlin2.inOrder
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.never
@@ -42,9 +44,15 @@ class MigrationsManagerTest {
const val NEW_APP_VERSION = 42
}
lateinit var migrationStep1: Runnable
lateinit var migrationStep2: Runnable
lateinit var migrationStep3: Runnable
lateinit var migrationStep1Body: (Migrations.Step) -> Unit
lateinit var migrationStep1: Migrations.Step
lateinit var migrationStep2Body: (Migrations.Step) -> Unit
lateinit var migrationStep2: Migrations.Step
lateinit var migrationStep3Body: (Migrations.Step) -> Unit
lateinit var migrationStep3: Migrations.Step
lateinit var migrations: List<Migrations.Step>
@Mock
@@ -60,26 +68,17 @@ class MigrationsManagerTest {
@Before
fun setUp() {
MockitoAnnotations.initMocks(this)
migrationStep1 = mock()
migrationStep2 = mock()
migrationStep3 = mock()
migrations = listOf(
object : Migrations.Step(0, "first migration", true) {
override fun run() {
migrationStep1.run()
}
},
object : Migrations.Step(1, "second optional migration", false) {
override fun run() {
migrationStep2.run()
}
},
object : Migrations.Step(2, "third migration", true) {
override fun run() {
migrationStep3.run()
}
}
)
migrationStep1Body = mock()
migrationStep1 = Migrations.Step(0, "first migration", true, migrationStep1Body)
migrationStep2Body = mock()
migrationStep2 = Migrations.Step(1, "second optional migration", false, migrationStep2Body)
migrationStep3Body = mock()
migrationStep3 = Migrations.Step(2, "third migration", true, migrationStep3Body)
migrations = listOf(migrationStep1, migrationStep2, migrationStep3)
asyncRunner = ManualAsyncRunner()
migrationsDbStore = MockSharedPreferences()
migrationsDb = MigrationsDb(migrationsDbStore)
@@ -93,14 +92,6 @@ class MigrationsManagerTest {
)
}
private fun assertMigrationsRun(vararg migrationSteps: Runnable) {
inOrder(migrationSteps).apply {
migrationSteps.forEach {
verify(it.run())
}
}
}
@Test
fun inital_status_is_unknown() {
// GIVEN
@@ -146,20 +137,50 @@ class MigrationsManagerTest {
// THEN
// total migrations count is returned
// migration functions are called
// migration functions are called with step as argument
// migrations are invoked in order
// applied migrations are recorded
// new app version code is recorded
assertEquals(migrations.size, count)
inOrder(migrationStep1, migrationStep2, migrationStep3).apply {
verify(migrationStep1).run()
verify(migrationStep2).run()
verify(migrationStep3).run()
inOrder(migrationStep1.run, migrationStep2.run, migrationStep3.run).apply {
verify(migrationStep1.run).invoke(migrationStep1)
verify(migrationStep2.run).invoke(migrationStep2)
verify(migrationStep3.run).invoke(migrationStep3)
}
val allAppliedIds = migrations.map { it.id }
assertEquals(allAppliedIds, migrationsDb.getAppliedMigrations())
assertEquals(NEW_APP_VERSION, migrationsDb.lastMigratedVersion)
}
@Test
@UiThreadTest
fun previously_run_migrations_are_not_run_again() {
// GIVEN
// some migrations were run before
whenever(appInfo.versionCode).thenReturn(NEW_APP_VERSION)
migrationsDb.lastMigratedVersion = OLD_APP_VERSION
migrationsDb.addAppliedMigration(migrationStep1.id, migrationStep2.id)
// WHEN
// migrations are applied
val count = migrationsManager.startMigration()
assertTrue(asyncRunner.runOne())
// THEN
// applied migrations count is returned
// previously applied migrations are not run
// required migrations are applied
// applied migrations are recorded
// new app version code is recorded
assertEquals(1, count)
verify(migrationStep1.run, never()).invoke(anyOrNull())
verify(migrationStep2.run, never()).invoke(anyOrNull())
verify(migrationStep3.run).invoke(migrationStep3)
val allAppliedIds = migrations.map { it.id }
assertEquals(allAppliedIds, migrationsDb.getAppliedMigrations())
assertEquals(NEW_APP_VERSION, migrationsDb.lastMigratedVersion)
}
@Test
@UiThreadTest
fun migration_error_is_recorded() {
@@ -174,7 +195,7 @@ class MigrationsManagerTest {
// one migration throws
val lastMigration = migrations.findLast { it.mandatory } ?: throw IllegalStateException("Test fixture error")
val errorMessage = "error message"
whenever(lastMigration.run()).thenThrow(RuntimeException(errorMessage))
whenever(lastMigration.run.invoke(any())).thenThrow(RuntimeException(errorMessage))
migrationsManager.startMigration()
assertTrue(asyncRunner.runOne())
@@ -205,7 +226,7 @@ class MigrationsManagerTest {
// status is set to applied
assertEquals(0, migrationCount)
listOf(migrationStep1, migrationStep2, migrationStep3).forEach {
verify(it, never()).run()
verify(it.run, never()).invoke(any())
}
assertEquals(MigrationsManager.Status.APPLIED, migrationsManager.status.value)
}
@@ -245,7 +266,7 @@ class MigrationsManagerTest {
// one migration is optional and fails
assertEquals("Fixture should provide 1 optional, failing migration", 1, migrations.count { !it.mandatory })
val optionalFailingMigration = migrations.first { !it.mandatory }
whenever(optionalFailingMigration.run()).thenThrow(RuntimeException())
whenever(optionalFailingMigration.run.invoke(any())).thenThrow(RuntimeException())
// WHEN
// migration is started
@@ -177,7 +177,8 @@ public class DialogFragmentIT extends AbstractIT {
@Test
@ScreenshotTest
public void testAccountChooserDialog() throws AccountUtils.AccountNotFoundException {
UserAccountManager userAccountManager = activityRule.getActivity().getUserAccountManager();
FileDisplayActivity activity = activityRule.launchActivity(null);
UserAccountManager userAccountManager = activity.getUserAccountManager();
AccountManager accountManager = AccountManager.get(targetContext);
for (Account account : accountManager.getAccountsByType(MainApp.getAccountType(targetContext))) {
accountManager.removeAccountExplicitly(account);
@@ -210,7 +211,7 @@ public class DialogFragmentIT extends AbstractIT {
new OwnCloudAccount(newAccount, targetContext),
new Server(URI.create(SERVER_URL),
OwnCloudVersion.nextcloud_20)));
FileDisplayActivity activity = showDialog(sut);
activity = showDialog(sut);
activity.runOnUiThread(() -> sut.setStatus(new Status(StatusType.DND,
"Busy fixing 🐛…",
@@ -248,6 +249,7 @@ public class DialogFragmentIT extends AbstractIT {
@Test
@ScreenshotTest
public void testAccountChooserDialogWithStatusDisabled() throws AccountUtils.AccountNotFoundException {
FileDisplayActivity activity = activityRule.launchActivity(null);
AccountManager accountManager = AccountManager.get(targetContext);
for (Account account : accountManager.getAccounts()) {
accountManager.removeAccountExplicitly(account);
@@ -259,7 +261,7 @@ public class DialogFragmentIT extends AbstractIT {
accountManager.setUserData(newAccount, AccountUtils.Constants.KEY_USER_ID, "test");
accountManager.setAuthToken(newAccount, AccountTypeUtils.getAuthTokenTypePass(newAccount.type), "password");
UserAccountManager userAccountManager = activityRule.getActivity().getUserAccountManager();
UserAccountManager userAccountManager = activity.getUserAccountManager();
User newUser = userAccountManager.getUser(newAccount.name).get();
FileDataStorageManager fileDataStorageManager = new FileDataStorageManager(newUser,
targetContext.getContentResolver());
@@ -429,7 +431,12 @@ public class DialogFragmentIT extends AbstractIT {
private FileDisplayActivity showDialog(DialogFragment dialog) {
Intent intent = new Intent(targetContext, FileDisplayActivity.class);
FileDisplayActivity sut = activityRule.launchActivity(intent);
FileDisplayActivity sut = activityRule.getActivity();
if (sut == null) {
sut = activityRule.launchActivity(intent);
}
dialog.show(sut.getSupportFragmentManager(), "");
@@ -225,15 +225,23 @@ internal class BackgroundJobManagerImpl(
override fun schedulePeriodicContactsBackup(user: User) {
val data = Data.Builder()
.putString(ContactsBackupWork.ACCOUNT, user.accountName)
.putBoolean(ContactsBackupWork.FORCE, true)
.putString(ContactsBackupWork.KEY_ACCOUNT, user.accountName)
.putBoolean(ContactsBackupWork.KEY_FORCE, true)
.build()
val constraints = Constraints.Builder()
.setRequiredNetworkType(NetworkType.CONNECTED)
.build()
val request = periodicRequestBuilder(
jobClass = ContactsBackupWork::class,
jobName = JOB_PERIODIC_CONTACTS_BACKUP,
intervalMins = PERIODIC_BACKUP_INTERVAL_MINUTES,
user = user
).setInputData(data).build()
)
.setInputData(data)
.setConstraints(constraints)
.build()
workManager.enqueueUniquePeriodicWork(JOB_PERIODIC_CONTACTS_BACKUP, ExistingPeriodicWorkPolicy.KEEP, request)
}
@@ -292,8 +300,8 @@ internal class BackgroundJobManagerImpl(
override fun startImmediateContactsBackup(user: User): LiveData<JobInfo?> {
val data = Data.Builder()
.putString(ContactsBackupWork.ACCOUNT, user.accountName)
.putBoolean(ContactsBackupWork.FORCE, true)
.putString(ContactsBackupWork.KEY_ACCOUNT, user.accountName)
.putBoolean(ContactsBackupWork.KEY_FORCE, true)
.build()
val request = oneTimeRequestBuilder(ContactsBackupWork::class, JOB_IMMEDIATE_CONTACTS_BACKUP, user)
@@ -70,9 +70,9 @@ class ContactsBackupWork(
companion object {
val TAG = ContactsBackupWork::class.java.simpleName
const val ACCOUNT = "account"
const val FORCE = "force"
const val JOB_INTERVAL_MS: Long = 24 * 60 * 60 * 1000
const val KEY_ACCOUNT = "account"
const val KEY_FORCE = "force"
const val JOB_INTERVAL_MS: Long = 24L * 60L * 60L * 1000L
const val BUFFER_SIZE = 1024
}
@@ -81,7 +81,7 @@ class ContactsBackupWork(
@Suppress("ReturnCount") // pre-existing issue
override fun doWork(): Result {
val accountName = inputData.getString(ACCOUNT) ?: ""
val accountName = inputData.getString(KEY_ACCOUNT) ?: ""
if (TextUtils.isEmpty(accountName)) { // no account provided
return Result.failure()
}
@@ -94,7 +94,7 @@ class ContactsBackupWork(
user,
ContactsPreferenceActivity.PREFERENCE_CONTACTS_LAST_BACKUP
)
val force = inputData.getBoolean(FORCE, false)
val force = inputData.getBoolean(KEY_FORCE, false)
if (force || lastExecution + JOB_INTERVAL_MS < Calendar.getInstance().timeInMillis) {
Log_OC.d(TAG, "start contacts backup job")
val backupFolder: String = resources.getString(R.string.contacts_backup_folder) + OCFile.PATH_SEPARATOR
@@ -55,75 +55,82 @@ class Migrations @Inject constructor(
* @throws Exception migration logic is permitted to throw any kind of exceptions; all exceptions will be wrapped
* into [MigrationException]
*/
abstract class Step(val id: Int, val description: String, val mandatory: Boolean = true) : Runnable
class Step(val id: Int, val description: String, val mandatory: Boolean = true, val run: (s: Step) -> Unit) {
override fun toString(): String {
return "Migration $id: $description"
}
}
/**
* NOP migration used to replace applied migrations that should be applied again.
*/
private fun nop(s: Step) {
logger.i(TAG, "$s: skipped deprecated migration")
}
/**
* Migrate legacy accounts by adding user IDs. This migration can be re-tried until all accounts are
* successfully migrated.
*/
private val migrateUserId = object : Step(0, "Migrate user id", false) {
override fun run() {
val allAccountsHaveUserId = userAccountManager.migrateUserId()
logger.i(TAG, "$description: success = $allAccountsHaveUserId")
if (!allAccountsHaveUserId) {
throw IllegalStateException("Failed to set user id for all accounts")
}
private fun migrateUserId(s: Step) {
val allAccountsHaveUserId = userAccountManager.migrateUserId()
logger.i(TAG, "${s.description}: success = $allAccountsHaveUserId")
if (!allAccountsHaveUserId) {
throw IllegalStateException("Failed to set user id for all accounts")
}
}
/**
* Content observer job must be restarted to use new scheduler abstraction.
*/
private val migrateContentObserverJob = object : Step(1, "Migrate content observer job", false) {
override fun run() {
val legacyWork = workManager.getWorkInfosByTag("content_sync").get()
legacyWork.forEach {
logger.i(TAG, "$description: cancelling legacy work ${it.id}")
workManager.cancelWorkById(it.id)
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
jobManager.scheduleContentObserverJob()
logger.i(TAG, "$description: enabled")
} else {
logger.i(TAG, "$description: disabled")
}
private fun migrateContentObserverJob(s: Step) {
val legacyWork = workManager.getWorkInfosByTag("content_sync").get()
legacyWork.forEach {
logger.i(TAG, "${s.description}: cancelling legacy work ${it.id}")
workManager.cancelWorkById(it.id)
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
jobManager.scheduleContentObserverJob()
logger.i(TAG, "$s: enabled")
} else {
logger.i(TAG, "$s: disabled")
}
}
/**
* Contacts backup job has been migrated to new job runner framework. Re-start contacts upload
* for all users that have it enabled.
*
* Old job is removed from source code, so we need to restart it for each user using
* new jobs API.
* Periodic contacts backup job has been changed and should be restarted.
*/
private val migrateContactsBackupJob = object : Step(2, "Restart contacts backup job") {
override fun run() {
val users = userAccountManager.allUsers
if (users.isEmpty()) {
logger.i(TAG, "$description: no users to migrate")
} else {
users.forEach {
val backupEnabled = arbitraryDataProvider.getBooleanValue(
it.accountName,
ContactsPreferenceActivity.PREFERENCE_CONTACTS_AUTOMATIC_BACKUP
)
if (backupEnabled) {
jobManager.schedulePeriodicContactsBackup(it)
}
logger.i(TAG, "$description: user = ${it.accountName}, backup enabled = $backupEnabled")
private fun restartContactsBackupJobs(s: Step) {
val users = userAccountManager.allUsers
if (users.isEmpty()) {
logger.i(TAG, "$s: no users to migrate")
} else {
users.forEach {
val backupEnabled = arbitraryDataProvider.getBooleanValue(
it.accountName,
ContactsPreferenceActivity.PREFERENCE_CONTACTS_AUTOMATIC_BACKUP
)
if (backupEnabled) {
jobManager.schedulePeriodicContactsBackup(it)
}
logger.i(TAG, "$s: user = ${it.accountName}, backup enabled = $backupEnabled")
}
}
}
/**
* List of migration steps. Those steps will be loaded and run by [MigrationsManager]
* List of migration steps. Those steps will be loaded and run by [MigrationsManager].
*
* If a migration should be run again (applicable to periodic job restarts), insert
* the migration with new ID. To prevent accidental re-use of older IDs, replace old
* migration with this::nop.
*/
@Suppress("MagicNumber")
val steps: List<Step> = listOf(
migrateUserId,
migrateContentObserverJob,
migrateContactsBackupJob
Step(0, "Migrate user id", false, this::migrateUserId),
Step(1, "Migrate content observer job", false, this::migrateContentObserverJob),
Step(2, "Restart contacts backup job", true, this::nop),
Step(3, "Restart contacts backup job", true, this::restartContactsBackupJobs)
).sortedBy { it.id }.apply {
val uniqueIds = associateBy { it.id }.size
if (uniqueIds != size) {
@@ -33,7 +33,7 @@ internal class MigrationsManagerImpl(
private val migrations: Collection<Migrations.Step>
) : MigrationsManager {
override val status: LiveData<Status> = MutableLiveData<Status>(Status.UNKNOWN)
override val status: LiveData<Status> = MutableLiveData(Status.UNKNOWN)
override val info: List<MigrationInfo> get() {
val applied = migrationsDb.getAppliedMigrations()
@@ -77,7 +77,7 @@ internal class MigrationsManagerImpl(
migrations.forEach {
@Suppress("TooGenericExceptionCaught") // migration code is free to throw anything
try {
it.run()
it.run.invoke(it)
migrationsDb.addAppliedMigration(it.id)
} catch (t: Throwable) {
if (it.mandatory) {
@@ -0,0 +1,56 @@
/*
* Nextcloud Android client application
*
* @author Álvaro Brey Vilas
* Copyright (C) 2021 Álvaro Brey Vilas
* Copyright (C) 2021 Nextcloud GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) 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 <https://www.gnu.org/licenses/>.
*/
package com.nextcloud.client.utils
import android.content.Context
import android.content.Intent
import android.net.Uri
import com.owncloud.android.datamodel.OCFile
object IntentUtil {
@JvmStatic
public fun createSendIntent(context: Context, file: OCFile): Intent =
createBaseSendFileIntent().apply {
type = file.mimeType
putExtra(Intent.EXTRA_STREAM, file.getExposedFileUri(context))
}
@JvmStatic
public fun createSendIntent(context: Context, files: Array<OCFile>): Intent =
createBaseSendFileIntent().apply {
type = getUniqueMimetype(files)
putExtra(Intent.EXTRA_STREAM, getExposedFileUris(context, files))
}
private fun createBaseSendFileIntent(): Intent =
Intent(Intent.ACTION_SEND).apply {
addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
}
private fun getUniqueMimetype(files: Array<OCFile>): String? = when {
files.distinctBy { it.mimeType }.size > 1 -> null
else -> files[0].mimeType
}
private fun getExposedFileUris(context: Context, files: Array<OCFile>): Array<Uri> =
files.map { it.getExposedFileUri(context) }.toTypedArray()
}
@@ -76,20 +76,24 @@ public class AuthenticatorAsyncTask extends AsyncTask<Object, Void, RemoteOperat
RemoteOperationResult<UserInfo> userInfoResult = new GetUserInfoRemoteOperation().execute(nextcloudClient);
// Operation - try credentials
OwnCloudClient client = OwnCloudClientFactory.createOwnCloudClient(uri, context, true);
client.setUserId(userInfoResult.getResultData().getId());
client.setCredentials(credentials);
if (userInfoResult.isSuccess()) {
OwnCloudClient client = OwnCloudClientFactory.createOwnCloudClient(uri, context, true);
client.setUserId(userInfoResult.getResultData().getId());
client.setCredentials(credentials);
ExistenceCheckRemoteOperation operation = new ExistenceCheckRemoteOperation(ROOT_PATH, SUCCESS_IF_ABSENT);
result = operation.execute(client);
ExistenceCheckRemoteOperation operation = new ExistenceCheckRemoteOperation(ROOT_PATH, SUCCESS_IF_ABSENT);
result = operation.execute(client);
if (operation.wasRedirected()) {
RedirectionPath redirectionPath = operation.getRedirectionPath();
String permanentLocation = redirectionPath.getLastPermanentLocation();
result.setLastPermanentLocation(permanentLocation);
if (operation.wasRedirected()) {
RedirectionPath redirectionPath = operation.getRedirectionPath();
String permanentLocation = redirectionPath.getLastPermanentLocation();
result.setLastPermanentLocation(permanentLocation);
}
result.setResultData(userInfoResult.getResultData());
} else {
result = userInfoResult;
}
result.setResultData(userInfoResult.getResultData());
} else {
result = new RemoteOperationResult(RemoteOperationResult.ResultCode.UNKNOWN_ERROR);
}
@@ -58,6 +58,7 @@ import com.nextcloud.client.files.DeepLinkHandler;
import com.nextcloud.client.media.PlayerServiceConnection;
import com.nextcloud.client.network.ConnectivityService;
import com.nextcloud.client.preferences.AppPreferences;
import com.nextcloud.client.utils.IntentUtil;
import com.nextcloud.java.util.Optional;
import com.owncloud.android.MainApp;
import com.owncloud.android.R;
@@ -2098,11 +2099,8 @@ public class FileDisplayActivity extends FileActivity
private void sendDownloadedFile(String packageName, String activityName) {
if (mWaitingToSend != null) {
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType(mWaitingToSend.getMimeType());
sendIntent.putExtra(Intent.EXTRA_STREAM, mWaitingToSend.getExposedFileUri(this));
sendIntent.putExtra(Intent.ACTION_SEND, true);
Intent sendIntent = IntentUtil.createSendIntent(this, mWaitingToSend);
sendIntent.setComponent(new ComponentName(packageName, activityName));
// Show dialog
@@ -248,10 +248,10 @@ public class ChooseTemplateDialogFragment extends DialogFragment implements View
String name = binding.filename.getText().toString();
if (name.isEmpty() || name.equalsIgnoreCase(DOT + template.getExtension())) {
binding.filename.setText(String.format("%s.%s", template.title, template.extension));
name = binding.filename.getText().toString();
int dotPos = name.lastIndexOf('.');
binding.filename.setSelection((dotPos != -1) ? dotPos : name.length());
}
name = binding.filename.getText().toString();
int dotPos = name.lastIndexOf('.');
binding.filename.setSelection((dotPos != -1) ? dotPos : name.length());
}
@Override
@@ -11,6 +11,7 @@ import android.view.View;
import android.view.ViewGroup;
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
import com.nextcloud.client.utils.IntentUtil;
import com.owncloud.android.R;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.ui.adapter.SendButtonAdapter;
@@ -80,7 +81,7 @@ public class SendFilesDialog extends BottomSheetDialogFragment {
View view = inflater.inflate(R.layout.send_files_fragment, container, false);
// populate send apps
Intent sendIntent = createSendIntent();
Intent sendIntent = IntentUtil.createSendIntent(requireContext(), files);
List<SendButtonData> sendButtonDataList = setupSendButtonData(sendIntent);
@@ -124,36 +125,4 @@ public class SendFilesDialog extends BottomSheetDialogFragment {
}
return sendButtonDataList;
}
@NonNull
private Intent createSendIntent() {
Intent sendIntent = new Intent(Intent.ACTION_SEND_MULTIPLE);
sendIntent.setType(getUniqueMimetype());
sendIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, getExposedFileUris());
sendIntent.putExtra(Intent.ACTION_SEND, true);
return sendIntent;
}
@Nullable
private String getUniqueMimetype() {
String mimetype = files[0].getMimeType();
for (OCFile file : files) {
if (!mimetype.equals(file.getMimeType())) {
return null;
}
}
return mimetype;
}
private ArrayList<Uri> getExposedFileUris() {
ArrayList<Uri> uris = new ArrayList<>();
for (OCFile file : files) {
uris.add(file.getExposedFileUri(requireContext()));
}
return uris;
}
}
@@ -16,6 +16,7 @@ import android.widget.TextView;
import com.google.android.material.bottomsheet.BottomSheetBehavior;
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
import com.google.android.material.snackbar.Snackbar;
import com.nextcloud.client.utils.IntentUtil;
import com.owncloud.android.R;
import com.owncloud.android.datamodel.OCFile;
import com.owncloud.android.lib.common.utils.Log_OC;
@@ -155,7 +156,7 @@ public class SendShareDialog extends BottomSheetDialogFragment {
}
// populate send apps
Intent sendIntent = createSendIntent();
Intent sendIntent = IntentUtil.createSendIntent(requireContext(), file);
List<SendButtonData> sendButtonDataList = setupSendButtonData(sendIntent);
@@ -266,15 +267,6 @@ public class SendShareDialog extends BottomSheetDialogFragment {
return sendButtonDataList;
}
@NonNull
private Intent createSendIntent() {
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType(file.getMimeType());
sendIntent.putExtra(Intent.EXTRA_STREAM, file.getExposedFileUri(getActivity()));
sendIntent.putExtra(Intent.ACTION_SEND, true);
return sendIntent;
}
private void shareFile(OCFile file) {
dismiss();
@@ -405,7 +405,6 @@ public class FileOperationsHelper {
String guessedMimeType = MimeTypeMap.getSingleton().getMimeTypeFromExtension(fileExt);
if (guessedMimeType != null) {
openFileWithIntent = new Intent(Intent.ACTION_VIEW);
openFileWithIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
openFileWithIntent.setDataAndType(
fileUri,
guessedMimeType
@@ -883,16 +882,14 @@ public class FileOperationsHelper {
}
public void toggleFavoriteFiles(Collection<OCFile> files, boolean shouldBeFavorite) {
List<OCFile> alreadyRightStateList = new ArrayList<>();
List<OCFile> toToggle = new ArrayList<>();
for (OCFile file : files) {
if (file.isFavorite() == shouldBeFavorite) {
alreadyRightStateList.add(file);
if (file.isFavorite() != shouldBeFavorite) {
toToggle.add(file);
}
}
files.removeAll(alreadyRightStateList);
for (OCFile file : files) {
for (OCFile file : toToggle) {
toggleFavoriteFile(file, shouldBeFavorite);
}
}
-1
View File
@@ -544,7 +544,6 @@
<string name="prefs_lock_using_device_credentials">بيانات اعتماد الجهاز</string>
<string name="prefs_lock_using_passcode">الرمز السري</string>
<string name="prefs_manage_accounts">إدارة الحسابات</string>
<string name="prefs_recommend">توصية صديق</string>
<string name="prefs_show_hidden_files">عرض الملفات المخفية</string>
<string name="prefs_sourcecode">الحصول على الشفرة المصدرية</string>
<string name="prefs_storage_path">مجلد تخزين البيانات</string>
-1
View File
@@ -510,7 +510,6 @@
<string name="prefs_lock_using_device_credentials">Device credentials</string>
<string name="prefs_lock_using_passcode">Passcode</string>
<string name="prefs_manage_accounts">Manage accounts</string>
<string name="prefs_recommend">Recommend to friend</string>
<string name="prefs_show_hidden_files">Show hidden files</string>
<string name="prefs_sourcecode">Get source code</string>
<string name="prefs_storage_path">Data storage folder</string>
-1
View File
@@ -278,7 +278,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
-1
View File
@@ -545,7 +545,6 @@
<string name="prefs_lock_using_device_credentials">Удостоверяване от устройството</string>
<string name="prefs_lock_using_passcode">Код за достъп</string>
<string name="prefs_manage_accounts">Управление на профилите</string>
<string name="prefs_recommend">Препоръчай на приятел</string>
<string name="prefs_show_hidden_files">Показване и на скрити файлове</string>
<string name="prefs_sourcecode">Получаване на изходния код</string>
<string name="prefs_storage_path">Папка за съхранение на данни</string>
-1
View File
@@ -474,7 +474,6 @@
<string name="prefs_lock_using_device_credentials">Titouroù identitelez an ardivink</string>
<string name="prefs_lock_using_passcode">Kod-tremen</string>
<string name="prefs_manage_accounts">Merañ ar c\'hontoù</string>
<string name="prefs_recommend">Kinnig d\'o mignonned</string>
<string name="prefs_show_hidden_files">Diskouez ar restroù koachet</string>
<string name="prefs_sourcecode">Kavout ar c\'hod orin</string>
<string name="prefs_synced_folders_local_path_title">Teuliadoù diabarzh</string>
-1
View File
@@ -513,7 +513,6 @@
<string name="prefs_lock_using_device_credentials">Credencials del dispositiu</string>
<string name="prefs_lock_using_passcode">Codi d\'accés</string>
<string name="prefs_manage_accounts">Gestió de comptes</string>
<string name="prefs_recommend">Recomana a un amic</string>
<string name="prefs_show_hidden_files">Mostra els fitxers ocults</string>
<string name="prefs_sourcecode">Aconseguiu el codi font</string>
<string name="prefs_storage_path">Carpeta de dades</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Přihlašovací údaje zařízení</string>
<string name="prefs_lock_using_passcode">Bezpečnostní kód</string>
<string name="prefs_manage_accounts">Spravovat účty</string>
<string name="prefs_recommend">Doporučit přátelům</string>
<string name="prefs_show_hidden_files">Zobrazit skryté soubory</string>
<string name="prefs_sourcecode">Získat zdrojové kódy</string>
<string name="prefs_storage_path">Složka úložiště</string>
-1
View File
@@ -551,7 +551,6 @@ Enheds legitimationsoplysninger er sat op
<string name="prefs_lock_using_device_credentials">Enheds legitimationsoplysninger</string>
<string name="prefs_lock_using_passcode">Adgangskode</string>
<string name="prefs_manage_accounts">Administrer konti</string>
<string name="prefs_recommend">Foreslå til en ven</string>
<string name="prefs_show_hidden_files">Vis skjulte filer</string>
<string name="prefs_sourcecode">Hent kildetekst</string>
<string name="prefs_storage_path">Lagringsmappe for data</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Geräte-Anmeldedaten</string>
<string name="prefs_lock_using_passcode">PIN</string>
<string name="prefs_manage_accounts">Konten verwalten</string>
<string name="prefs_recommend">Einem Freund empfehlen</string>
<string name="prefs_show_hidden_files">Versteckte Dateien anzeigen</string>
<string name="prefs_sourcecode">Zum Programmcode</string>
<string name="prefs_storage_path">Speicherordner</string>
-1
View File
@@ -513,7 +513,6 @@
<string name="prefs_lock_using_device_credentials">Διαπιστευτήρια συσκευής</string>
<string name="prefs_lock_using_passcode">Κωδικός πρόσβασης</string>
<string name="prefs_manage_accounts">Διαχείριση λογαριασμών</string>
<string name="prefs_recommend">Προτείνετε σε φίλο</string>
<string name="prefs_show_hidden_files">Εμφάνιση κρυφών αρχείων</string>
<string name="prefs_sourcecode">Λήψη πηγαίου κώδικα</string>
<string name="prefs_storage_path">Φάκελος αποθήκευσης δεδομένων</string>
-1
View File
@@ -406,7 +406,6 @@
<string name="prefs_lock_using_device_credentials">Aparataj akreditiloj</string>
<string name="prefs_lock_using_passcode">Pasvorto</string>
<string name="prefs_manage_accounts">Administri kontojn</string>
<string name="prefs_recommend">Rekomendi al amiko</string>
<string name="prefs_show_hidden_files">Montri kaŝitajn dosierojn</string>
<string name="prefs_sourcecode">Havi fontkodon</string>
<string name="prefs_synced_folders_local_path_title">Loka dosierujo</string>
-1
View File
@@ -493,7 +493,6 @@
<string name="prefs_lock_using_device_credentials">Contraseña del dispositivo</string>
<string name="prefs_lock_using_passcode">Contraseña</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_storage_path">Carpeta de almacenamiento de datos</string>
-1
View File
@@ -337,7 +337,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
-1
View File
@@ -356,7 +356,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
-1
View File
@@ -337,7 +337,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
-1
View File
@@ -351,7 +351,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
-1
View File
@@ -352,7 +352,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
-1
View File
@@ -337,7 +337,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
-1
View File
@@ -442,7 +442,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
-1
View File
@@ -337,7 +337,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
-1
View File
@@ -293,7 +293,6 @@
<string name="prefs_license">Licencia</string>
<string name="prefs_lock_none">Ninguno</string>
<string name="prefs_manage_accounts">Administrar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_synced_folders_local_path_title">Carpeta local</string>
+5 -6
View File
@@ -221,7 +221,7 @@
<string name="drawer_item_activities">Actividades</string>
<string name="drawer_item_all_files">Todos los archivos</string>
<string name="drawer_item_favorites">Favoritos</string>
<string name="drawer_item_gallery">Mutimedia</string>
<string name="drawer_item_gallery">Multimedia</string>
<string name="drawer_item_home">Inicio</string>
<string name="drawer_item_notifications">Notificaciones</string>
<string name="drawer_item_on_device">En el dispositivo</string>
@@ -236,9 +236,9 @@
<string name="drawer_quota">%1$s de %2$s utilizados</string>
<string name="drawer_quota_unlimited">usado %1$s</string>
<string name="drawer_synced_folders">Carga automática</string>
<string name="encrypted">Establecer como encriptado</string>
<string name="encrypted">Establecer como cifrado</string>
<string name="end_to_end_encryption_confirm_button">Configurar cifrado</string>
<string name="end_to_end_encryption_decrypting">Desencriptando…</string>
<string name="end_to_end_encryption_decrypting">Descifrando…</string>
<string name="end_to_end_encryption_dialog_close">Cerrar</string>
<string name="end_to_end_encryption_enter_password">Por favor, introduce la contraseña para descifrar la clave privada.</string>
<string name="end_to_end_encryption_folder_not_empty">Esta carpeta no está vacía.</string>
@@ -251,7 +251,7 @@
<string name="end_to_end_encryption_storing_keys">Almacenando claves</string>
<string name="end_to_end_encryption_title">Configurar cifrado</string>
<string name="end_to_end_encryption_unsuccessful">No se han podido almacenar las claves. Por favor, vuelve a intentarlo.</string>
<string name="end_to_end_encryption_wrong_password">Error al desencriptar. ¿Contraseña incorrecta?</string>
<string name="end_to_end_encryption_wrong_password">Error al descifrar. ¿Contraseña incorrecta?</string>
<string name="enter_destination_filename">Introduce el nombre del archivo de destino</string>
<string name="enter_filename">Por favor, introduce un nombre de archivo</string>
<string name="error__upload__local_file_not_copied">%1$s no se ha podido copiar a la carpeta local %2$s</string>
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Credenciales del dispositivo</string>
<string name="prefs_lock_using_passcode">Código de acceso</string>
<string name="prefs_manage_accounts">Gestionar cuentas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Mostrar archivos ocultos</string>
<string name="prefs_sourcecode">Obtener el código fuente</string>
<string name="prefs_storage_path">Carpeta de almacenamiento de datos</string>
@@ -758,7 +757,7 @@
<string name="trashbin_loading_failed">¡Fallo al cargar la papelera!</string>
<string name="trashbin_not_emptied">No se ha podido eliminar permanentemente el archivo.</string>
<string name="unread_comments">Hay comentarios no leídos</string>
<string name="unset_encrypted">Desconfigurar cifrado</string>
<string name="unset_encrypted">Desactivar cifrado</string>
<string name="unset_favorite">Quitar de favoritos</string>
<string name="unshare_link_file_error">Ha ocurrido un error al dejar de compartir este archivo o carpeta.</string>
<string name="unshare_link_file_no_exist">Imposible dejar de compartir. Por favor, comprueba que el archivo exista.</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Gailuaren egiaztagiriak</string>
<string name="prefs_lock_using_passcode">Pasahitza</string>
<string name="prefs_manage_accounts">Kudeatu kontuak</string>
<string name="prefs_recommend">Gomendatu lagun bati</string>
<string name="prefs_show_hidden_files">Erakutsi ezkutuko fitxategiak</string>
<string name="prefs_sourcecode">Eskuratu iturburu-kodea</string>
<string name="prefs_storage_path">Datu-biltegiratze karpeta</string>
-1
View File
@@ -513,7 +513,6 @@
<string name="prefs_lock_using_device_credentials">اعتبارنامه‌های دستگاه</string>
<string name="prefs_lock_using_passcode">کد عبور</string>
<string name="prefs_manage_accounts">مدیریت حساب ها </string>
<string name="prefs_recommend">پیشنهاد به دوستان </string>
<string name="prefs_show_hidden_files">فایل های مخفی را نشان بده </string>
<string name="prefs_sourcecode">دریافت کد منبع</string>
<string name="prefs_storage_path">مسیر ذخیره‌سازی</string>
-1
View File
@@ -539,7 +539,6 @@ GNU yleinen lisenssi, versio 2</string>
<string name="prefs_lock_using_device_credentials">Laitteen kirjautumistiedot</string>
<string name="prefs_lock_using_passcode">Suojakoodi</string>
<string name="prefs_manage_accounts">Tilien hallinta</string>
<string name="prefs_recommend">Suosittele kaverille</string>
<string name="prefs_show_hidden_files">Näytä piilotetut tiedostot</string>
<string name="prefs_sourcecode">Hanki lähdekoodi</string>
<string name="prefs_storage_path">Tiedostojen tallennuskansio</string>
-1
View File
@@ -551,7 +551,6 @@ Attention la suppression est irréversible.</string>
<string name="prefs_lock_using_device_credentials">Informations d\'identification du terminal</string>
<string name="prefs_lock_using_passcode">Code de sécurité</string>
<string name="prefs_manage_accounts">Gestion des comptes</string>
<string name="prefs_recommend">Recommander à un ami</string>
<string name="prefs_show_hidden_files">Afficher les fichiers masqués</string>
<string name="prefs_sourcecode">Obtenir le code source</string>
<string name="prefs_storage_path">Répertoire de données</string>
-1
View File
@@ -512,7 +512,6 @@
<string name="prefs_lock_using_device_credentials">Teisteas an uidheim</string>
<string name="prefs_lock_using_passcode">Còd-faire</string>
<string name="prefs_manage_accounts">Stiùirich cunntasan</string>
<string name="prefs_recommend">Mol do charaid</string>
<string name="prefs_show_hidden_files">Seall faidhlichean falaichte</string>
<string name="prefs_sourcecode">Faigh am bun-tùs</string>
<string name="prefs_storage_path">Pasgan stòradh dàta</string>
-1
View File
@@ -500,7 +500,6 @@
<string name="prefs_lock_using_device_credentials">Credenciais do dispositivo</string>
<string name="prefs_lock_using_passcode">Código de seguridade</string>
<string name="prefs_manage_accounts">Xestionar contas</string>
<string name="prefs_recommend">Recomendar a un amigo</string>
<string name="prefs_show_hidden_files">Amosar ficheiros agochados</string>
<string name="prefs_sourcecode">Obter o código fonte</string>
<string name="prefs_storage_path">Cartafol de almacenamento de datos</string>
-1
View File
@@ -541,7 +541,6 @@
<string name="prefs_lock_using_device_credentials">Vjerodajnice uređaja</string>
<string name="prefs_lock_using_passcode">Zaporka</string>
<string name="prefs_manage_accounts">Upravljaj računima</string>
<string name="prefs_recommend">Preporuči prijatelju</string>
<string name="prefs_show_hidden_files">Prikaz skrivenih datoteka</string>
<string name="prefs_sourcecode">Preuzmi izvorni kod</string>
<string name="prefs_storage_path">Mapa za pohranu podataka</string>
-1
View File
@@ -547,7 +547,6 @@
<string name="prefs_lock_using_device_credentials">Eszközhitelesítő-adatok</string>
<string name="prefs_lock_using_passcode">Számkód</string>
<string name="prefs_manage_accounts">Fiókok kezelése</string>
<string name="prefs_recommend">Ajánlás egy barátnak</string>
<string name="prefs_show_hidden_files">Rejtett fájlok megjelenítése</string>
<string name="prefs_sourcecode">Forráskód beszerzése</string>
<string name="prefs_storage_path">Adattároló mappa</string>
-1
View File
@@ -399,7 +399,6 @@ Otomatis unggah hanya bekerja dengan baik apabila anda mengeluarkan aplikasi ini
<string name="prefs_lock_using_device_credentials">Credentials perangkat</string>
<string name="prefs_lock_using_passcode">Kunci kode sandi</string>
<string name="prefs_manage_accounts">Kelola akun</string>
<string name="prefs_recommend">Rekomendasikan ke teman</string>
<string name="prefs_show_hidden_files">Lihat berkas tersembunyi</string>
<string name="prefs_sourcecode">Dapatkan kode sumber</string>
<string name="prefs_synced_folders_local_path_title">Berkas lokal</string>
-1
View File
@@ -473,7 +473,6 @@
<string name="prefs_lock_using_device_credentials">Auðkenni tækis</string>
<string name="prefs_lock_using_passcode">Lykilkóða</string>
<string name="prefs_manage_accounts">Sýsla með notendaaðganga</string>
<string name="prefs_recommend">Mæla með við vin</string>
<string name="prefs_show_hidden_files">Sýna faldar skrár</string>
<string name="prefs_sourcecode">Náðu í grunnkóðann</string>
<string name="prefs_synced_folders_local_path_title">Staðvær mappa</string>
+3 -1
View File
@@ -14,6 +14,7 @@
<string name="action_send_share">Invia/Condividi</string>
<string name="action_switch_grid_view">Vista Griglia</string>
<string name="action_switch_list_view">Vista Elenco</string>
<string name="actionbar_calendar_contacts_restore">Ripristina contatti e calendario</string>
<string name="actionbar_copy">Copia</string>
<string name="actionbar_mkdir">Nuova cartella</string>
<string name="actionbar_move">Sposta</string>
@@ -76,6 +77,7 @@
<string name="avatar">Avatar</string>
<string name="away">Assente</string>
<string name="backup_settings">Impostazioni di backup</string>
<string name="backup_title">Backup contatti e calendario</string>
<string name="battery_optimization_close">Chiudi</string>
<string name="battery_optimization_disable">Disabilita</string>
<string name="battery_optimization_message">Il tuo dispositivo potrebbe avere l\'ottimizzazione della batteria abilitata. Il caricamento automatico funziona correttamente solo se escludi questa applicazione dall\'ottimizzazione.</string>
@@ -526,6 +528,7 @@
<string name="prefs_category_dev">Sviluppo</string>
<string name="prefs_category_general">Generale</string>
<string name="prefs_category_more">Altro</string>
<string name="prefs_daily_backup_summary">Backup quotidiano del tuo calendario e dei contatti</string>
<string name="prefs_e2e_mnemonic">Codice mnemonico E2E</string>
<string name="prefs_e2e_no_device_credentials">Per mostrare il codice mnemonico, abilita le credenziali del dispositivo.</string>
<string name="prefs_enable_media_scan_notifications">Mostra notifiche di scansione dei supporti</string>
@@ -546,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Credenziali di dispositivo</string>
<string name="prefs_lock_using_passcode">Codice di sicurezza</string>
<string name="prefs_manage_accounts">Gestisci account</string>
<string name="prefs_recommend">Consiglia a un amico</string>
<string name="prefs_show_hidden_files">Mostra i file nascosti</string>
<string name="prefs_sourcecode">Ottieni codice sorgente</string>
<string name="prefs_storage_path">Cartella di archiviazione dei dati</string>
-1
View File
@@ -464,7 +464,6 @@
<string name="prefs_lock_using_device_credentials">פרטי זיהוי להתקן</string>
<string name="prefs_lock_using_passcode">צופן נעילה</string>
<string name="prefs_manage_accounts">ניהול חשבונות</string>
<string name="prefs_recommend">המליצו לחברים</string>
<string name="prefs_show_hidden_files">הצגת קבצים נסתרים</string>
<string name="prefs_sourcecode">קבלת קוד המקור</string>
<string name="prefs_synced_folders_local_path_title">תיקייה מקומית</string>
+1 -2
View File
@@ -528,7 +528,7 @@
<string name="prefs_category_dev">開発者</string>
<string name="prefs_category_general">一般</string>
<string name="prefs_category_more">もっと見る</string>
<string name="prefs_daily_backup_summary">&amp;カレンダーと連絡先を毎日バックアップ</string>
<string name="prefs_daily_backup_summary">カレンダーと連絡先を毎日バックアップ</string>
<string name="prefs_e2e_mnemonic">E2Eニーモニック</string>
<string name="prefs_e2e_no_device_credentials">ニーモニックを表示するには、デバイスクレデンシャルを有効にしてください。</string>
<string name="prefs_enable_media_scan_notifications">メディアのスキャン結果通知を表示する</string>
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">デバイスの資格情報</string>
<string name="prefs_lock_using_passcode">パスコード</string>
<string name="prefs_manage_accounts">アカウント管理</string>
<string name="prefs_recommend">友達におすすめ</string>
<string name="prefs_show_hidden_files">隠しファイルを表示</string>
<string name="prefs_sourcecode">ソースコードを入手</string>
<string name="prefs_storage_path">データ保存フォルダー</string>
-1
View File
@@ -308,7 +308,6 @@
<string name="prefs_license">ლიცენზია</string>
<string name="prefs_lock_none">არც ერთი</string>
<string name="prefs_manage_accounts">ანგარიშების მართვა</string>
<string name="prefs_recommend">ურჩიეთ მეგობარს</string>
<string name="prefs_show_hidden_files">დამალული ფაილების ჩვენება</string>
<string name="prefs_sourcecode">მიიღეთ კოდი</string>
<string name="prefs_synced_folders_local_path_title">ლოკალური დირექტორია</string>
-1
View File
@@ -546,7 +546,6 @@
<string name="prefs_lock_using_device_credentials">기기 인증 정보</string>
<string name="prefs_lock_using_passcode">암호</string>
<string name="prefs_manage_accounts">계정 관리</string>
<string name="prefs_recommend">친구에게 추천하기</string>
<string name="prefs_show_hidden_files">숨겨진 파일 보기</string>
<string name="prefs_sourcecode">소스 코드 보기</string>
<string name="prefs_storage_path">데이터 저장 폴더</string>
-1
View File
@@ -499,7 +499,6 @@
<string name="prefs_lock_using_device_credentials">ການຢັ້ງຢືນອຸປະກອນ</string>
<string name="prefs_lock_using_passcode">ລະຫັດຜ່ານ</string>
<string name="prefs_manage_accounts">ຈັດການບັນຊີ</string>
<string name="prefs_recommend">ເເນະນຳໃຫ້ໝູ່</string>
<string name="prefs_show_hidden_files">ສະແດງຟາຍທີ່ເຊື່ອງໄວ້</string>
<string name="prefs_sourcecode">ຮັບລະຫັດແຫຼ່ງຂໍ້ມູນ</string>
<string name="prefs_storage_path">ໂຟນເດີການເກັບຂໍ້ມູນ</string>
+31 -1
View File
@@ -10,6 +10,7 @@
<string name="action_clear_failed_uploads">Išvalyti nepavykusius įkėlimus</string>
<string name="action_edit">Taisyti</string>
<string name="action_empty_notifications">Išvalyti visus pranešimus</string>
<string name="action_empty_trashbin">Išvalyti šiukšliadėžę</string>
<string name="action_send_share">Siųsti/Bendrinti</string>
<string name="action_switch_grid_view">Tinklelio rodinys</string>
<string name="action_switch_list_view">Sąrašo rodinys</string>
@@ -67,6 +68,7 @@
<string name="auth_wrong_connection_title">Nepavyko užmegzti ryšio</string>
<string name="auto_upload_file_behaviour_kept_in_folder">saugomi originaliame aplanke, nes jis yra tik skaitomas</string>
<string name="auto_upload_on_wifi">Įkelti tik esant Wi-Fi prisijungimui.</string>
<string name="auto_upload_path">/AutoĮkėlimas</string>
<string name="autoupload_configure">Konfigūruoti</string>
<string name="autoupload_create_new_custom_folder">Naujas aplanko nustatymas</string>
<string name="autoupload_custom_folder">Pritaikyti aplanką</string>
@@ -74,11 +76,13 @@
<string name="autoupload_hide_folder">Slėpti aplanką</string>
<string name="avatar">Avataras</string>
<string name="away">Atsitraukęs</string>
<string name="backup_settings">Atsarginių kopijų nustatymai</string>
<string name="battery_optimization_close">Užverti</string>
<string name="battery_optimization_disable">Išjungti</string>
<string name="battery_optimization_message">Gali būti, kad Jūsų įrenginyje įjungta akumuliatriaus energijos naudojimo optimizacija. Automatinis įkėlimas tinkamai veikia tik tuo atveju, jei iš jo pašalinsite šią programą.
 </string>
<string name="battery_optimization_title">Akumuliatoriaus energijos optimizacija</string>
<string name="brute_force_delay">Uždelsta dėl per didelio neteisingų bandymų skaičiaus</string>
<string name="calendar">Kalendorius</string>
<string name="calendars">Kalendoriai</string>
<string name="certificate_load_problem">Klaida, įkeliant liudijimą.</string>
@@ -146,8 +150,10 @@
<string name="conflict_already_existing_file">Jau esamas failas</string>
<string name="conflict_dialog_error">Klaida kuriant konflikto dialogą!</string>
<string name="conflict_file_headline">Nesuderinamas failas%1$s</string>
<string name="conflict_local_file">Failas iš įrenginio</string>
<string name="conflict_message_description">Jei pasirinksite abi versijas, vietinis failas prie pavadinimo turės numerį.</string>
<string name="conflict_new_file">Naujas failas</string>
<string name="conflict_server_file">Failas iš serverio</string>
<string name="contactlist_item_icon">Naudotojo piktograma kontaktų sąraše </string>
<string name="contactlist_no_permission">Leidimas nesuteiktas, nieko neimportuota.</string>
<string name="contacts">Adresatai</string>
@@ -177,16 +183,19 @@
<string name="create_rich_workspace"> Pridėti aplanko informaciją</string>
<string name="creates_rich_workspace">sukuria aplanko informaciją</string>
<string name="credentials_disabled">Prisijungimo duomenys išjungti</string>
<string name="daily_backup">Kasdienės atsarginės kopijos</string>
<string name="date_unknown">Nežinoma</string>
<string name="default_credentials_wrong">Neteisingi prisijungimo duomenys</string>
<string name="delete_account">Šalinti paskyrą</string>
<string name="delete_account_warning">Pašalinti paskyrą %s ir ištrinti visus vietinius failus?\n\nIštrynimo nebegalima bus atšaukti.</string>
<string name="delete_entries">Ištrinti įrašus</string>
<string name="delete_link">Pašalinti Nuorodą</string>
<string name="deselect_all">Panaikinti pasirinkimą</string>
<string name="dev_version_new_version_available">Yra prieinama nauja versija</string>
<string name="dev_version_no_information_available">Informacija neprieinama</string>
<string name="dev_version_no_new_version_available">Nauja versija neprieinama.</string>
<string name="dialog_close">Uždaryti</string>
<string name="did_not_check_for_dupes">Neieškoti dublikatų.</string>
<string name="digest_algorithm_not_available">Tavo telefonas nepalaiko digest algoritmo.</string>
<string name="direct_login_failed">Prisijungimas per tiesioginę nuorodą nepavyko!</string>
<string name="disable_new_media_folder_detection_notifications">Išjungti</string>
@@ -267,8 +276,11 @@
<string name="etm_migrations">Perkėlimas (programos atnaujinimas)</string>
<string name="etm_preferences">Nuostatos</string>
<string name="etm_title">Inžinerinis bandymo režimas</string>
<string name="etm_transfer">Failų persiuntimas</string>
<string name="etm_transfer_remote_path">Nuotolinis kelias</string>
<string name="etm_transfer_type">Persiųsti</string>
<string name="etm_transfer_type_download">Atsisiųsti</string>
<string name="etm_transfer_type_upload">Įkelti</string>
<string name="fab_label">Pridėti arba įkelti</string>
<string name="failed_to_download">Nepavyko perduoti failo į atsiuntimų tvarkytuvę</string>
<string name="failed_to_print">Nepavyko spausdinti failo</string>
@@ -299,6 +311,7 @@
<string name="file_list_loading">Įkeliama…</string>
<string name="file_list_no_app_for_file_type">Nėra šios programos failo tipui tvarkyti.</string>
<string name="file_list_seconds_ago">prieš keletą sekundžių</string>
<string name="file_management_permission">Neturite teisių</string>
<string name="file_migration_checking_destination">Tikrinama paskirties vieta…</string>
<string name="file_migration_cleaning">Išvaloma…</string>
<string name="file_migration_dialog_title">Atnaujinamas duomenų saugyklos aplankas</string>
@@ -371,9 +384,12 @@
<string name="invisible">Nematoma</string>
<string name="label_empty">Kortelė negali būti tuščia</string>
<string name="link">Nuoroda</string>
<string name="link_name">Nuorodos Pavadinimas</string>
<string name="link_share_allow_upload_and_editing">Leisti įkelti ir redaguoti</string>
<string name="link_share_editing">Redagavimas</string>
<string name="link_share_file_drop">Failų įmetimas (tik įkėlimas)</string>
<string name="link_share_read_only">Tik skaitymui</string>
<string name="link_share_view_only">Tik peržiūrėti</string>
<string name="list_layout">Išdėstymas sąraše</string>
<string name="load_more_results">Įkelti daugiau rezultatų</string>
<string name="local_file_list_empty">Šiame aplanke nėra failų.</string>
@@ -385,6 +401,7 @@
<string name="logs_menu_delete">Ištrinti žurnalus</string>
<string name="logs_menu_refresh">Įkelti iš naujo</string>
<string name="logs_menu_search">Ieškoti žurnalo įrašų</string>
<string name="logs_menu_send">Siųsti veiklos informaciją el. paštu</string>
<string name="logs_status_filtered">Žurnalo įrašai: %1$d kB, užklausą atitiko %2$d/%3$d per %4$d ms</string>
<string name="logs_status_loading">Įkeliama…</string>
<string name="logs_status_not_filtered">Žurnalo įrašai: %1$d kB, nėra filtro</string>
@@ -431,11 +448,13 @@
<string name="no_calendar_exists">Nėra jokių kalendorių</string>
<string name="no_mutliple_accounts_allowed">Leidžiama tik viena paskyra</string>
<string name="no_pdf_app_available">Nėra programėlės, skirtos apdoroti PDF</string>
<string name="no_share_permission_selected">Pasirinkite bent vieną teisių grupę bendrinimui.</string>
<string name="note_confirm">Siųsti</string>
<string name="note_could_not_sent">nepavyko išsiųsti užrašų</string>
<string name="note_icon_hint">Užrašo piktograma</string>
<string name="notification_action_failed">Nepavyko įvykdyti veiksmą.</string>
<string name="notification_channel_download_description">Rodo atsiuntimo eigą</string>
<string name="notification_channel_download_name_short">Atsiuntimai</string>
<string name="notification_channel_file_sync_description">Rodo failų sinchronizavimo eigą ir rezultatus</string>
<string name="notification_channel_file_sync_name">Failo sinchronzacija</string>
<string name="notification_channel_general_description">Rodyti pranešimus apie naujus laikmenų aplankus ir panašiai</string>
@@ -445,6 +464,7 @@
<string name="notification_channel_push_description">Rodyti serverio siunčiamus tiesioginius pranešimus: minėjimai komentaruose, naujų bendrinimų priėmimas, administratoriaus pranešimai ir kt.</string>
<string name="notification_channel_push_name">Tiesioginiai (angl. Push) pranešimai</string>
<string name="notification_channel_upload_description">Rodo įkėlimo eigą</string>
<string name="notification_channel_upload_name_short">Įkėlimai</string>
<string name="notification_icon">Pranešimo piktograma</string>
<string name="notifications_no_results_headline">Pranešimų nėra</string>
<string name="notifications_no_results_message">Prašome patikrinti vėliau.</string>
@@ -515,7 +535,6 @@
<string name="prefs_lock_using_device_credentials">Įrenginio prisijungimo duomenys</string>
<string name="prefs_lock_using_passcode">Užraktas</string>
<string name="prefs_manage_accounts">Tvarkyti paskyras</string>
<string name="prefs_recommend">Rekomenduok draugui</string>
<string name="prefs_show_hidden_files">Rodyti paslėptus failus</string>
<string name="prefs_sourcecode">Gauti išeities kodą</string>
<string name="prefs_storage_path">Duomenų aplankas</string>
@@ -552,7 +571,9 @@
<string name="resharing_is_not_allowed">Bendrinimas iš naujo yra neleidžiamas</string>
<string name="resized_image_not_possible_download">Nėra prieinamas pakeisto dydžio paveikslas. Atsisiųsti pilno dydžio paveikslą?</string>
<string name="restore">Atkurti failą</string>
<string name="restore_backup">Atkurti atsarginę kopiją</string>
<string name="restore_button_description">Atkurti ištrintą failą</string>
<string name="restore_selected">Atkurti pažymėtus</string>
<string name="retrieving_file">Gaunamas failas…</string>
<string name="richdocuments_failed_to_load_document">Nepavyko įkelti dokumento!</string>
<string name="scanQR_description">Prisijungti per QR kodą</string>
@@ -575,6 +596,7 @@
<string name="send_note">Siųsti pastabą gavėjui</string>
<string name="sendbutton_description">Siuntimo mygtuko priktograma</string>
<string name="set_as">Nustatyti kaip</string>
<string name="set_note">Įrašyti pastabą</string>
<string name="set_picture_as">Naudoti paveikslėlį kaip</string>
<string name="set_status">Nustatyti būseną</string>
<string name="set_status_message">Nustatyti būsenos žinutę</string>
@@ -600,9 +622,12 @@
<string name="share_no_expiration_date_label">Nustatyti galiojimo pabaigos datą</string>
<string name="share_no_password_title">Nustatyti slaptažodį</string>
<string name="share_password_title">Apsaugota slaptažodžiu</string>
<string name="share_permission_can_edit">Galima redaguoti</string>
<string name="share_permission_view_only">Tik peržiūrėti</string>
<string name="share_remote_clarification">%1$s (nuotolinis)</string>
<string name="share_room_clarification">%1$s (pokalbis)</string>
<string name="share_search">Vardas, „Federated Cloud ID“ arba el. Pašto adresas…</string>
<string name="share_send_new_email">Siųsti naują elektroninį laišką</string>
<string name="share_send_note">Pastaba gavėjui</string>
<string name="share_settings">Nustatymai</string>
<string name="share_via_link_hide_download">Slėpti atsisiuntimą</string>
@@ -669,6 +694,7 @@
<string name="stream_not_possible_message">Prašome, parsisiųskite media arba naudokite išorinę programą.</string>
<string name="subject_shared_with_you">„%1$s“ yra bendrinama su jumis</string>
<string name="subject_user_shared_with_you">%1$s pradėjo bendrinti su jumis „%2$s“</string>
<string name="suggest">Siūlyti</string>
<string name="sync_conflicts_in_favourites_ticker">Rastas konfliktas</string>
<string name="sync_current_folder_was_removed">Aplanko %1$s nebėra</string>
<string name="sync_fail_content">Nepavyko sinchronizuoti %1$s</string>
@@ -709,6 +735,7 @@
<string name="trashbin_empty_message">Čia galėsite atkurti ištrintus failus.</string>
<string name="trashbin_file_not_deleted">Nepavyko ištrinti failo %1$s!</string>
<string name="trashbin_file_not_restored">Nepavyko atkurti failo %1$s!</string>
<string name="trashbin_loading_failed">Nepavyko įkelti šiukšliadėžės!</string>
<string name="trashbin_not_emptied">Nepavyko ištrinti failų visam laikui!</string>
<string name="unread_comments">Yra neskaitytų komentarų</string>
<string name="unset_encrypted">Atjungti šifravimą</string>
@@ -751,6 +778,7 @@
<string name="uploader_error_message_read_permission_not_granted">%1$s neleidžiama perskaityti gauto failo</string>
<string name="uploader_error_message_source_file_not_copied">Nepavyko nukopijuoti failo į laikiną aplanką. Pabandykite dar kartą</string>
<string name="uploader_error_message_source_file_not_found">Nepavyko įkelti failo. Patikrinkite failą, kurį norite įkelti.</string>
<string name="uploader_error_title_file_cannot_be_uploaded">Failas negali būti įkeltas</string>
<string name="uploader_error_title_no_file_to_upload">Nėra failo, kurį norite įkelti</string>
<string name="uploader_info_dirname">Aplanko pavadinimas</string>
<string name="uploader_top_message">Pasirinkite aplanką, kurį norite įkelti</string>
@@ -793,6 +821,7 @@
<string name="uploads_view_upload_status_virus_detected">Aptiktas virusas. Įkėlimas negali būti užbaigtas!</string>
<string name="uploads_view_upload_status_waiting_exit_power_save_mode">Laukiama išeiti iš energijos taupymo režimo</string>
<string name="uploads_view_upload_status_waiting_for_charging">Laukiama mokėjimo </string>
<string name="uploads_view_upload_status_waiting_for_wifi">Laukiama neriboto Wi-Fi</string>
<string name="user_icon">Naudotojas</string>
<string name="user_info_address">Adresas</string>
<string name="user_info_email">El. paštas</string>
@@ -811,6 +840,7 @@
<string name="whats_new_skip">Praleisti</string>
<string name="whats_new_title">Naujas %1$s</string>
<string name="whats_your_status">Kokia jūsų būsena?</string>
<string name="write_email">Siųsti elektroninį laišką</string>
<string name="wrong_storage_path">Duomenų saugyklos aplanko nėra!</string>
<plurals name="sync_fail_in_favourites_content">
<item quantity="one">Nepavyko sinchronizuoti %1$d failo (konfliktai: %2$d)</item>
-1
View File
@@ -348,7 +348,6 @@
<string name="prefs_lock_using_device_credentials">Ierīces akreditācijas dati</string>
<string name="prefs_lock_using_passcode">Kods</string>
<string name="prefs_manage_accounts">Pārvaldīt kontus</string>
<string name="prefs_recommend">Ieteikt draugam</string>
<string name="prefs_show_hidden_files">Rādīt slēptās datnes</string>
<string name="prefs_synced_folders_local_path_title">Vietējā mape</string>
<string name="prefs_synced_folders_remote_path_title">Attālinātā mape</string>
-1
View File
@@ -481,7 +481,6 @@
<string name="prefs_lock_using_device_credentials">Акредитиви од уредот</string>
<string name="prefs_lock_using_passcode">Лозинка</string>
<string name="prefs_manage_accounts">Управување со сметки</string>
<string name="prefs_recommend">Препорачај на пријател</string>
<string name="prefs_show_hidden_files">Прикажи сокриени датотеки</string>
<string name="prefs_sourcecode">Превземи го изворниот код</string>
<string name="prefs_storage_path">Папка за складиште на податоци</string>
-1
View File
@@ -507,7 +507,6 @@
<string name="prefs_lock_using_device_credentials">Enhetens legitimasjon</string>
<string name="prefs_lock_using_passcode">Passord</string>
<string name="prefs_manage_accounts">Håndter kontoer</string>
<string name="prefs_recommend">Anbefal til en venn</string>
<string name="prefs_show_hidden_files">Vis skjulte filer</string>
<string name="prefs_sourcecode">Hent kildekode</string>
<string name="prefs_storage_path">Datalagringsmappe</string>
+5 -1
View File
@@ -150,8 +150,10 @@
<string name="conflict_already_existing_file">Al bestaand bestand</string>
<string name="conflict_dialog_error">Fout bij het maken van conflictdialoog!</string>
<string name="conflict_file_headline">Conflicterend bestand%1$s</string>
<string name="conflict_local_file">Lokaal bestand</string>
<string name="conflict_message_description">Als je beide versies selecteert, zal het lokale bestand een nummer aan de naam toegevoegd krijgen.</string>
<string name="conflict_new_file">Nieuw bestand</string>
<string name="conflict_server_file">Serverbestand</string>
<string name="contactlist_item_icon">Contactpersonen pictogram</string>
<string name="contactlist_no_permission">Geen rechten gegeven, niets geïmporteerd.</string>
<string name="contacts">Contacten</string>
@@ -257,6 +259,7 @@
<string name="error_choosing_date">Fout bij het kiezen van de datum</string>
<string name="error_comment_file">Fout bij plaatsen commentaar</string>
<string name="error_crash_title">%1$s gecrasht</string>
<string name="error_creating_file_from_template">Fout bij creëren bestand vanaf sjabloon</string>
<string name="error_report_issue_action">Rapporteer</string>
<string name="error_report_issue_text">Probleem melden op de tracker? (vereist een Github-account)</string>
<string name="error_retrieving_file">Fout bij ophalen van bestand</string>
@@ -300,6 +303,7 @@
<string name="file_list_empty">Upload je inhoud of synchroniseer met je apparaten.</string>
<string name="file_list_empty_favorite_headline">Nog niets als favoriet gemarkeerd</string>
<string name="file_list_empty_favorites_filter_list">Als favoriet gemarkeerde bestanden en mappen worden hier getoond.</string>
<string name="file_list_empty_gallery">Geen afbeeldingen of video\'s gevonden</string>
<string name="file_list_empty_headline">Hier geen bestanden</string>
<string name="file_list_empty_headline_search">Geen resultaten in deze map</string>
<string name="file_list_empty_headline_server_search">Geen resultaten</string>
@@ -310,6 +314,7 @@
<string name="file_list_empty_search">Misschien staat het in een andere map?</string>
<string name="file_list_empty_shared">Bestanden en mappen die je deelt, worden hier getoond.</string>
<string name="file_list_empty_shared_headline">Nog niets gedeeld</string>
<string name="file_list_empty_unified_search_no_results">Geen zoekresultaten voor je opvraag</string>
<string name="file_list_folder">map</string>
<string name="file_list_loading">Laden…</string>
<string name="file_list_no_app_for_file_type">Er is geen app ingesteld om dit bestandsformaat te behandelen.</string>
@@ -544,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Toestelgegevens</string>
<string name="prefs_lock_using_passcode">Toegangscode</string>
<string name="prefs_manage_accounts">Accounts beheren</string>
<string name="prefs_recommend">Aanbevelen bij vriend</string>
<string name="prefs_show_hidden_files">Verborgen bestanden weergeven</string>
<string name="prefs_sourcecode">Krijg broncode</string>
<string name="prefs_storage_path">Gegevensopslagmap</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Poświadczenia urządzenia</string>
<string name="prefs_lock_using_passcode">Kod PIN</string>
<string name="prefs_manage_accounts">Zarządzaj kontami</string>
<string name="prefs_recommend">Poleć znajomemu</string>
<string name="prefs_show_hidden_files">Pokaż ukryte pliki</string>
<string name="prefs_sourcecode">Pobierz kod źródłowy</string>
<string name="prefs_storage_path">Katalog przechowywania danych</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Credenciais do dispositivo</string>
<string name="prefs_lock_using_passcode">Senha</string>
<string name="prefs_manage_accounts">Gerenciar contas</string>
<string name="prefs_recommend">Recomendar a um amigo</string>
<string name="prefs_show_hidden_files">Mostrar arquivos ocultos</string>
<string name="prefs_sourcecode">Obter código-fonte</string>
<string name="prefs_storage_path">Pasta de armazenamento de dados</string>
-1
View File
@@ -510,7 +510,6 @@
<string name="prefs_lock_using_device_credentials">Credenciais de dispositivo</string>
<string name="prefs_lock_using_passcode">Código</string>
<string name="prefs_manage_accounts">Gerir contas</string>
<string name="prefs_recommend">Recomendar a um amigo</string>
<string name="prefs_show_hidden_files">Mostrar ficheiros ocultados</string>
<string name="prefs_sourcecode">Obter código fonte</string>
<string name="prefs_storage_path">Pasta com o armazenamento de dados</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Autentificarea dispozitivului</string>
<string name="prefs_lock_using_passcode">Parolă</string>
<string name="prefs_manage_accounts">Administrare conturi</string>
<string name="prefs_recommend">Recomandați unui prieten</string>
<string name="prefs_show_hidden_files">Arată fișierele ascunse</string>
<string name="prefs_sourcecode">Obține codul sursă</string>
<string name="prefs_storage_path">Dosarul de stocare a datelor</string>
-1
View File
@@ -543,7 +543,6 @@
<string name="prefs_lock_using_device_credentials">Системная защитная блокировка</string>
<string name="prefs_lock_using_passcode">Блокировка кодом</string>
<string name="prefs_manage_accounts">Управление аккаунтами</string>
<string name="prefs_recommend">Рекомендовать другу</string>
<string name="prefs_show_hidden_files">Показывать скрытые файлы</string>
<string name="prefs_sourcecode">Получить исходный код</string>
<string name="prefs_storage_path">Папка хранения данных</string>
-1
View File
@@ -512,7 +512,6 @@
<string name="prefs_lock_using_device_credentials">Credentziales de su dispositivu</string>
<string name="prefs_lock_using_passcode">Còdighe de atzessu</string>
<string name="prefs_manage_accounts">Gesti is contos</string>
<string name="prefs_recommend">Cussigia·ddu a un\'amistade tua</string>
<string name="prefs_show_hidden_files">Mustra documentos cuados</string>
<string name="prefs_sourcecode">Otene su còdighe sorgente</string>
<string name="prefs_storage_path">Cartella de archiviatzione de is datos</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Prihlasovacie údaje zariadenia</string>
<string name="prefs_lock_using_passcode">Heslo</string>
<string name="prefs_manage_accounts">Spravovať účty</string>
<string name="prefs_recommend">Odporučiť priateľom</string>
<string name="prefs_show_hidden_files">Zobraziť skryté súbory</string>
<string name="prefs_sourcecode">Získajte zdrojový kód</string>
<string name="prefs_storage_path">Adresár dátového úložiska</string>
-1
View File
@@ -535,7 +535,6 @@
<string name="prefs_lock_using_device_credentials">Poverila naprave</string>
<string name="prefs_lock_using_passcode">Koda PIN</string>
<string name="prefs_manage_accounts">Upravljanje z računi</string>
<string name="prefs_recommend">Priporoči prijatelju</string>
<string name="prefs_show_hidden_files">Pokaži skrite datoteke</string>
<string name="prefs_sourcecode">Pridobi izvorno kodo</string>
<string name="prefs_storage_path">Mapa podatkovne shrambe</string>
-1
View File
@@ -454,7 +454,6 @@
<string name="prefs_lock_using_device_credentials">Kredencialet e pajisjes</string>
<string name="prefs_lock_using_passcode">Kodkalimi</string>
<string name="prefs_manage_accounts">Administroni llogaritë</string>
<string name="prefs_recommend">Rekomandojani një miku </string>
<string name="prefs_show_hidden_files">Trego skedarët e fshehur</string>
<string name="prefs_sourcecode">Merr kodin burimor</string>
<string name="prefs_synced_folders_local_path_title">Dosje lokale</string>
-1
View File
@@ -421,7 +421,6 @@
<string name="prefs_lock_using_device_credentials">Akreditive uređaja</string>
<string name="prefs_lock_using_passcode">Kod</string>
<string name="prefs_manage_accounts">Upravljanje nalozima</string>
<string name="prefs_recommend">Preporučite prijatelju</string>
<string name="prefs_show_hidden_files">Prikaži skrivene fajlove</string>
<string name="prefs_sourcecode">Uzmi izvorni kôd</string>
<string name="prefs_synced_folders_local_path_title">Lokalna fascikla</string>
-1
View File
@@ -476,7 +476,6 @@
<string name="prefs_lock_using_device_credentials">Акредитиве уређаја</string>
<string name="prefs_lock_using_passcode">Код</string>
<string name="prefs_manage_accounts">Управљање налозима</string>
<string name="prefs_recommend">Препоручите пријатељу</string>
<string name="prefs_show_hidden_files">Прикажи скривене фајлове</string>
<string name="prefs_sourcecode">Узми изворни кôд</string>
<string name="prefs_synced_folders_local_path_title">Локална фасцикла</string>
-1
View File
@@ -545,7 +545,6 @@
<string name="prefs_lock_using_device_credentials">Enhetens inloggningsuppgifter</string>
<string name="prefs_lock_using_passcode">Kodlås</string>
<string name="prefs_manage_accounts">Hantera konton</string>
<string name="prefs_recommend">Rekommendera till vän</string>
<string name="prefs_show_hidden_files">Visa dolda filer</string>
<string name="prefs_sourcecode">Hämta källkod</string>
<string name="prefs_storage_path">Datalagringsmapp</string>
-1
View File
@@ -499,7 +499,6 @@
<string name="prefs_lock_using_device_credentials">Enjam şahsyýetnamasy</string>
<string name="prefs_lock_using_passcode">Programma kody</string>
<string name="prefs_manage_accounts">Hasabyňyzy dolandyrmak</string>
<string name="prefs_recommend">Dostuňyza maslahat beriň</string>
<string name="prefs_show_hidden_files">Gizlin faýllary görkez</string>
<string name="prefs_sourcecode">Çeşme koduny alyň</string>
<string name="prefs_storage_path">Maglumat saklaýyş bukjasy</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Aygıt kimlik doğrulama bilgileri</string>
<string name="prefs_lock_using_passcode">Parola</string>
<string name="prefs_manage_accounts">Hesap yönetimi</string>
<string name="prefs_recommend">Arkadaşına öner</string>
<string name="prefs_show_hidden_files">Gizli dosyaları görüntüle</string>
<string name="prefs_sourcecode">Kaynak kodunu alın</string>
<string name="prefs_storage_path">Veri depolama klasörü</string>
-1
View File
@@ -529,7 +529,6 @@
<string name="prefs_lock_using_device_credentials">Облікові дані пристрою</string>
<string name="prefs_lock_using_passcode">Код доступу</string>
<string name="prefs_manage_accounts">Управління обліковими записами</string>
<string name="prefs_recommend">Порадити друзям</string>
<string name="prefs_show_hidden_files">Відобразити сховані файли</string>
<string name="prefs_sourcecode">Отримати вихідний код</string>
<string name="prefs_storage_path">Папка для зберігання даних</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">Chứng nhận thiết bị</string>
<string name="prefs_lock_using_passcode">Mật mã</string>
<string name="prefs_manage_accounts">Quản lý tài khoản</string>
<string name="prefs_recommend">Giới thiệu cho bạn bè</string>
<string name="prefs_show_hidden_files">Hiển thị các tệp ẩn</string>
<string name="prefs_sourcecode">Lấy mã nguồn</string>
<string name="prefs_storage_path">Thư mục lưu trữ dữ liệu</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">设备凭证</string>
<string name="prefs_lock_using_passcode">安全码</string>
<string name="prefs_manage_accounts">管理账号</string>
<string name="prefs_recommend">推荐给朋友</string>
<string name="prefs_show_hidden_files">显示隐藏文件</string>
<string name="prefs_sourcecode">获取源代码</string>
<string name="prefs_storage_path">数据存储文件夹</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">裝置身分驗證方式</string>
<string name="prefs_lock_using_passcode">通行碼</string>
<string name="prefs_manage_accounts">管理賬號</string>
<string name="prefs_recommend">向朋友推薦</string>
<string name="prefs_show_hidden_files">顯示隱藏檔案</string>
<string name="prefs_sourcecode">取得原始碼</string>
<string name="prefs_storage_path">資料儲存資料夾</string>
-1
View File
@@ -549,7 +549,6 @@
<string name="prefs_lock_using_device_credentials">裝置憑證</string>
<string name="prefs_lock_using_passcode">通行碼</string>
<string name="prefs_manage_accounts">管理帳號</string>
<string name="prefs_recommend">向朋友推薦</string>
<string name="prefs_show_hidden_files">顯示隱藏檔案</string>
<string name="prefs_sourcecode">取得原始碼</string>
<string name="prefs_storage_path">資料儲存資料夾</string>
+1 -1
View File
@@ -54,7 +54,7 @@
<string name="prefs_daily_backup_summary">Daily backup of your calendar &amp; contacts</string>
<string name="prefs_sycned_folders_summary">Manage folders for auto upload</string>
<string name="prefs_help">Help</string>
<string name="prefs_recommend">Recommend to friend</string>
<string name="prefs_recommend">Recommend to a friend</string>
<string name="prefs_imprint">Imprint</string>
<string name="prefs_value_theme_light">Light</string>
<string name="prefs_value_theme_dark">Dark</string>
@@ -0,0 +1,6 @@
Run contacts backup job only when network is connected
FileOperationsHelper: remove duplicated flags in openFile
AuthenticatorAsyncTask: check if user info result is success before proceeding
Centralize creation of ACTION_SEND intents and explicitly grant READ_URI permission to them
Update translations
Update 3rd-party dependencies
@@ -0,0 +1,7 @@
l10n: fixed grammar
FileOperationsHelper: fix aliasing when toggling favorite files
Manually bump lib
ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
Update translations
Update Nextcloud Android library
Update 3rd-party dependencies