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-09-11Add tests for ProjectFeature's #public_pages? and #private_pages?61927-pages-custom-domain-virtual-domainKrasimir Angelov
2019-07-29Further remove code branches by database typeAndreas Brandl
We dropped MySQL support and a lot of mysql specific code has been removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29608. This comes in from the other direction and removes any `if postgresql?` branches.
2019-07-17Fix wrong pages access level defaultVladimir Shushlin
- Set access level in before_validation hook - Add post migration for updating existing project_features
2019-04-01Add # frozen_string_literal to spec/modelsThong Kuah
Adds `# frozen_string_literal: true` to spec/models ruby files
2018-10-05Make GitLab pages support access controlTuomo Ala-Vannesluoma
2018-10-04Add ProjectFeature check for feature flagRobert Speicher
This will allow an explicitly-disabled feature flag to override a feature being available for a project. As an extreme example, we could quickly disable issues across all projects at runtime by running `Feature.disable(:issues)`.
2018-09-25Geo: sync disabled wikis. Stage 2Valery Sizov
We started syncing all the wiki regardless of the fact it's disabled or not. We couldn't do that in one stage because of needing of smoth update and deprecating things. This is the second stage that finally removes unused columns in the geo_node_status table.
2018-07-24Added SiteStatistics as counter cache for Projects and WikisGabriel Mazetto
2018-07-09Updates from `rubocop -a`Lin Jen-Shin
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-06-16Refactor Project.with_feature_available_for_userYorick Peterse
This method used to use a UNION, which would lead to it performing the same query twice; producing less than ideal performance. Further, in certain cases ActiveRecord could get confused and mess up the variable bindings, though it's not clear how/why exactly this happens. Fortunately we can work around all of this by building some of the WHERE conditions manually, allowing us to use a simple OR statement to get all the data we want without any of the above problems.
2017-02-05Add traits for ProjectFeatures to Project factorySemyon Pupkov
https://gitlab.com/gitlab-org/gitlab-ce/issues/24007
2017-01-27Use `:empty_project` where possible in model specsRobert Speicher
2016-10-17Add visibility level to project repositoryFelipe Artur
2016-09-01Project tools visibility levelFelipe Artur