summaryrefslogtreecommitdiff
path: root/spec/factories
Commit message (Collapse)AuthorAgeFilesLines
* Added relationships between Release and MilestoneEtienne Baqué2019-09-031-0/+14
| | | | | | Modified schema via migrations. Added one-to-one relationship between the two models. Added changelog file
* Limit access request email to 10 most recently active owners/maintainersManoj MJ2019-08-303-0/+16
| | | | | | This change limits the number of emails for new access requests notifications to 10 most recently active owners/maintainers
* Use `stub_full_request` to fix spec failure66641-broken-master-real-http-connections-are-disabled-unregistered-requestHeinrich Lee Yu2019-08-271-1/+1
| | | | Also change test URL sequest to .test TLD
* Updated call to find deploy tokenEtienne Baqué2019-08-261-1/+2
|
* Backport expired job artifact traitee-10586-geo-object-storage-replicationGabriel Mazetto2019-08-241-0/+4
|
* Merge branch '39-count-unique-users-for-more-accurate-smau-reporting' into ↵Nick Thomas2019-08-191-0/+4
|\ | | | | | | | | | | | | 'master' Allow UsageData.count to use count_by: See merge request gitlab-org/gitlab-ce!30770
| * New GroupMember.of_ldap_type scope39-count-unique-users-for-more-accurate-smau-reportingAsh McKenzie2019-07-181-0/+4
| |
* | Merge branch 'legacy-attachments-migrate-fix' into 'master'Michael Kozono2019-08-161-4/+1
|\ \ | | | | | | | | | | | | Migrate legacy uploads rake tasks See merge request gitlab-org/gitlab-ce!29409
| * | Add rake tasks for migrating leacy uploadslegacy-attachments-migrate-fixJarka Košanová2019-08-161-4/+1
| | | | | | | | | | | | | | | - move uploads created by AttachmentUploader - handle also files created for legacy_diff_notes
* | | Merge branch 'mc/feature/pipeline-tracking-config-ce' into 'master'Kamil Trzciński2019-08-161-1/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add `needs:` CI config option CE Closes gitlab-ee#12334 See merge request gitlab-org/gitlab-ce!31346
| * | | Port changes from EEmc/feature/pipeline-tracking-config-ceMatija Čupić2019-08-041-1/+8
| | | | | | | | | | | | | | | | | | | | Ports changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/12343
* | | | Allow disabling group/project email notificationsBrett Walker2019-08-151-0/+13
| |/ / |/| | | | | | | | | | | | | | - Adds UI to configure in group and project settings - Removes notification configuration for users when disabled at group or project level
* | | Merge branch 'master' into sh-break-out-invited-group-membersStan Hu2019-08-092-16/+0
|\ \ \
| * | | Final removal of KubernetesService39217-remove-kubernetes-service-integrationTiger2019-08-082-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | Creating new records has been disabled, and all existing records been migrated to clusters as of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28534
* | | | Merge branch 'master' into sh-break-out-invited-group-membersStan Hu2019-08-073-2/+30
|\ \ \ \ | |/ / /
| * | | Use separate Kubernetes namespaces per environmentTiger Watson2019-08-072-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kubernetes deployments on new clusters will now have a separate namespace per project environment, instead of sharing a single namespace for the project. Behaviour of existing clusters is unchanged. All new functionality is controlled by the :kubernetes_namespace_per_environment feature flag, which is safe to enable/disable at any time.
| * | | Merge branch 'explicit-helm-factory-certs' into 'master'Michael Kozono2019-08-051-0/+14
| |\ \ \ | | |/ / | |/| | | | | | | | | | Use stubbed key and certificate in Helm factory See merge request gitlab-org/gitlab-ce!31169
| | * | Use stubbed certificate and key in Helm factoryexplicit-helm-factory-certsTiger2019-08-011-0/+14
| | | |
* | | | Make it easier to find invited group membersStan Hu2019-08-051-1/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had a number of team members struggle to find invited members of a group. Searching for the e-mail address did not work because search only works with members with user accounts. This commit changes two things: 1. Breaks out the invited members into a separate table. 2. Adds search capability for the invited members. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61948
* | | Merge branch 'ce-docker_image_replication' into 'master'Douglas Barbosa Alexandre2019-08-011-1/+1
|\ \ \ | | | | | | | | | | | | | | | | Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809 See merge request gitlab-org/gitlab-ce!31375
| * | | Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809ce-docker_image_replicationValery Sizov2019-08-011-1/+1
| |/ / | | | | | | | | | Introducing Docker Registry replication
* | | Add support for DAGKamil Trzciński2019-08-011-0/+8
|/ / | | | | | | | | | | This implements the support for `needs:` keyword as part of GitLab CI. That makes some of the jobs to be run out of order.
* | Remove typo from factory name65297-fix-typo-on-clusters_applications_cert_managers-factoryJoão Cunha2019-07-301-1/+1
| | | | | | | | | | - the typo in this factory name was precluding us from properly creating dynamic code to remove duplciation.
* | Add Job specific variablesMatija Čupić2019-07-291-0/+10
| | | | | | | | | | Adds Job specific variables to facilitate specifying variables when running manual jobs.
* | Add frozen_string_literal to spec/factoriesfrozen_string_spec_factoriesThong Kuah2019-07-26118-0/+236
| | | | | | | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* | LFS export records repository_type dataLuke Duncalfe2019-07-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A project can have the same `LfsObject` linked with up to three `LfsObjectsProject` records. Each of these records would be for a different repository, recorded in the `repository_type` property. The different repositories at time of writing are "project", "wiki", and "design". See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13894 This change exports the list of `repository_type`s as a JSON mapping of oid => repository_types, which are imported to recreate the correct `LfsObjectsProject` records. https://gitlab.com/gitlab-org/gitlab-ee/issues/11090
* | Merge branch 'group_with_cluster_factory' into 'master'Robert Speicher2019-07-221-0/+2
|\ \ | | | | | | | | | | | | Adds cluster_for_group factory for convenience See merge request gitlab-org/gitlab-ce!30826
| * | Adds cluster_for_group factory for convienencegroup_with_cluster_factoryThong Kuah2019-07-191-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | Also means we don't have to resort to an update statement to set parent for child groups who also have clusters. This is much shorter than ``` create(:cluster, :provided_by_gcp, :group, groups: [group]) ```
* | Validate certificate chain only if it's changedVladimir Shushlin2019-07-221-0/+84
| | | | | | | | | | This validation prevents the domain from being saved from the UI e.g. when user tries to enable Let's Encrypt integration
* | Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-1/+0
| | | | | | | | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* | Add examples specing the setting to choose who can create subgroupsFabio Papa2019-07-191-0/+1
| | | | | | | | | | | | | | This setting is at the group level only. The default is specified to be maintainers and owners. **Specs only**, all failing.
* | Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-1/+0
| | | | | | | | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* | Add examples specing the setting to choose who can create subgroupsFabio Papa2019-07-191-0/+1
| | | | | | | | | | | | | | This setting is at the group level only. The default is specified to be maintainers and owners. **Specs only**, all failing.
* | Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-1/+0
| | | | | | | | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* | Add examples specing the setting to choose who can create subgroupsFabio Papa2019-07-191-0/+1
| | | | | | | | | | | | | | This setting is at the group level only. The default is specified to be maintainers and owners. **Specs only**, all failing.
* | Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-1/+0
| | | | | | | | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* | Add examples specing the setting to choose who can create subgroupsFabio Papa2019-07-191-0/+1
| | | | | | | | | | | | | | This setting is at the group level only. The default is specified to be maintainers and owners. **Specs only**, all failing.
* | Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-1/+0
| | | | | | | | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* | Add examples specing the setting to choose who can create subgroupsFabio Papa2019-07-191-0/+1
| | | | | | | | | | | | | | This setting is at the group level only. The default is specified to be maintainers and owners. **Specs only**, all failing.
* | Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-1/+4
| | | | | | | | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* | Add examples specing the setting to choose who can create subgroupsFabio Papa2019-07-191-0/+1
|/ | | | | | | This setting is at the group level only. The default is specified to be maintainers and owners. **Specs only**, all failing.
* Fix factory default for pages_access_levelVladimir Shushlin2019-07-171-1/+3
| | | | | Pages access level currently depends on project visibilty which is ignored by factory, this commit fixes that
* Simplify factories for servicesJarka Košanová2019-07-163-30/+6
| | | | | | - use predefined factories when creating projects with services - remove unnecessary arguments
* Remove an extra whitespace in test filesTakuya Noguchi2019-07-141-1/+1
| | | | | | Partial CE backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10565 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* Make sure all specs run properlyJarka Košanová2019-07-111-0/+12
| | | | | | - handling properties needs to be skipped when creating test records in order to test the legacy data
* Show upcoming status for releasesJason Goodman2019-07-031-0/+1
| | | | | | Add released_at field to releases API Add released_at column to releases table Return releases to the API sorted by released_at
* Merge branch '63690-issue-trackers-title' into 'master'Dmitriy Zaporozhets2019-07-021-2/+32
|\ | | | | | | | | | | | | Use title and description fields for issue trackers Closes #63690 See merge request gitlab-org/gitlab-ce!30096
| * Use title and description fields for issue trackers63690-issue-trackers-titleJarka Košanová2019-07-021-2/+32
| | | | | | | | | | - instead of using properties - backward compatibility has to be kept for now
* | Includes logic to persist namespace statisticsMayra Cabrera2019-07-021-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add two new ActiveRecord models: - RootNamespaceStoragestatistics will persist root namespace statistics - NamespaceAggregationSchedule will save information when a new update to the namespace statistics needs to be scheduled - Inject into UpdateProjectStatistics concern a new callback that will call an async job to insert a new row onto NamespaceAggregationSchedule table - When a new row is inserted a new job is scheduled. This job will update call an specific service to update the statistics and after that it will delete thee aggregated scheduled row - The RefresherServices makes heavy use of arel to build composable queries to update Namespace::RootStorageStatistics attributes. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows. - Add an extra worker to traverse pending rows on NAmespace::AggregationSchedule table and schedule a worker for each one of this rows
* | Merge branch 'project-cluster-spec-improvements' into 'master'Jan Provaznik2019-07-021-1/+1
|\ \ | |/ |/| | | | | Tidy spec for API::ProjectClusters See merge request gitlab-org/gitlab-ce!30154