summaryrefslogtreecommitdiff
path: root/spec/presenters
Commit message (Collapse)AuthorAgeFilesLines
* Remove duplicate clusterable presenter methodinstance_level_clustersJames Fargher2019-05-072-12/+0
|
* Instance level kubernetes clusters adminJames Fargher2019-05-071-0/+12
| | | | | Instance level clusters were already mostly supported, this change adds admin area controllers for cluster CRUD
* Show health graphs on group-levelPeter Leitzen2019-05-062-0/+12
| | | | Tweak cluster helper and refactor its specs.
* Fix ref_text of merge request pipelinesfix-ref-text-of-mr-pipelinesShinya Maeda2019-04-301-0/+46
| | | | | Source branch can be removed after the merge and we have to make sure to avoid rendering links if it's the case.
* Move scoped_label into label presenterJan Provaznik2019-04-231-0/+65
| | | | | | | When rendering a label we want to check 'scoped_label' feature availability on a project/group where label is being used. For this reason a label presenter is used in UI and information about context project/group is passed to this presenter.
* Improvements to Project overview UIIllya Klymov2019-04-191-0/+19
|
* Rename CI related selectorsGeorge Tsiolis2019-04-161-2/+2
|
* Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-051-6/+6
| | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
* Add pipeline bridge presenterbackstage/gb/add-pipeline-bridge-presenterGrzegorz Bizon2019-04-031-0/+15
|
* Renames Cluster#managed? to provided_by_user?Mayra Cabrera2019-03-291-0/+16
| | | | | | This will allow to user the term managed? on https://gitlab.com/gitlab-org/gitlab-ce/issues/56557. Managed? will be used to distinct clusters that are automatically managed by GitLab
* Create detached merge request pipelinespersist-fulll-ref-path-for-mr-pipelinesShinya Maeda2019-03-291-0/+38
| | | | | | | | | | | | | | | | | | By using `refs/merge-requests/:iid/head` ok ok Improve naming nicely Add nice tests add nice tests fix some more revert
* Resolve CE/EE differences in MergeRequestPresenter specSean McGivern2019-03-251-2/+44
|
* Update pipeline detail view to accommodate post-merge pipelinesShinya Maeda2019-03-192-0/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit changes Add spec Add changelog fix fix Fix Fix spec Finish spec ok nice ok ok ok fix
* Merge branch '56937-edit-knative-domain' into 'master'Grzegorz Bizon2019-03-072-0/+16
|\ | | | | | | | | | | | | Edit Knative domain after it has been deployed Closes #56937 See merge request gitlab-org/gitlab-ce!25386
| * Sends update route to the clientJoão Cunha2019-03-052-0/+16
| | | | | | | | | | - extends presenters to include update endpoint path - sends path to the client on clusters clusters show view.
* | Merge branch 'expand-diff-to-full-file' into 'master'Douwe Maan2019-03-071-0/+159
|\ \ | | | | | | | | | | | | | | | | | | Expand diff to entire file Closes #19054 See merge request gitlab-org/gitlab-ce!24406
| * | Move diff_line preparation into presenterMark Chao2019-03-071-0/+75
| | | | | | | | | | | | Update spec
| * | Add full option for blob diff actionMark Chao2019-03-061-0/+84
| |/ | | | | | | Returns all diff lines for frontend if full is true. Turn UnfoldForm into presenter, and move controller logic to presenter.
* | Expose merge request entity for pipelinesShinya Maeda2019-03-061-0/+23
|/ | | | | | | | | | | | | | | | | | | | | | | Add preload Fix ok Write tests test only postgresql ok add more test ; Improve wording Add changelog Fix
* Expose refspec and depth to runnerShinya Maeda2019-02-251-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix fix and fix Allow full ref specification for pipeline creation Add spec Support backward compatibility Use ref path Runner feature flag Simplify the things Support fork workflow (Public only) Expose ref spec Use refspec Glooming Decouple unrelated changes Add changelog Revert unrelated file Decouple unnecessary Add spec Use refspecs Fix changelog Simplify Fix coding offence Fix a ok ok ok ok ok a a Fix Add workaround for ignore_column Fix git depth Fix coding offence Fix spec Simplify more Do not set ignored column Fix tests Fix pipeline Fix spec fix fixture yes Revert nonsense fix Revert more ok Decouple mr pipelines fix spev Remove unrelated changes
* Send project name with Gitaly repository requestsStan Hu2019-02-051-1/+1
| | | | | | | When hashed storage is in use, it's helpful to have the project name associated with the request. Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
* [master] Pipelines section is available to unauthorized usersKamil Trzciński2019-01-311-0/+54
|
* Fix subject in trigger presenter testsGrzegorz Bizon2019-01-311-1/+1
|
* Add some specs for trigger presenterGrzegorz Bizon2019-01-311-0/+51
|
* Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-241-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Allow users to add cluster with ancestorsMayra Cabrera2018-12-241-0/+64
| | | | | | | | | | | 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
* Move code to presenterThong Kuah2018-12-171-1/+125
| | | | | | | | | | | | | | | Part of the code such as #show_path is already present on the presenter. Also avoid having code in two places (helper and presenter) Sanitize and assert html_safe. Additional layer of defense - on top of GitLab already requiring group names to be composed of small set of chars A-Z, - and spaces. Only link to cluster if user can read cluster Make clear that arg is a GroupClusterablePresenter Add more specs for completeness
* Move description of cluster type to presenterThong Kuah2018-12-131-0/+14
|
* Further design iteration on project overviewDennis Tang2018-12-071-48/+48
| | | | | | | | | | | | | | | | | | | | Continues the iteration on the project overview UI: - moved star, fork and new clone button (copy SSH/HTTPS URLs) to top right, made them smaller - avatar is now larger (64px) - 'Request access' is now a link instead of a button - overview comes before the description + changed styling and added icons - description font-size is now 16px (large-paragraph) - quick links to files are moved downwards below the commit/pipeline info - margins changed to group content into 4 groups to clean up the interface - visibility info reduced to icon-only and moved to the right of the title
* Resolve "Can add an existing group member into a group project with new ↵James Lopez2018-12-062-0/+14
| | | | permissions but permissions are not overridden"
* Extend clusters_controller for group type clustersThong Kuah2018-11-082-0/+84
| | | | | | | | | - Add pages javascripts to intialize clusters for group pages - Move specs asserting gcp specific validations from controller into UpdateService spec - Also teach Clusters::ApplicationController about groups
* Allow to make builds soft-archived.disallow-retry-of-old-buildsKamil Trzciński2018-11-051-1/+1
| | | | | The soft-archived builds cannot be run after some deadline time. The intent is to aggressively recycle old builds after sometime.
* Merge branch 'top_level_clusters_controller' into 'master'Kamil Trzciński2018-11-023-1/+107
|\ | | | | | | | | Top level clusters controller See merge request gitlab-org/gitlab-ce!22438
| * Remove method as using nested resource routesThong Kuah2018-11-021-6/+0
| | | | | | | | | | | | We introduced hidden_clusterable_fields in this MR but it is no longer needed as we have gone back to nested resource routes which should provide the params such as `project_id`.
| * Add missing specs for PresenterThong Kuah2018-11-021-0/+33
| | | | | | | | Also add missing interface in abstract class.
| * Move view and path concerns to presentersThong Kuah2018-11-013-1/+80
| | | | | | | | | | | | | | - Move show path for cluster to ClusterPresenter - Create ClusterablePresenter to encapsulate logic. Consolidates scattered methods from BaseController and ClustersHelper into an object.
* | Merge branch 'gt-fix-quick-links-button-styles' into 'master'Annabel Dunstone Gray2018-10-311-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Fix quick links button styles Closes #52220 and #52063 See merge request gitlab-org/gitlab-ce!22657
| * | Fix quick links button stylesGeorge Tsiolis2018-10-291-1/+1
| |/
* | Move :plain option to Highlight classMark Chao2018-10-301-21/+5
| | | | | | | | | | | | This is to DRY the repeated file size check. Move spec and constants to Highlight
* | Add BlobPresenter for highlightingMark Chao2018-10-301-0/+60
| | | | | | | | Force FoundBlob to use BlobPresenter
* | Merge branch 'security-51527-xss-in-mr-source-branch' into 'master'Jan Provaznik2018-10-291-0/+9
|\ \ | |/ |/| | | | | [master] Fix XSS in MR source branch name See merge request gitlab/gitlabhq!2544
| * Fix XSS in MR source branch namePaul Slaughter2018-10-121-0/+9
| |
* | Merge branch 'use-raw-file-format' into 'master'Grzegorz Bizon2018-10-221-15/+17
|\ \ | | | | | | | | | | | | | | | | | | Add RAW file format which is used to store security reports Closes gitlab-ee#7996 See merge request gitlab-org/gitlab-ce!22365
| * | Make all legacy security reports to use raw formatuse-raw-file-formatKamil Trzciński2018-10-161-15/+17
| |/ | | | | | | | | | | | | | | | | - This introduces and uses `:raw` format for all legacy reports, the ones that do not have yet proper parsers on Backend - Raw format is needed to make Frontend be able to parse reports, without the need of decompressing, - This also extends fixtures to seed security reports with database, even though parser code is part of EE
* | Remove Koding integration and documentationStan Hu2018-10-121-31/+0
|/ | | | | | This integration no longer works and does not appear to be supported. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39697
* Rails 5: fix mysql milliseconds problems in scheduled build specsJasper Maes2018-10-061-1/+1
|
* Add spec for build presenterShinya Maeda2018-10-031-0/+36
|
* Extend reports to support security featuresOlivier Gonzalez2018-09-271-18/+31
|
* Fix grammar (setup to set-up) in code comments, spec, views, etc.Marcel Amirault2018-09-171-1/+1
|
* Resolve "Improve project overview UI"Dennis Tang2018-09-061-58/+95
|