Commit graph

5157 commits

Author SHA1 Message Date
AndyScherzinger
ef5120a47a
fix after latest rebase 2017-10-18 17:09:55 +02:00
Branko Kokanovic
8bc432027e
Delaying upload if device is in power save mode
This change adds handling for uploads from device when it is operating in power save mode and is a fix for #1277. In those case, uploads are behaving similar as if upload requires Wi-Fi (or that device needs to be charging) and those conditions are not met - they are delayed until device exits power save mode. Same thing holds true for contacts backup and explicit uploads - they are not delayed. Difference with Wi-Fi (and charging) conditions is in that 1) this delay cannot be set per synced folder and 2) it is turned on by default. For devices that don't have this capability (API level < 21) - old behavior (backward-compatible) is used; they behave as this check is not present.

Jobs for file uploads are skipped if they are executing during power save mode. Only exception to this is when user is doing "force resync" which will continue even in power save mode.

Also added is listener for power save mode, albeit it makes sense only if user explicitly turns off power save mode while it is in it, as putting device to be charged will restart all jobs already by design (another listener that already exists).
2017-10-18 17:09:52 +02:00
Branko Kokanovic
49223db14e
Hide select and deselect all on preview and details fragments, fix #1574
This change makes select/deselect menu items invisible on fragments where they should be invisible. To do this, first was needed to "split" two different "select all" actions into different ones, so they are not overlapped. For that, one of them was changed from "action_select_all" to "action_select_all_action_menu". Second, in method filter() that decides which menu items are visible, "inSingleFileFragment" bool is pushed. This is how we decide are we under some listing, or showing single file (either details or any preview fragment).
2017-10-18 16:36:28 +02:00
Branko Kokanovic
4315e6f305
Hide select and deselect all on preview and details fragments, fix #1574
This change makes select/deselect menu items invisible on fragments where they should be invisible. To do this, first was needed to "split" two different "select all" actions into different ones, so they are not overlapped. For that, one of them was changed from "action_select_all" to "action_select_all_action_menu". Second, in method filter() that decides which menu items are visible, "inSingleFileFragment" bool is pushed. This is how we decide are we under some listing, or showing single file (either details or any preview fragment).
2017-10-18 16:36:27 +02:00
Branko Kokanovic
c9c5c20364
Hide select and deselect all on preview and details fragments, fix #1574
This change makes select/deselect menu items invisible on fragments where they should be invisible. To do this, first was needed to "split" two different "select all" actions into different ones, so they are not overlapped. For that, one of them was changed from "action_select_all" to "action_select_all_action_menu". Second, in method filter() that decides which menu items are visible, "inSingleFileFragment" bool is pushed. This is how we decide are we under some listing, or showing single file (either details or any preview fragment).
2017-10-18 16:36:24 +02:00
tobiasKaminsky
b09be26992
also hide test server button (arrow) when changing password 2017-10-18 16:20:19 +02:00
tobiasKaminsky
e956b9ee12
hide provider when changing password 2017-10-18 16:20:19 +02:00
AndyScherzinger
40d393b234
resolves #1573 - filetype icons and previews size 2017-10-18 15:26:06 +02:00
Andy Scherzinger
964b98a84a Merge pull request #1645 from nextcloud/fixExternalIcons
Correct icons for external links
2017-10-18 11:32:08 +02:00
Nextcloud bot
293ae63044
[tx-robot] updated from transifex 2017-10-18 00:29:29 +00:00
Nextcloud bot
e0ec5e3492
[tx-robot] updated from transifex 2017-10-17 00:28:51 +00:00
AndyScherzinger
f1c20398c6
centralize app's version code and name 2017-10-16 11:33:36 +02:00
Nextcloud bot
860ffe0254
[tx-robot] updated from transifex 2017-10-14 02:50:04 +00:00
Nextcloud bot
3dc3d69cc2
[tx-robot] updated from transifex 2017-10-13 00:30:47 +00:00
Nextcloud bot
c882c767ea
[tx-robot] updated from transifex 2017-10-12 00:28:48 +00:00
Nextcloud bot
c8f386402f
[tx-robot] updated from transifex 2017-10-11 00:29:01 +00:00
tobiasKaminsky
8d1da9569f
correct icons for external links 2017-10-10 08:22:55 +02:00
Nextcloud bot
d6b43c6cc7
[tx-robot] updated from transifex 2017-10-10 00:31:03 +00:00
Nextcloud bot
04f55a95d8
[tx-robot] updated from transifex 2017-10-09 00:29:12 +00:00
Nextcloud bot
bedc2d0272
[tx-robot] updated from transifex 2017-10-07 00:29:09 +00:00
Nextcloud bot
1be764aae9
[tx-robot] updated from transifex 2017-10-06 00:29:34 +00:00
AndyScherzinger
694f042cb1
bump version to 2.0.0RC9 2017-10-05 18:33:15 +02:00
Mario Danic
be66bbfe16
Fix avatars
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-10-05 18:33:15 +02:00
Nextcloud bot
d814c1ae14
[tx-robot] updated from transifex 2017-10-05 00:28:51 +00:00
Nextcloud bot
f24b603493
[tx-robot] updated from transifex 2017-10-04 00:28:25 +00:00
Nextcloud bot
bf9832324d
[tx-robot] updated from transifex 2017-10-03 00:28:40 +00:00
AndyScherzinger
63bfd4b080
prepare release 2.0.0RC8 2017-10-01 10:11:05 +02:00
Nextcloud bot
094e7c2d88
[tx-robot] updated from transifex 2017-10-01 00:28:27 +00:00
Nextcloud bot
74062061b6
[tx-robot] updated from transifex 2017-09-30 00:29:04 +00:00
stalker314314
6e4c14c8d4
Fixes #1600
Change "Set as available offline" text to "Available offline" for switch widget in file details dialog, to differnetiate between this and "Set as available offline" in menu
2017-09-29 15:20:49 +02:00
Nextcloud bot
28771accbb
[tx-robot] updated from transifex 2017-09-29 00:29:46 +00:00
tobiasKaminsky
f489711bbe
tint external icons 2017-09-28 11:20:05 +02:00
Nextcloud bot
fb8e538855
[tx-robot] updated from transifex 2017-09-28 00:29:45 +00:00
Nextcloud bot
66cd3646c3
[tx-robot] updated from transifex 2017-09-27 00:28:43 +00:00
Nextcloud bot
2eafbcb53c
[tx-robot] updated from transifex 2017-09-26 00:28:46 +00:00
AndyScherzinger
4743545c82
resolves #1590 by checking for null 2017-09-25 13:30:18 +02:00
tobiasKaminsky
43a2b4dd2a
database upgrade #23 skipped entire remaining upgrades 2017-09-25 08:39:20 +02:00
Nextcloud bot
b90a3a009a
[tx-robot] updated from transifex 2017-09-24 00:27:39 +00:00
tobiasKaminsky
b49a1120ef
RC7 2017-09-23 09:36:03 +02:00
tobiasKaminsky
054df29443
RC7 2017-09-23 09:36:03 +02:00
Mario Danic
f606e88a89
Fix 4g retry
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-09-23 08:20:13 +02:00
Nextcloud bot
f6ae6784e9
[tx-robot] updated from transifex 2017-09-23 00:27:13 +00:00
Tobias Kaminsky
081fb7a8c8
Update PreferenceManager.java 2017-09-22 15:49:06 +02:00
tobiasKaminsky
045b285438
default to 3 columns 2017-09-22 15:49:06 +02:00
Mario Danic
d90cdaf202
Make search work again
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-09-22 15:34:53 +02:00
tobiaskaminsky
631869e2a2
renamed ResultCode 2017-09-22 12:49:45 +02:00
tobiaskaminsky
0aa2aaaab1
use result code to determinate if old login 2017-09-22 12:49:45 +02:00
AndyScherzinger
46535cdc02
shrtening of string 2017-09-22 12:49:44 +02:00
AndyScherzinger
86ca866fa4
shortened, changed strings 2017-09-22 12:49:44 +02:00
tobiaskaminsky
a1b4923418
Show messages if
- no push possible (fdroid)
- push possible, but old login
2017-09-22 12:49:13 +02:00