Skip to content

Commit aefe3bc

Browse files
committed
Merge branch 'master' of https://github.com/go-gitea/gitea into lock_conversation
2 parents 3f7b816 + e456fc0 commit aefe3bc

File tree

8 files changed

+43
-12
lines changed

8 files changed

+43
-12
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ pipeline:
252252
branch: [ master ]
253253

254254
static:
255-
image: karalabe/xgo-latest:latest
255+
image: techknowlogick/xgo:latest
256256
pull: true
257257
environment:
258258
TAGS: bindata sqlite sqlite_unlock_notify

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ 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.7.2](https://github.com/go-gitea/gitea/releases/tag/v1.7.2) - 2019-02-14
8+
* BUGFIXES
9+
* Remove all CommitStatus when a repo is deleted (#5940) (#5941)
10+
* Fix notifications on pushing with deploy keys by setting hook environment variables (#5935) (#5944)
11+
* Silence console logger in gitea serv (#5887) (#5943)
12+
* Handle milestone webhook events for issues and PR (#5947) (#5955)
13+
* Show user who created the repository instead of the organization in action feed (#5948) (#5956)
14+
* Fix ssh deploy and user key constraints (#1357) (#5939) (#5966)
15+
* Fix bug when deleting a linked account will removed all (#5989) (#5990)
16+
* Fix empty ssh key importing in ldap (#5984) (#6009)
17+
* Fix metrics auth token detection (#6006) (#6017)
18+
* Create repository on organisation by default on its dashboard (#6026) (#6048)
19+
* Make sure labels are actually returned in API (#6053) (#6059)
20+
* Switch to more recent build of xgo (#6070) (#6072)
21+
* In basic auth check for tokens before call UserSignIn (#5725) (#6083)
22+
723
## [1.7.1](https://github.com/go-gitea/gitea/releases/tag/v1.7.1) - 2019-01-31
824
* SECURITY
925
* Disable redirect for i18n (#5910) (#5916)

options/locale/locale_pt-BR.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ editor.new_file=Novo arquivo
612612
editor.upload_file=Enviar arquivo
613613
editor.edit_file=Editar arquivo
614614
editor.preview_changes=Visualizar alterações
615+
editor.cannot_edit_lfs_files=Arquivos LFS não podem ser editados na interface web.
615616
editor.cannot_edit_non_text_files=Arquivos binários não podem ser editados na interface web.
616617
editor.edit_this_file=Editar arquivo
617618
editor.must_be_on_a_branch=Você deve estar em um branch para propor alterações neste arquivo.

public/css/index.css

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

public/less/_base.less

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,26 @@ pre, code {
3030
line-height: 1.5;
3131
overflow: auto;
3232
}
33-
}
34-
/* Wrap long lines of code. This will also apply to Markdown code boxes. */
35-
pre > code {
36-
white-space: pre-wrap !important;
37-
word-break: break-all !important;
38-
overflow-wrap: break-word !important;
33+
&.wrap {
34+
white-space: pre-wrap; /* CSS 3 */
35+
// white-space: -moz-normal; /* Mozilla, since 1999 */
36+
// white-space: -normal; /* Opera 4-6 */
37+
// white-space: -o-normal; /* Opera 7 */
38+
39+
-ms-word-break: break-all;
40+
word-break: break-all;
41+
42+
/* These are technically the same, but use both */
43+
overflow-wrap: break-word;
44+
word-wrap: break-word;
45+
}
3946
}
4047
.dont-break-out {
48+
/* These are technically the same, but use both */
4149
overflow-wrap: break-word;
50+
word-wrap: break-word;
51+
52+
-ms-word-break: break-all;
4253
word-break: break-all;
4354

4455
/* Adds a hyphen where the word breaks, if supported (No Blink) */

public/less/_repository.less

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,13 @@
364364
padding: 0 !important;
365365
li {
366366
display: block;
367-
padding: 0 .25em;
367+
width: 100%;
368368
&.active {
369369
background: #ffffdd;
370370
}
371+
&:before {
372+
content: ' ';
373+
}
371374
}
372375
}
373376
}

templates/repo/diff/box.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
{{if and $.SignedUserID $line.CanComment $.PageIsPullFiles (not (eq .GetType 2))}}
128128
<a class="ui green button add-code-comment add-code-comment-left" data-path="{{$file.Name}}" data-side="left" data-idx="{{$line.LeftIdx}}">+</a>
129129
{{end}}
130-
<pre><code class="{{if $highlightClass}}language-{{$highlightClass}}{{else}}nohighlight{{end}}">{{if $line.LeftIdx}}{{$section.GetComputedInlineDiffFor $line}}{{end}}</code></pre>
130+
<pre><code class="wrap {{if $highlightClass}}language-{{$highlightClass}}{{else}}nohighlight{{end}}">{{if $line.LeftIdx}}{{$section.GetComputedInlineDiffFor $line}}{{end}}</code></pre>
131131
</td>
132132
<td class="lines-num lines-num-new">
133133
<span rel="{{if $line.RightIdx}}diff-{{Sha1 $file.Name}}R{{$line.RightIdx}}{{end}}">{{if $line.RightIdx}}{{$line.RightIdx}}{{end}}</span>
@@ -137,7 +137,7 @@
137137
{{if and $.SignedUserID $line.CanComment $.PageIsPullFiles (not (eq .GetType 3))}}
138138
<a class="ui green button add-code-comment add-code-comment-right" data-path="{{$file.Name}}" data-side="right" data-idx="{{$line.RightIdx}}">+</a>
139139
{{end}}
140-
<pre><code class="{{if $highlightClass}}language-{{$highlightClass}}{{else}}nohighlight{{end}}">{{if $line.RightIdx}}{{$section.GetComputedInlineDiffFor $line}}{{end}}</code></pre>
140+
<pre><code class="wrap {{if $highlightClass}}language-{{$highlightClass}}{{else}}nohighlight{{end}}">{{if $line.RightIdx}}{{$section.GetComputedInlineDiffFor $line}}{{end}}</code></pre>
141141
</td>
142142
</tr>
143143
{{if gt (len $line.Comments) 0}}

templates/repo/diff/section_unified.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{if and $.root.SignedUserID $line.CanComment $.root.PageIsPullFiles}}
2020
<a class="ui green button add-code-comment add-code-comment-{{if $line.RightIdx}}right{{else}}left{{end}}" data-path="{{$file.Name}}" data-side="{{if $line.RightIdx}}right{{else}}left{{end}}" data-idx="{{if $line.RightIdx}}{{$line.RightIdx}}{{else}}{{$line.LeftIdx}}{{end}}">+</a>
2121
{{end}}
22-
<pre><code class="{{if $highlightClass}}language-{{$highlightClass}}{{else}}nohighlight{{end}}">{{$section.GetComputedInlineDiffFor $line}}</code></pre>
22+
<pre><code class="wrap {{if $highlightClass}}language-{{$highlightClass}}{{else}}nohighlight{{end}}">{{$section.GetComputedInlineDiffFor $line}}</code></pre>
2323
</td>
2424
</tr>
2525
{{if gt (len $line.Comments) 0}}

0 commit comments

Comments
 (0)