|
@@ -150,7 +150,7 @@ func newMacaron() *macaron.Macaron {
|
|
}))
|
|
}))
|
|
m.Use(toolbox.Toolboxer(m, toolbox.Options{
|
|
m.Use(toolbox.Toolboxer(m, toolbox.Options{
|
|
HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{
|
|
HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{
|
|
- &toolbox.HealthCheckFuncDesc{
|
|
|
|
|
|
+ {
|
|
Desc: "Database connection",
|
|
Desc: "Database connection",
|
|
Func: models.Ping,
|
|
Func: models.Ping,
|
|
},
|
|
},
|
|
@@ -420,7 +420,9 @@ func runWeb(c *cli.Context) error {
|
|
m.Combo("/fork/:repoid").Get(repo.Fork).
|
|
m.Combo("/fork/:repoid").Get(repo.Fork).
|
|
Post(bindIgnErr(form.CreateRepo{}), repo.ForkPost)
|
|
Post(bindIgnErr(form.CreateRepo{}), repo.ForkPost)
|
|
}, reqSignIn)
|
|
}, reqSignIn)
|
|
- m.Any("/:username/:reponame/_dav/", dav.Dav, context.RepoAssignment(), context.RepoRef())
|
|
|
|
|
|
+ m.Any("/:username/:reponame/_dav/*", dav.Dav, context.RepoAssignment(), context.RepoRef())
|
|
|
|
+ m.Any("/:username/:reponame/_dav", dav.Dav, context.RepoAssignment(), context.RepoRef())
|
|
|
|
+
|
|
m.Group("/:username/:reponame", func() {
|
|
m.Group("/:username/:reponame", func() {
|
|
m.Group("/settings", func() {
|
|
m.Group("/settings", func() {
|
|
m.Combo("").Get(repo.Settings).
|
|
m.Combo("").Get(repo.Settings).
|