- 06 Oct, 2017 1 commit
-
-
Toon Claes authored
In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo secondary node). But in GitLab CE it also might be useful to have the "read-only" idea around. So port it back to GitLab CE. Also having the principle of read-only in GitLab CE would hopefully lead to less errors introduced, doing write operations when there aren't allowed for read-only calls. Closes gitlab-org/gitlab-ce#37534.
-
- 06 Sep, 2017 1 commit
-
-
Tiago Botelho authored
-
- 14 Aug, 2017 1 commit
-
-
Robert Speicher authored
An upcoming update to rubocop-gitlab-security added additional violations.
-
- 04 Aug, 2017 1 commit
-
-
Robert Speicher authored
This bails out of `cacheless_render` immediately unless the provided text is present, since there's no point. This is a slight improvement in our test performance. Across the creation of 1,000 `Namespace` records, which caches the `description` field and which is blank by default in its factory, this saves about four seconds, which... sure. Why not.
-
- 21 Apr, 2017 2 commits
-
-
Nick Thomas authored
-
Nick Thomas authored
-
- 18 Jan, 2017 1 commit
-
-
Jarka Kadlecova authored
-
- 04 Nov, 2016 1 commit
-
-
Nick Thomas authored
-
- 14 Oct, 2016 1 commit
-
-
Yorick Peterse authored
Using `extend self` prevents GitLab Performance Monitoring from being able to track class methods. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23347
-
- 07 Oct, 2016 1 commit
-
-
Nick Thomas authored
This commit adds a number of _html columns and, with the exception of Note, starts updating them whenever the content of their partner fields changes. Note has a collision with the note_html attr_accessor; that will be fixed later A background worker for clearing these cache columns is also introduced - use `rake cache:clear` to set it off. You can clear the database or Redis caches separately by running `rake cache:clear:db` or `rake cache:clear:redis`, respectively.
-
- 19 Jul, 2016 1 commit
-
-
Grzegorz Bizon authored
-
- 13 Jul, 2016 1 commit
-
-
Paco Guzman authored
-
- 12 Jul, 2016 1 commit
-
-
Paco Guzman authored
-
- 21 Jun, 2016 1 commit
-
-
Yorick Peterse authored
The method Banzai::Renderer.pre_process would always be called, regardless of whether the Markdown to render was already cached or not. In cache the document _was_ cached the output of the pre-processing pipeline was ignored resulting in it doing nothing but wasting CPU cycles. This commit moves Banzai::Renderer.pre_process into Banzai::Renderer.render_result so that it's _only_ used when needed.
-
- 11 Apr, 2016 1 commit
-
-
Yorick Peterse authored
-
- 03 Mar, 2016 1 commit
-
-
Robert Speicher authored
-
- 06 Jan, 2016 2 commits
-
-
Douwe Maan authored
This reverts commit d337d5e7.
-
Douwe Maan authored
This reverts commit 4b027bc9.
-
- 04 Jan, 2016 1 commit
-
-
Douwe Maan authored
-
- 16 Dec, 2015 1 commit
-
-
Douwe Maan authored
-
- 15 Dec, 2015 1 commit
-
-
Douwe Maan authored
-