[PR #3794] [MERGED] Issue due date #17087

Closed
opened 2025-11-02 12:26:00 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3794
Author: @kolaente
Created: 4/14/2018
Status: Merged
Merged: 5/1/2018
Merged by: @lafriks

Base: masterHead: issue-due-date


📝 Commits (10+)

📊 Changes

22 files changed (+416 additions, -45 deletions)

View changed files

📝 models/issue.go (+39 -3)
📝 models/issue_comment.go (+34 -0)
📝 models/pull.go (+1 -0)
📝 modules/auth/repo_form.go (+10 -0)
📝 modules/templates/helper.go (+3 -0)
📝 options/locale/locale_en-US.ini (+15 -1)
📝 public/css/index.css (+1 -1)
📝 public/js/index.js (+12 -1)
📝 public/less/_repository.less (+3 -0)
📝 public/swagger.v1.json (+82 -0)
📝 routers/api/v1/repo/issue.go (+22 -5)
📝 routers/api/v1/repo/pull.go (+26 -9)
📝 routers/repo/issue.go (+48 -0)
📝 routers/routes/routes.go (+2 -0)
📝 templates/repo/issue/list.tmpl (+4 -0)
📝 templates/repo/issue/milestones.tmpl (+1 -1)
📝 templates/repo/issue/view_content/comments.tmpl (+31 -1)
📝 templates/repo/issue/view_content/sidebar.tmpl (+36 -0)
📝 vendor/code.gitea.io/sdk/gitea/attachment.go (+1 -1)
📝 vendor/code.gitea.io/sdk/gitea/issue.go (+17 -6)

...and 2 more files

📄 Description

Fixes #2533.
Blocked by go-gitea/go-sdk#103.

This PR adds the ability to add due dates to issues. This works similar to milestones, but for single issues. Due date can be managed via the api.
Due dates are shown in the issue list, overdue issues are marked in red.

Screenshots

bildschirmfoto von 2018-04-14 17-19-43
bildschirmfoto von 2018-04-14 17-19-55
bildschirmfoto von 2018-04-14 17-21-12

TODO

  • Update go-sdk once its merged

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3794 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 4/14/2018 **Status:** ✅ Merged **Merged:** 5/1/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `issue-due-date` --- ### 📝 Commits (10+) - [`406cd5a`](https://github.com/go-gitea/gitea/commit/406cd5a8bfb7ce6d1be62c60def7a1e36526efad) Started adding deadline to ui - [`859cd47`](https://github.com/go-gitea/gitea/commit/859cd47aca255ee99c46869c348ee2880fa4f569) Implemented basic issue due date managing - [`02415f7`](https://github.com/go-gitea/gitea/commit/02415f7e742378cb34311f7dfa1ece199fb202c0) Improved UI for due date managing - [`bfef995`](https://github.com/go-gitea/gitea/commit/bfef995130484115c55be971fd80ea867be01014) Merge branch 'master' of https://github.com/go-gitea/gitea into issue-due-date - [`74c9e07`](https://github.com/go-gitea/gitea/commit/74c9e074996e0c3889013b877f50735eb2a6eb79) Added at least write access to the repo in order to modify issue due dates - [`aeb3db9`](https://github.com/go-gitea/gitea/commit/aeb3db9cfeb7e597fdf491e5f63a15e02c77c2c5) Ui improvements - [`211b2ed`](https://github.com/go-gitea/gitea/commit/211b2ed8fcf07f0f8318f79f435014f4d3d2bc46) Added issue comments creation when adding/modifying/removing a due date - [`82d7bf0`](https://github.com/go-gitea/gitea/commit/82d7bf01f44a44189daf69699aff584052f38679) Show due date in issue list - [`13a12c3`](https://github.com/go-gitea/gitea/commit/13a12c3c00f01b227c59d09ad1158b343e3b882c) merge with master - [`c1ada01`](https://github.com/go-gitea/gitea/commit/c1ada01e0f30a6f3570468f84228f953e251cf0f) Added api support for issue due dates ### 📊 Changes **22 files changed** (+416 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `models/issue.go` (+39 -3) 📝 `models/issue_comment.go` (+34 -0) 📝 `models/pull.go` (+1 -0) 📝 `modules/auth/repo_form.go` (+10 -0) 📝 `modules/templates/helper.go` (+3 -0) 📝 `options/locale/locale_en-US.ini` (+15 -1) 📝 `public/css/index.css` (+1 -1) 📝 `public/js/index.js` (+12 -1) 📝 `public/less/_repository.less` (+3 -0) 📝 `public/swagger.v1.json` (+82 -0) 📝 `routers/api/v1/repo/issue.go` (+22 -5) 📝 `routers/api/v1/repo/pull.go` (+26 -9) 📝 `routers/repo/issue.go` (+48 -0) 📝 `routers/routes/routes.go` (+2 -0) 📝 `templates/repo/issue/list.tmpl` (+4 -0) 📝 `templates/repo/issue/milestones.tmpl` (+1 -1) 📝 `templates/repo/issue/view_content/comments.tmpl` (+31 -1) 📝 `templates/repo/issue/view_content/sidebar.tmpl` (+36 -0) 📝 `vendor/code.gitea.io/sdk/gitea/attachment.go` (+1 -1) 📝 `vendor/code.gitea.io/sdk/gitea/issue.go` (+17 -6) _...and 2 more files_ </details> ### 📄 Description Fixes #2533. ~~Blocked by go-gitea/go-sdk#103.~~ This PR adds the ability to add due dates to issues. This works similar to milestones, but for single issues. Due date can be managed via the api. Due dates are shown in the issue list, overdue issues are marked in red. ## Screenshots ![bildschirmfoto von 2018-04-14 17-19-43](https://user-images.githubusercontent.com/13721712/38769771-803fc1f6-4008-11e8-8799-aedaac54ab47.png) ![bildschirmfoto von 2018-04-14 17-19-55](https://user-images.githubusercontent.com/13721712/38769775-8a4cbe74-4008-11e8-86a1-968ba23edeb9.png) ![bildschirmfoto von 2018-04-14 17-21-12](https://user-images.githubusercontent.com/13721712/38769783-a4b820dc-4008-11e8-8f63-0d6ea5b0170d.png) ## TODO * [x] Update `go-sdk` once its merged --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:26:00 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17087