<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/db/schema.rb, branch fix-include-description-commit-message</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>Merge branch 'sh-add-project-id-index-project-authorizations' into 'master'</title>
<updated>2017-01-31T20:33:14+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-01-30T23:26:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e3be216a565b05b0efec54ef23595269a61d11eb'/>
<id>e3be216a565b05b0efec54ef23595269a61d11eb</id>
<content type='text'>

Add project ID index to `project_authorizations` table to optimize queries

Closes #27443

See merge request !8890</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Add project ID index to `project_authorizations` table to optimize queries

Closes #27443

See merge request !8890</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'add-index-on-ci-builds' into 'master'</title>
<updated>2017-01-22T06:01:32+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2017-01-21T15:47:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e18d79f27f60cc9c44e70a1502ca2433d45ade6c'/>
<id>e18d79f27f60cc9c44e70a1502ca2433d45ade6c</id>
<content type='text'>

Add index for ci_builds that makes shared runners query to run 100x faster.

See merge request !8683</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Add index for ci_builds that makes shared runners query to run 100x faster.

See merge request !8683</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'backport-time-tracking-ce' into 'master'</title>
<updated>2017-01-19T09:50:56+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2017-01-18T15:49:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=17aca0f646e0814dfff3d99f02abfe7d6b0f0a2e'/>
<id>17aca0f646e0814dfff3d99f02abfe7d6b0f0a2e</id>
<content type='text'>

Backport timetracking to CE

See merge request !8195</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Backport timetracking to CE

See merge request !8195</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for PlantUML diagrams in Asciidoc.</title>
<updated>2017-01-12T10:04:52+00:00</updated>
<author>
<name>Horacio Sanson</name>
<email>horacio@allm.net</email>
</author>
<published>2016-11-28T17:41:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f986b4c4e529f4c2518f0ce37dc9dfcaa2f073a0'/>
<id>f986b4c4e529f4c2518f0ce37dc9dfcaa2f073a0</id>
<content type='text'>
This MR enables rendering of PlantUML diagrams in Asciidoc documents. To add a
PlantUML diagram all we need is to include a plantuml block like:

```
[plantuml, id="myDiagram", width="100px", height="100px"]
--
bob -&gt; alice : ping
alice -&gt; bob : pong
--
```

The plantuml block is substituted by an HTML img element with *src* pointing to
an external PlantUML server.

This MR also add a PlantUML integration section to the Administrator -&gt; Settings
page to configure the PlantUML rendering service and to enable/disable it.

Closes: #17603
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This MR enables rendering of PlantUML diagrams in Asciidoc documents. To add a
PlantUML diagram all we need is to include a plantuml block like:

```
[plantuml, id="myDiagram", width="100px", height="100px"]
--
bob -&gt; alice : ping
alice -&gt; bob : pong
--
```

The plantuml block is substituted by an HTML img element with *src* pointing to
an external PlantUML server.

This MR also add a PlantUML integration section to the Administrator -&gt; Settings
page to configure the PlantUML rendering service and to enable/disable it.

Closes: #17603
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'remove-project-authorizations-id-column' into 'master'</title>
<updated>2017-01-09T20:10:29+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2017-01-09T20:10:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=4beae79376923529dfffbea76988a1f22e6f49dd'/>
<id>4beae79376923529dfffbea76988a1f22e6f49dd</id>
<content type='text'>

Remove the project_authorizations.id column

See merge request !8479</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Remove the project_authorizations.id column

See merge request !8479</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'track_last_used_date_of_ssh_keys' into 'master'</title>
<updated>2017-01-09T10:30:49+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@mcgivern.me.uk</email>
</author>
<published>2017-01-09T10:30:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cb4964d23b49f775ad3c8aa562942911b6b1c262'/>
<id>cb4964d23b49f775ad3c8aa562942911b6b1c262</id>
<content type='text'>

Record and show last used date of SSH Keys

See merge request !8113</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Record and show last used date of SSH Keys

See merge request !8113</pre>
</div>
</content>
</entry>
<entry>
<title>Record and show last used date of SSH Keys</title>
<updated>2017-01-08T17:15:39+00:00</updated>
<author>
<name>Vincent Wong</name>
<email>wingyu64@gmail.com</email>
</author>
<published>2016-12-21T14:59:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b6df93a51f90c7ed29ce6667c6b1a8debf02506e'/>
<id>b6df93a51f90c7ed29ce6667c6b1a8debf02506e</id>
<content type='text'>
Addresses: Issue #13810

1. Adds a last_used_at attribute to the Key table/model
2. Update a key's last_used_at whenever it gets used
3. Display how long ago an ssh key was last used
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses: Issue #13810

1. Adds a last_used_at attribute to the Key table/model
2. Update a key's last_used_at whenever it gets used
3. Display how long ago an ssh key was last used
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the project_authorizations.id column</title>
<updated>2017-01-08T12:56:50+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2017-01-06T17:26:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=de321fbbb55dab5bee8dc344d458230b74570d5d'/>
<id>de321fbbb55dab5bee8dc344d458230b74570d5d</id>
<content type='text'>
This column used to be a 32 bits integer, allowing for only a maximum of
2 147 483 647 rows. Given enough users one can hit this limit pretty
quickly, as was the case for GitLab.com.

Changing this type to bigint (= 64 bits) would give us more space, but
we'd eventually hit the same limit given enough users and projects. A
much more sustainable solution is to simply drop the "id" column.

There were only 2 lines of code depending on this column being present,
and neither truly required it to be present. Instead the code now uses
the "project_id" column combined with the "user_id" column. This means
that instead of something like this:

    DELETE FROM project_authorizations
    WHERE user_id = X
    AND id = Y;

We now run the following when removing rows:

    DELETE FROM project_authorizations
    WHERE user_id = X
    AND project_id = Y;

Since both user_id and project_id are indexed this should not slow down
the DELETE query.

This commit also removes the "dependent: destroy" clause from the
"project_authorizations" relation in the User and Project models.
Keeping this prevents Rails from being able to remove data as it relies
on an "id" column being present. Since the "project_authorizations"
table has proper foreign keys set up (with cascading removals) we don't
need to depend on any Rails logic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This column used to be a 32 bits integer, allowing for only a maximum of
2 147 483 647 rows. Given enough users one can hit this limit pretty
quickly, as was the case for GitLab.com.

Changing this type to bigint (= 64 bits) would give us more space, but
we'd eventually hit the same limit given enough users and projects. A
much more sustainable solution is to simply drop the "id" column.

There were only 2 lines of code depending on this column being present,
and neither truly required it to be present. Instead the code now uses
the "project_id" column combined with the "user_id" column. This means
that instead of something like this:

    DELETE FROM project_authorizations
    WHERE user_id = X
    AND id = Y;

We now run the following when removing rows:

    DELETE FROM project_authorizations
    WHERE user_id = X
    AND project_id = Y;

Since both user_id and project_id are indexed this should not slow down
the DELETE query.

This commit also removes the "dependent: destroy" clause from the
"project_authorizations" relation in the User and Project models.
Keeping this prevents Rails from being able to remove data as it relies
on an "id" column being present. Since the "project_authorizations"
table has proper foreign keys set up (with cascading removals) we don't
need to depend on any Rails logic.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert MattermostNotificationService and SlackNotificationService to MattermostService and SlackService</title>
<updated>2016-12-28T14:48:19+00:00</updated>
<author>
<name>Felipe Artur</name>
<email>felipefac@gmail.com</email>
</author>
<published>2016-12-21T19:41:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=56465687511e19f5b7d7fe91f2bb4e2ae51de390'/>
<id>56465687511e19f5b7d7fe91f2bb4e2ae51de390</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 'master' into 'dz-rename-reserved-project-names'</title>
<updated>2016-12-27T16:34:20+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2016-12-27T16:34:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6024697c100e003ec456b9ad2e9461d73250dbb8'/>
<id>6024697c100e003ec456b9ad2e9461d73250dbb8</id>
<content type='text'>
# Conflicts:
#   db/schema.rb</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
# Conflicts:
#   db/schema.rb</pre>
</div>
</content>
</entry>
</feed>
