Commit Graph

66 Commits (main)

Author SHA1 Message Date
wxiaoguang 580e21dd2e
Refactor LFS SSH and internal routers (#32473) 1 week ago
wxiaoguang afa8dd45af
Make git push options accept short name (#32245) 1 month ago
Lunny Xiao ebf0c96940
Move database operations of merging a pull request to post receive hook and add a transaction (#30805) 7 months ago
Lunny Xiao 263a716cb5
Performance optimization for git push (#30104) 8 months ago
yp05327 b60a7c3358
Return `responseText` instead of string in some functions (#28836) 10 months ago
wxiaoguang b0e6c25535
Caller should check the ResponseExtra.HasError() first to see whether the request fails (#28796) 10 months ago
yp05327 c7e4629c02
Fix nil pointer panic when exec some gitea cli command (#28791) 10 months ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 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
Brecht Van Lommel 3588edbb08
Add gitea manager reload-templates command (#24843) 2 years ago
wxiaoguang ec2a01d1e2
Fix regression: access log template, gitea manager cli command (#24838) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
wxiaoguang 2979041bc5
Fix incorrect internal response type (#24173) 2 years ago
techknowlogick 4014200021
add CLI command to register runner tokens (#23762) 2 years ago
wxiaoguang f4538791f5
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
Lunny Xiao 1428877c37
log real ip of requests from ssh (#21216) 2 years ago
zeripath 943753f560
Support Proxy protocol (#12527) 2 years ago
zeripath 4909493a9f
Allow manager logging to set SQL (#20064) 2 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push (#19010) 3 years ago
Aravinth Manivannan 3bb028cc46
Validate migration files (#18203) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
mscherer f49d160447
Replace "unix" by "http+unix" for PROTOCOL (#17771) 3 years ago
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. (#17779) 3 years ago
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao 8d7704b5a2
Fix dump and restore respository (#16698) 3 years ago
Lunny Xiao 74d75eb69c
Fix spelling of HookProcReceiveResult (#16690) 3 years ago
a1012112796 3705168837
Add agit flow support in gitea (#14295) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
zeripath 3dcb3e9073
Second attempt at preventing zombies (#16326) 3 years ago
KN4CK3R 383ffcfa34
Small refactoring of modules/private (#15947) 3 years ago
a1012112796 fec8324026
add a new internal hook to save ssh log (#15787) 4 years ago
Lunny Xiao e5723d6556
Move restore repo to internal router and invoke from command to avoid open the same db file or queues files (#15790) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
Lunny Xiao 38d11eea58
Fix send mail (#13312) 4 years ago
Maxim Zhiburt a1952afc38
Sendmail command (#13079) 4 years ago
zeripath d257485bc0
Rename models.ProtectedBranchRepoID to models.EnvRepoID and ensure EnvPusherEmail is set (#12646) 4 years ago
John Olheiser 43a397ce9a
Initial support for push options (#12169) 4 years ago
zeripath c5b08f6d5a
Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 4 years ago
zeripath bf847b9397
Upgrade golangci-lint to 1.24.0 (#10894) 5 years ago
zeripath c01221e70f
Queue: Make WorkerPools and Queues flushable (#10001) 5 years ago
zeripath 7bfb83e064 Batch hook pre- and post-receive calls (#8602) 5 years ago
zeripath d1a49977b0 AuthorizedKeysCommand should not query db directly (#9371) 5 years ago