Commit graph

3591 commits

Author SHA1 Message Date
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