| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'dm-fix-routes' into 'master' | Robert Speicher | 2017-05-25 | 1 | -224/+24 |
| | | | | | | Fix ambiguous routing issues by teaching router about reserved words See merge request !11570 | ||||
| * | Add a better error message when a certain path is missing | Bob Van Landuyt | 2017-05-02 | 1 | -3/+34 |
| | | |||||
| * | Update path validation & specs | Bob Van Landuyt | 2017-05-02 | 1 | -3/+40 |
| | | |||||
| * | Reuse Gitlab::Regex.full_namespace_regex in the DynamicPathValidator | Bob Van Landuyt | 2017-05-02 | 1 | -1/+10 |
| | | |||||
| * | Reject group-routes as names of child namespaces | Bob Van Landuyt | 2017-05-01 | 1 | -25/+51 |
| | | |||||
| * | Reject paths following namespace for paths including 2 `*` | Bob Van Landuyt | 2017-05-01 | 1 | -12/+14 |
| | | | | | | Reject the part following `/*namespace_id/:project_id` for paths containing 2 wildcard parameters | ||||
| * | Use `%r{}` regexes to avoid having to escape `/` | Bob Van Landuyt | 2017-05-01 | 1 | -5/+5 |
| | | |||||
| * | The dynamic path validator can block out partial paths | Bob Van Landuyt | 2017-05-01 | 1 | -60/+80 |
| | | | | | 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 | -1/+7 |
| | | |||||
| * | Rename `NamespaceValidator` to `DynamicPathValidator` | Bob Van Landuyt | 2017-05-01 | 1 | -1/+1 |
| | | | | | This reflects better that it validates paths instead of a namespace model | ||||
| * | Split off validating full paths | Bob Van Landuyt | 2017-05-01 | 1 | -0/+20 |
| | | | | | | 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 | -14/+67 |
| | | |||||
| * | Streamline the path validation in groups & projects | Bob Van Landuyt | 2017-05-01 | 1 | -0/+33 |
| | | | | | | | | | | | | | `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 | -0/+29 |
