Commit graph

4380 commits

Author SHA1 Message Date
Tim Krüger
17903285fc
Merge pull request #2091 from nextcloud/chore/noid/add-14.0.2-to-changelog
Add release 14.0.2 to CHANGELOG
2022-05-24 14:28:42 +02:00
Tim Krüger
53c51e0129
Merge pull request #2088 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.13.0
Bump emoji-google from 0.12.0 to 0.13.0
2022-05-24 13:28:55 +02:00
Tim Krüger
5ebcec9436
Add release 14.0.2 to CHANGELOG
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-24 10:37:34 +02:00
Tim Krüger
8ebbfb8c10
Merge pull request #2074 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.0.5
Bump firebase-messaging from 23.0.0 to 23.0.5
2022-05-24 10:22:08 +02:00
Nextcloud bot
392dc8e280
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-24 04:34:30 +00:00
dependabot[bot]
f2b7d54cef
Bump emoji-google from 0.12.0 to 0.13.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.12.0 to 0.13.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.12.0...0.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 01:10:20 +00:00
Tim Krüger
36cc5b93bc
Merge pull request #2015 from nextcloud/feature/noid/refactor-shared-items
Implement points from "Shared items" review
2022-05-23 17:55:25 +02:00
Álvaro Brey
1c9730f909
Fix state handling in SharedItemsActivity
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-23 17:35:17 +02:00
Álvaro Brey
05340fc466
SharedItems: show loading state when initially loading a tab, and clear remaining TODOs
Co-authored-by: Tim Krüger <t@timkrueger.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-23 17:35:15 +02:00
Álvaro Brey
5310ed3f3d
SharedItems: show empty state when there are no shared items
Co-authored-by: Tim Krüger <t@timkrueger.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-23 17:35:14 +02:00
Álvaro Brey
ae65de6cce
SharedItemsViewModel: use unified state livedata
Co-authored-by: Tim Krüger <t@timkrueger.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-23 17:35:13 +02:00
Tim Krüger
10857114f5
Avoid NPE when 'sharedItems' is null
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:35:12 +02:00
Tim Krüger
e5b38856eb
Add missing license headers
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:35:10 +02:00
Tim Krüger
52ec1b76fa
Add comment for refactoring FileViewerUtils
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:35:09 +02:00
Tim Krüger
0d65824fa6
Remove 'UserEntity' from 'SharedItem' model
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:35:08 +02:00
Tim Krüger
6b9ab738cb
Introduce interface for 'SharedItemsRepository'
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:35:07 +02:00
Tim Krüger
b2f59ccb6c
Merge 'SharedItemsListAdapter' and 'SharedItemsGridAdapter'
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:35:06 +02:00
Tim Krüger
fd76f8231d
Move 'Shared items' related classes to own package
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:35:05 +02:00
Álvaro Brey
716dcfe01d
DI: Setup viewmodel injection
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-23 17:35:04 +02:00
Tim Krüger
6716726ff1
Move currentTab from activity to viewmodel
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:35:03 +02:00
Tim Krüger
36769e4fbe
Remove constand BATCH_SIZE from SharedItemsViewModel
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:35:02 +02:00
Tim Krüger
6a27dc7dba
Pass needed parameters during every call to repository
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:34:59 +02:00
Tim Krüger
577357011e
Let repository not expose API responses
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-05-23 17:34:29 +02:00
Andy Scherzinger
23fa0b9566
Merge pull request #2081 from nextcloud/bugfix/2080/revertMaterialTo150
Revert material back to 1.5.0
2022-05-20 23:30:26 +02:00
Andy Scherzinger
bb4102612b
revert material back to 1.5.0
Resolves #2080

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-20 23:29:34 +02:00
dependabot[bot]
58c8684d7d
Bump firebase-messaging from 23.0.0 to 23.0.5
Bumps firebase-messaging from 23.0.0 to 23.0.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 14:50:57 +00:00
Andy Scherzinger
2b2f27a08c
Merge pull request #1800 from nextcloud/dependabot/gradle/workVersion-2.7.1
Bump workVersion from 2.6.0 to 2.7.1
2022-05-20 16:43:23 +02:00
dependabot[bot]
d03f5b5b99
Bump workVersion from 2.6.0 to 2.7.1
Bumps `workVersion` from 2.6.0 to 2.7.1.

Updates `work-runtime` from 2.6.0 to 2.7.1

Updates `work-rxjava2` from 2.6.0 to 2.7.1

Updates `work-testing` from 2.6.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-rxjava2
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: androidx.work:work-testing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 14:35:14 +00:00
Andy Scherzinger
c3bd75e216
Merge pull request #2079 from nextcloud/chore/noid/bumpCamera2To110RC01
bump camera to 1.1.0RC01 and unify version info
2022-05-20 16:33:45 +02:00
Andy Scherzinger
477cda325a
bump camera to 1.1.0RC01 and unify version info
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-20 16:20:23 +02:00
Andy Scherzinger
249d74d38b
Merge pull request #1920 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.20.0
Bump detekt-gradle-plugin from 1.19.0 to 1.20.0
2022-05-20 16:19:58 +02:00
Andy Scherzinger
96711e7349
format kotlin classes
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-20 16:11:11 +02:00
Andy Scherzinger
c732c7046a
add formatting plugin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-20 16:03:26 +02:00
dependabot[bot]
9e81585872
Bump detekt-gradle-plugin from 1.19.0 to 1.20.0
Bumps detekt-gradle-plugin from 1.19.0 to 1.20.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] <support@github.com>
2022-05-20 16:03:26 +02:00
Andy Scherzinger
ba513c7ec7
Merge pull request #2054 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.12.0
Bump emoji-google from 0.8.0 to 0.12.0
2022-05-20 16:02:07 +02:00
Andy Scherzinger
b33a4d1265
Upgrade code to latest API changes for Emojis
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-20 16:01:49 +02:00
dependabot[bot]
133b058774
Bump emoji-google from 0.8.0 to 0.12.0
Bumps [emoji-google](https://github.com/vanniktech/Emoji) from 0.8.0 to 0.12.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.8.0...0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 14:54:00 +02:00
Andy Scherzinger
0fe921ad35
Merge pull request #2062 from nextcloud/dependabot/gradle/coilKtVersion-2.1.0
Bump coilKtVersion from 1.4.0 to 2.1.0
2022-05-20 14:53:22 +02:00
Andy Scherzinger
602c197dae
Update to coil 2.x API
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-20 13:38:58 +02:00
dependabot[bot]
865be74f07
Bump coilKtVersion from 1.4.0 to 2.1.0
Bumps `coilKtVersion` from 1.4.0 to 2.1.0.

Updates `coil` from 1.4.0 to 2.1.0
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coil-kt/coil/compare/1.4.0...2.1.0)

Updates `coil-gif` from 1.4.0 to 2.1.0
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coil-kt/coil/compare/1.4.0...2.1.0)

Updates `coil-svg` from 1.4.0 to 2.1.0
- [Release notes](https://github.com/coil-kt/coil/releases)
- [Changelog](https://github.com/coil-kt/coil/blob/main/CHANGELOG.md)
- [Commits](https://github.com/coil-kt/coil/compare/1.4.0...2.1.0)

---
updated-dependencies:
- dependency-name: io.coil-kt:coil
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.coil-kt:coil-gif
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.coil-kt:coil-svg
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 13:29:07 +02:00
Andy Scherzinger
746a027d35
Merge pull request #2077 from nextcloud/doc/noid/removeDocForJava8
remove hint to use java 8
2022-05-20 13:15:30 +02:00
Marcel Hibbe
515cfd6a99
remove hint to use java 8
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-20 12:57:26 +02:00
Andy Scherzinger
e2509c6a31
Merge pull request #1654 from nextcloud/dependabot/gradle/androidx.core-core-ktx-1.7.0
Bump core-ktx from 1.6.0 to 1.7.0
2022-05-20 12:03:12 +02:00
dependabot[bot]
4af1228bc8
Bump core-ktx from 1.6.0 to 1.7.0
Bumps core-ktx from 1.6.0 to 1.7.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 09:49:11 +00:00
Andy Scherzinger
630b8ec87d
Merge pull request #1982 from nextcloud/dependabot/gradle/com.google.android.material-material-1.6.0
Bump material from 1.4.0 to 1.6.0
2022-05-20 11:34:37 +02:00
dependabot[bot]
2b9d8d1e5a
Bump material from 1.4.0 to 1.6.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.4.0 to 1.6.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.6.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] <support@github.com>
2022-05-20 09:29:08 +00:00
Andy Scherzinger
a602fc6ab7
Merge pull request #1867 from nextcloud/dependabot/gradle/com.google.android.exoplayer-exoplayer-2.17.1
Bump exoplayer from 2.16.0 to 2.17.1
2022-05-20 11:21:11 +02:00
Andy Scherzinger
28e4e19917
Update Interface after updating to exoplayer 2.17.1
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-20 10:57:43 +02:00
dependabot[bot]
d2c2a99921
Bump exoplayer from 2.16.0 to 2.17.1
Bumps [exoplayer](https://github.com/google/ExoPlayer) from 2.16.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.16.0...r2.17.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] <support@github.com>
2022-05-20 08:36:27 +00:00
Andy Scherzinger
d073f157f7
Merge pull request #2075 from nextcloud/dependabot/gradle/androidx.constraintlayout-constraintlayout-2.1.4
Bump constraintlayout from 2.1.3 to 2.1.4
2022-05-20 10:34:47 +02:00