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-01-02Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqJohn Jarvis
2019-01-01Merge branch ↵John Jarvis
'security-53543-user-keeps-access-to-mr-issue-when-removed-from-team' into 'master' [master] Adds validation to check if user can read project See merge request gitlab/gitlabhq!2645
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-30Merge branch '34758-extend-can-create-cluster-logic' into 'master'Kamil Trzciński
Allow user to add cluster when there are ancestor clusters See merge request gitlab-org/gitlab-ce!23569
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-12-19Rename GroupHierarchy into ObjectHierarchyJarka Košanová
- we now use the hierarchy class also for epics - also rename supports_nested_groups? into supports_nested_objects? - move it to a concern
2018-12-19Adds validation to check if user can read projectTiago Botelho
An issuable should not be available to a user if the project is not visible to that specific user
2018-11-29Merge branch 'security-guest-comments' into 'master'Cindy Pallares
[master]Fixed ability to comment on and edit/delete comments on locked or confidential issues See merge request gitlab/gitlabhq!2612
2018-11-21Eliminate duplicated wordsTakuya Noguchi
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-13Authorize DestroyPipelineService against pipelineMatija Čupić
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-02Hides Close MR button on merged MRJacopo
When a Merge request is merged, shows only the Report abuse menu item in the dropdown menu instead of showing the close_reopen_report toggle with an unusable Close button. The Report abuse is still hidden when the author of the Merge request is the current_user. Hides the Reopen button on a closed and locked issue when the issue.author is not the current_user
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-28Merge branch 'fldubois/gitlab-ce-fix-api-group-createdat' into 'master'Rémy Coutable
Allow date parameters on Issues, Notes, and Discussions API for group owners Closes #40059 See merge request gitlab-org/gitlab-ce!21342
2018-08-28Merge branch 'issue_36138' into 'master'Sean McGivern
Allow to delete group milestones Closes #36138 See merge request gitlab-org/gitlab-ce!21057
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-16Whitelist existing destroy_all offensesYorick Peterse
This whitelists all existing places where we use "destroy_all".
2018-08-06Allow to delete group milestonesFelipe Artur
2018-08-06Revert "Merge branch 'bvl-instance-stats-default' into 'master'"Bob Van Landuyt
This reverts merge request !21044
2018-08-06Hide instance statistics on new installationsBob Van Landuyt
Making the migrations and the default do the right thing in the first place. This makes 20180806094307 a no-op.
2018-08-01Merge branch 'bvl-user-status-message-35463' into 'master'Rémy Coutable
Allow users to set a status Closes #35463 See merge request gitlab-org/gitlab-ce!20614
2018-07-30Allow users to set a statusBob Van Landuyt
This can be done trough the API for the current user, or on the profile page.
2018-07-27Spec instance statisticsBob Van Landuyt
2018-07-27Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' ↵Sean McGivern
into 'master'" This reverts merge request !20679
2018-07-27Merge branch '41416-making-instance-wide-data-tools-more-accessible' into ↵Sean McGivern
'master' Resolve "Making instance-wide data tools more accessible" Closes #41416 and #48507 See merge request gitlab-org/gitlab-ce!20679
2018-07-27Spec instance statisticsBob Van Landuyt
2018-07-27Rename the module and add a simple test to checkLin Jen-Shin
if all methods are also presented in the user.
2018-07-11Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao
2018-07-10Support manually stopping any environment from the UIWinnie Hellmann
2018-07-06Create cross project group featuresBob Van Landuyt
This allows us to check specific abilities in views, while still enabling/disabling them at once.
2018-06-20Operations and Kubernetes items are now omitted in the sidebar when ↵Tiago Botelho
repository or builds are disabled
2018-06-01Rephrase "maintainer" to more precise "members who can merge to the target ↵Mark Chao
branch" "Maintainer" will be freed to be used for #42751
2018-05-15Enable update_(build|pipeline) for maintainersJan Provaznik
2018-05-10Allows `access_(git|api)` to anonymous usersBob Van Landuyt
The `access_git` and `access_api` were currently never checked for anonymous users. And they would also be allowed access: An anonymous user can clone and pull from a public repo An anonymous user can request public information from the API So the policy didn't actually reflect what we were enforcing.
2018-05-10Block access to API & git when terms are enforcedBob Van Landuyt
When terms are enforced, but the user has not accepted the terms access to the API & git is rejected with a message directing the user to the web app to accept the terms.
2018-05-04Enforces terms in the web applicationBob Van Landuyt
This enforces the terms in the web application. These cases are specced: - Logging in: When terms are enforced, and a user logs in that has not accepted the terms, they are presented with the screen. They get directed to their customized root path afterwards. - Signing up: After signing up, the first screen the user is presented with the screen to accept the terms. After they accept they are directed to the dashboard. - While a session is active: - For a GET: The user will be directed to the terms page first, after they accept the terms, they will be directed to the page they were going to - For any other request: They are directed to the terms, after they accept the terms, they are directed back to the page they came from to retry the request. Any information entered would be persisted in localstorage and available on the page.
2018-05-04Allow a user to accept/decline termsBob Van Landuyt
When a user accepts, we store this in the agreements to keep track of which terms they accepted. We also update the flag on the user.
2018-05-04Make the user dropdown reusableBob Van Landuyt
We will reuse the the dropdown, but exclude some menu items based on permissions. So moving the menu to a partial, and adding checks for each menu item here.
2018-04-23Fix users not seeing labels from private groups when being a member of a ↵Felipe Artur
child project
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-10Update policies to make archived projects completely read-onlyDouwe Maan
2018-04-10Remove edit_note and update_note abilities in favor of admin_noteDouwe 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-07Increase test suite around deploy tokens behaviorMayra Cabrera
Also, fixes broken specs
2018-04-07Include ProjectDeployTokensMayra Cabrera
Also: - Changes scopes from serializer to use boolean columns - Fixes broken specs
2018-04-07Support Deploy Tokens properly without hacking abilitiesKamil Trzciński