forked from gitea/gitea
1
0
Fork 0
gitea/vendor/github.com
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
..
PuerkitoBio/goquery Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
RoaringBitmap/roaring Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
Smerity/govarint Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
Unknwon Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
andybalholm/cascadia Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
blevesearch Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
boltdb/bolt Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
boombuler/barcode Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
bradfitz/gomemcache Added all required dependencies 2016-11-04 08:43:11 +01:00
chaseadamsio/goorgeous Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
coreos Integrate public as bindata optionally (#293) 2016-11-30 00:26:36 +08:00
couchbase/vellum Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
davecgh/go-spew LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
denisenkom/go-mssqldb Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
dgrijalva/jwt-go Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
edsrzf/mmap-go Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
elazarl/go-bindata-assetfs Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
ethantkoenig/rupture Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
facebookgo Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
glycerine/go-unsnap-stream Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
go-macaron Support secure cookie for csrf-token (#3839) 2018-05-22 02:09:48 +03:00
go-sql-driver/mysql Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
go-xorm Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
gogits Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
golang Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
gorilla Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
issue9/identicon Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
jaytaylor/html2text Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
juju/errors Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
kballard/go-shellquote Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
keybase/go-crypto Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
klauspost Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
lafriks/xormstore Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
lib/pq Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
lunny/dingtalk_webhook Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
markbates/goth Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
mattn/go-sqlite3 Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
mcuadros/go-version Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
microcosm-cc/bluemonday Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
mrjones/oauth Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
mschoch/smat Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
msteinert/pam Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
nfnt/resize Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
ngaut Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
petar/GoLLRB Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
philhofer/fwd Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
pingcap Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
pmezard/go-difflib Update code.gitea.io/git (#3137) 2017-12-11 10:23:34 +08:00
pquerna/otp Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
russross/blackfriday Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
satori/go.uuid Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
sergi/go-diff Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
shurcooL/sanitized_anchor_name Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
steveyen/gtreap Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
stretchr/testify LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
syndtr/goleveldb Integrate public as bindata optionally (#293) 2016-11-30 00:26:36 +08:00
tinylib/msgp Update to last common bleve (#3986) 2018-05-19 20:49:46 +08:00
tstranex/u2f Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
twinj/uuid Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
ugorji/go Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
urfave/cli Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
willf/bitset Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
yohcop/openid-go Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00