Commit graph

544 commits

Author SHA1 Message Date
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
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
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
tobiasKaminsky
029b290a31
Close FOS
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-10-13 08:46:26 +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
Nextcloud bot
6033c19df4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-30 05:46:13 +00:00
Nextcloud bot
e2c149cbe6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-29 04:36:51 +00:00
Álvaro Brey
4bc0e24efd
Merge pull request #10760 from nextcloud/fix/9887
TextDrawable: handle spaces at start/end of displayNames
2022-09-28 10:50:38 +02:00
Nextcloud bot
89a0ff5b5a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-24 04:33:26 +00:00
Álvaro Brey
43bf5b982a
TextDrawable: handle spaces at start/end of displayNames
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-23 17:13:15 +02:00
Álvaro Brey
45bcd5e33a PassCodeManager: fix compilation error with kotlin 1.7.10
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-23 09:21:40 +02:00
Nextcloud bot
ac332e96ce
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-23 04:29:28 +00:00
Nextcloud bot
969f3471d4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-22 04:32:53 +00:00
Tobias Kaminsky
3490fb66a6
Merge pull request #10745 from Sandelinos/themed-icons
Add monochrome icon
2022-09-20 11:56:06 +02:00
Nextcloud bot
4cb1d94a7e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-20 04:31:51 +00:00
Tobias Kaminsky
7f621159ee
Merge pull request #10705 from nextcloud/test/disable-backup
AndroidManifest: disable backup&restore
2022-09-19 07:24:16 +02:00
Sandelinos
1da8117902 Add monochrome icon
Signed-off-by: Sandelinos <3103376-Sandelinos@users.noreply.gitlab.com>
2022-09-18 20:07:54 +03:00
Álvaro Brey
25234fdb85
Rollback emoji-google to 0.9.0
New version is not compatible with Jacoco for some reason

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 16:36:52 +02:00
Álvaro Brey
f8d53218da AndroidManifest: disable backup&restore
Currently broken

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 12:21:13 +02:00
Álvaro Brey
9a0848e486
Move package declarations to build.gradle
Requested by AGP upgrade and also is crashing test builds

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 11:52:22 +02:00
Álvaro Brey
07aedfd888
Solve new lint warnings with AGP 7.3.0
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-16 11:52:22 +02:00
Nextcloud bot
5c538146d6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-16 04:23:25 +00:00
Nextcloud bot
ddd87c5168
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-15 04:30:55 +00:00
Nextcloud bot
fe291eb973
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-14 04:22:50 +00:00
Nextcloud bot
2bc22fd76c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-13 04:26:49 +00:00
Nextcloud bot
56cf6bc531
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-11 04:29:41 +00:00
Nextcloud bot
515f2c3b72
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-10 04:32:40 +00:00
Nextcloud bot
297da371d7
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-07 04:28:25 +00:00
Álvaro Brey
35878574df
Merge pull request #10706 from nextcloud/fix/delete-image-crash
PreviewImageFragment: prevent crash when redrawing menu after file deletion
2022-09-06 09:03:21 +02:00
Nextcloud bot
ba0b7af6ce
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-03 04:27:10 +00:00
Álvaro Brey
37a9c438cd
PreviewImageFragment: prevent crash when redrawing menu after file deletion
For some reason this is called again after deleting the file (probably a fragment-ktx update or something).
However at this point getFileById will return null and crash the rest of the method.

This adds some checks to prevent that.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-09-02 16:25:15 +02:00
Álvaro Brey
c962476d90
Merge pull request #10703 from nextcloud/addAccount
Restart account creation with AuthenticatorActivity, which helps to add account in restricted profiles, e.g. MDM or Samsung second users
2022-09-02 12:21:21 +02:00
tobiasKaminsky
a6dcf263aa
Restart account creation with AuthenticatorActivity, which helps to add account in restricted profiles, e.g. MDM or Samsung second users
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-09-02 11:10:45 +02:00
Álvaro Brey
e9366e6130
Merge pull request #10688 from nextcloud/fix/noid/no_full_refresh_on_browse_up
Avoid full folder refresh during onBrowseUp
2022-09-02 09:39:06 +02:00
Nextcloud bot
f0ffed6878
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-02 04:21:29 +00:00
Nextcloud bot
7a6162a6e5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-31 04:14:27 +00:00
Nextcloud bot
6677e0812d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-30 04:16:52 +00:00
Dariusz Olszewski
e2a6957ac1 Avoid full folder refresh during onBrowseUp
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-08-28 17:22:48 +02:00
Nextcloud bot
6e33b92c07
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-28 04:13:49 +00:00
Nextcloud bot
d76c8ea4e6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-27 04:13:57 +00:00
Nextcloud bot
9d287f9bfc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-26 04:14:47 +00:00
Álvaro Brey
d6fb21c0bd
Merge pull request #10657 from nextcloud/revert-10148-proseMirror
Revert "Test proseMirror with custom user agent"
2022-08-25 17:07:58 +02:00