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
2016-06-30Disable Metrics/CyclomaticComplexity for Ability.allowedLin Jen-Shin
There's little point to cut that down.
2016-06-29Use Ability to check pre-requisite. Change back to 403 because:Lin Jen-Shin
If we're using `can?` it would look weird to use 409
2016-06-23Fix 404 for pipelinesKamil Trzcinski
2016-06-15Merge branch 'environments-and-deployments' into 'master' Rémy Coutable
Add environments and deployments This MR is a continuation of https://gitlab.com/gitlab-org/gitlab-ce/issues/17009. The current implementation is as follow: 1. We have two new tables: `environments` and `deployments`. 2. We have a new tab: `Environments` under `Pipelines` where you can see all you environments and add a new one. 3. We add a new option to `.gitlab-ci.yml` to track where we should create a deployment for environment. 4. If environment in `.gitlab-ci.yml` is specified it will create a deployment. **If environment does not exist it will be created.** (this got changed) 5. The deployment is always successful and shows the time of the action, in that case a build that presumably should do deployment. In the future we could extend deployment with statuses: success, failure. We could extend deployments with information that this is partial or full deployment. 6. User have to create environments that he will track first. 7. User can remove environments. 8. User can retry/rollback past deployment (in that case we retry past build). The new build when succeeds it will create a new deployment. 9. Currently environment have only one parameter: `name`. In the future it should have: `variables`, `credentials` and possibly `runners` and maybe other resources. 10. Currently deployment have this parameters: `sha`, `ref`, `deployable (in this case a build)`, `user (who triggered a deployment)`, `created_at`. The `.gitlab-ci.yml`: ``` deploy to production: stage: deploy script: dpl travis... environment: production ``` What needs to be done: - [x] Write initial implementation - [x] Improve implementation (@ayufan) - [x] Write tests (@ayufan) - [x] Improve UX of the forms (cc @markpundsack) - reviewed by @markpundsack - [x] Improve implementation of the views (cc @jschatz1) - done by @iamphill - [x] Write .gitlab-ci.yml documentation for `environments` - done by @ayufan - [ ] Write user documentation (@ayufan and @markpundsack) See merge request !4605
2016-06-15Create_deployment ability is need to create retry or rollback deploymentKamil Trzcinski
2016-06-15Improve cyclomatic of ability::allowedKamil Trzcinski
2016-06-15Improve forms and specsKamil Trzcinski
2016-06-14Improve design after reviewKamil Trzcinski
2016-06-14UI and copywriting improvementsRémy Coutable
+ Move 'Edit Project/Group' out of membership-related partial + Show the access request buttons only to logged-in users + Put the request access buttons out of in a more visible button + Improve the copy in the #remove_member_message helper Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-14Add request access for groupsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-14Merge remote-tracking branch 'origin/master' into environments-and-deploymentsKamil Trzcinski
2016-06-14Initial implementation of user access request to projectsDavid Alexander
2016-06-14Project members with guest role can't access confidential issuesDouglas Barbosa Alexandre
2016-06-11Added initial version of deploymentsKamil Trzcinski
2016-06-01Merge branch 'separate-banzai-references' into 'master' Douwe Maan
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
2016-06-01Refactor ParticipableYorick Peterse
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.
2016-05-30Enable Lint/LiteralInCondition rubocop copGrzegorz Bizon
Checks of literals used in conditions. See #17478
2016-05-23Allow anonymous user to access pipelinesKamil Trzcinski
2016-05-17Merge remote-tracking branch 'origin/master' into with-pipeline-viewKamil Trzcinski
2016-05-15Rename JWT to JSONWebTokenKamil Trzcinski
2016-05-14Fix authentication serviceKamil Trzcinski
2016-05-09Rename `images` to `container_registry`Kamil Trzcinski
2016-04-29Added authentication service for docker registryKamil Trzcinski
2016-04-26Merge remote-tracking branch 'origin/master' into with-pipeline-viewKamil Trzcinski
2016-04-18Fix documentation and improve permissions codeFelipe Artur
2016-04-18Remove group members checkFelipe Artur
2016-04-18Insert users check into apiFelipe Artur
2016-04-18Code fixesFelipe Artur
2016-04-18Fix specsFelipe Artur
2016-04-18Fix codeFelipe Artur
2016-04-18Add specs and fix codeFelipe Artur
2016-04-18Move verification to abilitiesFelipe Artur
2016-04-13WIPKamil Trzcinski
2016-03-25Ensure project snippets have their own access levelRémy Coutable
2016-03-25Ensure private project snippets are not viewable by unauthorized peopleRémy Coutable
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/14607.
2016-03-22Address feedbackDouwe Maan
2016-03-22Merge branch 'master' into issue_12658Douwe Maan
# 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
2016-03-21Minor improvements on IssuableActionsZeger-Jan van de Weg
2016-03-20Tweaks, refactoring, and specsDouwe Maan
2016-03-20Merge branch 'master' into issue_12658Douwe Maan
2016-03-19Dry destroy action on issuablesZeger-Jan van de Weg
2016-03-18Improve group visibility level featureZeger-Jan van de Weg
2016-03-18Restrict access to confidential issuesDouglas Barbosa Alexandre
2016-03-18Code fixesFelipe Artur
2016-03-17Block internal groups/projects visibility to external usersFelipe Artur
2016-03-17Merge 4009-external-users into issue_12658Felipe Artur
2016-03-17Code improvements and add Create group serviceFelipe Artur
2016-03-13External UsersZeger-Jan van de Weg
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.
2016-03-10Add security specsFelipe Artur
2016-03-10Prevent projects to have higher visibility than groupsFelipe Artur
Prevent Groups to have smaller visibility than projects Add default_group_visibility_level to configuration Code improvements