Commit graph

519 commits

Author SHA1 Message Date
Á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
Nextcloud bot
084fdafd7c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-25 04:15:36 +00:00
Álvaro Brey
61c2dbb3d6
Merge pull request #10584 from nextcloud/fix/syncedfolderutils-inconsistent-comparator
SyncedFolderUtils: solve inconsistent comparator crashes
2022-08-23 09:42:35 +02:00
Álvaro Brey
ce7ef477bb
SyncedFolderUtils: fix logic when numberOfFiles != actual file number
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 17:56:14 +02:00
Tobias Kaminsky
69850b4397
Merge pull request #10608 from nextcloud/bump-master-3.22
Bump OUTDATED_SERVER_VERSION to Nextcloud 22
2022-08-22 16:41:21 +02:00
Álvaro Brey
00644d9384 SyncedFolderUtils: solve inconsistent comparator
Calling lastModified() inside the comparator can produce inconsistent results if last modification date changes while sorting

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 16:07:48 +02:00
Álvaro Brey
7e3e760887 SyncedFolderUtils: convert to kotlin step 2 and deduplicate
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 16:07:48 +02:00
Álvaro Brey
3d7afa1b58 SyncedFolderUtils: convert to Kotlin step 1
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 16:07:48 +02:00
Álvaro Brey
fbfec4a0d7
Merge pull request #10545 from nextcloud/bumpSDK31
Bump targetSdkVersion to 31
2022-08-22 16:07:12 +02:00
Álvaro Brey
abe583d7de Bump OUTDATED_SERVER_VERSION to Nextcloud 22
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 12:38:20 +00:00
Álvaro Brey
a159568077
Merge pull request #10610 from nextcloud/fix/search-on-copy-screen
Disable search on folder picker activity
2022-08-22 14:33:24 +02:00
Álvaro Brey
98bf8f26b8
Add RetryTestRule to FileDisplayActivityIT
showShares is flaky

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-22 12:55:53 +02:00
tobiasKaminsky
57ca106788 add data-extraction-rules
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-22 10:16:56 +00:00
Álvaro Brey
3836eeb088
Revert "Test proseMirror with custom user agent" 2022-08-22 11:41:08 +02:00
Nextcloud bot
cf959ee14d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-22 04:13:30 +00:00
Nextcloud bot
e6cd1cfce4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-21 04:12:29 +00:00
Álvaro Brey
9ab052d379 SaveCalendar: reuse property factory
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-19 15:38:50 +02:00
Álvaro Brey
8e751eedab Setup ical4j caching class
Needed since 3.0

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-19 15:38:50 +02:00
tobiasKaminsky
1a6ec16af8 Use 3.0.0
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-08-19 15:38:50 +02:00
Álvaro Brey
68c7eddf46
Use ArbitraryDataProvider to store backup preferences
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-19 13:00:14 +02:00
Álvaro Brey
7a1e8189da Actually persist backup preferences
Currently, the backup is always enabled if the permissions are granted, so the checkboxes make no sense.

This fixes that by actually persisting the checkbox status as a preference, and honoring that for schedulling/cancelling the backup jobs.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-18 16:26:20 +02:00
Álvaro Brey
71fb20b524
Merge pull request #10609 from nextcloud/fix/calendar-backup
BackupFragment: request write_calendar permission for backup
2022-08-18 16:25:51 +02:00
dhruv
4f19252726 SingleLine attribute removed
Signed-off-by: dhruv <dhruvpatidar35@gmail.com>
2022-08-18 15:49:40 +05:30
Álvaro Brey
2d3982060c
BackupFragment: request write_calendar permission for backup
Needed to ensure events have UIDs for ICS export

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-17 17:02:46 +02:00
Nextcloud bot
5671394559
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-17 04:14:13 +00:00
Nextcloud bot
9a08c5b3ea
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-08-16 04:14:33 +00:00