aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/admin.go
Commit message (Expand)AuthorAgeFilesLines
* Simplify how git repositories are opened (#28937)Lunny Xiao2024-01-271-1/+2
* Move more functions to db.Find (#28419)Lunny Xiao2024-01-151-2/+2
* Improve CLI code and descriptions (#28482)wxiaoguang2023-12-151-1/+1
* move the `gitea admin` subcommands into separate files (#27307)Nanguan Lin2023-09-271-610/+7
* Another round of `db.DefaultContext` refactor (#27103)JakobDev2023-09-251-2/+2
* Call git.InitSimple for runRepoSyncReleases (#26396)wxiaoguang2023-08-101-0/+4
* Add missing default value for some Bool cli flags (#26082)wxiaoguang2023-07-241-0/+5
* Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076)delvh2023-07-231-4/+5
* Refactor to use urfave/cli/v2 (#25959)wxiaoguang2023-07-211-66/+67
* Handle OpenID discovery URL errors a little nicer when creating/editing sourc...zeripath2023-03-101-1/+10
* Add command to bulk set must-change-password (#22823)zeripath2023-02-141-406/+0
* Map OIDC groups to Orgs/Teams (#21441)KN4CK3R2023-02-081-0/+17
* Add CLI option tenant ID for oauth2 source (#22769)Adi2023-02-051-0/+11
* add default user visibility to cli command "admin user create" (#22750)yp053272023-02-041-0/+4
* Allow setting access token scope by CLI (#22648)Lukas2023-02-021-2/+13
* Improve utils of slices (#22379)Jason Song2023-01-111-1/+1
* Rename almost all Ctx functions (#22071)Lunny Xiao2022-12-101-0/+1
* refactor some functions to support ctx as first parameter (#21878)Lunny Xiao2022-12-031-1/+1
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
* Add `context.Context` to more methods (#21546)KN4CK3R2022-11-191-1/+1
* Revert unrelated changes for SMTP auth (#21767)wxiaoguang2022-11-101-4/+4
* Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551)delvh2022-10-241-2/+2
* Move some files into models' sub packages (#20262)Lunny Xiao2022-08-251-18/+17
* Rework mailer settings (#18982)Clar Fon2022-08-021-4/+4
* Add two factor status to admin cmd display (#20401)Tyrone Yeh2022-07-191-2/+3
* Add option to purge users (#18064)zeripath2022-07-141-1/+5
* Move some repository related code into sub package (#19711)Lunny Xiao2022-06-061-2/+3
* Move almost all functions' parameter db.Engine to context.Context (#19748)Lunny Xiao2022-05-201-3/+3
* Federation: return useful statistic information for nodeinfo (#19561)65432022-05-021-1/+1
* Respect DefaultUserIsRestricted system default when creating new user (#19310)Jimmy Praet2022-04-291-3/+17
* Make git.OpenRepository accept Context (#19260)65432022-03-301-1/+1
* Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/mo...wxiaoguang2022-03-221-1/+1
* Add a "admin user generate-access-token" subcommand (#17722)mscherer2022-03-041-0/+57
* format with gofumpt (#18184)65432022-01-201-7/+3
* Propagate context and ensure git commands run in request context (#17868)zeripath2022-01-191-1/+1
* Add/update SMTP auth providers via cli (#18197)Zoran Peričić2022-01-121-0/+181
* Refactor auth package (#17962)Lunny Xiao2022-01-021-9/+9
* Ensure complexity, minlength and ispwned are checked on password setting (#18...zeripath2021-12-171-0/+4
* Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along wi...zeripath2021-12-141-0/+58
* Move keys to models/asymkey (#17917)Lunny Xiao2021-12-101-1/+2
* Move user related model into models/user (#17781)Lunny Xiao2021-11-241-10/+11
* Remove unnecessary attributes of User struct (#17745)Lunny Xiao2021-11-221-1/+1
* Move user/org deletion to services (#17673)KN4CK3R2021-11-191-1/+2
* Move some functions into services/repository (#17677)Lunny Xiao2021-11-171-1/+2
* Fix bug on admin subcommand (#17533)Lunny Xiao2021-11-071-11/+44
* Move login related structs and functions to models/login (#17093)Lunny Xiao2021-09-241-9/+12
* Add setting to OAuth handlers to skip local 2FA authentication (#16594)zeripath2021-09-101-0/+5
* Refactor: Move login out of models (#16199)zeripath2021-07-241-9/+9
* Fix missing storage init (#15589)Lunny Xiao2021-04-221-0/+5
* Code Formats, Nits & Unused Func/Var deletions (#15286)65432021-04-091-3/+3