Commit graph

11375 commits

Author SHA1 Message Date
David Luhmer
96e79e71fb add more exceptions / improve error handling 2018-08-27 14:15:33 +02:00
David Luhmer
614982a642 add calling package name if it's not set (when validating auth token) 2018-08-27 12:57:02 +02:00
David Luhmer
0234e8097f validate tokens in a way that timing attacks are not possible 2018-08-27 11:35:20 +02:00
David Luhmer
57e7eee9ff remove check for package name as it can be faked easily 2018-08-27 11:34:44 +02:00
David Luhmer
97b924d545 add custom exception for unsupported http method call 2018-08-27 11:34:07 +02:00
David Luhmer
e84be102ff fix broken import of custom exceptions after refactoring 2018-08-27 11:19:52 +02:00
David Luhmer
e387edc696 Add custom exceptions to constants class as well 2018-08-27 11:13:52 +02:00
David Luhmer
dbef39c436 Use constants for username/token/url 2018-08-27 11:12:58 +02:00
David Luhmer
8133875769 create constants for custom exceptions 2018-08-27 11:05:56 +02:00
AndyScherzinger
f97b7e4ea1
place license header at the top of the file 2018-08-27 10:50:10 +02:00
Nextcloud bot
152d9dd9be
[tx-robot] updated from transifex 2018-08-27 00:46:37 +00:00
David Luhmer
ba89fcba8b Fix code quality issue / reorder statements 2018-08-25 18:03:56 +02:00
David Luhmer
7948876041 Fix more code quality issues 2018-08-25 11:34:34 +02:00
Nextcloud bot
ad02b952e7
[tx-robot] updated from transifex 2018-08-25 00:45:38 +00:00
Tobias Kaminsky
6e41733792 daily dev 20180825 2018-08-25 00:32:26 +02:00
David Luhmer
07a9e8c55f Fix code quality issues 2018-08-24 21:35:08 +02:00
David Luhmer
cdf3ec2680 fix everything @AndyScherzinger proposed 2018-08-24 17:47:17 +02:00
Andy Scherzinger
3e66d16498
Merge pull request #2890 from nextcloud/fixViewPager
Change to customeViewPager to catch error
2018-08-24 17:45:35 +02:00
David Luhmer
767ca18e5e add missing license headers 2018-08-24 17:45:31 +02:00
David Luhmer
89684052b8 fix refactoring of permissions (from owncloud to nextcloud) 2018-08-24 17:14:47 +02:00
tobiasKaminsky
1303db5fc7
replace log
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-08-24 17:05:37 +02:00
tobiasKaminsky
261e8a4d78
fix lint warning
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-08-24 17:05:37 +02:00
tobiasKaminsky
a9a42c8507
Change to customeViewPager to catch error
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-08-24 17:05:34 +02:00
Andy Scherzinger
dd81c26f34
Merge pull request #2892 from nextcloud/activityCapability
Use capability to check if activity app is enabled
2018-08-24 17:04:46 +02:00
AndyScherzinger
0c5b0202aa
fix CR 2018-08-24 16:55:21 +02:00
tobiasKaminsky
0160d50283
- centralize account
- default: show activity

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-08-24 16:50:08 +02:00
tobiasKaminsky
eaccdc83a5
fix typo
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-08-24 16:50:08 +02:00
tobiasKaminsky
97f050b799
use capability to check if activity app is enabled
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-08-24 16:50:07 +02:00
David Luhmer
e08cb4dec4 Merge branch 'master' into sso 2018-08-24 16:49:38 +02:00
Andy Scherzinger
75e0c21e76
Merge pull request #2918 from nextcloud/tilosp/remove-select-all-from-folderpicker
Fix the removal of "select all" from the folder picker
2018-08-24 16:26:02 +02:00
Andy Scherzinger
b780f50d54
Merge pull request #2924 from nextcloud/tilosp/remove-unused-class
Remove unused class UploadSourceDialogFragment
2018-08-24 16:21:41 +02:00
AndyScherzinger
eb2e914b67
remove unused strings due to removed dialog 2018-08-24 16:13:35 +02:00
Tilo Spannagel
72a5c215dc
Remove unused class UploadSourceDialogFragment
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-24 16:13:34 +02:00
Andy Scherzinger
f4905a1fcc
Merge pull request #2891 from nextcloud/cleanup
Cleanup class
2018-08-24 16:12:18 +02:00
AndyScherzinger
140d6f5fc0
update mockito to 2.2.5 2018-08-24 16:04:29 +02:00
tobiasKaminsky
eaf5924865
cleanup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2018-08-24 16:03:58 +02:00
Andy Scherzinger
4610ca8b00
Merge pull request #2911 from nextcloud/updateAndroidSvg
Fix SVG Display
2018-08-24 15:53:16 +02:00
AndyScherzinger
2d571558b7
update com.googlecode.ez-vcard to 0.10.4 2018-08-24 15:10:13 +02:00
AndyScherzinger
18b5d07ba0
codacy: combine nested if statements 2018-08-24 15:10:12 +02:00
AndyScherzinger
ea7cc4226b
fixes #2893 display SVG files 2018-08-24 15:10:12 +02:00
AndyScherzinger
cb109a0faa
update com.caverock:androidsvg to 1.3 2018-08-24 15:10:09 +02:00
Andy Scherzinger
5eb79b831d
Merge pull request #2903 from nextcloud/codeCovThreshold
Codecov: set threshold
2018-08-24 15:09:11 +02:00
Andy Scherzinger
bd45bda0ee
Merge pull request #2872 from nextcloud/fixNPEduringFilesSync
Fix npe during files sync
2018-08-24 15:08:32 +02:00
Nextcloud bot
8a986dc616
[tx-robot] updated from transifex 2018-08-24 00:47:24 +00:00
Tobias Kaminsky
b0a3d09eb4 daily dev 20180824 2018-08-24 00:32:07 +02:00
Tilo Spannagel
e6bfdcf158
Fix the removal of "select all" from the folder picker
Before the wrong id for the menu entry was used

Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-23 14:12:17 +02:00
Andy Scherzinger
a7f6430fc7
Merge pull request #2915 from nextcloud/tilosp/fix-select-all
Fix the select all button in the file picker
2018-08-23 13:20:41 +02:00
Tilo Spannagel
a21c35f7ca
Fix the select all button in the file picker
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-23 12:11:38 +02:00
Nextcloud bot
d35a76710a
[tx-robot] updated from transifex 2018-08-23 00:50:32 +00:00
Tobias Kaminsky
0cbcca90f4 daily dev 20180823 2018-08-23 00:32:03 +02:00