summaryrefslogtreecommitdiff
path: root/spec/factories/projects.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add improvements to the global search processFrancisco Javier López2019-05-071-0/+1
| | | | | | | Removed the conditions added to Project.with_feature_available_for_user, and moved to the IssuableFinder. Now, we ensure that, in the projects retrieved in the Finder, the user has enough access for the feature.
* Enable/disable Auto DevOps at Group levelMayra Cabrera2019-03-121-0/+4
| | | | | | | | | | | | - Includes instance methods on Group model to detect when a group has AutoDevOps explicitly/implicitly enabled/disabled. - Includes migration to add a new column to namespaces table - Add UI necessary modifications - Add service and controller to update auto devops related instances - Updates project and groups auto devops badges Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
* Remove new_issue_url field from YouTrack integration serviceKotau Yauhen2019-02-211-2/+1
|
* Added YouTrack integrationYauhen Kotau2019-02-181-0/+15
| | | | Fixes gitlab-org/gitlab-ce#42595
* Add missing argument to DeploymentService#predefined_variablesfix_deployment_service_predefined_variablesJames Fargher2019-02-081-0/+4
|
* Fix warning already initialized constantSemyon Pupkov2019-02-011-1/+1
|
* Removes all the irrelevant import related code and columnsTiago Botelho2018-11-271-0/+9
| | | | | Clears the import related columns and code from the Project model over to the ProjectImportState model
* Make GitLab pages support access controlTuomo Ala-Vannesluoma2018-10-051-2/+16
|
* Merge branch '48778-remove-old-storage-logic-from-import-export' into 'master'Douwe Maan2018-09-071-16/+0
|\ | | | | | | | | | | | | Resolve "Remove old storage logic from Import/Export" Closes #51144, #50109, #48778, and #51079 See merge request gitlab-org/gitlab-ce!21409
| * Refactor code to remove object storage flag from Import/ExportJames Lopez2018-09-061-16/+0
| | | | | | | | | | | | Updated docs, refactor import/export code Fix AvatarUploader path issue Fix project export upload webhook error
* | Automatically disable Auto DevOps for project upon first pipeline failureMayra Cabrera2018-09-061-0/+4
|/
* Allow repositories to be programmatically built in the specsNick Thomas2018-09-051-0/+27
|
* Added SiteStatistics as counter cache for Projects and WikisGabriel Mazetto2018-07-241-1/+1
|
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-1/+1
|
* Update Import/Export to use object storage (based on aa feature flag)James Lopez2018-07-061-0/+16
|
* Find and mark more Git disk access locations, part 2Jacob Vosmaer2018-06-121-12/+0
|
* Merge branch 'dm-project-factory-import-state' into 'master'Robert Speicher2018-05-071-28/+4
|\ | | | | | | | | | | | | Fix project factory `import_*` traits Closes gitlab-ee#5904 See merge request gitlab-org/gitlab-ce!18780
| * Don't always create a new import_state record from project factoryDouwe Maan2018-05-071-28/+4
| |
* | Merge branch '42099-port-push-mirroring-to-ce-ce-port-v-2' into 'master'Douwe Maan2018-05-071-0/+11
|\ \ | |/ |/| | | | | | | | | CE backport of Backports Push Mirrors to CE Closes #42099 See merge request gitlab-org/gitlab-ce!18715
| * Backports every CE related change from ee-5484 to CETiago Botelho2018-05-071-0/+11
| |
* | Bump Gitaly to 0.98.0Zeger-Jan van de Weg2018-05-071-0/+7
|/ | | | | | Hooks were run for wikis, but given the internal API wasn't responding failures happended, as seen on: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18693
* Backports every CE related change from ee-44542 to CETiago Botelho2018-05-041-4/+28
|
* Revert "Use factory in specs for ProjectCiCdSettings"Dylan Griffith2018-05-031-1/+7
| | | | This reverts commit bf790c26c58e214c27132e7a54fdf4a4cc77bdaf.
* Use factory in specs for ProjectCiCdSettingsDylan Griffith2018-05-031-7/+1
|
* Fix up db/schema.rb changes leftover and comments out of dateDylan Griffith2018-04-301-3/+3
|
* Merge branch 'master' into siemens-runner-per-groupDylan Griffith2018-04-261-2/+11
|\
| * Merge branch 'zj-storage-path-deprecation' into 'master'Douwe Maan2018-04-251-2/+4
| |\ | | | | | | | | | | | | | | | | | | Legacy disk path refactor Closes gitaly#1111 See merge request gitlab-org/gitlab-ce!18364
| | * Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg2018-04-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Direct disk access is done through Gitaly now, so the legacy path was deprecated. This path was used in Gitlab::Shell however. This required the refactoring in this commit. Added is the removal of direct path access on the project model, as that lookup wasn't needed anymore is most cases. Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
| * | Allow admins to push to empty reposBob Van Landuyt2018-04-241-0/+7
| |/
* | Merge branch 'master' into siemens-runner-per-groupDylan Griffith2018-04-241-1/+1
|\ \ | |/
| * Move spec helpers/matchers/shared examples/contexts to their relevant folderRémy Coutable2018-04-231-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | project#group_runner_enabled -> project_settingsAlexis Reigel2018-04-231-1/+8
|/
* Merge branch '40744-hashed-storage-specs' into 'master'Sean McGivern2018-02-081-2/+4
|\ | | | | | | | | | | | | Use hashed storage in the specs Closes #40744 See merge request gitlab-org/gitlab-ce!15681
| * Use hashed storage in the specs40744-hashed-storage-specsNick Thomas2018-02-071-2/+4
| |
* | Fix order of checks in editable? method.Pawel Chojnacki2018-02-071-1/+1
| | | | | | | | + address small nitpicks
* | Merge branch 'master' into pawel/connect_to_prometheus_through_proxy-30480Mike Greiling2018-02-061-1/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (242 commits) Validate user namespace before saving so that errors persist on model Reset Project's column information in spec/lib/gitlab/background_migration/populate_merge_request_metrics_with_events_data_spec.rb Explicitly set cwd in Sidekiq memory killer instead of depending on getcwd Downgrade google-protobuf Close low level rugged repository in project cache worker File upload UI obeys LFS filters Resolve "Add a link to documentation on how to get external ip in the Kubernetes cluster details page" Upgrade GitLab Workhorse to v3.6.0 Add sorting options for /users API (admin only) improvements from feedback [ci-skip] add changelog remove file after `Upload#destroy` Fix a hardcoded pipeline ID in a spinach step Override group sidebar links Replace "cluster" with "Kubernetes cluster" Reorder async/sync tasks in BuildFinishedWorker to read traces efficiently Fix tests for Drop filename enforcement Revert using expand_fixture_path in factory Revert "Add FixtureHelpers for FactoryGirl" Refactor :trace to :trace_live in spec ...
| * Fix export removal for hashed-storage projects within a renamed or deleted ↵Nick Thomas2018-02-051-0/+6
| | | | | | | | namespace
| * porting changes from upstream3867-port-to-ceMicaël Bergeron2018-02-011-1/+1
| |
* | enable manual configuration property for all test prometheus servicesPawel Chojnacki2018-01-301-1/+2
|/
* Replace factory_girl_rails with factory_bot_railsrc/use-factory_bot_railsRémy Coutable2017-12-141-1/+1
| | | | | | | | | | | I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
* Create idea of read-only databasetc-geo-read-only-ideaToon Claes2017-10-061-1/+1
| | | | | | | | | | | | 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.
* Add support to migrate existing projects to Hashed Storage asynchashed-storage-migration-pathGabriel Mazetto2017-09-281-1/+7
|
* [Backported from EE] Readonly flag for ProjectsGabriel Mazetto2017-09-281-0/+4
| | | | | 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.
* Prevent new / renamed project from using a repository path that already ↵Gabriel Mazetto2017-08-251-2/+0
| | | | | | | | | | exists on disk There are some redundancies in the validation steps, and that is to preserve current error messages behavior Also few specs have to be changed in order to fix madness in validation logic.
* Make sure repository's removal work for legacy and hashed storages28283-uuid-storageGabriel Mazetto2017-08-221-1/+1
|
* New storage is now "Hashed" instead of "UUID"Gabriel Mazetto2017-08-221-0/+4
|
* Improve the Project factory to make `creator` defaults to namespace.ownerRémy Coutable2017-08-101-52/+47
| | | | | | | | Also improves the `create_templates` transient attribute and use `project.project_feature.update_columns` instead of `project.project_feature.update_attributes!` since it's faster. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add a Circuitbreaker for storage pathsBob Van Landuyt2017-08-041-0/+6
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-3/+1
|
* Remove `:empty_project` factory, implement `:repository` traitRobert Speicher2017-08-021-48/+43
|