diff options
author | kolaente <konrad@kola-entertainments.de> | 2018-05-01 21:05:28 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-05-01 22:05:28 +0300 |
commit | 1a97030017cd09b75f6c8d484e075f4eced1e001 (patch) | |
tree | 78fd666ad8693a91377807e77698ec44ddec7c58 /public/swagger.v1.json | |
parent | 85d14cc229263c5788cac9370ac60e9582f9de6c (diff) | |
download | gitea-1a97030017cd09b75f6c8d484e075f4eced1e001.tar.gz gitea-1a97030017cd09b75f6c8d484e075f4eced1e001.zip |
Issue due date (#3794)
* Started adding deadline to ui
* Implemented basic issue due date managing
* Improved UI for due date managing
* Added at least write access to the repo in order to modify issue due dates
* Ui improvements
* Added issue comments creation when adding/modifying/removing a due date
* Show due date in issue list
* Added api support for issue due dates
* Fixed lint suggestions
* Added deadline to sdk
* Updated css
* Added support for adding/modifiying deadlines for pull requests via api
* Fixed comments not created when updating or removing a deadline
* update sdk (will do properly once go-gitea/go-sdk#103 is merged)
* enhanced updateIssueDeadline
* Removed unnessecary Issue.DeadlineString
* UI improvements
* Small improvments to comment creation
+ ui & validation improvements
* Check if an issue is overdue is now a seperate function
* Updated go-sdk with govendor as it was merged
* Simplified isOverdue method
* removed unessecary deadline to 0 set
* Update swagger definitions
* Added missing return
* Added an explanary comment
* Improved updateIssueDeadline method so it'll only update `deadline_unix`
* Small changes and improvements
* no need to explicitly load the issue when updating a deadline, just use whats already there
* small optimisations
* Added check if a deadline was modified before updating it
* Moved comment creating logic into its own function
* Code cleanup for creating deadline comment
* locale improvement
* When modifying a deadline, the old deadline is saved with the comment
* small improvments to xorm session handling when updating an issue deadline
+ style nitpicks
* style nitpicks
* Moved checking for if the user has write acces to middleware
Diffstat (limited to 'public/swagger.v1.json')
-rw-r--r-- | public/swagger.v1.json | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/public/swagger.v1.json b/public/swagger.v1.json index 86bf20a9a8..6fea729c05 100644 --- a/public/swagger.v1.json +++ b/public/swagger.v1.json @@ -5579,6 +5579,13 @@ "type": "string", "x-go-name": "Assignee" }, + "assignees": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "Assignees" + }, "body": { "type": "string", "x-go-name": "Body" @@ -5587,6 +5594,11 @@ "type": "boolean", "x-go-name": "Closed" }, + "due_date": { + "type": "string", + "format": "date-time", + "x-go-name": "Deadline" + }, "labels": { "description": "list of label ids", "type": "array", @@ -5715,6 +5727,13 @@ "type": "string", "x-go-name": "Assignee" }, + "assignees": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "Assignees" + }, "base": { "type": "string", "x-go-name": "Base" @@ -5723,6 +5742,11 @@ "type": "string", "x-go-name": "Body" }, + "due_date": { + "type": "string", + "format": "date-time", + "x-go-name": "Deadline" + }, "head": { "type": "string", "x-go-name": "Head" @@ -6024,10 +6048,22 @@ "type": "string", "x-go-name": "Assignee" }, + "assignees": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "Assignees" + }, "body": { "type": "string", "x-go-name": "Body" }, + "due_date": { + "type": "string", + "format": "date-time", + "x-go-name": "Deadline" + }, "milestone": { "type": "integer", "format": "int64", @@ -6114,10 +6150,22 @@ "type": "string", "x-go-name": "Assignee" }, + "assignees": { + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "Assignees" + }, "body": { "type": "string", "x-go-name": "Body" }, + "due_date": { + "type": "string", + "format": "date-time", + "x-go-name": "Deadline" + }, "labels": { "type": "array", "items": { @@ -6367,10 +6415,22 @@ "assignee": { "$ref": "#/definitions/User" }, + "assignees": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + }, + "x-go-name": "Assignees" + }, "body": { "type": "string", "x-go-name": "Body" }, + "closed_at": { + "type": "string", + "format": "date-time", + "x-go-name": "Closed" + }, "comments": { "type": "integer", "format": "int64", @@ -6381,6 +6441,11 @@ "format": "date-time", "x-go-name": "Created" }, + "due_date": { + "type": "string", + "format": "date-time", + "x-go-name": "Deadline" + }, "id": { "type": "integer", "format": "int64", @@ -6778,6 +6843,13 @@ "assignee": { "$ref": "#/definitions/User" }, + "assignees": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + }, + "x-go-name": "Assignees" + }, "base": { "$ref": "#/definitions/PRBranchInfo" }, @@ -6785,6 +6857,11 @@ "type": "string", "x-go-name": "Body" }, + "closed_at": { + "type": "string", + "format": "date-time", + "x-go-name": "Closed" + }, "comments": { "type": "integer", "format": "int64", @@ -6799,6 +6876,11 @@ "type": "string", "x-go-name": "DiffURL" }, + "due_date": { + "type": "string", + "format": "date-time", + "x-go-name": "Deadline" + }, "head": { "$ref": "#/definitions/PRBranchInfo" }, |