Commit Graph

70 Commits

Author SHA1 Message Date
Lauren Harden fce4e2de9f
iframe issues in vue from ember (#4690)
* 3370

* fix

* 33449

* 33450

* 33469

* lint

* spacing in hbs

* manual tidy part 1

* fixes part 2

* Fix reformatting issues

* Fix more formatting changes

* More formatting fixes

* Fix more formatting

* Fix test due to style changes

Co-authored-by: Neil MacDougall <nmacdougall@suse.com>
2021-07-15 09:36:49 +01:00
Lauren Harden 85ad5adb0b
theme changes for vue (#4655)
* theme changes for vue WIP

* banners

* header fixes

* rm blarp

* avatar fix

* table and header fixes

* table fix

* modal

* fix annotation

* right button headers

* accordion

* header color fixes

* banner fix
2021-06-30 09:45:00 -07:00
Westly Wright 5dc0e43b25
Update Ember 3.24
This puts back the fixes from the revert with the exception of ember-concurrency
Something in the internals of this is breaking when we iframe into the vue dashboard.
Reverting this particular change fixes it. Since this was not a required change but a nicety I've decided to revert until I have more time to investigate.
2021-06-21 10:48:45 -07:00
Westly Wright 29103e4f2f
Revert "Ember LTS and Dependency Upgrades" 2021-06-18 12:46:15 -07:00
Westly Wright 1feb2118a7
v3.20.2...v3.21.2
v3.21.2...v3.24.0

update node 10 -> 12 lts

audit updates

hide link-to-external when switching scopes

this action causes the route info to be unavailable to the current route lookup before we transition out of the alert lib
2021-06-17 15:53:11 -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
GGGitBoy bbfe4bd8d1
Add notifiers DingTalk and Microsoft Teams 2020-07-21 13:52:26 -07:00
Cody Jackson 6cb28d6005 Fixing a jquery usage error
When deprecating the old usage of jquery I erroneously
converted this section. The element wasn't being referenced
properly anymore. This fixes an exception which was preventing
the page from rendering monitoring metric options.

rancher/rancher#26829
2020-04-27 13:36:39 -07:00
Cody Jackson 1e5ab0106e Ensure clusterScanRule gets default for all alert sections
The security scan option was only working when creating an alert in
a new group. This was occuring because the default value was not
being created in all the sections expected.

rancher/rancher#25904
2020-03-09 11:57:49 -07:00
Cody Jackson b5ac807e3c Integrated the backend of cis with alerts 2020-03-06 12:20:41 -07:00
Cody Jackson b0feaab5b6 Adding CIS Scan to alerts
rancher/rancher#25349
2020-03-06 12:15:27 -07:00
Cody Jackson 355d592051 Large refectoring of CIS to improve UX
- Added Set Alert button
  - This will set the appropriate options for cis
- Added Set Schedule button
  - This will scroll the settings into view
- Added a modal so profiles can be picked
2020-03-06 12:15:27 -07:00
n313893254 3c649edcde Fix alert rule validatation cannot stop alert group save 2019-10-15 15:13:08 +08: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
n313893254 01845435f2 Change no-data message to text-muted
https://github.com/rancher/rancher/issues/22742
2019-09-29 15:56:38 +08:00
n313893254 3219fe89ed Fix threshold is reset when edit alert rule
https://github.com/rancher/rancher/issues/22210
2019-08-16 14:58:50 +08:00
n313893254 696098e127 Template Lint 2019-08-12 16:12:50 +08:00
n313893254 ba711d4936 Support exist condition for metric alert
https://github.com/rancher/rancher/issues/21790
2019-08-12 16:04:51 +08:00
Westly Wright 4850c52a20
Check left edge of tooltip positioning a bit more carefully
rancher/rancher#17203
2019-05-13 16:43:07 -07:00
Westly Wright 219da2841e
Merge pull request #2948 from loganhz/alerting-du
[2.3]Fix groups without alert issue
2019-05-03 09:28:04 -07:00
loganhz 372a52a181 Fix groups without alert issue
https://github.com/rancher/rancher/issues/19913
2019-05-02 11:17:14 +08:00
loganhz 4884a52841 Make alert group recipients as non-required field
https://github.com/rancher/rancher/issues/18616
2019-05-02 10:45:58 +08:00
loganhz 1dcfaf8119 Show alert group without any rules
rancher/rancher#19599
2019-04-19 17:00:46 +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
loganhz 88533ba599 Fix text issue
https://github.com/rancher/rancher/issues/18702
2019-03-07 16:46:47 -07:00
n313893254 48f1e70061 Alert inherited issue
https://github.com/rancher/rancher/issues/18577
https://github.com/rancher/rancher/issues/18509
2019-03-06 17:12:55 +08:00
n313893254 0bbe344957 Add isInherited for alert rule
https://github.com/rancher/rancher/issues/17604
2019-02-28 10:46:37 +08:00
loganhz b5859e439a Fix btn style issue 2019-02-13 17:31:53 +08:00
n313893254 68aa125efe Unable to remove alert rules from an alert group
https://github.com/rancher/rancher/issues/17448
2019-01-23 17:35:12 +08:00
Westly Wright 970aba4c68
fix input-slider not sliding and elementId after init errors
rancher/rancher#17522
2019-01-22 11:58:29 -07:00
n313893254 cee76c09b2 Update for review 2019-01-22 15:06:02 +08:00
n313893254 c99426f233 Support more alert group config
https://github.com/rancher/rancher/issues/15663
2019-01-18 16:24:41 +08:00
n313893254 a2b5a95750 Alert Group - Slider sync sliding of multiple Alert Rules
https://github.com/rancher/rancher/issues/17353
2019-01-11 20:09:39 +08:00
n313893254 a67f44d8bb Add tooltip of alert name
https://github.com/rancher/rancher/issues/17108
2018-12-16 20:00:51 +08:00
n313893254 12f8cb4783 Edit alert screen for nodes, etcd, events always has "scheduler" selected by default
https://github.com/rancher/rancher/issues/16936
2018-12-07 10:45:54 +08:00
n313893254 f2ef6dc2ea Update for review 2018-12-06 15:27:26 +08:00
n313839254 8d29baf107 Alerting
https://github.com/rancher/rancher/issues/15707
2018-12-06 12:45:31 +08: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 7c95eb19d9
Merge pull request #2272 from n313893254/poi
Configurable notifiers parameters are confusing
2018-09-19 15:02:30 -07:00
Westly Wright 3c2bb64810
Merge pull request #2288 from lvuch/lv-0820
form cluster/project rules
2018-09-18 09:32:57 -07:00
lvuch fb87c07f4a form cluster/project rules 2018-09-18 08:33:06 -07:00
n313893254 912669bc50 Configurable notifiers parameters are confusing
https://github.com/rancher/rancher/issues/15393
2018-09-17 11:55:43 +08:00
loganhz 2842dbe960 Update translations for alter 2018-08-24 13:11:57 +08:00
Westly Wright a34b48bea0
alerts engine fixups for lazy loading 2018-08-15 09:24:40 -07:00
Westly Wright a146ff9214
deps and warnings 2018-08-15 09:24:40 -07:00
loganhz d275fde673 Fix table sort order issue
https://github.com/rancher/rancher/issues/14808
2018-08-02 14:20:58 +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
n313893254 0bcd77ee57 Fix 2018-06-14 10:08:32 +08:00