0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 06:34:58 +01:00
gitea/routers
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 LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
api/v1 LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
dev
org Splitted the user settings code into several files to be more maintainable (#3968) 2018-05-17 12:05:00 +08:00
private
repo fix bugs caused by #3929 (#3999) 2018-05-23 15:23:23 +08:00
routes Support secure cookie for csrf-token (#3839) 2018-05-22 02:09:48 +03:00
user LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
utils
home.go Added repository search ordered by stars or forks. Forks column in admin repo list. (#3969) 2018-05-24 09:03:42 +08:00
init.go
install.go issue-2768: added new option allow_only_external_registration (#3910) 2018-05-13 15:51:16 +08:00