Skip to content

Commit 9066a85

Browse files
committed
Merge branch 'master' of git://github.com/go-gitea/gitea
Move my changes from commits_table.tmpl to new commits_list.tmpl
2 parents c92ac4e + a647a54 commit 9066a85

File tree

384 files changed

+21435
-6880
lines changed

Some content is hidden

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

384 files changed

+21435
-6880
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/public/js/semantic.dropdown.custom.js

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ _test
1212

1313
# MS VSCode
1414
.vscode
15+
__debug_bin
1516

1617
# Architecture specific extensions/prefixes
1718
*.[568vq]

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ issues:
7373
- path: routers/routes/routes.go
7474
linters:
7575
- dupl
76+
- path: routers/api/v1/repo/issue_subscription.go
77+
linters:
78+
- dupl
7679
- path: routers/repo/view.go
7780
linters:
7881
- dupl

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,32 @@ 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.10.0-RC2](https://github.com/go-gitea/gitea/releases/tag/v1.10.0-rc2) - 2019-10-30
8+
* BREAKING
9+
* Fix deadline on update issue or PR via API (#8698)
10+
* Hide some user information via API if user doesn't have enough permission (#8655) (#8657)
11+
* BUGFIXES
12+
* Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) (#8618)
13+
* Fix milestone close timestamp (#8728) (#8730)
14+
* Fix 500 when getting user as unauthenticated user (#8653) (#8663)
15+
* Fix 'New Issue Missing Milestone Comment' (#8678) (#8681)
16+
* Use AppSubUrl for more redirections (#8647) (#8651)
17+
* Add SubURL to redirect path (#8632) (#8634)
18+
* Fix template error on account page (#8562) (#8622)
19+
* Allow externalID to be UUID (#8551) (#8624)
20+
* Prevent removal of non-empty emoji panel following selection of duplicate (#8609) (#8623)
21+
* Update heatmap fixtures to restore tests (#8615) (#8616)
22+
* Ensure that diff stats can scroll independently of the diff (#8581) (#8621)
23+
* Webhook: set Content-Type for application/x-www-form-urlencoded (#8600)
24+
* Fix #8582 by handling empty repos (#8587) (#8594)
25+
* Fix bug on pull requests when transfer head repository (#8564) (#8569)
26+
* Add missed close in ServeBlobLFS (#8527) (#8542)
27+
* Ensure that GitRepo is set on Empty repositories (#8539) (#8541)
28+
* Fix migrate mirror 500 bug (#8526) (#8530)
29+
* Fix password complexity regex for special characters (#8524)
30+
* Prevent .code-view from overriding font on icon fonts (#8614) (#8627)
31+
* Allow more than 255 characters for tokens in external_login_user table (#8554)
32+
733
## [1.10.0-RC1](https://github.com/go-gitea/gitea/releases/tag/v1.10.0-rc1) - 2019-10-14
834
* BREAKING
935
* Remove legacy handling of drone token (#8191)
@@ -263,6 +289,30 @@ been added to each release, please refer to the [blog](https://blog.gitea.io).
263289
* wiki - editor - add buttons 'inline code', 'empty checkbox', 'checked checkbox' (#7243)
264290
* Fix Statuses API only shows first 10 statuses: Add paging and extend API GetCommitStatuses (#7141)
265291

292+
## [1.9.5](https://github.com/go-gitea/gitea/releases/tag/v1.9.5) - 2019-10-30
293+
* BREAKING
294+
* Hide some user information via API if user doesn't have enough permission (#8655) (#8658)
295+
* BUGFIXES
296+
* Fix milestone close timestamp (#8728) (#8731)
297+
* Fix deadline on update issue or PR via API (#8699)
298+
* Fix 'New Issue Missing Milestone Comment' (#8678) (#8682)
299+
* Fix 500 when getting user as unauthenticated user (#8653) (#8662)
300+
* Use AppSubUrl for more redirections (#8647) (#8652)
301+
* Add SubURL to redirect path (#8632) (#8634) (#8640)
302+
* Fix #8582 by handling empty repos (#8587) (#8593)
303+
* Fix bug on pull requests when transfer head repository (#8571)
304+
* Add missed close in ServeBlobLFS (#8527) (#8543)
305+
* Return false if provided branch name is empty for IsBranchExist (#8485) (#8492)
306+
* Create .ssh dir as necessary (#8369) (#8486) (#8489)
307+
* Restore functionality for early gits (#7775) (#8476)
308+
* Add check for empty set when dropping indexes during migration (#8475)
309+
* Ensure Request Body Readers are closed in LFS server (#8454) (#8459)
310+
* Ensure that LFS files are relative to the LFS content path (#8455) (#8458)
311+
* SECURITY
312+
* Ignore mentions for users with no access (#8395) (#8484)
313+
* TESTING
314+
* Update heatmap fixtures to restore tests (#8615) (#8617)
315+
266316
## [1.9.4](https://github.com/go-gitea/gitea/releases/tag/v1.9.4) - 2019-10-08
267317
* BUGFIXES
268318
* Highlight issue references (#8101) (#8404)

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ Gary Kim <[email protected]> (@gary-kim)
3434
Guillermo Prandi <[email protected]> (@guillep2k)
3535
Mura Li <[email protected]> (@typeless)
3636
6543 <[email protected]> (@6543)
37+
jaqra <[email protected]> (@jaqra)

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,4 +524,4 @@ golangci-lint:
524524
export BINARY="golangci-lint"; \
525525
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.20.0; \
526526
fi
527-
golangci-lint run
527+
golangci-lint run --timeout 5m

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[简体中文](https://github.com/go-gitea/gitea/blob/master/README_ZH.md)
1+
[简体中文](README_ZH.md)
22

33
<h1> <img src="https://raw.githubusercontent.com/go-gitea/gitea/master/public/img/gitea-192.png" alt="logo" width="30" height="30"> Gitea - Git with a cup of tea</h1>
44

@@ -105,9 +105,8 @@ for the full license text.
105105
## Screenshots
106106
Looking for an overview of the interface? Check it out!
107107

108-
| | | |
108+
|![Dashboard](https://dl.gitea.io/screenshots/home_timeline.png)|![User Profile](https://dl.gitea.io/screenshots/user_profile.png)|![Global Issues](https://dl.gitea.io/screenshots/global_issues.png)|
109109
|:---:|:---:|:---:|
110-
|![Dashboard](https://image.ibb.co/dms6DG/1.png)|![Repository](https://image.ibb.co/m6MSLw/2.png)|![Commits History](https://image.ibb.co/cjrSLw/3.png)|
111-
|![Branches](https://image.ibb.co/e6vbDG/4.png)|![Issues](https://image.ibb.co/bJTJSb/5.png)|![Pull Request View](https://image.ibb.co/e02dSb/6.png)|
112-
|![Releases](https://image.ibb.co/cUzgfw/7.png)|![Activity](https://image.ibb.co/eZgGDG/8.png)|![Wiki](https://image.ibb.co/dYV9YG/9.png)|
113-
|![Diff](https://image.ibb.co/ewA9YG/10.png)|![Organization](https://image.ibb.co/ceOwDG/11.png)|![Profile](https://image.ibb.co/c44Q7b/12.png)|
110+
|![Branches](https://dl.gitea.io/screenshots/branches.png)|![Web Editor](https://dl.gitea.io/screenshots/web_editor.png)|![Activity](https://dl.gitea.io/screenshots/activity.png)|
111+
|![New Migration](https://dl.gitea.io/screenshots/migration.png)|![Migrating](https://dl.gitea.io/screenshots/migration.gif)|![Pull Request View](https://image.ibb.co/e02dSb/6.png)
112+
![Pull Request Dark](https://dl.gitea.io/screenshots/pull_requests_dark.png)|![Diff Review Dark](https://dl.gitea.io/screenshots/review_dark.png)|![Diff Dark](https://dl.gitea.io/screenshots/diff_dark.png)|

README_ZH.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
[English](https://github.com/go-gitea/gitea/blob/master/README.md)
1+
[English](README.md)
22

3-
# Gitea - Git with a cup of tea
3+
<h1> <img src="https://raw.githubusercontent.com/go-gitea/gitea/master/public/img/gitea-192.png" alt="logo" width="30" height="30"> Gitea - Git with a cup of tea</h1>
44

55
[![Build Status](https://drone.gitea.io/api/badges/go-gitea/gitea/status.svg)](https://drone.gitea.io/go-gitea/gitea)
6-
[![Join the chat at https://img.shields.io/discord/322538954119184384.svg](https://img.shields.io/discord/322538954119184384.svg)](https://discord.gg/gitea)
6+
[![Join the Discord chat at https://discord.gg/NsatcWJ](https://img.shields.io/discord/322538954119184384.svg)](https://discord.gg/NsatcWJ)
77
[![](https://images.microbadger.com/badges/image/gitea/gitea.svg)](https://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
88
[![codecov](https://codecov.io/gh/go-gitea/gitea/branch/master/graph/badge.svg)](https://codecov.io/gh/go-gitea/gitea)
99
[![Go Report Card](https://goreportcard.com/badge/code.gitea.io/gitea)](https://goreportcard.com/report/code.gitea.io/gitea)
1010
[![GoDoc](https://godoc.org/code.gitea.io/gitea?status.svg)](https://godoc.org/code.gitea.io/gitea)
1111
[![GitHub release](https://img.shields.io/github/release/go-gitea/gitea.svg)](https://github.com/go-gitea/gitea/releases/latest)
12+
[![Help Contribute to Open Source](https://www.codetriage.com/go-gitea/gitea/badges/users.svg)](https://www.codetriage.com/go-gitea/gitea)
1213
[![Become a backer/sponsor of gitea](https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen)](https://opencollective.com/gitea)
1314
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
1415
[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://crowdin.com/project/gitea)
@@ -45,9 +46,8 @@ Fork -> Patch -> Push -> Pull Request
4546

4647
## 截图
4748

48-
| | | |
49+
|![Dashboard](https://dl.gitea.io/screenshots/home_timeline.png)|![User Profile](https://dl.gitea.io/screenshots/user_profile.png)|![Global Issues](https://dl.gitea.io/screenshots/global_issues.png)|
4950
|:---:|:---:|:---:|
50-
|![Dashboard](https://image.ibb.co/dms6DG/1.png)|![Repository](https://image.ibb.co/m6MSLw/2.png)|![Commits History](https://image.ibb.co/cjrSLw/3.png)|
51-
|![Branches](https://image.ibb.co/e6vbDG/4.png)|![Issues](https://image.ibb.co/bJTJSb/5.png)|![Pull Request View](https://image.ibb.co/e02dSb/6.png)|
52-
|![Releases](https://image.ibb.co/cUzgfw/7.png)|![Activity](https://image.ibb.co/eZgGDG/8.png)|![Wiki](https://image.ibb.co/dYV9YG/9.png)|
53-
|![Diff](https://image.ibb.co/ewA9YG/10.png)|![Organization](https://image.ibb.co/ceOwDG/11.png)|![Profile](https://image.ibb.co/c44Q7b/12.png)|
51+
|![Branches](https://dl.gitea.io/screenshots/branches.png)|![Web Editor](https://dl.gitea.io/screenshots/web_editor.png)|![Activity](https://dl.gitea.io/screenshots/activity.png)|
52+
|![New Migration](https://dl.gitea.io/screenshots/migration.png)|![Migrating](https://dl.gitea.io/screenshots/migration.gif)|![Pull Request View](https://image.ibb.co/e02dSb/6.png)
53+
![Pull Request Dark](https://dl.gitea.io/screenshots/pull_requests_dark.png)|![Diff Review Dark](https://dl.gitea.io/screenshots/review_dark.png)|![Diff Dark](https://dl.gitea.io/screenshots/diff_dark.png)|

cmd/admin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var (
6666
},
6767
cli.BoolFlag{
6868
Name: "must-change-password",
69-
Usage: "Force the user to change his/her password after initial login",
69+
Usage: "Set this option to false to prevent forcing the user to change their password after initial login, (Default: true)",
7070
},
7171
cli.IntFlag{
7272
Name: "random-password-length",

contrib/systemd/gitea.service

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ After=network.target
3030
## PartOf=gitea.service
3131
##
3232
## [Socket]
33-
## ListenStream=
33+
## Service=gitea.service
34+
## ListenStream=<some_port>
3435
## NoDelay=true
3536
##
3637
## [Install]
@@ -53,7 +54,7 @@ WorkingDirectory=/var/lib/gitea/
5354
# If using unix socket: Tells Systemd to create /run/gitea folder to home gitea.sock
5455
# Manual cration would vanish after reboot.
5556
#RuntimeDirectory=gitea
56-
ExecStart=/usr/local/bin/gitea web -c /etc/gitea/app.ini
57+
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini
5758
Restart=always
5859
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
5960
# If you want to bind Gitea to a port below 1024, uncomment

0 commit comments

Comments
 (0)