Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-08CE port for bulk updating group labelsEugenia Grieff
- Original EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14827
2019-08-07Save instance administration project id in DBReuben Pereira
- This will make it easy to identify the project even if admins change the name of the project or move it.
2019-08-07Support dashboard params for metrics dashboardSarah Yasonik
https://gitlab.com/gitlab-org/gitlab-ce/issues/62971 Adds support to EnvironmentsController#metrics_dashboard for the following params: group, title, y_label These params are used to uniquely identify a panel on the metrics dashboard. Metrics are stored in several places, so this adds utilities to find a specific panel from the database or filesystem depending on the metric specified. Also moves some shared utilities into separate classes, notably default values and errors.
2019-08-07Merge branch 'sh-disable-registry-delete' into 'master'Thong Kuah
Don't attempt to contact registry if it is disabled See merge request gitlab-org/gitlab-ce!31553
2019-08-07Use separate Kubernetes namespaces per environmentTiger Watson
Kubernetes deployments on new clusters will now have a separate namespace per project environment, instead of sharing a single namespace for the project. Behaviour of existing clusters is unchanged. All new functionality is controlled by the :kubernetes_namespace_per_environment feature flag, which is safe to enable/disable at any time.
2019-08-07Convert RestClient to Gitlab::HTTP for Prometheus MonitorDavid Wilkins
- Closes #60024 - Change PrometheusClient.new to accept a base url instead of an already created RestClient - Use Gitlab::HTTP in PrometheusClient instead of creating RestClient in PrometheusService - Move http_options from PrometheusService to PrometheusClient (follow_redirects: false) - ensure that base urls don't have the trailing slash - Created a `PrometheusClient#url` method that might not be strictly required - Change rescued exceptions from RestClient::* to HTTParty::ResponseError where possible and StandardError for the rest
2019-08-06Don't attempt to contact registry if it is disabledStan Hu
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21679 moved the deletion of registry tags outside of a transaction, but introduced an issue where Sidekiq would attempt to contact the container registry during project destruction even if it were disabled. Relates to: * https://gitlab.com/charts/gitlab/issues/1455 * https://gitlab.com/gitlab-org/gitlab-ce/issues/45941
2019-08-05Merge branch 'prefer-to-use-process-pipeline-worker' into 'master'Sean McGivern
Extend PipelineProcessWorker to accept a list of builds See merge request gitlab-org/gitlab-ce!31425
2019-08-05Merge branch 'georgekoltsov/55474-outbound-setting-system-hooks' into 'master'Rémy Coutable
Add outbound setting for system hooks See merge request gitlab-org/gitlab-ce!31177
2019-08-02Extend PipelineProcessWorker to accept a list of buildsKamil Trzciński
This changes used worker from `BuildProcessWorker` to `PipelineProcessWorker` to make pipeline processing much simpler. We process `pipeline_id`, based on some triggers.
2019-08-02Properly process `needs:` with `when:`Kamil Trzciński
Currently, some of the jobs with `needs:` would be processed in stages, it means that `when:` for such jobs would not be respected. This changes the behavior to have a separate execution paths for jobs with `needs:`.
2019-08-02Add outbound requests setting for system hooksGeorge Koltsov
This MR adds new application setting to network section `allow_local_requests_from_system_hooks`. Prior to this change system hooks were allowed to do local network requests by default and we are adding an ability for admins to control it.
2019-08-01Merge branch 'ce-docker_image_replication' into 'master'Douglas Barbosa Alexandre
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809 See merge request gitlab-org/gitlab-ce!31375
2019-08-01Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809Valery Sizov
Introducing Docker Registry replication
2019-08-01Merge branch 'osw-avoid-errors-due-to-concurrent-calls' into 'master'Douwe Maan
Add exclusive lease to mergeability check process See merge request gitlab-org/gitlab-ce!31082
2019-08-01Add support for DAGKamil Trzciński
This implements the support for `needs:` keyword as part of GitLab CI. That makes some of the jobs to be run out of order.
2019-08-01Add exclusive lease to mergeability check processOswaldo Ferreira
Concurrent calls to UserMergeToRef RPC updating a single ref can lead to an opaque fail that is being rescued at Gitaly. So this commit adds an exclusive lease to the mergeability check process with the key as the current MR ID.
2019-07-31Add prometheus listen address to whitelistReuben Pereira
- Add to whitelist so that even if local requests from hooks and services are not allowed, the prometheus manual configuration will still succeed.
2019-07-31Ensure default metrics embed is cachedSarah Yasonik
2019-07-30Ignore Gitaly errors if cache flushing fails on project destructionStan Hu
We should just ignore these errors and move along with the deletion since the repositories are going to be trashed anyway. Closes https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31164
2019-07-30Merge branch ↵Robert Speicher
'63547-add-system-notes-for-when-a-zoom-call-was-added-removed-from-an-issue' into 'master' Resolve "Add system notes for when a zoom call was added/removed from an issue" Closes #63547 See merge request gitlab-org/gitlab-ce!30857
2019-07-30Move BaseService to Services directorySarah Yasonik
In preparation for embedding specific metrics in issues https://gitlab.com/gitlab-org/gitlab-ce/issues/62971, this commit moves the BaseService for metrics dashboards to a new services subdirectory. This is purely for the sake of organization and maintainability.
2019-07-30Make quick action "commands applied" banner more useful🙈 jacopo beschi 🙉
Extends the quick actions "commands applied" banner to show the quick action preview text, but with everything in past tense.
2019-07-29Add system notes for when a zoom call was added/removed from an issueJacopo
Add a zoom link added / removed system note when a zoom link is being added / removed to the issue description.
2019-07-29Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqRobert Speicher
2019-07-29Refactor and remove #prepare_relation methodAndreas Brandl
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65054
2019-07-29Further remove code branches by database typeAndreas Brandl
We dropped MySQL support and a lot of mysql specific code has been removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29608. This comes in from the other direction and removes any `if postgresql?` branches.
2019-07-29Add Job specific variablesMatija Čupić
Adds Job specific variables to facilitate specifying variables when running manual jobs.
2019-07-29Remove unused Clusters::RefreshServiceTiger
Also removes all logic from ClusterConfigureWorker and ClusterProjectConfigureWorker, which are also no longer used.
2019-07-26Merge branch 'remove-nested-groups-checks' into 'master'Lin Jen-Shin
Remove code related to object hierarchy and MySQL Closes #65056 and #65055 See merge request gitlab-org/gitlab-ce!31095
2019-07-26Merge branch 'security-bvl-filter-mr-params' into 'master'GitLab Release Tools Bot
Filter params in MR build service Closes #2879 See merge request gitlab/gitlabhq!3237
2019-07-26Prefer `flat_map` over `map` + `flatten`Peter Leitzen
Convert several occurrences of `map` + `flatten` to `flat_map` where applicable.
2019-07-26Merge branch '63568-access-email-notifications-custom-email' into 'master'Lin Jen-Shin
Respect alt email when sending group access notifications See merge request gitlab-org/gitlab-ce!31089
2019-07-26Respect alt email when sending group access notificationsMario de la Ossa
When sending access granted/rejected emails we should also respect custom emails set for groups/sub-groups
2019-07-25Merge branch 'label-descr-push-opts' into 'master'Lin Jen-Shin
Support title and desc on merge w/ push option See merge request gitlab-org/gitlab-ce!31068
2019-07-25Remove code related to object hierarchy in MySQLHeinrich Lee Yu
These are not required because MySQL is not supported anymore
2019-07-24Support title and desc on merge w/ push optionChristian Couder
MergeRequests::PushOptionsHandlerService has been updated to allow creating and updating merge requests with the `title` and `description` set using git push options. To create a new merge request and set its title and description: git push -u origin -o merge_request.create \ -o merge_request.title="My title" \ -o merge_request.description="My description" To update an existing merge request and set its title and description: git push -u origin -o merge_request.title="My title" \ -o merge_request.description="My description" Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64320
2019-07-23Merge branch 'safe-archiving-for-traces' into 'master'Kamil Trzciński
Extra logging for new live trace architecture See merge request gitlab-org/gitlab-ce!30892
2019-07-23Merge branch '63485-fix-pipeline-emails-to-use-group-setting' into 'master'Nick Thomas
Make pipeline emails respect group email setting Closes #63485 See merge request gitlab-org/gitlab-ce!30907
2019-07-23Validate the existence of archived traces before removing live traceShinya Maeda
Often live traces are removed even though the archived trace doesn't exist. This commit checkes the existence strictly.
2019-07-23Merge branch 'rm-src-branch' into 'master'Grzegorz Bizon
Support remove source branch on merge w/ push options See merge request gitlab-org/gitlab-ce!30728
2019-07-23Make pipeline emails respect group email settingHeinrich Lee Yu
When a user's notification email is set for a group, we should use that for pipeline emails
2019-07-21Count wiki page creationAlex Kalderimis
This adds a counter to count page creation, which is reflected in the usage-data we collect. The number created is stored in Redis, avoiding DB access.
2019-07-18CE port for milestones should not be set on epics issue promotionEugenia Grieff
2019-07-18Add start_sha to commits APIMarkus Koller
When passing start_branch on committing from the WebIDE, it's possible that the branch has changed since editing started, which results in the change being applied on top of the latest commit in the branch and overwriting the new changes. By passing the start_sha instead we can make sure that the change is applied on top of the commit which the user started editing from.
2019-07-17Filter params in MR build serviceBob Van Landuyt
Reusing the existing `IssuableBaseService#filter_params` which uses the policies to determine what params a user can set, and which values it can be set to. This also removed the need for the seperate call to `IssuableBaseService#ensure_milestone_available`. The `Issues::BuildService` does not suffer from this because it limits the params that are assignable to the `title`, `description` and `milestone_id`.
2019-07-17Refactor create_params and update_paramsChristian Couder
Let's move shared code between create_params and update_params into a new base_params. update_params becomes very thin, but it still may be clearer that the params are being shared if we have a method called base_params, rather than have create_params merge in update_params.
2019-07-17Support rm src branch on merge w/ push optionChristian Couder
MergeRequests::PushOptionsHandlerService has been updated to allow creating and updating merge requests with the `remove_source_branch` set using git push options. To create a new merge request and set it to remove the source branch when it is merged: git push -u origin -o merge_request.create \ -o merge_request.remove_source_branch To update an existing merge request and set it to remove the source branch when it is merged: git push -u origin -o merge_request.remove_source_branch Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64320
2019-07-16Don't use transactions and exceptionsReuben Pereira
Instead return error objects.
2019-07-16Enable GitLabb runner to be uninstalled from clusterJoão Cunha
- Set as uninstallable app - Update docs - Adjust specs