Commit Graph

14 Commits

Author SHA1 Message Date
Douwe Maan a03d29da1d Validate User username only on Namespace, and bubble up appropriately 2018-02-06 12:09:03 -06:00
Takuya Noguchi 2b6307f6ad Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09:00
Bob Van Landuyt 9b0899cb80 Remove EE-specific group paths 2017-11-07 19:52:10 +01:00
Bob Van Landuyt e070e216c8 Update failure message when finding new routes in `PathRegex` 2017-11-07 19:52:10 +01:00
Bob Van Landuyt 58d1d6a5c7 Free up some group reserved words 2017-11-07 19:52:09 +01:00
Bob Van Landuyt 5dde0536c3 Free up `avatar`, `group_members` and `milestones` as paths 2017-11-07 19:52:09 +01:00
Sean McGivern cc829e8192 Ignore routes matching legacy_*_redirect in route specs
Routes with the name `legacy_*_redirect` may have wildcards deliberately, in
order to support routing old paths to new paths. As long as these routes are
tested independently, they do not need to fail the path regex spec.
2017-11-06 11:20:23 +00:00
Bob Van Landuyt 80780018a9 Update `children` route to handle projects and groups 2017-10-04 22:46:49 +02:00
Mike Greiling 7b262c4356 Resolve "Precompiled assets with digest strings are ignored in CI" 2017-10-03 14:47:56 +00:00
Rémy Coutable ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Bob Van Landuyt ad46c8878b Add `api` prefix as a top level route in the spec.
Now that it has been removed from the rails routes. But it still needs
to be a reserved top-level word, so the tests should know about this.
2017-07-25 14:51:36 +02:00
Bob Van Landuyt d22fe96b58 Take ee words into account
We need to reserve these words in EE to support the upgrade path from
CE to EE.
2017-07-25 09:18:54 +02:00
Bob Van Landuyt 2b0a85c100 Adjust `PathRegex` to validate files in the `public` directory
And reports when too many words are rejected.
2017-07-25 09:18:54 +02:00
Douwe Maan 43b1750892 Revert "Remove changes that are not absolutely necessary"
This reverts commit b0498c176f
2017-05-24 20:59:26 +00:00