-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tests-Only] Refactor webdav auth #37691
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that there are also scenarios like these in apiAuthOCS suite:
ocsDELETEAuth
ocsGETAuth
ocsPUTAuth
Those look like they need similar refactoring.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's see what else CI tells us.
And then please rebase and squash whne making the last small fixes.
2e9277c
to
47f9c26
Compare
@phil-davis addressed your comments, please review! |
d05b03e
to
624d177
Compare
https://drone.owncloud.com/owncloud/core/25942/50/13
It is going to be annoying not to know what were the different status codes returned (for OCS and similar for HTTP). It would be nice to report the list of status codes. Because they are numbers, it will be easy and clear enough to put a comma-separated list of all the actual returned codes into the exception message. So it could say:
Then someone reading it can have a chance to "guess" which request(s) had the unexpected status. |
16231cb
to
3535c6f
Compare
1a98423
to
1f81984
Compare
https://drone.owncloud.com/owncloud/core/25954/34/6 |
1f81984
to
e00d526
Compare
e00d526
to
48eb99e
Compare
@kiranparajuli589 https://drone.owncloud.com/owncloud/core/25956/51/13
needs looking at. After that, IMO the general code here is good, so squash all the commits and maybe this can be merged. |
48eb99e
to
361a972
Compare
361a972
to
c4c9a4d
Compare
No description provided.