Skip to content

Commit b793642

Browse files
authored
Merge branch 'master' into lunny/fix_recovery
2 parents 9352988 + 126c933 commit b793642

28 files changed

+129
-34
lines changed

docs/content/doc/installation/with-docker-rootless.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Installation with Docker (rootless)"
44
slug: "install-with-docker-rootless"
55
weight: 10
66
toc: false
7-
draft: true
7+
draft: false
88
menu:
99
sidebar:
1010
parent: "installation"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ require (
122122
mvdan.cc/xurls/v2 v2.2.0
123123
strk.kbt.io/projects/go/libravatar v0.0.0-20191008002943-06d1c002b251
124124
xorm.io/builder v0.3.7
125-
xorm.io/xorm v1.0.5
125+
xorm.io/xorm v1.0.6
126126
)
127127

128128
replace github.com/hashicorp/go-version => github.com/6543/go-version v1.2.4

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,5 +1626,5 @@ xorm.io/builder v0.3.7/go.mod h1:aUW0S9eb9VCaPohFCH3j7czOx1PMW3i1HrSzbLYGBSE=
16261626
xorm.io/core v0.7.2 h1:mEO22A2Z7a3fPaZMk6gKL/jMD80iiyNwRrX5HOv3XLw=
16271627
xorm.io/core v0.7.2/go.mod h1:jJfd0UAEzZ4t87nbQYtVjmqpIODugN6PD2D9E+dJvdM=
16281628
xorm.io/xorm v0.8.0/go.mod h1:ZkJLEYLoVyg7amJK/5r779bHyzs2AU8f8VMiP6BM7uY=
1629-
xorm.io/xorm v1.0.5 h1:LRr5PfOUb4ODPR63YwbowkNDwcolT2LnkwP/TUaMaB0=
1630-
xorm.io/xorm v1.0.5/go.mod h1:uF9EtbhODq5kNWxMbnBEj8hRRZnlcNSz2t2N7HW/+A4=
1629+
xorm.io/xorm v1.0.6 h1:7eco1c8QUpGz+3dztpLDj9gU1bTiQdFC/KtmPaLxUJk=
1630+
xorm.io/xorm v1.0.6/go.mod h1:uF9EtbhODq5kNWxMbnBEj8hRRZnlcNSz2t2N7HW/+A4=

options/locale/locale_en-US.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2495,6 +2495,7 @@ mirror_sync_delete = synced and deleted reference <code>%[2]s</code> at <a href=
24952495
approve_pull_request = `approved <a href="%s/pulls/%s">%s#%[2]s</a>`
24962496
reject_pull_request = `suggested changes for <a href="%s/pulls/%s">%s#%[2]s</a>`
24972497
publish_release = `released <a href="%s/releases/tag/%s"> "%[4]s" </a> at <a href="%[1]s">%[3]s</a>`
2498+
create_branch = created branch <a href="%[1]s/src/branch/%[2]s">%[3]s</a> in <a href="%[1]s">%[4]s</a>
24982499

24992500
[tool]
25002501
ago = %s ago

templates/admin/repo/list.tmpl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
{{.i18n.Tr "admin.repos.name"}}
2323
{{SortArrow "alphabetically" "reversealphabetically" $.SortType false}}
2424
</th>
25-
<th>{{.i18n.Tr "admin.repos.private"}}</th>
2625
<th>{{.i18n.Tr "admin.repos.watches"}}</th>
2726
<th data-sortt-asc="moststars" data-sortt-desc="feweststars">
2827
{{.i18n.Tr "admin.repos.stars"}}
@@ -51,8 +50,12 @@
5150
<span class="text gold">{{svg "octicon-lock"}}</span>
5251
{{end}}
5352
</td>
54-
<td><a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a></td>
55-
<td>{{if .IsPrivate}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
53+
<td>
54+
<a href="{{AppSubUrl}}/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a>
55+
{{if .IsPrivate}}
56+
<span class="text gold">{{svg "octicon-lock"}}</span>
57+
{{end}}
58+
</td>
5659
<td>{{.NumWatches}}</td>
5760
<td>{{.NumStars}}</td>
5861
<td>{{.NumForks}}</td>

templates/explore/organizations.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<span class="header">
1313
<a href="{{.HomeLink}}">{{.Name}}</a> {{.FullName}}
1414
{{if .Visibility.IsPrivate}}
15-
<span class="text gold">{{svg "octicon-lock"}}</span>
15+
<span class="ui basic label">{{$.i18n.Tr "repo.desc.private"}}</span>
1616
{{end}}
1717
</span>
1818
<div class="description">

templates/user/dashboard/feeds.tmpl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
{{$.i18n.Tr "action.rename_repo" .GetContent .GetRepoLink .ShortRepoPath | Str2html}}
1919
{{else if eq .GetOpType 5}}
2020
{{ $branchLink := .GetBranch | EscapePound | Escape}}
21-
{{$.i18n.Tr "action.commit_repo" .GetRepoLink $branchLink (Escape .GetBranch) .ShortRepoPath | Str2html}}
21+
{{if .Content}}
22+
{{$.i18n.Tr "action.commit_repo" .GetRepoLink $branchLink (Escape .GetBranch) .ShortRepoPath | Str2html}}
23+
{{else}}
24+
{{$.i18n.Tr "action.create_branch" .GetRepoLink $branchLink (Escape .GetBranch) .ShortRepoPath | Str2html}}
25+
{{end}}
2226
{{else if eq .GetOpType 6}}
2327
{{ $index := index .GetIssueInfos 0}}
2428
{{$.i18n.Tr "action.create_issue" .GetRepoLink $index .ShortRepoPath | Str2html}}

templates/user/settings/grants_oauth2.tmpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
{{$.i18n.Tr "settings.revoke_key"}}
1616
</button>
1717
</div>
18-
{{svg "octicon-key"}}
18+
<div class="left floated content">
19+
{{svg "octicon-key"}}
20+
</div>
1921
<div class="content">
2022
<strong>{{$grant.Application.Name}}</strong>
2123
<div class="activity meta">

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ strk.kbt.io/projects/go/libravatar
989989
# xorm.io/builder v0.3.7
990990
## explicit
991991
xorm.io/builder
992-
# xorm.io/xorm v1.0.5
992+
# xorm.io/xorm v1.0.6
993993
## explicit
994994
xorm.io/xorm
995995
xorm.io/xorm/caches

vendor/xorm.io/xorm/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/dialects/dialect.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/dialects/mssql.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/dialects/sqlite3.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/engine.go

Lines changed: 18 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/internal/statements/statement.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/internal/statements/update.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/internal/statements/values.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/schemas/column.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/schemas/table.go

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/session.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/session_convert.go

Lines changed: 23 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/session_find.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/session_update.go

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/tags/parser.go

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/xorm.io/xorm/tags/tag.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web_src/less/_base.less

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,10 +1556,13 @@ a.ui.label:hover {
15561556
.ui.button {
15571557
background: var(--color-button);
15581558
border: 1px solid var(--color-light-border);
1559-
box-shadow: none !important;
15601559
color: var(--color-text);
15611560
}
15621561

1562+
.page-content .ui.button {
1563+
box-shadow: none !important;
1564+
}
1565+
15631566
.ui.button:hover {
15641567
background: var(--color-hover);
15651568
color: var(--color-text);

web_src/less/_dashboard.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111

112112
.issue.title {
113113
width: 80%;
114+
margin: 0 0 1em;
114115
}
115116

116117
.push.news .content ul {

0 commit comments

Comments
 (0)