Skip to content

Commit e8059c6

Browse files
Merge branch 'master' into renovate/composebom
2 parents 4a45232 + e1a80b6 commit e8059c6

File tree

246 files changed

+4600
-1843
lines changed

Some content is hidden

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

246 files changed

+4600
-1843
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:353675e2a41babd526e2b837d7ec780c2a05bca0164f7ea5dbbd433d21d166fc
1+
FROM ubuntu:noble@sha256:66460d557b25769b102175144d538d88219c077c678a49af4afca6fbfc1b5252
22

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

.github/workflows/analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ concurrency:
2727
jobs:
2828
analysis:
2929
runs-on: ubuntu-latest
30+
timeout-minutes: 60
3031
steps:
3132
- name: Disabled on forks
3233
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }}

.github/workflows/assembleFlavors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
distribution: "temurin"
3030
java-version: 17
31-
- uses: gradle/actions/wrapper-validation@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
31+
- uses: gradle/actions/wrapper-validation@748248ddd2a24f49513d8f472f81c3a07d4d50e1 # v4.4.4
3232
- name: Build ${{ matrix.flavor }}
3333
run: |
3434
echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g" >> gradle.properties

.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@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # v3.30.4
46+
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
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@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # v3.30.4
60+
uses: github/codeql-action/analyze@16140ae1a102900babc80a33c44059580f687047 # v4.30.9

.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@303c0aef88fc2fe5ff6d63d3b1596bfd83dfa1f9 # v3.30.4
45+
uses: github/codeql-action/upload-sarif@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
4646
with:
4747
sarif_file: results.sarif

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
issues: write
2121
pull-requests: write
2222
steps:
23-
- uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
23+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
2424
with:
2525
days-before-stale: 28
2626
days-before-close: 14

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
if: ${{ always() }}
3434
run: scripts/deleteOldComments.sh "test" "Unit" ${{github.event.number}}
3535
- name: Setup Gradle
36-
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
36+
uses: gradle/actions/setup-gradle@748248ddd2a24f49513d8f472f81c3a07d4d50e1 # v4.4.4
3737
- name: Run unit tests with coverage
3838
run: ./gradlew jacocoTestGplayDebugUnitTest
3939
- name: Upload failing results

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

Readme-AR.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<!--
2+
~ SPDX-FileCopyrightText: 2025 Saeed <[email protected]>
3+
~ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
4+
-->
5+
# تطبيق [Nextcloud](https://nextcloud.com)لأجهزة أندرويد 📱
6+
7+
[![حالة REUSE](https://api.reuse.software/badge/github.com/nextcloud/android)](https://api.reuse.software/info/github.com/nextcloud/android)
8+
[![حالة البناء](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android)
9+
[![تقييم Codacy](https://app.codacy.com/project/badge/Grade/fb4cf26336774ee3a5c9adfe829c41aa)](https://app.codacy.com/gh/nextcloud/android/dashboard)
10+
[![الإصدارات](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
11+
12+
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png" alt="تحميل من Google Play" height="80">](https://play.google.com/store/apps/details?id=com.nextcloud.client)
13+
[<img src="https://f-droid.org/badge/get-it-on.png" alt="احصل عليه من F-Droid" height="80">](https://f-droid.org/packages/com.nextcloud.client/)
14+
15+
## التحقق من توقيع التطبيق 🔐
16+
17+
للتأكد من صحة ملف APK:
18+
19+
- ملف APK باسم "gplay" متوفر [هنا](https://github.com/nextcloud/android/releases) أو عبر متجر Google Play
20+
- ملف APK باسم "nextcloud" متوفر [هنا](https://github.com/nextcloud/android/releases)
21+
- غير مناسب لتحميلات F-Droid، لأن F-Droid يقوم بتوقيعه بنفسه
22+
23+
```plaintext
24+
SHA-256: fb009522f65e25802261b67b10a45fd70e610031976f40b28a649e152ded0373
25+
SHA-1: 74aa1702e714941be481e1f7ce4a8f779c19dcea
26+
```
27+
28+
**تطبيق Nextcloud لأندرويد يتيح لك إدارة بياناتك بسهولة على خادم Nextcloud الخاص بك.**
29+
30+
## الحصول على الدعم 🆘
31+
32+
إذا واجهت مشكلة أو لديك سؤال، يمكنك زيارة [منتدى الدعم](https://help.nextcloud.com/c/clients/android).
33+
إذا اكتشفت خطأ أو لديك اقتراح لتحسين التطبيق، يمكنك [فتح قضية جديدة على GitHub](https://github.com/nextcloud/android/issues).
34+
35+
إذا لم تكن متأكدًا ما إذا كانت المشكلة ناتجة عن التطبيق أو الإعدادات أو الخادم، فابدأ بالسؤال في المنتدى، ثم عد إلى GitHub إذا لزم الأمر.
36+
37+
> ملاحظة: هذا المستودع خاص بتطبيق أندرويد فقط. إذا كانت المشكلة في الخادم، يرجى التواصل مع [فريق خادم Nextcloud](https://github.com/nextcloud/server).
38+
39+
## كيف تساهم في المشروع 🚀
40+
41+
هناك العديد من الطرق للمساهمة، سواء كنت مبرمجًا أو لا:
42+
43+
- مساعدة المستخدمين في المنتدى: https://help.nextcloud.com
44+
- ترجمة التطبيق عبر [Transifex](https://app.transifex.com/nextcloud/nextcloud/android/)
45+
- الإبلاغ عن المشاكل أو تقديم اقتراحات عبر [GitHub Issues](https://github.com/nextcloud/android/issues/new/choose)
46+
- تنفيذ إصلاحات أو تحسينات عبر Pull Requests
47+
- مراجعة [طلبات الدمج](https://github.com/nextcloud/android/pulls)
48+
- اختبار النسخ التجريبية أو اليومية أو المرشحة للإصدار
49+
- تحسين [التوثيق](https://github.com/nextcloud/documentation/)
50+
- اختبار الميزات الأساسية في آخر إصدار مستقر
51+
- تعلم كيفية جمع سجلات الأخطاء (logcat) لتقديم تقارير دقيقة
52+
53+
## إرشادات المساهمة والترخيص 📜
54+
55+
- الترخيص: [GPLv2](https://github.com/nextcloud/android/blob/master/LICENSE.txt)
56+
- جميع المساهمات بعد 16 يونيو 2016 تعتبر مرخصة تحت AGPLv3 أو أي إصدار لاحق
57+
- لا حاجة لتوقيع اتفاقية مساهم (CLA)
58+
- يُفضل إضافة السطر التالي في رأس الملف عند إجراء تغييرات كبيرة:
59+
60+
```plaintext
61+
SPDX-FileCopyrightText: <السنة> <اسمك> <بريدك الإلكتروني>
62+
```
63+
64+
يرجى قراءة [مدونة السلوك](https://nextcloud.com/community/code-of-conduct/) لضمان بيئة تعاون إيجابية.
65+
راجع أيضًا [إرشادات المساهمة](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md).
66+
67+
## ابدأ بالمساهمة 🔧
68+
69+
- اقرأ [SETUP.md](https://github.com/nextcloud/android/blob/master/SETUP.md) و[CONTRIBUTING.md](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md)
70+
- قم بعمل fork للمستودع وابدأ بإرسال Pull Requests إلى فرع master
71+
- يمكنك البدء بمراجعة [طلبات الدمج](https://github.com/nextcloud/android/pulls) أو العمل على [القضايا المبتدئة](https://github.com/nextcloud/android/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)
72+
73+
## جمع سجلات الأخطاء (logcat) 🔍
74+
75+
### على لينكس:
76+
77+
- فعّل USB-Debugging على هاتفك
78+
- افتح الطرفية وأدخل:
79+
80+
```bash
81+
adb logcat --pid=$(adb shell pidof -s 'com.nextcloud.client') > logcatOutput.txt
82+
```
83+
84+
> تأكد من تثبيت [adb](https://developer.android.com/studio/releases/platform-tools.html)
85+
86+
### على ويندوز:
87+
88+
- حمّل [Minimal ADB and Fastboot](https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/#post-42407269)
89+
- فعّل USB-Debugging
90+
- افتح البرنامج وأدخل:
91+
92+
```bash
93+
adb shell pidof -s 'com.nextcloud.client'
94+
```
95+
96+
- استخدم الناتج كـ `<processID>` في الأمر التالي:
97+
98+
```bash
99+
adb logcat --pid=<processID> > "%USERPROFILE%\Downloads\logcatOutput.txt"
100+
```
101+
102+
### على الجهاز (مع صلاحيات root):
103+
104+
```bash
105+
su
106+
logcat -d --pid $(pidof -s com.nextcloud.client) -f /sdcard/logcatOutput.txt
107+
```
108+
109+
أو استخدم تطبيقات مثل [CatLog](https://play.google.com/store/apps/details?id=com.nolanlawson.logcat) أو [aLogcat](https://play.google.com/store/apps/details?id=org.jtb.alogcat)
110+
111+
## النسخة التطويرية 🛠️
112+
113+
- [تحميل مباشر للـ APK](https://download.nextcloud.com/android/dev/latest.apk)
114+
- [F-Droid النسخة التجريبية](https://f-droid.org/en/packages/com.nextcloud.android.beta/)
115+
116+
## المشاكل المعروفة والأسئلة الشائعة
117+
118+
### الإشعارات الفورية لا تعمل في نسخ F-Droid
119+
120+
بسبب اعتمادها على خدمات Google Play، لا تعمل الإشعارات الفورية في نسخ F-Droid حاليًا.

app/build.gradle

Lines changed: 6 additions & 2 deletions
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"
@@ -115,8 +116,8 @@ android {
115116
defaultConfig {
116117
applicationId = "com.nextcloud.client"
117118
minSdk = 27
118-
targetSdk = 35
119-
compileSdk = 35
119+
targetSdk = 36
120+
compileSdk = 36
120121

121122
buildConfigField "boolean", "CI", ciBuild.toString()
122123
buildConfigField "boolean", "RUNTIME_PERF_ANALYSIS", perfAnalysis.toString()
@@ -497,6 +498,9 @@ dependencies {
497498
// region Image loading
498499
implementation libs.coil
499500
// endregion
501+
502+
// kotlinx.serialization
503+
implementation(libs.kotlinx.serialization.json)
500504
}
501505

502506

0 commit comments

Comments
 (0)