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
2018-04-05Fix N+1 in MergeRequestParserSean McGivern
read_project can be prevented by a very expensive condition, which we want to avoid, while still not writing manual SQL queries. read_project_for_iids is used by read_issue_iid and read_merge_request_iid to satisfy both of those constraints, and allow the declarative policy runner to use its normal caching strategy.
2018-03-26Revert exploratory branch restriction policyJames Edwards-Jones
2018-03-26DestroyService for protected tags/branches used from controllerJames Edwards-Jones
2018-03-26Branch unprotection restriction starting pointJames Edwards-Jones
Explored Policy framework to create something I can use as a starting point.
2018-03-07Limit queries to a user-branch combinationBob Van Landuyt
The query becomes a lot simpler if we can check the branch name as well instead of having to load all branch names.
2018-03-07Allow abilities on forks while MR is openBob Van Landuyt
When an MR is created using `allow_maintainer_to_push`, we enable some abilities while the MR is open. This should allow every user with developer abilities on the target project, to push to the source project.
2018-02-22Port `read_cross_project` ability from EEBob Van Landuyt
2018-02-09Merge branch ↵Douwe Maan
'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4' [Port for security-10-4]: Makes SnippetFinder ensure feature visibility
2018-02-01Merge branch '35285-user-interface-bugs-for-schedule-pipelines' into 'master'Rémy Coutable
Hide pipeline schedule 'take ownership' for current owner Closes #35285 See merge request gitlab-org/gitlab-ce!12986
2018-02-01Hide pipeline schedule 'take ownership' for current ownerMark Fletcher
2018-01-31Make user/author use project.creator in most factoriesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
2017-12-13Refactor common protected ref checkStan Hu
2017-12-07Support uploads for groupsJarka Kadlecova
2017-11-28Update policies unit testsTomasz Maczukin
This commit also makes spec/policies/namespace_policy_spec.rb file to be compatible with the same file in GitLab EE.
2017-11-07Improve specShinya Maeda
2017-11-07Merge branch 'master' into fix/sm/31771-do-not-allow-jobs-to-be-erased-newShinya Maeda
2017-11-06Add doc. Fix spec. Add erase_build in protected_ref ruleShinya Maeda
2017-11-06Fix spec. Revert update check.Shinya Maeda
2017-11-06Do not allow jobs to be erasedShinya Maeda
2017-10-30specs for policies.Shinya Maeda
2017-10-06Merge branch ↵Kamil Trzciński
'feature/sm/35954-create-kubernetes-cluster-on-gke-from-k8s-service' into 'master' Create Kubernetes cluster on GKE from k8s service Closes #35954 See merge request gitlab-org/gitlab-ce!14470
2017-10-05authorizations_controller_spec. cluster_policy_spec.Shinya Maeda
2017-10-03Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵Jarka Kadlecova
18608-lock-issues-v2 # Conflicts: # db/schema.rb
2017-09-29moved fork checks into policiesPhil Hughes
2017-09-28Support custom attributes on usersMarkus Koller
2017-09-25Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into 18608-lock-issuesJarka Kadlecova
# Conflicts: # app/assets/javascripts/notes/components/issue_comment_form.vue
2017-09-22Refactor spec/policies/project_policy_spec.rb to minimize the diff with EERémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-20Merge remote-tracking branch 'origin/master' into 18608-lock-issuesLuke "Jared" Bennett
2017-09-18Allow DEVELOPER role to admin milestonesFelipe Artur
2017-09-14Create system notes for MR too, improve doc + clean up codeJarka Kadlecova
2017-09-14Support discussion locking in the backendJarka Kadlecova
2017-09-07Make Members with Owner and Master roles always able to create subgroupsRuben Davila
2017-09-06Fix ability when Share lock is offMichael Kozono
2017-09-06Fix “Share lock” policy for deeply nested groupsMichael Kozono
2017-09-06Specify nested_groups specsMichael Kozono
2017-09-06Enforce share_with_group_lock rulesMichael Kozono
…in Groups::UpdateService instead of only in the browser.
2017-08-22Fixes group policy specs on MySQL.Tiago Botelho
2017-08-21Improves subgroup creation permissionsTiago Botelho
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-08-01Ensure all project factories use `:repository` trait or `:empty_project`Robert Speicher
2017-07-27Use described_class when possibleRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27Remove superfluous type defs in specsKeifer Furzland
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-25Merge branch '30634-protected-pipeline' into 'master'Kamil Trzciński
Implement "Block pipelines on protected branches" Closes #30634, #34616, and #33130 See merge request !11910
2017-07-25Allow admin to read_users_list even if it's restrictedLin Jen-Shin
2017-07-24Don't treat anonymous users as owners when group has pending invitesSean McGivern
The `members` table can have entries where `user_id: nil`, because people can invite group members by email. We never want to include those as members, because it might cause confusion with the anonymous (logged out) user.
2017-07-24Associate Issues tab only with internal issues trackerJarka Kadlecova
2017-07-18Unify build policy tests and pipeline policy testsLin Jen-Shin
2017-07-18Restore some tests from masterLin Jen-Shin