Commit graph

13279 commits

Author SHA1 Message Date
Andy Scherzinger
783e28365d
codacy: Avoid using Literals in Conditional Statements
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-23 09:16:44 +02:00
Andy Scherzinger
c0b76e33ec
codacy: Avoid declaring a variable if it is unreferenced before a possible exit point.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-23 09:12:33 +02:00
Andy Scherzinger
c51db8b1cd
codacy: Avoid unused imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-23 08:45:52 +02:00
Andy Scherzinger
5a1b5ed5cf
codacy: Avoid really long methods.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-23 08:23:36 +02:00
Andy Scherzinger
d2c9e3273f
codacy: These nested if statements could be combined
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-23 08:23:35 +02:00
Andy Scherzinger
d445be1b5f
codacy: Avoid using implementation types like 'ArrayList'; use the interface instead
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-23 08:23:27 +02:00
Tobias Kaminsky
331edcb69c
fix possible NPE on stopping contact backup job (#4387)
fix possible NPE on stopping contact backup job
2019-08-23 07:45:56 +02:00
Tobias Kaminsky
88714c1c9f
moved multiple account dialog to recyclerview (#4381)
moved multiple account dialog to recyclerview
2019-08-23 07:45:38 +02:00
tobiasKaminsky
6ec0186bbf
moved multiple account dialog to recyclerview
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-23 07:34:00 +02:00
tobiasKaminsky
f5ca834e07
fix possible NPE on stopping contact backup job
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-23 07:27:41 +02:00
Nextcloud bot
42d3aa928f
[tx-robot] updated from transifex 2019-08-23 03:10:36 +00:00
Tobias Kaminsky
b411f02234 daily dev 20190823
eef663412 Merge pull request #4382 from nextcloud/dependabot/gradle/kotlin_version-1.3.50
911c3abeb Bump kotlin_version from 1.3.41 to 1.3.50
166002410 Merge pull request #4360 from nextcloud/as350
0fae1b7ba throttle avatar lookup (#4372)
fa0bd0413 throttle avatar lookup
6dfee6bd5 Npe in get sharees (#4370)
656628ce3 fix shared view (#4373)
22472918b Do not use NContentObserverJob in DI for now (#4374)
afae2a448 Do not use NContentObserverJob in DI for now
44698f6c9 Fix npe in sharees lookup
179b14cb6 fix shared view
4411f22cd update due to Android Studio 3.5.0
b94647a68 [tx-robot] updated from transifex
b3b99b8f4 daily dev 20190822
2019-08-23 03:39:00 +02:00
Andy Scherzinger
eef663412a
Merge pull request #4382 from nextcloud/dependabot/gradle/kotlin_version-1.3.50
Bump kotlin_version from 1.3.41 to 1.3.50
2019-08-22 22:48:27 +02:00
dependabot-preview[bot]
911c3abeb0
Bump kotlin_version from 1.3.41 to 1.3.50
Bumps `kotlin_version` from 1.3.41 to 1.3.50.

Updates `kotlin-gradle-plugin` from 1.3.41 to 1.3.50
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `kotlin-stdlib-jdk7` from 1.3.41 to 1.3.50
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-22 17:09:04 +00:00
Andy Scherzinger
1660024105
Merge pull request #4360 from nextcloud/as350
Update due to Android Studio 3.5.0
2019-08-22 19:05:22 +02:00
Tobias Kaminsky
0fae1b7ba3
throttle avatar lookup (#4372)
throttle avatar lookup
2019-08-22 15:13:06 +02:00
tobiasKaminsky
fa0bd04139
throttle avatar lookup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-22 14:42:07 +02:00
Tobias Kaminsky
6dfee6bd59
Npe in get sharees (#4370)
Npe in get sharees
2019-08-22 14:35:16 +02:00
Tobias Kaminsky
656628ce3c
fix shared view (#4373)
fix shared view
2019-08-22 14:35:03 +02:00
Tobias Kaminsky
22472918b2
Do not use NContentObserverJob in DI for now (#4374)
Do not use NContentObserverJob in DI for now
2019-08-22 14:34:07 +02:00
tobiasKaminsky
afae2a448f
Do not use NContentObserverJob in DI for now
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-22 11:03:55 +02:00
tobiasKaminsky
44698f6c90
Fix npe in sharees lookup
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-22 10:35:37 +02:00
tobiasKaminsky
179b14cb6b
fix shared view
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-22 09:33:36 +02:00
tobiasKaminsky
4411f22cd5
update due to Android Studio 3.5.0
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-22 08:10:56 +02:00
Nextcloud bot
b94647a681
[tx-robot] updated from transifex 2019-08-22 03:05:19 +00:00
Tobias Kaminsky
b3b99b8f42 daily dev 20190822
903b38c18 [tx-robot] updated from transifex
7a29f488e Sharees will be in NC17 (#4284)
39cb5d917 sharees will be in NC17 later initialization of storageManager add support for groups catch potential wrong saved sharee date
66a889825 Connectivity check: no need to use owncloudClient (#4344)
6473e7ed7 fix unit tests
0d65c295f [tx-robot] updated from transifex
9da4251ee daily dev 20190821
2019-08-22 03:37:20 +02:00
Nextcloud bot
903b38c18d
[tx-robot] updated from transifex 2019-08-21 12:59:59 +00:00
Tobias Kaminsky
7a29f488e3
Sharees will be in NC17 (#4284)
Sharees will be in NC17
2019-08-21 13:21:12 +02:00
tobiasKaminsky
39cb5d9179
sharees will be in NC17
later initialization of storageManager
add support for groups
catch potential wrong saved sharee date

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-21 13:05:52 +02:00
Tobias Kaminsky
66a889825e
Connectivity check: no need to use owncloudClient (#4344)
Connectivity check: no need to use owncloudClient
2019-08-21 07:57:00 +02:00
tobiasKaminsky
6473e7ed76
fix unit tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-21 07:45:20 +02:00
Nextcloud bot
0d65c295f3
[tx-robot] updated from transifex 2019-08-21 03:07:21 +00:00
Tobias Kaminsky
9da4251ee6 daily dev 20190821
b36067d45 Merge pull request #4294 from AlexNi245/#2216-activity-data-divers-design
962401940 activity header has now the same font size as a activity element
fa115658b fixed issue  Avoid reassigning parameters such as 'itemPosition'
5a3db5ef2 replace do while loop in getHeaderPositionForItem with while loop
1dd2a5a71 change naming of Canvas c to Canvas canvas
f4e964e46 change class name of ActivityListItemDecoration to StickyHeaderItemDecoration, which is more generic
52a7ffe01 add license text
6ffa9d08f remove duplicate entry of setContentView
cdd5d38d3 add getHeaderPositionForItem unit test
0ac5a8bce add static import for com.owncloud.android.lib.resources.activities.model.Activity;
4ea9667c0 unit test for isHeader(int pos)
b61f9e02a format ActivityListAdapter
9012f43e8 set visibility from ActivityViewHeaderHolder back to protected
7a30070be remove unnecessary TAG field and replace nested if statement with && to fix codeacy-bot issues
a26a89504 apply changes to java doc
c41dd38ef optimize imports
b4764f7f6 remove unnecessary files
792a6b95a finish implementation of sticky header implementation. This feature was created according to the this implementation : https://stackoverflow.com/questions/32949971/how-can-i-make-sticky-headers-in-recyclerview-without-external-lib
13e7aff0a increase height of header element and set backgroundcolor to white
a184345c1 first implementation of sticky header logic.
cd3d8dca1 start to implement sticky header behavior
259e10630 Merge pull request #4355 from nextcloud/drawer
caf1842f4 drawer: show only server address
cb7d4a38a revert to old image (#4356)
7e44feced revert to old image
f7c4eecf2 Merge pull request #4345 from nextcloud/push
a3fda5aa7 no need to use owncloudClient
9a023c649 Check if app is excluded from battery optimization (#3589)
527c5dbc9 Use conscrypt (#4314)
6014e90df use conscrypt
5373660f9 Provide a banal 'paste' postmessage implementation. (#4189)
68cebf83d revert DeviceModule back to Kotlin
969ce78e0 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
f26095f00 Merge pull request #4245 from fogninid/fixUploadListComparator
e72a789e6 show on special vendors "disable power check" in auto upload menu - tint button - change logic when to show battery warning
c8173c31c Use reloading on photo view (#2250)
c38dcf343 Delete temp file on receive external files (#4349)
c155edf6f Merge pull request #4347 from nextcloud/blacklistThumbnail
a03ff8479 daily dev 20190820
2019-08-21 03:36:51 +02:00
Andy Scherzinger
b36067d458
Merge pull request #4294 from AlexNi245/#2216-activity-data-divers-design
Activity data dividers
2019-08-20 17:05:56 +02:00
nextcloud-android-bot
8a30677577 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2019-08-20 14:59:49 +00:00
tobiasKaminsky
251bb3ae19
no need to use owncloudClient
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-08-20 16:54:10 +02:00
alex
9624019404
activity header has now the same font size as a activity element
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:33 +02:00
alex
fa115658b3
fixed issue Avoid reassigning parameters such as 'itemPosition'
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:32 +02:00
alex
5a3db5ef2b
replace do while loop in getHeaderPositionForItem with while loop
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:31 +02:00
alex
1dd2a5a71c
change naming of Canvas c to Canvas canvas
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:30 +02:00
alex
f4e964e46e
change class name of ActivityListItemDecoration to StickyHeaderItemDecoration, which is more generic
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:29 +02:00
alex
52a7ffe01a
add license text
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:27 +02:00
alex
6ffa9d08fa
remove duplicate entry of setContentView
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:26 +02:00
alex
cdd5d38d3d
add getHeaderPositionForItem unit test
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:25 +02:00
alex
0ac5a8bcec
add static import for com.owncloud.android.lib.resources.activities.model.Activity;
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:24 +02:00
alex
4ea9667c06
unit test for isHeader(int pos)
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:23 +02:00
alex
b61f9e02a2
format ActivityListAdapter
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:22 +02:00
alex
9012f43e86
set visibility from ActivityViewHeaderHolder back to protected
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:21 +02:00
alex
7a30070be9
remove unnecessary TAG field and replace nested if statement with && to fix codeacy-bot issues
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:19 +02:00
alex
a26a895047
apply changes to java doc
Signed-off-by: alex <alex.plutta@googlemail.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2019-08-20 16:48:18 +02:00