gitlab-org--gitlab-foss/spec/controllers/projects
Robert Speicher 5c6cbfa6cb Merge branch 'atom-routes' into 'master'
Allow browsing branches that end with '.atom'

## What does this MR do?

1. Simplify the regex capture in the routing for the CommitsController
   to not exclude the '.atom' suffix. That's a perfectly valid git
   branch name, so we shouldn't blow up if we get it.
2. Because Rails now can't automatically detect the request format, add
   some code to do so in `ExtractPath` when there is no path. This means
   that, given branches 'foo' and 'foo.atom', the Atom feed for the
   former is unroutable. To fix this: don't do that! Give the branches
   different names!

## Why was this MR needed?

Creating a branch or tag name ending in '.atom' would cause some 500s on that repo.

## What are the relevant issue numbers?

Closes #21955. Related to !5994.

See merge request !6750
2016-10-11 14:04:31 +00:00
..
boards Add tests to Projects::Boards::IssuesController#create action 2016-10-06 11:00:01 +01:00
avatars_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
blame_controller_spec.rb Move a few controller specs to their correct locations 2016-02-18 21:50:49 -05:00
blob_controller_spec.rb Use user from let instead recreate in before 2016-10-09 20:31:28 +05:00
boards_controller_spec.rb remove Ability.abilities 2016-08-30 11:35:06 -07:00
branches_controller_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
commit_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
commits_controller_spec.rb Allow browsing branches that end with '.atom' 2016-10-11 13:31:12 +01:00
compare_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
discussions_controller_spec.rb Address review feedback 2016-08-16 11:04:26 -05:00
environments_controller_spec.rb Incorporate feedback 2016-07-29 13:54:45 +02:00
find_file_controller_spec.rb Merge branch 'master' of github.com:gitlabhq/gitlabhq 2016-01-07 12:56:18 +01:00
forks_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
group_links_controller_spec.rb fix group links 404 2016-10-05 09:57:54 +01:00
imports_controller_spec.rb Fix denting and spec 2016-03-13 13:44:31 +01:00
issues_controller_spec.rb Refresh todos count cache when an Issue/MR is deleted 2016-09-08 15:50:07 -03:00
labels_controller_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
merge_requests_controller_spec.rb Add a /wip slash command 2016-10-03 09:36:21 +02:00
milestones_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
notes_controller_spec.rb Address review feedback 2016-08-16 11:04:26 -05:00
project_members_controller_spec.rb Fix a few things after the initial improvment to Members::DestroyService 2016-10-03 16:57:48 +02:00
protected_branches_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
raw_controller_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
refs_controller_spec.rb Fix Style/AlignHash cop violations 2015-06-22 22:24:39 -07:00
repositories_controller_spec.rb Fix test failure by accessing Content-Type header directly. 2016-09-27 20:52:41 -06:00
services_controller_spec.rb Fix missing flash messages on service edit page 2016-09-05 14:13:15 +03:00
snippets_controller_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
tags_controller_spec.rb Show release notes in tag list 2016-07-26 16:31:25 +01:00
templates_controller_spec.rb Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
todo_controller_spec.rb Cache todos pending/done dashboard query counts 2016-07-12 18:57:52 +02:00
tree_controller_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
uploads_controller_spec.rb Get rid of is_image in FileUploader 2016-07-19 18:51:09 +02:00