Commit graph

18215 commits

Author SHA1 Message Date
tobiasKaminsky
60aaf00fc2
remove mail notification on failure during CI, as this is shown in GitHub anyways
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-02-25 07:07:04 +01:00
Nextcloud bot
5d943ad24b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-02-24 11:42:55 +01:00
Álvaro Brey Vilas
4cc4418bec
ExceptionHandler: format entire stack trace recursively
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-02-24 11:03:32 +01:00
tobiasKaminsky
53a04af735
Add stacktrace directly to github issue
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
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 <bot@nextcloud.com>
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] <support@github.com>
2022-02-24 02:05:16 +00:00
Unpublished
f50def5e0d Fix LoggerImpl to also log throwable
Signed-off-by: Unpublished <unpublished@users.noreply.github.com>
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 <unpublished@users.noreply.github.com>
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 <alvaro.brey@nextcloud.com>
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 <bot@nextcloud.com>
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 <drone@nextcloud.com>
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 <drone@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas
7d89d68df6
PreviewVideoActivity: convert to Kotlin
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
2022-02-21 17:39:42 +01:00
Álvaro Brey Vilas
22555a901a
PreviewVideoActivity: pause player when activity stops
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <bot@nextcloud.com>
2022-02-21 03:55:57 +00:00
Unpublished
2bd0bf0f14 Update findbugs-results.txt
Signed-off-by: Unpublished <unpublished@users.noreply.github.com>
2022-02-20 13:22:48 +01:00
Unpublished
67397a4d7b Fix LeakedCloseableViolations in getScaledBitmap
Signed-off-by: Unpublished <unpublished@users.noreply.github.com>
2022-02-20 12:56:28 +01:00
Nextcloud bot
5250b7380c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-20 03:55:24 +00:00
Nextcloud bot
c704f59b37
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <alvaro.brey@nextcloud.com>
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 <tobias@kaminsky.me>
Signed-off-by: thelittlefireman <thelittlefireman@users.noreply.github.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-02-17 10:10:36 +01:00
Nextcloud bot
ee000f7b4e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
2022-02-16 02:05:51 +00:00
Álvaro Brey
f9febe24ad
Fallback pdf viewer (#9806)
* Basic PDF preview

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

* Preview pdf: add dividers between pages

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

* Prefer third-party pdf viewers over fallback viewer

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

* Zoomable view for pdf pages

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

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

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

* Pdf preview: screenshot test

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

* Fix spotbugs and lint

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

* PreviewPdfFragment: fix screenshot test

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

* PreviewPdfFragment: fix toolbar when resuming

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

* PreviewBitmapActivity: add screenshot test

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

* PreviewPdfFragment: fix crash in screenshot tests

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

* Pdf preview: rename tests

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

* pdf preview: Update copyright headers

Oops

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

* Pdf preview: use grey for background instead of black

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

* Pdf preview: add scrollbar

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

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

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

* Pdf preview: fix lint and improve styling

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
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