Commit Graph

39 Commits

Author SHA1 Message Date
Westly Wright 6656c6601d
Setup observed property on init rather than default to object @ boot
`templateChanged` which loads the content of what we need for a MC app was
updated to watch a new property, `editable: { selectedTemplateUrl } `. The new
property was declared on the component as a object. Observers watching a static
object and that have never been fetched do not recompute. If we set the property
on init to the object it would have been declared with then additional sets on
the watched property cause the observer to recompute.

rancher/rancher#24057
2019-11-14 10:55:44 -07:00
Westly Wright 8c9789f82f
check answers required fields for mc app
rancher/rancher#24057
2019-11-12 16:25:14 -07:00
Westly Wright da782cacc0
Expose wait and timeout on mc and regular apps
rancher/rancher#22373
2019-11-04 09:52:55 -07:00
Cody Jackson 53681e397e Prevent App editing from modifying state on cancel
When editing both single and multi-cluster apps if you modified the
Template Version or the Target Projects and then cancelled it the
underlying store was still modified which then reflected those changes
on other pages like the single and multi-Cluster Apps pages.

To change this I cloned and nested the fields into a nested object named
'editable' and updated the primarySource on willSave for the relevant
targets subfield.

rancher/rancher#21228
2019-10-31 10:03:36 -07:00
Cody Jackson 1fb9b5274a Enable '.' in answer variables
This enables '.' to be a valid character in answer varaibles.
So we can support sub.key as a key now.

This also resolves a double render issue that was ran into while
reproducing this issue.

rancher/rancher#23379
2019-10-17 13:04:14 -07:00
Cody Jackson 6718c4886e Addressing a number of ember deprecations
- Moved from Ember.$() to importing jquery.
- Moved from fn().on() to on(fn())
- Moved from fn().observes() to observer(fn())

This got /g/clusters from 27 warnings to 5 warnings for me.
2019-10-03 10:53:36 -07:00
Cody Jackson 65f0fc3c5b Use current template version for app upgrades
When upgrading a multi-cluster-application the template version was set
to the default version instead of the apps current version.

When a current version is present we now use it before using the
default.

rancher/rancher#23101
2019-09-26 12:18:26 -07:00
loganhz 3881f5809a Do not pass hiden fields in catalog answers
https://github.com/rancher/rancher/issues/22265
2019-08-21 09:58:47 +08:00
loganhz e8bc206f03 Able to supply no target projects on app upgrade
https://github.com/rancher/rancher/issues/22130
2019-08-14 12:24:25 +08:00
Vincent Fiduccia 04d48c72a4
Merge pull request #3227 from loganhz/cc-error
Multi cluster app upgrade issue
2019-08-12 11:32:27 -07:00
loganhz ac0feb8600 Multi cluster app upgrade issue
https://github.com/rancher/rancher/issues/21801
2019-08-12 19:19:10 +08:00
loganhz 2575bdf5bc Fix launch multi-cluster apps issue
https://github.com/rancher/rancher/issues/20871
2019-08-12 17:42:40 +08:00
loganhz 089d4aaef9 Fallback to latest version if default not exists
https://github.com/rancher/rancher/issues/21008
2019-07-22 08:03:28 +08:00
Westly Wright 2385bdd979
fix null error on members
rancher/rancher#21442
2019-07-19 12:48:53 -07:00
Westly Wright cf8b909d39
Add missing actions to form-members-global-access
rancher/rancher#19676
2019-04-17 11:40:38 -07:00
loganhz 9af7b24edc Fix MCA view answer yaml issue
https://github.com/rancher/rancher/issues/18196
2019-04-15 16:19:52 +08:00
Westly Wright 46e96c801a
Fix send action deprecations
send action deprecation warnings for form-key-value component

update all cancel actions

deprecations for ns quota component and action menu item

deprecations and formatting

sendAction deprecation form-node-selctor & formatting

sendAction deprecations for cru-persistent-volume & formatting

sendAction deprecations for form-scoped-roles & formatting

sendAction deprecations for telemetry-opt & formatting

sendAction deprecations for table-rows & formatting

sendAction deprecations for server-url & formatting

sendAction deprecations for cru-config-map & formatting

sendAction deprecations for workload-row & formatting

sendAction deprecations for cru-volume & formatting

sendAction deprecations for cru-persistent-volume-claim & formatting

fix issue with declaring dynmic keys on component.

sendAction deprecations for form-healthcheck & formatting

sendAction deprecations for node-selector-row & formatting

sendAction deprecations for new-edit-ingress & formatting

sendAction deprecations for form-node-affinity & formatting

sendAction deprecations for form-key-to-path & formatting

sendAction deprecations for new-catalog & formatting

sendAction deprecations for cru-storage-class & formatting

sendAction deprecations for project-resource-quota & formatting

sendAction deprecations for input-files & formatting

sendAction deprecations for node-row & formatting

sendAction deprecations for input-command & formatting

sendAction deprecations for form-ports

sendAction deprecations for new-edit & formatting

sendAction deprecations for form-image

sendAction deprecations for form-volume-row & formatting

sendAction deprecations for form-volumes & formatting

sendAction deprecations for form-scale & formatting

sendAction deprecations for container-logs & formatting

sendAction deprecations for cru-volume-claim-template

sendAction deprecations for pod-row & formatting

sendAction deprecations for source-custom-log-path & formatting

sendAction deprecations for step mixin & formatting

sendAction deprecations for pipeline-codemirror & formatting

sendAction deprecations for build-step & formatting

sendAction deprecations for build-stage & formatting

sendAction deprecations for pipeline-env-from & formatting

sendAction deprecations for log-view & formatting

sendAction deprecations for bitbucketserver-setting & formatting

sendAction deprecations for bitbucketcloud-setting & formatting

sendAction deprecations for form-recipient-item & formatting

sendAction deprecations for pipeline-selector-row & formatting

sendAction deprecations for policy-row & formatting

sendAction deprecations for other-role-row & formatting

sendAction deprecations for role-rule-row & formatting

sendAction deprecations for new-multi-cluster-app & formatting

sendAction deprecations for driver-digitalocean & formatting

sendAction deprecations for project-alert-row & formatting

sendAction deprecations for form-recipient-item & formatting

sendAction deprecations for cluster-alert-row & formatting

sendAction deprecations for alert-select & formatting

sendAction deprecations for storage-class-provisioner & formatting

sendAction deprecations for cluster-driver mixin

sendAction deprecations for node-driver mixin

sendAction deprecations for view-new-edit mixin

sendAction deprecations for host-registration & formatting

sendAction deprecations for form-labels-annotations & formatting

sendAction deprecations for huawei-user-labels & formatting

sendAction deprecations for form-user-labels & formatting

sendAction deprecations for principal-search & formatting

sendAction deprecations for form-namespace & formatting

sendAction deprecations for input-paste & formatting

sendAction deprecations for catalog-index & formatting

sendAction deprecations for searchable-select & formatting

sendAction deprecations for hover-dropdown & formatting

sendAction deprecations for container-shell & formatting

sendAction deprecations for input-yaml & formatting

sendAction deprecations for input-text-file & formatting

sendAction deprecations for sortable-thead & formatting

sendAction deprecations for form-ingress-rows & formatting

sendAction deprecations for input-password & formatting

sendAction deprecations for input-identity & formatting

sendAction deprecations for form-count & formatting

sendAction deprecations for form-members & formatting

sendAction deprecations for outside-click & formatting

sendAction deprecations for input-slider & formatting

sendAction deprecations for metrics-action & formatting

sendAction deprecations for banner-message & formatting

sendAction deprecations for driver-rke & formatting

sendAction deprecations for driver-import & formatting

sendAction deprecations for form-value-array & formatting

sendAction deprecations for cru-node-pools & formatting

sendAction deprecations for cru-cluster & formatting

sendAction deprecations for logging/new-edit & formatting

sendAction deprecations for login-x components & formatting
2019-03-29 10:58:08 -07:00
Westly Wright c4a47f7944
Refactor GDNS project target logic to reduce complexity
rancher/rancher#18954
2019-03-15 15:51:59 -07:00
Westly Wright 64644dea61
Move mc apps roles access to more prominent location on app create
rancher/rancher#18749
2019-03-11 10:12:47 -07:00
Westly Wright 209b624ac4
update mc app rbac to allow only 2 roles and def to project-member
rancher/rancher#18326
2019-03-04 10:29:34 -07:00
Westly Wright 241abad8ae
Fix errors on MC app launch page
rancher/rancher#18430
2019-02-27 16:46:06 -07:00
Westly Wright 45384b8199
Fix role label on mc app
rancher/rancher#18373
2019-02-25 12:12:24 -07:00
Westly Wright a5ce0a492d
Refactor members global access to make sure all members obj are same
rancher/rancher#18278
2019-02-22 11:08:34 -07:00
Westly Wright bdc2f2d324
Merge pull request #2657 from westlywright/global-dns-rbac
Add Global DNS Provider and Entry RBAC
2019-02-14 17:10:16 -07:00
Westly Wright 3344bcd440
fix the way projects are added and removed that stops saving
rancher/rancher#18130
2019-02-14 17:02:43 -07:00
Westly Wright 935521482d
Add Global DNS Provider and Entry RBAC
rancher/rancher#17976
2019-02-14 15:33:48 -07:00
Westly Wright 11ecc8a185
Merge pull request #2656 from loganhz/yaml
Support valuesYaml for catalog
2019-02-14 08:41:44 -07:00
loganhz 6b00a9d6dd Support valuesYaml for catalog
https://github.com/rancher/rancher/issues/16680
https://github.com/rancher/rancher/issues/17605
2019-02-14 20:52:57 +08:00
Westly Wright 9eddd4bdd8
Multi cluster app RBAC and Actions features
add roles to mc apps
refector mc apps add target into component
add new project target actions for mc apps

rancher/rancher#17853
rancher/rancher#17975
2019-02-13 15:26:04 -07:00
Westly Wright 907d6f0fe2
fix helm chart custom answer overrides 2019-02-06 11:21:33 -07:00
Westly Wright 281df1ea1b
Fix initial answers not loading for helm charts without questions 2019-02-05 16:32:41 -07:00
Westly Wright b9a9813f54
Fix defaults overwriting inputs
rancher/rancher#17820
2019-02-01 17:34:12 -07:00
Westly Wright 03a280a7fc
Fix double render error & missing subquestion answers on mc app upg
ranchr/rancher#16941

Fix double render error & missing subquestion answers on mc app upg

ranchr/rancher#16941
2019-01-31 12:22:15 -07:00
Westly Wright 9f25b23a5d
Add a clearer mc app target error message when no pId
rancher/rancher#17706
2019-01-29 17:23:56 -07:00
Westly Wright 313bceea4c
Fix missing mc app answer overrides and upgrade answer overrides
rancher/rancher#16941
rancher/rancher#17678
2019-01-29 17:05:30 -07:00
Westly Wright b5b6bad5a4
Missing project/cluster indicator broke answer overrides for mc apps
rancher/rancher#16941
2019-01-29 12:22:21 -07:00
Westly Wright 6a6f681679
fix extra target entry being added on cloned and upgrade mc apps
rancher/rancher#17679
2019-01-28 16:19:56 -07:00
Westly Wright 7b7559cf53
Fix issue with a getting display name on project with no cluster 2019-01-23 18:29:21 -07:00
Westly Wright 6a03df02d0
Global DNS & Multi Cluster App Routes and Components
Add Global DNS providers and re-org global dns page

update providers routes and translations

global dns providers add page mock

Hookup Global DNS Provider api

Hookup Global DNS Entry API

Update multi-cluster-app for new api

add targets to multi-cluster-apps creation

Multi cluster app component for list page

launch route upgrade button and clone

clone name

styles and clean up

add multi-cluster targets and projects to gdns

add project ids to dns entries index

address feedback from review
2019-01-21 15:14:58 -07:00