<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/lib/api/todos.rb, branch app-differences</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>Merge branch 'security-59581-related-merge-requests-count' into 'master'</title>
<updated>2019-07-02T06:19:58+00:00</updated>
<author>
<name>Marin Jankovski</name>
<email>marin@gitlab.com</email>
</author>
<published>2019-07-02T06:19:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f66169b35c29294ecc9f63eeeedc52085d2a3fd7'/>
<id>f66169b35c29294ecc9f63eeeedc52085d2a3fd7</id>
<content type='text'>
Expose merge requests count based on user access

See merge request gitlab/gitlabhq!3157</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Expose merge requests count based on user access

See merge request gitlab/gitlabhq!3157</pre>
</div>
</content>
</entry>
<entry>
<title>Rename Todos.with_api_entity_associations to with_entity_associations</title>
<updated>2019-06-24T17:49:13+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-06-24T17:48:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f2d932268d1b30929e45d7503ef90b325a85e314'/>
<id>f2d932268d1b30929e45d7503ef90b325a85e314</id>
<content type='text'>
Since this scope is used in both the controller and the API, we rename
it to make it clear that it's used for both.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since this scope is used in both the controller and the API, we rename
it to make it clear that it's used for both.
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose merge requests count based on user access</title>
<updated>2019-06-18T09:46:46+00:00</updated>
<author>
<name>Alexandru Croitor</name>
<email>acroitor@gitlab.com</email>
</author>
<published>2019-06-12T16:28:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=09163e423ac50c8eda82f67e5419142893faf18a'/>
<id>09163e423ac50c8eda82f67e5419142893faf18a</id>
<content type='text'>
Count issues related merge requests based on user access level. And
issue can have related MRs from projects where user does not have
access so the number of related merge requests should be adjusted
based on user's ability to access the related MRs.

https://gitlab.com/gitlab-org/gitlab-ce/issues/59581
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Count issues related merge requests based on user access level. And
issue can have related MRs from projects where user does not have
access so the number of related merge requests should be adjusted
based on user's ability to access the related MRs.

https://gitlab.com/gitlab-org/gitlab-ce/issues/59581
</pre>
</div>
</content>
</entry>
<entry>
<title>Significantly reduce N+1 queries in /api/v4/todos endpoint</title>
<updated>2019-03-06T15:03:46+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2019-03-02T17:31:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=062efe4f7a83fb2b6d951b314692cca9ee8731cd'/>
<id>062efe4f7a83fb2b6d951b314692cca9ee8731cd</id>
<content type='text'>
By preloading associations and batching issuable metadata lookups,
we can significantly cut the number of SQL queries needed to load
the Todos API endpoint.

On GitLab.com, my own tests showed my user's SQL queries went
from 365 to under 60 SQL queries.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/40378
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By preloading associations and batching issuable metadata lookups,
we can significantly cut the number of SQL queries needed to load
the Todos API endpoint.

On GitLab.com, my own tests showed my user's SQL queries went
from 365 to under 60 SQL queries.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/40378
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable the Layout/ExtraSpacing cop</title>
<updated>2019-01-24T12:05:45+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2019-01-16T12:09:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3a2abc1d50b419a353edb7f7cf68f3894dfdeeef'/>
<id>3a2abc1d50b419a353edb7f7cf68f3894dfdeeef</id>
<content type='text'>
Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix API::Namespaces to accept namepaces with dots</title>
<updated>2018-11-28T11:54:11+00:00</updated>
<author>
<name>Imre Farkas</name>
<email>ifarkas@gitlab.com</email>
</author>
<published>2018-11-08T12:18:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b1e070bf4957a558ac51315dd4a6277056047e8a'/>
<id>b1e070bf4957a558ac51315dd4a6277056047e8a</id>
<content type='text'>
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to
API::NAMESPACE_OR_PROJECT_REQUIREMENTS
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to
API::NAMESPACE_OR_PROJECT_REQUIREMENTS
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable frozen string in lib/api and lib/backup</title>
<updated>2018-09-30T04:04:50+00:00</updated>
<author>
<name>gfyoung</name>
<email>gfyoung17@gmail.com</email>
</author>
<published>2018-09-29T22:34:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3836d69119fee2a625edae2a564132eff9520bc8'/>
<id>3836d69119fee2a625edae2a564132eff9520bc8</id>
<content type='text'>
Partially addresses #47424.

Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:

https://github.com/rspec/rspec-mocks/issues/1190
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Partially addresses #47424.

Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:

https://github.com/rspec/rspec-mocks/issues/1190
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'security-10-4-todo-api-reveals-sensitive-information' into 'security-10-4'</title>
<updated>2018-02-09T18:16:25+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>robert@gitlab.com</email>
</author>
<published>2018-01-18T23:10:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=fec9fb05a5775b864ef6768df166d39fcb2be4bc'/>
<id>fec9fb05a5775b864ef6768df166d39fcb2be4bc</id>
<content type='text'>
Restrict Todo API mark_as_done endpoint to the user's todos only
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restrict Todo API mark_as_done endpoint to the user's todos only
</pre>
</div>
</content>
</entry>
<entry>
<title>API: Use defined project requirements</title>
<updated>2017-08-31T12:57:47+00:00</updated>
<author>
<name>Robert Schilling</name>
<email>rschilling@student.tugraz.at</email>
</author>
<published>2017-08-31T11:44:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6a2ee0968e811d31fb4cc23b30a6b42e42adf47b'/>
<id>6a2ee0968e811d31fb4cc23b30a6b42e42adf47b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid plucking Todo ids and use sub-queries instead</title>
<updated>2017-08-03T14:31:05+00:00</updated>
<author>
<name>Toon Claes</name>
<email>toon@gitlab.com</email>
</author>
<published>2017-04-21T09:36:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a723cba57493ec3220596ca8543a8b1b1ec118fe'/>
<id>a723cba57493ec3220596ca8543a8b1b1ec118fe</id>
<content type='text'>
TodoService should not call `.select(&amp;:id)` on todos, because this is
bad performance. So instead use sub-queries, which will result in a
single SQL query to the database.

https://docs.gitlab.com/ee/development/sql.html#plucking-ids
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TodoService should not call `.select(&amp;:id)` on todos, because this is
bad performance. So instead use sub-queries, which will result in a
single SQL query to the database.

https://docs.gitlab.com/ee/development/sql.html#plucking-ids
</pre>
</div>
</content>
</entry>
</feed>
