1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05: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 Cleanup models.User.HashPassword (#3334) 2018-01-12 00:19:38 +02:00
convert Populate URL field of API commits (#3546) 2018-02-20 20:50:42 +08:00
misc Rework special link parsing in the post-processing of markup (#3354) 2018-02-27 09:09:18 +02:00
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