Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'separate-banzai-references' into 'master' | Douwe Maan | 2016-06-01 | 1 | -0/+22 |
|\ | | | | | | | | | | | | | | | | | Separate reference gathering from rendering This is a required step to allow batch processing when gathering references. This in turn would allow grabbing (for example) all mentioned users of an issue/merge request using a single query. cc @rspeicher @DouweM See merge request !3969 | ||||
| * | Refactor Participable | Yorick Peterse | 2016-06-01 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are several changes to this module: 1. The use of an explicit stack in Participable#participants 2. Proc behaviour has been changed 3. Batch permissions checking == Explicit Stack Participable#participants no longer uses recursion to process "self" and all child objects, instead it uses an Array and processes objects in breadth-first order. This allows us to for example create a single Gitlab::ReferenceExtractor instance and pass this to any Procs. Re-using a ReferenceExtractor removes the need for running potentially many SQL queries every time a Proc is called on a new object. == Proc Behaviour Changed Previously a Proc in Participable was expected to return an Array of User instances. This has been changed and instead it's now expected that a Proc modifies the Gitlab::ReferenceExtractor passed to it. The return value of the Proc is ignored. == Permissions Checking The method Participable#participants uses Ability.users_that_can_read_project to check if the returned users have access to the project of "self" _without_ running multiple SQL queries for every user. | ||||
* | | Enable Lint/LiteralInCondition rubocop coprubocop/enable-literal-in-condition-cop | Grzegorz Bizon | 2016-05-30 | 1 | -7/+6 |
|/ | | | | | | Checks of literals used in conditions. See #17478 | ||||
* | Allow anonymous user to access pipelines | Kamil Trzcinski | 2016-05-23 | 1 | -0/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into with-pipeline-view | Kamil Trzcinski | 2016-05-16 | 1 | -1/+10 |
|\ | |||||
| * | Rename JWT to JSONWebToken | Kamil Trzcinski | 2016-05-14 | 1 | -6/+6 |
| | | |||||
| * | Fix authentication service | Kamil Trzcinski | 2016-05-14 | 1 | -0/+1 |
| | | |||||
| * | Rename `images` to `container_registry` | Kamil Trzcinski | 2016-05-09 | 1 | -4/+8 |
| | | |||||
| * | Added authentication service for docker registry | Kamil Trzcinski | 2016-04-29 | 1 | -2/+6 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into with-pipeline-view | Kamil Trzcinski | 2016-04-26 | 1 | -7/+22 |
|\ \ | |/ | |||||
| * | Fix documentation and improve permissions code | Felipe Artur | 2016-04-18 | 1 | -0/+1 |
| | | |||||
| * | Remove group members check | Felipe Artur | 2016-04-18 | 1 | -5/+3 |
| | | |||||
| * | Insert users check into api | Felipe Artur | 2016-04-18 | 1 | -3/+3 |
| | | |||||
| * | Code fixes | Felipe Artur | 2016-04-18 | 1 | -8/+2 |
| | | |||||
| * | Fix specs | Felipe Artur | 2016-04-18 | 1 | -2/+2 |
| | | |||||
| * | Fix code | Felipe Artur | 2016-04-18 | 1 | -4/+0 |
| | | |||||
| * | Add specs and fix code | Felipe Artur | 2016-04-18 | 1 | -11/+14 |
| | | |||||
| * | Move verification to abilities | Felipe Artur | 2016-04-18 | 1 | -5/+28 |
| | | |||||
* | | WIP | Kamil Trzcinski | 2016-04-13 | 1 | -1/+6 |
|/ | |||||
* | Ensure project snippets have their own access level | Rémy Coutable | 2016-03-25 | 1 | -15/+31 |
| | |||||
* | Ensure private project snippets are not viewable by unauthorized people | Rémy Coutable | 2016-03-25 | 1 | -0/+10 |
| | | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/14607. | ||||
* | Address feedback | Douwe Maan | 2016-03-22 | 1 | -3/+8 |
| | |||||
* | Merge branch 'master' into issue_12658 | Douwe Maan | 2016-03-21 | 1 | -1/+3 |
|\ | | | | | | | | | | | | | | | | | # Conflicts: # app/models/issue.rb # app/views/projects/_home_panel.html.haml # app/views/shared/projects/_project.html.haml # db/schema.rb # spec/models/project_spec.rb | ||||
| * | Minor improvements on IssuableActions | Zeger-Jan van de Weg | 2016-03-21 | 1 | -2/+2 |
| | | |||||
| * | Dry destroy action on issuables | Zeger-Jan van de Weg | 2016-03-19 | 1 | -1/+3 |
| | | |||||
* | | Tweaks, refactoring, and specs | Douwe Maan | 2016-03-20 | 1 | -12/+11 |
| | | |||||
* | | Merge branch 'master' into issue_12658 | Douwe Maan | 2016-03-20 | 1 | -1/+16 |
|\ \ | |/ | |||||
| * | Restrict access to confidential issues | Douglas Barbosa Alexandre | 2016-03-17 | 1 | -1/+16 |
| | | |||||
* | | Improve group visibility level feature | Zeger-Jan van de Weg | 2016-03-18 | 1 | -1/+1 |
| | | |||||
* | | Code fixes | Felipe Artur | 2016-03-17 | 1 | -5/+2 |
| | | |||||
* | | Block internal groups/projects visibility to external users | Felipe Artur | 2016-03-16 | 1 | -2/+5 |
| | | |||||
* | | Merge 4009-external-users into issue_12658 | Felipe Artur | 2016-03-16 | 1 | -17/+17 |
|\ \ | |/ | |||||
| * | External Users | Zeger-Jan van de Weg | 2016-03-13 | 1 | -17/+17 |
| | | | | | | | | | | The user has the rights of a public user execpt it can never create a project, group, or team. Also it cant view internal projects. | ||||
* | | Code improvements and add Create group service | Felipe Artur | 2016-03-16 | 1 | -2/+2 |
| | | |||||
* | | Add security specs | Felipe Artur | 2016-03-10 | 1 | -1/+1 |
| | | |||||
* | | Prevent projects to have higher visibility than groups | Felipe Artur | 2016-03-10 | 1 | -2/+1 |
| | | | | | | | | | | | | Prevent Groups to have smaller visibility than projects Add default_group_visibility_level to configuration Code improvements | ||||
* | | Code improvements | Felipe Artur | 2016-03-10 | 1 | -7/+11 |
| | | |||||
* | | Add permission level to groups | Felipe Artur | 2016-03-10 | 1 | -2/+3 |
|/ | |||||
* | Handle permissions for ExternalIssue instancesfix-git-push-service-specs | Yorick Peterse | 2016-03-09 | 1 | -0/+5 |
| | | | | This fixes the remainder of the GitPushService specs. | ||||
* | Move `update_merge_request` ability to Developer | Robert Speicher | 2016-03-04 | 1 | -1/+1 |
| | | | | Closes #13663 | ||||
* | Use `delete` instead of assignment operator when filtering build abilities | Kamil Trzcinski | 2016-02-04 | 1 | -1/+1 |
| | |||||
* | Update ability model after comments | Kamil Trzcinski | 2016-02-04 | 1 | -24/+15 |
| | |||||
* | Rename allow_guest_to_access_builds to public_builds | Kamil Trzcinski | 2016-02-04 | 1 | -5/+5 |
| | |||||
* | Simplify abilities | Kamil Trzcinski | 2016-02-04 | 1 | -16/+23 |
| | |||||
* | Properly handle commit status permissions (for a build) | Kamil Trzcinski | 2016-02-03 | 1 | -0/+22 |
| | |||||
* | Fix build errors | Kamil Trzcinski | 2016-02-03 | 1 | -3/+3 |
| | |||||
* | Add CI setting: allow_guest_to_access_builds | Kamil Trzcinski | 2016-02-02 | 1 | -6/+8 |
| | | | | Add the `read_build` ability if user is anonymous or guest and allow_guest_to_access_builds is enabled. | ||||
* | Make the CI permission model simpler | Kamil Trzcinski | 2016-02-02 | 1 | -8/+26 |
| | | | | | | | | | | | | | This MR simplifies CI permission model: - read_build: allows to read a list of builds, artifacts and trace - update_build: allows to cancel and retry builds - create_build: allows to create builds from gitlab-ci.yml (not yet implemented) - admin_build: allows to manage triggers, runners and variables - read_commit_status: allows to read a list of commit statuses (including the overall of builds) - create_commit_status: allows to create a new commit status using API Remove all extra methods to manage permission. Made all controllers to use explicitly the new permissions. | ||||
* | Give reporters the ability to download artifacts. | Andrew Johnson | 2016-01-15 | 1 | -1/+1 |
| | | | | Also fix a few places where page_404 should be render_404. | ||||
* | Improvements, readability for artifacts browser | Grzegorz Bizon | 2016-01-14 | 1 | -1/+1 |
| |