Commit graph

9501 commits

Author SHA1 Message Date
Bartosz Przybylski
e483fb8f68
More access modifiers fixes 2018-01-11 12:16:55 +01:00
Bartosz Przybylski
a43eadba02
Fix semi absurd codacy bot issues 2018-01-11 12:16:54 +01:00
Bartosz Przybylski
200d264424
Remove unused id and use standard margin 2018-01-11 12:16:54 +01:00
Bartosz Przybylski
23162c36bf
Remove containers in user info
Replace designated containers with Recycler And adapter.
2018-01-11 12:16:54 +01:00
Tobias Kaminsky
361b829070
move to headline
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-11 12:16:54 +01:00
Tobias Kaminsky
1d822ca658
update icon & text
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-11 12:16:54 +01:00
tobiaskaminsky
44c1c725c0
also show info on rotation 2018-01-11 12:16:54 +01:00
tobiaskaminsky
2a39e00f3b
show info if no userinfo is available 2018-01-11 12:16:54 +01:00
Mario Danic
129f44325d
Reformat
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 12:07:01 +01:00
Mario Danic
b64cfbde70
Add notifications on sync failure
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 12:07:01 +01:00
Tobias Kaminsky
f123a53da1
Merge pull request #1900 from nextcloud/ellipsis
Ellipsis with spaces
2018-01-11 12:04:50 +01:00
tobiasKaminsky
5bf0075498
ellipsis with spaces 2018-01-11 11:41:47 +01:00
Tobias Kaminsky
9ee0116827
Merge pull request #1889 from nextcloud/tintFirstStart
Tint correctly on very first login
2018-01-11 11:41:11 +01:00
tobiasKaminsky
7e1cdda31a tint correctly on very first login 2018-01-11 11:04:15 +01:00
Mario Đanić
84d2470014
Merge pull request #1947 from nextcloud/fix-permissions
Fix external storage permission
2018-01-11 10:33:25 +01:00
Mario Danic
5f94d65441 Use write contacts & read contacts
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 10:31:31 +01:00
Mario Danic
84477705bd Fix external storage permission
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 10:31:31 +01:00
Nextcloud bot
276b0301eb
[tx-robot] updated from transifex 2018-01-11 01:41:47 +00:00
Tobias Kaminsky
b6dde61c28 daily dev 20180111 2018-01-11 00:52:49 +01:00
Tobias Kaminsky
2a96607565
Merge pull request #1935 from nextcloud/maxSDK
Add max SDK to permissions
2018-01-10 11:52:55 +01:00
tobiaskaminsky
964faa54ec
add max SDK to permissions
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-10 10:27:35 +01:00
Tobias Kaminsky
758b960a85
Merge pull request #1860 from nextcloud/countMoved
Count moved & check for dev version
2018-01-10 10:27:06 +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
Tobias Kaminsky
5fd4ddc1bc daily dev 20180110 2018-01-10 00:52:17 +01:00
Tobias Kaminsky
40062a7d30
Merge pull request #1411 from vnidens/resharing_warning
UX: Enhance sharing when resharing is forbidden
2018-01-09 14:18:58 +01: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
Tobias Kaminsky
8e57107f87
Merge pull request #1839 from nextcloud/locales
Fix: implicitly using the default locale is a common source of bugs
2018-01-09 11:05:52 +01:00
nextcloud-android-bot
d724df86f8
Drone: update Lint results to reflect reduced error/warning count [skip ci] 2018-01-09 10:51:31 +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
Tobias Kaminsky
2a79029205
Merge pull request #1909 from nextcloud/bugfix/1903
Fixes #1903: Fix image scaling in navigation drawer
2018-01-09 10:48:38 +01:00
nextcloud-android-bot
7905a555d7
Drone: update Lint results to reflect reduced error/warning count [skip ci] 2018-01-09 10:30:20 +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
Tobias Kaminsky
11c9fa53a4
Merge pull request #1936 from nextcloud/preventAccountNPE
Prevent account NPE
2018-01-09 10:10:43 +01:00
tobiasKaminsky
213646cb41
prevent account NPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-09 09:52:29 +01:00
Tobias Kaminsky
ae2ac1c26d
Merge pull request #1571 from srkunze/issue-1508
Folder-Based Sort Order
2018-01-09 09:24:49 +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
Tobias Kaminsky
f993c0cd0f
Merge pull request #1932 from nextcloud/contactBackupRemoval
Contact backup removal
2018-01-09 08:48:28 +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