<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/app/models/key.rb, branch bootstrap-markdown-code-highlight</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>Revert "Merge branch 'rd-43185-revert-sanitize-extra-blank-spaces-used-when-uploading-a-ssh-key' into 'master'"</title>
<updated>2018-02-15T14:50:19+00:00</updated>
<author>
<name>Rubén Dávila</name>
<email>ruben@gitlab.com</email>
</author>
<published>2018-02-15T14:50:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=75fd83245450216b0aeec9993455802764eaf87b'/>
<id>75fd83245450216b0aeec9993455802764eaf87b</id>
<content type='text'>
This reverts commit e607fd796657afd214b8f25201919d3e33b3f35f.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e607fd796657afd214b8f25201919d3e33b3f35f.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Merge branch 'rd-40552-gitlab-should-check-if-keys-are-valid-before-saving' into 'master'"</title>
<updated>2018-02-12T17:39:47+00:00</updated>
<author>
<name>Rubén Dávila</name>
<email>ruben@gitlab.com</email>
</author>
<published>2018-02-12T17:39:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=740499bab5524d490218fd36033402cf67ec49f0'/>
<id>740499bab5524d490218fd36033402cf67ec49f0</id>
<content type='text'>
This reverts commit a58f8c32c62bcf5824d1fe1d0de53e9bda974d65, reversing
changes made to cd5d75c362cdf06efb8174eddfbd0f4b65687dec.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit a58f8c32c62bcf5824d1fe1d0de53e9bda974d65, reversing
changes made to cd5d75c362cdf06efb8174eddfbd0f4b65687dec.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rd-40552-gitlab-should-check-if-keys-are-valid-before-saving' into 'master'</title>
<updated>2018-02-02T19:18:12+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2018-02-02T19:18:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=a58f8c32c62bcf5824d1fe1d0de53e9bda974d65'/>
<id>a58f8c32c62bcf5824d1fe1d0de53e9bda974d65</id>
<content type='text'>
Sanitize extra blank spaces used when uploading a SSH key

Closes #40552

See merge request gitlab-org/gitlab-ce!16821</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sanitize extra blank spaces used when uploading a SSH key

Closes #40552

See merge request gitlab-org/gitlab-ce!16821</pre>
</div>
</content>
</entry>
<entry>
<title>use Gitlab::UserSettings directly as a singleton instead of including/extending it</title>
<updated>2018-02-02T18:39:55+00:00</updated>
<author>
<name>Mario de la Ossa</name>
<email>mdelaossa@gitlab.com</email>
</author>
<published>2018-02-02T18:39:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=eaada9d7066a20b5af815f723e09cde60a5c8c10'/>
<id>eaada9d7066a20b5af815f723e09cde60a5c8c10</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sanitize extra blank spaces used when uploading a SSH key</title>
<updated>2018-02-01T22:00:16+00:00</updated>
<author>
<name>Rubén Dávila</name>
<email>ruben@gitlab.com</email>
</author>
<published>2018-02-01T22:00:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=972f564dcd897ee66799c19f96ed22df588f8a18'/>
<id>972f564dcd897ee66799c19f96ed22df588f8a18</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently schedule Sidekiq jobs</title>
<updated>2017-12-05T10:59:39+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2017-11-29T15:30:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1e6ca3c41ead23c5e433460c8c807ea73d9ec0ef'/>
<id>1e6ca3c41ead23c5e433460c8c807ea73d9ec0ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cache the number of user SSH keys</title>
<updated>2017-11-16T13:59:38+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-11-15T14:47:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3e561736b2eb4866b75c57c01769586f058a2f8d'/>
<id>3e561736b2eb4866b75c57c01769586f058a2f8d</id>
<content type='text'>
By caching the number of personal SSH keys we reduce the number of
queries necessary on pages such as ProjectsController#show (which can
end up querying this data multiple times).

The cache is refreshed/flushed whenever an SSH key is added, removed, or
when a user is removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By caching the number of personal SSH keys we reduce the number of
queries necessary on pages such as ProjectsController#show (which can
end up querying this data multiple times).

The cache is refreshed/flushed whenever an SSH key is added, removed, or
when a user is removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure key fingerprints are generated correctly when modified</title>
<updated>2017-10-03T17:45:01+00:00</updated>
<author>
<name>Nick Thomas</name>
<email>nick@gitlab.com</email>
</author>
<published>2017-10-03T17:31:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=eaa1ce4fbed93cc1af95e96c3ff435ff0ec59863'/>
<id>eaa1ce4fbed93cc1af95e96c3ff435ff0ec59863</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop using Sidekiq for updating Key#last_used_at</title>
<updated>2017-09-20T12:24:14+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-09-20T12:21:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b3566a01049cdfbde2a9221319601d8949c12a5a'/>
<id>b3566a01049cdfbde2a9221319601d8949c12a5a</id>
<content type='text'>
This makes things simpler as no scheduling is involved. Further we
remove the need for running a SELECT + UPDATE just to get the key and
update it, whereas we only need an UPDATE when setting last_used_at
directly in a request.

The added service class takes care of updating Key#last_used_at without
using Sidekiq. Further it makes sure we only try to obtain a Redis lease
if we're confident that we actually need to do so, instead of always
obtaining it. We also make sure to _only_ update last_used_at instead of
also updating updated_at.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36663
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes things simpler as no scheduling is involved. Further we
remove the need for running a SELECT + UPDATE just to get the key and
update it, whereas we only need an UPDATE when setting last_used_at
directly in a request.

The added service class takes care of updating Key#last_used_at without
using Sidekiq. Further it makes sure we only try to obtain a Redis lease
if we're confident that we actually need to do so, instead of always
obtaining it. We also make sure to _only_ update last_used_at instead of
also updating updated_at.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36663
</pre>
</div>
</content>
</entry>
<entry>
<title>created services for keys</title>
<updated>2017-09-15T15:35:24+00:00</updated>
<author>
<name>haseeb</name>
<email>haseebeqx@gmail.com</email>
</author>
<published>2017-09-15T15:35:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cc2daa74d83c98dc05dd92f0950a122b46b83c96'/>
<id>cc2daa74d83c98dc05dd92f0950a122b46b83c96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
