summaryrefslogtreecommitdiff
path: root/spec/models/project_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bvl-fix-project-ci-status-cache' into 'master' Kamil Trzciński2017-04-071-1/+1
|\ | | | | | | | | Fix invalidating Project build status cache to often See merge request !10313
| * Rename `ProjectBuildStatus` -> `ProjectPipelineStatus`Bob Van Landuyt2017-04-071-1/+1
| |
| * Rename Ci::PipelineStatus -> Ci::ProjectBuildStatusBob Van Landuyt2017-04-071-1/+1
| |
* | Merge branch '18471-restrict-tag-pushes-protected-tags' into 'master' Douwe Maan2017-04-071-75/+0
|\ \ | |/ |/| | | | | | | | | Protected Tags Closes #18471 See merge request !10356
| * Merge branch 'master' into '18471-restrict-tag-pushes-protected-tags'Kushal Pandya2017-04-061-42/+56
| |\ | | | | | | | | | # Conflicts: # spec/lib/gitlab/import_export/all_models.yml
| * \ Merge branch 'master' into '18471-restrict-tag-pushes-protected-tags'Kushal Pandya2017-04-061-7/+8
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # app/assets/javascripts/dispatcher.js # app/assets/stylesheets/pages/projects.scss
| * | | Moved Project#protected_branch? to ProtectedBranch, similar for tagsJames Edwards-Jones2017-04-031-56/+0
| | | |
| * | | Extracted ProtectableDropdown to clean up Project#open_branchesJames Edwards-Jones2017-04-031-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes it clear this is only used in dropdowns, instead of cluttering up Project class. Since we only care about branch names, it is also possible to refactor out a lot of the set/reject logic. A benchmark on Array/Set subtraction favoured using Arrays. This was with 5000 ‘branches’ and 2000 ‘protections’ to ensure a similar comparison to the commit which introduced using Set for intersection. Comparison: array subtraction: 485.8 i/s set subtraction: 128.7 i/s - 3.78x slower
* | | | Merge branch 'optimise-pipelines' into 'master' Douwe Maan2017-04-061-0/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | Optimise pipelines.json See merge request !10462
| * | | Merge remote-tracking branch 'origin/master' into optimise-pipelinesoptimise-pipelinesKamil Trzcinski2017-04-061-42/+55
| |\ \ \
| * | | | Fix tests and reviewKamil Trzcinski2017-04-061-0/+1
| | |_|/ | |/| |
* | | | Merge branch 'microsoft-teams-integration' into 'master' Douwe Maan2017-04-061-0/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | adds initial microsoft teams integration See merge request !10412
| * | | adds relevant testsTiago Botelho2017-04-061-0/+1
| |/ /
* | | Fix project specs related to container registryGrzegorz Bizon2017-04-041-1/+2
| | |
* | | Refine method for checking project registry tagsGrzegorz Bizon2017-04-031-0/+60
| | |
* | | Refactor container registry repository tag stubsGrzegorz Bizon2017-04-031-1/+1
| | |
* | | Merge branch 'master' into feature/multi-level-container-registry-imagesGrzegorz Bizon2017-03-271-2/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (192 commits) Implement new service for creating user Update sentry-raven 2.0.2 -> 2.4.0 Update webmock 1.21.0 -> 1.24.6 Update spring 1.7.2 -> 2.0.1 Update simplecov 0.12.0 -> 0.14.1 Update pry-rails 0.3.4 -> 0.3.5 Update pry-byebug 3.4.1 -> 3.4.2 Update flay 2.6.1 -> 2.8.1 Remove Tags filter from Projects Explore dropdown Update capybara-screenshot 1.0.11 -> 1.0.14 Update bullet 5.2.0 -> 5.5.1 Update brakeman 3.4.1 -> 3.6.1 Remove web-console gem Update better_errors 1.0.1 -> 2.1.1 Display flash message to unauthenticated user when creating new issue Fix up emoji tests that should have failed :/ Fix RSpec/DescribeSymbol cop violations Add event limit warning all tabs Cycle Analytics Adding non_archived scope for counting projects Resolve "Gitlab administrator cannot create projects in every group" ... Conflicts: db/schema.rb
| * | Remove not necessary specsJarka Kadlecova2017-03-221-4/+0
| | |
| * | Escape route path for LIKE queriesJarka Kadlecova2017-03-211-2/+9
| | |
* | | Remove container_registry method from project classGrzegorz Bizon2017-03-241-26/+3
| | |
* | | Rename container image to repository in specsGrzegorz Bizon2017-03-231-2/+2
| | |
* | | Merge branch 'master' into feature/multi-level-container-registry-imagesGrzegorz Bizon2017-03-211-16/+58
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (1327 commits) Merge branch 'render-json-leak' into 'security' Merge branch 'ssrf' into 'security' Merge branch 'ssrf' into 'security' Merge branch 'fix-links-target-blank' into 'security' Merge branch '28058-hide-emails-in-atom-feeds' into 'security' Fix karma test Reset filters after click Handle Route#name being nil after an update Only add frontend code coverage instrumentation when generating coverage report fix recompile assets step in 9.0 upgrade guide to use yarn Undo explicit conversion to Integer Make level_value accept string integers Make feature spec more robust Removed d3.js from the main application.js bundle Extend compound status for manual actions specs Update css to be nice and tidy. Fix pipeline status for transition between stages add an index to the ghost column Return 404 in project issues API endpoint when project cannot be found Improve rename projects migration ... Conflicts: doc/ci/docker/using_docker_build.md spec/lib/gitlab/import_export/all_models.yml
| * | Merge branch ↵Sean McGivern2017-03-211-5/+3
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | '29685-wrong-number-of-arguments-calling-http_url_to_repo-on-cloning-project-wikis' into 'master' Fix ProjectWiki#http_url_to_repo signature Closes #29685 See merge request !10079
| | * Fix ProjectWiki#http_url_to_repo signatureRémy Coutable2017-03-201-5/+3
| | | | | | | | | | | | | | | | | | | | | New Gitlab::UrlSanitizer.http_credentials_for_user method responsible for generating a credentials hash from a user. Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | Merge branch 'ssrf' into 'security' Douwe Maan2017-03-201-0/+14
| |/ | | | | | | | | Protect server against SSRF in project import URLs See merge request !2068
| * All CI offline migrationsKamil Trzciński2017-03-171-2/+1
| |
| * Render cached pipeline status on project dashboardBob Van Landuyt2017-03-161-0/+11
| |
| * Merge branch '28447-hybrid-repository-storages' into 'master' Sean McGivern2017-03-071-4/+4
| |\ | | | | | | | | | | | | Update storage settings to allow extra values per shard See merge request !9597
| | * Update storage settings to allow extra values per shard28447-hybrid-repository-storagesAlejandro Rodríguez2017-03-031-4/+4
| | | | | | | | | | | | | | | | | | | | | This will be necessary when adding gitaly settings. This version doesn't make any functional changes, but allows us to include this breaking change in 9.0 and add the needed extra settings in the future with backwards compatibility
| * | Add `has_many` associations for models that can have Upload recordsRobert Speicher2017-03-061-0/+1
| |/
| * Merge branch '1937-https-clone-url-username' into 'master' Rémy Coutable2017-02-271-0/+21
| |\ | | | | | | | | | | | | | | | | | | Add the username of the current user to the HTTP(S) clone URL Closes #1937 See merge request !9347
| | * Add the username of the current user to the HTTP(S) clone URLJan Christophersen2017-02-241-0/+21
| | |
| * | Rename commit_file, commit_dir and remove_file and update specsDouwe Maan2017-02-241-1/+1
| | |
| * | Use Namespace#full_path instead of #path where appropriatedm-more-namespace-full-pathDouwe Maan2017-02-231-9/+7
| |/
* | Fixes broken and missing testsAndre Guedes2017-02-221-33/+8
|/
* Use Namespace#full_path instead of Namespace#pathDmitriy Zaporozhets2017-02-141-10/+29
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Store group and project full name and full path in routes tabledz-refactor-full-pathDmitriy Zaporozhets2017-02-081-7/+14
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Address feedbackDouwe Maan2017-02-061-106/+1
|
* Improve performance of finding last deployed environmentDouwe Maan2017-02-061-44/+8
|
* Add testsDouwe Maan2017-02-061-0/+123
|
* Merge branch 'jej-pages-to-ce' into 'master' Douwe Maan2017-02-061-0/+44
|\ | | | | | | | | | | | | Adding GitLab Pages to CE Closes #14605, gitlab-com/infrastructure#1058, gitlab-ee#1333, and #323 See merge request !8463
| * Mock Dir::exist? in project_spec.rbKamil Trzcinski2017-01-311-2/+1
| |
| * Introduce pages_deployed? to Project modelKamil Trzcinski2017-01-311-6/+17
| |
| * Describe #pages_url instead of :pages_urlKamil Trzcinski2017-01-311-1/+1
| |
| * Fix the URL of group pagesKamil Trzcinski2017-01-311-0/+33
| |
| * Pages domain model specsKamil Trzcinski2017-01-311-0/+1
| |
* | Add traits for ProjectFeatures to Project factorySemyon Pupkov2017-02-051-1/+1
|/ | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/24007
* Improve search within group logicDmitriy Zaporozhets2017-01-301-0/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Present group and dashboard MR list without grouping by projectOswaldo Ferreira2017-01-271-4/+4
|
* Refactor Project#to_reference and make full_path a keyword argumentBerna Castro2017-01-271-6/+32
| | | | | | | | | | | | Refactor overall code and fix failing specs Fix Project#to_reference Fix wrong spaces and update changelog Refactor #to_reference for Project & Issue Fix and improves Project#to_reference