Commit Graph

920 Commits (eb2fc1818b00b7ca6f8c21bb490a8e8be1e62f9a)

Author SHA1 Message Date
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
wxiaoguang e9b13732f3
Refactor cmd setup and remove deadcode (#29313) 9 months ago
wxiaoguang 45c15387b2
Refactor JWT secret generating & decoding code (#29172) 9 months ago
Lunny Xiao 96ad1d6340
Fix push to create with capitalize repo name (#29090) 10 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
KN4CK3R 9bea276055
Add `must-change-password` cli parameter (#27626) 10 months ago
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
Lunny Xiao 7711db0a71
Fix migrate storage bug (#28830) 10 months ago
Lunny Xiao 62f995203a
Move doctor package from modules to services (#28856) 10 months ago
yp05327 b60a7c3358
Return `responseText` instead of string in some functions (#28836) 10 months ago
Lunny Xiao 70c4aad8e1
Move more functions to db.Find (#28419) 10 months ago
wxiaoguang 2df7563f31
Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 11 months ago
Lunny Xiao 4eb2a29910
Improve ObjectFormat interface (#28496) 11 months ago
wxiaoguang 047c69bd85
Improve CLI code and descriptions (#28482) 11 months ago
Adam Majer cbf923e87b
Abstract hash function usage (#28138) 11 months ago
wxiaoguang f2a309e6c8
Improve doctor cli behavior (#28422) 12 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Anudeep Reddy 5380fd5d6d
fixed duplicate attachments on dump on windows (#28019) 1 year ago
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year 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
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
MomentQYC 598465eb43
fix: typo (#27009) 1 year ago
JonRB 99a5595408
clarify aspects of the dump command (#26887) 1 year ago
mainboarder c533991519
Expanded minimum RSA Keylength to 3072 (#26604) 1 year ago
wxiaoguang ed1be4ca68
Handle base64 decoding correctly to avoid panic (#26483) 1 year ago
wxiaoguang 82ea557dd3
Fix stderr usages (#26477) 1 year ago
wxiaoguang c28e29fd94
Refactor tests (#26464) 1 year ago
wxiaoguang f42cd4561b
Call git.InitSimple for runRepoSyncReleases (#26396) 1 year ago
wxiaoguang d92b4cd093
Fix incorrect CLI exit code and duplicate error message (#26346) 1 year ago
wxiaoguang 4f513474dc
Improve CLI and messages (#26341) 1 year ago
Yarden Shoham d36ddfe26c
Fix CLI allowing creation of access tokens with existing name (#26071) 1 year ago
wxiaoguang 1ce51a55e3
Improve "gitea doctor" sub-command and fix "help" commands (#26072) 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 52fb936773
Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 1 year ago
wxiaoguang d0dbe52e76
Refactor to use urfave/cli/v2 (#25959) 1 year ago
harryzcy 0f9f6567bb
Bump github.com/golang-jwt/jwt to v5 (#25975) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang b4d0036fc3
Do not prepare oauth2 config if it is not enabled, do not write config in some sub-commands (#25567) 1 year ago
wxiaoguang 65d3e1161b
Fix sub-command log level (#25537) 1 year ago
wxiaoguang 2cdf260f42
Refactor path & config system (#25330) 1 year ago
wxiaoguang df5cf5ddbd
Avoid polluting config file when "save" (#25395) 1 year ago
wxiaoguang 4e2f1ee58d
Refactor web package and context package (#25298) 1 year ago
Lunny Xiao d6dd6d641b
Fix all possible setting error related storages and added some tests (#23911) 1 year ago
Lunny Xiao f9cfd6ce5b
Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago