Commit graph

1970 commits

Author SHA1 Message Date
Nextcloud bot
276b0301eb
[tx-robot] updated from transifex 2018-01-11 01:41:47 +00:00
tobiaskaminsky
964faa54ec
add max SDK to permissions
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-10 10:27:35 +01:00
tobiasKaminsky
b0586ee9da
show snackbar longer 2018-01-10 07:40:59 +01:00
tobiasKaminsky
462d9d90cc
- move check count from shared pref to arbitrary provider
- use it also for checking new dev version (if enabled)
2018-01-10 07:40:59 +01:00
Nextcloud bot
859cd05cd5
[tx-robot] updated from transifex 2018-01-10 01:41:24 +00:00
tobiasKaminsky
3c8f1fd081
remove unused import
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-09 11:59:37 +01:00
Victor Nidens
4193dd04ab
Restored Sharing menu for reshared file with warning if resharing isn't allowed 2018-01-09 11:08:40 +01:00
tobiasKaminsky
e505421db9
Implicitly using the default locale is a common source of bugs
internal: Locale.ROOT
otherwise Locale.getDefault()
2018-01-09 10:51:22 +01:00
Bartosz Przybylski
a3db144ecc
Crop center the image in account info
Because we need to correctly crop and center the image we can no longer support snapping of toolbar in appbar. Since AppBarLayout is a subclass of LinearLayout and doesn't look deeper into subview hierachy for snapping children, thus it is better not to support it.

Also instead of using ScrollView and pad it with some weird magic numbers, use NestedScrollView class which is made to cooperate with AppBarLayout.
2018-01-09 10:30:20 +01:00
Bartosz Przybylski
0e1dc14016
Fixes #1903: Fix image scaling in navigation drawer
* Insted of setting a background in ViewGroup add a ImageView inside it, stretch it, set cropping scaleType and then set a background image downloaded from server.
* CenterCrop will scale the image to fill the View, if needed image will be cropped in the center but the aspect ration will be kept
* Cleanup code to use more general types instead of direct layout type, previously enforcing LinearLayout wasn't using anything special about this class.
2018-01-09 10:30:20 +01:00
tobiasKaminsky
213646cb41
prevent account NPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-09 09:52:29 +01:00
tobiaskaminsky
fe14e66043
remove unneeded fully qualified name
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-09 09:05:53 +01:00
tobiaskaminsky
60fae3c502
code enhancements 2018-01-09 09:05:53 +01:00
tobiaskaminsky
e288507ce8
sorting in "receive external files" 2018-01-09 09:05:52 +01:00
Sven R. Kunze
1a86ba7eac
refactoring folder preferences
- based getFolderPreference and setFolderPreference on ArbitraryDataProvider
- converted Boolean-based "is grid preferred" to String-based folder layout preference

Signed-off-by: Sven R. Kunze <srkunze@mail.de>
2018-01-09 09:05:52 +01:00
Sven R. Kunze
0105b19e79
finished folder-based sort order
- base getSortOrder on getFolderPreference
- base setSortOrder on setFolderPreference
- added folder parameter to all call-sites of getSortOrder and getSortOrder
2018-01-09 09:05:52 +01:00
Sven R. Kunze
4b5e4b96a9
defined new way of addressing and storing sort orders
- defined string constants for all sort orders
- defined new SortOrder classes to handle sorting
- store/retrieve string constant in/from preferences
- cleaned up related code
2018-01-09 09:05:52 +01:00
Sven R. Kunze
830f909e8c
cleaned up OCFileListFragment preference management
- base isGridViewPreferred on getIsGridViewPreferred
- base setGridAsPreferred and setListAsPreferred on setIsGridViewPreferred
- moved GRID_IS_PREFERED_PREFERENCE to PreferenceManager
- moved KEY_FAB_EVER_CLICKED to PreferenceManager
2018-01-09 09:05:52 +01:00
Sven R. Kunze
0ef8995f5f
added folder-recognizing preference helpers
- added getFolderPreference
- added setFolderPreference
2018-01-09 09:05:52 +01:00
tobiaskaminsky
2b0dd3209c
use cancelContactBackupJobForAccount to disable all backup jobs
switched if branches, according to findBugs

Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-09 08:37:37 +01:00
tobiasKaminsky
2655d6f87b
code enhancement
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-09 08:37:37 +01:00
tobiasKaminsky
f1731f889d
on account removal also disable contacts backup job
remove unneeded function

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-09 08:37:36 +01:00
Tobias Kaminsky
4914b11bc1
Merge branch 'master' into contactsBackupNPE 2018-01-09 08:19:57 +01:00
Tobias Kaminsky
a1e0173e9c
Merge branch 'master' into userinfoButterknife 2018-01-09 08:12:42 +01:00
Nextcloud bot
ae6c33c9fa
[tx-robot] updated from transifex 2018-01-09 01:40:56 +00:00
tobiasKaminsky
62f74a8ff5
do not use id twice
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-08 15:47:44 +01:00
tobiaskaminsky
e6d597e172
code formatting
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-08 14:23:14 +01:00
tobiaskaminsky
9733b886af
fix potential NPEs
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-08 14:21:11 +01:00
tobiaskaminsky
138e35c512
add roundIcon to Manifest 2018-01-08 09:22:09 +01:00
AndyScherzinger
84d40f0421
fix compile error 2018-01-08 09:22:09 +01:00
AndyScherzinger
487407fb49
codacy: combine if blocks 2018-01-08 09:22:09 +01:00
AndyScherzinger
9111fa0555
use vector xml for launcher icon background 2018-01-08 09:22:09 +01:00
AndyScherzinger
9d029de12e
fix folder name -v26 2018-01-08 09:22:08 +01:00
AndyScherzinger
505306cbf5
try moving background to v26 directory for lint 2018-01-08 09:22:08 +01:00
AndyScherzinger
346c5ca9a3
move vector launcher foreground file to v26 directory 2018-01-08 09:22:08 +01:00
AndyScherzinger
4b87a0d109
properly enforce round launcher icon 2018-01-08 09:22:08 +01:00
tobiasKaminsky
5b6f0354f6
extract channel creation 2018-01-08 09:22:08 +01:00
AndyScherzinger
95f2b488f9
fix positioning of Nc logo within icons 2018-01-08 09:22:07 +01:00
AndyScherzinger
dbf753cce3
enforce round launcher icon on pre Oreo devices 2018-01-08 09:22:07 +01:00
AndyScherzinger
0137ec8ef6
reworked Nc13 style launcher icon work 2018-01-08 09:22:07 +01:00
AndyScherzinger
a5eb437a30
linebreaks added 2018-01-08 09:22:06 +01:00
AndyScherzinger
80a2f76f51
round & adaptive icon added 2018-01-08 09:22:06 +01:00
tobiasKaminsky
4ea1a907f4
add notification channel support, with only one initially set-up 2018-01-08 09:22:06 +01:00
tobiasKaminsky
1da1f11ea5
change sdk versions 2018-01-08 09:21:51 +01:00
Nextcloud bot
583cc6cdd6
[tx-robot] updated from transifex 2018-01-08 01:41:16 +00:00
Mario Đanić
24cd4fce11
Merge pull request #1923 from nextcloud/fix-1911
Fix #1911
2018-01-07 20:29:29 +01:00
Mario Danic
7cce49af2a Remove extra parentheses
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-07 20:24:59 +01:00
Nextcloud bot
a4b3ddf9d8
[tx-robot] updated from transifex 2018-01-07 01:40:29 +00:00
Nextcloud bot
fbd97a9439
[tx-robot] updated from transifex 2018-01-06 01:40:46 +00:00
Nextcloud bot
ee811e2749
[tx-robot] updated from transifex 2018-01-05 14:58:54 +00:00
Tobias Kaminsky
9a9ea0af85
Merge branch 'master' into uploadsStorageManagerNPE 2018-01-05 13:11:30 +01:00
Tobias Kaminsky
7a997c0544
Merge branch 'master' into notificationManager 2018-01-05 11:39:33 +01:00
Tobias Kaminsky
38d6706ea6
Merge branch 'master' into NotificationActivity 2018-01-05 10:58:34 +01:00
Tobias Kaminsky
b7370297e7
Merge branch 'master' into mFileNeverNull 2018-01-05 10:41:26 +01:00
Tobias Kaminsky
0b22058db3
Merge branch 'master' into screenshots 2018-01-05 10:29:23 +01:00
Tobias Kaminsky
b41962da42
Merge branch 'master' into screenshots 2018-01-05 09:15:10 +01:00
tobiasKaminsky
f8efb31a27
code formatting 2018-01-05 08:48:53 +01:00
tobiasKaminsky
8d6e32b43d
extraText can be null
getWindow can be null
action bar can be null
getType() or getAction on intent can be null
code enhancements
2018-01-05 08:48:53 +01:00
Nextcloud bot
cfa9bfe700
[tx-robot] updated from transifex 2018-01-05 01:41:24 +00:00
Mario Danic
8a865ee638 Fix 1911
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-04 22:22:30 +01:00
Tobias Kaminsky
eb0028d2cf
Merge branch 'master' into autoUploadWithoutPermission 2018-01-04 12:18:46 +01:00
Nextcloud bot
a86c3bfa5b
[tx-robot] updated from transifex 2018-01-04 11:15:53 +00:00
Tobias Kaminsky
0863719f46
Merge branch 'master' into fdroidMetadata 2018-01-04 10:52:39 +01:00
Tobias Kaminsky
d341b89eef
Update strings.xml 2018-01-04 10:39:41 +01:00
Nextcloud bot
7de5242a26
[tx-robot] updated from transifex 2018-01-04 01:33:44 +00:00
tobiasKaminsky
37ce53db5c
minor code cleanup 2018-01-03 10:12:10 +01:00
tobiasKaminsky
a6474c32aa
make auto upload safe with no storage permission 2018-01-03 10:06:17 +01:00
tobiasKaminsky
c3a0a38db1
account possible can be null 2018-01-03 08:38:54 +01:00
tobiasKaminsky
d5f0aa7db1
account possible can be null 2018-01-03 08:35:32 +01:00
Nextcloud bot
ec246eac59
[tx-robot] updated from transifex 2018-01-03 01:31:19 +00:00
tobiasKaminsky
576fb79f67
get notification manager if it does not exist 2018-01-02 15:05:51 +01:00
tobiasKaminsky
b4b2500b75
mFiles is never null 2018-01-02 13:07:33 +01:00
tobiaskaminsky
7d8633a0bc
prevent NPE 2018-01-02 11:51:03 +01:00
tobiasKaminsky
f6c7ccfedc
add mocked devices for phone and tablet 2018-01-02 09:37:37 +01:00
tobiasKaminsky
ba18ef206f
add davdroid screenshot
add translation
2018-01-02 09:37:31 +01:00
Nextcloud bot
ad6509bdb5
[tx-robot] updated from transifex 2018-01-02 07:40:51 +00:00
Nextcloud bot
6f27269f47
[tx-robot] updated from transifex 2018-01-02 01:31:44 +00:00
Nextcloud bot
deada3f594
[tx-robot] updated from transifex 2018-01-01 01:31:26 +00:00
Nextcloud bot
df15f85cfe
[tx-robot] updated from transifex 2017-12-31 01:32:03 +00:00
Nextcloud bot
e5f8ef7df0
[tx-robot] updated from transifex 2017-12-30 01:32:33 +00:00
tobiasKaminsky
0d9386a52d
rebas 2017-12-29 08:58:52 +01:00
tobiasKaminsky
33a8af0fca
resolve merge conflicts 2017-12-29 08:57:07 +01:00
tobiasKaminsky
1b200a5bad
versionDev as flavor 2017-12-29 08:56:40 +01:00
Nextcloud bot
56685d9b5a
[tx-robot] updated from transifex 2017-12-29 01:28:51 +00:00
Mario Đanić
3ebc31db17
Merge pull request #1792 from nextcloud/combineSendShare
Combine send share
2017-12-29 00:54:47 +01:00
Mario Đanić
df67ba4149
Merge pull request #1862 from nextcloud/lastRTL
Lint: last RTL
2017-12-29 00:53:06 +01:00
Mario Đanić
2fc82eef67
Merge pull request #1885 from nextcloud/fix-1877
Clicking checkbox image should also check list item
2017-12-29 00:52:45 +01:00
Mario Đanić
c4e6c3a172
Merge pull request #1883 from nextcloud/codacy
Fix further codacy issues
2017-12-29 00:52:23 +01:00
Mario Đanić
c11478c983
Merge pull request #1861 from nextcloud/unusedResources
Lint: remove unused resources
2017-12-29 00:52:08 +01:00
Nextcloud bot
95a1d69d39
[tx-robot] updated from transifex 2017-12-28 01:29:21 +00:00
tobiasKaminsky
b307c6b7cc
remove unused resources 2017-12-27 13:24:46 +01:00
tobiasKaminsky
0cd81c31b4
last RTL 2017-12-27 13:17:14 +01:00
AndyScherzinger
88df7842e5
fixes #1877 - click checkbox image should also check list item 2017-12-27 12:55:57 +01:00
AndyScherzinger
abcf14ec4a
fix lint: remove sdk<14 check 2017-12-27 12:53:48 +01:00
AndyScherzinger
73cba5519c
fixes after rebase 2017-12-27 12:53:48 +01:00
AndyScherzinger
ae24c3c534
fix some lint issues 2017-12-27 12:53:47 +01:00
AndyScherzinger
b8260646da
add content description to activity icon 2017-12-27 12:53:47 +01:00
AndyScherzinger
ab575359f6
remove unused translation 2017-12-27 12:53:46 +01:00
AndyScherzinger
c42f2d4d61
extract theming method 2017-12-27 12:53:46 +01:00
Tobias Kaminsky
adf12d2222
Update SendShareDialog.java
fix c&p mistake
2017-12-27 12:53:45 +01:00