Andy Scherzinger
23c9ea0cf4
Merge pull request #3790 from nextcloud/private-constructor-in-util-classes
...
Added private constructors to hide implicit public ones.
2019-03-27 08:57:35 +01:00
Tobias Kaminsky
9b7a354c2e
daily dev 20190327
2019-03-27 03:33:33 +01:00
Nextcloud bot
43ccc1f39f
[tx-robot] updated from transifex
2019-03-27 01:45:03 +00:00
ardevd
37165b2ac5
Added private constructors to hide implicit public ones.
...
Utility classes, which are collections of static members, are not meant to be instantiated. Even abstract utility classes, which can be extended, should not have public constructors.
Java adds an implicit public constructor to every class which does not define at least one explicitly. Hence, at least one non-public constructor should be defined.
Signed-off-by: ardevd <edvard.holst@gmail.com>
2019-03-26 22:32:25 +01:00
ardevd
878de49381
Merge branch 'authtokentype_always_null' of github.com:nextcloud/android into authtokentype_always_null
...
Signed-off-by: ardevd <edvard.holst@gmail.com>
2019-03-26 14:35:09 +01:00
ardevd
b96414d794
files: avoid possible dereference of null pointer.
...
it seems the `capability` object can be null. In which case it is probably a bad idea to pass a null object into `getRichDocumentsDirectEditing()`.
Signed-off-by: ardevd <edvard.holst@gmail.com>
2019-03-26 14:34:29 +01:00
ardevd
dd04bf9e93
authentication: Added missing variable assignment.
...
The `mAuthTokenType` variable is declared and assigned a null value but no value is subsequently assigned, making the null check later on redundant. The `AccountAuthenticator.KEY_AUTH_TOKEN_TYPE` extra value should therefore be assigned the `mAuthTokenType` value I'm assuming.
Signed-off-by: ardevd <edvard.holst@gmail.com>
2019-03-26 14:31:59 +01:00
Andy Scherzinger
628c80fa9d
Merge pull request #3786 from nextcloud/trywith-resources
...
ui:activity: Properly close InputStreamReader.
2019-03-26 13:03:29 +01:00
ardevd
333bb0f0f3
authentication: Added missing variable assignment.
...
The `mAuthTokenType` variable is declared and assigned a null value but no value is subsequently assigned, making the null check later on redundant. The `AccountAuthenticator.KEY_AUTH_TOKEN_TYPE` extra value should therefore be assigned the `mAuthTokenType` value I'm assuming.
2019-03-26 11:28:59 +01:00
ardevd
1f11845d35
Revert auto-formatting fixes
...
Signed-off-by: ardevd <edvard.holst@gmail.com>
2019-03-26 11:19:31 +01:00
ardevd
b1def8cae5
ui:activity: Properly close InputStreamReader.
...
The InputStreamReader needs to be closed after use. Ideally, use try-with-resources instead.
Signed-off-by: ardevd <edvard.holst@gmail.com>
2019-03-26 11:19:07 +01:00
Nextcloud bot
c739114c55
[tx-robot] updated from transifex
2019-03-26 01:43:09 +00:00
Nextcloud bot
8c066c99ff
[tx-robot] updated from transifex
2019-03-25 01:45:40 +00:00
Nextcloud bot
9c992d98ff
[tx-robot] updated from transifex
2019-03-24 01:46:58 +00:00
Tobias Kaminsky
10840d9e2c
daily dev 20190323
2019-03-23 03:33:32 +01:00
Nextcloud bot
6acb39ed56
[tx-robot] updated from transifex
2019-03-23 01:45:08 +00:00
Nextcloud bot
272316512c
[tx-robot] updated from transifex
2019-03-22 08:45:00 +00:00
Andy Scherzinger
3f392964bf
Merge pull request #3771 from nextcloud/moveSharedPref
...
Combine sharedPreferences in MainApp
2019-03-22 08:55:11 +01:00
Andy Scherzinger
d29cd223d4
Merge pull request #3780 from nextcloud/firstRunWizard
...
UI improvement on first run
2019-03-22 08:51:20 +01:00
tobiasKaminsky
1b2c41b7e4
combine sharedPreferences in MainApp
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-22 08:47:36 +01:00
Andy Scherzinger
4ab17b5b7c
Merge pull request #3325 from nextcloud/codeFormatting
...
Export code style
2019-03-22 08:38:06 +01:00
Andy Scherzinger
5dc3faae90
Merge pull request #3768 from nextcloud/furtherHardening
...
further hardening of SSO
2019-03-22 08:32:30 +01:00
Tobias Kaminsky
32cad19a56
Merge pull request #3758 from nextcloud/ezaquarii/integrate-dagger-2
...
Integrate Dagger 2
2019-03-22 08:08:40 +01:00
tobiasKaminsky
65d8129971
removed two not-needed initializations for appPreferences
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-22 07:50:15 +01:00
nextcloud-android-bot
719012ff81
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
...
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2019-03-22 07:50:15 +01:00
Chris Narkiewicz
8fbe2ee38e
Integrate Dagger 2
...
Closes #3751
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
2019-03-22 07:50:15 +01:00
Tobias Kaminsky
d26d56a853
Merge pull request #3778 from nextcloud/NC12minimumSupported
...
Increase minimum server version
2019-03-22 07:42:49 +01:00
tobiasKaminsky
96f4ba8c5a
use N12 for minimum
...
warn if older than NC14
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-22 07:30:36 +01:00
Nextcloud bot
6be7876c05
[tx-robot] updated from transifex
2019-03-22 01:46:44 +00:00
Andy Scherzinger
e2ae6298f1
Merge pull request #3779 from nextcloud/uploadAfterFolderCreation
...
ReceiveExternalFiles: fix no upload possible after creation new folder
2019-03-21 19:39:06 +01:00
tobiasKaminsky
f99c7f2ddd
ReceiveExternalFiles:
...
- fix no upload possible after creation new folder
- obey canWrite permission for folder creation
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-21 15:04:39 +01:00
Tobias Kaminsky
dbad1aa991
Merge pull request #3777 from nextcloud/allowStateLoss
...
Allowing state loss when closing dialog while stopping activity
2019-03-21 10:39:16 +01:00
Andy Scherzinger
86abe6f18d
Fixes #3776 - allowing state loss when closing dialog while stopping activity
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-03-21 10:01:40 +01:00
Andy Scherzinger
4cb11f4ccf
Merge pull request #3772 from nextcloud/check500charLimit
...
Check for 500 char limit
2019-03-21 08:44:00 +01:00
Andy Scherzinger
60c7c3b24a
Merge pull request #3773 from nextcloud/consistentDelete
...
Also favorited files can be deleted locally
2019-03-21 07:52:33 +01:00
tobiasKaminsky
3de3904ea0
check for 500 char limit
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-21 07:44:22 +01:00
Tobias Kaminsky
2e9b2c9dd6
daily dev 20190321
2019-03-21 03:33:20 +01:00
Nextcloud bot
92eecb8069
[tx-robot] updated from transifex
2019-03-21 01:54:50 +00:00
tobiasKaminsky
fd45854d65
also favorited files can be deleted locally
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-20 11:00:32 +01:00
Andy Scherzinger
01acf6598d
Merge pull request #3121 from nextcloud/showNote
...
Show note
2019-03-20 10:01:33 +01:00
tobiasKaminsky
92bbcfb973
show notes on receiving shares
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-20 08:20:37 +01:00
Tobias Kaminsky
7c28461679
daily dev 20190320
2019-03-20 03:33:18 +01:00
Tobias Kaminsky
23c0ca50ef
Merge pull request #3756 from nextcloud/2806-lock
...
Rephrase term "Lock"
2019-03-19 08:45:18 +01:00
Tobias Kaminsky
bb6324ca97
daily dev 20190319
2019-03-19 03:34:16 +01:00
tobiasKaminsky
c52f9c842f
further hardening, include account name to check
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-18 12:33:40 +01:00
Andy Scherzinger
87328065b6
Merge pull request #3761 from nextcloud/dependabot/gradle/org.mockito-mockito-core-2.25.1
...
Bump mockito-core from 2.25.0 to 2.25.1
2019-03-18 08:57:33 +01:00
Andy Scherzinger
34863f87da
Merge pull request #3764 from nextcloud/changelog351
...
add 3.5.1 changelog
2019-03-18 08:56:24 +01:00
tobiasKaminsky
139ee24cea
add 3.5.1 changelog
...
removed old (unneeded) 3.2.1 changelog, as this is included in changelog.md
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-03-18 08:12:52 +01:00
dependabot[bot]
3c66847f14
Bump mockito-core from 2.25.0 to 2.25.1
...
Bumps [mockito-core](https://github.com/mockito/mockito ) from 2.25.0 to 2.25.1.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v2.25.0...v2.25.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-18 02:14:13 +00:00
Nextcloud bot
3395ceb069
[tx-robot] updated from transifex
2019-03-18 01:52:10 +00:00