Commit Graph

142 Commits

Author SHA1 Message Date
Vincent Fiduccia 547c653ff6
Login & Logout should go to dashboard 2021-08-08 02:08:18 -07:00
Neil MacDougall 29245b6360 Minor improvements when embedded 2021-05-24 21:10:25 +01:00
Neil MacDougall ea5234290d add back in comments 2021-05-06 11:23:59 +01:00
Neil MacDougall 0ddcea51ab Add support for Embedding in the Dashboard UI 2021-05-06 09:56:02 +01: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
Cody Jackson 712079c846 Updating how we display messaging to unsupported browsers
IE and Legacy Edge never actually displayed the messaging
because ember failed to bootstrap due to a 'define' is undefined
error.

This adds a script to our index.html which controls weather we'll
display the messaging or finish bootstrapping ember.

rancher/rancher#27021
2020-07-01 15:38:09 -07:00
Westly Wright 2509327067
Add new classifier banner component
rancher/rancher#25694

add ui-banners to allowed settings

move banners to settings

refactor names on settings component

update ui-banners translation text
2020-04-21 14:34:24 -07:00
Westly Wright 309e75d712
Use window.location.replace to go back to login after logout
this ensures we have a new token for immediate use if the user wants to log back
in.

rancher/rancher#25714
2020-03-09 10:39:24 -07:00
Cody Jackson 940e0cd668 Add CIS scheduling to rke configuration
We wanted to make CIS scheduling configuration a part of
a cluster's RKE config.

rancher/rancher#25347
2020-03-06 12:15:27 -07:00
Cody Jackson 9c010cd66b Include EdgeHTML based browers to blacklist
We don't support the EdgeHTML browsers just like we don't support
Internet Explorer. I added EdgeHTML to the blacklist so that we will
display the unsupported page.

rancher/rancher#23909
2019-11-07 13:53:23 -07:00
Westly Wright b31279b8ca
start loading the intl lang sooner to ensure loaded b4 first render
because we did not delay the readiness of the application when loading
translations when a user hit `update-setting` route we'd render the page before
the language had finished loading. Moving the language to the before model and
in the finally of the detect phase ensures we have our language loaded before we
remove the loading state and render the main content.

rancher/rancher#23776
2019-10-30 12:14:28 -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
Vincent Fiduccia 1d5dd2dd71
Unused redirect 2019-07-24 11:58:58 -07:00
n313893254 657435625b Remove github service 2019-07-22 15:15:56 +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
Westly Wright c6cf2fb50d
Upgrade Ember to latest stable release
upgrade to 3.5

upgrade to 3.6

upgrade to ember 3.7

upgrades for 3.7

package upgrades

eslint changes

upgrade to 3.8

HanlderInfos deprecation

logger deprecations

shadowed block param deps

route fixes

upgrade engines and add workaround for infinite loop query params

refresh issue

ember-engines/ember-engines number 614

update read me
2019-03-25 13:22:38 -07:00
loganhz b46b1cebb3 Live metrics for cluster/node/workload/pod/container
https://github.com/rancher/rancher/issues/15703
https://github.com/rancher/rancher/issues/15705
2018-12-04 18:50:34 +08:00
Vincent Fiduccia 9d9fc34285
Tiered cluster dropdown 2018-11-15 16:21:37 -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
Westly Wright a4f5ee4f6d
lint 2018-08-15 13:59:38 -07:00
Westly Wright 0a3dc69627
loading-overlay should be removed in `afterRender` queue 2018-08-15 13:50:45 -07: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
Westly Wright 24256cff3d
fixes that prevent 'lint --fix' from running completely 2018-06-29 17:20:46 -07:00
loganhz 27299cb5c5 Preserve worload sub route 2018-06-03 20:29:46 +08:00
loganhz cabb636719 Preserve cluster level route
https://github.com/rancher/rancher/issues/8486
2018-06-03 20:29:46 +08:00
loganhz 806feda069 Preserve project level route
https://github.com/rancher/rancher/issues/8486
2018-06-03 20:29:46 +08:00
Westly Wright 5e6c056864
Upgrade ember -> 3.1
also linting errors
2018-05-09 11:24:36 -07:00
Westly Wright f4ad0eb89a
Replace bs dropdowns with ember-basic-dropdown 2018-05-03 17:19:44 -07:00
Westly Wright a2de4c8247
fix window.opener github auth issue 2018-03-07 12:09:22 -07:00
Westly Wright 9807651edc
ad round 2 2018-02-26 15:30:28 -07:00
Vincent Fiduccia 9103610216
Edit custom/import/rke cluster 2018-02-22 11:45:57 -07:00
Westly Wright 2261795fe2
remove commented out code 2018-02-16 17:08:38 -07:00
Westly Wright 7f52992244
more github auth round 2 2018-02-16 09:42:14 -07:00
Vincent Fiduccia fde2bc32fe
Start supporting authProviders 2018-02-02 20:02:41 -07:00
Vincent Fiduccia c762ca23fb
API Keys 2018-01-22 22:22:11 -07:00
loganhz 8adadc2b38 Reload page after logout
https://github.com/rancher/rancher/issues/11038
2018-01-22 13:46:05 +08:00
Vincent Fiduccia c08b1e7e5d
goToPrevious for global routes 2018-01-20 18:22:41 -07:00
Vincent Fiduccia ebd91fa287
Remove timedout message 2018-01-15 13:14:23 -07:00
Westly Wright ecc846f7a9
Cancle from clusters correctly navigates
rancher/rancher#10809
2018-01-10 12:56:27 -07:00
Westly Wright 95c8989bb0
Move app config to service to consumers 2017-12-20 18:16:22 -07:00
Vincent Fiduccia 6d183b9dca
Login tweaks 2017-12-16 23:53:58 -07:00
Westly Wright a72f3c916f
login logoff working 2017-12-16 21:23:20 -07:00
Westly Wright 2e033d5771
initial rework of cluster add 2017-11-29 13:01:23 -07:00
Vincent Fiduccia dc452846aa
Show pod dots, bugs 2017-11-27 22:12:32 -07:00
Vincent Fiduccia f2386a4ae7
Almost a containers page 2017-11-17 18:08:34 -07:00
Vincent Fiduccia 544c921a48
Load against new APIs 2017-11-17 02:24:08 -07:00
Westly Wright 8b10cb04ff
new modules and imports 2017-11-07 10:14:13 -07:00
Vincent Fiduccia 12ae29afbf
Start reorganizing pages for multiple top-level navs 2017-10-16 10:58:58 -07:00
loganhz 61fa1be4a1 Show third-party access limitations warning for github auth
https://github.com/rancher/rancher/issues/1307
2017-10-16 18:36:53 +08:00