Commit graph

18296 commits

Author SHA1 Message Date
Álvaro Brey
ad13f544ee
Merge pull request #9974 from nextcloud/chore/espresso-intents-version
build.gradle: Don't hardcode espresso-intents version, use the same as other espresso libs
2022-03-16 13:00:49 +01:00
Álvaro Brey
e8acc254b8
Merge pull request #9969 from nextcloud/chore/ndk-version
build: Specify NDK version (optional install)
2022-03-16 11:38:15 +01:00
Tobias Kaminsky
eccd9205bd
Merge pull request #9970 from nextcloud/fix/share-screen-update
FileDisplayActivity: set file when opening FileDetailsFragment
2022-03-16 11:03:28 +01:00
Álvaro Brey
76d9bbfba3
Merge pull request #9432 from nextcloud/showCorrectNoShared
if no shared files are on server, show correct empty message
2022-03-16 10:45:08 +01:00
Álvaro Brey Vilas
d6f32eb5ce
build.gradle: Don't hardcode espresso-intents version, use the same as other espresso libs
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-16 10:01:04 +01:00
tobiasKaminsky
d9b8b3baf8
Add NDK to buildDev
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-16 07:56:39 +01:00
Nextcloud bot
e82fb2c6da
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-16 04:01:13 +00:00
tobiasKaminsky
080736af30
if no shared files are on server, show correct empty message
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-15 17:36:20 +01:00
Álvaro Brey Vilas
934953506f
FileDisplayActivity: set file when opening FileDetailsFragment
Solves issues when creating or removing shares, at which point the file would be re-set to the root folder

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 17:26:35 +01:00
Tobias Kaminsky
91520971cd
Merge pull request #9873 from nextcloud/optional-files-permission
Make external storage permission optional
2022-03-15 16:49:54 +01:00
Álvaro Brey Vilas
ec98c5db52
Centralize NDK and CMAKE versions
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 14:43:05 +01:00
Álvaro Brey Vilas
3b5d9ddabf
qa: Ensure NDK and cmake are present
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 13:14:57 +01:00
Álvaro Brey Vilas
12ce7c2837
build: Specify NDK version (optional install)
If this + CMake is installed, native libraries are correctly stripped, and then APK size is reduced.
If not installed, everything still works as we don't actually need to compile any native stuff.

If `ndkVersion` is not specified, then the default version for Android Gradle Plugin is expected,
and stripping will not work even if other NDK version is installed. So it's better to use a
specific version, to prevent it from stopping working in the future.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 10:29:20 +01:00
Álvaro Brey Vilas
1a9014ee3b
FileDisplayActivity: always try to reload folder on onResume
This makes it so that the folder loads even without granting storage permission, which is the expected behaviour now

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-14 17:39:21 +01:00
Álvaro Brey Vilas
2a4316a298
PermissionUtil: ensure permission choice dialog doesn't overlap itself
(ensure only one instance of it is ever shown at the same time)

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-14 17:22:17 +01:00
Álvaro Brey Vilas
d8811c97a1
StoragePermissionDialogFragment: fix theming of buttons
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-14 17:18:07 +01:00
Álvaro Brey Vilas
db196c68a4
Design updates for storage permission dialog
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-14 17:04:18 +01:00
Álvaro Brey Vilas
ad5b443489
Choice between All Files and read-only external storage in SDK >=30
- Allow users to choose between MANAGE_EXTERNAL_STORAGE (full access) and READ_EXTERNAL_STORAGE (media read-only) in sdk >=30, with a dialog
- If All Files is not available (activity to manage not present, or permission not in manifest), request READ_EXTERNAL_STORAGE instead
- Misc improvements to permission request in UploadFilesActivity and SyncedFoldersActivity

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-14 17:04:17 +01:00
Álvaro Brey Vilas
7d2f0fa017
Make external storage permission optional
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-14 17:04:12 +01:00
Álvaro Brey
55c9811db6
Merge pull request #9865 from nextcloud/centralizeThemeUtils
Cache capabilities
2022-03-14 16:32:07 +01:00
Álvaro Brey Vilas
91c46090e8
Increase findbugs-results.txt
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-14 14:09:57 +01:00
tobiasKaminsky
05bd775171
only have one place for capability
update cache entry

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-14 13:23:14 +01:00
Nextcloud bot
d2f670369f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-14 11:15:03 +00:00
Álvaro Brey
d4d18307b7
Merge pull request #9920 from nextcloud/fix/autoupload-select-folder
Fix folder selection in custom autoupload folders
2022-03-11 15:11:24 +01:00
Álvaro Brey Vilas
a860761144
Increase lint and spotbugs
Lint is expected, spotbugs is false positive

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 13:22:52 +01:00
Álvaro Brey Vilas
785767ae70
Screenshot tests for UploadFilesActivity
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 13:22:50 +01:00
Álvaro Brey Vilas
900145da05
Fix folder selection in custom autoupload folders
Hide checkboxes and keep choose button enabled. The flow to select folders is to navigate into them and tap "Choose", as is typical in file browsers.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 13:21:31 +01:00
Álvaro Brey
fbfa7fa746
Merge pull request #9960 from nextcloud/chore/modern-gradle-structure
Move app source to subproject, as per current gradle standards
2022-03-11 13:20:18 +01:00
Álvaro Brey Vilas
817bbe6d69
SETUP.md: update instructions to link library locally
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 12:19:45 +01:00
Álvaro Brey Vilas
d23d20f31b
Fix git hooks for new source location
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:42:11 +01:00
Álvaro Brey Vilas
797316b75a
Fix screenshot screens for new source location
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:38:56 +01:00
Álvaro Brey Vilas
b7c0e94b3d
Fix scripts/buildDev for new source location
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:30:59 +01:00
Álvaro Brey Vilas
4c28ac03ff
Fix scripts/androidScreenshotTest for new source location
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:28:21 +01:00
Álvaro Brey Vilas
d8e5691366
Fix detekt and ktlint for new source path
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:23:31 +01:00
Álvaro Brey Vilas
d2aa5520c6
Fix .codecov.yml after src path change
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:17:23 +01:00
Álvaro Brey Vilas
0282a98528
Fix generate_metadata.py
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:16:42 +01:00
Álvaro Brey Vilas
f356311485
Update fastlane for new structurUpdate fastlane for new structure
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:15:24 +01:00
Álvaro Brey Vilas
4c4fb3cd1c
Update transifex config
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:15:19 +01:00
Álvaro Brey Vilas
b55c452f5f
Fix uploadReport.sh for new structure
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:15:06 +01:00
Álvaro Brey Vilas
516544115c
Fix screenshot tests after subproject change
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:14:46 +01:00
Álvaro Brey Vilas
dd4085cf96
Fix analysis script for new project structure
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:12:47 +01:00
tobiasKaminsky
65fbc351e8
update drone
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-11 11:12:40 +01:00
tobiasKaminsky
e32de23933
fix qa
fix lint
fix uploadArtifact.sh

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-11 11:11:43 +01:00
Álvaro Brey Vilas
e57176f009
Move app source to subproject
Android Studio has started to fail for some stuff with that old structure (for example connected tests don't work).
It's about time to do this.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-11 11:10:51 +01:00
Álvaro Brey
1324529d36
Merge pull request #9957 from nextcloud/dependabot/gradle/exoplayerVersion-2.17.1
Bump exoplayerVersion from 2.17.0 to 2.17.1
2022-03-11 09:27:30 +01:00
dependabot[bot]
d2b884e9fe
Bump exoplayerVersion from 2.17.0 to 2.17.1
Bumps `exoplayerVersion` from 2.17.0 to 2.17.1.

Updates `exoplayer` from 2.17.0 to 2.17.1
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.17.0...r2.17.1)

Updates `extension-okhttp` from 2.17.0 to 2.17.1
- [Release notes](https://github.com/google/ExoPlayer/releases)
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md)
- [Commits](https://github.com/google/ExoPlayer/compare/r2.17.0...r2.17.1)

---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.exoplayer:extension-okhttp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 02:04:51 +00:00
Álvaro Brey
e0c8d337c7
Merge pull request #9954 from nextcloud/changelog-master-stable-3.19.1
Add changelog for 3.19.1
2022-03-10 15:58:57 +01:00
Álvaro Brey Vilas
e69bda3431
Add changelog for 3.19.1
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-10 13:36:47 +01:00
Álvaro Brey
e5cf4dd231
Merge pull request #9951 from nextcloud/stableServer
Test against latest stable
2022-03-10 13:05:41 +01:00
tobiasKaminsky
6dbee33546
Test against latest stable
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-10 11:14:26 +01:00