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/lib
AgeCommit message (Collapse)Author
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-05Merge branch 'cernvcs/gitlab-ce-feature/auto_link_ldap_omniauth'Douwe Maan
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-04Remove unnecessary require from RepositoryCache specRobert Speicher
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-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 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-02Ignore references in blockquotes.Douwe Maan
2015-06-02Actually ignore references in code blocks etc.Douwe Maan
2015-05-30Update mocking/stubbing syntax to the new RSpec 3 syntaxMartins Polakovs
2015-05-27Add ExternalLinkFilter to Markdown pipelineRobert Speicher
Forces a `rel="nofollow"` attribute on all external links.
2015-05-26Fix ClosingIssueExtractor specsRobert Speicher
2015-05-26Make use of to_reference in more specsRobert Speicher
2015-05-26Support only double quotes for multi-word label referencesRobert Speicher
2015-05-26Use `to_reference` in reference filter specsRobert Speicher
2015-05-26Update CommitRange#to_reference to use full SHAsRobert Speicher
We only want them shortened by the filter, which calls to_s
2015-05-26Merge branch 'rs-issue-1690' into 'master'Dmitriy Zaporozhets
Better handle label references that aren't actually references Fixes #1690 See merge request !705
2015-05-25Better handle label references that aren't actually referencesRobert Speicher
Fixes #1690
2015-05-23Fix upgrader scriptMartins Polakovs
2015-05-22Remove Rack Attack monkey patches and bump to version 4.3.0Stan Hu
2015-05-20Subclass TaskList::Filter to fix a bugRobert Speicher
Instead of using a fork, we subclass the filter and only apply the `task-list` class to list items that actually are task lists. Closes #1645 See https://github.com/github/task_list/pull/60
2015-05-18Simplify and unify helpers for rendering markupJakub Jirutka
2015-05-18Rename MarkdownHelper to MarkupHelperJakub Jirutka
2015-05-18Handle AsciiDoc better, reuse HTML pipeline filters (fixes #9263)Jakub Jirutka
2015-05-13Minor RelativeLinkFilter cleanupRobert Speicher
2015-05-13Merge branch 'text-batch-1' into 'master'Dmitriy Zaporozhets
Batch 1 of text improvements Batch 1 of changes from my effort at !635 to walk through every piece of text in GitLab and see if it can be improved. This batch includes: - Improve text on error pages. - Improve Git access error messages. - Improve description of branch protection levels. - Improve OAuth signup error message. - Improve OAuth application flash messages. cc @rspeicher See merge request !642
2015-05-13Merge pull request #9276 from jirutka/relative_link_filterDmitriy Zaporozhets
Extract handling of relative file links to its own HTML filter
2015-05-13Fix GitAccess.Douwe Maan
2015-05-12Don't accidentally unblock auto created users from Active Directory.Douwe Maan
2015-05-12Add spec for RelativeLinkFilterJakub Jirutka
2015-05-08Remove class and id attributes from SanitizationFilter whitelistRobert Speicher
2015-05-03Merge pull request #8756 from zaburt/force_utf8_on_oauth_propertiesDmitriy Zaporozhets
add common method to force utf8 and force oauth properties to be utf8
2015-05-03add common method to force utf8 and force oauth properties to be utf8Onur Küçük
2015-04-30Add Project#get_issueRobert Speicher
2015-04-30Autolink short URLsRobert Speicher
2015-04-30Add jira_project project factoryRobert Speicher
2015-04-30Add Gitlab::Markdown::SanitizationFilterRobert Speicher
This just extends the HTML::Pipeline::SanitizationFilter with our custom whitelist.
2015-04-30Add Gitlab::Markdown::AutolinkFilterRobert Speicher
2015-04-30Add Gitlab::Markdown::TableOfContentsFilterRobert Speicher
Removes header and table of contents processing from Redcarpet renderer.
2015-04-30Show incompatible projects in Google Code import statusStan Hu
Importing a JSON file with only one Subversion project lead to confusion over whether the system was working. Provide status why these projects could not be imported directly. Closes #1531
2015-04-28Merge branch 'fix-commit-data-url-generation' into 'master'Douwe Maan
Fix bug where commit data would not appear in some subdirectories Fix issue where commit data would not show up in some subdirectories due to escaped slashes. For example: https://gitlab.common-lisp.net/ecl/ecl/tree/develop/src/gc (now patched with fix) The upgrade from Rails v4.1.2 to v4.1.9 (76aad9b76ed) caused slashes in a tree to be escaped automatically. Using a wildcard glob in the route prevents this behavior. * Closes #1478, #1459 * Closes https://github.com/gitlabhq/gitlabhq/issues/9037 See merge request !581
2015-04-27Fix (project_)name_regex to accept non-ASCII letters and dashJakub Jirutka
2015-04-27Fix bug where commit data would not appear in some subdirectoriesStan Hu
The upgrade from Rails v4.1.2 to v4.1.9 (76aad9b76ed) caused slashes in a tree to be escaped automatically. Using wildcard globs prevents this behavior. Closes #1478, #1459
2015-04-25Fix NotificationService specRobert Speicher
2015-04-25Add CommitRange directly to results HashRobert Speicher
2015-04-25Update CommitRangeReferenceFilter to use CommitRange classRobert Speicher
Also matches CommitReferenceFilter's new behavior of always using short SHAs in the link text.
2015-04-25Always use short SHAs as commit reference link textRobert Speicher
Now when a user pastes a full SHA like `d7f61affaf845f44b4cc995e34eb1606c47c8eff`, its link text will only show `d7f61aff` for brevity.