Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-11Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets
This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.
2015-08-11Revert "Merge branch 'drop-satellites'"Dmitriy Zaporozhets
This reverts commit 957e849f41d96fa9778fcdd06792d2f0274b29ab, reversing changes made to 6b9dbe9f5a175a8162abf296367f561bab3eea1a. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-06Merge branch 'master' into merge-notifsDouwe Maan
2015-08-05Fix merge request creation without branch selectedDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-04Improve tests to use real branches in merge requestsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-30Send notification to all participants when MR is merged.Douwe Maan
2015-07-29Check that project was actually created rather than just validated in ↵Stan Hu
import:repos task Add gitlab-shell to error message to give user a clue that something may be wrong there. Ran into this in #2082. User was told that repositories were created when they were not due to hooks symlink being wrong.
2015-07-25Create project services on Project creationRobert Speicher
2015-07-25Only create :admin user in the one test where it's usedRobert Speicher
2015-07-11Update specs.Douwe Maan
2015-07-07Use stub_application_setting in a few more specsRobert Speicher
These specs also failed when run by themselves before this change, so we've likely got some kind of cross-test contamination going on.
2015-06-23Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb
2015-06-23Fix Style/IndentationWidth cop violationsStan Hu
2015-06-23Fix Style/AlignHash cop violationsStan Hu
2015-06-22Fix Style/Blocks cop violationsRobert Speicher
2015-06-22Fix Style/TrailingBlankLines cop violationsRobert Speicher
2015-06-22Fix Style/IndentationConsistency cop violationsRobert Speicher
2015-06-22Remove unnecessary whitespace between let and (Dmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-22Fix `raise_error` without an argument deprecation warningsRobert Speicher
2015-06-22Fix GitPushService specRobert Speicher
2015-06-22Replace remaining references to `Note.create_cross_reference_note`Robert Speicher
2015-06-22Update mock and stub syntax for specsRobert Speicher
2015-06-16Merge branch 'fix-ext-issue-webbased-hooks' into 'master'Douwe Maan
Fix hooks for web based events with external issue references The creation of cross references for external issues (which would fail) is now prevented. This fixes a 500 error and the execution of hooks when creating a merge request or commenting on one. Fixes #1650, GH-9333. This regression might have been introduced by 8f8a8ab32bca8fdc79d7a5115eabbd015dd44c02. There is actually a TODO by @rspeicher mentioning external issues which is lost (unhandled) in a later commit. This fix is related to !766 and !804 which fix a similar issue for hooks for Git based events. See merge request !794
2015-06-15Merge branch 'fix-post-receive-external-tracker' into 'master'Douwe Maan
Fix post-receive errors on a push when an external issue tracker is configured ### What does this MR do? This MR improves upon !766, fixing errors upon a git push that occur only when an external issue tracker (not JIRA) is used. This MR takes into account that external issue trackers, such as JIRA, may close issues. Disabling the processing of post-receive commits when an external issue tracker is configured seems like the wrong behavior. ### Why was this MR needed? When a user adds an issue reference, the refactoring in 8f8a8ab and a6defd157 caused `project.get_issue` to be called, causing `ExternalIssue` to be returned when an external issue tracker was configured. This object does not have a `close` method, as needed in `CloseService`. Nor does it make sense to associate a `SystemNote` with this object. GitLab EE uses a [special case for JIRA](https://gitlab.com/gitlab-org/gitlab-ee/blob/master/app/services/git_push_service.rb#L87). I would recommend moving this logic into `CloseService` too. ### What are the relevant issue numbers? * Closes #1700 * Closes #1720 See merge request !804
2015-06-14Fix hooks for web based events with external issue referencesDaniel Gerhardt
The creation of cross references for external issues (which would fail) is now prevented. Fixes #1650, GH-9333.
2015-06-14Change `foo.should` syntax to `expect(foo).to` in specsRobert Speicher
2015-06-14Change `foo.should_not` syntax to `expect(foo).not_to` in specsRobert Speicher
2015-06-12Fix post-receive errors on a push when an external issue tracker is configuredStan Hu
Closes #1700 Closes #1720
2015-06-03Skip repo removing whem remove user or groupDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-03Add tests for project destroy serviceDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-29Support editing target branch of merge requestStan Hu
Closes https://github.com/gitlabhq/gitlabhq/issues/7105 See: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/130
2015-05-27Merge branch 'rs-to_reference' into 'master'Dmitriy Zaporozhets
Add to_reference method to referable models Now there is a single source of information for which attribute a model uses to be referenced, and its special character. See merge request !641
2015-05-27Change one-character variable nameRobert Speicher
[ci skip]
2015-05-27Add a note when an Issue or Merge Request's title changesRobert Speicher
2015-05-26Make use of to_reference in more specsRobert Speicher
2015-05-22Add support for Webhook note eventsStan Hu
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
2015-05-15Fix specs.Douwe Maan
2015-05-13Call merge request web hook for each commitsArthur Gautier
Call merge request web hook every times a new commit hits the source branch Signed-off-by: Arthur Gautier <baloo@gandi.net>
2015-05-11Reorganize SystemNoteService spec a bitRobert Speicher
2015-05-11Spec SystemNoteService.cross_reference_disallowed?Robert Speicher
2015-05-11Update SystemNoteService method naming conventionsRobert Speicher
Now the verb comes first, and there is no restriction on singular/plural.
2015-05-11Remove legacy special case for emphasized reference notesRobert Speicher
2015-05-11Add a SystemNoteService classRobert Speicher
There's a lot of code in the Note model that only deals with creating system notes, so we're going to split that into its own class.
2015-05-06Make the first branch pushed to an empty repository the default HEAD.Stan Hu
In an empty repository, pushing a new branch not called "master" would leave HEAD in an unknown state, causing ambiguity if another branch were pushed. This could in turn cause a new protected branch to be created and cause the default branch to change. * Closes #1561 * Closes #1576 * Closes https://github.com/gitlabhq/gitlabhq/issues/8883
2015-04-24Use Projects::CreateService to fork projects so that after-create hooks are run.Douwe Maan
2015-04-24Link cross-project cross-reference notes to correct project.Douwe Maan
2015-04-24Use project.commit convenience method.Douwe Maan
2015-04-15Fix notification service spec.Douwe Maan
2015-04-15Clean up code around commit mentions.Douwe Maan
2015-04-09Merge branch 'ci_fork' into 'master'Dmitriy Zaporozhets
Project fork on CI side https://dev.gitlab.org/gitlab/gitlab-ci/issues/187 !!! GitLab CI side MR - https://gitlab.com/gitlab-org/gitlab-ci/merge_requests/56 See merge request !499