<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/app/services/users, branch update-singleton-pattern-docs</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>Fix logic in Users::CreateService broken by the fix for OAuth users</title>
<updated>2017-04-26T08:08:44+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2017-04-26T07:54:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=aa54bb7e5a247e98efa95ad810503579eb3d0cbc'/>
<id>aa54bb7e5a247e98efa95ad810503579eb3d0cbc</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>Ensures that OAuth/LDAP/SAML users don't need to be confirmed</title>
<updated>2017-04-26T08:08:44+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2017-04-25T19:51:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=fa01c373594203278a5809c7bae800d97e224f64'/>
<id>fa01c373594203278a5809c7bae800d97e224f64</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 OAuth, LDAP and SAML SSO when regular sign-ups are disabled</title>
<updated>2017-04-25T02:27:39+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@selenight.nl</email>
</author>
<published>2017-04-24T21:12:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d7e2ac729317ace2ccf0203663637ba32f328d1a'/>
<id>d7e2ac729317ace2ccf0203663637ba32f328d1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move records to the ghost user in a transaction.</title>
<updated>2017-04-24T06:46:10+00:00</updated>
<author>
<name>Timothy Andrew</name>
<email>mail@timothyandrew.net</email>
</author>
<published>2017-04-21T05:55:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=133f00bedd990e4220cbd89cbfbe7f69e98c0c76'/>
<id>133f00bedd990e4220cbd89cbfbe7f69e98c0c76</id>
<content type='text'>
- While deleting a user, some of the user's associated records are moved to the
  ghost user so they aren't deleted. The user is blocked before these records
  are moved, to prevent the user from creating new records while the migration
  is happening, and so preventing a data race.

- Previously, if the migration failed, the user would _remain_ blocked, which is
  not the expected behavior. On the other hand, we can't just stick the block +
  migration into a transaction, because we want the block to be committed before
  the migration starts (for the data race reason mentioned above).

- One solution (implemented in this commit) is to block the user in a parent
  transaction, migrate the associated records in a nested sub-transaction, and
  then unblock the user in the parent transaction if the sub-transaction fails.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- While deleting a user, some of the user's associated records are moved to the
  ghost user so they aren't deleted. The user is blocked before these records
  are moved, to prevent the user from creating new records while the migration
  is happening, and so preventing a data race.

- Previously, if the migration failed, the user would _remain_ blocked, which is
  not the expected behavior. On the other hand, we can't just stick the block +
  migration into a transaction, because we want the block to be committed before
  the migration starts (for the data race reason mentioned above).

- One solution (implemented in this commit) is to block the user in a parent
  transaction, migrate the associated records in a nested sub-transaction, and
  then unblock the user in the parent transaction if the sub-transaction fails.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'usage-ping-port' into 'master'</title>
<updated>2017-04-19T14:48:31+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@mcgivern.me.uk</email>
</author>
<published>2017-04-19T14:48:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=40a972057da58dd5c15cf0f0b2952f264dba0076'/>
<id>40a972057da58dd5c15cf0f0b2952f264dba0076</id>
<content type='text'>

Usage ping port

Closes #27750

See merge request !10481</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Usage ping port

Closes #27750

See merge request !10481</pre>
</div>
</content>
</entry>
<entry>
<title>Hard delete users' associated records deleted from AbuseReports</title>
<updated>2017-04-16T15:36:33+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2017-04-16T15:21:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=60eee739f040e997d6dac3f4e21ef90daa6c7f30'/>
<id>60eee739f040e997d6dac3f4e21ef90daa6c7f30</id>
<content type='text'>
In the case of spammers, we really want a hard delete to avoid retaining spam.

Closes #31021
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case of spammers, we really want a hard delete to avoid retaining spam.

Closes #31021
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a new Gitlab::UserActivities class to track user activities</title>
<updated>2017-04-14T13:20:55+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2017-03-07T18:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cfe19b795e076b73df75ee57839640667283651c'/>
<id>cfe19b795e076b73df75ee57839640667283651c</id>
<content type='text'>
This new class uses a Redis Hash instead of a Sorted Set.

Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This new class uses a Redis Hash instead of a Sorted Set.

Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove user activities table and use redis instead of PG for recording activities</title>
<updated>2017-04-14T13:20:55+00:00</updated>
<author>
<name>James Lopez</name>
<email>james@jameslopez.es</email>
</author>
<published>2016-11-25T16:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3cb84e06b7a118fb46b4e1e0d4885026c9d4a4d1'/>
<id>3cb84e06b7a118fb46b4e1e0d4885026c9d4a4d1</id>
<content type='text'>
Refactored specs and added a post deployment migration to remove the activity users table.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactored specs and added a post deployment migration to remove the activity users table.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add user activity service and spec. Also added relevant - NOT offline - migration</title>
<updated>2017-04-14T13:20:55+00:00</updated>
<author>
<name>James Lopez</name>
<email>james@jameslopez.es</email>
</author>
<published>2016-10-05T14:41:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=2951a8543ef97ceb1bcaca5f5140d822729c950b'/>
<id>2951a8543ef97ceb1bcaca5f5140d822729c950b</id>
<content type='text'>
It uses a user activity table instead of a column in users.
Tested with mySQL and postgreSQL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It uses a user activity table instead of a column in users.
Tested with mySQL and postgreSQL
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement Users::BuildService</title>
<updated>2017-04-13T10:02:59+00:00</updated>
<author>
<name>geoandri</name>
<email>geoandri@gmail.com</email>
</author>
<published>2017-04-13T08:47:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=defbff482d537975e8493c4f687e195bfd3d3919'/>
<id>defbff482d537975e8493c4f687e195bfd3d3919</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
