summaryrefslogtreecommitdiff
path: root/spec/controllers/groups
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqRobert Speicher2019-07-291-0/+5
|\
| * Merge branch 'security-60551-fix-upload-scope' into 'master'GitLab Release Tools Bot2019-07-261-0/+5
| |\ | | | | | | | | | | | | Queries for Upload should be scoped by model See merge request gitlab/gitlabhq!3229
| | * Queries for Upload should be scoped by modelAdam Hegyi2019-07-111-0/+5
| | |
* | | Remove code related to object hierarchy in MySQLremove-nested-groups-checksHeinrich Lee Yu2019-07-252-4/+4
|/ / | | | | | | | | These are not required because MySQL is not supported anymore
* | Cleanup usages of `JSON.parse` in specsPeter Leitzen2019-07-162-4/+2
|/ | | | Prefer `json_response` where applicable.
* Remove group_clusters feature flagThong Kuah2019-06-281-49/+31
| | | | | | Now we have terminals for instance and group clusters we can remove the FF now. Deploying to group clusters has been working without complaints too.
* Move Multiple Issue Boards for Projects to Core53811-issue-boards-to-core-projects-backend-ceAlexandru Croitor2019-06-261-1/+1
| | | | | Refactor code to allow multiple issue boards management for projects in CE
* Allow switching clusters between managed/unmanagedTiger2019-06-181-0/+4
| | | | | | Any resources created while the cluster was managed will be untouched, allowing users to set/unset this flag as they please.
* Add gitlab-managed option to clusters formMayra Cabrera2019-05-031-0/+27
| | | | | | | | When this option is enabled, GitLab will create namespaces and service accounts as usual. When disabled, GitLab wont create any project specific kubernetes resources Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
* Add some frozen string to spec/**/*.rbgfyoung2019-04-1511-0/+22
| | | | | | | | | | Adds frozen string to the following: * spec/bin/**/*.rb * spec/config/**/*.rb * spec/controllers/**/*.rb xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-098-0/+177
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl2019-04-058-177/+0
| | | This reverts merge request !26823
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-058-0/+177
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Autocorrect with RSpec/ExampleWording copThong Kuah2019-04-052-3/+3
| | | | | | | - rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
* Remove redirecting to last visited boardHeinrich Lee Yu2019-03-131-20/+0
| | | | Move this to EE-only. It isn't useful here since there's only one board
* Refactor groups and projects boards actionsHeinrich Lee Yu2019-03-131-3/+1
| | | | Move common functionality to BoardsActions concern
* Enable/disable Auto DevOps at Group levelMayra Cabrera2019-03-121-0/+73
| | | | | | | | | | | | - Includes instance methods on Group model to detect when a group has AutoDevOps explicitly/implicitly enabled/disabled. - Includes migration to add a new column to namespaces table - Add UI necessary modifications - Add service and controller to update auto devops related instances - Updates project and groups auto devops badges Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52447
* Merge branch '56937-edit-knative-domain' into 'master'Grzegorz Bizon2019-03-071-20/+80
|\ | | | | | | | | | | | | Edit Knative domain after it has been deployed Closes #56937 See merge request gitlab-org/gitlab-ce!25386
| * Rename ClusterUpdateAppWorker to ClusterPatchAppWorkerJoão Cunha2019-03-051-2/+2
| | | | | | | | - This is to avoid colision with EE ClusterUpdateAppWorker
| * Creates Clusterss::ApplciationsController update endpointJoão Cunha2019-03-051-20/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Creates new route - Creates new controller action - Creates call stack: Clusterss::ApplciationsController calls --> Clusters::Applications::UpdateService calls --> Clusters::Applications::ScheduleUpdateService calls --> ClusterUpdateAppWorker calls --> Clusters::Applications::PatchService --> ClusterWaitForAppInstallationWorker DRY req params Adds gcp_cluster:cluster_update_app queue Schedule_update_service is uneeded Extract common logic to a parent class (UpdateService will need it) Introduce new UpdateService Fix rescue class namespace Fix RuboCop offenses Adds BaseService for create and update services Remove request_handler code duplication Fixes update command Move update_command to ApplicationCore so all apps can use it Adds tests for Knative update_command Adds specs for PatchService Raise error if update receives an unistalled app Adds update_service spec Fix RuboCop offense Use subject in favor of go Adds update endpoint specs for project namespace Adds update endpoint specs for group namespace
* | Change policy regarding group visibilityMałgorzata Ksionek2019-02-201-0/+2
|/
* Remove TLD validation from Cluster#domainDylan Griffith2019-02-141-1/+1
|
* Addresses backend/db review commentsMayra Cabrera2019-02-041-1/+1
| | | | | | | | | - Fixes multiple typos on AutoDevops script - Add an alias to Clusters::Cluster#domain as base_domain, so it's more descriptive - Removes unnecessary memoization on qa specs - Changes migration to a post migration to deal better with traffic on big instances (like gitlab.com)
* Moves domain setting to Cluster settingMayra Cabrera2019-02-041-2/+19
| | | | | | | | | | | | Changes domain field to be on the Cluster page show, removing it from Auto DevOps setting. Also injects the new environment variable KUBE_INGRESS_BASE_DOMAIN into kubernetes#predefined_variables. Migration to move the information from ProjectAutoDevops#domain to Clusters::Cluster#domain. As well as necessary modifications to qa selectors Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
* Add subresources removal to member destroy serviceJames Lopez2019-01-311-1/+1
|
* Merge branch '54905-milestone-search' into 'master'Sean McGivern2019-01-251-3/+28
|\ | | | | | | | | | | | | Resolve "Milestone search" Closes #54905 See merge request gitlab-org/gitlab-ce!24265
| * Adds milestone searchJacopo2019-01-241-3/+28
| | | | | | | | | | | | | | Adds to search ILIKE search for milestones title in: - Milestones dashboard - Group milestones page - Project milestones page
* | Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-241-3/+3
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'ccr/49289_milestone_link' into 'master'Mike Greiling2019-01-021-1/+1
|\ | | | | | | | | | | | | Add project milestone link Closes #49289 See merge request gitlab-org/gitlab-ce!22552
| * Add project milestone link to dashboard milestonesccr/49289_milestone_linkFatih Acet2018-12-201-1/+1
| | | | | | | | | | | | One of the steps to deprecate dashboard milestones. Links do dashboard milestone are replaced with links for each project milestone
* | Merge branch 'security-master-group-cicd-settings-accessible-to-maintainer' ↵John Jarvis2019-01-011-10/+45
|\ \ | | | | | | | | | | | | | | | | | | into 'master' [master] Group Ex-Maintainer Could maintain Access to Project's Source Code/Jobs/Pipelines/Artifacts if it had Shared Group Runner Configured See merge request gitlab/gitlabhq!2721
| * | Check for group admin permissionsMatija Čupić2018-12-201-10/+45
| |/
* | Remove deprecated xhr from specsJasper Maes2018-12-191-4/+6
|/
* Update specs to rails5 formatblackst0ne-convert-specs-rails5-styleblackst0ne2018-12-1913-101/+129
| | | | | | | | | | Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
* Remove trailing commas to satisfy rubocopMike Greiling2018-11-081-3/+3
|
* Only project clusters has Project Namespace fieldThong Kuah2018-11-081-15/+3
| | | | | Group clusters should not allow Project Namespace so don't show that field input too
* Minor updates to spec for readabilityThong Kuah2018-11-081-21/+33
| | | | Based on BE reviewer feedback
* Adds feature flag for Group ClustersMayra Cabrera2018-11-081-28/+46
| | | | | As the frontend is still in progress and other related backend is still in prgress we need a feature flag to turn off Group Clusters.
* Extend clusters_controller for group type clustersThong Kuah2018-11-082-0/+643
| | | | | | | | | - 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
* Fix transient error with boards_controller_spec53467-transient-failure-in-spec-controllers-groups-boards_controller_spec-rbBrett Walker2018-11-031-3/+4
|
* Fix typos in comments and specsGeorge Tsiolis2018-11-011-2/+2
|
* Fix problem with spec that showed up in EE mergeBrett Walker2018-10-291-1/+1
|
* Automatically navigate to last board visitedBrett Walker2018-10-261-2/+56
|
* Simplify runner registration token resettingTomasz Maczukin2018-10-041-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | This icommit adds several changes related to the same topic - resetting a Runner registration token: 1. On Project settings page it adds a button for resetting the registration token and it removes the Runner token field that was confusing all GitLab users. 2. On Group settings page it adds the same button for resetting the registration token. 3. On Admin Runners settings page it moves the button to the same place as in Project and Group settings and it changes slightly the page layout to make it more similar to Group and Project setting pages. 4. It refactorizes a little the partial that prints runner registration description. Thanks to this Project, Group and Admin settings of the Runner are re-using the same code to generate the button. 5. Updates the translations of changed text.
* Allow to delete group milestonesissue_36138Felipe Artur2018-08-061-0/+11
|
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-115-5/+5
|
* Add workhorse authorize method for project/group uploadsJan Provaznik2018-06-181-0/+8
| | | | | This method can be used by workhorse to get presigned URLs used for direct upload of files.
* Make all uses of `fixture_file_upload` use relative pathsRobert Speicher2018-06-071-1/+1
|
* Hide archived projects from `shared_projects`bvl-hide-archived-shared-projectsBob Van Landuyt2018-06-041-1/+10
| | | | | Since we don't show the archived projects, we shouldnot load them and pass them to the fronted to be filtered out again.
* Refactor validations and make runner factory by default to be instance-wide ↵Kamil Trzciński2018-05-311-2/+1
| | | | runner