Compare commits

...
Author SHA1 Message Date
tobiasKaminsky 2492e15982 use local id from webdav
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-23 10:43:06 +01:00
Álvaro Brey Vilas 17b695728e build.gradle: Fix spacing for library version
It's triggering false CI positives

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:37:41 +01:00
Álvaro Brey Vilas fb5de078f7 qa: fix head ref
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-23 10:29:31 +01:00
Álvaro Brey d013464320 Merge pull request #9959 from nextcloud/shareFromMediaView
Fix sharing from media view
2022-03-23 09:30:26 +01:00
Tobias Kaminsky 3aad1fc376 Merge pull request #9999 from nextcloud/chore/qa_pr_target
qa: run on pull_request_target, to enable running on fork PRs
2022-03-23 07:50:48 +01:00
Tobias Kaminsky 8f641e8aa2 Merge pull request #10006 from nextcloud/local-library-composite-build
SETUP: update local library linking instructions with composite builds
2022-03-23 07:48:31 +01:00
tobiasKaminsky f522446d13 Correctly show edit share link
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-23 06:50:51 +01:00
Nextcloud bot 0c5a9fd155 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-23 03:59:59 +00:00
Álvaro Brey Vilas f65b99a265 SETUP: update local library linking instructions with composite builds
Reference: https://docs.gradle.org/current/userguide/composite_builds.html

Not only is this the "official" way to do this, but also:
 - It's much simpler (changes only one file)
 - No need for symlinks
 - Android Studio support seems to finally be perfect (understands lombok, knows that there are two Git roots...)

[skip ci][ci skip]

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-22 14:31:59 +01:00
Álvaro Brey Vilas ea27e54d26 build.gradle: Restore library version
Wrongly committed

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-22 14:30:54 +01:00
Álvaro Brey Vilas f6298f7904 FileDetialsSharing...: add minHeight to content instead of scrollview
This still keeps the minimum height, but doesn't center the content vertically which looked odd

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-22 10:10:55 +01:00
Tobias Kaminsky 6c858840cb Merge pull request #10001 from nextcloud/chore/android-app-bundles
Use app bundles for Google Play upload
2022-03-22 08:33:50 +01:00
Tobias Kaminsky 646f857890 daily dev 20220322
Update Nextcloud Android library
2022-03-22 08:03:02 +01:00
Tobias Kaminsky 4cf9b68fab Merge pull request #10004 from nextcloud/fixDevScript
correct location of different build.gradle files
2022-03-22 07:59:13 +01:00
tobiasKaminsky c18bf9983e correct location of different build.gradle files
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-22 07:58:39 +01:00
Álvaro Brey Vilas 5cfa23c14b Update fastlane
command ran: bundle update fastlane

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 16:30:23 +01:00
Álvaro Brey Vilas 042b6aa38a fastlane: Sign the app bundle, and use it for google play upload
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 16:14:19 +01:00
Álvaro Brey Vilas ae0840e5aa fastlane: Build AAB for gplayRelease in addition to APK
APK is generated from AAB using bundletool, for speed and to ensure contents are the same

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 15:25:36 +01:00
tobiasKaminsky d91d2996ab Fix sharing from media view
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-21 15:06:06 +01:00
Álvaro Brey bfccee5d15 Merge pull request #9995 from nextcloud/gradle-clean
build.gradle: Add clean task to root project
2022-03-21 14:30:37 +01:00
Álvaro Brey Vilas eeee70f472 qa: run on pull_request_target, to enable running on fork PRs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 13:24:10 +01:00
Álvaro Brey 380585ea52 Merge pull request #9998 from nextcloud/dependabot/github_actions/actions/cache-3
Bump actions/cache from 2 to 3
2022-03-21 13:14:40 +01:00
dependabot[bot] efd6d88124 Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-21 11:48:58 +00:00
Álvaro Brey a9bc999574 Merge pull request #9991 from nextcloud/dependabot/gradle/org.json-json-20220320
Bump json from 20211205 to 20220320
2022-03-21 10:48:01 +01:00
Álvaro Brey edac6e2870 Merge pull request #9983 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.2
Bump firebase-messaging from 20.1.3 to 23.0.2
2022-03-21 10:47:04 +01:00
Álvaro Brey Vilas d63d22d066 GooglePlayUtils: convert to Kotlin, fix spotbugs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 09:40:18 +01:00
dependabot[bot] abf14b52cf Bump firebase-messaging from 20.1.3 to 23.0.2
Bumps firebase-messaging from 20.1.3 to 23.0.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-21 09:40:09 +01:00
Álvaro Brey Vilas 354047fdce build.gradle: Add clean task to root project
Missed this when restructuring

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-21 09:19:15 +01:00
Nextcloud bot 321a97acf7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-21 03:59:20 +00:00
dependabot[bot] 5cadf81c43 Bump json from 20211205 to 20220320
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20211205 to 20220320.
- [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] <[email protected]>
2022-03-21 02:06:05 +00:00
Nextcloud bot 98575bc8ca [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-20 04:00:57 +00:00
Nextcloud bot d7dbef4085 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-19 04:01:55 +00:00
Nextcloud bot 6d1b14785c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-18 04:00:34 +00:00
Álvaro Brey 138d3a03a9 Merge pull request #9972 from nextcloud/fix/search-loading
Fix search loading animation and display
2022-03-17 13:04:10 +01:00
Álvaro Brey e7e2ab8a96 Merge pull request #9976 from nextcloud/fix/receive-crash-no-account
ReceiveExternalFilesActivity: don't crash if no user present
2022-03-17 10:44:45 +01:00
Álvaro Brey Vilas 769816978a OCFileListFragment: extract seach async task and convert it to kotlin
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-17 10:38:30 +01:00
Nextcloud bot 886400b5e0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-17 04:04:03 +00:00
Álvaro Brey b70eeaae3a Merge pull request #9977 from nextcloud/chore/ktlint-gradle
Use ktlint plugin instead of manual ktlint tasks
2022-03-16 13:05:23 +01:00
Á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
nextcloud-android-bot a64986e2e3 Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas 3e2eba34a5 Update FolderPickerActivity screenshot
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas 0af297735c ExtendedListFragment: Remove ViewTreeObserver on search frame
This was incorrectly setting empty message when switching search types. And it makes no sense: search is only executed when submitted.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas e8e18609e5 OCFileListFragment: make search async task static, fix loading animation usage
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:40:41 +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
Álvaro Brey Vilas 3597fb0a53 Use ktlint plugin instead of manual ktlint tasks
- Recommended by ktlint
 - Analyzes sources for all sourcesets without extra config
 - Less gradle code to maintain

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 11:30:39 +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 3975839d53 ReceiveExternalFilesActivity: don't crash if no user present
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-16 10:38:37 +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 <[email protected]>
2022-03-16 10:01:04 +01:00
tobiasKaminsky d9b8b3baf8 Add NDK to buildDev
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-16 07:56:39 +01:00
Nextcloud bot e82fb2c6da [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-03-14 17:22:17 +01:00
Álvaro Brey Vilas d8811c97a1 StoragePermissionDialogFragment: fix theming of buttons
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-14 17:18:07 +01:00
Álvaro Brey Vilas db196c68a4 Design updates for storage permission dialog
Signed-off-by: Álvaro Brey Vilas <[email protected]>
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 <[email protected]>
2022-03-14 17:04:17 +01:00
Álvaro Brey Vilas 7d2f0fa017 Make external storage permission optional
Signed-off-by: Álvaro Brey Vilas <[email protected]>
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 <[email protected]>
2022-03-14 14:09:57 +01:00
tobiasKaminsky 05bd775171 only have one place for capability
update cache entry

Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-14 13:23:14 +01:00
Nextcloud bot d2f670369f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
2022-03-11 13:22:52 +01:00
Álvaro Brey Vilas 785767ae70 Screenshot tests for UploadFilesActivity
Signed-off-by: Álvaro Brey Vilas <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-03-11 11:17:23 +01:00
Álvaro Brey Vilas 0282a98528 Fix generate_metadata.py
Signed-off-by: Álvaro Brey Vilas <[email protected]>
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 <[email protected]>
2022-03-11 11:15:24 +01:00
Álvaro Brey Vilas 4c4fb3cd1c Update transifex config
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:15:19 +01:00
Álvaro Brey Vilas b55c452f5f Fix uploadReport.sh for new structure
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-11 11:15:06 +01:00
Álvaro Brey Vilas 516544115c Fix screenshot tests after subproject change
Signed-off-by: Álvaro Brey Vilas <[email protected]>
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 <[email protected]>
2022-03-11 11:12:47 +01:00
tobiasKaminsky 65fbc351e8 update drone
Signed-off-by: tobiasKaminsky <[email protected]>
2022-03-11 11:12:40 +01:00
tobiasKaminsky e32de23933 fix qa
fix lint
fix uploadArtifact.sh

Signed-off-by: tobiasKaminsky <[email protected]>
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 <[email protected]>
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] <[email protected]>
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 <[email protected]>
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 <[email protected]>
2022-03-10 11:14:26 +01:00
Álvaro Brey 8dc0bbe14f Merge pull request #9933 from nextcloud/chore/drone-no-skip-ci
Fix CI on analysis commits
2022-03-10 10:58:45 +01:00
Tobias Kaminsky 8a2c587aea Merge pull request #9945 from nextcloud/fix/exoplayer-http
Exoplayer: use NextcloudClient's OkHttp client for connections
2022-03-10 10:54:21 +01:00
Álvaro Brey Vilas b4c241cef9 Update analysis.yml
Analysis: don't add "skip ci" to drone commit messages

Messes up Github Actions and doesn't work on Drone anyway

Signed-off-by: Álvaro Brey Vilas <[email protected]>

analysis: Fix commiter name and email

Not drone anymore

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 15:02:44 +01:00
Álvaro Brey c383abbc37 Merge pull request #9940 from nextcloud/fix/chardet-android7
build.gradle: Restore juniversalchardet to 2.0.3
2022-03-09 14:58:33 +01:00
Álvaro Brey 55bdccc807 Merge pull request #9930 from nextcloud/fix/share-title-bar
FileActivity: don't try to get file from FileDetailSharingFragment
2022-03-09 14:56:13 +01:00
Álvaro Brey Vilas 738c058b7a Exoplayer: use NextcloudClient's OkHttp client for connections
This fixes some issues with SSL in Android 7, and allows using custom certificates for streaming,
fixes IPv6 fallback, etc etc.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 14:28:05 +01:00
nextcloud-android-bot 3f61f6767f Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-09 09:34:24 +00:00
Álvaro Brey Vilas 3c5907816a FileActivity: don't try to get file from FileDetailSharingFragment
This solves some bugs with toolbar title.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 10:25:46 +01:00
Álvaro Brey 5affe302c9 Merge pull request #9936 from nextcloud/fix/extra-user-type
FileDownloader: EXTRA_USER should be User, not Account
2022-03-09 10:20:35 +01:00
Álvaro Brey Vilas 837a42b83e build.gradle: Restore juniversalchardet to 2.0.3
Newer versions cause crashes in android < 7. This was mistakenly bumped in dependabot

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 10:16:30 +01:00
Álvaro Brey 4a621176a4 Merge pull request #9922 from nextcloud/syncedfolders-async
SyncedFoldersActivity: asynchronous loading
2022-03-09 10:01:20 +01:00
Álvaro Brey 69a103543f Merge pull request #9938 from nextcloud/dependabot/gradle/mockitoVersion-4.4.0
Bump mockitoVersion from 4.3.1 to 4.4.0
2022-03-09 09:49:05 +01:00
Tobias Kaminsky 530dfbc51d Merge pull request #9916 from nextcloud/chore/update_project_codestyles
Chore: Update codeStyles/Project.xml
2022-03-09 09:34:42 +01:00
Álvaro Brey Vilas e7dbbb45b4 Analysis: use proper token for clone
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-09 09:01:50 +01:00
dependabot[bot] bbd4718a14 Bump mockitoVersion from 4.3.1 to 4.4.0
Bumps `mockitoVersion` from 4.3.1 to 4.4.0.

Updates `mockito-core` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.0)

Updates `mockito-android` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.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] <[email protected]>
2022-03-09 02:06:22 +00:00
Álvaro Brey Vilas 781fe1912c FileDownloader: EXTRA_USER should be User, not Account
Fixes #9935

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 16:30:51 +01:00
Álvaro Brey Vilas bee3403b21 analysis: Checkout branch, but use repo too
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 13:50:04 +01:00
Álvaro Brey Vilas 2a8123210a Analysis scripts: fix push
I am TIRED of fighting with this scripts and Github actions

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 13:16:53 +01:00
Álvaro Brey 59751c2fda Merge pull request #9921 from akallabeth/download_async_task
Fix #9842: Run network operations in async task
2022-03-08 13:04:41 +01:00
Álvaro Brey c480d91b4c Merge pull request #9910 from nextcloud/chore/retry-rule-no-sed
RetryTestRule: don't modify in scripts, use buildConfigField instead
2022-03-08 12:02:03 +01:00
Álvaro Brey Vilas bfffad6bf4 DocumentsStorageProvider: clean up download threading
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 11:33:24 +01:00
akallabeth a8c85a376d Fix #9842: Run DocumentProvider.openDocument network operations in async task
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 11:33:19 +01:00
Álvaro Brey Vilas b5f727f945 RetryTestRule: don't modify in scripts, use buildConfigField instead
Modifying code in scripts is bad

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 09:43:38 +00:00
Álvaro Brey Vilas 421a672e1d workflows: analysis: another attempt to fix checkout
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 10:27:24 +01:00
Álvaro Brey Vilas d2cb7e33b5 Revert "workflows: analysis: default checkout"
This reverts commit 55f02b550b.

Signed-off-by: Álvaro Brey <[email protected]>
2022-03-08 10:25:38 +01:00
Álvaro Brey fb6d8f8263 Merge pull request #9898 from nextcloud/chore/no-more-second-fragment
FileDisplayActivity: finally get rid of secondFragment
2022-03-08 10:23:26 +01:00
Álvaro Brey Vilas 55f02b550b workflows: analysis: default checkout
Should work in checkout@v3

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-08 10:04:15 +01:00
Nextcloud bot 4a9338d4fe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-08 03:58:09 +00:00
Álvaro Brey Vilas 6b3742a131 SyncedFoldersActivity: cancel loading when activity stops
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-07 14:47:18 +01:00
Álvaro Brey 2494967829 Merge pull request #9928 from nextcloud/dependabot/github_actions/actions/stale-5
Bump actions/stale from 4.1.0 to 5
2022-03-07 12:46:32 +01:00
Álvaro Brey 8a34bf220b Merge pull request #9926 from nextcloud/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-07 10:14:57 +01:00
Álvaro Brey 79452d3539 Merge pull request #9927 from nextcloud/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-03-07 09:47:30 +01:00
dependabot[bot] c8b1e0e43d Bump actions/stale from 4.1.0 to 5
Bumps [actions/stale](https://github.com/actions/stale) from 4.1.0 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4.1.0...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-07 08:20:44 +00:00
dependabot[bot] 7e7a1f4f97 Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...6673cd052c4cd6fcf4b4e6e60ea986c889389535)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-07 08:20:41 +00:00
dependabot[bot] 5e0c59cd6d Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-03-07 08:20:38 +00:00
Álvaro Brey 7d6d7e564e Merge pull request #9923 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2022-03-07 09:19:54 +01:00
Nextcloud bot 2b5d46eec6 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-05 08:17:06 +00:00
Nextcloud bot 02dbe46d78 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-05 03:54:31 +00:00
nextcloud-android-bot 0a97b9b797 Drone: update FindBugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-04 17:50:11 +01:00
nextcloud-android-bot 0ad73f845d Drone: update Lint results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-04 17:49:54 +01:00
Álvaro Brey Vilas dc4f4bc512 SyncedFolderAdapter: load thumbnails in parallel instead of sequentially
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 17:29:51 +01:00
Álvaro Brey Vilas c488b0b330 SyncedFoldersActivity: load content asynchronously
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 17:21:32 +01:00
Álvaro Brey Vilas 6b67362b7b SyncedFoldersActivity: convert to Kotlin (step 2)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 17:09:50 +01:00
Álvaro Brey Vilas aad327de21 SyncedFoldersActivity: conver to Kotlin (step 1)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-04 16:23:45 +01:00
Álvaro Brey Vilas 5891959a21 Update codeStyles/Project.xml
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-03 11:54:50 +01:00
Nextcloud bot c08cfd9c8f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-03-03 03:55:42 +00:00
Álvaro Brey 3383a6781a Merge pull request #9884 from nextcloud/creationTime
Correct handling of creation timestamp
2022-03-02 12:52:16 +01:00
Álvaro Brey Vilas 34ff8cff55 Restore library version
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-02 11:13:59 +01:00
Álvaro Brey 263413d53f Merge pull request #9881 from nextcloud/customCertInEditorWebView
Allow accessing URLs with custom cert in editor
2022-03-02 10:32:09 +01:00
Álvaro Brey d9c605e425 Merge pull request #9896 from nextcloud/fix/preview-shared
PreviewImageActivity: don't try to use virtual folder is type is NONE
2022-03-01 16:56:15 +01:00
Álvaro Brey 4dfd837257 Merge pull request #9897 from nextcloud/fix/selection-clear-titlebar
OCFileListFragment: don't reset title after clearing action mode (multiselect)
2022-03-01 16:55:27 +01:00
Unpublished 3c002fa0c3 Allow EditorWebView accessing URLs with custom certificate
Signed-off-by: Unpublished <[email protected]>

Drone: update Lint results to reflect reduced error/warning count

Signed-off-by: nextcloud-android-bot <[email protected]>

Drone: update FindBugs results to reflect reduced error/warning count

Signed-off-by: nextcloud-android-bot <[email protected]>
2022-03-01 16:26:37 +01:00
Álvaro Brey 436c782ebe Merge pull request #9904 from nextcloud/fix/media-title-restoring
GalleryFragment: restore title and fab on resume
2022-03-01 13:36:13 +01:00
Álvaro Brey 0e7587f73d Merge pull request #9901 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.17.0
Bump exoplayer from 2.16.1 to 2.17.0
2022-03-01 12:24:11 +01:00
Álvaro Brey 2b24e51eb4 Merge pull request #9907 from nextcloud/dependabot/gradle/mockkVersion-1.12.3
Bump mockkVersion from 1.12.2 to 1.12.3
2022-03-01 11:28:49 +01:00
Álvaro Brey Vilas 93f7c99d81 Force checkerframework version to fix error due to exoplayer upgrade
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-03-01 10:50:23 +01:00
dependabot[bot] 7bcea82061 Bump mockkVersion from 1.12.2 to 1.12.3
Bumps `mockkVersion` from 1.12.2 to 1.12.3.

Updates `mockk` from 1.12.2 to 1.12.3
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.2...1.12.3)

Updates `mockk-android` from 1.12.2 to 1.12.3
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.12.2...1.12.3)

---
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] <[email protected]>
2022-03-01 02:06:21 +00:00
Álvaro Brey Vilas 39094c0ef7 UploadFileOperation: fix creationTimestamp type
Thanks, spotbugs

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 17:48:34 +01:00
Álvaro Brey Vilas 7ff1d0d7d3 GalleryFragment: restore title and fab on resume
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 17:33:08 +01:00
Álvaro Brey Vilas eeee11e427 PreviewImageActivity: don't try to use virtual folder is type is NONE
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 14:11:09 +00:00
Álvaro Brey Vilas 967327e321 OCFileListFragment: don't reset title after clearing action mode (multiselect)
This breaks the title when in a virtual folder. There's no need for this, as the title is preserved anyway

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 14:10:57 +00:00
tobiasKaminsky 6d6339ebf6 Correct handling of creation timestamp
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-28 14:10:39 +00:00
nextcloud-android-bot abfcec5adc Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-28 14:10:19 +00:00
Álvaro Brey Vilas dd4770669f FileDisplayActivity: finally get rid of secondFragment
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 14:10:19 +00:00
Álvaro Brey 1954584741 Merge pull request #9902 from nextcloud/fix/localid-nullpointer
OCFile: fix NPE in getLocalId when remoteID is null
2022-02-28 15:09:17 +01:00
Álvaro Brey Vilas ba21b3a43f OCFile: fix NPE in getLocalId when remoteID is null
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-28 12:51:05 +01:00
Nextcloud bot b8aa447056 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-28 04:13:54 +00:00
dependabot[bot] ebe28efc46 Bump exoplayer from 2.16.1 to 2.17.0
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.16.1 to 2.17.0.
- [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.16.1...r2.17.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-28 02:09:41 +00:00
Nextcloud bot 76c5dded8f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-26 03:53:55 +00:00
Álvaro Brey 663cc8ed4f Merge pull request #9894 from nextcloud/unneededToString
Remove not needed toString() call
2022-02-25 15:29:28 +01:00
nextcloud-android-bot a990e6c2c8 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-25 13:54:05 +00:00
tobiasKaminsky 8401427d96 Remove not needed toString() call
Signed-off-by: tobiasKaminsky <[email protected]>

Update src/main/java/com/owncloud/android/db/OCUpload.java

Signed-off-by: Álvaro Brey <[email protected]>
2022-02-25 14:46:27 +01:00
Álvaro Brey 310d980313 Merge pull request #9893 from nextcloud/remoteIdNull
remoteId not needed when deleting a file
2022-02-25 14:45:17 +01:00
nextcloud-android-bot 99854accf6 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-25 12:49:47 +00:00
tobiasKaminsky 7c7e7e845d remoteId not needed when deleting a file
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-25 12:49:47 +00:00
Álvaro Brey cd94dc997b Merge pull request #9895 from nextcloud/fix/revert-exoplayer
Revert "Bump exoplayer from 2.16.1 to 2.17.0"
2022-02-25 13:47:51 +01:00
Álvaro Brey Vilas 3433312268 Revert "Bump exoplayer from 2.16.1 to 2.17.0"
Breaks instrumented test dependencies for some reason

This reverts commit b089ca76a4.
2022-02-25 13:45:27 +01:00
Álvaro Brey 2bd1b95fe9 Merge pull request #9889 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.17.0
Bump exoplayer from 2.16.1 to 2.17.0
2022-02-25 13:10:51 +01:00
Álvaro Brey 113c4a2a7b Merge pull request #9888 from nextcloud/chore/remove-third-party
Remove third party licenses for libs we don't use (anymore)
2022-02-25 09:51:26 +01:00
Álvaro Brey a4a5cc0396 Merge pull request #9890 from nextcloud/removeMail
remove mail notification on failure during CI, as this is shown in GitHub anyways
2022-02-25 09:48:07 +01:00
dependabot[bot] b089ca76a4 Bump exoplayer from 2.16.1 to 2.17.0
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.16.1 to 2.17.0.
- [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.16.1...r2.17.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-25 08:47:19 +00:00
tobiasKaminsky 60aaf00fc2 remove mail notification on failure during CI, as this is shown in GitHub anyways
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-25 07:07:04 +01:00
Nextcloud bot 5d943ad24b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-25 03:53:59 +00:00
Álvaro Brey Vilas 812cd943db Remove third party licenses for libs we don't use (anymore)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 16:53:29 +01:00
Álvaro Brey 5b964994d1 Merge pull request #8805 from nextcloud/stacktrace
Add stacktrace directly to github issue
2022-02-24 13:38:04 +01:00
Álvaro Brey Vilas 1a0d3ed65b Cleanup
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 11:49:20 +01:00
Álvaro Brey Vilas 5d07c4c6e4 Better exception report template
With markdown now

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 11:42:55 +01:00
Álvaro Brey Vilas 4cc4418bec ExceptionHandler: format entire stack trace recursively
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-24 11:03:32 +01:00
tobiasKaminsky 53a04af735 Add stacktrace directly to github issue
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-24 11:03:26 +01:00
Álvaro Brey 06ad493ed2 Merge pull request #9846 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.44.0
Bump ktlint from 0.43.2 to 0.44.0
2022-02-24 10:25:18 +01:00
Álvaro Brey 9b3c08efcd Merge pull request #9880 from nextcloud/fixLoggerImpl
Fix LoggerImpl to also log throwable
2022-02-24 10:15:58 +01:00
Álvaro Brey 316a2579c4 Merge pull request #9882 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.2
Bump gradle from 7.1.1 to 7.1.2
2022-02-24 10:12:12 +01:00
Nextcloud bot b124793817 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-24 03:56:56 +00:00
dependabot[bot] 9ee6e7185c Bump gradle from 7.1.1 to 7.1.2
Bumps gradle from 7.1.1 to 7.1.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-24 02:05:16 +00:00
Unpublished f50def5e0d Fix LoggerImpl to also log throwable
Signed-off-by: Unpublished <[email protected]>
2022-02-23 22:02:59 +01:00
Álvaro Brey 3b1dbe2301 Merge pull request #9866 from nextcloud/migrateParcelerToKotlinParcelize
Migrate from Parceler to kotlin-parcelize
2022-02-23 17:43:58 +01:00
Unpublished fcd1ab88b5 Migrate from Parceler to kotlin-parcelize
Signed-off-by: Unpublished <[email protected]>
2022-02-23 17:08:32 +01:00
Tobias Kaminsky 1250f27d59 Merge pull request #9877 from nextcloud/chore/espresso-intents-androidx
Use androidx for espresso-intents
2022-02-23 14:57:53 +01:00
Álvaro Brey Vilas ffe0b0c961 Use androidx for espresso-intents
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-23 13:35:35 +01:00
Álvaro Brey 00009680a3 Merge pull request #9859 from nextcloud/fix/video-stacking
Misc fixes for video player
2022-02-22 12:09:26 +01:00
Nextcloud bot 8f6e8f4927 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-22 03:56:19 +00:00
nextcloud-android-bot 2854b72f77 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-21 16:47:54 +00:00
nextcloud-android-bot 28e8c0d1ad Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-21 16:46:46 +00:00
Álvaro Brey Vilas 71c0f657e2 PreviewVideoActivity: improve button UX
- Add ripple on button click
 - Only show play OR pause button depending on playback state

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:43 +01:00
Álvaro Brey Vilas 87e508d2b1 Restore fast forward/rewind buttons in fullscreen video
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 7d89d68df6 PreviewVideoActivity: convert to Kotlin
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 329dea57a3 PreviewMediaFragment: fix restoring seek position when returning from fullscreen stream
The stream asynctask was just ignoring the saved time

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 11e472b18b PreviewVideoActivity: fix control buttons
For some reason only previous/next were working.

Manually bind play and pause, and remove the rest

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 22555a901a PreviewVideoActivity: pause player when activity stops
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas e419144456 PreviewVideoActivity: ensure player is stopped when closing fullscreen
This already worked for onBackPressed

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas 686748dda2 PreviewMediaFragment: stop video when stopping activity, and don't recreate existing player
This avoids multiple instances of the player opening when minimizing the app, for example.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-21 17:39:42 +01:00
Álvaro Brey c9018f8ba6 Merge pull request #9862 from nextcloud/fixLeakedCloseableViolation
Fix LeakedCloseableViolations in getScaledBitmap
2022-02-21 11:36:38 +01:00
Álvaro Brey cb9d9ff1a2 Merge pull request #9858 from nextcloud/fix/preview-share
Fix UX issues with toolbar in preview media fragment when using the "share" option
2022-02-21 09:46:28 +01:00
Nextcloud bot e4da58cfd2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-21 03:55:57 +00:00
Unpublished 2bd0bf0f14 Update findbugs-results.txt
Signed-off-by: Unpublished <[email protected]>
2022-02-20 13:22:48 +01:00
Unpublished 67397a4d7b Fix LeakedCloseableViolations in getScaledBitmap
Signed-off-by: Unpublished <[email protected]>
2022-02-20 12:56:28 +01:00
Nextcloud bot 5250b7380c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-20 03:55:24 +00:00
Nextcloud bot c704f59b37 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-19 03:55:54 +00:00
Álvaro Brey Vilas 7625275b07 Fix toolbar in PreviewMediaFragment after coming back from sharing fragment
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-18 13:48:17 +01:00
Álvaro Brey Vilas 66125d6a27 FileDisplayActivity: fix coordinator scrolling when opening share details from media preview
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-18 13:31:15 +01:00
Álvaro Brey 2b639f288b Merge pull request #9852 from nextcloud/dependabot/gradle/daggerVersion-2.41
Bump daggerVersion from 2.40.5 to 2.41
2022-02-17 18:12:26 +01:00
Álvaro Brey 735cbfc7ab Merge pull request #9851 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.6
Bump spotbugs-gradle-plugin from 5.0.5 to 5.0.6
2022-02-17 17:45:08 +01:00
Tobias Kaminsky 41d1698ea3 Merge pull request #9717 from nextcloud/scan_doc
Scan doc
2022-02-17 14:31:02 +01:00
thelittlefireman 9e7a9b410f Add scan document feature
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: thelittlefireman <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-17 10:10:36 +01:00
Nextcloud bot ee000f7b4e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-17 03:55:25 +00:00
dependabot[bot] c3939e881c Bump daggerVersion from 2.40.5 to 2.41
Bumps `daggerVersion` from 2.40.5 to 2.41.

Updates `dagger` from 2.40.5 to 2.41
- [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.5...dagger-2.41)

Updates `dagger-android` from 2.40.5 to 2.41
- [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.5...dagger-2.41)

Updates `dagger-android-support` from 2.40.5 to 2.41
- [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.5...dagger-2.41)

Updates `dagger-compiler` from 2.40.5 to 2.41
- [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.5...dagger-2.41)

Updates `dagger-android-processor` from 2.40.5 to 2.41
- [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.5...dagger-2.41)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-17 02:05:47 +00:00
dependabot[bot] 70904ce924 Bump spotbugs-gradle-plugin from 5.0.5 to 5.0.6
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.5...5.0.6)

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-17 02:05:25 +00:00
Tobias Kaminsky 1e33020f80 Merge pull request #9783 from nextcloud/mediaEnhancement
Enhance media tab
2022-02-16 10:42:33 +01:00
dependabot[bot] 2d99d8a546 Bump ktlint from 0.43.2 to 0.44.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.43.2 to 0.44.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.43.2...0.44.0)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-16 02:05:51 +00:00
Álvaro Brey f9febe24ad Fallback pdf viewer (#9806)
* Basic PDF preview

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Preview pdf: add dividers between pages

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Prefer third-party pdf viewers over fallback viewer

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Zoomable view for pdf pages

Signed-off-by: Álvaro Brey Vilas <[email protected]>

pdf preview: Show tip to indicate that zooming on images is possible

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Pdf preview: screenshot test

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Fix spotbugs and lint

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* PreviewPdfFragment: fix screenshot test

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* PreviewPdfFragment: fix toolbar when resuming

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* PreviewBitmapActivity: add screenshot test

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* PreviewPdfFragment: fix crash in screenshot tests

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Pdf preview: rename tests

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* pdf preview: Update copyright headers

Oops

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Pdf preview: use grey for background instead of black

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Pdf preview: add scrollbar

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Pdf preview: show zoom tip 3 times instead of only once

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Pdf preview: fix lint and improve styling

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-15 15:04:16 +01:00
Tobias Kaminsky 9723c0458e Merge pull request #9816 from nextcloud/pin
Improve PIN lockout handling
2022-02-15 14:54:08 +01:00
tobiasKaminsky ea863cd04c Fix test, satisfy spotbugs
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 14:52:55 +01:00
Tobias Kaminsky e5131c59ca Merge pull request #9736 from nextcloud/uploadCreationTimestamp
Make use of upload and creation timestamp
2022-02-15 14:22:08 +01:00
Álvaro Brey Vilas df3c98a0c4 PassCodeManager: use abstracted Clock implementation rather than system clock directly
Improves testability

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-15 11:23:36 +01:00
Álvaro Brey Vilas aafa7780f6 PassCodeActivity: update lock timestamp when lock has just been set
Prevents asking for pass immediately after setting it

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-15 10:27:11 +01:00
tobiasKaminsky 607d008a75 Make use of upload and creation timestamp
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 09:43:32 +01:00
tobiasKaminsky 3584b90bc6 Show empty message if no results
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 09:36:52 +01:00
tobiasKaminsky b2bfd985da Remove not needed check
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 09:23:50 +01:00
tobiasKaminsky 0624e7eef3 Satisfy CI
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 08:37:25 +01:00
tobiasKaminsky cdd73d7d3d Use master library again
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-15 08:11:24 +01:00
Nextcloud bot ac68a9269e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-15 05:33:30 +00:00
Álvaro Brey Vilas 8b03556f71 PassCodeManager: convert to Kotlin, clean up, use injection
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-14 18:28:56 +01:00
Álvaro Brey Vilas 579af4ab30 PassCodeManager: don't count passcode/credentials activity towards activity counter
This prevents repetition attacks

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-14 17:28:46 +01:00
Álvaro Brey 42b254dae6 Merge pull request #9829 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.9.0
Bump gson from 2.8.9 to 2.9.0
2022-02-14 13:49:31 +01:00
dependabot[bot] b2652633d2 Bump gson from 2.8.9 to 2.9.0
Bumps [gson](https://github.com/google/gson) from 2.8.9 to 2.9.0.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.9...gson-parent-2.9.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-14 12:15:06 +00:00
Álvaro Brey 6d6183b3b0 Merge pull request #9208 from nextcloud/flaky-tests-again
Add RetryTestRule to DrawerActivityIT
2022-02-14 11:16:18 +01:00
Álvaro Brey 69033e25e9 Merge pull request #9823 from nextcloud/chore/mockitokotlin2
Chore: replace `com.nhaarman.mockitokotlin2` with `org.mockito.kotlin`
2022-02-14 11:09:47 +01:00
Tobias Kaminsky b81027d057 Merge pull request #9791 from nextcloud/fix/shares-downloading-crash
FileActivity: fix crash on share operations when FileDetailFragment is second fragment
2022-02-14 09:06:22 +01:00
Tobias Kaminsky c41f87d281 Merge pull request #9822 from nextcloud/chore/conflicts-dialog-logs
ConflictsResolveActivity: Add log messages when dialog can't be created
2022-02-14 09:00:28 +01:00
Tobias Kaminsky 1d4bc98de7 Merge pull request #9812 from nextcloud/avatarSize
Use 512px for avatar
2022-02-14 08:47:33 +01:00
Tobias Kaminsky 8b0674e29f Merge pull request #9808 from nextcloud/resumeText
resuming TextEditor after splitting screens works now again
2022-02-14 08:40:09 +01:00
Tobias Kaminsky 541e55ff1c Merge pull request #9821 from nextcloud/fix/db-upgrade-crash
FileContentProvider: fix crash on certain upgrades
2022-02-14 08:30:47 +01:00
tobiasKaminsky fa73725815 Pin: use activity paused also, as stopped is sometimes too slow
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:30:00 +00:00
tobiasKaminsky 556f856ac3 Update adapter after finish search (success/failure)
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky e17beb00ad Do not show meta info (favorite, download status) in media view
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 256656af5d correctly return result
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 307a407631 fix reloading bug
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 07885c3a18 refactor/ clean up
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
nextcloud-android-bot 905b21e04a Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 5140d8d99f sql typo
fix not showing images

Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:51 +01:00
tobiasKaminsky 3bfc373e50 Enhance media tab
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-14 07:35:50 +01:00
Nextcloud bot 6b8ce02a2e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-14 03:55:09 +00:00
Nextcloud bot bbf1032845 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-12 03:55:56 +00:00
Álvaro Brey Vilas 2a6398adda Chore: replace com.nhaarman.mockitokotlin2 with org.mockito.kotlin
It has been integrated into the main mockito org, and the old ID no longer receives updates

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 18:32:15 +01:00
tobiasKaminsky e20555f5d0 resuming TextEditor after splitting screens works now again
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 16:59:13 +00:00
Álvaro Brey ad24340f90 Merge pull request #9083 from nextcloud/gplayImpl
remove gplay.gradle, use gplayImplementation instead
2022-02-11 17:53:59 +01:00
Álvaro Brey Vilas c506cda8a6 FileDisplayActivity: ditch secondFragment for FileDetailsFragment, use leftFragment instead
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 16:49:57 +00:00
Álvaro Brey Vilas d82a989378 FileActivity: fix crash on share operations when FileDetailFragment is second fragment
When a file is downloaded, FileDetailFragment is opened as SECOND_FRAGMENT instead of LIST_OF_FILES, which breaks this logic.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 16:49:57 +00:00
Álvaro Brey Vilas 9cf0f1d6fa ConflictsResolveActivity: Add log messages when dialog can't be created
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 17:33:58 +01:00
Álvaro Brey Vilas b5d338fb8d FileContentProvider: fix crash on certain upgrades
checkIfColumnExists should not use getColumnIndexOrThrow, as it's supposed to check if the index doesn't exist

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-11 13:57:03 +01:00
Tobias Kaminsky 5c649785f1 Merge pull request #9819 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.8
Bump byteBuddyVersion from 1.12.7 to 1.12.8
2022-02-11 13:31:31 +01:00
Tobias Kaminsky b36da4a699 Merge pull request #9805 from nextcloud/highresThumbnails
High-res thumbnails
2022-02-11 13:16:31 +01:00
Tobias Kaminsky a3add82062 Merge pull request #9799 from nextcloud/dependabot/gradle/com.facebook.testing.screenshot-core-0.15.0
Bump core from 0.13.0 to 0.15.0
2022-02-11 13:08:35 +01:00
dependabot[bot] e37cd03378 Bump core from 0.13.0 to 0.15.0
Bumps [core](https://github.com/facebook/screenshot-tests-for-android) from 0.13.0 to 0.15.0.
- [Release notes](https://github.com/facebook/screenshot-tests-for-android/releases)
- [Changelog](https://github.com/facebook/screenshot-tests-for-android/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/screenshot-tests-for-android/compare/0.13.0...0.15.0)

---
updated-dependencies:
- dependency-name: com.facebook.testing.screenshot:core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-11 11:09:39 +00:00
tobiasKaminsky 7ddbb65ca2 Use 512px for avatar
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 11:09:23 +00:00
tobiasKaminsky 1c9a3e0208 For display with >= 600dp use higher file icon resolution
use this resolution also default thumbnails

Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 11:09:20 +00:00
dependabot[bot] 4f3de11179 Bump byteBuddyVersion from 1.12.7 to 1.12.8
Bumps `byteBuddyVersion` from 1.12.7 to 1.12.8.

Updates `byte-buddy` from 1.12.7 to 1.12.8
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.7...byte-buddy-1.12.8)

Updates `byte-buddy-android` from 1.12.7 to 1.12.8
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.7...byte-buddy-1.12.8)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-11 11:08:50 +00:00
Tobias Kaminsky db71d3748e Merge pull request #9820 from nextcloud/newDroneServer
Update drone server image
2022-02-11 11:58:17 +01:00
tobiasKaminsky 11524528bf Update drone server image
Signed-off-by: tobiasKaminsky <[email protected]>
2022-02-11 10:16:52 +01:00
Álvaro Brey 8fd7a050c7 Merge pull request #9814 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.4.1
Bump lifecycle-viewmodel-ktx from 2.4.0 to 2.4.1
2022-02-10 12:54:42 +01:00
dependabot[bot] 452195342e Bump lifecycle-viewmodel-ktx from 2.4.0 to 2.4.1
Bumps lifecycle-viewmodel-ktx from 2.4.0 to 2.4.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-10 02:14:16 +00:00
Álvaro Brey e88a4d97d6 Merge pull request #9802 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.1
Bump gradle from 7.1.0 to 7.1.1
2022-02-07 09:43:57 +01:00
Álvaro Brey 4d9c878d4f Merge pull request #9801 from nextcloud/chore/test-sort-order
Update sorting tests
2022-02-07 09:21:24 +01:00
Nextcloud bot 73c01d1ef4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-07 03:54:38 +00:00
dependabot[bot] 0200142476 Bump gradle from 7.1.0 to 7.1.1
Bumps gradle from 7.1.0 to 7.1.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-02-07 02:07:01 +00:00
Nextcloud bot 559c41d880 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-05 03:54:13 +00:00
Álvaro Brey Vilas 08e7a761dc NaturalSortTest: shuffle instead of duplicating parameters
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:55:07 +01:00
Álvaro Brey Vilas 64d386786c Rename TestSorting to OCFileSortTest, conver to Kotlin, parameterize
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:55:07 +01:00
Álvaro Brey Vilas bed01a2f0c TestSorting: refactor and simplify since it's now only for OCFiles
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:12:52 +01:00
Álvaro Brey Vilas e7e603f4d8 Move string sort tests from TestSorting to NaturalSortTest
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 13:02:42 +01:00
Álvaro Brey Vilas d40fc88754 Move TestSorting to unit tests
No reason for it to be an instrumented test

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 12:54:45 +01:00
Álvaro Brey Vilas 91297b7ce0 Test AlphanumComparator
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-04 10:49:08 +01:00
Nextcloud bot 927babb3bf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-04 03:55:25 +00:00
Álvaro Brey b0848c23e7 Merge pull request #9796 from nextcloud/changelog-master-stable-3.19.0
Add changelog for 3.19.0
2022-02-03 13:19:53 +01:00
Álvaro Brey Vilas 1a7f81a47b Add changelog for 3.19.0
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-02-03 13:17:13 +01:00
Nextcloud bot c437db409e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-03 03:55:06 +00:00
Nextcloud bot dba8da00f0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-02 03:55:45 +00:00
Nextcloud bot 190332ceaa [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-02-01 03:55:35 +00:00
Álvaro Brey 1ecbf61cc7 Merge pull request #9776 from nextcloud/fix/activity-title
OCFileListFragment: set title when attached to activity
2022-01-31 15:42:16 +01:00
Álvaro Brey 0c5afce10e Merge pull request #9770 from nextcloud/Valdnet-patch-1
i18n: Change to a capital letter
2022-01-31 13:43:46 +01:00
Álvaro Brey Vilas d1d3a49a6b OCFileListFragment: set title when attached to activity
This prevents wrong title while search isn't started yet (such as when returning to a search fragment from a preview fragment)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-28 16:32:46 +01:00
Nextcloud bot 204cd5a2c5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-28 03:54:54 +00:00
Valdnet f28bc6f9f9 i18n: Change to a capital letter
Signed-off-by: Valdnet <[email protected]>
2022-01-27 17:12:02 +01:00
tobiasKaminsky ebf59510fc remove gplay.gradle, use gplayImplementation instead
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-27 12:15:37 +00:00
Álvaro Brey 88605985a0 Merge pull request #9743 from nextcloud/fix/media-dark-duplicated
Fix crashes and double loading in GalleryFragment when changing dark theme
2022-01-27 12:35:35 +01:00
Álvaro Brey 3e97e1e212 Merge pull request #9761 from nextcloud/fix/local-files-freeze
Improve freezes in local files screens when folder contains many files
2022-01-27 12:34:35 +01:00
Álvaro Brey 6ccd2f91de Merge pull request #9760 from nextcloud/fix/passcode-cancel
PassCodeActivity: enable cancel button when re-created in confirmation step
2022-01-27 12:33:57 +01:00
Álvaro Brey c2bdea7f74 Merge pull request #9762 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.4.1
Bump fragment-ktx from 1.4.0 to 1.4.1
2022-01-27 10:23:14 +01:00
Álvaro Brey Vilas f3de5f9862 LocalFileListAdapter: fix case where directory==null
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:49:07 +01:00
Álvaro Brey Vilas 96c55a6d9f FileSortOrder*: convert to Kotlin
Need more kotlin in the codebase and these were simple enough

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:49:07 +01:00
dependabot[bot] dc7f3f88e1 Bump fragment-ktx from 1.4.0 to 1.4.1
Bumps fragment-ktx from 1.4.0 to 1.4.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-27 08:38:05 +00:00
Álvaro Brey Vilas 7baa0f8da4 LocalFileListAdapter: Also change sort order asynchronously
Changing sort  order is also slow.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:33:50 +01:00
Álvaro Brey Vilas 2baf63d809 AlphaNumComparator: optimize usage and resolve signature problems
- Methods had ambiguous signatures (parameterized compare<T> overlapped the various typed compare()). This made the compiler very confused.
 - In several places throughout the app, AlphaNumComparator was getting repeatedly instantiated just to manually call a typed compare(). This was very wasteful

To solve both problems, the typed compare() methods have been been made static.

The performance gains of not instantiating the comparator repeatedly are very noticeable. In a test loading a local folder for upload with 1000 files in it,
time of load is reduced from 28 seconds to 17 seconds.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:33:50 +01:00
Álvaro Brey Vilas 462da35fdb LocalFileList: load local files asynchronously
Loading a large list of files (especially the sorting part) is S L O W.
This ensures it doesn't block the UI while loading.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:33:50 +01:00
Álvaro Brey Vilas c5ebc05964 PassCodeActivity: enable cancel button when re-created in confirmation step
Prevents a bug where the cancel button would stop working if the device was rotated

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-27 09:20:00 +01:00
Álvaro Brey 618a770349 Merge pull request #9751 from nextcloud/fix/clear-data
Fix some crashes and weird behaviours when clearing data
2022-01-27 09:18:21 +01:00
Álvaro Brey 4a29c2e4c4 Merge pull request #9726 from nextcloud/fix/immutable-intents
Make PendingIntents immutable
2022-01-27 09:16:03 +01:00
nextcloud-android-bot d51268d7b8 Drone: update FindBugs results to reflect reduced error/warning count
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-01-26 14:09:47 +01:00
nextcloud-android-bot af2059660f Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2022-01-26 12:08:19 +00:00
Álvaro Brey Vilas c01fa0b170 Make more PendingIntents immutable
This should be all of them. Picked up by lint.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 12:56:05 +01:00
Álvaro Brey Vilas 27559efb79 Make PendingIntents immutable
Good practice for security

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 12:56:05 +01:00
Álvaro Brey 38c60b7618 Merge pull request #9758 from nextcloud/fix/analysis-again
Analysis: fix checkout and commit generation
2022-01-26 12:55:23 +01:00
Álvaro Brey Vilas 494cceab8e Analysis: fix checkout and commit generation
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 12:54:24 +01:00
Álvaro Brey 7eaed66ebc Merge pull request #9755 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.1.0
Bump gradle from 7.0.4 to 7.1.0
2022-01-26 12:06:04 +01:00
Álvaro Brey Vilas 45fc831989 gplay/AndroidManifest: set exported value for service
picked up by lint

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 9d5395c8fd ezvcard/ContactOperations: suppress locale lint in third_party class
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 043d839d70 build.gradle: Disable some translation errors in lint
Translations are handled in Transifex

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas a9ec1de015 manifest: Remove unneeded labels
Trips up lint

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 00586a5bde BackgroundJobFactory: fix lint due to unchecked build version for ContentObserverJob
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas b6115a5fc1 lint: Fix getLayoutInflater calls
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas b07716c0e5 screenshotTest: uninstall app before running
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas 9f2bdd5916 Analysis: use pull_request_target
Can't post reports otherwise as github token is readonly in pull_request

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:53 +01:00
Álvaro Brey Vilas e35b6211f0 build.gradle: Run migrations for AGP 7.1.0
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 11:33:52 +01:00
dependabot[bot] ae8752a4f7 Bump gradle from 7.0.4 to 7.1.0
Bumps gradle from 7.0.4 to 7.1.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] <[email protected]>
2022-01-26 11:33:47 +01:00
Álvaro Brey e6d64e5ed5 Merge pull request #9754 from nextcloud/dependabot/gradle/mockitoVersion-4.3.1
Bump mockitoVersion from 4.3.0 to 4.3.1
2022-01-26 10:45:40 +01:00
Álvaro Brey 41b3921643 Merge pull request #9744 from nextcloud/dependabot/gradle/com.karumi-shot-5.13.0
Bump shot from 5.11.2 to 5.13.0
2022-01-26 10:44:25 +01:00
Álvaro Brey Vilas e1b41b5d77 ManageSpaceActivity: convert to Kotlin while we're here
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 08:32:49 +00:00
Álvaro Brey Vilas db74d67168 ManageSpaceActivity: kill the app after finishing cleanup
This will prevent the file list still being on the Recents view and other stuff like that.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 08:32:49 +00:00
Álvaro Brey Vilas 83e56643f4 ManageSpaceActivity: remove user accounts when clearing data
This fixes crashes and unexpected states when restarting the app afterwards

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-26 08:32:49 +00:00
Nextcloud bot 750864d951 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-26 03:55:40 +00:00
dependabot[bot] 8e67653a38 Bump mockitoVersion from 4.3.0 to 4.3.1
Bumps `mockitoVersion` from 4.3.0 to 4.3.1.

Updates `mockito-core` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1)

Updates `mockito-android` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-26 02:05:19 +00:00
Álvaro Brey Vilas 5a65c65e76 uploadReport: update shot path
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-25 10:41:06 +01:00
Álvaro Brey Vilas 80928a2799 GalleryFragment: force refresh on create, prevent unneeded refresh animations
This fixes bugs with double-loading and weird animations

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-25 08:50:29 +00:00
Álvaro Brey Vilas 7181249667 GalleryFragment: prevent NPE when recreating fragment
getStorageManager() is not available in onCreate

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-25 08:50:29 +00:00
Álvaro Brey d057d48a89 Merge pull request #9745 from nextcloud/dependabot/gradle/mockitoVersion-4.3.0
Bump mockitoVersion from 4.2.0 to 4.3.0
2022-01-25 09:44:30 +01:00
Álvaro Brey a8feb7bb66 Merge pull request #9718 from nextcloud/fix/recent-files
Fix minor issues with recently modified view
2022-01-25 09:13:58 +01:00
Álvaro Brey b7f1ebd74b Merge pull request #9742 from nextcloud/fix/analysis-on-push
Run analysis workflow on push too
2022-01-25 09:07:25 +01:00
dependabot[bot] 4c44d469e0 Bump mockitoVersion from 4.2.0 to 4.3.0
Bumps `mockitoVersion` from 4.2.0 to 4.3.0.

Updates `mockito-core` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.0)

Updates `mockito-android` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.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] <[email protected]>
2022-01-25 02:04:50 +00:00
dependabot[bot] d328d89c2d Bump shot from 5.11.2 to 5.13.0
Bumps [shot](https://github.com/karumi/shot) from 5.11.2 to 5.13.0.
- [Release notes](https://github.com/karumi/shot/releases)
- [Commits](https://github.com/karumi/shot/compare/5.11.2...5.13.0)

---
updated-dependencies:
- dependency-name: com.karumi:shot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-25 02:04:25 +00:00
Álvaro Brey Vilas 22367838ab Run analysis workflow on push too
Otherwise baseline results aren't generated

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 16:25:33 +01:00
Tobias Kaminsky 2476be69ba Merge pull request #9737 from nextcloud/chore/bump-fastlane
Bump versions for fastlane and plugins
2022-01-24 14:51:09 +01:00
Álvaro Brey Vilas 1a735f1840 Fix default visibility of recently modified
Should be visible unless setup.xml disables is (which it does by default)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:01 +01:00
Álvaro Brey Vilas c45dd9f5ff Remove recently added search
Was never fully implemented. Discarding in favor of recently modified.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:01 +01:00
Álvaro Brey Vilas 63c780999d OCFileListFragment: restore search event on view restored
Partially reverts https://github.com/nextcloud/android/pull/9427, which deleted too much stuff

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:00 +01:00
Álvaro Brey Vilas 6a45a90019 OCFileListFragment: add recently modified to the list of valid search events
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 13:14:00 +01:00
Álvaro Brey Vilas 93f973cdc2 Bump versions for fastlane and plugins
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-24 12:09:29 +01:00
Álvaro Brey dd94e20045 Merge pull request #9734 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.5
Bump spotbugs-gradle-plugin from 5.0.4 to 5.0.5
2022-01-24 09:53:05 +01:00
dependabot[bot] f0ea41a56b Bump spotbugs-gradle-plugin from 5.0.4 to 5.0.5
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.4...5.0.5)

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-24 08:13:52 +00:00
Nextcloud bot 43610aedba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-24 03:52:57 +00:00
Tobias Kaminsky 70b93ed89c Merge pull request #9723 from nextcloud/bump-minor-version
Bump version to 3.20.0 on master
2022-01-21 08:58:47 +01:00
Tobias Kaminsky add4b08802 Merge pull request #9721 from nextcloud/chore/temurin
workflows: Use temurin JDK instead of adopt
2022-01-21 08:33:12 +01:00
Nextcloud bot d8cbde9105 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-21 03:52:14 +00:00
Álvaro Brey Vilas f4e979a385 Bump version to 3.20.0 on master
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-20 15:00:46 +01:00
Álvaro Brey Vilas 417dee2535 workflows: Use temurin JDK instead of adopt
Ref: https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/

tl;dr: AdoptOpenJDK is discontinued and recommendation is to use Eclipse Temurin instead

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-20 11:01:09 +01:00
Álvaro Brey 717ad59140 Merge pull request #9651 from nextcloud/gallerySearch
Use capability in SearchRemoteOperation
2022-01-20 10:59:29 +01:00
Tobias Kaminsky 84507a39aa Merge pull request #9719 from nextcloud/fix/ipv4-cache
Clear DNS cache on network changes
2022-01-20 09:42:56 +01:00
Álvaro Brey Vilas 7d58967517 Restore library version
Required PR has been merged on library

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-20 09:34:32 +01:00
tobiasKaminsky a9cec44b1f Use capability in SearchRemoteOperation
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-20 09:10:33 +01:00
Tobias Kaminsky 7b30483a52 Create scorecards-analysis.yml 2022-01-20 07:14:36 +01:00
Nextcloud bot 2956fafabc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-20 03:54:30 +00:00
Álvaro Brey Vilas 7299b598d4 Clear DNS cache on network changes
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-19 16:34:09 +01:00
Álvaro Brey 648c104cd9 Merge pull request #9121 from redgloboli/redgloboli-no-more-freenode
Update README.md
2022-01-19 11:11:39 +01:00
Álvaro Brey Vilas ea0bc503e0 Update CommunityActivity screenshot
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-18 18:20:17 +01:00
redgloboli 0f62399615 Remove IRC info from app and docs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-18 16:26:58 +01:00
Álvaro Brey c6b9da0ee3 Merge pull request #9694 from nextcloud/fix/sqlite-row-too-big
FileContentProvider: use projections for helper queries
2022-01-18 14:48:40 +01:00
Álvaro Brey VilasandTobias Kaminsky 2d544486d3 Add integration test for folders with large amounts of files
This test reproduces the SQLiteCursor crashes.

Co-authored-by: Tobias Kaminsky <[email protected]>
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-18 14:14:11 +01:00
Tobias KaminskyandÁlvaro Brey Vilas b80baef535 remove not used videos drawer entry (#9708)
* remove not used videos drawer entry

Signed-off-by: tobiasKaminsky <[email protected]>

* Remove unused resource

Signed-off-by: Álvaro Brey Vilas <[email protected]>

Co-authored-by: Álvaro Brey Vilas <[email protected]>
2022-01-18 09:05:02 +01:00
Tobias Kaminsky ae7fb23a6b Merge pull request #9711 from nextcloud/chore/codecov-improvements
Codecov: don't annotate diffs
2022-01-18 08:39:45 +01:00
Tobias Kaminsky e091a15089 Merge pull request #9710 from nextcloud/fix/crash-on-remove-all-accounts
SessionMixin: set currentAccount to null when no accounts are available
2022-01-18 08:38:29 +01:00
Nextcloud bot 8d868c3fff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-18 04:11:52 +00:00
Álvaro Brey Vilas 2cb028eaee Codecov: don't annotate diffs
It makes it really annoying to read diffs when our coverage isn't that good yet.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-17 20:08:45 +01:00
Álvaro Brey 92f3b6df87 Merge pull request #9691 from nextcloud/fix/sync-conflict
Improvements in sync conflict resolution
2022-01-17 20:03:24 +01:00
Álvaro Brey Vilas 107dcd35c4 SessionMixin: set currentAccount to null when no accounts are available
Prevents a crash when removing the last account

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-17 16:02:05 +01:00
Álvaro Brey 641b09cd4f Merge pull request #9706 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.7
Bump byteBuddyVersion from 1.12.6 to 1.12.7
2022-01-17 15:16:32 +01:00
Álvaro Brey 1419406cd2 Merge pull request #9606 from nextcloud/fix/backup-fragment-crash
Fix NPE in BackupFragment when fragment exits while refresh is happening
2022-01-17 14:53:35 +01:00
Álvaro Brey Vilas c5b75f68b0 ConflictsResolveActivity: remove upload is KEEP_SERVER and shouldDeleteLocal
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-17 13:30:47 +00:00
wknds b4c1620aed removed a check in KEEP_SERVER switch clause. 1) The check prevents solving file conflicts (keep server) correctly. 2) The check involves FileUploader.LOCAL_BEHAVIOUR_DELETE, intended use is for media file uploads. 2022-01-17 13:30:47 +00:00
wknds 8ce7733563 revert Project.xml 2022-01-17 13:30:47 +00:00
wknds e6b6c6ff56 :Conflict files are removed from the upload storage manager after downloaded successfully. 2022-01-17 13:30:47 +00:00
Álvaro Brey 60e44986a0 Merge pull request #9692 from nextcloud/chore/screenshot-test-activities
Screenshot tests: Improve Activities activity tests
2022-01-17 14:29:31 +01:00
Tobias Kaminsky fd22f9f04d Merge pull request #9590 from nextcloud/it-timeout
DocumentsStorageProviderIT: add timeout to testServerChangedFileContent()
2022-01-17 10:30:56 +01:00
Álvaro Brey 46f253f515 Merge pull request #9707 from nextcloud/dependabot/gradle/pl.droidsonroids.gif-android-gif-drawable-1.2.24
Bump android-gif-drawable from 1.2.23 to 1.2.24
2022-01-17 10:25:27 +01:00
Álvaro Brey Vilas 6f1d434e80 DocumentsStorageProviderIT: add timeout to testServerChangedFileContent()
This test sometimes hangs forever, resulting in (for example) CI builds being killed.
This way, only this test fails and the rest of the suite continues.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-17 08:57:45 +00:00
Nextcloud bot e13dc5db81 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-17 03:49:57 +00:00
dependabot[bot] e14e91e0c1 Bump android-gif-drawable from 1.2.23 to 1.2.24
Bumps [android-gif-drawable](https://github.com/koral--/android-gif-drawable) from 1.2.23 to 1.2.24.
- [Release notes](https://github.com/koral--/android-gif-drawable/releases)
- [Changelog](https://github.com/koral--/android-gif-drawable/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/koral--/android-gif-drawable/compare/v1.2.23...v1.2.24)

---
updated-dependencies:
- dependency-name: pl.droidsonroids.gif:android-gif-drawable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-17 02:06:28 +00:00
dependabot[bot] adb4edbafe Bump byteBuddyVersion from 1.12.6 to 1.12.7
Bumps `byteBuddyVersion` from 1.12.6 to 1.12.7.

Updates `byte-buddy` from 1.12.6 to 1.12.7
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.6...byte-buddy-1.12.7)

Updates `byte-buddy-android` from 1.12.6 to 1.12.7
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.6...byte-buddy-1.12.7)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-17 02:06:23 +00:00
Nextcloud bot 1b948c35e0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-16 03:53:38 +00:00
Nextcloud bot 2623be496d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-15 03:52:25 +00:00
Álvaro Brey da9d60f2c0 Merge pull request #9699 from nextcloud/bugfix/noid/unusedTestAutomationRemoval
Remove unused test automation
2022-01-14 14:22:25 +01:00
Álvaro Brey Vilas 62218fbb16 Add RetryTestRule to DrawerActivityIT
Flaky test

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 13:28:49 +01:00
Álvaro Brey d2de4006ef Merge pull request #9697 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.3
Bump constraintlayout from 2.1.2 to 2.1.3
2022-01-14 13:23:51 +01:00
Álvaro Brey Vilas 33a2043d3f Analysis workflow: correct head ref for branch
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 13:08:21 +01:00
Álvaro Brey Vilas f83ccb781d Fix NPE in BackupFragment when fragment exits while refresh is happening
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 10:48:16 +00:00
Andy Scherzinger fd2f8f23ed remove unused test automation
Signed-off-by: Andy Scherzinger <[email protected]>
2022-01-14 10:52:21 +01:00
Álvaro Brey Vilas 23a67aea4a FileContentProvider: make projection map unmodifiable
Just in case

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 08:54:33 +01:00
Álvaro Brey Vilas 94533fd8aa FileContentProvider: fix formatting
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-14 08:51:54 +01:00
Álvaro Brey f116328dfa Merge pull request #9696 from nextcloud/dependabot/gradle/com.google.android.material-material-1.5.0
Bump material from 1.4.0 to 1.5.0
2022-01-14 08:44:28 +01:00
dependabot[bot] 483da75e1d Bump constraintlayout from 2.1.2 to 2.1.3
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.2 to 2.1.3.
- [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] <[email protected]>
2022-01-14 07:44:11 +00:00
Tobias Kaminsky af6f65b47a Merge pull request #9698 from nextcloud/allscreenshots
All screenshots: use newer image
2022-01-14 07:18:16 +01:00
tobiasKaminsky 25f7d7c3c0 All screenshots: use newer image
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-14 07:17:20 +01:00
dependabot[bot] 9b2a92f585 Bump material from 1.4.0 to 1.5.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.4.0...1.5.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] <[email protected]>
2022-01-14 02:59:44 +00:00
Álvaro Brey Vilas 45b7c222e6 FileContentProvider: make projection arrays and map static
This improves performance as they aren't created on every call

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 16:12:03 +01:00
Álvaro Brey Vilas 405789dc9b FileContentProvider: use projections for queries
This limits the amount of data in the resulting cursor and helps prevent CursorTooBig exceptions.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 15:47:40 +01:00
Álvaro Brey c39f479981 Merge pull request #9657 from nextcloud/dependabot/github_actions/actions/stale-4.1.0
Bump actions/stale from 3 to 4.1.0
2022-01-13 14:37:34 +01:00
dependabot[bot] 43638ed5e2 Bump actions/stale from 3 to 4.1.0
Bumps [actions/stale](https://github.com/actions/stale) from 3 to 4.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v3...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-13 13:11:37 +00:00
Álvaro Brey Vilas d7d029b6ad ActivitiesActivityIT: add waitForIdleSync() after sleeps
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 12:48:16 +01:00
Álvaro Brey Vilas 5631d79b41 Screenshot tests: Improve Activities activity tests
Force-close snackbar to not have the timing break tests

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 11:07:47 +01:00
Álvaro Brey acf575e762 Merge pull request #9688 from nextcloud/chore/analysis-gh-actions
Run analysis workflow in github actions
2022-01-13 10:27:59 +01:00
Álvaro Brey 49b6d0c2ef Merge pull request #9662 from nextcloud/dependabot/gradle/pl.droidsonroids.gif-android-gif-drawable-1.2.23
Bump android-gif-drawable from 1.2.21 to 1.2.23
2022-01-13 10:06:33 +01:00
Álvaro Brey 010942f0a2 Merge pull request #9677 from nextcloud/fix/send-multiple-files
Fix sending multiple files
2022-01-13 09:34:04 +01:00
Álvaro Brey b9f6fdf19e Codecov: wait for CI (#9687)
Now that we don't have a permanently broken CI setup, this makes sense again, so we don't get coverage results based on partial tests

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 09:33:25 +01:00
Álvaro Brey Vilas 9fa63c7547 Run analysis workflow in github actions
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 09:29:43 +01:00
Álvaro Brey Vilas 53feb14714 SendFilesDialogTest: assert adapter is not null
Just in case

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-13 09:06:09 +01:00
dependabot[bot] 2363292084 Bump appcompat from 1.4.0 to 1.4.1 (#9690)
Bumps appcompat from 1.4.0 to 1.4.1.

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

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 09:02:19 +01:00
Nextcloud bot ab23c04def [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-13 03:53:34 +00:00
Álvaro Brey Vilas 9d856da33a Improve testing for SendFilesDialog
* Add tests for mixed type files
 * Add integration tests, not only screenshot

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-12 15:50:20 +01:00
dependabot[bot] 6891a90821 Bump android-gif-drawable from 1.2.21 to 1.2.23
Bumps [android-gif-drawable](https://github.com/koral--/android-gif-drawable) from 1.2.21 to 1.2.23.
- [Release notes](https://github.com/koral--/android-gif-drawable/releases)
- [Changelog](https://github.com/koral--/android-gif-drawable/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/koral--/android-gif-drawable/compare/v1.2.21...v1.2.23)

---
updated-dependencies:
- dependency-name: pl.droidsonroids.gif:android-gif-drawable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-12 14:20:11 +00:00
Álvaro Brey Vilas 447f2401a5 Codecov: wait for CI
Now that we don't have a permanently broken CI setup, this makes sense again, so we don't get coverage results based on partial tests

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-12 15:16:55 +01:00
Tobias Kaminsky eaf1230d2e Merge pull request #9686 from nextcloud/droneCrone
only cron trigger is allowed
2022-01-12 14:47:37 +01:00
tobiasKaminsky 8e28921113 only cron trigger is allowed
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-12 14:45:58 +01:00
Álvaro Brey Vilas 61f8115d79 SendFilesDialog: Show error if no app can send multiple files
Otherwise an empty bottom fragment shows up, which is not good UX

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-12 13:08:48 +01:00
Álvaro Brey Vilas 93d7c7f9f7 IntentUtil: fix sending multiple files
- Use `ACTION_SEND_MULTIPLE`
 - Set type to `*/*` if not all files share a type
 - Use use a `ParcelableArrayListExtra` for `EXTRA_STREAM`

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-12 13:08:42 +01:00
Tobias Kaminsky a639e8441c Merge pull request #9043 from nextcloud/updateScreenshotsTests
Update screenshots tests
2022-01-12 08:57:22 +01:00
Nextcloud bot ae9bd40427 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-12 03:52:57 +00:00
Álvaro Brey 0d46d951e7 Merge pull request #9622 from sandeep021/sandeepBranch
Fix sliders theming for calendar backup settings
2022-01-11 10:13:55 +01:00
Tobias Kaminsky 860558c294 Merge pull request #9680 from nextcloud/cron
drone cron is daily instead of nightly
2022-01-11 08:52:58 +01:00
tobiasKaminsky f91550c1b2 drone cron is daily instead of nightly
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-11 08:52:26 +01:00
Nextcloud bot e4d26e44d4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-11 03:53:46 +00:00
sandeepyadav 8567559cd1 Merge remote-tracking branch 'origin/sandeepBranch' into sandeepBranch
# Conflicts:
#	src/main/java/com/owncloud/android/ui/dialog/SyncedFolderPreferencesDialogFragment.java
#	src/main/java/com/owncloud/android/ui/fragment/contactsbackup/BackupFragment.java
#	src/main/java/com/owncloud/android/utils/theme/ThemeCheckableUtils.java
2022-01-10 23:23:59 +05:30
sandeepyadav 333b844878 removed redundant changes
Signed-off-by: sandeepyadav <[email protected]>
2022-01-10 23:10:54 +05:30
sandeepyadav ce11af238f removed redundant changes
Signed-off-by: sandeepyadav <[email protected]>
2022-01-10 23:10:54 +05:30
sandeepyadav 10d44368db made all the suggested changes - removed xml unnecessary lines
Signed-off-by: sandeepyadav <[email protected]>
2022-01-10 23:10:54 +05:30
sandeepyadav fb26ddd88f made all the suggested changes
Signed-off-by: sandeepyadav <[email protected]>
2022-01-10 23:10:54 +05:30
Álvaro Brey fd8aae8e40 Merge pull request #9658 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.1.0
Bump hmarr/auto-approve-action from 2.0.0 to 2.1.0
2022-01-10 16:05:00 +01:00
Tobias Kaminsky e8ce558a4e Merge pull request #9642 from nextcloud/fix/9640
ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
2022-01-10 12:03:51 +01:00
Álvaro Brey c9246210de Merge pull request #9674 from nextcloud/fixUploadingFailingScreenshots
Fix failing username/password upon uploading failing screenshots
2022-01-10 11:30:26 +01:00
tobiasKaminsky 719551505e Fix DialogFragmentIT test
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-10 10:12:44 +01:00
Álvaro Brey a037786328 Merge pull request #9667 from nextcloud/rakekniven-patch-2
l10n: fixed grammar
2022-01-10 10:04:46 +01:00
Tobias Kaminsky 195703a527 Merge pull request #9672 from nextcloud/dependabot/gradle/com.github.albfernandez-juniversalchardet-2.3.2
Bump juniversalchardet from 2.0.3 to 2.3.2
2022-01-10 09:45:55 +01:00
Tobias Kaminsky a24e6e9cfc Merge pull request #9579 from nextcloud/dependabot/gradle/org.mnode.ical4j-ical4j-1.0.8
Bump ical4j from 1.0.6 to 1.0.8
2022-01-10 09:45:25 +01:00
tobiasKaminsky 503d6685a2 Fix failing username/password
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-10 09:31:11 +01:00
Tobias Kaminsky 22c916e6db Merge pull request #9665 from nextcloud/bumpWebDavLib
Manually bump lib
2022-01-10 09:21:43 +01:00
Tobias Kaminsky 879286d05f Merge pull request #9666 from nextcloud/fix/favorites-selection-breaking
FileOperationsHelper: fix aliasing when toggling favorite files
2022-01-10 07:44:54 +01:00
dependabot[bot] 9e33a11930 Bump juniversalchardet from 2.0.3 to 2.3.2
Bumps [juniversalchardet](https://github.com/albfernandez/juniversalchardet) from 2.0.3 to 2.3.2.
- [Release notes](https://github.com/albfernandez/juniversalchardet/releases)
- [Commits](https://github.com/albfernandez/juniversalchardet/compare/v2.0.3...v2.3.2)

---
updated-dependencies:
- dependency-name: com.github.albfernandez:juniversalchardet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-10 02:07:17 +00:00
Nextcloud bot 67da5e0a6f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-08 03:50:50 +00:00
rakekniven 065d19163f l10n: fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <[email protected]>
2022-01-07 21:33:51 +01:00
Álvaro Brey Vilas 0f9e4feb79 FileOperationsHelper: fix aliasing when toggling favorite files
Don't modify the original collection of files. Instead filter a clone.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-07 18:27:55 +01:00
Nextcloud bot 6faceec5a5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-07 14:05:13 +00:00
Álvaro Brey d3502b7bba Merge pull request #9572 from nextcloud/provider-uri-permissions
URI permissions
2022-01-07 13:26:03 +01:00
Álvaro Brey 875f4ae7eb Merge pull request #9656 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.8.1
Bump leakcanary-android from 2.8 to 2.8.1
2022-01-07 13:22:48 +01:00
Álvaro Brey fb6cb271fe Merge pull request #9655 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.4
Bump spotbugs-gradle-plugin from 5.0.3 to 5.0.4
2022-01-07 13:21:55 +01:00
tobiasKaminsky 9f7699835e Manually bump lib
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-07 11:30:51 +01:00
Álvaro Brey afaa537a45 Merge pull request #9646 from nextcloud/run-contacts-backup-only-when-network-is-connected
Run contacts backup job only when network is connected
2022-01-07 11:07:59 +01:00
dependabot[bot] f2c14abccb Bump hmarr/auto-approve-action from 2.0.0 to 2.1.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.0.0...v2.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-07 08:42:37 +00:00
Tobias Kaminsky da39e19805 Merge pull request #9359 from nextcloud/fix/dependabot-yml-format
Fix dependabot.yml syntax
2022-01-07 09:42:13 +01:00
Álvaro Brey 3a72604a78 Merge pull request #9591 from nextcloud/fix/settings-activity-it
SettingsActivityIT: fix showMnemonic running on wrong thread
2022-01-07 09:40:06 +01:00
Álvaro Brey ebd608c179 Merge pull request #9607 from nextcloud/fix/accesing-result-data
AuthenticatorAsyncTask: check if user info result is success before proceeding
2022-01-07 08:47:48 +01:00
Nextcloud bot e9029b28ed [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-07 03:53:42 +00:00
dependabot[bot] 3a225d6462 Bump leakcanary-android from 2.8 to 2.8.1
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.8 to 2.8.1.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.8...v2.8.1)

---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-07 02:07:21 +00:00
dependabot[bot] ec56997da8 Bump spotbugs-gradle-plugin from 5.0.3 to 5.0.4
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.3...5.0.4)

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-07 02:07:13 +00:00
Nextcloud bot 8acf55d0f1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-06 03:53:53 +00:00
Chris Narkiewicz b6ceec7904 Run contacts backup job only when network is connected
Apply network constrains to prevent daily backup
job being started without network.

Backup job restart is required to apply new constraints.

Similar migration has been applied in the past, but migration
manager does not support re-applying steps again.

Migrations manager has been refactored to make migration
step re-applying easier, as more job restarts can be
required in the future.

Fixes #9632

Signed-off-by: Chris Narkiewicz <[email protected]>
2022-01-05 22:01:41 +00:00
Tobias Kaminsky 7d4fa2994c Merge pull request #9644 from nextcloud/cleanUpAccountRemoval
Clean up AccountRemovalWork
2022-01-05 15:05:32 +01:00
Álvaro Brey d292c5a75b Merge pull request #9647 from nextcloud/dependabot/gradle/com.squareup.leakcanary-leakcanary-android-2.8
Bump leakcanary-android from 2.7 to 2.8
2022-01-05 09:41:58 +01:00
dependabot[bot] 13cbb29474 Bump leakcanary-android from 2.7 to 2.8
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.7 to 2.8.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.7...v2.8)

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

Signed-off-by: dependabot[bot] <[email protected]>
2022-01-05 02:05:50 +00:00
sandeepyadav 6c5c055855 removed redundant changes 2022-01-04 23:30:00 +05:30
Álvaro Brey Vilas 4265f06160 FileOperationsHelper: remove duplicated flags in openFile
Already set for all intents a bit below

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-04 15:32:32 +01:00
tobiasKaminsky 90d66c4339 Clean up AccountRemovalWork
Signed-off-by: tobiasKaminsky <[email protected]>
2022-01-04 13:08:44 +01:00
Álvaro Brey 7a7136a9da Merge pull request #9577 from nextcloud/dependabot/gradle/mockitoVersion-4.2.0
Bump mockitoVersion from 4.1.0 to 4.2.0
2022-01-04 11:18:24 +01:00
Nextcloud bot 6d6445a1f6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-04 03:52:56 +00:00
sandeepyadav 3256b459e7 made all the suggested changes - removed xml unnecessary lines 2022-01-04 00:53:37 +05:30
sandeepyadav e8488b773c made all the suggested changes 2022-01-04 00:24:23 +05:30
Álvaro Brey Vilas 29d9ba4e52 AuthenticatorAsyncTask: check if user info result is success before proceeding
This will not fix failed logins but at least it will not crash the app.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-03 18:32:11 +00:00
dependabot[bot] 67a8384731 Bump mockitoVersion from 4.1.0 to 4.2.0
Bumps `mockitoVersion` from 4.1.0 to 4.2.0.

Updates `mockito-core` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v4.2.0)

Updates `mockito-android` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v4.2.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] <[email protected]>
2022-01-03 18:28:46 +00:00
Álvaro Brey 556b3b4b79 Merge pull request #9637 from nextcloud/dependabot/gradle/mockkVersion-1.12.2
Bump mockkVersion from 1.12.1 to 1.12.2
2022-01-03 19:26:20 +01:00
Álvaro Brey a3a8170151 Merge pull request #9582 from nextcloud/fix/media-return-after-pause
Player: don't try to pause a non-running media player
2022-01-03 16:56:37 +01:00
Álvaro Brey Vilas 1a7ee3e179 ChooseTemplateDialog: Fix crash on prefillFilenameIfEmpty
Don't do anything if the filename is not empty.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2022-01-03 09:43:24 +01:00
Álvaro Brey 531eb9f0ac Merge pull request #9594 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.6
Bump byteBuddyVersion from 1.12.4 to 1.12.6
2022-01-03 08:43:04 +01:00
Nextcloud bot a3b3f18abd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2022-01-01 03:52:26 +00:00
dependabot[bot] f7af0e769a Bump mockkVersion from 1.12.1 to 1.12.2
Bumps `mockkVersion` from 1.12.1 to 1.12.2.

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

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

---
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] <[email protected]>
2021-12-31 02:04:33 +00:00
sandeepyadav eaf605b2be fixed the visibility of slider of dark theme
issue# 9170
2021-12-27 13:35:40 +05:30
Nextcloud bot 042b93766e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-27 03:52:10 +00:00
Nextcloud bot 5d32890848 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-25 03:52:43 +00:00
Nextcloud bot 552a657350 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-24 03:55:33 +00:00
Andy Scherzinger e9b7d9e430 Merge pull request #9610 from nextcloud/Gradle-Log4j
Bump Gradle for Log4j
2021-12-23 10:56:44 +01:00
Andy Scherzinger ead8ef06db Merge pull request #9603 from nextcloud/changelog-master-stable-3.18.1
Add changelog for 3.18.1
2021-12-23 08:50:44 +01:00
Hannes Achleitner 74683d9eb9 Bump Gradle for Log4j
https://github.com/gradle/gradle/releases/tag/v7.3.3
2021-12-23 08:46:36 +01:00
Nextcloud bot afc83b8310 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-23 03:53:42 +00:00
Álvaro Brey Vilas 62eb9632ba Fastfile: fix requirement check syntax
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-22 14:17:55 +01:00
Álvaro Brey Vilas a83a21219e Add changelog for 3.18.1
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-22 12:51:13 +01:00
Álvaro Brey c6731093b1 Merge pull request #9559 from nextcloud/fix/fastlane-check-apk
Fastlane: fix release with 3 apks, and minor improvements
2021-12-22 10:30:49 +01:00
Álvaro Brey Vilas 130c004945 FileDataStorageManager: remove obsolete TODO
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-22 09:52:09 +01:00
Álvaro Brey 9433e2968e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Álvaro Brey <[email protected]>
2021-12-22 08:51:21 +00:00
Álvaro Brey 98465ab3fb Merge pull request from GHSA-vjp2-f63v-w479
Harden FileContentProvider's public Uri paths
2021-12-22 09:43:11 +01:00
Álvaro Brey 0d2fd93ea2 Merge pull request #9597 from nextcloud/fix/too-many-thumbnails
Fix for too many thumbnails in autoupload settings
2021-12-22 09:37:51 +01:00
Álvaro Brey Vilas 9c7d212d52 Fix for too many thumbnails in autoupload settings
This patch is twofold:
- Keep using SQL limit until android 11 (which is where it becomes mandatory to not use it)
- Force MediaProvider to stop querying images after limit has been reached, even if cursor contains more.
This handles the edge case of Android versions over 11 which don't properly implement the limit argument

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-21 17:22:10 +01:00
Álvaro Brey Vilas bc90eb3db1 Remove obsolete TODO
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-21 16:02:50 +01:00
Álvaro Brey Vilas 724b75d5d3 FileContentProvider: Use SQLiteTokenizer for sortOrder verification too
More reliable than just splitting by spaces.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-21 15:06:05 +01:00
Álvaro Brey Vilas b3aeab9004 FileContentProvider: prevent injection through selection parameters (where)
For this, I've backported the SQLiteTokenizer class from AOSP, use it to get tokens from the query,
and filter out invalid tokens.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-21 14:15:34 +01:00
Nextcloud bot c479f2fdf6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-21 03:54:15 +00:00
dependabot[bot] 54b50f2b7d Bump byteBuddyVersion from 1.12.4 to 1.12.6
Bumps `byteBuddyVersion` from 1.12.4 to 1.12.6.

Updates `byte-buddy` from 1.12.4 to 1.12.6
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.4...byte-buddy-1.12.6)

Updates `byte-buddy-android` from 1.12.4 to 1.12.6
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.4...byte-buddy-1.12.6)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-21 02:04:45 +00:00
Álvaro Brey Vilas 6aae8feeac FileContentProvider: prevent injection in sortOrder argument for query()
For this, allow strictly only valid grammar and column names

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 18:38:50 +01:00
Álvaro Brey Vilas 830ada4617 FileContentProvider: remove unused method
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 18:03:56 +01:00
Álvaro Brey Vilas 43adc856a4 FileContentProvider: don't verify projectionArray in query()
query() is already using a projection map and strict mode for those cases, so we're just duplicating work here.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 17:58:54 +01:00
Álvaro Brey Vilas 05371be6d7 FileContentProvider: prevent injection through Uri arguments
For this, ensure query arguments are used instead of segment concatenation

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 17:53:55 +01:00
tobiasKaminskyandTobias Kaminsky 72937cf341 FileContentProvider: prevent injection via ContentValues arguments
For this, verify all column names for ContentValues keys. Values are safe by default.

Co-authored-by: Tobias Kaminsky <[email protected]>
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 17:40:11 +01:00
Álvaro Brey Vilas 87e859858b SettingsActivityIT: fix showMnemonic running on wrong thread
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-20 15:24:21 +01:00
Tobias Kaminsky 7fba2042dc Merge pull request #9589 from nextcloud/setupLibInfo
Adjust instruction how to link library in app
2021-12-20 10:51:35 +01:00
tobiasKaminsky 0680c105b5 Adjust instruction how to link library in app
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-20 10:47:09 +01:00
Nextcloud bot 4183ee59f8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-20 03:56:38 +00:00
Nextcloud bot 14a6324c05 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-19 03:59:20 +00:00
Nextcloud bot 26f80ddcbf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-18 03:53:54 +00:00
Álvaro Brey Vilas 37dfb5eb2c Player: don't try to pause a non-running media player
Fixes an issue triggered by pausing, and then minimizing and coming back to the app.

Right now state is still lost (file returns to the beginning) but as a stopgap it's OK.
In the future, the state machine and how it interacts with the fragment should be reworked.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-17 16:22:39 +01:00
dependabot[bot] b3fa1e3262 Bump ical4j from 1.0.6 to 1.0.8
Bumps [ical4j](https://github.com/ical4j/ical4j) from 1.0.6 to 1.0.8.
- [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.6...ical4j-1.0.8)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-17 02:05:30 +00:00
Andy Scherzinger b4ecf2c9cc Merge pull request #9546 from nextcloud/update-AGP
Bump Android Gradle Plugin to 7.0.4
2021-12-16 17:02:16 +01:00
Álvaro Brey Vilas b1aa3dcdaf Centralize creation of ACTION_SEND intents and explicitly grant READ_URI permission to them
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-16 15:22:16 +01:00
Álvaro Brey 3de9432651 Merge pull request #9534 from gabmert/naming-conflicts
Change naming in conflicts to location instead of date
2021-12-16 09:35:43 +01:00
Álvaro Brey 51d632b0ad Merge pull request #9568 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.4
Bump byteBuddyVersion from 1.12.3 to 1.12.4
2021-12-16 08:54:24 +01:00
Nextcloud bot d3db0af0f5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-16 03:53:43 +00:00
dependabot[bot] 38a2449f5c Bump byteBuddyVersion from 1.12.3 to 1.12.4
Bumps `byteBuddyVersion` from 1.12.3 to 1.12.4.

Updates `byte-buddy` from 1.12.3 to 1.12.4
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.3...byte-buddy-1.12.4)

Updates `byte-buddy-android` from 1.12.3 to 1.12.4
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.3...byte-buddy-1.12.4)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-16 02:07:04 +00:00
gabriel 5500585c1a naming in conflicts by location instead of date
Signed-off-by: gabriel <[email protected]>
2021-12-15 23:13:42 +01:00
Álvaro Brey b6a2e6d8f1 Merge pull request #9567 from nextcloud/dependabot/gradle/org.greenrobot-eventbus-3.3.1
Bump eventbus from 3.2.0 to 3.3.1
2021-12-15 20:09:31 +01:00
Álvaro Brey 10a7570cc2 Merge pull request #9565 from nextcloud/dependabot/gradle/org.json-json-20211205
Bump json from 20210307 to 20211205
2021-12-15 20:09:06 +01:00
Álvaro Brey e939a6f015 Merge pull request #9564 from nextcloud/dependabot/gradle/kotlin_version-1.6.10
Bump kotlin_version from 1.6.0 to 1.6.10
2021-12-15 20:08:26 +01:00
Álvaro Brey 6fc583b4cd Merge pull request #9362 from nextcloud/dependabot/gradle/workRuntime-2.7.1
Bump workRuntime from 2.5.0 to 2.7.1
2021-12-15 19:49:17 +01:00
Álvaro Brey 369f62fc92 Merge pull request #9162 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.4.0
Bump lifecycle-viewmodel-ktx from 2.3.1 to 2.4.0
2021-12-15 19:23:03 +01:00
Álvaro Brey Vilas be5cdc4169 dependabot: Disable autorebase
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 19:18:29 +01:00
dependabot[bot] b70ebdb68f Bump kotlin_version from 1.6.0 to 1.6.10
Bumps `kotlin_version` from 1.6.0 to 1.6.10.

Updates `kotlin-gradle-plugin` from 1.6.0 to 1.6.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.0...v1.6.10)

Updates `kotlin-stdlib` from 1.6.0 to 1.6.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.0...v1.6.10)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 18:16:42 +00:00
Álvaro Brey f517ae1e05 Merge pull request #9563 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.43.2
Bump ktlint from 0.43.1 to 0.43.2
2021-12-15 19:16:15 +01:00
Álvaro Brey e6208b45c7 Merge pull request #9562 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.3
Bump spotbugs-gradle-plugin from 4.8.0 to 5.0.3
2021-12-15 19:15:46 +01:00
Álvaro Brey d5e84caf2b Merge pull request #9357 from nextcloud/dependabot/gradle/mockitoVersion-4.1.0
Bump mockitoVersion from 3.12.4 to 4.1.0
2021-12-15 19:04:49 +01:00
dependabot[bot] e06f15f887 Bump eventbus from 3.2.0 to 3.3.1
Bumps [eventbus](https://github.com/greenrobot/EventBus) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/greenrobot/EventBus/releases)
- [Commits](https://github.com/greenrobot/EventBus/compare/V3.2.0...V3.3.1)

---
updated-dependencies:
- dependency-name: org.greenrobot:eventbus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 18:04:25 +00:00
dependabot[bot] b59195ca8d Bump spotbugs-gradle-plugin from 4.8.0 to 5.0.3
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 4.8.0 to 5.0.3.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/4.8.0...5.0.3)

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 18:03:59 +00:00
Álvaro Brey d394743aee Merge pull request #9561 from nextcloud/dependabot/gradle/daggerVersion-2.40.5
Bump daggerVersion from 2.40.4 to 2.40.5
2021-12-15 19:03:33 +01:00
Álvaro Brey cfe72adae0 Merge pull request #9299 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.4.0
Bump appcompat from 1.3.1 to 1.4.0
2021-12-15 19:03:16 +01:00
Álvaro Brey Vilas 8a445be869 Manifest: update code to disable WorkManagerInitializer
See: https://developer.android.com/jetpack/androidx/releases/work#version_260_3

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 19:01:36 +01:00
dependabot[bot] 8a2c1bf253 Bump json from 20210307 to 20211205
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20210307 to 20211205.
- [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] <[email protected]>
2021-12-15 17:52:15 +00:00
dependabot[bot] 15d42369cb Bump workRuntime from 2.5.0 to 2.7.1
Bumps `workRuntime` from 2.5.0 to 2.7.1.

Updates `work-runtime` from 2.5.0 to 2.7.1

Updates `work-runtime-ktx` from 2.5.0 to 2.7.1

---
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] <[email protected]>
2021-12-15 17:51:54 +00:00
Álvaro Brey b1ea6c9bc6 Merge pull request #9361 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.4.0
Bump fragment-ktx from 1.3.6 to 1.4.0
2021-12-15 18:51:22 +01:00
Álvaro Brey Vilas 3775e13b5c Increase lint due to dependencies
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 18:50:46 +01:00
dependabot[bot] 1b7516c203 Bump ktlint from 0.43.1 to 0.43.2
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.43.1 to 0.43.2.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/commits/0.43.2)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 17:46:31 +00:00
Álvaro Brey 93bf180a35 Merge pull request #8442 from nextcloud/dependabot/gradle/com.github.tobiaskaminsky-qrcodescanner-0.1.2.4
Bump qrcodescanner from 0.1.2.2 to 0.1.2.4
2021-12-15 18:46:05 +01:00
Álvaro Brey Vilas 14fbc2ab78 ViewModelFactory: fix compile errors for viewmodel-ktx changes
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 18:45:06 +01:00
Álvaro Brey Vilas f5132af345 Fix mockito imports
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 16:08:36 +01:00
dependabot[bot] aa6ff667cb Bump mockitoVersion from 3.12.4 to 4.1.0
Bumps `mockitoVersion` from 3.12.4 to 4.1.0.

Updates `mockito-core` from 3.12.4 to 4.1.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.4...v4.1.0)

Updates `mockito-android` from 3.12.4 to 4.1.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.4...v4.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 16:02:17 +01:00
dependabot[bot] 2cf0d5dd76 Bump daggerVersion from 2.40.4 to 2.40.5
Bumps `daggerVersion` from 2.40.4 to 2.40.5.

Updates `dagger` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

Updates `dagger-android` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

Updates `dagger-android-support` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

Updates `dagger-compiler` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

Updates `dagger-android-processor` from 2.40.4 to 2.40.5
- [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.4...dagger-2.40.5)

---
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] <[email protected]>
2021-12-15 15:01:48 +00:00
Álvaro Brey 0a977fbc5e Merge pull request #9429 from nextcloud/dependabot/gradle/org.bouncycastle-bcpkix-jdk15to18-1.70
Bump bcpkix-jdk15to18 from 1.69 to 1.70
2021-12-15 16:00:53 +01:00
Álvaro Brey a256c210ce Merge pull request #9438 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.3
Bump byteBuddyVersion from 1.12.2 to 1.12.3
2021-12-15 15:59:54 +01:00
Álvaro Brey eab83a06e6 Merge pull request #9437 from nextcloud/dependabot/gradle/daggerVersion-2.40.4
Bump daggerVersion from 2.40.3 to 2.40.4
2021-12-15 15:58:57 +01:00
dependabot[bot] 56230f3163 Bump fragment-ktx from 1.3.6 to 1.4.0
Bumps fragment-ktx from 1.3.6 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 14:57:51 +00:00
dependabot[bot] 0f23147e36 Bump appcompat from 1.3.1 to 1.4.0
Bumps appcompat from 1.3.1 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 14:56:31 +00:00
dependabot[bot] 8cb866a474 Bump lifecycle-viewmodel-ktx from 2.3.1 to 2.4.0
Bumps lifecycle-viewmodel-ktx from 2.3.1 to 2.4.0.

---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-viewmodel-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 14:56:01 +00:00
dependabot[bot] bd0caf15ea Bump qrcodescanner from 0.1.2.2 to 0.1.2.4
Bumps [qrcodescanner](https://github.com/tobiasKaminsky/QRCodeScanner) from 0.1.2.2 to 0.1.2.4.
- [Release notes](https://github.com/tobiasKaminsky/QRCodeScanner/releases)
- [Commits](https://github.com/tobiasKaminsky/QRCodeScanner/compare/0.1.2.2...0.1.2.4)

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-15 14:55:43 +00:00
Álvaro Brey Vilas edb1e9c369 fastlane: Check some basic requirements before starting release phase 2
This prevents late crashes in some instances.

Of course, we should technically have a more structured way of handling dependencies, but this
is a simple improvement for now.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 15:40:14 +01:00
Álvaro Brey Vilas 7227bb13b7 Fastfile: Fix indentation on sh command
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 15:32:27 +01:00
Álvaro Brey Vilas 1e7bfcc74a Update fastlane and plugins
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 15:24:30 +01:00
Álvaro Brey Vilas e1cfb960ed Fastfile: Fix checkIfAPKexists, as there's 3 APKs now
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 15:21:39 +01:00
Álvaro Brey 508c193dfa Merge pull request #9448 from nextcloud/fix/share-open-in
Sharing: better way to send files from file details view
2021-12-15 13:48:42 +01:00
Álvaro Brey 3b947b981b Merge pull request #9435 from nextcloud/fix/multi-tap-overflow
OcFileListFragment: throttle overflow menu clicks
2021-12-15 13:08:16 +01:00
Álvaro Brey 82a53642a9 Merge pull request #9528 from nextcloud/huaweiFlavor
Huawei flavor
2021-12-15 13:07:32 +01:00
drone cde27672ef Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-12-15 12:04:22 +00:00
Álvaro Brey Vilas 13ddc3ddc6 Delete unused string
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:59:58 +01:00
Álvaro Brey Vilas a86aa19851 Fix tests
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:59:13 +01:00
drone 195b8484bd Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-12-15 12:33:26 +01:00
drone 9cc1a5c803 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-12-15 12:33:26 +01:00
Álvaro Brey Vilas 7d258f9793 FileMenuFilter: Allow "Send" for single files if in file detail fragment
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:33:26 +01:00
Álvaro Brey Vilas 038ac7b3c5 FileDetailSharingFragment: remove misleading "Open in..." option
This only triggered the share file dialog, which should be opened elsewhere.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:33:15 +01:00
Álvaro Brey Vilas 23815a4b6d Fix ktlint
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 12:21:04 +01:00
Álvaro Brey 587b371e76 Merge pull request #9545 from nextcloud/fix/autoupload-check-crash
UploadFilesActivity: don't attempt to check selectAll if selectAll is not visible in menu
2021-12-15 11:28:32 +01:00
Álvaro Brey 143455b42a Merge pull request #9427 from nextcloud/fix/triplicated-search-events
Fix issue where favorites where loaded by triplicate when opening from Media or other search
2021-12-15 11:06:39 +01:00
Álvaro Brey a9671d9e85 Merge pull request #9434 from nextcloud/fix/unified-search-no-connection
Unified search: show error when there's no connection
2021-12-15 11:05:34 +01:00
Álvaro Brey Vilas e7d8870b07 Move Throttler to proper package
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 10:59:08 +01:00
Álvaro Brey Vilas 11b6420446 Write tests for Throttler
Signed-off-by: Álvaro Brey Vilas <[email protected]>

Write tests for Throttler

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-15 10:56:57 +01:00
Álvaro Brey b5e36d25be Merge pull request #9547 from nextcloud/fix/favorite-state-lost
OCFileListFragment: don't delete search event if resuming a search fragment
2021-12-15 09:43:50 +01:00
Nextcloud bot 3f8adc1016 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-15 03:53:06 +00:00
Álvaro Brey Vilas d503623d1d OCFileListFragment: don't delete search event if resuming a search fragment
This fixes a bug where favorites screen seemed empty after coming back from a share fragment.

This took WAY too long to figure out, this class needs a big refactor.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-14 17:52:52 +01:00
Álvaro Brey Vilas 930efa850d Bump Android Gradle PLugin to 7.0.4
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-14 11:20:22 +01:00
tobiasKaminsky 40796f7612 Add huawei build flavor
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-14 08:42:01 +01:00
Álvaro Brey 157f62a775 Merge pull request #9541 from nextcloud/fixUploadFromApps
"last modified" column might not exist, thus it shall never fail to upload
2021-12-13 13:04:28 +01:00
Álvaro Brey Vilas 662f15d250 UploadFilesActivity: don't attempt to check selectAll if selectAll is not visible in menu
This was crashing autoupload settings.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-13 12:50:17 +01:00
Álvaro Brey e9b13fe45f Merge pull request #9537 from nextcloud/fix-npe-in-file-uploader
Do not set notification manager to null in uploader service
2021-12-13 12:25:41 +01:00
Álvaro Brey 0e45a8611c Merge pull request #9535 from nextcloud/prevent-player-service-stop-from-using-foreground-service-api
When stopping PlayerService, do not use foreground service api
2021-12-13 11:43:57 +01:00
Álvaro Brey d9874c788c Merge pull request #8730 from nextcloud/migrate-file-activity-extra-account-to-extra-user
Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER and use User model as well
2021-12-13 11:37:44 +01:00
tobiasKaminsky 86a5c930b0 "last modified" column may not exist, thus it shall never fail to upload
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-13 09:47:49 +01:00
Nextcloud bot 45b591f3d2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-13 03:52:57 +00:00
Chris Narkiewicz 0c087012d7 Do not set notification manager to null in uploader service
NPE is most likely caused by a race condition, when
file upload update arrives after onDestroy().

Do not set notification manager to null - it does not
make any sense anyway, as it's a system service.

Fixes #9390

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-12-12 14:41:48 +00:00
Chris Narkiewicz 989b8aeddb When stopping PlayerService, do not use foreground service api
Sending async message to the service using foreground API
requires setting foreground flag. This won't happen if
the service is being stopped, so we must use startService()
API instead.

This API will throw IllegalStateException when app is banned
from running a service due to power management constraints.

Since stopping a service under such condition is not needed
anyway (it is not running), we can safely catch and ignore it.

This happens when app is woken up after long inactivity and
UI is recreated from cache.

Fixes #9491

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-12-12 13:15:20 +00:00
Nextcloud bot a284b6fcde [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-12 03:54:58 +00:00
Chris Narkiewicz 883857db32 Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER
Migrate FileActivity.EXTRA_ACCOUNT to EXTRA_USER and pass
User model around instead of Account.

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-12-12 00:23:40 +00:00
Nextcloud bot 06e1c41884 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-11 03:53:44 +00:00
Álvaro Brey Vilas f81779285e Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-10 13:05:22 +00:00
Álvaro Brey Vilas 3b023e9be5 Update analysis results
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-10 13:08:06 +01:00
Álvaro Brey 489eb75858 Merge pull request #9523 from nextcloud/fix/media-preview-navigation
FileDisplayActivity: Preserve title bar after resume
2021-12-10 10:33:31 +01:00
Álvaro Brey 8b63aaf2f9 Merge pull request #9522 from nextcloud/fix/search-landscape
Unified search: clear focus from search view on open
2021-12-10 10:26:35 +01:00
Tobias Kaminsky 67b922dfe0 Merge pull request #9493 from nextcloud/codestyle-remove
Code style: remove autowrap false option
2021-12-10 10:26:06 +01:00
Nextcloud bot 9358e7d407 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-10 03:57:24 +00:00
Álvaro Brey Vilas 46669cc1d8 FileDisplayActivity: Preserve title bar after resume
Fixes title bar reverting to searchbar even if the resumed fragment is the preview or the details fragments

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 18:32:59 +01:00
Álvaro Brey Vilas 30091a7aa4 Unified search: clear focus from search view on open
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 16:58:36 +01:00
Álvaro Brey 0edba984be Merge pull request #9426 from nextcloud/fix/unified-search-apps
UnifiedSearch: Fix opening non-file results with relative URLs
2021-12-09 15:59:31 +01:00
Álvaro Brey 76210ada17 Merge pull request #9494 from nextcloud/fix/calendar-dialog-style
DatePickerDialog: fix theme
2021-12-09 15:59:11 +01:00
Álvaro Brey 451c629a44 Merge pull request #9418 from nextcloud/fix/sharing-note-mandatory
Don't make note mandatory for sharing
2021-12-09 15:58:46 +01:00
Álvaro Brey 515e3f7089 Merge pull request #9449 from nextcloud/fix/fdf-binding-npe
FileDetailFragment: prevent NullPointerException if fileDetailSharingFragment is called too soon
2021-12-09 15:57:52 +01:00
Álvaro Brey 301543455f Merge pull request #9476 from nextcloud/storeFavoriteAfterFavoritingIt
After favorite/unfavorite store this also in db, not only change it in UI
2021-12-09 15:39:05 +01:00
Álvaro Brey 840ec88f57 Merge pull request #9475 from nextcloud/renameFix
Rename remote path upon renaming
2021-12-09 15:38:46 +01:00
Álvaro Brey 16d2aa2554 Merge pull request #9474 from nextcloud/fixGallerySearch
Fix vanishing files after gallery search
2021-12-09 15:38:28 +01:00
Álvaro Brey b38905fff7 Merge pull request #9469 from nextcloud/darkModeBackgronud
Explicitly set background for fragments
2021-12-09 15:37:58 +01:00
Álvaro Brey 0620d0a574 Merge pull request #9468 from nextcloud/translateError
Extract string to get translated
2021-12-09 15:37:07 +01:00
Álvaro Brey 2872f8167e Merge branch 'master' into translateError 2021-12-09 15:36:57 +01:00
Álvaro Brey 22c308f69a Merge pull request #9467 from nextcloud/fileSizeInShareDialog
update file size upon opening share dialog
2021-12-09 15:36:00 +01:00
Álvaro Brey 4381f7e33c Merge pull request #9478 from nextcloud/emptyNotCentered
Empty list is not centered and in landscape cut off
2021-12-09 15:35:11 +01:00
Álvaro Brey 739364dd63 Merge pull request #9466 from nextcloud/enhancePlayIcon
Play button as overlay on videos is now more sharpe on large displays
2021-12-09 15:34:22 +01:00
Álvaro Brey ad781a4b34 Merge pull request #9465 from nextcloud/trashbinCount
Update footer upon restore/delete of a deleted file
2021-12-09 15:34:02 +01:00
Álvaro Brey aa0914011d Merge pull request #9464 from nextcloud/drawerHighlight
highlight correct menu drawer icon
2021-12-09 15:33:28 +01:00
Álvaro Brey 60aa2becf3 Merge pull request #9463 from nextcloud/highlightSortOrder
Correctly highlight selected sort order
2021-12-09 15:33:02 +01:00
Álvaro Brey ad5c73f5ea Merge pull request #9462 from nextcloud/expandSendShareDialog
Expand send share dialog when in landscape mode
2021-12-09 15:32:37 +01:00
Álvaro Brey 41f650586f Merge pull request #9461 from nextcloud/unifiedSearch_showNoResults
If no search results from any provider, show it
2021-12-09 15:31:46 +01:00
Álvaro Brey 6a3dd84ba1 Merge branch 'master' into unifiedSearch_showNoResults 2021-12-09 15:31:32 +01:00
Álvaro Brey 42212e410e Merge pull request #9460 from nextcloud/mediaEmpty
Show correct empty screen if gallery search returns empty
2021-12-09 15:30:20 +01:00
Álvaro Brey e33419eb75 Merge pull request #9485 from nextcloud/fixSetPictureAs
"set picture as" needs temporary read permission
2021-12-09 15:27:23 +01:00
Álvaro Brey 98319b40d0 Merge pull request #9484 from nextcloud/fix401whenReloggingIn
when re-logging in too fast, we stored an empty auth token
2021-12-09 15:27:06 +01:00
Álvaro Brey 63cbb9f2d9 Merge pull request #9483 from nextcloud/audioCoverArt
Better positioning of preview media fragment
2021-12-09 15:26:47 +01:00
Álvaro Brey d0038c6a3b Merge pull request #9482 from nextcloud/fullscreenToggle
Fullscreen toggle
2021-12-09 15:26:13 +01:00
Álvaro Brey 7f6acfc590 Merge pull request #9480 from nextcloud/hideNextButton
On video player hide next button, as it is always disabled
2021-12-09 15:26:02 +01:00
Álvaro Brey ad946c2f73 Merge pull request #9479 from nextcloud/uponMoveUpdateFolderSize
Upon move update folder size
2021-12-09 15:25:48 +01:00
Álvaro Brey 0fe6c436ab Merge pull request #9459 from nextcloud/uploadAskForPermission
Ask for permission in UploadFilesActivity
2021-12-09 15:25:32 +01:00
Álvaro Brey Vilas 8a8c7a098f Remove TODO
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 14:57:33 +01:00
Tobias Kaminsky a3b0e65171 Merge pull request #9487 from nextcloud/fix/upload-button-single-files
Fix upload button not active unless select all is clicked
2021-12-09 14:50:48 +01:00
Álvaro Brey Vilas ded48ddba9 Don't make note mandatory for sharing
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 13:42:55 +00:00
Álvaro Brey Vilas bcafbbbd5b DatePickerDialog: fix theme
Extend from Dialog, not Dialog.Alert.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 14:36:01 +01:00
Álvaro Brey Vilas 12e50f31a0 Code style: remove autowrap false option
The IDE keeps removing it on every refresh, and it gets annoying.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 12:44:18 +01:00
Álvaro Brey Vilas af32084d1e Fix upload button not active unless select all is clicked
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-09 08:16:59 +00:00
Nextcloud bot 694b8fda56 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-09 03:57:08 +00:00
tobiasKaminsky 76547ca06d "set picture as" needs temporary read permission
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-08 15:31:39 +01:00
tobiasKaminsky 1036eaa01f when re-logging in too fast, we stored an empty auth token
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-08 14:58:21 +01:00
tobiasKaminsky 57f21e50ce Better positioning of preview media fragment
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-08 10:03:52 +01:00
tobiasKaminsky 09a02767bc Better fullscreen toggle
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-08 08:44:35 +01:00
Nextcloud bot b7de19236f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-08 04:05:40 +00:00
tobiasKaminsky c7bcc349d0 On video player hide next button, as it is always disabled
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 17:31:42 +01:00
tobiasKaminsky 7d3db7c9c3 Upon move update folder size
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 16:52:03 +01:00
tobiasKaminsky e1399f0135 Empty list is not centered and in landscape cut off.
Therefore as a quick win, moved all up, so that user does not think it should be centered.
This also then works in landscape.

Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 13:30:45 +01:00
tobiasKaminsky dd366ec494 After favorite/unfavorite store this also in db, not only change it in UI
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 09:13:26 +01:00
tobiasKaminsky ef25d41342 Rename remote path upon renaming
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 08:54:21 +01:00
tobiasKaminsky 036e339b07 Fix vanishing files after gallery search
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-07 08:15:49 +01:00
Nextcloud bot a22e97db73 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-07 05:10:21 +00:00
tobiasKaminsky 40e8ac7c58 Explicitly set background for fragments
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 17:35:16 +01:00
tobiasKaminsky 417365f7ea Extract string to get translated
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 16:57:52 +01:00
tobiasKaminsky 4a0ec4ece7 update file size upon opening share dialog
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 16:32:41 +01:00
tobiasKaminsky c85a733190 Play button as overlay on videos is now more sharpe on large displays
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 16:04:11 +01:00
tobiasKaminsky 0996702fd9 Update footer upon restore/delete of a deleted file
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 15:12:27 +01:00
tobiasKaminsky b557061410 highlight correct menu drawer icon
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 15:03:10 +01:00
tobiasKaminsky 8d94a44066 - correctly highlight selected sort order
- combine uploadFilesView and localFilesListView enum, as both are the same

Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 13:08:50 +01:00
tobiasKaminsky 9e1001a53c Expand send share dialog when in landscape mode
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 12:45:45 +01:00
tobiasKaminsky 07ece764f9 If no search results from any provider, show it
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 12:21:31 +01:00
tobiasKaminsky 599956370a fix tests
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 10:30:35 +01:00
tobiasKaminsky 70cb9367ae Show correct empty screen if gallery search returns empty
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 10:10:29 +01:00
tobiasKaminsky 5ebf79697d Ask for permission in UploadFilesActivity
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-06 08:34:23 +01:00
Nextcloud bot b3b1b8dbc0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-05 04:08:45 +00:00
Álvaro Brey Vilas b7d51e573a FileDetailFragment: prevent NullPointerException if fileDetailSharingFragment is called too soon
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-03 16:50:37 +01:00
Álvaro Brey 53999c809c Merge pull request #9433 from nextcloud/refresh
Refresh on favorite/shared view does search again, not showing root folder content
2021-12-03 15:31:40 +01:00
Álvaro Brey fbfdfb02c9 Merge pull request #9431 from nextcloud/showMnemonic
show mnemonic only if requested
2021-12-03 15:17:04 +01:00
Álvaro Brey 8625ab9be2 Merge pull request #9425 from nextcloud/updateSelectMenu
upload files activity: update select all button when selected files changed
2021-12-03 12:24:14 +01:00
Álvaro Brey 6cb1578983 Merge pull request #9423 from nextcloud/rememberSelectedFilesInUpload
Remember selected files in upload files activity upon screen rotation
2021-12-03 12:19:37 +01:00
Álvaro Brey 540ca74eec Merge pull request #9422 from nextcloud/uploadButtonOnSelectAll
Upon select all in upload files activity, enable upload button
2021-12-03 12:12:35 +01:00
Álvaro Brey 532f06a9a5 Merge pull request #9421 from nextcloud/removeUnfavoritedFile
Remove unfavorited file from favorited search
2021-12-03 12:00:56 +01:00
Álvaro Brey fe18e9a710 Merge pull request #9420 from nextcloud/showTrashbinError
Show trashbin error in a better way
2021-12-03 11:40:22 +01:00
dependabot[bot] 6beadb058c Bump byteBuddyVersion from 1.12.2 to 1.12.3
Bumps `byteBuddyVersion` from 1.12.2 to 1.12.3.

Updates `byte-buddy` from 1.12.2 to 1.12.3
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.2...byte-buddy-1.12.3)

Updates `byte-buddy-android` from 1.12.2 to 1.12.3
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.12.2...byte-buddy-1.12.3)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-03 02:07:12 +00:00
dependabot[bot] 865537c821 Bump daggerVersion from 2.40.3 to 2.40.4
Bumps `daggerVersion` from 2.40.3 to 2.40.4.

Updates `dagger` from 2.40.3 to 2.40.4
- [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.3...dagger-2.40.4)

Updates `dagger-android` from 2.40.3 to 2.40.4
- [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.3...dagger-2.40.4)

Updates `dagger-android-support` from 2.40.3 to 2.40.4
- [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.3...dagger-2.40.4)

Updates `dagger-compiler` from 2.40.3 to 2.40.4
- [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.3...dagger-2.40.4)

Updates `dagger-android-processor` from 2.40.3 to 2.40.4
- [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.3...dagger-2.40.4)

---
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] <[email protected]>
2021-12-03 02:06:39 +00:00
Álvaro Brey Vilas 42f995bb66 OcFileListFragment: throttle overflow menu clicks
Fixes #9319

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-02 17:14:59 +01:00
Álvaro Brey Vilas a94c151228 Unified search: show error when there's no connection
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-02 13:57:06 +01:00
tobiasKaminsky 69486a5428 Refresh on favorite/shared view does search again, not showing root folder content
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-02 13:11:39 +01:00
tobiasKaminsky 552d0a2d39 show mnemonic only if requested
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-02 11:10:59 +01:00
dependabot[bot] d4c3f81cd8 Bump bcpkix-jdk15to18 from 1.69 to 1.70
Bumps [bcpkix-jdk15to18](https://github.com/bcgit/bc-java) from 1.69 to 1.70.
- [Release notes](https://github.com/bcgit/bc-java/releases)
- [Changelog](https://github.com/bcgit/bc-java/blob/master/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcpkix-jdk15to18
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-02 02:07:24 +00:00
Nextcloud bot 5171d73285 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-01 18:48:41 +00:00
Álvaro Brey Vilas 62df4ff414 OCFileListFragment: Solve triplicated search events
Most visible when going to Favorites from another search.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-01 18:03:42 +01:00
Álvaro Brey Vilas 8eb2567c78 DrawerActivity: extract duplicated search launch logic to a method
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-01 17:56:02 +01:00
Álvaro Brey Vilas 94e73ba716 UnifiedSearch: Fix opening non-file results with relative URLs
Most notable in Apps results (Deck, Music...)

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-01 16:33:37 +01:00
tobiasKaminsky 5511a23748 upload files activity: update select all button when selected files changed
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 16:28:38 +01:00
tobiasKaminsky 15674167fb Remember selected files in upload files activity upon screen rotation
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 15:25:31 +01:00
tobiasKaminsky 5b18cf972e Upon select all in upload files activity, enable upload button
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 15:03:17 +01:00
tobiasKaminsky f4e7bf3ed5 Remove unfavorited file from favorited search
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 14:55:01 +01:00
tobiasKaminsky 729d053b9a Show trashbin error in a better way
Signed-off-by: tobiasKaminsky <[email protected]>
2021-12-01 14:14:33 +01:00
Álvaro Brey b17db63964 Merge pull request #9354 from nextcloud/fix/ip-port-login
Fix crashes during scheme normalization on login
2021-12-01 10:55:31 +01:00
Álvaro Brey 0f2011c16a Merge pull request #9395 from nextcloud/fix/delete-media-refresh
Refresh gallery screen when deleting a file
2021-12-01 10:48:12 +01:00
Álvaro Brey Vilas d84d82b176 Increase findbugs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-12-01 10:47:22 +01:00
Tobias Kaminsky aa946dc311 Merge pull request #9385 from nextcloud/fix/side-menu-logo-crash
DrawerActivity: resize server logo if it's too big
2021-12-01 10:30:51 +01:00
Álvaro Brey 99a40120ec Merge pull request #9409 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.43.1
Bump ktlint from 0.43.0 to 0.43.1
2021-12-01 09:50:37 +01:00
Nextcloud bot 404ad2f9f0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-12-01 04:01:35 +00:00
dependabot[bot] 23a5e13708 Bump ktlint from 0.43.0 to 0.43.1
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.43.0 to 0.43.1.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/0.43.1/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.43.0...0.43.1)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-12-01 02:06:52 +00:00
Álvaro Brey 2e570e2bcb Merge pull request #9398 from nextcloud/dependabot/gradle/daggerVersion-2.40.3
Bump daggerVersion from 2.40.2 to 2.40.3
2021-11-30 16:06:53 +01:00
dependabot[bot] cd40720fe0 Bump daggerVersion from 2.40.2 to 2.40.3
Bumps `daggerVersion` from 2.40.2 to 2.40.3.

Updates `dagger` from 2.40.2 to 2.40.3
- [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.2...dagger-2.40.3)

Updates `dagger-android` from 2.40.2 to 2.40.3
- [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.2...dagger-2.40.3)

Updates `dagger-android-support` from 2.40.2 to 2.40.3
- [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.2...dagger-2.40.3)

Updates `dagger-compiler` from 2.40.2 to 2.40.3
- [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.2...dagger-2.40.3)

Updates `dagger-android-processor` from 2.40.2 to 2.40.3
- [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.2...dagger-2.40.3)

---
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] <[email protected]>
2021-11-30 08:56:28 +00:00
Álvaro Brey ff24034d37 Merge pull request #9193 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.43.0
Bump ktlint from 0.42.1 to 0.43.0
2021-11-30 09:55:31 +01:00
Nextcloud bot 3da0ad2027 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-30 03:59:11 +00:00
Álvaro Brey Vilas 63f1654ebf Refresh gallery screen when deleting a file
Fixes #9370

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-29 17:48:17 +01:00
dependabot[bot] f76e75a6ea Bump ktlint from 0.42.1 to 0.43.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.42.1 to 0.43.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.42.1...0.43.0)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29 15:29:47 +00:00
Álvaro Brey bb8c4f8622 Merge pull request #9243 from nextcloud/pr_template_comment
meta: Don't put the testing explanation in the rendered PR text
2021-11-29 16:28:18 +01:00
Álvaro Brey 9a87eed685 Merge pull request #9393 from nextcloud/dependabot/gradle/byteBuddyVersion-1.12.2
Bump byteBuddyVersion from 1.11.22 to 1.12.2
2021-11-29 16:26:32 +01:00
Álvaro Brey 16ee381f21 Merge pull request #9394 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.19.0
Bump detekt-gradle-plugin from 1.18.1 to 1.19.0
2021-11-29 16:25:15 +01:00
Álvaro Brey 77dfd96e91 Merge pull request #9286 from Toover/master
Fix dialog template chooser when new file has no extension #9282
2021-11-29 16:24:29 +01:00
dependabot[bot] 35aff0603e Bump detekt-gradle-plugin from 1.18.1 to 1.19.0
Bumps detekt-gradle-plugin from 1.18.1 to 1.19.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] <[email protected]>
2021-11-29 13:54:14 +00:00
dependabot[bot] 266971ffbf Bump byteBuddyVersion from 1.11.22 to 1.12.2
Bumps `byteBuddyVersion` from 1.11.22 to 1.12.2.

Updates `byte-buddy` from 1.11.22 to 1.12.2
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.22...byte-buddy-1.12.2)

Updates `byte-buddy-android` from 1.11.22 to 1.12.2
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.22...byte-buddy-1.12.2)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29 13:54:06 +00:00
Álvaro Brey 2bce289331 Merge pull request #9363 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.16.1
Bump exoplayer from 2.16.0 to 2.16.1
2021-11-29 14:53:32 +01:00
dependabot[bot] b87fcd4af6 Bump exoplayer from 2.16.0 to 2.16.1
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.16.0 to 2.16.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.16.0...r2.16.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-29 13:14:37 +00:00
Álvaro Brey 58828dbc8b Merge pull request #9249 from nextcloud/compile-sdk-31
Bump compileSDK to 31
2021-11-29 14:12:41 +01:00
Nextcloud bot 1c911b15b4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-29 03:53:31 +00:00
Nextcloud bot 2cee938227 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-27 03:55:21 +00:00
Álvaro Brey Vilas ff0cb45c03 DrawerActivity: resize server logo if it's too big
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-26 21:03:04 +01:00
Álvaro Brey c1b69f4c9a Merge pull request #9376 from nextcloud/Favorited
favorite/unfavorite in details view
2021-11-26 16:32:13 +01:00
tobiasKaminsky 4c62ee6c5a favorite/unfavorite in details view
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-26 12:29:14 +01:00
Álvaro Brey Vilas 8f6c7fe4d9 Increase findbugs result
Was missing in a previous PR

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-26 11:02:55 +01:00
Nextcloud bot ebaced6d34 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-26 04:16:06 +00:00
Álvaro Brey a98bdd69ce Merge pull request #9287 from liam-p-23/master
File rename input warning message
2021-11-25 14:14:37 +01:00
Álvaro Brey Vilas 8ee7bfd557 Fix lint issues with cursor indexes on compileSdk 31
Ref: https://stackoverflow.com/a/69979270

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 12:57:17 +01:00
Álvaro Brey Vilas 9b51a5f242 Bump compileSDK to 31
Required by many new library versions already

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 11:21:23 +01:00
Álvaro Brey 90a63159da Merge pull request #9358 from nextcloud/dependabot/gradle/daggerVersion-2.40.2
Bump daggerVersion from 2.40.1 to 2.40.2
2021-11-25 10:44:45 +01:00
Álvaro Brey e55c53f37e Merge pull request #9268 from nextcloud/dependabot/gradle/kotlin_version-1.6.0
Bump kotlin_version from 1.5.31 to 1.6.0
2021-11-25 10:34:57 +01:00
Álvaro Brey Vilas c855ae3c00 Fix dependabot.yml syntax
This was broken since https://github.com/nextcloud/android/commit/7af55b2e773d5ca25029a66b02d633f3e09a3ce3

As a consequence dependabot wasn't really reading the config file, and parts of the admin UI were broken too.

I've also removed the dependency ignores, as they weren't being read anyway and we can use dependabot commands for that.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 09:58:49 +01:00
dependabot[bot] 2876d45ba0 Bump daggerVersion from 2.40.1 to 2.40.2
Bumps `daggerVersion` from 2.40.1 to 2.40.2.

Updates `dagger` from 2.40.1 to 2.40.2
- [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.1...dagger-2.40.2)

Updates `dagger-android` from 2.40.1 to 2.40.2
- [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.1...dagger-2.40.2)

Updates `dagger-android-support` from 2.40.1 to 2.40.2
- [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.1...dagger-2.40.2)

Updates `dagger-compiler` from 2.40.1 to 2.40.2
- [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.1...dagger-2.40.2)

Updates `dagger-android-processor` from 2.40.1 to 2.40.2
- [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.1...dagger-2.40.2)

---
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] <[email protected]>
2021-11-25 08:47:32 +00:00
dependabot[bot] 84a30c0436 Bump kotlin_version from 1.5.31 to 1.6.0
Bumps `kotlin_version` from 1.5.31 to 1.6.0.

Updates `kotlin-gradle-plugin` from 1.5.31 to 1.6.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib` from 1.5.31 to 1.6.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-25 08:47:30 +00:00
Álvaro Brey 8c98809caa Merge pull request #9355 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-4.8.0
Bump spotbugs-gradle-plugin from 4.7.9 to 4.8.0
2021-11-25 09:46:37 +01:00
Álvaro Brey Vilas 815e946adc Increase spotbugs result due to new spotbugs version
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 09:19:13 +01:00
Álvaro Brey 85fd9d4f8d Merge pull request #9350 from nextcloud/fix-npe-regression-in-file-downloader
Fix NPE regression in FileDownloader
2021-11-25 09:14:55 +01:00
dependabot[bot] e357c46af9 Bump spotbugs-gradle-plugin from 4.7.9 to 4.8.0
Bumps spotbugs-gradle-plugin from 4.7.9 to 4.8.0.

---
updated-dependencies:
- dependency-name: com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-25 08:04:37 +00:00
Álvaro Brey Vilas dd07ea17dd Fix another NPE in FileDownloader
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-25 07:47:24 +00:00
Chris Narkiewicz a84fc6297d Fix NPE regression in FileDownloader
Fixes #9349

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-11-25 07:47:24 +00:00
Nextcloud bot 6361c19386 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-25 03:54:26 +00:00
Liam P 549750aa73 Changed error color of TextInputLayoutInputWarning
Signed-off-by: Liam P <[email protected]>
2021-11-24 15:11:06 -05:00
Nextcloud bot 9ebc2f2b9e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-24 03:56:08 +00:00
Álvaro Brey f0cd5c2aec Merge pull request #9335 from nextcloud/remove-account-from-arbitrary-data-provider
Remove Account from ArbitraryDataProvider
2021-11-23 10:08:42 +01:00
Álvaro Brey 1572ca7e00 Merge pull request #9342 from nextcloud/fix/davdroid-login
AndroidManifest: allow querying for davdroid app.
2021-11-23 10:03:29 +01:00
Nextcloud bot 0997251cd3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-23 03:57:31 +00:00
Chris Narkiewicz feb9d6a87f Remove Account from ArbitraryDataProvider
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-11-22 22:50:07 +00:00
Álvaro Brey de79c93991 Merge pull request #9333 from nextcloud/migrate-ocupload-to-user
Migate OCUpload to User
2021-11-22 16:43:39 +01:00
Álvaro Brey 1e5b4604fb Merge pull request #9330 from nextcloud/remove-account-from-file-data-storage-manager-implementation
Remove platform Account from FileDataStorageManager implementation
2021-11-22 16:37:58 +01:00
Álvaro Brey Vilas cac884f6c2 AndroidManifest: allow querying for davdroid app.
Fixes #9339

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-22 16:16:04 +01:00
Nextcloud bot 679b3ae029 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-22 04:13:44 +00:00
Nextcloud bot fb10543c87 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-21 03:53:48 +00:00
Chris Narkiewicz c8f61f76f5 Migate OCUpload to User
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-11-20 22:19:59 +00:00
Chris Narkiewicz 12e09e8c28 Remove platform Account from FileDataStorageManager implementation
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-11-20 14:37:35 +00:00
Nextcloud bot 8eff4f7ddf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-20 04:13:56 +00:00
Liam P b0cf10b88a Changed input warning to use TextInputLayout setError
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:24:48 -05:00
Liam P 8daf760107 Updated input warning message functionality
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:24:36 -05:00
William Plefka 425966a7b8 Updated input warning message functionality
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:23:38 -05:00
William Plefka b3056188e5 Added Javadoc comments
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:23:27 -05:00
William Plefka 8d5d7cccc8 Added hidden file warning message to the rename file dialog. Resolves #7722
Signed-off-by: William Plefka <[email protected]>
Signed-off-by: Liam P <[email protected]>
2021-11-19 19:23:11 -05:00
Tobias Kaminsky 169d6a0aae Merge pull request #9314 from nextcloud/fixFDSM
fix FDSM call
2021-11-19 09:41:10 +01:00
tobiasKaminsky 66459bcfbc fix FDSM call
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-19 09:00:05 +01:00
Nextcloud bot 38eeebf9ae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-19 04:37:18 +00:00
Álvaro Brey 373fec8b45 Merge pull request #9073 from nextcloud/remove-deprecated-calls-to-storage-manager-constructor
Remove deprecated calls to storage manager constructor
2021-11-18 14:36:03 +01:00
Andy Scherzinger 118195e168 Merge pull request #9305 from nextcloud/changelog-master-stable-3.18.0
Add changelog for 3.18.0
2021-11-18 11:51:59 +01:00
Álvaro Brey Vilas b68d896d2c Add changelog for 3.18.0
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-18 10:50:12 +01:00
Nextcloud bot 951377de46 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-18 03:50:24 +00:00
Andy Scherzinger 22fb67c20e Merge pull request #9295 from nextcloud/bugfix/noid/detekt
Fix detekt score
2021-11-17 19:07:32 +01:00
Andy Scherzinger 29846c718d improve detekt score
Signed-off-by: Andy Scherzinger <[email protected]>
2021-11-17 18:15:01 +01:00
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 <[email protected]>
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 <[email protected]>
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] <[email protected]>
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 <[email protected]>
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] <[email protected]>
2021-11-17 02:05:04 +00:00
Toover 1b62ae6847 Fix dialog template chooser when new file has no extension #9282 2021-11-16 19:21:24 +01: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 <[email protected]>
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 <[email protected]>
2021-11-15 13:37:39 +01:00
Álvaro Brey Vilas fa432834e7 Expand intent query declarations in AndroidManifest
Signed-off-by: Álvaro Brey Vilas <[email protected]>
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 <[email protected]>
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 <[email protected]>
2021-11-14 11:40:40 +00:00
tobiasKaminsky 9751de3934 Query Param needs serial uid
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-14 08:17:42 +01:00
Nextcloud bot 507f0ae9be [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
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 <[email protected]>
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] <[email protected]>
2021-11-12 02:06:05 +00:00
Nextcloud bot a1ce4fd57e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-11 03:50:41 +00:00
Álvaro Brey d0a7918d3b meta: Don't put the testing explanation in the PR text
By adding it as a comment, the user writing the PR will still see it but it won't be present in the rendered text.
2021-11-10 17:37:31 +01: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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2021-11-09 09:46:38 +01:00
tobiasKaminsky 9b0db8a355 Enable StrictMode during development
Signed-off-by: tobiasKaminsky <[email protected]>
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 <[email protected]>
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 <[email protected]>
2021-11-08 16:56:22 +01:00
Álvaro Brey Vilas 44968b20ad PermissionUtil: fix version conditional
Signed-off-by: Álvaro Brey Vilas <[email protected]>
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 <[email protected]>
2021-11-08 14:05:45 +01:00
Álvaro Brey Vilas be54fa0bce Update spotbugs results
Signed-off-by: Álvaro Brey Vilas <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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
Álvaro Brey Vilas 9eb2fcc6c1 spotbugs: Show list of scanned files
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-08 10:37:42 +01:00
Valdnet a638101359 i18n: Minor changes to sentence
Signed-off-by: Valdnet <[email protected]>
2021-11-08 09:02:27 +01:00
Nextcloud bot dce7eb713a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-08 06:34:35 +00:00
Tobias Kaminsky 7b80e23b8e Merge pull request #9220 from nextcloud/fixTranslations
Translation files must be one line
2021-11-08 07:21:47 +01:00
tobiasKaminsky 915b764f36 Translation files must be one line
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-08 07:04:59 +01:00
Álvaro Brey 72198d4865 Merge pull request #9161 from nextcloud/dependabot/gradle/daggerVersion-2.40
Bump daggerVersion from 2.39.1 to 2.40
2021-11-05 16:16:18 +01:00
Álvaro Brey c161b5235b Merge pull request #9197 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.3.0
Bump annotation from 1.2.0 to 1.3.0
2021-11-05 16:14:20 +01:00
Álvaro Brey Vilas 14c1e8d718 build.gradle: Refactor spotbugs setup
- Don't duplicate tasks. Use the ones that spotbugs provides and link them to their sourcesets
 - Add dependencies to compileSources to the spotbugs tasks
 - Update spotbugs plugin

This results in a much higher amount of issues. They were probably not being properly scanned earlier.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-05 16:12:05 +01:00
dependabot[bot] 17b602e263 Bump daggerVersion from 2.39.1 to 2.40
Bumps `daggerVersion` from 2.39.1 to 2.40.

Updates `dagger` from 2.39.1 to 2.40
- [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.39.1...dagger-2.40)

Updates `dagger-android` from 2.39.1 to 2.40
- [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.39.1...dagger-2.40)

Updates `dagger-android-support` from 2.39.1 to 2.40
- [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.39.1...dagger-2.40)

Updates `dagger-compiler` from 2.39.1 to 2.40
- [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.39.1...dagger-2.40)

Updates `dagger-android-processor` from 2.39.1 to 2.40
- [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.39.1...dagger-2.40)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-05 11:51:28 +00:00
dependabot[bot] 0dc54823b9 Bump annotation from 1.2.0 to 1.3.0
Bumps annotation from 1.2.0 to 1.3.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-05 11:50:31 +00:00
Álvaro Brey 78945f82d2 Merge pull request #9206 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.16.0
Bump exoplayer from 2.15.1 to 2.16.0
2021-11-05 12:49:06 +01:00
dependabot[bot] 3058ff7301 Bump exoplayer from 2.15.1 to 2.16.0
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.15.1 to 2.16.0.
- [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.15.1...r2.16.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-05 02:06:15 +00:00
Álvaro Brey 518343c4e4 Merge pull request #9195 from nextcloud/whats-new-sdk-30
Add What's New view to warn users of changes in storage after sdk 30
2021-11-04 14:35:29 +01:00
Álvaro Brey 35a2324482 Merge pull request #9175 from nextcloud/fix/url-parse-search-result
Unified search: skip local file check for non-file results
2021-11-04 14:27:25 +01:00
Álvaro Brey a994ebc3f4 Merge pull request #9044 from nextcloud/target-sdk-30
Target SDK 30
2021-11-04 13:46:16 +01:00
Álvaro Brey 30be31f525 Merge pull request #9166 from nextcloud/namespacedAction
Use package specific action
2021-11-04 13:39:46 +01:00
Álvaro Brey Vilas aa417537df Disable leakCanary for CI builds
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-04 13:10:56 +01:00
Álvaro Brey Vilas cb6d9a6c07 What's new: add second page of info for sdk30 storage update
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-04 13:03:14 +01:00
Álvaro Brey Vilas 40860d98be AppInfo: add getVersionName, remove getFormattedVersionCode
Only used for WhatsNewActivity, and showing the human-readable string makes more sense.
Also convert the appinfo package to kotlin, since we're at it

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-04 12:44:28 +01:00
Tobias Kaminsky 5ac0b76bc1 Merge pull request #9190 from nextcloud/stale-bot-exempt-label
stale action: Add exempt label to mark issues that shouldn't be stale automatically
2021-11-04 11:52:08 +01:00
Tobias Kaminsky d657b865f7 Merge pull request #9191 from nextcloud/docs/signoff-contributing
CONTRIBUTING: add indication that commits should be signed off.
2021-11-04 11:50:04 +01:00
tobiasKaminsky c15f64308b Use package specific action
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-04 08:21:12 +00:00
Álvaro Brey Vilas be43a629fd Add What's New view to warn users of changes in storage after sdk 30
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-03 16:49:20 +01:00
Álvaro Brey Vilas 6d4b3b8444 Fix ktlint
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-03 10:30:10 +01:00
Álvaro Brey Vilas 5e00733912 Add missing copyright header to PermissionUtil
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-03 09:16:22 +01:00
Nextcloud bot 6822cfda6a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-03 03:50:54 +00:00
Álvaro Brey Vilas f18f72abcd DownloadFileOperation: use moveFile instead of File.renameTo
File.renameTo fails if both files aren't under the same mountpoint.
As the tmp file is in internal storage now, it has to be move differently if the target dir is in external storage.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 16:31:46 +01:00
Álvaro Brey Vilas 1811d040f7 Use internalTemporalPath instead of temporalPath
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 12:59:06 +01:00
Álvaro Brey 578da09f05 Merge pull request #9179 from sryze/contact-settings-back-fix
Prevent duplicate Settings activity on back stack
2021-11-02 09:40:28 +01:00
tobiasKaminsky 4d99f62759 Use LeakCanary in debug mode
Signed-off-by: tobiasKaminsky <[email protected]>
2021-11-02 08:37:03 +00:00
Álvaro Brey 432f51b4ec Merge pull request #9181 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.22
Bump byteBuddyVersion from 1.11.21 to 1.11.22
2021-11-02 09:23:06 +01:00
Álvaro Brey 07bc3f4f50 Merge pull request #9180 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.8.9
Bump gson from 2.8.8 to 2.8.9
2021-11-02 09:17:27 +01:00
Álvaro Brey Vilas 78aa89e1be CONTRIBUTING: add indication that commits should be signed off.
Also add ToC entry for git hooks, which was missing

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 09:07:31 +01:00
Sergey Zolotarev f08ad758cd Prevent duplicate Settings activity on back stack
Signed-off-by: Sergey Zolotarev <[email protected]>
2021-11-02 14:05:59 +06:00
Álvaro Brey Vilas f2c81a9715 stale action: Add exempt label to mark issues that shouldn't be stale automatically
We've got some issues that are open since a long time ago but aren't resolved, and  there isn't some clear short term resolution to them.
As such these isues are kept open because they still affect users, but the users have to be "fighting" the stale bot, which
understandably generates confusion and frustration.

This PR adds a specific label we can add to those issues so that the stale action will ignore them.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:36:05 +01:00
Álvaro Brey Vilas 063ef4f8df Fix PermissionUtil after rebase
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:44 +01:00
Álvaro Brey Vilas 0ad8c4350d Fix storage permissions in debug manifest too
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:43 +01:00
Álvaro Brey Vilas 886c2574fb MediaProvider: remove useless parens
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:43 +01:00
Álvaro Brey Vilas 95c31750a7 AbstractIT: adaptations to make integration tests work in sdk 30
- Use internal temporal path, as external temporal path is broken in sdk 30
- Don't take snapshots in sdk30 as they crash

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:43 +01:00
Álvaro Brey Vilas c1316da717 Request READ_EXTERNAL_STORAGE in API >= 30
Although scoped storage is in effect and WRITE_EXTERNAL_STORAGE does not do anything,
we still need READ_EXTERNAL_STORAGE to read files from folders we don't own.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas 2cb05a17a5 androidTest: Don't request WRITE_EXTERNAL_STORAGE on sdk>=30
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas 1154b439fe ContentResolverHelperTest: use mockitokotlin instead of mockk
MockK doesn't work properly on android < 27. Lesson learned.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas be830a66c8 COntentResolverHelper: sort column must be an array
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas 8860bd4b52 Fix OCFIleListFragmentIT on sdk 30
Can no longer open /sdcard/ directly, let's use the external files dir

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:41 +01:00
Álvaro Brey Vilas aa7b5617ab ContentResolverHelper: add tests and proper copyright headers
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:41 +01:00
Álvaro Brey Vilas 0cccd80314 build.gradle: Bump mockK to fix test crashes in API 30 emulators
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:41 +01:00
Álvaro Brey Vilas 6e645f7f06 MediaProvider: solve crash on Android 11 due to invalid contentProvider queries
This manifested mostly when trying to open "auto upload"

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:40 +01:00
Álvaro Brey Vilas d92e3cbfaa Fix some type errors after sdk 30 bump
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:40 +01:00
Álvaro Brey Vilas e655039559 Bump compileSdk and targetSdk to 30
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 08:29:33 +01:00
Álvaro Brey Vilas ac9f516027 Unified search: skip local file check for non-file results
Fixes https://github.com/nextcloud/android/issues/9171

Needs https://github.com/nextcloud/android-library/pull/739

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-11-02 07:23:33 +00:00
Nextcloud bot 0558b25ee3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-02 03:49:39 +00:00
Nextcloud bot 346fc512a2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-11-01 03:48:17 +00:00
dependabot[bot] 957949101e Bump byteBuddyVersion from 1.11.21 to 1.11.22
Bumps `byteBuddyVersion` from 1.11.21 to 1.11.22.

Updates `byte-buddy` from 1.11.21 to 1.11.22
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.21...byte-buddy-1.11.22)

Updates `byte-buddy-android` from 1.11.21 to 1.11.22
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.21...byte-buddy-1.11.22)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-01 02:06:11 +00:00
dependabot[bot] 5b097431fb Bump gson from 2.8.8 to 2.8.9
Bumps [gson](https://github.com/google/gson) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.8...gson-parent-2.8.9)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-11-01 02:05:37 +00:00
Nextcloud bot 3abf27f947 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-30 03:50:46 +00:00
Nextcloud bot f9bfb044dc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-29 03:49:55 +00:00
Álvaro Brey dd7b76ead4 Merge pull request #9150 from nextcloud/fix-fastlane-rc
fastlane: Restore version prompt for RC releases
2021-10-28 12:34:00 +02:00
Álvaro Brey d74af1c35e Merge pull request #9164 from nextcloud/fix/network-metered-security-exception
ConnectivityService: handle SecurityException in getNetworkCapabilities
2021-10-28 11:00:16 +02:00
Álvaro Brey Vilas 9a94ddc1cc ConnectivityService: handle SecurityException in getNetworkCapabilities
Bug on Android implementation

See: https://stackoverflow.com/questions/66652819/getting-security-exception-while-trying-to-fetch-networkcapabilities-on-android

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-28 10:13:30 +02:00
Nextcloud bot da095ddfb6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-28 03:51:04 +00:00
Tobias Kaminsky 0184bb7608 Merge pull request #9157 from nextcloud/AccountManagerService
AccountManagerService needs to be exported
2021-10-27 19:59:48 +02:00
tobiasKaminsky 3823eccfe6 AccountManagerService needs to be exported
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-27 08:49:05 +02:00
Nextcloud bot 8c0e77ae93 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-27 03:55:09 +00:00
Álvaro Brey 9b25979eb7 Merge pull request #9149 from nextcloud/obsoleteSDKchekcs
Remove unneeded checks for M build target
2021-10-26 09:03:54 +02:00
Álvaro Brey Vilas e40d2910b9 fastlane: Restore version prompt for RC releases
Was lost in https://github.com/nextcloud/android/pull/9118,
so now RC releases didn't pause for version check.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-26 08:37:01 +02:00
drone 05d98ccc4b Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-10-26 06:02:19 +00:00
tobiasKaminsky bbcfdbe98d Remove unneeded checks for M build target
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-26 07:57:01 +02:00
Nextcloud bot a946385603 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-26 03:50:35 +00:00
Andy Scherzinger 1b87f68aed Merge pull request #9142 from nextcloud/bumpMasterTo3.19
Bump master to 3.19 alpha
2021-10-25 18:42:22 +02:00
Nextcloud bot 2c7c571fca [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-25 14:25:18 +00:00
tobiasKaminsky 85d1f5bb0d Bump master to 3.19 alpha
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 16:17:42 +02:00
Tobias Kaminsky 6176998a0e Merge pull request #9141 from nextcloud/bump-outdated-server-version
Bump versions before RC
2021-10-25 16:13:56 +02:00
Tobias Kaminsky 6e76954fcf Merge pull request #8848 from nextcloud/sharingDialog
Sharing dialog improvement
2021-10-25 16:08:23 +02:00
Tobias Kaminsky cf8021059e Merge pull request #7568 from nextcloud/unifiedSearch
Unified search
2021-10-25 16:07:08 +02:00
drone 16b37bcc05 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 16:06:17 +02:00
Álvaro Brey Vilas 0984213b62 AndroidManifest: remove resources with maxSDK=22
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:44:36 +02:00
Álvaro Brey Vilas e99960c59d TestPowerManagementService: Bump SDK version used for test
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:39:25 +02:00
Álvaro Brey Vilas a5afe1ec41 Bump minSdk version to 23
22 is under 0.5% of users

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:35:52 +02:00
Álvaro Brey Vilas 16b83131c8 Bump OUTDATED_SERVER_VERSION to 19
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:25:44 +02:00
tobiasKaminsky 0cdfd7a906 Optimize imports
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:18:31 +02:00
tobiasKaminsky 3965f22e7c remove unused foreground (which was working only on API23+)
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas 6fe72782fe FileDisplayActivity: fix new spotbugs warning
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas d7d3157410 Unified search: solve RTL symmetry warnings
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas 631db66da7 Unified search: show context leak in UnifiedSearchViewModel
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas 8cadb2b5de Unified search: add placeholder icon for Deck
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas c51df6fb5b Unified search: better placeholder icons
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas 16100677bb Unified search: fix inverted success value for "load more"
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:56 +02:00
Álvaro Brey Vilas f927cfe2d8 Unified search: Round thumbnails when requested by server
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:56 +02:00
Álvaro Brey Vilas b6cd8af18a GetRemoteFileTask: pass User directly instead of account
Needed after model changes in master

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:56 +02:00
Álvaro Brey Vilas 149c701682 Restore master branch for library
Unified search has already been merged

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:55 +02:00
Álvaro Brey Vilas 2387545119 Unified search: Fix broken integration test
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:55 +02:00
Álvaro Brey Vilas 18cbdfa93c Unified search: minor UI improvements
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:55 +02:00
Álvaro Brey Vilas 61c2242896 Unified search: cleanup viewmodel usage with interface
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:54 +02:00
Álvaro Brey Vilas fdf1abd0fd Unified search: fix opening non-file results (open in a browser)
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:54 +02:00
Álvaro Brey Vilas c3a1656781 Unified search: fix existing tests to make CI happy
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:54 +02:00
tobiasKaminsky 73e4f3cf05 fix loading message
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas 146650c0c6 Unified search: bind search view on US fragment to allow subsequent searches
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas 361e81ea9c Unified search: set toolbar title to search query
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas 3fc6fc8bdf Unified search: several UI and navigation improvements
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:53 +02:00
Álvaro Brey Vilas fac2958788 Unified search: Show error messages, loading anim, click animations. Implement refresh.
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:52 +02:00
Álvaro Brey Vilas e898965dc1 Unified search: transform results in ViewModel and fix "load more" behaviour
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:52 +02:00
Álvaro Brey Vilas 484a506688 Unified search: do not show "load more" if there are no more results
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:52 +02:00
Álvaro Brey Vilas c816aee5b1 CI: screenshotTests: always delete old comments
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:51 +02:00
Álvaro Brey Vilas e8feb412a4 Unified search: basic "Load more" functionality
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:51 +02:00
Álvaro Brey Vilas 02d133a1c7 Unified search: always show files results first
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:51 +02:00
Álvaro Brey Vilas 6c98b4cb8d Unified seach: allow querying different providers asynchronously, and get their IDs in the result
First step towards getting "Load more" working for a single provider

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:50 +02:00
Álvaro Brey Vilas b0b9d3a3e3 Unified search: get search to fetch and show multiple providers
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:50 +02:00
Álvaro Brey Vilas decfc91d58 FileDisplayActivity: Restore showFile function that was lost in the rebase
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:50 +02:00
Álvaro Brey Vilas 7d3fbe47d0 Suppress detekt at UnifiedSearchItemViewHolder
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:49 +02:00
Álvaro Brey Vilas 276b8d7b28 Fix build errors after rebase
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:17:49 +02:00
Andy Scherzinger 57732aceb9 ktlint: proper code formatting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-25 15:17:49 +02:00
tobiasKaminsky 1136aa3748 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:48 +02:00
tobiasKaminsky 232ffe7d5c wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:48 +02:00
tobiasKaminsky 96ea22525e wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:48 +02:00
tobiasKaminsky 3a39b041de wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:17:46 +02:00
Álvaro Brey Vilas dc5756246a Sharing dialog: fix spotbugs
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:08 +02:00
Álvaro Brey Vilas 295c24aa78 File sharing: remove unused background parameters that were triggering lint
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:07 +02:00
Álvaro Brey Vilas 80327fc3b9 Sharing dialog IT: add retries and sleeps
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:07 +02:00
Álvaro Brey Vilas 5afcad3fed FileSharingFragmentIT: fix test and delete unused variables
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:07 +02:00
tobiasKaminsky 891146eb8a Reduce lint
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:13:06 +02:00
Álvaro Brey Vilas b367684e21 Patch up integration tests for file sharing
This requires a lot of dodgy code, unfortunately. A refactor is greatly needed here.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:06 +02:00
Álvaro Brey Vilas 42ac3bcb11 Sharing dialog: fix accessibility in bottom sheet
Add min height for touchable area.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-25 15:13:06 +02:00
tobiasKaminsky 80b8173e45 fix ktlint
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:13:06 +02:00
A117870935 df6d590196 Sharing dialog improvement
changed overflow menu items for sharing files and folders

completed NMCLOUD-350 for share permissions and fixed test cases as per new changes

permission menu code optimisation

added permission display to share fragment list items

fixed permission issue for files, added strings for german

changed sharing process for internal and external share by creating new full screen permission and note ui.
created new remote operation to share the file/folder with permissions

changed sharing menu options from popup to bottom sheet for all shares, modified options for link share

test cases written for updated sharing process

updated PR as per Tobias feedback:
1. Failed test cases reverted
2. Quick permissions sheet modified
3. Minor UI changes done.
4. Commented code removed

copyright header added

Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 15:12:58 +02:00
Tobias Kaminsky 215c1c90db Merge pull request #9015 from nextcloud/calendarSync
Calendar backup/import
2021-10-25 15:09:11 +02:00
Tobias Kaminsky d544e18960 Merge pull request #9112 from nextcloud/profilePage
Profile page
2021-10-25 15:07:32 +02:00
Tobias Kaminsky 765e2ca442 Merge pull request #9125 from eckR/bugfix/fix-email-type
Bugfix/fix email type
2021-10-25 14:33:56 +02:00
tobiasKaminsky 6d07584a54 Profile page
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 14:05:33 +02:00
tobiasKaminsky 042c413569 Calendar backup/import
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 13:02:12 +02:00
Tobias Kaminsky 2693c103b3 Merge pull request #9139 from nextcloud/suppress-walled-network-test-on-metered-wifi
Suppress walled network check when on metered wifi
2021-10-25 09:55:55 +02:00
Tobias Kaminsky 344a12d95a Merge pull request #8916 from tom-bowles/master
Handle 'Stream with...' option in PreviewMediaFragment
2021-10-25 09:18:05 +02:00
tobiasKaminsky d064352011 Fix test
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 09:10:21 +02:00
Tobias Kaminsky 6bdfe17bc8 Merge pull request #9124 from nextcloud/ignore_EI_EXPOSE_REP2
Disable spotbugs: EI_EXPOSE_REP2
2021-10-25 08:18:43 +02:00
drone 8b53b54d48 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <[email protected]>
2021-10-25 06:02:10 +00:00
tobiasKaminsky 6a57af4c90 I think we can disable this, as we only pass objects from our code / Android
https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html#ei2-may-expose-internal-representation-by-incorporating-reference-to-mutable-object-ei-expose-rep2
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-25 06:02:10 +00:00
Tobias Kaminsky aa1f1add49 Merge pull request #9137 from nextcloud/fix-npe-in-conflict-resolution-activity
Fix NPE in ConflictsResolveActivity
2021-10-25 07:59:01 +02:00
Tobias Kaminsky 9f64cba2b9 Merge pull request #9138 from nextcloud/fix-npe-during-contacts-backup
Fix NPE during contacts backup
2021-10-25 07:57:30 +02:00
Nextcloud bot b423b42b89 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-25 03:47:09 +00:00
Chris Narkiewicz 57b2a8ef1a Removed deprecated FileDataStorageManager constructors entirely
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-25 03:41:59 +01:00
Chris Narkiewicz 8cf4ed7b71 Suppress walled network check when on metered wifi
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-25 03:34:56 +01:00
Chris Narkiewicz 8e5c8dd840 Fix NPE during contacts backup
Fixes #9080

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-25 02:00:17 +01:00
Chris Narkiewicz 53eea6d08e Deprecate FileDataStorageManager constructors depending on legacy Account
This commit deprecates constructors using legacy platform Account type
and wraps them using new API accepting User model.

All calls to FileDataStorageManager constructors that were trivially
portable without are updated as well. Places where passing new type
requires more risku work were left out for now.

FileDataStorageManager still uses Account internally - modifying this
requires getting rid of all legacy constructors first.

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-25 00:30:11 +01:00
Chris Narkiewicz b3e280bce5 Fix NPE in ConflictsResolveActivity
Fixes #9133

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-24 23:23:17 +01:00
Nextcloud bot ea92f8432c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-24 03:49:18 +00:00
Andy Scherzinger fdb231e1ea Merge pull request #9131 from nextcloud/fix-npe-when-uploading-files
Fix NPE crash when uploading files
2021-10-23 19:02:59 +02:00
Chris Narkiewicz 130c05e4ca Fix NPE crash when uploading files
Fixes #9099
2021-10-23 14:26:29 +01:00
Nextcloud bot 7c03e0f453 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-23 03:53:17 +00:00
Lisa Kirchhofer 0051189017 Bugfix: Issue #9060 (Status bar with sorting/view mode disappears after playing video)
Signed-off-by: Lisa Kirchhofer <[email protected]>
2021-10-22 16:12:09 +02:00
Harald Ecker b5825d73c4 remove icon mapping
Signed-off-by: Harald Ecker <[email protected]>
2021-10-22 14:48:07 +02:00
Harald Ecker 1217466fa5 add rfc822 to mimetypeutil
Signed-off-by: Harald Ecker <[email protected]>
2021-10-22 14:48:07 +02:00
Tobias Kaminsky c267d0bd01 Merge pull request #9123 from Thorgrimson/master
fix image dimensions
2021-10-22 14:08:53 +02:00
Tobias Kaminsky 8204398825 Merge pull request #9106 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.21
Bump byteBuddyVersion from 1.11.20 to 1.11.21
2021-10-22 14:02:19 +02:00
Tobias Kaminsky ca49423faf Merge pull request #9114 from nextcloud/strugee/cleanup-notification-channels
Clean up notification channels
2021-10-22 08:45:00 +02:00
Tobias Kaminsky 34906df398 Merge pull request #9072 from nextcloud/deprecate-file-storage-manager-constructors-using-platform-account
Deprecate FileDataStorageManager constructors depending on legacy Account
2021-10-22 08:38:24 +02:00
Tobias Kaminsky f55c7c8785 Merge pull request #9093 from nextcloud/more-hooks-improvements
pre-push hook: Exclude merges from signoff check
2021-10-22 08:37:19 +02:00
Nextcloud bot 48668c96d0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-22 03:49:36 +00:00
AJ Jordan bbf7441715 Delete unused "File observer" notification channel
Signed-off-by: AJ Jordan <[email protected]>
2021-10-21 12:02:57 -07:00
AJ Jordan ebd5b6f1d6 Fix notification channel strings not being updated
NotificationManager#createNotificationChannel() is safe to run again
even if the notification channel has already been created - in this case
it simply updates the name and description, which is what we want.

Signed-off-by: AJ Jordan <[email protected]>
2021-10-21 12:02:57 -07:00
AJ Jordan beef71974c Make notification channel names less technical
Signed-off-by: AJ Jordan <[email protected]>
2021-10-21 12:02:57 -07:00
Thorgrimsson 15bc3966b6 fix image dimensions
Signed-off-by: Thorgrimsson <[email protected]>
2021-10-21 16:06:49 +02:00
Tobias Kaminsky 2ceb34ae97 Merge pull request #9087 from nextcloud/circularSearchBar
Make search bar fully circular rounded
2021-10-21 12:23:53 +02:00
Tobias Kaminsky 150cb04483 Merge pull request #9048 from nextcloud/codecov-uploader-update
codecov: Use new codecov uploader instead of the deprecated bash uploader
2021-10-21 11:46:22 +02:00
Tobias Kaminsky 8f7bfd9bf2 Merge pull request #9118 from nextcloud/fastlane-rename-fix
fastlane: Don't use rename command
2021-10-21 11:43:37 +02:00
Tobias Kaminsky 33c6aab782 Merge pull request #9103 from nextcloud/dependabot/gradle/tools.fastlane-screengrab-2.1.1
Bump screengrab from 2.1.0 to 2.1.1
2021-10-21 11:40:46 +02:00
Álvaro Brey Vilas 2a7ebceaba fastlane: makeReleases: call androidVersion directly instead of getting from parameter
This makes it possible to call makeReleases directly

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-21 11:33:28 +02:00
Tobias Kaminsky 9b18d0d6cb Merge pull request #9098 from nextcloud/drone-commit-signoff
scripts: Have Drone properly signoff commits so that it doesn't break DCO
2021-10-21 10:59:23 +02:00
Andy Scherzinger fff06f7683 Merge pull request #9119 from nextcloud/changelog-master-stable-3.17.1
Add changelog for 3.17.1
2021-10-21 09:20:32 +02:00
Andy Scherzinger aae00c3432 polish changelog for 3.17.1 and older
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-21 09:17:49 +02:00
Álvaro Brey Vilas d83a22fea6 Add changelog for 3.17.1
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-20 14:53:50 +02:00
Álvaro Brey Vilas 93207426b1 fastlane: Don't use rename command
It's different between linux versions

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-20 14:03:03 +02:00
Álvaro Brey Vilas a52c9e0761 codecov: Use new codecov uploader instead of the deprecated bash uploader
Ref: https://docs.codecov.com/docs/about-the-codecov-bash-uploader

Old bash uploader has been deprecated and will start failing on September 2021,
with it completely failing from February 2022.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-20 11:43:37 +02:00
Álvaro Brey 9198dfe331 Merge pull request #9113 from nextcloud/strugee-patch-1
Fix typo in CONTRIBUTING.md
2021-10-20 11:18:13 +02:00
Tobias Kaminsky aa47197109 Merge pull request from GHSA-wff9-w6wc-h67g
Fix GHSL-2021-1008 by using permission instead of readPermission
2021-10-20 10:00:03 +02:00
tobiasKaminsky b6ecf515b3 Fix GHSL-2021-1008 by using permission instead of readPermission
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-20 09:56:18 +02:00
AJ Jordan 9e0d40b789 Fix typo in CONTRIBUTING.md
Signed-off-by: AJ Jordan <[email protected]>
2021-10-20 00:51:53 -07:00
Nextcloud bot 8857ea7ddf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-20 04:10:43 +00:00
dependabot[bot] baf454538c Bump byteBuddyVersion from 1.11.20 to 1.11.21
Bumps `byteBuddyVersion` from 1.11.20 to 1.11.21.

Updates `byte-buddy` from 1.11.20 to 1.11.21
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.20...byte-buddy-1.11.21)

Updates `byte-buddy-android` from 1.11.20 to 1.11.21
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.20...byte-buddy-1.11.21)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-19 01:06:13 +00:00
Álvaro Brey 03b34547f2 Merge pull request #9104 from nextcloud/exportFalse
Explicitly specify exported="true/false" for all
2021-10-18 13:17:43 +02:00
drone 0cbe866a3a Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-10-18 09:55:18 +00:00
tobiasKaminsky 6e1dbaad33 Explicitly specify exported="true/false" for all
Signed-off-by: tobiasKaminsky <[email protected]>
2021-10-18 11:48:39 +02:00
Nextcloud bot c98003e21f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-18 03:51:24 +00:00
dependabot[bot] 33d50c7045 Bump screengrab from 2.1.0 to 2.1.1
Bumps [screengrab](https://github.com/fastlane/fastlane) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/fastlane/fastlane/releases)
- [Commits](https://github.com/fastlane/fastlane/compare/2.1.0...2.1.1)

---
updated-dependencies:
- dependency-name: tools.fastlane:screengrab
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-18 01:20:19 +00:00
Álvaro Brey Vilas a90487a261 scripts: Have Drone properly signoff commits so that it doesn't break DCO
Use git env variables to force a valid email

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-15 10:42:12 +02:00
Andy Scherzinger b96b2f2ff8 align search bar text with items
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-14 16:06:25 +02:00
Andy Scherzinger dd00998c1a make search bar more circular
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-14 16:06:21 +02:00
Álvaro Brey db46d46ab7 Merge pull request #9086 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-7.0.3
Bump gradle from 7.0.2 to 7.0.3
2021-10-14 16:04:23 +02:00
drone 7645b18c1e Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-10-14 12:46:12 +00:00
dependabot[bot] 7a940f5c0b Bump gradle from 7.0.2 to 7.0.3
Bumps gradle from 7.0.2 to 7.0.3.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-14 12:46:12 +00:00
Álvaro Brey 2be39f5586 Merge pull request #9085 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.20
Bump byteBuddyVersion from 1.11.19 to 1.11.20
2021-10-14 14:36:07 +02:00
Álvaro Brey Vilas 267c4c2b72 pre-push hook: Exclude merges from signoff check
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-13 09:55:07 +02:00
dependabot[bot] fa3380c464 Bump byteBuddyVersion from 1.11.19 to 1.11.20
Bumps `byteBuddyVersion` from 1.11.19 to 1.11.20.

Updates `byte-buddy` from 1.11.19 to 1.11.20
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.19...byte-buddy-1.11.20)

Updates `byte-buddy-android` from 1.11.19 to 1.11.20
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.19...byte-buddy-1.11.20)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-12 01:04:27 +00:00
Nextcloud bot 6b855fb2f9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-10 03:51:38 +00:00
Álvaro Brey Vilas e579dabe7d Revert "AndroidManifest: don't request WRITE_EXTERNAL_STORAGE above api 29"
Wrong branch!

This reverts commit 91cf4ef271.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-08 15:43:27 +02:00
Álvaro Brey Vilas 91cf4ef271 AndroidManifest: don't request WRITE_EXTERNAL_STORAGE above api 29
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-08 15:29:53 +02:00
Álvaro Brey 75aab23f49 Merge pull request #9067 from nextcloud/fix-crash-when-searching-text-in-preview
Check if UI bindings are valid when selecting preview text
2021-10-08 08:54:14 +02:00
Chris Narkiewicz ee4808213b Deprecate FileDataStorageManager constructors depending on legacy Account
This commit deprecates constructors using legacy platform Account type
and wraps them using new API accepting User model.

All calls to FileDataStorageManager constructors that were trivially
portable without are updated as well. Places where passing new type
requires more risku work were left out for now.

FileDataStorageManager still uses Account internally - modifying this
requires getting rid of all legacy constructors first.

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-08 00:04:54 +01:00
Chris Narkiewicz 0af07dd015 Check if UI bindings are valid when selecting preview text
Moved text marking logic into a separate method and extracted
preconditions out from the ifology ladder.

Fixes #9018

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-07 21:27:34 +01:00
Álvaro Brey 302c927bec Merge pull request #8727 from nextcloud/migrate-synchronize-folder-operation-to-new-user-model
Migrate SynchronizeFolderOperation to new User model
2021-10-07 16:43:48 +02:00
Álvaro Brey c71f7d235e Merge pull request #9064 from nextcloud/chore/more-test-retry
LoginIT: Add retry test rule
2021-10-07 09:50:31 +02:00
Álvaro Brey f7216cfbca Merge pull request #9068 from nextcloud/fix-npe-in-file-detail-fragment
Do not mark comments as read when FileDetailActivitiesFragment is detached
2021-10-07 09:20:10 +02:00
Álvaro Brey Vilas 81b133adc7 LoginIT: Add retry test rule
Flaaaaaaky.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-07 07:15:31 +00:00
Álvaro Brey 65f6c194ce Merge pull request #9065 from nextcloud/suppress-fullscreen-option-for-audio-preview
Suppress fullscreen option when previewing audio files
2021-10-07 08:40:39 +02:00
Nextcloud bot 80f4bf8be8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-07 03:52:52 +00:00
Chris Narkiewicz e1ce779f04 Do not mark comments as read when FileDetailActivitiesFragment is detached
Fixes #8994

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-06 23:02:55 +01:00
Chris Narkiewicz 3db40786e0 Migrate SynchronizeFolderOperation to new User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-06 22:17:45 +01:00
Chris Narkiewicz 3250c5c3fe Suppress fullscreen option when previewing audio files
Fixes #8903

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-10-06 22:14:26 +01:00
Andy Scherzinger 1100c8f2a2 Merge pull request #9009 from nextcloud/AS_GradleAGP702
AS Arctic Fox | 2020.3.1 Update to Gradle/AGP 7.0.2
2021-10-06 21:34:51 +02:00
Álvaro Brey Vilas 6086836f63 Force JaCoCo version 0.8.7
Fixes crashes with Kotlin 1.5 + Android Gradle Plugin 7.x

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-06 12:35:51 +02:00
Álvaro Brey 82f891b088 Merge pull request #9063 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.19
Bump byteBuddyVersion from 1.11.18 to 1.11.19
2021-10-06 11:02:19 +02:00
Andy ScherzingerandtobiasKaminsky 6cf37e32d9 add missing changes from #8781
Signed-off-by: Andy Scherzinger <[email protected]>
Co-Authored-by: tobiasKaminsky <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 9c432b5655 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger d42b86c0eb spotbugs: remove primitive boxing
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger c2a6e587e8 spotbugs: remove redundant nullcheck of doubleCheck
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger ec59542f5a bump score due to AGP upgrade
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 2fc814bf39 lint: Using android:onClick on older version of the platform is broken
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 9e5fbf9397 use latest Android docker image
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 1a7d8a7491 Update GH actions to Java 11
Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
Andy Scherzinger 504366d7db AS Arctic Fox | 2020.3.1 Update to Gradle/AGP 7.0.2
Removed obsolete DSL element 'dexOptions'

It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.

Signed-off-by: Andy Scherzinger <[email protected]>
2021-10-06 08:26:25 +00:00
dependabot[bot] b5056295b5 Bump byteBuddyVersion from 1.11.18 to 1.11.19
Bumps `byteBuddyVersion` from 1.11.18 to 1.11.19.

Updates `byte-buddy` from 1.11.18 to 1.11.19
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.18...byte-buddy-1.11.19)

Updates `byte-buddy-android` from 1.11.18 to 1.11.19
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.18...byte-buddy-1.11.19)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-06 01:13:03 +00:00
Álvaro Brey 87f7015ef7 Merge pull request #8991 from nextcloud/dependabot/gradle/kotlin_version-1.5.31
Bump kotlin_version from 1.4.32 to 1.5.31
2021-10-05 10:21:30 +02:00
Álvaro Brey Vilas 4f91bcf6d0 build: Use jacoco 0.8.7 for compatibility with Kotlin 1.5
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-10-05 07:18:24 +00:00
dependabot[bot] 17555c99c5 Bump kotlin_version from 1.4.32 to 1.5.31
Bumps `kotlin_version` from 1.4.32 to 1.5.31.

Updates `kotlin-gradle-plugin` from 1.4.32 to 1.5.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib` from 1.4.32 to 1.5.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-10-05 07:18:24 +00:00
Nextcloud bot 1b0f9bbbf0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-10-05 03:50:29 +00:00
Álvaro Brey 011e3e1990 Merge pull request #9054 from nextcloud/dependabot/gradle/daggerVersion-2.39.1
Bump daggerVersion from 2.39 to 2.39.1
2021-10-04 09:24:55 +02:00
dependabot[bot] 97f50874d4 Bump daggerVersion from 2.39 to 2.39.1
Bumps `daggerVersion` from 2.39 to 2.39.1.

Updates `dagger` from 2.39 to 2.39.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.39...dagger-2.39.1)

Updates `dagger-android` from 2.39 to 2.39.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.39...dagger-2.39.1)

Updates `dagger-android-support` from 2.39 to 2.39.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.39...dagger-2.39.1)

Updates `dagger-compiler` from 2.39 to 2.39.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.39...dagger-2.39.1)

Updates `dagger-android-processor` from 2.39 to 2.39.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.39...dagger-2.39.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] <[email protected]>
2021-10-04 01:33:06 +00:00
Álvaro Brey 75a964069f Merge pull request #9038 from nextcloud/dependabot/gradle/daggerVersion-2.39
Bump daggerVersion from 2.38.1 to 2.39
2021-10-01 11:50:17 +02:00
Álvaro Brey bb8fbecd86 Merge pull request #9045 from nextcloud/codecov-no-ci
Codecov: don't require CI to pass
2021-10-01 11:30:37 +02:00
dependabot[bot] 437ad2ae40 Bump daggerVersion from 2.38.1 to 2.39
Bumps `daggerVersion` from 2.38.1 to 2.39.

Updates `dagger` from 2.38.1 to 2.39
- [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.38.1...dagger-2.39)

Updates `dagger-android` from 2.38.1 to 2.39
- [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.38.1...dagger-2.39)

Updates `dagger-android-support` from 2.38.1 to 2.39
- [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.38.1...dagger-2.39)

Updates `dagger-compiler` from 2.38.1 to 2.39
- [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.38.1...dagger-2.39)

Updates `dagger-android-processor` from 2.38.1 to 2.39
- [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.38.1...dagger-2.39)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-30 12:54:32 +00:00
Álvaro Brey Vilas 45e6388e0d Codecov: don't require CI to pass
We have 3 independent builds in drone and we still want to see codecov if one of the other fails

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-30 12:54:00 +02:00
Álvaro Brey d2859fcc2d Merge pull request #9039 from nextcloud/fixHasFixedSize
Remove setHasFixedSize as it is not needed
2021-09-30 09:20:30 +02:00
tobiasKaminsky 68caad4b39 Remove setHasFixedSize as it is not needed
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-30 07:07:21 +02:00
Álvaro Brey 75924576d6 Merge pull request #9033 from nextcloud/testAgainstStable22
Test against stable 22
2021-09-29 17:29:02 +02:00
tobiasKaminsky dedbc5785b Test against stable 22
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-29 12:54:36 +00:00
Álvaro Brey 7fd8724473 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Álvaro Brey <[email protected]>
2021-09-29 12:28:59 +00:00
Álvaro Brey 79864037e4 Merge pull request #8997 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.18
Bump byteBuddyVersion from 1.11.15 to 1.11.18
2021-09-29 13:25:01 +02:00
Álvaro Brey 132431b6ce Merge pull request #8998 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.15.1
Bump exoplayer from 2.14.2 to 2.15.1
2021-09-29 13:24:08 +02:00
Álvaro Brey a8ccc283f2 Merge pull request #9008 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.1
Bump constraintlayout from 2.1.0 to 2.1.1
2021-09-29 13:23:39 +02:00
dependabot[bot] ed9e427ed0 Bump exoplayer from 2.14.2 to 2.15.1
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.14.2 to 2.15.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.14.2...r2.15.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-29 11:08:24 +00:00
Álvaro Brey 120f940a7a Merge pull request #9021 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.8.0
Bump emoji-google from 0.7.0 to 0.8.0
2021-09-29 13:02:44 +02:00
dependabot[bot] e516bda462 Bump constraintlayout from 2.1.0 to 2.1.1
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.0 to 2.1.1.
- [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] <[email protected]>
2021-09-29 11:02:05 +00:00
Álvaro Brey 4ec71da7a1 Merge pull request #9032 from nextcloud/reAddRetryTestRule
Re-add retryTestRule
2021-09-29 12:52:51 +02:00
Tobias Kaminsky ecbb64bbba Merge pull request #8831 from hrk/spotbugs-boxed-primitive-for-compare
Fix: boxed primitive for compare
2021-09-29 12:18:03 +02:00
Álvaro Brey Vilas c1092d15c4 EndToEndRandomIT: also add RetryTestRule
Flaaaky

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-29 09:27:08 +00:00
tobiasKaminsky aee16ec64a Re-add retryTestRule
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-29 09:27:08 +00:00
Tobias Kaminsky 770369477a Merge pull request #9027 from nextcloud/fix-delete-old-comments-again
scripts/drone: Use deleteOldComments everywhere
2021-09-29 11:25:20 +02:00
Álvaro Brey Vilas 3010bb2977 scripts/drone: Use deleteOldComments everywhere
This removes duplication between deleteOldComments and deleteOutdatedComments.

Additionally, deleteOutdatedComments was broken anyway, and IT/drone test comments were not being deleted.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-29 08:30:58 +00:00
Álvaro Brey a4f3268074 Merge pull request #8703 from nextcloud/screenshot
Enhance screenshot handling
2021-09-29 10:29:23 +02:00
tobiasKaminsky a57f8eb989 Enhance screenshot handling
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-29 09:16:10 +02:00
Nextcloud bot 545197d68c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-28 03:57:17 +00:00
dependabot[bot] 7ab9e73e13 Bump emoji-google from 0.7.0 to 0.8.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/vanniktech/Emoji/releases)
- [Changelog](https://github.com/vanniktech/Emoji/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vanniktech/Emoji/compare/0.7.0...0.8.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-28 01:05:10 +00:00
Andy Scherzinger cfae25c137 Merge pull request #8818 from binsky08/add-sso-patch-method
add custom PatchMethod class to use http PATCH requests with the Nextcloud SSO api
2021-09-27 12:09:28 +02:00
Tobias Kaminsky 7f9bc4b948 Merge pull request #9014 from nextcloud/hooks-improvement
Minor improvements to git hooks
2021-09-27 12:01:03 +02:00
Álvaro Brey Vilas a38edb92dd Improvements to git hooks
- pre-commit: Suppress all output and show reduced results.
   This is more concise and avoids unreadable errors when committing from an IDE
 - pre-push: Format with shell formatter, fix typo

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-27 11:42:20 +02:00
Nextcloud bot c5a06b7225 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-26 03:58:45 +00:00
Andy Scherzinger 611a3a221b Merge pull request #9002 from nextcloud/git-hooks
Add QOL git hooks and gradle task to install them
2021-09-25 17:31:15 +02:00
Nextcloud bot 5b44ea2408 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-25 03:57:30 +00:00
Álvaro Brey Vilas 9a1dfc1627 build.gradle: installGitHooks: add description and group
So it shows up properly in gradle tasks

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-24 15:13:26 +02:00
Álvaro Brey Vilas 556982ad8b Add simple git hooks and gradle task to install them
- Pre-commit hook checks ktlint and detekt
 - Pre-push hook checks signoff

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-24 14:07:11 +02:00
Nextcloud bot 27dd912bff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-23 04:16:07 +00:00
dependabot[bot] 8f4ec8da18 Bump byteBuddyVersion from 1.11.15 to 1.11.18
Bumps `byteBuddyVersion` from 1.11.15 to 1.11.18.

Updates `byte-buddy` from 1.11.15 to 1.11.18
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.15...byte-buddy-1.11.18)

Updates `byte-buddy-android` from 1.11.15 to 1.11.18
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.15...byte-buddy-1.11.18)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-23 01:04:57 +00:00
Nextcloud bot 7a003bcdab [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-22 03:59:48 +00:00
Timo Triebensky 5e6e3d4800 Merge branch 'master' into add-sso-patch-method 2021-09-21 11:39:25 +02:00
Nextcloud bot ede8995e3b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-20 03:56:02 +00:00
Nextcloud bot aa415e6b55 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-19 03:56:30 +00:00
Nextcloud bot f1cb45ab30 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-18 04:01:05 +00:00
Nextcloud bot 3e6c9627d1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-17 03:55:56 +00:00
Álvaro Brey d8fe4cc0a0 Merge pull request #8967 from nextcloud/fix-delete-snapshot-comments
Fix old screenshot test comments deletion
2021-09-15 15:02:47 +02:00
Nextcloud bot 2866bc3898 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-15 03:58:40 +00:00
Álvaro Brey Vilas ab692d92a7 scripts: Fix deleteOldComments.sh
* Get comments from github-actions, not only our android bot
 * Fix count (was broken for 0 comments) and only try to delete if count > 0

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-14 10:49:07 +02:00
Álvaro Brey Vilas 6c176c4802 deleteOldComments: fix github token var name
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-14 07:50:24 +00:00
Álvaro Brey Vilas a621e29f18 Revert "scripts: Remove deleteOldComments.sh"
This reverts commit 131373f066.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-14 07:50:24 +00:00
Nextcloud bot 70daf0b327 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-14 04:03:14 +00:00
Álvaro Brey 9025f6c3ac Merge pull request #8973 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.5
Bump spotbugs-gradle-plugin from 4.7.4 to 4.7.5
2021-09-13 15:09:19 +02:00
Álvaro Brey c94311a069 Merge pull request #8972 from nextcloud/dependabot/gradle/com.googlecode.ez-vcard-ez-vcard-0.11.3
Bump ez-vcard from 0.11.2 to 0.11.3
2021-09-13 15:08:51 +02:00
drone 8a59cd9c87 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-09-13 09:51:17 +00:00
drone e78893b1f8 Merge commit '7398e64eec72f45ba941f50cbcba67a80d77bce5' 2021-09-13 09:32:18 +00:00
Nextcloud bot 00fa174b38 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-13 03:58:38 +00:00
dependabot[bot] 7398e64eec Bump spotbugs-gradle-plugin from 4.7.4 to 4.7.5
Bumps spotbugs-gradle-plugin from 4.7.4 to 4.7.5.

---
updated-dependencies:
- dependency-name: gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-13 01:16:53 +00:00
dependabot[bot] 4d746a0176 Bump ez-vcard from 0.11.2 to 0.11.3
Bumps [ez-vcard](https://github.com/mangstadt/ez-vcard) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/mangstadt/ez-vcard/releases)
- [Commits](https://github.com/mangstadt/ez-vcard/compare/0.11.2...0.11.3)

---
updated-dependencies:
- dependency-name: com.googlecode.ez-vcard:ez-vcard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-13 01:16:32 +00:00
Nextcloud bot 81799410be [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-12 04:00:37 +00:00
Nextcloud bot a057dafab3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-11 03:57:15 +00:00
Andy Scherzinger bd67dd238e Merge pull request #8965 from nextcloud/Valdnet-patch-1
l10n: Spelling unification
2021-09-10 15:07:40 +02:00
Valdnet eaf9f0ca80 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <[email protected]>
2021-09-10 12:11:47 +02:00
Nextcloud bot 77d0b06105 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-10 04:08:54 +00:00
Andy Scherzinger d98427fdc1 Merge pull request #8955 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.4
Bump spotbugs-gradle-plugin from 4.7.3 to 4.7.4
2021-09-09 16:02:21 +02:00
dependabot[bot] e5d9b75b4d Bump spotbugs-gradle-plugin from 4.7.3 to 4.7.4
Bumps spotbugs-gradle-plugin from 4.7.3 to 4.7.4.

---
updated-dependencies:
- dependency-name: gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-09 12:00:21 +00:00
Andy Scherzinger 865a59336b Merge pull request #8656 from nextcloud/remove-account-from-thumbnail-task
Migrate ThumbnailCacheManager to User model
2021-09-09 13:58:59 +02:00
Nextcloud bot 6517be09df [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-09 03:57:32 +00:00
drone 50e0cef895 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-09-08 10:39:22 +00:00
Chris Narkiewicz f134cf4cd3 Migrate ThumbnailCacheManager to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-09-08 10:39:22 +00:00
Andy Scherzinger bf3a6fb0c3 Merge pull request #8954 from ANUKULJHA1506/master
Update README.md
2021-09-08 12:18:31 +02:00
Tobias Kaminsky 7baa1aa697 Merge pull request #8936 from nextcloud/minor-script-improvements
Minor script improvements
2021-09-08 11:26:17 +02:00
Nextcloud bot c6610937f7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-08 03:54:26 +00:00
ANUKULJHA1506 336c5c84c4 Update README.md 2021-09-07 13:27:47 +05:30
Nextcloud bot 7ad1cce4df [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-07 03:58:10 +00:00
Andy Scherzinger 0d90e0a94b Merge pull request #8925 from t-m-w/master
Fix opening downloaded files from Documents Provider when offline (#5265)
2021-09-06 16:23:35 +02:00
t-m-w 3fc5be9b07 Fix opening downloaded files when offline (#5265)
Signed-off-by: t-m-w <[email protected]>
2021-09-06 13:26:04 +00:00
Álvaro Brey 85a43e838e Merge pull request #8900 from nextcloud/dependabot/gradle/mockitoVersion-3.12.4
Bump mockitoVersion from 3.11.2 to 3.12.4
2021-09-06 14:12:42 +02:00
dependabot[bot] f7e629da86 Bump mockitoVersion from 3.11.2 to 3.12.4
Bumps `mockitoVersion` from 3.11.2 to 3.12.4.

Updates `mockito-core` from 3.11.2 to 3.12.4
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v3.12.4)

Updates `mockito-android` from 3.11.2 to 3.12.4
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v3.12.4)

---
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] <[email protected]>
2021-09-06 11:22:15 +00:00
Álvaro Brey Vilas 131373f066 scripts: Remove deleteOldComments.sh
Only used by screenShotTest.yml, but uploadReports.sh already
has a function for the same purpose.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-06 12:08:27 +02:00
Álvaro Brey Vilas f3f14bfcc4 scripts:uploadReport: Fix git token usage
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-06 11:29:46 +02:00
Tobias Kaminsky 33fa8283cf Merge pull request #8933 from nextcloud/test/revert-cotech-hwsecurity
Revert "Bump hwsecurity-fido from 4.1.0 to 4.4.0"
2021-09-06 10:56:40 +02:00
Nextcloud bot 7e1cb0f0df [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-06 03:57:12 +00:00
Andy Scherzinger 6343afb38d Merge pull request #8939 from nextcloud/Valdnet-patch-1
Change to a capital letter
2021-09-05 18:50:18 +02:00
Valdnet 6a65298699 Change to a capital letter
Signed-off-by: Valdnet <[email protected]>
2021-09-05 13:10:18 +02:00
Nextcloud bot 194ca7885c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-05 03:56:23 +00:00
Nextcloud bot fb3957423f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-04 03:54:41 +00:00
Álvaro Brey Vilas 47689c938c scripts:uploadReport: Fix github authorization
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 13:09:43 +02:00
Álvaro Brey Vilas 4121cd9e50 androidScreenshotTest: Use full path to emulator
In some systems (like mine) emulator will fail if not called by full path

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 12:37:55 +02:00
Álvaro Brey Vilas 6ab58b7b1a scripts: androidScreenshotTest: Fail on first error
Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 12:29:58 +02:00
Álvaro Brey aa897677ac Merge pull request #8934 from nextcloud/shotWorksAgain
Replace Facebook lib to get screenshots again
2021-09-03 11:55:29 +02:00
Tobias KaminskyandÁlvaro Brey Vilas f6fbfbd4c5 Notification buttons enhancement (#8932)
* Show buttons:
two or primary and more option menu

Signed-off-by: tobiasKaminsky <[email protected]>

* NotificationsActivityIT: fix linting issues

Signed-off-by: Álvaro Brey Vilas <[email protected]>

* Fix kotlin syntax

Signed-off-by: tobiasKaminsky <[email protected]>

Co-authored-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 11:36:14 +02:00
Álvaro Brey Vilas 9f5db12d13 Downgrade fido version to 4.1.0
This prevents crashes described in https://github.com/nextcloud/android/issues/8585

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-03 11:23:47 +02:00
tobiasKaminsky a35a6a3417 Revert Shot to get screenshots again
Signed-off-by: tobiasKaminsky <[email protected]>
2021-09-03 07:48:47 +02:00
Tobias Kaminsky fa30776100 Merge pull request #8931 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.15
Bump byteBuddyVersion from 1.11.12 to 1.11.15
2021-09-03 07:23:05 +02:00
dependabot[bot] 6d39f4963c Bump byteBuddyVersion from 1.11.12 to 1.11.15
Bumps `byteBuddyVersion` from 1.11.12 to 1.11.15.

Updates `byte-buddy` from 1.11.12 to 1.11.15
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.12...byte-buddy-1.11.15)

Updates `byte-buddy-android` from 1.11.12 to 1.11.15
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.12...byte-buddy-1.11.15)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-09-02 12:07:06 +00:00
Tobias Kaminsky 0793f23c0d Merge pull request #8928 from nextcloud/exclude-xpp3
build: Exclude xpp3 dependency from library
2021-09-02 14:05:30 +02:00
Álvaro Brey Vilas ca1d671707 build: Exclude xpp3 dependency from library
Although this dep is excluded in the library itself, Gradle still
includes it because it doesn't respect exclusions for transitive dependencies.
(see https://github.com/gradle/gradle/issues/1473)

This would be okay if it wasn't for the fact that xpp3 forces an old Junit version
that breaks the integration tests.

Signed-off-by: Álvaro Brey Vilas <[email protected]>
2021-09-02 11:18:07 +02:00
Nextcloud bot 03a1c31a86 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-02 03:55:14 +00:00
Nextcloud bot 052df0f42c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-09-01 03:54:48 +00:00
Andy Scherzinger 7b1efc7505 Merge pull request #8917 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.18.1
Bump detekt-gradle-plugin from 1.18.0 to 1.18.1
2021-08-31 10:40:44 +02:00
dependabot[bot] 63284e3aa5 Bump detekt-gradle-plugin from 1.18.0 to 1.18.1
Bumps detekt-gradle-plugin from 1.18.0 to 1.18.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-31 01:05:10 +00:00
Tom Bowles 721efe3445 Handle 'Stream with...' option in PreviewMediaFragment 2021-08-31 00:23:46 +01:00
Tobias Kaminsky 7aeb5e7a9e Merge pull request #8886 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.8.8
Bump gson from 2.8.7 to 2.8.8
2021-08-30 11:53:04 +02:00
Nextcloud bot 8591733fa6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-27 03:56:32 +00:00
Nextcloud bot 7039208461 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-25 03:54:06 +00:00
Nextcloud bot 5eba647fb5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-24 03:55:02 +00:00
Nextcloud bot 337ca8393b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-23 03:52:02 +00:00
dependabot[bot] 92d3b9c55b Bump gson from 2.8.7 to 2.8.8
Bumps [gson](https://github.com/google/gson) from 2.8.7 to 2.8.8.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.7...gson-parent-2.8.8)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-23 01:12:44 +00:00
Nextcloud bot 95e4e8a7a0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-21 03:57:24 +00:00
Nextcloud bot 6b902c68bf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-20 03:55:28 +00:00
Andy Scherzinger 4c44358c0f Merge pull request #8868 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.3
Bump spotbugs-gradle-plugin from 4.7.2 to 4.7.3
2021-08-19 23:00:26 +02:00
Andy Scherzinger a1700664d2 bump due to spotbugs update
Signed-off-by: Andy Scherzinger <[email protected]>
2021-08-19 21:53:15 +02:00
dependabot[bot] 9c468b3b9f Bump spotbugs-gradle-plugin from 4.7.2 to 4.7.3
Bumps spotbugs-gradle-plugin from 4.7.2 to 4.7.3.

---
updated-dependencies:
- dependency-name: gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-19 15:41:30 +00:00
Andy Scherzinger d0266cf6e0 Merge pull request #8871 from nextcloud/changelog-master-stable-3.17.0
Add changelog for 3.17.0
2021-08-19 17:05:45 +02:00
tobiasKaminsky 585a850a54 Add changelog for 3.17.0
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-19 11:27:29 +02:00
Tobias Kaminsky be4efff7b6 Merge pull request #8861 from alvarobrey/skip-QA-for-forks
CI:skip QA build if keystore pass is not available
2021-08-19 11:06:50 +02:00
Nextcloud bot 9190c3afba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-19 08:42:27 +00:00
Nextcloud bot 5589d5eaa1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-19 08:39:27 +00:00
Nextcloud bot b19ee307c9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-19 07:06:30 +00:00
Nextcloud bot dc27330264 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-19 06:34:07 +00:00
Nextcloud bot f9813bcdcb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-18 03:55:17 +00:00
Andy Scherzinger c006691de8 Merge pull request #8712 from nextcloud/addShareTest
Add shares to folder and check them
2021-08-17 16:08:00 +02:00
Nextcloud bot 3e062a7f8c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-16 05:29:21 +00:00
Álvaro Brey 6863a8a637 CI:skip QA build if keystore pass is not available
This is just another step towards green checks on PRs :)

There is no way to skip the whole workflow depending on whether it is
a PR from a fork or not. The only workaround is to check whether secrets are present or not.

So, I've added a step to check if KS_PASS is empty, and set an output depending on that.
If it is empty, we just skip the rest of the steps.

To avoid the `if` repetition, a separate job can be used and then the whole `qa` job can
depend on its outputs. But that would add another "check" in the github UI.

Inspired by https://github.com/nextcloud/android/pull/8791#issuecomment-890524333

Signed-off-by: Álvaro Brey <[email protected]>
2021-08-16 00:42:30 +02:00
Andy Scherzinger b669fa14ad Merge pull request #8854 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.18.0
Bump detekt-gradle-plugin from 1.17.1 to 1.18.0
2021-08-13 18:13:05 +02:00
dependabot[bot] c2182deddf Bump detekt-gradle-plugin from 1.17.1 to 1.18.0
Bumps detekt-gradle-plugin from 1.17.1 to 1.18.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] <[email protected]>
2021-08-13 01:07:44 +00:00
binsky f25d85a33e increase SpotBugs to 464 to accept the new PatchMethod class for the SSO api
Signed-off-by: binsky <[email protected]>
2021-08-12 15:50:47 +02:00
Tobias Kaminsky 17d2cec881 Merge pull request #8532 from nextcloud/removed-account-from-text-preview-fragments
Removed Account dependency from preview fragments
2021-08-11 11:44:26 +02:00
Tobias Kaminsky 4bd14b34b0 Merge pull request #8577 from nextcloud/tokenRemoval
Delete app password on account removal
2021-08-11 11:44:15 +02:00
tobiasKaminsky ee14d7e135 Add shares to folder and check them
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-11 11:43:20 +02:00
Tobias Kaminsky 8090cd0e13 Merge pull request #8833 from nextcloud/fixNPE
catch AccountNotFoundException from createNextcloudClient
2021-08-11 09:10:10 +02:00
Nextcloud bot 44972891c9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-10 04:11:41 +00:00
tobiasKaminsky 00c14377f7 catch AccountNotFoundException from createNextcloudClient
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-09 08:50:01 +02:00
Nextcloud bot 31d515c66c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-09 03:55:52 +00:00
Luca Santarelli f4597d879a Fix: boxed primitive for compare
[Broken Window Theory] As per current SpotBugs report, replace all usages
of boxed Long.compareTo(Long) with Long.compare(long, long)
2021-08-08 23:24:59 +02:00
Andy Scherzinger b23f7b9750 Merge pull request #8822 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.42.1
Bump ktlint from 0.42.0 to 0.42.1
2021-08-08 21:53:05 +02:00
Nextcloud bot ed87079885 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-08 03:51:01 +00:00
binsky 238c7d610d add license header, clear comments in PatchMethod class
Signed-off-by: binsky <[email protected]>
2021-08-06 22:06:16 +02:00
dependabot[bot] 3f176674b2 Bump ktlint from 0.42.0 to 0.42.1
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.42.0 to 0.42.1.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.42.0...0.42.1)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 19:24:18 +00:00
Andy Scherzinger cfa12f3c59 Merge pull request #8638 from nextcloud/dependabot/gradle/tools.fastlane-screengrab-2.1.0
Bump screengrab from 2.0.0 to 2.1.0
2021-08-06 21:23:10 +02:00
Andy Scherzinger d46dfa8ded ktlint: reformat kotlin
Signed-off-by: Andy Scherzinger <[email protected]>
2021-08-06 16:05:50 +02:00
dependabot[bot] c521a875ae Bump screengrab from 2.0.0 to 2.1.0
Bumps [screengrab](https://github.com/fastlane/fastlane) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/fastlane/fastlane/releases)
- [Commits](https://github.com/fastlane/fastlane/compare/2.0.0...2.1.0)

---
updated-dependencies:
- dependency-name: tools.fastlane:screengrab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 12:27:20 +00:00
Andy Scherzinger e4d06418ce Merge pull request #8641 from nextcloud/bumpDroneServer
Use NC 21 for drone
2021-08-06 14:26:35 +02:00
Tobias Kaminsky 27b808d8cd Merge pull request #8742 from nextcloud/dependabot/gradle/mockitoVersion-3.11.2
Bump mockitoVersion from 3.11.0 to 3.11.2
2021-08-06 11:38:49 +02:00
Tobias Kaminsky eceb3a13d4 Merge pull request #8365 from af7567/notifications
Use unique requestcode for notification PendingIntents
2021-08-06 11:25:49 +02:00
tobiasKaminsky cd10e2db15 Delete app password on account removal
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-06 11:21:37 +02:00
Chris Narkiewicz 0e71f05931 Removed Account dependency from preview fragments
Remove Account dependency in text preview fragment.
Remove Account dependency from outdated JavaDoc in
image and video preview fragments.

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-08-06 08:26:58 +00:00
Tobias Kaminsky 4a5fc357c8 Merge pull request #8737 from hrk/patch-1
Avoid redundant call to getConnectivity()
2021-08-06 10:23:17 +02:00
tobiasKaminsky 8f176cb46f Use NC 21 for drone
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-06 08:15:52 +00:00
dependabot[bot] e6074c918f Bump mockitoVersion from 3.11.0 to 3.11.2
Bumps `mockitoVersion` from 3.11.0 to 3.11.2.

Updates `mockito-core` from 3.11.0 to 3.11.2
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.2)

Updates `mockito-android` from 3.11.0 to 3.11.2
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 08:11:17 +00:00
Tobias Kaminsky d2df21af34 Merge pull request #8749 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.3.6
Bump fragment-ktx from 1.3.4 to 1.3.6
2021-08-06 10:10:03 +02:00
Tobias Kaminsky 299fb77f15 Merge pull request #8807 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.3
Bump exifinterface from 1.3.2 to 1.3.3
2021-08-06 10:09:34 +02:00
Tobias Kaminsky 5f652ba81c Merge pull request #8821 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.12
Bump byteBuddyVersion from 1.11.2 to 1.11.12
2021-08-06 09:39:44 +02:00
Tobias Kaminsky edf693ce7d Merge pull request #8819 from nextcloud/dependabot/gradle/com.karumi-shot-5.11.2
Bump shot from 5.11.1 to 5.11.2
2021-08-06 07:24:32 +02:00
dependabot[bot] 38b84562ad Bump byteBuddyVersion from 1.11.2 to 1.11.12
Bumps `byteBuddyVersion` from 1.11.2 to 1.11.12.

Updates `byte-buddy` from 1.11.2 to 1.11.12
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.2...byte-buddy-1.11.12)

Updates `byte-buddy-android` from 1.11.2 to 1.11.12
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.2...byte-buddy-1.11.12)

---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 05:24:12 +00:00
dependabot[bot] 97e958f7f5 Bump exifinterface from 1.3.2 to 1.3.3
Bumps exifinterface from 1.3.2 to 1.3.3.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 05:23:50 +00:00
Tobias Kaminsky 17a26ba3ef Merge pull request #8748 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.14.2
Bump exoplayer from 2.13.2 to 2.14.2
2021-08-06 07:22:59 +02:00
Nextcloud bot a75dde5283 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-06 04:03:50 +00:00
dependabot[bot] e6a63f8445 Bump shot from 5.11.1 to 5.11.2
Bumps [shot](https://github.com/karumi/shot) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/karumi/shot/releases)
- [Commits](https://github.com/karumi/shot/compare/5.11.1...5.11.2)

---
updated-dependencies:
- dependency-name: com.karumi:shot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-06 01:04:12 +00:00
binsky 55bdbc1f55 add custom PatchMethod class to use http PATCH requests with the Nextcloud SSO api
Signed-off-by: binsky <[email protected]>
2021-08-06 02:24:13 +02:00
dependabot[bot] c23ffe93a6 Bump exoplayer from 2.13.2 to 2.14.2
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.13.2 to 2.14.2.
- [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.13.2...r2.14.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-05 13:16:27 +00:00
Tobias Kaminsky 7eff86cd3d Merge pull request #8812 from nextcloud/bumpFindbugs
Somehow SpotBugs needs to be on 462.
2021-08-05 15:11:13 +02:00
tobiasKaminsky 947d0c5115 Somehow SpotBugs needs to be on 462.
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-05 15:02:46 +02:00
Tobias Kaminsky 709ee086a1 Merge pull request #8809 from nextcloud/fixSSOtest
Fix SSO test
2021-08-05 10:18:12 +02:00
tobiasKaminsky dd46ce928c Fix SSO test
Signed-off-by: tobiasKaminsky <[email protected]>
2021-08-05 09:41:34 +02:00
Tobias Kaminsky 6ca7c9d05f Merge pull request #8776 from nextcloud/dependabot/gradle/daggerVersion-2.38.1
Bump daggerVersion from 2.36 to 2.38.1
2021-08-05 08:52:38 +02:00
Tobias Kaminsky b3d499a8fc Merge pull request #8798 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.0
Bump constraintlayout from 2.0.4 to 2.1.0
2021-08-05 08:52:00 +02:00
Tobias Kaminsky 5b2398bf0c Merge pull request #7995 from nextcloud/parameterV2
SSO: support of parameter v2, which allows to have multiple values for same key
2021-08-05 07:59:21 +02:00
Nextcloud bot 8b0a8b27ac [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-04 03:55:43 +00:00
Tobias Kaminsky 1e84999b35 Merge pull request #8801 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2021-08-03 07:13:10 +02:00
Nextcloud bot 08b2b481fe Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-02 08:44:35 +00:00
Tobias Kaminsky 7f995726b3 Merge pull request #8791 from alvarobrey/fix-connectedTest-crashes
Fix connected test crashes
2021-08-02 08:56:17 +02:00
dependabot[bot] e86ee266d6 Bump constraintlayout from 2.0.4 to 2.1.0
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.0.4 to 2.1.0.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/compare/2.0.4...2.1.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-08-02 01:12:51 +00:00
Nextcloud bot a4ad5848ff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-08-01 03:29:50 +00:00
Álvaro Brey f13ebd3abb Replace server and server.com with an invalid domain everywhere.
This should fix the timeout crashes in screenshot tests.
This also speeds up integration tests significantly, as the resolution fails
immediately, in contrast to the timeout for server.com.

As a bonus, we don't ping server.com from our IPs when running tests :)

I've chosen nextcloud.localhost for a fake domain, but suggestions are welcome.

Signed-off-by: Álvaro Brey <[email protected]>
2021-07-31 18:24:11 +02:00
Álvaro Brey 6f212de7ea androidTest: DialogFragmentIT: remove unneeded shortSleep in @Before
Leftover from testing

Signed-off-by: Álvaro Brey <[email protected]>
2021-07-31 18:24:11 +02:00
Álvaro Brey 2dbf0a313c androidTest: DialogFragmentIT: fix process crash when running tests
This involved:
 1. quitting the opened loopers
 2. force-setting tokens to prevent a NullPointerException in createNextcloudClient,
which also crashed the process because it was in an AsyncTask.

Signed-off-by: Álvaro Brey <[email protected]>
2021-07-31 18:24:11 +02:00
Álvaro Brey ece95ef2c0 SettingsActivityIT: fix crash due to unclosed looper
Signed-off-by: Álvaro Brey <[email protected]>
2021-07-31 18:24:11 +02:00
dependabot[bot] 9b8d85d160 Bump daggerVersion from 2.36 to 2.38.1
Bumps `daggerVersion` from 2.36 to 2.38.1.

Updates `dagger` from 2.36 to 2.38.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.36...dagger-2.38.1)

Updates `dagger-android` from 2.36 to 2.38.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.36...dagger-2.38.1)

Updates `dagger-android-support` from 2.36 to 2.38.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.36...dagger-2.38.1)

Updates `dagger-compiler` from 2.36 to 2.38.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.36...dagger-2.38.1)

Updates `dagger-android-processor` from 2.36 to 2.38.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.36...dagger-2.38.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-30 21:31:43 +00:00
Andy Scherzinger 4332636d78 Merge pull request #8788 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.42.0
Bump ktlint from 0.41.0 to 0.42.0
2021-07-30 23:26:21 +02:00
Tobias Kaminsky 412c5219ea Merge pull request #8779 from nextcloud/fixLogin
Pass user info result upon success
2021-07-30 13:25:51 +02:00
dependabot[bot] f9dae6030b Bump ktlint from 0.41.0 to 0.42.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.41.0...0.42.0)

---
updated-dependencies:
- dependency-name: com.pinterest:ktlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-30 09:51:12 +00:00
Andy Scherzinger dc23baa68f Merge pull request #8787 from nextcloud/dependabot/gradle/com.karumi-shot-5.11.1
Bump shot from 5.11.0 to 5.11.1
2021-07-30 11:49:35 +02:00
Nextcloud bot 7f1f295899 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-30 03:26:58 +00:00
dependabot[bot] a18f6c2fbf Bump shot from 5.11.0 to 5.11.1
Bumps [shot](https://github.com/karumi/shot) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/karumi/shot/releases)
- [Commits](https://github.com/karumi/shot/compare/5.11.0...5.11.1)

---
updated-dependencies:
- dependency-name: com.karumi:shot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-30 01:03:57 +00:00
Nextcloud bot b0538c5967 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-29 03:25:25 +00:00
tobiasKaminsky f5b8bcd906 Pass user info result upon success
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-28 11:17:12 +02:00
Nextcloud bot bbbccd5987 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-28 03:28:19 +00:00
Nextcloud bot 0fcf49beaa [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-27 03:26:47 +00:00
Nextcloud bot ac05b03bae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-26 03:27:48 +00:00
Andy Scherzinger 00327e27b7 Merge pull request #8722 from nextcloud/dependabot/gradle/com.karumi-shot-5.11.0
Bump shot from 5.10.3 to 5.11.0
2021-07-25 17:29:01 +02:00
Andy Scherzinger aea0f28887 explicitely add facedbook-screenshot dependencies
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-25 13:20:55 +02:00
dependabot[bot] 20555e7a88 Bump shot from 5.10.3 to 5.11.0
Bumps [shot](https://github.com/karumi/shot) from 5.10.3 to 5.11.0.
- [Release notes](https://github.com/karumi/shot/releases)
- [Commits](https://github.com/karumi/shot/compare/5.10.3...5.11.0)

---
updated-dependencies:
- dependency-name: com.karumi:shot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-25 10:47:24 +00:00
Andy Scherzinger b8238ca430 Merge pull request #8765 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.3.1
Bump appcompat from 1.3.0 to 1.3.1
2021-07-25 12:40:15 +02:00
Andy Scherzinger e33666b863 Merge pull request #8752 from nextcloud/fixComment
Fix exception when running CommentFileOperation
2021-07-25 10:52:12 +02:00
dependabot[bot] b583953bb2 Bump appcompat from 1.3.0 to 1.3.1
Bumps appcompat from 1.3.0 to 1.3.1.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-24 22:21:28 +00:00
tobiasKaminsky ffcad70c12 Fix exception when running CommentFileOperation
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-25 00:19:18 +02:00
Andy Scherzinger 28a8ee99a6 Merge pull request #8738 from nextcloud/updateBc169
Update bouncycastle to 1.69
2021-07-25 00:18:45 +02:00
Andy Scherzinger feb187b291 Merge pull request #8756 from nextcloud/explicitFDSM
For SyncOperation FileDataStorageManager is required
2021-07-24 20:17:17 +02:00
Andy Scherzinger e95c94939b Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-24 15:23:44 +02:00
tobiasKaminsky 02eb42e42a For SyncOperation FileDataStorageManager is required, therefore this is now part of constructor, whereas it before was only part of .execute()
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-24 15:22:59 +02:00
Andy Scherzinger dcfef5754f Merge pull request #8758 from nextcloud/davChanges
Use new dav
2021-07-24 15:16:34 +02:00
Andy Scherzinger 2be7b3b4dd Merge pull request #8761 from alvarobrey/patch/clean-submodules-info
Remove .gitmodules and references to submodules in SETUP.md
2021-07-24 15:01:29 +02:00
Nextcloud bot dbf433ca69 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-24 03:32:05 +00:00
Álvaro Brey aa36056261 Remove .gitmodules and references to submodules in SETUP.md
While setting up a clone of this repo I noticed that .gitmodules was empty
and that no submodules were being used. However, SETUP.md still referenced them.

This commit cleans that up. The empty .gitmodules is deleted and the references
to modules in SETUP are deleted too.
2021-07-24 00:15:40 +02:00
tobiasKaminsky 3805692fd7 Use new dav
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-23 10:33:05 +02:00
Tobias Kaminsky a66a7e4d9c Merge pull request #8670 from nextcloud/fixSearchTests
Fix tests
2021-07-23 10:31:49 +02:00
Tobias Kaminsky 7dd08fb74c Merge pull request #8759 from nextcloud/fastlaneUpdate
Update bundle for Fastlane
2021-07-23 07:06:39 +02:00
tobiasKaminsky 70218cc7b0 Update bundle for Fastlane
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-23 07:06:12 +02:00
Nextcloud bot cbd36eb47e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-23 03:28:24 +00:00
Andy Scherzinger 18e5edbf4f Merge pull request #8754 from nextcloud/Valdnet-patch-1
Change to uppercase
2021-07-22 13:08:10 +02:00
Valdnet 3d5df69570 Change to uppercase 2021-07-22 10:36:43 +02:00
tobiasKaminsky 870e979f12 Correctly return exit code
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-22 07:40:54 +02:00
tobiasKaminsky 8ac7d46e0f Correctly return exit code
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-22 07:40:20 +02:00
tobiasKaminsky 706beabdc9 Fix tests
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-22 07:40:18 +02:00
Nextcloud bot 6f2ea735a0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-22 03:30:08 +00:00
dependabot[bot] cf9e190399 Bump fragment-ktx from 1.3.4 to 1.3.6
Bumps fragment-ktx from 1.3.4 to 1.3.6.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-22 01:05:39 +00:00
Tobias Kaminsky 29d6edc634 Merge pull request #8739 from nextcloud/fixDocumentsTest
Fix test for DocumentsStorageProvider
2021-07-21 09:36:25 +02:00
tobiasKaminsky dadb52e364 Fix test for DocumentsStorageProvider
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-21 06:45:47 +00:00
Tobias Kaminsky e47c4a7758 Merge pull request #8711 from nextcloud/deleteoutdatedComments
Delete outdated comments before running
2021-07-21 08:44:25 +02:00
Andy Scherzinger f3dd13c7c6 update bouncycastle to 1.69
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-21 06:37:27 +00:00
Tobias Kaminsky 3fef7044c3 Merge pull request #8740 from nextcloud/storageTest
Fix test for FileDataStorageManager
2021-07-21 08:32:44 +02:00
tobiasKaminsky c3846b7d25 Fix test for FileDataStorageManager
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-21 06:01:11 +00:00
Tobias Kaminsky e39379580d Merge pull request #8741 from nextcloud/revertMockitoBump
Mockito 3.11.2 seems to have trouble for us, therefore reverting
2021-07-21 07:59:51 +02:00
tobiasKaminsky 7748306083 Mockito 3.11.2 seems to have trouble for us, therefore reverting
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-21 07:37:26 +02:00
Luca Santarelli c7ca196631 Avoid redundant call to getConnectivity()
[Broken Windows Theory] avoid calling getConnectivity() a second time, since the object is still fresh in the else branch of the check for WiFi.
2021-07-20 09:03:18 +02:00
Nextcloud bot 092b605b4a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-19 06:37:00 +00:00
Andy Scherzinger cc1e1fbd63 Merge pull request #8726 from nextcloud/fix-npe-in-fda-last-displayed-user
Initialize last displayed user to correct empty Optional in FileDisplayActivity
2021-07-18 01:34:02 +02:00
Chris Narkiewicz 3745201b54 Initialize last displayed user to correct empty Optional in FileDisplayActivity
Fixes #8725

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-07-17 23:46:51 +01:00
Andy Scherzinger 9d4d26b5f9 Merge pull request #8724 from nextcloud/dependabot/gradle/com.google.android.material-material-1.4.0
Bump material from 1.3.0 to 1.4.0
2021-07-18 00:24:20 +02:00
dependabot[bot] 1a1cef9860 Bump material from 1.3.0 to 1.4.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.3.0...1.4.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] <[email protected]>
2021-07-17 21:56:42 +00:00
Andy Scherzinger 240c1b5003 Merge pull request #8723 from nextcloud/dependabot/gradle/androidx.test-runner-1.4.0
Bump runner from 1.3.0 to 1.4.0
2021-07-17 23:55:20 +02:00
Andy Scherzinger eba8e93177 unify androidx.test version
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 23:12:29 +02:00
dependabot[bot] b0f5857545 Bump runner from 1.3.0 to 1.4.0
Bumps runner from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 23:12:29 +02:00
Andy Scherzinger 442791200b Merge pull request #8717 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.2
Bump spotbugs-gradle-plugin from 4.7.1 to 4.7.2
2021-07-17 23:05:24 +02:00
Andy Scherzinger c3971575e0 Merge pull request #8721 from nextcloud/dependabot/gradle/androidx.test.ext-junit-1.1.3
Bump junit from 1.1.2 to 1.1.3
2021-07-17 23:05:00 +02:00
dependabot[bot] 17d7910e40 Bump junit from 1.1.2 to 1.1.3
Bumps junit from 1.1.2 to 1.1.3.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 20:42:12 +00:00
Andy Scherzinger a0fce98f85 Merge pull request #8511 from nextcloud/migrate-uploads-storage-manager-to-user
Remove Account from UploadsStorageManager
2021-07-17 22:41:16 +02:00
Andy Scherzinger 75582183e0 Merge pull request #8720 from nextcloud/dependabot/gradle/androidx.test-orchestrator-1.4.0
Bump orchestrator from 1.3.0 to 1.4.0
2021-07-17 22:40:14 +02:00
dependabot[bot] 7e13dc899c Bump orchestrator from 1.3.0 to 1.4.0
Bumps orchestrator from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 20:38:19 +00:00
Andy Scherzinger 4eb2b49e02 Merge pull request #8718 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.2.2
Bump gradle from 4.2.1 to 4.2.2
2021-07-17 22:37:51 +02:00
Andy Scherzinger be1a52a813 bump spotbugs score
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 22:33:02 +02:00
Andy Scherzinger b7bfdc89e2 Merge pull request #8719 from nextcloud/dependabot/gradle/androidx.test-rules-1.4.0
Bump rules from 1.3.0 to 1.4.0
2021-07-17 22:30:03 +02:00
dependabot[bot] d8fcea59c8 Bump rules from 1.3.0 to 1.4.0
Bumps rules from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 18:43:45 +00:00
dependabot[bot] c49b37847d Bump gradle from 4.2.1 to 4.2.2
Bumps gradle from 4.2.1 to 4.2.2.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 18:43:42 +00:00
Andy Scherzinger 9d236a4991 Merge pull request #8613 from nextcloud/dependabot/gradle/mockitoVersion-3.11.2
Bump mockitoVersion from 3.11.0 to 3.11.2
2021-07-17 20:43:18 +02:00
dependabot[bot] b8eb775989 Bump mockitoVersion from 3.11.0 to 3.11.2
Bumps `mockitoVersion` from 3.11.0 to 3.11.2.

Updates `mockito-core` from 3.11.0 to 3.11.2
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.2)

Updates `mockito-android` from 3.11.0 to 3.11.2
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 17:18:25 +00:00
dependabot[bot] 8ff31550f6 Bump spotbugs-gradle-plugin from 4.7.1 to 4.7.2
Bumps spotbugs-gradle-plugin from 4.7.1 to 4.7.2.

---
updated-dependencies:
- dependency-name: gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 17:18:00 +00:00
Andy Scherzinger 035354535a Merge pull request #8715 from nextcloud/dependabot/gradle/androidx.test-core-1.4.0
Bump core from 1.3.0 to 1.4.0
2021-07-17 19:17:36 +02:00
dependabot[bot] 4e8aed0436 Bump core from 1.3.0 to 1.4.0
Bumps core from 1.3.0 to 1.4.0.

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

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-17 16:35:44 +00:00
Andy Scherzinger d6a5e8a40a Merge pull request #8516 from nextcloud/RessourceIDs
Replace Butterknife with native view bindings
2021-07-17 18:34:51 +02:00
Andy Scherzinger 8516e6a4d5 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 16:52:25 +02:00
Andy Scherzinger 2535103a73 remove break due to rebase
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:41 +02:00
Andy Scherzinger c9beb66272 Update WebView
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:41 +02:00
Andy Scherzinger 10a6e519cb Drone: update Lint/spotbugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:40 +02:00
Andy Scherzinger 8cfd9aa8c7 improve spotbugs score
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:40 +02:00
Andy Scherzinger e7a321f0a9 remove obsolete Butterknife dependency
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:40 +02:00
Andy Scherzinger 84edbdedac implement native view bindings in activities/fragments/adapters
Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:40 +02:00
Andy Scherzinger 1fdea011a7 replace switch statements with if/else since resource ids will be non-final in Android Gradle Plugin version 7.0
...so avoid using them in switch case statements.

Signed-off-by: Andy Scherzinger <[email protected]>
2021-07-17 14:16:39 +02:00
Andy Scherzinger 9f1c79494b Merge pull request #8710 from nextcloud/dependabot/gradle/espressoVersion-3.4.0
Bump espressoVersion from 3.3.0 to 3.4.0
2021-07-16 18:44:35 +02:00
Tobias Kaminsky 5e83b6ca90 Merge pull request #8654 from nextcloud/fix-npe-in-preview-media-fragment
Fix NPE when navigating out of PreviewMediaFragment during video loading
2021-07-16 12:02:54 +02:00
Tobias Kaminsky b94a439e4b Merge pull request #8535 from nextcloud/fix-auth-with-uppercase-scheme
Normalize input URL scheme during auth process
2021-07-16 12:01:42 +02:00
Tobias Kaminsky 0c9eb86c68 Merge pull request #8658 from nextcloud/migrate-file-display-activity-to-user-model
Migrate FileDisplayActivity to User model
2021-07-16 12:00:10 +02:00
tobiasKaminsky 14f7dbb3db Delete outdated comments before running
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-16 11:07:23 +02:00
dependabot[bot] 1f15802fdb Bump espressoVersion from 3.3.0 to 3.4.0
Bumps `espressoVersion` from 3.3.0 to 3.4.0.

Updates `espresso-core` from 3.3.0 to 3.4.0

Updates `espresso-contrib` from 3.3.0 to 3.4.0

Updates `espresso-web` from 3.3.0 to 3.4.0

Updates `espresso-accessibility` from 3.3.0 to 3.4.0

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.test.espresso:espresso-contrib
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.test.espresso:espresso-web
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.test.espresso:espresso-accessibility
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-16 09:02:25 +00:00
Tobias Kaminsky 9937274443 Merge pull request #8691 from nextcloud/dependabot/gradle/commons-io-commons-io-2.11.0
Bump commons-io from 2.9.0 to 2.11.0
2021-07-16 11:02:08 +02:00
Tobias Kaminsky 6664a8e5d9 Merge pull request #8655 from nextcloud/remove-unused-method
Remove unused UserListItem.getAccount() method
2021-07-16 11:01:38 +02:00
Tobias Kaminsky bf2685d247 Merge pull request #8543 from nextcloud/darkNcText
Respect dark mode for Web Text Editor
2021-07-16 11:00:46 +02:00
Tobias Kaminsky 2056d44cc8 Merge pull request #8663 from nextcloud/drone
Add stable-* to drone.yml
2021-07-16 10:48:10 +02:00
dependabot[bot] 3b973729e9 Bump commons-io from 2.9.0 to 2.11.0
Bumps commons-io from 2.9.0 to 2.11.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-07-14 01:05:59 +00:00
Nextcloud bot 6b34599103 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-13 03:54:46 +00:00
Nextcloud bot 9fdc4eb2b2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-10 04:07:16 +00:00
Nextcloud bot b33b39cdef [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-09 03:56:01 +00:00
Andy Scherzinger eec5c43c23 Merge pull request #8664 from nextcloud/bumpMaster
Bump master after split off of 3.17
2021-07-06 14:11:27 +02:00
Tobias Kaminsky 646251c197 Merge pull request #8630 from nextcloud/fix/8308/dismiss-service-when-in-backgroud
move service dismissal to handler to prevent race-condition
2021-07-06 09:14:08 +02:00
tobiasKaminsky c875c7e572 Bump master after split off of 3.17
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-06 09:12:56 +02:00
tobiasKaminsky c867764fde Add stable-* to drone.yml
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-06 08:36:34 +02:00
Nextcloud bot 2f7072e720 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-06 03:55:57 +00:00
Chris Narkiewicz c4116456fa Migrate FileDisplayActivity to User model
1. server version is available from User, so we can skip
   redundant retrieval via Account
2. last displayed account can be safely changed to User,
   eliminating name comparison complexities

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-07-04 23:34:39 +01:00
Chris Narkiewicz d99d047885 Remove unused UserListItem.getAccount() method
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-07-04 16:27:10 +01:00
Chris Narkiewicz 39a682fa1d Fix NPE when navigating out of PreviewMediaFragment during video loading
Although original error has been fixed by migration to Exo player,
there is still a potential NPE when fragment went through
onDestroyView().

Fixes #8620

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-07-04 15:18:37 +01:00
Nextcloud bot 7675066907 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-04 03:52:22 +00:00
Andy Scherzinger 005c80ba20 Merge pull request #8631 from nextcloud/feat/rebase-template
Update command-rebase.yml from template
2021-07-02 11:25:46 +02:00
Tobias Kaminsky 33157b5e66 Merge pull request #8639 from nextcloud/shareType
Add new ShareType: GUEST, FEDERATED_GROUP, DECK, DECK_USER
2021-07-02 09:08:11 +02:00
Tobias Kaminsky 16243c2909 Merge pull request #8647 from nextcloud/fixContactBackup
SyncOperations always need fileDataStorageManager: throw an Exception if not properly started
2021-07-02 07:13:54 +02:00
Nextcloud bot dd86175529 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-07-02 05:03:28 +00:00
tobiasKaminsky 262c156fd2 SyncOperation always need fileDataStorageManager: throw an Exception if not properly started
Fix ContactsBackupWork

Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-01 12:04:13 +02:00
tobiasKaminsky 2d9c4176a0 Add new ShareType: GUEST, FEDERATED_GROUP, DECK
Moved SearchRemoteOperation and GetSharesRemoteOperation to use typed response

Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-01 10:14:11 +02:00
tobiasKaminsky 4a6aa837c8 missing share type: federated group
Signed-off-by: tobiasKaminsky <[email protected]>
2021-07-01 10:14:11 +02:00
Tobias Kaminsky 1a65296042 Merge pull request #8565 from nextcloud/revertKotlin
revert Kotlin version to make Jacoco work again
2021-07-01 10:13:02 +02:00
tobiasKaminsky 0a287e0b45 alwas upload code coverage
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-30 06:33:40 +00:00
tobiasKaminsky e670dc1956 revert Kotlin version to make Jacoco work again
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-30 06:33:40 +00:00
Tobias Kaminsky d6ed606c34 Merge pull request #8642 from nextcloud/revert-8567-localID
Revert "better localId"
2021-06-30 08:13:50 +02:00
Tobias Kaminsky 0a4911ea79 Revert "better localId" 2021-06-30 08:12:52 +02:00
Tobias Kaminsky c22f2ce744 Merge pull request #8567 from nextcloud/localID
better localId
2021-06-30 08:11:18 +02:00
Felix Nüsse 1bf01f1a52 move service dismissal to handler to prevent race-condition
Signed-off-by: Felix Nüsse <[email protected]>
2021-06-28 16:16:50 +00:00
Andy Scherzinger 952a8d5e3b Merge pull request #8632 from nextcloud/fix-sync-contact-npe
Fix sync contact npe
2021-06-28 17:26:45 +02:00
Andy Scherzinger 04fd45d2d2 remove unused import
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-28 17:12:38 +02:00
Chris Narkiewicz 99b45dfa0f Fix NPE when syncing contacts
Fixes #8592

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-06-28 13:52:26 +00:00
Andy Scherzinger 0cbc6808c9 Merge pull request #8634 from nextcloud/ignoreZero
Lint: ignore zero, as we do not show those translated strings in case of zero/empty
2021-06-28 15:46:18 +02:00
tobiasKaminsky b16de93c1e Lint: ignore zero, as we do not show those translated strings in case of zero/empty
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-28 14:40:21 +02:00
Nextcloud bot 04de7e3469 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-28 03:57:36 +00:00
John Molakvoæ e95da0a3d3 Delete rebase.yml 2021-06-27 19:54:21 +02:00
John Molakvoæ 996dfb0191 Create command-rebase.yml 2021-06-27 19:53:58 +02:00
Nextcloud bot 163d97bbb5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-27 03:55:24 +00:00
Nextcloud bot 25e09314ba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-25 03:55:58 +00:00
Nextcloud bot 9319d267e4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-24 03:55:37 +00:00
Nextcloud bot ff7523dad9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-22 03:57:52 +00:00
Nextcloud bot 930ed12cce [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-21 03:59:27 +00:00
Nextcloud bot e1147e2597 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-19 04:22:37 +00:00
Nextcloud bot f5af1b1214 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-18 04:03:53 +00:00
Nextcloud bot 05767855e8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-17 04:01:05 +00:00
Tobias Kaminsky 7b7d5af6f1 Merge pull request #8579 from nextcloud/security.md
Create SECURITY.md
2021-06-16 10:19:49 +02:00
Nextcloud bot f3a56c0f94 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-16 03:59:02 +00:00
Nextcloud bot 7f2882b93c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-15 04:07:03 +00:00
Tobias Kaminsky 6a1bc06740 Merge pull request #8522 from nextcloud/dependabot/maven/automationTest/org.apache.httpcomponents-httpclient-4.5.13
Bump httpclient from 4.3.6 to 4.5.13 in /automationTest
2021-06-14 11:53:24 +02:00
Tobias Kaminsky 2e98dcd11d Create SECURITY.md 2021-06-14 11:52:33 +02:00
Nextcloud bot 830bc3703c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-14 03:57:24 +00:00
tobiasKaminsky 4e508a9e8b better localId
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-11 12:25:21 +02:00
Andy Scherzinger 9b1d03181c Merge pull request #8554 from nextcloud/correctEtagCheck
Correct etag check/store when it has changed
2021-06-11 10:12:57 +02:00
Nextcloud bot fcb1e072a2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-11 04:04:11 +00:00
tobiasKaminsky 7aede46b0a Correct etag check/store when it has changed
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-10 11:46:33 +02:00
Nextcloud bot 7d59ce3d34 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-10 04:14:56 +00:00
Tobias Kaminsky 18594f99cb Merge pull request #8132 from nextcloud/exoPlayer
Replace video player by ExoPlayer
2021-06-09 11:16:39 +02:00
Nextcloud bot 078769b39e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-09 04:03:51 +00:00
Nextcloud bot 91a55d2025 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-08 04:04:55 +00:00
Andy Scherzinger 111def7bd4 respect dark mode for web view
Resolves #8524

Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-07 15:46:13 +02:00
Andy Scherzinger 306ea92b36 Add license header and remove duplicate empty lines
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-07 09:57:17 +02:00
Andy Scherzinger f5302e9c7b Merge pull request #8537 from nextcloud/Valdnet-patch-1
l10n: Separate words
2021-06-07 09:43:27 +02:00
Valdnet 42b24e680c l10n: Separate words 2021-06-07 09:24:52 +02:00
Nextcloud bot d7a743244b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-07 04:01:10 +00:00
Chris Narkiewicz c893834576 Normalize input URL scheme during auth process
Fixes #8519

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-06-07 00:23:20 +01:00
Nextcloud bot 9b7163e733 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-06 04:02:17 +00:00
Andy Scherzinger 429a27fa46 Merge pull request #8521 from nextcloud/dependabot/gradle/mockitoVersion-3.11.0
Bump mockitoVersion from 3.10.0 to 3.11.0
2021-06-04 14:02:28 +02:00
Nextcloud bot 4cee1c6832 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-04 04:09:53 +00:00
dependabot[bot] e4f7543d28 Bump httpclient from 4.3.6 to 4.5.13 in /automationTest
Bumps httpclient from 4.3.6 to 4.5.13.

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents:httpclient
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
2021-06-04 01:33:08 +00:00
dependabot[bot] d8f3f2b361 Bump mockitoVersion from 3.10.0 to 3.11.0
Bumps `mockitoVersion` from 3.10.0 to 3.11.0.

Updates `mockito-core` from 3.10.0 to 3.11.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.10.0...v3.11.0)

Updates `mockito-android` from 3.10.0 to 3.11.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.10.0...v3.11.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] <[email protected]>
2021-06-04 01:04:45 +00:00
Nextcloud bot 686a0ca5c6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-03 04:06:39 +00:00
Tobias Kaminsky 51b82fcdd4 Merge pull request #8405 from nextcloud/grant-apps-access-to-trashbin
Allow 3rd party apps to open the trashbin for a specific account
2021-06-02 12:34:50 +02:00
tobiasKaminsky 1ea436e4dd Use ExoPlayer for audio/video player
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-02 10:09:09 +02:00
Andy Scherzinger a7ab5ae320 Merge pull request #8509 from nextcloud/dropLollipop
Drop Android 5.0 Support
2021-06-02 09:28:45 +02:00
Nextcloud bot 0fbd21b576 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-02 04:04:02 +00:00
Chris Narkiewicz 9171fb1d1c Remove Account from UploadsStorageManager
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-06-02 01:54:51 +01:00
Andy Scherzinger d6e1d3e333 remove deprecated test
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 19:16:12 +02:00
Andy Scherzinger 5bbbae7165 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 18:27:58 +02:00
Andy Scherzinger 56a8c779be remove unused imports, shorten when construct
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 17:59:18 +02:00
Andy Scherzinger 80d3a552e5 use if/else instead of switch for menu actions
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 17:47:38 +02:00
Andy Scherzinger 14e1eabc48 remove unused code due to Android 5.0 support dropped
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 17:46:19 +02:00
Andy Scherzinger 4fd407bc11 Drop Android 5.0 support
Resolves #8508

Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 17:02:39 +02:00
Andy Scherzinger 2dd46ea967 Merge pull request #8507 from nextcloud/changelog-master-stable-3.16.1
Add changelog for 3.16.1
2021-06-01 16:10:06 +02:00
Andy Scherzinger 69b8a5affd add list formatting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-01 16:08:20 +02:00
tobiasKaminsky f0826588e2 Add changelog for 3.16.1
Signed-off-by: tobiasKaminsky <[email protected]>
2021-06-01 12:06:05 +02:00
Nextcloud bot f35ab82b6d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-06-01 04:03:51 +00:00
Andy Scherzinger ec073440a1 Merge pull request #8499 from nextcloud/Valdnet-patch-1
l10n: With a capital letter
2021-05-31 11:27:32 +02:00
Nextcloud bot 2e27e17639 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-31 04:13:04 +00:00
Valdnet d52107a79c l10n: With a capital letter 2021-05-30 19:36:17 +02:00
Andy Scherzinger 88cf9f5027 Merge pull request #7874 from nextcloud/new-upload-manager
New upload manager
2021-05-29 22:01:22 +02:00
Chris Narkiewicz ebf63f064b New upload manager
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-05-29 21:34:58 +02:00
Andy Scherzinger be29f9aa9a Merge pull request #8290 from grote/saf-optimization
Optimize writing out files to Nextcloud via SAF
2021-05-29 20:02:16 +02:00
Torsten Grote 44227d828d Optimize writing out files to Nextcloud via SAF
Signed-off-by: Torsten Grote <[email protected]>
2021-05-29 18:59:28 +02:00
Andy Scherzinger ab221fbb14 Merge pull request #8359 from nextcloud/etag
Use correct eTag to check if something has changed on server
2021-05-29 18:48:24 +02:00
Andy Scherzinger 44299b7034 Merge pull request #8470 from nextcloud/fragment-ktx
Replace fragment by fragment-ktx as suggested
2021-05-29 18:46:04 +02:00
Nextcloud bot 177b229154 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-29 04:18:15 +00:00
tobiasKaminsky 2c135b368f Replace fragment by fragment-ktx as suggested
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-28 15:52:49 +00:00
Andy Scherzinger 078bfa4cc8 Merge pull request #8394 from nextcloud/dependabot/gradle/mockitoVersion-3.10.0
Bump mockitoVersion from 3.9.0 to 3.10.0
2021-05-28 17:11:26 +02:00
Andy Scherzinger 83caa4e72d Merge pull request #8495 from nextcloud/dependabot/gradle/kotlin_version-1.5.10
Bump kotlin_version from 1.5.0 to 1.5.10
2021-05-28 16:32:25 +02:00
Andy Scherzinger ed2215e2fe remove duplicate gson dependency definition
Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-28 16:14:03 +02:00
dependabot[bot] 8485c4711c Bump kotlin_version from 1.5.0 to 1.5.10
Bumps `kotlin_version` from 1.5.0 to 1.5.10.

Updates `kotlin-gradle-plugin` from 1.5.0 to 1.5.10

Updates `kotlin-stdlib` from 1.5.0 to 1.5.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.0...v1.5.10)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-28 12:34:03 +00:00
Andy Scherzinger eecf37fdc4 Merge pull request #8466 from nextcloud/dependabot/gradle/com.google.code.gson-gson-2.8.7
Bump gson from 2.8.6 to 2.8.7
2021-05-28 14:09:25 +02:00
dependabot[bot] 2b338cd8f8 Bump gson from 2.8.6 to 2.8.7
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.7.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.7)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-28 10:51:12 +02:00
Andy Scherzinger 42dc360479 Merge pull request #8471 from nextcloud/useKoltin15
Update Kotlin
2021-05-28 10:50:04 +02:00
tobiasKaminsky 4619aa15a8 - use kotlin 1.5.0
- use kotlin-stdlib: https://medium.com/@mbonnin/the-different-kotlin-stdlibs-explained-83d7c6bf293

Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-28 09:15:44 +02:00
Nextcloud bot b48babbeb4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-28 04:05:47 +00:00
Andy Scherzinger 0c07b56a22 Merge pull request #8390 from nextcloud/Gradle-6.9
Gradle 6.9
2021-05-27 18:37:31 +02:00
Hannes Achleitner 75c3b0f646 Print used java version in Gradle 2021-05-27 15:57:02 +02:00
Hannes Achleitner 679d9b4627 Gradle 6.9
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-27 15:56:56 +02:00
Andy Scherzinger d4aae01660 Merge pull request #8475 from nextcloud/android61
Use JDK11 and Gradle 6.7.1 in Android container
2021-05-27 15:54:37 +02:00
Andy Scherzinger bde0c49041 remove java8 builds
Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-27 14:21:41 +02:00
dependabot[bot] 5209231be5 Bump mockitoVersion from 3.9.0 to 3.10.0
Bumps `mockitoVersion` from 3.9.0 to 3.10.0.

Updates `mockito-core` from 3.9.0 to 3.10.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0)

Updates `mockito-android` from 3.9.0 to 3.10.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-27 09:17:28 +00:00
tobiasKaminsky 8e0aebf3f0 uploadReport.sh: fix flavor case
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-27 11:11:37 +02:00
tobiasKaminsky 6ac4b04992 Use JDK11 and Gradle 6.7.1 in Android container
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-27 11:11:36 +02:00
Tobias Kaminsky 60de5fd5ff Merge pull request #8489 from nextcloud/fixNotNullFix
Fix not null fix
2021-05-27 10:54:20 +02:00
Tobias Kaminsky 8038a79f31 Merge pull request #8488 from nextcloud/rebase
Rebase action: /rebase as comment
2021-05-27 10:54:09 +02:00
tobiasKaminsky 419cb69b08 Fix not null fix
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-27 10:16:06 +02:00
tobiasKaminsky d936f4707f Rebase action: /rebase as comment
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-27 09:49:07 +02:00
Andy Scherzinger 9d8b3f588b Merge pull request #8477 from nextcloud/dependabot/gradle/daggerVersion-2.36
Bump daggerVersion from 2.35.1 to 2.36
2021-05-27 09:20:22 +02:00
Andy Scherzinger 2c2fb049bc Merge pull request #8472 from nextcloud/removeSpotbugVersion
Remove spotbug version
2021-05-27 09:15:33 +02:00
Nextcloud bot 178ad5ea52 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-27 04:03:37 +00:00
drone 1d563cd69e Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-05-26 22:11:07 +00:00
Andy Scherzinger 1c085eb74e Merge pull request #8448 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.17.1
Bump detekt-gradle-plugin from 1.17.0 to 1.17.1
2021-05-26 23:55:09 +02:00
tobiasKaminsky 2ef85e4db7 Remove spotbug version:
Access to 'toolVersion' exceeds its access rights
Cannot assign a value to final field 'toolVersion'

Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-26 23:47:36 +02:00
Tobias Kaminsky daa10d5dfe Merge pull request #8228 from nextcloud/inputURL
Use web/http input type
2021-05-26 12:58:34 +02:00
Tobias Kaminsky 1d3fd4304f Merge pull request #8480 from nextcloud/analysisCheck
analysis-wrapper.sh: fix not Null check
2021-05-26 12:52:40 +02:00
Andy Scherzinger 2840bad1f6 Merge pull request #8478 from nextcloud/dependabot/gradle/commons-io-commons-io-2.9.0
Bump commons-io from 2.8.0 to 2.9.0
2021-05-26 09:03:36 +02:00
tobiasKaminsky fb7bba8fe4 analysis-wrapper.sh: fix not Null check
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-26 08:43:22 +02:00
Nextcloud bot b1171a9e77 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-26 04:07:19 +00:00
dependabot[bot] fc5d4435f6 Bump commons-io from 2.8.0 to 2.9.0
Bumps commons-io from 2.8.0 to 2.9.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-26 01:06:21 +00:00
dependabot[bot] 33b7a18696 Bump daggerVersion from 2.35.1 to 2.36
Bumps `daggerVersion` from 2.35.1 to 2.36.

Updates `dagger` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Updates `dagger-android` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Updates `dagger-android-support` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Updates `dagger-compiler` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Updates `dagger-android-processor` from 2.35.1 to 2.36
- [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.35.1...dagger-2.36)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-26 01:05:41 +00:00
Andy Scherzinger a6ecea19c6 Merge pull request #8469 from nextcloud/removeJcenter
Remove jcenter, use maven instead
2021-05-25 14:52:49 +02:00
tobiasKaminsky a5eb602139 Remove jcenter, use maven instead
Remove flatDir

Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-25 13:44:34 +02:00
Andy Scherzinger f6e24bc7f0 Merge pull request #8467 from nextcloud/removeJAXB
Remove jaxb
2021-05-25 10:35:01 +02:00
tobiasKaminsky 61cef4979f Renamed QueryPair
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-25 09:34:05 +02:00
tobiasKaminsky 9a464ca5c5 Renamed QueryPair
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-25 09:32:18 +02:00
Nextcloud bot 3f83d4164e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-25 07:05:57 +00:00
Nextcloud bot 248e94c49a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <[email protected]>
2021-05-25 06:02:52 +00:00
tobiasKaminsky 0dfc35ddae Remove jaxb
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-25 07:18:24 +02:00
dependabot[bot] b9c7578c65 Bump detekt-gradle-plugin from 1.17.0 to 1.17.1
Bumps detekt-gradle-plugin from 1.17.0 to 1.17.1.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-21 01:04:11 +00:00
Andy Scherzinger 377853190d Merge pull request #8438 from nextcloud/checkKey
check e2e keys
2021-05-20 13:11:53 +02:00
Andy Scherzinger b80db0fe27 Merge pull request #8439 from nextcloud/enhanceAccountRemoval
re-order account removal
2021-05-20 13:07:08 +02:00
Tobias Kaminsky 6029984d2a Merge pull request #8436 from nextcloud/dependabot/gradle/androidx.fragment-fragment-1.3.4
Bump fragment from 1.3.2 to 1.3.4
2021-05-20 10:33:05 +02:00
Tobias Kaminsky 3902664bc0 Merge pull request #8435 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.3.0
Bump appcompat from 1.2.0 to 1.3.0
2021-05-20 10:32:29 +02:00
Tobias Kaminsky 70d26bb287 Merge pull request #8319 from nextcloud/dependabot/gradle/org.glassfish.jaxb-jaxb-runtime-3.0.1
Bump jaxb-runtime from 2.3.3 to 3.0.1
2021-05-20 09:37:15 +02:00
Tobias Kaminsky 8af3112fff Merge pull request #8433 from nextcloud/verifyLocalPath
prevent upload from sensitive path
2021-05-20 09:19:07 +02:00
Tobias Kaminsky b25eef9fd2 Merge pull request #8299 from nextcloud/dependabot/gradle/byteBuddyVersion-1.11.0
Bump byteBuddyVersion from 1.10.22 to 1.11.0
2021-05-20 09:03:13 +02:00
Tobias Kaminsky 0410ece23b Merge pull request #8317 from nextcloud/dependabot/gradle/daggerVersion-2.35.1
Bump daggerVersion from 2.33 to 2.35.1
2021-05-20 09:01:10 +02:00
tobiasKaminsky 7f82183bad Fix: Using android:onClick on older version of the platform is broken
Move to view bindings

Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-20 08:42:20 +02:00
Tobias Kaminsky ece5a9908b Merge pull request #8225 from nextcloud/dependabot/gradle/org.conscrypt-conscrypt-android-2.5.2
Bump conscrypt-android from 2.5.1 to 2.5.2
2021-05-20 08:27:53 +02:00
Tobias Kaminsky f279bab480 Merge pull request #8329 from nextcloud/dependabot/gradle/com.github.cotechde.hwsecurity-hwsecurity-fido-4.4.0
Bump hwsecurity-fido from 4.1.0 to 4.4.0
2021-05-20 08:26:25 +02:00
Tobias Kaminsky c09e3505d3 Merge pull request #6949 from nextcloud/uploadNothing
Allow upload only if a file is selected
2021-05-20 08:24:29 +02:00
tobiasKaminsky e70b61d7a3 re-order
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-19 10:22:54 +02:00
tobiasKaminsky df2714ffad check e2e keys
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-19 09:56:43 +02:00
tobiasKaminsky e94b149852 Add UI tests
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-19 08:36:30 +02:00
dependabot[bot] 4c72da132b Bump fragment from 1.3.2 to 1.3.4
Bumps fragment from 1.3.2 to 1.3.4.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-19 01:05:25 +00:00
dependabot[bot] ac13e06128 Bump appcompat from 1.2.0 to 1.3.0
Bumps appcompat from 1.2.0 to 1.3.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-19 01:05:09 +00:00
Andy Scherzinger f6d14856a4 Merge pull request #8343 from nextcloud/fixLeakingService
Avoid leaking AccountManagerService via InputStreamBinder
2021-05-18 08:20:37 +02:00
tobiasKaminsky 97d6f2954c prevent upload from sensitive path
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-18 07:58:04 +02:00
Tobias Kaminsky 3c6415147b Merge pull request #8385 from nextcloud/fix-is-internet-walled-check
Fix ConnectivityService.isInternetWalled() check when content length is -1
2021-05-18 07:18:56 +02:00
Stefan Niedermann 6396d4c0be 3rd-party-apps trashbin: Use Intent.EXTRA_USER in favor of custom String key 2021-05-17 11:26:17 +02:00
Andy Scherzinger c538e5248d Merge pull request #8346 from nextcloud/Valdnet-patch-2
l10n: Change to lowercase
2021-05-17 11:26:11 +02:00
Stefan Niedermann 80c50395f0 3rd-party-apps trashbin: Use SessionMixin to switch to targetUser 2021-05-17 10:02:54 +02:00
Andy Scherzinger d1c8b2c668 Merge pull request #8427 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.17.0
Bump detekt-gradle-plugin from 1.16.0 to 1.17.0
2021-05-17 08:10:35 +02:00
Nextcloud bot 38f58e8db0 [tx-robot] updated from transifex 2021-05-17 04:01:13 +00:00
dependabot[bot] 877018495b Bump detekt-gradle-plugin from 1.16.0 to 1.17.0
Bumps detekt-gradle-plugin from 1.16.0 to 1.17.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-17 01:04:39 +00:00
Stefan Niedermann a7c62f7ede 3rd-party-apps trashbin: Replace logging with toast, use User#nameEquals 2021-05-16 11:16:33 +02:00
Unpublished 7632f12f98 Avoid leaking AccountManagerService via InputStreamBinder
Signed-off-by: Unpublished <[email protected]>
2021-05-15 12:30:09 +02:00
dependabot[bot] d43d581c4e Bump daggerVersion from 2.33 to 2.35.1
Bumps `daggerVersion` from 2.33 to 2.35.1.

Updates `dagger` from 2.33 to 2.35.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.33...dagger-2.35.1)

Updates `dagger-android` from 2.33 to 2.35.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.33...dagger-2.35.1)

Updates `dagger-android-support` from 2.33 to 2.35.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.33...dagger-2.35.1)

Updates `dagger-compiler` from 2.33 to 2.35.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.33...dagger-2.35.1)

Updates `dagger-android-processor` from 2.33 to 2.35.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.33...dagger-2.35.1)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-14 15:27:56 +00:00
Stefan Niedermann 0472fb0759 Allow 3rd party apps to open the trashbin for a specific account 2021-05-14 15:52:10 +02:00
Andy Scherzinger 6239e608ae Merge pull request #8396 from nextcloud/AndroidStudio-4.2
Android Studio 4.2
2021-05-14 12:01:58 +02:00
Andy Scherzinger 969bfb13df update test to latest constructor change
Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-14 10:57:24 +02:00
dependabot[bot] c9550386da Bump gradle from 4.1.3 to 4.2.1
Signed-off-by: dependabot[bot] <[email protected]>
2021-05-14 10:57:22 +02:00
Andy Scherzinger 7ffa52c037 bump lint score
Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-14 10:57:21 +02:00
Hannes Achleitner 0db8057cdd Build CI with Java 8 and 11
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:20 +02:00
Hannes Achleitner 4e91f9bd9a Java 8 is now default
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:19 +02:00
Hannes Achleitner 29b2f8ab7a Codestyle for Android Studio 4.2
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:18 +02:00
Hannes Achleitner 09fb9c40cf Android Studio 4.2
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:17 +02:00
Hannes Achleitner 8e643d2f8d Gradle 6.7
Signed-off-by: Hannes Achleitner <[email protected]>
2021-05-14 10:57:16 +02:00
Andy Scherzinger a6c87ac78b Merge pull request #8356 from nextcloud/avatarInAccount
Avatar generation can take long, so better check if ChooseAccountDialogFragment is still active
2021-05-14 09:47:27 +02:00
Nextcloud bot 1195dda3bc [tx-robot] updated from transifex 2021-05-14 03:54:42 +00:00
Chris Narkiewicz fadf1b0dfd Fix ConnectivityService.isInternetWalled() check when content length is -1
When server returns no Content-Length, the check was failing due to
expectation of 0. Change the condition to account for no content-length
situation and updated test.

Fixes #8384

Signed-off-by: Chris Narkiewicz <[email protected]>
2021-05-13 23:48:40 +01:00
Nextcloud bot bd241ecd5d [tx-robot] updated from transifex 2021-05-13 03:51:48 +00:00
tobiasKaminsky 2e9269510a wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-11 10:07:44 +02:00
tobiasKaminsky 8a1b8c4185 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-11 08:56:45 +02:00
dependabot[bot] fc730bc7b5 Bump byteBuddyVersion from 1.10.22 to 1.11.0
Bumps `byteBuddyVersion` from 1.10.22 to 1.11.0.

Updates `byte-buddy` from 1.10.22 to 1.11.0
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.10.22...byte-buddy-1.11.0)

Updates `byte-buddy-android` from 1.10.22 to 1.11.0
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.10.22...byte-buddy-1.11.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-11 06:38:11 +00:00
dependabot[bot] a6fd50c798 Bump conscrypt-android from 2.5.1 to 2.5.2
Bumps [conscrypt-android](https://github.com/google/conscrypt) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/google/conscrypt/releases)
- [Commits](https://github.com/google/conscrypt/compare/2.5.1...2.5.2)

Signed-off-by: dependabot[bot] <[email protected]>
2021-05-11 06:36:03 +00:00
Tobias Kaminsky 02d0f8aec0 Merge pull request #8321 from nextcloud/https
Prevent http redirection if https is used during login
2021-05-11 08:28:22 +02:00
dependabot[bot] 846f498945 Bump jaxb-runtime from 2.3.3 to 3.0.1
Bumps jaxb-runtime from 2.3.3 to 3.0.1.

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-11 08:07:21 +02:00
dependabot[bot] 0d7d40e1d3 Bump hwsecurity-fido from 4.1.0 to 4.4.0
Bumps hwsecurity-fido from 4.1.0 to 4.4.0.

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-11 08:00:35 +02:00
Adam 4f5ed31618 Revert translation files that shouldn't have been changed
Signed-off-by: Adam <[email protected]>
2021-05-09 16:58:33 +01:00
Nextcloud bot c318115218 [tx-robot] updated from transifex 2021-05-09 03:56:02 +00:00
Nextcloud bot 63ff8e57ea [tx-robot] updated from transifex 2021-05-08 03:58:28 +00:00
Adam 540a286877 don't go over 120 characters
Signed-off-by: Adam <[email protected]>
2021-05-07 19:01:40 +01:00
Nextcloud bot 9b960cef18 [tx-robot] updated from transifex
Signed-off-by: Adam <[email protected]>
2021-05-07 19:01:40 +01:00
Nextcloud bot b7e033f07e [tx-robot] updated from transifex
Signed-off-by: Adam <[email protected]>
2021-05-07 19:01:40 +01:00
Adam fc155f0ba8 Use notificationID as requestcode to allow multiple android notifications
Signed-off-by: Adam <[email protected]>
2021-05-07 19:01:40 +01:00
Nextcloud bot 33a70e53e7 [tx-robot] updated from transifex 2021-05-07 04:01:49 +00:00
tobiasKaminsky a6e7f1082e Use correct eTag to check if something has changed on server
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-06 12:14:03 +02:00
tobiasKaminsky 3ceb0b359e Avatar generation can take long, so better check if ChooseAccountDialogFragment is still active
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-06 07:28:55 +02:00
Nextcloud bot 4af63635c8 [tx-robot] updated from transifex 2021-05-06 04:01:53 +00:00
Andy Scherzinger f184fa0386 Merge pull request #8350 from nextcloud/changelog-master-stable-3.16.0
Add changelog for 3.16.0
2021-05-05 17:59:02 +02:00
Tobias Kaminsky 126a639fd0 Merge pull request #8334 from nextcloud/npeOnNonExistingAccount
Prevent NPE on non-existing account
2021-05-05 15:26:18 +02:00
Tobias Kaminsky 6977da20f7 Merge pull request #8344 from nextcloud/Valdnet-patch-1
l10n: Spelling unification
2021-05-05 15:25:52 +02:00
tobiasKaminsky 3048998bd0 Add changelog for 3.16.0
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-05 11:45:31 +02:00
Tobias Kaminsky 87b8c1342f Merge pull request #8340 from nextcloud/fixInflaterCall
Attach view to parent when calling Inflater
2021-05-05 10:30:20 +02:00
Nextcloud bot bdc6aeaae5 [tx-robot] updated from transifex 2021-05-05 04:10:00 +00:00
Valdnet 067679fdd7 l10n: Change to lowercase
Signed-off-by: Valdnet <[email protected]>
2021-05-04 22:09:09 +02:00
Valdnet ccf3bec722 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <[email protected]>
2021-05-04 09:47:31 +02:00
tobiasKaminsky 1d60d23b9d Merge remote-tracking branch 'origin/parameterV2' into parameterV2 2021-05-04 09:19:26 +02:00
tobiasKaminsky 4875b20c6c Use own QueryPair implementation that supports serializable
Signed-off-by: tobiasKaminsky <[email protected]>
2021-05-04 09:19:16 +02:00
Nextcloud bot 3fac3f4953 [tx-robot] updated from transifex 2021-05-04 03:58:47 +00:00
Andy Scherzinger 1147440f3e attached view to parent when calling Inflater
Fixes #8332

Signed-off-by: Andy Scherzinger <[email protected]>
2021-05-02 16:07:19 +02:00
Nextcloud bot 9e32fc0aa5 [tx-robot] updated from transifex 2021-05-02 03:55:45 +00:00
Nextcloud bot 2b11b7802c [tx-robot] updated from transifex 2021-05-01 03:59:34 +00:00
tobiasKaminsky 697541e054 Prevent NPE on non-existing account
Signed-off-by: tobiasKaminsky <[email protected]>
2021-04-30 11:37:54 +02:00
Andy Scherzinger a646adb716 Merge pull request #8327 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.1
Bump spotbugs-gradle-plugin from 4.7.0 to 4.7.1
2021-04-29 14:45:39 +02:00
Nextcloud bot b5d97f7d10 [tx-robot] updated from transifex 2021-04-29 04:01:27 +00:00
dependabot[bot] 29de2be17f Bump spotbugs-gradle-plugin from 4.7.0 to 4.7.1
Bumps spotbugs-gradle-plugin from 4.7.0 to 4.7.1.

Signed-off-by: dependabot[bot] <[email protected]>
2021-04-29 01:03:02 +00:00
tobiasKaminsky 17b52e8271 Prevent http redirection if https is used during login
Signed-off-by: tobiasKaminsky <[email protected]>
2021-04-28 11:47:10 +02:00
Nextcloud bot 2346ddd657 [tx-robot] updated from transifex 2021-04-28 03:59:27 +00:00
Nextcloud bot 14133a5679 [tx-robot] updated from transifex 2021-04-27 04:01:06 +00:00
Nextcloud bot a5ac4b0075 [tx-robot] updated from transifex 2021-04-26 05:18:28 +00:00
Andy Scherzinger 67a5f867d9 Merge pull request #8258 from nextcloud/Valdnet-patch-1
l10n: Correct spelling
2021-04-19 10:35:26 +02:00
Nextcloud bot efc1d2f692 [tx-robot] updated from transifex 2021-04-19 04:01:13 +00:00
Nextcloud bot 0aef497c3f [tx-robot] updated from transifex 2021-04-18 03:54:39 +00:00
Nextcloud bot d269804df0 [tx-robot] updated from transifex 2021-04-17 03:56:35 +00:00
Nextcloud bot 573f26df67 [tx-robot] updated from transifex 2021-04-16 06:39:27 +00:00
Andy Scherzinger 0cc7704d7a Merge pull request #8271 from nextcloud/Valdnet-patch-2
l10n: Unify spelling
2021-04-12 12:32:14 +02:00
Valdnet 87b3475ff3 l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-04-12 12:06:55 +02:00
Nextcloud bot 8282df5ae5 [tx-robot] updated from transifex 2021-04-12 03:56:36 +00:00
Nextcloud bot 12f2cfc128 [tx-robot] updated from transifex 2021-04-10 04:08:12 +00:00
Valdnet 6900cee21f l10n: Correct spelling
Unify the spelling in applications.
2021-04-09 11:50:56 +02:00
Andy Scherzinger 48fc0676c3 Merge pull request #8250 from nextcloud/dependabot/gradle/mockitoVersion-3.9.0
Bump mockitoVersion from 3.8.0 to 3.9.0
2021-04-09 10:31:20 +02:00
dependabot[bot] c5517a5f77 Bump mockitoVersion from 3.8.0 to 3.9.0
Bumps `mockitoVersion` from 3.8.0 to 3.9.0.

Updates `mockito-core` from 3.8.0 to 3.9.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.8.0...v3.9.0)

Updates `mockito-android` from 3.8.0 to 3.9.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-04-09 08:15:38 +00:00
Nextcloud bot 247d422b37 [tx-robot] updated from transifex 2021-04-08 03:56:39 +00:00
Nextcloud bot d382365eae [tx-robot] updated from transifex 2021-04-07 03:57:21 +00:00
Nextcloud bot 3cbb48195b [tx-robot] updated from transifex 2021-04-06 03:55:58 +00:00
Nextcloud bot c94cb32915 [tx-robot] updated from transifex 2021-04-04 03:54:40 +00:00
Nextcloud bot d1a4313273 [tx-robot] updated from transifex 2021-04-03 04:13:22 +00:00
Nextcloud bot 3e03e729f5 [tx-robot] updated from transifex 2021-04-02 03:56:34 +00:00
Tobias Kaminsky e6f8cc2599 Merge pull request #8224 from Karumi/configure-shot-test-runner
Update instrumentation test runner and Shot version
2021-04-01 14:15:58 +02:00
tobiasKaminsky adbdcd2670 Use web/http input type
Signed-off-by: tobiasKaminsky <[email protected]>
2021-04-01 12:32:50 +02:00
Nextcloud bot 796f983e04 [tx-robot] updated from transifex 2021-04-01 03:56:35 +00:00
Nextcloud bot 59750e5530 [tx-robot] updated from transifex 2021-03-31 03:57:33 +00:00
Pedro Gómez 28660ed001 Update instrumentation test runner and shot version 2021-03-30 10:41:01 +02:00
Nextcloud bot cb2d234b93 [tx-robot] updated from transifex 2021-03-30 03:52:50 +00:00
Andy Scherzinger 39ade50486 Merge pull request #8222 from nextcloud/autoApproveFix
Auto approve: fix gitHub action
2021-03-29 23:00:26 +02:00
tobiasKaminsky eaf144d4cf Auto approve: fix gitHub action
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-29 16:44:23 +02:00
Nextcloud bot 261fb28c46 [tx-robot] updated from transifex 2021-03-28 03:52:44 +00:00
Nextcloud bot 093e9af01d [tx-robot] updated from transifex 2021-03-27 03:54:17 +00:00
Nextcloud bot 0285bb0c27 [tx-robot] updated from transifex 2021-03-26 03:56:00 +00:00
Andy Scherzinger a4af4c3d08 Merge pull request #8203 from nextcloud/v3170
Bump to 3.17.0 Alpha 1
2021-03-25 11:00:55 +01:00
Andy Scherzinger bf8e72f361 Merge pull request #8206 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.3.1
Bump lifecycle-viewmodel-ktx from 2.3.0 to 2.3.1
2021-03-25 08:46:21 +01:00
Andy Scherzinger 148721b6a6 Merge pull request #8207 from nextcloud/dependabot/gradle/androidx.fragment-fragment-1.3.2
Bump fragment from 1.3.1 to 1.3.2
2021-03-25 08:46:05 +01:00
Andy Scherzinger c28c48e20f Merge pull request #8205 from nextcloud/dependabot/gradle/androidx.annotation-annotation-1.2.0
Bump annotation from 1.1.0 to 1.2.0
2021-03-25 08:26:24 +01:00
Nextcloud bot 7ceb982f67 [tx-robot] updated from transifex 2021-03-25 03:55:57 +00:00
dependabot[bot] d8a0f0325e Bump fragment from 1.3.1 to 1.3.2
Bumps fragment from 1.3.1 to 1.3.2.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-25 02:04:32 +00:00
dependabot[bot] a5a6b67e6a Bump lifecycle-viewmodel-ktx from 2.3.0 to 2.3.1
Bumps lifecycle-viewmodel-ktx from 2.3.0 to 2.3.1.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-25 02:04:26 +00:00
dependabot[bot] 834a839405 Bump annotation from 1.1.0 to 1.2.0
Bumps annotation from 1.1.0 to 1.2.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-25 02:03:37 +00:00
Andy Scherzinger f9d09d7c53 Merge pull request #8200 from nextcloud/dependabot/gradle/kotlin_version-1.4.32
Bump kotlin_version from 1.4.31 to 1.4.32
2021-03-24 11:33:14 +01:00
Nextcloud bot 41d6a2d1e9 [tx-robot] updated from transifex 2021-03-24 03:53:54 +00:00
Andy Scherzinger 2b4eacacc6 bump to 3.17.0 Alpha 1
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-23 22:02:48 +01:00
Nextcloud bot 5f38da1271 [tx-robot] updated from transifex 2021-03-23 03:53:01 +00:00
dependabot[bot] 5445c70795 Bump kotlin_version from 1.4.31 to 1.4.32
Bumps `kotlin_version` from 1.4.31 to 1.4.32.

Updates `kotlin-gradle-plugin` from 1.4.31 to 1.4.32

Updates `kotlin-stdlib-jdk7` from 1.4.31 to 1.4.32
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-23 02:05:53 +00:00
Nextcloud bot 235062ec88 [tx-robot] updated from transifex 2021-03-22 03:52:35 +00:00
Nextcloud bot 44a7ceea2b [tx-robot] updated from transifex 2021-03-21 03:48:31 +00:00
Nextcloud bot e6ecc27b68 [tx-robot] updated from transifex 2021-03-20 03:51:10 +00:00
Andy Scherzinger 3249ab3c96 Merge pull request #8188 from nextcloud/passwordDialog
Password dialog
2021-03-19 10:39:18 +01:00
Andy Scherzinger 749035df38 Merge pull request #8190 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.1.3
Bump gradle from 4.1.2 to 4.1.3
2021-03-19 08:42:26 +01:00
Nextcloud bot c96212fe43 [tx-robot] updated from transifex 2021-03-19 03:51:16 +00:00
dependabot[bot] 8af37082d1 Bump gradle from 4.1.2 to 4.1.3
Bumps gradle from 4.1.2 to 4.1.3.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-19 02:04:46 +00:00
Andy Scherzinger e7a79e7f9c Merge pull request #8187 from nextcloud/fix/8179/dismissDownloadbar
dismiss only after delay to remove stuck notification
2021-03-18 21:18:46 +01:00
Stefan Niedermann 59a2187447 Fix another NPE when parameterV2 is null 2021-03-18 20:30:16 +01:00
tobiasKaminsky 3d8418f078 Password dialog:
- enforced password: prevent dismiss if empty password
- optional password: rename cancel button to skip

Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 17:01:01 +01:00
tobiasKaminsky 42a0dff86a Password dialog:
- enforced password: prevent dismiss if empty password
- optional password: rename cancel button to skip

Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 16:51:58 +01:00
Felix Nüsse d48ffc769e dismiss only after delay to remove stuck notification
Signed-off-by: Felix Nüsse <[email protected]>
2021-03-18 16:07:32 +01:00
tobiasKaminsky e7bc146524 fix possible NPE
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 15:31:50 +01:00
tobiasKaminsky 561cff8157 SSO: support of parameter v2, which allows to have multiple values for same key
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 15:31:50 +01:00
Tobias Kaminsky ada75e22ce Merge pull request #8185 from nextcloud/lessOutput
Hide curl output
2021-03-18 15:30:11 +01:00
tobiasKaminsky d3504118cb Hide curl output
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 13:28:05 +01:00
Tobias Kaminsky 9baa1556a8 Merge pull request #8137 from nextcloud/overlappingAvatars
Enhance overlapping multi-avatar display
2021-03-18 08:20:49 +01:00
Tobias Kaminsky 28f4cf94e7 Merge pull request #7794 from nextcloud/themedHeader
Themes header: plain background color and logo, if available
2021-03-18 08:11:07 +01:00
Andy Scherzinger 32caf48782 Enhance overlapping multi-avatar display
Resolves #6019

Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-18 07:54:25 +01:00
Tobias Kaminsky 574556a536 Merge pull request #8182 from nextcloud/fixRemovalOfQA
This fixes removal of built QA versions, due to moving QA to github a…
2021-03-18 07:53:58 +01:00
tobiasKaminsky c91aef3c3a This fixes removal of built QA versions, due to moving QA to github actions
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-18 07:53:35 +01:00
Tobias Kaminsky 271845c0b0 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: Tobias Kaminsky <[email protected]>
2021-03-18 06:40:10 +00:00
Tobias Kaminsky be651e6616 Merge pull request #7877 from Ich5003/master
Allow to upload whole folders.
2021-03-18 07:22:01 +01:00
Tobias Kaminsky f2e9d4f285 Merge pull request #7289 from nextcloud/showSortingAgain
All files -> media --> all files: show sort header
2021-03-18 07:21:33 +01:00
Tobias Kaminsky 984c93fe50 Merge pull request #7118 from jmue/fix-documentprovider-test
fix documentprovider test failure because of asynchronous upload
2021-03-18 07:20:20 +01:00
Tobias Kaminsky 12fed51451 Merge pull request #8141 from nextcloud/dependabot/gradle/org.json-json-20210307
Bump json from 20201115 to 20210307
2021-03-17 15:15:54 +01:00
tobiasKaminsky fd9e0e2f69 Themes header: plain background color and logo, if available
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-17 14:30:21 +01:00
Andy Scherzinger fa8d42a252 Merge pull request #7407 from nextcloud/screenshotsBlack
Screenshots black
2021-03-17 11:15:38 +01:00
Jens Mueller 7fd9a05e72 fix documentprovider test failure because of asynchronous upload
Signed-off-by: Jens Mueller <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-17 08:40:13 +01:00
Andy Scherzinger f671a6a4ed update screenshot test
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-17 08:25:06 +01:00
tobiasKaminsky cbf80a7422 Change test so that it does not need server
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-17 08:25:06 +01:00
tobiasKaminsky 830be6c914 All files -> media --> all files: show sort header
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-17 08:25:06 +01:00
Andy Scherzinger b78088be4a Merge pull request #8177 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.41.0
Bump ktlint from 0.40.0 to 0.41.0
2021-03-17 07:11:09 +01:00
Nextcloud bot 357cbb0e22 [tx-robot] updated from transifex 2021-03-17 03:50:53 +00:00
dependabot[bot] 407054e2ba Bump ktlint from 0.40.0 to 0.41.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.40.0 to 0.41.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.40.0...0.41.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-17 02:02:37 +00:00
Nextcloud bot 99a4104d8f [tx-robot] updated from transifex 2021-03-16 08:42:38 +00:00
Nextcloud bot 15765d7089 [tx-robot] updated from transifex 2021-03-16 03:51:30 +00:00
Andy Scherzinger 7074682817 Merge pull request #8167 from nextcloud/szaimen-patch-1
add debug section for Windows
2021-03-13 09:45:31 +01:00
Nextcloud bot f4a3fa58cf [tx-robot] updated from transifex 2021-03-13 03:48:31 +00:00
szaimen 32491d2262 add debug section for Windows
Signed-off-by: szaimen <[email protected]>
2021-03-13 01:01:34 +01:00
Nextcloud bot 87d87c70df [tx-robot] updated from transifex 2021-03-12 03:49:32 +00:00
Andy Scherzinger 6b79907001 Merge pull request #8143 from nextcloud/changelog3151
Changelog release 3.15.1
2021-03-11 14:01:24 +01:00
Andy Scherzinger f8e960105a Merge pull request #8152 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.16.0
Bump detekt-gradle-plugin from 1.15.0 to 1.16.0
2021-03-11 08:01:19 +01:00
Andy Scherzinger 3de44a56b7 Merge pull request #8151 from nextcloud/dependabot/gradle/androidx.fragment-fragment-1.3.1
Bump fragment from 1.3.0 to 1.3.1
2021-03-11 07:55:29 +01:00
dependabot[bot] 3a22110cc9 Bump detekt-gradle-plugin from 1.15.0 to 1.16.0
Bumps detekt-gradle-plugin from 1.15.0 to 1.16.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-11 02:04:23 +00:00
dependabot[bot] 4f296132d3 Bump fragment from 1.3.0 to 1.3.1
Bumps fragment from 1.3.0 to 1.3.1.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-11 02:04:05 +00:00
Andy Scherzinger af0be78073 Release 3.15.1
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-10 10:25:52 +01:00
Andy Scherzinger 7b67a5fc67 Merge pull request #8140 from nextcloud/dependabot/gradle/byteBuddyVersion-1.10.22
Bump byteBuddyVersion from 1.10.21 to 1.10.22
2021-03-10 10:13:50 +01:00
Nextcloud bot 79024d47d6 [tx-robot] updated from transifex 2021-03-10 04:02:18 +00:00
dependabot[bot] 2368861779 Bump json from 20201115 to 20210307
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20201115 to 20210307.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-10 02:05:32 +00:00
dependabot[bot] 4e90fdc16b Bump byteBuddyVersion from 1.10.21 to 1.10.22
Bumps `byteBuddyVersion` from 1.10.21 to 1.10.22.

Updates `byte-buddy` from 1.10.21 to 1.10.22
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.10.21...byte-buddy-1.10.22)

Updates `byte-buddy-android` from 1.10.21 to 1.10.22
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.10.21...byte-buddy-1.10.22)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-10 02:04:47 +00:00
Andy Scherzinger 2fdf84ac2b Add black screenshots tests
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-09 11:43:30 +01:00
Andy Scherzinger 1e0ec8b2d4 Merge pull request #8091 from nextcloud/hardenEmptyNotificationTest
Harden notification empty screenshot test
2021-03-09 09:05:28 +01:00
Nextcloud bot 18e7840ad8 [tx-robot] updated from transifex 2021-03-09 03:53:37 +00:00
Lucas Haug a114a593a8 Added Tests
Signed-off-by: Lucas Haug <[email protected]>
2021-03-08 18:35:34 +01:00
Lucas Haug 17bdb8979e Added comment
Signed-off-by: Lucas Haug <[email protected]>
2021-03-08 18:35:33 +01:00
Lucas Haug 1e3ea9e74c Implementation of folder uploads
Signed-off-by: Lucas Haug <[email protected]>
2021-03-08 18:35:33 +01:00
Andy Scherzinger c8696d9f64 harden notification empty screenshot test
Signed-off-by: Andy Scherzinger <[email protected]>
2021-03-08 18:26:22 +01:00
Andy Scherzinger 5bd4dc88f3 Merge pull request #8061 from nextcloud/dependabot/gradle/kotlin_version-1.4.31
Bump kotlin_version from 1.4.30 to 1.4.31
2021-03-08 16:44:50 +01:00
dependabot[bot] 4d83670ce1 Bump kotlin_version from 1.4.30 to 1.4.31
Bumps `kotlin_version` from 1.4.30 to 1.4.31.

Updates `kotlin-gradle-plugin` from 1.4.30 to 1.4.31

Updates `kotlin-stdlib-jdk7` from 1.4.30 to 1.4.31
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-08 10:14:44 +00:00
Andy Scherzinger 082d436ee5 Merge pull request #8129 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.7.0
Bump spotbugs-gradle-plugin from 4.6.2 to 4.7.0
2021-03-08 11:13:58 +01:00
dependabot[bot] c3603936ad Bump spotbugs-gradle-plugin from 4.6.2 to 4.7.0
Bumps spotbugs-gradle-plugin from 4.6.2 to 4.7.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-03-08 08:58:07 +00:00
Tobias Kaminsky a64ad5f179 Merge pull request #8124 from Mehdi-git/master
Fixed Misdisplaying view in landscape mode.
2021-03-08 07:29:31 +01:00
Tobias Kaminsky 0a1a32c68c Merge pull request #8106 from nextcloud/useV2
Use v2 for user info, also switched to typed response
2021-03-08 07:15:15 +01:00
Nextcloud bot 827f0a9f84 [tx-robot] updated from transifex 2021-03-08 03:53:02 +00:00
mehdi-git c6e27fd4aa Fixed Misdisplaying view in landscape mode. 2021-03-07 16:51:25 +03:30
Nextcloud bot dbee7bf0fc [tx-robot] updated from transifex 2021-03-07 03:49:05 +00:00
Nextcloud bot f78765e672 [tx-robot] updated from transifex 2021-03-06 03:53:33 +00:00
Tobias Kaminsky 191c6096ba Merge pull request #8115 from nextcloud/fixScreenshotTestsWorkflow
Fix workflow for screenShotTest.yml
2021-03-05 09:03:46 +01:00
tobiasKaminsky 1a66f6a3ee Fix workflow for screenShotTest.yml
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-05 09:03:16 +01:00
tobiasKaminsky 3fd76e1e2a Use v2 for user info, also switched to typed response
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-05 08:27:47 +01:00
Tobias Kaminsky 2d087215de Merge pull request #7892 from tomaszduda23/master
Reduce number of calls to /index.php/204 if there is nothing to do.
2021-03-05 07:40:12 +01:00
Nextcloud bot 283ea398da [tx-robot] updated from transifex 2021-03-05 03:52:45 +00:00
Tobias Kaminsky 6ac9ab20fd Merge pull request #8095 from nextcloud/assembleOnUbuntu
Assemble can run on ubuntu, so we save precious macOS testing time
2021-03-04 14:02:53 +01:00
Tobias Kaminsky c768fab7a0 Merge pull request #8104 from nextcloud/githubTokenForAutoApprove
Use github_token also for auto_approve
2021-03-04 07:52:46 +01:00
tobiasKaminsky 815a8a95fc Use github_token also for auto_approve
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-04 07:48:59 +01:00
Tobias Kaminsky 6f813dbf42 Merge pull request #8094 from nextcloud/qaSecrets
Use GITHUB_TOKEN
2021-03-04 07:45:04 +01:00
tobiasKaminsky b1616eb715 Assemble can run on ubuntu, so we save precious macOS testing time
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-03 11:11:22 +01:00
tobiasKaminsky 11e077a51f Use GITHUB_TOKEN instead of own private access token
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-03 09:51:49 +01:00
Tomasz cc69e660f0 Reduce number of calls to /index.php/204 if there is nothing to do.
https://github.com/nextcloud/android/issues/2263
Signed-off-by: Tomasz <[email protected]>
2021-03-02 23:03:21 +01:00
Andy Scherzinger b160958a95 Merge pull request #8084 from nextcloud/fixShareResponse
Correctly parse share api
2021-03-02 16:43:06 +01:00
Andy Scherzinger dd3c8b4363 Merge pull request #7620 from nextcloud/kotlin-android-extensions
plugin: 'kotlin-android-extensions' deprecrated
2021-03-02 10:22:48 +01:00
Andy Scherzinger 4822bc68b3 reformat code 2021-03-02 09:29:02 +01:00
Nextcloud bot b041ee1f42 [tx-robot] updated from transifex 2021-03-02 03:58:55 +00:00
tobiasKaminsky 6a0b91e2c3 Correctly parse share api
Signed-off-by: tobiasKaminsky <[email protected]>
2021-03-01 15:03:05 +01:00
Nextcloud bot 9b1e0f3e8a [tx-robot] updated from transifex 2021-03-01 03:49:44 +00:00
Nextcloud bot dfaffb34af [tx-robot] updated from transifex 2021-02-28 03:47:51 +00:00
Nextcloud bot 6ad1fa7a13 [tx-robot] updated from transifex 2021-02-27 03:52:42 +00:00
Andy Scherzinger 805f49cddd Merge pull request #8068 from nextcloud/ReduceStoredArtifacts
Reduce stored artifact size
2021-02-26 11:48:01 +01:00
Hannes Achleitner fb40016b02 Reduce stored artifact size 2021-02-26 10:55:11 +01:00
Andy Scherzinger 5a2ca96c05 Merge pull request #8066 from nextcloud/dependabot/gradle/daggerVersion-2.33
Bump daggerVersion from 2.32 to 2.33
2021-02-26 10:34:06 +01:00
Nextcloud bot 5c56fba753 [tx-robot] updated from transifex 2021-02-26 03:50:22 +00:00
dependabot[bot] a8d0bfbaf0 Bump daggerVersion from 2.32 to 2.33
Bumps `daggerVersion` from 2.32 to 2.33.

Updates `dagger` from 2.32 to 2.33
- [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.32...dagger-2.33)

Updates `dagger-android` from 2.32 to 2.33
- [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.32...dagger-2.33)

Updates `dagger-android-support` from 2.32 to 2.33
- [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.32...dagger-2.33)

Updates `dagger-compiler` from 2.32 to 2.33
- [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.32...dagger-2.33)

Updates `dagger-android-processor` from 2.32 to 2.33
- [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.32...dagger-2.33)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-26 02:03:54 +00:00
Andy Scherzinger 075c6808ee Merge pull request #8060 from nextcloud/onlyUploadIfSecretsSet
Before uploading failed reports check if secrets are set
2021-02-25 22:27:09 +01:00
Andy Scherzinger 08053f5dbc Merge pull request #8058 from nextcloud/fixScreenshotColorTests
Fix screenshot tests on TestActivity
2021-02-25 21:48:06 +01:00
Andy Scherzinger f13f01327d update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-25 21:47:34 +01:00
Andy Scherzinger 9addd74bec codacy: remove unused line
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-25 21:15:08 +01:00
tobiasKaminsky 6a3f3051c4 Previously TestActivity overwrote Capabilities on start
if there is no account passed to ThemeUtils when fetching primary Color, FileDataStorageManager is created, there we need application context, normal context is not enough for testing

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-25 21:15:07 +01:00
Andy Scherzinger b11119266d Merge pull request #8045 from hannesa2/LineLength
Proposal to change max line length
2021-02-25 19:03:46 +01:00
Andy Scherzinger 19f40e139d Merge pull request #7966 from nextcloud/dependabot/gradle/androidx.fragment-fragment-1.3.0
Bump fragment from 1.2.5 to 1.3.0
2021-02-25 16:14:44 +01:00
Andy Scherzinger dab5ce0f7c Merge pull request #8046 from nextcloud/GrabEspressoResults
Grab Espresso results and apk
2021-02-25 16:06:38 +01:00
tobiasKaminsky f1d3854a11 Before uploading failed reports check if secrets are set
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-25 15:32:52 +01:00
Andy Scherzinger 9eae1aea56 Merge pull request #8012 from nextcloud/dialogActionAlignment
Moving "cancel" dialog-button-action
2021-02-25 14:56:54 +01:00
Tobias Kaminsky 244952f82e Merge pull request #8056 from nextcloud/staleV3
Run every 2h
2021-02-25 08:55:29 +01:00
tobiasKaminsky 72d7f46ed1 Run every 2h
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-25 08:53:18 +01:00
Andy Scherzinger a6db551f2a Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-25 08:29:23 +01:00
Andy Scherzinger 739ff2a91e remove unused variable
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-25 08:29:05 +01:00
Tobias Kaminsky 5511cd4046 Merge pull request #8048 from nextcloud/HamonizeCheckOnCI
Harmonize check CI jobs
2021-02-25 07:34:38 +01:00
Hannes Achleitner 434f1c28ef Change max line length
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-25 07:05:45 +01:00
Nextcloud bot 1c964b4032 [tx-robot] updated from transifex 2021-02-25 03:51:52 +00:00
Hannes Achleitner 2039a61013 Grab Espresso results
Keep apk artifacts

Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-24 18:03:29 +01:00
Andy Scherzinger bb0e07a2d2 Merge pull request #8033 from hannesa2/DependabotActions
Dependabot for actions
2021-02-24 16:36:13 +01:00
tobiasKaminsky b4283b2654 Fix after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-24 15:39:07 +01:00
Andy Scherzinger 2e7c16d736 simplify primary borderless button theming
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:24 +01:00
Andy Scherzinger 7ab77f7194 harden UI tests
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:23 +01:00
Andy Scherzinger b00d9d4975 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:22 +01:00
Andy Scherzinger f7627365b2 simplify and unify borderless button theming
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:21 +01:00
Andy Scherzinger 840e3909e0 moving "cancel" dialog-button-action from negative to neutral action-button
Resolves #8006

Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:33:20 +01:00
Andy Scherzinger 5073e04b0b remove unexpected spacing
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:07:50 +01:00
Andy Scherzinger 1af19c6b04 use binding instead of findById
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 15:07:50 +01:00
tobiasKaminsky 71e6540a72 plugin: 'kotlin-android-extensions' deprecrated
use viewbinding
see: https://developer.android.com/topic/libraries/view-binding/migration

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-24 15:07:49 +01:00
tobiasKaminsky c7ad968773 plugin: 'kotlin-android-extensions' deprecrated
use viewbinding
see: https://developer.android.com/topic/libraries/view-binding/migration

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-24 15:07:06 +01:00
Tobias Kaminsky ca8f385439 Merge pull request #8043 from nextcloud/MatrixFlavors
[Testing] Build flavors with matrix
2021-02-24 14:51:13 +01:00
Hannes Achleitner 71a71f49f8 Harmonize check CI jobs
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-24 14:21:33 +01:00
Tobias Kaminsky ecbf815f23 Merge pull request #7992 from nextcloud/fixSharing
Fix wrong sharing behavior.
2021-02-24 14:18:36 +01:00
Andy Scherzinger 723d81e8a7 Merge pull request #7868 from nextcloud/ezaquarii/migrate-thumbnail-cache-manager-to-user-model
Migrate ThumbnailsCacheManager to User model
2021-02-24 14:09:55 +01:00
Andy Scherzinger 49cb7f8318 Merge pull request #7867 from nextcloud/ezaquarii/migrate-uri-uploader-to-user-model
Migrate UriUploader to User model
2021-02-24 13:18:03 +01:00
Chris Narkiewicz 23536be206 Migrate UriUploader to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-02-24 13:08:16 +01:00
Andy Scherzinger 9c44d5d866 Merge pull request #8024 from nextcloud/uncommonFilesAddBin
Fix: uncommon files add bin
2021-02-24 13:02:35 +01:00
Andy Scherzinger e5d3010c90 Merge pull request #8034 from hannesa2/MatrixScreenshot
Harmonize screenshot test with a matrix
2021-02-24 13:01:25 +01:00
Andy Scherzinger 09cead89a9 Merge pull request #7949 from nextcloud/fix/7651/singlenotification
Dont dismiss notification after each upload/download
2021-02-24 11:56:30 +01:00
Andy Scherzinger 9e2920b2dc format code
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 11:55:58 +01:00
Andy Scherzinger debc206ab0 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 11:55:57 +01:00
Andy Scherzinger 8bf657ce27 replace Random with SecureRandom and ignore Spotbugs warnign about randomness (just creating Notification IDs)
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-24 11:55:57 +01:00
Felix Nüsse 4c77c6ad51 Dont dismiss notification after each upload/download
Signed-off-by: Felix Nüsse <[email protected]>
2021-02-24 11:55:56 +01:00
Tobias Kaminsky 2f4b1e7861 Merge pull request #8014 from nextcloud/refactorColorSystem
Move color(-calculation) related implementation to distinct classes
2021-02-24 11:29:08 +01:00
tobiasKaminsky a763d693db Fix wrong sharing behavior.
Test:
- open sharing detail of a file
- share a file
- go back
- refresh folder or go into another folder
-> should work as expected

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-24 11:19:17 +01:00
Hannes Achleitner 6beeadc322 Build flavors with matrix
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-24 06:53:57 +01:00
Nextcloud bot 454abad732 [tx-robot] updated from transifex 2021-02-24 03:57:29 +00:00
drone d597952522 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-02-23 23:52:26 +01:00
tobiasKaminsky d4aaebe5ac Fix wrong renaming of unkown file types
Fix #7962

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-23 23:52:25 +01:00
tobiasKaminsky 891532ca55 Rename .java to .kt
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-23 23:52:25 +01:00
Andy Scherzinger ce4a8159b6 Merge pull request #7993 from nextcloud/noAvatars
user search: when reusing temp file, we first need to delete it
2021-02-23 23:48:42 +01:00
Chris Narkiewicz 1451a115d9 Migrate ThumbnailsCacheManager to User model
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-02-23 23:47:22 +01:00
Andy Scherzinger c9a888ce4a Merge pull request #8027 from nextcloud/federatedUser
Try to fetch avatar only if sharee type is "federated"
2021-02-23 23:29:59 +01:00
Hannes Achleitner c1eac11903 Build in matrix all
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 20:10:40 +01:00
Hannes Achleitner cbafad99a0 Harmonize screenshot test with a matrix
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 18:36:31 +01:00
Hannes Achleitner 7af55b2e77 Format all again
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 18:28:19 +01:00
Hannes Achleitner 28967d677b Dependabot for actions
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 17:37:55 +01:00
Hannes Achleitner d8a42b24f7 Format file
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-23 17:37:46 +01:00
Andy Scherzinger 4322d26d30 Merge pull request #8030 from nextcloud/dependabot/gradle/mockitoVersion-3.8.0
Bump mockitoVersion from 3.7.7 to 3.8.0
2021-02-23 16:04:31 +01:00
Tobias Kaminsky 8cd6285a68 Merge pull request #8031 from nextcloud/updateStaleActions
Stale actions: update label set
2021-02-23 07:13:58 +01:00
tobiasKaminsky 3a2cc8f247 Update label set
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-23 07:13:01 +01:00
dependabot[bot] ce10ffe623 Bump mockitoVersion from 3.7.7 to 3.8.0
Bumps `mockitoVersion` from 3.7.7 to 3.8.0.

Updates `mockito-core` from 3.7.7 to 3.8.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.7...v3.8.0)

Updates `mockito-android` from 3.7.7 to 3.8.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.7...v3.8.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-23 02:03:56 +00:00
Andy Scherzinger d24a58c007 Merge pull request #8026 from nextcloud/handlePassAfterReboot
After reboot passcode timeout was miscalculated
2021-02-22 22:08:23 +01:00
tobiasKaminsky d23145bb77 Try to fetch avatar only if sharee type is "federated"
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-22 15:09:59 +01:00
Andy Scherzinger 30e1d74a46 Merge pull request #8020 from nextcloud/dependabot/gradle/byteBuddyVersion-1.10.21
Bump byteBuddyVersion from 1.10.19 to 1.10.21
2021-02-22 14:49:36 +01:00
Andy Scherzinger fe42bb799b move color(-calculation) related implementation to distinct class
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-22 14:44:51 +01:00
tobiasKaminsky 86e83b66b2 After reboot passcode timeout was miscalculated
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-22 14:43:11 +01:00
Tobias Kaminsky 53a17dd755 Merge pull request #8025 from nextcloud/staleBotToStaleAction
Use stale actions instead of stale bot
2021-02-22 13:53:01 +01:00
tobiasKaminsky 69e7013727 Use stale actions instead of stale bot
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-22 13:51:30 +01:00
Andy Scherzinger ac1cc0b625 Merge pull request #8022 from nextcloud/tabsHighlighting
Replace edge colors for primary color highlighting of tabs
2021-02-22 13:04:26 +01:00
Andy Scherzinger d09991805e Merge pull request #8021 from nextcloud/dependabot/gradle/gradle.plugin.com.github.spotbugs.snom-spotbugs-gradle-plugin-4.6.2
Bump spotbugs-gradle-plugin from 4.6.0 to 4.6.2
2021-02-22 08:55:59 +01:00
Andy Scherzinger 6fa3ed0556 replace edge colors for primary color highlighting of tabs
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-22 08:39:47 +01:00
Nextcloud bot b49a07ed3b [tx-robot] updated from transifex 2021-02-22 06:07:08 +00:00
dependabot[bot] 58950d64dd Bump spotbugs-gradle-plugin from 4.6.0 to 4.6.2
Bumps spotbugs-gradle-plugin from 4.6.0 to 4.6.2.

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-22 02:03:56 +00:00
dependabot[bot] acef6230a3 Bump byteBuddyVersion from 1.10.19 to 1.10.21
Bumps `byteBuddyVersion` from 1.10.19 to 1.10.21.

Updates `byte-buddy` from 1.10.19 to 1.10.21
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.10.19...byte-buddy-1.10.21)

Updates `byte-buddy-android` from 1.10.19 to 1.10.21
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.10.19...byte-buddy-1.10.21)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-22 02:03:26 +00:00
Tobias Kaminsky afc6b720c3 Merge pull request #8005 from nextcloud/template
Template Dialog: template needs to be selected
2021-02-19 14:55:00 +01:00
Andy Scherzinger 06b581a7a9 codacy: introduce constant
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 14:09:08 +01:00
Andy Scherzinger ac33333c35 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 14:07:27 +01:00
Andy Scherzinger eaeb0f350c codacy: remove unused code/imports
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 14:07:08 +01:00
dependabot[bot] 4eb68d192f Bump fragment from 1.2.5 to 1.3.0
Bumps fragment from 1.2.5 to 1.3.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-19 11:58:19 +00:00
Andy Scherzinger 586c546a8a Merge pull request #7902 from nextcloud/dependabot/gradle/androidx.work-work-runtime-2.5.0
Bump work-runtime from 2.4.0 to 2.5.0
2021-02-19 12:57:30 +01:00
Andy Scherzinger 9868245fdd remove deprecated style definition and use new theming method
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 11:47:31 +01:00
Andy Scherzinger cd341063fb preserve button state and title on restore
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:13 +01:00
Andy Scherzinger 99e1e8a24c show helper text for more than one template only
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:12 +01:00
Andy Scherzinger 3253e1356f Use dynamic titles
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:11 +01:00
Andy Scherzinger cdc611a71e hide template chooser in case there is only one template
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:10 +01:00
Andy Scherzinger 39433b57f1 proper code formatting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:09 +01:00
Andy Scherzinger 06ced09c7a update rich document chooser for new prefill logic
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:09 +01:00
Andy Scherzinger 64ad49163f add auto pre-filling of file name upon template chosen
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:08 +01:00
Andy Scherzinger 299248766c proper text input handling for button state checks
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:07 +01:00
Andy Scherzinger adb0394722 Add button state coloring
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:06 +01:00
tobiasKaminsky 6edaaa3d3c enable "create" button only if template is selected and name is valid
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-19 09:00:05 +01:00
Andy Scherzinger 44b2e565b2 use neutral instead of negative button for cancel action
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:04 +01:00
drone 01897a04d2 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-02-19 09:00:04 +01:00
Andy Scherzinger 46da2040ae polish template chooser dialog
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-19 09:00:03 +01:00
tobiasKaminsky d326044bfe Template Dialog: template needs to be selected
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-19 08:59:56 +01:00
Andy Scherzinger 44926b6f24 Merge pull request #7207 from nextcloud/newGet
Use new GetMethod, drop apache one
2021-02-19 08:59:16 +01:00
Andy Scherzinger a07a5fa8e7 Merge pull request #8001 from nextcloud/containerizedTextfields
Containerized textfield theme
2021-02-19 08:57:42 +01:00
dependabot[bot] 8c08d7c4a8 Bump work-runtime from 2.4.0 to 2.5.0
Bumps work-runtime from 2.4.0 to 2.5.0.

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-19 08:47:32 +01:00
Nextcloud bot d41ba8ce0f [tx-robot] updated from transifex 2021-02-19 03:54:48 +00:00
Andy Scherzinger 7ea103dd09 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:27 +01:00
Andy Scherzinger 99f1bfa6e6 repsect color-edge cases for share dialog tinting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:26 +01:00
Andy Scherzinger 0fbf17a789 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:25 +01:00
Andy Scherzinger 43f034c778 optimize search view
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:20 +01:00
Andy Scherzinger 5c7ebccd1d add avatar to comment field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:19 +01:00
Andy Scherzinger 9a44fed0b5 adjust menu alignment with headline text
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:18 +01:00
Andy Scherzinger 90437b237f adjust text colors
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:17 +01:00
Andy Scherzinger f9c74c1ea3 remove unused imports
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:17 +01:00
Andy Scherzinger 6efe2934b4 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:16 +01:00
Andy Scherzinger 99e5694ece harmonize text sizes, make active tab easier to discover
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:15 +01:00
Andy Scherzinger 204cd0d4b7 replace edge color for input field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:14 +01:00
Andy Scherzinger 433a541b64 cleanup legacy text size values
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:13 +01:00
Andy Scherzinger f55e711801 add button tinting
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:09 +01:00
Andy Scherzinger b286740148 harmonize text sizes, make active tab easier to discover
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:31:09 +01:00
Andy Scherzinger 1e250109ab containerize status text field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:30:39 +01:00
Andy Scherzinger 8792e2e3f2 simplify PIN theming for non-containerized input field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:30:38 +01:00
Andy Scherzinger 136dfea69a Use containerized text input field styling
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-18 16:30:34 +01:00
Andy Scherzinger 6c9a639bd6 Merge pull request #7997 from nextcloud/pinBruteForce
Pin prompt: add brute force: delay from 1 to 10s when wrong input
2021-02-18 16:28:22 +01:00
Tobias Kaminsky 7f3050ea12 Merge pull request #7967 from nextcloud/dependabot/gradle/androidx.lifecycle-lifecycle-viewmodel-ktx-2.3.0
Bump lifecycle-viewmodel-ktx from 2.2.0 to 2.3.0
2021-02-18 15:20:25 +01:00
Tobias Kaminsky 494aefad4a Merge pull request #7889 from Webbeh/patch-1
Update SETUP.md
2021-02-18 14:59:41 +01:00
tobiasKaminsky d29e0305ef Fix during CI
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:19 +01:00
tobiasKaminsky d3306ba516 Fix tests
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:19 +01:00
Andy Scherzinger 71894243f0 codacy: Avoid declaring a variable if it is unreferenced before a possible exit point.
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:19 +01:00
tobiasKaminsky 4905d01e67 Add test
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:19 +01:00
tobiasKaminsky f97a86df68 Use new GetMethod, drop apache one
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-18 14:58:18 +01:00
Tobias Kaminsky 12de84c6c6 Merge pull request #8011 from hannesa2/MeaningfullProjectName
Meaningfull project name
2021-02-18 14:49:38 +01:00
Hannes AchleitnerandAndy Scherzinger 7eec7614e3 Official naming schema
Co-authored-by: Andy Scherzinger <[email protected]>
2021-02-18 11:41:11 +01:00
Hannes Achleitner b678951cfb Meaningfull project name
Signed-off-by: Hannes Achleitner <[email protected]>
2021-02-18 10:53:10 +01:00
Nextcloud bot a64d74027d [tx-robot] updated from transifex 2021-02-18 03:54:24 +00:00
Andy Scherzinger a5aa8c9042 Merge pull request #7994 from nextcloud/loginTextfieldWidth
Resize log-in input fields so they don't span 100% width
2021-02-17 18:03:33 +01:00
dependabot[bot] 9ba4be9333 Bump lifecycle-viewmodel-ktx from 2.2.0 to 2.3.0
Bumps lifecycle-viewmodel-ktx from 2.2.0 to 2.3.0.

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-17 12:24:36 +00:00
Tobias Kaminsky e1434cf090 Merge pull request #7930 from nextcloud/dependabot/gradle/kotlin_version-1.4.30
Bump kotlin_version from 1.4.21-2 to 1.4.30
2021-02-17 13:22:59 +01:00
tobiasKaminsky 42619191d7 user search: when reusing temp file, we first need to delete it
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-17 10:57:43 +01:00
Andy Scherzinger 7732ad3014 add screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-17 10:46:29 +01:00
tobiasKaminsky 048bb8aa34 Pin prompt: add brute force: delay from 1 to 10s when wrong input
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-17 09:06:13 +01:00
Andy Scherzinger c4e8c3df6c Set text field text color
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-17 09:03:05 +01:00
Andy Scherzinger 7650c8f8ea Add screenshot tests
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-17 09:03:04 +01:00
Andy Scherzinger 4714e7767e resize input fields so they don't span 100% width
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-17 09:03:03 +01:00
Nextcloud bot fe2887456e [tx-robot] updated from transifex 2021-02-17 03:48:18 +00:00
Nextcloud bot 241ba4104b [tx-robot] updated from transifex 2021-02-16 03:49:43 +00:00
Andy Scherzinger d6d8435b96 Merge pull request #7984 from nextcloud/dependabot/gradle/junit-junit-4.13.2
Bump junit from 4.13.1 to 4.13.2
2021-02-15 09:38:11 +01:00
Nextcloud bot 62c2ef9340 [tx-robot] updated from transifex 2021-02-15 03:45:30 +00:00
dependabot[bot] c15aa52911 Bump junit from 4.13.1 to 4.13.2
Bumps [junit](https://github.com/junit-team/junit4) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13.1...r4.13.2)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-15 02:04:43 +00:00
Nextcloud bot fadda0d76f [tx-robot] updated from transifex 2021-02-14 03:43:10 +00:00
Nextcloud bot 12b47af1c0 [tx-robot] updated from transifex 2021-02-13 03:46:08 +00:00
Andy Scherzinger b760abde36 Merge pull request #7971 from nextcloud/textfieldDesign
Textfield design
2021-02-12 12:03:56 +01:00
Andy Scherzinger e21f6ef0db hardening of passcode screenshot test
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-12 10:25:51 +01:00
dependabot[bot] ebb610b17c Bump kotlin_version from 1.4.21-2 to 1.4.30
Bumps `kotlin_version` from 1.4.21-2 to 1.4.30.

Updates `kotlin-gradle-plugin` from 1.4.21-2 to 1.4.30

Updates `kotlin-stdlib-jdk7` from 1.4.21-2 to 1.4.30
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.21-2...v1.4.30)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-12 07:25:14 +00:00
Tobias Kaminsky 7e100e5a80 Merge pull request #7690 from nextcloud/dependabot/gradle/com.karumi-shot-5.5.0
Bump shot from 5.3.0 to 5.5.0
2021-02-12 07:31:53 +01:00
Nextcloud bot 2bdd186a67 [tx-robot] updated from transifex 2021-02-12 03:46:28 +00:00
drone a2d31e8ed0 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-02-11 18:01:52 +00:00
Andy Scherzinger d776035132 Add some more whitespace below the input field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 18:53:25 +01:00
Andy Scherzinger d863131821 user container-styling for text field on login screen
* utilize endIcon capabilities
* move to native view binding

Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 18:36:51 +01:00
Andy Scherzinger c7a8062f00 spotbugs: remove unused paramter and add null-check where needed
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 18:27:52 +01:00
Andy Scherzinger 0dad4840f1 add helper text to server address field
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 17:56:04 +01:00
Andy Scherzinger c8144a08d5 user container-styling for text field on login screen
* utilize endIcon capabilities
* move to native view binding

Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 13:54:52 +01:00
Andy Scherzinger 1a8434dd45 move note dialog to native view binding
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 12:51:23 +01:00
Andy Scherzinger 65300c35df Merge pull request #7916 from nextcloud/logo
Use full width of drawer for logo
2021-02-11 12:48:41 +01:00
Andy Scherzinger 97d9a1851a Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-11 12:48:16 +01:00
tobiasKaminsky c51588715a Merge remote-tracking branch 'origin/logo' into logo
# Conflicts:
#	screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer.png
#	screenshots/gplay/debug/com.nextcloud.client.ActivitiesActivityIT_openDrawer_light_white.png
#	src/main/res/drawable/nextcloud_logo.xml
2021-02-11 08:51:24 +01:00
tobiasKaminsky 9cebf08143 replace screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-11 08:50:33 +01:00
tobiasKaminsky 86df058774 suppress lint, as it looks good on Android 5.0
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-11 08:49:35 +01:00
Tobias Kaminsky af1ca486c7 Merge pull request #7963 from nextcloud/codespace
Add support for GitHub codespaces
2021-02-11 08:28:00 +01:00
Nextcloud bot aef0c40a48 [tx-robot] updated from transifex 2021-02-11 03:46:09 +00:00
Andy Scherzinger 27cf0987e6 remove obsolete dimens-value
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-10 23:12:52 +01:00
Andy Scherzinger 4f46951475 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-10 23:12:49 +01:00
tobiasKaminsky ba89d40fe8 Use full width of drawer for logo
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-10 23:12:22 +01:00
Andy Scherzinger 62d93502f4 Merge pull request #7935 from nextcloud/dependabot/gradle/com.google.android.material-material-1.3.0
Bump material from 1.2.1 to 1.3.0
2021-02-10 22:57:30 +01:00
Andy Scherzinger 0fe5244be6 Update Screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-10 22:57:03 +01:00
Andy Scherzinger 593c0a652d Merge pull request #7955 from nextcloud/clientDuringSAF
It can happen that client is null during thumbnail generation via SAF, if so let us create it
2021-02-10 19:16:08 +01:00
Lukas Reschke 71dcbbfdc1 Add support for GitHub codespaces
Signed-off-by: Lukas Reschke <[email protected]>
2021-02-10 11:39:23 +00:00
tobiasKaminsky 2fddaab17a It can happen that client is null during thumbnail generation via SAF, if so let us create it
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-10 09:30:45 +01:00
Nextcloud bot 759d9443c7 [tx-robot] updated from transifex 2021-02-10 03:52:59 +00:00
Andy Scherzinger 33945b880b Merge pull request #7919 from nextcloud/parseLoginUrl
Do not crash if wrong deep login url is used
2021-02-09 23:47:55 +01:00
dependabot[bot] ec8732baae Bump material from 1.2.1 to 1.3.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.2.1...1.3.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-09 23:29:25 +01:00
Andy Scherzinger 87f5237e36 Merge pull request #7937 from nextcloud/opensShareDialogCorrectly
Opens bottom share dialog on every file
2021-02-09 23:08:47 +01:00
Andy Scherzinger 7ee51b97a3 Merge pull request #7953 from nextcloud/dependabot/gradle/daggerVersion-2.32
Bump daggerVersion from 2.31 to 2.32
2021-02-09 22:13:15 +01:00
dependabot[bot] e63b02015a Bump daggerVersion from 2.31 to 2.32
Bumps `daggerVersion` from 2.31 to 2.32.

Updates `dagger` from 2.31 to 2.32
- [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.31...dagger-2.32)

Updates `dagger-android` from 2.31 to 2.32
- [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.31...dagger-2.32)

Updates `dagger-android-support` from 2.31 to 2.32
- [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.31...dagger-2.32)

Updates `dagger-compiler` from 2.31 to 2.32
- [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.31...dagger-2.32)

Updates `dagger-android-processor` from 2.31 to 2.32
- [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.31...dagger-2.32)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-09 07:23:03 +00:00
Andy Scherzinger 48007f1f32 Merge pull request #7954 from nextcloud/dependabot/gradle/markwonVersion-4.6.2
Bump markwonVersion from 4.6.1 to 4.6.2
2021-02-09 07:56:30 +01:00
Nextcloud bot 4bb6a85fe0 [tx-robot] updated from transifex 2021-02-09 03:46:14 +00:00
dependabot[bot] 41cb7039e8 Bump markwonVersion from 4.6.1 to 4.6.2
Bumps `markwonVersion` from 4.6.1 to 4.6.2.

Updates `core` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `ext-strikethrough` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `ext-tables` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `ext-tasklist` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `html` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Updates `syntax-highlight` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.1...v4.6.2)

Signed-off-by: dependabot[bot] <[email protected]>
2021-02-09 02:04:50 +00:00
Nextcloud bot 93266c20cf [tx-robot] updated from transifex 2021-02-08 03:46:10 +00:00
Nextcloud bot 00bc1aad10 [tx-robot] updated from transifex 2021-02-07 03:47:06 +00:00
Nextcloud bot 178e114f84 [tx-robot] updated from transifex 2021-02-06 03:49:55 +00:00
tobiasKaminsky 42da5f572a Fix not showing share view when clicking on it in send share dialog
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-05 11:16:08 +01:00
tobiasKaminsky f443cc8383 Opens bottom share dialog on every file
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-05 10:45:56 +01:00
Nextcloud bot b907b3cf22 [tx-robot] updated from transifex 2021-02-05 03:50:09 +00:00
Andy Scherzinger 54be80a38d Merge pull request #7924 from nextcloud/serverSupport316
Server support bumps for 3.16
2021-02-04 18:27:23 +01:00
Andy Scherzinger fc31c2e30b remove invalid nc12 tags since the methods are used as fallback in case of errors and don't link to a server version
Update server versions according to E-o-L schedule

Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-04 08:50:34 +01:00
Nextcloud bot eca7f16abd [tx-robot] updated from transifex 2021-02-04 03:45:07 +00:00
Andy Scherzinger f4c9692877 Merge pull request #7922 from nextcloud/changelog-master-stable-3.14.3
Add changelog for 3.14.3
2021-02-03 11:53:05 +01:00
Andy Scherzinger 6e26529771 Add changelog for 3.14.3
Signed-off-by: Andy Scherzinger <[email protected]>
2021-02-03 11:51:24 +01:00
tobiasKaminsky 9343bdd85d Do not crash if wrong deep login url is used
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-03 09:01:40 +01:00
Nextcloud bot 7fc6b23d1c [tx-robot] updated from transifex 2021-02-03 04:00:24 +00:00
Andy Scherzinger 4ae1f86f77 Merge pull request #7918 from nextcloud/changelog-master-stable-3.15.0
Add changelog for 3.15.0
2021-02-02 18:43:47 +01:00
tobiasKaminsky ea21a45e61 Add changelog for 3.15.0
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-02 14:37:36 +01:00
tobiasKaminsky 5e46b835d0 Use full width of drawer for logo
Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-02 13:12:14 +01:00
Nextcloud bot afbd744227 [tx-robot] updated from transifex 2021-02-02 03:42:51 +00:00
Andy Scherzinger 64767602e1 Merge pull request #7871 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-4.1.2
Bump gradle from 4.1.1 to 4.1.2
2021-02-01 14:50:52 +01:00
dependabot[bot] bba187cc0a Bump shot from 5.3.0 to 5.5.0
Bumps [shot](https://github.com/karumi/shot) from 5.3.0 to 5.5.0.
- [Release notes](https://github.com/karumi/shot/releases)
- [Changelog](https://github.com/Karumi/Shot/blob/master/release.gradle)
- [Commits](https://github.com/karumi/shot/compare/5.3.0...5.5.0)

Signed-off-by: dependabot[bot] <[email protected]>

Show only failing tests

Signed-off-by: tobiasKaminsky <[email protected]>
2021-02-01 14:22:37 +01:00
Nextcloud bot 5bc89bf0af [tx-robot] updated from transifex 2021-02-01 03:48:29 +00:00
Nextcloud bot a128027c56 [tx-robot] updated from transifex 2021-01-31 03:45:18 +00:00
Nextcloud bot 46286bc8e7 [tx-robot] updated from transifex 2021-01-29 03:51:22 +00:00
Nextcloud bot 623f6fc42e [tx-robot] updated from transifex 2021-01-28 09:07:57 +00:00
Nextcloud bot 66b8f57729 [tx-robot] updated from transifex 2021-01-27 14:28:43 +00:00
Nextcloud bot ef3bf41b04 [tx-robot] updated from transifex 2021-01-27 03:48:57 +00:00
Nextcloud bot 6768663082 [tx-robot] updated from transifex 2021-01-26 03:47:13 +00:00
Nicolas Glassey 68271956db Update SETUP.md 2021-01-23 18:45:49 +01:00
Nextcloud bot bf093a7927 [tx-robot] updated from transifex 2021-01-22 03:49:30 +00:00
Nextcloud bot 03df829e55 [tx-robot] updated from transifex 2021-01-21 03:48:27 +00:00
Nextcloud bot 552958c886 [tx-robot] updated from transifex 2021-01-20 03:48:35 +00:00
dependabot[bot] 39c43e3e10 Bump gradle from 4.1.1 to 4.1.2
Bumps gradle from 4.1.1 to 4.1.2.

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-20 02:04:56 +00:00
Nextcloud bot f8b28a505b [tx-robot] updated from transifex 2021-01-19 03:46:47 +00:00
Andy Scherzinger 19b4490215 Merge pull request #7854 from nextcloud/ezaquarii/migrate-check-current-credentials-to-user
Migrate CheckCurrentCredentialsOperation to User
2021-01-18 13:34:47 +01:00
Tobias Kaminsky 6744ed4fc9 Merge pull request #7788 from nextcloud/coverageReport
Upload coverage report even if combindedTestReport fails
2021-01-18 12:48:02 +01:00
Tobias Kaminsky 3a30b456fe Merge pull request #7841 from nextcloud/dependabot/gradle/daggerVersion-2.31
Bump daggerVersion from 2.30.1 to 2.31
2021-01-18 12:45:18 +01:00
Andy Scherzinger 129859d919 Merge pull request #7862 from nextcloud/dependabot/gradle/mockitoVersion-3.7.7
Bump mockitoVersion from 3.7.0 to 3.7.7
2021-01-18 08:31:41 +01:00
Nextcloud bot b4521a315b [tx-robot] updated from transifex 2021-01-18 03:45:48 +00:00
dependabot[bot] ee4040b33d Bump mockitoVersion from 3.7.0 to 3.7.7
Bumps `mockitoVersion` from 3.7.0 to 3.7.7.

Updates `mockito-core` from 3.7.0 to 3.7.7
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.0...v3.7.7)

Updates `mockito-android` from 3.7.0 to 3.7.7
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.0...v3.7.7)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-18 02:04:11 +00:00
Nextcloud bot 5d342032f3 [tx-robot] updated from transifex 2021-01-17 03:45:09 +00:00
Chris Narkiewicz d06463bbc5 Migrate CheckCurrentCredentialsOperation to User
Signed-off-by: Chris Narkiewicz <[email protected]>
2021-01-16 20:04:40 +00:00
Nextcloud bot 2cc7788b7f [tx-robot] updated from transifex 2021-01-16 03:43:40 +00:00
dependabot[bot] 99d9ea2c6f Bump daggerVersion from 2.30.1 to 2.31
Bumps `daggerVersion` from 2.30.1 to 2.31.

Updates `dagger` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Updates `dagger-android` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Updates `dagger-android-support` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Updates `dagger-compiler` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Updates `dagger-android-processor` from 2.30.1 to 2.31
- [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.30.1...dagger-2.31)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-15 14:16:20 +00:00
Andy Scherzinger 20c66efd04 Merge pull request #7818 from nextcloud/Valdnet-patch-1
l10n: Add word "data"
2021-01-15 12:02:16 +01:00
Andy Scherzinger 9cdb002645 Merge pull request #7824 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.3.0-beta01
Bump appcompat from 1.2.0-rc01 to 1.2.0
2021-01-15 08:50:30 +01:00
Andy Scherzinger 44c44c40a7 Merge pull request #7831 from nextcloud/reduceWorkflowExecution
Run workflows only on PRs, but not on direct push (e.g. transifex push, or merge commit)
2021-01-15 08:40:54 +01:00
Nextcloud bot 1a157adf3d [tx-robot] updated from transifex 2021-01-15 03:51:05 +00:00
Andy Scherzinger 18ccf11c00 Merge pull request #7830 from nextcloud/bumpMasterTo3.16
Bump master to 3.16 apha
2021-01-14 20:28:52 +01:00
Tobias Kaminsky ebdf716e11 Merge pull request #7829 from nextcloud/fixCrashOnMultipleCreators
Fix crash when multiple editors are shown
2021-01-14 15:12:24 +01:00
tobiasKaminsky fb51298c97 Run workflows only on PRs, but not on direct push (e.g. transifex push, or merge commit)
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-14 15:10:21 +01:00
tobiasKaminsky dde0f116e9 Bump master to 3.16 apha
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-14 14:37:29 +01:00
Nextcloud bot e2567cf3cb [tx-robot] updated from transifex 2021-01-14 13:29:03 +00:00
tobiasKaminsky 211786c226 Fix crash when multiple editors are shown
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-14 14:19:26 +01:00
Tobias Kaminsky b0c44bb2f9 Merge pull request #7820 from nextcloud/changelog3_14_2
3.14.2 Changelog
2021-01-14 14:08:40 +01:00
dependabot[bot] cf9e38fa45 Bump appcompat from 1.2.0-rc01 to 1.2.0
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-14 13:54:41 +01:00
Nextcloud bot 14775f6f80 [tx-robot] updated from transifex 2021-01-14 03:48:54 +00:00
Andy Scherzinger 018ce30bad 3.14.2 Changelog
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-13 17:38:26 +01:00
Valdnet 5f64d99a2d l10n: Add word "data" 2021-01-13 11:24:24 +01:00
Nextcloud bot 7f502aaaaf [tx-robot] updated from transifex 2021-01-13 09:03:53 +00:00
Andy Scherzinger 782da9fdd0 Merge pull request #7686 from nextcloud/dependabot/gradle/com.google.code.findbugs-annotations-3.0.1u2
Bump annotations from 2.0.1 to 3.0.1u2
2021-01-06 10:43:29 +01:00
Andy Scherzinger 1bed4654cf Merge pull request #7747 from nextcloud/dependabot/gradle/mockkVersion-1.10.4
Bump mockkVersion from 1.10.2 to 1.10.4
2021-01-06 10:42:36 +01:00
tobiasKaminsky 296647ba9d Upload coverage report even if combindedTestReport fails
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-06 09:41:13 +01:00
Andy Scherzinger 5ae805bd2c Merge pull request #7753 from nextcloud/dependabot/gradle/kotlin_version-1.4.21-2
Bump kotlin_version from 1.4.21 to 1.4.21-2
2021-01-06 08:34:52 +01:00
dependabot[bot] d667514de5 Bump mockkVersion from 1.10.2 to 1.10.4
Bumps `mockkVersion` from 1.10.2 to 1.10.4.

Updates `mockk` from 1.10.2 to 1.10.4
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.10.2...1.10.4)

Updates `mockk-android` from 1.10.2 to 1.10.4
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.10.2...1.10.4)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-06 07:32:53 +00:00
Andy Scherzinger f28bdb24a4 Merge pull request #7787 from nextcloud/dependabot/gradle/mockitoVersion-3.7.0
Bump mockitoVersion from 3.6.28 to 3.7.0
2021-01-06 08:32:01 +01:00
dependabot[bot] f68d1950cc Bump mockitoVersion from 3.6.28 to 3.7.0
Bumps `mockitoVersion` from 3.6.28 to 3.7.0.

Updates `mockito-core` from 3.6.28 to 3.7.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.28...v3.7.0)

Updates `mockito-android` from 3.6.28 to 3.7.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.28...v3.7.0)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-06 02:06:11 +00:00
dependabot[bot] 18d5d3766a Bump kotlin_version from 1.4.21 to 1.4.21-2
Bumps `kotlin_version` from 1.4.21 to 1.4.21-2.

Updates `kotlin-gradle-plugin` from 1.4.21 to 1.4.21-2

Updates `kotlin-stdlib-jdk7` from 1.4.21 to 1.4.21-2
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog-1.3.X.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-05 20:51:00 +00:00
dependabot[bot] fbd33cc1e8 Bump annotations from 2.0.1 to 3.0.1u2
Bumps [annotations](https://github.com/findbugsproject/findbugs) from 2.0.1 to 3.0.1u2.
- [Release notes](https://github.com/findbugsproject/findbugs/releases)
- [Commits](https://github.com/findbugsproject/findbugs/commits)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-05 20:49:52 +00:00
Andy Scherzinger e930ad31e2 Merge pull request #7639 from nextcloud/notificationItemViewBinding
Android view binding for notification-adapter's view holder
2021-01-05 21:44:50 +01:00
drone 7afbab6337 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-01-05 20:39:26 +00:00
Andy Scherzinger 620a008b34 reformat code
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 21:16:23 +01:00
tobiasKaminsky ce861ee170 Format code
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-05 21:12:35 +01:00
Andy Scherzinger c085ab3233 use Android's view binding for adapter's view holder
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 21:12:34 +01:00
Andy Scherzinger 440d47913a Merge pull request #7682 from nextcloud/batteryDialog
Change icon according to dark mode
2021-01-05 21:07:59 +01:00
Andy Scherzinger a515b11961 adapt dialog icon to dark/light theme
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 21:07:10 +01:00
Andy Scherzinger ccaa502252 Merge pull request #7643 from nextcloud/activityItemViewBinding
Android view binding for activities view holder
2021-01-05 21:05:59 +01:00
Andy Scherzinger 57fcbe885f Merge pull request #7783 from nextcloud/workflowTarget
Use master, stable-* as target for workflow branches
2021-01-05 21:05:23 +01:00
Andy Scherzinger 8a6dad2e34 Merge pull request #7657 from nextcloud/Valdnet-patch-1
l10n: Changing string text "path" to "folder"
2021-01-05 21:02:45 +01:00
Andy Scherzinger e1725f22cc update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 21:01:59 +01:00
drone da8ecb5aa0 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-01-05 16:21:02 +00:00
Andy Scherzinger 5e42efa564 Android view binding for activities view holder
housekeeping (removing unused members)

Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-05 16:11:48 +01:00
tobiasKaminsky cff5e413c5 Use master, stable-* as target for workflow branches
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-05 14:42:56 +01:00
tobiasKaminsky c98fde3e6e Update screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-05 13:21:27 +01:00
Tobias Kaminsky af2891a4a7 Merge pull request #7749 from nextcloud/ezaquarii/fix-crash-in-set-status-dialog
Fix crash in SetStatusDialogFragment.clearTopStatus
2021-01-05 11:59:48 +01:00
Tobias Kaminsky 51af817b76 Merge pull request #7603 from nextcloud/bottomSheetImprovement
Bottom sheet improvement
2021-01-05 11:58:39 +01:00
Tobias Kaminsky 707254acc9 Merge pull request #7774 from nextcloud/detectSnapshot
Detect dependencies with snapshot
2021-01-05 09:59:19 +01:00
tobiasKaminsky 38e27420c3 Detect dependencies with snapshot
Signed-off-by: tobiasKaminsky <[email protected]>
2021-01-05 09:38:34 +01:00
Nextcloud bot b536684170 [tx-robot] updated from transifex 2021-01-05 03:54:52 +00:00
Andy Scherzinger e64dc4c72e Merge pull request #7748 from nextcloud/dependabot/gradle/markwonVersion-4.6.1
Bump markwonVersion from 4.6.0 to 4.6.1
2021-01-04 23:01:09 +01:00
Valdnet 9519924875 l10n: Adding "date" 2021-01-04 18:03:01 +01:00
Valdnet 2b360d6c32 l10n: Changing string text "patch" to "folder"
1. Unify the name to other applications.
2. More understandable for the user.
3. Report also by translator for line: 444.
2021-01-04 18:02:00 +01:00
drone 47b63c94c3 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2021-01-04 17:48:43 +01:00
Andy Scherzinger 3cb3442c8f use correct click UI element for create folder
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-04 17:48:42 +01:00
Andy Scherzinger d0f4a16664 make variables final
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-04 17:48:41 +01:00
Andy Scherzinger 9a03dc199d use Android view bindings
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-04 17:48:40 +01:00
Andy Scherzinger 9cf14f7e94 Add null check since capabilities can be null
Signed-off-by: Andy Scherzinger <[email protected]>
2021-01-04 17:48:39 +01:00
dependabot[bot] a07eb920ba Bump markwonVersion from 4.6.0 to 4.6.1
Bumps `markwonVersion` from 4.6.0 to 4.6.1.

Updates `core` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `ext-strikethrough` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `ext-tables` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `ext-tasklist` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `html` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Updates `syntax-highlight` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/noties/Markwon/releases)
- [Changelog](https://github.com/noties/Markwon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/noties/Markwon/compare/v4.6.0...v4.6.1)

Signed-off-by: dependabot[bot] <[email protected]>
2021-01-04 16:43:38 +00:00
Andy Scherzinger 88c6d33c57 Merge pull request #7718 from nextcloud/dependabot/gradle/org.bouncycastle-bcpkix-jdk15to18-1.68
Bump bcpkix-jdk15to18 from 1.67 to 1.68
2021-01-04 17:42:20 +01:00
Andy Scherzinger 8018fc79c9 Merge pull request #7772 from Doomsdayrs/gitignore-remove-dup
Removed a duplicate from git ignore
2021-01-03 22:52:21 +01:00
Nextcloud bot 2783808c04 [tx-robot] updated from transifex 2021-01-03 03:56:51 +00:00
Nextcloud bot 64b2a98133 [tx-robot] updated from transifex 2021-01-02 03:54:24 +00:00
doomsdayrs 5e1137cf68 Removed a duplicate from git ignore
Signed-off-by: doomsdayrs <[email protected]>
2021-01-01 17:44:46 -05:00
Nextcloud bot 2f77cb0d8b [tx-robot] updated from transifex 2020-12-31 04:03:30 +00:00
Nextcloud bot 3a3080cbd0 [tx-robot] updated from transifex 2020-12-30 03:50:24 +00:00
Chris Narkiewicz 2fc47c243a Fix crash in SetStatusDialogFragment.clearTopStatus
Fix #7741

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-12-29 13:22:00 +00:00
Nextcloud bot 3e2da8bb56 [tx-robot] updated from transifex 2020-12-29 03:50:47 +00:00
Nextcloud bot 04eb83c7c3 [tx-robot] updated from transifex 2020-12-28 03:47:46 +00:00
Nextcloud bot 35d829e4cf [tx-robot] updated from transifex 2020-12-26 03:47:26 +00:00
Nextcloud bot ac29ae28e4 [tx-robot] updated from transifex 2020-12-24 03:48:10 +00:00
Nextcloud bot 12789ed8e0 [tx-robot] updated from transifex 2020-12-23 03:48:32 +00:00
dependabot[bot] d0d867cf24 Bump bcpkix-jdk15to18 from 1.67 to 1.68
Bumps [bcpkix-jdk15to18](https://github.com/bcgit/bc-java) from 1.67 to 1.68.
- [Release notes](https://github.com/bcgit/bc-java/releases)
- [Changelog](https://github.com/bcgit/bc-java/blob/master/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

Signed-off-by: dependabot[bot] <[email protected]>
2020-12-23 02:04:28 +00:00
Andy Scherzinger 22f7ecd7f1 Merge pull request #7673 from nextcloud/addLink
fix not updating sharee list after creating a new link
2020-12-22 15:54:01 +01:00
Andy Scherzinger e9198313fd Merge pull request #7674 from nextcloud/themeCrash
fix crash when changing theme after showing media pane
2020-12-22 12:08:43 +01:00
tobiasKaminsky 09a0a6ef7d fix not updating sharee list after creating a new link
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-22 11:55:19 +01:00
Andy Scherzinger 00e1af0b7a Merge pull request #7619 from nextcloud/proxyWithUA
Fix Push notifications
2020-12-22 11:21:51 +01:00
Andy Scherzinger 01bfcae3ec Merge pull request #7691 from nextcloud/fixMediaScannerWithNoPath
If path is not set or empty do not run any media scanner
2020-12-22 09:13:39 +01:00
tobiasKaminsky fd306758ba Downgrade firebase-messaging
use NC specific user agent for Push

Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-22 08:59:57 +01:00
Nextcloud bot 1c4e5dd810 [tx-robot] updated from transifex 2020-12-22 03:49:29 +00:00
Andy Scherzinger 26027a80bb Merge pull request #7708 from nextcloud/fix7699
Remove snapshot repo
2020-12-21 17:43:05 +01:00
Andy Scherzinger 9e118d4c30 Merge pull request #7706 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.15.0
Bump detekt-gradle-plugin from 1.14.2 to 1.15.0
2020-12-21 17:42:38 +01:00
dependabot[bot] ee8a97b86c Bump detekt-gradle-plugin from 1.14.2 to 1.15.0
Bumps detekt-gradle-plugin from 1.14.2 to 1.15.0.

Signed-off-by: dependabot[bot] <[email protected]>
2020-12-21 17:42:05 +01:00
Andy Scherzinger 60285c0082 Merge pull request #7705 from nextcloud/dependabot/gradle/byteBuddyVersion-1.10.19
Bump byteBuddyVersion from 1.10.18 to 1.10.19
2020-12-21 10:54:42 +01:00
Unpublished 542d472a4d Remove snapshot repo
Signed-off-by: Unpublished <[email protected]>
2020-12-21 10:23:53 +01:00
Nextcloud bot b13b9fc5bf [tx-robot] updated from transifex 2020-12-21 03:47:49 +00:00
dependabot[bot] e18762c49e Bump byteBuddyVersion from 1.10.18 to 1.10.19
Bumps `byteBuddyVersion` from 1.10.18 to 1.10.19.

Updates `byte-buddy` from 1.10.18 to 1.10.19
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.10.18...byte-buddy-1.10.19)

Updates `byte-buddy-android` from 1.10.18 to 1.10.19
- [Release notes](https://github.com/raphw/byte-buddy/releases)
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md)
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.10.18...byte-buddy-1.10.19)

Signed-off-by: dependabot[bot] <[email protected]>
2020-12-21 02:04:46 +00:00
Nextcloud bot 2854d7ab2f [tx-robot] updated from transifex 2020-12-20 03:49:54 +00:00
Nextcloud bot 7ad01df9ca [tx-robot] updated from transifex 2020-12-19 03:48:21 +00:00
Tobias Kaminsky 69af47857b Merge pull request #7649 from nextcloud/ezaquarii/fix-upload-via-share-make-mtime-read-optional
Fix upload by sharing link with defensive check during mtime read
2020-12-18 08:19:51 +01:00
tobiasKaminsky e6a7d124fc If path is not set or empty do not run any media scanner
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-18 07:55:48 +01:00
Nextcloud bot cfb44f6b83 [tx-robot] updated from transifex 2020-12-18 03:49:34 +00:00
Andy Scherzinger 03606f01d9 Merge pull request #7664 from czlucius/fix-issue-7633
Fix issue #7633
2020-12-17 22:49:09 +01:00
Andy Scherzinger e1a46e1ff5 Merge pull request #7675 from nextcloud/dependabot/add-v2-config-file
Create Dependabot config file
2020-12-17 18:27:38 +01:00
czlucius 2cad7849ba Change alert dialog button text color
This commit changes the text color of the AlertDialog's buttons from `?android:attr/textColorPrimary` to `@color/text_color`.
This ensures that the button text can be readable throughout all themes.
2020-12-17 22:43:50 +08:00
Tobias Kaminsky dd98c51474 Merge pull request #7668 from nextcloud/fixHelpLink
Update help link
2020-12-17 15:33:03 +01:00
czlucius 125bc3089d Change button text color from black to system text color
This commit changes the button text color from black(#000000) to a prominent text color that varies depending on the theme settings.
2020-12-17 22:29:48 +08:00
czlucius 36c6729d6c Fix issue #7633 by adding button style
Add `android:buttonBarButtonStyle` to `FallbackTheming.Dialog`, modifying the button style of the fallback `AlertDialog`, so that the button would not appear as invisible.
2020-12-17 22:25:00 +08:00
Nextcloud bot 828384b913 [tx-robot] updated from transifex 2020-12-17 03:47:40 +00:00
dependabot-preview[bot] d5b566a6c2 Create Dependabot config file 2020-12-16 10:40:01 +00:00
tobiasKaminsky 0ad1af7717 fix crash when changing theme after showing media pane
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-16 10:46:46 +01:00
Nextcloud bot a5fd5b3523 [tx-robot] updated from transifex 2020-12-16 03:49:46 +00:00
Nextcloud bot 91dbcc3644 [tx-robot] updated from transifex 2020-12-15 16:35:50 +00:00
Tobias Kaminsky 6d63811d70 Merge pull request #7670 from nextcloud/transifexLineWrap
Do not line wrap
2020-12-15 17:33:24 +01:00
tobiasKaminsky 8f17dad9e5 Do not line wrap
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-15 17:32:43 +01:00
Andy Scherzinger 0e66e8ea86 Update help link
Resolves #7646

Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-14 22:19:55 +01:00
Chris Narkiewicz 70865ae337 Fix upload by sharing link with defensive check during mtime read
Since mtime is used to update cache and is not on critical path,
we can make it optional. If it's not available, cache behaviour
will suffer, but sharing should not fail.

Fixes #7587

Signed-off-by: Chris Narkiewicz <[email protected]>
2020-12-12 00:06:05 +00:00
Andy Scherzinger a95c363e8f Merge pull request #7638 from Kuuuna98/CopyrightComment
Added copyright comment to the header of a file
2020-12-09 14:38:09 +01:00
Kuuuna98 72483f0e10 Added copyright comment to the header of a file
Signed-off-by: Kuuuna98 <[email protected]>
2020-12-09 22:24:36 +09:00
Andy Scherzinger c787a29463 Merge pull request #6652 from nextcloud/screenshotsWhite
Screenshots white
2020-12-09 14:12:04 +01:00
Andy Scherzinger 382f24a528 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-09 13:11:47 +01:00
Andy Scherzinger 912f4c083c Merge pull request #7636 from nextcloud/dependabot/gradle/kotlin_version-1.4.21
Bump kotlin_version from 1.4.20 to 1.4.21
2020-12-09 11:41:23 +01:00
Andy Scherzinger a584855519 add missing screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-09 09:38:30 +01:00
dependabot-preview[bot] 49effe0021 Bump kotlin_version from 1.4.20 to 1.4.21
Bumps `kotlin_version` from 1.4.20 to 1.4.21.

Updates `kotlin-gradle-plugin` from 1.4.20 to 1.4.21

Updates `kotlin-stdlib-jdk7` from 1.4.20 to 1.4.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.20...v1.4.21)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-12-09 02:16:00 +00:00
tobiasKaminsky 9800d58366 add missing screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:13 +01:00
tobiasKaminsky bb14387ee3 add missing screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:11 +01:00
tobiasKaminsky a382cd0afb Add missing screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:10 +01:00
tobiasKaminsky 500541ed7b Add missing screenshots
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:09 +01:00
tobiasKaminsky 548d2d75d7 add screenshot html overview script
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:08 +01:00
Andy Scherzinger 7e51ba99f6 Update white/dark screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-08 23:42:07 +01:00
tobiasKaminsky 2499896a51 Add white screenhot tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:06 +01:00
tobiasKaminsky 5ee724600d Add screenshots with white primary color
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-08 23:42:05 +01:00
Andy Scherzinger ab26acbce3 Merge pull request #7618 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.40.0
Bump ktlint from 0.39.0 to 0.40.0
2020-12-08 09:58:57 +01:00
Andy Scherzinger 0fc91a7a1e proper identation
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-08 09:11:18 +01:00
Andy Scherzinger 39847c3ef3 Merge pull request #7163 from nextcloud/newEmulator
use new emulator
2020-12-07 22:02:06 +01:00
Andy Scherzinger 45f8d5163b update screenshot
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-07 21:26:08 +01:00
tobiasKaminsky 2d0e924919 use new emulator
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-07 21:25:29 +01:00
Andy Scherzinger 44440f8f08 Merge pull request #7591 from nextcloud/dependabot/gradle/androidx.exifinterface-exifinterface-1.3.2
Bump exifinterface from 1.3.1 to 1.3.2
2020-12-07 21:24:20 +01:00
dependabot-preview[bot] d3a94aedff Bump exifinterface from 1.3.1 to 1.3.2
Bumps exifinterface from 1.3.1 to 1.3.2.

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-12-07 16:48:20 +00:00
Andy Scherzinger 3d47ce579c Merge pull request #7481 from nextcloud/storagePath
Fix edge case when app is restored during backup and storage path does not exist
2020-12-07 17:40:10 +01:00
Andy Scherzinger 1d35868f51 add button tinting
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-07 15:17:50 +01:00
tobiasKaminsky 975841735b Fix edge case when app is restored during backup and storage path does not exist
Fix #4151

Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-07 15:17:39 +01:00
Andy Scherzinger 96e9ae7f77 Merge pull request #7586 from nextcloud/coverage
Fix coverage tests
2020-12-07 14:56:10 +01:00
Nextcloud bot 1a34d75eff [tx-robot] updated from transifex 2020-12-07 03:49:41 +00:00
dependabot-preview[bot] 1477c82ce1 Bump ktlint from 0.39.0 to 0.40.0
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.39.0...0.40.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-12-07 02:15:15 +00:00
Nextcloud bot d93bd41538 [tx-robot] updated from transifex 2020-12-06 03:45:26 +00:00
Nextcloud bot 31de25b86a [tx-robot] updated from transifex 2020-12-05 03:46:14 +00:00
Andy Scherzinger 72f980ed94 Merge pull request #7527 from nextcloud/moveAutoUploadToSettings
Move auto upload to settings
2020-12-04 16:11:36 +01:00
drone badb394e19 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <noreply@drone>
2020-12-04 09:20:24 +00:00
Andy Scherzinger fb254d1b1f Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-04 09:35:23 +01:00
Andy Scherzinger 0086b01e1e update tests
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-04 09:35:22 +01:00
Andy Scherzinger 54589b42b4 proper back arrow handling after moving auto upload screen to settings
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-04 09:35:21 +01:00
Andy Scherzinger fca4e92749 Move auto upload to settings
Resolves #6793

Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-04 09:35:10 +01:00
Nextcloud bot a7fed0fc49 [tx-robot] updated from transifex 2020-12-03 03:47:30 +00:00
Andy Scherzinger 1f0f7c163d Merge pull request #7585 from nextcloud/changelog-master-stable-3.14.1
Add changelog for 3.14.1
2020-12-02 11:41:40 +01:00
tobiasKaminsky aa188d8c0d Fix coverage tests
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-02 11:22:13 +01:00
tobiasKaminsky 3d2930da50 Add changelog for 3.14.1
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-02 10:35:43 +01:00
Nextcloud bot b4b8a67019 [tx-robot] updated from transifex 2020-12-02 03:47:46 +00:00
Andy Scherzinger 183efcbe89 Merge pull request #7333 from nextcloud/shimmer
Add shimmer to preview image fragment
2020-12-01 12:43:47 +01:00
Andy Scherzinger 6521f2c117 Merge pull request #7538 from bguneys/master
Make PIN activity mimic a dialog
2020-12-01 12:41:52 +01:00
Andy Scherzinger 700d3fe866 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-01 09:14:19 +01:00
Andy Scherzinger f50d805e4a remove testing delay
Signed-off-by: Andy Scherzinger <[email protected]>
2020-12-01 00:01:44 +01:00
tobiasKaminsky f32ac35783 wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-30 22:55:51 +01:00
tobiasKaminsky a319b2195f wip
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-30 22:55:50 +01:00
Andy Scherzinger 35a070b7d5 optimized layout for rtl languages
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:42:36 +01:00
Andy Scherzinger 06aca9e078 optimize layout
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:37:07 +01:00
Andy Scherzinger 6ff582a886 remove variable prefixes and sort member variables
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:49 +01:00
Andy Scherzinger 7af5ed1bb6 replace manual view access with view binding
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:48 +01:00
Andy Scherzinger dadbf70fd6 use final on variables, remove c-style array definition
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:48 +01:00
Andy Scherzinger a2ac0d427a further optimize layout to mimic dialog
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:48 +01:00
Andy Scherzinger 379a5d0ec7 Updated screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:48 +01:00
bguneys f048880725 Add padding to layout
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:47 +01:00
bguneys d90facec0a Make PIN activity mimic a dialog
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 22:26:47 +01:00
Tobias Kaminsky ad54939b39 Merge pull request #7513 from nextcloud/drop44
Drop Android 4.4 Support
2020-11-30 15:27:25 +01:00
Andy Scherzinger dc0337476d Merge pull request #7565 from nextcloud/hardenConnectionCheck
getActiveNetwork might be null
2020-11-30 13:13:10 +01:00
nextcloud-android-bot 58f4c6833c Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-11-30 09:58:07 +00:00
Andy Scherzinger f1857bc88f remove unused string resouces
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:09 +01:00
Andy Scherzinger a72bf7bc78 remove Android 4.4. code block from kotlin files
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:08 +01:00
nextcloud-android-bot 0849cf21bd Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-11-30 09:57:07 +01:00
Andy Scherzinger e745dc8b67 spotbugs: remove unreachable code block
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:06 +01:00
Andy Scherzinger a75d8c0755 remove all test min sdk references and declarations
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:05 +01:00
Andy Scherzinger 02ec390cc4 spotbugs remove unused list
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:04 +01:00
Andy Scherzinger e52331a781 merge theme for minSDK=21
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:03 +01:00
Andy Scherzinger cf2a35f64d Drop Android 4.4 Support
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-30 09:57:02 +01:00
tobiasKaminsky a03b066073 getActiveNetwork might be null
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-30 09:55:39 +01:00
Nextcloud bot a9906aa1d7 [tx-robot] updated from transifex 2020-11-30 03:44:41 +00:00
Nextcloud bot 9bf4b11cd0 [tx-robot] updated from transifex 2020-11-29 03:43:39 +00:00
Nextcloud bot 6367537c23 [tx-robot] updated from transifex 2020-11-28 03:41:00 +00:00
Nextcloud bot 4216316141 [tx-robot] updated from transifex 2020-11-27 03:42:04 +00:00
Tobias Kaminsky 4d481a712f Merge pull request #7488 from nextcloud/vpn
More detailed check if >= Android M for metered connections
2020-11-26 10:13:15 +01:00
Tobias Kaminsky 7436fbede7 Merge pull request #6757 from nextcloud/removeBigSpinner
Remove big spinner
2020-11-26 09:30:26 +01:00
Andy Scherzinger 5a4e059265 Merge pull request #7501 from nextcloud/dependabot/gradle/mockitoVersion-3.6.28
Bump mockitoVersion from 3.6.0 to 3.6.28
2020-11-26 09:26:27 +01:00
tobiasKaminsky a81fcb8f63 Update last screenshot
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-26 08:25:40 +01:00
Nextcloud bot d3d2564d0c [tx-robot] updated from transifex 2020-11-26 03:46:54 +00:00
dependabot-preview[bot] 127e1fb6eb Bump mockitoVersion from 3.6.0 to 3.6.28
Bumps `mockitoVersion` from 3.6.0 to 3.6.28.

Updates `mockito-core` from 3.6.0 to 3.6.28
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.0...v3.6.28)

Updates `mockito-android` from 3.6.0 to 3.6.28
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.0...v3.6.28)

Signed-off-by: dependabot-preview[bot] <[email protected]>
2020-11-26 02:20:15 +00:00
Andy Scherzinger b1cc464348 Update/Add screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-26 00:25:18 +01:00
nextcloud-android-bot d25c201b63 Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <[email protected]>
2020-11-25 21:22:03 +00:00
Andy Scherzinger 1e93c5c301 add test for shimmering contact list
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:16 +01:00
Andy Scherzinger b58402cab6 changes after rebase
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:15 +01:00
Andy Scherzinger f3749b6bd3 Update tests to shimmer logic
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:14 +01:00
Andy Scherzinger 3d2b7b33b6 update screenshot
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:12 +01:00
Andy Scherzinger 1f1d50e54a update activities tests
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:11 +01:00
Andy Scherzinger 104d2f0bbf Update Screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:10 +01:00
Andy Scherzinger 95120156c8 cleanup shimmers
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:09 +01:00
Andy Scherzinger 3e9b9b0406 use correct license headers
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:07 +01:00
Andy Scherzinger 2c5e035f1d add trashbin loading screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:06 +01:00
Andy Scherzinger 50ae3c631f add shimmer to media preview
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:04 +01:00
Andy Scherzinger a3c1cecc7d reset binding at view destruction
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:03 +01:00
Andy Scherzinger 7febfb262b add shimmer test for trashbin
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:09:01 +01:00
Andy Scherzinger afb4d925a1 add shimmer effect to trashbin screen
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:59 +01:00
Andy Scherzinger b74be97a16 WIP image loader animation
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:57 +01:00
Andy Scherzinger 82339ef769 update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:56 +01:00
Andy Scherzinger aa76e9e147 proper empty list display
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:54 +01:00
Andy Scherzinger d5e6c5af5d proper empty list display
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:53 +01:00
Andy Scherzinger 5f9ab5de88 Cleanup code
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:52 +01:00
Andy Scherzinger c76c02b542 remove unused imports
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:51 +01:00
Andy Scherzinger db8c1ce130 add shimmer to text preview loading
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:49 +01:00
Andy Scherzinger 5cedaad2ba add shimmer effect to file detail activities
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:48 +01:00
Andy Scherzinger e1191f95ad add shimmer to contacts list
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:45 +01:00
Andy Scherzinger a5b2d02c4a proper loading animation for notification list
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:43 +01:00
Andy Scherzinger eab3a66bea update screenshot
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:42 +01:00
Andy Scherzinger ed9149c27b optimize loading layout for image preview
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:41 +01:00
Andy Scherzinger f95c0b5024 Update after rebase
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:40 +01:00
Andy Scherzinger 8da22c53f4 update test screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:39 +01:00
Andy Scherzinger a2f0d81c21 add loading shimmer for preview image
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:38 +01:00
Andy Scherzinger ae838f69cd add loading shimmer effect for auto upload
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:37 +01:00
Andy Scherzinger f36ea93c2b correct test call
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:36 +01:00
Andy Scherzinger bf37be4da5 correct writing of shimmer
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:34 +01:00
Andy Scherzinger c1a5481283 replace butterknife with native view bindings for activities view
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:33 +01:00
Andy Scherzinger 168c0d5483 introduce schimmer effect for loading screen for activities and view bindings
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:32 +01:00
Andy Scherzinger dd6fe73302 shimmer effect loading screen for user info details
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:31 +01:00
Andy Scherzinger 7f49ed9e08 Draft for shimmer effect loading screen for activities
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-25 22:08:30 +01:00
tobiasKaminsky 92197d368b Remove big spinner
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-25 22:08:29 +01:00
Andy Scherzinger 3ec96c215f Merge pull request #7348 from nextcloud/conflictName
Show file and folder name in resolve conflict dialog
2020-11-25 15:26:28 +01:00
tobiasKaminsky e899c28988 More detailed check if >= Android M for metered connections
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-25 15:17:09 +01:00
Tobias Kaminsky 284bc6460a Merge pull request #7482 from nextcloud/fixDownloadOnConflict
When conflicting upload and user decides to keep existing file, do not fail on downloading it
2020-11-25 14:16:52 +01:00
Tobias Kaminsky 03a6d9294d Merge pull request #7372 from Kuuuna98/enhancement_passcode_screen
Closed the app when press back button from App passcode screen
2020-11-25 11:44:39 +01:00
tobiasKaminsky 01240c9fd4 When conflicting upload and user decides to keep existing file, do not fail on downloading it
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-25 09:29:57 +01:00
Nextcloud bot 2fb43be91e [tx-robot] updated from transifex 2020-11-25 03:44:06 +00:00
Andy Scherzinger 76af29a216 Update screenshots
Signed-off-by: Andy Scherzinger <[email protected]>
2020-11-24 22:41:57 +01:00
tobiasKaminsky cc6be5f2f0 Show folder name in resolve conflict dialog
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-24 22:40:26 +01:00
Andy Scherzinger e7fccdfe29 Merge pull request #7312 from nextcloud/deckIntegration
SDK30: Add queries to get info about deck app
2020-11-24 22:17:19 +01:00
tobiasKaminsky db3d238523 SDK30: Add queries to get info about deck app
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-24 16:13:58 +01:00
dependabot-preview[bot] ac68f844fd Merge pull request #7459 from nextcloud/dependabot/gradle/daggerVersion-2.30.1 2020-11-24 10:03:44 +00:00
una.kwon 830e84df38 replaced "21" with "Build.VERSION_CODES.LOLLIPOP" 2020-11-24 18:39:52 +09:00
dependabot-preview[bot] 634e138fb4 Bump daggerVersion from 2.29.1 to 2.30.1
Bumps `daggerVersion` from 2.29.1 to 2.30.1.

Updates `dagger` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Updates `dagger-android` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Updates `dagger-android-support` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Updates `dagger-compiler` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Updates `dagger-android-processor` from 2.29.1 to 2.30.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.29.1...dagger-2.30.1)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-24 09:45:05 +01:00
Tobias Kaminsky 909c3d3313 Merge pull request #7461 from nextcloud/deletFile
Stop file only if removed file is an audio file
2020-11-24 09:24:23 +01:00
tobiasKaminsky a6862e8d99 Stop file only if removed file is an audio file
Signed-off-by: tobiasKaminsky <[email protected]>
2020-11-24 07:59:34 +01:00
una.kwon babf64f5e9 Modified code to close the app after checking API >= 21
If API >= 21, Closed the app when press back button from App passcode screen
2020-11-24 13:16:33 +09:00
una.kwon 02d12b803c Modified code in consideration of API
It has been modified from finishAndRemoveTask() to finish() in consideration of API  < 21.
2020-11-21 00:54:14 +09:00
Kuuuna98 ddc3db038c Closed the screen when press back button from App passcode screen
Signed-off-by: Kuuuna98 <[email protected]>
2020-11-19 19:22:19 +09:00
2239 changed files with 42823 additions and 29160 deletions

No files matched your search

+5 -2
View File
@@ -16,6 +16,9 @@ comment:
layout: "header, diff, changes, uncovered, tree"
behavior: default
github_checks:
annotations: false
ignore:
- "src/main/res/values*/*"
- "app/src/main/res/values*/*"
+16
View File
@@ -0,0 +1,16 @@
FROM ubuntu:focal
ARG DEBIAN_FRONTEND=noninteractive
ENV ANDROID_HOME=/usr/lib/android-sdk
RUN apt-get update -y
RUN apt-get install -y unzip wget openjdk-8-jdk vim
RUN wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip -O /tmp/commandlinetools.zip
RUN cd /tmp && unzip commandlinetools.zip
RUN mkdir -p /usr/lib/android-sdk/cmdline-tools/
RUN cd /tmp/ && mv cmdline-tools/ latest/ && mv latest/ /usr/lib/android-sdk/cmdline-tools/
RUN mkdir /usr/lib/android-sdk/licenses/
RUN chmod -R 755 /usr/lib/android-sdk/
RUN mkdir -p $HOME/.gradle
RUN echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
+5
View File
@@ -0,0 +1,5 @@
# Instructions
1. Start a DevContainer either on GitHub Codespaces or locally in VSCode.
2. Accept all licenses by running `yes | /usr/lib/android-sdk/cmdline-tools/latest/bin/sdkmanager --licenses`.
3. You can now build the app using `./gradlew clean build`.
+3
View File
@@ -0,0 +1,3 @@
ANDROID_HOME=/usr/lib/android-sdk
JAVA_OPTS="-Xmx8192M"
GRADLE_OPTS="-Dorg.gradle.daemon=true"
+4
View File
@@ -0,0 +1,4 @@
{
"name": "NextcloudAndroid",
"dockerFile": "Dockerfile",
}
+34 -81
View File
@@ -5,7 +5,7 @@ name: tests-stable
steps:
- name: gplay
image: nextcloudci/android:android-49
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
LOG_USERNAME:
@@ -16,50 +16,29 @@ steps:
from_secret: GIT_USERNAME
GIT_TOKEN:
from_secret: GIT_TOKEN
ORG_GRADLE_PROJECT_coverage: ''
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- sed -i s"#server#server#" gradle.properties
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
- ./gradlew assembleGplay
- ./gradlew assembleGplayDebug
- scripts/wait_for_emulator.sh
- ./gradlew jacocoTestGplayDebugUnitTestReport && scripts/deleteOutdatedComments.sh "stable" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- scripts/deleteOldComments.sh "stable" "Unit" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew jacocoTestGplayDebugUnitTestReport || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "Unit" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew installGplayDebugAndroidTest
- scripts/wait_for_server.sh "server"
- ./gradlew createGplayDebugCoverageReport -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest && scripts/deleteOutdatedComments.sh "stable" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- scripts/deleteOldComments.sh "stable" "IT" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew createGplayDebugCoverageReport -Pcoverage -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "stable" "IT" $DRONE_PULL_REQUEST $GIT_TOKEN
- ./gradlew combinedTestReport
- name: notify
image: drillster/drone-email
settings:
port: 587
from: [email protected]
recipients_only: true
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
recipients:
from_secret: EMAIL_RECIPIENTS
host:
from_secret: EMAIL_HOST
when:
event:
- push
status:
- failure
branch:
- master
services:
- name: server
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
- BRANCH='stable20' /usr/local/bin/initnc.sh
- BRANCH='stable23' /usr/local/bin/initnc.sh
- echo 127.0.0.1 server >> /etc/hosts
- su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1"
- su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2"
@@ -68,16 +47,18 @@ services:
- su www-data -c "php /var/www/html/occ group:add users"
- su www-data -c "php /var/www/html/occ group:adduser users user1"
- su www-data -c "php /var/www/html/occ group:adduser users user2"
- su www-data -c "git clone -b stable20 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "git clone -b stable23 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/"
- su www-data -c "php /var/www/html/occ app:enable activity"
- su www-data -c "git clone -b stable20 https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "git clone -b stable23 https://github.com/nextcloud/text.git /var/www/html/apps/text/"
- su www-data -c "php /var/www/html/occ app:enable text"
- su www-data -c "git clone -b stable23 https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/"
- su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption"
- /usr/local/bin/run.sh
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
@@ -88,7 +69,7 @@ name: tests-master
steps:
- name: gplay
image: nextcloudci/android:android-49
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
LOG_USERNAME:
@@ -99,47 +80,15 @@ steps:
from_secret: GIT_USERNAME
GIT_TOKEN:
from_secret: GIT_TOKEN
ORG_GRADLE_PROJECT_coverage: ''
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
- ./gradlew assembleGplay
- ./gradlew assembleGplayDebug
- scripts/wait_for_emulator.sh
- ./gradlew jacocoTestGplayDebugUnitTestReport && scripts/deleteOutdatedComments.sh "master" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master" "Unit" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew installGplayDebugAndroidTest
- scripts/wait_for_server.sh "server"
- ./gradlew createGplayDebugCoverageReport -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.owncloud.android.utils.ScreenshotTest && scripts/deleteOutdatedComments.sh "master" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN || scripts/uploadReport.sh $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER "master" "IT" $DRONE_PULL_REQUEST $GIT_USERNAME $GIT_TOKEN
- ./gradlew combinedTestReport
- curl -o codecov.sh https://codecov.io/bash
- bash ./codecov.sh -t fc506ba4-33c3-43e4-a760-aada38c24fd5
- name: notify
image: drillster/drone-email
settings:
port: 587
from: [email protected]
recipients_only: true
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
recipients:
from_secret: EMAIL_RECIPIENTS
host:
from_secret: EMAIL_HOST
when:
event:
- push
status:
- failure
branch:
- master
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- scripts/runCombinedTest.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER
services:
- name: server
image: nextcloudci/server:server-17 # also change in updateScreenshots.sh
image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh
environment:
EVAL: true
commands:
@@ -163,17 +112,20 @@ services:
trigger:
branch:
- master
- stable-*
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: analysis
name: allScreenshots
steps:
- name: analysis
image: nextcloudci/android:android-49
- name: runAllScreenshots
image: ghcr.io/nextcloud/continuous-integration-android8:2
privileged: true
environment:
GIT_USERNAME:
from_secret: GIT_USERNAME
@@ -184,10 +136,12 @@ steps:
LOG_PASSWORD:
from_secret: LOG_PASSWORD
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- export BRANCH=$(scripts/analysis/getBranchName.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST)
- scripts/analysis/analysis-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER $DRONE_PULL_REQUEST
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g app/src/main/res/values/setup.xml
- sed -i s'#showOnlyFailingTestsInReports = ciBuild#showOnlyFailingTestsInReports = false#' build.gradle
- scripts/wait_for_emulator.sh
- scripts/runAllScreenshotCombinations noCI false
- scripts/screenshotSummary.sh
- name: notify
image: drillster/drone-email
settings:
@@ -209,10 +163,9 @@ steps:
- failure
branch:
- master
- stable-*
trigger:
branch:
- master
event:
- push
- pull_request
- cron
cron:
- allscreenshots
+3
View File
@@ -13,6 +13,9 @@ max_line_length=120
indent_style=space
indent_size=4
[*.yml]
max_line_length=150
charset=utf-8
# Trimming is good for consistency
+17
View File
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
time: "03:00"
timezone: Europe/Paris
rebase-strategy: "disabled"
open-pull-requests-limit: 10
labels:
- 2. to review
- dependencies
+7 -5
View File
@@ -1,9 +1,11 @@
### Testing
<!--
TESTING
Writing tests is very important. Please try to write some tests for your PR.
If you need help, please do not hesitate to ask in this PR for help.
[unit tests](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#unit-tests)
[instrumented tests](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#instrumented-tests)
[UI tests](https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#ui-tests)
Unit tests: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#unit-tests
Instrumented tests: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#instrumented-tests
UI tests: https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md#ui-tests
-->
- [ ] Tests written, or not not needed
-19
View File
@@ -1,19 +0,0 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 28
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels:
- bug
- "needs info/discussion"
# Issues with these labels will never be considered stale
exemptLabels: []
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This bug report did not receive an update in the last 4 weeks.
Please take a look again and update the issue with new details,
otherwise the issue will be automatically closed in 2 weeks. Thank you!
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+47
View File
@@ -0,0 +1,47 @@
name: "Analysis"
on:
pull_request_target:
branches: [ master, stable-* ]
push:
branches: [ master, stable-* ]
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- name: Setup variables
id: get-vars
run: |
if [ -z "$GITHUB_HEAD_REF" ]; then
# push
echo "::set-output name=branch::$GITHUB_REF_NAME"
echo "::set-output name=pr::$GITHUB_RUN_ID"
echo "::set-output name=repo::${{ github.repository }}"
else
# pull request
echo "::set-output name=branch::$GITHUB_HEAD_REF"
echo "::set-output name=pr::${{ github.event.pull_request.number }}"
echo "::set-output name=repo::${{ github.event.pull_request.head.repo.full_name }}"
fi
- name: Show variables
run: |
echo "REPO: ${{ steps.get-vars.outputs.repo }}"
echo "BRANCH: ${{ steps.get-vars.outputs.branch }}"
echo "PR: ${{ steps.get-vars.outputs.pr }}"
echo "RUN NUMBER: $GITHUB_RUN_NUMBER"
- uses: actions/checkout@v3
with:
token: ${{ secrets.GIT_TOKEN }}
repository: ${{ steps.get-vars.outputs.repo }}
ref: ${{ steps.get-vars.outputs.branch }}
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 11
- name: Run analysis wrapper
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
scripts/analysis/analysis-wrapper.sh ${{ secrets.GIT_USERNAME }} ${{ secrets.GIT_TOKEN }} ${{ steps.get-vars.outputs.branch }} ${{ secrets.LOG_USERNAME }} ${{ secrets.LOG_PASSWORD }} $GITHUB_RUN_NUMBER ${{ steps.get-vars.outputs.pr }}
+24
View File
@@ -0,0 +1,24 @@
name: "Assemble"
on:
pull_request:
branches: [ master, stable-* ]
jobs:
flavor:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
flavor: [ Generic, Gplay, Huawei ]
steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 11
- name: Build ${{ matrix.flavor }}
run: |
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
./gradlew assemble${{ matrix.flavor }}
+5 -3
View File
@@ -1,11 +1,13 @@
name: Auto approve
on: pull_request
on:
pull_request_target:
branches: [ master, stable-* ]
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
- uses: hmarr/auto-approve-action@v2.1.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
-42
View File
@@ -1,42 +0,0 @@
name: "Blue color on dark mode"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
blueDark:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build gplay
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplayDebug
- name: Delete old comments
env:
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run: scripts/deleteOldComments.sh "Blue-Dark" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 27
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: ./gradlew gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=blue -Pandroid.testInstrumentationRunnerArguments.DARKMODE=dark
- name: upload failing results
if: ${{ failure() }}
env:
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run:
scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" ${{github.event.number}} "Blue-Dark" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
-42
View File
@@ -1,42 +0,0 @@
name: "Blue color on light mode"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
blueLight:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build gplay
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplayDebug
- name: Delete old comments
env:
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run: scripts/deleteOldComments.sh "Blue-Light" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 27
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: ./gradlew gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=blue -Pandroid.testInstrumentationRunnerArguments.DARKMODE=light
- name: upload failing results
if: ${{ failure() }}
env:
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
run:
scripts/uploadReport.sh "$LOG_USERNAME" "$LOG_PASSWORD" ${{github.event.number}} "Blue-Light" "Screenshot" ${{github.event.number}} "$GIT_USERNAME" "$GIT_TOKEN"
+22
View File
@@ -0,0 +1,22 @@
name: Check
on:
pull_request:
branches: [ master, stable-* ]
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
task: [ detekt, ktlintCheck ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 11
- name: Check ${{ matrix.task }}
run: ./gradlew ${{ matrix.task }}
+46
View File
@@ -0,0 +1,46 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Rebase command
on:
issue_comment:
types: created
jobs:
rebase:
runs-on: ubuntu-latest
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
+14
View File
@@ -0,0 +1,14 @@
name: "Detect snapshot"
on:
pull_request:
branches: [ master, stable-* ]
jobs:
detectSnapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Detect SNAPSHOT
run: scripts/analysis/detectSNAPSHOT.sh
-20
View File
@@ -1,20 +0,0 @@
name: Detekt
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
detekt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Runt detekt
run: ./gradlew detekt
-25
View File
@@ -1,25 +0,0 @@
name: "Gplay Flavor"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
gPlayFlavor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Install NDK
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
- name: Build with Gradle
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplay
-25
View File
@@ -1,25 +0,0 @@
name: "Generic Flavor"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
genericFlavor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Install NDK
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
- name: Build generic
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGeneric
@@ -1,15 +1,13 @@
name: "Validate Gradle Wrapper"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches: [ master, stable-* ]
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
-20
View File
@@ -1,20 +0,0 @@
name: KtLint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Runt ktlint
run: ./gradlew ktlint
+18 -14
View File
@@ -1,33 +1,37 @@
name: "QA"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
pull_request_target:
branches: [ master, stable-* ]
jobs:
qa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v3
with:
java-version: 1.8
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: set up JDK 11
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 11
- name: Install NDK and cmake
run: |
source ndk.env
/usr/local/lib/android/sdk/tools/bin/sdkmanager "ndk;${NDK_VERSION}" "cmake;${CMAKE_VERSION}"
- name: Build QA
env:
KS_PASS: ${{ secrets.KS_PASS }}
KEY_PASS: ${{ secrets.KEY_PASS }}
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
LOG_USERNAME: ${{ secrets.LOG_USERNAME }}
LOG_PASSWORD: ${{ secrets.LOG_PASSWORD }}
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" build.gradle
sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" build.gradle
sed -i "/qa/,/\}/ s/versionCode .*/versionCode ${{github.event.number}} /" app/build.gradle
sed -i "/qa/,/\}/ s/versionName .*/versionName \"${{github.event.number}}\"/" app/build.gradle
./gradlew assembleQaDebug
$(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks build/outputs/apk/qa/debug/qa-debug-*.apk
sudo scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}} $GIT_USERNAME $GIT_TOKEN
$(find /usr/local/lib/android/sdk/build-tools/*/apksigner | sort | tail -n1) sign --ks-pass pass:$KS_PASS --key-pass pass:$KEY_PASS --ks-key-alias key0 --ks scripts/QA_keystore.jks app/build/outputs/apk/qa/debug/qa-debug-*.apk
sudo scripts/uploadArtifact.sh $LOG_USERNAME $LOG_PASSWORD ${{github.event.number}} ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
+55
View File
@@ -0,0 +1,55 @@
name: Scorecards supply-chain security
on:
# Only the default branch is supported.
branch_protection_rule:
schedule:
- cron: '33 1 * * 5'
push:
branches: [ master ]
# Declare default permissions as read only.
permissions: read-all
jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
actions: read
contents: read
steps:
- name: "Checkout code"
uses: actions/checkout@v3 # v2.4.0
with:
persist-credentials: false
- name: "Run analysis"
uses: ossf/scorecard-action@e3e75cf2ffbf9364bbff86cdbdf52b23176fe492 # v1.0.1
with:
results_file: results.sarif
results_format: sarif
# Read-only PAT token. To create it,
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation.
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
# Publish the results to enable scorecard badges. For more details, see
# https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories, `publish_results` will automatically be set to `false`,
# regardless of the value entered here.
publish_results: false
# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v2.3.1
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # v1.0.26
with:
sarif_file: results.sarif
+85
View File
@@ -0,0 +1,85 @@
name: "Screenshot Test"
on:
pull_request:
branches: [ master, stable-* ]
jobs:
screenshot:
runs-on: macOS-latest
strategy:
fail-fast: false
matrix:
scheme: [ Light ]
color: [ blue ]
api-level: [ 27 ]
steps:
- uses: actions/checkout@v3
- name: Gradle cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}
- uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 11
- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
arch: x86
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: echo "Generated AVD snapshot for caching."
- name: Configure gradle daemon
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
echo "org.gradle.caching=true" >> $HOME/.gradle/gradle.properties
- name: Build gplay
run: ./gradlew assembleGplayDebug
- name: Delete old comments
if: ${{ always() }}
run: scripts/deleteOldComments.sh "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
- name: Run screenshot tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
arch: x86
sdcard-path-or-size: 100M
target: google_apis
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -skin 500x833
script: ./gradlew uninstallAll gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest -Pandroid.testInstrumentationRunnerArguments.COLOR=${{ matrix.color }} -Pandroid.testInstrumentationRunnerArguments.DARKMODE=${{ matrix.scheme }}
- name: upload failing results
if: ${{ failure() }}
run:
scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "${{ matrix.color }}-${{ matrix.scheme }}" "Screenshot" ${{github.event.number}} ${{ secrets.GITHUB_TOKEN }}
- name: Archive Espresso results
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
if: ${{ always() }}
with:
name: Report-${{ matrix.color }}-${{ matrix.scheme }}
path: app/build/reports
retention-days: 4
+20
View File
@@ -0,0 +1,20 @@
name: 'Close stale issues'
on:
schedule:
- cron: '* */2 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
days-before-stale: 28
days-before-close: 14
days-before-pr-close: -1
only-labels: 'bug,needs info/discussion'
exempt-issue-labels: 'no-stale'
stale-issue-message: 'This bug report did not receive an update in the last 4 weeks.
Please take a look again and update the issue with new details,
otherwise the issue will be automatically closed in 2 weeks. Thank you!'
exempt-all-pr-milestones: true
+4 -2
View File
@@ -1,6 +1,7 @@
# built application files
*.apk
*.ap_
*.aab
# files for the dex VM
*.dex
@@ -28,8 +29,8 @@ tests/proguard-project.txt
# Android Studio and Gradle specific entries
.gradle
.idea
*.iml
.idea/*
!.idea/codeStyles/
build
/gradle.properties
.attach_pid*
@@ -49,3 +50,4 @@ fastlane/Fastfile
**/fastlane/test_output
/fastlane/vendor/
/.bundle/
/fastlane/.bundle/
-13
View File
@@ -28,7 +28,6 @@
</value>
</option>
<option name="RIGHT_MARGIN" value="120" />
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="true" />
<JavaCodeStyleSettings>
<option name="IMPORT_LAYOUT_TABLE">
<value>
@@ -59,15 +58,6 @@
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
</value>
</option>
<option name="PACKAGES_IMPORT_LAYOUT">
<value>
<package name="" alias="false" withSubpackages="true" />
<package name="java" alias="false" withSubpackages="true" />
<package name="javax" alias="false" withSubpackages="true" />
<package name="kotlin" alias="false" withSubpackages="true" />
<package name="" alias="true" withSubpackages="true" />
</value>
</option>
<option name="NAME_COUNT_TO_USE_STAR_IMPORT" value="2147483647" />
<option name="NAME_COUNT_TO_USE_STAR_IMPORT_FOR_MEMBERS" value="2147483647" />
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
@@ -75,9 +65,6 @@
<MarkdownNavigatorCodeStyleSettings>
<option name="RIGHT_MARGIN" value="120" />
</MarkdownNavigatorCodeStyleSettings>
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
<codeStyleSettings language="JAVA">
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_METHOD_BRACKETS" value="true" />
+2 -2
View File
@@ -2,8 +2,8 @@
host = https://www.transifex.com
[nextcloud.android]
file_filter = src/main/res/values-<lang>/strings.xml
source_file = src/main/res/values/strings.xml
file_filter = app/src/main/res/values-<lang>/strings.xml
source_file = app/src/main/res/values/strings.xml
type = ANDROID
source_lang = en
lang_map = af_ZA: af-rZA, am_ET: am-rET, ar_AE: ar-rAE, ar_BH: ar-rBH, ar_DZ: ar-rDZ, ar_EG: ar-rEG, ar_IQ: ar-rIQ, ar_JO: ar-rJO, ar_KW: ar-rKW, ar_LB: ar-rLB, ar_LY: ar-rLY, ar_MA: ar-rMA, ar_OM: ar-rOM, ar_QA: ar-rQA, ar_SA: ar-rSA, ar_SY: ar-rSY, ar_TN: ar-rTN, ar_YE: ar-rYE, arn_CL: arn-rCL, as_IN: as-rIN, az_AZ: az-rAZ, ba_RU: ba-rRU, be_BY: be-rBY, bg_BG: bg-rBG, bn_BD: bn-rBD, bn_IN: bn-rIN, bo_CN: bo-rCN, br_FR: br-rFR, bs_BA: bs-rBA, ca_ES: ca-rES, co_FR: co-rFR, cs_CZ: cs-rCZ, cy_GB: cy-rGB, da_DK: da-rDK, de_AT: de-rAT, de_CH: de-rCH, de_DE: de-rDE, de_LI: de-rLI, de_LU: de-rLU, dsb_DE: dsb-rDE, dv_MV: dv-rMV, el_GR: el-rGR, en_AU: en-rAU, en_BZ: en-rBZ, en_CA: en-rCA, en_GB: b+en+001, en_IE: en-rIE, en_IN: en-rIN, en_JM: en-rJM, en_MY: en-rMY, en_NZ: en-rNZ, en_PH: en-rPH, en_SG: en-rSG, en_TT: en-rTT, en_US: en-rUS, en_ZA: en-rZA, en_ZW: en-rZW, en@pirate: en-rpirate, es_AR: es-rAR, es_BO: es-rBO, es_CL: es-rCL, es_CO: es-rCO, es_CR: es-rCR, es_DO: es-rDO, es_EC: es-rEC, es_ES: es-rES, es_GT: es-rGT, es_HN: es-rHN, es_MX: es-rMX, es_NI: es-rNI, es_PA: es-rPA, es_PE: es-rPE, es_PR: es-rPR, es_PY: es-rPY, es_SV: es-rSV, es_419: b+es+419, es_UY: es-rUY, es_VE: es-rVE, et_EE: et-rEE, eu_ES: eu-rES, fa_IR: fa-rIR, fi_FI: fi-rFI, fil_PH: fil-rPH, fo_FO: fo-rFO, fr_BE: fr-rBE, fr_CA: fr-rCA, fr_CH: fr-rCH, fr_FR: fr-rFR, fr_LU: fr-rLU, fr_MC: fr-rMC, fy_NL: fy-rNL, ga_IE: ga-rIE, gd_GB: gd-rGB, gl_ES: gl-rES, gsw_FR: gsw-rFR, gu_IN: gu-rIN, ha_NG: ha-rNG, he: iw, he_IL: he-rIL, hi_IN: hi-rIN, hr_BA: hr-rBA, hr_HR: hr-rHR, hsb_DE: hsb-rDE, hu_HU: hu-rHU, hy_AM: hy-rAM, id: in, id_ID: id-rID, ig_NG: ig-rNG, ii_CN: ii-rCN, is_IS: is-rIS, it_CH: it-rCH, it_IT: it-rIT, iu_CA: iu-rCA, ja_JP: ja-rJP, ka_GE: ka-rGE, kk_KZ: kk-rKZ, kl_GL: kl-rGL, km_KH: km-rKH, kn_IN: kn-rIN, ko_KR: ko-rKR, kok_IN: kok-rIN, ku_IQ: ku-rIQ, ky_KG: ky-rKG, lb_LU: lb-rLU, lo_LA: lo-rLA, lt_LT: lt-rLT, lv_LV: lv-rLV, mi_NZ: mi-rNZ, mk_MK: mk-rMK, ml_IN: ml-rIN, mn_CN: mn-rCN, mn_MN: mn-rMN, moh_CA: moh-rCA, mr_IN: mr-rIN, ms_BN: ms-rBN, ms_MY: ms-rMY, my_MM: my, mt_MT: mt-rMT, nb_NO: nb-rNO, ne_NP: ne-rNP, nl_BE: nl-rBE, nl_NL: nl-rNL, nn_NO: nn-rNO, nso_ZA: nso-rZA, oc_FR: oc-rFR, or_IN: or-rIN, pa_IN: pa-rIN, pl_PL: pl-rPL, prs_AF: prs-rAF, ps_AF: ps-rAF, pt_BR: pt-rBR, pt_PT: pt-rPT, qut_GT: qut-rGT, quz_BO: quz-rBO, quz_EC: quz-rEC, quz_PE: quz-rPE, rm_CH: rm-rCH, ro_RO: ro-rRO, ru_RU: ru-rRU, rw_RW: rw-rRW, sa_IN: sa-rIN, sah_RU: sah-rRU, se_FI: se-rFI, se_NO: se-rNO, se_SE: se-rSE, si_LK: si-rLK, sk_SK: sk-rSK, sl_SI: sl-rSI, sma_NO: sma-rNO, sma_SE: sma-rSE, smj_NO: smj-rNO, smj_SE: smj-rSE, smn_FI: smn-rFI, sms_FI: sms-rFI, sq_AL: sq-rAL, sr_BA: sr-rBA, sr_CS: sr-rCS, sr_ME: sr-rME, sr_RS: sr-rRS, sr@latin: sr-rSP, sv_FI: sv-rFI, sv_SE: sv-rSE, sw_KE: sw-rKE, syr_SY: syr-rSY, ta_IN: ta-rIN, ta_LK: ta-rLK, te_IN: te-rIN, tg_TJ: tg-rTJ, th_TH: th-rTH, tk_TM: tk-rTM, tn_ZA: tn-rZA, tr_TR: tr-rTR, tt_RU: tt-rRU, tzm_DZ: tzm-rDZ, ug_CN: ug-rCN, uk_UA: uk-rUA, ur_PK: ur-rPK, uz_UZ: uz-rUZ, vi_VN: vi-rVN, wo_SN: wo-rSN, xh_ZA: xh-rZA, yo_NG: yo-rNG, zh_CN: zh-rCN, zh_CN.GB2312:zh-rBG, zh_HK: zh-rHK, zh_MO: zh-rMO, zh_SG: zh-rSG, zh_TW: zh-rTW, zu_ZA: zu-rZA
+142 -6
View File
@@ -1,11 +1,147 @@
## 3.19.1 (March 10, 2022)
- Minor fixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/65
## 3.19.0 (February 3, 2022)
- Support external storage in Media page
- Connection fallback to IPv4 when IPv6 fails
- Many other fixes and improvements
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/62
## 3.18.1 (December 22, 2021)
- Fix connection bug for usernames with spaces
- Fix some crashes in search and share views
- Fix login for server URLs in IP:port format
- Lots of minor bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/63
## 3.18.0 (November 18, 2021)
- Calendar backup/restore
- Unified search
- Sharing permissions improvements
- Minor bug fixes
Minimum: NC 16 Server, Android 6.0 Marshmallow
For a full list, please see https://github.com/nextcloud/android/milestone/61
## 3.17.1 (October, 20, 2021)
- fix FIDO crash
- fix crash in documents provider while offline
- updated translations
Minimum: NC 16 Server, Android 5.1 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/60
## 3.17.0 (August, 19, 2021)
- UI improvements (Avatar, password dialog)
- New video player for better streaming
- Many bug fixes
- Drop Android 5.0, new min version Android 5.1
Minimum: NC 16 Server, Android 5.1 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/59
## 3.16.1 (June, 01, 2021)
- Fix media tab not showing images/videos
- Connectivity checks fixed
- Crashing while retrieving avatar
Minimum: NC 16 Server, Android 5.0 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/58
## 3.16.0 (May, 05, 2021)
- Enhance sharing
- Update template section when creating new files
- Pin protection update
- Updated notification handling during updates @newhinton
- UI improvements
Minimum: NC 16 Server, Android 5.0 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/55
## 3.15.1 (March, 10, 2021)
- share fix
- passcode fix
- enhance share access
Minimum: NC 16 Server, Android 5.0 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/57
## 3.15.0 (February, 02, 2021)
- Media instead of Photos: also show videos
- UI Improvement (shimmer)
- Bug fixes all over the place
- Drop Android 4.4, new min version Android 5.0
Minimum: NC 16 Server, Android 5.0 Lollipop
For a full list, please see https://github.com/nextcloud/android/milestone/52
## 3.14.3 (January, 13, 2021)
- Fix crash when clicking "+" button
- Fix push notifications on some devices
- Fix updating of sharee list
- Fix crash during setting status
- Fix Crash Sharing files to Nextcloud via Android Apps
For a full list, please see https://github.com/nextcloud/android/milestone/56
## 3.14.2 (January, 13, 2021)
- Fix push notifications on some devices
- Fix updating of sharee list
- Fix crash during setting status
- Fix Crash Sharing files to Nextcloud via Android Apps
For a full list, please see https://github.com/nextcloud/android/milestone/54
## 3.14.1 (December, 02, 2020)
- Fix crash due to service not started in time
- Fix UI while media playback
- Fix uploading direct camera images with more than one picture
- Fix conflict handling on auto upload
For a full list, please see https://github.com/nextcloud/android/milestone/53
## 3.14.0 (November, 18, 2020)
Prevent Firebase crashes: Exodus will warn about tracker, but code wise it is disabled
Status support
Document storage enhancement @tgrote
Auto upload media detection improvements @AndyScherzinger
Sharing UI rewrite
Drop Android 4.3, new min version Android 4.4
- Prevent Firebase crashes: Exodus will warn about tracker, but code wise it is disabled
- Status support
- Document storage enhancement @tgrote
- Auto upload media detection improvements @AndyScherzinger
- Sharing UI rewrite
- Drop Android 4.3, new min version Android 4.4
For a full list, please see https://github.com/nextcloud/android/milestone/50
+11 -7
View File
@@ -1,9 +1,5 @@
# [Nextcloud](https://nextcloud.com) Android app
[![irc](https://img.shields.io/badge/IRC-%23nextcloud%20on%20freenode-orange.svg)](https://webchat.freenode.net/?channels=nextcloud)
[![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile)
# Index
1. [Guidelines](#guidelines)
1. [Issue reporting](#issue-reporting)
@@ -16,6 +12,7 @@
1. [Branching model](#branching-model)
1. [Android Studio formatter setup](#android-studio-formatter-setup)
1. [Build variants](#build-variants)
1. [Git hooks](#git-hooks)
1. [Contribution process](#contribution-process)
1. [Fork and download android repository](#fork-and-download-android-repository)
1. [Create pull request](#create-pull-request)
@@ -119,6 +116,14 @@ There are three build variants
* gplay: with Google Stuff (Push notification), used for Google Play Store
* versionDev: based on master and library master, available as direct download and FDroid
### Git hooks
We provide git hooks to make development process easier for both the developer and the reviewers.
To install them, just run:
```bash
./gradlew installGitHooks
```
## Contribution process
* Contribute your code in the branch 'master'. It will give us a better chance to test your code before merging it with stable code.
* For your first contribution start a pull request on master.
@@ -129,12 +134,11 @@ There are three build variants
### Create pull request:
* Commit your changes locally: ```git commit -a```
* Commit your changes locally. Remember to sign off your commits (`git commit -sm 'Your commit message'`).
* Push your changes to your GitHub repo: ```git push```
* Browse to <https://github.com/YOURGITHUBNAME/android/pulls> and issue pull request
* Enter description and send pull request.
### Create another pull request:
To make sure your new pull request does not contain commits which are already contained in previous PRs, create a new branch which is a clone of upstream/master.
@@ -319,7 +323,7 @@ We manage translations via [Transifex](https://www.transifex.com/nextcloud/nextc
If you need to change a translation, do not change it, but give it new key. This way the translation stays backward compatible as we automatically backport translated strings to last versions.
When submitting PRs with changed translations, please only submit changes to values/strings.xml and not changes to translated files. These will be overwritten by next merge of transifex-but and increase PR review.
When submitting PRs with changed translations, please only submit changes to values/strings.xml and not changes to translated files. These will be overwritten by next merge of transifex-bot and increase PR review.
## Engineering practices
+119 -79
View File
@@ -1,77 +1,102 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.2)
addressable (2.7.0)
CFPropertyList (3.0.5)
rexml
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.1.0)
aws-partitions (1.343.0)
aws-sdk-core (3.104.1)
aws-eventstream (1.2.0)
aws-partitions (1.568.0)
aws-sdk-core (3.130.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.36.0)
aws-sdk-core (~> 3, >= 3.99.0)
aws-sdk-kms (1.55.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.75.0)
aws-sdk-core (~> 3, >= 3.104.1)
aws-sdk-s3 (1.113.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.2.1)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.4.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.3)
claide (1.0.3)
babosa (1.0.4)
claide (1.1.0)
colored (1.2)
colored2 (3.1.2)
commander-fastlane (4.4.6)
highline (~> 1.7.2)
commander (4.6.0)
highline (~> 2.0.0)
declarative (0.0.20)
declarative-option (0.1.0)
digest-crc (0.6.1)
rake (~> 13.0)
digest-crc (0.6.4)
rake (>= 12.0.0, < 14.0.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
emoji_regex (3.0.0)
excon (0.75.0)
faraday (0.17.3)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
emoji_regex (3.2.3)
excon (0.92.1)
faraday (1.10.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-cookie_jar (0.0.7)
faraday (>= 0.8.0)
http-cookie (~> 1.0.0)
faraday_middleware (0.14.0)
faraday (>= 0.7.4, < 1.0)
fastimage (2.1.7)
fastlane (2.152.0)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.3)
multipart-post (>= 1.2, < 3)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.2.6)
fastlane (2.205.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.0)
babosa (>= 1.0.3, < 2.0.0)
bundler (>= 1.12.0, < 3.0.0)
colored
commander-fastlane (>= 4.4.6, < 5.0.0)
commander (~> 4.6)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
excon (>= 0.71.0, < 1.0.0)
faraday (>= 0.17, < 1.0)
faraday (~> 1.0)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (>= 0.13.1, < 2.0)
faraday_middleware (~> 1.0)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-api-client (>= 0.37.0, < 0.39.0)
google-cloud-storage (>= 1.15.0, < 2.0.0)
highline (>= 1.7.2, < 2.0.0)
google-apis-androidpublisher_v3 (~> 0.3)
google-apis-playcustomapp_v1 (~> 0.1)
google-cloud-storage (~> 1.31)
highline (~> 2.0)
json (< 3.0.0)
jwt (>= 2.1.0, < 3)
mini_magick (>= 4.9.4, < 5.0.0)
multipart-post (~> 2.0.0)
naturally (~> 2.2)
optparse (~> 0.1.1)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
simctl (~> 1.6.3)
slack-notifier (>= 2.0.0, < 3.0.0)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (>= 0.6.3, < 1.0.0)
@@ -80,74 +105,87 @@ GEM
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-huawei_appgallery_connect (1.0.9)
fastlane-plugin-huawei_appgallery_connect (1.0.18)
gh_inspector (1.1.3)
google-api-client (0.38.0)
google-apis-androidpublisher_v3 (0.16.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-core (0.4.2)
addressable (~> 2.5, >= 2.5.1)
googleauth (~> 0.9)
httpclient (>= 2.8.1, < 3.0)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
mini_mime (~> 1.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
signet (~> 0.12)
google-cloud-core (1.5.0)
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.10.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-playcustomapp_v1 (0.7.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-storage_v1 (0.11.0)
google-apis-core (>= 0.4, < 2.a)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.3.3)
google-cloud-env (1.5.0)
faraday (>= 0.17.3, < 2.0)
google-cloud-errors (1.0.1)
google-cloud-storage (1.26.2)
addressable (~> 2.5)
google-cloud-errors (1.2.0)
google-cloud-storage (1.36.1)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-api-client (~> 0.33)
google-cloud-core (~> 1.2)
googleauth (~> 0.9)
google-apis-iamcredentials_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.1)
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
googleauth (0.13.0)
faraday (>= 0.17.3, < 2.0)
googleauth (1.1.2)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (~> 0.14)
highline (1.7.10)
http-cookie (1.0.3)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.4)
domain_name (~> 0.5)
httpclient (2.8.3)
jmespath (1.4.0)
json (2.3.1)
jwt (2.2.1)
jmespath (1.6.1)
json (2.6.1)
jwt (2.3.0)
memoist (0.16.2)
mini_magick (4.10.1)
mini_mime (1.0.2)
mini_magick (4.11.0)
mini_mime (1.1.2)
multi_json (1.15.0)
multipart-post (2.0.0)
nanaimo (0.3.0)
naturally (2.2.0)
os (1.1.0)
plist (3.5.0)
public_suffix (4.0.5)
rake (13.0.1)
representable (3.0.4)
naturally (2.2.1)
optparse (0.1.1)
os (1.1.4)
plist (3.6.0)
public_suffix (4.0.6)
rake (13.0.6)
representable (3.1.1)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.5)
rouge (2.0.7)
rubyzip (2.3.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
security (0.1.3)
signet (0.14.0)
addressable (~> 2.3)
faraday (>= 0.17.3, < 2.0)
signet (0.16.1)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.0)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.8)
CFPropertyList
naturally
slack-notifier (2.3.2)
terminal-notifier (2.0.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
trailblazer-option (0.1.2)
tty-cursor (0.7.1)
tty-screen (0.8.1)
tty-spinner (0.9.3)
@@ -155,26 +193,28 @@ GEM
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
unf_ext (0.0.8.1)
unicode-display_width (1.8.0)
webrick (1.7.0)
word_wrap (1.0.0)
xcodeproj (1.17.1)
xcodeproj (1.21.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.0)
xcpretty-travis-formatter (1.0.1)
xcpretty (~> 0.2, >= 0.0.7)
PLATFORMS
ruby
x86_64-linux
DEPENDENCIES
fastlane
fastlane-plugin-huawei_appgallery_connect
BUNDLED WITH
2.1.4
2.2.26
+12 -5
View File
@@ -1,6 +1,6 @@
# [Nextcloud](https://nextcloud.com) Android app :iphone:
[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=nextcloud/android&amp;utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest) [![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile)
[![Build Status](https://drone.nextcloud.com/api/badges/nextcloud/android/status.svg)](https://drone.nextcloud.com/nextcloud/android) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/80401cb343854343b4d94acbfb72d3ec)](https://www.codacy.com/app/Nextcloud/android?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=nextcloud/android&amp;utm_campaign=Badge_Grade) [![Releases](https://img.shields.io/github/release/nextcloud/android.svg)](https://github.com/nextcloud/android/releases/latest)
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png"
alt="Download from Google Play"
@@ -16,7 +16,6 @@
## How to contribute :rocket:
If you want to [contribute](https://nextcloud.com/contribute/) to Nextcloud, you are very welcome:
- on our IRC channels [![irc](https://img.shields.io/badge/IRC-%23nextcloud%20on%20freenode-orange.svg)](https://webchat.freenode.net/?channels=nextcloud) and [![irc](https://img.shields.io/badge/IRC-%23nextcloud--mobile%20on%20freenode-blue.svg)](https://webchat.freenode.net/?channels=nextcloud-mobile) on freenode
- our forum at https://help.nextcloud.com
- for translations of the app on [Transifex](https://www.transifex.com/nextcloud/nextcloud/android/)
- opening issues and PRs (including a corresponding issue)
@@ -42,13 +41,21 @@ Make sure you read [SETUP.md](https://github.com/nextcloud/android/blob/master/S
Easy starting points are also reviewing [pull requests](https://github.com/nextcloud/android/pulls) and working on [starter issues](https://github.com/nextcloud/android/issues?q=is%3Aopen+is%3Aissue+label%3A%22starter+issue%22).
### Getting debug info via logcat :mag:
#### With a computer:
- connect the device via USB
#### With a linux computer:
- enable USB-Debugging in your smartphones developer settings and connect it via USB
- open command prompt/terminal
- enter `adb logcat | grep "$(adb shell ps | awk '/com.nextcloud.client/{print $2}')" > logcatOutput.txt` to save the output to this file
**Note:** You must have [adb](https://developer.android.com/studio/releases/platform-tools.html) installed first!
#### On Windows:
- download and install [Minimal ADB and fastboot](https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/#post-42407269)
- enable USB-Debugging in your smartphones developer settings and connect it via USB
- launch Minimal ADB and fastboot
- enter `adb shell ps | findstr com.nextcloud.client` and use the second place of this output (it is the first integer, e.g. `18841`) as processID in the following command:
- `adb logcat | findstr <processID> > %HOMEPATH%\Downloads\logcatOutput.txt` (This will produce a logcatOutput.txt file in your downloads)
- if the processID is 18841, an example command is: `adb logcat | findstr 18841 > %HOMEPATH%\Downloads\logcatOutput.txt` (You might cancel the process after a while manually: it will not be exited automatically.)
#### On a device (with root) :wrench:
- open terminal app *(can be enabled in developer options)*
- get root access via "su"
@@ -67,7 +74,7 @@ or
## Support :rescue_worker_helmet:
If you need assistance or want to ask a question about the Android app, you are welcome to [ask for support](https://help.nextcloud.com/c/clients/android) in our Forums or the [IRC-Channel](https://webchat.freenode.net/?channels=nextcloud-mobile). If you have found a bug, feel free to [open a new Issue on GitHub](https://github.com/nextcloud/android/issues). Keep in mind, that this repository only manages the Android app. If you find bugs or have problems with the server/backend, you should ask the [Nextcloud server team](https://github.com/nextcloud/server) for help!
If you need assistance or want to ask a question about the Android app, you are welcome to [ask for support](https://help.nextcloud.com/c/clients/android) in our Forums. If you have found a bug, feel free to [open a new Issue on GitHub](https://github.com/nextcloud/android/issues). Keep in mind, that this repository only manages the Android app. If you find bugs or have problems with the server/backend, you should ask the [Nextcloud server team](https://github.com/nextcloud/server) for help!
## Remarks :scroll:
+24
View File
@@ -0,0 +1,24 @@
# Security Policy
## Supported Versions
Only the latest version is supported. We release every second month a feature release (currently 3.x) and inbetween a bug fix release (3.x.y).
## Reporting a Vulnerability
Security is very important to us. If you have discovered a security issue with Nextcloud,
please read our responsible disclosure guidelines and contact us at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
Your report should include:
- Product version
- A vulnerability description
- Reproduction steps
A member of the security team will confirm the vulnerability, determine its impact, and develop a fix.
The fix will be applied to the master branch, tested, and packaged in the next bug fix release.
The vulnerability will be publicly announced after the release. Finally, your name will be added
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud community. Note our
[threat model](https://nextcloud.com/security/threat-model) to know what is expected behavior.
Please visit https://nextcloud.com/security/ for further information about security.
+20 -15
View File
@@ -32,7 +32,7 @@ The next steps will assume you have a GitHub account and that you will get the c
* In a web browser, go to https://github.com/nextcloud/android, and click the 'Fork' button near the top right corner.
* Open a terminal and go on with the next steps in it.
* Clone your forked repository: ```git clone --recursive https://github.com/YOURGITHUBNAME/android.git```.
* Clone your forked repository: ```git clone https://github.com/YOURGITHUBNAME/android.git```.
* Move to the project folder with ```cd android```.
* Pull any changes from your remote branch 'master': ```git pull origin master```
* Make official Nextcloud repo known as upstream: ```git remote add upstream https://github.com/nextcloud/android.git```
@@ -49,7 +49,6 @@ We recommend to use the last version available in the stable channel of Android
To set up the project in Android Studio follow the next steps:
* Make sure you have called ```git submodule update``` whenever you switched branches
* Open Android Studio and select 'Import Project (Eclipse ADT, Gradle, etc)'. Browse through your file system to the folder 'android' where the project is located. Android Studio will then create the '.iml' files it needs. If you ever close the project but the files are still there, you just select 'Open Project…'. The file chooser will show an Android face as the folder icon, which you can select to reopen the project.
* Android Studio will try to build the project directly after importing it. To build it manually, follow the menu path 'Build'/'Make Project', or just click the 'Play' button in the toolbar to build and run it in a mobile device or an emulator. The resulting APK file will be saved in the 'build/outputs/apk/' subdirectory in the project folder.
* Setup Android Studio editor configurtation for the project: ```Settings``` → ```Editor``` → ```Code Style``` → ```Scheme: Project``` and ```Enable EditorConfig support```
@@ -60,7 +59,6 @@ To set up the project in Android Studio follow the next steps:
[Gradle][7] is the build system used by Android Studio to manage the building operations on Android apps. You do not need to install Gradle in your system, and Google recommends not to do it, but instead trusting on the [Gradle wrapper][8] included in the project.
* Open a terminal and go to the 'android' directory that contains the repository.
* Make sure you have called ```git submodule update``` whenever you switched branches
* Run the 'clean' and 'build' tasks using the Gradle wrapper provided
- Windows: ```gradlew.bat clean build```
- Mac OS/Linux: ```./gradlew clean build```
@@ -91,17 +89,24 @@ The app is currently equipped to be built with three flavours:
#### 1. Direct usage of library project
This is handy if one wants to make changes both to files app and library:
- in files app root: ln -s $pathToLibraryProject nextcloud-android-library
- uncomment in build.gradle:
- `// implementation project('nextcloud-android-library')`
- comment in build.gradle:
- `genericImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT'`
- `gplayImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT'`
- `versionDevImplementation 'com.github.nextcloud:android-library:master-SNAPSHOT'`
- comment in settings.gradle:
- `include ':'`
- uncomment in settings.gradle:
- `//include 'nextcloud-android-library'`
- sync project with gradle files
- Add the following to `settings.gradle`:
```groovy
includeBuild('[path to library clone]') {
dependencySubstitution {
substitute module('com.github.nextcloud:android-library') using project(':library')
}
}
```
- Sync project with gradle files
Now every change in library can be directly used in files app.
### 6. Troubleshooting
#### 1. Compilation fails with "java.lang.OutOfMemoryError: Java heap space" error
The default settings for Gradle is to limit the compilation to 1GB of heap.
You can increase that value by :
- adding `org.gradle.jvmargs=-Xmx4G` to `gradle.properties`
- running gradlew(.bat) with this command line : `GRADLE_OPTS="-Xmx4G" ./gradlew clean build"
-12
View File
@@ -43,18 +43,6 @@ The third party software included and used by this project is:
The library is included in the Nextcloud client APK.
See http://jackrabbit.apache.org/
* TouchImageView, 1.2.0. commit 6dbeac4f11936185ba374c73144ac431c23c9aab
Copyright (c) 2014 Michael Ortiz
Licensed under MIT License
This library is in the source code.
See https://github.com/MikeOrtiz/TouchImageView
* floatingactionbutton 1.10.21.
Copyright (c) 2014 Jerzy Chalupski
Licensed under Apache License, Version 2.0.
The library is included in the Nextcloud client APK.
See https://github.com/futuresimple/android-floating-action-button
* AndroidSVG 1.2.1.
Copyright (c) 2014 Paul LeBeau
Licensed under Apache License, Version 2.0.
+1
View File
@@ -0,0 +1 @@
/build
+451
View File
@@ -0,0 +1,451 @@
import com.github.spotbugs.snom.SpotBugsTask
import org.gradle.internal.jvm.Jvm
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'com.hiya:jacoco-android:0.2'
classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.6'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.19.0"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
classpath 'com.karumi:shot:5.13.0'
classpath "org.jacoco:org.jacoco.core:$jacoco_version"
classpath "org.jacoco:org.jacoco.report:$jacoco_version"
classpath "org.jacoco:org.jacoco.agent:$jacoco_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.2.1"
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: 'checkstyle'
apply plugin: 'pmd'
apply plugin: 'com.hiya.jacoco-android'
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
apply plugin: "org.jlleitschuh.gradle.ktlint"
println "Gradle uses Java ${Jvm.current()}"
configurations {
all {
exclude group: 'org.jetbrains', module: 'annotations-java5' // via prism4j, already using annotations explicitly
// check for updates every build
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
}
}
}
configurations.configureEach {
resolutionStrategy.eachDependency {
if (requested.group == "org.checkerframework" && requested.name != "checker-compat-qual") {
useVersion(checkerVersion)
because("https://github.com/google/ExoPlayer/issues/10007")
}
}
}
repositories {
google()
maven { url "https://jitpack.io" }
mavenCentral()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
// semantic versioning for version code
def versionMajor = 3
def versionMinor = 20
def versionPatch = 0
def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
def ndkEnv = new HashMap<String, String>()
file("$project.rootDir/ndk.env").readLines().each() {
def (key, value) = it.tokenize('=')
ndkEnv.put(key, value)
}
android {
compileSdkVersion 31
// install this NDK version and Cmake to produce smaller APKs. Build will still work if not installed
ndkVersion "${ndkEnv.get("NDK_VERSION")}"
defaultConfig {
minSdkVersion 23
targetSdkVersion 30
buildConfigField 'boolean', 'CI', ciBuild.toString()
// arguments to be passed to functional tests
testInstrumentationRunner "com.nextcloud.client.ScreenshotTestRunner"
testInstrumentationRunnerArgument "TEST_SERVER_URL", "${NC_TEST_SERVER_BASEURL}"
testInstrumentationRunnerArgument "TEST_SERVER_USERNAME", "${NC_TEST_SERVER_USERNAME}"
testInstrumentationRunnerArgument "TEST_SERVER_PASSWORD", "${NC_TEST_SERVER_PASSWORD}"
testInstrumentationRunnerArguments disableAnalytics: 'true'
multiDexEnabled true
versionCode versionMajor * 10000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
if (versionBuild > 89) {
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
} else if (versionBuild > 50) {
versionName "${versionMajor}.${versionMinor}.${versionPatch} RC" + (versionBuild - 50)
} else {
versionName "${versionMajor}.${versionMinor}.${versionPatch} Alpha" + (versionBuild + 1)
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
flavorDimensions "default"
buildTypes {
debug {
testCoverageEnabled (project.hasProperty('coverage'))
}
}
productFlavors {
// used for f-droid
generic {
applicationId 'com.nextcloud.client'
dimension "default"
}
gplay {
applicationId 'com.nextcloud.client'
dimension "default"
}
huawei {
applicationId 'com.nextcloud.client'
dimension "default"
}
versionDev {
applicationId "com.nextcloud.android.beta"
dimension "default"
versionCode 20220322
versionName "20220322"
}
qa {
applicationId "com.nextcloud.android.qa"
dimension "default"
versionCode 1
versionName "1"
}
}
testOptions {
unitTests.returnDefaultValues = true
animationsDisabled true
}
}
// adapt structure from Eclipse to Gradle/Android Studio expectations;
// see http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Configuring-the-Structure
packagingOptions {
resources {
excludes += ['META-INF/LICENSE.txt', 'META-INF/LICENSE']
}
}
tasks.register("checkstyle", Checkstyle) {
configFile = file("${rootProject.projectDir}/checkstyle.xml")
configProperties.checkstyleSuppressionsPath = file("${project.rootDir}/config/quality/checkstyle/suppressions.xml").absolutePath
source 'src'
include '**/*.java'
exclude '**/gen/**'
classpath = files()
}
tasks.register("pmd", Pmd) {
ruleSetFiles = files("${project.rootDir}/ruleset.xml")
ignoreFailures = true // should continue checking
ruleSets = []
source 'src'
include '**/*.java'
exclude '**/gen/**'
reports {
xml.enabled = false
html.enabled = true
xml {
destination = file("$project.buildDir/reports/pmd/pmd.xml")
}
html {
destination = file("$project.buildDir/reports/pmd/pmd.html")
}
}
}
check.dependsOn 'checkstyle', 'spotbugsGplayDebug', 'pmd', 'lint', 'ktlintCheck', 'detekt'
buildFeatures {
dataBinding true
viewBinding true
}
kotlinOptions {
jvmTarget = "1.8"
}
lint {
abortOnError false
checkGeneratedSources true
disable 'MissingTranslation', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities', 'GoogleAppIndexingWarning', 'MissingDefaultResource', 'InvalidPeriodicWorkRequestInterval', 'StringFormatInvalid', 'MissingQuantity'
htmlOutput file("$project.buildDir/reports/lint/lint.html")
htmlReport true
}
}
dependencies {
// dependencies for app building
implementation 'androidx.multidex:multidex:2.0.1'
// implementation project('nextcloud-android-library')
implementation ("com.github.nextcloud:android-library:$androidLibraryVersion") {
exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version
}
compileOnly 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2' // remove after entire switch to lib v2
implementation "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
implementation 'org.apache.jackrabbit:jackrabbit-webdav:2.13.5' // remove after entire switch to lib v2
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.5.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.webkit:webkit:1.4.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.exifinterface:exifinterface:1.3.3'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1"
implementation "androidx.work:work-runtime:$workRuntime"
implementation "androidx.work:work-runtime-ktx:$workRuntime"
implementation "androidx.fragment:fragment-ktx:1.4.1"
implementation 'com.github.albfernandez:juniversalchardet:2.0.3' // need this version for Android <7
compileOnly 'com.google.code.findbugs:annotations:3.0.1u2'
implementation 'commons-io:commons-io:2.11.0'
implementation 'org.greenrobot:eventbus:3.3.1'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
implementation 'org.lukhnos:nnio:0.2'
implementation 'org.bouncycastle:bcpkix-jdk15to18:1.70'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.afollestad:sectioned-recyclerview:0.5.0'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24'
implementation 'com.github.tobiaskaminsky:qrcodescanner:0.1.2.4' // 'com.github.blikoon:QRCodeScanner:0.1.2'
implementation 'com.google.android:flexbox:2.0.1'
implementation('com.github.bumptech.glide:glide:3.8.0') {
exclude group: "com.android.support"
}
implementation 'com.caverock:androidsvg:1.4'
implementation 'androidx.annotation:annotation:1.3.0'
implementation 'com.vanniktech:emoji-google:0.8.0'
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido:$fidoVersion"
implementation "com.github.cotechde.hwsecurity:hwsecurity-fido2:$fidoVersion"
implementation 'com.github.zynkware:Document-Scanning-Android-SDK:1.0.1'
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
implementation "com.google.dagger:dagger:$daggerVersion"
implementation "com.google.dagger:dagger-android:$daggerVersion"
implementation "com.google.dagger:dagger-android-support:$daggerVersion"
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
implementation 'org.conscrypt:conscrypt-android:2.5.2'
implementation "com.google.android.exoplayer:exoplayer:$exoplayerVersion"
implementation "com.google.android.exoplayer:extension-okhttp:$exoplayerVersion"
// Shimmer animation
implementation 'com.elyeproj.libraries:loaderviewlibrary:2.0.0'
// dependencies for markdown rendering
implementation "io.noties.markwon:core:$markwonVersion"
implementation "io.noties.markwon:ext-strikethrough:$markwonVersion"
implementation "io.noties.markwon:ext-tables:$markwonVersion"
implementation "io.noties.markwon:ext-tasklist:$markwonVersion"
implementation "io.noties.markwon:html:$markwonVersion"
implementation "io.noties.markwon:syntax-highlight:$markwonVersion"
implementation "io.noties:prism4j:$prismVersion"
kapt "io.noties:prism4j-bundler:$prismVersion"
implementation ('org.mnode.ical4j:ical4j:1.0.8') {
['org.apache.commons','commons-logging'].each {
exclude group: "$it"
}
}
if (!ciBuild) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
}
// dependencies for local unit tests
testImplementation 'junit:junit:4.13.2'
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "androidx.test:core:$androidxTestVersion"
testImplementation "org.powermock:powermock-core:$powermockVersion"
testImplementation "org.powermock:powermock-module-junit4:$powermockVersion"
testImplementation "org.powermock:powermock-api-mockito2:$powermockVersion"
testImplementation 'org.json:json:20220320'
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
testImplementation 'androidx.arch.core:core-testing:2.1.0'
testImplementation "io.mockk:mockk:$mockkVersion"
testImplementation "io.mockk:mockk-android:$mockkVersion"
// dependencies for instrumented tests
// JUnit4 Rules
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation "androidx.test:rules:$androidxTestVersion"
// Android JUnit Runner
androidTestImplementation "androidx.test:runner:$androidxTestVersion"
androidTestUtil "androidx.test:orchestrator:$androidxTestVersion"
// Espresso
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-web:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-accessibility:$espressoVersion"
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
// Mocking support
androidTestImplementation 'com.github.tmurakami:dexopener:2.0.5' // required to allow mocking on API 27 and older
androidTestImplementation "org.mockito.kotlin:mockito-kotlin:$mockitoKotlinVersion"
androidTestImplementation "org.mockito:mockito-core:$mockitoVersion"
androidTestImplementation("org.mockito:mockito-android:$mockitoVersion") {
exclude group: "net.bytebuddy", module: "byte-buddy-android"
}
androidTestImplementation "net.bytebuddy:byte-buddy:$byteBuddyVersion"
androidTestImplementation "net.bytebuddy:byte-buddy-android:$byteBuddyVersion"
androidTestImplementation "io.mockk:mockk-android:$mockkVersion"
androidTestImplementation 'androidx.arch.core:core-testing:2.0.1'
androidTestImplementation "com.facebook.testing.screenshot:core:0.15.0"
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
// androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
// fix conflict in dependencies; see http://g.co/androidstudio/app-test-app-conflict for details
//androidTestImplementation "com.android.support:support-annotations:${supportLibraryVersion}"
androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "com.github.stateless4j:stateless4j:2.6.0"
// upon each update first test: new registration, receive push
gplayImplementation "com.google.firebase:firebase-messaging:23.0.2"
}
configurations.all {
resolutionStrategy{
cacheChangingModulesFor 0, 'seconds'
force 'org.objenesis:objenesis:2.6'
eachDependency { details ->
if ('org.jacoco' == details.requested.group) {
details.useVersion "$jacoco_version"
}
}
}
}
tasks.withType(Test) {
// increased logging for tests
testLogging {
events "passed", "skipped", "failed"
}
}
android.applicationVariants.all { variant ->
variant.outputs.all { output ->
outputFileName = "${output.baseName}-${variant.versionCode}.apk"
}
}
tasks.register("combinedTestReport", JacocoReport) {
jacocoClasspath = configurations['jacocoAnt']
reports {
xml.enabled true
html.enabled true
csv.enabled false
}
additionalSourceDirs.setFrom files(subprojects.sourceSets.main.allSource.srcDirs)
sourceDirectories.setFrom files(subprojects.sourceSets.main.allSource.srcDirs)
classDirectories.setFrom files(subprojects.sourceSets.main.output)
executionData.setFrom project.fileTree(dir: project.buildDir, includes: [
'jacoco/testGplayDebugUnitTest.exec', 'outputs/code-coverage/connected/flavors/GPLAY/*coverage.ec'
])
}
task installGitHooks(type: Copy, group: "development") {
description = "Install git hooks"
from("${project.rootDir}/scripts/hooks") {
include '*'
}
into "${project.rootDir}/.git/hooks"
}
detekt {
reports {
xml {
enabled = false
}
}
config = files("detekt.yml")
}
shot {
showOnlyFailingTestsInReports = ciBuild
// CI environment renders some shadows slightly different from local VMs
// Add a 0.5% tolerance to account for that
tolerance = ciBuild ? 0.5: 0
}
jacoco {
toolVersion = "$jacoco_version"
}
spotbugs {
ignoreFailures = true // should continue checking
effort = "max"
reportLevel = "medium"
}
tasks.withType(SpotBugsTask){task ->
String variantNameCap = task.name.replace("spotbugs", "")
String variantName = variantNameCap.substring(0, 1).toLowerCase() + variantNameCap.substring(1)
dependsOn "compile${variantNameCap}Sources"
excludeFilter = file("${project.rootDir}/spotbugs-filter.xml")
classes = fileTree("$project.buildDir/intermediates/javac/${variantName}/classes/")
reports {
xml.enabled = false
html {
enabled = true
destination = file("$project.buildDir/reports/spotbugs/spotbugs.html")
}
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
build:
maxIssues: 10
maxIssues: 11
weights:
# complexity: 2
# LongParameterList: 1
+5 -2
View File
@@ -7,7 +7,7 @@
<issue id="InvalidPackage">
<ignore path="**/freemarker-2.*.*.jar" />
<ignore path="**/nnio-0.2.jar"/>
<ignore path="**/bcpkix-jdk15on-1.65.jar" />
<ignore path="**/bcpkix-jdk15on-1.69.jar" />
</issue>
<issue id="UnusedResources">
@@ -19,6 +19,7 @@
<issue id="MissingQuantity">
<ignore path="**/values-ka-rGE/strings.xml"/>
<ignore path="**/values-ar/strings.xml" />
</issue>
<issue id="UnusedQuantity">
@@ -42,6 +43,7 @@
<issue id="Typos">
<ignore path="**/values-**/strings.xml" />
<ignore path="**/values/setup.xml" />
</issue>
<issue id="TrustAllX509TrustManager">
@@ -60,8 +62,9 @@
<ignore path="**/fragment-1.2.5/**/lint.jar" />
<ignore path="**/work-runtime-2.**/**/lint.jar" />
<ignore path="**/jetified-butterknife-runtime-10.**/**/lint.jar" />
<ignore path="**/jetified-dagger-lint-aar-2.29.**/**/lint.jar" />
<ignore path="**/jetified-dagger-lint-aar-2.**.**/**/lint.jar" />
<ignore path="**/jetified-annotation-experimental-1.**/**/lint.jar" />
<ignore path="**/jetified-firebase-installations**/**/lint.jar" />
<ignore path="**/appcompat-1.**/**/lint.jar" />
</issue>
</lint>
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Loaded 100 of 2239 files, more files were not shown because too many files have changed in this diff. Show more