Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-03Show upcoming status for releasesJason Goodman
Add released_at field to releases API Add released_at column to releases table Return releases to the API sorted by released_at
2019-07-02Merge branch '63690-issue-trackers-title' into 'master'Dmitriy Zaporozhets
Use title and description fields for issue trackers Closes #63690 See merge request gitlab-org/gitlab-ce!30096
2019-07-02Includes logic to persist namespace statisticsMayra Cabrera
- 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
2019-07-02Use title and description fields for issue trackersJarka Košanová
- instead of using properties - backward compatibility has to be kept for now
2019-07-02Merge branch 'project-cluster-spec-improvements' into 'master'Jan Provaznik
Tidy spec for API::ProjectClusters See merge request gitlab-org/gitlab-ce!30154
2019-07-02Tidy spec for API::ProjectClustersDylan Griffith
2019-07-01Merge branch 'add-clusters-to-deployment' into 'master'Lin Jen-Shin
Add clusters association to deployment See merge request gitlab-org/gitlab-ce!29960
2019-06-28GraphQL mutations for add, remove and toggle emojiLuke Duncalfe
Adding new `AddAwardEmoji`, `RemoveAwardEmoji` and `ToggleAwardEmoji` GraphQL mutations. Adding new `#authorized_find_with_pre_checks!` and (unused, but for completeness `#authorized_find_with_post_checks!`) authorization methods. These allow us to perform an authorized find, and run our own additional checks before or after the authorization runs. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826
2019-06-27Use #cluster for prometheus_adapterThong Kuah
We still fallback to environment.deployment_platform until we can backfill
2019-06-25 Add two new ActiveRecord modelsMayra Cabrera
- Namespace::Storagestatistics will persist root namespace statistics - Namespace::AggregationSchedule will save information when a new update to the namespace statistics needs to be scheduled Both tables use 'namespace_id' as primary key
2019-06-24Renew Let's Encrypt certificatesVladimir Shushlin
Add index for pages domain ssl auto renewal Add PagesDomain.needs_ssl_renewal scope Add cron worker for ssl renewal Add worker for ssl renewal Add pages ssl renewal worker queues settings
2019-06-21Don't show private keys for letsencrypt certsVladimir Shushlin
Adds enum certificate_source to pages_domains table with default manually_uploaded Mark certificates as 'gitlab_provided' if the were obtained through Let's Encrypt Mark certificates as 'user_provided' if they were uploaded through controller or api Only show private key in domain edit form if it is 'user_provided' Only show LetsEncrypt option if is enabled by application settings (and feature flag) Refactor and fix some specs to match new logic Don't show Let's Encrypt certificates as well
2019-06-18Make KubernetesService readonlyJames Fargher
We are deprecating this service in favor of instance wide clusters. Therefore we removed some code that is not anymore needed for a readonly cluster and also we added some flags to allow for this deprecation. These flags are to be removed in the next release when we finally completelly remove KubernetesService.
2019-06-18Merge branch '55362-refresh-blank-service-account-token' into 'master'Thong Kuah
Refresh service_account_token for kubernetes_namespaces See merge request gitlab-org/gitlab-ce!29657
2019-06-17Merge branch 'generate-spans-for-sections' into 'master'Sean McGivern
Add collapsible sections to job log See merge request gitlab-org/gitlab-ce!28642
2019-06-17Extract shared examples for duplicate sections and nonFabio Pitino
2019-06-17Merge branch '58886-issue-tracker-fields' into 'master'Sean McGivern
Create models for issue trackers data See merge request gitlab-org/gitlab-ce!28598
2019-06-17Ensure duplicate sections collapseFabio Pitino
2019-06-17Merge branch '9490-record-repository_type-on-lfs_objects_projects-ce' into ↵Grzegorz Bizon
'master' CE backport for gitlab-ee!13894 (Save repository_type to LfsObjectsProject) See merge request gitlab-org/gitlab-ce!29179
2019-06-17Merge branch 'error-pipelines-for-blocked-users' into 'master'Grzegorz Bizon
Preventing blocked users and their PipelineSchdules from creating new Pipelines Closes #47756 See merge request gitlab-org/gitlab-ce!27318
2019-06-17CE backport for changes in EE MR 13894Luke Duncalfe
This backports to CE changes that allow the recording of the repository_type in the table lfs_objects_projects. This is in order to allow future pruning of unreferenced LFS objects, as we will need to know which repository to look in for the LFS pointer file. The EE MR that contains the original code and a full explanation of the changes is https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13894 EE Issue https://gitlab.com/gitlab-org/gitlab-ee/issues/9490 Note that there was a lot of CE code changed in the EE MR because we want to allow the wiki repository to also use LFS. See https://gitlab.com/gitlab-org/gitlab-ce/issues/43721. As the wiki is an unlicensed feature, a full backport is required to enable this.
2019-06-14Refresh service_account_token for kubernetes_namespacesDylan Griffith
There seems to be several examples where service_account_token is blank even in GitLab.com newly created kubernetes_namespaces . We have not figured out why they are blank but this should hopefully fix some issues similar to https://gitlab.com/gitlab-org/gitlab-ce/issues/55362
2019-06-13Create models for issue trackers dataJarka Košanová
- create tables for storing issue trackers properties - add model and basic logic & spec
2019-06-13Add feature spec for collapsible sectionsFabio Pitino
2019-06-09Revert "Merge branch '50070-legacy-attachments' into 'master'"Stan Hu
This reverts commit fd19f887dfeeeedb483c4a4fb32f9f768e89389c, reversing changes made to abb2d4c601d796339c8d7cb0c00946696730f198.
2019-06-07Merge branch '50070-legacy-attachments' into 'master'Kamil Trzciński
Migrate legacy uploads Closes #57217 See merge request gitlab-org/gitlab-ce!24679
2019-06-06Add pages domains acme ordersVladimir Shushlin
Extract acme double to helper Create ACME challanges for pages domains * Create order & challange through API * save them to database * request challenge validation We're saving order and challenge as one entity, that wouldn't be correct if we would order certificates for several domains simultaneously, but we always order certificate per domain Add controller for processing acme challenges redirected from pages Don't save acme challenge url - we don't use it Validate acme challenge attributes Encrypt private_key in acme orders
2019-06-06Migrate legacy uploads to the project locationJarka Košanová
Uploads coming from AttachmentUploader need to be moved to the currently supported location (FileUploader)
2019-06-05preventing blocked users and their PipelineSchdules from creating new Pipelinesdrew cimino
updated several specs and factories to accomodate new permissions
2019-06-04Merge branch ↵Kamil Trzciński
'set-real-next-run-at-for-preventing-duplciate-pipeline-creations' into 'master' Make pipeline schedule worker resilient Closes gitlab-com/gl-infra/production#805 and #61955 See merge request gitlab-org/gitlab-ce!28407
2019-06-03Abstract auto merge processesShinya Maeda
We have one auto merge strategy today - Merge When Pipeline Succeeds. In order to add more strategies for Merge Train feature, we abstract the architecture to be more extensible. Removed arguments Fix spec
2019-06-03Make pipeline schedule worker resilientShinya Maeda
Currently, pipeline schedule worker is unstable because it's sometimes killed by excessive memory consumption. In order to improve the performance, we add the following fixes: 1. next_run_at is always real_next_run, which means the value always takes into account of worker's cron schedule 1. Remove exlusive lock. This is already covered by real_next_run change. 1. Use RunPipelineScheduleWorker for avoiding memory killer. Memory consumption is spread to the multiple sidekiq worker.
2019-05-31Merge branch '56959-drop-project_auto_devops_domain' into 'master'Robert Speicher
Removes project_auto_devops#domain column Closes #56959 See merge request gitlab-org/gitlab-ce!28574
2019-05-31Remove legacy artifact related codeShinya Maeda
We've already migrated all the legacy artifacts to the new realm, which is ci_job_artifacts table. It's time to remove the old code base that is no longer used.
2019-05-31Ignore ProjectAutoDevops domain columnThong Kuah
This column is no longer used. The form was removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24580 and other usages removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28460. Remove final usages of :domain
2019-05-14Optimise upload path callsSean McGivern
String#underscore isn't particularly slow, but it's possible for us to call it many times in a users autocomplete request, with mostly-static values ('User', 'Group', etc.). We can memoise this and save a surprising amount of time (around 10% of the total request time in some cases).
2019-05-07Add improvements to the global search processFrancisco Javier López
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.
2019-05-06Implement support for CI variables of type fileKrasimir Angelov
Add env_var and file as supported types for CI variables. Variables of type file expose to users existing gitlab-runner behaviour - save variable value into a temp file and set the path to this file in an ENV var named after the variable key. Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/46806.
2019-05-06Fix merge request pipeline exist methodShinya Maeda
Refactor
2019-05-03Add gitlab-managed option to clusters formMayra Cabrera
When this option is enabled, GitLab will create namespaces and service accounts as usual. When disabled, GitLab wont create any project specific kubernetes resources Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
2019-04-30Remove disabled pages domainsVladimir Shushlin
Domain will be removed by verification worker after 1 week of being disabled
2019-04-30Rename #timeouted -> #timed_outDylan Griffith
2019-04-30Destroy app on successful uninstallationThong Kuah
Rescue and put into :uninstall_errored if something goes wrong while destroying, which can happen. I think it is safe to expose the full error message from the destroy error. Remove the :uninstalled state as no longer used.
2019-04-30Define state transitions for uninstalling appsThong Kuah
Added :uninstalled state as wasn't sure if we should be destroying the cluster apps
2019-04-27Add deployment events to chat notification servicesJason Goodman
This enables sending a chat message to Slack or Mattermost upon a successful, failed, or canceled deployment
2019-04-26Add ProjectMetricsDashboardSetting model and tableReuben Pereira
This new table will be used to store the external_dashboard_url which allows users to add a link to their external dashboards (ex Grafana) to the Metrics dashboard.
2019-04-20Fix wrong use of ActiveRecord in PoolRepositoryJacob Vosmaer
2019-04-10Revert "Remove HipChat integration from GitLab"Sean McGivern
This reverts commit a5378665a1dc0b9c8dc3a4fa279a0eb78aac5aac.
2019-04-09Mark unverified pages domains for removalVladimir Shushlin
Set pages_domain.remove_at when disabling it Add specs for marking pages domain for removal Notify user that domain is being removed Add documentation
2019-04-05Add part of needed codeGosia Ksionek
Add columns to store project creation settings Add project creation level column in groups and default project creation column in application settings Remove obsolete line from schema Update migration with project_creation_level column existence check Rename migrations to avoid conflicts Update migration methods Update migration method