Commit Graph

14 Commits (711f6dc9b0f77b35706bcb31a41b5f6a9e50d401)

Author SHA1 Message Date
kolaente f9ec2f89f2 Add golangci ()
Antoine GIRARD b3fd94c13d Add sensitive headers ()
* Add HeaderWithSensitiveCase methods to respect casing

* Update webhook.go
Sandro Santilli 00d08473b8 Use GiteaServer as the user agent for http requests ()
Otherwise we're still presenting ourselves as GogsServer...
Lunny Xiao 2eeae84cbd Add internal routes for ssh hook comands ()
* 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
Ethan Koenig 021904e4e6 Fix typos in models/ and modules/ ()
Schwobaland 2f7dc28b22 add ProxyFromEnvironment if none set ()
Lunny Xiao bd5ea3e222 Golint fixed for modules/httplib
Unknwon de3be370f7 Remove unused tests
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
Unknwon b9f5def5dc fix insecure tls when trigger task
Unknwon 23f42d92c9 add webhook recent deliveries
Unknwon ce8d4cc80b
Unknwon 97a373f5e7 Fix , update code with upstream
Unknwon 9a1d5d2489 Finish new web hook pages
Unknown e573855a4f Fix , support web hook