summaryrefslogtreecommitdiffstats
path: root/models/issue.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix search by issue type (#1914)Ethan Koenig2017-06-151-39/+13
| | | | * Fix search by issue type
* Fix engine bug in getIssueByID (#1934)Ethan Koenig2017-06-111-1/+1
|
* Fix activity feed (#1779)Ethan Koenig2017-05-261-8/+7
| | | | | | | | | | | | * Fix activity feed Preserve actions after user/repo name change * Add missing comment * Fix migration, and remove fields completely * Tests
* Send notifications to partecipants in issue comments (#1217)Sandro Santilli2017-03-161-0/+18
| | | | | | | | | | | | * Send notifications to partecipants in issue comments Closes #1216 Includes test (still failing) * Do not include "labelers" to participants Fix test to expect what GetParticipants return
* Batch updates for issues (#926)Ethan Koenig2017-03-151-0/+10
|
* Fix typos in models/ and modules/ (#1248)Ethan Koenig2017-03-151-1/+1
|
* Refactor and fix incorrect comment (#1247)Ethan Koenig2017-03-151-18/+9
|
* feat: expose url field on issue api. (#982)Bo-Yi Wu2017-03-031-0/+7
| | | | | | | | | | | | | | * Add api url func. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * fix: Add unit testing. * fix: conflicts * fix: remove trim * fix: revert test function name.
* LableIDs -> LabelIDs (#1088)Ethan Koenig2017-03-011-6/+6
|
* Optimize and unit test Issue_ReplaceLabels (#1080)Ethan Koenig2017-02-281-27/+18
|
* Refactor for issues loadattributes of a repository (#971)Lunny Xiao2017-02-221-64/+2
| | | | | | * refactor for issues loadattributes of a repository * refactors
* Fix all the bugs in issues and pulls on dashboard (#943)Lunny Xiao2017-02-171-0/+59
| | | | | | | | * fix all the bugs in issues and pulls on dashboard * small fix and refactor * add method getRepoIDs for IssueList
* Fix assigned issues dashboard (#920)Lunny Xiao2017-02-141-28/+61
| | | | | | | | | | | | | | | | | | | | | | * Fix assigned/created issues in dashboard. (#3560) * Fix assigned/created issues in dashboard. * Use GetUserIssueStats for getting all Dashboard stats. * Use gofmt to format the file properly. * Replace &Issue{} with new(Issue). * Check if user has access to given repository. * Remove unnecessary filtering of issues. * Return 404 error if invalid repository is given. * Use correct number of issues in paginater. * fix issues on dashboard
* Fix logging bugEthan Koenig2017-02-121-7/+5
| | | | Error logged everytime an assignee was removed
* Add delete branch track on pull request comments (#888)Lunny Xiao2017-02-111-0/+18
| | | | | | * add delete branch track on pull request comments * don't change vendor
* bug fixed for issue count (#881)Lunny Xiao2017-02-091-1/+1
|
* Unit tests for issue_milestone (#878)Ethan Koenig2017-02-091-366/+0
|
* Fix bug in Issue.GetIsRead (#876)Ethan Koenig2017-02-091-1/+2
|
* track issue title changes (#841)Lunny Xiao2017-02-051-3/+17
|
* Move IssueUser code to separate file (#836)Ethan Koenig2017-02-041-125/+0
| | | Also add unit tests
* Track assignee for issue (#808)Lunny Xiao2017-02-031-0/+21
| | | | | | | | * track assignee for issue * fix lint * use getUserByID instead Get
* Drop redundant columns from issue_user table (#638)Ethan Koenig2017-02-031-88/+15
|
* add milestone changed traker on issue view (#804)Lunny Xiao2017-02-011-8/+21
|
* Bug fixes and unit tests for models/issue_label (#802)Ethan Koenig2017-02-011-2/+2
|
* Track labels changed on issue view & resolved #542 (#788)Lunny Xiao2017-01-301-26/+101
| | | | | | * track labels changed on issue view & resolved #542 * add missing head comment & sort & fix refresh
* Fix color: closed PR was showing as purple instead of redAndrey Nering2017-01-281-3/+12
|
* bug fixed issues 500 resolved #754 (#756)Lunny Xiao2017-01-251-4/+4
|
* Search bar for issues/pulls (#530)Ethan Koenig2017-01-251-14/+60
|
* Spun attachments into seperate go file (#701)Philip Couling2017-01-201-160/+0
| | | Moved attachments into seperate go file
* Notifications: mark as read/unread and pin (#629)Andrey Nering2017-01-121-1/+1
| | | | | | | | | | * Use relative URLs * Notifications - Mark as read/unread * Feature of pinning a notification * On view issue, do not mark as read a pinned notification
* Merge pull request #555 from ethantkoenig/tests/pullAndrey Nering2017-01-061-16/+22
|\ | | | | Unit tests for models/pull.go
| * Unit tests for models/pull.goEthan Koenig2017-01-061-16/+22
| |
* | Create missing database indexes (#596)Andrey Nering2017-01-061-15/+15
|/
* fix gofmt errorBo-Yi Wu2016-12-301-2/+2
| | | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Notification - Step 1 (#523)Andrey Nering2016-12-311-2/+10
| | | | | | | | * Notification - Step 1 * Add copyright headers * Cache issue and repository on notification model
* Added sorting to the labels & milestones page (#199)Bwko2016-12-241-1/+17
|
* Bug fixes for Issues filters (#413)Ethan Koenig2016-12-241-50/+29
| | | Correctly handle simultaneous assignee/poster filters, and conflicting assignee filters
* UpdateIssueUsersByMentions was calling database write operations while (#443)Lunny Xiao2016-12-221-7/+7
| | | | | | | | | | a transaction session was in progress. MailParticipants was failing silently because of the SQLITE_LOCKED error. Make sure failures in MailParticipants enter the log, and pass on the transaction context. issue: let caller pass in database context, and use it issue_comment: obtain database context to pass to UpdateIssueMentions issue_comment: log any error from call to MailParticipants issue_mail: pass on database context to UpdateIssueMentions
* Bug fixes and tests for modules/base (#442)Ethan Koenig2016-12-221-5/+9
| | | Also address other TODOs
* fixed vulnerabilities labels (#409)Lunny Xiao2016-12-171-1/+28
|
* Bug fixes for repo permissions in APIEthan Koenig2016-12-071-6/+6
| | | | Also move duplicated code into repo.APIFormat(..)
* [API] Pull Requests (#248)Kim "BKC" Carlbäcker2016-12-021-0/+16
|
* Fix breakage from vendor-updateKim "BKC" Carlbäcker2016-11-291-5/+5
|
* Merge pull request #246 from Bwko/fix/typoThomas Boerger2016-11-251-1/+1
|\ | | | | Fix typos
| * Fix typosBwko2016-11-211-1/+1
| |
* | Actually document the missing bitsSandro Santilli2016-11-241-28/+26
| |
* | Lint issue.goSandro Santilli2016-11-241-43/+70
|/
* Bug fixed for issues (#156)Lunny Xiao2016-11-121-14/+6
|
* use in instead string join (#155)Lunny Xiao2016-11-121-1/+1
|
* Normalize files with gofmtThibault Meyer2016-11-111-1/+1
|