summaryrefslogtreecommitdiff
path: root/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* Include RevList error messages in exceptionscapture-rev-list-errorsJacob Vosmaer2017-10-031-1/+1
|
* Merge branch 'fix-kubectl-180' into 'master'Kamil Trzciński2017-10-031-1/+1
|\ | | | | | | | | | | | | Fix broken certificate-authority-data with kubectl >= 1.8.0 Closes #38685 See merge request gitlab-org/gitlab-ce!14635
| * Fix broken certificate-authority-data with kubectl >= 1.8.0fix-kubectl-180Alessio Caiazza2017-10-031-1/+1
| |
* | Fix for Gitaly nil encoding issueAndrew Newdigate2017-10-032-1/+3
| |
* | Merge branch 'gitaly-get-archive' into 'master'Douwe Maan2017-10-031-0/+7
|\ \ | | | | | | | | | | | | Send extra Gitaly params for `send_git_archive` if needed See merge request gitlab-org/gitlab-ce!14605
| * | Send extra Gitaly params for `send_git_archive` if neededAlejandro Rodríguez2017-10-021-0/+7
| | |
* | | Merge branch 'sh-fix-import-repos' into 'master'Robert Speicher2017-10-021-1/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Fix gitlab-rake gitlab:import:repos task Closes #37682 See merge request gitlab-org/gitlab-ce!14597
| * | Fix gitlab-rake gitlab:import:repos taskStan Hu2017-10-021-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'log-update-ref-errors' into 'master'Sean McGivern2017-10-021-1/+3
|\ \ | |/ |/| | | | | Log update-ref errors in OperationService See merge request gitlab-org/gitlab-ce!14627
| * Log update-ref errors in OperationServiceJacob Vosmaer2017-10-021-1/+3
| |
* | Merge branch '33493-attempt-to-link-saml-users-to-ldap-by-email' into 'master'Douwe Maan2017-10-025-92/+67
|\ \ | | | | | | | | | | | | | | | | | | Attempt to link saml users to ldap by email Closes #33493 See merge request gitlab-org/gitlab-ce!14216
| * | Refactors SAML identity creation in gl_user.Tiago Botelho2017-10-025-102/+58
| | |
| * | Creates compound query for LDAP email attributes.Tiago Botelho2017-09-252-7/+15
| | |
| * | Attempt to link saml users to ldap by emailTiago Botelho2017-09-253-8/+19
| | |
* | | Merge branch 'revert-configurable-size-limits' into 'master'Douwe Maan2017-10-021-37/+9
|\ \ \ | |_|/ |/| | | | | | | | Revert "Increase diff limits to 100 KB for collapse and 200 KB overall" See merge request gitlab-org/gitlab-ce!14628
| * | Revert "Increase diff limits to 100 KB for collapse and 200 KB overall"Sean McGivern2017-10-021-37/+9
| | | | | | | | | | | | This reverts commit 1d3c33b57eeb39df76e78fd37c86532c02aa22ac.
* | | Merge branch 'gitaly-add-branch' into 'master'Sean McGivern2017-10-023-9/+50
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Implement OperationService.UserAddBranch Gitaly RPC Closes gitaly#544 See merge request gitlab-org/gitlab-ce!14522
| * | Implement OperationService.UserAddBranch Gitaly RPCgitaly-add-branchAlejandro Rodríguez2017-09-302-7/+47
| | |
| * | Populate `Gitlay::Repository`'s `gl_repository` fieldAlejandro Rodríguez2017-09-302-2/+3
| | |
* | | Merge branch 'remote_user' into 'master'Douwe Maan2017-10-024-22/+25
|\ \ \ | | | | | | | | | | | | | | | | Add GL_USERNAME environment variable for hooks See merge request gitlab-org/gitlab-ce!13264
| * | | add username to authorized result, so that gitlab-shell can pass it to hooksDavid Turner2017-09-292-7/+6
| | | |
| * | | Add username as GL_USERNAME in hooks (http)David Turner2017-09-293-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calling pre-receive, post-receive, and update hooks, add the GitLab username as the GL_USERNAME environment variable. This patch only handles cases where pushes are over http, or via the web interface. Later, we will address the ssh case.
| * | | remove unused from_gitaly methodDavid Turner2017-09-291-4/+0
| |/ /
* | | Add environment variable to bypass n+1Andrew Newdigate2017-09-301-1/+1
|/ /
* | Create repositories via GitalyJacob Vosmaer2017-09-293-7/+21
| |
* | Merge branch ↵Rémy Coutable2017-09-291-5/+27
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '36631-activerecord-statementinvalid-pg-querycanceled-error-canceling-statement-due-to-statement-timeout' into 'master' Insert at most 1,000 rows at once in MR diff background migration Closes #36631 et #37505 See merge request gitlab-org/gitlab-ce!13661
| * | Make MR diff background migration less likely to time outSean McGivern2017-09-291-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This version does not use transactions, but individual statements. As we have unique constraints on the target tables for the inserts, we can just ignore uniqueness violations there (as long as we always insert the same batch size, in the same order). This means the spec now must use truncation, not a transaction, as the uniqueness violation means that the whole transaction for that spec would be invalid, which isn't what we'd want. In real-world use, this isn't run in a transaction anyway. This commit also wraps unhandled exceptions, for easier finding in Sentry, and logs with a consistent format, for easier searching.
| * | Insert at most 1,000 rows at once in MR diff background migrationSean McGivern2017-09-291-3/+9
| | | | | | | | | | | | | | | | | | We were hitting the statement timeout for very large MR diffs. Now we insert at most 1,000 rows to `merge_request_diff_commits` in a single statement, or 100 rows to `merge_request_diff_files`.
* | | Make Repository#has_visible_content more efficientJacob Vosmaer (GitLab)2017-09-292-1/+33
|/ /
* | Migrate Gitlab::Git::Repository#add_tag to Gitalyfeature/migrate-repository-add-tag-to-gitalyAhmad Sherif2017-09-294-30/+70
| | | | | | | | Closes gitaly#601
* | Merge branch 'feature/migrate-repository-rm-tag-to-gitaly' into 'master'Robert Speicher2017-09-283-1/+45
|\ \ | | | | | | | | | | | | | | | | | | Migrate Git::Repository#rm_tag to Gitaly Closes gitaly#562 See merge request gitlab-org/gitlab-ce!14388
| * | Migrate Git::Repository#rm_tag to GitalyAhmad Sherif2017-09-283-1/+45
| | | | | | | | | | | | Closes gitaly#562
* | | Merge branch 'hashed-storage-migration-path' into 'master'Douwe Maan2017-09-281-1/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Hashed storage migration path Closes gitlab-ee#3118 See merge request gitlab-org/gitlab-ce!14067
| * | | [Backported from EE] Readonly flag for ProjectsGabriel Mazetto2017-09-281-1/+6
| | | | | | | | | | | | | | | | | | | | This is used in EE for the storage migration, and we want to use this in CE as well to be able to migrate projects to hashed_storage.
* | | | Handle error when fetching ref for MR with deleted source branch38319-nomethoderror-undefined-method-sha-for-nil-nilclassSean McGivern2017-09-281-2/+7
|/ / / | | | | | | | | | | | | | | | If the ref doesn't exist, and the source branch is deleted, we can't get it back easily. Previously, we ignored this error by shelling out, so replicate that behaviour.
* | | Merge branch 'zj-repo-gitaly' into 'master'Sean McGivern2017-09-281-2/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | RepositoryExists is always called with #gitaly_migration Closes #38333 See merge request gitlab-org/gitlab-ce!14513
| * | | Rolling back change to n+1 detectionan-repo-gitalyAndrew Newdigate2017-09-271-7/+1
| | | |
| * | | RepositoryExists is always called with #gitaly_migrationZeger-Jan van de Weg2017-09-261-2/+12
| | | |
| * | | Don't enforce gitaly request limits for distinct callsAlejandro Rodríguez2017-09-261-1/+7
| | | |
* | | | refactor users update serviceJames Lopez2017-09-282-2/+2
| | | |
* | | | refactor services to match EE signatureJames Lopez2017-09-282-2/+2
| |/ / |/| |
* | | Merge branch 'backstage/gb/refactor-pipeline-create-service' into 'master'Kamil Trzciński2017-09-2710-141/+412
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Refactor a service responsible for creating a pipeline Closes #37563 and #34415 See merge request gitlab-org/gitlab-ce!14482
| * | Add some minor improvements to pipeline creation chainbackstage/gb/refactor-pipeline-create-serviceGrzegorz Bizon2017-09-272-5/+2
| | |
| * | Add specs for builder chain step that skipps pipelinesGrzegorz Bizon2017-09-261-1/+1
| | |
| * | Fix coding style offenses in pipeline chain classesGrzegorz Bizon2017-09-262-4/+2
| | |
| * | Move pipeline builder validation chain to a moduleGrzegorz Bizon2017-09-266-115/+121
| | |
| * | Split pipeline chain builder validation classGrzegorz Bizon2017-09-266-102/+143
| | |
| * | Add class that handles pipeline creation sequenceGrzegorz Bizon2017-09-261-0/+37
| | |
| * | Extract pipeline persistence to a separate chain classGrzegorz Bizon2017-09-261-0/+29
| | |
| * | Fix code style offenses in pipeline create servicesGrzegorz Bizon2017-09-261-1/+1
| | |