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-04-11Align UrlValidator to validate_url gem implementation.Thong Kuah
Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement. Make use of the options attribute of the parent class ActiveModel::EachValidator. Add more options: allow_nil, allow_blank, message. Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
2019-04-09Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-04-05Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl
This reverts merge request !26823
2019-04-05Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-03-29Renames Cluster#managed? to provided_by_user?Mayra Cabrera
This will allow to user the term managed? on https://gitlab.com/gitlab-org/gitlab-ce/issues/56557. Managed? will be used to distinct clusters that are automatically managed by GitLab
2019-03-14Fix Bitbucket importFrancisco Javier López
In https://gitlab.com/gitlab-org/gitlab-ce/commit/ebf16ada856efb85424a98848c141f21e609886a we introduced a SHA validator, to ensure that the data provided in merge request diffs, was legit. Nevertheless, the validator assumed that the SHA should be 40 chars long. When we import a project from BitBucket, the retrieved SHA is shorter (12 chars long). Therefore, this validator prevented to create a valid MergeRequestDiff for ever MergeRequest (triggering an exception).
2019-03-09Merge branch 'fix/email_validator' into 'master'Stan Hu
Align EmailValidator to validate_email gem implementation. Closes #57352 See merge request gitlab-org/gitlab-ce!24971
2019-03-05Align EmailValidator to validate_email gem implementation.Horatiu Eugen Vlad
Renamed EmailValidator to DeviseEmailValidator to avoid 'email:' naming collision with ActiveModel::Validations::EmailValidator in 'validates' statement. Make use of the options attribute of the parent class ActiveModel::EachValidator. Add more options: regex.
2019-03-04Arbitrary file read via MergeRequestDiffFrancisco Javier López
2019-02-20Comment why we can't use Gitlab::CurrentSettingsThong Kuah
See https://gitlab.com/gitlab-org/gitlab-ee/issues/9833
2019-02-19Revert "Merge branch 'use_gitlab_current_settings' into 'master'"Bob Van Landuyt
This reverts merge request !25370
2019-02-19Use Gitlab::CurrentSettings in UrlValidatorThong Kuah
Gitlab::CurrentSettings will create ApplicationSetting.current if not present which means we don't have to use `&.`. We can also more easily use stub_application_setting in specs
2019-01-07Add table and model for error tracking settingsReuben Pereira
2018-12-08Merge branch 'ce-jej/group-saml-sso-button-link-description' into 'master'Clement Ho
[CE] Backport SAML unlink changes: UrlBlocker#ascii_only See merge request gitlab-org/gitlab-ce!23627
2018-12-06Allow URLs to be validated as ascii_onlyJames Edwards-Jones
Restricts unicode characters and IDNA deviations which could be used in a phishing attack
2018-12-05Add custom validation message for chronic duration attributeGrzegorz Bizon
2018-09-17Allow UrlValidator to work with attr_encryptedNick Thomas
2018-09-13Merge branch 'rubocop-code-reuse' into 'master'Robert Speicher
Add RuboCop cops to enforce code reusing rules See merge request gitlab-org/gitlab-ce!21391
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11Enable frozen string in vestigial filesgfyoung
Partially addresses #47424.
2018-09-05Merge branch 'filter-web-hooks-by-branch' into 'master'Dmitriy Zaporozhets
Filter web hooks by branch See merge request gitlab-org/gitlab-ce!19513
2018-09-05Refactor: move active hook filter to TriggerableHooksDuana Saskia
2018-08-30Allow whitelisting for "external collaborator by default" settingRoger Rüttimann
2018-08-13Filter project hooks by branchDuana Saskia
Allow specificying a branch filter for a project hook and only trigger a project hook if either the branch filter is blank or the branch matches. Only supported for push_events for now.
2018-06-27Enable frozen string in apps/validators/*.rbgfyoung
Partially addresses #47424.
2018-06-11Avoid checking the user format in every url validationFrancisco Javier López
2018-06-01Add validation to webhook and service URLs to ensure they are not blocked ↵Francisco Javier López
because of SSRF
2018-04-02Rename allow_private_networks to allow_local_networkDouwe Maan
2018-04-02Raise more descriptive errors when URLs are blockedDouwe Maan
2018-04-02Adds validators and rack cookie helperJames Edwards-Jones
These changes are backported from EE, related to SAML settings in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4549
2018-03-22Add HTTPS-only pagesRob Watson
Closes #28857
2018-03-21Merge branch 'fj-15329-services-callbacks-ssrf' into 'security-10-6'Douwe Maan
Server Side Request Forgery in Services and Web Hooks See merge request gitlab/gitlabhq!2337
2018-03-05Projects and groups badges APIFrancisco Javier López
2018-02-23Skip variables duplicates validator if variable is already a duplicateMatija Čupić
2018-02-15Improve validation message and add changelogKamil Trzciński
2018-02-14Refactor variable duplicates error messageMatija Čupić
2018-02-14Add more information in variable_duplicates validator error messageMatija Čupić
2018-02-13Refactor outer anonymous function into a do blockMatija Čupić
2018-02-13Disable public send cop in variables duplicates validatorMatija Čupić
2018-02-13Extend variables_duplicates validator with scope handlingMatija Čupić
2018-02-06Validate User username only on Namespace, and bubble up appropriatelyDouwe Maan
2017-12-05Second iteration of Move Kubernetes from service to Cluster pageFilipa Lacerda
2017-11-16Adds Rubocop rule for line break after guard clauseJacopo
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-07Merge branch 'refactor-clusters' into 'master'Grzegorz Bizon
Refactor Clusters to be consisted from GcpProvider and KubernetesPlatform See merge request gitlab-org/gitlab-ce!14879
2017-11-06Reallow project paths ending in periodsDouwe Maan
2017-10-29specs for models. Improved details.Shinya Maeda
2017-10-23This worksShinya Maeda
2017-08-30Move the key restriction validation to its own classNick Thomas
2017-07-05Implement ayufan validator2Shinya Maeda
2017-07-05Implement ayufan validatorShinya Maeda