0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 22:33:53 +01:00
gitea/routers/api/v1
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
..
admin
convert
misc
org don't reset team/repo count when updating team via API (#3831) 2018-04-29 13:22:57 +08:00
repo Fix some webhooks bugs (#3981) 2018-05-21 10:28:29 +08:00
swagger Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
utils Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
api.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00