Commit graph

23647 commits

Author SHA1 Message Date
nextcloud-android-bot
36128c7ee3 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-04-15 16:30:31 +00:00
alperozturk
221e6dddb8 Suppress test class
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
55aed575df Extract common logic retrieving remote path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
501c6ee2a3 Extract common logic for mimetype and decrypted remote path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
f55d61c05a Add tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
182673672f Add test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
9fd1ef5205 Add testUpdateFileNameForEncryptedFileWhenEncryptedFileUploadRemotePathShouldSetAsEncrypted
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
7d9a8f1d9f Add correct decryptedRemotePath for v1
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
7c15334dc0 Remove unused imports and logic
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
affc77715c Use remote path correctly
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
eaa773d5a9 Use better message
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
82c1c25a2f Use encrypted remote path for file conflict resolver dialog
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
d9d9cf56b2 Check existence of decryptedRemotePath
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
alperozturk
3bcd2b3703 Dont use null path
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-15 09:04:03 +02:00
Nextcloud bot
f7b883c936
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-15 02:38:53 +00:00
Nextcloud bot
5f1b87fdc0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-14 02:41:31 +00:00
Andy Scherzinger
2f8a2c721a
Merge pull request #12874 from nextcloud/renovate/gradle-gradle-build-action-3.x
Update gradle/gradle-build-action action to v3.3.0
2024-04-13 11:56:22 +02:00
renovate[bot]
5c0ac8ef1f
Update gradle/gradle-build-action action to v3.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-13 09:53:12 +00:00
Andy Scherzinger
8debfe78d8
Merge pull request #12873 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2024-04-13 08:18:14 +02:00
Nextcloud bot
5d787161a3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-13 02:56:54 +00:00
nextcloud-android-bot
32a3644200 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-04-13 02:11:21 +00:00
Andy Scherzinger
52bb5c16b3
Merge pull request #12870 from nextcloud/renovate/fastlane-2.x-lockfile
Update dependency fastlane to v2.220.0
2024-04-12 18:27:08 +02:00
Andy Scherzinger
360125aacf
Merge pull request #12869 from nextcloud/renovate/codecov-codecov-action-4.x
Update codecov/codecov-action action to v4.3.0
2024-04-12 18:26:51 +02:00
Andy Scherzinger
72a3605b2b
Merge pull request #12871 from nextcloud/renovate/gradle-gradle-build-action-3.x
Update gradle/gradle-build-action action to v3.2.1
2024-04-12 18:26:21 +02:00
Andy Scherzinger
6cdff8cbb6
Merge pull request #12868 from nextcloud/renovate/com.google.devtools.ksp-1.x
Update plugin com.google.devtools.ksp to v1.9.23-1.0.20
2024-04-12 18:25:56 +02:00
renovate[bot]
bfcd4ead1d
Update gradle/gradle-build-action action to v3.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 15:37:21 +00:00
renovate[bot]
f1606d14b2
Update dependency fastlane to v2.220.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 15:37:16 +00:00
renovate[bot]
7c05e91fc7
Update codecov/codecov-action action to v4.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 15:36:57 +00:00
renovate[bot]
09ac533573
Update plugin com.google.devtools.ksp to v1.9.23-1.0.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 15:27:19 +00:00
Andy Scherzinger
0546b3fb06
Merge pull request #12867 from nextcloud/renovate/commons-io-commons-io-2.x
Update dependency commons-io:commons-io to v2.16.1
2024-04-12 17:22:23 +02:00
renovate[bot]
90a1ce32de
Update dependency commons-io:commons-io to v2.16.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 15:08:03 +00:00
Andy Scherzinger
7ed7f37fb1
Merge pull request #12860 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.12
2024-04-12 17:01:19 +02:00
alperozturk
80e581bcd3
Use path for each user
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 12:23:19 +02:00
alperozturk
7342b54f42 Add log for failed uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
80b40b947c Add fixme comments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
c78a67d53c Specifically make visible retry failed uploads action
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
24b2d033f1 Clear temp encrypted folder for clear failed uploads actions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
a7fe0adafb Use more clear argument names
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
7470fef2d6 Clear temp directory for cancelling all uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
39e9916732 Use tempEncryptedFolder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
123c576399 Dont use cache dir. cache dir might be deleted during big file uploads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
d583a2f62c Revert changes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
a563c87b01 Delete temporal file usage for e2e
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
14d3257036 Remove "." suffix
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
9c5d39f301 Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
17f7676abb Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
0e47ad737f Use single line code for getFileName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
6515602ee6 Fix file name in notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
c6c6460630 Use temp directory for tempEncryptedFile creation
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00
alperozturk
79e651874a Delete temp encryptedFile in all cases
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2024-04-12 09:54:45 +02:00