Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Validate User username only on Namespace, and bubble up appropriately | Douwe Maan | 2018-02-06 | 4 | -28/+1 |
| | |||||
* | Second iteration of Move Kubernetes from service to Cluster page | Filipa Lacerda | 2017-12-05 | 1 | -5/+5 |
| | |||||
* | Adds Rubocop rule for line break after guard clause | Jacopo | 2017-11-16 | 2 | -0/+2 |
| | | | | Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses. | ||||
* | Merge branch 'refactor-clusters' into 'master' | Grzegorz Bizon | 2017-11-06 | 1 | -0/+24 |
|\ | | | | | | | | | Refactor Clusters to be consisted from GcpProvider and KubernetesPlatform See merge request gitlab-org/gitlab-ce!14879 | ||||
| * | specs for models. Improved details. | Shinya Maeda | 2017-10-30 | 1 | -1/+1 |
| | | |||||
| * | This works | Shinya Maeda | 2017-10-23 | 1 | -0/+24 |
| | | |||||
* | | Reallow project paths ending in periodsdm-reallow-project-path-ending-in-period | Douwe Maan | 2017-11-06 | 5 | -53/+91 |
|/ | |||||
* | Move the key restriction validation to its own class | Nick Thomas | 2017-08-30 | 1 | -0/+29 |
| | |||||
* | Implement ayufan validator2 | Shinya Maeda | 2017-07-06 | 1 | -0/+13 |
| | |||||
* | Implement ayufan validator | Shinya Maeda | 2017-07-06 | 1 | -37/+0 |
| | |||||
* | Revert "Implement Ci::NestedUniquenessValidator" | Shinya Maeda | 2017-07-06 | 1 | -0/+37 |
| | | | | This reverts commit 8f0a2b6d780347a5ce258ac1a6a6902ce9695ca1. | ||||
* | Implement Ci::NestedUniquenessValidator | Shinya Maeda | 2017-07-05 | 1 | -37/+0 |
| | |||||
* | Implement uniqueness_of_in_memory_validator | Shinya Maeda | 2017-07-05 | 1 | -0/+37 |
| | |||||
* | Rebuild the dynamic path before validating itbvl-validate-path-update | Bob Van Landuyt | 2017-06-21 | 1 | -1/+1 |
| | | | | | Otherwise we won't validate updates to the path. Allowing users to change the path to something that's not allowed. | ||||
* | Rename `Gitlab::Git::EncodingHelper` to `Gitlab::EncodingHelper` | Bob Van Landuyt | 2017-06-01 | 1 | -1/+1 |
| | |||||
* | Avoid crash when trying to parse string with invalid UTF-8 sequence | Bob Van Landuyt | 2017-05-30 | 1 | -0/+5 |
| | |||||
* | Revert "Remove changes that are not absolutely necessary" | Douwe Maan | 2017-05-24 | 1 | -8/+14 |
| | | | This reverts commit b0498c176fa134761d899c9b369be12f1ca789c5 | ||||
* | Remove changes that are not absolutely necessarydm-fix-routes | Douwe Maan | 2017-05-23 | 1 | -14/+8 |
| | |||||
* | Fix ambiguous routing issues by teaching router about reserved words | Douwe Maan | 2017-05-23 | 1 | -191/+24 |
| | |||||
* | Reject EE reserved namespace paths in CE as wellbvl-reject-ee-namespace-names | Bob Van Landuyt | 2017-05-04 | 1 | -0/+7 |
| | |||||
* | Don't validate reserved words if the format doesn't match30272-bvl-reject-more-namespaces | Bob Van Landuyt | 2017-05-02 | 1 | -0/+1 |
| | | | | | | Because it also won't match the sophisticated format we have for detecting reserved names. We don't want to confuse the user with 2 error messages | ||||
* | Update comments | Bob Van Landuyt | 2017-05-02 | 1 | -5/+18 |
| | |||||
* | Update path validation & specs | Bob Van Landuyt | 2017-05-02 | 1 | -13/+18 |
| | |||||
* | Reuse Gitlab::Regex.full_namespace_regex in the DynamicPathValidator | Bob Van Landuyt | 2017-05-02 | 1 | -25/+18 |
| | |||||
* | Reject group-routes as names of child namespaces | Bob Van Landuyt | 2017-05-01 | 1 | -18/+71 |
| | |||||
* | Reject paths following namespace for paths including 2 `*` | Bob Van Landuyt | 2017-05-01 | 1 | -2/+2 |
| | | | | | Reject the part following `/*namespace_id/:project_id` for paths containing 2 wildcard parameters | ||||
* | Allow `graphs` & `refs` project names | Bob Van Landuyt | 2017-05-01 | 1 | -2/+0 |
| | |||||
* | Minor style adjustments | Bob Van Landuyt | 2017-05-01 | 1 | -21/+39 |
| | |||||
* | Use `%r{}` regexes to avoid having to escape `/` | Bob Van Landuyt | 2017-05-01 | 1 | -1/+1 |
| | |||||
* | The dynamic path validator can block out partial paths | Bob Van Landuyt | 2017-05-01 | 1 | -33/+24 |
| | | | | So we can block `objects` only when it is contained in `info/lfs` or `gitlab-lfs` | ||||
* | Make path validation case-insensitive | Bob Van Landuyt | 2017-05-01 | 1 | -0/+1 |
| | |||||
* | Reject `-` as a path | Bob Van Landuyt | 2017-05-01 | 1 | -0/+1 |
| | |||||
* | Rename `NamespaceValidator` to `DynamicPathValidator` | Bob Van Landuyt | 2017-05-01 | 1 | -3/+6 |
| | | | | This reflects better that it validates paths instead of a namespace model | ||||
* | Use the namespace validator for validating all paths | Bob Van Landuyt | 2017-05-01 | 1 | -27/+0 |
| | | | | | Since the namespacevalidator now knows the difference between a top-level and another path, this could all be handled there. | ||||
* | Check `has_parent?` for determining validation type | Bob Van Landuyt | 2017-05-01 | 1 | -3/+3 |
| | |||||
* | Split off validating full paths | Bob Van Landuyt | 2017-05-01 | 1 | -6/+8 |
| | | | | | The first part of a full path needs to be validated as a `top_level` while the rest need to be validated as `wildcard` | ||||
* | Improve detection of reserved words from routes | Bob Van Landuyt | 2017-05-01 | 1 | -13/+2 |
| | |||||
* | Streamline the path validation in groups & projects | Bob Van Landuyt | 2017-05-01 | 2 | -42/+73 |
| | | | | | | | | | | | | `Project` uses `ProjectPathValidator` which is now a `NamespaceValidator` that skips the format validation. That way we're sure we are using the same collection of reserved paths. I updated the path constraints to reflect the changes: We now allow some values that are only used on a top level namespace as a name for a nested group/project. | ||||
* | Add forbidden paths to the namespace validator | Bob Van Landuyt | 2017-05-01 | 1 | -1/+13 |
| | |||||
* | Disallow some more namespaces | Bob Van Landuyt | 2017-05-01 | 1 | -0/+16 |
| | | | | These routes seem to be taken | ||||
* | Rename cron_time_zone to cron_timezone. Separate add_concurrent_foreign_key. | Shinya Maeda | 2017-04-06 | 2 | -6/+6 |
| | |||||
* | Separate cron_valid? and cron_time_zone_valid? | Shinya Maeda | 2017-04-06 | 2 | -7/+10 |
| | |||||
* | Move Ci::CronParser to Gitlab::Ci::CronParser | Shinya Maeda | 2017-04-06 | 1 | -1/+1 |
| | |||||
* | Add Import/Export Setting for trigger_schedule. Remove ref validation. | Shinya Maeda | 2017-04-06 | 1 | -10/+0 |
| | |||||
* | Fix rubocop issues. Use add_concurrent_foreign_key. | Shinya Maeda | 2017-04-06 | 1 | -1/+0 |
| | |||||
* | Add validator | Shinya Maeda | 2017-04-06 | 2 | -0/+26 |
| | |||||
* | Merge branch 'ssrf' into 'security' | Douwe Maan | 2017-03-20 | 1 | -0/+11 |
| | | | | | Protect server against SSRF in project import URLs See merge request !2068 | ||||
* | Reserve few project and nested group paths | Dmitriy Zaporozhets | 2017-03-13 | 1 | -1/+2 |
| | | | | | | | That have wildcard routes associated and not reserved yet: artifacts, graphs, badges and refs Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Restrict nested group names to prevent ambiguous routesdz-nested-groups-restrictions | Dmitriy Zaporozhets | 2017-03-07 | 2 | -7/+16 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Introduce DurationValidator, feedback:27762-add-default-artifacts-expiration | Lin Jen-Shin | 2017-02-24 | 1 | -0/+17 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_24032923 |