summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRémy Boulanouar <rboulanouar@gmail.com>2016-11-03 13:29:56 +0100
committerAndrey Nering <andrey.nering@gmail.com>2016-11-03 10:29:56 -0200
commit2d68bd1ef98849da54c869b103e93719d1accb5e (patch)
tree8bd932ad547e40cb050fce878bbade6b2ace40e0 /modules
parent507ce134fa1450a10f0dfd47fcb19facadbe3ae1 (diff)
downloadgitea-2d68bd1ef98849da54c869b103e93719d1accb5e.tar.gz
gitea-2d68bd1ef98849da54c869b103e93719d1accb5e.zip
Change import reference to match gitea instead of gogs (#37)
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/auth.go8
-rw-r--r--modules/auth/ldap/ldap.go2
-rw-r--r--modules/auth/repo_form.go2
-rw-r--r--modules/base/tool.go4
-rw-r--r--modules/context/api.go6
-rw-r--r--modules/context/api_org.go2
-rw-r--r--modules/context/auth.go4
-rw-r--r--modules/context/context.go10
-rw-r--r--modules/context/org.go4
-rw-r--r--modules/context/repo.go6
-rw-r--r--modules/cron/cron.go6
-rw-r--r--modules/mailer/mailer.go4
-rw-r--r--modules/markdown/markdown.go4
-rw-r--r--modules/markdown/markdown_test.go4
-rw-r--r--modules/process/manager.go2
-rw-r--r--modules/setting/setting.go6
-rw-r--r--modules/ssh/ssh.go6
-rw-r--r--modules/template/highlight/highlight.go2
-rw-r--r--modules/template/template.go10
19 files changed, 46 insertions, 46 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go
index 3265b326c6..c19bffe710 100644
--- a/modules/auth/auth.go
+++ b/modules/auth/auth.go
@@ -15,10 +15,10 @@ import (
gouuid "github.com/satori/go.uuid"
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
func IsAPIPath(url string) bool {
diff --git a/modules/auth/ldap/ldap.go b/modules/auth/ldap/ldap.go
index 55364bfcce..b110fe6234 100644
--- a/modules/auth/ldap/ldap.go
+++ b/modules/auth/ldap/ldap.go
@@ -13,7 +13,7 @@ import (
"gopkg.in/ldap.v2"
- "github.com/gogits/gogs/modules/log"
+ "github.com/go-gitea/gitea/modules/log"
)
type SecurityProtocol int
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index d1e28dc119..589997f151 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -12,7 +12,7 @@ import (
"github.com/go-macaron/binding"
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/models"
+ "github.com/go-gitea/gitea/models"
)
// _______________________________________ _________.______________________ _______________.___.
diff --git a/modules/base/tool.go b/modules/base/tool.go
index 52d1e178db..8cc90c0b9a 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -26,8 +26,8 @@ import (
"github.com/gogits/chardet"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
// EncodeMD5 encodes string to md5 hex value.
diff --git a/modules/context/api.go b/modules/context/api.go
index 770daa3ad3..62be56d320 100644
--- a/modules/context/api.go
+++ b/modules/context/api.go
@@ -11,9 +11,9 @@ import (
"github.com/Unknwon/paginater"
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
type APIContext struct {
diff --git a/modules/context/api_org.go b/modules/context/api_org.go
index ecf60a1905..c0cdf7b3ab 100644
--- a/modules/context/api_org.go
+++ b/modules/context/api_org.go
@@ -5,7 +5,7 @@
package context
import (
- "github.com/gogits/gogs/models"
+ "github.com/go-gitea/gitea/models"
)
type APIOrganization struct {
diff --git a/modules/context/auth.go b/modules/context/auth.go
index 746771791e..807183e452 100644
--- a/modules/context/auth.go
+++ b/modules/context/auth.go
@@ -10,8 +10,8 @@ import (
"github.com/go-macaron/csrf"
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/setting"
)
type ToggleOptions struct {
diff --git a/modules/context/context.go b/modules/context/context.go
index ac46bb38fb..82e3cbf27b 100644
--- a/modules/context/context.go
+++ b/modules/context/context.go
@@ -18,11 +18,11 @@ import (
"github.com/go-macaron/session"
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/auth"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/auth"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
// Context represents context of a request.
diff --git a/modules/context/org.go b/modules/context/org.go
index 24ef5ef6a8..880554a4b1 100644
--- a/modules/context/org.go
+++ b/modules/context/org.go
@@ -9,8 +9,8 @@ import (
"gopkg.in/macaron.v1"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/setting"
)
type Organization struct {
diff --git a/modules/context/repo.go b/modules/context/repo.go
index f078523e75..e4c2c597c5 100644
--- a/modules/context/repo.go
+++ b/modules/context/repo.go
@@ -16,9 +16,9 @@ import (
"github.com/gogits/git-module"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
type PullRequest struct {
diff --git a/modules/cron/cron.go b/modules/cron/cron.go
index 7695b974bb..d0c769ca99 100644
--- a/modules/cron/cron.go
+++ b/modules/cron/cron.go
@@ -9,9 +9,9 @@ import (
"github.com/gogits/cron"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
var c = cron.New()
diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go
index 32f25f5b57..098e136721 100644
--- a/modules/mailer/mailer.go
+++ b/modules/mailer/mailer.go
@@ -17,8 +17,8 @@ import (
"github.com/jaytaylor/html2text"
"gopkg.in/gomail.v2"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
type Message struct {
diff --git a/modules/markdown/markdown.go b/modules/markdown/markdown.go
index 6724b248ad..100a4df10f 100644
--- a/modules/markdown/markdown.go
+++ b/modules/markdown/markdown.go
@@ -18,8 +18,8 @@ import (
"github.com/russross/blackfriday"
"golang.org/x/net/html"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/setting"
)
const (
diff --git a/modules/markdown/markdown_test.go b/modules/markdown/markdown_test.go
index d4071ba356..9de8f11dc4 100644
--- a/modules/markdown/markdown_test.go
+++ b/modules/markdown/markdown_test.go
@@ -1,12 +1,12 @@
package markdown_test
import (
- . "github.com/gogits/gogs/modules/markdown"
+ . "github.com/go-gitea/gitea/modules/markdown"
. "github.com/smartystreets/goconvey/convey"
"testing"
"bytes"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/setting"
"github.com/russross/blackfriday"
)
diff --git a/modules/process/manager.go b/modules/process/manager.go
index 1f98ca7cfb..b259a27783 100644
--- a/modules/process/manager.go
+++ b/modules/process/manager.go
@@ -11,7 +11,7 @@ import (
"os/exec"
"time"
- "github.com/gogits/gogs/modules/log"
+ "github.com/go-gitea/gitea/modules/log"
)
var (
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 7696c09127..102d758dd6 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -25,9 +25,9 @@ import (
"strk.kbt.io/projects/go/libravatar"
"gopkg.in/ini.v1"
- "github.com/gogits/gogs/modules/bindata"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/user"
+ "github.com/go-gitea/gitea/modules/bindata"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/user"
)
type Scheme string
diff --git a/modules/ssh/ssh.go b/modules/ssh/ssh.go
index ceecc9bbfc..b6dc1d15a4 100644
--- a/modules/ssh/ssh.go
+++ b/modules/ssh/ssh.go
@@ -17,9 +17,9 @@ import (
"github.com/Unknwon/com"
"golang.org/x/crypto/ssh"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/setting"
)
func cleanCommand(cmd string) string {
diff --git a/modules/template/highlight/highlight.go b/modules/template/highlight/highlight.go
index bbf08e0436..360ab6a73e 100644
--- a/modules/template/highlight/highlight.go
+++ b/modules/template/highlight/highlight.go
@@ -8,7 +8,7 @@ import (
"path"
"strings"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/modules/setting"
)
var (
diff --git a/modules/template/template.go b/modules/template/template.go
index 3a6eb042bb..3fe49fa380 100644
--- a/modules/template/template.go
+++ b/modules/template/template.go
@@ -19,11 +19,11 @@ import (
"golang.org/x/text/transform"
"gopkg.in/editorconfig/editorconfig-core-go.v1"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/log"
- "github.com/gogits/gogs/modules/markdown"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/go-gitea/gitea/models"
+ "github.com/go-gitea/gitea/modules/base"
+ "github.com/go-gitea/gitea/modules/log"
+ "github.com/go-gitea/gitea/modules/markdown"
+ "github.com/go-gitea/gitea/modules/setting"
)
func NewFuncMap() []template.FuncMap {