Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add cop for has_many :through without disabled autoloadingfix-n-plus-one-when-getting-notification-settings-for-recipients | Sean McGivern | 2018-04-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | Goldiloader is great, but has several issues with has_many :through relations: * https://github.com/salsify/goldiloader/issues/12 * https://github.com/salsify/goldiloader/issues/14 * https://github.com/salsify/goldiloader/issues/18 Rather than try to figure out which applies in each case, we should just do the drudge work of manually disabling autoloading for all relations of this type. We can always use regular preloading for specific cases, but this way we avoid generating invalid queries through Goldiloader's magic. | ||||
* | Unlink a project from a fork network when it's source was deleted. | Bob Van Landuyt | 2017-11-03 | 1 | -0/+4 |
| | | | | | We need to close all merge requests coming from the project within the entire fork network. | ||||
* | Find forks within users/namespaces using fork memberships | Bob Van Landuyt | 2017-10-07 | 1 | -0/+4 |
| | |||||
* | Create a fork network when forking a project | Bob Van Landuyt | 2017-10-07 | 1 | -1/+9 |
| | | | | | When no fork network exists for the source projects, we create a new one with the correct source | ||||
* | Add a model for `fork_networks` | Bob Van Landuyt | 2017-10-07 | 1 | -0/+3 |
The fork network will keep track of the root project as long as it's present. |