Commit graph

18646 commits

Author SHA1 Message Date
Á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
Á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 <alvaro.brey@nextcloud.com>
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] <support@github.com>
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 <alvaro.brey@nextcloud.com>
2022-03-21 09:19:15 +01:00
Nextcloud bot
321a97acf7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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] <support@github.com>
2022-03-21 02:06:05 +00:00
Nextcloud bot
98575bc8ca
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-20 04:00:57 +00:00
Nextcloud bot
d7dbef4085
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-19 04:01:55 +00:00
Nextcloud bot
6d1b14785c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-03-17 10:38:30 +01:00
Nextcloud bot
886400b5e0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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 <android@nextcloud.com>
2022-03-16 11:40:41 +01:00
Álvaro Brey Vilas
3e2eba34a5
Update FolderPickerActivity screenshot
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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