Lunny Xiao
f69f5a9f10
Add a new command doctor to check if some wrong configurations on gitea instance ( #9095 )
...
* add doctor
* Add a new command doctor to check if some wrong configurations on gitea instance
* fix import
* use regex match authorized_keys on doctor
* Add documentation
5 years ago
zeripath
d1a49977b0
AuthorizedKeysCommand should not query db directly ( #9371 )
...
* AuthorizedKeysCommand should not query db directly
* Update routers/private/internal.go
* Fix import order
5 years ago
Justin R. Cutler
2d8a89563d
Correct port range for cap_net_bind_service ( #9306 )
5 years ago
John Olheiser
36b8c081f6
Add migrate command to docs ( #8842 )
...
* Add migrate command to docs
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Link to CLI
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Clarify idempotence
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Sneak in convert command
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
ngourdon
a618df8d84
Add CLI commands to manage LDAP authentication source ( #6681 )
...
* add CLI commands to manage LDAP authentication source
* delete Gogs copyright
* remove unused return value of func parseLoginSource
* fix comment
Co-Authored-By: ngourdon <31291059+ngourdon@users.noreply.github.com>
* remove config flag already present in global flags
* remove config flag from ldap commands in docs
* remove config flag handling
6 years ago
Lanre Adelowo
a6fed1542c
add docs for #6847 ( #7132 )
6 years ago
zeripath
e55c874dd2
Add work path CLI option ( #6922 )
...
Makes it possible to set the work path as a CLI option instead of
relying on environment variables which are somewhat opaque
6 years ago
techknowlogick
897927690f
Rename LFS_JWT_SECRET to include OAUTH2 as well ( #6826 )
6 years ago
John Olheiser
e255df83a6
Change verbose flag in dump command to avoid colliding with global version flag ( #6822 )
...
* Change verbose flag to avoid colliding with version flag
* Update docs
Signed-off-by: jolheiser <john.olheiser@gmail.com>
6 years ago
zeripath
8d0d7bc28d
Make CustomPath, CustomConf and AppWorkPath configurable at build ( #6631 )
6 years ago
ngourdon
2b9b3310f6
Add username flag in create-user command ( #6534 )
...
* Add username flag in create-user command
* Fix the error message
* Change name to username on flag of create-user command
* Include create-user flags of both versions
* delete deprecated example of create-user command
6 years ago
nodiscc
0f54f42646
docs: document setup with read-only config ( #6348 )
6 years ago
glaszig
dbba46c216
support custom file name in `gitea dump` command ( #6474 )
...
* support custom file name in `gitea dump` command
* simpler approach to handle default dump file name
in `gitea dump` command
6 years ago
Ilya
8c3082bdb4
fix typos in docs command-line examples ( #6466 )
...
Signed-off-by: Ilya Pavlov <ilux@cpan.org>
6 years ago
Lanre Adelowo
c71c28eab8
update docs ( #6032 )
6 years ago
Zsombor
656456441c
Add flag to skip repository dumping ( #5695 )
6 years ago
Lanre Adelowo
530c2b8ad8
document command line flags ( #5675 )
6 years ago
zeripath
7d9a191a3c
Create AuthorizedKeysCommand ( #5236 )
6 years ago
techknowlogick
e91a2cf2ea
Add/remove/list oauth providers via cli ( #4591 )
6 years ago
Fluf
f54626df0b
Add config path as an optional flag when changing pass via CLI ( #4184 )
7 years ago
techknowlogick
8176345c0e
Add cli commands to regen hooks & keys ( #3979 )
...
* Add cli commands to regen hooks & keys
* make fmt
* Allow passing path to config as an option
* add docs
7 years ago
Lauris BH
6f751409b4
Document generate commands ( #3532 )
...
* Document generate commands
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
* Fix examples and grammar
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
7 years ago
Michael Lustfield
3ee8be3849
General documentation cleanup ( #3317 )
...
* Clean up spelling, grammar, perspective, whitespace, language, markup, etc.
7 years ago
techknowlogick
fb5c6b6444
Import docs into main repository ( #2874 )
...
* import docs into main repository
Signed-off-by: Matti Ranta <matti@mdranta.net>
7 years ago