Commit Graph

98 Commits (da3b7f5039158faae4b617ca878061f8a4f3e489)

Author SHA1 Message Date
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao 70c4aad8e1
Move more functions to db.Find (#28419) 11 months ago
wxiaoguang 047c69bd85
Improve CLI code and descriptions (#28482) 12 months ago
Nanguan Lin 70f8d10fc5
move the `gitea admin` subcommands into separate files (#27307) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
wxiaoguang f42cd4561b
Call git.InitSimple for runRepoSyncReleases (#26396) 1 year ago
wxiaoguang 478f36a538
Add missing default value for some Bool cli flags (#26082) 1 year ago
delvh f3d41c61eb
Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076) 1 year ago
wxiaoguang d0dbe52e76
Refactor to use urfave/cli/v2 (#25959) 1 year ago
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) 3 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