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-06-12API issues - minor cleanup of permission checkJan Provaznik
Adds `set_issue_updated_at` similar to `set_issue_created_at` permission and cleans up the related permission check in issues API.
2019-05-08SSO enforcement for project resourcesJames Edwards-Jones
2019-05-03Allow guests users to access project releasesKrasimir Angelov
This is step one of resolving https://gitlab.com/gitlab-org/gitlab-ce/issues/56838. Here is what changed: - Revert the security fix from bdee9e8412d. - Do not leak repository information (tag name, commit) to guests in API responses. - Do not include links to source code in API responses for users that do not have download_code access. - Show Releases in sidebar for guests. - Do not display links to source code under Assets for users that do not have download_code access. GET ':id/releases/:tag_name' still do not allow guests to access releases. This is to prevent guessing tag existence.
2019-04-09Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-04-05Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl
This reverts merge request !26823
2019-04-05Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-04-04Add a Prometheus API per environmentrpereira2
The api will proxy requests to the environment's prometheus server. The Prometheus::ProxyService class can be reused when we add support for group prometheus servers.
2019-04-02Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ↵John Jarvis
jarv/dev-to-gitlab-2019-04-02
2019-03-26Disallow guest users from accessing ReleasesShinya Maeda
As they do not have a permission to read git tag
2019-03-23Show statistics also when repository is disabledPeter Marko
2019-03-08Disallow reopening of locked merge requestsJan Beckmann
Fixes #56864
2019-03-06API: delete job_artifacts of a single jobRoger Rüttimann
2019-03-05Display the correct number of MRs a user has access toIgor Drozdov
2019-03-04Merge dev master into GitLab.com masterYorick Peterse
2019-03-04Merge branch 'security-2798-fix-boards-policy' into 'master'Yorick Peterse
Disable issue board policies when issues are disabled Closes #2798 See merge request gitlab/gitlabhq!2894
2019-02-27Merge branch '42086-project-fetch-statistics-api-http-only' into 'master'Nick Thomas
Resolve "Project fetch statistics API (HTTP only)" Closes #42086 See merge request gitlab-org/gitlab-ce!23596
2019-02-27Add project http fetch statistics APIJacopo
The API get projects/:id/traffic/fetches allows user with write access to the repository to get the number of clones for the last 30 days.
2019-02-25Allow maintainers to remove pagesVladimir Shushlin
Move remove_pages permission to maintainer Fix before_action in pages controller to check `remove_pages` permission Add specs
2019-02-11Disable board policies when issues are disabledHeinrich Lee Yu
Board list policies are also included
2019-01-31[master] Pipelines section is available to unauthorized usersKamil Trzciński
2019-01-31Fixed bug when external wiki is enabledFrancisco Javier López
When the external wiki is enabled, the internal wiki link is replaced by the external wiki url. But the internal wiki is still accessible. In this change the external wiki will have its own tab in the sidebar and only if the services are disabled the tab (and access rights) will not be displayed.
2019-01-31Don't process MR refs for guests in the notesOswaldo Ferreira
2019-01-10Service for calling Sentry issues apiReuben Pereira
2019-01-07Remove caching of CSV fileHeinrich Lee Yu
Load whole file in memory to simplify code
2019-01-07Improve email messagesHeinrich Lee Yu
Also refactored cleanup view to use the same localized string
2019-01-07Import CSV BackendHeinrich Lee Yu
Process CSV uploads async using a worker then email results
2018-12-31Add spec for Release APIShinya Maeda
Add spec for all release API - GET, POST, PUT, DELETE. Also, fixes some minior bugs.
2018-12-31Add releases APIAlessio Caiazza
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
2018-12-24Allow users to add cluster with ancestorsMayra Cabrera
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
2018-11-08Add policy for clusters on group levelThong Kuah
- maintainer for group can read, create, update, and admin cluster - project user, at any level, cannot do anything with group cluster
2018-10-05Make GitLab pages support access controlTuomo Ala-Vannesluoma
2018-10-04Fix N+1 for notification recipients on private projectsSean McGivern
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
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-04Merge branch '39665-restrict-issue-reopen' into 'master'Sean McGivern
Restrict reopening locked issues for non authorized issue authors Closes #39665 See merge request gitlab-org/gitlab-ce!21299
2018-09-04Restrict reopening locked issues for issue authorsJarka Kadlecová
2018-08-22Use policies to determine if attributes can be set in the APISean McGivern
This is more idiomatic than checking membership explicitly.
2018-08-10CE Port of Protected Environments backendMayra Cabrera
2018-07-24Enable frozen string in presenters and policiesgfyoung
Enable frozen string in: * app/presenters * app/policies Partially addresses #47424.
2018-07-11Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao
2018-06-20Operations and Kubernetes items are now omitted in the sidebar when ↵Tiago Botelho
repository or builds are disabled
2018-06-06policyMark Chao
2018-05-15Enable update_(build|pipeline) for maintainersJan Provaznik
2018-05-07Adds remote mirror table migrationTiago Botelho
2018-04-11Prevent awarding emoji when a project is archivedBob Van Landuyt
This prevents performing the requests, and disables all emoji reaction buttons
2018-04-11Rename `create_merge_request` permissionsBob Van Landuyt
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
2018-04-11Prevent new merge requests for archived projectsBob Van Landuyt
This prevents creating merge requests targeting archived projects. This could happen when a project was already forked, but then the source was archived.
2018-04-10Move `ProjectPolicy`-class methods into moduleBob Van Landuyt
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.
2018-04-10Update policies to make archived projects completely read-onlyDouwe Maan
2018-04-10Rename delete_protected_branch ability to push_to_delete_protected_branch to ↵Douwe Maan
prevent confusion with destroy_protected_branch
2018-04-07Support Deploy Tokens properly without hacking abilitiesKamil Trzciński