Commit Graph

98 Commits

Author SHA1 Message Date
Neil MacDougall 670f7d589d Fix lint issue 2022-01-14 15:22:41 +00:00
Neil MacDougall 5c92d787ca Fix issue with constantly reqested catalog image 2022-01-13 19:08:33 +00:00
Westly Wright d3d78e87c8
Upgrade Ember & Dependencies for LTS support >3.12
There are changes required for the ember upgrade but additional changes
for individual libs are also present. Commit has been squashed, see
individual commits if needed.

There are a bunch of HBS changes as well. These are to deal with a
couple new rules and there impact is low. The button one has bitten us a
few time so this seemed great to add IMO.

update ember 3.12.4

ember 3.13

fixes for new eslint rules

ember 3.13->3.14

ember3.14->3.16

ember3.16->3.20

3.20 lint rules

yarn upgrade

update ember-optional-feature

update deps that can go to patch versions

upgrade major versions that are possible

update ansi_up

only reset term var if we're not destroying

prevents new ember 'same computation' error

update async

upgrade dot-object

new-catalog - add set to deal with new warning
marked-down - drop call into next to ensure its called at the correct time

upgrade ember-assign

update ember-cli-clipboard

remove unused & deprecated ember-cli-release

remove unused drag-drop lib

use set on tracked prop

update ember-flatpickr && cli-test-loader

upgrade ember-href-to

update filesaver

update liquid-fire and ipaddr

upgrade jsondiffpatch

upgrade marked

upgrade semver

update xterm

Update ember-basic-dropdown

the library has changed quite a bit and no longer provides an addon for the content-item where we handling the click event to close the dropdown,
thus click events must be added manually to the items being clicked to close the dropdown.

udpate dompurify

fix page header project styles

Bump ember api store, remove npm-run-all

Autofix button types from hbs linting

this change looks large but only adds `type` button to any buttons that dont have a type, which should help to reduce weird side effects

more hbs lint changes for no-negate-condition

turned off a couple rules that could be too much to test right now
2020-10-07 16:52:22 -07:00
Westly Wright aa2188d8ac
pass answers to validation method for catalog apps
rancher/rancher#24084
2019-11-13 15:06:57 -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 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
Westly Wright c50db32ad7
Parse yaml answers from project level app & edit as yaml
The answers preview tab on the catalog launch page for project level apps did
not sync answer changes when editing the answers from the yaml view because the
answers string was not watching nor was it fetching the yaml values for answers

rancher/rancher#20087
2019-10-01 13:44:08 -07:00
Vincent Fiduccia 57912df026
Unused allTemplates 2019-08-01 12:59:00 -07:00
n313893254 2a480cfa98 Add project-istio as graph and metrics parent route 2019-07-23 10:50:20 +08:00
Logan 74bbe0171e Registry and Istio (#3014)
* Add vendors for istio

* Add istio lib

* Add kiali UI vendor

* Expose components in shared lib

* Istio css

* Support kiali graph in Rancher UI

* Show traffic metrics from istio

* Enable istio in cluster level

* Toggle for istio sidecar auto injection

* Support add istio config

* Reuse catalog for istio config

* Support enable global registry in local cluster

* Rename traffic rule

* Not upgrade template version for istio

* Fix istio project level routing issue

* Fix comments

* Bug fix

* Add kiali copyright

* App name is not required in schema

* Use cytoscape dagre from npm

* Bug fix

* Hide traffic rule
2019-06-03 09:44:28 -07:00
loganhz 1aacc20086 Fix non rancher catalog app issue
https://github.com/rancher/rancher/issues/19890
2019-05-04 10:20:12 +08:00
Westly Wright a5474a4b70
Project level catalog answer yaml->form sync
rancher/rancher#19060

add modal confirmation for yaml -> form editing App Q/A's

validate yaml answers

formatting

more formatting

update custom answers component to handle yaml sync
2019-04-30 09:13:35 -07:00
Westly Wright 9bd0980b81
Refactor new catalog to handle requiredNamespace correctly
rancher/rancher#19697
2019-04-22 10:40:03 -07:00
Westly Wright 3316235ee4
Fix app launch double click & no errors
rancher/rancher#19168
rancher/rancher#19236
2019-04-01 10:41:21 -07: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
loganhz fdb7c1b777 Bug fix for catalog yaml
https://github.com/rancher/rancher/issues/13158
2019-02-15 15:33:26 +08:00
loganhz 3930b6f5d5 Fall back to yaml if there is a numeric password in catalog answers
https://github.com/rancher/rancher/issues/13158
2019-02-14 21:43:12 +08: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
loganhz 00959f8341 Support force upgrade for catalog app
https://github.com/rancher/rancher/issues/17510
2019-01-26 13:58:34 +08: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
Westly Wright 4ace4f0411
Flip the lazy loading switch for all engines and remove browserify
loading overlay would stick on login sometimes

first update for auto importer

add required unsafe eval

remove project level xterm loading

ansi up

lazy-load dot-object

lazy load marked

Move logger models out of logging engine, it prevents lazy loading

add auto-importer config to logging

semver & json2yaml

lazy load pretty cron

lazy load shell quote

bug - typo in function name

remove debugger

lint and bugs

add shellquote constant to deal with undef error

Remove async from global and load module properly

add ignore file for silver-searcher

auto-import d3 lib

auto-import Identicon

auto-import jquery growl

update jsondiffpatch and auto-import

Remove unneeded voids

ember-auto-load jszip

pipeline bug

Refactor verify-auth route for lazy engines

auto-import to all engines/addons

auto-import momentjs

auto-import yaml

auto-import file-saver

update globals

bugs

review changes

yarn lock

move bable option back into the right place

bug fixes

decouple dependencies for nodes engine

decouple dependencies for global-admin

decouple dependencies for login engine

decouple dependencies for alerts engine

decouple dependencies for logging engine

decouple dependencies for pipeline engine

Lint sync and fix

review bugs

updates for rebase
2018-10-11 12:03:44 -07:00
loganhz 22bc9a211b Fix catalog issue
https://github.com/rancher/rancher/issues/15252
2018-08-29 07:31:05 +08:00
loganhz 102b0ed9fc Use lower case for name
https://github.com/rancher/rancher/issues/15013
2018-08-23 09:05:28 +08:00
loganhz 11c8bcb437 Support edit yaml for catalog without questions
https://github.com/rancher/rancher/issues/13064
2018-08-20 18:07:25 +08:00
loganhz 3f7782af86 Support custom catalog answer without question defined 2018-08-06 17:27:56 +08:00
Vincent Fiduccia 93f922b92d
eslint --fix 2018-07-20 11:47:19 -07:00
Vincent Fiduccia 54725f2022
eslint --fix 2018-06-29 17:20:46 -07:00
loganhz 3d5ba1e023 Do not create namespace if the required namespace exists.
https://github.com/rancher/rancher/issues/13519
2018-06-20 12:13:27 +08:00
loganhz 7c4406045b Do not create namespace for app to kube-system
https://github.com/rancher/rancher/issues/13519
2018-06-13 15:29:22 +08:00
loganhz 59ae536a7b Imporve for catalog preview decoding
https://github.com/rancher/rancher/issues/13839
2018-06-10 22:27:47 +08:00
loganhz 75d5a4826f Fix catalog answer preview issue
https://github.com/rancher/rancher/issues/13843
2018-06-09 12:06:28 +08:00
loganhz 2ecf71d3bd Fix catalog preview issue
https://github.com/rancher/rancher/issues/13839
2018-06-05 15:15:50 +08:00
loganhz 3c7bcfd9b9 Support requiredNamespace for catalog
https://github.com/rancher/rancher/issues/13519
2018-05-29 20:01:44 +08:00
Westly Wright ddfaf0ed0a
reorg shared components 2018-05-09 11:24:35 -07:00
Westly Wright c5b822bfe9
movin on up 2017-11-03 15:54:33 -07:00
Westly Wright 029a71165f
More updates for 2.16 2017-10-30 09:51:34 -07:00
Westly Wright 6c3f56e3e6
upgrade fixes for 2.16 2017-10-30 09:51:34 -07:00
Westly Wright d61a2ee62b
Add paste/read from file to catalog answers
preview now displays answers in yaml format
rancher/rancher#9771
rancher/rancher#9772
2017-10-16 14:31:51 -07:00
Vincent Fiduccia 2b4befa903 Merge pull request #1372 from westlywright/2.0-alpha
Cluster Systems Stack Edit + Add
2017-09-22 11:26:55 -07:00
Westly Wright 097f0d95f9
Fixes to make launching system stacks actually work 2017-09-21 17:00:39 -07:00
Vincent Fiduccia 381959a77b
Catalog answers, Env dropdown 2017-09-18 23:01:45 -07:00
Westly Wright 9627edbfd5
First itteration of removing system stack from new clusters 2017-09-18 11:55:36 -07:00
Vincent Fiduccia 872162b438
Stuff 2017-08-07 11:55:31 -07:00
Vincent Fiduccia e0819b9193
bugs 2017-05-29 14:13:56 -07:00
Vincent Fiduccia e702f60f82
Balancer 2017-05-18 19:09:26 -07:00
Vincent Fiduccia edb91c1101
Upgrade options, balancer 2017-05-16 01:18:12 -07:00
Westly Wright 426fbdf653
concurrency change 2017-04-13 14:40:27 -07:00
lvuch d63dd27834 class fix 2017-04-12 15:48:46 -07:00
Vincent Fiduccia d6ca79ac4c
tweaks 2017-03-29 17:00:56 -07:00
Vincent Fiduccia 98fa950e91
Use catalog .tpl files if present 2017-03-04 02:41:21 -07:00