James Lopez
7779457907
fix merge
2016-06-14 10:20:47 +02:00
James Lopez
9ff1990422
Merge branches 'feature/project-export' and 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-import
2016-06-14 10:18:03 +02:00
James Lopez
fde90c3e7f
better coverage for Reader
2016-06-14 10:12:41 +02:00
James Lopez
4020b0f55f
few changes based on MR feedback
2016-06-13 21:18:26 +02:00
James Lopez
833dc3204d
few more changes based on feedback
2016-06-13 16:55:51 +02:00
James Lopez
b07dc938b9
fixed specs and refactored a few things due to recent model changes and merge conflicts
2016-06-13 13:34:36 +02:00
James Lopez
ad68bc63b5
Merge branches 'feature/project-export' and 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-import
...
# Conflicts:
# app/models/project.rb
# db/schema.rb
# lib/gitlab/import_export/import_export_reader.rb
2016-06-13 12:43:25 +02:00
James Lopez
069bc26418
refactored loads of things due to commits to pipeline change
2016-06-13 10:55:54 +02:00
James Lopez
e2c95c07a4
Merge branches 'feature/project-export' and 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export
2016-06-13 09:22:33 +02:00
Gabriel Mazetto and Robert Speicher
7c87dac5f1
Improved SVG sanitizer specs to include smoke tests for clean.
2016-06-12 21:05:58 -04:00
Gabriel Mazetto and Robert Speicher
a9eaa20dcb
Refactored SVG sanitizer
2016-06-12 21:05:58 -04:00
Gabriel Mazetto and Robert Speicher
13791c6704
Refactor SVG sanitizer and prevent xlink:href to refer to external resources
2016-06-12 21:05:58 -04:00
Gabriel Mazetto and Robert Speicher
02b882418a
Fix SVG whitelisting to allow namespaced attributes
2016-06-12 21:05:57 -04:00
Douwe Maan
16bd4e5668
Merge branch 'master' into workhorse-helpers
2016-06-10 12:28:04 +02:00
Douwe Maan
30ee4ea665
Merge branch 'saml-ldap-link-flow' into 'master'
...
Adjust the SAML control flow to allow LDAP identities to be added to an existing SAML user.
## What does this MR do?
It correctly lets an existing SAML user to add their LDAP identity automatically at login.
## Why was this MR needed?
A customer had issues with the `auto_link_ldap_user` feature. The flow was not working if there was an account with a SAML identity, but no LDAP identity. GitLab would pick up the correct LDAP person, but due to the order of the flow, that LDAP person was never associated with the user.
## What are the relevant issue numbers?
Fixes #17346
/cc @dblessing @balameb @stanhu
See merge request !4498
2016-06-09 10:48:31 +00:00
Patricio Cano
9282810fb7
Syntax fixes and better logging around the ldap_person method.
2016-06-08 18:09:43 -05:00
Kamil Trzcinski
13d941e185
Make Omniauth providers specs to not modify global configuration
2016-06-08 16:50:05 +02:00
Douwe Maan
a9857f8c2f
Add send_git_diff helper
2016-06-08 14:30:15 +02:00
Jacob Vosmaer
bebe110dff
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into git-http-controller
...
Conflicts:
lib/gitlab/workhorse.rb
2016-06-08 10:31:33 +02:00
Patricio Cano
c593154cb4
Moved find_or_create_ldap_user method to parent class and added logging.
2016-06-07 11:21:20 -05:00
Rémy Coutable
be78a556d9
Merge branch 'refactor/ci-config-add-facade' into 'master'
...
Add new GitLab CI configuration facade class
## What does this MR do?
This MR is a first iteration of major CI configuration refactoring. See #17139 and #15060 for more details.
## What are the relevant issue numbers?
Closes #17139
See merge request !4462
2016-06-07 16:05:26 +00:00
Jacob Schatz
5b83abcc01
Merge branch 'issue_14189' into 'master'
...
Ability to prioritize labels
Closes #14189
See merge request !4009
2016-06-07 15:15:07 +00:00
Douwe Maan
3368afd767
Merge branch 'rename-ci-commit-phase-2' into 'master'
...
Rename Ci::Commit in specs
This is second iteration of renaming Ci::Commit occurences, this time I try to rename all `let's` and `factories` to match what type of object is created:
1. Rename factories: `ci_[...]_commit_[...]` to `ci_[...]_pipeline_[...]`,
2. Rename all `let's(:[ci_]commit)` to `let(:pipeline)`,
3. Rename all occurrences of `[ci_]commit` to `pipeline` if Pipeline object is created
cc @grzesiek @DouweM
See merge request !4463
2016-06-07 12:45:59 +00:00
Douwe Maan
8c5712a422
Merge branch 'gh-disable-webhooks'
2016-06-07 13:06:43 +02:00
Douwe Maan
acef028d85
Merge branch 'gh-fix-comments-on-diff'
2016-06-07 13:04:32 +02:00
Grzegorz Bizon
5ef104df59
Improve Ci config loader by changing method signature
2016-06-07 12:53:46 +02:00
Grzegorz Bizon
fa097c678c
Remove duplicated exception in Ci config
...
This is a temporary refactoring stub, that is planned to be removed
after removing legacy config processor.
2016-06-07 10:26:38 +02:00
Kamil Trzcinski
6e64d1ac76
Merge remote-tracking branch 'origin/master' into rename-ci-commit-phase-2
2016-06-07 10:26:27 +02:00
Kamil Trzcinski
dbf235f514
Fix tests failures
2016-06-07 10:25:57 +02:00
Patricio Cano
7038440e34
Adjust the SAML control flow to allow LDAP identities to be added to an existing SAML user.
2016-06-06 18:47:49 -05:00
Yorick Peterse
0ba21860c5
Merge branch 'issue_3359' into 'master'
...
Remove duplicated notification settings and add unique index
See merge request !4472
2016-06-06 19:14:01 +00:00
Kamil Trzcinski
8562cb5f78
Merge branch 'rename-ci-commit' into rename-ci-commit-phase-2
2016-06-06 20:24:13 +02:00
Kamil Trzcinski
e995e1f5cd
Merge remote-tracking branch 'origin/master' into rename-ci-commit
2016-06-06 19:06:48 +02:00
Rémy Coutable and Alfredo Sumaran
499bb9f305
Improve Issuable.order_labels_priority
...
Signed-off-by: Rémy Coutable <remy@rymai.me >
2016-06-06 11:59:49 -05:00
Felipe Artur
9264203103
change add_concurrent_index function arguments
2016-06-06 13:06:21 -03:00
Douglas Barbosa Alexandre
7c072c76fc
Fix importer for GitHub comments on diff
...
Fix comments on diff after LegacyDiffNote was extracted from Note
2016-06-06 12:19:03 -03:00
Douglas Barbosa Alexandre
659d5d4830
Disable Webhooks before proceeding with the GitHub import
2016-06-06 12:07:45 -03:00
Rémy Coutable
ac4e3e8cf0
Merge branch 'tests/extend-specs-for-build-badge' into 'master'
...
Extend specs for builds badge
## What does this MR do?
This MR extends specs for builds badge.
## Why was this MR needed?
We added an edge case to specs, while trying to reproduce problem described in #17549
## What are the relevant issue numbers?
#17549
See merge request !4401
2016-06-06 14:59:26 +00:00
Douwe Maan
8c3ba8d6c9
Add workhorse controller and API helpers
2016-06-06 13:16:30 +02:00
Kamil Trzcinski
842f0a3401
Merge branch 'rename-ci-commit' into rename-ci-commit-phase-2
...
# Conflicts:
# features/steps/shared/builds.rb
# spec/requests/ci/api/builds_spec.rb
2016-06-06 11:21:39 +02:00
Kamil Trzcinski
7ad7e10fee
Merge remote-tracking branch 'origin/master' into rename-ci-commit
2016-06-06 11:20:17 +02:00
Grzegorz Bizon
23030439c2
Rename class that loads CI configuration to Loader
2016-06-06 08:20:55 +02:00
Grzegorz Bizon
d2b708ac43
Extract CI config YAML parser to a separate class
...
With this approach it would be easier to add different sources of
configuration, that we do not necessairly have to be in YAML format.
2016-06-03 21:10:50 +02:00
James Lopez
8476f91a4e
WIP - added missing notes, trying to fix specs
2016-06-03 17:28:08 +02:00
Kamil Trzcinski
20c7144ed2
Rename all [ci_]commit to [ci_]pipeline in specs and features
2016-06-03 16:22:26 +02:00
Z.J. van de Weg
9d491712cf
Merge branch 'master' into awardables
2016-06-03 15:20:11 +02:00
Jacob Vosmaer
3ffa494ffe
Changes after more review from Rémy
2016-06-03 14:57:34 +02:00
Grzegorz Bizon
d501850e05
Add gitlab ci configuration class that holds hash
...
As for now, we keep this class inside a oryginal config processor class.
We will move implementation to this class and delegate to it from
current config processor.
After original gitlab ci yaml processor not longer has relevant
impelemntation we will replace it with new configuration class.
2016-06-03 14:20:34 +02:00
James Lopez
9d0038f2d7
started refactoring a bunch of stuff based on feedback
2016-06-03 12:56:29 +02:00
Kamil Trzcinski
717fdd6d42
Rename Ci::Build commit to pipeline
2016-06-03 12:29:00 +02:00