Commit graph

1343 commits

Author SHA1 Message Date
dependabot[bot]
15135aabee
Build(deps): Bump com.diffplug.spotless from 6.15.0 to 6.16.0
Bumps com.diffplug.spotless from 6.15.0 to 6.16.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 02:57:48 +00:00
DESKTOP-EMSE65H\Archontis
40bfca1a06 add my name to license comment
Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis
3de35d2996 Refactor onCreate: extract initTaskRetainerFragment method
This commit extracts the logic to initialize a fragment without UI on a seperate method called `initTaskRetainerFragment`.

Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis
8b571bb58c 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.

Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis
4cdfa994e9 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.

Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +02:00
DESKTOP-EMSE65H\Archontis
3316726a1d 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.

Signed-off-by: DESKTOP-EMSE65H\Archontis <arxontisk02@gmail.com>
2023-02-27 14:05:01 +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
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
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
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
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
Á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
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
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
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
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
Nextcloud bot
c8802bc2a4
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-16 03:41:39 +00:00
Nextcloud bot
a636c5a1f6
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-15 03:41:56 +00:00
Nextcloud bot
de07062396
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-15 03:41:25 +00:00
dependabot[bot]
fc19ec8ed7
Build(deps): Bump com.diffplug.spotless from 6.14.1 to 6.15.0
Bumps com.diffplug.spotless from 6.14.1 to 6.15.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 08:07:18 +00:00
Valdnet
5195a03b3d i18n: Change to capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-02-14 07:55:06 +01:00
Nextcloud bot
ae3d8c8402
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-14 03:41:26 +00:00
Nextcloud bot
c3e760d95b
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-14 03:40:55 +00:00
dependabot[bot]
b0d2a6ba68
Build(deps): Bump androidx.exifinterface:exifinterface
Bumps androidx.exifinterface:exifinterface from 1.3.5 to 1.3.6.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 14:47:30 +00:00
dependabot[bot]
865d5710b5
Build(deps): Bump workRuntime from 2.7.1 to 2.8.0 (#11364)
* Build(deps): Bump workRuntime from 2.7.1 to 2.8.0

Bumps `workRuntime` from 2.7.1 to 2.8.0.

Updates `androidx.work:work-runtime` from 2.7.1 to 2.8.0

Updates `androidx.work:work-runtime-ktx` from 2.7.1 to 2.8.0

---
updated-dependencies:
- dependency-name: androidx.work:work-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.work:work-runtime-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(androidTest): Add missing parameter to dummy WorkInfo

Needed in work 2.8.0

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-13 13:53:06 +01:00
Álvaro Brey
0946399ba9
Use adaptive colors for pre-login screens (#11362)
* Use unmodified primary color as background through M3 utils for login screen

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Use color utils to fix colors in AuthenticatorActivity for light primaries

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* WhatsNewActivity: fix for light primary color, port to viewbinding

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Fix status bar colors in pre-login screens

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* FeatureFragment: fix spotbugs

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* Update login screenshot

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

* build: Set ui dep to 0.5.0 tag

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>

---------

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-13 12:39:27 +01:00
Tobias Kaminsky
55a7a26609
Merge pull request #10519 from nextcloud/removeLastFavorite
After removing last favorite item show correct placeholder
2023-02-13 12:12:15 +01:00
Nextcloud bot
bb269f4a10
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-13 03:44:13 +00:00
Nextcloud bot
62d405a552
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-13 03:43:43 +00:00