Commit graph

3428 commits

Author SHA1 Message Date
Chris Koying Browet
1b7bd72c49
ADD: [instantupload] setting to also upload existing files
Signed-off-by: Chris Koying Browet <cbro@semperpax.com>
2020-02-18 07:37:54 +01:00
Tobias Kaminsky
c243453168
Merge pull request #5465 from nextcloud/fix/create-folder-crash-autosync
Fixed crash during folder creation (autosync)
2020-02-18 07:28:12 +01:00
tobiasKaminsky
a93313ca19
added tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-17 15:05:14 +01:00
Kilian Périsset
467104c455
Replaced OCFile by File in getFolder() method 2020-02-17 14:45:14 +01:00
Kilian Périsset
c59f9c0b91
Formated the code + added header 2020-02-17 14:45:07 +01:00
Kilian Périsset
389090d3e8
Implemented tests for FolderPickerActivity 2020-02-17 14:45:07 +01:00
Kilian Périsset
511a16612d
Fixed bug relative to null folder in FolderPicker 2020-02-17 14:45:07 +01:00
Tobias Kaminsky
4616b0d40b
Merge pull request #5447 from nextcloud/ezaquarii/migrate-jobs-to-new-user-model
Migrate jobs to new user model
2020-02-17 10:40:04 +01:00
Chris Narkiewicz
0977c37916
Fix crash during text file creation
Fixes #5330

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-17 09:30:37 +01:00
Andy Scherzinger
490b292ad9
Merge pull request #5300 from nextcloud/sharedSearchAgain
Re-enable shared search and add ui test for list shares
2020-02-14 13:52:18 +01:00
tobiasKaminsky
7b4e1b82e3
change cancelContactBackupJobForAccount to user new User class
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-14 11:08:38 +01:00
tobiasKaminsky
87df2c8e1c
Show "add folder info" only if text app is available
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-14 10:31:23 +01:00
Chris Narkiewicz
0afc2645c4
Migrated jobs to new user model
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-02-14 06:22:20 +00:00
tobiasKaminsky
0569b0de65
Screenshot tests ManageAccountsActivity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-12 09:34:59 +01:00
Chris Narkiewicz
53024d1cd1
Migrate account list to new user model
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-02-12 07:31:38 +00:00
Tobias Kaminsky
f520f2f9a2
Merge pull request #5436 from nextcloud/ezaquarii/make-user-model-parcelable
Make user model parcelable
2020-02-11 09:26:26 +01:00
tobiasKaminsky
26d7b9c692
Fix after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-11 08:58:31 +01:00
tobiasKaminsky
c2750aabda
Add ui test for list shares
add test user to drone
switch back to master
use "waitForIdleSync" instead of sleep

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-11 08:57:09 +01:00
Chris Narkiewicz
4ce54bc21e
Make user model parcelable
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-02-10 15:49:12 +00:00
Tobias Kaminsky
5905b1c5a5
Merge pull request #5432 from nextcloud/ezaquarii/migrate-drawer-menu-utils-to-new-user-model
Migrate drawer menu utilities to new user model
2020-02-10 12:41:25 +01:00
Tobias Kaminsky
4be18adc2d
Merge pull request #5064 from nextcloud/ezaquarii/extract-account-logic-from-base-activity-into-mixin
Extract account logic from BaseActivity into a mixin
2020-02-10 12:33:04 +01:00
tobiasKaminsky
ebcbf0afac
add HEAD Method support for SSO
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-10 11:56:45 +01:00
tobiasKaminsky
6048243f41
Fix crash: Caused by: java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.Void[]
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-10 08:41:51 +01:00
Chris Narkiewicz
b5fb9c1374
Migrate drawer menu utilities to new user model
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-02-09 10:11:08 +00:00
Chris Narkiewicz
26f2d52a5a
Extract account logic from BaseActivity into a mixin
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-02-05 22:08:58 +00:00
Andy Scherzinger
c7669fe9db
Merge pull request #5393 from nextcloud/removeUnsetType
Remove UnsetType as we do not have bottom bar anymore…
2020-02-05 15:17:44 +01:00
Tobias Kaminsky
c5be0ad7e4
Merge pull request #5399 from nextcloud/extractArbitraryDataSet
extract ArbitraryDataSet class
2020-02-05 12:30:37 +01:00
Tobias Kaminsky
0936945b3c
Merge pull request #5328 from nextcloud/fix/not-enough-space-dialog
Added "not enough space dialog"
2020-02-05 12:14:40 +01:00
tobiasKaminsky
778fec9e21
extract openDrawer test into AbstractIT
rebased

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-05 11:12:48 +01:00
tobiasKaminsky
e118f9a516
Remove UnsetType as we do not have bottom bar anymore…
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-05 11:09:14 +01:00
tobiasKaminsky
c7ea6458bf
extract ArbitraryDataSet class
cleanup

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-05 10:58:05 +01:00
Tobias Kaminsky
7c84a9f929
Merge pull request #5296 from nextcloud/fix/defective-search
Fixed defective search
2020-02-05 10:56:19 +01:00
Kilian Périsset
f9a47e6b3b
Formated the code 2020-02-05 10:50:44 +01:00
tobiasKaminsky
1bf079d2cd
NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION: Method needlessly boxes a boolean constant
This method assigns a Boxed boolean constant to a primitive boolean variable, or assigns a primitive boolean constant to a Boxed boolean variable. Use the correct constant for the variable desired.

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-05 10:21:56 +01:00
Kilian Périsset
4e16e0431a
Merge branch 'fix/defective-search' of github.com:nextcloud/android into fix/defective-search 2020-02-04 18:23:49 +01:00
Kilian Périsset
8184dbf1ff
Change variables accessibility 2020-02-04 18:20:31 +01:00
tobiasKaminsky
88c4d6d2ab
Merge remote-tracking branch 'origin/fix/not-enough-space-dialog' into fix/not-enough-space-dialog 2020-02-04 11:24:19 +01:00
tobiasKaminsky
b74c9f2517
use correct storage location
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-04 11:24:10 +01:00
Tobias Kaminsky
f7220f4618
Merge pull request #5246 from siebica/master
Fix #2753 "Unresponsive App" error popup when syncing
2020-02-04 10:01:17 +01:00
tobiasKaminsky
f794f230b5
formatting
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-04 09:36:40 +01:00
Tobias Kaminsky
64c253be66
Merge pull request #5089 from cheecodes/master
Add check to make sure cursor is initialized
2020-02-04 09:12:33 +01:00
Tobias Kaminsky
0c272ad1d7
Merge pull request #5231 from nextcloud/roundedCorners
images: slightly rounded corners
2020-02-03 13:47:15 +01:00
tobiasKaminsky
f8ff0e106a
Auth activity with primary white color
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-03 06:08:05 +01:00
Kilian Périsset
badc7c92da
Formated the code of ExtendedListFragment.java
(In order to avoid issues)
2020-01-31 14:59:54 +01:00
Kilian Périsset
00e3ce6217
Removed translations (unneeded for this fix branch)
This reverts commit 938e4a6f44.

Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-01-31 14:54:11 +01:00
tobiasKaminsky
763ee606d1
use radius, and do not only test for it
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-30 21:39:54 +01:00
tobiasKaminsky
82dd14f6bc
extract doubled code
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-30 20:31:45 +01:00
Kilian Périsset
82baea3062
Normalized the code 2020-01-30 16:55:37 +01:00
Tobias Kaminsky
8dc162960b
Merge pull request #5209 from nextcloud/ooDownloadFile
OnlyOffice: make download possible
2020-01-30 15:30:04 +01:00
Kilian Périsset
4bed2adc2f
Merge branch 'fix/not-enough-space-dialog' of github.com:nextcloud/android into fix/not-enough-space-dialog 2020-01-29 10:39:52 +01:00
Kilian Périsset
52edda73f6
Formated the code and removed Pair 2020-01-29 10:39:45 +01:00
tobiasKaminsky
9d5e3da126
Merge remote-tracking branch 'origin/fix/not-enough-space-dialog' into fix/not-enough-space-dialog
# Conflicts:
#	src/main/java/com/owncloud/android/ui/dialog/SyncFileNotEnoughSpaceDialogFragment.java
2020-01-29 08:35:20 +01:00
tobiasKaminsky
8737d9b835
add ui test
- some small code changes
- removed unneeded code

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-28 16:02:19 +01:00
Kilian Périsset
e3c19410c8
Removed redundant code for Codacy grade 2020-01-28 14:05:50 +01:00
Kilian Périsset
1c44f2003d
Removed codacy issues 2020-01-28 13:59:24 +01:00
Kilian Périsset
03a307825d
Finished "Not Enough Space" dialog + Optimized UX 2020-01-27 15:29:46 +01:00
Tobias Kaminsky
b53c96cba0
Merge pull request #5218 from nextcloud/fix_multitask
Fix #5213 app is excluded from recent/current apps
2020-01-27 08:39:05 +01:00
Kilian Périsset
9fac55da6b
Added args for SyncFileNotEnoughSpaceFragment (unfinished)
Caption support is missing
2020-01-24 15:08:03 +01:00
Kilian Périsset
8e09c99f1f
Added dialog when sync is too heavy for device (unfinished) 2020-01-24 14:19:40 +01:00
Andy Scherzinger
e4f099237c
Merge pull request #5203 from nextcloud/directEditingPre5
prevent direct editing on < Lollipop
2020-01-23 18:54:06 +01:00
Kilian Périsset
579140b7c4
Cleaned a bit the code + Fixed cross display bug 2020-01-23 15:54:09 +01:00
Kilian Périsset
938e4a6f44
Added translations to prepare pre-search + Fixed fab bug 2020-01-22 18:58:43 +01:00
tobiasKaminsky
4fb140d275
round corners only in list view
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-22 13:45:31 +01:00
Andy Scherzinger
ce2971386d
Merge pull request #5270 from nextcloud/addSeparator
OC bottom list improvement
2020-01-21 22:46:26 +01:00
Kilian Périsset
10b661744a
Fixed onBackPressed bug (inactive button) + Refactored and optimized the code 2020-01-21 18:09:50 +01:00
tobiasKaminsky
289a83635d
OC bottom list improvement
- same padding
- add "create new" for creators

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-21 13:01:28 +01:00
tobiasKaminsky
491de101ac
Fix duplicated rich_workspace in dev version
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-21 09:17:34 +01:00
Sebastian-Ion TINCU
531c0187a8 Fix #2753 "Unresponsive App" error popup when syncing
Always start SyncFolderOperations as background services to prevent
ANRs when they take a little more time to complete.

Signed-off-by: Sebastian-Ion TINCU <5282265+siebica@users.noreply.github.com>
2020-01-20 12:56:06 +01:00
Kilian Périsset
2f02f6bdf4
Added locking and unlocking of Drawer in Videos Activities/Fragments 2020-01-20 12:30:02 +01:00
Andy Scherzinger
465b209ec9
Merge pull request #5216 from nextcloud/fix/lock-drawer-in-medias-activities
Locked and hid the drawer in Pictures Preview
2020-01-20 11:02:28 +01:00
tobiasKaminsky
1c483e140d
move create rich workspace into bottom sheet
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-18 18:08:54 +01:00
tobiasKaminsky
ef0b0fe9ee
images: slightly rounded corners
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-18 16:22:54 +01:00
Joris Bodin
97eda02db6
Fix #5213 2020-01-16 18:18:42 +01:00
Kilian Périsset
113575b7bf
Locked and hid the drawer in Pictures Preview 2020-01-16 15:27:09 +01:00
Kilian Périsset
dc3c030e94
Removed search icon in toolbar during media/video preview 2020-01-16 11:25:14 +01:00
tobiasKaminsky
af24dafd7b
OnlyOffice: make download possible
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-15 16:25:23 +01:00
tobiasKaminsky
4eec8905ae
prevent direct editing on < NOUGAT
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-15 10:05:17 +01:00
Tobias Kaminsky
6f86e497fc
Merge pull request #5193 from nextcloud/uploadInReadonlyFolder
Upload button: disable/grey when folder is read-only
2020-01-14 20:01:54 +01:00
Tobias Kaminsky
2011f5211b
Merge pull request #5157 from nextcloud/ezaquarii/fix-npe-in-get-user-in-user-account-manager
Fix NPE in UserAccountManagerImpl.getUser(CharSequence)
2020-01-14 17:21:12 +01:00
Tobias Kaminsky
4cb800ea13
Merge pull request #5187 from nextcloud/fab
FAB: show disabled correctly again
2020-01-14 17:14:53 +01:00
tobiasKaminsky
447cac9af9
Upload button: disable/grey when folder is read-only
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-14 16:29:09 +01:00
tobiasKaminsky
7ba3bf0cf9
FAB: show disabled correctly again
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-14 11:44:29 +01:00
Tobias Kaminsky
f68e9e06d7
Merge pull request #5181 from nextcloud/vCard30
Export vCard to version 3.0
2020-01-14 10:47:10 +01:00
Tobias Kaminsky
a8f41615d6
Merge pull request #5172 from nextcloud/preventNPE
prevent NPE
2020-01-14 10:00:51 +01:00
Andy Scherzinger
09183fec15
export vCard to 3.0 version
Resolves #4727

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-01-13 22:13:30 +01:00
Andy Scherzinger
f8c9af44a0
simplify if statement
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-01-13 20:34:53 +01:00
tobiasKaminsky
33b0861955
prevent NPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-13 20:34:52 +01:00
tobiasKaminsky
f01cdd65ae
UI enhancements to rich workspaces
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-13 19:06:49 +01:00
Chris Narkiewicz
fe404f0e25
Fix NPE in UserAccountManagerImpl.getUser(CharSequence)
Optional.of() called on nullable value causes NPE.
We should use Optional.ofNullable() instead, as the
argument can be null by design.

Fixes #5155

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2020-01-11 21:31:04 +00:00
Tobias Kaminsky
422a61d8de
Merge pull request #5136 from nextcloud/systemDefault
make "follow system" default for dark theme
2020-01-10 20:16:11 +01:00
Tobias Kaminsky
6e96e99dea
Merge pull request #5130 from nextcloud/createRichWorkspace
rich workspaces
2020-01-10 19:45:02 +01:00
tobiasKaminsky
c6d89edf85
only allow rich workspace creation on >= Lollipop
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-10 09:59:15 +01:00
tobiasKaminsky
87dae2ef04
show first run again
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-10 09:47:15 +01:00
Andy Scherzinger
8a343be9c6
Merge pull request #5133 from nextcloud/notificationTask
task needs to be a new object for every button
2020-01-09 18:22:42 +01:00
tobiasKaminsky
4b2002a9a3
better error description
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-09 16:10:58 +01:00
tobiasKaminsky
15ac231818
make "follow system" default for dark theme
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-09 15:53:03 +01:00
Andy Scherzinger
6cd1b751ee
Merge pull request #5121 from nextcloud/newIcon
new background icon
2020-01-09 15:44:15 +01:00
Andy Scherzinger
9fa4060360
Merge pull request #5128 from nextcloud/closeEditor
editor: click on snackbar closes webview for real
2020-01-09 15:20:51 +01:00
tobiasKaminsky
0e5a772e63
rich workspaces
- show button to create folder info
- bug fixes

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-09 15:17:19 +01:00
tobiasKaminsky
4b073e9283
task needs to be a new object for every button
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-09 14:54:00 +01:00