0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-03 08:05:35 +01:00
gitea/modules
Magnus Lindvall cdb9478774 LDAP Public SSH Keys synchronization (#1844)
* Add LDAP Key Synchronization feature

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Add migration: add login source id column for public_key table

* Only update keys if needed

* Add function to only list pubkey synchronized from ldap

* Only list pub ssh keys synchronized from ldap. Do not sort strings as ExistsInSlice does it.

* Only get keys belonging to current login source id

* Set default login source id to 0

* Some minor cleanup. Add integration tests (updete dep testify)
2018-05-24 07:59:02 +03:00
..
auth LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
avatar
base Symlink icons (#1416) (#3826) 2018-05-01 10:04:36 +03:00
cache
context Multiple assignees (#3705) 2018-05-09 19:29:04 +03:00
cron
generate
highlight
httplib
indexer
lfs Fix path cleanup in multiple places (#3871) 2018-05-01 09:46:04 +08:00
log
mailer
markup
minwinsvc
notification
options
private
process
public
search
setting Add support for FIDO U2F (#3971) 2018-05-19 17:12:37 +03:00
ssh
sync
templates Issue due date (#3794) 2018-05-01 22:05:28 +03:00
test
user
util LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
validation