summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Groundwork for merging CI into CEDouwe Maan2015-08-2582-2/+4937
|
* Fix Error 500 in API when accessing a group that has an avatarStan Hu2015-08-241-1/+2
| | | | Closes #2340
* Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu2015-08-236-29/+61
| | | | | | | | | | | | | | | | | | | | | | | and request them each session. Pass these tokens to the project import data. This prevents the need to encrypt these tokens and clear them in case they expire or get revoked. For example, if you deleted and re-created OAuth2 keys for Bitbucket, you would get an Error 500 with no way to recover: ``` Started GET "/import/bitbucket/status" for x.x.x.x at 2015-08-07 05:24:10 +0000 Processing by Import::BitbucketController#status as HTML Completed 500 Internal Server Error in 607ms (ActiveRecord: 2.3ms) NameError (uninitialized constant Import::BitbucketController::Unauthorized): app/controllers/import/bitbucket_controller.rb:77:in `rescue in go_to_bitbucket_for_permissions' app/controllers/import/bitbucket_controller.rb:74:in `go_to_bitbucket_for_permissions' app/controllers/import/bitbucket_controller.rb:86:in `bitbucket_unauthorized' ``` Closes #1871
* Create cross-reference for closing references on commits pushed to ↵Maël Valais2015-08-221-23/+34
| | | | | | | | | | | non-default branches. I also revamped the tests on "closing reference commits" (= "Fixes #xxxx" for example). Now, there are two different contexts: - when the commits with "closing reference" are pushed to the default branch, - when the commits with "closing reference" are pushed to a non-default branch. Closes gitlab-org/gitlab-ce#2190.
* Merge branch 'reply-by-email' into 'master'Robert Speicher2015-08-2228-28/+2613
|\ | | | | | | | | | | | | | | | | | | Reply by email Fixes #1360. It's far from done, but _it works_. See merge request !1173
| * No HTML-only email pleaseDouwe Maan2015-08-214-97/+59
| |
| * Block blocked users from replying to threads by email.reply-by-emailDouwe Maan2015-08-211-0/+10
| |
| * Fix markdown specs again. Apparently development and test behave differently.Douwe Maan2015-08-201-2/+1
| |
| * Fix markdown specs.Douwe Maan2015-08-201-0/+1
| |
| * Add stub_reply_by_email_setting helper.Douwe Maan2015-08-203-8/+11
| |
| * Use heredocs.Douwe Maan2015-08-202-124/+107
| |
| * Add fixture_file helper.Douwe Maan2015-08-208-29/+16
| |
| * Update spec.Douwe Maan2015-08-201-2/+2
| |
| * Remove more unused fixtures.Douwe Maan2015-08-205-245/+0
| |
| * Removed unused fixtures.Douwe Maan2015-08-2011-417/+1
| |
| * Merge branch 'master' into reply-by-emailDouwe Maan2015-08-2014-304/+50
| |\
| * | Test Gitlab::Email::Receiver.Douwe Maan2015-08-201-0/+135
| | |
| * | Test EmailReceiverWorker.Douwe Maan2015-08-202-5/+56
| | |
| * | Test Email::AttachmentUploader.Douwe Maan2015-08-203-25/+51
| | |
| * | Extract ReplyParser and AttachmentUploader from Receiver.Douwe Maan2015-08-202-481/+191
| | |
| * | Start on tests.Douwe Maan2015-08-1934-0/+3293
| | |
| * | Test Gitlab::ReplyByEmail.Douwe Maan2015-08-191-0/+86
| | |
* | | Merge branch 'fix-email-autocomplete' into 'master'Douwe Maan2015-08-211-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug preventing invite by e-mail This was broken in 70f5291808 as a result of introducing the ability to filter by current user. Closes #2320 See merge request !1181
| * | | Fix bug preventing invite by e-mailStan Hu2015-08-211-1/+1
| | |/ | |/| | | | | | | | | | | | | This was broken in 70f5291808 as a result of introducing the ability to filter by current user. Closes #2320
* | | Merge branch 'rs-dev-issue-2550' into 'master'Douwe Maan2015-08-211-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove trailing HTML entities from non-Rinku autolinks as well. Addresses internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2550 See merge request !1179
| * | | Remove trailing HTML entities from non-Rinku autolinks as well.rs-dev-issue-2550Robert Speicher2015-08-201-0/+10
| | | |
* | | | Merge branch 'hide-recent-push' into 'master'Dmitriy Zaporozhets2015-08-211-0/+29
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only show recent push event if the branch still exists or a recent merge request has not been created Closes #2277 See merge request !1167
| * | | | Only show recent push event if the branch still exists or a recent merge ↵Stan Hu2015-08-201-0/+29
| | |/ / | |/| | | | | | | | | | | | | | | | | | request has not been created Closes #2277
* | | | Merge branch 'comment-case-insensetive-search' into 'master'Dmitriy Zaporozhets2015-08-211-0/+6
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Case-insensitive search for comments Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1174
| * | | Case-insensetive search for commentscomment-case-insensetive-searchDmitriy Zaporozhets2015-08-191-0/+6
| |/ / | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Fix blame view line groupingsStan Hu2015-08-201-0/+43
|/ / | | | | | | Closes #2305
* | Merge branch 'remove-satellites'Dmitriy Zaporozhets2015-08-1914-304/+50
|\ \ | |/ |/| | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Merge branch 'master' into remove-satellitesDmitriy Zaporozhets2015-08-177-5/+119
| |\ | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Refactor pre/post receive commit services into one classDmitriy Zaporozhets2015-08-141-1/+1
| | |
| * | Fix tests for web editorDmitriy Zaporozhets2015-08-141-3/+0
| | |
| * | Disable pre-receive check in test envDmitriy Zaporozhets2015-08-141-0/+7
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets2015-08-1113-290/+46
| | | | | | | | | | | | | | | 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 'rs-remove-gfm_with_options' into 'master'Douwe Maan2015-08-171-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the `gfm_with_options` helper It was redundant because `gfm` also took options. See merge request !1152
| * | | | Remove the `gfm_with_options` helperrs-remove-gfm_with_optionsRobert Speicher2015-08-121-2/+2
| | | | | | | | | | | | | | | | | | | | It was redundant because `gfm` also took options.
* | | | | 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
* | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceStan Hu2015-08-141-0/+37
|\ \ \ \
| * \ \ \ Merge branch 'disable-internal-tracker-when-external-in-use' into 'master'Dmitriy Zaporozhets2015-08-141-0/+37
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable internal issue tracker if external tracker in use ### What does this MR do? This MR disables routes to the internal issue tracker if an external issue tracker (e.g. Redmine) is in use. A 404 page is returned if a user attempts to access any of the issue routes. ### Why was this MR needed? Enabling the external issue tracker would still keep the internal one active, which would lead to odd behavior where users could create issues but not close them. ### What are the relevant issue numbers? Closes #2006 See merge request !993
| | * | | Disable internal issue tracker if external tracker in useStan Hu2015-07-171-0/+37
| | | | | | | | | | | | | | | | | | | | Closes #2006
* | | | | Update Flowdock integration to support new Flowdock APIBoyan Tabakov2015-08-141-4/+8
|/ / / / | | | | | | | | | | | | Requires that users create a Git source in their flows and update the configured token to the Git source token. The old flow tokens can't be used.
* | | | Merge branch 'improve-hipchat-service-test' into 'master'Dmitriy Zaporozhets2015-08-133-0/+53
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide more feedback what went wrong if HipChat service failed test This MR adds support for displaying the error message during HipChat service test. Before an Error 500 would be displayed with no helpful remarks. Screenshot: ![image](https://gitlab.com/stanhu/gitlab-ce/uploads/10f82eb02db138f9680e69cdb3d3ed82/image.png) Issue gitlab-com/support-forum#213 See merge request !1144