gitea/routers/api/v1
Magnus Lindvall cdb9478774 LDAP Public SSH Keys synchronization ()
* 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)
..
admin Cleanup models.User.HashPassword ()
convert Populate URL field of API commits ()
misc Rework special link parsing in the post-processing of markup ()
org don't reset team/repo count when updating team via API ()
repo Fix some webhooks bugs ()
swagger Add Attachment API ()
user LDAP Public SSH Keys synchronization ()
utils Add more webhooks support and refactor webhook templates directory ()
api.go API endpoint for testing webhook ()