Skip to content

Commit 5336a37

Browse files
committed
Merge branch 'master' of git://github.com/go-gitea/gitea
2 parents 5aee8c9 + 7eacdcf commit 5336a37

File tree

827 files changed

+151474
-371
lines changed

Some content is hidden

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

827 files changed

+151474
-371
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ This changelog goes through all the changes that have been made in each release
44
without substantial changes to our git log; to see the highlights of what has
55
been added to each release, please refer to the [blog](https://blog.gitea.io).
66

7+
## [1.9.3](https://github.com/go-gitea/gitea/releases/tag/v1.9.3) - 2019-09-06
8+
* BUGFIXES
9+
* Fix go get from a private repository with Go 1.13 (#8100)
10+
* Strict name matching for Repository.GetTagID() (#8082)
11+
* Avoid ambiguity of branch/directory names for the git-diff-tree command (#8070)
12+
* Add change title notification for issues (#8064)
13+
* Run CORS handler first for /api routes (#7967) (#8053)
14+
* Evaluate emojis in commit messages in list view (#8044)
15+
* Fix failed to synchronize tags to releases for repository (#7990) (#7994)
16+
* Fix adding default Telegram webhook (#7972) (#7992)
17+
* Abort synchronization from LDAP source if there is some error (#7965)
18+
* Fix deformed emoji in commit message (#8071)
19+
* ENHANCEMENT
20+
* Keep blame view buttons sequence consistent with normal view when viewing a file (#8007) (#8009)
21+
722
## [1.9.2](https://github.com/go-gitea/gitea/releases/tag/v1.9.2) - 2019-08-22
823
* BUGFIXES
924
* Fix wrong sender when send slack webhook (#7918) (#7924)

Makefile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ SOURCES ?= $(shell find . -name "*.go" -type f)
4848

4949
TMPDIR := ./build-tmp
5050

51+
#To update swagger use: GO111MODULE=on go get -u github.com/go-swagger/go-swagger/cmd/[email protected]
52+
SWAGGER := GO111MODULE=on $(GO) run -mod=vendor github.com/go-swagger/go-swagger/cmd/swagger
5153
SWAGGER_SPEC := templates/swagger/v1_json.tmpl
5254
SWAGGER_SPEC_S_TMPL := s|"basePath": *"/api/v1"|"basePath": "{{AppSubUrl}}/api/v1"|g
5355
SWAGGER_SPEC_S_JSON := s|"basePath": *"{{AppSubUrl}}/api/v1"|"basePath": "/api/v1"|g
@@ -101,10 +103,7 @@ generate:
101103

102104
.PHONY: generate-swagger
103105
generate-swagger:
104-
@hash swagger > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
105-
GO111MODULE="on" $(GO) get -u github.com/go-swagger/go-swagger/cmd/[email protected]; \
106-
fi
107-
swagger generate spec -o './$(SWAGGER_SPEC)'
106+
$(SWAGGER) generate spec -o './$(SWAGGER_SPEC)'
108107
$(SED_INPLACE) '$(SWAGGER_SPEC_S_TMPL)' './$(SWAGGER_SPEC)'
109108
$(SED_INPLACE) $(SWAGGER_NEWLINE_COMMAND) './$(SWAGGER_SPEC)'
110109

@@ -119,11 +118,8 @@ swagger-check: generate-swagger
119118

120119
.PHONY: swagger-validate
121120
swagger-validate:
122-
@hash swagger > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
123-
GO111MODULE="on" $(GO) get -u github.com/go-swagger/go-swagger/cmd/[email protected]; \
124-
fi
125121
$(SED_INPLACE) '$(SWAGGER_SPEC_S_JSON)' './$(SWAGGER_SPEC)'
126-
swagger validate './$(SWAGGER_SPEC)'
122+
$(SWAGGER) validate './$(SWAGGER_SPEC)'
127123
$(SED_INPLACE) '$(SWAGGER_SPEC_S_TMPL)' './$(SWAGGER_SPEC)'
128124

129125
.PHONY: errcheck

docker/root/etc/templates/sshd_config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ChallengeResponseAuthentication no
2525
PasswordAuthentication no
2626
PermitEmptyPasswords no
2727

28-
AllowUsers git
28+
AllowUsers ${USER}
2929

3030
Banner none
3131
Subsystem sftp /usr/lib/ssh/sftp-server

docker/root/usr/bin/entrypoint

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ my_gid=`id -g`
66
if [ "${USER}" != "git" ]; then
77
# rename user
88
sed -i -e "s/^git\:/${USER}\:/g" /etc/passwd
9-
# switch sshd config to different user
10-
sed -i -e "s/AllowUsers git$/AllowUsers ${USER}/g" /etc/ssh/sshd_config
119
fi
1210

1311
if [ -z "${USER_GID}" ]; then

docs/content/doc/advanced/ci-cd.en-us.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ menu:
2222
CI/CD solutions that have integration with Gitea. Following list is not complete,
2323
the purpose is to give a starting point to integrate a CI/CD process with your Gitea instance.
2424

25-
- [Drone](https://drone.io) with [Gitea documentation](https://docs.drone.io/installation/gitea/)
25+
- [Drone](https://drone.io) with [Gitea documentation](https://docs.drone.io/installation/providers/gitea/)
2626
- [Jenkins](https://jenkins.io/) with [Gitea plugin](https://plugins.jenkins.io/gitea)
2727
- [Agola](https://agola.io)
2828
- [Buildkite](https://buildkite.com) with [Gitea connector](https://github.com/techknowlogick/gitea-buildkite-connector)
29+
- [AppVeyor](https://www.appveyor.com) with [built-in Gitea support](https://www.appveyor.com/blog/2019/09/05/gitea-receives-first-class-support-in-appveyor/)
2930

3031
Others CI/CD solutions that partially can be integrated with Gitea:
3132
- [Concourse](https://www.concourse-ci.org), see more information at [Concourse community forum](https://discuss.concourse-ci.org/t/concourse-ci-and-gitea-oauth/1475)

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module code.gitea.io/gitea
33
go 1.12
44

55
require (
6+
cloud.google.com/go v0.45.0 // indirect
67
gitea.com/macaron/binding v0.0.0-20190822013154-a5f53841ed2b
78
gitea.com/macaron/cache v0.0.0-20190822004001-a6e7fee4ee76
89
gitea.com/macaron/captcha v0.0.0-20190822015246-daa973478bae
@@ -44,10 +45,11 @@ require (
4445
github.com/glycerine/goconvey v0.0.0-20190315024820-982ee783a72e // indirect
4546
github.com/go-redis/redis v6.15.2+incompatible
4647
github.com/go-sql-driver/mysql v1.4.1
48+
github.com/go-swagger/go-swagger v0.20.1
4749
github.com/go-xorm/xorm v0.7.7-0.20190822154023-17592d96b35b
50+
github.com/gobwas/glob v0.2.3
4851
github.com/gogits/chardet v0.0.0-20150115103509-2404f7772561
4952
github.com/gogs/cron v0.0.0-20171120032916-9f6c956d3e14
50-
github.com/golang/snappy v0.0.1 // indirect
5153
github.com/google/go-github/v24 v24.0.1
5254
github.com/gorilla/context v1.1.1
5355
github.com/issue9/assert v1.3.2 // indirect
@@ -79,7 +81,6 @@ require (
7981
github.com/philhofer/fwd v1.0.0 // indirect
8082
github.com/pquerna/otp v0.0.0-20160912161815-54653902c20e
8183
github.com/prometheus/client_golang v1.1.0
82-
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect
8384
github.com/prometheus/procfs v0.0.4 // indirect
8485
github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 // indirect
8586
github.com/russross/blackfriday v0.0.0-20180428102519-11635eb403ff
@@ -101,13 +102,12 @@ require (
101102
github.com/urfave/cli v1.20.0
102103
github.com/willf/bitset v0.0.0-20180426185212-8ce1146b8621 // indirect
103104
github.com/yohcop/openid-go v0.0.0-20160914080427-2c050d2dae53
104-
go.etcd.io/bbolt v1.3.3 // indirect
105105
golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472
106106
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297
107107
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
108-
golang.org/x/sys v0.0.0-20190902133755-9109b7679e13
108+
golang.org/x/sys v0.0.0-20190904154756-749cb33beabd
109109
golang.org/x/text v0.3.2
110-
golang.org/x/tools v0.0.0-20190830223141-573d9926052a // indirect
110+
golang.org/x/tools v0.0.0-20190903163617-be0da057c5e3 // indirect
111111
google.golang.org/appengine v1.6.2 // indirect
112112
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
113113
gopkg.in/asn1-ber.v1 v1.0.0-20150924051756-4e86f4367175 // indirect

0 commit comments

Comments
 (0)