Commit Graph

40 Commits

Author SHA1 Message Date
Westly Wright 0a21492be7
ensure xterm fit is only called after term is in dom
reorder the calls a little
use the component method for fit instead of accessing directly in the initial load
wrap fits in next to ensure the modal is rendered before fiting

rancher/rancher#30402
2021-01-20 10:21:46 -07:00
Westly Wright 73ecfcba8c
Send exit to container on close of container-shell
Rather than add a warning the user needs to exit I've added a send to the socket for `exit\r\n` to disconnect the process before the socket closes

rancher/rancher#16192
2020-10-30 12:21:17 -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 35eb211d8d
update connecting styles for modal shell
rancher/rancher#28569
2020-09-26 09:47:52 -07:00
Westly Wright 37fa8e6ef7
Highlight connection message on kubectl shell
rancher/rancher#28569
2020-09-25 15:02:10 -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
loganhz d8f12a6110 Allow exec shell to not ready container
https://github.com/rancher/rancher/issues/20493
2019-07-22 10:05:56 +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
n313893254 f45ff0d9c7 Update for review 2019-02-22 17:36:59 +08:00
n313893254 74c967aed9 Show API response in embedded kubectl view
https://github.com/rancher/rancher/issues/15246
2019-02-19 17:46:18 +08:00
n313893254 343f648440 Show API response in embedded kubectl view
https://github.com/rancher/rancher/issues/15246
2018-11-16 14:41:28 +08:00
Westly Wright 2f37b2bfb6
xterm font size and auto focus
rancher/rancher#16038
rancher/rancher#16089
rancher/rancher#16114
rancher/rancher#16115
2018-10-12 15:20:16 -07:00
Westly Wright e07a923db4
Removed alias and import xterm correctly
rancher/rancher#16095
2018-10-11 16:37:56 -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
Max Schmitt 68b386c00c fixed resizing issue and readded old options 2018-09-29 12:27:06 +02:00
Max Schmitt 08c13b8234 bump Xterm.js to v3.7 2018-09-27 17:57:51 +02:00
loganhz f64a103a45 Fix shell in new window issue 2018-09-06 12:48:20 +08:00
loganhz 4770457843 Only allow exec to running containers 2018-09-06 12:35:43 +08:00
loganhz 83576d3e90 Support exec and logs to selected container
https://github.com/rancher/rancher/issues/12656
2018-09-03 17:58:18 +08:00
n313893254 64be404fbb Windows support 2018-08-28 17:46:32 +08:00
Vincent Fiduccia 93f922b92d
eslint --fix 2018-07-20 11:47:19 -07:00
Vincent Fiduccia 0686d4840d
Revert part of eslint fix 2018-07-16 17:50:16 -07:00
Westly Wright 877ed1f522
More lint files changes (see lib) 2018-07-11 14:06:27 -07:00
loganhz 20d34c0649 Fix log and shell issue 2018-06-28 11:18:27 +08:00
loganhz 4d44acc569 Fix shell issue 2018-06-17 09:45:52 +08:00
loganhz d4dba464da Fix the issue that shell doesn't support Chinese 2018-06-17 09:19:25 +08:00
loganhz c161796e38 Fix shell issue
https://github.com/rancher/rancher/issues/13958
2018-06-14 00:03:18 +08:00
Westly Wright 5e6c056864
Upgrade ember -> 3.1
also linting errors
2018-05-09 11:24:36 -07:00
Vincent Fiduccia 53f0a07c97
Keyboard, user, nodepool fixes 2018-04-20 19:47:09 -07:00
loganhz 611605fdd3 Support exec to sidekick
https://github.com/rancher/rancher/issues/12454
2018-04-04 17:30:18 +08:00
Vincent Fiduccia 9aa493068f
Shortcut keys 2018-03-29 15:37:38 -07:00
loganhz ce22f37a3f Fix eslint issues 2018-03-23 12:36:24 +08:00
Vincent Fiduccia 1060c2ce41
kubectl shell, maybe 2018-03-22 16:39:36 -07:00
Vincent Fiduccia 7c8ecfc723
concat-str -> concat 2018-03-21 10:58:37 -07:00
Vincent Fiduccia 5d8835218a
Container shell/logs popout 2018-03-02 16:24:32 -07:00
loganhz 3ff90d5250 Use aws base64 lib 2018-02-14 10:05:20 +08:00
loganhz 96da63d3b4 Fix pod shell issue
https://github.com/rancher/rancher/issues/11051
2018-02-14 08:51:00 +08:00
Westly Wright 8b10cb04ff
new modules and imports 2017-11-07 10:14:13 -07:00
Westly Wright 047f6ed077
move mixins 2017-11-06 12:36:52 -07:00
Westly Wright c5b822bfe9
movin on up 2017-11-03 15:54:33 -07:00