Skip to content

Commit d476ab9

Browse files
committed
Merge branch 'master' of https://github.com/go-gitea/gitea into enhance_release_list
2 parents c54d342 + 681345d commit d476ab9

File tree

7 files changed

+17
-9
lines changed

7 files changed

+17
-9
lines changed

models/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ func CreateRepository(doer, u *User, opts CreateRepoOptions) (_ *Repository, err
13791379
LowerName: strings.ToLower(opts.Name),
13801380
Description: opts.Description,
13811381
IsPrivate: opts.IsPrivate,
1382-
IsFsckEnabled: true,
1382+
IsFsckEnabled: !opts.IsMirror,
13831383
}
13841384

13851385
sess := x.NewSession()

modules/auth/repo_form.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ func (f *InitializeLabelsForm) Validate(ctx *macaron.Context, errs binding.Error
367367
// swagger:model MergePullRequestOption
368368
type MergePullRequestForm struct {
369369
// required: true
370-
// enum: merge, rebase, rebase-merge, squash
370+
// enum: merge,rebase,rebase-merge,squash
371371
Do string `binding:"Required;In(merge,rebase,rebase-merge,squash)"`
372372
MergeTitleField string
373373
MergeMessageField string

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: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pre > code {
4949
}
5050
.full.height {
5151
padding: 0;
52-
margin: 0 0 -@footer-margin 0;
52+
margin: 0 0 calc(-@footer-margin - 2px) 0;
5353
min-height: 100%;
5454
}
5555
.following.bar {
@@ -100,9 +100,10 @@ pre > code {
100100
}
101101
#navbar {
102102
width: 100vw;
103+
padding: 0 .5rem;
103104
}
104105
#navbar .brand {
105-
margin: 0 0 0 .5rem;
106+
margin: 0;
106107
}
107108
@media only screen and (max-width: 767px) {
108109
#navbar:not(.shown) > *:not(:first-child) {
@@ -444,6 +445,8 @@ footer {
444445
width: 100%;
445446
color: #888888;
446447
.container {
448+
width: 100vw !important;
449+
padding: 0 .5rem;
447450
.fa {
448451
width: 16px;
449452
text-align: center;

public/less/_dashboard.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@
6161
.dashboard-repos {
6262
margin: 0 1px;
6363
}
64+
65+
.dashboard-navbar {
66+
width: 100vw;
67+
padding: 0 .5rem;
68+
}
6469
}
6570

6671
&.feeds {

templates/swagger/v1_json.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7718,9 +7718,9 @@
77187718
"type": "string",
77197719
"enum": [
77207720
"merge",
7721-
" rebase",
7722-
" rebase-merge",
7723-
" squash"
7721+
"rebase",
7722+
"rebase-merge",
7723+
"squash"
77247724
]
77257725
},
77267726
"MergeMessageField": {

templates/user/dashboard/navbar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="ui container">
1+
<div class="dashboard-navbar">
22
<div class="ui secondary stackable menu">
33
<div class="item">
44
<div class="ui floating dropdown link jump">

0 commit comments

Comments
 (0)