Browse Source

Change import reference to match gitea instead of gogs (#37)

Rémy Boulanouar 3 years ago
parent
commit
2d68bd1ef9
100 changed files with 319 additions and 319 deletions
  1. 3 3
      .github/CONTRIBUTING.md
  2. 1 1
      .github/PULL_REQUEST_TEMPLATE.md
  3. 1 1
      .gopmfile
  4. 2 2
      Makefile
  5. 6 6
      README.md
  6. 3 3
      README_ZH.md
  7. 2 2
      cmd/admin.go
  8. 2 2
      cmd/dump.go
  9. 5 5
      cmd/serve.go
  10. 3 3
      cmd/update.go
  11. 14 14
      cmd/web.go
  12. 1 1
      conf/app.ini
  13. 2 2
      docker/build.sh
  14. 1 1
      glide.yaml
  15. 2 2
      gogs.go
  16. 1 1
      models/access.go
  17. 3 3
      models/action.go
  18. 3 3
      models/admin.go
  19. 5 5
      models/git_diff.go
  20. 3 3
      models/issue.go
  21. 2 2
      models/issue_comment.go
  22. 1 1
      models/issue_label.go
  23. 3 3
      models/issue_mail.go
  24. 3 3
      models/login_source.go
  25. 5 5
      models/mail.go
  26. 3 3
      models/migrations/migrations.go
  27. 2 2
      models/models.go
  28. 2 2
      models/org.go
  29. 4 4
      models/pull.go
  30. 1 1
      models/release.go
  31. 6 6
      models/repo.go
  32. 3 3
      models/repo_editor.go
  33. 4 4
      models/repo_mirror.go
  34. 2 2
      models/repo_test.go
  35. 4 4
      models/ssh_key.go
  36. 1 1
      models/ssh_key_test.go
  37. 1 1
      models/token.go
  38. 1 1
      models/update.go
  39. 5 5
      models/user.go
  40. 4 4
      models/webhook.go
  41. 1 1
      models/webhook_slack.go
  42. 2 2
      models/wiki.go
  43. 4 4
      modules/auth/auth.go
  44. 1 1
      modules/auth/ldap/ldap.go
  45. 1 1
      modules/auth/repo_form.go
  46. 2 2
      modules/base/tool.go
  47. 3 3
      modules/context/api.go
  48. 1 1
      modules/context/api_org.go
  49. 2 2
      modules/context/auth.go
  50. 5 5
      modules/context/context.go
  51. 2 2
      modules/context/org.go
  52. 3 3
      modules/context/repo.go
  53. 3 3
      modules/cron/cron.go
  54. 2 2
      modules/mailer/mailer.go
  55. 2 2
      modules/markdown/markdown.go
  56. 2 2
      modules/markdown/markdown_test.go
  57. 1 1
      modules/process/manager.go
  58. 3 3
      modules/setting/setting.go
  59. 3 3
      modules/ssh/ssh.go
  60. 1 1
      modules/template/highlight/highlight.go
  61. 5 5
      modules/template/template.go
  62. 6 6
      routers/admin/admin.go
  63. 7 7
      routers/admin/auths.go
  64. 5 5
      routers/admin/notice.go
  65. 5 5
      routers/admin/orgs.go
  66. 6 6
      routers/admin/repos.go
  67. 7 7
      routers/admin/users.go
  68. 4 4
      routers/api/v1/admin/org.go
  69. 2 2
      routers/api/v1/admin/org_repo.go
  70. 4 4
      routers/api/v1/admin/org_team.go
  71. 3 3
      routers/api/v1/admin/repo.go
  72. 5 5
      routers/api/v1/admin/user.go
  73. 8 8
      routers/api/v1/api.go
  74. 1 1
      routers/api/v1/convert/convert.go
  75. 1 1
      routers/api/v1/convert/utils.go
  76. 2 2
      routers/api/v1/misc/markdown.go
  77. 4 4
      routers/api/v1/org/org.go
  78. 2 2
      routers/api/v1/org/team.go
  79. 2 2
      routers/api/v1/repo/branch.go
  80. 2 2
      routers/api/v1/repo/collaborators.go
  81. 3 3
      routers/api/v1/repo/file.go
  82. 3 3
      routers/api/v1/repo/hook.go
  83. 3 3
      routers/api/v1/repo/issue.go
  84. 2 2
      routers/api/v1/repo/issue_comment.go
  85. 2 2
      routers/api/v1/repo/issue_label.go
  86. 4 4
      routers/api/v1/repo/key.go
  87. 2 2
      routers/api/v1/repo/label.go
  88. 2 2
      routers/api/v1/repo/milestone.go
  89. 6 6
      routers/api/v1/repo/repo.go
  90. 2 2
      routers/api/v1/user/app.go
  91. 4 4
      routers/api/v1/user/email.go
  92. 2 2
      routers/api/v1/user/follower.go
  93. 5 5
      routers/api/v1/user/key.go
  94. 2 2
      routers/api/v1/user/user.go
  95. 4 4
      routers/dev/template.go
  96. 5 5
      routers/home.go
  97. 12 12
      routers/install.go
  98. 5 5
      routers/org/members.go
  99. 6 6
      routers/org/org.go
  100. 0 0
      routers/org/setting.go

+ 3 - 3
.github/CONTRIBUTING.md

@@ -15,7 +15,7 @@ Depends on the situation, you will:
15 15
 
16 16
 ### Bug Report
17 17
 
18
-If you find something you consider a bug, please create a issue on [GitHub](https://github.com/gogits/gogs/issues). To avoid wasting time and reduce back-and-forth communication with team members, please include at least the following information in a form comfortable for you:
18
+If you find something you consider a bug, please create a issue on [GitHub](https://github.com/go-gitea/gitea/issues). To avoid wasting time and reduce back-and-forth communication with team members, please include at least the following information in a form comfortable for you:
19 19
 
20 20
 - Bug Description
21 21
 - Gogs Version
@@ -24,7 +24,7 @@ If you find something you consider a bug, please create a issue on [GitHub](http
24 24
 - Error Log
25 25
 - Other information
26 26
 
27
-Please take a moment to check that an issue on [GitHub](https://github.com/gogits/gogs/issues) doesn't already exist documenting your bug report or improvement proposal. If it does, it never hurts to add a quick "+1" or "I have this problem too". This will help prioritize the most common problems and requests.
27
+Please take a moment to check that an issue on [GitHub](https://github.com/go-gitea/gitea/issues) doesn't already exist documenting your bug report or improvement proposal. If it does, it never hurts to add a quick "+1" or "I have this problem too". This will help prioritize the most common problems and requests.
28 28
 
29 29
 #### Bug Report Example
30 30
 
@@ -42,7 +42,7 @@ There is no standard form of making a feature request. Just try to describe the
42 42
 
43 43
 ### Pull Request
44 44
 
45
-Please read detailed information on [Wiki](https://github.com/gogits/gogs/wiki/Contributing-Code).
45
+Please read detailed information on [Wiki](https://github.com/go-gitea/gitea/wiki/Contributing-Code).
46 46
 
47 47
 ### Ask For Help
48 48
 

+ 1 - 1
.github/PULL_REQUEST_TEMPLATE.md

@@ -2,7 +2,7 @@ The pull request will be closed without any reasons if it does not satisfy any o
2 2
 
3 3
 1. Please make sure you are targeting the `develop` branch.
4 4
 2. Please read contributing guidelines:
5
-https://github.com/gogits/gogs/wiki/Contributing-Code
5
+https://github.com/go-gitea/gitea/wiki/Contributing-Code
6 6
 3. Please describe what your pull request does and which issue you're targeting
7 7
 4. ... if it is not related to any particular issues, explain why we should not reject your pull request.
8 8
 

+ 1 - 1
.gopmfile

@@ -1,5 +1,5 @@
1 1
 [target]
2
-path = github.com/gogits/gogs
2
+path = github.com/go-gitea/gitea
3 3
 
4 4
 [deps]
5 5
 github.com/bradfitz/gomemcache = commit:fb1f79c

+ 2 - 2
Makefile

@@ -1,5 +1,5 @@
1
-LDFLAGS += -X "github.com/gogits/gogs/modules/setting.BuildTime=$(shell date -u '+%Y-%m-%d %I:%M:%S %Z')"
2
-LDFLAGS += -X "github.com/gogits/gogs/modules/setting.BuildGitHash=$(shell git rev-parse HEAD)"
1
+LDFLAGS += -X "github.com/go-gitea/gitea/modules/setting.BuildTime=$(shell date -u '+%Y-%m-%d %I:%M:%S %Z')"
2
+LDFLAGS += -X "github.com/go-gitea/gitea/modules/setting.BuildGitHash=$(shell git rev-parse HEAD)"
3 3
 
4 4
 DATA_FILES := $(shell find conf | sed 's/ /\\ /g')
5 5
 LESS_FILES := $(wildcard public/less/gogs.less public/less/_*.less)

+ 6 - 6
README.md

@@ -1,9 +1,9 @@
1 1
 Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?branch=master)](https://travis-ci.org/gogits/gogs) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/gogs/localized.svg)](https://crowdin.com/project/gogs) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gogits/gogs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2 2
 =====================
3 3
 
4
-![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
4
+![](https://github.com/go-gitea/gitea/blob/master/public/img/gogs-large-resize.png?raw=true)
5 5
 
6
-##### Current tip version: 0.9.99 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions or submit a task on [alpha stage automated binary building system](https://build.gogs.io/))
6
+##### Current tip version: 0.9.99 (see [Releases](https://github.com/go-gitea/gitea/releases) for binary versions or submit a task on [alpha stage automated binary building system](https://build.gogs.io/))
7 7
 
8 8
 | Web | UI  | Preview  |
9 9
 |:-------------:|:-------:|:-------:|
@@ -13,7 +13,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
13 13
 
14 14
 ### Important Notes
15 15
 
16
-1. **YOU MUST READ [Contributing Code](https://github.com/gogits/gogs/wiki/Contributing-Code) BEFORE STARTING TO WORK ON A PULL REQUEST**.
16
+1. **YOU MUST READ [Contributing Code](https://github.com/go-gitea/gitea/wiki/Contributing-Code) BEFORE STARTING TO WORK ON A PULL REQUEST**.
17 17
 2. Due to testing purpose, data of [try.gogs.io](https://try.gogs.io) was reset in **Jan 28, 2015** and will reset multiple times after. Please do **NOT** put your important data on the site.
18 18
 3. The demo site [try.gogs.io](https://try.gogs.io) is running under `develop` branch.
19 19
 4. If you think there are vulnerabilities in the project, please talk privately to **u@gogs.io**. Thanks!
@@ -72,7 +72,7 @@ There are 5 ways to install Gogs:
72 72
 - [Install from binary](https://gogs.io/docs/installation/install_from_binary.html)
73 73
 - [Install from source](https://gogs.io/docs/installation/install_from_source.html)
74 74
 - [Install from packages](https://gogs.io/docs/installation/install_from_packages.html)
75
-- [Ship with Docker](https://github.com/gogits/gogs/tree/master/docker)
75
+- [Ship with Docker](https://github.com/go-gitea/gitea/tree/master/docker)
76 76
 - [Install with Vagrant](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs)
77 77
 
78 78
 ### Tutorials
@@ -130,9 +130,9 @@ There are 5 ways to install Gogs:
130 130
 ## Contributors
131 131
 
132 132
 - Ex-team members [@lunny](https://github.com/lunny), [@fuxiaohei](https://github.com/fuxiaohei) and [@slene](https://github.com/slene).
133
-- See [contributors page](https://github.com/gogits/gogs/graphs/contributors) for full list of contributors.
133
+- See [contributors page](https://github.com/go-gitea/gitea/graphs/contributors) for full list of contributors.
134 134
 - See [TRANSLATORS](conf/locale/TRANSLATORS) for public list of translators.
135 135
 
136 136
 ## License
137 137
 
138
-This project is under the MIT License. See the [LICENSE](https://github.com/gogits/gogs/blob/master/LICENSE) file for the full license text.
138
+This project is under the MIT License. See the [LICENSE](https://github.com/go-gitea/gitea/blob/master/LICENSE) file for the full license text.

+ 3 - 3
README_ZH.md

@@ -53,7 +53,7 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
53 53
 - [二进制安装](https://gogs.io/docs/installation/install_from_binary.html)
54 54
 - [源码安装](https://gogs.io/docs/installation/install_from_source.html)
55 55
 - [包管理安装](https://gogs.io/docs/installation/install_from_packages.html)
56
-- [采用 Docker 部署](https://github.com/gogits/gogs/tree/master/docker)
56
+- [采用 Docker 部署](https://github.com/go-gitea/gitea/tree/master/docker)
57 57
 - [通过 Vagrant 安装](https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs)
58 58
 
59 59
 ### 使用教程
@@ -99,9 +99,9 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
99 99
 ## 贡献成员
100 100
 
101 101
 - 前团队成员 [@lunny](https://github.com/lunny)、[@fuxiaohei](https://github.com/fuxiaohei) 和 [@slene](https://github.com/slene)。
102
-- 您可以通过查看 [贡献者页面](https://github.com/gogits/gogs/graphs/contributors) 获取完整的贡献者列表。
102
+- 您可以通过查看 [贡献者页面](https://github.com/go-gitea/gitea/graphs/contributors) 获取完整的贡献者列表。
103 103
 - 您可以通过查看 [TRANSLATORS](conf/locale/TRANSLATORS) 文件获取公开的翻译人员列表。
104 104
 
105 105
 ## 授权许可
106 106
 
107
-本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/gogits/gogs/blob/master/LICENSE) 文件中。
107
+本项目采用 MIT 开源授权许可证,完整的授权说明已放置在 [LICENSE](https://github.com/go-gitea/gitea/blob/master/LICENSE) 文件中。

+ 2 - 2
cmd/admin.go

@@ -9,8 +9,8 @@ import (
9 9
 
10 10
 	"github.com/urfave/cli"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/setting"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/setting"
14 14
 )
15 15
 
16 16
 var (

+ 2 - 2
cmd/dump.go

@@ -16,8 +16,8 @@ import (
16 16
 	"github.com/Unknwon/cae/zip"
17 17
 	"github.com/urfave/cli"
18 18
 
19
-	"github.com/gogits/gogs/models"
20
-	"github.com/gogits/gogs/modules/setting"
19
+	"github.com/go-gitea/gitea/models"
20
+	"github.com/go-gitea/gitea/modules/setting"
21 21
 )
22 22
 
23 23
 var CmdDump = cli.Command{

+ 5 - 5
cmd/serve.go

@@ -18,11 +18,11 @@ import (
18 18
 	gouuid "github.com/satori/go.uuid"
19 19
 	"github.com/urfave/cli"
20 20
 
21
-	"github.com/gogits/gogs/models"
22
-	"github.com/gogits/gogs/modules/base"
23
-	"github.com/gogits/gogs/modules/httplib"
24
-	"github.com/gogits/gogs/modules/log"
25
-	"github.com/gogits/gogs/modules/setting"
21
+	"github.com/go-gitea/gitea/models"
22
+	"github.com/go-gitea/gitea/modules/base"
23
+	"github.com/go-gitea/gitea/modules/httplib"
24
+	"github.com/go-gitea/gitea/modules/log"
25
+	"github.com/go-gitea/gitea/modules/setting"
26 26
 )
27 27
 
28 28
 const (

+ 3 - 3
cmd/update.go

@@ -9,9 +9,9 @@ import (
9 9
 
10 10
 	"github.com/urfave/cli"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/log"
14
-	"github.com/gogits/gogs/modules/setting"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/log"
14
+	"github.com/go-gitea/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 var CmdUpdate = cli.Command{

+ 14 - 14
cmd/web.go

@@ -32,20 +32,20 @@ import (
32 32
 	"github.com/gogits/git-module"
33 33
 	"github.com/gogits/go-gogs-client"
34 34
 
35
-	"github.com/gogits/gogs/models"
36
-	"github.com/gogits/gogs/modules/auth"
37
-	"github.com/gogits/gogs/modules/bindata"
38
-	"github.com/gogits/gogs/modules/context"
39
-	"github.com/gogits/gogs/modules/log"
40
-	"github.com/gogits/gogs/modules/setting"
41
-	"github.com/gogits/gogs/modules/template"
42
-	"github.com/gogits/gogs/routers"
43
-	"github.com/gogits/gogs/routers/admin"
44
-	apiv1 "github.com/gogits/gogs/routers/api/v1"
45
-	"github.com/gogits/gogs/routers/dev"
46
-	"github.com/gogits/gogs/routers/org"
47
-	"github.com/gogits/gogs/routers/repo"
48
-	"github.com/gogits/gogs/routers/user"
35
+	"github.com/go-gitea/gitea/models"
36
+	"github.com/go-gitea/gitea/modules/auth"
37
+	"github.com/go-gitea/gitea/modules/bindata"
38
+	"github.com/go-gitea/gitea/modules/context"
39
+	"github.com/go-gitea/gitea/modules/log"
40
+	"github.com/go-gitea/gitea/modules/setting"
41
+	"github.com/go-gitea/gitea/modules/template"
42
+	"github.com/go-gitea/gitea/routers"
43
+	"github.com/go-gitea/gitea/routers/admin"
44
+	apiv1 "github.com/go-gitea/gitea/routers/api/v1"
45
+	"github.com/go-gitea/gitea/routers/dev"
46
+	"github.com/go-gitea/gitea/routers/org"
47
+	"github.com/go-gitea/gitea/routers/repo"
48
+	"github.com/go-gitea/gitea/routers/user"
49 49
 )
50 50
 
51 51
 var CmdWeb = cli.Command{

+ 1 - 1
conf/app.ini

@@ -179,7 +179,7 @@ DISABLE_REGISTRATION = false
179 179
 REQUIRE_SIGNIN_VIEW = false
180 180
 ; Mail notification
181 181
 ENABLE_NOTIFY_MAIL = false
182
-; More detail: https://github.com/gogits/gogs/issues/165
182
+; More detail: https://github.com/go-gitea/gitea/issues/165
183 183
 ENABLE_REVERSE_PROXY_AUTHENTICATION = false
184 184
 ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false
185 185
 ; Enable captcha validation for registration

+ 2 - 2
docker/build.sh

@@ -20,8 +20,8 @@ go install
20 20
 
21 21
 # Build Gogs
22 22
 mkdir -p ${GOPATH}/src/github.com/gogits/
23
-ln -s /app/gogs/ ${GOPATH}/src/github.com/gogits/gogs
24
-cd ${GOPATH}/src/github.com/gogits/gogs
23
+ln -s /app/gogs/ ${GOPATH}/src/github.com/go-gitea/gitea
24
+cd ${GOPATH}/src/github.com/go-gitea/gitea
25 25
 glide install
26 26
 make build TAGS="sqlite cert pam"
27 27
 

+ 1 - 1
glide.yaml

@@ -1,4 +1,4 @@
1
-package: github.com/gogits/gogs
1
+package: github.com/go-gitea/gitea
2 2
 import:
3 3
 - package: github.com/Unknwon/cae
4 4
   subpackages:

+ 2 - 2
gogs.go

@@ -13,8 +13,8 @@ import (
13 13
 
14 14
 	"github.com/urfave/cli"
15 15
 
16
-	"github.com/gogits/gogs/cmd"
17
-	"github.com/gogits/gogs/modules/setting"
16
+	"github.com/go-gitea/gitea/cmd"
17
+	"github.com/go-gitea/gitea/modules/setting"
18 18
 )
19 19
 
20 20
 const APP_VER = "0.9.99.0915"

+ 1 - 1
models/access.go

@@ -7,7 +7,7 @@ package models
7 7
 import (
8 8
 	"fmt"
9 9
 
10
-	"github.com/gogits/gogs/modules/log"
10
+	"github.com/go-gitea/gitea/modules/log"
11 11
 )
12 12
 
13 13
 type AccessMode int

+ 3 - 3
models/action.go

@@ -19,9 +19,9 @@ import (
19 19
 	"github.com/gogits/git-module"
20 20
 	api "github.com/gogits/go-gogs-client"
21 21
 
22
-	"github.com/gogits/gogs/modules/base"
23
-	"github.com/gogits/gogs/modules/log"
24
-	"github.com/gogits/gogs/modules/setting"
22
+	"github.com/go-gitea/gitea/modules/base"
23
+	"github.com/go-gitea/gitea/modules/log"
24
+	"github.com/go-gitea/gitea/modules/setting"
25 25
 )
26 26
 
27 27
 type ActionType int

+ 3 - 3
models/admin.go

@@ -14,9 +14,9 @@ import (
14 14
 	"github.com/Unknwon/com"
15 15
 	"github.com/go-xorm/xorm"
16 16
 
17
-	"github.com/gogits/gogs/modules/base"
18
-	"github.com/gogits/gogs/modules/log"
19
-	"github.com/gogits/gogs/modules/setting"
17
+	"github.com/go-gitea/gitea/modules/base"
18
+	"github.com/go-gitea/gitea/modules/log"
19
+	"github.com/go-gitea/gitea/modules/setting"
20 20
 )
21 21
 
22 22
 type NoticeType int

+ 5 - 5
models/git_diff.go

@@ -23,11 +23,11 @@ import (
23 23
 
24 24
 	"github.com/gogits/git-module"
25 25
 
26
-	"github.com/gogits/gogs/modules/base"
27
-	"github.com/gogits/gogs/modules/log"
28
-	"github.com/gogits/gogs/modules/process"
29
-	"github.com/gogits/gogs/modules/setting"
30
-	"github.com/gogits/gogs/modules/template/highlight"
26
+	"github.com/go-gitea/gitea/modules/base"
27
+	"github.com/go-gitea/gitea/modules/log"
28
+	"github.com/go-gitea/gitea/modules/process"
29
+	"github.com/go-gitea/gitea/modules/setting"
30
+	"github.com/go-gitea/gitea/modules/template/highlight"
31 31
 )
32 32
 
33 33
 type DiffLineType uint8

+ 3 - 3
models/issue.go

@@ -19,9 +19,9 @@ import (
19 19
 	api "github.com/gogits/go-gogs-client"
20 20
 	gouuid "github.com/satori/go.uuid"
21 21
 
22
-	"github.com/gogits/gogs/modules/base"
23
-	"github.com/gogits/gogs/modules/log"
24
-	"github.com/gogits/gogs/modules/setting"
22
+	"github.com/go-gitea/gitea/modules/base"
23
+	"github.com/go-gitea/gitea/modules/log"
24
+	"github.com/go-gitea/gitea/modules/setting"
25 25
 )
26 26
 
27 27
 var (

+ 2 - 2
models/issue_comment.go

@@ -14,8 +14,8 @@ import (
14 14
 
15 15
 	api "github.com/gogits/go-gogs-client"
16 16
 
17
-	"github.com/gogits/gogs/modules/log"
18
-	"github.com/gogits/gogs/modules/markdown"
17
+	"github.com/go-gitea/gitea/modules/log"
18
+	"github.com/go-gitea/gitea/modules/markdown"
19 19
 )
20 20
 
21 21
 // CommentType defines whether a comment is just a simple comment, an action (like close) or a reference.

+ 1 - 1
models/issue_label.go

@@ -15,7 +15,7 @@ import (
15 15
 
16 16
 	api "github.com/gogits/go-gogs-client"
17 17
 
18
-	"github.com/gogits/gogs/modules/base"
18
+	"github.com/go-gitea/gitea/modules/base"
19 19
 )
20 20
 
21 21
 var labelColorPattern = regexp.MustCompile("#([a-fA-F0-9]{6})")

+ 3 - 3
models/issue_mail.go

@@ -9,9 +9,9 @@ import (
9 9
 
10 10
 	"github.com/Unknwon/com"
11 11
 
12
-	"github.com/gogits/gogs/modules/log"
13
-	"github.com/gogits/gogs/modules/markdown"
14
-	"github.com/gogits/gogs/modules/setting"
12
+	"github.com/go-gitea/gitea/modules/log"
13
+	"github.com/go-gitea/gitea/modules/markdown"
14
+	"github.com/go-gitea/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 func (issue *Issue) MailSubject() string {

+ 3 - 3
models/login_source.go

@@ -19,9 +19,9 @@ import (
19 19
 	"github.com/go-xorm/core"
20 20
 	"github.com/go-xorm/xorm"
21 21
 
22
-	"github.com/gogits/gogs/modules/auth/ldap"
23
-	"github.com/gogits/gogs/modules/auth/pam"
24
-	"github.com/gogits/gogs/modules/log"
22
+	"github.com/go-gitea/gitea/modules/auth/ldap"
23
+	"github.com/go-gitea/gitea/modules/auth/pam"
24
+	"github.com/go-gitea/gitea/modules/log"
25 25
 )
26 26
 
27 27
 type LoginType int

+ 5 - 5
models/mail.go

@@ -12,11 +12,11 @@ import (
12 12
 	"gopkg.in/gomail.v2"
13 13
 	"gopkg.in/macaron.v1"
14 14
 
15
-	"github.com/gogits/gogs/modules/base"
16
-	"github.com/gogits/gogs/modules/log"
17
-	"github.com/gogits/gogs/modules/mailer"
18
-	"github.com/gogits/gogs/modules/markdown"
19
-	"github.com/gogits/gogs/modules/setting"
15
+	"github.com/go-gitea/gitea/modules/base"
16
+	"github.com/go-gitea/gitea/modules/log"
17
+	"github.com/go-gitea/gitea/modules/mailer"
18
+	"github.com/go-gitea/gitea/modules/markdown"
19
+	"github.com/go-gitea/gitea/modules/setting"
20 20
 )
21 21
 
22 22
 const (

+ 3 - 3
models/migrations/migrations.go

@@ -20,9 +20,9 @@ import (
20 20
 	gouuid "github.com/satori/go.uuid"
21 21
 	"gopkg.in/ini.v1"
22 22
 
23
-	"github.com/gogits/gogs/modules/base"
24
-	"github.com/gogits/gogs/modules/log"
25
-	"github.com/gogits/gogs/modules/setting"
23
+	"github.com/go-gitea/gitea/modules/base"
24
+	"github.com/go-gitea/gitea/modules/log"
25
+	"github.com/go-gitea/gitea/modules/setting"
26 26
 )
27 27
 
28 28
 const _MIN_DB_VER = 4

+ 2 - 2
models/models.go

@@ -18,8 +18,8 @@ import (
18 18
 	"github.com/go-xorm/xorm"
19 19
 	_ "github.com/lib/pq"
20 20
 
21
-	"github.com/gogits/gogs/models/migrations"
22
-	"github.com/gogits/gogs/modules/setting"
21
+	"github.com/go-gitea/gitea/models/migrations"
22
+	"github.com/go-gitea/gitea/modules/setting"
23 23
 )
24 24
 
25 25
 // Engine represents a xorm engine or session.

+ 2 - 2
models/org.go

@@ -12,8 +12,8 @@ import (
12 12
 
13 13
 	"github.com/go-xorm/xorm"
14 14
 
15
-	"github.com/gogits/gogs/modules/base"
16
-	"github.com/gogits/gogs/modules/log"
15
+	"github.com/go-gitea/gitea/modules/base"
16
+	"github.com/go-gitea/gitea/modules/log"
17 17
 )
18 18
 
19 19
 var (

+ 4 - 4
models/pull.go

@@ -17,10 +17,10 @@ import (
17 17
 	"github.com/gogits/git-module"
18 18
 	api "github.com/gogits/go-gogs-client"
19 19
 
20
-	"github.com/gogits/gogs/modules/log"
21
-	"github.com/gogits/gogs/modules/process"
22
-	"github.com/gogits/gogs/modules/setting"
23
-	"github.com/gogits/gogs/modules/sync"
20
+	"github.com/go-gitea/gitea/modules/log"
21
+	"github.com/go-gitea/gitea/modules/process"
22
+	"github.com/go-gitea/gitea/modules/setting"
23
+	"github.com/go-gitea/gitea/modules/sync"
24 24
 )
25 25
 
26 26
 var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength)

+ 1 - 1
models/release.go

@@ -14,7 +14,7 @@ import (
14 14
 
15 15
 	"github.com/gogits/git-module"
16 16
 
17
-	"github.com/gogits/gogs/modules/process"
17
+	"github.com/go-gitea/gitea/modules/process"
18 18
 )
19 19
 
20 20
 // Release represents a release of repository.

+ 6 - 6
models/repo.go

@@ -28,12 +28,12 @@ import (
28 28
 	git "github.com/gogits/git-module"
29 29
 	api "github.com/gogits/go-gogs-client"
30 30
 
31
-	"github.com/gogits/gogs/modules/bindata"
32
-	"github.com/gogits/gogs/modules/log"
33
-	"github.com/gogits/gogs/modules/markdown"
34
-	"github.com/gogits/gogs/modules/process"
35
-	"github.com/gogits/gogs/modules/setting"
36
-	"github.com/gogits/gogs/modules/sync"
31
+	"github.com/go-gitea/gitea/modules/bindata"
32
+	"github.com/go-gitea/gitea/modules/log"
33
+	"github.com/go-gitea/gitea/modules/markdown"
34
+	"github.com/go-gitea/gitea/modules/process"
35
+	"github.com/go-gitea/gitea/modules/setting"
36
+	"github.com/go-gitea/gitea/modules/sync"
37 37
 )
38 38
 
39 39
 const (

+ 3 - 3
models/repo_editor.go

@@ -20,9 +20,9 @@ import (
20 20
 
21 21
 	git "github.com/gogits/git-module"
22 22
 
23
-	"github.com/gogits/gogs/modules/log"
24
-	"github.com/gogits/gogs/modules/process"
25
-	"github.com/gogits/gogs/modules/setting"
23
+	"github.com/go-gitea/gitea/modules/log"
24
+	"github.com/go-gitea/gitea/modules/process"
25
+	"github.com/go-gitea/gitea/modules/setting"
26 26
 )
27 27
 
28 28
 // ___________    .___.__  __    ___________.__.__

+ 4 - 4
models/repo_mirror.go

@@ -13,10 +13,10 @@ import (
13 13
 	"github.com/go-xorm/xorm"
14 14
 	"gopkg.in/ini.v1"
15 15
 
16
-	"github.com/gogits/gogs/modules/log"
17
-	"github.com/gogits/gogs/modules/process"
18
-	"github.com/gogits/gogs/modules/setting"
19
-	"github.com/gogits/gogs/modules/sync"
16
+	"github.com/go-gitea/gitea/modules/log"
17
+	"github.com/go-gitea/gitea/modules/process"
18
+	"github.com/go-gitea/gitea/modules/setting"
19
+	"github.com/go-gitea/gitea/modules/sync"
20 20
 )
21 21
 
22 22
 var MirrorQueue = sync.NewUniqueQueue(setting.Repository.MirrorQueueLength)

+ 2 - 2
models/repo_test.go

@@ -1,11 +1,11 @@
1 1
 package models_test
2 2
 
3 3
 import (
4
-	. "github.com/gogits/gogs/models"
4
+	. "github.com/go-gitea/gitea/models"
5 5
 	. "github.com/smartystreets/goconvey/convey"
6 6
 	"testing"
7 7
 
8
-	"github.com/gogits/gogs/modules/markdown"
8
+	"github.com/go-gitea/gitea/modules/markdown"
9 9
 )
10 10
 
11 11
 func TestRepo(t *testing.T) {

+ 4 - 4
models/ssh_key.go

@@ -22,10 +22,10 @@ import (
22 22
 	"github.com/go-xorm/xorm"
23 23
 	"golang.org/x/crypto/ssh"
24 24
 
25
-	"github.com/gogits/gogs/modules/base"
26
-	"github.com/gogits/gogs/modules/log"
27
-	"github.com/gogits/gogs/modules/process"
28
-	"github.com/gogits/gogs/modules/setting"
25
+	"github.com/go-gitea/gitea/modules/base"
26
+	"github.com/go-gitea/gitea/modules/log"
27
+	"github.com/go-gitea/gitea/modules/process"
28
+	"github.com/go-gitea/gitea/modules/setting"
29 29
 )
30 30
 
31 31
 const (

+ 1 - 1
models/ssh_key_test.go

@@ -11,7 +11,7 @@ import (
11 11
 
12 12
 	. "github.com/smartystreets/goconvey/convey"
13 13
 
14
-	"github.com/gogits/gogs/modules/setting"
14
+	"github.com/go-gitea/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 func init() {

+ 1 - 1
models/token.go

@@ -10,7 +10,7 @@ import (
10 10
 	"github.com/go-xorm/xorm"
11 11
 	gouuid "github.com/satori/go.uuid"
12 12
 
13
-	"github.com/gogits/gogs/modules/base"
13
+	"github.com/go-gitea/gitea/modules/base"
14 14
 )
15 15
 
16 16
 // AccessToken represents a personal access token.

+ 1 - 1
models/update.go

@@ -12,7 +12,7 @@ import (
12 12
 
13 13
 	git "github.com/gogits/git-module"
14 14
 
15
-	"github.com/gogits/gogs/modules/log"
15
+	"github.com/go-gitea/gitea/modules/log"
16 16
 )
17 17
 
18 18
 type UpdateTask struct {

+ 5 - 5
models/user.go

@@ -27,11 +27,11 @@ import (
27 27
 	"github.com/gogits/git-module"
28 28
 	api "github.com/gogits/go-gogs-client"
29 29
 
30
-	"github.com/gogits/gogs/modules/avatar"
31
-	"github.com/gogits/gogs/modules/base"
32
-	"github.com/gogits/gogs/modules/log"
33
-	"github.com/gogits/gogs/modules/markdown"
34
-	"github.com/gogits/gogs/modules/setting"
30
+	"github.com/go-gitea/gitea/modules/avatar"
31
+	"github.com/go-gitea/gitea/modules/base"
32
+	"github.com/go-gitea/gitea/modules/log"
33
+	"github.com/go-gitea/gitea/modules/markdown"
34
+	"github.com/go-gitea/gitea/modules/setting"
35 35
 )
36 36
 
37 37
 type UserType int

+ 4 - 4
models/webhook.go

@@ -17,10 +17,10 @@ import (
17 17
 
18 18
 	api "github.com/gogits/go-gogs-client"
19 19
 
20
-	"github.com/gogits/gogs/modules/httplib"
21
-	"github.com/gogits/gogs/modules/log"
22
-	"github.com/gogits/gogs/modules/setting"
23
-	"github.com/gogits/gogs/modules/sync"
20
+	"github.com/go-gitea/gitea/modules/httplib"
21
+	"github.com/go-gitea/gitea/modules/log"
22
+	"github.com/go-gitea/gitea/modules/setting"
23
+	"github.com/go-gitea/gitea/modules/sync"
24 24
 )
25 25
 
26 26
 var HookQueue = sync.NewUniqueQueue(setting.Webhook.QueueLength)

+ 1 - 1
models/webhook_slack.go

@@ -13,7 +13,7 @@ import (
13 13
 	"github.com/gogits/git-module"
14 14
 	api "github.com/gogits/go-gogs-client"
15 15
 
16
-	"github.com/gogits/gogs/modules/setting"
16
+	"github.com/go-gitea/gitea/modules/setting"
17 17
 )
18 18
 
19 19
 type SlackMeta struct {

+ 2 - 2
models/wiki.go

@@ -17,8 +17,8 @@ import (
17 17
 
18 18
 	"github.com/gogits/git-module"
19 19
 
20
-	"github.com/gogits/gogs/modules/setting"
21
-	"github.com/gogits/gogs/modules/sync"
20
+	"github.com/go-gitea/gitea/modules/setting"
21
+	"github.com/go-gitea/gitea/modules/sync"
22 22
 )
23 23
 
24 24
 var wikiWorkingPool = sync.NewExclusivePool()

+ 4 - 4
modules/auth/auth.go

@@ -15,10 +15,10 @@ import (
15 15
 	gouuid "github.com/satori/go.uuid"
16 16
 	"gopkg.in/macaron.v1"
17 17
 
18
-	"github.com/gogits/gogs/models"
19
-	"github.com/gogits/gogs/modules/base"
20
-	"github.com/gogits/gogs/modules/log"
21
-	"github.com/gogits/gogs/modules/setting"
18
+	"github.com/go-gitea/gitea/models"
19
+	"github.com/go-gitea/gitea/modules/base"
20
+	"github.com/go-gitea/gitea/modules/log"
21
+	"github.com/go-gitea/gitea/modules/setting"
22 22
 )
23 23
 
24 24
 func IsAPIPath(url string) bool {

+ 1 - 1
modules/auth/ldap/ldap.go

@@ -13,7 +13,7 @@ import (
13 13
 
14 14
 	"gopkg.in/ldap.v2"
15 15
 
16
-	"github.com/gogits/gogs/modules/log"
16
+	"github.com/go-gitea/gitea/modules/log"
17 17
 )
18 18
 
19 19
 type SecurityProtocol int

+ 1 - 1
modules/auth/repo_form.go

@@ -12,7 +12,7 @@ import (
12 12
 	"github.com/go-macaron/binding"
13 13
 	"gopkg.in/macaron.v1"
14 14
 
15
-	"github.com/gogits/gogs/models"
15
+	"github.com/go-gitea/gitea/models"
16 16
 )
17 17
 
18 18
 // _______________________________________    _________.______________________ _______________.___.

+ 2 - 2
modules/base/tool.go

@@ -26,8 +26,8 @@ import (
26 26
 
27 27
 	"github.com/gogits/chardet"
28 28
 
29
-	"github.com/gogits/gogs/modules/log"
30
-	"github.com/gogits/gogs/modules/setting"
29
+	"github.com/go-gitea/gitea/modules/log"
30
+	"github.com/go-gitea/gitea/modules/setting"
31 31
 )
32 32
 
33 33
 // EncodeMD5 encodes string to md5 hex value.

+ 3 - 3
modules/context/api.go

@@ -11,9 +11,9 @@ import (
11 11
 	"github.com/Unknwon/paginater"
12 12
 	"gopkg.in/macaron.v1"
13 13
 
14
-	"github.com/gogits/gogs/modules/base"
15
-	"github.com/gogits/gogs/modules/log"
16
-	"github.com/gogits/gogs/modules/setting"
14
+	"github.com/go-gitea/gitea/modules/base"
15
+	"github.com/go-gitea/gitea/modules/log"
16
+	"github.com/go-gitea/gitea/modules/setting"
17 17
 )
18 18
 
19 19
 type APIContext struct {

+ 1 - 1
modules/context/api_org.go

@@ -5,7 +5,7 @@
5 5
 package context
6 6
 
7 7
 import (
8
-	"github.com/gogits/gogs/models"
8
+	"github.com/go-gitea/gitea/models"
9 9
 )
10 10
 
11 11
 type APIOrganization struct {

+ 2 - 2
modules/context/auth.go

@@ -10,8 +10,8 @@ import (
10 10
 	"github.com/go-macaron/csrf"
11 11
 	"gopkg.in/macaron.v1"
12 12
 
13
-	"github.com/gogits/gogs/modules/auth"
14
-	"github.com/gogits/gogs/modules/setting"
13
+	"github.com/go-gitea/gitea/modules/auth"
14
+	"github.com/go-gitea/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 type ToggleOptions struct {

+ 5 - 5
modules/context/context.go

@@ -18,11 +18,11 @@ import (
18 18
 	"github.com/go-macaron/session"
19 19
 	"gopkg.in/macaron.v1"
20 20
 
21
-	"github.com/gogits/gogs/models"
22
-	"github.com/gogits/gogs/modules/auth"
23
-	"github.com/gogits/gogs/modules/base"
24
-	"github.com/gogits/gogs/modules/log"
25
-	"github.com/gogits/gogs/modules/setting"
21
+	"github.com/go-gitea/gitea/models"
22
+	"github.com/go-gitea/gitea/modules/auth"
23
+	"github.com/go-gitea/gitea/modules/base"
24
+	"github.com/go-gitea/gitea/modules/log"
25
+	"github.com/go-gitea/gitea/modules/setting"
26 26
 )
27 27
 
28 28
 // Context represents context of a request.

+ 2 - 2
modules/context/org.go

@@ -9,8 +9,8 @@ import (
9 9
 
10 10
 	"gopkg.in/macaron.v1"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/setting"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/setting"
14 14
 )
15 15
 
16 16
 type Organization struct {

+ 3 - 3
modules/context/repo.go

@@ -16,9 +16,9 @@ import (
16 16
 
17 17
 	"github.com/gogits/git-module"
18 18
 
19
-	"github.com/gogits/gogs/models"
20
-	"github.com/gogits/gogs/modules/log"
21
-	"github.com/gogits/gogs/modules/setting"
19
+	"github.com/go-gitea/gitea/models"
20
+	"github.com/go-gitea/gitea/modules/log"
21
+	"github.com/go-gitea/gitea/modules/setting"
22 22
 )
23 23
 
24 24
 type PullRequest struct {

+ 3 - 3
modules/cron/cron.go

@@ -9,9 +9,9 @@ import (
9 9
 
10 10
 	"github.com/gogits/cron"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/log"
14
-	"github.com/gogits/gogs/modules/setting"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/log"
14
+	"github.com/go-gitea/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 var c = cron.New()

+ 2 - 2
modules/mailer/mailer.go

@@ -17,8 +17,8 @@ import (
17 17
 	"github.com/jaytaylor/html2text"
18 18
 	"gopkg.in/gomail.v2"
19 19
 
20
-	"github.com/gogits/gogs/modules/log"
21
-	"github.com/gogits/gogs/modules/setting"
20
+	"github.com/go-gitea/gitea/modules/log"
21
+	"github.com/go-gitea/gitea/modules/setting"
22 22
 )
23 23
 
24 24
 type Message struct {

+ 2 - 2
modules/markdown/markdown.go

@@ -18,8 +18,8 @@ import (
18 18
 	"github.com/russross/blackfriday"
19 19
 	"golang.org/x/net/html"
20 20
 
21
-	"github.com/gogits/gogs/modules/base"
22
-	"github.com/gogits/gogs/modules/setting"
21
+	"github.com/go-gitea/gitea/modules/base"
22
+	"github.com/go-gitea/gitea/modules/setting"
23 23
 )
24 24
 
25 25
 const (

+ 2 - 2
modules/markdown/markdown_test.go

@@ -1,12 +1,12 @@
1 1
 package markdown_test
2 2
 
3 3
 import (
4
-	. "github.com/gogits/gogs/modules/markdown"
4
+	. "github.com/go-gitea/gitea/modules/markdown"
5 5
 	. "github.com/smartystreets/goconvey/convey"
6 6
 	"testing"
7 7
 
8 8
 	"bytes"
9
-	"github.com/gogits/gogs/modules/setting"
9
+	"github.com/go-gitea/gitea/modules/setting"
10 10
 	"github.com/russross/blackfriday"
11 11
 )
12 12
 

+ 1 - 1
modules/process/manager.go

@@ -11,7 +11,7 @@ import (
11 11
 	"os/exec"
12 12
 	"time"
13 13
 
14
-	"github.com/gogits/gogs/modules/log"
14
+	"github.com/go-gitea/gitea/modules/log"
15 15
 )
16 16
 
17 17
 var (

+ 3 - 3
modules/setting/setting.go

@@ -25,9 +25,9 @@ import (
25 25
 	"strk.kbt.io/projects/go/libravatar"
26 26
 	"gopkg.in/ini.v1"
27 27
 
28
-	"github.com/gogits/gogs/modules/bindata"
29
-	"github.com/gogits/gogs/modules/log"
30
-	"github.com/gogits/gogs/modules/user"
28
+	"github.com/go-gitea/gitea/modules/bindata"
29
+	"github.com/go-gitea/gitea/modules/log"
30
+	"github.com/go-gitea/gitea/modules/user"
31 31
 )
32 32
 
33 33
 type Scheme string

+ 3 - 3
modules/ssh/ssh.go

@@ -17,9 +17,9 @@ import (
17 17
 	"github.com/Unknwon/com"
18 18
 	"golang.org/x/crypto/ssh"
19 19
 
20
-	"github.com/gogits/gogs/models"
21
-	"github.com/gogits/gogs/modules/log"
22
-	"github.com/gogits/gogs/modules/setting"
20
+	"github.com/go-gitea/gitea/models"
21
+	"github.com/go-gitea/gitea/modules/log"
22
+	"github.com/go-gitea/gitea/modules/setting"
23 23
 )
24 24
 
25 25
 func cleanCommand(cmd string) string {

+ 1 - 1
modules/template/highlight/highlight.go

@@ -8,7 +8,7 @@ import (
8 8
 	"path"
9 9
 	"strings"
10 10
 
11
-	"github.com/gogits/gogs/modules/setting"
11
+	"github.com/go-gitea/gitea/modules/setting"
12 12
 )
13 13
 
14 14
 var (

+ 5 - 5
modules/template/template.go

@@ -19,11 +19,11 @@ import (
19 19
 	"golang.org/x/text/transform"
20 20
 	"gopkg.in/editorconfig/editorconfig-core-go.v1"
21 21
 
22
-	"github.com/gogits/gogs/models"
23
-	"github.com/gogits/gogs/modules/base"
24
-	"github.com/gogits/gogs/modules/log"
25
-	"github.com/gogits/gogs/modules/markdown"
26
-	"github.com/gogits/gogs/modules/setting"
22
+	"github.com/go-gitea/gitea/models"
23
+	"github.com/go-gitea/gitea/modules/base"
24
+	"github.com/go-gitea/gitea/modules/log"
25
+	"github.com/go-gitea/gitea/modules/markdown"
26
+	"github.com/go-gitea/gitea/modules/setting"
27 27
 )
28 28
 
29 29
 func NewFuncMap() []template.FuncMap {

+ 6 - 6
routers/admin/admin.go

@@ -13,12 +13,12 @@ import (
13 13
 	"github.com/Unknwon/com"
14 14
 	"gopkg.in/macaron.v1"
15 15
 
16
-	"github.com/gogits/gogs/models"
17
-	"github.com/gogits/gogs/modules/base"
18
-	"github.com/gogits/gogs/modules/context"
19
-	"github.com/gogits/gogs/modules/cron"
20
-	"github.com/gogits/gogs/modules/process"
21
-	"github.com/gogits/gogs/modules/setting"
16
+	"github.com/go-gitea/gitea/models"
17
+	"github.com/go-gitea/gitea/modules/base"
18
+	"github.com/go-gitea/gitea/modules/context"
19
+	"github.com/go-gitea/gitea/modules/cron"
20
+	"github.com/go-gitea/gitea/modules/process"
21
+	"github.com/go-gitea/gitea/modules/setting"
22 22
 )
23 23
 
24 24
 const (

+ 7 - 7
routers/admin/auths.go

@@ -10,13 +10,13 @@ import (
10 10
 	"github.com/Unknwon/com"
11 11
 	"github.com/go-xorm/core"
12 12
 
13
-	"github.com/gogits/gogs/models"
14
-	"github.com/gogits/gogs/modules/auth"
15
-	"github.com/gogits/gogs/modules/auth/ldap"
16
-	"github.com/gogits/gogs/modules/base"
17
-	"github.com/gogits/gogs/modules/context"
18
-	"github.com/gogits/gogs/modules/log"
19
-	"github.com/gogits/gogs/modules/setting"
13
+	"github.com/go-gitea/gitea/models"
14
+	"github.com/go-gitea/gitea/modules/auth"
15
+	"github.com/go-gitea/gitea/modules/auth/ldap"
16
+	"github.com/go-gitea/gitea/modules/base"
17
+	"github.com/go-gitea/gitea/modules/context"
18
+	"github.com/go-gitea/gitea/modules/log"
19
+	"github.com/go-gitea/gitea/modules/setting"
20 20
 )
21 21
 
22 22
 const (

+ 5 - 5
routers/admin/notice.go

@@ -8,11 +8,11 @@ import (
8 8
 	"github.com/Unknwon/com"
9 9
 	"github.com/Unknwon/paginater"
10 10
 
11
-	"github.com/gogits/gogs/models"
12
-	"github.com/gogits/gogs/modules/base"
13
-	"github.com/gogits/gogs/modules/context"
14
-	"github.com/gogits/gogs/modules/log"
15
-	"github.com/gogits/gogs/modules/setting"
11
+	"github.com/go-gitea/gitea/models"
12
+	"github.com/go-gitea/gitea/modules/base"
13
+	"github.com/go-gitea/gitea/modules/context"
14
+	"github.com/go-gitea/gitea/modules/log"
15
+	"github.com/go-gitea/gitea/modules/setting"
16 16
 )
17 17
 
18 18
 const (

+ 5 - 5
routers/admin/orgs.go

@@ -5,11 +5,11 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	"github.com/gogits/gogs/models"
9
-	"github.com/gogits/gogs/modules/base"
10
-	"github.com/gogits/gogs/modules/context"
11
-	"github.com/gogits/gogs/modules/setting"
12
-	"github.com/gogits/gogs/routers"
8
+	"github.com/go-gitea/gitea/models"
9
+	"github.com/go-gitea/gitea/modules/base"
10
+	"github.com/go-gitea/gitea/modules/context"
11
+	"github.com/go-gitea/gitea/modules/setting"
12
+	"github.com/go-gitea/gitea/routers"
13 13
 )
14 14
 
15 15
 const (

+ 6 - 6
routers/admin/repos.go

@@ -5,12 +5,12 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	"github.com/gogits/gogs/models"
9
-	"github.com/gogits/gogs/modules/base"
10
-	"github.com/gogits/gogs/modules/context"
11
-	"github.com/gogits/gogs/modules/log"
12
-	"github.com/gogits/gogs/modules/setting"
13
-	"github.com/gogits/gogs/routers"
8
+	"github.com/go-gitea/gitea/models"
9
+	"github.com/go-gitea/gitea/modules/base"
10
+	"github.com/go-gitea/gitea/modules/context"
11
+	"github.com/go-gitea/gitea/modules/log"
12
+	"github.com/go-gitea/gitea/modules/setting"
13
+	"github.com/go-gitea/gitea/routers"
14 14
 )
15 15
 
16 16
 const (

+ 7 - 7
routers/admin/users.go

@@ -9,13 +9,13 @@ import (
9 9
 
10 10
 	"github.com/Unknwon/com"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/auth"
14
-	"github.com/gogits/gogs/modules/base"
15
-	"github.com/gogits/gogs/modules/context"
16
-	"github.com/gogits/gogs/modules/log"
17
-	"github.com/gogits/gogs/modules/setting"
18
-	"github.com/gogits/gogs/routers"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/auth"
14
+	"github.com/go-gitea/gitea/modules/base"
15
+	"github.com/go-gitea/gitea/modules/context"
16
+	"github.com/go-gitea/gitea/modules/log"
17
+	"github.com/go-gitea/gitea/modules/setting"
18
+	"github.com/go-gitea/gitea/routers"
19 19
 )
20 20
 
21 21
 const (

+ 4 - 4
routers/api/v1/admin/org.go

@@ -7,10 +7,10 @@ package admin
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
12
-	"github.com/gogits/gogs/routers/api/v1/convert"
13
-	"github.com/gogits/gogs/routers/api/v1/user"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
13
+	"github.com/go-gitea/gitea/routers/api/v1/user"
14 14
 )
15 15
 
16 16
 // https://github.com/gogits/go-gogs-client/wiki/Administration-Organizations#create-a-new-organization

+ 2 - 2
routers/api/v1/admin/org_repo.go

@@ -5,8 +5,8 @@
5 5
 package admin
6 6
 
7 7
 import (
8
-	"github.com/gogits/gogs/models"
9
-	"github.com/gogits/gogs/modules/context"
8
+	"github.com/go-gitea/gitea/models"
9
+	"github.com/go-gitea/gitea/modules/context"
10 10
 )
11 11
 
12 12
 func GetRepositoryByParams(ctx *context.APIContext) *models.Repository {

+ 4 - 4
routers/api/v1/admin/org_team.go

@@ -7,10 +7,10 @@ package admin
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
12
-	"github.com/gogits/gogs/routers/api/v1/convert"
13
-	"github.com/gogits/gogs/routers/api/v1/user"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
13
+	"github.com/go-gitea/gitea/routers/api/v1/user"
14 14
 )
15 15
 
16 16
 func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption) {

+ 3 - 3
routers/api/v1/admin/repo.go

@@ -7,9 +7,9 @@ package admin
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/modules/context"
11
-	"github.com/gogits/gogs/routers/api/v1/repo"
12
-	"github.com/gogits/gogs/routers/api/v1/user"
10
+	"github.com/go-gitea/gitea/modules/context"
11
+	"github.com/go-gitea/gitea/routers/api/v1/repo"
12
+	"github.com/go-gitea/gitea/routers/api/v1/user"
13 13
 )
14 14
 
15 15
 // https://github.com/gogits/go-gogs-client/wiki/Administration-Repositories#create-a-new-repository

+ 5 - 5
routers/api/v1/admin/user.go

@@ -7,11 +7,11 @@ package admin
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
12
-	"github.com/gogits/gogs/modules/log"
13
-	"github.com/gogits/gogs/modules/setting"
14
-	"github.com/gogits/gogs/routers/api/v1/user"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12
+	"github.com/go-gitea/gitea/modules/log"
13
+	"github.com/go-gitea/gitea/modules/setting"
14
+	"github.com/go-gitea/gitea/routers/api/v1/user"
15 15
 )
16 16
 
17 17
 func parseLoginSource(ctx *context.APIContext, u *models.User, sourceID int64, loginName string) {

+ 8 - 8
routers/api/v1/api.go

@@ -12,14 +12,14 @@ import (
12 12
 
13 13
 	api "github.com/gogits/go-gogs-client"
14 14
 
15
-	"github.com/gogits/gogs/models"
16
-	"github.com/gogits/gogs/modules/auth"
17
-	"github.com/gogits/gogs/modules/context"
18
-	"github.com/gogits/gogs/routers/api/v1/admin"
19
-	"github.com/gogits/gogs/routers/api/v1/misc"
20
-	"github.com/gogits/gogs/routers/api/v1/org"
21
-	"github.com/gogits/gogs/routers/api/v1/repo"
22
-	"github.com/gogits/gogs/routers/api/v1/user"
15
+	"github.com/go-gitea/gitea/models"
16
+	"github.com/go-gitea/gitea/modules/auth"
17
+	"github.com/go-gitea/gitea/modules/context"
18
+	"github.com/go-gitea/gitea/routers/api/v1/admin"
19
+	"github.com/go-gitea/gitea/routers/api/v1/misc"
20
+	"github.com/go-gitea/gitea/routers/api/v1/org"
21
+	"github.com/go-gitea/gitea/routers/api/v1/repo"
22
+	"github.com/go-gitea/gitea/routers/api/v1/user"
23 23
 )
24 24
 
25 25
 func repoAssignment() macaron.Handler {

+ 1 - 1
routers/api/v1/convert/convert.go

@@ -12,7 +12,7 @@ import (
12 12
 	"github.com/gogits/git-module"
13 13
 	api "github.com/gogits/go-gogs-client"
14 14
 
15
-	"github.com/gogits/gogs/models"
15
+	"github.com/go-gitea/gitea/models"
16 16
 )
17 17
 
18 18
 func ToEmail(email *models.EmailAddress) *api.Email {

+ 1 - 1
routers/api/v1/convert/utils.go

@@ -5,7 +5,7 @@
5 5
 package convert
6 6
 
7 7
 import (
8
-	"github.com/gogits/gogs/modules/setting"
8
+	"github.com/go-gitea/gitea/modules/setting"
9 9
 )
10 10
 
11 11
 // ToCorrectPageSize makes sure page size is in allowed range.

+ 2 - 2
routers/api/v1/misc/markdown.go

@@ -7,8 +7,8 @@ package misc
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/modules/context"
11
-	"github.com/gogits/gogs/modules/markdown"
10
+	"github.com/go-gitea/gitea/modules/context"
11
+	"github.com/go-gitea/gitea/modules/markdown"
12 12
 )
13 13
 
14 14
 // https://github.com/gogits/go-gogs-client/wiki/Miscellaneous#render-an-arbitrary-markdown-document

+ 4 - 4
routers/api/v1/org/org.go

@@ -7,10 +7,10 @@ package org
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
12
-	"github.com/gogits/gogs/routers/api/v1/convert"
13
-	"github.com/gogits/gogs/routers/api/v1/user"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
13
+	"github.com/go-gitea/gitea/routers/api/v1/user"
14 14
 )
15 15
 
16 16
 func listUserOrgs(ctx *context.APIContext, u *models.User, all bool) {

+ 2 - 2
routers/api/v1/org/team.go

@@ -7,8 +7,8 @@ package org
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/modules/context"
11
-	"github.com/gogits/gogs/routers/api/v1/convert"
10
+	"github.com/go-gitea/gitea/modules/context"
11
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
12 12
 )
13 13
 
14 14
 func ListTeams(ctx *context.APIContext) {

+ 2 - 2
routers/api/v1/repo/branch.go

@@ -7,8 +7,8 @@ package repo
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/modules/context"
11
-	"github.com/gogits/gogs/routers/api/v1/convert"
10
+	"github.com/go-gitea/gitea/modules/context"
11
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
12 12
 )
13 13
 
14 14
 // https://github.com/gogits/go-gogs-client/wiki/Repositories#get-branch

+ 2 - 2
routers/api/v1/repo/collaborators.go

@@ -7,8 +7,8 @@ package repo
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12 12
 )
13 13
 
14 14
 func AddCollaborator(ctx *context.APIContext, form api.AddCollaboratorOption) {

+ 3 - 3
routers/api/v1/repo/file.go

@@ -7,9 +7,9 @@ package repo
7 7
 import (
8 8
 	"github.com/gogits/git-module"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
12
-	"github.com/gogits/gogs/routers/repo"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12
+	"github.com/go-gitea/gitea/routers/repo"
13 13
 )
14 14
 
15 15
 // https://github.com/gogits/go-gogs-client/wiki/Repositories-Contents#download-raw-content

+ 3 - 3
routers/api/v1/repo/hook.go

@@ -11,9 +11,9 @@ import (
11 11
 
12 12
 	api "github.com/gogits/go-gogs-client"
13 13
 
14
-	"github.com/gogits/gogs/models"
15
-	"github.com/gogits/gogs/modules/context"
16
-	"github.com/gogits/gogs/routers/api/v1/convert"
14
+	"github.com/go-gitea/gitea/models"
15
+	"github.com/go-gitea/gitea/modules/context"
16
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
17 17
 )
18 18
 
19 19
 // https://github.com/gogits/go-gogs-client/wiki/Repositories#list-hooks

+ 3 - 3
routers/api/v1/repo/issue.go

@@ -10,9 +10,9 @@ import (
10 10
 
11 11
 	api "github.com/gogits/go-gogs-client"
12 12
 
13
-	"github.com/gogits/gogs/models"
14
-	"github.com/gogits/gogs/modules/context"
15
-	"github.com/gogits/gogs/modules/setting"
13
+	"github.com/go-gitea/gitea/models"
14
+	"github.com/go-gitea/gitea/modules/context"
15
+	"github.com/go-gitea/gitea/modules/setting"
16 16
 )
17 17
 
18 18
 func ListIssues(ctx *context.APIContext) {

+ 2 - 2
routers/api/v1/repo/issue_comment.go

@@ -8,8 +8,8 @@ import (
8 8
 
9 9
 	api "github.com/gogits/go-gogs-client"
10 10
 
11
-	"github.com/gogits/gogs/models"
12
-	"github.com/gogits/gogs/modules/context"
11
+	"github.com/go-gitea/gitea/models"
12
+	"github.com/go-gitea/gitea/modules/context"
13 13
 )
14 14
 
15 15
 func ListIssueComments(ctx *context.APIContext) {

+ 2 - 2
routers/api/v1/repo/issue_label.go

@@ -7,8 +7,8 @@ package repo
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12 12
 )
13 13
 
14 14
 func ListIssueLabels(ctx *context.APIContext) {

+ 4 - 4
routers/api/v1/repo/key.go

@@ -9,10 +9,10 @@ import (
9 9
 
10 10
 	api "github.com/gogits/go-gogs-client"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/context"
14
-	"github.com/gogits/gogs/modules/setting"
15
-	"github.com/gogits/gogs/routers/api/v1/convert"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/context"
14
+	"github.com/go-gitea/gitea/modules/setting"
15
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
16 16
 )
17 17
 
18 18
 func composeDeployKeysAPILink(repoPath string) string {

+ 2 - 2
routers/api/v1/repo/label.go

@@ -7,8 +7,8 @@ package repo
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12 12
 )
13 13
 
14 14
 func ListLabels(ctx *context.APIContext) {

+ 2 - 2
routers/api/v1/repo/milestone.go

@@ -9,8 +9,8 @@ import (
9 9
 
10 10
 	api "github.com/gogits/go-gogs-client"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/context"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/context"
14 14
 )
15 15
 
16 16
 func ListMilestones(ctx *context.APIContext) {

+ 6 - 6
routers/api/v1/repo/repo.go

@@ -9,12 +9,12 @@ import (
9 9
 
10 10
 	api "github.com/gogits/go-gogs-client"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/auth"
14
-	"github.com/gogits/gogs/modules/context"
15
-	"github.com/gogits/gogs/modules/log"
16
-	"github.com/gogits/gogs/modules/setting"
17
-	"github.com/gogits/gogs/routers/api/v1/convert"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/auth"
14
+	"github.com/go-gitea/gitea/modules/context"
15
+	"github.com/go-gitea/gitea/modules/log"
16
+	"github.com/go-gitea/gitea/modules/setting"
17
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
18 18
 )
19 19
 
20 20
 // https://github.com/gogits/go-gogs-client/wiki/Repositories#search-repositories

+ 2 - 2
routers/api/v1/user/app.go

@@ -7,8 +7,8 @@ package user
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12 12
 )
13 13
 
14 14
 // https://github.com/gogits/go-gogs-client/wiki/Users#list-access-tokens-for-a-user

+ 4 - 4
routers/api/v1/user/email.go

@@ -7,10 +7,10 @@ package user
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
12
-	"github.com/gogits/gogs/modules/setting"
13
-	"github.com/gogits/gogs/routers/api/v1/convert"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12
+	"github.com/go-gitea/gitea/modules/setting"
13
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
14 14
 )
15 15
 
16 16
 // https://github.com/gogits/go-gogs-client/wiki/Users-Emails#list-email-addresses-for-a-user

+ 2 - 2
routers/api/v1/user/follower.go

@@ -7,8 +7,8 @@ package user
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12 12
 )
13 13
 
14 14
 func responseApiUsers(ctx *context.APIContext, users []*models.User) {

+ 5 - 5
routers/api/v1/user/key.go

@@ -7,11 +7,11 @@ package user
7 7
 import (
8 8
 	api "github.com/gogits/go-gogs-client"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/context"
12
-	"github.com/gogits/gogs/modules/setting"
13
-	"github.com/gogits/gogs/routers/api/v1/convert"
14
-	"github.com/gogits/gogs/routers/api/v1/repo"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/context"
12
+	"github.com/go-gitea/gitea/modules/setting"
13
+	"github.com/go-gitea/gitea/routers/api/v1/convert"
14
+	"github.com/go-gitea/gitea/routers/api/v1/repo"
15 15
 )
16 16
 
17 17
 func GetUserByParamsName(ctx *context.APIContext, name string) *models.User {

+ 2 - 2
routers/api/v1/user/user.go

@@ -9,8 +9,8 @@ import (
9 9
 
10 10
 	api "github.com/gogits/go-gogs-client"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/context"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/context"
14 14
 )
15 15
 
16 16
 func Search(ctx *context.APIContext) {

+ 4 - 4
routers/dev/template.go

@@ -5,10 +5,10 @@
5 5
 package dev
6 6
 
7 7
 import (
8
-	"github.com/gogits/gogs/models"
9
-	"github.com/gogits/gogs/modules/base"
10
-	"github.com/gogits/gogs/modules/context"
11
-	"github.com/gogits/gogs/modules/setting"
8
+	"github.com/go-gitea/gitea/models"
9
+	"github.com/go-gitea/gitea/modules/base"
10
+	"github.com/go-gitea/gitea/modules/context"
11
+	"github.com/go-gitea/gitea/modules/setting"
12 12
 )
13 13
 
14 14
 func TemplatePreview(ctx *context.Context) {

+ 5 - 5
routers/home.go

@@ -9,11 +9,11 @@ import (
9 9
 
10 10
 	"github.com/Unknwon/paginater"
11 11
 
12
-	"github.com/gogits/gogs/models"
13
-	"github.com/gogits/gogs/modules/base"
14
-	"github.com/gogits/gogs/modules/context"
15
-	"github.com/gogits/gogs/modules/setting"
16
-	"github.com/gogits/gogs/routers/user"
12
+	"github.com/go-gitea/gitea/models"
13
+	"github.com/go-gitea/gitea/modules/base"
14
+	"github.com/go-gitea/gitea/modules/context"
15
+	"github.com/go-gitea/gitea/modules/setting"
16
+	"github.com/go-gitea/gitea/routers/user"
17 17
 )
18 18
 
19 19
 const (

+ 12 - 12
routers/install.go

@@ -19,18 +19,18 @@ import (
19 19
 
20 20
 	"github.com/gogits/git-module"
21 21
 
22
-	"github.com/gogits/gogs/models"
23
-	"github.com/gogits/gogs/modules/auth"
24
-	"github.com/gogits/gogs/modules/base"
25
-	"github.com/gogits/gogs/modules/context"
26
-	"github.com/gogits/gogs/modules/cron"
27
-	"github.com/gogits/gogs/modules/log"
28
-	"github.com/gogits/gogs/modules/mailer"
29
-	"github.com/gogits/gogs/modules/markdown"
30
-	"github.com/gogits/gogs/modules/setting"
31
-	"github.com/gogits/gogs/modules/ssh"
32
-	"github.com/gogits/gogs/modules/template/highlight"
33
-	"github.com/gogits/gogs/modules/user"
22
+	"github.com/go-gitea/gitea/models"
23
+	"github.com/go-gitea/gitea/modules/auth"
24
+	"github.com/go-gitea/gitea/modules/base"
25
+	"github.com/go-gitea/gitea/modules/context"
26
+	"github.com/go-gitea/gitea/modules/cron"
27
+	"github.com/go-gitea/gitea/modules/log"
28
+	"github.com/go-gitea/gitea/modules/mailer"
29
+	"github.com/go-gitea/gitea/modules/markdown"
30
+	"github.com/go-gitea/gitea/modules/setting"
31
+	"github.com/go-gitea/gitea/modules/ssh"
32
+	"github.com/go-gitea/gitea/modules/template/highlight"
33
+	"github.com/go-gitea/gitea/modules/user"
34 34
 )
35 35
 
36 36
 const (

+ 5 - 5
routers/org/members.go

@@ -7,11 +7,11 @@ package org
7 7
 import (
8 8
 	"github.com/Unknwon/com"
9 9
 
10
-	"github.com/gogits/gogs/models"
11
-	"github.com/gogits/gogs/modules/base"
12
-	"github.com/gogits/gogs/modules/context"
13
-	"github.com/gogits/gogs/modules/log"
14
-	"github.com/gogits/gogs/modules/setting"
10
+	"github.com/go-gitea/gitea/models"
11
+	"github.com/go-gitea/gitea/modules/base"
12
+	"github.com/go-gitea/gitea/modules/context"
13
+	"github.com/go-gitea/gitea/modules/log"
14
+	"github.com/go-gitea/gitea/modules/setting"
15 15
 )
16 16
 
17 17
 const (

+ 6 - 6
routers/org/org.go

@@ -5,12 +5,12 @@
5 5
 package org
6 6
 
7 7
 import (
8
-	"github.com/gogits/gogs/models"
9
-	"github.com/gogits/gogs/modules/auth"
10
-	"github.com/gogits/gogs/modules/base"
11
-	"github.com/gogits/gogs/modules/context"
12
-	"github.com/gogits/gogs/modules/log"
13
-	"github.com/gogits/gogs/modules/setting"
8
+	"github.com/go-gitea/gitea/models"
9
+	"github.com/go-gitea/gitea/modules/auth"
10
+	"github.com/go-gitea/gitea/modules/base"
11
+	"github.com/go-gitea/gitea/modules/context"
12
+	"github.com/go-gitea/gitea/modules/log"
13
+	"github.com/go-gitea/gitea/modules/setting"
14 14
 )
15 15
 
16 16
 const (

+ 0 - 0
routers/org/setting.go


Some files were not shown because too many files changed in this diff