Commit graph

273 commits

Author SHA1 Message Date
Tobias Kaminsky
bbffd188be daily dev 20221203 2022-12-03 02:40:05 +01:00
Tobias Kaminsky
802232ded9 daily dev 20221202 2022-12-02 02:41:36 +01:00
Tobias Kaminsky
132db0ada1 Merge remote-tracking branch 'origin/master' into dev 2022-12-02 02:33:31 +01:00
Tobias Kaminsky
980bb736a0 daily dev 20221201
Bump mockkVersion from 1.13.2 to 1.13.3
Update 3rd-party dependencies
2022-12-01 02:38:18 +01:00
Tobias Kaminsky
ab3bf3e7ca Merge remote-tracking branch 'origin/master' into dev 2022-12-01 02:31:51 +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
Tobias Kaminsky
c2fc3424bc daily dev 20221130
Bump kotlin_version from 1.7.21 to 1.7.22
Update Nextcloud Android library
Update 3rd-party dependencies
2022-11-30 03:45:47 +01:00
Tobias Kaminsky
5b89024800 Merge remote-tracking branch 'origin/master' into dev 2022-11-30 03:37:33 +01:00
Tobias Kaminsky
7ba1a9fa5b daily dev 20221129
Bump mockito-kotlin from 4.0.0 to 4.1.0
Update 3rd-party dependencies
2022-11-29 02:38:13 +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
Tobias Kaminsky
72c8248a43 daily dev 20221126
Bump com.diffplug.spotless from 6.11.0 to 6.12.0
Update Nextcloud Android library
Update 3rd-party dependencies
2022-11-26 03:43:42 +01:00
Tobias Kaminsky
eb2b9ec935 Merge remote-tracking branch 'origin/master' into dev 2022-11-26 03:36:27 +01:00
Tobias Kaminsky
a5883ef743 daily dev 20221125
Update Nextcloud Android library
2022-11-25 03:40:59 +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
Tobias Kaminsky
4a6f4707e4 daily dev 20221124 2022-11-24 02:38:15 +01: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
Tobias Kaminsky
e4139af585 daily dev 20221122
Bump detekt-gradle-plugin from 1.21.0 to 1.22.0
Update Nextcloud Android library
Update 3rd-party dependencies
2022-11-22 03:41:11 +01:00
Tobias Kaminsky
b3b9b66917 Merge remote-tracking branch 'origin/master' into dev 2022-11-22 03:35:00 +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
Tobias Kaminsky
e8eef0f736 daily dev 20221121 2022-11-21 02:37:13 +01:00
Tobias Kaminsky
ffdf45afba daily dev 20221118
Update Nextcloud Android library
2022-11-18 02:39:51 +01:00
Tobias Kaminsky
b52cf18d8a Merge remote-tracking branch 'origin/master' into dev 2022-11-18 02:32:54 +01: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
Tobias Kaminsky
aacd4865ad daily dev 20221117
Update Nextcloud Android library
2022-11-17 02:39:51 +01:00
Tobias Kaminsky
18588e9cc1 daily dev 20221116
Bump mockitoVersion from 4.8.1 to 4.9.0
Bump daggerVersion from 2.44.1 to 2.44.2
Bump leakcanary-android from 2.9.1 to 2.10
Bump daggerVersion from 2.44 to 2.44.1
Update Nextcloud Android library
Update 3rd-party dependencies
2022-11-16 02:40:56 +01:00
Tobias Kaminsky
3ecad40356 Merge remote-tracking branch 'origin/master' into dev 2022-11-16 02:33:51 +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
Tobias Kaminsky
5822746010 daily dev 20221112
Bump appcompat from 1.4.2 to 1.5.1
Bump webkit from 1.4.0 to 1.5.0
Bump material from 1.6.1 to 1.7.0
Bump junit from 1.1.3 to 1.1.4
Bump espressoVersion from 3.4.0 to 3.5.0
Bump kotlin_version from 1.7.20 to 1.7.21
Update Nextcloud Android library
Update 3rd-party dependencies
2022-11-12 03:43:22 +01:00
Tobias Kaminsky
a03c9d0ca9 Merge remote-tracking branch 'origin/master' into dev 2022-11-12 03:37:09 +01: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
Tobias Kaminsky
f9758863f2 daily dev 20221105 2022-11-05 02:39:56 +01:00
Tobias Kaminsky
822cb9efa1 daily dev 20221104 2022-11-04 02:38:22 +01:00
Tobias Kaminsky
16e4b0a490 Merge remote-tracking branch 'origin/master' into dev 2022-11-04 02:31:56 +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
Tobias Kaminsky
ae15e6e0c1 daily dev 20221103
Update Nextcloud Android library
2022-11-03 02:38:22 +01:00
Tobias Kaminsky
b4ca718bcb daily dev 20221029 2022-10-29 02:38:06 +02:00
Tobias Kaminsky
ecf8d018d6 daily dev 20221028 2022-10-28 02:39:35 +02:00
Tobias Kaminsky
0093e9c4f7 daily dev 20221027
Bump gson from 2.9.1 to 2.10
Update Nextcloud Android library
Update 3rd-party dependencies
2022-10-27 03:42:55 +02:00
Tobias Kaminsky
cceea2116f Merge remote-tracking branch 'origin/master' into dev 2022-10-27 03:35:50 +02: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
Tobias Kaminsky
debec19699 daily dev 20221025
Bump fragment-ktx from 1.5.3 to 1.5.4
Bump exifinterface from 1.3.4 to 1.3.5
Bump mockitoVersion from 4.8.0 to 4.8.1
Bump firebase-messaging from 23.0.7 to 23.1.0
Bump spotbugs-gradle-plugin from 5.0.12 to 5.0.13
Update Nextcloud Android library
Update 3rd-party dependencies
2022-10-25 12:51:19 +02:00
Tobias Kaminsky
9c9ddbb7f7 Merge remote-tracking branch 'origin/master' into dev 2022-10-25 12:46:43 +02: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
Tobias Kaminsky
b5970f9999 daily dev 20221019 2022-10-19 02:40:20 +02:00
Tobias Kaminsky
89a0d033cf daily dev 20221018
Update Nextcloud Android library
2022-10-18 03:45:43 +02:00
Tobias Kaminsky
0e9b8b7814 Merge remote-tracking branch 'origin/master' into dev 2022-10-18 02:33:45 +02:00
tobiasKaminsky
3985421c9d Bump to SDK31
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-17 18:24:17 +02:00
Tobias Kaminsky
f26e29f3cd daily dev 20221015
Bump gradle from 7.3.0 to 7.3.1
Update 3rd-party dependencies
2022-10-15 02:41:24 +02:00
Tobias Kaminsky
469b4e8033 Merge remote-tracking branch 'origin/master' into dev 2022-10-15 02:32:08 +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
Andy Scherzinger
aaba0d04b9
add disabled state to FAB
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:30:09 +02:00
Álvaro Brey
2bf3cbe473
AuthenticatorActivity: after login, immediately cache color in OCCapability
Needed to draw the next screen correctly

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:09 +02:00
Álvaro Brey
7456354774
Remove obsolete TODOs
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
8ad0263f23
Move theme utils back to the theme package
No need for an extra package anymore

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
be87acd735
Clear almost all remainders of old theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:05 +02:00
Álvaro Brey
c1cb7e9430
ThemeableSwitchPreference: use m3 utilities
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Álvaro Brey
898d655886
Clear some uses of old color utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:30:04 +02:00
Andy Scherzinger
e902396aa3
Make status card views themed like tonal buttons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:35 +02:00
Andy Scherzinger
74ba90943e
make quota bar rounded on the edges and remove containers background to remove the overpainting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
7495eeca71
update to spotless fixed common version
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
1657850ccb
m3 theming for backup fragnment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
671fe3dc3a
Move notification list buttons to m3 with updated outlinedf button handling from commons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:32 +02:00
Andy Scherzinger
5db87bf328
Apply m3 colors to markwon based markdown rendering
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:43 +02:00
Andy Scherzinger
ece61e46b6
theme user info activity
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:00 +02:00
Andy Scherzinger
ae4251177f
add search toolbar theming and general overflow menu theming for toolbar activities
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Álvaro Brey
efaad0a6da
Tint a bunch of drawables and toolbars with new utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
1c7af1a08e
Theme permissions subline for link shares
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Álvaro Brey
5cf85fd2c8
Theme fast scrollbars
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:24:07 +02:00
Álvaro Brey
e39ad8867c
Material3 theming for snackbars
Lots of Dagger and static code workarounds unfortunately

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:44 +02:00
Álvaro Brey
51332a6fea
Port some status bar theming to new utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:28 +02:00
Andy Scherzinger
6bf79d5a5f
Migrate primate drawable tinting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:28 +02:00
Andy Scherzinger
4ea5242acc
title and back/drawer icon theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
d3eb0d09cf
legacy action bar theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
117b07a3e9
Migrate navigation view to m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Álvaro Brey
b3a4a5f29f
Replace ThemeAvatarUtils with common material3 utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:07 +02:00
Álvaro Brey
8a31f9b8f7
Replace ThemeMenuUtils with common library utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:51 +02:00
Álvaro Brey
413df44a3c
Replace ThemeTextInputUtils with common lib utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:51 +02:00
Álvaro Brey
8854fd40c4
Update common lib version
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:51 +02:00
Álvaro Brey
8078fe0ee0
Generate MaterialSchemes from colorPrimary when there's no logged in user
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:06 +02:00
Álvaro Brey
46fef5c883
Replace ThemeCheckableUtils with common lib utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:06 +02:00
Álvaro Brey
2755c78bbd
Replace ThemeButtonUtils with utils from common lib
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:04 +02:00
Álvaro Brey
f16f9400ed
Replace ThemeBarUtils with common themeutils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:21:27 +02:00
Álvaro Brey
7fedeeb797
Initial setup for material 3 utils from library
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:21:24 +02:00
dependabot[bot]
5746587d7a
Bump gradle from 7.3.0 to 7.3.1
Bumps gradle from 7.3.0 to 7.3.1.

---
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-10-14 01:04:34 +00:00