<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/spec/controllers, branch patch/fix-mergerequest-diff</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Fixed MergeRequestController spec</title>
<updated>2016-03-30T03:02:32+00:00</updated>
<author>
<name>Gabriel Mazetto</name>
<email>gabriel@gitlab.com</email>
</author>
<published>2016-03-30T02:55:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=808bcf5bc616af4d57011df1e37675069319e7c5'/>
<id>808bcf5bc616af4d57011df1e37675069319e7c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix/nomethod-error-on-ci' into 'master'</title>
<updated>2016-03-29T10:32:38+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2016-03-29T10:32:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=00726e4df976e1f368a95e77b7715308f59ae264'/>
<id>00726e4df976e1f368a95e77b7715308f59ae264</id>
<content type='text'>

Fix error when visiting CI root path

Closes #14528, closes #14687

See merge request !3377</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Fix error when visiting CI root path

Closes #14528, closes #14687

See merge request !3377</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix-14607' into 'master'</title>
<updated>2016-03-29T08:21:48+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2016-03-29T08:21:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a7ca8689f7e3a71c69c29203821b8e8b44254216'/>
<id>a7ca8689f7e3a71c69c29203821b8e8b44254216</id>
<content type='text'>

Ensure private project snippets are not viewable by unauthorized people

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14607

See merge request !1946</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Ensure private project snippets are not viewable by unauthorized people

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14607

See merge request !1946</pre>
</div>
</content>
</entry>
<entry>
<title>Redirect to root path when visiting `/ci`</title>
<updated>2016-03-29T06:04:17+00:00</updated>
<author>
<name>Grzegorz Bizon</name>
<email>grzesiek.bizon@gmail.com</email>
</author>
<published>2016-03-24T13:16:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b7685b57d3fc9a2e27096c5984d92fd104ff71b7'/>
<id>b7685b57d3fc9a2e27096c5984d92fd104ff71b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure private project snippets are not viewable by unauthorized people</title>
<updated>2016-03-25T11:33:42+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2016-03-25T11:31:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f4bdefdff1861c0d0e2e6ae3418be969c2600b5f'/>
<id>f4bdefdff1861c0d0e2e6ae3418be969c2600b5f</id>
<content type='text'>
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/14607.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/14607.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add definition of before action that has been moved</title>
<updated>2016-03-25T09:42:00+00:00</updated>
<author>
<name>Grzegorz Bizon</name>
<email>grzesiek.bizon@gmail.com</email>
</author>
<published>2016-03-24T07:09:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6f894bec097a4cfa378cee908d81f3cba67a09e5'/>
<id>6f894bec097a4cfa378cee908d81f3cba67a09e5</id>
<content type='text'>
Closes #14528
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #14528
</pre>
</div>
</content>
</entry>
<entry>
<title>Implementing 'Groups View' and 'TODOs View' as options for dashboard preferences.</title>
<updated>2016-03-24T18:59:54+00:00</updated>
<author>
<name>Elias Werberich</name>
<email>elias@endercoding.com</email>
</author>
<published>2016-03-24T10:12:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=c3a98d8fcc2f9f7a0ce8816c8cf9dbebe58e64e9'/>
<id>c3a98d8fcc2f9f7a0ce8816c8cf9dbebe58e64e9</id>
<content type='text'>
Fixes #14585.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #14585.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix-sorting-by-votes-on-groups-page' into 'master'</title>
<updated>2016-03-23T10:35:54+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2016-03-23T10:35:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=703f7c5d579a6ab6d7592c24f8e3f2813d9d1703'/>
<id>703f7c5d579a6ab6d7592c24f8e3f2813d9d1703</id>
<content type='text'>

Fix sorting issues/mrs by votes on the groups page

Closes #14394 

The `non_archived` scope applied here https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/controllers/concerns/issues_action.rb#L5 overrides the previous `ORDER BY` applied inside the IssuesFinder, with the default scope of the Project model, resulting in SQL errors.

```ruby
Issue.reorder(created_at: :desc).joins(:project).to_sql
=&gt; "SELECT issues.* 
    FROM issues INNER JOIN projects ON projects.id = issues.project_id
    ORDER BY issues.created_at DESC"

Issue.reorder(created_at: :desc).joins(:project).merge(Project.non_archived).to_sql
=&gt; "SELECT issues.* 
    FROM issues INNER JOIN projects ON projects.id = issues.project_id 
    WHERE projects.archived = 'f'
    ORDER BY projects.id DESC"

Issue.reorder(created_at: :desc).joins(:project).merge(Project.non_archived.only(:where)).to_sql
=&gt; "SELECT issues.* 
    FROM issues INNER JOIN projects ON projects.id = issues.project_id 
    WHERE projects.archived = 'f'
    ORDER BY issues.created_at DESC"
```

/cc @yorickpeterse 

See merge request !3333</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Fix sorting issues/mrs by votes on the groups page

Closes #14394 

The `non_archived` scope applied here https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/controllers/concerns/issues_action.rb#L5 overrides the previous `ORDER BY` applied inside the IssuesFinder, with the default scope of the Project model, resulting in SQL errors.

```ruby
Issue.reorder(created_at: :desc).joins(:project).to_sql
=&gt; "SELECT issues.* 
    FROM issues INNER JOIN projects ON projects.id = issues.project_id
    ORDER BY issues.created_at DESC"

Issue.reorder(created_at: :desc).joins(:project).merge(Project.non_archived).to_sql
=&gt; "SELECT issues.* 
    FROM issues INNER JOIN projects ON projects.id = issues.project_id 
    WHERE projects.archived = 'f'
    ORDER BY projects.id DESC"

Issue.reorder(created_at: :desc).joins(:project).merge(Project.non_archived.only(:where)).to_sql
=&gt; "SELECT issues.* 
    FROM issues INNER JOIN projects ON projects.id = issues.project_id 
    WHERE projects.archived = 'f'
    ORDER BY issues.created_at DESC"
```

/cc @yorickpeterse 

See merge request !3333</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into issue_12658</title>
<updated>2016-03-21T22:22:21+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2016-03-21T22:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=ae7b2ef62cdf61c990f914d776a6fdfc2bc49fa2'/>
<id>ae7b2ef62cdf61c990f914d776a6fdfc2bc49fa2</id>
<content type='text'>
# Conflicts:
#	app/models/issue.rb
#	app/views/projects/_home_panel.html.haml
#	app/views/shared/projects/_project.html.haml
#	db/schema.rb
#	spec/models/project_spec.rb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#	app/models/issue.rb
#	app/views/projects/_home_panel.html.haml
#	app/views/shared/projects/_project.html.haml
#	db/schema.rb
#	spec/models/project_spec.rb
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix sorting issues/mrs by votes on the groups page</title>
<updated>2016-03-21T20:01:38+00:00</updated>
<author>
<name>Douglas Barbosa Alexandre</name>
<email>dbalexandre@gmail.com</email>
</author>
<published>2016-03-21T20:01:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=100e3e7601dd4d3033cd8292814273dd0354722e'/>
<id>100e3e7601dd4d3033cd8292814273dd0354722e</id>
<content type='text'>
The `non_archived` scope applied here
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/controllers/conc
erns/issues_action.rb#L5 overrides the previous `ORDER BY` applied
inside the IssuesFinder, with the default scope of the Project model,
resulting in SQL errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `non_archived` scope applied here
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/controllers/conc
erns/issues_action.rb#L5 overrides the previous `ORDER BY` applied
inside the IssuesFinder, with the default scope of the Project model,
resulting in SQL errors.
</pre>
</div>
</content>
</entry>
</feed>
