Commit graph

17631 commits

Author SHA1 Message Date
Andy Scherzinger
72d81ad06a
Merge pull request #9292 from nextcloud/bugfix/9291/brandedThemedPermissionDialog
Make permission dialog brandable and themed
2021-11-17 18:02:22 +01:00
Álvaro Brey
2195236ea5
Merge pull request #9290 from nextcloud/bugfix/9284/ssoDialogSpacing
Use padding instead of margin for SSO dialog whitespace
2021-11-17 16:58:15 +01:00
Andy Scherzinger
abce95fd8c
make permission dialog brandable and themed
Fixes #9291

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-17 16:23:56 +01:00
Andy Scherzinger
5fd8843c1d
use padding instead of margin for SSO dialog whitespace
Fixes #9284

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-17 15:46:50 +01:00
Álvaro Brey
3a8c32e0c4
Merge pull request #9289 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.2
Bump constraintlayout from 2.1.1 to 2.1.2
2021-11-17 12:51:31 +01:00
dependabot[bot]
e44e90a595
Bump constraintlayout from 2.1.1 to 2.1.2
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 08:36:12 +00:00
Álvaro Brey
556b869308
Merge pull request #9288 from nextcloud/dependabot/gradle/mockkVersion-1.12.1
Bump mockkVersion from 1.12.0 to 1.12.1
2021-11-17 09:35:21 +01:00
Nextcloud bot
be72eb7429
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-17 05:59:22 +00:00
dependabot[bot]
fc634cd875
Bump mockkVersion from 1.12.0 to 1.12.1
Bumps `mockkVersion` from 1.12.0 to 1.12.1.

Updates `mockk` from 1.12.0 to 1.12.1
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/v1.12.0...1.12.1)

Updates `mockk-android` from 1.12.0 to 1.12.1
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/v1.12.0...1.12.1)

---
updated-dependencies:
- dependency-name: io.mockk:mockk
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.mockk:mockk-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-17 02:05:04 +00:00
Álvaro Brey
778736427d
Merge pull request #9248 from nextcloud/fix/unified_seach_crash
Unified search: fix createNextcloudClient called from main thread
2021-11-15 19:49:35 +01:00
Álvaro Brey
8646a625b6
Merge pull request #9127 from LisaKirchhofer/status-bar-bugfix
Bugfix: Issue #9060 (Status bar with sorting/view mode disappears aft…
2021-11-15 17:16:23 +01:00
Álvaro Brey
733cb16565
Merge pull request #9242 from nextcloud/fix/more-intent-queries
Expand intent query declarations in AndroidManifest
2021-11-15 16:43:04 +01:00
Álvaro Brey Vilas
d720ae7f3f
Unified search: createNextcloudClient should not be called from main thread
Fixes #9244

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 16:40:08 +01:00
Álvaro Brey Vilas
18c6baaff0
manifest: Even more intent queries
Fixes #9270

These are hard to find, man

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 13:37:39 +01:00
Álvaro Brey Vilas
fa432834e7
Expand intent query declarations in AndroidManifest
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 13:37:29 +01:00
Álvaro Brey
f6a1f4a0f1
Merge pull request #9262 from gmotzespina/master
Prevent app crash when listening to audio files.
2021-11-15 11:41:07 +01:00
Álvaro Brey Vilas
a6f3bdceeb
Keep track of PlayerService state instead of restarting it before closing
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-15 10:31:20 +01:00
Tobias Kaminsky
c2df6d73f7
Merge pull request #9261 from nextcloud/fixSSO
Query Param needs serial uid
2021-11-15 09:12:45 +01:00
Guillermo Mtz Espina
12b75dce7b Starts foreground service before stopping it to avoid app crash when listening to an audio file
Signed-off-by: Guillermo Mtz Espina <gmotzespina@icloud.com>
2021-11-14 11:40:40 +00:00
tobiasKaminsky
9751de3934
Query Param needs serial uid
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-14 08:17:42 +01:00
Nextcloud bot
507f0ae9be
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 03:50:49 +00:00
Álvaro Brey
9ecc4bfc2a
Merge pull request #9253 from nextcloud/dependabot/gradle/daggerVersion-2.40.1
Bump daggerVersion from 2.40 to 2.40.1
2021-11-12 10:42:59 +01:00
Nextcloud bot
7a8845777c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-12 03:45:57 +00:00
dependabot[bot]
8d98908b2d
Bump daggerVersion from 2.40 to 2.40.1
Bumps `daggerVersion` from 2.40 to 2.40.1.

Updates `dagger` from 2.40 to 2.40.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40...dagger-2.40.1)

Updates `dagger-android` from 2.40 to 2.40.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40...dagger-2.40.1)

Updates `dagger-android-support` from 2.40 to 2.40.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40...dagger-2.40.1)

Updates `dagger-compiler` from 2.40 to 2.40.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40...dagger-2.40.1)

Updates `dagger-android-processor` from 2.40 to 2.40.1
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40...dagger-2.40.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android-support
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-android-processor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 02:06:05 +00:00
Nextcloud bot
a1ce4fd57e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 03:50:41 +00:00
Tobias Kaminsky
cce56c4b2f
Merge pull request #9237 from nextcloud/fix/view-files
Manifest: allow app to query for apps that can resolve VIEW or SEND intents
2021-11-10 07:56:36 +01:00
Tobias Kaminsky
d3c42b5ed4
Merge pull request #9231 from nextcloud/disable-editor-autowrap
code style: Disable autowrap while typing
2021-11-10 07:55:33 +01:00
Nextcloud bot
e25c82126f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-10 03:54:32 +00:00
Álvaro Brey Vilas
80f3f09bd1
Manifest: allow app to query for apps that can resolve VIEW or SEND intents
This is otherwise limited by default in sdk 30 and above

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-09 16:28:12 +01:00
Álvaro Brey
eceddd5b61
Merge pull request #9234 from nextcloud/fix-manage-storage-lint
Remove some unused resources
2021-11-09 14:21:44 +01:00
Álvaro Brey Vilas
fc7f91add8
Remove some unused resources
Slipped through on MANAGE_EXTERNAL_STORAGE pr

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-09 14:08:08 +01:00
Álvaro Brey
38e78b3f37
Merge pull request #9228 from nextcloud/manage-all-files
Ditch scoped storage in favor of MANAGE_EXTERNAL_STORAGE
2021-11-09 12:25:33 +01:00
Álvaro Brey Vilas
b17bdc8e1e
code style: Disable autowrap while typing
Our .editorconfig indiscriminately applies max length of 120 to every single file (except yaml).
When coupled with this setting (autowrap), this results in the editor inserting line ends in files,
even when it breaks the syntax (such as bash scripts) or tools (such as strings.xml).

This change keeps the margin indicator but disables auto-wrap while typing.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-09 12:07:30 +01:00
Álvaro Brey
f0ee7d719e
Merge pull request #9186 from nextcloud/strictMode
Enable StrictMode during development
2021-11-09 09:59:03 +01:00
Álvaro Brey Vilas
361ed24bb4
Add dialog to inform the user of storage permission
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-09 09:46:38 +01:00
tobiasKaminsky
9b0db8a355
Enable StrictMode during development
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-09 09:04:25 +01:00
Tobias Kaminsky
a5d4dedc01
Merge pull request #9209 from nextcloud/spotbugs-refactor
build.gradle: Refactor spotbugs setup
2021-11-09 09:02:32 +01:00
Nextcloud bot
6e9dc44e71
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-09 07:52:44 +00:00
Álvaro Brey
7bd0190c4b
Merge pull request #9225 from nextcloud/wording
rename "read only" -> "view only"
2021-11-09 08:30:19 +01:00
Álvaro Brey Vilas
7966fa7923
Re-try to get file management permission if user does not enable it, and show toast.
Does not allow any usage of the app if permission is not granted.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 16:56:22 +01:00
Álvaro Brey Vilas
44968b20ad
PermissionUtil: fix version conditional
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 16:26:44 +01:00
Tobias Kaminsky
2e80f45191
Merge pull request #9188 from nextcloud/leakCanary
Use LeakCanary in debug mode
2021-11-08 15:14:41 +01:00
tobiasKaminsky
f4f0c22492
rename "read only" -> "view only"
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-11-08 14:05:45 +01:00
Álvaro Brey Vilas
be54fa0bce
Update spotbugs results
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:56:04 +01:00
Álvaro Brey Vilas
3c80a05354
Revert "Use internalTemporalPath instead of temporalPath"
This reverts commit 1811d040f7.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:50:43 +01:00
Álvaro Brey Vilas
41dbdaf3ed
Revert "DownloadFileOperation: use moveFile instead of File.renameTo"
This reverts commit f18f72abcd.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:50:26 +01:00
Álvaro Brey Vilas
5eeb8c0343
Remove What's New screens for scoped storage
Not needed if we get the manage permission

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:46:23 +01:00
Álvaro Brey Vilas
6a76372fde
GrantStoragePermissionRule: grant MANAGE_EXTERNAL_STORAGE on sdk >=30
Feels a bit hacky but it's the actual recommended way:
https://developer.android.com/training/data-storage/manage-all-files#enable-manage-external-storage-for-testing

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:40:17 +01:00
Álvaro Brey Vilas
a0b85cac71
Ditch scoped storage, try MANAGE_EXTERNAL_STORAGE
We _are_ a file-managing app, after all.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-08 13:13:02 +01:00
Álvaro Brey
0f024b81e0
Merge pull request #9223 from nextcloud/Valdnet-patch-2
i18n: Minor changes to sentence
2021-11-08 11:52:37 +01:00