Commit graph

185 commits

Author SHA1 Message Date
Álvaro Brey
1917198305
Move optional appscan feature to a separate module to avoid duplicating code between variants
This now uses a AppScanOptionalFeature injected interface that is satisfied by each module,
reducing the duplicated code to a minimum

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:55:32 +01:00
Álvaro Brey
41ef0614e0
Allow multi-page PDF scans
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-27 11:54:41 +01:00
Álvaro Brey
9bbbc83aff
Merge pull request #11246 from nextcloud/dependabot/gradle/androidx.appcompat-appcompat-1.6.0
Build(deps): Bump appcompat from 1.5.1 to 1.6.0
2023-01-27 11:52:17 +01:00
Álvaro Brey
54724f1ea6
Merge pull request #11289 from nextcloud/dependabot/gradle/com.google.android.material-material-1.8.0
Build(deps): Bump material from 1.7.0 to 1.8.0
2023-01-27 11:49:20 +01:00
dependabot[bot]
400c46c6c4
Build(deps): Bump com.diffplug.spotless from 6.13.0 to 6.14.0
Bumps com.diffplug.spotless from 6.13.0 to 6.14.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 02:01:31 +00:00
Álvaro Brey
77e906fead
Bump version to 3.25.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-25 14:40:36 +01:00
dependabot[bot]
73339ec32c
Build(deps): Bump appcompat from 1.5.1 to 1.6.0
Bumps appcompat from 1.5.1 to 1.6.0.

---
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>
2023-01-25 08:49:57 +00:00
Álvaro Brey
f0003c4a56
Merge pull request #11264 from nextcloud/dependabot/gradle/com.diffplug.spotless-6.13.0
Build(deps): Bump com.diffplug.spotless from 6.12.0 to 6.13.0
2023-01-25 09:47:58 +01:00
dependabot[bot]
34265d3d2c
Build(deps): Bump material from 1.7.0 to 1.8.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.7.0...1.8.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>
2023-01-25 02:03:02 +00:00
Álvaro Brey
9053bc96a7
Add test for DB 67 -> 68 migration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-24 11:21:01 +01:00
dependabot[bot]
4a5a856034
Build(deps): Bump com.diffplug.spotless from 6.12.0 to 6.13.0
Dependabot couldn't find the original pull request head commit, 10076aeed8cee158e02965ed13b423e9a47208d8.
2023-01-23 15:22:30 +00:00
Álvaro Brey
5f47494248 build: Bump compileSdk to 33
Now required by several libraries (check open dependabot PRs)

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-01-19 15:49:57 +01:00
dependabot[bot]
8b0deac0b4
Build(deps): Bump gradle from 7.3.1 to 7.4.0
Bumps gradle from 7.3.1 to 7.4.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-01-13 09:14:20 +01:00
dependabot[bot]
c56d3d16b8
Build(deps): Bump ui from 0.3.0 to 0.4.0
Bumps ui from 0.3.0 to 0.4.0.

---
updated-dependencies:
- dependency-name: com.github.nextcloud.android-common:ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 02:04:00 +00:00
Álvaro Brey
103f2a867c
Merge pull request #11223 from nextcloud/dependabot/gradle/androidx.test.ext-junit-1.1.5
Build(deps): Bump junit from 1.1.4 to 1.1.5
2023-01-09 15:23:46 +01:00
dependabot[bot]
b55a7e683d
Build(deps): Bump gson from 2.10 to 2.10.1
Bumps [gson](https://github.com/google/gson) from 2.10 to 2.10.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.10...gson-parent-2.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 02:02:54 +00:00
dependabot[bot]
c61655adfd
Build(deps): Bump junit from 1.1.4 to 1.1.5
Bumps junit from 1.1.4 to 1.1.5.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 02:01:35 +00:00
Álvaro Brey
cd36721f2b
Merge pull request #11156 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.1.1
Bump firebase-messaging from 23.1.0 to 23.1.1
2022-12-13 17:38:31 +01:00
dependabot[bot]
9f4d59b3e3
Bump firebase-messaging from 23.1.0 to 23.1.1
Bumps firebase-messaging from 23.1.0 to 23.1.1.

---
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-12-12 14:11:09 +00:00
dependabot[bot]
41b59e19f7
Bump fragment-ktx from 1.5.4 to 1.5.5
Bumps fragment-ktx from 1.5.4 to 1.5.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 02:01:54 +00:00
tobiasKaminsky
7235a8dcf6
For our daily build on F-Droid we cannot add our document scanning
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-12-07 14:56:14 +01:00
Álvaro Brey
13f37c04f8
Revert "Bump targetSdk to 32"
This reverts commit 8c8723c7c5.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-30 12:21:37 +01:00
Tobias Kaminsky
013f6dc7d2
Merge pull request #11075 from nextcloud/chore/sdk-32
Bump targetSdk to 32
2022-11-30 07:24:33 +01:00
Álvaro Brey
e85737f41d Disable StrictMode by default
StrictMode is not a good fit for the state of our app, since we are way too far from async operations or correct threading.
As a result, we find ourselves disabling the strict mode manually every time we actually want to work on something, as otherwise the
logspam drowns everything else.

With this PR I propose to disable StrictMode unless a prop is set in the Gradle build, which will also control LeakCanary.
Running `./gradlew installGplayDebug -P perfAnalysis` will install the app with both LeakCanary and StrictMode enabled.
This allows us to analyze performance problems on demand, without making our daily work harder.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-28 15:09:04 +01:00
dependabot[bot]
766ed4492c
Bump com.diffplug.spotless from 6.11.0 to 6.12.0
Bumps com.diffplug.spotless from 6.11.0 to 6.12.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 02:01:32 +00:00
Álvaro Brey
8c8723c7c5
Bump targetSdk to 32
32 is just a feature release of android 13 and no important changes are documented.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-23 11:46:14 +01:00
dependabot[bot]
df3cd0c685
Bump detekt-gradle-plugin from 1.21.0 to 1.22.0
Bumps [detekt-gradle-plugin](https://github.com/detekt/detekt) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/commits)

---
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-11-21 02:11:42 +00:00
Álvaro Brey
b31e3c1061
Bump app version on master to 3.24
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-17 13:48:43 +01:00
Álvaro Brey
73ba1e2421 Export Room schemas
Needed to enable auto-upgrades later

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
Álvaro Brey
d0ab9ff67b Setup base Room configuration
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-15 10:02:46 +00:00
dependabot[bot]
cffcb736ff
Bump leakcanary-android from 2.9.1 to 2.10
Bumps [leakcanary-android](https://github.com/square/leakcanary) from 2.9.1 to 2.10.
- [Release notes](https://github.com/square/leakcanary/releases)
- [Changelog](https://github.com/square/leakcanary/blob/main/docs/changelog.md)
- [Commits](https://github.com/square/leakcanary/compare/v2.9.1...v2.10)

---
updated-dependencies:
- dependency-name: com.squareup.leakcanary:leakcanary-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 02:02:41 +00:00
dependabot[bot]
387ac6a89e
Bump appcompat from 1.4.2 to 1.5.1
Bumps appcompat from 1.4.2 to 1.5.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-11-11 10:22:34 +00:00
Álvaro Brey
2aab02b1f6
Merge pull request #10674 from nextcloud/dependabot/gradle/androidx.webkit-webkit-1.5.0
Bump webkit from 1.4.0 to 1.5.0
2022-11-11 11:21:13 +01:00
dependabot[bot]
53103d2464
Bump webkit from 1.4.0 to 1.5.0
Bumps webkit from 1.4.0 to 1.5.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 08:50:20 +00:00
dependabot[bot]
7a2681cc7d
Bump material from 1.6.1 to 1.7.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.1...1.7.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-11-11 08:49:38 +00:00
Álvaro Brey
a036aa7070
Bump compileSDK to 32
Once again it's blocking library updates.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-09 13:12:19 +01:00
dependabot[bot]
2ce3100bba Bump junit from 1.1.3 to 1.1.4
Bumps junit from 1.1.3 to 1.1.4.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 09:12:27 +01:00
Álvaro Brey
9e4bd1935f
Use forked hwsecurity lib to avoid PendingIntent crashes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-11-03 11:58:08 +01:00
dependabot[bot]
c00c67499d
Bump gson from 2.9.1 to 2.10
Bumps [gson](https://github.com/google/gson) from 2.9.1 to 2.10.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.9.1...gson-parent-2.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 01:11:13 +00:00
Álvaro Brey
4365be4ca2
Merge pull request #10794 from nextcloud/dependabot/gradle/com.google.firebase-firebase-messaging-23.1.0
Bump firebase-messaging from 23.0.7 to 23.1.0
2022-10-25 09:10:16 +02:00
Álvaro Brey
93e6f5cb3b
Merge pull request #10920 from nextcloud/dependabot/gradle/androidx.fragment-fragment-ktx-1.5.4
Bump fragment-ktx from 1.5.3 to 1.5.4
2022-10-25 08:51:17 +02:00
dependabot[bot]
b4b658402a
Bump fragment-ktx from 1.5.3 to 1.5.4
Bumps fragment-ktx from 1.5.3 to 1.5.4.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 01:10:38 +00:00
dependabot[bot]
c5d5659988
Bump exifinterface from 1.3.4 to 1.3.5
Bumps exifinterface from 1.3.4 to 1.3.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 01:09:55 +00:00
dependabot[bot]
fda93aacf4
Bump firebase-messaging from 23.0.7 to 23.1.0
Bumps firebase-messaging from 23.0.7 to 23.1.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 10:44:35 +00:00
Álvaro Brey
401812db81 Bump android-common:ui to 0.3.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-20 15:48:01 +02:00
Álvaro Brey
e8933b402e
Merge pull request #10814 from nextcloud/bump-master-after-3.22
Bumps on master after 3.22 branched out
2022-10-19 11:12:12 +02:00
Álvaro Brey
b4f3ffb64d Bump app to 3.23.x on master
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-19 10:02:02 +02:00
dependabot[bot]
fa9f4ac6e2
Bump spotbugs-gradle-plugin from 5.0.12 to 5.0.13
Bumps [spotbugs-gradle-plugin](https://github.com/spotbugs/spotbugs-gradle-plugin) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/spotbugs/spotbugs-gradle-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-gradle-plugin/compare/5.0.12...5.0.13)

---
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-10-19 01:06:16 +00:00
tobiasKaminsky
3985421c9d Bump to SDK31
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-17 18:24:17 +02:00
Álvaro Brey
5643d3e095
build: use tag for common lib
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 16:05:29 +02:00