summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Added specs for the various Repository hooksrepository-caching-refactorYorick Peterse2016-02-251-2/+106
|
* Merge branch 'ci/extend-summary-status-specs' into 'master' Kamil Trzciński2016-02-231-21/+51
|\ | | | | | | | | | | | | | | | | | | Extend specs for summary build status Additional specs cover a case when one of the builds is running but allowed to fail. Previous implementation returned `running` status, which is wrong. This behavior has been changed in 8.5, this commit adds missing specs. See merge request !2904
| * Extend specs for summary build statusci/extend-summary-status-specsGrzegorz Bizon2016-02-201-21/+51
| | | | | | | | | | | | | | Additional specs cover a case when one of the builds is running but allowed to fail. Previous implementation returned `running` status, which is wrong. This behavior has been changed in 8.5, this commit adds missing specs.
* | Merge branch 'fix-autocomplete-spec' into 'master'Robert Speicher2016-02-231-1/+1
| | | | | | | | | | | | | | | | Fix volatile spec. Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/312. See merge request !206
* | Ensure we don't check a commit's description for revert message if it has no ↵Rémy Coutable2016-02-221-0/+34
| | | | | | | | description
* | Check the HEAD of branch when doing Merge When Succeededimprove-merge-when-succeededKamil Trzcinski2016-02-221-0/+16
| |
* | Merge branch 'tasks' into 'master' Douglas Barbosa Alexandre2016-02-2213-4/+656
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Todos Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/2425 Tasks: - Prepare database - [X] Create a new table (`todos`) - Tasks Queue view - [X] Add a number icon showing the number of todos on the top right next to the new and logout button that will redirect the user to the todos page - [X] Add a chronological list of todos, with the 'Todos' tab active by default - [X] Add a 'Done' button to each todo - [x] Add filters (project, author, type, and action) - Todos generation - [X] When user issue/mr is assgined to someone - [x] When user is mentioned on (issues/mr's/comments) - Mark todo as `done` - [X] When clicks on the 'Done' button - [X] When edit issue/mr - [X] When left/edit a comment - [X] When reassign issue/mr - [X] When add/remove labels to issue/mr - [X] When issue/mr is closed - [X] When mr is merged - [X] When added an emoji - [X] When changed the issue/mr milestone * Screenshot: ![Screenshot_2016-02-20_12.45.57](/uploads/4b2554b1bde25aed3347e1ae41e8e0c0/Screenshot_2016-02-20_12.45.57.png) See merge request !2817
| * | Rename Tasks to TodosDouglas Barbosa Alexandre2016-02-2013-333/+338
| | |
| * | Create or mark task pending as soon the action happensDouglas Barbosa Alexandre2016-02-201-1/+1
| | |
| * | Ensure that we only have one task per issue/mrDouglas Barbosa Alexandre2016-02-201-18/+16
| | |
| * | Explicit mention of the assignee make a taskDouglas Barbosa Alexandre2016-02-201-4/+4
| | | | | | | | | | | | Since potentially the previous assign-task has already been handled.
| * | Refactoring task queue partialsDouglas Barbosa Alexandre2016-02-201-19/+5
| | |
| * | Improve formatted message for tasks when action is a mentionDouglas Barbosa Alexandre2016-02-201-1/+7
| | |
| * | Use destroy, in case we ever have before_destroy callbacks on TaskDouglas Barbosa Alexandre2016-02-201-1/+1
| | |
| * | Fix task factoryDouglas Barbosa Alexandre2016-02-202-2/+5
| | |
| * | Fix rubocop offensesDouglas Barbosa Alexandre2016-02-201-3/+3
| | |
| * | Fix pending examples from task model specDouglas Barbosa Alexandre2016-02-201-4/+30
| | |
| * | Create a pending task when a user is mentioned when edit a issue/mr/noteDouglas Barbosa Alexandre2016-02-207-84/+79
| | |
| * | Does not create a task if new assignee is the current userDouglas Barbosa Alexandre2016-02-201-0/+12
| | |
| * | Create a pending task when a user is mentioned on a noteDouglas Barbosa Alexandre2016-02-203-0/+29
| | |
| * | Create a pending task when a user is mentioned on issue/mrDouglas Barbosa Alexandre2016-02-201-30/+66
| | |
| * | Rename TaskService#mark_as_done to mark_pending_tasks_as_doneDouglas Barbosa Alexandre2016-02-201-2/+2
| | |
| * | Marks pending tasks for an user as done when he merge the MRDouglas Barbosa Alexandre2016-02-201-0/+17
| | |
| * | Marks pending tasks for an user as done when he close the MRDouglas Barbosa Alexandre2016-02-202-0/+24
| | |
| * | Marks pending tasks for an user as done when he edit a MRDouglas Barbosa Alexandre2016-02-201-1/+54
| | |
| * | Create a pending task when an MR is assigned to someoneDouglas Barbosa Alexandre2016-02-203-8/+109
| | |
| * | Mark pending tasks for the current user as done when he edit a noteDouglas Barbosa Alexandre2016-02-201-0/+45
| | |
| * | Mark pending tasks for the note author as done when he left a noteDouglas Barbosa Alexandre2016-02-202-4/+40
| | |
| * | Marks pending tasks for an user as done when he close the issueDouglas Barbosa Alexandre2016-02-202-0/+25
| | |
| * | Marks pending tasks for an user as done when he edit an issueDouglas Barbosa Alexandre2016-02-203-11/+93
| | |
| * | Add feature spec for task queue list pageDouglas Barbosa Alexandre2016-02-201-0/+23
| | |
| * | Does not create a task for new issue when assignee is the current userDouglas Barbosa Alexandre2016-02-201-0/+4
| | |
| * | Create a pending task when an issue is assigned to someoneDouglas Barbosa Alexandre2016-02-203-2/+92
| | |
| * | Add tasks queue list pageDouglas Barbosa Alexandre2016-02-201-0/+23
| | |
| * | Add task modelDouglas Barbosa Alexandre2016-02-202-0/+33
| |/
* | Merge branch 'merge-when-succeeded' into 'master' Douwe Maan2016-02-221-6/+60
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bugs in MergeWhenSucceeded 1. This fixes support for merge when succeeded for statuses without ref. 2. This fixes support for merge when succeeded for multiple stages. Stages are created after all builds for previous one are finished. Fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/9060 https://gitlab.com/gitlab-org/gitlab-ce/issues/8108 https://gitlab.com/gitlab-org/gitlab-ce/issues/12931 https://gitlab.com/gitlab-org/gitlab-ce/issues/13269 /cc @grzesiek @DouweM @rspeicher See merge request !2894
| * | Discover branches for commit statuses ref-less when doing merge when succeededmerge-when-succeededKamil Trzcinski2016-02-191-6/+30
| | |
| * | Fix Merge When Succeeded for multiple stagesKamil Trzcinski2016-02-191-0/+30
| | | | | | | | | | | | Use around_transition to trigger build creation for next stages
* | | Flush emptiness caches whenever neededYorick Peterse2016-02-201-0/+14
| |/ |/| | | | | | | | | | | | | | | | | | | | | This ensures that the emptiness cache (used for Repository#empty? and Repository#has_visible_content?) is flushed after comitting changes (using the web editor, API or Git) for new repositories. Once a repository is no longer empty there's no need to explicitly flush the cache for Repository#empty?. The cache for Repository#has_visible_content? in turn is already flushed whenever needed. Fixes gitlab-org/gitlab-ce#13387
* | Merge branch 'rs-move-controller-specs' into 'master' Douwe Maan2016-02-205-0/+0
|\ \ | | | | | | | | | | | | | | | | | | Move a few controller specs to their correct locations See merge request !2889
| * | Move a few controller specs to their correct locationsrs-move-controller-specsRobert Speicher2016-02-185-0/+0
| | |
* | | Merge branch 'rs-blob' into 'master' Douwe Maan2016-02-201-0/+81
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `Blob` model that wraps `Gitlab::Git::Blob` This allows us to take advantage of Rails' `to_partial_path` to render the correct partial based on the Blob type, rather than cluttering the view with conditionals. It also allows (and will allow in the future) better encapsulation for Blob-related logic which makes sense for our Rails app but might not make as much sense for the core `gitlab_git` library, such as detecting if the blob is an SVG. See merge request !2887
| * | | Add a `Blob` model that wraps `Gitlab::Git::Blob`rs-blobRobert Speicher2016-02-181-0/+81
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to take advantage of Rails' `to_partial_path` to render the correct partial based on the Blob type, rather than cluttering the view with conditionals. It also allows (and will allow in the future) better encapsulation for Blob-related logic which makes sense for our Rails app but might not make as much sense for the core `gitlab_git` library, such as detecting if the blob is an SVG.
* | | Merge branch '12792-emoji-as-text-diff-comment'Douwe Maan2016-02-191-2/+10
|\ \ \
| * | | Improve #set_award! on the Note model12792-emoji-as-text-diff-commentZeger-Jan van de Weg2016-02-191-1/+4
| | | |
| * | | Emoji reponses on diffs aren't award emojiZeger-Jan van de Weg2016-02-191-2/+7
| | | |
* | | | Merge branch 'builds-artifacts-API' into 'master' Kamil Trzciński2016-02-194-51/+93
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce API for serving the artifacts archive Add API to download build artifacts archive in context of GitLab API /cc @DouweM @grzesiek See merge request !2893
| * | | Fix ci_build trace traitKamil Trzcinski2016-02-193-5/+5
| | | |
| * | | Fix specsKamil Trzcinski2016-02-192-60/+77
| | | |
| * | | Introduce API for serving the artifacts archiveKamil Trzcinski2016-02-191-0/+25
| | | |