summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix Style/IndentationWidth cop violationsStan Hu2015-06-223-5/+5
| |
* | Fix Style/CaseIndentation cop violationsStan Hu2015-06-221-10/+10
| |
* | Fix Style/AlignHash cop violationsStan Hu2015-06-222-6/+15
| |
* | Fix Style/Blocks cop violationsRobert Speicher2015-06-2211-76/+84
| |
* | Fix Style/SpaceInsideHashLiteralBraces cop violationsRobert Speicher2015-06-226-10/+10
| | | | | | | | These fixes were performed automatically by Rubocop's `-a` flag.
* | Fix Style/TrailingBlankLines cop violationsRobert Speicher2015-06-222-3/+0
| |
* | Fix Style/IndentationConsistency cop violationsRobert Speicher2015-06-221-3/+1
| |
* | Remove unnecessary whitespace between let and (Dmitriy Zaporozhets2015-06-222-2/+2
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add init test for ProjectSearchResultsStan Hu2015-06-181-0/+23
| | | | See: https://github.com/gitlabhq/gitlabhq/pull/9368#issuecomment-110350335
* Fix behavior of ldap_person method in Gitlab::OAuth::UserAlex Lossent2015-06-171-46/+56
| | | | | 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.
* Merge branch 'rs-dev-issue-2228' into 'master'Dmitriy Zaporozhets2015-06-151-0/+51
|\ | | | | | | | | | | | | | | | | | | Allow user to customize default Dashboard page Renames the "Design" profile page to "Preferences" and adds a field to customize the default Dashboard page: > ![Screen_Shot_2015-06-11_at_11.12.53_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b5282a3be7861d1148528c6bc9e7a0e0/Screen_Shot_2015-06-11_at_11.12.53_PM.png) See merge request !778
| * Add Gitlab::Themes module; remove Gitlab::ThemeRobert Speicher2015-06-131-0/+51
| | | | | | | | | | | | | | Now we can simply loop through all themes, among other things. This also removes the `dark_theme` / `light_theme` classes and the `theme_type` helper, since they weren't used anywhere.
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2015-06-142-10/+10
|\ \
| * | Change `foo.should` syntax to `expect(foo).to` in specsRobert Speicher2015-06-132-9/+9
| | |
| * | Change `foo.should_not` syntax to `expect(foo).not_to` in specsRobert Speicher2015-06-131-1/+1
| |/
* | Merge pull request #9340 from jvanbaarsen/update-noteableDmitriy Zaporozhets2015-06-141-0/+4
|\ \ | |/ |/| Update noteable after a new note is added
| * Update noteable after a new note is addedJeroen van Baarsen2015-06-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | **What does this do?** It makes sure that whenever a new note is added to an noteable item, the updated_at of that item is also updated. **Why is this needed?** At this moment when you post a comment on an issue or add a label to an issue, the updated_at is not changed. Because of this the filtering for least recently updated is not really useful (since it only takes in account the original text from the noteable). Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* | Merge branch 'cernvcs/gitlab-ce-feature/auto_link_ldap_omniauth'Douwe Maan2015-06-051-12/+154
|\ \
| * | Add option to automatically link omniauth and LDAP identitiesAlex Lossent2015-06-031-12/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'rs-remove-guard' into 'master'Dmitriy Zaporozhets2015-06-041-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Remove unnecessary require from RepositoryCache specRobert Speicher2015-06-041-1/+0
| |/ /
* | | Merge branch 'fix-upgrader-script' into 'master'Dmitriy Zaporozhets2015-06-041-0/+15
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Update mocking/stubbing syntax to the new RSpec 3 syntaxMartins Polakovs2015-05-301-1/+1
| | |
| * | Fix upgrader scriptMartins Polakovs2015-05-231-0/+15
| | |
* | | Merge branch 'ignore-references' into 'master'Dmitriy Zaporozhets2015-06-021-0/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't notify users mentioned in code blocks or blockquotes. cc @rspeicher See merge request !753
| * | | Ignore references in blockquotes.Douwe Maan2015-06-021-0/+4
| | | |
| * | | Actually ignore references in code blocks etc.Douwe Maan2015-06-021-0/+20
| | |/ | |/|
* | | Further limit the limited whitelist for project/group descriptionsrs-more-nofollowRobert Speicher2015-06-021-2/+17
| | |
* | | Rename ReferenceFilterSpecHelper to FilterSpecHelperRobert Speicher2015-06-0214-27/+15
| | | | | | | | | | | | And make it more generalized for all filter specs.
* | | Add a `pipeline` context option for SanitizationFilterRobert Speicher2015-06-021-0/+14
|/ / | | | | | | | | When this option is `:description`, we use a more restrictive whitelist. This is used for Project and Group description fields.
* | Add ExternalLinkFilter to Markdown pipeliners-dont-follow-meRobert Speicher2015-05-271-0/+33
| | | | | | | | Forces a `rel="nofollow"` attribute on all external links.
* | Fix ClosingIssueExtractor specsRobert Speicher2015-05-261-5/+5
| |
* | Make use of to_reference in more specsRobert Speicher2015-05-262-37/+37
| |
* | Support only double quotes for multi-word label referencesRobert Speicher2015-05-261-40/+14
| |
* | Use `to_reference` in reference filter specsRobert Speicher2015-05-268-92/+82
| |
* | Update CommitRange#to_reference to use full SHAsRobert Speicher2015-05-261-2/+1
| | | | | | | | We only want them shortened by the filter, which calls to_s
* | Merge branch 'rs-issue-1690' into 'master'Dmitriy Zaporozhets2015-05-261-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | Better handle label references that aren't actually references Fixes #1690 See merge request !705
| * | Better handle label references that aren't actually referencesrs-issue-1690Robert Speicher2015-05-251-0/+7
| |/ | | | | | | Fixes #1690
* | Remove Rack Attack monkey patches and bump to version 4.3.0Stan Hu2015-05-222-36/+1
|/
* Subclass TaskList::Filter to fix a bugrs-issue-1645Robert Speicher2015-05-201-0/+14
| | | | | | | | | 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
* Simplify and unify helpers for rendering markupJakub Jirutka2015-05-181-1/+1
|
* Rename MarkdownHelper to MarkupHelperJakub Jirutka2015-05-181-7/+7
|
* Handle AsciiDoc better, reuse HTML pipeline filters (fixes #9263)Jakub Jirutka2015-05-182-1/+72
|
* Minor RelativeLinkFilter cleanuprs-relative-link-filterRobert Speicher2015-05-131-68/+63
|
* Merge branch 'text-batch-1' into 'master'Dmitriy Zaporozhets2015-05-131-11/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fix GitAccess.text-batch-1Douwe Maan2015-05-131-11/+3
| |
* | Merge pull request #9276 from jirutka/relative_link_filterDmitriy Zaporozhets2015-05-131-0/+120
|\ \ | |/ |/| Extract handling of relative file links to its own HTML filter
| * Add spec for RelativeLinkFilterJakub Jirutka2015-05-121-0/+120
| |
* | Don't accidentally unblock auto created users from Active Directory.ad-block_auto_created_usersDouwe Maan2015-05-121-4/+23
|/
* Remove class and id attributes from SanitizationFilter whitelistrs-disallow-id-classRobert Speicher2015-05-081-5/+15
|