- 27 Oct, 2017 1 commit
-
-
Zeger-Jan van de Weg authored
Now, when requesting a commit from the Repository model, the results are not cached. This means we're fetching the same commit by oid multiple times during the same request. To prevent us from doing this, we now cache results. Caching is done only based on object id (aka SHA). Given we cache on the Repository model, results are scoped to the associated project, eventhough the change of two repositories having the same oids for different commits is small.
-
- 17 Oct, 2017 1 commit
-
-
Bob Van Landuyt authored
The problem would occur when the `ForkedProjectLink` was deleted, but the `ForkNetworkMember` was not. The delete would be rolled back and retried. But the error would not be saved because `Project#forked?` would still be true, because the `ForkNetworkMember` exists. But the `Project#forked_project_link` would be `nil`. So the validation for the visibility level would fail.
-
- 10 Oct, 2017 1 commit
-
-
Bob Van Landuyt authored
-
- 07 Oct, 2017 3 commits
-
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
When no fork network exists for the source projects, we create a new one with the correct source
-
- 06 Oct, 2017 1 commit
-
-
Toon Claes authored
In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo secondary node). But in GitLab CE it also might be useful to have the "read-only" idea around. So port it back to GitLab CE. Also having the principle of read-only in GitLab CE would hopefully lead to less errors introduced, doing write operations when there aren't allowed for read-only calls. Closes gitlab-org/gitlab-ce#37534.
-
- 05 Oct, 2017 3 commits
-
-
Alessio Caiazza authored
-
Zeger-Jan van de Weg authored
-
Bob Van Landuyt authored
-
- 04 Oct, 2017 4 commits
-
-
Bob Van Landuyt authored
By preloading the count of members, projects and subgroups of a group, we don't need to query them later. We also preload the entire hierarchy for a search result and include the counts so we don't need to query for them again
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
-
- 02 Oct, 2017 3 commits
-
-
Douglas Barbosa Alexandre authored
-
Stan Hu authored
Because of a change in GitLab 9.5.4 to prevent users from assuming control of a repository already on disk, the import task broke. Imports would fail with the message, "There is already a repository with that name on disk". This change skips the validation when the import is done from the command-line. Closes #37682
-
Shinya Maeda authored
-
- 29 Sep, 2017 3 commits
-
-
Valery Sizov authored
-
Jacob Vosmaer authored
-
Valery Sizov authored
-
- 28 Sep, 2017 1 commit
-
-
Gabriel Mazetto authored
-
- 25 Sep, 2017 1 commit
-
-
Shinya Maeda authored
-
- 20 Sep, 2017 2 commits
-
-
Valery Sizov authored
-
Valery Sizov authored
-
- 15 Sep, 2017 1 commit
-
-
Zeger-Jan van de Weg authored
Updating didn't work, as the project_id was missing to be set for the project_auto_devops model. Fixes gitlab-org/gitlab-ce#37893
-
- 14 Sep, 2017 1 commit
-
-
Yorick Peterse authored
This adds Project#latest_successful_pipeline_for and Project#latest_successful_pipeline_for_default_branch. The 2nd method memoizes the result (taking nil values into account) to ensure the underlying query isn't executed multiple times when viewing a project's homepage. See https://gitlab.com/gitlab-org/gitlab-ce/issues/36878#note_40073607 for more information.
-
- 12 Sep, 2017 1 commit
-
-
Felipe Artur authored
-
- 07 Sep, 2017 1 commit
-
-
Kamil Trzcinski authored
-
- 06 Sep, 2017 7 commits
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Zeger-Jan van de Weg authored
-
Ashley Dumaine authored
-
Ashley Dumaine authored
-
Zeger-Jan van de Weg authored
-
- 05 Sep, 2017 1 commit
-
-
Rubén Dávila authored
The following optimizations were performed: - Add new association to GroupMember and ProjectMember This new association will allow us to check if a user is a member of a Project or Group through a single query instead of two. - Optimize retrieving of Members when adding multiple Users
-
- 04 Sep, 2017 3 commits
-
-
Zeger-Jan van de Weg authored
-
Zeger-Jan van de Weg authored
-
Zeger-Jan van de Weg authored
-
- 31 Aug, 2017 1 commit
-
-
Zeger-Jan van de Weg authored
-