Dmitriy Zaporozhets
f840903112
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/helpers/tab_helper.rb
app/models/merge_request.rb
app/views/layouts/nav/_project_settings.html.haml
app/views/projects/merge_requests/show/_mr_accept.html.haml
doc/api/groups.md
2015-06-12 11:16:28 +02:00
Dmitriy Zaporozhets
747f66559e
Merge branch 'mr-approves'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
db/schema.rb
2015-06-10 16:51:07 +02:00
Dmitriy Zaporozhets
962fe84e49
Fix logout scenario
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-10 16:01:44 +02:00
Robert Speicher
11c611bc62
Fix shoulda-matchers require
2015-06-10 01:38:36 -04:00
Robert Speicher
1f9a2ab7c9
Memoize result of JSON.parse in json_response
...
This might see a minor speedup in test cases that call this method many
times.
2015-06-10 01:31:27 -04:00
Robert Speicher
57830201a9
Add spec/support files for WebMock and test coverage
2015-06-10 01:31:27 -04:00
Robert Speicher
1c4604bff6
"expect { }.not_to raise_error" no longer takes a specific class
2015-06-10 01:31:27 -04:00
Robert Speicher
47251b85e0
ensure_length_of -> validate_length_of
2015-06-10 01:31:26 -04:00
Dmitriy Zaporozhets
efdf3d2905
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
doc/README.md
doc/workflow/README.md
2015-06-09 19:24:37 +02:00
Dmitriy Zaporozhets
73faf3c728
Rename approve->approval. Add approval count to project
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-09 15:57:34 +02:00
Dmitriy Zaporozhets
99ae2c0230
Explicitly say approve class name in association
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-09 14:42:11 +02:00
Dmitriy Zaporozhets
7ba4e05ffa
Create Approve model for merge request
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-09 13:38:47 +02:00
Dmitriy Zaporozhets
1fb74b923e
Merge branch 'max-file-size-git-hook' into 'master'
...
Add Git hook to validate maximum file size.
Addresses #286 .
See merge request !413
2015-06-09 11:15:16 +00:00
Douwe Maan
d7d3a2885f
Merge branch 'feature/ldap_group_link_api' into 'master'
...
Add API support for adding and removing LDAP group links
See merge request !4
2015-06-09 09:27:39 +00:00
Douwe Maan
844cca4a1e
Add Git hook to validate maximum file size.
2015-06-09 10:23:38 +02:00
Robert Speicher
23954b0f77
Correctly remove already-mentioned commits for cross references
...
Fixes #1778
2015-06-08 18:13:14 -04:00
Dmitriy Zaporozhets
a83d0034e3
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/services/files/base_service.rb
app/services/files/create_service.rb
app/services/files/delete_service.rb
app/services/files/update_service.rb
doc/workflow/README.md
2015-06-08 18:24:34 +02:00
Dmitriy Zaporozhets
c8a845b200
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ee
2015-06-05 18:19:38 +02:00
Dmitriy Zaporozhets
c9f1fb574f
Remove upgrader test because it does not apply to ee tags set
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-05 17:19:48 +02:00
Dmitriy Zaporozhets
f34e8a265a
Fix JIRA integration
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-05 15:32:23 +02:00
Dmitriy Zaporozhets
ada2be3c21
Fix spinach tests and some specs after merge CE into EE
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-05 15:24:36 +02:00
Douwe Maan
3f59a8f0be
Merge branch 'cernvcs/gitlab-ce-feature/auto_link_ldap_omniauth'
2015-06-05 13:34:25 +02:00
Dmitriy Zaporozhets
c8a0c02817
Fix factory
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-05 12:05:37 +02:00
Dmitriy Zaporozhets
935fc796d1
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ce-to-ee
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
VERSION
app/controllers/admin/application_settings_controller.rb
app/controllers/omniauth_callbacks_controller.rb
app/controllers/projects/project_members_controller.rb
app/helpers/application_settings_helper.rb
app/models/user.rb
app/services/files/base_service.rb
app/views/profiles/accounts/show.html.haml
db/schema.rb
doc/install/installation.md
doc/update/6.x-or-7.x-to-7.11.md
doc/workflow/README.md
lib/gitlab/markdown/external_issue_reference_filter.rb
lib/gitlab/reference_extractor.rb
lib/gitlab/upgrader.rb
2015-06-05 11:40:36 +02:00
Alex Lossent
7a52573681
Prevent LDAP group sync from removing a group's last owner
2015-06-05 11:06:08 +02:00
Dmitriy Zaporozhets
b7d20f14c6
Merge branch 'maser/gitlab-ce-order-commit-comments-in-api' into 'master'
...
Order commit comments in API chronologically
When fetching commit comments via API, the comments were not ordered,
but just returned in the order Postgresql finds them. Now the API always
returns comments in chronological order.
Same as !628 but with CI
See merge request !768
2015-06-05 08:38:19 +00:00
Dmitriy Zaporozhets
bedc66eb04
Merge branch 'rs-remove-guard' into 'master'
...
Remove Guard
None of the GitLab B.V. developers were using it.
See internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2360
See merge request !764
2015-06-04 17:54:33 +00:00
Dmitriy Zaporozhets
9287865599
Merge branch 'fix-upgrader-script' into 'master'
...
Fix upgrader script
This is a fix for upgrader script not guessing the latest version correctly.
Upgrader now handles versions where a version part (major/minor/patch) can have multi-digit number, also ensures that the latest version is chosen from git tags by converting tag to Gitlab::VersionInfo and than selecting the latest/greatest version.
Fixes : #1476
See merge request !695
2015-06-04 16:01:13 +00:00
Dmitriy Zaporozhets
b9219469f7
Merge branch 'make-namespaces-api-available-to-all-users' into 'master'
...
Make namespace API available to all users
### What does this MR do?
This MR makes it possible for a user to query namespaces to which he/she has access. Also, it adds documentation for the existing API.
### Why was this MR needed?
Even though the `groups` API exists, it might still be useful to have an endpoint that tells the namespace type (e.g. `user` vs. `group`), especially if a user has access to a number of different projects.
### What are the relevant issue numbers?
Closes https://github.com/gitlabhq/gitlabhq/issues/9328
See merge request !708
2015-06-04 15:59:17 +00:00
Robert Speicher
65be969b78
Remove unnecessary require from RepositoryCache spec
2015-06-04 11:40:43 -04:00
Robert Speicher
6e5473f930
Remove show actions from Admin and Project DeployKeys
2015-06-03 18:03:04 -04:00
Dmitriy Zaporozhets
fb59f04fdf
Merge branch 'fix-group-remove' into 'master'
...
Group improvements
* remove projects before removing group
* execute all hooks/events from project destroy when group removed
* log group create/remove
* delay remove of namespace directory (to prevent NFS issues)
Inspired by !759
See merge request !761
2015-06-03 15:02:33 +00:00
Dmitriy Zaporozhets
e414463d9e
Merge branch 'repo-remove'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
spec/features/projects_spec.rb
2015-06-03 16:17:36 +02:00
Dmitriy Zaporozhets
53a0ac4734
Skip repo removing whem remove user or group
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-03 16:16:27 +02:00
Dmitriy Zaporozhets
7bab4817f7
Merge branch 'repo-remove' into fix-group-remove
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
spec/features/projects_spec.rb
2015-06-03 15:15:46 +02:00
Dmitriy Zaporozhets
58ab8a4a9d
Fix tests and increase delay time before remove repository
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-03 15:09:12 +02:00
Dmitriy Zaporozhets
fd1723f0fc
Add tests for project destroy service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-03 13:08:17 +02:00
Alex Lossent
dfcea8ed51
Add option to automatically link omniauth and LDAP identities
...
Until now, a user needed to first sign in with his LDAP identity and then manually
link his/her account with an omniauth identity from their profile.
Only when this is done can the user authenticate with the omniauth provider and at
the same time benefit from the LDAP integration (HTTPS authentication with LDAP
username/password and in EE: LDAP groups, SSH keys etc.).
This feature automates the process by looking up a corresponding LDAP person when a
user connects with omniauth for the first time and then automatically linking the LDAP
and omniauth identities (of course, like the existing allow_single_sign_on setting,
this is meant to be used with trusted omniauth providers).
The result is identical to a manual account link.
Add config initializers for other omniauth settings.
2015-06-03 11:46:20 +02:00
Robert Speicher
39d5a4878f
Add JS specs for Array extensions
2015-06-02 20:32:07 -04:00
Robert Speicher
4560954404
Move jQuery enable/disable extensions to extensions/jquery
...
Removes redundant enableButton/disableButton extensions, and adds specs
for the jQuery extensions.
2015-06-02 20:32:07 -04:00
Robert Speicher
f76a3f3db7
Add ZenMode javascript specs
2015-06-02 20:32:07 -04:00
Dmitriy Zaporozhets
79aac2c128
Merge branch 'ignore-references' into 'master'
...
Don't notify users mentioned in code blocks or blockquotes.
cc @rspeicher
See merge request !753
2015-06-02 18:39:18 +00:00
Robert Speicher
9e7a9c63a5
Further limit the limited whitelist for project/group descriptions
2015-06-02 13:41:12 -04:00
Robert Speicher
79c4e3899f
Rename ReferenceFilterSpecHelper to FilterSpecHelper
...
And make it more generalized for all filter specs.
2015-06-02 13:27:53 -04:00
Robert Speicher
442a0663da
Add feature specs for Project and Group description rendering
2015-06-02 13:04:10 -04:00
Robert Speicher
023dd2907b
Add a pipeline context option for SanitizationFilter
...
When this option is `:description`, we use a more restrictive whitelist.
This is used for Project and Group description fields.
2015-06-02 13:04:10 -04:00
Valery Sizov
b931c11e1b
GitLab CI service sends gitlab-ci.yml file
2015-06-02 16:46:01 +03:00
Douwe Maan
a916936f3f
Fix spec.
2015-06-02 15:00:51 +02:00
Douwe Maan
94919c7ef6
Ignore references in blockquotes.
2015-06-02 13:17:21 +02:00
Douwe Maan
fe78984f20
Actually ignore references in code blocks etc.
2015-06-02 13:17:11 +02:00