Commit graph

20 commits

Author SHA1 Message Date
GitLab Bot
099333e261 Add latest changes from gitlab-org/gitlab@master 2021-03-18 00:08:58 +00:00
GitLab Bot
cf24d183b3 Add latest changes from gitlab-org/gitlab@master 2020-09-07 15:09:04 +00:00
GitLab Bot
3a4c658196 Add latest changes from gitlab-org/gitlab@master 2020-07-30 00:09:53 +00:00
GitLab Bot
9d67bc14cb Add latest changes from gitlab-org/gitlab@master 2020-07-16 12:09:22 +00:00
GitLab Bot
a898b6057e Add latest changes from gitlab-org/gitlab@master 2020-07-15 09:09:34 +00:00
GitLab Bot
66bd1f0fdc Add latest changes from gitlab-org/gitlab@master 2020-07-14 15:09:05 +00:00
GitLab Bot
ff430539d5 Add latest changes from gitlab-org/gitlab@master 2020-07-13 15:09:08 +00:00
GitLab Bot
fa7ac2663b Add latest changes from gitlab-org/gitlab@master 2020-06-24 06:09:01 +00:00
GitLab Bot
157f9a451a Add latest changes from gitlab-org/gitlab@master 2019-11-22 00:06:08 +00:00
GitLab Bot
0ccbbf166f Add latest changes from gitlab-org/gitlab@master 2019-10-25 09:06:06 +00:00
Heinrich Lee Yu
1ce5bcacdb Remove code related to object hierarchy in MySQL
These are not required because MySQL is not
supported anymore
2019-07-25 15:35:06 +08:00
Jacques Erasmus
3c913df28e Add changelog entry
Added a changelog entry for the feature
2019-05-27 08:23:17 +00:00
James Fargher
733da6d6a0 Instance level kubernetes clusters admin
Instance level clusters were already mostly supported, this change adds
admin area controllers for cluster CRUD
2019-05-07 08:37:03 +12:00
Mayra Cabrera
ab06d1eda2 Renames Cluster#managed? to provided_by_user?
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
2019-03-29 18:23:18 +00:00
Thong Kuah
0e78834bc9 Move code to presenter
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
2018-12-17 09:51:53 +13:00
Thong Kuah
459758921f Move description of cluster type to presenter 2018-12-13 20:53:15 +13:00
Thong Kuah
54e8ff0f21 Extend clusters_controller for group type clusters
- 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
2018-11-08 23:14:06 +13:00
Thong Kuah
1163b23539 Move view and path concerns to presenters
- Move show path for cluster to ClusterPresenter

- Create ClusterablePresenter to encapsulate logic. Consolidates
scattered methods from BaseController and ClustersHelper into an object.
2018-11-01 19:37:32 +13:00
Matija Čupić
83648f243d
Move can_toggle_cluster? from helper to presenter 2017-12-05 17:09:04 +01:00
Shinya Maeda
944149ec16 spec for spec/presenters 2017-10-31 01:09:39 +09:00
Renamed from spec/presenters/gcp/cluster_presenter_spec.rb (Browse further)