Skip to content

Commit ae2e406

Browse files
committed
Merge remote-tracking branch 'upstream/master' into builtin-gliderlabs-ssh
2 parents 5a4eec8 + 078c404 commit ae2e406

File tree

890 files changed

+194261
-57213
lines changed

Some content is hidden

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

890 files changed

+194261
-57213
lines changed

.drone.yml

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pipeline:
2222
branch: [ master ]
2323

2424
update-translations:
25-
image: alpine:3.6
25+
image: alpine:3.7
2626
commands:
2727
- mv ./options/locale/locale_en-US.ini ./options/
2828
- sed -i -e 's/="/=/g' -e 's/"$$//g' ./options/locale/*.ini
@@ -56,58 +56,58 @@ pipeline:
5656
event: [ push, tag, pull_request ]
5757

5858
build-without-gcc:
59-
image: golang:1.8
59+
image: golang:1.9
6060
pull: true
6161
commands:
6262
- go build -o gitea_no_gcc # test if build succeeds without the sqlite tag
6363
when:
6464
event: [ push, tag, pull_request ]
6565

6666
build:
67-
image: golang:1.10
67+
image: golang:1.11
6868
pull: true
6969
environment:
70-
TAGS: bindata sqlite
70+
TAGS: bindata sqlite sqlite_unlock_notify
7171
commands:
7272
- make clean
7373
- make generate
7474
- make vet
7575
- make lint
7676
- make fmt-check
7777
- make swagger-check
78-
# - make swagger-validate
78+
- make swagger-validate
7979
- make misspell-check
8080
- make test-vendor
8181
- make build
8282
when:
8383
event: [ push, tag, pull_request ]
8484

8585
test:
86-
image: golang:1.10
86+
image: golang:1.11
8787
pull: true
8888
group: test
8989
environment:
90-
TAGS: bindata sqlite
90+
TAGS: bindata sqlite sqlite_unlock_notify
9191
commands:
9292
- make unit-test-coverage
9393
when:
9494
event: [ push, pull_request ]
9595
branch: [ master ]
9696

9797
test:
98-
image: golang:1.10
98+
image: golang:1.11
9999
pull: true
100100
group: test
101101
environment:
102-
TAGS: bindata sqlite
102+
TAGS: bindata sqlite sqlite_unlock_notify
103103
commands:
104104
- make test
105105
when:
106106
event: [ push, pull_request ]
107107
branch: [ release/* ]
108108

109109
test:
110-
image: golang:1.10
110+
image: golang:1.11
111111
pull: true
112112
group: test
113113
environment:
@@ -117,20 +117,22 @@ pipeline:
117117
when:
118118
event: [ tag ]
119119

120-
# Commented until db locking have been resolved!
121-
# test-sqlite:
122-
# image: golang:1.10
123-
# pull: true
124-
# group: test
125-
# environment:
126-
# TAGS: bindata
127-
# commands:
128-
# - make test-sqlite
129-
# when:
130-
# event: [ push, tag, pull_request ]
120+
test-sqlite:
121+
image: golang:1.11
122+
pull: true
123+
group: test
124+
environment:
125+
TAGS: bindata
126+
commands:
127+
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
128+
- apt-get install -y git-lfs
129+
- (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.sqlite.test)' | sh)) &
130+
- make test-sqlite
131+
when:
132+
event: [ push, tag, pull_request ]
131133

132134
test-mysql:
133-
image: golang:1.10
135+
image: golang:1.11
134136
pull: true
135137
group: test
136138
environment:
@@ -145,7 +147,7 @@ pipeline:
145147
branch: [ master ]
146148

147149
test-mysql:
148-
image: golang:1.10
150+
image: golang:1.11
149151
pull: true
150152
group: test
151153
environment:
@@ -154,12 +156,13 @@ pipeline:
154156
commands:
155157
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
156158
- apt-get install -y git-lfs
159+
- (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.test)' | sh)) &
157160
- make test-mysql
158161
when:
159162
event: [ tag ]
160163

161164
test-pgsql:
162-
image: golang:1.10
165+
image: golang:1.11
163166
pull: true
164167
group: test
165168
environment:
@@ -168,12 +171,13 @@ pipeline:
168171
commands:
169172
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
170173
- apt-get install -y git-lfs
174+
- (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.test)' | sh)) &
171175
- make test-pgsql
172176
when:
173177
event: [ push, tag, pull_request ]
174178

175179
generate-coverage:
176-
image: golang:1.10
180+
image: golang:1.11
177181
pull: true
178182
environment:
179183
TAGS: bindata
@@ -196,7 +200,7 @@ pipeline:
196200
image: karalabe/xgo-latest:latest
197201
pull: true
198202
environment:
199-
TAGS: bindata sqlite
203+
TAGS: bindata sqlite sqlite_unlock_notify
200204
commands:
201205
- export PATH=$PATH:$GOPATH/bin
202206
- make release

CHANGELOG.md

Lines changed: 202 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,211 @@ 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.5.0-RC1](https://github.com/go-gitea/gitea/releases/tag/v1.5.0-rc1) - 2018-07-04
7+
## [1.6.0-rc2](https://github.com/go-gitea/gitea/releases/tag/v1.6.0-rc2) - 2018-11-04
88
* SECURITY
9+
* Add CSRF checking to reqToken and add reqToken to admin API routes (#5272) (#5250)
10+
* FEATURE
11+
* Add comment replies (#5147) (#5104)
12+
* BUGFIXES
13+
* Fix wrong api request url for instances running in subfolders (#5261) (#5247)
14+
* Accept web-command cli flags if web-command is commited (#5245) (#5200)
15+
* Reduce join star, repo_topic, topic tables on repo search, to resolve extra columns problem on MSSQL (#5136) (#5229)
16+
* Fix data race on migrate repository (#5224) (#5230)
17+
* Add secret to all webhook's payload where it has been missing (#5208) (#5199)
18+
* Fix sqlite and MSSQL lock (#5210) (#5223) (#5214) (#5218) (#5176) (#5179)
19+
* Fix race on updatesize (#5190) (#5215)
20+
* Fix filtering issues by tags on main screen issues (#5219) (#3824)
21+
* Fix SQL quoting (#5137) (#5117)
22+
* Fix regex to support optional end line of old section in diff hunk (#5097) (#5096)
23+
24+
## [1.6.0-rc1](https://github.com/go-gitea/gitea/releases/tag/v1.6.0-rc1) - 2018-10-17
25+
* BREAKING
26+
* Respect email privacy option in user search via API (#4512)
27+
* Simply remove tidb and deps (#3993)
28+
* Swagger.v1.json template (#3572)
29+
* FEATURE
30+
* Pull request review/approval and comment on code (#3748)
31+
* Added dependencies for issues (#2196) (#2531)
32+
* Add the ability to have built in themes in Gitea and provide dark theme arc-green (#4198)
33+
* Add sudo functionality to the API (#4809)
34+
* Add oauth providers via cli (#4591)
35+
* Disable merging a WIP Pull request (#4529)
36+
* Force user to change password (#4489)
37+
* Add letsencrypt to Gitea (#4189)
38+
* Add push webhook support for mirrored repositories (#4127)
39+
* Add csv file render support defaultly (#4105)
40+
* Add Recaptcha functionality to Gitea (#4044)
41+
* BUGFIXES
42+
* Fix release creation via API (#5076)
43+
* Remove links from topics in edit mode (#5026)
44+
* Fix missing AppSubUrl in few more templates (fixup) (#5021)
45+
* Fix missing AppSubUrl in some templates (#5020)
46+
* Hide outdated comments in file view (#5017)
47+
* Upgrade gopkg.in/testfixtures.v2 (#4999)
48+
* Disable debug routes unless PPROF is enabled in configuration (#4995)
49+
* Fix user menu item styling (#4985)
50+
* Fix layout of the topics editing form (#4971)
51+
* Fix null pointer dereference in ParseCommitWithSignature (#4962)
52+
* Fix url in discord webhook (#4953)
53+
* Detect charset and convert non UTF-8 files for display (#4950)
54+
* Make sure to catch the right error so it is displayed on the UI (#4945)
55+
* Fix(topics): don't redirect to explore page. (#4938)
56+
* Fix bug forget to remove Stopwatch when remove repository (#4928)
57+
* Fix bug when repo remained bare if multiple branches pushed in single push (#4923)
58+
* Fix: Let's Encrypt configuration settings (#4911)
59+
* Fix: Crippled diff (#4726) (#4900)
60+
* Fix trimming of markup section names (#4863)
61+
* Issues api allow pulls and fix #4832 (#4852)
62+
* Do not autocreate directory for new users/orgs (#4828) (#4849)
63+
* Fix redirect with non-ascii branch names (#4764) (#4810)
64+
* Fix missing release title in webhook (#4783) (#4796)
65+
* User shouldn't be able to approve or reject his/her own PR (#4729)
66+
* Make sure to reset commit count in the cache on mirror syncing (#4720)
67+
* Fixed bug where team with admin privelege type doesn't get any unit (#4719)
68+
* Fix incorrect caption of webhook setting (#4701) (#4717)
69+
* Allow WIP marker to contains < or > (#4709)
70+
* Hide org/create menu item in Dashboard if user has no rights (#4678) (#4680)
71+
* Site admin could create repos even MAX_CREATION_LIMIT=0 (#4645)
72+
* Fix custom templates being ignored (#4638)
73+
* Fix starring icon after semantic ui update (#4628)
74+
* Fix Split-View line adjustment (#4622)
75+
* Fix integer constant overflows in tests (#4616)
76+
* Push whitelist now doesn't apply to branch deletion (#4601) (#4607)
77+
* Fix bugs when too many IN variables (#4594)
78+
* Fix failure on creating pull request with assignees (#4419) (#4583)
79+
* Fix panic issue on update avatar email (#4580) (#4581)
80+
* Fix status code label for a successful webhook (#4540)
81+
* An inactive user shouldn't be able to be added as a collaborator (#4535)
82+
* Don't fail silently if trying to add a collaborator twice (#4533)
83+
* Fix incorrect MergeWhitelistTeamIDs check in CanUserMerge function (#4519) (#4525)
84+
* Fix out-of-transaction query in removeOrgUser (#4521) (#4522)
85+
* Fix migration from older releases (#4495)
86+
* Accept 'Data:' in commit graph (#4487)
87+
* Update xorm to latest version and fix correct `user` table referencing in sql (#4473)
88+
* Relative URLs for LibreJS page (#4460)
89+
* Redirect to correct page after using scratch token (#4458)
90+
* Fix column droping for MSSQL that need new transaction for that (#4440)
91+
* Replace src with raw to fix image paths (#4377)
92+
* Add default merge options when creating new repository (#4369)
93+
* Fix docker build (#4358)
94+
* Fixes repo membership check in API (#4341)
95+
* Dep upgrade mysql lib (#4161)
96+
* Fix some issues with special chars in branch names (#3767)
97+
* Responsive design fixes (#4508)
98+
* ENHANCEMENT
99+
* Fix milestones sorted wrongly (#4987)
100+
* Allow api to create tags for releases if they don't exist (#4890)
101+
* Fix #4877 to follow the OpenID Connect Audiences spec (#4878)
102+
* Enforce token on api routes [fixed critical security issue #4357] (#4840)
103+
* Update legacy branch and tag URLs in dashboard to new format (#4812)
104+
* Slack webhook channel name cannot be empty or just contain an hashtag (#4786)
105+
* Add whitespace handling to PR-comparsion (#4683)
106+
* Make reverse proxy auth optional (#4643)
107+
* MySQL TLS (#4642)
108+
* Make sure to set PR split view when creating/previewing a pull request (#4617)
109+
* Log user in after a successful sign up (#4615)
110+
* Fix typo IsPullReuqestBroken -> IsPullRequestBroken (#4578)
111+
* Allow admin toggle forcing a password change for newly created users (#4563)
112+
* Update jQuery to v1.12.4 (#4551)
113+
* Env var GITEA_PUSHER_EMAIL (#4516)
114+
* Feat(repo): support search repository by topic name (#4505)
115+
* Small improvements to dependency UI (#4503)
116+
* Make max commits in graph configurable (#4498)
117+
* Add valid for lfs oid (#4461)
118+
* Add shortcut to save wiki page (#4452)
119+
* Allow administrator to create repository for any organization (#4368)
120+
* Fix repository last updated time update when delete a user who watched the repo (#4363)
121+
* Switch plaintext scratch tokens to use hash instead (#4331)
122+
* Increase default TOTP secret size to 320 bits (#4287)
123+
* Keep preseeded database password (#4284)
124+
* Implemented hover text showing user FullName (#4261)
125+
* Add ability to delete a token (#4235)
126+
* Fix typos in i18n variable names. (#4080)
127+
* Api: repos/search: add parameters to control the sort order (#3964)
128+
* Add missing path in the Docker app.ini template (#2181)
129+
* Add file name and branch to page title (#4902)
130+
* Offline use of google fonts (#4872)
131+
* Add missing History link to directory listings v2 (#4829)
132+
* Locale for Edit and Remove due date issue (#4802)
133+
* Disable 'May Import Local Repository' when is disabled by setting (Is… (#4780)
134+
* API /admin/users/{username} missing parameter (#4775)
135+
* Display error when adding a user to a team twice (#4746)
136+
* Remove UsePrivilegeSeparation from the Docker sshd_config, see #2876 (#4722)
137+
* Focus title input when clicking helper link (#4696)
138+
* Add vendor to user reserved words and format words list according alphabet (#4685)
139+
* Add gitea/issues link to 500 page (#4654)
140+
* Hide home button when landing page is not set to home (#4651)
141+
* Remove link to GitHub issues in 404 template (#4639)
142+
* Cmd/serve: pprof cpu and memory profile dumps to disk (#4560)
143+
* Add flash message after an account has been successfully activated (#4510)
144+
* Prevent html entity escaping on delete branch (#4471)
145+
* Locale for button Edit on protected branch (#4442)
146+
* Update notification icon (#4343)
147+
* Added front-end topics validation (#4316)
148+
* Don't display buttons if there are no system notifications (#4280)
149+
* Issue due date api (#3890)
150+
* SECURITY
151+
* Improve URL validation for external wiki and external issues (#4710)
152+
* Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706)
153+
* Don't disclose emails of all users when sending out emails (#4664)
154+
* Check that repositories can only be migrated to own user or organizations (#4366)
155+
* TRANSLATION
156+
* Fix punctuation in English translation (#4958)
157+
* Fix translation (#4355)
158+
159+
## [1.5.3](https://github.com/go-gitea/gitea/releases/tag/v1.5.3) - 2018-10-31
160+
* SECURITY
161+
* Fix remote command execution vulnerability in upstream library (#5177) (#5196)
162+
163+
## [1.5.2](https://github.com/go-gitea/gitea/releases/tag/v1.5.2) - 2018-10-09
164+
* SECURITY
165+
* Enforce token on api routes (#4840) (#4905)
166+
* BUGFIXES
167+
* Remove links from topics in edit mode (#5030)
168+
* Detect charset and convert non UTF-8 files for display (#4950) (#4994)
169+
* Fix layout of the topics editing form (#4971) (#4993)
170+
* Fix null pointer dereference in ParseCommitWithSignature (#4964)
171+
* Fix url in discord webhook (#4951)
172+
* Fix font-cropping UI bug in diff (#4726) (#4929)
173+
* Fix bug forget to remove Stopwatch when remove repository (#4933)
174+
* Fix bug when repo remained bare if multiple branches pushed (#4927)
175+
* Fix redirect with non-ascii branch names (#4764) (#4887)
176+
* Fix issues api allow pulls (#4852) (#4862)
177+
* Fix trimming of markup section names (#4864)
178+
179+
## [1.5.1](https://github.com/go-gitea/gitea/releases/tag/v1.5.1) - 2018-09-03
180+
* SECURITY
181+
* Don't disclose emails of all users when sending out emails (#4784)
182+
* Improve URL validation for external wiki and external issues (#4710) (#4740)
183+
* Make cookies HttpOnly and obey COOKIE_SECURE flag (#4706) (#4707)
184+
* BUGFIXES
185+
* Fix missing release title in webhook (#4783) (#4800)
186+
* Make sure to reset commit count in the cache on mirror syncing (#4770)
187+
* Fixed bug where team with admin privelege type doesn't get any unit (#4759)
188+
* Fix failure on creating pull request with assignees (#4583) (#4727)
189+
* Hide org/create menu item in Dashboard if user has no rights (#4678) (#4686)
190+
* TRANSLATION
191+
* Fix incorrect caption of webhook setting (#4701) (#4718)
192+
193+
## [1.5.0](https://github.com/go-gitea/gitea/releases/tag/v1.5.0) - 2018-08-10
194+
* SECURITY
195+
* Check that repositories can only be migrated to own user or organizations (#4366) (#4370)
9196
* Limit uploaded avatar image-size to 4096px x 3072px by default (#4353)
10197
* Do not allow to reuse TOTP passcode (#3878)
198+
* BUGFIXES
199+
* Fix column droping for MSSQL that need new transaction for that (#4440) (#4484)
200+
* Redirect to correct page after using scratch token (#4458) (#4472)
201+
* Replace src with raw to fix image paths (#4377) (#4386)
202+
* Fixes repo membership check in API (#4341) (#4379)
203+
* Add default merge options when adding new repository (#4369) (#4373)
204+
* Fix repository last updated time update when delete a user who watched the repo (#4363) (#4371)
205+
* Fix html entity escaping in branch deletion message (#4471) (#4485)
206+
* Fix out-of-transaction query in removeOrgUser (#4521) (#4524)
207+
* Fix incorrect MergeWhitelistTeamIDs check in CanUserMerge function (#4519)
208+
* Fix panic issue on update avatar email (#4580) (#4590)
209+
* Fix bugs when too many IN variables (#4594) (#4597)
210+
* Push whitelist now doesn't apply to branch deletion (#4601) (#4640)
211+
* Site admin could create repos even MAX_CREATION_LIMIT=0 (#4645) (#4650)
11212
* FEATURE
12213
* Add cli commands to regen hooks & keys (#3979)
13214
* Add support for FIDO U2F (#3971)

0 commit comments

Comments
 (0)