Merge branch 'master' into mssql-test
This commit is contained in:
commit
d1907f91be
2
docs/static/_headers
vendored
2
docs/static/_headers
vendored
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com https://fonts.gstatic.com
|
||||
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com
|
||||
X-Frame-Options: DENY
|
||||
X-Xss-Protection: 1; mode=block
|
||||
X-Content-Type-Options: nosniff
|
||||
|
|
|
@ -120,6 +120,14 @@ func addMultipleAssignees(x *xorm.Engine) error {
|
|||
}
|
||||
}
|
||||
|
||||
// Commit and begin new transaction for dropping columns
|
||||
if err := sess.Commit(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := sess.Begin(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := dropTableColumns(sess, "issue", "assignee_id"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -73,6 +73,14 @@ func moveTeamUnitsToTeamUnitTable(x *xorm.Engine) error {
|
|||
}
|
||||
}
|
||||
|
||||
// Commit and begin new transaction for dropping columns
|
||||
if err := sess.Commit(); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := sess.Begin(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := dropTableColumns(sess, "team", "unit_types"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
4
public/swagger.v1.json
vendored
4
public/swagger.v1.json
vendored
|
@ -1847,7 +1847,7 @@
|
|||
{
|
||||
"type": "string",
|
||||
"description": "if provided, only comments updated since the provided time are returned.",
|
||||
"name": "string",
|
||||
"name": "since",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
|
@ -2160,7 +2160,7 @@
|
|||
{
|
||||
"type": "string",
|
||||
"description": "if provided, only comments updated since the specified time are returned.",
|
||||
"name": "string",
|
||||
"name": "since",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -36,7 +36,7 @@ func ListIssueComments(ctx *context.APIContext) {
|
|||
// description: index of the issue
|
||||
// type: integer
|
||||
// required: true
|
||||
// - name: string
|
||||
// - name: since
|
||||
// in: query
|
||||
// description: if provided, only comments updated since the specified time are returned.
|
||||
// type: string
|
||||
|
@ -90,7 +90,7 @@ func ListRepoIssueComments(ctx *context.APIContext) {
|
|||
// description: name of the repo
|
||||
// type: string
|
||||
// required: true
|
||||
// - name: string
|
||||
// - name: since
|
||||
// in: query
|
||||
// description: if provided, only comments updated since the provided time are returned.
|
||||
// type: string
|
||||
|
|
Loading…
Reference in New Issue
Block a user