Lunny Xiao
3d5bb3e6a3
fix webhook timeout bug ( #15613 )
...
* Also fix the potential problem in httplib
3 years ago
zeripath
f0e15250b9
Migrate to use jsoniter instead of encoding/json ( #14841 )
...
* Migrate to use jsoniter
* fix tests
* update gitea.com/go-chi/binding
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
4 years ago
kolaente
f9ec2f89f2
Add golangci ( #6418 )
5 years ago
Antoine GIRARD
b3fd94c13d
Add sensitive headers ( #3429 )
...
* Add HeaderWithSensitiveCase methods to respect casing
* Update webhook.go
7 years ago
Sandro Santilli
00d08473b8
Use GiteaServer as the user agent for http requests ( #3404 )
...
Otherwise we're still presenting ourselves as GogsServer...
7 years ago
Lunny Xiao
2eeae84cbd
Add internal routes for ssh hook comands ( #1471 )
...
* add internal routes for ssh hook comands
* fix lint
* add comment on why package named private not internal but the route name is internal
* add comment above package private why package named private not internal but the route name is internal
* remove exp time on internal access
* move routes from /internal to /api/internal
* add comment and defer on UpdatePublicKeyUpdated
7 years ago
Ethan Koenig
021904e4e6
Fix typos in models/ and modules/ ( #1248 )
8 years ago
Schwobaland
2f7dc28b22
add ProxyFromEnvironment if none set ( #1096 )
8 years ago
Lunny Xiao
bd5ea3e222
Golint fixed for modules/httplib
8 years ago
Unknwon
de3be370f7
Remove unused tests
...
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
9 years ago
Unknwon
b9f5def5dc
fix insecure tls when trigger task
9 years ago
Unknwon
23f42d92c9
add webhook recent deliveries
9 years ago
Unknwon
ce8d4cc80b
#634
10 years ago
Unknwon
97a373f5e7
Fix #362 , update code with upstream
10 years ago
Unknwon
9a1d5d2489
Finish new web hook pages
10 years ago
Unknown
e573855a4f
Fix #98 , support web hook
10 years ago