<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/app/models/ability.rb, branch tutorials_git_tricks</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>Give reporters the ability to download artifacts.</title>
<updated>2016-01-15T11:01:19+00:00</updated>
<author>
<name>Andrew Johnson</name>
<email>ajohnson@draster.com</email>
</author>
<published>2016-01-15T10:29:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f66f9e95bf1e67ad13de9958d16103b858b58e72'/>
<id>f66f9e95bf1e67ad13de9958d16103b858b58e72</id>
<content type='text'>
Also fix a few places where page_404 should be render_404.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix a few places where page_404 should be render_404.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improvements, readability for artifacts browser</title>
<updated>2016-01-14T11:48:16+00:00</updated>
<author>
<name>Grzegorz Bizon</name>
<email>grzesiek.bizon@gmail.com</email>
</author>
<published>2016-01-12T10:02:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=487b0a026f9efe2d8214c19a7b95b391708ba3f4'/>
<id>487b0a026f9efe2d8214c19a7b95b391708ba3f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove public field from namespace and refactoring</title>
<updated>2016-01-04T14:00:29+00:00</updated>
<author>
<name>Valery Sizov</name>
<email>vsv2711@gmail.com</email>
</author>
<published>2015-12-28T11:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=8b1844912561a7e6dd0cc361ea1514f2a340e275'/>
<id>8b1844912561a7e6dd0cc361ea1514f2a340e275</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid allocations in Ability class.</title>
<updated>2015-12-16T03:51:37+00:00</updated>
<author>
<name>Jason Lee</name>
<email>huacnlee@gmail.com</email>
</author>
<published>2015-12-16T03:51:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=03a40a7ee1262d5b68e5f7aba26077dc3bef6b33'/>
<id>03a40a7ee1262d5b68e5f7aba26077dc3bef6b33</id>
<content type='text'>
It won't change anything after they are first invoke, so add method cache to avoid allocations and avoid GC.

Benchmarks:

```
Calculating -------------------------------------
project_guest_rules without method cache
                        79.352k i/100ms
project_guest_rules with method cache
                        93.634k i/100ms
-------------------------------------------------
project_guest_rules without method cache
                          2.865M (±32.5%) i/s -     11.982M
project_guest_rules with method cache
                          4.419M (± 7.4%) i/s -     22.004M

Comparison:
project_guest_rules with method cache:  4418908.0 i/s
project_guest_rules without method cache:  2864514.0 i/s - 1.54x slower

Calculating -------------------------------------
project_report_rules without method cache
                        53.126k i/100ms
project_report_rules with method cache
                        97.473k i/100ms
-------------------------------------------------
project_report_rules without method cache
                          1.093M (±36.5%) i/s -      4.675M
project_report_rules with method cache
                          4.420M (± 7.2%) i/s -     22.029M
Comparison:
project_report_rules with method cache:  4420054.3 i/s
project_report_rules without method cache:  1092509.6 i/s - 4.05x slower
```

https://gist.github.com/huacnlee/b04788ae6df42fe769e4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It won't change anything after they are first invoke, so add method cache to avoid allocations and avoid GC.

Benchmarks:

```
Calculating -------------------------------------
project_guest_rules without method cache
                        79.352k i/100ms
project_guest_rules with method cache
                        93.634k i/100ms
-------------------------------------------------
project_guest_rules without method cache
                          2.865M (±32.5%) i/s -     11.982M
project_guest_rules with method cache
                          4.419M (± 7.4%) i/s -     22.004M

Comparison:
project_guest_rules with method cache:  4418908.0 i/s
project_guest_rules without method cache:  2864514.0 i/s - 1.54x slower

Calculating -------------------------------------
project_report_rules without method cache
                        53.126k i/100ms
project_report_rules with method cache
                        97.473k i/100ms
-------------------------------------------------
project_report_rules without method cache
                          1.093M (±36.5%) i/s -      4.675M
project_report_rules with method cache
                          4.420M (± 7.2%) i/s -     22.029M
Comparison:
project_report_rules with method cache:  4420054.3 i/s
project_report_rules without method cache:  1092509.6 i/s - 4.05x slower
```

https://gist.github.com/huacnlee/b04788ae6df42fe769e4
</pre>
</div>
</content>
</entry>
<entry>
<title>Signed in admin should be able to add/remove himself to a project</title>
<updated>2015-12-01T22:53:43+00:00</updated>
<author>
<name>Douglas Barbosa Alexandre</name>
<email>dbalexandre@gmail.com</email>
</author>
<published>2015-12-01T22:47:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=67cc6b0642573fe443126042dd36b15f05bc539c'/>
<id>67cc6b0642573fe443126042dd36b15f05bc539c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Signed in admin should be able to add/remove himself to a group</title>
<updated>2015-12-01T22:53:43+00:00</updated>
<author>
<name>Douglas Barbosa Alexandre</name>
<email>dbalexandre@gmail.com</email>
</author>
<published>2015-12-01T21:45:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=9ab7bdf7739935bf79c2e033212726a4be421a26'/>
<id>9ab7bdf7739935bf79c2e033212726a4be421a26</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 'dbalexandre/gitlab-ce-fix-personal-snippet-access-workflow' into 'master'</title>
<updated>2015-11-19T17:22:20+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>robert@gitlab.com</email>
</author>
<published>2015-11-19T17:22:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=56476f18475deb896c09b47e967dc5146f66778b'/>
<id>56476f18475deb896c09b47e967dc5146f66778b</id>
<content type='text'>

Improve personal snippet access workflow.

Replaces !1709

Fixes #3258

See merge request !1817</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Improve personal snippet access workflow.

Replaces !1709

Fixes #3258

See merge request !1817</pre>
</div>
</content>
</entry>
<entry>
<title>Rename `not_auth_*` ability methods to `anonymous_*`</title>
<updated>2015-11-17T20:00:14+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>rspeicher@gmail.com</email>
</author>
<published>2015-11-17T20:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=08dc38223e0c18233052e04ac95a4f6942fcb1b5'/>
<id>08dc38223e0c18233052e04ac95a4f6942fcb1b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor refactoring</title>
<updated>2015-11-17T15:24:02+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2015-11-17T15:24:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=756d61562bb8c1a2ebcb29eb0f62548d2338db52'/>
<id>756d61562bb8c1a2ebcb29eb0f62548d2338db52</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 dbalexandre/gitlab-ce-fix-personal-snippet-access-workflow</title>
<updated>2015-11-17T15:19:16+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2015-11-17T15:19:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/gitlab/gitlab-ce.git/commit/?id=16438ad205bbd953ae7fd5c290e05b60618ce7f4'/>
<id>16438ad205bbd953ae7fd5c290e05b60618ce7f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
