Skip to content

Conversation

@nerdmaennchen
Copy link
Member

I've added code to authenticate against http basic access authentication.
In my setup I have a (self made) single sign on that can handle basic auth requests (because they are so insanely easy to implement) and use that as an identity and authentication provider.
This PR contains the code that runs on my setup.

@violoncelloCH
Copy link
Member

violoncelloCH commented Feb 25, 2019

Hi, thank you for your contribution!
DCO is failing because the commit is not signed-off
@nerdmaennchen could you please sign your commit? - see https://github.com/nextcloud/server/blob/master/.github/CONTRIBUTING.md#sign-your-work
can be done with git commit --amend -s for the last commit and then git push -f to push the changed commit back to github... (or see DCO's Details for instructions)

@violoncelloCH violoncelloCH added the enhancement New feature or request label Feb 25, 2019
Signed-off-by: Lutz Freitag <lutz@gottliebtfreitag.de>
Signed-off-by: Lutz Freitag <lutz@gottliebtfreitag.de>
@nerdmaennchen
Copy link
Member Author

sorry; I didn't know signing was needed.
I've updated the commits and hope its working now.

Cheers,
Lutz

@violoncelloCH
Copy link
Member

no problem... thank you for adding the sign-off!
we should probably add an info text to the pull request template about that...

Copy link
Member

@violoncelloCH violoncelloCH left a comment

Choose a reason for hiding this comment

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

thank you very much!
apart from the mentioned points below, the code looks good to me and it works :)

@violoncelloCH
Copy link
Member

btw, did you get the unittest you wrote to work? If so, I would appreciate your help at #31, where I'm trying to get the automated tests to work, but I'm stuck there, because I don't have any experience with unittesting yet (I'm just a student and started maintaining this app here two months ago). 😄

@violoncelloCH violoncelloCH self-requested a review February 26, 2019 09:47
@nerdmaennchen
Copy link
Member Author

I'm afraid I didn't get the unittests to work...
I actually am no php developer at all and most of my code here is copy pasted from multiple sources.
Also I have this code running on my productive server (which I hope counts as test).

I am, however, very thankful of your assistance and review!

All the best,
Lutz

@violoncelloCH
Copy link
Member

violoncelloCH commented Feb 27, 2019

Ahh, I see... Thank you anyway!

@violoncelloCH
Copy link
Member

@MorrisJobke @nickvergessen @rullzer could somebody of you review the unit tests?

@MorrisJobke
Copy link
Member

@MorrisJobke @nickvergessen @rullzer could somebody of you review the unit tests?

They look good 👍

@violoncelloCH
Copy link
Member

@MorrisJobke thank you for reviewing!

@violoncelloCH
Copy link
Member

@nerdmaennchen looks like you reverted the other corrections while force pushing your last commit... no hurry, just revert it back to what we want :)
ask if you have any question...

Signed-off-by: Lutz Freitag <lutz@gottliebtfreitag.de>
@nerdmaennchen
Copy link
Member Author

blushing intensifies

I feel like I do owe you a drink.

I hope it is resolved now.

All the best,
Lutz

@violoncelloCH
Copy link
Member

I feel like I do owe you a drink.
I hope it is resolved now.

no problem ;) looks like everything is fine now! Thank you for your contribution!

@nerdmaennchen
Copy link
Member Author

I feel like I do owe you a drink.
I hope it is resolved now.

no problem ;) looks like everything is fine now! Thank you for your contribution!

Well, thank you for developing and maintainig user_external in the first place.
I feel like you deserve a lot of credit as you made it quite easy for dummies like me to add code to this.

@violoncelloCH violoncelloCH merged commit 32f75e7 into nextcloud:master Feb 27, 2019
@violoncelloCH
Copy link
Member

Well, thank you for developing and maintainig user_external in the first place.
I feel like you deserve a lot of credit as you made it quite easy for dummies like me to add code to this.

I did not create it ;)... I'm just maintaining it now as it was unmaintained the months before...

@violoncelloCH violoncelloCH added this to the 0.5.1 milestone Feb 27, 2019
@violoncelloCH violoncelloCH mentioned this pull request Feb 28, 2019
5 tasks
@jancborchardt
Copy link
Member

@nerdmaennchen no one’s a dummie, welcome to Nextcloud and the @nextcloud/user_external team! :) Since you seem to be in Berlin, be welcome at our Nextcloud Conference (at TU Berlin) in September: https://nextcloud.com/conf-2019/

@nerdmaennchen
Copy link
Member Author

Many thanks for the warm welcome!
I'd love to attend to the conference but at the moment (and probably till next spring) I'm on an extended period of traveling (making a life long wish come true). However, every now and then I do have time to spare to do some coding.

I figure the conference happenes every year; I'm looking forward to beeing there next year!

All the best,
Lutz

@violoncelloCH
Copy link
Member

thank you @jancborchardt for inviting @nerdmaennchen :)

@nerdmaennchen now that you are a member, I wan't to point out to you that you now should be able to push branches directly to Nextcloud's repos (so no need to make a detour via your fork any more) and that you can review and approve PRs ;)

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

Labels

4. to release enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants