Commit Graph

7 Commits

Author SHA1 Message Date
Vincent Fiduccia 4a9bc3d8b2
Show ACE for imported rke2/k3s clusters 2021-11-18 13:39:55 -07:00
Westly Wright 4fc2d9e52c
Update docs base logic for 2.5+
Addeded docsBase to translations that were missing it as well.

rancher/rancher#31860
2021-04-20 14:07:14 -07: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 cd25e2ebd8
check if cluster local auth endpoint from api is string or bool
Tweaking a change made in rancher/ui#3376 to account for both cases. the fix
added would allow the case when deploying from a template but would break for
nontemplate launches when the value would be a bool again. Added a type check to
handle both cases.

The real fix should be changing the types in the `listquestions` api
where the data is being pulled from. The root cause exists there where the type
`boolean` is saved as a string.

rancher/rancher#22972
2019-09-23 16:42:36 -07:00
Cody Jackson b8293d7546 Use template value for localClusterAuthEndpoint
When creating a cluster using a template localClusterAuthEndpoint was not
using the value provided by the template.  The component assumed that
localClusterAuthEndpoint was a boolean when it was in fact a string that
represented a boolean. To resolve this a string comparison needed to
be made.

rancher/rancher#22972
2019-09-20 14:59:56 -07:00
Westly Wright 2a66489f83
New cluster launch page
Refactor and decouple launch cluster

adds new routes for selecting cluster, selecting cluter template, and launching
cluster

Add first version of cluster template selection logic

WIP - First version of cluter-template resource pages & components

cluster template index

adds cru-cluster-template

save cluster template and cluster template revision

refactor rke cluster driver and add rke cluster driver to clust temp

add cluster template revision page

template revision changes

more questions

refactor cluster networking into component

cluster template questions components

first itteration of working add question

fixups for ct and ctr's

general fixes

quick revision select on new revision page

Move name, expose ctr name, move ctr source

Refactor ct/ctr table to use grouped form

share member added

single template no revisions rows

translations

translation changes

css toggle

css toggle on all elements

inline override

initial apply cluster template

initial show or lock when applying a cluster template

validation bug

first run at windows support overrides

abstract check override with component that yields

add check for override to most sections

bulk remove cluster template revision

more check override

handle errors better for ctrs

translations

bugs

add toggle to azure cloud provider

auth endpoint fix

computed override check and refactor

fixup question override inputs

remove cluster launch route

review fixups

cluster edit

fixup alias properties for overrides
2019-07-08 14:45:44 -07:00
Westly Wright 7370401da2
Add authorized cluster endpoint to rke clusters
rancher/rancher#16486

default auth endpoint to true for NEW clusters

Add clusterId to token creation

add scope to api keys table
refactor modal-edit-apikey
2019-01-22 16:28:18 -07:00