Commit graph

3748 commits

Author SHA1 Message Date
Joris Bodin
adecd7b5ae
Fix fab behavior hide and ripple color
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-12 16:25:39 +02:00
tobiasKaminsky
54d4acf216
Fix after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-12 16:20:17 +02:00
Chris Narkiewicz
b10038cced
DeckApi unit test
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-05-12 13:11:14 +02:00
Stefan Niedermann
c0bd6b1a51
Adjusted javadoc
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:12 +02:00
Stefan Niedermann
24cbc66a92
Removed logging
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:12 +02:00
Stefan Niedermann
a9a2c06a1b
Add license header and code format
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:12 +02:00
Stefan Niedermann
19deab3fba
Internal refactoring of the DeckApiImpl
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:10 +02:00
Stefan Niedermann
10437c9d82
Add some java doc
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:08 +02:00
Stefan Niedermann
53a1344e47
Rename interface and implementation for Deck integration
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:06 +02:00
Stefan Niedermann
9a00819286
Use Optional for DeckIntegration and better name for interface
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:03 +02:00
Stefan Niedermann
820f6745e1
Don't instantiate intent each time in the for loop
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:01 +02:00
Stefan Niedermann
ad8eaff22b
Don't spam logs
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:01 +02:00
Stefan Niedermann
dfb3d8d15f
Small refactorings
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:01 +02:00
Stefan Niedermann
40e1f089f4
Added default serialVersionUID for new Exception classes
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:11:01 +02:00
Stefan Niedermann
a751523c20
Fix typo in handle
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:10:59 +02:00
Stefan Niedermann
37aa694a52
Add GPL headers
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:10:58 +02:00
Stefan Niedermann
ee882187fb
Move Deck exception classes into own files
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:10:55 +02:00
Stefan Niedermann
b0ab109e5d
Move Deck integration logic to own package
https://github.com/stefan-niedermann/nextcloud-deck/issues/208
2020-05-12 13:10:51 +02:00
tobiasKaminsky
659dabb672
remove EXTRA_FILE_PATH
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-12 11:42:07 +02:00
Tobias Kaminsky
48fc341f90
Merge pull request #6040 from nextcloud/ezaquarii/fix-contacts-import-download-in-contacts-list
Fix parameters passed to downloader during contacts list download
2020-05-12 11:35:45 +02:00
tobiasKaminsky
77c104d2fe
move field to local variable
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-12 11:28:37 +02:00
Kilian Périsset
db104952d5
Fixed a bug relative to account switch
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-12 10:02:19 +02:00
Kilian Périsset
5464453901
Splitted User ClickListener interface in two methods
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-11 16:25:31 +02:00
Andy Scherzinger
c6c38e87eb
spotbugs: FCBL_FIELD_COULD_BE_LOCAL
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-05-11 13:57:03 +02:00
Chris Narkiewicz
7475c667a8
Fix parameters passed to downloader during contacts list download
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-05-10 17:03:07 +01:00
Abdourahamane BOINAIDI
e88da96a28
remove unused imports
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-08 21:04:36 +02:00
Abdourahamane BOINAIDI
dcb4f117ea
Set thumbnail shimmer height same as the thumbnail
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-08 21:03:34 +02:00
Abdourahamane BOINAIDI
89b20d61ed
custom different radius for icons on the grid view and the list view
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-08 13:35:09 +02:00
Abdourahamane BOINAIDI
6f5e7027f4
3 Columns on grid mode
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-08 12:50:32 +02:00
Chris Narkiewicz
f9c233f5b3
Fixed account extra argument passed to OperationsService when starting sync
Fixes #6020

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-05-07 22:02:38 +01:00
Abdourahamane BOINAIDI
8779f633ab
add thumbnail corners on grid and list mode fix to 8dp
Signed-off-by: Abdourahamane BOINAIDI <abdourahamane.boinaidi@infomaniak.com>
2020-05-07 15:39:40 +02:00
Kilian Périsset
e84cc8eca3
Added account deletion feature
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-07 13:08:38 +02:00
Kilian Périsset
ac35fb0b56
Merge branch 'master' into feature/ui-revamp/manage-accounts-activity 2020-05-07 12:41:55 +02:00
Andy Scherzinger
109be926ff
Merge pull request #6014 from nextcloud/fixAccountRemoval
Fix account removal
2020-05-06 22:10:16 +02:00
Andy Scherzinger
4a764ff616
Merge pull request #5992 from nextcloud/newDesign-sort-gridswitch
New design (UI) - Sort and Gridview switch Bar
2020-05-06 22:08:44 +02:00
Joris Bodin
8c1c803b9d
Refactor and readd unnecessary id
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-06 16:47:30 +02:00
Tobias Kaminsky
7873c4d7aa
Merge pull request #5966 from nextcloud/feature/ui-revamp/icons
New design (UI) - Replaced some icons
2020-05-06 16:46:25 +02:00
Tobias Kaminsky
5ee1650064
Merge pull request #5991 from nextcloud/newDesign-loader-thumbnail
New design (UI) - loader thumbnail
2020-05-06 16:44:49 +02:00
drone
f899c2c668 Merge commit '1cf41b93ff12f7e5fe12875db96bfcf7a568b8a6' 2020-05-06 13:35:15 +00:00
tobiasKaminsky
3eb8b1c069
Fix account removal, #6012
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-06 15:27:36 +02:00
Kilian Périsset
c276374978
Enabled the actions and the inflating for Accounts Management
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-06 14:22:07 +02:00
drone
60d7f2c417 Merge commit 'd62174a97d08a4e836d5a97645582246772dc7f6' 2020-05-06 12:04:35 +00:00
drone
eee55edb80 Merge commit '8073a0d0038b643c740de331692e4a7f725c7770' 2020-05-05 21:57:56 +00:00
Chris Narkiewicz
8073a0d003
Remove Evernote job scheduler dependency
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-05-05 22:57:16 +01:00
tobiasKaminsky
245decb0f8
show "no new version available" only when clicking on it, not in background check
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-05-05 17:25:32 +02:00
Joris Bodin
cbeaf726b3
Readd necessaries values
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-05 16:13:14 +02:00
Joris Bodin
3bc3a86354
Improve sort button and hide if necessary
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-05 15:50:37 +02:00
Kilian Périsset
ae33986943
Implemented view in listener + Pre-implemented menu inflating
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-05 15:15:41 +02:00
Andy Scherzinger
2391561755
Merge pull request #5750 from nextcloud/ezaquarii/migrate-user-list-adapter-to-new-user-model
Migrate UserListAdapter to new User model
2020-05-05 10:56:28 +02:00
Joris Bodin
ba7964805d
Fix color
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-04 18:52:28 +02:00
Abdourahamane Boinaidi
84c1378dae
Shimmer effect in grid mode
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-04 17:17:10 +02:00
Abdourahamane Boinaidi
b690617f9b
Replace shimmer effect on list mode view
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-04 14:58:39 +02:00
Joris Bodin
4accfe4efa
Improve margin and lower case button
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-04 11:50:02 +02:00
Kilian Périsset
d12d20fc1d
Applied a listener on account menu button
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-05-04 06:11:15 +02:00
Abdourahamane Boinaidi
6fa36fa4b7
fix some warnings for lint
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-01 17:29:29 +02:00
Joris Bodin
207846ebea
Reduce spotbugs
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-01 15:42:49 +02:00
Joris Bodin
0aae89ddb5
Add new sort and gridview switch button. Remove duplication
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-05-01 15:42:48 +02:00
Abdourahamane Boinaidi
09f03c8f7c
Fix shimmer background width for grid mode
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-01 12:49:24 +02:00
Abdourahamane Boinaidi
679e513d52
Background shimmer size on grid image is the same as the downloaded pictures
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-05-01 09:21:36 +02:00
Andy Scherzinger
e8dc080fee
Merge pull request #5978 from nextcloud/multiSelect
fix multiselect
2020-04-30 19:35:05 +02:00
Abdourahamane Boinaidi
3417a75e2e
Merge branch 'master' into newDesign-loader-thumbnail 2020-04-30 19:28:03 +02:00
Abdourahamane Boinaidi
13b55f9e15
Infinite shimmer animation continue while scrolling until the thumbnail is loaded
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-30 19:21:08 +02:00
Andy Scherzinger
eb03d18ed7
Merge pull request #5979 from nextcloud/fix4540
fix #4540
2020-04-30 16:29:09 +02:00
tobiasKaminsky
3aa25cc7a5
fix typo
organized imports

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-30 11:41:38 +02:00
tobiasKaminsky
a38017893e
fix #4540
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-30 10:54:31 +02:00
tobiasKaminsky
1512b96482
fix multiselect #5970
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-30 10:01:43 +02:00
Chris Narkiewicz
1a2d85a9cb
Migrate remaining jobs to WorkManager
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-30 00:50:54 +01:00
Andy Scherzinger
45b0d3638b
Merge pull request #5973 from nextcloud/fix/white-back-button
Fixed invisible back-button
2020-04-29 20:58:25 +02:00
Kilian Périsset
d670218993
Fixed invisible back-button
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-04-29 19:14:25 +02:00
Tobias Kaminsky
f477a6873b
Merge pull request #5892 from nextcloud/ezaquarii/migrate-notifcation-job-to-work-manager-api
Migrate notifcation job to work manager api
2020-04-29 17:58:05 +02:00
tobiasKaminsky
56c7fb4949
do not use media scanner
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-29 16:52:40 +02:00
tobiasKaminsky
cf996c34af
add missing work manager function to create notification work
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-29 16:04:11 +02:00
Abdourahamane Boinaidi
61fc005c26
stop shimmer on network error and show a default picture
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-29 15:02:07 +02:00
Abdourahamane Boinaidi
aaabd6d6ff
Shimmer effect only when you download a thumbnail and you only display gray during the progression
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-29 14:35:28 +02:00
Kilian Périsset
43bbdfdbd9
Replaced some icons by Material ones + Removed a useless double-icon
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-04-29 11:49:15 +02:00
Abdourahamane Boinaidi
0edbd4832b
Merge remote-tracking branch 'origin/newDesign-loader-thumbnail' into newDesign-loader-thumbnail
# Conflicts:
#	src/main/res/layout/grid_sync_item.xml
2020-04-29 11:21:04 +02:00
Abdourahamane Boinaidi
265dad23c8
add facebook shimmer effect
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-29 10:48:05 +02:00
Abdourahamane Boinaidi
9dacc8bf4b
add facebook shimmer effect
Signed-off-by: Abdourahamane Boinaidi <abdourahamane.boinaidi@infomaniak.com>
2020-04-29 08:24:39 +02:00
Chris Narkiewicz
57ac50788e
Migrate NotificationJob to WorkManager API
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-28 21:31:08 +01:00
Tobias Kaminsky
f1743e96b3
Merge pull request #5933 from nextcloud/newAppBarColor
New design (UI) - appbar color
2020-04-28 22:11:37 +02:00
Andy Scherzinger
ef5df5376a
Merge pull request #5960 from nextcloud/unusedParameter
Unused function
2020-04-28 21:22:14 +02:00
tobiasKaminsky
ff4df03919
Merge remote-tracking branch 'remotes/origin/master' into newAppBarColor 2020-04-28 20:45:13 +02:00
Andy Scherzinger
ad0e77ef03
Merge pull request #5938 from nextcloud/feature/ui-revamp/fonts
New design (UI) - Changed some text styles
2020-04-28 18:18:07 +02:00
Joris Bodin
81a6ab38a9
Remove unused argument
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-28 17:34:02 +02:00
tobiasKaminsky
833720261b
Unused function
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-28 17:25:58 +02:00
Joris Bodin
121b60a17c
Improve methode name
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-28 16:57:07 +02:00
Tobias Kaminsky
808e5acfb0
Revert " Bugfix for #5929" 2020-04-28 16:28:25 +02:00
Joris Bodin
8008688fec
Merge branch 'master' into feature/ui-revamp/fonts
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>

# Conflicts:
#	src/main/res/values-night/colors.xml
2020-04-28 15:53:52 +02:00
Joris Bodin
653984e7e1
Fix dark mode "follow system"
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-28 15:36:04 +02:00
Joris Bodin
c785c0b22d
Merge branch 'master' into newAppBarColor
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>

# Conflicts:
#	src/main/java/com/owncloud/android/ui/activity/SettingsActivity.java
#	src/main/java/com/owncloud/android/ui/activity/ToolbarActivity.java
#	src/main/java/com/owncloud/android/utils/ThemeUtils.java
#	src/main/res/values-night/colors.xml
2020-04-28 15:33:22 +02:00
Tobias Kaminsky
5db713f02a
Merge pull request #5879 from nextcloud/ezaquarii/migrate-files-sync-job-to-work-manager-api
Migrate files sync related jobs to WorkManager API
2020-04-28 13:15:06 +02:00
Daniel Bailey
f97dc2d101
Tinted checkboxes in ConflictsResolveDialog
Activity icons have a 'night mode' background circle.
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-04-28 12:18:16 +02:00
Andy Scherzinger
3d033ff9b9
set secondary action button in notifications to grey
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-28 12:18:15 +02:00
Andy Scherzinger
27e6c7b205
proper toolbar theming ignoring dark/light theme for toolbar colors
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-28 12:18:14 +02:00
Andy Scherzinger
76a093e63f
properly theme SwipeRefreshLayout
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-28 12:18:12 +02:00
Andy Scherzinger
841cedd307
don't tint drawer menu toggle
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-28 12:18:08 +02:00
Daniel Bailey
4b464e1f54
Dark Mode Improvements (2)
* Fix list divider in upload file dialog
* The drawer account chooser toggle reacts to dark server themes
* ic_people in the file list changes depending on device dark mode

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-04-28 12:18:05 +02:00
Andy Scherzinger
32f9a64225
Merge pull request #5951 from nextcloud/5929-theme-change
Bugfix for #5929
2020-04-28 12:09:36 +02:00
Daniel Bailey
829e17fd06
Fixes bug whereby a user initiated change to dark mode isn't applied for "follow system".
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-04-28 10:10:04 +01:00
Joris Bodin
59226deecb
Improve variable name
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-27 10:24:29 +02:00
Joris Bodin
fc804bafce
Change ActionMode color
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-27 10:22:59 +02:00
CHOUIB chawki
a19b145a36 Correction Whitespace and remove superficial comments
Signed-off-by: CHOUIB chawki <chouibc@gmail.com>
2020-04-26 14:53:03 +02:00
CHOUIB chawki
4022cda329 add missing back button in ManageAccountsActivity & UserInfoActivity
Signed-off-by: CHOUIB chawki <chouibc@gmail.com>
2020-04-26 02:16:19 +02:00
Kilian Périsset
4b71608c2a
Removed edited icons, merged changes in a new branch
This reverts commit 31df74ed17.

Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-04-24 18:09:26 +02:00
Kilian Périsset
d5b9b3e55d
Replaced some icons by Material ones to (removed useless icons)
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-04-24 18:08:44 +02:00
Joris Bodin
9a63600521
Set color of hamburger icon
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-24 17:38:36 +02:00
Kilian Périsset
31df74ed17
Replaced some icons by Material ones to (removed useless icons)
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-04-24 17:16:28 +02:00
Kilian Périsset
3f4e6247c8
Changed Drawer and global texts colors
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-04-24 16:59:31 +02:00
Joris Bodin
5581ef7460
Reformat ThemeUtils
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-24 15:53:15 +02:00
Joris Bodin
1ffbb63fef
Black Status bar in light theme <23 api
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-24 15:52:06 +02:00
Joris Bodin
0793808a06
Refactor and fix bug
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-24 15:37:26 +02:00
Joris Bodin
2c3ebac7e4
Change font color for darkmode and remove unused code
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-24 15:13:04 +02:00
Joris Bodin
515e551fda
Merge branch 'master' into newAppBar 2020-04-24 14:45:37 +02:00
Joris Bodin
6d34e6c1f8
Refactor
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-24 14:45:14 +02:00
Joris Bodin
1ec71927df
New color, white for light theme and grey for dark theme. New progressbar
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-23 20:30:27 +02:00
Kilian Périsset
9c6105e94c
Fixed bug relative to inflating (due to < API 21)
This reverts commit a92725f8a7.

Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-04-23 18:14:38 +02:00
Chris Narkiewicz
d0a6fdc2da
Start files sync job when enabling auto upload
This is #5885 solution ported to BackgroundJobManager API.

Fixes #5882
Fixes #5898

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-23 10:45:02 +01:00
Chris Narkiewicz
77c4a3e6a5
Migrate file sync related jobs to WorkManager API
* FilesSyncJob.java converted to FilesSyncWork.kt
* FilesSyncJob removed from code
* Extended ETM screen to allow scheduling immediate
  TestJob (for development experimentation)
* OfflineSyncJob.java conveted to OfflineSyncWork.kt
* OfflineSyncJob removed from code
* Fixed re-scheduling of content observer work
* MediaFoldersDetectionJob.java converted to
  MediaFoldersDetectionWork.kt
* MediaFolderDetectionJob removed from code

Fixes #5881

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-23 10:45:01 +01:00
Tobias Kaminsky
5da1b7f8a9
Merge pull request #5874 from nextcloud/bounycastle
Switch to bouncycastle
2020-04-23 08:38:48 +02:00
tobiasKaminsky
31fe35906e
Switch to bouncycastle
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-22 20:29:10 +02:00
Joris Bodin
4491f9a40d
Remove unused class
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-04-22 17:14:45 +02:00
Kilian Périsset
a92725f8a7
Replaced colors by native Android ones
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-04-22 16:08:56 +02:00
Tobias Kaminsky
2dc5fcaef0
Merge pull request #5887 from nextcloud/transfer
close SSO streams
2020-04-22 14:05:36 +02:00
Kilian Périsset
9fc40c61f0
Formated the code (applied DRY principle)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-21 09:10:12 +02:00
Kilian Périsset
5942e4e661
Resolved the crash when account is not new (Auth)
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-21 09:03:57 +02:00
David Luhmer
d4bc9b3cf2
refactorings
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]

Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2020-04-20 15:00:31 +02:00
tobiasKaminsky
3a9d9e8c23
close SSO streams
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-20 15:00:26 +02:00
Andy Scherzinger
aa9e80f0a7
Merge pull request #5876 from nextcloud/releaseConnections
Release connections after usage
2020-04-16 18:15:25 +02:00
Tobias Kaminsky
47d5552af8
Merge pull request #5741 from nextcloud/fix-#5736master
Readd enableAccountHandling for show slider
2020-04-16 12:48:10 +02:00
Tobias Kaminsky
c42d12cc6f
Merge pull request #5848 from goforbg/master
[FIX: #5752] Upload files: too much whitespace
2020-04-16 12:00:32 +02:00
tobiasKaminsky
db3bd029ca
code formatting
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-15 19:12:16 +02:00
Joachim Meyer
32da47d6a3
Make the name collision policy for auto uploads selectable, fixes #5599.
Signed-off-by: Joachim Meyer <joachim@joameyer.de>
2020-04-15 19:12:06 +02:00
tobiasKaminsky
4b30ed5993
Release connections after usage
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-15 17:44:17 +02:00
tobiasKaminsky
352dbd575c
fix https://github.com/nextcloud/android/issues/5457
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-15 15:05:58 +02:00
Tobias Kaminsky
0a2e59d63e
Merge pull request #5839 from nextcloud/showAllFiles
show all files when clicking on show files
2020-04-14 14:52:29 +02:00
Chris Narkiewicz
16bb8d3dfc
Don't put User model into ConflictsResolveActivity account extra
User model has been put into Intent instead of Account,
causing a crash. Convert User into Account before setting
extras parameters.

Fixes #5849

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-12 13:26:08 +01:00
techydevil
b4db8d8f95 [FIX: #5752] Upload files: too much whitespace 2020-04-11 16:20:37 +05:30
Tobias Kaminsky
517437eba9
Merge pull request #5761 from nextcloud/ezaquarii/migrate-file-downloader-service-to-user-model
Migrate FileDownloader server to User model
2020-04-09 15:08:26 +02:00
Tobias Kaminsky
1013b6b977
Merge pull request #5707 from nextcloud/fixOOMduringImages
Fix OOM during image browsing
2020-04-09 13:27:09 +02:00
tobiasKaminsky
45315f1486
Fix OOM during image browsing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-09 10:16:58 +02:00
Andy Scherzinger
d251fbb556
Merge pull request #5838 from nextcloud/tintSSO
Do not tint dialog
2020-04-09 09:13:48 +02:00
tobiasKaminsky
d10403bd3c
show all files when clicking on show files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-09 09:06:29 +02:00
tobiasKaminsky
886e28bfc2
Do not tint dialog
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-09 08:07:41 +02:00
Andy Scherzinger
a445602f2d
Merge pull request #5760 from nextcloud/ezaquarii/migrate-choose-rich-documents-template-dialot-to-new-user-model
Migrate ChooseRichDocumentsTemplateDialogFragment to User
2020-04-08 20:52:20 +02:00
Chris Narkiewicz
a07cc68573
Migrate FileDownloader server to User model
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-08 15:03:49 +01:00
Chris Narkiewicz
29cffa4a24
Log exception in ContactsImportWork catch block
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-04-08 14:34:57 +01:00
Tobias Kaminsky
1d8e5a2648
Merge pull request #5757 from nextcloud/ezaquarii/migrate-edit-share-fragment-to-user
Migrate EditShareFragment to new User model
2020-04-08 13:47:35 +02:00
Tobias Kaminsky
43c6daadcc
Merge pull request #5756 from nextcloud/ezaquarii/migrate-contacts-import-job-to-worker-api
Migrate contacts import job to new API
2020-04-08 13:47:20 +02:00
Andy Scherzinger
ca2420e1d6
codacy: Avoid unused local variables
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-08 12:39:37 +02:00
Andy Scherzinger
e9bdd81029
codacy: Avoid unused method parameters
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-08 12:39:36 +02:00
Andy Scherzinger
6fc6b6e4a3
reformat code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-08 12:39:35 +02:00
Andy Scherzinger
86ca6d5cf8
codacy: Unnecessary use of fully qualified name
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-08 12:39:34 +02:00
Andy Scherzinger
92ae5122b0
codacy: Avoid unused private fields 2020-04-08 12:39:33 +02:00
Andy Scherzinger
4795aa1571
codacy: Avoid unused imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-04-08 12:39:22 +02:00
Andy Scherzinger
2c9b0758e4
Merge pull request #5748 from nextcloud/ezaquarii/remove-deprecated-contacts-backup-job
Remove deprecated contacts backup job
2020-04-08 12:37:45 +02:00
tobiasKaminsky
3b13c7156a
check if at least one account is set up, before receiving files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-08 08:13:01 +02:00
Tobias Kaminsky
f8a5643eca
Merge pull request #5754 from nextcloud/empty
Show loading instead of empty content
2020-04-08 07:49:18 +02:00
tobiasKaminsky
6f5b671d8c
Directly show loading spinner
show "no files" only if folder is known to be empty

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-08 06:56:18 +02:00
tobiasKaminsky
949a5c3a4f
Fix crash while showing ConflictDialog
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-08 06:38:22 +02:00
tobiasKaminsky
c43b234ae4
Rich workspaces: can be null (if disabled), or string (empty or with content)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-07 16:57:40 +02:00
tobiasKaminsky
54134c43b2
Search: only parse search if search event is there
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-07 13:33:26 +02:00
tobiasKaminsky
4ea0892630
NC18+: add possibility to set expiration date on user/group shares
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-04-06 15:34:09 +02:00
Andy Scherzinger
61c8cd76dd
Merge pull request #5772 from nextcloud/wrongTextOpening
First use preferred mimetypes, then editor for optional mimetypes
2020-03-30 22:35:43 +02:00
Andy Scherzinger
c6be91a096
Merge pull request #5775 from nextcloud/fallbackIfNoLocal
if no offline editor is available, use OO/Cool/Text
2020-03-30 20:06:30 +02:00
tobiasKaminsky
d3f3b98be0
if no offline editor is available, use OO/Cool/Text
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-30 16:12:16 +02:00
tobiasKaminsky
12a6cdfcea
edit downloaded md/text file is working now
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-30 14:13:09 +02:00
tobiasKaminsky
456ae330dd
First use preferred mimetypes, then editor for optional mimetypes
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-30 13:15:37 +02:00
Chris Narkiewicz
5204ba7541
Migrate contacts import job to new API
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-03-28 22:07:03 +00:00
Chris Narkiewicz
6f34899327
Migrate ChooseRichDocumentsTemplateDialogFragment to User
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-03-28 12:51:12 +00:00
Chris Narkiewicz
ba1c2f517c
Migrate EditShareFragment to new User model
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-03-28 00:48:11 +00:00
Chris Narkiewicz
1e17af8a75
Migrate UserListAdapter to new User model
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-03-26 19:45:58 +00:00
Chris Narkiewicz
1a26399051
Remove deprecated contacts backup job
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-03-26 19:06:47 +00:00
Joris Bodin
4cd105d5ec
Readd enableAccountHandling for show slider
Signed-off-by: Joris Bodin <joris.bodin@infomaniak.com>
2020-03-26 09:25:02 +01:00
Tobias Kaminsky
b04c09e82b
Merge pull request #5695 from nextcloud/actImage
fix activity image loading
2020-03-23 06:48:11 +01:00
Daniel Bailey
19a5bc2f60
Fix for sso Grant/Deny dialog text color in dark mode.
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-03-22 11:50:06 +00:00
tobiasKaminsky
c0c631fe64
fix activity image loading
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-19 20:33:48 +01:00
tobiasKaminsky
7eb0f66079
Add circle support for searching / displaying
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-19 19:12:23 +01:00
Daniel Bailey
7d2ad3afda
Fixes "Report a bug" button in community tab
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-03-19 15:14:33 +00:00
tobiasKaminsky
1f805e5a57 Tint buttons in upload
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-19 14:48:29 +00:00
Daniel Bailey
28d35f26af Dark Mode Improvements
Removes conflicts between high contrast server themes and the dark mode.
Made primaryAccentColor() aware of the device theme so that it can
adjust the lightness accordingly.
Switch preference's track and thumb are more visible in device dark
mode.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2020-03-19 14:48:04 +00:00
tobiasKaminsky
4bf40b5860
fix wrong assumption how conflict dialog show work
updated tests

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-17 09:49:59 +01:00
Andy Scherzinger
682ed36006
Merge pull request #5629 from nextcloud/shareSize
adjust share size
2020-03-12 18:04:37 +01:00
Tobias Kaminsky
e1b0b521f9
Merge pull request #5482 from nextcloud/ezaquarii/migrate-contacts-backup-job-to-worker-api
Migrate contacts backup job to new background job manager API
2020-03-12 14:34:16 +01:00
Andy Scherzinger
6df2d58de5
Merge pull request #5634 from nextcloud/previewGradient
Add gradient to preview images in toolbar
2020-03-12 08:14:58 +01:00
Tobias Kaminsky
7ab1377744
Merge pull request #5623 from nextcloud/backButton
tint back button correctly
2020-03-12 07:38:26 +01:00
Tobias Kaminsky
c77f212fab
Merge pull request #5626 from nextcloud/darkRename
Correct font color in dark mode
2020-03-12 07:38:01 +01:00
Tobias Kaminsky
7b5e3607aa
Merge pull request #5632 from nextcloud/sortCrash
fix crash when sorting in folder picker
2020-03-12 07:37:30 +01:00
Chris Narkiewicz
500fdb919b
Migrate contacts backup job to new background job manager API
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-03-11 23:16:56 +00:00
Andy Scherzinger
2ede91bceb
Merge pull request #5625 from nextcloud/disabledFAB
Fix border of disabled FAB
2020-03-11 20:09:09 +01:00
Andy Scherzinger
ed8ef97ec3
add gradient to preview images in toolbar
Resolves #2883

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-03-11 18:48:38 +01:00
Andy Scherzinger
287ff2532e
Merge pull request #5612 from nextcloud/space
Fix exception on computing available space
2020-03-11 16:26:14 +01:00
tobiasKaminsky
221d3cc327
fix crash when sorting in folder picker
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-11 15:55:00 +01:00
tobiasKaminsky
8cb003b78e
adjust share size
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-11 14:53:37 +01:00
Andy Scherzinger
f7ffbe689f
Merge pull request #5608 from nextcloud/accountSwitchingTest
Fix account switching
2020-03-11 14:13:56 +01:00
tobiasKaminsky
52ba845e86
Correct font color in dark mode
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-11 10:43:43 +01:00
tobiasKaminsky
1b5d37b50c
Fix border of disabled FAB
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-11 10:06:21 +01:00
tobiasKaminsky
58ae52d108
tint back button correctly
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-11 08:39:58 +01:00
Andy Scherzinger
4920991618
Merge pull request #5617 from nextcloud/allFiles
All files shows root again
2020-03-11 00:00:59 +01:00
Andy Scherzinger
e891411a56
Merge pull request #5614 from nextcloud/postEncoding
Use UTF8 PostMethod everywhere
2020-03-10 22:52:20 +01:00
tobiasKaminsky
25a67fe4cb
All files shows root again
annotated functions with correct NonNull

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-03-10 11:56:34 +01:00