summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Use heredocs.Douwe Maan2015-08-201-95/+107
| | |
| | * Add fixture_file helper.Douwe Maan2015-08-205-21/+3
| | |
| | * Removed unused fixtures.Douwe Maan2015-08-201-1/+1
| | |
| | * Merge branch 'master' into reply-by-emailDouwe Maan2015-08-203-238/+4
| | |\
| | * | Test Gitlab::Email::Receiver.Douwe Maan2015-08-201-0/+135
| | | |
| | * | Test Email::AttachmentUploader.Douwe Maan2015-08-202-1/+27
| | | |
| | * | Extract ReplyParser and AttachmentUploader from Receiver.Douwe Maan2015-08-202-481/+191
| | | |
| | * | Start on tests.Douwe Maan2015-08-191-0/+481
| | | |
| | * | Test Gitlab::ReplyByEmail.Douwe Maan2015-08-191-0/+86
| | | |
| * | | Remove trailing HTML entities from non-Rinku autolinks as well.rs-dev-issue-2550Robert Speicher2015-08-201-0/+10
| | |/ | |/|
* | | Issue #993: Fixed login failure when extern_uid changesJoel Koglin2015-08-211-0/+22
|/ /
* | Merge branch 'remove-satellites'Dmitriy Zaporozhets2015-08-193-238/+4
|\ \ | |/ |/| | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Merge branch 'master' into remove-satellitesDmitriy Zaporozhets2015-08-171-1/+1
| |\ | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets2015-08-113-224/+4
| | | | | | | | | | | | | | | This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.
* | | Merge branch 'fix-authhash-infinite-loop' into 'master'Robert Speicher2015-08-181-4/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | Fix infinite loop when SAML was incorrectly configured. See merge request !1170
| * | | Fix infinite loop when SAML was incorrectly configured.fix-authhash-infinite-loopDouwe Maan2015-08-171-4/+0
| | |/ | |/|
* | | Merge branch 'mr-source-branch-clear-cache' into 'master'Dmitriy Zaporozhets2015-08-181-0/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear cache to prevent listing deleted branches after MR removes source branch Closes #2272 See merge request !1160
| * | | Clear cache to prevent listing deleted branches after MR removes source branchStan Hu2015-08-141-0/+14
| |/ / | | | | | | | | | Closes #2272
* | | Merge branch 'fix-backslashes-inline-diff' into 'master'Douwe Maan2015-08-171-0/+39
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug where backslashes in inline diffs could be dropped This MR fixes a bug in inline diff generation causing backslashes to be dropped. For example, the input: ``` input.to_s.sub(/[\r\n].+/,'').sub(/\\[rn].+/, '').strip ``` The second backslash is dropped in the second `sub` statement: ![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/16e513894f7ecda1b111fe7d43e7f388/image.png) With this fix, it looks like: ![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/90fd635a937a68f1b2403740ebc75e3a/image.png) Closes #2253 See merge request !1143
| * | Fix bug where backslashes in inline diffs could be droppedStan Hu2015-08-111-0/+39
| |/ | | | | | | Closes #2253
* | markup_helper: detect .mkd and .mkdn as markdownBen Boeckel2015-08-121-1/+1
|/
* Revert "Merge branch 'drop-satellites'"Dmitriy Zaporozhets2015-08-113-4/+224
| | | | | | | This reverts commit 957e849f41d96fa9778fcdd06792d2f0274b29ab, reversing changes made to 6b9dbe9f5a175a8162abf296367f561bab3eea1a. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'rs-reference-data-attrs' into 'master' Robert Speicher2015-08-107-0/+64
|\ | | | | | | | | | | | | Add `data-[type]-id` attribute to reference links This is to let us redact them later in another filter. See merge request !1110
| * Add `data-[type]-id` attribute to reference linksrs-reference-data-attrsRobert Speicher2015-08-087-0/+64
| | | | | | | | This is to let us redact them later in another filter.
* | Add `Group#add_*` convenience methodsrs-group-convenience-methodsRobert Speicher2015-08-071-1/+1
|/ | | | Encapsulates the logic for `Gitlab::Access::WHATEVER` levels.
* Merge branch 'fix-branch-errors-with-encoded-slashes' into 'master'Douwe Maan2015-08-061-0/+10
|\ | | | | | | | | | | | | | | | | Fix errors deleting, creating, and viewing graphs using branches with encoded slashes * Closes #1804 * Closes #1359 See merge request !1084
| * Fix "Network" and "Graphs" pages for branches with encoded slashesStan Hu2015-08-021-0/+10
| | | | | | | | Closes #1359
* | Merge branch 'drop-satellites'Dmitriy Zaporozhets2015-08-053-224/+4
|\ \
| * | Improve tests to use real branches in merge requestsDmitriy Zaporozhets2015-08-041-4/+4
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Merge branch 'master' into drop-satellitesDmitriy Zaporozhets2015-08-042-0/+17
| |\ \ | | |/ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Remove satellitesDmitriy Zaporozhets2015-07-152-220/+0
| | |
* | | Revert "Update noteable after a new note is added"revert_touchValery Sizov2015-08-051-4/+0
| |/ |/| | | | | This reverts commit fbdaf0e2a517660c0e4e3960f20b2d3568c33e78.
* | Add spec to RelativeLinkFilter for Unicode filenamesRobert Speicher2015-07-301-0/+16
| |
* | GoogleCode importer: Do not care about casing of image file extensionsSven Strickroth2015-07-201-0/+1
|/ | | | Signed-off-by: Sven Strickroth <email@cs-ware.de>
* Extract the longest-matching ref from a commit path when multiple matches occurStan Hu2015-07-011-2/+9
| | | | Closes #1839
* Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets2015-06-2315-103/+145
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb
| * Fix Gitlab::OAuth::User specrs-rspec3Robert Speicher2015-06-221-37/+48
| |
| * Change `to_not` calls to `not_to`Robert Speicher2015-06-225-10/+10
| | | | | | | | Both work, but now we're consistent across the entire app.
| * Fix `raise_error` without an argument deprecation warningsRobert Speicher2015-06-223-4/+4
| |
| * Update mock and stub syntax for specsRobert Speicher2015-06-228-53/+84
| |
* | 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.