Commit Graph

89 Commits (4d5c803f8b71ccf3182d89584196783e2338e365)

Author SHA1 Message Date
zeripath dad057b639
Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) 2 years ago
zeripath aa1d95300a
Add command to bulk set must-change-password (#22823) 2 years ago
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 2 years ago
Adi c13eb8e6b3
Add CLI option tenant ID for oauth2 source (#22769) 2 years ago
yp05327 e35f8e15a6
add default user visibility to cli command "admin user create" (#22750) 2 years ago
Lukas 3f2e721372
Allow setting access token scope by CLI (#22648) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
Lunny Xiao 68704532c2
Rename almost all Ctx functions (#22071) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
wxiaoguang fb704f6c72
Revert unrelated changes for SMTP auth (#21767) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Clar Fon 036dd8a788
Rework mailer settings (#18982) 2 years ago
Tyrone Yeh 4c7e51ee3a
Add two factor status to admin cmd display (#20401) 2 years ago
zeripath bffa303020
Add option to purge users (#18064) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 e2a3f3d259
Federation: return useful statistic information for nodeinfo (#19561) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
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