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-08Bring scoped environment variables to coreHordur Freyr Yngvason
As decided in https://gitlab.com/gitlab-org/gitlab-ce/issues/53593
2019-08-08Record usage on snippet usageMark Chao
Generalize wiki page counter for other page types to extend to.
2019-08-08Merge branch '63181-collapsible-line' into 'master'Kushal Pandya
Makes section title clickable and collapsible Closes #63181 See merge request gitlab-org/gitlab-ce!31571
2019-08-08Merge branch 'patch-71' into 'master'Grzegorz Bizon
Remove duplicated line from Maven CI template See merge request gitlab-org/gitlab-ce!31440
2019-08-08Merge branch 'sh-add-missing-csp-report-uri' into 'master'Mayra Cabrera
Add missing report-uri to CSP config See merge request gitlab-org/gitlab-ce!31593
2019-08-07Checksum clair executablePhilippe Lafoucrière
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-07Add missing report-uri to CSP configStan Hu
This is supported in Rails 5.2, although it may be deprecated in the future by reports-to.
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-07Makes title section collapsibleFilipa Lacerda
In the job log, if the user clicks the section title the job log section will be collapsed
2019-08-07Merge branch 'sh-support-csp-nonce' into 'master'Ash McKenzie
Add support for Content-Security-Policy Closes #65330 See merge request gitlab-org/gitlab-ce!31402
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-07Add support for Content-Security-PolicyStan Hu
A nonce-based Content-Security-Policy thwarts XSS attacks by allowing inline JavaScript to execute if the script nonce matches the header value. Rails 5.2 supports nonce-based Content-Security-Policy headers, so provide configuration to enable this and make it work. To support this, we need to change all `:javascript` HAML filters to the following form: ``` = javascript_tag nonce: true do :plain ... ``` We use `%script` throughout our HAML to store JSON and other text, but since this doesn't execute, browsers don't appear to block this content from being used and require the nonce value to be present.
2019-08-06Update Packer.gitlab-ci.yml to use latest imageKelly Hair
2019-08-06Merge branch '65152-selective-highlight' into 'master'Bob Van Landuyt
Support selective highlighting of lines See merge request gitlab-org/gitlab-ce!31361
2019-08-06Merge branch 'make-issue-boards-importable' into 'master'Sean McGivern
Make issue boards importable See merge request gitlab-org/gitlab-ce!31434
2019-08-06Support selective highlighting of linesPatrick Bajao
Instead of highlighting all lines when not all of them are needed, only highlight specific lines. The `BlobPresenter#highlight` method has been updated to support `since` and `to` params. These params will be used to limit the content to be highlighted. Modify `Gitlab::Highlight` to support `since` param which will then be used to determine the starting line number.
2019-08-06Fix error on project nameGosia Ksionek
Add project path to sql query to build proper path
2019-08-05Merge branch 'add-missing-timezone-legacy-artifacts' into 'master'Stan Hu
Add missing timezone when copying legacy artifacts (ci_builds) See merge request gitlab-org/gitlab-ce!31447
2019-08-05Make Issue boards importableJason Colyer
- Added space to li definiton - Remove milestone from import_export.yml
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-05Merge branch 'GL-12757' into 'master'Sean McGivern
Increase clair scanner from v11 to v12 See merge request gitlab-org/gitlab-ce!30809
2019-08-05Set DOCKER_TLS_CERTDIR in CI job templatesCameron Boulton
2019-08-04Add missing timezone to legacy artifacts (ci_builds)David H. Wilkins
- ci_builds.artifacts_expire_at are copied to ci_job_artifacts.expire_at with incorrect timestamps when the database timezone is NOT utc - ci_builds.artifacts_expire_at is `timestamp without time zone` and ci_job_artifacts.expire_at is `timestamp with time zone` on postgresql - Tests fail locally for `rspec ./spec/lib/gitlab/import_export/import_export_spec.rb` without this change
2019-08-03Remove duplicated line from Maven CI templateZsolt Kovari
2019-08-02increase clair local scan versionmo
2019-08-02increase clair from v11 to v12mo
2019-08-02Make issue boards importableJason Colyer
- Added Importable to models/list.rb - Did unless: :importable? on board validation - Created changelog - Modified haml to show issue boards are importable - Added needed spec tests - Modified project.json to include board information - Added relevant models to all_models - Added relevant models to import_export - Added relevant models to safe_model_attributes
2019-08-02Implement Helm ResetCommand for removing TillerDylan Griffith
Also creates specs Only allow Helm to be uninstalled if it's the only app - Remove Tiller leftovers after reser command - Fixes specs and offenses Adds changelog file Fix reset_command specs
2019-08-02Merge branch 'make-needs-strong-connection' into 'master'Sean McGivern
Make `needs:` to require a strong reference Closes #65512 See merge request gitlab-org/gitlab-ce!31419
2019-08-02Make needs: to require previous jobsKamil Trzciński
This changes `needs:` from weak reference to have a strong reference. This means that job will not be created unless all needs are present as part of a pipeline.
2019-08-02Merge branch '17276-breakage-in-displaying-svg-in-the-same-repository' into ↵Robert Speicher
'master' Resolve "Breakage in displaying SVG in the same repository" See merge request gitlab-org/gitlab-ce!31352
2019-08-02Refactor SystemHookUrlValidator and specsGeorge Koltsov
Simplify SystemHookUrlValidator to inherit from PublicUrlValidator Refactor specs to move out shared examples to be used in both system hooks and public url validators.
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-02Prevent empty classes in ansi2html conversionLukas '+ alert('Eipi') + ' Eipert
Currently we write out empty CSS classes (`class=""`) every time we create a new tag. This adds 9 unnecessary bytes per span element. In a recent trace, I have counted 11950 span elements. So we transported 105 unnecessary kilobytes!
2019-08-02Call `GC::Profiler.clear` only in one placeAleksei Lipniagov
Previously, both InfluxSampler and RubySampler were relying on the `GC::Profiler.total_time` data which is the sum over the list of captured GC events. Also, both samplers asynchronously called `GC::Profiler.clear` which led to incorrect metric data because each sampler has the wrong assumption it is the only object who calls `GC::Profiler.clear` and thus could rely on the gathered results between such calls. We should ensure that `GC::Profiler.total_time` is called only in one place making it possible to rely on accumulated data between such wipes. Also, we need to track the amount of profiler reports we lost.
2019-08-02Update regex for docs branches in ciMarcel Amirault
Changes * to + to be more precise with acceptable branch names
2019-08-02Fix inline rendering of SVGs from current repoHeinrich Lee Yu
Changes generated URL to raw instead of blob
2019-08-01Merge branch '52123-issuable-actions-notesfinder-pderichs' into 'master'Stan Hu
Use NotesFinder to fetch notes on API and Controllers Closes #52123 See merge request gitlab-org/gitlab-ce!31300
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-01Use NotesFinder in IssuableActions modulePatrick Derichs
Remove project from NotesFinder constructor Add project parameter to specs Also look for methods in private scope Fix specs to match new NotesFinder constructor
2019-08-01Add additional paths to clean from backtraceStan Hu
`Gitlab::Profiler` can also be used to profile Sidekiq jobs. Add some call traces that can be omitted from the backtrace.
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-31Merge branch 'add-project-scope-to-live-trace-feature-flag' into 'master'Lin Jen-Shin
Add project scope to live trace feature flag See merge request gitlab-org/gitlab-ce!31325
2019-07-31Merge branch 'fix-sidekiq-memory-killer-warn-message' into 'master'Stan Hu
Fix sidekiq memory killer warning message Closes gitlab-com/gl-infra/infrastructure#7371 See merge request gitlab-org/gitlab-ce!31264
2019-07-31Adds Sidekiq scheduling latency structured logging fieldAndrew Newdigate
2019-07-31Default dependency job stage index to Infinity, and correctly report it as ↵drew
undefined in prior stages
2019-07-31Allow knative do be uninstalled:João Cunha
- After uninstalling the knative helm chart it's necessary to also remove some leftover resources to allow the cluster to be clean and knative to be reinstalleable. - Adds knative uninstall disclaimer - Uninstall ksvc before uninstalling knative Make list of Knative and Ingres resources explicit - To avoid deleting unwanted resources we are listing exact which resources will be deleted rather than simply deleting any resource that contains istio or knative words.