forgejo/vendor/code.gitea.io/sdk/gitea
kolaente 1a97030017 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
2018-05-01 22:05:28 +03:00
..
admin_org.go
admin_repo.go
admin_user.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
attachment.go Issue due date (#3794) 2018-05-01 22:05:28 +03:00
doc.go
fork.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
gitea.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
hook.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue.go Issue due date (#3794) 2018-05-01 22:05:28 +03:00
issue_comment.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_label.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_milestone.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
issue_tracked_time.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
lfs_lock.go Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
miscellaneous.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
org.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
org_member.go
org_team.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
pull.go Issue due date (#3794) 2018-05-01 22:05:28 +03:00
release.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
repo.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
repo_branch.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
repo_collaborator.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
repo_file.go
repo_key.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
repo_watch.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
status.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user_app.go Improve swagger doc (#2274) 2017-08-21 14:13:47 +03:00
user_email.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
user_follow.go
user_gpgkey.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user_key.go Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
user_search.go Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
utils.go