Commit graph

5384 commits

Author SHA1 Message Date
Valdnet
812e8500f7
Update strings.xml file
Delete unnecessary dot.
2020-02-24 19:11:25 +01:00
Valdnet
b8e63e39e9
Update strings.xml file
Fix full sentences.
2020-02-24 15:44:57 +01:00
Nextcloud bot
6ab91c959e
[tx-robot] updated from transifex 2020-02-24 03:33:24 +00:00
Nextcloud bot
7b049a99d0
[tx-robot] updated from transifex 2020-02-23 03:33:40 +00:00
Nextcloud bot
bdaaf63fc3
[tx-robot] updated from transifex 2020-02-22 03:32:58 +00:00
Tobias Kaminsky
e1b8d525e5
Merge pull request #5445 from nextcloud/headMethod
add HEAD Method support for SSO
2020-02-21 08:37:16 +01:00
Nextcloud bot
92f5e07b9f
[tx-robot] updated from transifex 2020-02-21 03:33:33 +00:00
Andy Scherzinger
3ec795f0bf
properly colorize text preview gradient based on theme (day/night)
improve preview textview size/gradient position

Fixes #5232

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-02-20 18:30:59 +01:00
Tobias Kaminsky
be238a3f96
Merge pull request #5471 from nextcloud/richWorkspace18only
Show "add folder info" only if text app is available
2020-02-20 07:49:47 +01:00
Nextcloud bot
65548c4b4b
[tx-robot] updated from transifex 2020-02-20 03:32:12 +00:00
Nextcloud bot
0f1da5238b
[tx-robot] updated from transifex 2020-02-19 03:29:10 +00:00
Alice Gaudon
49f3a67251
ConflictsResolveActivity: code style and readability improvements
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-18 07:39:13 +01:00
Alice Gaudon
6540e3ef71
Upload list conflicts: replace trash icon with menu and add resolve action
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:38:35 +01:00
Alice Gaudon
a4ff1f11d7
Customize upload sync conflict notification strings
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:38:35 +01:00
Alice Gaudon
e77ffa00a8
Fix synced folder layout form control widgets alignment
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:38:35 +01:00
Alice Gaudon
91ef307e7a
Fix database migration of field forceOverwrite to NameCollisionPolicy
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:38:35 +01:00
Alice Gaudon
52d089b18a
FileUploader: fix codacy issues and SpotBugs
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:38:35 +01:00
Alice Gaudon
ec27f840a6
FileUploader: code cleanup
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:38:35 +01:00
Alice Gaudon
7713a28a4f
FileUploader: require explicit NameCollisionPolicy and change default used value
- Changes NameConflictPolicy for manual uploads from default RENAME to ASK_USER
- Removal of helper class FileUploader.UploadRequester (methods become static and go to FileUploader)

Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:38:35 +01:00
Alice Gaudon
6783e8ab4c
Make file uploads ask the user what to do when the file already exists on remote
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:38:16 +01:00
Alice Gaudon
213002f44e
Make newly created synced folders auto upload existing files by default
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2020-02-18 07:37:54 +01:00
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
Nextcloud bot
5c74f2b1be
[tx-robot] updated from transifex 2020-02-16 03:28:46 +00:00
Nextcloud bot
27fabe745b
[tx-robot] updated from transifex 2020-02-15 03:29:51 +00: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
Nextcloud bot
68f06ea158
[tx-robot] updated from transifex 2020-02-14 03:28:53 +00:00
tobiasKaminsky
eefeda930c
Add square google icon
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-13 15:32:24 +01:00
Nextcloud bot
7156aaff2a
[tx-robot] updated from transifex 2020-02-13 03:33:37 +00:00
Tobias Kaminsky
a063f32d25
Merge pull request #5434 from nextcloud/ezaquarii/migrate-account-list-to-new-user-model
Migrate account list to new user model
2020-02-12 12:18:00 +01: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
Nextcloud bot
e716c99a9b
[tx-robot] updated from transifex 2020-02-12 03:28:27 +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
Nextcloud bot
87eb8e0d16
[tx-robot] updated from transifex 2020-02-11 03:31:50 +00: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
Nextcloud bot
0027df9d0c
[tx-robot] updated from transifex 2020-02-10 07:30:30 +00:00
tobiasKaminsky
b4db9d07af
do not break line on transifex
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-10 08:23:41 +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
Andy Scherzinger
c64e90e8cc
Merge pull request #5401 from nextcloud/needlesslyBoxing
NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION
2020-02-05 10:50:26 +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
rakekniven
e19b58178b
l10n: Grammar: url -> URL
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-02-05 10:05:33 +01:00
Nextcloud bot
a2e327bdcd
[tx-robot] updated from transifex 2020-02-05 03:30:41 +00: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
Nextcloud bot
ff400e16bf
[tx-robot] updated from transifex 2020-02-04 03:28:06 +00:00
Tobias Kaminsky
0c272ad1d7
Merge pull request #5231 from nextcloud/roundedCorners
images: slightly rounded corners
2020-02-03 13:47:15 +01:00
Tobias Kaminsky
6e202dd942
Merge pull request #5383 from nextcloud/whitePrimaryColor
Auth activity with primary white color
2020-02-03 08:02:34 +01:00
tobiasKaminsky
66b78e0eb7
changed to 8dp
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-03 06:58:39 +01:00
tobiasKaminsky
5ac25d545d
remove unneeded resource
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-02-03 06:47:40 +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
Nextcloud bot
aeee4beba7
[tx-robot] updated from transifex 2020-02-03 03:25:02 +00:00
Nextcloud bot
d60133bb86
[tx-robot] updated from transifex 2020-02-02 03:26:10 +00:00
Nextcloud bot
c3be968843
[tx-robot] updated from transifex 2020-02-01 03:26:45 +00: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
Andy Scherzinger
e617e57083
Merge pull request #5358 from nextcloud/transifexFix
No need of CDATA
2020-01-31 08:23:46 +01:00
Nextcloud bot
73697963c3
[tx-robot] updated from transifex 2020-01-31 07:01:08 +00:00
tobiasKaminsky
bd99ee9959
No need of CDATA
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-31 07:57:15 +01:00
tobiasKaminsky
d6275c4833
use 10dp
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-31 07:20:14 +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
54f30670dd
Removed translatable attribute from strings
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2020-01-28 13:28:54 +01:00
tobiasKaminsky
56076dfd96
small typo enhancements
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-28 11:26:41 +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
Nextcloud bot
fc68892919
[tx-robot] updated from transifex 2020-01-27 03:29:16 +00:00
Nextcloud bot
a5acbbfe06
[tx-robot] updated from transifex 2020-01-25 03:27:00 +00: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
5c146d4f08
Added translations for dialog 2020-01-24 14:37:15 +01:00
Kilian Périsset
8e09c99f1f
Added dialog when sync is too heavy for device (unfinished) 2020-01-24 14:19:40 +01:00
Nextcloud bot
3b49f56d15
[tx-robot] updated from transifex 2020-01-24 03:26:39 +00: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
Nextcloud bot
ce6ce06636
[tx-robot] updated from transifex 2020-01-23 03:31:17 +00: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
Nextcloud bot
f783eed9b5
[tx-robot] updated from transifex 2020-01-22 03:30:22 +00: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
Nextcloud bot
066a1a3424
[tx-robot] updated from transifex 2020-01-21 03:29:14 +00: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
Andy Scherzinger
b2fb207a1a
Merge pull request #5234 from nextcloud/moveAddFolderInfo
move create rich workspace into bottom sheet
2020-01-20 10:09:16 +01:00
Andy Scherzinger
521c89d830
Merge pull request #5229 from nextcloud/colorLauncher
Launcher: color statusbar / navigation bar in primary color
2020-01-20 09:56:46 +01:00
Nextcloud bot
d0413af7bd
[tx-robot] updated from transifex 2020-01-20 03:27:12 +00:00
Nextcloud bot
48a9d752b3
[tx-robot] updated from transifex 2020-01-19 03:28:29 +00: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
tobiasKaminsky
8d9148f5fa
Launcher: color statusbar / navigation bar in primary color
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-18 14:29:36 +01:00
Nextcloud bot
9e8f0fda7a
[tx-robot] updated from transifex 2020-01-18 03:31:28 +00:00
Andy Scherzinger
9bf2cbd26f
Merge pull request #5214 from nextcloud/fix/search-in-video-preview
Removed search icon in toolbar during media/video preview
2020-01-16 22:04:23 +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
Nextcloud bot
5d15aa4add
[tx-robot] updated from transifex 2020-01-16 03:31:11 +00: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
Nextcloud bot
3753a184b6
[tx-robot] updated from transifex 2020-01-15 03:27:33 +00: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
5ddc5a890f
Merge pull request #5189 from nextcloud/removeLines
Dark theme enhancements
2020-01-14 20:01:38 +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
8b7d39c289
dark background to #151515
minor design changes for dark theme

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-14 14:20:31 +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
Tobias Kaminsky
b2a1245c6d
Merge pull request #5175 from nextcloud/rwEnhancements
UI enhancements to rich workspaces
2020-01-14 09:59:38 +01:00
Nextcloud bot
e2c3613756
[tx-robot] updated from transifex 2020-01-14 03:28:22 +00: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
Nextcloud bot
b1f198ff65
[tx-robot] updated from transifex 2020-01-13 03:27:25 +00:00
Nextcloud bot
a4287380ac
[tx-robot] updated from transifex 2020-01-12 03:28:46 +00: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
Nextcloud bot
ec515d0aad
[tx-robot] updated from transifex 2020-01-11 03:28:17 +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
Tobias Kaminsky
b7a7772cf0
Merge pull request #5122 from nextcloud/firstRun
show first run again
2020-01-10 12:27:47 +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
tobiasKaminsky
4c10cf5d7f
launcher: correct folder position according to AS
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-10 08:53:47 +01:00
Nextcloud bot
51fdf94615
[tx-robot] updated from transifex 2020-01-10 03:29:56 +00: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
1977267826
fix FAB position
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-09 16:09:46 +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
Tobias Kaminsky
383d892b52
Merge pull request #5017 from grote/5015-dp-remove-npe
Retrieve parent folder before removing document
2020-01-09 14:49:29 +01:00
tobiasKaminsky
56e6ed5888
editor: click on snackbar closes webview for real
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-09 11:34:37 +01:00
Nextcloud bot
99eb991f1b
[tx-robot] updated from transifex 2020-01-09 04:19:51 +00:00
tobiasKaminsky
bbc2c8282b
new background icon
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-08 14:16:16 +01:00
tobiasKaminsky
9d2b80da1a
spinner: if primary color is white, use grey
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-08 10:21:30 +01:00
tobiasKaminsky
1ec8b067f0
- fix not clickable rich workspace area
- fix crash on first loading

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-08 08:42:29 +01:00
Tobias Kaminsky
9a47a4d30b
Merge pull request #5107 from nextcloud/whiteHeader
Fix white header with dark mode
2020-01-08 06:35:10 +01:00
Tobias Kaminsky
6cb0f10872
Merge pull request #4915 from nextcloud/createText
Create text
2020-01-08 06:24:12 +01:00
Nextcloud bot
3011097be8
[tx-robot] updated from transifex 2020-01-08 04:20:34 +00:00
tobiasKaminsky
9556a69204
Better handling of parsing enum
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-07 11:57:10 +01:00
tobiasKaminsky
57b0d425b6
Fix text in option menu within image preview
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-07 10:12:34 +01:00
tobiasKaminsky
9c92762937
Fix white header with dark mode
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-07 09:28:24 +01:00
tobiasKaminsky
74f8a723b8
fixes from CI
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-07 08:23:48 +01:00
tobiasKaminsky
59585d0f5b
Direct editing support
- abstract EditorWebView
- support direct editing endpoint
Create new files via direct editing

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-07 08:23:41 +01:00
Tobias Kaminsky
b0758e4b74
Merge pull request #5054 from nextcloud/ezaquarii/fix-user-avatars-in-drawer
Fix account switch buttons in drawer header
2020-01-07 08:15:53 +01:00
Andy Scherzinger
f690417d37
Merge pull request #5102 from nextcloud/removeNC12
remove support for NC12
2020-01-06 19:23:53 +01:00
tobiasKaminsky
051423cf21
remove support for NC12
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-06 15:48:12 +01:00
Tobias Kaminsky
d7d1c475ae
Merge pull request #5031 from nextcloud/ezaquarii/fix-npe-crash-when-storage-manager-is-not-set
Fix NPE crash on startup when storage manager is not set
2020-01-06 15:35:27 +01:00
Tobias Kaminsky
b675942f1e
small typo 2020-01-06 15:16:38 +01:00
Tobias Kaminsky
9b79b85ff5
Merge pull request #5065 from nextcloud/ezaquarii/fix-crash-when-making-new-ods-file
Fix crash when adding new ODS file
2020-01-06 14:57:05 +01:00
Tobias Kaminsky
32ebe691f9
Merge pull request #5066 from nextcloud/ezaquarii/fix-shared-by-null-glitch
Fix "Shared by null" glitch in file details view
2020-01-06 14:55:07 +01:00
tobiasKaminsky
5fce6caea4
Removed unneeded try/catch
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-06 12:19:21 +01:00
tobiasKaminsky
a680697529
Removed unneeded try/catch
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-06 12:00:30 +01:00
tobiasKaminsky
154b9af533
adjusted to master
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-01-06 10:10:28 +01:00
Andy Scherzinger
a15f7248ff
Make hyperlinks clickable in markdown previews
Resolves: #5030

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-01-06 09:33:12 +01:00
Andy Scherzinger
5f70ea643e
Make hyperlinks clickable in markdown previews
Resolves: #5030

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2020-01-06 09:33:12 +01:00
Nextcloud bot
cd0f834a9f
[tx-robot] updated from transifex 2020-01-06 04:20:28 +00:00
Nextcloud bot
22ab16ef47
[tx-robot] updated from transifex 2020-01-05 04:33:10 +00:00
Nextcloud bot
80d7d26cdc
[tx-robot] updated from transifex 2020-01-04 04:21:28 +00:00
Nextcloud bot
6d76582b3e
[tx-robot] updated from transifex 2020-01-03 04:17:57 +00:00
Fabian Bettag
4e91c23bb5 Add check to make sure cursor is initialized
Fixes #4702
Fixes #4919

Signed-off-by: Fabian <fabian@chee.codes>
2020-01-02 17:51:14 +01:00
Nextcloud bot
7b6e1b73b4
[tx-robot] updated from transifex 2020-01-02 04:18:21 +00:00
Nextcloud bot
71f919f6ce
[tx-robot] updated from transifex 2019-12-31 04:18:47 +00:00
Nextcloud bot
0c3b8fce89
[tx-robot] updated from transifex 2019-12-28 04:17:07 +00:00
Torsten Grote
d82de88701
Retrieve parent folder before removing document
Otherwise trying to get the parent folder will cause a NPE

Fixes #5015

Signed-off-by: Torsten Grote <t@grobox.de>
2019-12-26 15:44:23 -03:00
Chris Narkiewicz
ef8497697a
Fix "Shared by null" glitch in file details view
When file is uploaded it has ownerId == null.
We shall interpret this condition file being
owned by the current user.

Fixes #5005

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-12-25 19:45:49 +00:00
Chris Narkiewicz
3cf3e3bd71
Fix crash when adding new ODS file
Crash was caused by async task callback firing when
Fragment is not attached to activity.

Check if fragment is attached before invoking
callback logic.

Fixes: #5020

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-12-25 16:39:05 +00:00
Nextcloud bot
36873015af
[tx-robot] updated from transifex 2019-12-23 04:21:33 +00:00
Chris Narkiewicz
89ccc01845
Fix account switch buttons in drawer header
This is a regression caused by using User.equals() to compare against
platform Account object.

- Migrated this functionality to User
- Refactored drawer setup code using CollectionsKt.filter()
  List<User>

Fixes #5053

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-12-22 13:43:04 +00:00
Nextcloud bot
f53d637cbe
[tx-robot] updated from transifex 2019-12-22 04:24:34 +00:00
Nextcloud bot
24921f6f40
[tx-robot] updated from transifex 2019-12-21 03:54:02 +00:00
Nextcloud bot
7240022e1e
[tx-robot] updated from transifex 2019-12-20 03:53:45 +00:00
Tobias Kaminsky
6af95233fb
Merge pull request #4890 from nextcloud/directEditing
Direct editing support
2019-12-19 15:11:56 +01:00
Andy Scherzinger
b4c3a7d788
Merge pull request #5018 from grote/thumbnail-fix
Only trigger media scans for media files
2019-12-19 15:01:34 +01:00
tobiasKaminsky
b20767140f
fix during CI
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 09:10:23 +01:00
tobiasKaminsky
ec2cfef138
Direct editing support
- abstract EditorWebView
- support direct editing endpoint

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:39 +01:00
tobiasKaminsky
f2627a29a8
enable caching
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:39 +01:00
tobiasKaminsky
ddffaf7b49
use custom user agent for onlyOffice
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:39 +01:00
tobiasKaminsky
0178499596
remove unneeded static string
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:39 +01:00
tobiasKaminsky
95afe8c82a
use editor id to use any editor
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:38 +01:00
tobiasKaminsky
d05de9855a
use file path as parameter for open direct editing file
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:38 +01:00
tobiasKaminsky
300abba48b
make sure TextEditor is also only used ond >= Android 5, due to security reason of javascript interface
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:38 +01:00
tobiasKaminsky
994817ce97
get direct editing info from endpoint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:38 +01:00
tobiasKaminsky
b31cee531b
prevent NPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:38 +01:00
tobiasKaminsky
d1611f6334
Direct editing support
- abstract EditorWebView
- support direct editing endpoint

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-19 08:57:38 +01:00
Chris Narkiewicz
3f3c5a1951
Fix NPE crash on startup when storage manager is not set
Fixes #4941

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-12-19 00:28:24 +00:00
Nextcloud bot
6d63b4b070
[tx-robot] updated from transifex 2019-12-18 03:55:27 +00:00
Nextcloud bot
901dc20ee8
[tx-robot] updated from transifex 2019-12-17 03:54:49 +00:00
Torsten Grote
574f50e684
Only trigger media scans when the file is a media file
Fixes #4999

Signed-off-by: Torsten Grote <t@grobox.de>
2019-12-16 16:31:10 -03:00
Andy Scherzinger
8daa9a2786
Merge pull request #5014 from nextcloud/android-10-scoped-storage-workaround
Opt-out of scoped storage
2019-12-16 14:45:22 +01:00
Alice Gaudon
1919a6647a Opt-out of scoped storage
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2019-12-16 11:54:51 +01:00
Tobias Kaminsky
1656f64ad9
Merge pull request #5012 from nextcloud/darkThemePref
fix dark theme preference for dev version: use different preference name
2019-12-16 11:48:05 +01:00
tobiasKaminsky
b065e9b85d
fix dark theme preference for dev version: use different preference name
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-16 08:23:54 +01:00
Nextcloud bot
14a7493c74
[tx-robot] updated from transifex 2019-12-15 03:53:46 +00:00
Nextcloud bot
a6eb5dd52c
[tx-robot] updated from transifex 2019-12-14 03:53:46 +00:00
tobiasKaminsky
f61c70d796
only add account, but not go to main app.
Usage: start com.nextcloud.client/com.owncloud.android.authentication.AuthenticatorActivity with "onlyAdd" set to true as boolean

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-12 08:28:20 +01:00
tobiasKaminsky
8b61e74057
remove unneeded accountManager
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-12 06:50:52 +01:00
tobiasKaminsky
e5cd5ffcd6
use nextcloudClient.execute(…)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-12 06:50:52 +01:00
tobiasKaminsky
066f4c25aa
Initial work on v2 with activity
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-12 06:50:52 +01:00
Nextcloud bot
45f114671a
[tx-robot] updated from transifex 2019-12-12 03:53:43 +00:00
Tobias Kaminsky
1145c3813e
Merge pull request #4958 from Infomaniak/fix/see-detail-from-preview-nc
Fixed issue relative to Properties from ImagePreview
2019-12-10 09:32:23 +01:00
Tobias Kaminsky
fd3ff4cbcb
Merge pull request #4898 from siddharths2710/master
Refresh issue for file movment/file restore operations
2019-12-10 09:22:57 +01:00
Nextcloud bot
988e797025
[tx-robot] updated from transifex 2019-12-10 03:17:14 +00:00
Andy Scherzinger
8062340f63
Merge pull request #4657 from nextcloud/bumpSDK
bump to latest SDK
2019-12-09 17:51:09 +01:00
Tobias Kaminsky
1290bbe52e
Merge pull request #4918 from Infomaniak/fix/calendar-not-refreshed
Resolved issue relative to calendar refresh in link-sharing
2019-12-09 11:58:21 +01:00
Tobias Kaminsky
da104fc48a
Merge pull request #4962 from Infomaniak/fix/add-activities-empty-icon
Fixed bug relative to activities empty icon
2019-12-09 11:54:18 +01:00
Nextcloud bot
f7597c1472
[tx-robot] updated from transifex 2019-12-09 03:13:39 +00:00
Nextcloud bot
c27f4cea39
[tx-robot] updated from transifex 2019-12-08 03:15:17 +00:00
Nextcloud bot
75442575f0
[tx-robot] updated from transifex 2019-12-07 03:15:41 +00:00
Siddharth Srinivasan
aabc97de82 Renamed refresh methods and updated ETag parameter accordingly
Signed-off-by: Siddharth Srinivasan <13200018+siddharths2710@users.noreply.github.com>

Renamed refresh methods and updated ETag parameter accordingly with sign-off
2019-12-06 21:57:14 +05:30
Siddharth Srinivasan
c608f0081c Merge remote-tracking branch 'upstream/master'
Keep in line with upstream
2019-12-06 20:36:26 +05:30
Kilian Périsset
88fe5069eb
Fixed bug relative to activities icon + applied DRY 2019-12-06 15:10:41 +01:00
Kilian Périsset
9b94cc2b58
Fixed the indentation for ExpirationDatePicker 2019-12-06 12:46:50 +01:00
Kilian Périsset
65b82c2ee5
Allowed onbackpressed from properties (without redisplaying file) + Removed useless intent data 2019-12-06 12:07:53 +01:00
Kilian Périsset
25d9c46f82
Fixed bug relative to details from Image Preview 2019-12-06 11:52:47 +01:00
Andy Scherzinger
f9bd91b4b3
Merge pull request #4956 from nextcloud/fixScreenshot
fix #4955
2019-12-06 10:21:22 +01:00
Tobias Kaminsky
3ed9ce2e2b
Merge pull request #4920 from nextcloud/theming_server_input
Fix theming: server url input
2019-12-06 10:04:23 +01:00
tobiasKaminsky
b01f71972f
fix #4955
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-06 08:25:50 +01:00
tobiasKaminsky
01e532929d
fix #4752
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-06 08:06:42 +01:00
Nextcloud bot
d8722b52de
[tx-robot] updated from transifex 2019-12-06 03:15:42 +00:00
Andy Scherzinger
21baad4fdc
fix #4752 for landscape
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-12-05 18:30:15 +01:00
tobiasKaminsky
04d59133ca
fix #4752
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-05 18:30:14 +01:00
Kilian Périsset
acd5d48d96
Applied the expiration date in each instance of DatePicker 2019-12-05 11:52:33 +01:00
Andy Scherzinger
d006ac257e
Merge pull request #4923 from nextcloud/theming_sharing_box
fix wrong text color on edit text input on dark mode
2019-12-05 11:20:44 +01:00
tobiasKaminsky
1584de9769
use SystemClock.elapsedRealtime() everywhere
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-05 11:05:47 +01:00
Nextcloud bot
ead35eb3a1
[tx-robot] updated from transifex 2019-12-05 03:13:49 +00:00
Nextcloud bot
9dcb915266
[tx-robot] updated from transifex 2019-12-04 10:24:52 +00:00
Tobias Kaminsky
dda56defb4
Merge pull request #4933 from nextcloud/appLocking
Use SystemClock.elapsedRealtime() instead of System.currentTimeMillis()
2019-12-04 08:21:04 +01:00
Andy Scherzinger
cb00677172
Merge pull request #4926 from nextcloud/deleteChecksFor16
remove all checks for <= JELLY_BEAN as we have this as our new minimum.
2019-12-04 06:59:17 +01:00
Tobias Kaminsky
fd48163e22
Merge pull request #4922 from nextcloud/themeFollowOS
Dark mode: light, dark, follow system
2019-12-04 06:47:36 +01:00
tobiasKaminsky
5e687f2c17
Dark mode: light, dark, follow system
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-04 06:33:34 +01:00
tobiasKaminsky
fb69c1bd51
remove all checks for <= JELLY_BEAN as we have this as our new minimum.
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-04 06:15:30 +01:00
Nextcloud bot
683faab116
[tx-robot] updated from transifex 2019-12-04 03:13:38 +00:00
Tobias Kaminsky
7cf3ba93c6
Merge pull request #4925 from nextcloud/NotNull
replace org.jetbrains.annotations with androidx.annotations
2019-12-03 15:49:40 +01:00
Kilian Périsset
ba58d37aff
Changed indentation of Picker new instance 2019-12-03 14:15:37 +01:00
tobiasKaminsky
2f9c5e9761
replace org.jetbrains.annotations with androidx.annotations
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-03 13:31:02 +01:00
tobiasKaminsky
3cf0e6e5e4
replaced distinct by manually unique via HashMap
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-03 09:48:23 +01:00
tobiasKaminsky
83903ea1db
fix wrong sync status in auto upload on white theming
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-03 08:55:17 +01:00
tobiasKaminsky
e0bd44cf83
fix wrong text color on search input on dark mode
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-03 08:36:20 +01:00
Nextcloud bot
2dbf724b33
[tx-robot] updated from transifex 2019-12-03 03:14:10 +00:00
Kilian Périsset
0b86d6a1d9
Resolved issue relative to calendar refresh in link-sharing 2019-12-02 18:40:58 +01:00
Tobias Kaminsky
d270752390
Merge pull request #4865 from Infomaniak/feature/fix-restore-btn-size
Added new restore icon (to replace the small one)
2019-12-02 12:30:09 +01:00
Nextcloud bot
dc0181bac9
[tx-robot] updated from transifex 2019-12-02 07:19:08 +00:00
tobiasKaminsky
c612e2f547
Use SystemClock.elapsedRealtime() instead of System.currentTimeMillis()
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-02 07:52:17 +01:00
Siddharth Srinivasan
041a6787b8 Explicitly refreshing list on resume and on file move operation
Signed-off-by: Siddharth Srinivasan <siddharths2710phone@gmail.com>

Explicitly refreshing list on resume and on file move operation
2019-11-28 22:59:37 +05:30
Kilian Périsset
dd574f99a0
Replaced restore icon by Material Replay 2019-11-28 17:20:05 +01:00
Tobias Kaminsky
2c57e37097
Merge pull request #4784 from nextcloud/hideAutoUploadEntries
Show/Hide auto upload list items
2019-11-28 08:19:15 +01:00
Nextcloud bot
5257fb236c
[tx-robot] updated from transifex 2019-11-28 03:14:35 +00:00
Andy Scherzinger
d17c853493
re-add button/action and improve upon code review
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:43:53 +01:00
Andy Scherzinger
74bfe473c4
remove action button, use checkable menu item for shown/hidden state display
(design review)

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:35:31 +01:00
Andy Scherzinger
7c62ad6b06
unify use of boolean, make use of lombok getter/setters, remove unneeded boolean boxing
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:35:05 +01:00
Andy Scherzinger
bedc2b48ee
housekeeping, removing unused resources
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:35:05 +01:00
Andy Scherzinger
ca6918f9fc
show/hide improvements when list is completed hidden + nicer empty UI + action button
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:35:03 +01:00
Andy Scherzinger
23e44243da
show/hide auto upload list items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-27 21:34:40 +01:00
Nextcloud bot
83e0ebc463
[tx-robot] updated from transifex 2019-11-27 03:10:14 +00:00
Tobias Kaminsky
e92daa2fc4
Merge pull request #4853 from nextcloud/migrate-simple-cases-of-get-current-account-to-get-user
Migrate simple cases of get current account to get user
2019-11-26 14:04:32 +01:00
Nextcloud bot
10960bf3a2
[tx-robot] updated from transifex 2019-11-26 03:10:16 +00:00
Nextcloud bot
9f24b254f9
[tx-robot] updated from transifex 2019-11-25 14:33:17 +00:00
Chris Narkiewicz
a7eb7148fa
Migrate simple cases of getCurrentAccount() to getUser()
Migrate trivially convertible uses of getCurrentAccount()
to new user model - getUser().

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-11-25 08:53:50 +00:00
Chris Narkiewicz
609b99666f
New user model
New non-nullable user model abstracts away all complexities of Nextcloud
user account and provides.

- backported java.util.Optional
- extended UserAccountManager with User getters
- deprecated CurrentAccountProvider.getCurrentAccount() method
- migrated connectivity service to new user model
- migrated UploadsStorageManager to new user model
- migrated OCFileListAdapter

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-11-21 19:58:57 +00:00
Kilian Périsset
ddb015bda8
Added new restore icon 2019-11-20 16:05:42 +01:00
Unpublished
26c5c5e015 Use png for checker image to use it via bitmap
Signed-off-by: Unpublished <unpublished@gmx.net>
2019-11-19 20:10:19 +01:00
Andy Scherzinger
21ef006544
Merge pull request #4858 from nextcloud/changeScreenshot
Screenshots: shorten text a bit
2019-11-19 17:45:37 +01:00
tobiasKaminsky
0223085a8d
shorten text a bit
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-11-19 14:35:31 +01:00
Tobias Kaminsky
94502f66b5
Merge pull request #4787 from ArisuOngaku/auto-upload-start-date-persistence
Make synced folder init/enable date persistent
2019-11-19 13:21:43 +01:00
Nextcloud bot
f1a0ac5c26
[tx-robot] updated from transifex 2019-11-19 03:10:54 +00:00
Tobias Kaminsky
dbe12e6d20
Merge pull request #4789 from nextcloud/name_pattern_menus
Improve menu file name pattern
2019-11-18 15:26:35 +01:00
Tobias Kaminsky
77b6b178a9
Merge pull request #4841 from nextcloud/disableOldLoginMethod
allow to switch off old login method
2019-11-18 13:51:38 +01:00
tobiasKaminsky
b561f68834
allow to switch off old login method
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-11-18 10:13:09 +01:00
Nextcloud bot
b59d96ace0
[tx-robot] updated from transifex 2019-11-18 03:09:26 +00:00
Nextcloud bot
9ae550731e
[tx-robot] updated from transifex 2019-11-17 03:12:24 +00:00
Nextcloud bot
bfdaba8bde
[tx-robot] updated from transifex 2019-11-16 03:09:26 +00:00
Alice Gaudon
65da616f81 FilesSyncHelper: use our own logging framework
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2019-11-15 07:56:17 +01:00
Nextcloud bot
bd503a86c7
[tx-robot] updated from transifex 2019-11-15 03:10:28 +00:00
Nextcloud bot
3943e1c753
[tx-robot] updated from transifex 2019-11-14 03:10:34 +00:00
Andy Scherzinger
693f408276
Improve menu file name pattern
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-11-13 11:47:23 +01:00
Tobias Kaminsky
ed8b9cbb72
Merge pull request #4713 from nextcloud/ezaquarii/remove-set-account-from-first-run-activity
Remove out of band setAccount/onAccountSet calls
2019-11-13 10:02:29 +01:00
Nextcloud bot
f38900d989
[tx-robot] updated from transifex 2019-11-13 03:10:02 +00:00
Chris Narkiewicz
fb615ef279 Remove out-of-band setAccount/onAccountSet calls
Activity account is set in FilesActivity.onAccount(),
but related components are updated in BaseActivity.onStart().

1. Initialize account in BaseActivity.onCreate()
2. Update storage manager and capabilities immediately
   on account set, not waiting for onStart() lifecycle.
3. inline storage manager and capabilities update in setAccount()
4. Remove setAccount()/onAccountSet() calls that sets default
   account, as this duplicates BaseActivity.onCreate()

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-11-12 06:21:05 +00:00
Nextcloud bot
df6d847f29
[tx-robot] updated from transifex 2019-11-12 03:11:59 +00:00
Nextcloud bot
4690042b06
[tx-robot] updated from transifex 2019-11-10 03:14:29 +00:00
Nextcloud bot
403fc87562
[tx-robot] updated from transifex 2019-11-07 03:08:34 +00:00
Tobias Kaminsky
890789f0a7
Merge pull request #4797 from nextcloud/ezaquarii/replace-shared-preferences-with-app-preferences-in-base-activity
Replace BaseActivity.sharedPreferences with app preferences
2019-11-06 13:52:54 +01:00
Tobias Kaminsky
180bdee721
Merge pull request #4801 from Infomaniak/feature/resolve-set-as-wallpaper-issue
Fixing picture "set as wallpaper" issue in properties (duplicate)
2019-11-06 13:48:23 +01:00
Nextcloud bot
039adc0a18
[tx-robot] updated from transifex 2019-11-06 03:10:30 +00:00
Alice Gaudon
2e13212752 SyncedFolderProvider: pass Clock dependency via constructor instead of dagger
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2019-11-06 01:59:06 +01:00
Alice Gaudon
c2ea4de802 FileContentProvider: add dagger injection
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2019-11-06 01:50:32 +01:00
Alice Gaudon
7f4db3fdd0 Make synced folder init/enable date persistent
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
2019-11-05 21:23:45 +01:00
Tobias Kaminsky
d208681fed
Merge pull request #4796 from nextcloud/datepicker
Theming: Fix date picker button text colour
2019-11-05 20:10:13 +01:00
Kilian Périsset
25aaf4b907
Applied ability to set as wallpaper from properties of a picture
Signed-off-by: Kilian Périsset <kilian.perisset@infomaniak.com>
2019-11-05 14:20:35 +01:00
Chris Narkiewicz
6b01382e7f
Replace BaseActivity.sharedPreferences with app preferences
- Eliminate access to shared preferences when setting dark theme.
- Extend AppPreferences interface to allow subscription for preference changes
- Improve preferences interface documentation

Fixes #4791

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-11-05 06:00:58 +00:00
Nextcloud bot
7a8aee3e22
[tx-robot] updated from transifex 2019-11-05 03:07:49 +00:00
Daniel Bailey
b0563b9310
Theming: Fix date picker button text colour
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-11-04 14:52:54 +00:00
Nextcloud bot
207f8947cf
[tx-robot] updated from transifex 2019-11-04 03:10:40 +00:00
Nextcloud bot
1ec09848b6
[tx-robot] updated from transifex 2019-11-03 03:12:13 +00:00
Nextcloud bot
5131514917
[tx-robot] updated from transifex 2019-11-02 03:06:45 +00:00
Tobias Kaminsky
62fc6fa53d
Merge pull request #4782 from nextcloud/internalLinkWording
use file/folder in "copy internal link" description
2019-11-01 15:17:11 +01:00
tobiasKaminsky
71264e19b8
use file/folder in "copy internal link" description
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-11-01 12:32:07 +01:00
Nextcloud bot
327817c047
[tx-robot] updated from transifex 2019-11-01 02:59:14 +00:00
Andy Scherzinger
946e5c2c1e
Merge pull request #4768 from nextcloud/colorNames
consistently use snake_case for color resources
2019-10-31 08:51:59 +01:00
Nextcloud bot
78ed97ca07
[tx-robot] updated from transifex 2019-10-31 03:00:33 +00:00
Andy Scherzinger
fe353a7561
consistently use snake_case for color resources
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-30 16:13:29 +01:00
Tobias Kaminsky
c4e20a652d
Merge pull request #4762 from nextcloud/color
Dark theme: color enhancements
2019-10-30 11:08:30 +01:00
tobiasKaminsky
af63eed654
overwrite in values-night/colors only values that differ
move branding colors back to setup.xml

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-30 09:32:58 +01:00
Andy Scherzinger
2a43da6bdf
Merge pull request #4746 from nextcloud/createChooser
use default open chooser with "just once", "always"
2019-10-29 16:23:00 +01:00
tobiasKaminsky
bee8770ce0
- fix typo in styles
- fix sign up with provider in dark primary color

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-29 11:27:03 +01:00
Tobias Kaminsky
cc710b09cb
Merge pull request #3459 from nextcloud/dark_theme
Dark theme
2019-10-29 11:18:48 +01:00
Andy Scherzinger
c1aa005db9
changes due to code review
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-29 11:05:44 +01:00
tobiasKaminsky
12fe91a6dd
use default open chooser with "just once", "always"
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-29 07:28:51 +01:00
Nextcloud bot
8b4481f7fd
[tx-robot] updated from transifex 2019-10-29 03:08:13 +00:00
Andy Scherzinger
3de5e8fa52
remove possible overdraws
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 22:24:44 +01:00
Andy Scherzinger
ae2dcbea33
align user info toolbar theming with main toolbar theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 18:11:36 +01:00
Andy Scherzinger
48e1384219
make circular checkIcon background day/night aware
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 17:48:25 +01:00
Tobias Kaminsky
cabe2fcff0
Merge pull request #4725 from nextcloud/ssoHeaders
SSO: return response headers
2019-10-28 16:12:32 +01:00
Andy Scherzinger
2021da0a8b
proper contacts backup button theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 15:36:30 +01:00
Andy Scherzinger
48b43581cc
proper button theming for notification actions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 15:36:06 +01:00
tobiasKaminsky
8e3931edf6
SSO: return response headers
new headers in parallel

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-28 14:48:24 +01:00
Daniel Bailey
9a9e0e6c42
Merge branch 'dark_theme' of github.com:nextcloud/android into dark_theme
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-28 13:32:14 +00:00
Daniel Bailey
853d7cd113
Dark theme updates
TextInputLayout in share password dialog is styled to match the app.
Receive files picker shows server primary colour on Upload button.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-28 13:03:19 +00:00
Daniel Bailey
4ce4027250
Update to Alert Dialogs in api 21 and upwards.
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-28 12:59:34 +01:00
Daniel Bailey
1615130093
Fix activity foreground text colour for >=API21.
Share expiration date picker now has buttons that are the primary
colour.

Theme change is now done in BaseActivity and ThemedPreferenceActivity.
This should help any activities in the back stack show the correct
theme.

Fixed style issues on firstrun and authenticator activities.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-28 12:59:32 +01:00
Andy Scherzinger
a518885612
add dark/light theming for activities headline
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:32 +01:00
Andy Scherzinger
57db615a33
icons with light background need to be keep with dark color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:29 +01:00
Andy Scherzinger
cc2593cbdb
proper icon display for night theme for activities and notifications
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:29 +01:00
Andy Scherzinger
44020dcc76
make progress bar day/night aware
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:28 +01:00
Andy Scherzinger
375fb97c06
use day/night color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:27 +01:00
Andy Scherzinger
9a88ee24d3
remove unused radio button preference code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:25 +01:00
Andy Scherzinger
5554585348
make toolbar menu use the proper day/night popup theme
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:24 +01:00
Andy Scherzinger
1bdccebce8
use proper colors storage selector text
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:23 +01:00
Andy Scherzinger
e14dc52fa7
use correct color after rebase
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:22 +01:00
Daniel Bailey
6bb9a70603
Various improvements to dark theme
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-28 12:59:22 +01:00
Andy Scherzinger
6eb0744986
use proper color for storage location text
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:21 +01:00
Andy Scherzinger
8f8b67f57f
don't tint avatars within the drawer menu
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:59:20 +01:00
Daniel
689a0a216b
"Activities" drawer selection background colour.
Signed-off-by: Daniel <daniel.bailey@grappleit.co.uk>
2019-10-28 12:58:51 +01:00
Andy Scherzinger
b7e9d3f954
remove unused theme getter from interface
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:58:51 +01:00
Daniel Bailey
8d0ff8fecc
Corrects "Choose" button colour in FolderPickerActivity. Removes un-used import from NotificationListAdapter.
MaterialButtons.
SearchView highlight text colour.
First run activity, outlined button colour.

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:58:50 +01:00
Daniel Bailey
c7049788f7
DatePickerDialog theme and style.
Button styling.
Small improvements to layouts and correction of spelling errors.
Sets edittext highlight colour to theme colour.

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:58:07 +01:00
Andy Scherzinger
30a5ec6ee1
improve codacy score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:58:07 +01:00
Andy Scherzinger
562338cad1
set background color for primary action buttons on upload and participate
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:58:06 +01:00
Andy Scherzinger
913d8276e1
use xml drawables for shared state icon including day/night state
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:58:05 +01:00
Andy Scherzinger
790e3fa2f8
findbugs: accesses list or array with constant index
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:58:04 +01:00
Andy Scherzinger
3d60c83ba2
use right colors for drawer menu item text and icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:58:04 +01:00
Andy Scherzinger
55a32df928
use style instead of theme attribute for secondary action buttons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:58:03 +01:00
Daniel
27b8ed4327
Dark theme v1
Fixing migration to androidx
Dark theme styling
File details fragment tab text colour
File list overflow menu background colour

Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-28 12:57:58 +01:00
Tobias Kaminsky
98487b501d
Merge pull request #4733 from nextcloud/codacy
Codacy
2019-10-28 11:17:13 +01:00
Daniel Bailey
bf0779a3ed
Update to Alert Dialogs in api 21 and upwards.
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-10-27 20:51:01 +00:00
Nextcloud bot
17709cc692
[tx-robot] updated from transifex 2019-10-27 03:06:49 +00:00
Andy Scherzinger
2bb13a1545
move suppress annotation to newly created method
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-26 09:36:58 +02:00
Nextcloud bot
a098a5cf22
[tx-robot] updated from transifex 2019-10-26 03:08:29 +00:00
Andy Scherzinger
a6fdec8656
shorten method
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-26 04:33:03 +02:00
Andy Scherzinger
1d3fca653f
codacy: Avoid declaring a variable if it is unreferenced before a possible exit point.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-26 04:22:34 +02:00
Andy Scherzinger
816991c172
codacy: avoid unused imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-10-26 04:20:27 +02:00
Andy Scherzinger
4f8fc49d15
Merge pull request #4730 from nextcloud/taskTwice
fix notification task, if it failed first
2019-10-25 10:18:10 +02:00
Tobias Kaminsky
0444d07b02
Merge pull request #4728 from nextcloud/markdownPreview_Theming
Theming for rendering markdown
2019-10-25 09:18:42 +02:00
tobiasKaminsky
44fefe9064
fix notification task, if it failed first
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-10-25 09:16:58 +02:00
Nextcloud bot
5ec79a9ff5
[tx-robot] updated from transifex 2019-10-25 03:08:36 +00:00