Skip to content

Conversation

ngourdon
Copy link
Contributor

Add 4 CLI commands:

  • add-ldap: Add new LDAP (via Bind DN) authentication source
  • update-ldap: Update existing LDAP (via Bind DN) authentication source
  • add-ldap-simple: Add new LDAP (simple auth) authentication source
  • update-ldap-simple: Update existing LDAP (simple auth) authentication source

#5726

@codecov-io
Copy link

codecov-io commented Apr 19, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@a200ca1). Click here to learn what that means.
The diff coverage is 80.68%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #6681   +/-   ##
=========================================
  Coverage          ?   40.96%           
=========================================
  Files             ?      462           
  Lines             ?    62567           
  Branches          ?        0           
=========================================
  Hits              ?    25628           
  Misses            ?    33577           
  Partials          ?     3362
Impacted Files Coverage Δ
cmd/admin.go 0% <ø> (ø)
cmd/admin_auth_ldap.go 80.68% <80.68%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a200ca1...17afa58. Read the comment docs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 19, 2019
@lafriks lafriks added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Apr 19, 2019
@lafriks lafriks added this to the 1.9.0 milestone Apr 19, 2019
@ngourdon
Copy link
Contributor Author

Gogs copyright is removed.
I also updated func parseLoginSource which wasn't right

Co-Authored-By: ngourdon <31291059+ngourdon@users.noreply.github.com>
@ngourdon
Copy link
Contributor Author

ngourdon commented May 1, 2019

Is there anything else needed for approval?

@ngourdon
Copy link
Contributor Author

ngourdon commented May 2, 2019

@zeripath config flag removed

@zeripath
Copy link
Contributor

zeripath commented May 2, 2019

@ngourdon sorry I didn't get a chance to properly look at this this evening. I'll try to review tomorrow evening UK time.

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jun 5, 2019
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jun 5, 2019
@techknowlogick techknowlogick merged commit a618df8 into go-gitea:master Jun 17, 2019
jeffliu27 pushed a commit to jeffliu27/gitea that referenced this pull request Jul 18, 2019
* add CLI commands to manage LDAP authentication source

* delete Gogs copyright

* remove unused return value of func parseLoginSource

* fix comment

Co-Authored-By: ngourdon <31291059+ngourdon@users.noreply.github.com>

* remove config flag already present in global flags

* remove config flag from ldap commands in docs

* remove config flag handling
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants