summaryrefslogtreecommitdiff
path: root/spec/models
Commit message (Collapse)AuthorAgeFilesLines
* Hide Gollum inside Gitlab::Git::WikiJacob Vosmaer2017-10-032-41/+37
|
* 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
| |
* | Merge branch 'ff_port_from_ee' into 'master'Sean McGivern2017-10-032-0/+40
|\ \ | | | | | | | | | | | | Move Fast-Forward Merge to CE See merge request gitlab-org/gitlab-ce!14272
| * \ Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ff_port_from_eeValery Sizov2017-10-022-67/+131
| |\ \
| * \ \ Merge branch 'master' into ff_port_from_eeEric Eastwood2017-09-285-3/+96
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/models/project.rb db/schema.rb
| * \ \ \ Merge branch 'master' into ff_port_from_eeEric Eastwood2017-09-263-78/+37
| |\ \ \ \
| * | | | | Add spec for Project#merge_methodValery Sizov2017-09-201-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | It should be deleted from EE side when doing CE->EE merge!
| * | | | | Add spec for Repository#ff_merge (ported from EE)Valery Sizov2017-09-191-0/+28
| | | | | |
* | | | | | Merge branch 'sh-fix-import-repos' into 'master'Robert Speicher2017-10-021-0/+11
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+11
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'fix/gpg/case-insensitive' into 'master'Dmitriy Zaporozhets2017-10-021-0/+8
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Make GPG validation case insensitive See merge request gitlab-org/gitlab-ce!14376
| * | | | Make GPG validation case insensitive.Tim Bishop2017-09-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In line with other changes in GitLab, make email address validation properly case insensitive. The email address in the commit may be in any case, so it needs downcasing to match the address stored in GitLab for the user. Without this change the comparison fails and commits are not marked as verified. See #37009.
* | | | | Merge branch 'gitaly-add-branch' into 'master'Sean McGivern2017-10-021-25/+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-301-25/+50
| |/ / / /
* | | | | Merge branch 'remote_user' into 'master'Douwe Maan2017-10-021-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add GL_USERNAME environment variable for hooks See merge request gitlab-org/gitlab-ce!13264
| * | | | | Add username as GL_USERNAME in hooks (http)David Turner2017-09-291-3/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Fix pushes to an empty repository not invalidating has_visible_content? cacheStan Hu2017-10-011-1/+12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | `Repository#has_visible_content?` used to rely on the cached count of local branches, but since it is now an independently cached value it needs to be invalidated on its own. Closes #38646
* | | | Create repositories via GitalyJacob Vosmaer2017-09-291-3/+3
| | | |
* | | | Make Repository#has_visible_content more efficientJacob Vosmaer (GitLab)2017-09-291-10/+20
| | | |
* | | | Migrate Gitlab::Git::Repository#add_tag to Gitalyfeature/migrate-repository-add-tag-to-gitalyAhmad Sherif2017-09-291-21/+29
| | | | | | | | | | | | | | | | Closes gitaly#601
* | | | Merge branch 'feature/migrate-repository-rm-tag-to-gitaly' into 'master'Robert Speicher2017-09-281-4/+14
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 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-281-4/+14
| | |/ | |/| | | | | | | Closes gitaly#562
* | | Merge branch 'hashed-storage-migration-path' into 'master'Douwe Maan2017-09-281-1/+77
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Hashed storage migration path Closes gitlab-ee#3118 See merge request gitlab-org/gitlab-ce!14067
| * | | Add support to migrate existing projects to Hashed Storage asynchashed-storage-migration-pathGabriel Mazetto2017-09-281-1/+77
| |/ /
* | | Support custom attributes on usersMarkus Koller2017-09-284-2/+19
|/ /
* | Fix locked shared runners problemTomasz Maczukin2017-09-251-51/+18
| |
* | Stop using Sidekiq for updating Key#last_used_atremove-use-key-workerYorick Peterse2017-09-201-22/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes things simpler as no scheduling is involved. Further we remove the need for running a SELECT + UPDATE just to get the key and update it, whereas we only need an UPDATE when setting last_used_at directly in a request. The added service class takes care of updating Key#last_used_at without using Sidekiq. Further it makes sure we only try to obtain a Redis lease if we're confident that we actually need to do so, instead of always obtaining it. We also make sure to _only_ update last_used_at instead of also updating updated_at. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36663
* | Fix rewriting issue references with group milestonesGrzegorz Bizon2017-09-201-5/+10
|/
* Merge branch '37894-handle-if-auto-devops-domain-is-not-set' into 'master'Stan Hu2017-09-191-1/+15
|\ | | | | | | | | | | | | Resolve "Handle if Auto DevOps domain is not set" Closes #37894 See merge request gitlab-org/gitlab-ce!14319
| * Add specs for warning message shown in Auto DevOps settings37894-handle-if-auto-devops-domain-is-not-setKamil Trzcinski2017-09-191-2/+10
| |
| * Add warning message if domain or cluster are not configuredbokebilly2017-09-191-1/+7
| |
* | Prepare cherry-pick and revert for migration to GitalyJacob Vosmaer (GitLab)2017-09-191-11/+13
| |
* | Do not pass project path from YAML processorGrzegorz Bizon2017-09-181-0/+1
|/ | | | Use project full path that can be received from a pipeline object
* Merge branch 'operation-service-merge' into 'master'Rémy Coutable2017-09-182-20/+9
|\ | | | | | | | | | | | | Prepare Repository#merge for migration to Gitaly Closes gitaly#559 See merge request gitlab-org/gitlab-ce!14154
| * Prepare Repository#merge for migration to Gitalyoperation-service-mergeJacob Vosmaer2017-09-152-20/+9
| |
* | created services for keyshaseeb2017-09-152-24/+0
| |
* | Merge branch 'projects-controller-show' into 'master'Rémy Coutable2017-09-152-0/+76
|\ \ | |/ |/| | | | | SQL performance improvements for ProjectsController#show See merge request gitlab-org/gitlab-ce!14226
| * Memoize the latest builds of a pipelineprojects-controller-showYorick Peterse2017-09-141-0/+20
| | | | | | | | | | | | | | | | | | This ensures that if a pipeline is present for the last commit on a project's homepage we only run 1 query to get the builds, instead of running 2 queries. See https://gitlab.com/gitlab-org/gitlab-ce/issues/36878#note_40073339 for more information.
| * Memoize pipelines for project download buttonsYorick Peterse2017-09-141-0/+56
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'gitlab-git-user' into 'master'Rémy Coutable2017-09-141-12/+12
|\ \ | | | | | | | | | | | | Rename Gitlab::Git::Committer to User See merge request gitlab-org/gitlab-ce!14254
| * | Rename Gitlab::Git::Committer to UserJacob Vosmaer2017-09-141-12/+12
| | |
* | | Merge branch '37759-also-treat-newlines-as-separator' into 'master'Kamil Trzciński2017-09-141-13/+24
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Treat newlines as separators for pipeline emails service Closes #37759 See merge request gitlab-org/gitlab-ce!14250
| * | Also treat newlines as separator, as people would do thatLin Jen-Shin2017-09-131-13/+24
| |/ | | | | | | | | Before this fix, I don't know if those emails would work having newlines in them.
* | Fix job coverage specsbackstage/gb/optimize-some-specs-with-rspec-setGrzegorz Bizon2017-09-131-1/+1
| |
* | Fix build specs after using `set` instead of `let`Grzegorz Bizon2017-09-131-13/+22
| |
* | Fix syntax error in LFS objects specsGrzegorz Bizon2017-09-131-1/+1
| |
* | Optimize CI/CD build model specsGrzegorz Bizon2017-09-131-8/+5
| |
* | Optimize a few simple spec files by using `set`Grzegorz Bizon2017-09-134-6/+9
| |
* | Optimize LFS objects specsGrzegorz Bizon2017-09-131-4/+11
|/