Commit graph

481 commits

Author SHA1 Message Date
Álvaro Brey
00644d9384 SyncedFolderUtils: solve inconsistent comparator
Calling lastModified() inside the comparator can produce inconsistent results if last modification date changes while sorting

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 16:07:48 +02:00
Álvaro Brey
7e3e760887 SyncedFolderUtils: convert to kotlin step 2 and deduplicate
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 16:07:48 +02:00
Álvaro Brey
3d7afa1b58 SyncedFolderUtils: convert to Kotlin step 1
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 16:07:48 +02:00
Álvaro Brey
fbfec4a0d7
Merge pull request #10545 from nextcloud/bumpSDK31
Bump targetSdkVersion to 31
2022-08-22 16:07:12 +02:00
Álvaro Brey
a159568077
Merge pull request #10610 from nextcloud/fix/search-on-copy-screen
Disable search on folder picker activity
2022-08-22 14:33:24 +02:00
Álvaro Brey
98bf8f26b8
Add RetryTestRule to FileDisplayActivityIT
showShares is flaky

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 12:55:53 +02:00
tobiasKaminsky
57ca106788 add data-extraction-rules
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-22 10:16:56 +00:00
tobiasKaminsky
adb53f1d5b Bump targetSdkVersion to 31
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-22 10:16:56 +00:00
Nextcloud bot
cf959ee14d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-22 04:13:30 +00:00
Nextcloud bot
e6cd1cfce4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-21 04:12:29 +00:00
Álvaro Brey
9ab052d379 SaveCalendar: reuse property factory
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-19 15:38:50 +02:00
Álvaro Brey
8e751eedab Setup ical4j caching class
Needed since 3.0

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-19 15:38:50 +02:00
tobiasKaminsky
1a6ec16af8 Use 3.0.0
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-19 15:38:50 +02:00
dependabot[bot]
e1115c1dcf Bump ical4j from 1.0.8 to 3.2.5
Bumps [ical4j](https://github.com/ical4j/ical4j) from 1.0.8 to 3.2.5.
- [Release notes](https://github.com/ical4j/ical4j/releases)
- [Changelog](https://github.com/ical4j/ical4j/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ical4j/ical4j/compare/ical4j-1.0.8...ical4j-3.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-19 15:38:50 +02:00
Álvaro Brey
68c7eddf46
Use ArbitraryDataProvider to store backup preferences
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-19 13:00:14 +02:00
Álvaro Brey
7a1e8189da Actually persist backup preferences
Currently, the backup is always enabled if the permissions are granted, so the checkboxes make no sense.

This fixes that by actually persisting the checkbox status as a preference, and honoring that for schedulling/cancelling the backup jobs.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-18 16:26:20 +02:00
Álvaro Brey
71fb20b524
Merge pull request #10609 from nextcloud/fix/calendar-backup
BackupFragment: request write_calendar permission for backup
2022-08-18 16:25:51 +02:00
dhruv
4f19252726 SingleLine attribute removed
Signed-off-by: dhruv <dhruvpatidar35@gmail.com>
2022-08-18 15:49:40 +05:30
Álvaro Brey
2d3982060c
BackupFragment: request write_calendar permission for backup
Needed to ensure events have UIDs for ICS export

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-17 17:02:46 +02:00
tobiasKaminsky
04b4f6b5d4 Moved libraries from nextcloud to nextcloud-deps
As links still work, this is not really needed, but still good to point to new location.
Thus no backport is needed.

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-17 14:06:50 +02:00
Nextcloud bot
5671394559
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-17 04:14:13 +00:00
Nextcloud bot
9a08c5b3ea
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-16 04:14:33 +00:00
Tobias Kaminsky
7555b2b26b
Merge pull request #10602 from nextcloud/fix/showshares-random-crash
FDA IT.showShares: open shared section through menu
2022-08-15 15:48:02 +02:00
Nextcloud bot
ce4980a268
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-14 04:12:41 +00:00
Nextcloud bot
7f2b4d9c74
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-13 04:14:24 +00:00
Nextcloud bot
038b143147
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-12 04:12:17 +00:00
Álvaro Brey
299d972b54
Merge pull request #10620 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.2
Bump fragment-ktx from 1.5.1 to 1.5.2
2022-08-11 11:22:55 +02:00
Álvaro Brey
6923ba396d FileDisplayActivityIT: convert to Kotlin, since we're here
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-11 11:19:07 +02:00
Álvaro Brey
bdf075ac48 FileDisplayActivityIT.showShares: open share view through menu
This is more correct, and also seems to prevent random recyclerview crashes in CI

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-11 11:19:07 +02:00
Nextcloud bot
69452d86e5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-11 04:11:27 +00:00
dependabot[bot]
fd7c5c4d2a
Bump fragment-ktx from 1.5.1 to 1.5.2
Bumps fragment-ktx from 1.5.1 to 1.5.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11 01:38:45 +00:00
Nextcloud bot
7bf1d73c89
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-10 04:19:12 +00:00
Nextcloud bot
e1cc046be2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-09 04:11:02 +00:00
Álvaro Brey
359d2ab356
Disable search on folder picker activity
Wasn't implemented and it's hard to get going

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-08 17:28:25 +02:00
Álvaro Brey
8c62cb1c0c FileMenuFilter: reorder conditionals for performance (Spotbugs)
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-08 13:57:57 +02:00
tobiasKaminsky
7c9941ac0c Only allow "unset encryption" when folder is empty
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-08 13:57:57 +02:00
Nextcloud bot
17977f42f0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-08 07:07:25 +00:00
Valdnet
2a6f4fe493 i18n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-08-05 13:25:16 +02:00
Álvaro Brey
54c404cf02
Merge pull request #10595 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.7
Bump firebase-messaging from 23.0.6 to 23.0.7
2022-08-05 13:00:03 +02:00
Álvaro Brey
c99b5c1254
Merge pull request #10537 from nextcloud/followUpSameName
Check empty/same name on creating text files
2022-08-05 12:47:22 +02:00
Álvaro Brey
1194a5c866
Merge pull request #10544 from nextcloud/fix/upload-external-uri-internal-path
Prevent URI uploads from external apps that target private storage
2022-08-05 11:12:15 +02:00
Nextcloud bot
acd800394d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-05 03:47:57 +00:00
dependabot[bot]
a52f833f1c
Bump firebase-messaging from 23.0.6 to 23.0.7
Bumps firebase-messaging from 23.0.6 to 23.0.7.

---
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>
2022-08-05 01:14:23 +00:00
dependabot[bot]
37c4c30814 Bump detekt-gradle-plugin from 1.20.0 to 1.21.0
Bumps [detekt-gradle-plugin](https://github.com/detekt/detekt) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/compare/v1.20.0...v1.21.0)

---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 15:58:55 +02:00
tobiasKaminsky
db490b245f also check if folder
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: Tobias Kaminsky <tobias@nextcloud.com>
2022-08-04 15:58:25 +02:00
Álvaro Brey
64ddaf4405
ReceiveExternalFilesActivity: fix type of empty list container
It's now a NestedScrollView

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:57:07 +02:00
Álvaro Brey
8f8274cab2
Cleanup UriUploader a bit, and add tests for private paths
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:56:11 +02:00
Álvaro Brey
cd3bd0845a
Don't accept uris to upload from external apps if they contain this app's package name
Prevent leaks of files in this app's storage

Co-authored-by: Tobias Kaminsky <tobias@kaminsky.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:56:11 +02:00
Álvaro Brey
61f891201b
UriUploader: convert to Kotlin step 2
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:56:11 +02:00
Álvaro Brey
bbfb58f644
UriUploader: convert to Kotlin step 1
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-04 15:56:06 +02:00