Commit graph

3775 commits

Author SHA1 Message Date
Andy Scherzinger
9e633b91b5
Merge pull request #6342 from nextcloud/view-binding
View binding
2020-06-24 20:28:20 +02:00
Andy Scherzinger
f0a608acde
remove unused constants
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-24 17:00:38 +02:00
tobiasKaminsky
4a791dda86
fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-24 16:45:15 +02:00
Andy Scherzinger
3e05624064
Merge pull request #6351 from nextcloud/castException
rich workspace not in folder picker activity
2020-06-24 12:52:36 +02:00
Tobias Kaminsky
ed8819ec86
Merge pull request #6327 from nextcloud/combineShare
Combined ShareActivity with FileDetailSharingFragment as much as possible
2020-06-24 10:43:24 +02:00
tobiasKaminsky
a424706368
rich workspace not in folder picker activity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-24 07:56:58 +02:00
Stefan Niedermann
0aed8aaa86 #6247 View Binding - Fix new SpotBugs performance warning (unread field)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2020-06-23 18:21:22 +02:00
tobiasKaminsky
4e52f7f970
fix LSC_LITERAL_STRING_COMPARISON
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-23 14:59:02 +02:00
Stefan Niedermann
a43933082d #6247 View Binding - Remove unused imports
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2020-06-23 14:10:18 +02:00
Stefan Niedermann
374bb21c33 #6247 View Binding - SendButtonAdapter.ViewHolder
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2020-06-23 14:01:45 +02:00
Stefan Niedermann
558f1775de #6247 View Binding - AccountItemBinding & AccountActionBinding
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2020-06-23 11:15:03 +02:00
Stefan Niedermann
934e1f406a #6247 View Binding - ConflictResolveDialogBinding
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2020-06-23 10:51:40 +02:00
tobiasKaminsky
7732ff065b
Combined ShareActivity with FileDetailSharingFragment as much as possible
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-23 10:47:43 +02:00
tobiasKaminsky
e503106960
Fixed NPE when hiding ssl cert
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-23 09:23:59 +02:00
Stefan Niedermann
96aecac8ed
#6247 View Binding - Fix codacy issue
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2020-06-23 09:23:59 +02:00
Stefan Niedermann
ab3dff9e1b
#6247 View Binding - FileDisplayActivity and partial Ssl views 2020-06-23 09:23:59 +02:00
Stephan Ritscher
9370cbab09 Fix improper deleting synced folder by OfflineSyncWork 2020-06-22 21:09:41 +02:00
tobiasKaminsky
e40893a136
Use always recommended spotbug version, defined by plugin
exclude data binding generated classes

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-19 11:03:24 +02:00
tobiasKaminsky
5f185326ab
Fixed Lint:
MissingClass: Missing registered class
Range: Outside Range
UseAppTint: app:tint attribute should be used on ImageView
UseCompatLoadingForDrawables
UseCompatTextViewDrawableXml

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-19 11:03:22 +02:00
Andy Scherzinger
c048fe2121
Merge pull request #6256 from nextcloud/clickConflictNotification
fix #5281: click on conflict notification opens conflict dialog directly
2020-06-18 09:26:58 +02:00
Tobias Kaminsky
ace90ef2ad
Merge pull request #6306 from nextcloud/fixBatteryDialog
check if activity is running before showing dialog
2020-06-18 07:06:47 +02:00
Tobias Kaminsky
1b1a58ed8c
Merge pull request #6289 from nextcloud/ezaquarii/migrate-contacts-preference-activity-startup-to-type-safe-api
Migrate ContactsPreferenceActivity startup to type-safe API
2020-06-18 07:03:58 +02:00
Tobias Kaminsky
cc06c8b613
Merge pull request #6283 from nextcloud/fixPhotoviewTitle
Show "photos" in title
2020-06-18 06:54:58 +02:00
Andy Scherzinger
28279bc3c1
Merge pull request #6284 from nextcloud/fixPhotoViewAppbar
Fix appbar photos view when enter in background
2020-06-17 16:55:18 +02:00
Andy Scherzinger
663537f304
Merge pull request #6209 from nextcloud/dependabot/gradle/com.pinterest-ktlint-0.37.0
Bump ktlint from 0.36.0 to 0.37.0
2020-06-17 16:54:38 +02:00
Andy Scherzinger
39bb258648
Merge pull request #6231 from nextcloud/theme-refresh
Theme refresh bugfix
2020-06-17 16:53:51 +02:00
Andy Scherzinger
73c22d4e8f
Merge pull request #6307 from thgoebel/addaccount-materialbutton
Use MaterialButton for addAccount action in accounts screen
2020-06-17 16:37:28 +02:00
Daniel Bailey
6f31f92a3f
Theme refresh bugfix
Removed call to setLocalNightMode from DrawerActivity to allow the theme
setting to be done by SettingsActivity and the following activity
recreation to be handled by BaseActivity.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-06-17 14:33:19 +02:00
Joris Bodin
7f1ba75b7d
Fix appbar photos view when enter in background
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-06-17 12:21:32 +02:00
Andy Scherzinger
adac921f5c
Drop Android 4.2 support
Resolves #6276

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-06-17 10:58:35 +02:00
dependabot-preview[bot]
78b879d10f
Bump ktlint from 0.36.0 to 0.37.2
Bumps [ktlint](https://github.com/pinterest/ktlint) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pinterest/ktlint/compare/0.36.0...0.37.0)

changed to new syntax

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-17 10:45:36 +02:00
Thore Goebel
7c5948b61a Use MaterialButton for addAccount action in accounts screen 2020-06-17 09:00:35 +02:00
tobiasKaminsky
0b15433cda
check if activity is running before showing dialog
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-17 07:57:15 +02:00
tobiasKaminsky
34eaf9d6db
remove non needed exceptions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-16 14:49:01 +02:00
Joris Bodin
37bf0dde69
Split off of #5150
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-16 08:09:42 +02:00
Chris Narkiewicz
3e3d80d08c
Migrate ContactsPreferenceActivity startup to type-safe API
This change addresses #6277 bug in more comprehensible way.
All calls to Context.startActivity(...) starthing
ContactsPreferenceActivity are replaced with type-safe
calls to static ContactsPreferenceActivity.startActivity*
sets of APIs.

No client code should be calling `Intent(..., ContactsPreferenceActivity.class)`
constructor anymore.

See #5866 for discussion about the pattern used in this PR.

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-06-13 17:42:24 +01:00
Joris Bodin
fa9804d742
Show "photos" in title
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-06-12 15:25:44 +02:00
Andy Scherzinger
d65d917b81
Merge pull request #6249 from nextcloud/view-binding
#6247 View Binding - ShareFileFragment
2020-06-10 17:26:46 +02:00
tobiasKaminsky
4d9fc70376
Add account: grey color
align text

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-10 07:30:47 +02:00
Andy Scherzinger
613b98ae1b
Merge pull request #6254 from nextcloud/replaceEdgeColors
replace edge colors
2020-06-09 20:37:29 +02:00
tobiasKaminsky
e95caf3572
centralize intent creation for
- FileUploader
- ConflictsResolveActivity

fix #5281: click on conflict notification opens conflict dialog directly

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-09 14:13:23 +02:00
Andy Scherzinger
5472ec40e2
Merge pull request #6221 from nextcloud/removeSortSwitch
remove action_sort
2020-06-09 14:04:38 +02:00
tobiasKaminsky
f028eefd83
replace edge colors
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-09 12:11:58 +02:00
Tobias Kaminsky
3965af0cfc
Merge pull request #6214 from nextcloud/fixods
Fix crash when creating client
2020-06-09 08:03:33 +02:00
tobiasKaminsky
fe8b0fba77
remove action_sort
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-09 08:00:55 +02:00
Stefan Niedermann
8b1396f73a #6247 View Binding - ShareFileFragment (Remove Jetbrains annotation)
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2020-06-08 19:45:24 +02:00
Stefan Niedermann
b13e828b87 #6247 View Binding - ShareFileFragment
Signed-off-by: Stefan Niedermann <info@niedermann.it>
2020-06-08 19:45:24 +02:00
tobiasKaminsky
ec12ad56d4
use check arrow for chosen account
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-06-08 10:03:38 +02:00
Andy Scherzinger
ddb8ee9fd1
Merge pull request #6222 from nextcloud/fix/MarkdwondPreview
set gradient via imageview for markdown previews
2020-06-05 15:52:19 +02:00
Andy Scherzinger
f07c535fba
Merge pull request #6224 from nextcloud/invertActivity
Activity stream on dark mode
2020-06-05 15:47:26 +02:00