Skip to content

Change sharees format - #325

Merged
tobiasKaminsky merged 1 commit into
masterfrom
adaptSharees
Aug 21, 2019
Merged

Change sharees format#325
tobiasKaminsky merged 1 commit into
masterfrom
adaptSharees

Conversation

@tobiasKaminsky

@tobiasKaminskytobiasKaminsky commented Jul 31, 2019

Copy link
Copy Markdown
Member

Needs: nextcloud/server#14429
Only merge if this is in NC17, otherwise change it.

Needs new server image, as it needs
user1, displayName: "User One"
user2, displayName: "User Two"
users group: with user1, user2

Signed-off-by: tobiasKaminsky tobias@kaminsky.me

@codecov

codecovBot commented Jul 31, 2019

Copy link
Copy Markdown

Codecov Report

Merging #325 into master will increase coverage by 3.79%.
The diff coverage is 50%.

@@ Coverage Diff @@## master #325 +/- ##
==========================================
+ Coverage 21.58% 25.38% +3.79% 
==========================================
Files 117 118 +1 Lines 5166 5220 +54 Branches 701 711 +10 ==========================================
+ Hits 1115 1325 +210 + Misses 3921 3735 -186 - Partials 130 160 +30
Impacted FilesCoverage Δ
...owncloud/android/lib/resources/shares/OCShare.java26.6% <0%> (+26.6%)⬆️
...android/lib/common/operations/RemoteOperation.java9.52% <0%> (ø)⬆️
...cloud/android/lib/resources/shares/ShareeUser.java18.18% <18.18%> (ø)
...ncloud/android/lib/resources/shares/ShareType.java69.56% <30%> (+69.56%)⬆️
.../android/lib/resources/files/model/RemoteFile.java41.5% <33.33%> (+0.94%)⬆️
...ncloud/android/lib/common/network/WebdavEntry.java72.36% <82.35%> (+2.9%)⬆️
...ces/shares/ShareToRemoteOperationResultParser.java41.93% <0%> (+41.93%)⬆️
...d/android/lib/resources/shares/ShareXMLParser.java47.82% <0%> (+47.82%)⬆️
... and 2 more

AndyScherzinger
AndyScherzinger previously approved these changes Aug 1, 2019
AndyScherzinger
AndyScherzinger previously approved these changes Aug 6, 2019
@tobiasKaminsky

Copy link
Copy Markdown
MemberAuthor

IT test failed: kaminsky.me/nc-dev/library-integrationTests/1155

This currently cannot work as server PR needs first to be merged.

AndyScherzinger
AndyScherzinger previously approved these changes Aug 19, 2019
}

private @Nullable
ShareeUser createShareeUser(Element element) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be a single line

private @Nullable ShareeUser createShareeUser(Element element) {

AndyScherzinger
AndyScherzinger previously approved these changes Aug 20, 2019

@AndyScherzingerAndyScherzinger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a minor formatting comment

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Lint

TypemasterPR
Warnings00
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings15
Correctness Warnings43
Internationalization Warnings6
Malicious code vulnerability Warnings7
Multithreaded correctness Warnings3
Performance Warnings16
Security Warnings17
Dodgy code Warnings81
Total188

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings14
Correctness Warnings40
Internationalization Warnings6
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings3
Performance Warnings16
Security Warnings17
Dodgy code Warnings81
Total181

SpotBugs increased!

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

@tobiasKaminsky
tobiasKaminskyforce-pushed the adaptSharees branch 3 times, most recently from 69b1246 to 828e6a9CompareAugust 20, 2019 14:48
@nextcloudnextcloud deleted a comment Aug 20, 2019
@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Lint

TypemasterPR
Warnings00
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings15
Correctness Warnings43
Internationalization Warnings6
Malicious code vulnerability Warnings7
Multithreaded correctness Warnings3
Performance Warnings16
Security Warnings17
Dodgy code Warnings81
Total188

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings14
Correctness Warnings40
Internationalization Warnings6
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings3
Performance Warnings16
Security Warnings17
Dodgy code Warnings81
Total181

SpotBugs increased!

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Lint

TypemasterPR
Warnings00
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings15
Correctness Warnings43
Internationalization Warnings6
Malicious code vulnerability Warnings7
Multithreaded correctness Warnings3
Performance Warnings16
Security Warnings17
Dodgy code Warnings81
Total188

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings14
Correctness Warnings40
Internationalization Warnings6
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings3
Performance Warnings16
Security Warnings17
Dodgy code Warnings81
Total181

SpotBugs increased!

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Lint

TypemasterPR
Warnings00
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings15
Correctness Warnings39
Internationalization Warnings6
Malicious code vulnerability Warnings7
Multithreaded correctness Warnings3
Performance Warnings17
Security Warnings17
Dodgy code Warnings81
Total185

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings14
Correctness Warnings40
Internationalization Warnings6
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings3
Performance Warnings16
Security Warnings17
Dodgy code Warnings81
Total181

SpotBugs increased!

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Lint

TypemasterPR
Warnings01
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings15
Correctness Warnings39
Internationalization Warnings6
Malicious code vulnerability Warnings7
Multithreaded correctness Warnings3
Performance Warnings17
Security Warnings17
Dodgy code Warnings81
Total185

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings14
Correctness Warnings40
Internationalization Warnings6
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings3
Performance Warnings16
Security Warnings17
Dodgy code Warnings81
Total181

Lint increased!

- add ShareeUser, with userId and displayName
- add tests
- add group support
- no need of own hashCode
create user/group in drone
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Lint

TypemasterPR
Warnings00
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings15
Correctness Warnings39
Internationalization Warnings6
Malicious code vulnerability Warnings7
Multithreaded correctness Warnings3
Performance Warnings17
Security Warnings17
Dodgy code Warnings81
Total185

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings14
Correctness Warnings40
Internationalization Warnings6
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings3
Performance Warnings16
Security Warnings17
Dodgy code Warnings81
Total181

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@tobiasKaminsky@nextcloud-android-bot@AndyScherzinger