techknowlogick
0e65e438b1
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
Morgan Bazalgette
4711309c40
General refactor of the cmd package ( #3328 )
* General refactor of the cmd package
* Address breakage in runCreateUser
* Place "common" functions into cmd.go
7 years ago
Kim "BKC" Carlbäcker
fb25c73752
Cleanup models.User.HashPassword ( #3334 )
7 years ago
Morgan Bazalgette
548da9750c
Change EncodePasswd to HashPassword ( #3329 )
* Change EncodePasswd to HashPassword
* Create test+benchmark for HashPassword
7 years ago
Sandro Santilli
2df96269b2
Add repo-sync-releases admin command ( #3254 )
* Add repo-sync-releases admin command
Will help recovering corrupted database, see #3247
* Load repos in chunks of 10, exit with error if unable to get a list, scan private repos, fix typo
* Fix debug output about num releases
* Introduce RepositoryListDefaultPageSize constant, set to 64
Use it from the new admin command
* Use RepositoryListDefaultPageSize in more places
* Document RepositoryListDefaultPageSize
7 years ago
Lunny Xiao
08a2088db4
Only update needed columns when update user ( #2296 )
* only update needed columns when update user
* fix missing update_unix column
7 years ago
Bo-Yi Wu
61cf12ca8c
refactor: show command help message. ( #1486 )
8 years ago
Sandro Santilli
a1508b97c5
Add change-password admin command ( #1304 )
* Add change-password admin command
8 years ago
Christoph König
dbd2291f0d
Fix typo ( #990 )
8 years ago
Lunny Xiao
39dd88a1be
Make Xorm log configurable ( #174 )
* make xorm log configable
* bug fixed for other sub commands except web
* rebase and fix xorm log
* bug fix for TrimSpace
8 years ago
Sandro Santilli
5bbc899ee8
Handle SetModel error, fixes one errcheck report ( #257 )
8 years ago
Joubert RedRat
6f5bd631a2
Remove remaining Gogs reference on locales and cmd ( #430 )
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Matthias Loibl
eb533b50fe
Improve formatting of admin command
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Matthias Loibl
af072f5d0e
Use cli Flags directly and not some helper funcs
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
8 years ago
Thomas Boerger
de7e7460d0
Made linter happy in cmd folder
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Kim "BKC" Carlbäcker
2af18718d8
codegangsta/cli => urfave/cli ( #3546 )
8 years ago
Unknwon
414b16bb9b
Add subcommand to create new user in CLI
8 years ago