An error occurred fetching the project authors.
- 31 Dec, 2018 2 commits
-
-
Shinya Maeda authored
Add spec for all release API - GET, POST, PUT, DELETE. Also, fixes some minior bugs.
-
Alessio Caiazza authored
This commit introduces Releases API under /api/v4/projects/:id/releases * We are introducing release policies at project level. * We are deprecating releases changes from tags, both api and web interface. * Tags::CreateService no longer create a release This feature is controlled by :releases_page feature flag
-
- 24 Dec, 2018 1 commit
-
-
Mayra Cabrera authored
Include a new policy in Clusterables (projects and groups), which checks if another cluster can be added clusterable_has_cluster? and multiple_clusters_available private methods will be overriden in EE Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/34758
-
- 13 Nov, 2018 1 commit
-
-
Matija Čupić authored
-
- 12 Nov, 2018 1 commit
-
-
Matija Čupić authored
Move all logic for destroying a Pipeline into a service so it's easily reusable.
-
- 08 Nov, 2018 1 commit
-
-
Thong Kuah authored
- maintainer for group can read, create, update, and admin cluster - project user, at any level, cannot do anything with group cluster
-
- 05 Oct, 2018 1 commit
-
-
Tuomo Ala-Vannesluoma authored
-
- 04 Oct, 2018 1 commit
-
-
Sean McGivern authored
If we don't call #to_a, we're relying on the members already being loaded from elsewhere. Otherwise we'll do a separate query for each user: [1] pry(main)> Project.first.team.members.include?(User.first) Project Load (0.7ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" ASC LIMIT 1 ↳ (pry):3 User Load (1.8ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 ↳ (pry):3 User Exists (0.6ms) SELECT 1 AS one FROM "users" INNER JOIN "project_authorizations" ON "users"."id" = "project_authorizations"."user_id" WHERE "project_authorizations"."project_id" = $1 AND "users"."id" = $2 LIMIT 1 [["project_id", 1], ["id", 1]] ↳ (pry):3 => true [2] pry(main)> Project.first.team.members.to_a.include?(User.first) Project Load (12.8ms) SELECT "projects".* FROM "projects" ORDER BY "projects"."id" ASC LIMIT 1 ↳ (pry):1 User Load (9.6ms) SELECT "users".* FROM "users" INNER JOIN "project_authorizations" ON "users"."id" = "project_authorizations"."user_id" WHERE "project_authorizations"."project_id" = $1 [["project_id", 1]] ↳ (pry):1 User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 ↳ (pry):1 => true
-
- 11 Sep, 2018 1 commit
-
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- 04 Sep, 2018 1 commit
-
-
Jarka Kadlecová authored
-
- 22 Aug, 2018 1 commit
-
-
Sean McGivern authored
This is more idiomatic than checking membership explicitly.
-
- 10 Aug, 2018 1 commit
-
-
Mayra Cabrera authored
-
- 24 Jul, 2018 1 commit
-
-
gfyoung authored
Enable frozen string in: * app/presenters * app/policies Partially addresses #47424.
-
- 11 Jul, 2018 1 commit
-
-
Mark Chao authored
-
- 20 Jun, 2018 1 commit
-
-
Tiago Botelho authored
Operations and Kubernetes items are now omitted in the sidebar when repository or builds are disabled
-
- 06 Jun, 2018 1 commit
-
-
Mark Chao authored
-
- 15 May, 2018 1 commit
-
-
Jan Provaznik authored
-
- 07 May, 2018 1 commit
-
-
Tiago Botelho authored
-
- 11 Apr, 2018 3 commits
-
-
Bob Van Landuyt authored
This prevents performing the requests, and disables all emoji reaction buttons
-
Bob Van Landuyt authored
So we can distinguish between the permissions on the source and the target project. - `create_merge_request_from` indicates a user can create a merge request with the project as a source_project - `create_merge_request_in` indicates a user can create a merge request with the project as a target_project
-
Bob Van Landuyt authored
This prevents creating merge requests targeting archived projects. This could happen when a project was already forked, but then the source was archived.
-
- 10 Apr, 2018 3 commits
-
-
Bob Van Landuyt authored
That way the ProjectPolicy class can be extended with this module before we prepend the EE::ProjectPolicy. This makes the classmethods available for rules defined in the EE::ProjectPolicy.
-
Douwe Maan authored
-
Douwe Maan authored
Rename delete_protected_branch ability to push_to_delete_protected_branch to prevent confusion with destroy_protected_branch
-
- 07 Apr, 2018 2 commits
-
-
Kamil Trzciński authored
-
Mayra Cabrera authored
- When using 'read_repo' password and project are sent, so we used both of them to fetch for the token - When using 'read_registry' only the password is sent, so we only use that for fetching the token
-
- 05 Apr, 2018 1 commit
-
-
Sean McGivern authored
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.
-
- 07 Mar, 2018 3 commits
-
-
Bob Van Landuyt authored
The query becomes a lot simpler if we can check the branch name as well instead of having to load all branch names.
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
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.
-
- 22 Feb, 2018 1 commit
-
-
Bob Van Landuyt authored
-
- 09 Feb, 2018 1 commit
-
-
Douwe Maan authored
Merge branch 'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4' [Port for security-10-4]: Makes SnippetFinder ensure feature visibility
-
- 05 Jan, 2018 1 commit
-
-
Lin Jen-Shin authored
-
- 05 Oct, 2017 1 commit
-
-
Kamil Trzcinski authored
-
- 03 Oct, 2017 1 commit
-
-
Shinya Maeda authored
-
- 01 Oct, 2017 1 commit
-
-
Shinya Maeda authored
-
- 18 Sep, 2017 1 commit
-
-
Felipe Artur authored
-
- 29 Aug, 2017 1 commit
-
-
Maxim Rydkin authored
-
- 24 Jul, 2017 2 commits
-
-
Sean McGivern authored
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.
-
Jarka Kadlecova authored
-