Commit Graph

66 Commits (7fc5fd6415f92120811747681bcde9ed42825151)

Author SHA1 Message Date
mscherer 95c8d53d28
Add a "admin user generate-access-token" subcommand (#17722) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Zoran Peričić 17b2079f3e
Add/update SMTP auth providers via cli (#18197) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
zeripath d29b689f81
Ensure complexity, minlength and ispwned are checked on password setting (#18005) 3 years ago
zeripath 0981ec30c3
Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
KN4CK3R f34151bdb2
Move user/org deletion to services (#17673) 3 years ago
Lunny Xiao 5233051e64
Move some functions into services/repository (#17677) 3 years ago
Lunny Xiao 69b61d4373
Fix bug on admin subcommand (#17533) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9ca0e7905c
Add setting to OAuth handlers to skip local 2FA authentication (#16594) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
Lunny Xiao e7fc078891
Fix missing storage init (#15589) 4 years ago
6543 9c4601bdf8
Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
6543 74a0481586
[Refactor] Passwort Hash/Set (#14282) 4 years ago
Daniil Pankratov 3175d08626
CLI support for OAuth sources custom icons (#14166) 4 years ago
zeripath 5e09de174c
fix label of --id in admin delete user (#14005) 4 years ago
zeripath 287b594803
Whenever the password is updated ensure that the hash algorithm is too (#13966) 4 years ago
Maxim Zhiburt a1952afc38
Sendmail command (#13079) 4 years ago
ydelafollye cb171dbd56
Improve users management through the CLI (#6001) (#10492) 4 years ago
John Olheiser c6e4bc53aa
Check passwords against HaveIBeenPwned (#12716) 4 years ago
zeripath 1737fca220
make `gitea admin auth list` formatting configurable (#10844) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
Lunny Xiao d92781bf94 Refactor repository check and sync functions (#9854) 5 years ago
Shashvat Kedia 1e9b3d4743 Fix #9530: admin auth list make readable and admin auth delete bug fix (#9628) 5 years ago
Lunny Xiao 7b2ff82d20 Move some repository methods from models to modules/repository (#9353) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
zeripath b48cad6a2a
Adjust the must-change-password help (#8755) 5 years ago
Maxim Tkachenko db657192d0 Password Complexity Checks (#6230) 5 years ago
ngourdon a618df8d84 Add CLI commands to manage LDAP authentication source (#6681) 6 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Lanre Adelowo e0dde8173f Generate access token in admin cli (#6847) 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) 6 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
Lanre Adelowo 8d2c24f7f9 Allow for user specific themes (#5668) 6 years ago
Lanre Adelowo ce9a5173fe fix password variable shadowing (#5405) 6 years ago
Lanre Adelowo fd37fb01fd Don't force a password change for the admin user when creating an account via cli (#5391) 6 years ago
Lanre Adelowo e5daa2698f Generate random password (#5023) 6 years ago
Lanre Adelowo c2748ea7fe Add must-change-password flag to cli for creating a user (#4955) 6 years ago
Bo-Yi Wu 1e34413238 refactor: err != nil check, just return error instead (#5093) 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) 7 years ago
Morgan Bazalgette 2b52f77e1b General refactor of the cmd package (#3328) 7 years ago
Kim "BKC" Carlbäcker e5b8b4b5ec Cleanup models.User.HashPassword (#3334) 7 years ago