Skip to content

Edit public links and setPassword - #7908

Merged
micbar merged 7 commits into
masterfrom
edit-public-links
Dec 12, 2023
Merged

micbar merged 7 commits into
masterfrom
edit-public-links

Conversation

@micbar

@micbar micbar commented Dec 7, 2023 •

Copy link
Copy Markdown
Contributor

Description

Related Issue

Motivation and Context

Improve our APIs 🎉

How Has This Been Tested?

  • manually
  • unit tests

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@update-docs

update-docs Bot commented Dec 7, 2023

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@micbar
micbar force-pushed the edit-public-links branch from 1b14bef to cd79b7b Compare December 8, 2023 13:35
@micbar micbar changed the title Edit public links Edit public links and setPassword Dec 8, 2023
@micbar micbar mentioned this pull request Dec 11, 2023
22 tasks done
@micbar
micbar marked this pull request as ready for review December 11, 2023 21:57
@micbar
micbar requested review from butonic, kobergj and rhafer December 11, 2023 21:57
err.errorCode = NameAlreadyExists
case code == cs3rpc.Code_CODE_FAILED_PRECONDITION:
err.errorCode = PreconditionFailed
err.errorCode = InvalidRequest

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@rhafer I needed to fix that. We had misunderstandings about that CS3 Status already in the past.

status = http.StatusMethodNotAllowed
case ItemIsLocked:
status = http.StatusLocked
case PreconditionFailed:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this was missing, added it in case we need it.

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

85.2% 85.2% Coverage
0.0% 0.0% Duplication

@micbar
micbar merged commit 8eead1e into master Dec 12, 2023
@delete-merged-branch
delete-merged-branch Bot deleted the edit-public-links branch December 12, 2023 12:11
ownclouders pushed a commit that referenced this pull request Dec 12, 2023
Edit public links and setPassword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants