summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/repo/issue.go
Commit message (Collapse)AuthorAgeFilesLines
* Added dependencies for issues (#2196) (#2531)kolaente2018-07-171-0/+9
|
* Issue due date api (#3890)kolaente2018-07-161-1/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implemented basic api endpoint to manage deadlines * Fixed checking for permissions * Updating a deadline from the ui is now entirely done via the api * cleanup * Cosmetics * fixed lint + fmt * Added swagger model definition for deadline response * Updated gitea-sdk * Updated gitea-sdk * More cleanup * Generate swagger json * Merge branch 'master' of https://github.com/go-gitea/gitea into issue-due-date-api # Conflicts: # public/swagger.v1.json * Fixed permission to update a deadline via api * Re-added form to change a deadline * Added client-side validation + not ignore error messages from the api * Added locale for error message * Merge branch 'master' of https://github.com/go-gitea/gitea # Conflicts: # models/issue_comment.go * Proper date validation * Fixed indention * moved css to css file * added documentation for error codes * after merge cleanup * Added swagger description * DO NOTHING BUT TRIGGER THAT F*CKIN CI SO IT PICKS UP THE LATEST COMMIT AS IT SHOULD * DO NOTHING BUT TRIGGER THAT F*CKIN CI SO IT PICKS UP THE LATEST COMMIT AS IT SHOULD * regenerated stylesheets
* Fix milestone appliance and permission checks (#4271)Jonas Franz2018-06-191-9/+17
| | | | | | | | | | | * Fix milestone appliance Fix missing permission check Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix comment * Add Gitea copyright line
* Multiple assignees (#3705)kolaente2018-05-091-34/+31
|
* Issue due date (#3794)kolaente2018-05-011-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* refactor: import order. (#3736)Bo-Yi Wu2018-03-291-2/+2
|
* Added issue search via api (#3612)kolaente2018-03-071-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Started implementing issue api search * Implemented issue search via api * Added search to swagger.json * Removed todo * fmt * Added comment to generate swagger json via "generate-swagger" * Simplified search * fmt * Removed unessecary comment * Removed unessecary declaration of the issues-variable * Removed unessecary comment * Removed unessecary comment * Added explanation keyword * Simplified check for empty keyword * corrected check if keyword is empty
* Fix swagger docs (#3300)Ethan Koenig2018-01-041-7/+7
|
* Fix bugs in issue dashboard stats (#3073)Ethan Koenig2017-12-261-1/+1
|
* Update swagger documentation (#2899)Ethan Koenig2017-11-131-0/+106
| | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments
* Remove redudant issue LoadAttributes() calls (#2614)Morlinest2017-09-271-6/+0
|
* Fix counts on issues dashboard (#2215)Ethan Koenig2017-08-031-0/+1
| | | | | | | | | | * Fix counts on issues dashboard * setupSess -> setupSession * Unit test * Load repo owners for issues
* Integration tests for issues API (#2059)Ethan Koenig2017-06-251-15/+13
|
* refactor api issues load attributes for better performance (#1066)Lunny Xiao2017-02-271-5/+6
|
* add milestone changed traker on issue view (#804)Lunny Xiao2017-02-011-1/+1
|
* Search bar for issues/pulls (#530)Ethan Koenig2017-01-251-2/+4
|
* LintingKim "BKC" Carlbäcker2016-12-021-2/+2
|
* GitHub API Compliance (& linting)Kim "BKC" Carlbäcker2016-12-021-4/+16
|
* Fix breakage from vendor-updateKim "BKC" Carlbäcker2016-11-291-1/+1
|
* golint fixed for routers (#208)Lunny Xiao2016-11-241-0/+4
|
* Fix import path of go-sdk (#141)Sandro Santilli2016-11-111-1/+1
| | | | From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-4/+4
| | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
* Replaced go-gogs-client with go-sdk importsThomas Boerger2016-11-071-1/+1
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-3/+3
|
* #2966 code cleanupUnknwon2016-08-261-1/+1
|
* #3383 code cleanupUnknwon2016-08-241-2/+1
|
* Issues can be closed via API (#3170) (#3479)Kim Carlbäcker2016-08-231-0/+6
| | | | | | | | | | * Issues can be closed via API * Error-checking is nice xD * EditIssueOption.Status => State * Use const instead of string-literal
* models/issue: improve quality and performance of NewIssue functionUnknwon2016-08-151-2/+2
|
* Replace convert.To with APIFormat callsUnknwon2016-08-141-7/+11
|
* #2246 fully support of webhooks for pull requestUnknwon2016-08-141-2/+2
|
* Refactor User.Id to User.IDUnknwon2016-07-241-4/+4
|
* Use struct for UI settingsUnknwon2016-07-241-1/+1
|
* #2854 fix no mail notification when issue is closed/reopenedUnknwon2016-07-161-4/+0
|
* #809 fix wrong closed issue count when create closed issue via APIUnknwon2016-05-271-1/+7
| | | | Add start count corrector for Repository.NumClosedIssues
* #809 able to set issue state to closed when createUnknwon2016-05-111-0/+1
|
* #1692 add CRUD issue APIsUnknwon2016-03-131-0/+165
- Fix go-gogs-client#10 - Related to #809