- 01 Apr, 2019 3 commits
-
-
Stan Hu authored
During a project import, it's possible that new branches are created by the importer to handle pull requests that have been created from forked projects, which would increment the `pushes_since_gc` value via `HousekeepingService.increment!` before a full garbage collection gets to run. This causes HousekeepingService to skip the full `git gc` and move to the incremental repack mode. To ensure that a garbage collection is run to pack refs and objects, explicitly execute the task. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59477
-
Antoine Huret authored
-
Shinya Maeda authored
and add spec Add changelog ok ok
-
- 29 Mar, 2019 2 commits
-
-
Reuben Pereira authored
- Do not raise error when there are missing non-essential keys in sentry api response. - Add specs for to check for missing keys behavior.
-
Shinya Maeda authored
By using `refs/merge-requests/:iid/head` ok ok Improve naming nicely Add nice tests add nice tests fix some more revert
-
- 28 Mar, 2019 1 commit
-
-
Alexandru Croitor authored
Add no-op license helper to CE to make it compatible with EE codebase. Helper will be overwritten in EE to allow for CE specs to be run under EE codebase. https://gitlab.com/gitlab-org/gitlab-ee/issues/6539
-
- 27 Mar, 2019 3 commits
-
-
Vladimir Shushlin authored
Add specs for new/disabled pages domain Extract contexts from examples Use `let` instead of `set` since domain is being changed in each example
-
Nick Thomas authored
Since external diffs are likely to be a bit slower than in-database ones, add a mode that makes diffs external after they've been obsoleted by events. This should strike a balance between performance and disk space. A background cron drives the majority of migrations, since diffs become outdated through user actions.
-
Oswaldo Ferreira authored
Adds the groundwork needed in order to persist multi-line suggestions, while providing the parsing strategy which will be reused for the **Preview** as well.
-
- 26 Mar, 2019 4 commits
-
-
Shinya Maeda authored
ok ok ok ok
-
Tiger Watson authored
A runner installed on a cluster will now use the cluster's `cluster_type` as its `runner_type`.
-
Stan Hu authored
`project.pipeline_status.has_status?` is cached, which can lead to Error 500s in the UI if the this condition is used to check whether a pipeline exists for a commit. We now expire the cache to ensure that the information is consistent. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59453
-
Luke Duncalfe authored
Error messages from custom pre-receive hooks now appear in the GitLab UI. This is re-enabling a feature that had been disabled in merge request https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18646 The feature had been disabled due to security concerns that information which was not intended to be public (like stack traces) would leak into public view. PreReceiveErrors (from pre-receive, post-receive and update custom hooks) are now filtered for messages that have been prefixed in a particular way. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/48132
-
- 25 Mar, 2019 3 commits
-
-
Nick Thomas authored
-
Nick Thomas authored
-
Sean McGivern authored
Both of these were related to groups: 1. We need to preload routes (using the `with_route` scope) if we're going to get the group's path. 2. We were counting each group's members separately. They're in the same commit because the spec for N+1 detection wouldn't pass with only one of these fixes.
-
- 22 Mar, 2019 1 commit
-
-
Sean McGivern authored
-
- 20 Mar, 2019 2 commits
-
-
Tiger authored
The flag is on by default, but allows us to revert back to the old behaviour if we encounter any problems.
-
Tiger authored
Introduces the concept of Prerequisites for a CI build. If a build has unmet prerequisites it will go through the :preparing state before being made available to a runner. There are no actual prerequisites yet, so current behaviour is unchanged.
-
- 18 Mar, 2019 1 commit
-
-
Peter Bábics authored
-
- 13 Mar, 2019 1 commit
-
-
Nick Thomas authored
-
- 12 Mar, 2019 1 commit
-
-
Mayra Cabrera authored
- Includes instance methods on Group model to detect when a group has AutoDevOps explicitly/implicitly enabled/disabled. - Includes migration to add a new column to namespaces table - Add UI necessary modifications - Add service and controller to update auto devops related instances - Updates project and groups auto devops badges Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
-
- 08 Mar, 2019 1 commit
-
-
walkafwalka authored
-
- 07 Mar, 2019 1 commit
-
-
Luke Duncalfe authored
This reverts merge request !25708
-
- 06 Mar, 2019 3 commits
-
-
Oswaldo Ferreira authored
Returns the source and target IDs used to create the merge commit on Gitaly.
-
Oswaldo Ferreira authored
-
Patrick Bajao authored
When `force` is set to `true` and `start_branch` is set, the branch will be ovewritten with the new commit based on the `HEAD` of the `start_branch`. This commit includes changes to update the `gitaly-proto` gem.
-
- 05 Mar, 2019 3 commits
-
-
João Cunha authored
- This is to avoid colision with EE ClusterUpdateAppWorker
-
João Cunha authored
- Creates new route - Creates new controller action - Creates call stack: Clusterss::ApplciationsController calls --> Clusters::Applications::UpdateService calls --> Clusters::Applications::ScheduleUpdateService calls --> ClusterUpdateAppWorker calls --> Clusters::Applications::PatchService --> ClusterWaitForAppInstallationWorker DRY req params Adds gcp_cluster:cluster_update_app queue Schedule_update_service is uneeded Extract common logic to a parent class (UpdateService will need it) Introduce new UpdateService Fix rescue class namespace Fix RuboCop offenses Adds BaseService for create and update services Remove request_handler code duplication Fixes update command Move update_command to ApplicationCore so all apps can use it Adds tests for Knative update_command Adds specs for PatchService Raise error if update receives an unistalled app Adds update_service spec Fix RuboCop offense Use subject in favor of go Adds update endpoint specs for project namespace Adds update endpoint specs for group namespace
-
Gabriel Mazetto authored
This is a fix for the Hashed Storage migration and Rollback procedure to ignore any project-level validation error that can happen in a long-running instance. There are many situations where defaults and acceptable values changed but, because we didn't provide a migration to "valid" attributes, it can happen that project will not be `valid? => true`. Because the changes we are making are limited to setting a project as read_only or changing the storage_level, it's safe to bypass validation.
-
- 04 Mar, 2019 1 commit
-
-
Felipe Artur authored
Fix 'commands applied' messages not being shown when issue is promoted to epic using slash commands.
-
- 02 Mar, 2019 1 commit
-
-
Stan Hu authored
When a merge fails due to a locked file, no feedback was given to the user as to why it failed if the user used the Merge button. However, if the push attempt happened directly in the Web UI, the pre-receive message would be displayed. To be consistent and to make it clear why a merge failed, we now include the pre-receive error message in the merge request widget. Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/10165
-
- 01 Mar, 2019 8 commits
-
-
Peter Marko authored
-
Reuben Pereira authored
- Move some specs into contexts - Let get_slugs method take a parameter and return a specific slug. - Add rescues when using Addressable::URI.
-
Gabriel Mazetto authored
Exceptions were also simplified from 2 to 1.
-
Gabriel Mazetto authored
`try_to_set_repository_read_only!` is now on the Base class. Simplified Exception classes from 2 to 1 with a more descriptive name.
-
Gabriel Mazetto authored
This change takes the case where repository doesn't exist on disk and make it ignore but succeed the step, increasing or decreasing the version depending on the operation.
-
Gabriel Mazetto authored
Rollback is done similar to Migration for the Hashed Storage. It also shares the same ExclusiveLease key to prevent both happening at the same time. All Hashed Storage related workers now share the same queue namespace which allows for assigning dedicated workers easily.
-
Gabriel Mazetto authored
We are adding sidekiq workers and service classes to allow to rollback a hashed storage migration. There are some refactoring involved as well as part of the code can be reused by both the migration and the rollback logic.
-
Shinya Maeda authored
Fix ok Add spec Fix ok Fix Add changelog Fix Add memoization a fix
-