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
path: root/spec
AgeCommit message (Collapse)Author
2015-06-18Fix 403 Access Denied error messages when accessing Labels section in a ↵Stan Hu
project that has MRs disabled but issues enabled Closes #1813
2015-06-18Merge branch 'fix/oauth_user_ldap_person' into 'master'Douwe Maan
Fix behavior of ldap_person method in Gitlab::OAuth::User Code tweaks in 45e9150a caused the ldap_person method to not return expected results. Improved tests to cover the ldap_person method, which was previously stubbed. Restored the previous implementation of ldap_person, as I could not find a more concise to write it that still works with all the test cases. See merge request !837
2015-06-16Fix Preferences feature specRobert Speicher
2015-06-16Add `allowing_for_delay` helper method for feature specsRobert Speicher
cherry-picked
2015-06-16Refactor dashboard_choicesRobert Speicher
cherry-picked
2015-06-16Spec the failure cases for PreferencesController#updateRobert Speicher
cherry-picked
2015-06-16Make the dashboard choice text match the text in the sidebarRobert Speicher
cherry-picked
2015-06-16Add feature specs for default dashboard preferenceRobert Speicher
cherry-picked
2015-06-16Add a form field to customize the dashboard preferenceRobert Speicher
cherry-picked
2015-06-16Add RootControllerRobert Speicher
This controller is now the target for `root_url`. It sub-classes DashboardController so we can render the old default without a redirect if the user hasn't customized their dashboard location. cherry-picked
2015-06-16Add `dashboard` attribute to User modelRobert Speicher
cherry-picked
2015-06-16Simplify the javascript behavior for Preference updatingRobert Speicher
cherry-picked
2015-06-16Move the "Design" templates and logic to PreferencesRobert Speicher
cherry-picked
2015-06-16Add Profiles::PreferencesControllerRobert Speicher
cherry-picked
2015-06-15Merge branch 'fix-gitlab-ci-yml' into 'master'Dmitriy Zaporozhets
Look for .gitlab-ci.yml only if checkout_sha is present Fixes https://dev.gitlab.org/gitlab/gitlabhq/issues/2396 cc @vsizov See merge request !818
2015-06-10Fix shoulda-matchers requireRobert Speicher
2015-06-10Memoize result of JSON.parse in json_responseRobert Speicher
This might see a minor speedup in test cases that call this method many times.
2015-06-10Add spec/support files for WebMock and test coverageRobert Speicher
2015-06-10"expect { }.not_to raise_error" no longer takes a specific classRobert Speicher
2015-06-10ensure_length_of -> validate_length_ofRobert Speicher
2015-06-09Correctly remove already-mentioned commits for cross referencesRobert Speicher
Fixes #1778
2015-06-05Merge branch 'cernvcs/gitlab-ce-feature/auto_link_ldap_omniauth'Douwe Maan
2015-06-05Merge branch 'maser/gitlab-ce-order-commit-comments-in-api' into 'master'Dmitriy Zaporozhets
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-04Merge branch 'rs-remove-guard' into 'master'Dmitriy Zaporozhets
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-04Merge branch 'fix-upgrader-script' into 'master'Dmitriy Zaporozhets
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-04Merge branch 'make-namespaces-api-available-to-all-users' into 'master'Dmitriy Zaporozhets
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-04Remove unnecessary require from RepositoryCache specRobert Speicher
2015-06-04Remove show actions from Admin and Project DeployKeysRobert Speicher
2015-06-03Merge branch 'fix-group-remove' into 'master'Dmitriy Zaporozhets
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-03Merge branch 'repo-remove'Dmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/projects_spec.rb
2015-06-03Skip repo removing whem remove user or groupDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-03Merge branch 'repo-remove' into fix-group-removeDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/projects_spec.rb
2015-06-03Fix tests and increase delay time before remove repositoryDmitriy 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-06-03Add option to automatically link omniauth and LDAP identitiesAlex Lossent
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-03Add JS specs for Array extensionsRobert Speicher
2015-06-03Move jQuery enable/disable extensions to extensions/jqueryRobert Speicher
Removes redundant enableButton/disableButton extensions, and adds specs for the jQuery extensions.
2015-06-03Add ZenMode javascript specsRobert Speicher
2015-06-02Merge branch 'ignore-references' into 'master'Dmitriy Zaporozhets
Don't notify users mentioned in code blocks or blockquotes. cc @rspeicher See merge request !753
2015-06-02Further limit the limited whitelist for project/group descriptionsRobert Speicher
2015-06-02Rename ReferenceFilterSpecHelper to FilterSpecHelperRobert Speicher
And make it more generalized for all filter specs.
2015-06-02Add feature specs for Project and Group description renderingRobert Speicher
2015-06-02Add a `pipeline` context option for SanitizationFilterRobert Speicher
When this option is `:description`, we use a more restrictive whitelist. This is used for Project and Group description fields.
2015-06-02GitLab CI service sends gitlab-ci.yml fileValery Sizov
2015-06-02Fix spec.Douwe Maan
2015-06-02Ignore references in blockquotes.Douwe Maan
2015-06-02Actually ignore references in code blocks etc.Douwe Maan
2015-06-02Merge branch 'web-editor-rugged' into 'master'Dmitriy Zaporozhets
Create and edit files in web editor via rugged - [x] create file via rugged - [x] update file via rugged - [x] remove file via rugged - [ ] fix tests - [x] remove satellites code - [x] create activity event for new/edit file via rugged - [x] base64 support Part of https://dev.gitlab.org/gitlab/gitlabhq/issues/2300 See merge request !751
2015-06-02Remove unnecessary satellite files and add CHANGELOG itemDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-02Merge branch 'rs-issue-1721' into 'master'Douwe Maan
Fix link_to_gfm with only a reference having the incorrect link Before: ```ruby link_to_gfm("#4", "/foo") # => "<a href="/namespace/project/issues/4" class="gfm gfm-issue">#4</a>" link_to_gfm("See #4", "/foo") # => "<a href="/foo">See </a><a href="/namespace/project/issues/4" class="gfm gfm-issue">#4</a>" ``` After: ```ruby link_to_gfm("#4", "/foo") # => "<a href="/foo">#4</a>" link_to_gfm("See #4", "/foo") # => "<a href="/foo">See </a><a href="/namespace/project/issues/4" class="gfm gfm-issue">#4</a>" ``` Closes #192 Closes #1721 Closes [GitHub #7115](https://github.com/gitlabhq/gitlabhq/issues/7115) See merge request !739