Commit graph

20200 commits

Author SHA1 Message Date
DESKTOP-EMSE65H\Archontis
23c8f86b7b Refactor onCreate: extract initUI method
This commit:
- Creates a `initUI()` method to handle the setup of the toolbar and UI components
- Removes corresponding code from `onCreate()` and replaced it with a call to the new method
- Improves readability of `onCreate()` method

This change does not affect the functionality of the original code.
2023-02-25 01:37:06 +02:00
DESKTOP-EMSE65H\Archontis
d3c4968312 Refactor onCreate method: extract initLayout method
This commit refactors the onCreate() method by exctracting a new method to handle the layout inflation and setting of the content view. The readability of onCreate method is improved.

This change does not affect the functionality of the original code.
2023-02-25 01:34:40 +02:00
DESKTOP-EMSE65H\Archontis
3ba5d02894 Refactor onCreate() to extract method for loading saved instance state
This commit refactors the onCreate() method by extracting the code responsible for loading the saved instance state into a separate method named loadSavedInstanceState(). This improves the readability and maintainability of the code by reducing the complexity of the onCreate() method and separating concerns. The loadSavedInstanceState() method simply takes a Bundle parameter and initializes the relevant instance variables based on the saved state. The onCreate() method now simply calls the super.onCreate() method, sets the default theme, and initializes the sync broadcast receiver.

This change does not affect the functionality of the original code.
2023-02-25 01:12:43 +02:00
Álvaro Brey
cc353350c4
Merge pull request #11415 from nextcloud/dependabot/gradle/androidx.arch.core-core-testing-2.2.0
Build(deps): Bump androidx.arch.core:core-testing from 2.1.0 to 2.2.0
2023-02-23 10:26:32 +01:00
Álvaro Brey
b093ff9033
Merge pull request #11414 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.6.0
Build(deps): Bump androidx.annotation:annotation from 1.5.0 to 1.6.0
2023-02-23 10:26:08 +01:00
Nextcloud bot
90542ac1af
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-23 03:45:22 +00:00
dependabot[bot]
2084e39df8
Build(deps): Bump androidx.arch.core:core-testing from 2.1.0 to 2.2.0
Bumps androidx.arch.core:core-testing from 2.1.0 to 2.2.0.

---
updated-dependencies:
- dependency-name: androidx.arch.core:core-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 02:13:54 +00:00
dependabot[bot]
e107642cc5
Build(deps): Bump androidx.annotation:annotation from 1.5.0 to 1.6.0
Bumps androidx.annotation:annotation from 1.5.0 to 1.6.0.

---
updated-dependencies:
- dependency-name: androidx.annotation:annotation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 02:13:18 +00:00
Álvaro Brey
55e9098729
Merge pull request #11409 from nextcloud/rakekniven-patch-1
l10n: Improved grammar
2023-02-22 17:24:28 +01:00
Álvaro Brey
f91abefc6d
Merge pull request #11149 from nextcloud/mTimestamp
mTime: use typed parameter (long) instead of String
2023-02-22 17:21:13 +01:00
Álvaro Brey
a8401a2356
Merge pull request #11411 from nextcloud/fix/fsu-encryption-npe
fix: FileStorageUtils: prevent NPE when checking encryption status
2023-02-22 16:46:37 +01:00
Álvaro Brey
606b515f16
chore: Restore library version to master
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-22 16:10:13 +01:00
Álvaro Brey
3d2baef11f
Merge pull request #11381 from nextcloud/Valdnet-patch-1
i18n: Change to capital letter
2023-02-22 15:03:37 +01:00
tobiasKaminsky
860113e842
mTime: use typed parameter (long) instead of String
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-22 14:48:03 +01:00
Álvaro Brey
edec670f28
Merge pull request #11384 from nextcloud/fix/invalid-filename-download
Improve error message when download fails due to invalid filename
2023-02-22 09:43:37 +01:00
Tobias Kaminsky
0f9226cdd7
Merge pull request #11412 from nextcloud/changelog-master-stable-3.24.1
Add changelog for 3.24.1
2023-02-22 08:34:07 +01:00
Nextcloud bot
5100a74182
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-22 03:44:38 +00:00
Nextcloud bot
6cf1702c7c
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-22 03:44:06 +00:00
Álvaro Brey
a402ffe59b
Add changelog for 3.24.1
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-21 16:24:12 +01:00
Álvaro Brey
a9e4ba9abd
fix: FileStorageUtils: prevent NPE when checking encryption status
This can happen if the parent of a file has been deleted.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-21 15:14:29 +01:00
Nextcloud bot
654cf8e124
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-21 03:43:38 +00:00
Nextcloud bot
2c889f5493
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-21 03:43:08 +00:00
rakekniven
ab0c8a73c2
l10n: Improved grammar
Reported at Transifex.
  
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>


Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-02-20 19:54:15 +01:00
Álvaro Brey
2e5c485999
Merge pull request #11404 from nextcloud/dependabot/github_actions/gradle/wrapper-validation-action-1.0.6
Build(deps): Bump gradle/wrapper-validation-action from 1.0.5 to 1.0.6
2023-02-20 16:07:59 +01:00
Álvaro Brey
09d5c1d440
Merge pull request #11403 from nextcloud/dependabot/github_actions/actions/checkout-3.3.0
Build(deps): Bump actions/checkout from 3.2.0 to 3.3.0
2023-02-20 16:07:41 +01:00
Álvaro Brey
ea536004f8
Merge pull request #11393 from nextcloud/dependabot/gradle/exoplayerVersion-2.18.3
Build(deps): Bump exoplayerVersion from 2.18.2 to 2.18.3
2023-02-20 16:07:20 +01:00
Álvaro Brey
d39dd2a642
Merge pull request #11365 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.6.1
Build(deps): Bump androidx.appcompat:appcompat from 1.6.0 to 1.6.1
2023-02-20 16:07:00 +01:00
Álvaro Brey
d85fd3bba9
Merge pull request #11405 from nextcloud/dependabot/github_actions/gradle/gradle-build-action-2.4.0
Build(deps): Bump gradle/gradle-build-action from 2.3.3 to 2.4.0
2023-02-20 14:34:29 +01:00
dependabot[bot]
cbef7b2c4a
Build(deps): Bump exoplayerVersion from 2.18.2 to 2.18.3
Bumps `exoplayerVersion` from 2.18.2 to 2.18.3.

Updates `com.google.android.exoplayer:exoplayer` from 2.18.2 to 2.18.3
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.2...r2.18.3)

Updates `com.google.android.exoplayer:extension-okhttp` from 2.18.2 to 2.18.3
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.2...r2.18.3)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 12:29:37 +00:00
Álvaro Brey
681dea98ef
Merge pull request #11394 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.6.0
Build(deps): Bump com.github.nextcloud.android-common:ui from 0.5.0 to 0.6.0
2023-02-20 13:29:33 +01:00
dependabot[bot]
3a7ef87257
Build(deps): Bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.2.0...ac593985615ec2ede58e132d2e21d2b1cbd6127c)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 12:29:00 +00:00
Álvaro Brey
e6458367b7
Merge pull request #11383 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.15.0
Build(deps): Bump com.diffplug.spotless from 6.14.1 to 6.15.0
2023-02-20 13:28:06 +01:00
Álvaro Brey
7e7b129786
Merge pull request #11378 from nextcloud/dependabot/github_actions/actions/setup-java-3.10.0
Build(deps): Bump actions/setup-java from 3.9.0 to 3.10.0
2023-02-20 13:27:44 +01:00
dependabot[bot]
de7f042c45
Build(deps): Bump androidx.appcompat:appcompat from 1.6.0 to 1.6.1
Bumps androidx.appcompat:appcompat from 1.6.0 to 1.6.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 12:27:29 +00:00
Álvaro Brey
c0a1fdbd7f
Merge pull request #11363 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.6
Build(deps): Bump androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6
2023-02-20 13:26:03 +01:00
dependabot[bot]
2e202240c3
Build(deps): Bump gradle/gradle-build-action from 2.3.3 to 2.4.0
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](3fbe033aaa...6095a76664)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 11:59:10 +00:00
dependabot[bot]
5f5b2d47ea
Build(deps): Bump gradle/wrapper-validation-action from 1.0.5 to 1.0.6
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](55e685c48d...8d49e559aa)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 11:59:02 +00:00
Nextcloud bot
dfc9193b15
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-20 03:42:54 +00:00
Nextcloud bot
223dad576c
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-20 03:42:23 +00:00
Nextcloud bot
ead544a1cf
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-19 03:42:21 +00:00
Nextcloud bot
3124ca3e95
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-19 03:41:50 +00:00
Álvaro Brey
7fd58b71f3
chore(build): Restore library version
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-17 11:02:45 +01:00
Álvaro Brey
5bbb26c23c
Remove unused imports
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-17 11:02:45 +01:00
Álvaro Brey
a9e1609f30
feat(download): Show specific error message when download fails due to invalid local filename
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-17 11:02:45 +01:00
Álvaro Brey
0445eb3768
feat(download): Show specific error if download fails due to local file creation failure
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-17 11:02:45 +01:00
Nextcloud bot
53a5804643
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-17 03:43:11 +00:00
Nextcloud bot
569c06c45d
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-17 03:42:41 +00:00
dependabot[bot]
2f4ca27139
Build(deps): Bump com.github.nextcloud.android-common:ui
Bumps [com.github.nextcloud.android-common:ui](https://github.com/nextcloud/android-common) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/nextcloud/android-common/releases)
- [Commits](https://github.com/nextcloud/android-common/compare/0.5.0...0.6.0)

---
updated-dependencies:
- dependency-name: com.github.nextcloud.android-common:ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 02:57:34 +00:00
Álvaro Brey
69be842cb9
Merge pull request #11388 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-02-16 09:11:17 +01:00
Nextcloud bot
77c295370a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-16 03:42:11 +00:00