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
2021-04-21Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot
2019-05-15Avoid passing not_found_or_authorized_proc aroundJames Edwards-Jones
Since this needs to be called on every find_routable!(Project, ... we can instead move it to a RoutableActions check.
2018-11-01Resolve controller sharing concernThong Kuah
Use ClustersController as base while having Projects::ClustersController to inform what `clusterable` is. Thanks @ayufan for the great suggestion ! - View changes to work with new approach - Fix javascript for new approach - Fix feature specs for new approach - Fix QA
2018-11-01Convert clusters to use a top-level controllerThong Kuah
In preparation so that we can create both cluster attached to project and cluster attached to group. - Move ClustersController to top level - Move Clusters::ApplicationsController to top-level too - Creates a Clusters::BaseController to share common functions - Do not rely on @project ivar. Anything could set the ivar. - Fix Vue page components due to new data-page value Because of the controller change we have gone from `projects:clusters:new` to `clusters:new`, so we need to update the file location of the page components. There is somewhere a function that will convert data-page to a file location. On that note, projects/clusters/gcp/new/, translate to Projects::Clusters::Gcp#new doesn't exist so replace that with clusters/create_gcp/ and clusters/create_user/
2018-10-15Remove un-used inheritance from serviceThong Kuah
Remove the inheritance from ::BaseService which is causing us to inherit the initializer that has project as the first arg, as we will not have access to project with forthcoming group clusters. Also call install service from create service - 1 less thing to re-use Extract TestRequest code into a spec helper. Given that we need different behaviour for Rails 5.0 (and again in Rails 5.1!), it's handy to have that branching behaviour in one place
2018-10-15Move non-controller code into dedicated serviceThong Kuah
This should help with code re-use when we create applications for group level cluster next. Change `find_or_initialize_by` to explicitly find or build the right association based on the application name. The benefit here is that we use the associations on @cluster rather than querying from the other side of the association.
2018-09-26Enable even more frozen string in app/controllersgfyoung
Enables frozen string for some vestigial files as well as the following: * app/controllers/projects/**/*.rb * app/controllers/sherlock/**/*.rb * app/controllers/snippets/**/*.rb * app/controllers/users/**/*.rb Partially addresses #47424.
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2018-06-19Merge remote-tracking branch 'origin/master' into 43446-new-cluster-page-tabsDennis Tang
2018-06-19consolidate back into one controllerDennis Tang
2018-06-07Pass request to oauth creation during cluster app installDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-06-06rubocop fixDennis Tang
2018-06-06redirect back to form if token expiresDennis Tang
2018-06-06split into gcp and user controllers againDennis Tang
2018-06-02Merge remote-tracking branch 'origin/master' into 43446-new-cluster-page-tabsDennis Tang
# Conflicts: # doc/user/project/clusters/index.md
2018-05-30Merge remote-tracking branch 'origin/master' into ↵Dmitriy Zaporozhets
46487-add-support-for-jupyter-in-gitlab-via-kubernetes
2018-05-30Fix exception in clusters/applications_controller.rbDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-05-30Refactor cluster app creation code in controllerDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-05-28Move token_in_session to helper methodMatija Čupić
2018-05-26combine "create" and "existing" GKE cluster views into one new pageDennis Tang
# Conflicts: # app/controllers/projects/clusters/gcp_controller.rb # app/views/projects/clusters/gcp/_form.html.haml
2018-05-26Merge remote-tracking branch 'origin/master' into ↵Dennis Tang
38759-fetch-available-parameters-directly-from-gke-when-creating-a-cluster
2018-05-25Add oauth reference to jupyter cluster appDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-05-25Add support for Jupyter in GitLab via KubernetesDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-05-24Refactor code around scheduling cluster installationsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-05-02Remove list_projects action from Google API checkMatija Čupić
2018-05-02Remove Projects::Clusters::GcpController#list_projectsMatija Čupić
2018-04-23Use ListGcpProjectsWorker#read_projects instead of get_projectsMatija Čupić
2018-04-20Remove the GCP billing verification stepMatija Čupić
2018-04-20Store projects in ListGcpProjectsWorkerMatija Čupić
2018-04-20Rename CheckGcpProjectBillingWorker to ListGcpProjectsWorkerMatija Čupić
2018-03-16Expose CloudPlatform::Client#projects_list as GcpController#list_projectsMatija Čupić
2018-02-23Do not persist Google Project Billing Failure errors after a reloadMatija Čupić
2018-02-12Refactor CheckGcpProjectBillingWorkerMatija Čupić
2018-02-06Replace "cluster" with "Kubernetes cluster"Winnie Hellmann
2018-01-11Change failed GCP billing check wordingMatija Čupić
2018-01-11Use new tab for link in flashMatija Čupić
2018-01-10Fix link to billingKamil Trzciński
2018-01-10Fix billing checkingKamil Trzciński
2018-01-10Extract GCP billing check as methodMatija Čupić
2018-01-07Refactor GCP session token exchange schemeMatija Čupić
2018-01-06Store OAuth token in Redis for worker to pick upMatija Čupić
2018-01-05Remove polling interval from GcpControllerMatija Čupić
2017-12-21Implement GCP billing check in cluster formMatija Čupić
2017-12-21Remove actions for async GCP project billing checkMatija Čupić
2017-12-21Merge branch 'master' into ↵Matija Čupić
39957-redirect-to-gpc-page-if-users-try-to-create-a-cluster-but-the-account-is-not-enabled
2017-12-16Allow environment_scope in cluster controllersMatija Čupić
2017-12-16Add Worker rerun action to GcpControllerMatija Čupić
2017-12-16Handle html format in addition to jsonMatija Čupić
2017-12-16Expand controller test suite matrixMatija Čupić
2017-12-16Use 1 minute for status polling intervalMatija Čupić