<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/app/controllers/dashboard_controller.rb, branch ide-diff-cursor</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Resolve "DashboardController#activity.json is slow due to SQL"</title>
<updated>2017-11-06T16:52:56+00:00</updated>
<author>
<name>Francisco Javier López</name>
<email>fjlopez@gitlab.com</email>
</author>
<published>2017-11-06T16:52:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=bf0331dc72db658b012d58e33ca47da6d8f99d46'/>
<id>bf0331dc72db658b012d58e33ca47da6d8f99d46</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a specialized class for querying events</title>
<updated>2017-08-10T15:45:49+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-07-27T17:42:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=aac1de46c9be659b74da12f704412f38292974db'/>
<id>aac1de46c9be659b74da12f704412f38292974db</id>
<content type='text'>
This changes various controllers to use the new EventCollection class
for retrieving events. This class uses a JOIN LATERAL query on
PostgreSQL to retrieve queries in a more efficient way, while falling
back to a simpler / less efficient query for MySQL.

The EventCollection class also includes a limit on the number of events
to display to prevent malicious users from cycling through all events,
as doing so could put a lot of pressure on the database.

JOIN LATERAL is only supported on PostgreSQL starting with version 9.3.0
and as such this optimisation is only used when using PostgreSQL 9.3 or
newer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes various controllers to use the new EventCollection class
for retrieving events. This class uses a JOIN LATERAL query on
PostgreSQL to retrieve queries in a more efficient way, while falling
back to a simpler / less efficient query for MySQL.

The EventCollection class also includes a limit on the number of events
to display to prevent malicious users from cycling through all events,
as doing so could put a lot of pressure on the database.

JOIN LATERAL is only supported on PostgreSQL starting with version 9.3.0
and as such this optimisation is only used when using PostgreSQL 9.3 or
newer.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove some deprecated methods</title>
<updated>2017-05-30T21:24:17+00:00</updated>
<author>
<name>Toon Claes</name>
<email>toon@gitlab.com</email>
</author>
<published>2017-05-30T21:24:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1e5506d01619780da68fc51ada58188a9070255b'/>
<id>1e5506d01619780da68fc51ada58188a9070255b</id>
<content type='text'>
To avoid the use of slow queries, remove some deprecated methods and encourage
the use of ProjectFinder to find projects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid the use of slow queries, remove some deprecated methods and encourage
the use of ProjectFinder to find projects.
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently display last push event widget</title>
<updated>2017-05-25T20:21:30+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2017-05-20T19:27:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e45e540d1d90549cc5f45521360241afce9eaf18'/>
<id>e45e540d1d90549cc5f45521360241afce9eaf18</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Present group and dashboard MR list without grouping by project</title>
<updated>2017-01-27T22:20:18+00:00</updated>
<author>
<name>Oswaldo Ferreira</name>
<email>oswaldo@gitlab.com</email>
</author>
<published>2017-01-10T23:52:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=aeb9db6753cfdd56f82d80c0e2c01f63d65b705d'/>
<id>aeb9db6753cfdd56f82d80c0e2c01f63d65b705d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Restrict starred projects to viewable ones</title>
<updated>2016-05-10T17:13:52+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2016-05-10T17:03:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=97424ea544d0954e582a356586270e983d3bbb7a'/>
<id>97424ea544d0954e582a356586270e983d3bbb7a</id>
<content type='text'>
`User#starred_projects` doesn't perform any visibility checks. This has
a couple of problems:

1. It assumes a user can always view all of their starred projects in
   perpetuity (project not changed to private, access revoked, etc.).
2. It assumes that we'll only ever allow a user to star a project they
   can view. This is currently the case, but bugs happen.

Add `User#viewable_starred_projects` to filter the starred projects by
those the user either has explicit access to, or are public or
internal. Then use that in all places where we list the user's starred
projects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`User#starred_projects` doesn't perform any visibility checks. This has
a couple of problems:

1. It assumes a user can always view all of their starred projects in
   perpetuity (project not changed to private, access revoked, etc.).
2. It assumes that we'll only ever allow a user to star a project they
   can view. This is currently the case, but bugs happen.

Add `User#viewable_starred_projects` to filter the starred projects by
those the user either has explicit access to, or are public or
internal. Then use that in all places where we list the user's starred
projects.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix an issue causing the Dashboard/Milestones page to be blank</title>
<updated>2016-03-23T11:02:15+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2016-03-22T18:19:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7dc16346bba174d6075cf438adcd70a5596ba935'/>
<id>7dc16346bba174d6075cf438adcd70a5596ba935</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Dedupe labels in labels selector in Dashboard pages</title>
<updated>2016-03-18T20:49:56+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2016-03-18T20:49:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=733ae58798f6736af156e94b6906ac9c0b76fa3d'/>
<id>733ae58798f6736af156e94b6906ac9c0b76fa3d</id>
<content type='text'>
Also moved useless helper methods and directly to the
DashboardController.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also moved useless helper methods and directly to the
DashboardController.
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated controller with before_action</title>
<updated>2016-03-18T15:18:06+00:00</updated>
<author>
<name>Phil Hughes</name>
<email>me@iamphill.com</email>
</author>
<published>2016-03-17T09:09:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0eecc214853fc07b9237b50ab65a6c702cbfaeb4'/>
<id>0eecc214853fc07b9237b50ab65a6c702cbfaeb4</id>
<content type='text'>
Fixed other issues based on feedback
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed other issues based on feedback
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes issue on dashboard issues</title>
<updated>2016-03-18T15:18:06+00:00</updated>
<author>
<name>Phil Hughes</name>
<email>me@iamphill.com</email>
</author>
<published>2016-03-16T19:14:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d847db79cb6a99d9cfb6f4c57587887942965388'/>
<id>d847db79cb6a99d9cfb6f4c57587887942965388</id>
<content type='text'>
They would try to load JSON from a project even though it isn't a single project
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They would try to load JSON from a project even though it isn't a single project
</pre>
</div>
</content>
</entry>
</feed>
