Commit graph

2052 commits

Author SHA1 Message Date
tobiaskaminsky
373b999806
fix potential NPE 2018-01-15 08:11:57 +01:00
tobiaskaminsky
21a04b1bfe
delete local keys on account removal 2018-01-15 08:11:57 +01:00
tobiaskaminsky
128f3c97c8
ignore whitespaces in password 2018-01-15 08:11:57 +01:00
tobiaskaminsky
64221ece39
use new user agent 2018-01-15 08:11:57 +01:00
tobiaskaminsky
bba88d48de
enable logger, disable prior merge 2018-01-15 08:11:56 +01:00
tobiaskaminsky
1fe5c99d87
add cancel button 2018-01-15 08:11:56 +01:00
tobiaskaminsky
54ea7d9bcf
use nextcloud user agent for E2e calls 2018-01-15 08:11:56 +01:00
tobiaskaminsky
f3c3e1ca80
extract string and reword 2018-01-15 08:11:56 +01:00
tobiaskaminsky
debd89ed93
show info that mnemonic needs to be written down 2018-01-15 08:11:56 +01:00
tobiasKaminsky
d52baebb94
merge 2018-01-15 08:11:56 +01:00
tobiasKaminsky
21fd05af8c
codacy 2018-01-15 08:11:55 +01:00
tobiasKaminsky
9a7d59a1af
merge 2018-01-15 08:11:55 +01:00
tobiasKaminsky
17b1088ced
description, remove todo, suppress lint warning 2018-01-15 08:11:55 +01:00
tobiasKaminsky
917189f3ca
append salt to private key 2018-01-15 08:11:55 +01:00
tobiasKaminsky
d6b9f7e54b
immediately store folder token 2018-01-15 08:11:55 +01:00
tobiasKaminsky
9996753032
rebase 2018-01-15 08:11:55 +01:00
tobiasKaminsky
d06ef53659
change iv/key handling 2018-01-15 08:11:54 +01:00
tobiasKaminsky
1293217da6
- rebased -> changed db numbers
- deleted old file
- add proper resume on folder lock
2018-01-15 08:11:54 +01:00
tobiasKaminsky
4e6c886cbb
store & re-use token for retry of failed encrypted upload 2018-01-15 08:11:54 +01:00
tobiasKaminsky
e2ed7a6a1a
versionCode/versionName 2018-01-15 08:11:54 +01:00
tobiasKaminsky
0abe4efd37
codacy 2018-01-15 08:11:54 +01:00
tobiasKaminsky
5637d7d366
changes due to rebase 2018-01-15 08:11:54 +01:00
tobiasKaminsky
71304fe236
better random 2018-01-15 08:11:53 +01:00
tobiasKaminsky
b838210720
wip 2018-01-15 08:11:53 +01:00
tobiasKaminsky
2ca5727975
split up large method - part 1 2018-01-15 08:11:53 +01:00
Jan-Christoph Borchardt
45bcdebd9d
First release of E2E 2018-01-15 08:11:53 +01:00
AndyScherzinger
eb667c9831
bump version to 2.0.0RC9 2018-01-15 08:11:53 +01:00
tobiasKaminsky
9b1b89cd3c
always use new key/iv
cleanup
2018-01-15 08:11:53 +01:00
tobiasKaminsky
e1df7d32cc
fix codacy 2018-01-15 08:11:53 +01:00
Jan-Christoph Borchardt
6caf0834ce
First release of E2E 2018-01-15 08:11:53 +01:00
tobiasKaminsky
f175706ab0
immediately show correct infos about uploaded file 2018-01-15 08:11:52 +01:00
tobiasKaminsky
22701416bf
change iv/key handling 2018-01-15 08:11:52 +01:00
tobiasKaminsky
020333affc
- rebased -> changed db numbers
- deleted old file
- add proper resume on folder lock
2018-01-15 08:11:52 +01:00
tobiasKaminsky
b3f0fd3c17
correct appending of (2), (3), and so on 2018-01-15 08:11:52 +01:00
tobiasKaminsky
ade5bfe226
store & re-use token for retry of failed encrypted upload 2018-01-15 08:11:52 +01:00
tobiasKaminsky
7bb8a28bd6
if image is encrypted -> download file as no resized image is possible 2018-01-15 08:11:52 +01:00
tobiasKaminsky
8361848583
versionCode/versionName 2018-01-15 08:11:51 +01:00
tobiasKaminsky
cca39f888a
codacy 2018-01-15 08:11:51 +01:00
tobiasKaminsky
ebb4ffc489
changes due to rebase 2018-01-15 08:11:51 +01:00
tobiasKaminsky
14e66fed69
use only CN 2018-01-15 08:11:51 +01:00
tobiasKaminsky
042d0ea23a
better random 2018-01-15 08:11:51 +01:00
tobiasKaminsky
cd0bebf45e
wip 2018-01-15 08:11:51 +01:00
tobiasKaminsky
590e617c8a
split up large method - part 1 2018-01-15 08:11:51 +01:00
Jan-Christoph Borchardt
34f198cc48
First release of E2E 2018-01-15 08:11:50 +01:00
AndyScherzinger
e87bf739cf
bump version to 2.0.0RC9 2018-01-15 08:11:50 +01:00
tobiaskaminsky
ff7cf4ad12
Set CN to userID 2018-01-15 08:11:50 +01:00
tobiasKaminsky
50b56bc09f
use pem for private key 2018-01-15 08:11:50 +01:00
ardevd
c534d603c7
e2e: Cleaned up cipher transformation arguments.
- Define commonly used transformation specs in constants.
2018-01-15 08:11:50 +01:00
tobiasKaminsky
275ec70658
codacy: Avoid reassigning parameters such as 'remotePath'
Switch statements should have a default label
2018-01-15 08:11:50 +01:00
tobiasKaminsky
58b7f33a48
codacy: assertTrue -> assertFalse
use specific exceptions
add missing break
2018-01-15 08:11:50 +01:00
tobiasKaminsky
fab1f4b23e
always use new key/iv
cleanup
2018-01-15 08:11:50 +01:00
tobiasKaminsky
9848c1dc28
setup: in case of error show message and let user retry 2018-01-15 08:11:49 +01:00
tobiasKaminsky
febe6b60c0
fix codacy 2018-01-15 08:11:49 +01:00
Jan-Christoph Borchardt
b6e84b66fd
First release of E2E 2018-01-15 08:11:49 +01:00
Nextcloud bot
de2e7942f1
[tx-robot] updated from transifex 2018-01-15 01:39:52 +00:00
Nextcloud bot
a853724015
[tx-robot] updated from transifex 2018-01-14 01:40:24 +00:00
tobiaskaminsky
42c2d58a63
remove unused resource
Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-13 09:58:59 +01:00
Nextcloud bot
c63abd886d
[tx-robot] updated from transifex 2018-01-13 01:39:00 +00:00
Mario Đanić
ba589e3a7e
Merge pull request #1946 from nextcloud/fix-1837
Add notifications on sync failure
2018-01-12 18:05:05 +01:00
tobiasKaminsky
470425cada
revert package visibility 2018-01-12 08:31:03 +01:00
tobiaskaminsky
cc0130aac0
prevent NPE
code enhancement
2018-01-12 08:30:50 +01:00
Nextcloud bot
83cfe5389f
[tx-robot] updated from transifex 2018-01-12 01:41:37 +00:00
Mario Danic
79fcaec2a6 Fixed all complaints
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-01-11 15:54:01 +01:00
tobiaskaminsky
d434674315
use interface
fix #1918

Signed-off-by: tobiaskaminsky <tobias@kaminsky.me>
2018-01-11 15:09:16 +01:00
tobiaskaminsky
110d4ae49b
if nextPageURL is empty/null do not load any more items, otherwise you get the first items again
if pageURL is null (when manually refreshing), then clear list
2018-01-11 13:51:51 +01:00
tobiasKaminsky
77e9e66a9c
add content description
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-01-11 12:16:55 +01:00
Bartosz Przybylski
f87bd26b92
Fix accessibility by setting content description 2018-01-11 12:16:55 +01:00
Bartosz Przybylski
2578f4a125
More member access modification and rearrange 2018-01-11 12:16:55 +01:00
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
tobiasKaminsky
5bf0075498
ellipsis with spaces 2018-01-11 11:41:47 +01:00
tobiasKaminsky
7e1cdda31a tint correctly on very first login 2018-01-11 11:04:15 +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
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