- 04 Oct, 2018 1 commit
-
-
Thong Kuah authored
This saves a external network call to fetch a helm plugin. The cost is a few lines of shell script
-
- 03 Oct, 2018 1 commit
-
-
Tiago Botelho authored
This makes a temporary implementation of the Web IDE commits counter using Redis while https://gitlab.com/gitlab-org/gitlab-ce/issues/52096 is being discussed further for a more generic approach to counters
-
- 02 Oct, 2018 3 commits
-
-
Alejandro Rodríguez authored
Cleanup code, and refactor tests that still use Rugged. After this, there should be no Rugged code that access the instance's repositories on non-test environments. There is still some rugged code for other tasks like the repository import task, but since it doesn't access any repository storage path it can stay.
-
Matija Čupić authored
-
Thong Kuah authored
-
- 01 Oct, 2018 8 commits
-
-
Pierre Tardy authored
-
Francisco Javier López authored
-
Tiago Botelho authored
Implements UsageCounters model to track feature usage counters and makes easy to extend for future counters
-
Oswaldo Ferreira authored
- Creates a new column to hold the single patch limit value on application_settings - Allows updating this value through the application_settings API - Calculates single diff patch collapsing limit based on diff_max_patch_bytes column - Updates diff limit documentation - Adds documentation (with warning) as of how one can update this limit
-
Mark Chao authored
Display `formatter` as the sole content of `position` object. This means `diff_file` data is not referenced, which is the caseu of "IOError: not opened for reading".
-
Nick Thomas authored
-
Nick Thomas authored
-
Tiago Botelho authored
Implements list_last_commits_for_tree to communicate with the ListLastCommitsForTree Gitaly RPC Bumps the Gitaly server version Bumps the Gitaly-Proto gem version
-
- 30 Sep, 2018 1 commit
-
-
Thong Kuah authored
We will need these utility level code in the future to help upgrade all helm applications.
-
- 28 Sep, 2018 3 commits
-
-
Michael Kozono authored
I attempted to refactor so that the caller of `wrap_method` passes in a block, rather than a method name, but I was unsuccessful. I kept getting the following error: NoMethodError: undefined method `cache_method_output' for Repository:Class If you can figure this out, then feel free to dry up these class methods again without doing a send-within-a-send.
-
Michael Kozono authored
-
Michael Kozono authored
* Only truthy values are cached in Redis. * All values are cached in RequestStore and in an instance variable.
-
- 27 Sep, 2018 11 commits
-
-
Matija Čupić authored
-
Michael Kozono authored
And reuse `Gitlab::Utils::StrongMemoize`. There is a subtle behavior change required to reuse StrongMemoize in this case. The early fallback check now occurs *before* reading the memoized value instead of after. I think this is fine since a memoized value should only exist if `exists?` is also already memoized as `true`.
-
Olivier Gonzalez authored
-
Matija Čupić authored
-
Matija Čupić authored
-
Dylan Griffith authored
Skip creating auto devops jobs for sast, container_scanning, dast, dependency_scanning when not licensed
-
Dylan Griffith authored
This improves CI performance since we do not create a whole new job that just exits quickly. This is important based on https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/4907#note_104742212
-
Jacopo authored
With this action the user can update the execute_filemode of a given file in the repository.
-
Thong Kuah authored
if $DB_INITIALIZE is present, deploy an initial release where only $DB_INITIALIZE is run in a special job (and deployments are not rendered/loaded). This is then followed by second release with deployments as usual. if $DB_MIGRATE, set this value which will trigger a pre-upgrade helm hook.
-
Dylan Griffith authored
Since we no longer maintain this separate repo we just needed to do one final copy from there. See https://gitlab.com/gitlab-org/gitlab-ce/issues/50289
-
Thong Kuah authored
This is a utility class that we will need in the future to update and upgrade our managed helm applications, which we do plan to do in CE.
-
- 26 Sep, 2018 1 commit
-
-
Dylan Griffith authored
-
- 25 Sep, 2018 3 commits
-
-
Matija Čupić authored
-
Toon Claes authored
The original code caused Rails to generate invalid SQL. The problem lays in the `.arel` method in `ActiveRecord::Relation`. When there was a `limit` on the relation, the `LIMIT` statement was taken over to Arel, but the value wasn't. ```ruby relation = Event.limit(2) relation.to_sql #=> "SELECT `events`.* FROM `events` LIMIT 2" relation.arel.to_sql #=> "SELECT `events`.* FROM `events` LIMIT ?" ``` Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51729
-
Filipa Lacerda authored
-
- 24 Sep, 2018 5 commits
-
-
Michael Kozono authored
Even if it doesn’t save lines of code, since people will tend to use code they’ve seen. And `SafeRequestStore` is safer since you don’t have to remember to check `RequestStore.active?`.
-
Michael Kozono authored
These are clear wins.
-
Michael Kozono authored
Makes it easier and safer to use RequestStore because you don't need to check `RequestStore.active?` before using it. You just have to use `Gitlab::SafeRequestStore` instead.
-
Valery Sizov authored
We remove this feature as it never worked properly
-
James Lopez authored
-
- 21 Sep, 2018 3 commits
-
-
Marcel Amirault authored
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Semyon Pupkov authored
-