You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/cmd
Steven Kriegler 33f6f91008
Allow enable LDAP source and disable user sync via CLI (#20206)
The current `admin auth` CLI for managing authentication source of type
LDAP via BindDN and Simple LDAP does not allow enabling the respective
source, once disabled via `--not-active`.
The same applies to `--synchronize-users` specifially for LDAP via
BindDN.

These changes add two new flags to LDAP related CLI commands:

- `--active` for both LDAP authentication source types
- `--disable-synchronize-users` for LDAP via BindDN

Signed-off-by: justusbunsi <61625851+justusbunsi@users.noreply.github.com>
2 years ago
..
admin.go Move some repository related code into sub package (#19711) 2 years ago
admin_auth_ldap.go Allow enable LDAP source and disable user sync via CLI (#20206) 2 years ago
admin_auth_ldap_test.go Allow enable LDAP source and disable user sync via CLI (#20206) 2 years ago
cert.go format with gofumpt (#18184) 2 years ago
cmd.go fix: some typos (#19956) 2 years ago
convert.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
docs.go Fix offBy1 errors (#17606) 3 years ago
doctor.go Don't buffer doctor logger (#19982) 2 years ago
dump.go Dump should only copy regular files and symlink regular files (#20015) 2 years ago
dump_repo.go Fix cli command restore-repo: "units" should be splitted to string slice, to match the old behavior and match the dump-repo's behavior (#20183) 2 years ago
embedded.go Remove legacy `+build:` constraint (#19582) 2 years ago
embedded_stub.go Remove legacy `+build:` constraint (#19582) 2 years ago
generate.go Add asymmetric JWT signing (#16010) 3 years ago
hook.go Add more linters to improve code readability (#19989) 2 years ago
hook_test.go Add agit flow support in gitea (#14295) 3 years ago
keys.go Second attempt at preventing zombies (#16326) 3 years ago
mailer.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
manager.go Add Goroutine stack inspector to admin/monitor (#19207) 2 years ago
manager_logging.go Allow manager logging to set SQL (#20064) 2 years ago
migrate.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
migrate_storage.go Move some code into models/git (#19879) 2 years ago
restore_repo.go Fix cli command restore-repo: "units" should be splitted to string slice, to match the old behavior and match the dump-repo's behavior (#20183) 2 years ago
serv.go Move some code into models/git (#19879) 2 years ago
web.go Add fgprof pprof profiler (#20005) 2 years ago
web_acme.go Update go deps (#19665) 2 years ago
web_graceful.go Make SSL cipher suite configurable (#17440) 3 years ago
web_https.go Add user settings key/value DB table (#16834) 3 years ago