Commit graph

18968 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
09b7a76d5c
Merge pull request #10660 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.4.0
Bump hmarr/auto-approve-action from 2.2.1 to 2.4.0
2022-08-22 16:07:37 +02:00
Álvaro Brey
fbfec4a0d7
Merge pull request #10545 from nextcloud/bumpSDK31
Bump targetSdkVersion to 31
2022-08-22 16:07:12 +02:00
dependabot[bot]
48eab03c56
Bump hmarr/auto-approve-action from 2.2.1 to 2.4.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.2.1 to 2.4.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.2.1...v2.4.0)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 12:39:27 +00: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
Tobias Kaminsky
e58baada06
Merge pull request #10659 from nextcloud/retry-test-shares
Add RetryTestRule to FileDisplayActivityIT
2022-08-22 14:29:05 +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
Tobias Kaminsky
2980f1fe7d
Merge pull request #10650 from nextcloud/dependabot/gradle/org.mnode.ical4j-ical4j-3.2.5
Bump ical4j from 1.0.8 to 3.2.5
2022-08-19 16:57:25 +02: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
1600d9ead2
Merge pull request #10636 from nextcloud/fix/contacts-backup-switch
Persist contacts/calendar backup preferences
2022-08-19 15:37:42 +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
Álvaro Brey
7eb27d712d
Merge pull request #10643 from dhruvpatidar359/master
Enable multiple lines for settings of automated upload: instant_upload_existing
2022-08-18 15:19:54 +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
Álvaro Brey
c1bda696f4
Merge pull request #10634 from nextcloud/depMove
Moved libraries from nextcloud to nextcloud-deps
2022-08-17 14:39:33 +02:00
Álvaro Brey
119130ef80
Merge pull request #10627 from nextcloud/dependabot/gradle/mockitoVersion-4.7.0
Bump mockitoVersion from 4.6.1 to 4.7.0
2022-08-17 14:11:43 +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
dependabot[bot]
6f9f17398e
Bump mockitoVersion from 4.6.1 to 4.7.0
Bumps `mockitoVersion` from 4.6.1 to 4.7.0.

Updates `mockito-core` from 4.6.1 to 4.7.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.0)

Updates `mockito-android` from 4.6.1 to 4.7.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 10:51:13 +00: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
Álvaro Brey
bd60aade13
Merge pull request #10603 from nextcloud/changelog-master-stable-3.21.0
Add changelog for 3.21.0
2022-08-09 09:35:32 +02: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
556a6bb0d5
Merge pull request #10518 from nextcloud/unsetEncryptionOnlyIfFolderEmpty
Only allow "unset encryption" when folder is empty
2022-08-08 15:48:36 +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
Álvaro Brey
837ccc3489
Update CHANGELOG.md
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-08 13:52:29 +02:00
Álvaro Brey
799699e963
Add changelog for 3.21.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-08 12:46:32 +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