Commit graph

3643 commits

Author SHA1 Message Date
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
Á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
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]
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
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
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
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
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
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
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
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
dependabot[bot]
5fc503d9ac
Bump constraintlayout from 2.1.3 to 2.1.4
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

---
updated-dependencies:
- dependency-name: androidx.constraintlayout:constraintlayout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 10:30:12 +02:00
Andy Scherzinger
96ce3f7928
Merge pull request #1771 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.4.1
Bump appcompat from 1.3.1 to 1.4.1
2022-05-20 10:28:18 +02:00
Nextcloud bot
e072d5f33f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-20 04:24:46 +00:00
dependabot[bot]
07aa27a743
Bump appcompat from 1.3.1 to 1.4.1
Bumps appcompat from 1.3.1 to 1.4.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 18:49:27 +00:00
Andy Scherzinger
6386bb05d7
remove permission LOCAL_MAC_ADDRESS need
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-19 18:21:38 +02:00
Andy Scherzinger
3caa02f535
Add permissions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-19 15:25:52 +02:00
Andy Scherzinger
a5e9b8d91f
replace getColumnIndex with getColumnIndexOrThrow
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-19 12:54:55 +02:00
Andy Scherzinger
ae61d707d0
bump compile sdk to 31
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-19 11:02:28 +02:00
Andy Scherzinger
56131c80f5
revert compile sdk to 30
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-19 10:52:43 +02:00
Andy Scherzinger
673da0ae75
remove duplicate dependency definition
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-19 10:04:43 +02:00
Andy Scherzinger
0ded81884f
bump compile sdk to v31
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-19 10:03:38 +02:00
Nextcloud bot
3c6275c7f1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-19 04:22:43 +00:00
Andy Scherzinger
9679ca5fb6
remove legacy dexOptions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-18 18:50:15 +02:00
Andy Scherzinger
b7873cdf7a
bump build tools to 32.0.0
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-18 18:36:02 +02:00
Andy Scherzinger
8b699963f3
replace Annotation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-18 18:32:44 +02:00
Andy Scherzinger
c7e204172f
Migrate packagingOptions exclusions to packagingOptions / resources / exclusions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-18 18:32:26 +02:00
Andy Scherzinger
2c2d4aa306
move lintOptions to lint block
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-18 18:28:04 +02:00
Andy Scherzinger
0bbf14a2f0
remove obsolete sdk version check
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-18 17:29:14 +02:00
Andy Scherzinger
1230aa7773
Mark opt-in use of camera2 implementation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-18 17:26:52 +02:00
Álvaro Brey
9d016e7005
DownloadWebRtcTask: don't expose internal outputPath property
Use the output file from app gradle instead

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-18 17:20:36 +02:00