Functional
- Attempt to load resource model file with store prefix ('cluster/node') before attempting just type ('node). Fixes kube / norman node clash
UI
- Fixed node list group/ungroup button label
- Fixed node list group label
- Fixed bottom border of row without taints
- Add POD stat to kube nodes table
- Group kube nodes by management node pools, describe pools as per old norman node pools
- Add Drain Node
- Add ability to hide table columns depending on window width
- hide certain stats at certain widths
- Fixed an issue where RAM & CPU stats were reported strangely (multiplied over an above normal % only to be reduced to working % in formatter)
- 1st call to v3/principals?action=search --> rancher/loadMulti - new principals for store, new proxy objects
- 2nd call to v3/principals?action=search --> rancher/loadMulti - existing principals in store, load updates object by deleting all existing props (like _name) and applying new (that didn't contain _name)
- for resources in error or transitioning states show the associated message underneath the row
- message is placed as default content in list's sub-row (currently only used for cis reports)
- also allow override of resource state object used to determine resource state and state message
- only used in provisioning cluster to swap state with management cluster if not rke2
- this will be reverted once backend correctly syncs state of legacy/rke1 clusters correctly
Also fixed indentation of unconnected clusters in side nav
- Much of the grunt work is generic OIDC
Also fixed
- store's principalId was not updated after user enables any auth provider
- Colour of InfoBox title in dark mode
- Issue where some kind of errors when enabling provider were shown as an empty box (exceptionToErrorsArray is now used, which also uses a better catch all stringify)
- An issue where enabling and disabling a provider in the same visit meant lost defaults
- An issue where Auth / Groups would not display (async part had been removed)
- Resource instance validation would show all fields as invalid once one field had failed
- /v3 doesn't exist if multi-cluster-management is disabled
- Use /v1/management.cattle.io.settings everywhere instead of /v3
- It now returns the public set of settings if retrieve with no auth, so
the store needs to remember that even though we loaded "all" of them
that wasn't really ALL of them so that the full list gets loaded after
auth.
- Use new x-api-cattle-auth header to determine authentication state if present
- Use SETTINGS.* constants consistently
- `brand` -> `ui-brand` for consistency
- `eula-accepted=true` -> `eula-agreed=<timestamp>` to match Ember
- If this is enabled when user is created user should be prompted to change password
- Fix is to switch from Steve user create to Norman user create
- #2524
- Also fixes issue where description was not saved if there was no custom model
- the api does not allow the signed in user to deactivate/delete themselves
- ensure that we don't show these options by checking user isn't the signed in one
- ideally this should be done via the api by removing the 'remove' link for the signed in user
- when deleting multiple resources, and confirm enabled, prompt for a random resource name for confirmation
- random resource name will always be visible, for the case where there are more than 5 to delete
- Improved process to declare which resource requires confirmation
- i10n'd some text