summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Update gl_field_error tests for better input filtering.scope-input-errorsBryce Johnson2016-10-201-2/+2
|
* Differentiate the expire from leave eventCallum Dryden2016-10-205-0/+129
| | | | | | | | | | At the moment we cannot see weather a user left a project due to their membership expiring of if they themselves opted to leave the project. This adds a new event type that allows us to make this differentiation. Note that is not really feasable to go back and reliably fix up the previous events. As a result the events for previous expire removals will remain the same however events of this nature going forward will be correctly represented.
* Merge branch 'feature/group-level-labels' into 'master' Douwe Maan2016-10-1932-156/+874
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add group level labels ## What does this MR do? Add group level labels. ## Are there points in the code the reviewer needs to double check? * `LabelsFinder` * `Gitlab::Gfm::ReferenceRewriter` * `Banzai::Filter::LabelReferenceFilter` ## Why was this MR needed? We'll be adding more feature that allow you to do cross-project management of issues. ## Screenshots (if relevant) * Group Labels ![Group Labels](/uploads/2244c06ad68eae4fb246fb4c81bf8060/2.png) * Project Labels ![Project Labels](/uploads/c5839516d2282b51f7418d9dadbeceb4/1.png) * Expanded references for group labels when moving issue to another project ![Expanded references for group labels when moving issue to another project](/uploads/0c9ab248a8420d4978d59349ae3d42e5/3.png) ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] API support added - Tests - [x] Added for this feature/bug - [ ] All builds are passing - [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [ ] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? #19997 See merge request !6425
| * Avoid touch label links that does not belongs to project when moving itfeature/group-level-labelsDouglas Barbosa Alexandre2016-10-191-12/+17
| |
| * Rename Labels::CreateService to Labels::FindOrCreateServiceDouglas Barbosa Alexandre2016-10-191-1/+1
| |
| * Update specs to cope with new label types and prioritiesJames Lopez2016-10-196-9/+51
| | | | | | | | | | | | Fixed all related specs and also changed the logic to handle edge cases. This includes exporting and exporting of group labels, which will get associated with the new group (if any) or they will become normal project labels otherwise. Found other issues to do with not being able to import all labels at once in the beginning of the JSON - code was much simpler when we import all labels and milestones associated to a project first, then the associations will find the already created labels instead of creating them from the associations themselves.
| * Fix GitHub importer specDouglas Barbosa Alexandre2016-10-191-1/+1
| |
| * Add service to create project labelsDouglas Barbosa Alexandre2016-10-191-0/+51
| |
| * Recreates the label priorities when moving project to another groupDouglas Barbosa Alexandre2016-10-191-0/+10
| |
| * Add subject to group and projects labels which return group/projectDouglas Barbosa Alexandre2016-10-192-0/+16
| |
| * Abstract LabelPriority away into methods on Label modelDouglas Barbosa Alexandre2016-10-191-0/+58
| |
| * Fix issue board related controllers to expose label priority per projectDouglas Barbosa Alexandre2016-10-191-1/+1
| |
| * Fix sorting by label prioritiesDouglas Barbosa Alexandre2016-10-192-12/+29
| |
| * Add restriction to number of permitted priorities per project labelDouglas Barbosa Alexandre2016-10-191-1/+12
| |
| * Add support to group labels prioritization on project levelDouglas Barbosa Alexandre2016-10-192-5/+4
| |
| * Add LabelPriority modelDouglas Barbosa Alexandre2016-10-193-0/+29
| |
| * List all available labels to the project on the labels APIDouglas Barbosa Alexandre2016-10-191-3/+9
| |
| * Add support to group labels on issues board APIDouglas Barbosa Alexandre2016-10-191-8/+17
| |
| * Fix validation to allow updates to description/color of project labelDouglas Barbosa Alexandre2016-10-191-0/+10
| |
| * Reuse LabelsFinder on Issueable#add_labels_by_namesDouglas Barbosa Alexandre2016-10-191-3/+4
| |
| * fix rubocop warningJames Lopez2016-10-191-2/+4
| |
| * Fix import/export labels to cope with project and group labels. Added ↵James Lopez2016-10-193-6/+66
| | | | | | | | relevant specs.
| * Fix import testJames Lopez2016-10-191-0/+0
| |
| * Remove scopes/types for labelsDouglas Barbosa Alexandre2016-10-192-37/+11
| |
| * Unfold references for group labels when moving issue to another projectDouglas Barbosa Alexandre2016-10-195-49/+179
| |
| * Update project test file for project import integration testDouglas Barbosa Alexandre2016-10-191-0/+0
| |
| * Add tests to LabelsFinderDouglas Barbosa Alexandre2016-10-191-0/+69
| |
| * Add Label attributes: type, and group_id to safe model attributesDouglas Barbosa Alexandre2016-10-191-0/+2
| |
| * Fix LabelsHelper#link_to_label to use the subject argumentDouglas Barbosa Alexandre2016-10-191-14/+13
| |
| * Recreates missing group labels when moving project to another groupDouglas Barbosa Alexandre2016-10-193-0/+61
| |
| * Validate if project label title does not exist at group levelDouglas Barbosa Alexandre2016-10-193-1/+41
| |
| * Add ProjectLabel modelDouglas Barbosa Alexandre2016-10-194-30/+37
| |
| * Remove project_labels from Projects::ApplicationControllerDouglas Barbosa Alexandre2016-10-191-20/+60
| |
| * Validates uniqueness of title unless label is a templateDouglas Barbosa Alexandre2016-10-191-0/+1
| |
| * List group labels on project labels pageDouglas Barbosa Alexandre2016-10-191-38/+66
| |
| * Allow user to create a board list based on a group labelDouglas Barbosa Alexandre2016-10-192-0/+8
| |
| * Allow users to apply group labels on Issues/MRsDouglas Barbosa Alexandre2016-10-191-0/+21
| |
| * Add GroupLabel modelDouglas Barbosa Alexandre2016-10-192-0/+12
| |
* | Merge branch 'dz-refactor-project-members-controller-spec' into 'master' Sean McGivern2016-10-192-119/+77
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Refactor project_members_controller_spec Make tests more readable, DRY and closer to RSpec best practices. Same as https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6985 but for project_members_controller_spec now See merge request !6989
| * | Change the order of tested methods in project_members_controller_specDmitriy Zaporozhets2016-10-191-44/+44
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Refactor project_members_controller_specdz-refactor-project-members-controller-specDmitriy Zaporozhets2016-10-192-78/+36
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge branch 'issue_828' into 'master' Douwe Maan2016-10-198-63/+145
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Prevent wrong markdown on issue ids when project has Jira service activated fixes gitlab-org/gitlab-ee#828 See merge request !6728
| * | | Prevent wrong markdown on issue ids when project has Jira service activatedissue_828Felipe Artur2016-10-198-63/+145
| | | |
* | | | Merge branch ↵Robert Speicher2016-10-191-0/+8
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '22457-reset-filters-button-should-be-invisible-when-no-filters-are-active' into 'master' `Reset filters` link should only be visible when filters are active ## Why was this MR needed? `Reset filters` link is always visible. Closes #22457 See merge request !6497
| * | | Added `issuable_filters_present` to check for active filters before ↵22457-reset-filters-button-should-be-invisible-when-no-filters-are-activeLuke Bennett2016-10-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | rendering the reset button Added tests
* | | | Merge branch '21444-pipeliens-new-mr' into 'master' Fatih Acet2016-10-191-17/+41
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add pipelines tab to new MR #### What does this MR do? Adds pipelines tab to new MRs #### Screenshots (if relevant) ![Screen_Shot_2016-10-10_at_10.23.27_AM](/uploads/6c3f8f2be0cf9ba7cc78f6d918307ec0/Screen_Shot_2016-10-10_at_10.23.27_AM.png) ![Screen_Shot_2016-10-11_at_8.59.45_AM](/uploads/e67577d92327eafef6f04073f3d94212/Screen_Shot_2016-10-11_at_8.59.45_AM.png) #### What are the relevant issue numbers? Closes #21444 See merge request !6238
| * | | | Extend merge request tests for all commits methodGrzegorz Bizon2016-10-181-17/+41
| | | | |
* | | | | Merge branch 'fix-escaping' into 'master' Sean McGivern2016-10-191-0/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | fix: commit messages being double-escaped in activities tab See merge request !6937
| * | | | fix: commit messages being double-escaped in activies tabamaia2016-10-181-0/+5
| | | | |
* | | | | Merge branch 'dz-refactor-some-specs' into 'master' Sean McGivern2016-10-192-86/+35
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Refactor group_members_controller_spec Make tests more readable, DRY and closer to RSpec best practices. See merge request !6985