summaryrefslogtreecommitdiffstats
path: root/models/issue.go
Commit message (Collapse)AuthorAgeFilesLines
* Replace deprecated Id method with ID (#2655)Ethan Koenig2017-10-051-4/+4
|
* Use AfterLoad instead of AfterSet on Structs (#2628)Lunny Xiao2017-10-011-10/+5
| | | | | | | | * use AfterLoad instead of AfterSet on Structs * fix the comments on AfterLoad * fix the comments on action AfterLoad
* Remove redudant issue LoadAttributes() calls (#2614)Morlinest2017-09-271-6/+1
|
* Fix lint errors (#2547)Ethan Koenig2017-09-191-5/+1
|
* Improve issue search (#2387)Ethan Koenig2017-09-161-12/+17
| | | | | | | | | | * Improve issue indexer * Fix new issue sqlite bug * Different test indexer paths for each db * Add integration indexer paths to make clean
* Prevent sending emails and notifications to inactive users (#2384)David Schneiderbauer2017-09-161-2/+5
| | | | | | | | | | | | | | | | | | | | | | * Filter inactive users before sending emails or creating browser notifications Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * fix formatting issues Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * included requested changes Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * optimized database queries * rebasing new master and add tablenames for clarification in xorm queries * remove escaped quotationmarks using backticks Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Use created & updated instead BeforeInsert & BeforeUpdate (#2482)Lunny Xiao2017-09-131-10/+2
| | | | | | | | | | | | * use created & updated instead BeforeInsert & BeforeUpdate * fix vendor checksum * only show generated SQL when development mode * remove extra update column updated_unix * remove trace config
* some refactors for issue and comments (#2419)Lunny Xiao2017-08-301-2/+6
|
* Add possibility to record branch or tag information in an issue (#780)Zsombor2017-08-241-0/+1
|
* fix 500 error when view an issue which's milestone deleted (#2297)Lunny Xiao2017-08-121-1/+1
|
* Fix counts on issues dashboard (#2215)Ethan Koenig2017-08-031-12/+45
| | | | | | | | | | * Fix counts on issues dashboard * setupSess -> setupSession * Unit test * Load repo owners for issues
* Fix issue updated_unix bug (#2204)Ethan Koenig2017-07-271-0/+1
|
* Fix unclosed session bug (#2214)Ethan Koenig2017-07-261-1/+1
|
* Fix PR nil-dereference bug (#2195)Ethan Koenig2017-07-261-7/+26
| | | | | | * Fix PR nil-dereference bug * Revert to original error format
* Ignore invalid issue numbers in commit messages. Fixes #2022 (#2150)Lauris BH2017-07-121-1/+2
|
* Fix default ghost assignee bug (#2069)Ethan Koenig2017-06-281-1/+1
|
* Enable assignee e-mail notification (#2003)Győrvári Gábor2017-06-231-5/+18
| | | | | | | | | | | | * Enable assignee e-mail notification * Check assignee and doer to avoid self made comment notifications. * Assignee not always defined * New method to avoid error when assignee deleted * Assignee empty check
* Fix #2001 and fix issue comments hidden (#2016)Lunny Xiao2017-06-211-1/+4
| | | | | | | | | | | | | | * revert #2001 and fix issue comments hidden * fix #2001 * fix import * improve comment type * reduce unnecessary join * fix comment on FindCommentsOptions
* Refactor session close as xorm already does everything needed internally (#2020)Lauris BH2017-06-211-4/+4
|
* 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