Commit Graph

141 Commits

Author SHA1 Message Date
Cody Jackson bbfc4070aa Migrating cluster membership from ember to vue (clusterRoleTemplateBindings)
rancher/dashboard#2501
2021-06-04 04:00:49 -07:00
Cody Jackson 66f0755374 Correcting the workload metrics
- We were using the id which had the namespace as a prefix so I switched to shortId
- The metrics currently only have data for 4 of the types so I'm only showing the tab for those 4

https://github.com/rancher/dashboard/issues/2678#issuecomment-841499076
2021-05-26 13:51:24 -07:00
Richard Cox f5539436d2 Add Keycloak OIDC provider
- 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
2021-05-25 11:15:32 +01:00
Vincent Fiduccia ad2d449449
RKE2 Snapshot list (create/restore API calls TBD) 2021-05-18 12:47:15 -07:00
Vincent Fiduccia c77ba00238
RKE1 Snapshots 2021-05-18 12:47:13 -07:00
Cody Jackson 33d6918188 Migrating Projects from Ember to Vue
rancher/dashboard#2500
2021-05-17 08:49:54 -07:00
Vincent Fiduccia e24da99e20
k9s-style shortkeys 2021-05-06 18:30:44 -07:00
Vincent Fiduccia 294baf0aa2
Machine SSH & Key download 2021-04-29 14:33:09 -07:00
Nancy Butler 9f106198c4 ignore validation for oauth, service acct cred googleoauth 2021-04-26 11:49:42 -07:00
Vincent Fiduccia 19bcd3127e
Cluster improvements 2021-04-21 17:16:44 -07:00
Richard Cox 83492e663d
Merge pull request #2566 from richard-cox/block-delete-self
Ensure current user cannot deactivate or delete themselves
2021-03-19 09:19:57 +00:00
Richard Cox 32c55446cb Ensure current user cannot deactivate or delete themselves
- 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
2021-03-18 18:14:12 +00:00
Richard Cox 1a82410a8e Fix download yaml when multiple resources are selected
- ensure contents of files is correct
- this matches, roughly, what happens in download()
- fallback on previous way just in case
2021-03-18 12:28:05 +00:00
Richard Cox 4807dfa442 Request confirmation of a random resource when deleting multiple resources
- 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
2021-03-09 17:14:33 +00:00
Richard Cox 44af00b5d6
Merge pull request #2298 from richard-cox/user-updates
User - List (actions), Create, Clone, Edit, Details
2021-03-05 09:19:06 +00:00
Neil MacDougall fe29a4ad43 Change label for disabled feature flag 2021-02-25 09:19:58 +00:00
Richard Cox 7d355462df User - List (actions), Create, Clone, Edit, Details
- Update Users list with actions
- Add User create/edit page
- Add User details page
- Brought over user/principal global role validation from ember world
2021-02-24 11:07:02 +00:00
Cody Jackson 5e45a4d00a Resolving several issues around role template
- edit yaml didn't show yaml because a schema wasn't defined
- edit yaml didn't save because the update link wasn't correct
- saving yaml didn't update the models in the stores
- not all input elements were passed the mode when looking at the config view
- the select and array list components had visual issues in view mode (didn't show the values and the buttons didn't line up well)
- cloning failed due to cleanForNew not accounting for the template property

https://github.com/rancher/dashboard/issues/2111#issuecomment-777066167
2021-02-23 15:10:51 -07:00
Nancy Butler e572ac137c auth component issues
fix google save action
2021-02-19 11:43:01 -07:00
Richard Cox b0df45baa9
Merge pull request #2344 from codyrancher/constraint-clone
Enable models to override their cleanForNew method
2021-02-19 11:35:26 +00:00
Cody Jackson 9394ea05a4 Enable models to override their cleanForNew method
Constraints were failing to clone because cleanForNew didn't remove `this.constraint` which casued the save method to attempt to save the existing constraint instead of creating a new constraint.

This enables models to be able to create their own cleanForNew method to remove custom props if necessary.

rancher/dashboard#2341
2021-02-18 12:17:56 -07:00
Nancy Butler e1d5bea8d1 reconcile azuread bad merge 2021-02-11 14:48:19 -07:00
Cody Jackson 1bf3efd295 Implementing AzureAD auth
rancher/dashboard#2117
2021-02-09 11:53:48 -07:00
Nancy Butler c4bdaeb571 fix boolean validation 2021-02-02 18:48:57 -07:00
Nancy Butler 4f92b0218f fix ldap/saml add users and groups 2021-02-02 12:01:42 -07:00
Cody Jackson fe4ca3b01e Adding the RBAC List, Edit and Details pages
rancher/dashboard#2111
2021-02-01 09:44:30 -07:00
Vincent Fiduccia 6934f4e8f1
kubectl apply / Cluster import 2021-01-25 15:34:57 -07:00
Vincent Fiduccia e0240f92ef
Merge pull request #2172 from mantis-toboggan-md/auth
ldap, saml, google auth
2021-01-20 11:27:08 -07:00
Vincent Fiduccia 9819c11e0b
Pick cluster, driver, credential, AWS client 2021-01-15 12:59:54 -07:00
Westly Wright 494c165149
Namespace polish and details page
rancher/dashboard#1784
rancher/dashboard#1870
2021-01-11 11:46:45 -07:00
Nancy Butler 9dfdef991b openldap
saml

linting, button cb errors
2021-01-11 08:46:55 -07:00
Vincent Fiduccia 5304375640
Github auth config, pluggable login component 2020-12-22 14:43:26 -07:00
Nancy Butler 3371e177c6 add viewconfig action 2020-12-21 10:35:43 -07:00
Vincent Fiduccia 119687c842
Fix yaml edit from form 2020-12-10 00:16:39 -07:00
Nancy Butler 9c78612783 fix scan report fetching 2020-12-09 09:10:14 -07:00
Nancy Butler b0c17cb2f3 cis with less permissions 2020-12-08 16:31:49 -07:00
Nancy Butler 455f859c23 re-add lost ! 2020-12-03 16:27:42 -07:00
Nancy Butler 196674a075 allow 0 replicas
clear env var fields when type changed

fix stdin/tty in workload create

no clone job

node/pod affinity re-do
2020-12-03 16:26:56 -07:00
Vincent Fiduccia 604cfccfc1
Remove the rest of resourceDetail asyncData, fetch fixes
- parentOverrides now part of type-map/configureType to set and  type-map/optionsFor to get.
- Remove asyncData from resourceDetail flow
- Rehydrate fetch() data
2020-12-02 03:31:25 -07:00
Vincent Fiduccia 8746ab077c
Form component props standardizing 2020-12-01 01:09:24 -07:00
Vincent Fiduccia 936f54da24
fetch vs asyncData, moreDetails, parentOverride, pod moredetails 2020-11-30 23:28:21 -07:00
Vincent Fiduccia e01e75bf2f
Detail/Config/YAML toggle 2020-11-30 23:16:38 -07:00
Cody Jackson dcad01a17a Moving gatekeeper-constraint to be a spoofedType 2020-11-17 23:14:40 -07:00
n313893254 5217edd49d Update catalog chinese translation 2020-11-13 16:48:37 +08:00
Nancy Butler 2ae4685e3b simple custom validators 2020-10-29 13:44:55 -07:00
Vincent Fiduccia aa0da7758e
Merge pull request #1700 from codyrancher/alert-manager-route
Adding the route alertmanager route type
2020-10-28 15:36:20 -07:00
Vincent Fiduccia 008648b0ae
RelatedResources for Apps 2020-10-28 00:20:30 -07:00
Cody Jackson 0118e0c984 Adding the route alertmanager route type
- Extracted code that could be shared between route and receiver into an alertmanagerconfig util
- Added some more support code to allow users to dynamically add/remove uncreatableTypes

rancher/dashboard#1239
2020-10-27 16:10:01 -07:00
Vincent Fiduccia 114b08b560
Restore target mode on gitrepo edit 2020-10-05 17:33:36 -07:00
Cody Jackson 29aaa185e5 Adding validation to verify atleast one local or global output is selected
rancher/dashboard#
2020-10-02 15:06:05 -07:00