1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 19:53:09 +00:00
Find a file
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
.github Comment help text for issues (#2281) 2017-08-09 12:13:33 +08:00
assets Add task to generate images from SVG and change to new logo (#2194) 2017-07-28 13:51:20 +08:00
cmd Add cli commands to regen hooks & keys (#3979) 2018-05-17 09:35:07 +08:00
contrib Note about adding permisions to binary (#3936) 2018-05-10 16:32:01 +08:00
custom/conf doc: update LOCAL_ROOT_URL description for PROTOCOL = 'unix' case (#3760) 2018-05-22 09:35:36 +08:00
docker Add Environment Variables to Docker template (#4012) 2018-05-23 23:31:12 +08:00
docs Gitea with Caddy with sub-path documentation. (#4028) 2018-05-24 08:24:04 +08:00
integrations LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
models LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
modules LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
options LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
public Add support for FIDO U2F (#3971) 2018-05-19 17:12:37 +03:00
routers LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
scripts Updating generate-licenses.go to fetch licenses from maintained repository. (#3484) 2018-02-12 20:20:30 +02:00
snap snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
templates LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
vendor LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
.changelog.yml Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
.drone.yml Add $GOPATH/bin to PATH for make releases (#4020) 2018-05-22 12:12:10 -04:00
.editorconfig switch gitter to discord for drone. (#1971) 2017-06-15 10:47:42 +08:00
.gitattributes ignore static files statstics for linguist 2016-12-27 16:49:25 +01:00
.gitignore snap-packaging for gitea (#2568) 2018-05-09 22:52:51 +08:00
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
CHANGELOG.md Release 1.4.x changelog (#3894) 2018-05-04 21:23:39 +08:00
CONTRIBUTING.md [doc] Update vendor tool section to dep (#4008) 2018-05-21 14:10:35 -04:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Docker multi-stage (#2927) 2018-03-12 11:59:13 +02:00
Gopkg.lock LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
Gopkg.toml Migrate to dep (#3972) 2018-05-21 15:34:20 +03:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
main.go Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
MAINTAINERS Add myself to MAINTAINERS (#3680) 2018-03-16 21:49:03 +02:00
Makefile Provide compressed releases (#3991) 2018-05-21 14:50:39 -04:00
package-lock.json Update less.js to latest version (#3932) 2018-05-10 13:36:47 +08:00
package.json Update less.js to latest version (#3932) 2018-05-10 13:36:47 +08:00
README.md Activating Open Collective (#3821) 2018-05-11 13:53:23 +08:00
README_ZH.md Fix release tag on README (#3945) 2018-05-10 23:38:57 +03:00

简体中文

Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ codecov Go Report Card GoDoc GitHub release Help Contribute to Open Source Become a backer/sponsor of gitea

Dashboard Repository Commits History
Branches Issues Pull Request View
Releases Activity Wiki
Diff Organization Profile

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs since 2016.11 but changed a lot.

Building

From the root of the source tree, run:

make generate all

More info: https://docs.gitea.io/en-us/install-from-source/

Using

./gitea web

NOTE: If you're interested in using our APIs, we have experimental support with documentation.

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

NOTES:

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!

Further information

For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, or forum!

Authors

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.