aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/hook.go2
-rw-r--r--cmd/serv.go2
-rw-r--r--cmd/web.go30
-rw-r--r--gogs.go2
-rw-r--r--routes/admin/admin.go (renamed from routers/admin/admin.go)0
-rw-r--r--routes/admin/auths.go (renamed from routers/admin/auths.go)0
-rw-r--r--routes/admin/notice.go (renamed from routers/admin/notice.go)0
-rw-r--r--routes/admin/orgs.go (renamed from routers/admin/orgs.go)4
-rw-r--r--routes/admin/repos.go (renamed from routers/admin/repos.go)0
-rw-r--r--routes/admin/users.go (renamed from routers/admin/users.go)4
-rw-r--r--routes/api/v1/admin/org.go (renamed from routers/api/v1/admin/org.go)4
-rw-r--r--routes/api/v1/admin/org_repo.go (renamed from routers/api/v1/admin/org_repo.go)0
-rw-r--r--routes/api/v1/admin/org_team.go (renamed from routers/api/v1/admin/org_team.go)4
-rw-r--r--routes/api/v1/admin/repo.go (renamed from routers/api/v1/admin/repo.go)4
-rw-r--r--routes/api/v1/admin/user.go (renamed from routers/api/v1/admin/user.go)2
-rw-r--r--routes/api/v1/api.go (renamed from routers/api/v1/api.go)10
-rw-r--r--routes/api/v1/convert/convert.go (renamed from routers/api/v1/convert/convert.go)0
-rw-r--r--routes/api/v1/convert/utils.go (renamed from routers/api/v1/convert/utils.go)0
-rw-r--r--routes/api/v1/misc/markdown.go (renamed from routers/api/v1/misc/markdown.go)0
-rw-r--r--routes/api/v1/org/org.go (renamed from routers/api/v1/org/org.go)4
-rw-r--r--routes/api/v1/org/team.go (renamed from routers/api/v1/org/team.go)2
-rw-r--r--routes/api/v1/repo/branch.go (renamed from routers/api/v1/repo/branch.go)2
-rw-r--r--routes/api/v1/repo/collaborators.go (renamed from routers/api/v1/repo/collaborators.go)0
-rw-r--r--routes/api/v1/repo/file.go (renamed from routers/api/v1/repo/file.go)2
-rw-r--r--routes/api/v1/repo/hook.go (renamed from routers/api/v1/repo/hook.go)2
-rw-r--r--routes/api/v1/repo/issue.go (renamed from routers/api/v1/repo/issue.go)0
-rw-r--r--routes/api/v1/repo/issue_comment.go (renamed from routers/api/v1/repo/issue_comment.go)0
-rw-r--r--routes/api/v1/repo/issue_label.go (renamed from routers/api/v1/repo/issue_label.go)0
-rw-r--r--routes/api/v1/repo/key.go (renamed from routers/api/v1/repo/key.go)2
-rw-r--r--routes/api/v1/repo/label.go (renamed from routers/api/v1/repo/label.go)0
-rw-r--r--routes/api/v1/repo/milestone.go (renamed from routers/api/v1/repo/milestone.go)0
-rw-r--r--routes/api/v1/repo/repo.go (renamed from routers/api/v1/repo/repo.go)2
-rw-r--r--routes/api/v1/user/app.go (renamed from routers/api/v1/user/app.go)0
-rw-r--r--routes/api/v1/user/email.go (renamed from routers/api/v1/user/email.go)2
-rw-r--r--routes/api/v1/user/follower.go (renamed from routers/api/v1/user/follower.go)0
-rw-r--r--routes/api/v1/user/key.go (renamed from routers/api/v1/user/key.go)4
-rw-r--r--routes/api/v1/user/user.go (renamed from routers/api/v1/user/user.go)0
-rw-r--r--routes/dev/template.go (renamed from routers/dev/template.go)0
-rw-r--r--routes/home.go (renamed from routers/home.go)4
-rw-r--r--routes/install.go (renamed from routers/install.go)2
-rw-r--r--routes/org/members.go (renamed from routers/org/members.go)0
-rw-r--r--routes/org/org.go (renamed from routers/org/org.go)0
-rw-r--r--routes/org/setting.go (renamed from routers/org/setting.go)2
-rw-r--r--routes/org/teams.go (renamed from routers/org/teams.go)0
-rw-r--r--routes/repo/branch.go (renamed from routers/repo/branch.go)0
-rw-r--r--routes/repo/commit.go (renamed from routers/repo/commit.go)0
-rw-r--r--routes/repo/download.go (renamed from routers/repo/download.go)0
-rw-r--r--routes/repo/editor.go (renamed from routers/repo/editor.go)0
-rw-r--r--routes/repo/http.go (renamed from routers/repo/http.go)0
-rw-r--r--routes/repo/issue.go (renamed from routers/repo/issue.go)0
-rw-r--r--routes/repo/pull.go (renamed from routers/repo/pull.go)0
-rw-r--r--routes/repo/release.go (renamed from routers/repo/release.go)0
-rw-r--r--routes/repo/repo.go (renamed from routers/repo/repo.go)0
-rw-r--r--routes/repo/setting.go (renamed from routers/repo/setting.go)0
-rw-r--r--routes/repo/view.go (renamed from routers/repo/view.go)0
-rw-r--r--routes/repo/webhook.go (renamed from routers/repo/webhook.go)0
-rw-r--r--routes/repo/wiki.go (renamed from routers/repo/wiki.go)0
-rw-r--r--routes/user/auth.go (renamed from routers/user/auth.go)0
-rw-r--r--routes/user/home.go (renamed from routers/user/home.go)0
-rw-r--r--routes/user/profile.go (renamed from routers/user/profile.go)2
-rw-r--r--routes/user/setting.go (renamed from routers/user/setting.go)0
-rw-r--r--templates/.VERSION2
62 files changed, 51 insertions, 51 deletions
diff --git a/cmd/hook.go b/cmd/hook.go
index 602690c6..0ff4a1c6 100644
--- a/cmd/hook.go
+++ b/cmd/hook.go
@@ -23,7 +23,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/httplib"
"github.com/gogits/gogs/pkg/setting"
- http "github.com/gogits/gogs/routers/repo"
+ http "github.com/gogits/gogs/routes/repo"
)
var (
diff --git a/cmd/serv.go b/cmd/serv.go
index d89ad5bd..dd4c1217 100644
--- a/cmd/serv.go
+++ b/cmd/serv.go
@@ -19,7 +19,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/models/errors"
"github.com/gogits/gogs/pkg/setting"
- http "github.com/gogits/gogs/routers/repo"
+ http "github.com/gogits/gogs/routes/repo"
)
const (
diff --git a/cmd/web.go b/cmd/web.go
index e16e40b9..69754230 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -36,13 +36,13 @@ import (
"github.com/gogits/gogs/pkg/mailer"
"github.com/gogits/gogs/pkg/setting"
"github.com/gogits/gogs/pkg/template"
- "github.com/gogits/gogs/routers"
- "github.com/gogits/gogs/routers/admin"
- apiv1 "github.com/gogits/gogs/routers/api/v1"
- "github.com/gogits/gogs/routers/dev"
- "github.com/gogits/gogs/routers/org"
- "github.com/gogits/gogs/routers/repo"
- "github.com/gogits/gogs/routers/user"
+ "github.com/gogits/gogs/routes"
+ "github.com/gogits/gogs/routes/admin"
+ apiv1 "github.com/gogits/gogs/routes/api/v1"
+ "github.com/gogits/gogs/routes/dev"
+ "github.com/gogits/gogs/routes/org"
+ "github.com/gogits/gogs/routes/repo"
+ "github.com/gogits/gogs/routes/user"
)
var Web = cli.Command{
@@ -160,7 +160,7 @@ func runWeb(c *cli.Context) error {
if c.IsSet("config") {
setting.CustomConf = c.String("config")
}
- routers.GlobalInit()
+ routes.GlobalInit()
checkVersion()
m := newMacaron()
@@ -175,17 +175,17 @@ func runWeb(c *cli.Context) error {
// FIXME: not all routes need go through same middlewares.
// Especially some AJAX requests, we can reduce middleware number to improve performance.
// Routers.
- m.Get("/", ignSignIn, routers.Home)
+ m.Get("/", ignSignIn, routes.Home)
m.Group("/explore", func() {
m.Get("", func(c *context.Context) {
c.Redirect(setting.AppSubURL + "/explore/repos")
})
- m.Get("/repos", routers.ExploreRepos)
- m.Get("/users", routers.ExploreUsers)
- m.Get("/organizations", routers.ExploreOrganizations)
+ m.Get("/repos", routes.ExploreRepos)
+ m.Get("/users", routes.ExploreUsers)
+ m.Get("/organizations", routes.ExploreOrganizations)
}, ignSignIn)
- m.Combo("/install", routers.InstallInit).Get(routers.Install).
- Post(bindIgnErr(form.Install{}), routers.InstallPost)
+ m.Combo("/install", routes.InstallInit).Get(routes.Install).
+ Post(bindIgnErr(form.Install{}), routes.InstallPost)
m.Get("/^:type(issues|pulls)$", reqSignIn, user.Issues)
// ***** START: User *****
@@ -651,7 +651,7 @@ func runWeb(c *cli.Context) error {
})
// Not found handler.
- m.NotFound(routers.NotFound)
+ m.NotFound(routes.NotFound)
// Flag for port number in case first time run conflict.
if c.IsSet("port") {
diff --git a/gogs.go b/gogs.go
index 97d22146..8549e431 100644
--- a/gogs.go
+++ b/gogs.go
@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/pkg/setting"
)
-const APP_VER = "0.11.19.0609"
+const APP_VER = "0.11.19.0611"
func init() {
setting.AppVer = APP_VER
diff --git a/routers/admin/admin.go b/routes/admin/admin.go
index 0d5eb7a6..0d5eb7a6 100644
--- a/routers/admin/admin.go
+++ b/routes/admin/admin.go
diff --git a/routers/admin/auths.go b/routes/admin/auths.go
index 56a0aad6..56a0aad6 100644
--- a/routers/admin/auths.go
+++ b/routes/admin/auths.go
diff --git a/routers/admin/notice.go b/routes/admin/notice.go
index c743a1da..c743a1da 100644
--- a/routers/admin/notice.go
+++ b/routes/admin/notice.go
diff --git a/routers/admin/orgs.go b/routes/admin/orgs.go
index 4b995acd..f42e1fdf 100644
--- a/routers/admin/orgs.go
+++ b/routes/admin/orgs.go
@@ -8,7 +8,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers"
+ "github.com/gogits/gogs/routes"
)
const (
@@ -20,7 +20,7 @@ func Organizations(c *context.Context) {
c.Data["PageIsAdmin"] = true
c.Data["PageIsAdminOrganizations"] = true
- routers.RenderUserSearch(c, &routers.UserSearchOptions{
+ routes.RenderUserSearch(c, &routes.UserSearchOptions{
Type: models.USER_TYPE_ORGANIZATION,
Counter: models.CountOrganizations,
Ranger: models.Organizations,
diff --git a/routers/admin/repos.go b/routes/admin/repos.go
index b4fa2266..b4fa2266 100644
--- a/routers/admin/repos.go
+++ b/routes/admin/repos.go
diff --git a/routers/admin/users.go b/routes/admin/users.go
index 237f2dc6..cfeb73de 100644
--- a/routers/admin/users.go
+++ b/routes/admin/users.go
@@ -15,7 +15,7 @@ import (
"github.com/gogits/gogs/pkg/form"
"github.com/gogits/gogs/pkg/mailer"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers"
+ "github.com/gogits/gogs/routes"
)
const (
@@ -29,7 +29,7 @@ func Users(c *context.Context) {
c.Data["PageIsAdmin"] = true
c.Data["PageIsAdminUsers"] = true
- routers.RenderUserSearch(c, &routers.UserSearchOptions{
+ routes.RenderUserSearch(c, &routes.UserSearchOptions{
Type: models.USER_TYPE_INDIVIDUAL,
Counter: models.CountUsers,
Ranger: models.Users,
diff --git a/routers/api/v1/admin/org.go b/routes/api/v1/admin/org.go
index 996a83bf..0f84ed2e 100644
--- a/routers/api/v1/admin/org.go
+++ b/routes/api/v1/admin/org.go
@@ -9,8 +9,8 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/context"
- "github.com/gogits/gogs/routers/api/v1/convert"
- "github.com/gogits/gogs/routers/api/v1/user"
+ "github.com/gogits/gogs/routes/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/user"
)
// https://github.com/gogits/go-gogs-client/wiki/Administration-Organizations#create-a-new-organization
diff --git a/routers/api/v1/admin/org_repo.go b/routes/api/v1/admin/org_repo.go
index 7abad1a8..7abad1a8 100644
--- a/routers/api/v1/admin/org_repo.go
+++ b/routes/api/v1/admin/org_repo.go
diff --git a/routers/api/v1/admin/org_team.go b/routes/api/v1/admin/org_team.go
index 7ec6c08a..ae748504 100644
--- a/routers/api/v1/admin/org_team.go
+++ b/routes/api/v1/admin/org_team.go
@@ -9,8 +9,8 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/context"
- "github.com/gogits/gogs/routers/api/v1/convert"
- "github.com/gogits/gogs/routers/api/v1/user"
+ "github.com/gogits/gogs/routes/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/user"
)
func CreateTeam(c *context.APIContext, form api.CreateTeamOption) {
diff --git a/routers/api/v1/admin/repo.go b/routes/api/v1/admin/repo.go
index 6c8e8e8d..920bac8d 100644
--- a/routers/api/v1/admin/repo.go
+++ b/routes/api/v1/admin/repo.go
@@ -8,8 +8,8 @@ import (
api "github.com/gogits/go-gogs-client"
"github.com/gogits/gogs/pkg/context"
- "github.com/gogits/gogs/routers/api/v1/repo"
- "github.com/gogits/gogs/routers/api/v1/user"
+ "github.com/gogits/gogs/routes/api/v1/repo"
+ "github.com/gogits/gogs/routes/api/v1/user"
)
// https://github.com/gogits/go-gogs-client/wiki/Administration-Repositories#create-a-new-repository
diff --git a/routers/api/v1/admin/user.go b/routes/api/v1/admin/user.go
index 8776217d..623911fd 100644
--- a/routers/api/v1/admin/user.go
+++ b/routes/api/v1/admin/user.go
@@ -13,7 +13,7 @@ import (
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/mailer"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers/api/v1/user"
+ "github.com/gogits/gogs/routes/api/v1/user"
)
func parseLoginSource(c *context.APIContext, u *models.User, sourceID int64, loginName string) {
diff --git a/routers/api/v1/api.go b/routes/api/v1/api.go
index 35ca861a..510c54cf 100644
--- a/routers/api/v1/api.go
+++ b/routes/api/v1/api.go
@@ -16,11 +16,11 @@ import (
"github.com/gogits/gogs/models/errors"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/form"
- "github.com/gogits/gogs/routers/api/v1/admin"
- "github.com/gogits/gogs/routers/api/v1/misc"
- "github.com/gogits/gogs/routers/api/v1/org"
- "github.com/gogits/gogs/routers/api/v1/repo"
- "github.com/gogits/gogs/routers/api/v1/user"
+ "github.com/gogits/gogs/routes/api/v1/admin"
+ "github.com/gogits/gogs/routes/api/v1/misc"
+ "github.com/gogits/gogs/routes/api/v1/org"
+ "github.com/gogits/gogs/routes/api/v1/repo"
+ "github.com/gogits/gogs/routes/api/v1/user"
)
func repoAssignment() macaron.Handler {
diff --git a/routers/api/v1/convert/convert.go b/routes/api/v1/convert/convert.go
index fcadb51f..fcadb51f 100644
--- a/routers/api/v1/convert/convert.go
+++ b/routes/api/v1/convert/convert.go
diff --git a/routers/api/v1/convert/utils.go b/routes/api/v1/convert/utils.go
index d0beab3d..d0beab3d 100644
--- a/routers/api/v1/convert/utils.go
+++ b/routes/api/v1/convert/utils.go
diff --git a/routers/api/v1/misc/markdown.go b/routes/api/v1/misc/markdown.go
index 98bfd7d0..98bfd7d0 100644
--- a/routers/api/v1/misc/markdown.go
+++ b/routes/api/v1/misc/markdown.go
diff --git a/routers/api/v1/org/org.go b/routes/api/v1/org/org.go
index 107fc19c..2f8832ca 100644
--- a/routers/api/v1/org/org.go
+++ b/routes/api/v1/org/org.go
@@ -9,8 +9,8 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/context"
- "github.com/gogits/gogs/routers/api/v1/convert"
- "github.com/gogits/gogs/routers/api/v1/user"
+ "github.com/gogits/gogs/routes/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/user"
)
func listUserOrgs(c *context.APIContext, u *models.User, all bool) {
diff --git a/routers/api/v1/org/team.go b/routes/api/v1/org/team.go
index a952ea53..fd92e728 100644
--- a/routers/api/v1/org/team.go
+++ b/routes/api/v1/org/team.go
@@ -8,7 +8,7 @@ import (
api "github.com/gogits/go-gogs-client"
"github.com/gogits/gogs/pkg/context"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/convert"
)
func ListTeams(c *context.APIContext) {
diff --git a/routers/api/v1/repo/branch.go b/routes/api/v1/repo/branch.go
index 3d5e646c..d8c2697b 100644
--- a/routers/api/v1/repo/branch.go
+++ b/routes/api/v1/repo/branch.go
@@ -9,7 +9,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/context"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/convert"
)
// https://github.com/gogits/go-gogs-client/wiki/Repositories#get-branch
diff --git a/routers/api/v1/repo/collaborators.go b/routes/api/v1/repo/collaborators.go
index d295ac0f..d295ac0f 100644
--- a/routers/api/v1/repo/collaborators.go
+++ b/routes/api/v1/repo/collaborators.go
diff --git a/routers/api/v1/repo/file.go b/routes/api/v1/repo/file.go
index df6a4857..c783e81f 100644
--- a/routers/api/v1/repo/file.go
+++ b/routes/api/v1/repo/file.go
@@ -9,7 +9,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/context"
- "github.com/gogits/gogs/routers/repo"
+ "github.com/gogits/gogs/routes/repo"
)
// https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-raw-content
diff --git a/routers/api/v1/repo/hook.go b/routes/api/v1/repo/hook.go
index 7c2b293e..66125c50 100644
--- a/routers/api/v1/repo/hook.go
+++ b/routes/api/v1/repo/hook.go
@@ -14,7 +14,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/models/errors"
"github.com/gogits/gogs/pkg/context"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/convert"
)
// https://github.com/gogits/go-gogs-client/wiki/Repositories#list-hooks
diff --git a/routers/api/v1/repo/issue.go b/routes/api/v1/repo/issue.go
index d6ae7b4d..d6ae7b4d 100644
--- a/routers/api/v1/repo/issue.go
+++ b/routes/api/v1/repo/issue.go
diff --git a/routers/api/v1/repo/issue_comment.go b/routes/api/v1/repo/issue_comment.go
index 4a057d76..4a057d76 100644
--- a/routers/api/v1/repo/issue_comment.go
+++ b/routes/api/v1/repo/issue_comment.go
diff --git a/routers/api/v1/repo/issue_label.go b/routes/api/v1/repo/issue_label.go
index f3f2d730..f3f2d730 100644
--- a/routers/api/v1/repo/issue_label.go
+++ b/routes/api/v1/repo/issue_label.go
diff --git a/routers/api/v1/repo/key.go b/routes/api/v1/repo/key.go
index 901df4c7..405440d2 100644
--- a/routers/api/v1/repo/key.go
+++ b/routes/api/v1/repo/key.go
@@ -12,7 +12,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/convert"
)
func composeDeployKeysAPILink(repoPath string) string {
diff --git a/routers/api/v1/repo/label.go b/routes/api/v1/repo/label.go
index 1161d633..1161d633 100644
--- a/routers/api/v1/repo/label.go
+++ b/routes/api/v1/repo/label.go
diff --git a/routers/api/v1/repo/milestone.go b/routes/api/v1/repo/milestone.go
index baf8eb2f..baf8eb2f 100644
--- a/routers/api/v1/repo/milestone.go
+++ b/routes/api/v1/repo/milestone.go
diff --git a/routers/api/v1/repo/repo.go b/routes/api/v1/repo/repo.go
index 727e1678..8410dcca 100644
--- a/routers/api/v1/repo/repo.go
+++ b/routes/api/v1/repo/repo.go
@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/form"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/convert"
)
// https://github.com/gogits/go-gogs-client/wiki/Repositories#search-repositories
diff --git a/routers/api/v1/user/app.go b/routes/api/v1/user/app.go
index bda1e23f..bda1e23f 100644
--- a/routers/api/v1/user/app.go
+++ b/routes/api/v1/user/app.go
diff --git a/routers/api/v1/user/email.go b/routes/api/v1/user/email.go
index 7c527a1a..bd1ea52b 100644
--- a/routers/api/v1/user/email.go
+++ b/routes/api/v1/user/email.go
@@ -10,7 +10,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/convert"
)
// https://github.com/gogits/go-gogs-client/wiki/Users-Emails#list-email-addresses-for-a-user
diff --git a/routers/api/v1/user/follower.go b/routes/api/v1/user/follower.go
index 6bbd4c7e..6bbd4c7e 100644
--- a/routers/api/v1/user/follower.go
+++ b/routes/api/v1/user/follower.go
diff --git a/routers/api/v1/user/key.go b/routes/api/v1/user/key.go
index f0c833f5..aef42afc 100644
--- a/routers/api/v1/user/key.go
+++ b/routes/api/v1/user/key.go
@@ -11,8 +11,8 @@ import (
"github.com/gogits/gogs/models/errors"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers/api/v1/convert"
- "github.com/gogits/gogs/routers/api/v1/repo"
+ "github.com/gogits/gogs/routes/api/v1/convert"
+ "github.com/gogits/gogs/routes/api/v1/repo"
)
func GetUserByParamsName(c *context.APIContext, name string) *models.User {
diff --git a/routers/api/v1/user/user.go b/routes/api/v1/user/user.go
index dbf727de..dbf727de 100644
--- a/routers/api/v1/user/user.go
+++ b/routes/api/v1/user/user.go
diff --git a/routers/dev/template.go b/routes/dev/template.go
index 00afa5c4..00afa5c4 100644
--- a/routers/dev/template.go
+++ b/routes/dev/template.go
diff --git a/routers/home.go b/routes/home.go
index bb43dc58..9c713391 100644
--- a/routers/home.go
+++ b/routes/home.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package routers
+package routes
import (
"github.com/Unknwon/paginater"
@@ -10,7 +10,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers/user"
+ "github.com/gogits/gogs/routes/user"
)
const (
diff --git a/routers/install.go b/routes/install.go
index 3b48d8d3..948c67c2 100644
--- a/routers/install.go
+++ b/routes/install.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package routers
+package routes
import (
"net/mail"
diff --git a/routers/org/members.go b/routes/org/members.go
index b529748c..b529748c 100644
--- a/routers/org/members.go
+++ b/routes/org/members.go
diff --git a/routers/org/org.go b/routes/org/org.go
index 775e9915..775e9915 100644
--- a/routers/org/org.go
+++ b/routes/org/org.go
diff --git a/routers/org/setting.go b/routes/org/setting.go
index 8e2e556f..397ffa8f 100644
--- a/routers/org/setting.go
+++ b/routes/org/setting.go
@@ -14,7 +14,7 @@ import (
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/form"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers/user"
+ "github.com/gogits/gogs/routes/user"
)
const (
diff --git a/routers/org/teams.go b/routes/org/teams.go
index c97d470d..c97d470d 100644
--- a/routers/org/teams.go
+++ b/routes/org/teams.go
diff --git a/routers/repo/branch.go b/routes/repo/branch.go
index 685df2e7..685df2e7 100644
--- a/routers/repo/branch.go
+++ b/routes/repo/branch.go
diff --git a/routers/repo/commit.go b/routes/repo/commit.go
index 17ea5dbe..17ea5dbe 100644
--- a/routers/repo/commit.go
+++ b/routes/repo/commit.go
diff --git a/routers/repo/download.go b/routes/repo/download.go
index e9a29989..e9a29989 100644
--- a/routers/repo/download.go
+++ b/routes/repo/download.go
diff --git a/routers/repo/editor.go b/routes/repo/editor.go
index 4cd78d70..4cd78d70 100644
--- a/routers/repo/editor.go
+++ b/routes/repo/editor.go
diff --git a/routers/repo/http.go b/routes/repo/http.go
index b8f519ba..b8f519ba 100644
--- a/routers/repo/http.go
+++ b/routes/repo/http.go
diff --git a/routers/repo/issue.go b/routes/repo/issue.go
index 8920bc32..8920bc32 100644
--- a/routers/repo/issue.go
+++ b/routes/repo/issue.go
diff --git a/routers/repo/pull.go b/routes/repo/pull.go
index 73757280..73757280 100644
--- a/routers/repo/pull.go
+++ b/routes/repo/pull.go
diff --git a/routers/repo/release.go b/routes/repo/release.go
index 86dfe6f7..86dfe6f7 100644
--- a/routers/repo/release.go
+++ b/routes/repo/release.go
diff --git a/routers/repo/repo.go b/routes/repo/repo.go
index ea3c1a60..ea3c1a60 100644
--- a/routers/repo/repo.go
+++ b/routes/repo/repo.go
diff --git a/routers/repo/setting.go b/routes/repo/setting.go
index 9168b04a..9168b04a 100644
--- a/routers/repo/setting.go
+++ b/routes/repo/setting.go
diff --git a/routers/repo/view.go b/routes/repo/view.go
index 1ea25d51..1ea25d51 100644
--- a/routers/repo/view.go
+++ b/routes/repo/view.go
diff --git a/routers/repo/webhook.go b/routes/repo/webhook.go
index c572d446..c572d446 100644
--- a/routers/repo/webhook.go
+++ b/routes/repo/webhook.go
diff --git a/routers/repo/wiki.go b/routes/repo/wiki.go
index ad2cfbae..ad2cfbae 100644
--- a/routers/repo/wiki.go
+++ b/routes/repo/wiki.go
diff --git a/routers/user/auth.go b/routes/user/auth.go
index 34fdbd85..34fdbd85 100644
--- a/routers/user/auth.go
+++ b/routes/user/auth.go
diff --git a/routers/user/home.go b/routes/user/home.go
index c3b9b182..c3b9b182 100644
--- a/routers/user/home.go
+++ b/routes/user/home.go
diff --git a/routers/user/profile.go b/routes/user/profile.go
index dc8ba6ae..a6eba351 100644
--- a/routers/user/profile.go
+++ b/routes/user/profile.go
@@ -15,7 +15,7 @@ import (
"github.com/gogits/gogs/models/errors"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/routers/repo"
+ "github.com/gogits/gogs/routes/repo"
)
const (
diff --git a/routers/user/setting.go b/routes/user/setting.go
index 723b3da2..723b3da2 100644
--- a/routers/user/setting.go
+++ b/routes/user/setting.go
diff --git a/templates/.VERSION b/templates/.VERSION
index 95335b2f..82236ad3 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.11.19.0609 \ No newline at end of file
+0.11.19.0611 \ No newline at end of file