Commit graph

1596 commits

Author SHA1 Message Date
Nextcloud bot
16baadef34
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-21 04:27:01 +00:00
Nextcloud bot
abd69fff68
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-20 04:27:50 +00:00
Nextcloud bot
4ea40f12e5
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-20 04:27:20 +00:00
Nextcloud bot
120307db95
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-19 04:28:49 +00:00
Nextcloud bot
fc4a57d856
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-19 04:28:17 +00:00
Nextcloud bot
6787707092
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-18 04:32:17 +00:00
Nextcloud bot
0423981d5d
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-18 04:31:46 +00:00
Nextcloud bot
26066ea38a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-17 04:26:50 +00:00
Nextcloud bot
0b05544d13
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-17 04:26:19 +00:00
Nextcloud bot
c4f22b7528
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-16 07:38:08 +00:00
Nextcloud bot
250cc008be
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-16 07:37:37 +00:00
Nextcloud bot
49680148dd
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-16 04:34:05 +00:00
Nextcloud bot
37547d05d8
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-16 04:33:35 +00:00
Andy Scherzinger
32c4363a6b
Merge pull request #11455 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.17.0
Build(deps): Bump com.diffplug.spotless from 6.16.0 to 6.17.0
2023-03-15 10:03:38 +01:00
Nextcloud bot
aa4642927b
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-14 04:30:47 +00:00
Nextcloud bot
8e9926faff
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-14 04:30:17 +00:00
dependabot[bot]
5a875bc2fa
Build(deps): Bump com.diffplug.spotless from 6.16.0 to 6.17.0
Bumps com.diffplug.spotless from 6.16.0 to 6.17.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-03-14 02:58:26 +00:00
Nextcloud bot
5a22645b36
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-13 04:28:45 +00:00
Nextcloud bot
a7f60d4bdb
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-13 04:28:15 +00:00
Nextcloud bot
5e91c34de5
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-12 04:27:11 +00:00
Nextcloud bot
c2699c794a
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-12 04:26:41 +00:00
Nextcloud bot
596a99a17b
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-11 04:29:19 +00:00
Nextcloud bot
44e94f1e17
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-11 04:28:48 +00:00
Nextcloud bot
8f15feff68
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-10 04:34:09 +00:00
Nextcloud bot
d08cfd81e7
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-10 04:33:38 +00:00
Nextcloud bot
bdb69076f8
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-09 04:34:19 +00:00
Nextcloud bot
7348a59029
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-09 04:33:46 +00:00
dependabot[bot]
30bf03475b
Build(deps): Bump com.google.firebase:firebase-messaging
Bumps [com.google.firebase:firebase-messaging](https://github.com/firebase/firebase-android-sdk) from 23.1.1 to 23.1.2.
- [Release notes](https://github.com/firebase/firebase-android-sdk/releases)
- [Changelog](https://github.com/firebase/firebase-android-sdk/blob/master/docs/make_release_notes.py)
- [Commits](https://github.com/firebase/firebase-android-sdk/commits)

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-messaging
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 08:43:07 +00:00
Nextcloud bot
ba918166de
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-08 04:32:55 +00:00
Nextcloud bot
14601a28fe
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-08 04:32:23 +00:00
Nextcloud bot
a34a02de46
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-07 04:27:00 +00:00
Nextcloud bot
01914e274d
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-07 04:26:28 +00:00
Nextcloud bot
ed5a91189d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-06 04:30:33 +00:00
Nextcloud bot
fcbf1f256a
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-06 04:30:01 +00:00
Nextcloud bot
35b4890756
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-05 04:29:42 +00:00
Nextcloud bot
72e13b4e15
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-05 04:29:11 +00:00
Nextcloud bot
26292dd3e1
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-04 04:28:32 +00:00
Nextcloud bot
ff1093d206
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-04 04:27:59 +00:00
Nextcloud bot
b03634f18b
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-03 03:46:12 +00:00
Nextcloud bot
000af89792
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-03 03:45:41 +00:00
Nextcloud bot
45da5017cc
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-02 06:54:19 +00:00
Nextcloud bot
62c3804d82
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-02 06:53:49 +00:00
Nextcloud bot
c5ec76271e
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-02 06:49:24 +00:00
Nextcloud bot
a4822daf74
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-02 06:48:54 +00:00
Nextcloud bot
23143a640d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-02 06:43:36 +00:00
Nextcloud bot
c9c9f11178
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-02 06:43:05 +00:00
Nextcloud bot
bd69ac585d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-02 06:38:33 +00:00
Álvaro Brey
26e093a82b
Merge pull request #11424 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.16.0
Build(deps): Bump com.diffplug.spotless from 6.15.0 to 6.16.0
2023-02-28 10:25:58 +01:00
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
dependabot[bot]
7ad2c84375
Build(deps): Bump org.json:json from 20220924 to 20230227
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20220924 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 02:57:35 +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
tobiasKaminsky
5c1c97efa1
when resuming note directly after creating, url is not working anymore, thus we need a new one
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-20 09:32:04 +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
Nextcloud bot
734eae4644
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-12 03:40:22 +00:00
Nextcloud bot
eef53d996d
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-12 03:39:51 +00:00
Nextcloud bot
5a8f3e11b2
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-11 03:39:42 +00:00
Nextcloud bot
ef80ed530f
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-11 03:39:11 +00:00
Nextcloud bot
88bf6bf89a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-10 03:46:24 +00:00
Nextcloud bot
e1d5f831c0
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-10 03:45:52 +00:00
tobiasKaminsky
cf28c7e7d2
After removing last favorite item show correct placeholder
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-09 16:18:58 +01:00
Nextcloud bot
6178a1458c
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-09 03:49:36 +00:00
Nextcloud bot
9526c340a2
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-09 03:49:06 +00:00
Tobias Kaminsky
08aa51c411
Merge pull request #11266 from nextcloud/secureFiledrop
Secure filedrop
2023-02-08 13:54:25 +01:00
Tobias Kaminsky
d5e3f4405d
Merge pull request #11339 from nextcloud/sharedView
Fix shared view
2023-02-08 10:49:41 +01:00
Tobias Kaminsky
27514610e2
Merge pull request #11341 from nextcloud/fixInterruptedE2eUploads
fix interrupted e2e uploads
2023-02-08 10:45:33 +01:00
Nextcloud bot
d1f871a21a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-08 03:40:01 +00:00
Nextcloud bot
1156bbabbc
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-08 03:39:27 +00:00
tobiasKaminsky
1af18ad3cd
Secure filedrop
add tests
Rename .java to .kt
only show secure filedrop / sharing on NC26+
Refactor EncryptionUtils to avoid having test arguments on public method

Added secure filedrop

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-07 09:44:07 +01:00
Nextcloud bot
726ff43c13
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-07 03:40:19 +00:00
Nextcloud bot
2a1af9b48e
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-07 03:39:48 +00:00
Álvaro Brey
f816645bc8
Merge pull request #11354 from nextcloud/chore/differentiate-dev-version
Fix F-Droid metadata to differentiate dev version more
2023-02-06 15:11:26 +01:00
Álvaro Brey
45d6cb09d9
Merge pull request #11350 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.14.1
Build(deps): Bump com.diffplug.spotless from 6.14.0 to 6.14.1
2023-02-06 14:10:59 +01:00
Álvaro Brey
5213b9e710
Capitalize name for dev version app
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-06 12:21:28 +01:00
Álvaro Brey
38a9590bcc
Move per-flavor fastlane metadata to top-level src/ folder
This is what's currently supported by FDroid, see https://gitlab.com/fdroid/fdroidserver/-/issues/829

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-06 12:19:50 +01:00
dependabot[bot]
a40e65c754
Build(deps): Bump webkit from 1.5.0 to 1.6.0
Bumps webkit from 1.5.0 to 1.6.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 07:35:38 +00:00
Nextcloud bot
4f01de0a20
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-06 03:35:56 +00:00
Nextcloud bot
c4958acd25
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-06 03:35:26 +00:00
dependabot[bot]
36a3163265
Build(deps): Bump com.diffplug.spotless from 6.14.0 to 6.14.1
Bumps com.diffplug.spotless from 6.14.0 to 6.14.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 02:22:52 +00:00
Bogdan Coticopol
3ce6a16bd8 Signed-off-by: Bogdan Coticopol <bcoticopol@gmail.com>
Minor refactoring on Media Tab.
2023-02-05 19:51:42 +02:00
Nextcloud bot
7e132ba39d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-05 03:36:54 +00:00
Nextcloud bot
77f455b2b4
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-05 03:36:24 +00:00
Nextcloud bot
96df5b3dd6
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-04 03:40:28 +00:00
Nextcloud bot
29794cdda1
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-04 03:39:56 +00:00
Nextcloud bot
8145375fce
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-03 03:41:43 +00:00
Nextcloud bot
b99c047008
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-03 03:41:12 +00:00
tobiasKaminsky
d68e79d547
set remoteId as we need it for thumbnails
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-02 10:55:44 +01:00
tobiasKaminsky
395af69162
Fix toggling favorite on sharing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-02 10:55:44 +01:00
tobiasKaminsky
113f974fd0
fix interrupted e2e uploads
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-02-02 08:49:33 +01:00
Nextcloud bot
7778fd8f81
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-02 03:41:45 +00:00
Nextcloud bot
8989505cad
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-02 03:41:15 +00:00
Nextcloud bot
bd50b8b4f8
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-01 03:44:37 +00:00
Nextcloud bot
64f298503d
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-01 03:44:06 +00:00
Nextcloud bot
051513d777
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-31 03:48:53 +00:00
Nextcloud bot
726b5d2d92
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-31 03:48:22 +00:00
Álvaro Brey
36c8b404c6
Merge pull request #11267 from nextcloud/dependabot/gradle/me.zhanghai.android.fastscroll-library-1.2.0
Build(deps): Bump me.zhanghai.android.fastscroll:library from 1.1.8 to 1.2.0
2023-01-30 15:27:10 +01:00
tobiasKaminsky
f7d6562f81
use same androidPluginVersion
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-30 07:52:31 +01:00
Nextcloud bot
0719f0efbd
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-30 03:45:08 +00:00
Nextcloud bot
fa3821ea82
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-30 03:44:37 +00:00
Bogdan Coticopol
2bf3a5b142 Signed-off-by: Bogdan Coticopol <bcoticopol@gmail.com>
Fix issues with Media Tab & performance improvement.
2023-01-29 21:59:39 +02:00
Nextcloud bot
690caf6e70
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-29 03:39:29 +00:00
Nextcloud bot
1fccea94bd
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-29 03:38:57 +00:00
Nextcloud bot
52c8191d8d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-28 03:42:01 +00:00
Nextcloud bot
10522fedc5
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-28 03:41:30 +00:00
Álvaro Brey
1e0d48f945
Fix compilation error for GalleryFastScrollViewHelper
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 12:09:52 +01:00
Álvaro Brey
c05c3c13cf
Remove unused resource
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
6d24c960a5
Fix BackgroundJobFactoryTest
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
0f51646d3c
Close scan activity if camera permission is denied
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
f6094ae343
Lock AppScanActivity in portrait
Suggested in the library's docs, and prevents the activity crashing

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
f183fc4968
Fix copyright for VariantsModule
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:35 +01:00
Álvaro Brey
31a6cd99fd
Write simple test for pdf generator
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:34 +01:00
Álvaro Brey
fc9139f4e2
Remove useless todo, handle request type event
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:34 +01:00
Álvaro Brey
1917198305
Move optional appscan feature to a separate module to avoid duplicating code between variants
This now uses a AppScanOptionalFeature injected interface that is satisfied by each module,
reducing the duplicated code to a minimum

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:32 +01:00
Álvaro Brey
9478fb15e9
Improve export type selection dialog
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
cd51c4f5df
Allow uploading document as multiple images instead of single PDF
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
41ef0614e0
Allow multi-page PDF scans
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
2147322652
AppScanActivity: use JPEG for format
PNG is way slower AND way heavier. Why did we use it?

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:36 +01:00
dependabot[bot]
ed303b616d
Build(deps): Bump me.zhanghai.android.fastscroll:library
Bumps [me.zhanghai.android.fastscroll:library](https://github.com/zhanghai/AndroidFastScroll) from 1.1.8 to 1.2.0.
- [Release notes](https://github.com/zhanghai/AndroidFastScroll/releases)
- [Commits](https://github.com/zhanghai/AndroidFastScroll/compare/v1.1.8...v1.2.0)

---
updated-dependencies:
- dependency-name: me.zhanghai.android.fastscroll:library
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 10:53:07 +00:00
Álvaro Brey
9bbbc83aff
Merge pull request #11246 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.6.0
Build(deps): Bump appcompat from 1.5.1 to 1.6.0
2023-01-27 11:52:17 +01:00
Álvaro Brey
54724f1ea6
Merge pull request #11289 from nextcloud/dependabot/gradle/com.google.android.material-material-1.8.0
Build(deps): Bump material from 1.7.0 to 1.8.0
2023-01-27 11:49:20 +01:00
Tobias Kaminsky
76b1bcf39b
Merge pull request #11309 from nextcloud/fix/e2e-screenshots
Update SettingsActivity screenshots to fix screenshot tests
2023-01-27 11:42:38 +01:00
Álvaro Brey
a80c85388a
Merge pull request #11307 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.14.0
Build(deps): Bump com.diffplug.spotless from 6.13.0 to 6.14.0
2023-01-27 10:47:12 +01:00
Álvaro Brey
53f5348e1d
Update SettingsActivity screenshots to fix screenshot tests
Broken since latest merged e2e tests

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 10:42:17 +01:00
Nextcloud bot
48a21bdc59
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-27 03:40:19 +00:00
Nextcloud bot
66dd575f97
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-27 03:39:47 +00:00
dependabot[bot]
400c46c6c4
Build(deps): Bump com.diffplug.spotless from 6.13.0 to 6.14.0
Bumps com.diffplug.spotless from 6.13.0 to 6.14.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-01-27 02:01:31 +00:00
Nextcloud bot
a69381c775
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-26 03:57:36 +00:00
Nextcloud bot
5041611c6f
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-26 03:57:05 +00:00
Álvaro Brey
3d291d8fec
Bump OUTDATED_SERVER_VERSION to Nextcloud 23, as it has reached EOL
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-25 14:41:06 +01:00
Álvaro Brey
77e906fead
Bump version to 3.25.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-25 14:40:36 +01:00
Álvaro Brey
b30b8ebf1f
Merge pull request #10558 from nextcloud/doNotUploadFolderWhenEncryption
When uploading files to an encrypted folder do not allow to upload entire folders
2023-01-25 14:26:54 +01:00
Álvaro Brey
f115883df2
Merge pull request #11138 from nextcloud/favoriteInShares
Shows favorite state in share overview
2023-01-25 12:46:07 +01:00
tobiasKaminsky
d4e9ef203f When uploading files to an encrypted folder do not allow to upload entire folders
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 11:28:48 +00:00
tobiasKaminsky
4f1d0347f4 Uses: https://github.com/nextcloud/android-library/pull/968
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 09:58:50 +01:00
tobiasKaminsky
f18225eda6
Show "unset encryption" only when E2E is setup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-25 09:56:55 +01:00
Álvaro Brey
4cedd9d30d
Merge pull request #11230 from nextcloud/e2eCorrectState
Show setup e2e only when
2023-01-25 09:55:00 +01:00
dependabot[bot]
73339ec32c
Build(deps): Bump appcompat from 1.5.1 to 1.6.0
Bumps appcompat from 1.5.1 to 1.6.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 08:49:57 +00:00
Álvaro Brey
f0003c4a56
Merge pull request #11264 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.13.0
Build(deps): Bump com.diffplug.spotless from 6.12.0 to 6.13.0
2023-01-25 09:47:58 +01:00
Tobias Kaminsky
974bfbd973
Merge pull request #11287 from nextcloud/fixLocalIDafterUpgrade
upon upgrade localID may be null, better use default value
2023-01-25 07:30:10 +01:00
Nextcloud bot
d9d0f21c43
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-25 03:55:40 +00:00
Nextcloud bot
f67469da38
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-25 03:55:09 +00:00
dependabot[bot]
34265d3d2c
Build(deps): Bump material from 1.7.0 to 1.8.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 02:03:02 +00:00
Álvaro Brey
21479cc912
Apply ktlint style after spotless update
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 12:02:04 +01:00
Álvaro Brey
07f744fe8f
Merge pull request #11100 from nextcloud/chore/skip-ui-refresh-when-no-changes
Refresh UI only when changes are detected on the server
2023-01-24 11:53:24 +01:00
Álvaro Brey
29bcfd07fd
NextcloudDatabase: 67 to 68 is a manual migration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 11:21:53 +01:00
Álvaro Brey
9053bc96a7
Add test for DB 67 -> 68 migration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 11:21:01 +01:00
Álvaro Brey
42b4519ab1
Add room migration to change local_id to NOT NULL
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 10:58:53 +01:00
Álvaro Brey
1f0bcc74b1
Include schema and automigration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 10:02:39 +01:00
tobiasKaminsky
a41ca26b90
upon upgrade localID may be null, better use default value
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-24 08:54:55 +01:00
Nextcloud bot
c9f35c06ea
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-24 03:37:39 +00:00
Nextcloud bot
6cfc469c6e
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-24 03:37:10 +00:00
Dariusz Olszewski
d3841cd0ca Partially revert previous commit - existence check required for directories
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-23 15:54:54 +00:00
Dariusz Olszewski
08db3923cb Skip check for existing files when reading file data from local DB
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-23 15:54:54 +00:00
dependabot[bot]
4a5a856034
Build(deps): Bump com.diffplug.spotless from 6.12.0 to 6.13.0
Dependabot couldn't find the original pull request head commit, 10076aeed8cee158e02965ed13b423e9a47208d8.
2023-01-23 15:22:30 +00:00
Dariusz Olszewski
742fa45f16 Refresh UI only when changes are detected on the server
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-23 15:12:21 +00:00
Nextcloud bot
2f855e0470
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-23 06:14:12 +00:00
Nextcloud bot
e924dff94a
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-22 03:35:31 +00:00
Nextcloud bot
5836b300a2
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-21 03:59:58 +00:00
Nextcloud bot
b678b1c5a2
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-21 03:59:30 +00:00
Tobias Kaminsky
191d7532c0
Merge pull request #11273 from nextcloud/chore/compile-sdk-33
build: Bump compileSdk to 33
2023-01-20 09:19:11 +01:00
Nextcloud bot
94874cd7b2
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-20 03:39:38 +00:00
Nextcloud bot
67b0e0d674
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-20 03:39:10 +00:00
Nextcloud bot
188fbd4084
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-20 02:28:45 +00:00
Nextcloud bot
41a477ca2f
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-20 02:28:16 +00:00
Álvaro Brey
7dc89f1e72
Merge pull request #11269 from nextcloud/fix/10668/create-document-offline-crash
ChooseTemplateDialogFragment: check selectedTemplate is not null before attempting to get the extension
2023-01-19 20:36:11 +01:00
Álvaro Brey
43582e8cb4 Solve compilation errors for DeckApiTest with compileSDK 33
There are now 2 ambiguous resolutions of packageManager.resolveActivity so the mock has to specify type

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-19 15:49:57 +01:00
Álvaro Brey
863c9b72c9 EncryptionUtils: fix new lint warning
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-19 15:49:57 +01:00
Álvaro Brey
e236891827 Fix build errors in SDK 33
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-19 15:49:57 +01:00
Álvaro Brey
5f47494248 build: Bump compileSdk to 33
Now required by several libraries (check open dependabot PRs)

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-19 15:49:57 +01:00
Álvaro Brey
8200b41225 ChooseTemplateDialogFragment: check selectedTemplate is not null before attempting to get the extension
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-18 12:42:49 +01:00
Álvaro Brey
daafa24905 Fix tets that need a 8-length remote ID
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-18 12:23:37 +01:00
Álvaro Brey
0287e34cdc Fix wrong initialization for FileDataStorageManagerContentProviderClientIT
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-18 12:23:37 +01:00
tobiasKaminsky
0b33eaff97 Changes after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-18 12:23:37 +01:00
tobiasKaminsky
b293ece7b4 fix test -> we need to have a 8 digit remote id for proper testing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-18 12:23:37 +01:00
tobiasKaminsky
b78e991d54 use localID everywhere
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-18 12:23:37 +01:00
Nextcloud bot
79293e065b
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-18 03:35:34 +00:00
Nextcloud bot
6dace4f962
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-18 03:35:05 +00:00
Álvaro Brey
59a13e0d4f
Merge pull request #11251 from nextcloud/chore/json-common-cases
Avoid JSON deserialization in common trivial cases
2023-01-17 15:15:50 +01:00
tobiasKaminsky
8c68953884 Show setup e2e only when
- e2e is available on server
- no keys exists yet

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-17 14:47:47 +01:00
Álvaro Brey
d93634aac8
Merge pull request #11250 from nextcloud/bugfix/11215
fix(EditorWebView): Move local image upload to the editor web view
2023-01-17 10:34:56 +01:00
Nextcloud bot
a33d8582e2
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-17 03:35:42 +00:00
Nextcloud bot
831c38763b
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-17 03:35:14 +00:00
Álvaro Brey
cdf048945f Reset search when browsing to a folder from the favorites list
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-16 08:22:46 +00:00
Nextcloud bot
960400db81
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-16 03:36:02 +00:00
Nextcloud bot
858cd524e7
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-16 03:35:33 +00:00
Álvaro Brey
f5896fa034
Merge pull request #11249 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.4.0
Build(deps): Bump gradle from 7.3.1 to 7.4.0
2023-01-15 23:44:04 +01:00
Nextcloud bot
1cfc7c8716
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-15 03:32:45 +00:00
Nextcloud bot
c91a360f50
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-15 03:32:16 +00:00
Dariusz Olszewski
49cccd1ccd Clean-up - remove commented diagnostic code
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-14 23:51:21 +00:00
Dariusz Olszewski
eae9ff15c7 Avoid JSON deserialization in common, trivial cases
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2023-01-14 23:51:21 +00:00
Nextcloud bot
20c22eb448
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-14 03:34:42 +00:00
Nextcloud bot
8cb4d33b40
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-14 03:34:14 +00:00
Julius Härtl
23d3dc22b5
fix(EditorWebView): Move local image upload to the editor web view
This makes sure that direct editing apps like text can also use regular
upload image methods through file input elements in the webview

fixes #11215
fixes #10744

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-13 21:30:15 +01:00
dependabot[bot]
8b0deac0b4
Build(deps): Bump gradle from 7.3.1 to 7.4.0
Bumps gradle from 7.3.1 to 7.4.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-13 09:14:20 +01:00
Álvaro Brey
07d2a0c91b
Move test runner back to com.nextcloud.client package
For some reason, Dexopener uses the package of the runner to determine which packages to open.
Which means with the new location, mockk can't work on android < P

Ref: https://github.com/tmurakami/dexopener/issues/24

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 17:14:26 +01:00
Álvaro Brey
aefc2db091
MainApp: restore appcomponent method
Not needed for the final approach

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 13:10:53 +01:00
Álvaro Brey
7ea6283af4
Add testing utilities to override injections in classes injected with AndroidInjection
This includes Activities, Fragments, Services, etc. Other classes should use constructor injection,
and as such shouldn't need this.

This works by overriding the androidInjector method in the Application class (new TestMainApp added)
and allowing to use custom injectors there.

A InjectionOverrideRule is included for ease of use, but for more complicated cases, injection can be
controlled by accessing TestMainApp directly.

A sample is included in InjectionTestActivityTest.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 12:58:31 +01:00
Álvaro Brey
443e6984f6
Move test helper classes to a consistent package (com.nextcloud.test)
Avoids having them mixed up with the tests

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-12 09:36:27 +01:00
Tobias Kaminsky
7368809f37
Merge pull request #11242 from nextcloud/fix/passcode-double-check
PassCodeManager: add some logic to avoid counting the same activity twice
2023-01-12 08:32:31 +01:00
Nextcloud bot
8bf1a32ded
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-12 03:35:09 +00:00
Nextcloud bot
3eebd46ff5
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-12 03:34:40 +00:00
Álvaro Brey
d6f7bb601d
Merge pull request #11244 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.4.0
Build(deps): Bump ui from 0.3.0 to 0.4.0
2023-01-11 16:31:15 +01:00
Álvaro Brey
81db4f7b54
PasscodeManagerIT: use actual actitivy for test
Can't mock PowerManager on Android < 9

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-11 15:37:48 +01:00
Nextcloud bot
d551c4b585
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-11 03:36:35 +00:00