Commit Graph

123 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
Westly Wright b95399afeb
Only show cluster explorer links if the cluster is ready
this prevents the user being sent to a non-existant page

rancher/rancher#29199
2020-09-28 10:18:36 -07:00
Denise Schannon c4ea789f79 Change from info to warning for deprecation banners. Updated istio isnt enabled banner to info to match monitoring. 2020-09-26 11:14:34 -07:00
Westly Wright e1cd8d5e94
Add multi-cluster app and pipeline banner message
rancher/rancher#29179
2020-09-25 17:21:49 -07:00
Westly Wright 1b70fee511
new banners for alerting, notifiers, and istio
rancher/rancher#29088
2020-09-25 16:21:11 -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
n313893254 5f15b7bd48 Fix setting up node alert for memory reservation also sets cpu reservation
https://github.com/rancher/rancher/issues/23308
2019-10-15 15:12:59 +08:00
Westly Wright 94301e5fd4
Merge pull request #3411 from codyrancher/deprecation
Addressing a number of ember deprecations
2019-10-04 13:55:01 -07:00
Westly Wright 15dc7ce56f
Fix routing issues post ember upgrade
It seems the previous way that the cluster id and project id was fetched from
various addons (alerts and istio) does not work in ember 3.12. After some
investigation it wasn't the corret way to grab those parameters anyway. I've
changed the routes to use the scope service which has the current cluster and
project (if in one) rather than fetch the query params off a parent route
outside the engine.
2019-10-03 15:36:38 -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 ea695b4a4c
Merge pull request #3398 from n313893254/22742
[2.3.1][Alerting] Change no-data message to text-muted
2019-10-02 13:52:02 -07:00
Westly Wright d145445d25
Upgrade ember-intl to latest version
remove prototype extension

Remove translations from engines

The motivation behind this change stems from this issue ember-intl issues/797
and the current implmentation of engine support in ember-intl. The translations
essentially get bundled twice. Until ember-intl removes the second bundle it
makes sense to keep the translations in the main ui file.
2019-10-02 13:46:37 -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
xiaolu hong b5cadafcb7 update zh-hans 2019-08-22 01:24:17 +08:00
XiaoluHong f426e93ea7 update zh-hans 2019-08-17 22:28:37 +08:00
Vincent Fiduccia 61e79e9e4e
Merge pull request #3263 from n313893254/22210
Fix threshold is reset when edit alert rule
2019-08-16 13:47:33 -07: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
Tani Fiduccia d3acfc8b3e change empty table text to be more consistent 2019-08-15 17:10:57 -07: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
n313893254 141f3f53e9 Fix typo
8d29baf107 (commitcomment-34568952)
2019-08-05 17:31:18 +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 3d4ad20bdb Fix remove alert rule issue
https://github.com/rancher/rancher/issues/19599
2019-04-28 13:05:21 +08:00
loganhz 9551e81cbc Fix findAll filter issue in alerting and logging
https://github.com/rancher/rancher/issues/19599
2019-04-26 16:28:24 +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
XiaoluHong 71e4350fde
update zh-hans 2019-03-25 15:25:37 -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
XiaoluHong 78716010d8 update zh-hans 2019-03-02 20:59:20 +08:00
n313893254 0bbe344957 Add isInherited for alert rule
https://github.com/rancher/rancher/issues/17604
2019-02-28 10:46:37 +08:00
XiaoluHong d2cdd18310 update zh-hans 2019-02-22 15:12:51 +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
Westly Wright 9036f85329
Merge pull request #2574 from n313893254/17475
Fix clone cluster alert rule throw an error
2019-01-22 09:43:04 -07:00