Commit Graph

861 Commits

Author SHA1 Message Date
Catherine Luse 3670909b2e No longer see console error - 404 for clusterscan 2022-12-14 10:08:21 -07:00
Catherine Luse 1c975e11d4 RKE1 cluster create/edit forms no longer throw 404s 2022-12-13 18:06:25 -07:00
Neil MacDougall 71b2471b6b Add banners for 2.7 v1 deprecations 2022-10-19 12:42:46 +01:00
Neil MacDougall 4801ca2105 Remove extra border in certificates list 2021-09-06 08:01:44 +01:00
Vincent Fiduccia 72df765e10
Redirect to dashboard once if cookie is not present 2021-08-06 17:42:10 -07:00
Cody Jackson 6564d1349c Inform the user that Logging, CIS Scans, Istio and Pipelines aren't supported in k8s 1.21+
https://github.com/rancher/dashboard/issues/3589
2021-08-04 11:28:18 -07:00
Neil MacDougall 5684520732 More style fixes to address problems from recent update 2021-07-15 09:40:20 +01:00
Westly Wright 572830e3bd
fixes a couple more engine bugs (#4686) 2021-06-30 10:58:46 -07: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 aab3c3f2da
remove landing page settings
rancher/rancher#33147
2021-06-11 11:48:10 -07:00
Neil MacDougall cbb88bee09 Embedding; Hide system project notice when embedded 2021-05-27 09:31:27 +01:00
Neil MacDougall 38fee4d23d Don't show telemetry modal when embedded 2021-05-24 11:39:38 +01:00
Neil MacDougall 4e103c18b6 Improvements and enhancements to support embedding in dashboard UI 2021-05-14 11:53:39 +01:00
Neil MacDougall 0ddcea51ab Add support for Embedding in the Dashboard UI 2021-05-06 09:56:02 +01:00
Westly Wright 059aa1a08f
Merge pull request #4481 from codyrancher/envvar-k3s
Switching over to having the envVars just be keyValues
2021-03-01 18:12:53 -07:00
Cody Jackson c96c4e1828 Switching over to having the envVars just be keyValues
After some discussions we decided to simplify things since all that's actually needed are keyValues.

I made the changes within the existing component instead of switching to keyValue to reduce risk at this stage of the release.

rancher/rancher#31545
2021-03-01 17:56:26 -07:00
Westly Wright 2ab6db46c2
explicitly pass import provider for edit import
rancher/rancher#31547
2021-03-01 17:14:52 -07:00
Cody Jackson a6156fa4ed Fixing several issues with agentEnvVars
- Fixed issues with determining the provider when editing clusters that are still provisioning.
- Fixed empty values causing problems
- Fixed an issue where the default value wasn't getting set properly for configmaps and secrets when selecting the type and nothing else

https://github.com/rancher/rancher/issues/31023#issuecomment-784717552
2021-02-26 02:45:38 -07:00
Cody Jackson ef5afd4007 Adding the agent env vars to rke drivers.
rancher/dashboard#31023
2021-02-23 12:44:52 -07:00
Westly Wright 8a3a6f9760
Add etcdBackup to the list of preloads for RKE cluster
to ensure rotate encryption keys works from a fresh load of the ui at the cluster level

rancher/rancher#30553
2020-12-18 15:12:12 -07:00
Westly Wright b8ae49352b
hide local cluster from header & global clusters list if hide local true
if the new setting hide-local-cluster exists and is true we will hide the local cluster in the UI. this doesnt prevent api access.
additionally if the setting is true and a user attempts to navigate directly to a cluster or project route we will redirect them to the authenticated index route which redirects to global admin.

rancher/rancher#29325
2020-10-22 16:04:31 -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
Westly Wright 1cdc2bf5d8
Merge pull request #4189 from deniseschannon/deprecation
Deprecation Messages and Restore/Backup to Rancher Backups
2020-09-27 10:56:03 -07:00
Westly Wright 9e0856fd85
fix missing scope service so dashboard link works
rancher/rancher#29088
2020-09-26 13:13:10 -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
Vincent Fiduccia 2ed359e694
Fix redirecting to dashboard 2020-08-28 18:15:03 -07:00
Vincent Fiduccia 84c4aa4464
Dashboard bugs 2020-08-28 17:57:54 -07:00
Vincent Fiduccia 46610de6f5
Logging, Monitoring, CIS banners 2020-08-28 17:57:54 -07:00
Vincent Fiduccia aa4799e9ac
More ember vs vue and new in 2.5 stuff 2020-08-27 17:52:07 -07:00
Vincent Fiduccia d7436d4059
Ember<->Vue integration & login 2020-08-26 03:47:59 -07:00
Westly Wright 44ceaedaef
Update cluster model param provider
backend added there own provider param so this just renames the provider to clusterProvider

rancher/rancher#28355
2020-08-14 09:55:27 -07:00
Westly Wright af16527ff9
Exposes edit for RKE2 imported clusters 2020-07-23 10:24:31 -07:00
Westly Wright 3d13864e53
Amazon EKS V2
error handler

wip - dev for aws cloud creds

wip - refactor aws login

wip - kms key

wip - encrypt secrets

wip - private access & vpcs

wip - translations and formatting

wip - more cleanup

remove unneeded code

wip - node groups

add ability to disable value label

fix double import, fix double negative disable add button and expose
addbuttonenabled

clean up public access and node groups

cleanup variable names and default config

eks regions

wip - eks v2 select

differentiate v1/2 amazon eks providers

clean up node groups, translations

unionize top errors

Consolidate aws util statics

WIP - Import/Cloud Creds

tweak cloud cred events for eks driver

WIP new import selector

drop unneeded variables eks import

kms keys cleanup

allow user to enter if the kms keys call fails

firefox styles

drop vpc selection and group subnets by vpcs

import cluster name input if allClusters fails to load from eks

make eks import a bit more dynamic

fix bug in driver eks for default subnet

more imported cleanup

eks v2 edit

eks v2 vendors

remove use cloud creds temp branchs

push current version to version choices if it doesnt exist

eks v2 rename cloudcred param

fix eks v2 versions

clean up for pr
2020-07-22 16:09:14 -07:00
Cody Jackson 9925305f3c Changing the way configMaps get loaded for RunScanModal
The RunScanModal was not getting config map changes after the first
time the modal was opened. The results were getting cached. By creating
a new array each time loadAsyncConfigMap is loaded I can guarentee the
computed properties will get re-evaluated.

I also attempted to watch config maps through the project store but
unfortunately updating the data of the config map doesn't seem to
produce a websocket message. Even if the message was created I
don't think I'd be able to watch the value as I'd have to
watch a sub-object 'config.json' which has a period in it. This causes
problems with watching in ember.

rancher/rancher#26161
2020-03-23 02:09:20 -07:00
Cody Jackson d3c0f5dfe2 Adding yet another condition to the CIS Add Schedule button
This now checks to see if there's and RKE template.
If there is an RKE template and the scheduleScanned is disabled
the button will be disabled unless there's an override available for
the scheduledClusterScan.enabled field.

rancher/rancher#26150
2020-03-21 02:17:28 -07:00
Cody Jackson 30c0a9afa0 Make CIS schedule and alert buttons disabled more in line with run scan button
rancher/rancher#25997
2020-03-17 11:28:25 -07:00
Westly Wright 0d2838b7f7
Merge pull request #3846 from codyrancher/cis-na-nodes
When a test is N/A the nodes will also be N/A
2020-03-16 15:50:55 -07:00
Cody Jackson be3a635e3d When a test is N/A the nodes will also be N/A
rancher/rancher#26067
2020-03-16 14:48:19 -07:00
Cody Jackson c6ae9d07a3 Adding support for CIS error messages
We now support displaying an error message when CIS scan fails to execute
properly.

rancher/rancher#25792
2020-03-16 13:44:04 -07:00
Cody Jackson 56366207ee Various CIS fixes
- Label change for scheduled scans
- Fixed a table rendering bug that occured due to the incorrect value
  of colspan
- Disabled the alert and scheduled scan button on the cis page for
windows clusters
- Fixed an issues where two scans couldnt run at the same time due
  to a profile not being defined for a second run scan modal.

rancher/rancher#26009
rancher/rancher#26021
rancher/rancher#25987
rancher/rancher#25983
2020-03-16 10:36:37 -07:00
Westly Wright bc080e64a0
Merge pull request #3843 from codyrancher/improve-backups-page
Improve the UX of our Snapshots page
2020-03-16 08:59:44 -07:00
Cody Jackson 4c7af6523a Improving the UX of the run scan modal
We are going to add a section beneath the profile selector of the run
scan modal. This section is responsible for informing the user of which
tests will not be run and why.

There will be two subsections Not Applicable and Skipped tests.
Skipped tests will only be shown for permissive profiles since
hardened tests shouldn't skip anything.

rancher/rancher#25961
2020-03-15 23:03:46 -07:00
Cody Jackson 9485a3c4b4 Improve the UX of our Snapshots page
- Added a Snapshot Now button to the top of the table
- Added a Restore Snapshot option to the actions of each row which will
  select the current row when opening the modal

rancher/rancher#25511
2020-03-15 03:22:32 -07:00
Cody Jackson 16f4295442 Make several small tweaks to the CIS UI
- Make table sorting work with scheduled scans
- Make the cis table fit on laptop screen
- Add an appropriate placeholder for the scheduled scans cron field

rancher/rancher#25937
rancher/rancher#25939
2020-03-11 14:50:04 -07:00
Cody Jackson 604e647907 Remove CIS skip button and total number
We're removing the CIS skip button because we decided the current UX
is poort and we don't want to spend a tremendous amount of effort
making a marginally better UX in the short time we have left.

We also removed the 19 of 59 from the main CIS page as the total was
misleading and wasn't actionable.

rancher/rancher#25863
2020-03-10 16:50:18 -07:00
Cody Jackson ebd73129a1 Add profile column to CIS Scans page and modify cron default
rancher/rancher#25890
rancher/rancher#25933
2020-03-10 11:39:23 -07:00
Cody Jackson cb1cf1e991 Make CIS visual tweaks
- Changed Set Alert and Set Schedule to Add Alert and Add Schedule
- Updated all references of Security Scan to CIS Scan
- Updated the CIS action buttons to have spaces on the CIS Scans page

rancher/rancher#25852
2020-03-09 16:19:21 -07:00
Westly Wright 33f8b2d684
Merge pull request #3806 from codyrancher/cis-na
Adding the Not Applicable column to CIS Scans
2020-03-09 10:19:11 -07:00