Commit graph

18253 commits

Author SHA1 Message Date
Álvaro Brey Vilas
e57176f009
Move app source to subproject
Android Studio has started to fail for some stuff with that old structure (for example connected tests don't work).
It's about time to do this.

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

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

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

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

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

analysis: Fix commiter name and email

Not drone anymore

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <drone@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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] <support@github.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-03-08 10:04:15 +01:00
Nextcloud bot
4a9338d4fe
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-08 03:58:09 +00:00
Álvaro Brey Vilas
6b3742a131
SyncedFoldersActivity: cancel loading when activity stops
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
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 <bot@nextcloud.com>
2022-03-05 08:17:06 +00:00
Nextcloud bot
02dbe46d78
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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 <drone@nextcloud.com>
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 <drone@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-03-04 17:29:51 +01:00
Álvaro Brey Vilas
c488b0b330
SyncedFoldersActivity: load content asynchronously
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-04 17:21:32 +01:00
Álvaro Brey Vilas
6b67362b7b
SyncedFoldersActivity: convert to Kotlin (step 2)
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-04 17:09:50 +01:00