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-07-31Merge branch '65317-adapt-tae-role-name-change' into 'master'Sean McGivern
Fix Danger finding a test reviewer Closes #65317 See merge request gitlab-org/gitlab-ce!31292
2019-07-31Add project scope to live trace feature flagShinya Maeda
Add project scope
2019-07-30Merge branch 'sh-fix-gitaly-access-control' into 'master'Douglas Barbosa Alexandre
Fix exception handling in Gitaly autodetection Closes #65328 See merge request gitlab-org/gitlab-ce!31285
2019-07-30Update regular expression to extract stage nameLin Jen-Shin
Since now the role name can be: "<a href=\"/job-families/engineering/test-automation-engineer/\">Senior Test Automation Engineer</a>, Create:Source Code" We need to cope with </a> in the middle.
2019-07-30Fix exception handling in Gitaly autodetectionStan Hu
In SELinux, the file cannot be written, and `Errno::EACCES`, not `Errno::ACCESS` is thrown. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65328
2019-07-30Fix broken update_project_templates rake taskHordur Freyr Yngvason
This rake task had been broken for a while. This fixes the breakages, adds a test to help avoid future breakages, and adds a few ergonomic improvements to the task itself.
2019-07-30Fix sidekiq memory killer warning messageShinya Maeda
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-29Fix broken master because of security mergeFrancisco Javier López
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-29Merge branch 'remove-peek-pg' into 'master'Stan Hu
Replace peek-pg with our own implementation Closes #44441 See merge request gitlab-org/gitlab-ce!31187
2019-07-29Merge branch 'ab-remove-postgresql-switches' into 'master'Nick Thomas
Further remove `if postgresql?` branches Closes #65054 See merge request gitlab-org/gitlab-ce!31102
2019-07-29Adds direct monitoring for sidekiq metricsRyan Cobb
This adds diirect monitoring for sidekiq metrics. This is done via sidekiq middleware and a sampler to pull from sidekiqs api.
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-29Added navbar searches usage ping counterFrancisco Javier López
Added usage ping counter when the user makes a search through the navbar search component.
2019-07-29Add Job specific variablesMatija Čupić
Adds Job specific variables to facilitate specifying variables when running manual jobs.
2019-07-27Merge branch '19186-redirect-wiki-git-route-to-wiki' into 'master'Stan Hu
Redirect project.wiki.git to project wiki home See merge request gitlab-org/gitlab-ce!31085
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 'mc/feature/find-all-artifacts-for-sha' into 'master'Robert Speicher
Find build by sha from ref Closes #64534 and #45697 See merge request gitlab-org/gitlab-ce!30843
2019-07-26Extract SanitizeNodeLink and apply to WikiLinkFilterKerri Miller
The SanitizationFilter was running before the WikiFilter. Since WikiFilter can modify links, we could see links that _should_ be stopped by SanatizationFilter being rendered on the page. I (kerrizor) had previously addressed the bug in: https://gitlab.com/gitlab-org/gitlab-ee/commit/7bc971915bbeadb950bb0e1f13510bf3038229a4 However, an additional exploit was discovered after that was merged. Working through the issue, we couldn't simply shuffle the order of filters, due to some implicit assumptions about the order of filters, so instead we've extracted the logic that sanitizes a Nokogiri-generated Node object, and applied it to the WikiLinkFilter as well. On moving filters around: Once we start moving around filters, we get cascading failures; fix one, another one crops up. Many of the existing filters in the WikiPipeline chain seem to assume that other filters have already done their work, and thus operate on a "transform anything that's left" basis; WikiFilter, for instance, assumes any link it finds in the markdown should be prepended with the wiki_base_path.. but if it does that, it also turns `href="@user"` into `href="/path/to/wiki/@user"`, which the UserReferenceFilter doesn't see as a user reference it needs to transform into a user profile link. This is true for all the reference filters in the WikiPipeline.
2019-07-26Merge branch 'security-github-ssrf-redirect' into 'master'GitLab Release Tools Bot
Do not allow localhost url redirection in GitHub Integration See merge request gitlab/gitlabhq!3188
2019-07-26Merge branch 'security-dns-ssrf-bypass' into 'master'GitLab Release Tools Bot
Server Side Request Forgery mitigation bypass Closes #2872 See merge request gitlab/gitlabhq!3205
2019-07-26Replace peek-pg with our own implementationSean McGivern
This uses an ActiveRecord subscriber to get queries and calculate the total query time from that. This means that the total will always be consistent with the queries in the table. It does however mean that we could potentially miss some queries that don't go through ActiveRecord. Making this change also allows us to unify the response JSON a little bit, making the frontend slightly simpler as a result.
2019-07-26Merge branch 'dm-submodule-links-nil' into 'master'Nick Thomas
Fix error rendering submodules in MR diffs when there is no .gitmodules See merge request gitlab-org/gitlab-ce!31162
2019-07-26Prefer `flat_map` over `map` + `flatten`Peter Leitzen
Convert several occurrences of `map` + `flatten` to `flat_map` where applicable.
2019-07-26Fix error rendering submodules in MR diffs when there is no .gitmodulesDouwe Maan
Without this change, we get a NoMethodError on nil
2019-07-26Merge branch 'extract_auto_deploy_into_base_image' into 'master'Dmitriy Zaporozhets
Extract Auto DevOps deploy functions in a base image Closes #50286 See merge request gitlab-org/gitlab-ce!30404
2019-07-26Ensure Warden triggers after_authentication callbackImre Farkas
By not triggering the callback: - ActiveSession lookup keys are not cleaned - Devise also misses its hook related to session cleanup
2019-07-26Redirect project.wiki.git to project wiki homeLuke Duncalfe
https://gitlab.com/gitlab-org/gitlab-ce/issues/19186
2019-07-26Rename latest_successful to be more explicitMatija Čupić
* Reword Project#latest_successful_build_for to Project#latest_successful_build_for_ref * Reword Ci::Pipeline#latest_successful_for to Ci::Pipeline#latest_successful_build_for_ref
2019-07-26Merge branch 'print-sidekiq-class-name-in-memory-killer' into 'master'Stan Hu
Logging sidekiq worker class name in SidekiqMemoryKiller See merge request gitlab-org/gitlab-ce!30996
2019-07-25Merge branch 'frozen_string_spec_support' into 'master'Douwe Maan
Add frozen_string_literal to spec/support See merge request gitlab-org/gitlab-ce!31132
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-25Merge branch '54478-table_exists-not-compatible-with-rails-5-1' into 'master'Douglas Barbosa Alexandre
Resolve "table_exists? not compatible with Rails 5.1" Closes #54478 See merge request gitlab-org/gitlab-ce!30832
2019-07-25Frozen string cannot change encodingThong Kuah
This was shown in specs but surely this will be happening in application code as well if this method is passes a frozen string. We were also trying to force_encode a OmniAuth::AuthHash which had the very confusing behaviour of returning nil when it was sent a method that it did not define. Fix that by only force_encoding a String.
2019-07-25Merge branch '9643-jira-api-serializer-ce' into 'master'Sean McGivern
[CE] Create serializer for Jira API JSON payload See merge request gitlab-org/gitlab-ce!31139
2019-07-25Merge branch 'tc-revert-rails5-workaround' into 'master'Andreas Brandl
Revert "Workaround for Rails 5, where LIMIT..." See merge request gitlab-org/gitlab-ce!30780
2019-07-25Logging sidekiq worker class name in SidekiqMemoryKillerShinya Maeda
Currently, SidekiqMemoryKiller does not feed worker class name in the json structured logging. This commit extends the json parameter.
2019-07-25Backport Jira issue key regexHeinrich Lee Yu
2019-07-25Remove code related to object hierarchy in MySQLHeinrich Lee Yu
These are not required because MySQL is not supported anymore
2019-07-25Remove unneeded monkey-patchHeinrich Lee Yu
Changes all calls to data_source_exists? to table_exists? since that is the intent of these calls
2019-07-25Extract deploy functions in a base imageThong Kuah
https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image
2019-07-25Enable Rubocop Performance/ReverseEachStan Hu
`Array.reverse_each` is faster than `Array.reverse.each` because: * reverse.each creates a new array then loops each element * reverse_each loops in reverse order (no intermediate array created)
2019-07-24Add RateLimiter to RawControllerMayra Cabrera
* Limits raw requests to 300 per minute and per raw path. * Add a new attribute to ApplicationSettings so user can change this value on their instance. * Uses Gitlab::ActionRateLimiter to limit the raw requests. * Add a new method into ActionRateLimiter to log the event into auth.log Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/48717
2019-07-24Merge branch 'optimise-import-performance' into 'master'Stan Hu
Optimise import performance Closes #64924 See merge request gitlab-org/gitlab-ce!31045
2019-07-24[ADD] outbound requests whitelistReuben Pereira
Signed-off-by: Istvan szalai <istvan.szalai@savoirfairelinux.com>
2019-07-24Enable tablesample count strategy by defaultAndreas Brandl
https://gitlab.com/gitlab-org/gitlab-ce/issues/58792