summaryrefslogtreecommitdiff
path: root/app/models/issue.rb
Commit message (Collapse)AuthorAgeFilesLines
* Re-annotate modelsStan Hu2015-09-061-13/+14
|
* Surround Project.reference_pattern in parenthesis inside other patternsRobert Speicher2015-05-261-1/+1
|
* Add `reference_pattern` to Referable modelsRobert Speicher2015-05-261-2/+12
|
* Implement gfm_reference directly in MentionableRobert Speicher2015-05-261-6/+0
| | | | Except for Note, which still overrides it.
* Add `to_reference` for models that support referencesRobert Speicher2015-05-261-3/+18
| | | | | Now there is a single source of information for which attribute a model uses to be referenced, and its special character.
* Remove old team scopes.Douwe Maan2015-03-151-1/+0
|
* Fix method overlap for issue sortingDmitriy Zaporozhets2015-02-051-0/+1
|
* Add task lists to issues and merge requestsVinnie Okada2014-10-051-0/+1
| | | | | | | | Make the Markdown parser recognize "[x]" or "[ ]" at the beginning of a list item and turn it into a checkbox input. Users who can modify the issue or MR can toggle the checkboxes directly or edit the Markdown to manage the tasks. Task status is also displayed in the MR and issue lists.
* Merge pull request #7754 from Bugagazavr/hooksDmitriy Zaporozhets2014-10-031-0/+4
|\ | | | | More information in merge request hook
| * Hook attributesKirill Zaitsev2014-10-021-0/+4
| |
* | Factor issue and edit MR form label field and submit.Ciro Santilli2014-09-221-0/+5
|/
* Annotate modelsDmitriy Zaporozhets2014-08-251-1/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Migrate issue/mr labels from act_as_taggable to own labelsDmitriy Zaporozhets2014-07-291-3/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Moved some behaviour to one placeJeroen van Baarsen2014-07-251-3/+1
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Remove protected_atrributes gem and start moving to strong paramsDmitriy Zaporozhets2014-06-261-3/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Implements drag and drop upload in creating issuesEarle Bunao & Neil Calabroso2014-05-231-0/+4
|
* Re-annotate modelsDmitriy Zaporozhets2014-04-091-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove author_id_of_changes from appDmitriy Zaporozhets2014-03-251-2/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Feature: reopen closed merge requestDmitriy Zaporozhets2014-02-281-4/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Duplicate opened scope for issueAlexey Elizarov2013-12-171-4/+1
| | | Was it correct?
* Fix dashboard event cachingDrew Blessing2013-12-131-0/+14
|
* Issue-4769 - Unable to update case of labelDrew Blessing2013-10-021-0/+2
| | | | | | | | | | | | | | | | Labels are saved in the database with the case they were originally created with. Before this change if a user created a label with the same text but different case the label would use the original case and no new label would be created in the database. With this change, labels are now case-sensitive. Steps to test: 1. Before this change, create a new issue with a new label "FIxMe" 2. Edit the issue and change the label to "FixMe" 3. Note that the label reverted to "FIxMe" 4. Apply this change 5. Edit the issue again and change the label to "FixMe" Note that the new case was preserved. If you also look in the database in the "tags" table you will see that both labels are present - "FIxMe" and "FixMe".
* Add description to MergeRequest modelDmitriy Zaporozhets2013-09-091-1/+0
|
* Link issues from comments and automatically close themash wilson2013-08-251-0/+7
| | | | | | | | | | Any mention of Issues, MergeRequests, or Commits via GitLab-flavored markdown references in descriptions, titles, or attached Notes creates a back-reference Note that links to the original referencer. Furthermore, pushing commits with commit messages that match a (configurable) regexp to a project's default branch will close any issues mentioned by GFM in the matched closing phrase. If accepting a merge request would close any Issues in this way, a banner is appended to the merge request's main panel to indicate this.
* ReannotateDmitriy Zaporozhets2013-08-211-2/+3
|
* Add iids to milestones. Moved iids logic to separate concernDmitriy Zaporozhets2013-08-211-1/+1
|
* Rewrite issues/mr filtering logicDmitriy Zaporozhets2013-08-101-1/+0
|
* Fix filter context. Dont duplicate target project name for MRDmitriy Zaporozhets2013-08-081-1/+0
|
* Merge Request on forked projectsIzaak Alpert2013-07-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
* AnnotatedDmitriy Zaporozhets2013-06-191-2/+2
|
* Fix Issue.open_forDmitriy Zaporozhets2013-06-171-1/+1
|
* Fixed tests. Fixed overrided scope. Better usability for milestone viewDmitriy Zaporozhets2013-06-171-2/+0
|
* Implement (style) suggestions.Sytse Sijbrandij2013-06-141-2/+2
|
* Scrum view style milestone view.Sytse Sijbrandij2013-06-101-0/+2
|
* Merge branch 'feature/refactoring_scopes_pr' of ↵Dmitriy Zaporozhets2013-04-091-13/+3
|\ | | | | | | | | | | | | https://github.com/Undev/gitlabhq into Undev-feature/refactoring_scopes_pr Conflicts: db/schema.rb
| * Update model methodsAndrey Kumanyaev2013-04-031-13/+3
| |
* | Override Issue opened scope. Now reopened issues also includedDmitriy Zaporozhets2013-04-091-0/+3
|/
* reannotatedDmitriy Zaporozhets2013-03-151-1/+1
|
* created-by-me filter for issues inside project. Fixed global project.issues ↵Dmitriy Zaporozhets2013-02-281-0/+4
| | | | order
* Merge branch 'state-machine' of https://github.com/Undev/gitlabhq into ↵Dmitriy Zaporozhets2013-02-191-3/+20
|\ | | | | | | | | | | | | | | Undev-state-machine Conflicts: app/models/issue.rb app/models/merge_request.rb
| * Hash syntax improvedAndrew8xx82013-02-181-2/+2
| |
| * Issue uses StateMachine nowAndrew8xx82013-02-181-3/+21
| |
* | Fix project filter for MR on dashboardDmitriy Zaporozhets2013-02-191-2/+8
|/
* remove length of issue contentValeriy Sizov2013-01-221-2/+0
| | | according to #2677
* Increase Issue description size to 10k. Fixes #2545Dmitriy Zaporozhets2013-01-191-1/+1
|
* more refactoring using models/concernsDmitriy Zaporozhets2013-01-031-2/+1
|
* Annotated. schema updatedDmitriy Zaporozhets2012-11-191-19/+18
|
* Refactor milestones related functionality. Added seeds for Milestine and MRrandx2012-10-301-2/+0
|
* Separate observing of Note and MergeRequestsRobb Kidd2012-10-101-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * Move is_assigned? and is_being_xx? methods to IssueCommonality This is behavior merge requests have in common with issues. Moved methods to IssueCommonality role. Put specs directly into merge_request_spec because setup differs for issues and MRs specifically in the "closed" factory to use. * Add MergeRequestObserver. Parallels IssueObserver in almost every way. Ripe for refactoring. * Rename MailerObserver to NoteObserver With merge request observing moved out of MailerObserver, all that was left was Note logic. Renamed to NoteObserver, added tests and updated application config for new observer names. Refactored NoteObserver to use the note's author and not rely on current_user. * Set current_user for MergeRequestObserver IssueObserver and MergeRequestObserver are the only observers that need a reference to the current_user that they cannot look up on the objects they are observing.
* AnnotatedDmitriy Zaporozhets2012-10-091-0/+1
|