Commit graph

18617 commits

Author SHA1 Message Date
Álvaro Brey Vilas
ba369f22ab
AndroidManifest: set camera2 feature to not required
Brought by document scanner lib, but not actually required. If set to required,
devices without this feature will not see the app in Play Store.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-06 09:26:39 +02:00
dependabot[bot]
bf1657facb
Bump jacoco_version from 0.8.7 to 0.8.8
Bumps `jacoco_version` from 0.8.7 to 0.8.8.

Updates `org.jacoco.core` from 0.8.7 to 0.8.8
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.7...v0.8.8)

Updates `org.jacoco.report` from 0.8.7 to 0.8.8
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.7...v0.8.8)

Updates `org.jacoco.agent` from 0.8.7 to 0.8.8
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.7...v0.8.8)

---
updated-dependencies:
- dependency-name: org.jacoco:org.jacoco.core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jacoco:org.jacoco.report
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jacoco:org.jacoco.agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 01:06:17 +00:00
Álvaro Brey
5b8d11f738
Optimize loading time for Shared view (#10015)
* Don't load entire OCFiles in the Shared view, as it takes too long

Instead, build partially-filled OCFiles from the OCShares we get

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>

* Load metadata of shared files only when attempting to interact with them

This was quite a big undertaking and required a whole new fragment

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>

* Fix wrong usages of deprecaed OCShare shareType setter

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-04-04 18:52:21 +02:00
Álvaro Brey
0736d01f01
Merge pull request #10044 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.2.0
Bump hmarr/auto-approve-action from 2.1.0 to 2.2.0
2022-04-04 17:06:58 +02:00
dependabot[bot]
dc15edb6f6
Bump hmarr/auto-approve-action from 2.1.0 to 2.2.0
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.1.0...v2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 11:17:51 +00:00
Tobias Kaminsky
b324f0d784
- no camera permission (#10042)
- scan document
- approve permission
- see scan document activity, previously it was wrong upload image activity

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-04-04 09:13:21 +00:00
Álvaro Brey
c84d09f006
Merge pull request #10041 from nextcloud/dependabot/gradle/kotlin_version-1.6.20
Bump kotlin_version from 1.6.10 to 1.6.20
2022-04-04 10:57:43 +02:00
dependabot[bot]
84d7aa5406
Bump kotlin_version from 1.6.10 to 1.6.20
Bumps `kotlin_version` from 1.6.10 to 1.6.20.

Updates `kotlin-gradle-plugin` from 1.6.10 to 1.6.20
- [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.6.10 to 1.6.20
- [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-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 01:26:08 +00:00
Nextcloud bot
77507f9c9b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-03 04:01:33 +00:00
Álvaro Brey Vilas
cd895ad2cf
Better approach for avoiding state loss in FileDetailFragment
Do not overwrite file when updating share information, instead of holding the file in FDA

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-31 15:04:19 +02:00
Nextcloud bot
7285ddc4cb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-31 04:08:34 +00:00
Álvaro Brey
d9811e1f34
Merge pull request #10013 from nextcloud/fix/login-after-logout
Fix bugs when removing accounts
2022-03-30 18:29:24 +02:00
Álvaro Brey
1666224219
Merge pull request #10025 from nextcloud/fix/fastlane-artifact-number
fastlane: Increase number of expected artifacts to 4
2022-03-30 18:06:18 +02:00
Nextcloud bot
9a94cb1e12
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-30 04:03:28 +00:00
Álvaro Brey Vilas
2dc9ec212a
fastlane: Increase number of expected artifacts to 4
3 APKs + 1 AAB

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-28 17:19:35 +02:00
Álvaro Brey
70c605fd78
Merge pull request #10022 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-2
Bump peter-evans/create-or-update-comment from 1 to 2
2022-03-28 13:42:41 +02:00
dependabot[bot]
d931d37e91
Bump peter-evans/create-or-update-comment from 1 to 2
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 1 to 2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 11:14:54 +00:00
Nextcloud bot
4b8bb8a707
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-28 04:02:23 +00:00
Nextcloud bot
ca751d0f71
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-27 04:01:42 +00:00
Nextcloud bot
3753ef361c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-25 05:41:13 +00:00
Álvaro Brey Vilas
a1901ca3e8
ManageAccountsActivity: go back to AuthenticatorActivity after removing last account
Instead of waiting for FileDisplayActivity to make a network request and fail

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-23 18:23:57 +01:00
Álvaro Brey Vilas
95046c4b5d
AccountRemovalWork: remove cached owncloudClient after removing account
Otherwise, the account (which is identified by account name only) will reuse old token, if login is done right after account removal.

Three hours of debugging for one line of code

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-23 18:22:11 +01:00
Álvaro Brey
23a72722d3
Merge pull request #10009 from nextcloud/fix/dark-mode-scroll
Fix several scrolling bugs
2022-03-23 11:11:09 +01:00
Álvaro Brey Vilas
2e593a034b
Fix FileDisplayActivity screenshot tests
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-23 10:38:08 +01:00
Álvaro Brey Vilas
154755af9b
Fix scrolling behaviour when changing dark mode
Also fixes "scrolling on top bar" for empty folders

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-23 10:38:07 +01:00
Álvaro Brey Vilas
b8bb261234
PreviewMediaFragment: fix crash when changing theme with audio fragment
Exoplayer is null when recreating

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-23 10:38:07 +01:00
Álvaro Brey Vilas
6a527a6e87
FileDisplayActivity: properly lock scrollbar for media preview
This locks the scrolling of the CoordinatorLayout AND removes the scroll flags from the AppbarLayout

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-23 10:38:07 +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 <alvaro.brey@nextcloud.com>
2022-03-23 10:37:41 +01:00
Álvaro Brey Vilas
fb5de078f7
qa: fix head ref
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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 <tobias@kaminsky.me>
2022-03-23 06:50:51 +01:00
Nextcloud bot
0c5a9fd155
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-23 03:59:59 +00:00
tobiasKaminsky
e481382c28
Use remoteId to properly fetch streaming video url
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-22 16:36:11 +01: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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <tobias@kaminsky.me>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-03-21 15:25:36 +01:00
tobiasKaminsky
d91d2996ab
Fix sharing from media view
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
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 <alvaro.brey@nextcloud.com>
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] <support@github.com>
2022-03-21 11:48:58 +00:00