Skip to content

Commit 171b359

Browse files
tamalsahatechknowlogick
authored andcommitted
Use gitea forked macaron (#7933)
Signed-off-by: Tamal Saha <[email protected]>
1 parent ca6fb00 commit 171b359

File tree

408 files changed

+14831
-13166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

408 files changed

+14831
-13166
lines changed

.golangci.yml

-9
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,6 @@ issues:
8686
- path: models/issue_comment_list.go
8787
linters:
8888
- dupl
89-
# "Destroy" is misspelled in github.com/go-macaron/session/session.go:213 so it's not our responsability to fix it
90-
- path: modules/session/virtual.go
91-
linters:
92-
- misspell
93-
text: '`Destory` is a misspelling of `Destroy`'
94-
- path: modules/session/memory.go
95-
linters:
96-
- misspell
97-
text: '`Destory` is a misspelling of `Destroy`'
9889
- linters:
9990
- misspell
10091
text: '`Unknwon` is a misspelling of `Unknown`'

cmd/dump.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import (
1717
"code.gitea.io/gitea/models"
1818
"code.gitea.io/gitea/modules/setting"
1919

20-
"github.com/Unknwon/cae/zip"
21-
"github.com/Unknwon/com"
20+
"github.com/unknwon/cae/zip"
21+
"github.com/unknwon/com"
2222
"github.com/urfave/cli"
2323
)
2424

cmd/serv.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
"code.gitea.io/gitea/modules/private"
2323
"code.gitea.io/gitea/modules/setting"
2424

25-
"github.com/Unknwon/com"
2625
"github.com/dgrijalva/jwt-go"
26+
"github.com/unknwon/com"
2727
"github.com/urfave/cli"
2828
)
2929

cmd/web.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818
"code.gitea.io/gitea/routers"
1919
"code.gitea.io/gitea/routers/routes"
2020

21-
"github.com/Unknwon/com"
2221
context2 "github.com/gorilla/context"
22+
"github.com/unknwon/com"
2323
"github.com/urfave/cli"
2424
"golang.org/x/crypto/acme/autocert"
2525
ini "gopkg.in/ini.v1"

contrib/pr/checkout.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ import (
2727
"code.gitea.io/gitea/routers"
2828
"code.gitea.io/gitea/routers/routes"
2929

30-
"github.com/Unknwon/com"
3130
"github.com/go-xorm/xorm"
3231
context2 "github.com/gorilla/context"
32+
"github.com/unknwon/com"
3333
"gopkg.in/src-d/go-git.v4"
3434
"gopkg.in/src-d/go-git.v4/config"
3535
"gopkg.in/src-d/go-git.v4/plumbing"

go.mod

+17-28
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,32 @@ module code.gitea.io/gitea
33
go 1.12
44

55
require (
6+
gitea.com/macaron/binding v0.0.0-20190822013154-a5f53841ed2b
7+
gitea.com/macaron/cache v0.0.0-20190822004001-a6e7fee4ee76
8+
gitea.com/macaron/captcha v0.0.0-20190822015246-daa973478bae
9+
gitea.com/macaron/cors v0.0.0-20190821152825-7dcef4a17175
10+
gitea.com/macaron/csrf v0.0.0-20190822024205-3dc5a4474439
11+
gitea.com/macaron/i18n v0.0.0-20190822004228-474e714e2223
12+
gitea.com/macaron/inject v0.0.0-20190805023432-d4c86e31027a
13+
gitea.com/macaron/macaron v1.3.3-0.20190821202302-9646c0587edb
14+
gitea.com/macaron/session v0.0.0-20190821211443-122c47c5f705
15+
gitea.com/macaron/toolbox v0.0.0-20190822013122-05ff0fc766b7
616
github.com/PuerkitoBio/goquery v0.0.0-20170324135448-ed7d758e9a34
717
github.com/RoaringBitmap/roaring v0.4.7 // indirect
8-
github.com/Unknwon/cae v0.0.0-20160715032808-c6aac99ea2ca
9-
github.com/Unknwon/com v0.0.0-20190321035513-0fed4efef755
10-
github.com/Unknwon/i18n v0.0.0-20171114194641-b64d33658966
11-
github.com/Unknwon/paginater v0.0.0-20151104151617-7748a72e0141
1218
github.com/andybalholm/cascadia v0.0.0-20161224141413-349dd0209470 // indirect
1319
github.com/bgentry/speakeasy v0.1.0 // indirect
1420
github.com/blevesearch/bleve v0.0.0-20190214220507-05d86ea8f6e3
1521
github.com/blevesearch/blevex v0.0.0-20180227211930-4b158bb555a3 // indirect
1622
github.com/blevesearch/go-porterstemmer v0.0.0-20141230013033-23a2c8e5cf1f // indirect
1723
github.com/blevesearch/segment v0.0.0-20160105220820-db70c57796cc // indirect
1824
github.com/boombuler/barcode v0.0.0-20161226211916-fe0f26ff6d26 // indirect
19-
github.com/bradfitz/gomemcache v0.0.0-20160117192205-fb1f79c6b65a // indirect
2025
github.com/chaseadamsio/goorgeous v0.0.0-20170901132237-098da33fde5f
21-
github.com/couchbase/gomemcached v0.0.0-20181122193126-5125a94a666c // indirect
22-
github.com/couchbase/goutils v0.0.0-20180530154633-e865a1461c8a // indirect
2326
github.com/couchbase/vellum v0.0.0-20190111184608-e91b68ff3efe // indirect
24-
github.com/couchbaselabs/go-couchbase v0.0.0-20190117181324-d904413d884d // indirect
2527
github.com/cznic/b v0.0.0-20181122101859-a26611c4d92d // indirect
2628
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 // indirect
2729
github.com/cznic/strutil v0.0.0-20181122101858-275e90344537 // indirect
2830
github.com/denisenkom/go-mssqldb v0.0.0-20190724012636-11b2859924c1
2931
github.com/dgrijalva/jwt-go v3.2.0+incompatible
30-
github.com/edsrzf/mmap-go v0.0.0-20170320065105-0bce6a688712 // indirect
3132
github.com/emirpasic/gods v1.12.0
3233
github.com/etcd-io/bbolt v1.3.2 // indirect
3334
github.com/ethantkoenig/rupture v0.0.0-20180203182544-0a76f03a811a
@@ -42,15 +43,6 @@ require (
4243
github.com/gliderlabs/ssh v0.2.2
4344
github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd // indirect
4445
github.com/glycerine/goconvey v0.0.0-20190315024820-982ee783a72e // indirect
45-
github.com/go-macaron/binding v0.0.0-20160711225916-9440f336b443
46-
github.com/go-macaron/cache v0.0.0-20151013081102-561735312776
47-
github.com/go-macaron/captcha v0.0.0-20190710000913-8dc5911259df
48-
github.com/go-macaron/cors v0.0.0-20190309005821-6fd6a9bfe14e9
49-
github.com/go-macaron/csrf v0.0.0-20190131233648-3751b136073c
50-
github.com/go-macaron/i18n v0.0.0-20190131234336-56731837a73b
51-
github.com/go-macaron/inject v0.0.0-20160627170012-d8a0b8677191
52-
github.com/go-macaron/session v0.0.0-20190131233854-0a0a789bf193
53-
github.com/go-macaron/toolbox v0.0.0-20180818072302-a77f45a7ce90
5446
github.com/go-redis/redis v6.15.2+incompatible
5547
github.com/go-sql-driver/mysql v1.4.1
5648
github.com/go-xorm/xorm v0.7.4
@@ -69,15 +61,13 @@ require (
6961
github.com/klauspost/cpuid v0.0.0-20160302075316-09cded8978dc // indirect
7062
github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6 // indirect
7163
github.com/lafriks/xormstore v1.1.0
72-
github.com/lib/pq v1.1.0
64+
github.com/lib/pq v1.2.0
7365
github.com/lunny/dingtalk_webhook v0.0.0-20171025031554-e3534c89ef96
7466
github.com/lunny/levelqueue v0.0.0-20190217115915-02b525a4418e
75-
github.com/lunny/log v0.0.0-20160921050905-7887c61bf0de // indirect
76-
github.com/lunny/nodb v0.0.0-20160621015157-fc1ef06ad4af // indirect
7767
github.com/markbates/goth v1.49.0
7868
github.com/mattn/go-isatty v0.0.7
7969
github.com/mattn/go-oci8 v0.0.0-20190320171441-14ba190cf52d // indirect
80-
github.com/mattn/go-sqlite3 v1.10.0
70+
github.com/mattn/go-sqlite3 v1.11.0
8171
github.com/mcuadros/go-version v0.0.0-20190308113854-92cdf37c5b75
8272
github.com/microcosm-cc/bluemonday v0.0.0-20161012083705-f77f16ffc87a
8373
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae // indirect
@@ -95,13 +85,15 @@ require (
9585
github.com/shurcooL/httpfs v0.0.0-20190527155220-6a4d4a70508b // indirect
9686
github.com/shurcooL/sanitized_anchor_name v0.0.0-20160918041101-1dba4b3954bc // indirect
9787
github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd
98-
github.com/siddontang/go-snappy v0.0.0-20140704025258-d8f7bb82a96d // indirect
99-
github.com/smartystreets/goconvey v0.0.0-20190306220146-200a235640ff // indirect
10088
github.com/steveyen/gtreap v0.0.0-20150807155958-0abe01ef9be2 // indirect
10189
github.com/stretchr/testify v1.3.0
10290
github.com/tecbot/gorocksdb v0.0.0-20181010114359-8752a9433481 // indirect
10391
github.com/tinylib/msgp v0.0.0-20180516164116-c8cf64dff200 // indirect
10492
github.com/tstranex/u2f v1.0.0
93+
github.com/unknwon/cae v0.0.0-20190822084630-55a0b64484a1
94+
github.com/unknwon/com v0.0.0-20190804042917-757f69c95f3e
95+
github.com/unknwon/i18n v0.0.0-20190805065654-5c6446a380b6
96+
github.com/unknwon/paginater v0.0.0-20151104151617-7748a72e0141
10597
github.com/urfave/cli v1.20.0
10698
github.com/willf/bitset v0.0.0-20180426185212-8ce1146b8621 // indirect
10799
github.com/yohcop/openid-go v0.0.0-20160914080427-2c050d2dae53
@@ -114,13 +106,10 @@ require (
114106
golang.org/x/tools v0.0.0-20190731214159-1e85ed8060aa // indirect
115107
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
116108
gopkg.in/asn1-ber.v1 v1.0.0-20150924051756-4e86f4367175 // indirect
117-
gopkg.in/bufio.v1 v1.0.0-20140618132640-567b2bfa514e // indirect
118109
gopkg.in/editorconfig/editorconfig-core-go.v1 v1.3.0
119110
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
120-
gopkg.in/ini.v1 v1.42.0
111+
gopkg.in/ini.v1 v1.46.0
121112
gopkg.in/ldap.v3 v3.0.2
122-
gopkg.in/macaron.v1 v1.3.2
123-
gopkg.in/redis.v2 v2.3.2 // indirect
124113
gopkg.in/src-d/go-billy.v4 v4.3.2
125114
gopkg.in/src-d/go-git.v4 v4.13.1
126115
gopkg.in/stretchr/testify.v1 v1.2.2 // indirect

0 commit comments

Comments
 (0)