Commit graph

690 commits

Author SHA1 Message Date
Álvaro Brey
616222572b
FirstRunActivity: move to viewBinding in preparation for theming
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:29:35 +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
5eff338d45
remove unnecessary semicolon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:35 +02:00
Andy Scherzinger
d49f725e5e
improve status card views for m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
e10a28b893
unify bottom sheet items to 56dp m3 item heights
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
f4a2f734e4
move magic number to a constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
379c9d016f
adapt bottom sheet items to m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +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
bdcfbbb377
move community activity hyperlink theming to m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
3c5268201a
remove legacy color method
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
2a90cc316a
move quota theming to drawer
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:34 +02:00
Andy Scherzinger
d57ea5a010
theme share buttons in m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
6d1d03caf1
Add template card theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
da6b136bcb
improve secondary button m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +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
224e470ede
remove legacy color utils from OCFileList
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
afc7219440
remove unused variables due to new m3 theming methods in place
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:33 +02:00
Andy Scherzinger
0a8e505ef5
remove legacy color util references from notification activity and adapter
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:32 +02:00
Andy Scherzinger
6792118b7a
move ssl validator to view binding
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:29:32 +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
7e8002b254
Move upload list to view binding and buttons' m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
1bfb91d3cc
properly theme input layout for m3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
5d7d3d6641
m3 theming of e2ee dialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
bdeb51d50a
m3 theming for unified search results
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
a103c19439
properly theme upload header texts
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:45 +02:00
Andy Scherzinger
97ab9cf0b8
improve picker theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
6dbd434d0c
theme sharing fragment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
e0d4d84f16
remove unused colors
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
0f1d86b1a5
preserver exception history
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
53fefc855c
ignore constant array index due to legacy API on platform
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
cdcdeb4ef9
remove unused parameter
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +02:00
Andy Scherzinger
5a3f3da3b4
Remove unexpected blank line
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:28:44 +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
29c2e8758f
Remove a bunch of unused injections and parameters for old theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:59 +02:00
Álvaro Brey
6ae4ac22e7
OCFileListDelegate: remove unused theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
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
146d846405
remove unused theming legacy helpers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
550924e19d
theme ripple effect on toolbar MaterialButtons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:59 +02:00
Andy Scherzinger
5571574309
tint sharing bottom sheet icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
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
Andy Scherzinger
c657461e6f
theme quick sharing bottom sheet icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:27:58 +02:00
Álvaro Brey
b181336c6d
SettingsActivity: completely relaunch activity when dark mode is changed
recreate() is not enough and leaves the activity in a broken state

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +02:00
Álvaro Brey
131bd9e62c
ProfileBottomSheetDialog: fix icon colors and detekt issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +02:00
Álvaro Brey
d0a9fa2c72
Fix tints in user lists
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:27:58 +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
Andy Scherzinger
ea4de13d9f
Update background for all bottomsheets
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:44 +02:00
Andy Scherzinger
ff9086bc87
fix tab layout theming on non-surface areas
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:44 +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
63aed99c93
Fix crash in LocalFileListAdapter due to uninitialized theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:44 +02:00
Álvaro Brey
0ab4743419
Fix ktlint
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
35fb67f0a6
background for settings screen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:27 +02:00
Andy Scherzinger
7d7b3e3e0f
update status bar theming for toolbar activities
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +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
980c74a172
theme search card view
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
Andy Scherzinger
a92bc8529a
Migrate SyncedFolder dialog to MaterialAlertDialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
2062692e2f
Migrate SSLUntrusterCert and StoragePermission to MaterAlertDialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:08 +02:00
Andy Scherzinger
4058896f3f
organize imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:07 +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
e969024a11
Replace ThemeTextUtils with new FilesSpecificViewThemeUtils class using material3 schemes
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:23:07 +02:00
Andy Scherzinger
50ae0581e4
Update further dialogs to m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:23:07 +02:00
Andy Scherzinger
a131656d8f
convert conflicts and create folder dialogs to MaterialAlterDialogs
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
ee170a4e4c
move template chooser to MaterialAlterDialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
5d84bfc2e4
enhance m3 theming for confirmation dialogs and template chooser
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
dd9bdaa886
enhance account removal confirmation dialog m3 theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
25bbbea282
enhance set status dialog m3 themeing
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
50a6937ca4
improve m3 account chooser theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
d1621d74d1
Polish m3 for account chooser and rename background
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:52 +02:00
Andy Scherzinger
90f060e944
Update theming on rename dialog
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:22:51 +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
ba05bf7c5a
Fix simple detekt issue
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:06 +02:00
Álvaro Brey
22dc29ce43
Replace ThemeFabUtils and ThemeLayoutUtils with common library utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-14 11:22:05 +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
Andy Scherzinger
0308ace17f
PoC for Matzerial3 theming
Resolves #10641

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-14 11:21:08 +02:00
Álvaro Brey
2cbd6d9659
Merge pull request #10719 from nextcloud/dashboard
Dashboard
2022-10-14 11:06:43 +02:00
tobiasKaminsky
efa886b455
Add dashboard widgets
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-14 10:25:35 +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
tobiasKaminsky
029b290a31
Close FOS
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-13 08:46:26 +02:00
Álvaro Brey
64d8b0e667
Merge pull request #10784 from nextcloud/chore/spotless
Use Spotless for ktlint
2022-10-10 14:11:16 +02:00
Álvaro Brey
89ddbd467c
Merge pull request #10718 from nextcloud/dependabot/gradle/com.github.spotbugs.snom-spotbugs-gradle-plugin-5.0.12
Bump spotbugs-gradle-plugin from 5.0.11 to 5.0.12
2022-10-07 17:55:56 +02:00
Álvaro Brey
b463c04d36
Suppress detekt issue brought up by reformatting:
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:50:33 +02:00
Álvaro Brey
41a3a06a53
Fix previously undetected ktlint issues
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:49:23 +02:00
Álvaro Brey
11d665d972
build: Fix ktlint call in check task
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:49:05 +02:00
Álvaro Brey
13d4aed502
Move installGitHooks task to root project and fix target dir
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:44:52 +02:00
Álvaro Brey
0d646233b0
Replace ktlint plugin with Spotless
The original plugin did not check all sourcesets :(

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-10-07 17:42:29 +02:00
dependabot[bot]
5a9d4fca05
Bump exifinterface from 1.3.3 to 1.3.4
Bumps exifinterface from 1.3.3 to 1.3.4.

---
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-06 01:09:04 +00:00
Álvaro Brey
9514b33e24
Merge pull request #10768 from nextcloud/dependabot/gradle/org.bouncycastle-bcpkix-jdk15to18-1.72
Bump bcpkix-jdk15to18 from 1.70 to 1.72
2022-09-30 11:33:15 +02:00
Álvaro Brey
e9c1013298
Merge pull request #10767 from nextcloud/dependabot/gradle/mockkVersion-1.13.2
Bump mockkVersion from 1.12.5 to 1.13.2
2022-09-30 10:42:27 +02:00