Skip to content

Commit 93d4244

Browse files
authored
Merge branch 'master' into master
2 parents 726fcbc + 40ec339 commit 93d4244

File tree

87 files changed

+1178
-839
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+1178
-839
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:noble@sha256:9cbed754112939e914291337b5e554b07ad7c392491dba6daf25eef1332a22e8
1+
FROM ubuntu:noble@sha256:353675e2a41babd526e2b837d7ec780c2a05bca0164f7ea5dbbd433d21d166fc
22

33
ARG DEBIAN_FRONTEND=noninteractive
44
ENV ANDROID_HOME=/usr/lib/android-sdk

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
swap-size-gb: 10
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
46+
uses: github/codeql-action/init@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
4747
with:
4848
languages: ${{ matrix.language }}
4949
- name: Set up JDK 17
@@ -57,4 +57,4 @@ jobs:
5757
echo "org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
5858
./gradlew assembleDebug
5959
- name: Perform CodeQL Analysis
60-
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
60+
uses: github/codeql-action/analyze@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ jobs:
3434
persist-credentials: false
3535

3636
- name: "Run analysis"
37-
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
37+
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
3838
with:
3939
results_file: results.sarif
4040
results_format: sarif
4141
publish_results: false
4242

4343
# Upload the results to GitHub's code scanning dashboard.
4444
- name: "Upload to code-scanning"
45-
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
45+
uses: github/codeql-action/upload-sarif@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
4646
with:
4747
sarif_file: results.sarif

.github/workflows/screenShotTest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929

3030
- name: Gradle cache
31-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
31+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3232
with:
3333
path: |
3434
~/.gradle/caches
3535
~/.gradle/wrapper
3636
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
3737
- name: AVD cache
38-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
38+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3939
id: avd-cache
4040
with:
4141
path: |

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client
1212
[<img src="https://f-droid.org/badge/get-it-on.png"
1313
alt="Get it on F-Droid"
1414
height="80">](https://f-droid.org/packages/com.nextcloud.client/)
15+
[<img src="https://github.com/user-attachments/assets/713d71c5-3dec-4ec4-a3f2-8d28d025a9c6"
16+
alt="Get it with Obtainium"
17+
height="80">](https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22com.nextcloud.client%22%2C%22url%22%3A%22https%3A%2F%2Fgithub.com%2Fnextcloud%2Fandroid%22%2C%22author%22%3A%22nextcloud%22%2C%22name%22%3A%22Nextcloud%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22includePrereleases%5C%22%3Afalse%2C%5C%22fallbackToOlderReleases%5C%22%3Atrue%2C%5C%22filterReleaseTitlesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22filterReleaseNotesByRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22verifyLatestTag%5C%22%3Afalse%2C%5C%22sortMethodChoice%5C%22%3A%5C%22date%5C%22%2C%5C%22useLatestAssetDateAsReleaseDate%5C%22%3Afalse%2C%5C%22releaseTitleAsVersion%5C%22%3Afalse%2C%5C%22trackOnly%5C%22%3Afalse%2C%5C%22versionExtractionRegEx%5C%22%3A%5C%22%5C%22%2C%5C%22matchGroupToUse%5C%22%3A%5C%22%5C%22%2C%5C%22versionDetection%5C%22%3Atrue%2C%5C%22releaseDateAsVersion%5C%22%3Afalse%2C%5C%22useVersionCodeAsOSVersion%5C%22%3Afalse%2C%5C%22apkFilterRegEx%5C%22%3A%5C%22%5Enextcloud.*%5C%22%2C%5C%22invertAPKFilter%5C%22%3Afalse%2C%5C%22autoApkFilterByArch%5C%22%3Atrue%2C%5C%22appName%5C%22%3A%5C%22%5C%22%2C%5C%22appAuthor%5C%22%3A%5C%22%5C%22%2C%5C%22shizukuPretendToBeGooglePlay%5C%22%3Afalse%2C%5C%22allowInsecure%5C%22%3Afalse%2C%5C%22exemptFromBackgroundUpdates%5C%22%3Afalse%2C%5C%22skipUpdateNotifications%5C%22%3Afalse%2C%5C%22about%5C%22%3A%5C%22Nextcloud%20ist%20eine%20Cloudanwendung%2C%20die%20selbst%20gehostet%20werden%20kann.%5C%22%2C%5C%22refreshBeforeDownload%5C%22%3Atrue%7D%22%2C%22overrideSource%22%3Anull%7D)
1518

1619
Signing certificate fingerprint to [verify](https://developer.android.com/studio/command-line/apksigner#usage-verify) the APK:
1720
- APK with "gplay" name, found [here](https://github.com/nextcloud/android/releases) or distributed via Google Play Store

app/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ plugins {
3232
alias(libs.plugins.spotless)
3333
alias(libs.plugins.kapt)
3434
alias(libs.plugins.ksp) apply false
35+
alias(libs.plugins.kotlin.serialization)
3536
}
3637

3738
apply plugin: "com.android.application"
@@ -69,7 +70,7 @@ configurations.configureEach {
6970
}
7071

7172
if (requested.group == "commons-logging" && requested.name == "commons-logging") {
72-
useTarget("org.slf4j:jcl-over-slf4j:1.7.4")
73+
useTarget("org.slf4j:jcl-over-slf4j:1.7.36")
7374
}
7475
}
7576
}
@@ -496,6 +497,9 @@ dependencies {
496497
// region Image loading
497498
implementation libs.coil
498499
// endregion
500+
501+
// kotlinx.serialization
502+
implementation(libs.kotlinx.serialization.json)
499503
}
500504

501505

app/src/androidTest/java/com/owncloud/android/AbstractIT.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -400,11 +400,6 @@ public BatteryStatus getBattery() {
400400
public boolean isPowerSavingEnabled() {
401401
return false;
402402
}
403-
404-
@Override
405-
public boolean isPowerSavingExclusionAvailable() {
406-
return false;
407-
}
408403
};
409404

410405
UserAccountManager accountManager = UserAccountManagerImpl.fromContext(targetContext);

app/src/androidTest/java/com/owncloud/android/AbstractOnServerIT.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,6 @@ public BatteryStatus getBattery() {
216216
public boolean isPowerSavingEnabled() {
217217
return false;
218218
}
219-
220-
@Override
221-
public boolean isPowerSavingExclusionAvailable() {
222-
return false;
223-
}
224219
};
225220

226221
UserAccountManager accountManager = UserAccountManagerImpl.fromContext(targetContext);

app/src/androidTest/java/com/owncloud/android/UploadIT.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,6 @@ public Connectivity getConnectivity() {
8282
public boolean isPowerSavingEnabled() {
8383
return false;
8484
}
85-
86-
@Override
87-
public boolean isPowerSavingExclusionAvailable() {
88-
return false;
89-
}
90-
9185
@NonNull
9286
@Override
9387
public BatteryStatus getBattery() {
@@ -237,11 +231,6 @@ public boolean isPowerSavingEnabled() {
237231
return false;
238232
}
239233

240-
@Override
241-
public boolean isPowerSavingExclusionAvailable() {
242-
return false;
243-
}
244-
245234
@NonNull
246235
@Override
247236
public BatteryStatus getBattery() {

app/src/androidTest/java/com/owncloud/android/files/services/FileUploaderIT.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ abstract class FileUploaderIT : AbstractOnServerIT() {
4646
override val isPowerSavingEnabled: Boolean
4747
get() = false
4848

49-
override val isPowerSavingExclusionAvailable: Boolean
50-
get() = false
51-
5249
override val battery: BatteryStatus
5350
get() = BatteryStatus()
5451
}

0 commit comments

Comments
 (0)