Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix `Routable.find_by_full_path` on MySQLfix-routable-find-by-full-path-on-mysql | Sean McGivern | 2017-05-06 | 1 | -1/+1 |
| | |||||
* | Redirect from redirect routes to canonical routes | Michael Kozono | 2017-05-05 | 1 | -4/+20 |
| | |||||
* | Cache Routable#full_path in RequestStore to reduce duplicate route loadssh-optimize-duplicate-routable-full-path | Stan Hu | 2017-04-24 | 1 | -2/+13 |
| | | | | | | | | | We see in #27387 that a call to `polymorphic_path` will cause duplicate SELECT route calls for each merge request in a milestone. This happens because calling `project.namespace.becomes(Namespace)` will instantiate a new instance of a Namespace for each merge request, which causes a N+1 query on the routes table. This change caches the state of the route by the specific class and ID, which dramatically eliminates duplicate work. | ||||
* | use more explicit and explanatory sql statement | Alexis Reigel | 2017-04-06 | 1 | -1/+3 |
| | |||||
* | check all groups for 2fa requirement | Alexis Reigel | 2017-04-06 | 1 | -4/+2 |
| | |||||
* | add method to get a full routable hierarchy | Alexis Reigel | 2017-04-06 | 1 | -0/+68 |
| | |||||
* | Remove repeated routes.path check for postgresql database | mhasbini | 2017-03-18 | 1 | -4/+6 |
| | |||||
* | Store group and project full name and full path in routes tabledz-refactor-full-path | Dmitriy Zaporozhets | 2017-02-08 | 1 | -4/+62 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Add User#nested_groups and User#nested_projects methods | Dmitriy Zaporozhets | 2017-01-25 | 1 | -0/+15 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Rename Routable.where_paths_in to Routable.where_full_path_indz-nested-group-improvements-2 | Dmitriy Zaporozhets | 2016-12-11 | 1 | -3/+3 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Validate presence of route by Routable concern | Dmitriy Zaporozhets | 2016-12-11 | 1 | -0/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Add nested groups support on data leveldz-nested-groups | Dmitriy Zaporozhets | 2016-12-08 | 1 | -0/+70 |
* add parent_id field to namespaces table to store relation with nested groups * create routes table to keep information about full path of every group and project * project/group lookup by full path from routes table Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> |