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
2022-06-20Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42GitLab Bot
2022-04-29Add latest changes from gitlab-org/security/gitlab@14-10-stable-eeGitLab Bot
2022-04-20Add latest changes from gitlab-org/gitlab@14-10-stable-eev14.10.0-rc42GitLab Bot
2021-12-20Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42GitLab Bot
2021-09-20Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42GitLab Bot
2021-08-19Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot
2021-06-16Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42GitLab Bot
2021-05-19Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot
2021-04-21Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot
2021-03-16Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40GitLab Bot
2020-12-17Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot
2020-06-18Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot
2020-05-20Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot
2020-04-20Add latest changes from gitlab-org/gitlab@12-10-stable-eeGitLab Bot
2020-01-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-25Internalize private project minimum access levelMark Chao
Some feature allows GUEST to access only if project is not private. This method returns access level when targeting private projects.
2019-11-25Fix scope to handle private guest permissionMark Chao
Guest are blocked to certain feature when project is private, therefore the scope would filter additionally with REPORTER level.
2019-10-02Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-10Add support for custom domains to the internal Pages APIKrasimir Angelov
Update the `/internal/pages` endpoint to return virtual domain configuration for custom domains.
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-07-03Add *_access_level to project APIMathieu Parent
- issues_access_level - repository_access_level - merge_requests_access_level - builds_access_level - wiki_access_level - snippets_access_level
2019-06-13Revert "Avoid loading objects from DB in ES results"Nick Thomas
This reverts commit d9cb907c3e987363065136bafb2156e86bc5de26.
2019-06-05Backport of 10854-elasticsearch_avoid_dbMario de la Ossa
2019-03-28Inherit from ApplicationRecord instead of ActiveRecord::BaseNick Thomas
2019-03-05Display the correct number of MRs a user has access toIgor Drozdov
2019-01-31Group Guests are no longer able to see merge requestsTiago Botelho
Group guests will only be displayed merge requests to projects they have a access level to, higher than Reporter. Visible projects will still display the merge requests to Guests
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-27Enable frozen string in app/models/*.rbgfyoung
Partially addresses #47424.
2018-07-24Added SiteStatistics as counter cache for Projects and WikisGabriel Mazetto
2017-09-13Fix project feature being deleted when updating project with invalid ↵Felipe Artur
visibility level
2017-08-08Re-enable SqlInjection and CommandInjectionBrian Neel
2017-06-27convert all the policies to DeclarativePolicyhttp://jneen.net/
2017-06-23Add User#full_private_access? to check if user has Private accessToon Claes
In CE only the admin has access to all private groups & projects. In EE also an auditor can have full private access. To overcome merge conflicts, or accidental incorrect access rights, abstract this out in `User#full_private_access?`. `User#admin?` now only should be used for admin-only features. For private access-related features `User#full_private_access?` should be used. Backported from gitlab-org/gitlab-ee!2199
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-23Enable Style/MutableConstantDouwe Maan
2016-11-17issue and mergerequest slash command for mattermostZ.J. van de Weg
This commit includes a couple of thing: - A chatops controller - Mattermost::CommandService - Mattermost::Commands::(IssueService|MergeRequestService) The controller is the point where mattermost, and later slack will have to fire their payload to. This in turn will execute the CommandService. Thats where the authentication and authorization should happen. So far this is not yet implemented. This should happen in later commits. Per subcommand, in case of `/gitlab issue show 123` issue whould be the subcommand, there is a service to parse the data, and fetch the resource. The resource is passed back to the CommandService which structures the data.
2016-11-12Remove unneeded nil checksZ.J. van de Weg
The library we're using, default_value_for, is configured to interpret nil as the default value, being ENABLED. Given the property can't be nil this check is unneeded.
2016-11-09Merge branch '22481-honour-issue-visibility-for-groups' into 'security' Douwe Maan
Honour issue and merge request visibility in their respective finders This MR fixes a security issue with the IssuesFinder and MergeRequestFinder where they would return items the user did not have permission to see. This was most visible on the issue and merge requests page for a group containing projects that had set their issues or merge requests to "private". Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/22481 See merge request !2000
2016-10-17Add visibility level to project repositoryFelipe Artur
2016-10-05Fix project deletion when feature visibility is set to privateStan Hu
Projects that are destroyed are put in the pending_delete state. The ProjectDestroyWorker checks whether the current user has access, but since the ProjectFeature class uses the default scope of the Project, it will not be able to find the right project. This was a regression in 8.12 that caused the following stack trace: ``` NoMethodError: undefined method `team' for nil:NilClass from app/models/project_feature.rb:62:in `get_permission' from app/models/project_feature.rb:34:in `feature_available?' from app/models/project.rb:21:in `feature_available?' from app/policies/project_policy.rb:170:in `disabled_features!' from app/policies/project_policy.rb:29:in `rules' from app/policies/base_policy.rb:82:in `block in abilities' from app/policies/base_policy.rb:113:in `collect_rules' from app/policies/base_policy.rb:82:in `abilities' from app/policies/base_policy.rb:50:in `abilities' from app/models/ability.rb:64:in `uncached_allowed' from app/models/ability.rb:58:in `allowed' from app/models/ability.rb:49:in `allowed?' from app/services/base_service.rb:11:in `can?' from lib/gitlab/metrics/instrumentation.rb:155:in `block in can?' from lib/gitlab/metrics/method_call.rb:23:in `measure' from lib/gitlab/metrics/instrumentation.rb:155:in `can?' from app/services/projects/destroy_service.rb:18:in `execute' ``` Closes #22948
2016-09-21Remove duplicate default_value_level entryZeger-Jan van de Weg
2016-09-21Add default values for ProjectFeatureZ.J. van de Weg
Closes gitlab-org/gitlab-ce#22330
2016-09-01Project tools visibility levelFelipe Artur