gitea/cmd
mscherer 95c8d53d28
Add a "admin user generate-access-token" subcommand (#17722)
* Add a "admin user generate-access-token" subcommand

Fixes #17721

* Update cmd/admin.go

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

* Update cmd/admin.go

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

* Fix code to match new interfaces

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2022-03-04 19:53:35 +00:00
..
admin_auth_ldap_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
admin_auth_ldap.go Add LDAP group sync to Teams, fixes #1395 (#16299) 2022-02-11 22:24:58 +08:00
admin.go Add a "admin user generate-access-token" subcommand (#17722) 2022-03-04 19:53:35 +00:00
cert.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
cmd.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
convert.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
docs.go
doctor.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dump_repo.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
dump.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
embedded_stub.go
embedded.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
generate.go
hook_test.go
hook.go Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2022-02-06 20:01:47 +01:00
keys.go
mailer.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
manager.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
migrate_storage.go Some repository refactors (#17950) 2021-12-12 23:48:20 +08:00
migrate.go Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
restore_repo.go Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
serv.go Refactor jwt.StandardClaims to RegisteredClaims (#18344) 2022-01-20 22:52:56 +01:00
web_acme.go Support custom ACME provider (#18340) 2022-02-08 13:45:35 +08:00
web_graceful.go Make SSL cipher suite configurable (#17440) 2021-11-20 01:12:43 -05:00
web_https.go Add user settings key/value DB table (#16834) 2021-11-22 04:47:23 -05:00
web.go Support custom ACME provider (#18340) 2022-02-08 13:45:35 +08:00