Commit Graph

549 Commits

Author SHA1 Message Date
Neill Somerville ed2663a54b
Merge pull request #3003 from neillsom/neill/2688/apps-marketplace-charts-list-v3
Update Apps Charts to multi select dropdown with checkboxes #2935
2021-05-26 13:55:37 -07:00
Neil MacDougall 256cc40279 Address PR feedback 2021-05-26 20:44:31 +01:00
Neil MacDougall 9a5a277463 Fix feedback followign review 2021-05-26 13:58:45 +01:00
Neil MacDougall b2d81681fd Add missing translations 2021-05-26 09:02:18 +01:00
Richard Cox aada5c79a1
Merge pull request #3064 from richard-cox/oidc-auth-provider
Add Keycloak OIDC provider
2021-05-25 17:55:23 +01:00
Nancy 42296cd8b3
Merge pull request #3068 from mantis-toboggan-md/white-label-color
custom color
2021-05-25 09:06:17 -07:00
Nancy Butler d8114e596c brand page tweaks 2021-05-25 07:59:27 -07:00
Nancy Butler f0a9e9edb1 namespace monitors 2021-05-25 07:25:29 -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
Neil MacDougall 9909ed9c97 Remove fixed mode. Fix IFRAME with page header and footer banners 2021-05-25 10:42:20 +01:00
Neil MacDougall 9b7e0b74fc Tidy ups 2021-05-25 10:42:20 +01:00
Neil MacDougall 4184260203 Fix lint 2021-05-25 10:42:20 +01:00
Neil MacDougall 6b1f967f16 Final page moves following review 2021-05-25 10:42:20 +01:00
Neil MacDougall 8699cc71be Changes to add v1 charts to cluster tools 2021-05-25 10:42:19 +01:00
Neil MacDougall 528811c4d6 WIP project side nav 2021-05-25 10:41:47 +01:00
Neil MacDougall 7808e0341d Add link on Cluster Dashboard to install monitoring 2021-05-25 10:41:46 +01:00
Nancy Butler 82f79009b7 custom color 2021-05-24 10:29:51 -07:00
Neil MacDougall 767f54419c
Merge pull request #3052 from nwmac/cluster-tools-tip
Add Cluster Tools tip to the Cluster Dashboard page
2021-05-24 17:25:46 +01:00
Neil MacDougall 52c25c7074
Merge pull request #3046 from nwmac/branding-tweaks
Branding refinements
2021-05-24 16:43:44 +01:00
Vincent Fiduccia a083312b00
Support showing ui.cattle.io.navlinks in the nav 2021-05-22 01:45:42 -07:00
Nancy Butler 4f1d0285eb clean up dropdown option styles 2021-05-21 11:24:55 -07:00
Neill Somerville 0d98e24cfe minor spacing change 2021-05-21 11:14:27 -07:00
Neill Somerville 9a8ae73928 refactor to use existing vselect cmp and checkbox cmp 2021-05-21 11:14:27 -07:00
Neil MacDougall 8926e6b825 Add Cluster Tools tip to the Cluster Dashboard page 2021-05-21 12:51:14 +01:00
Vincent Fiduccia c3cd7ccdc8
Fix setup flow with old settings api 2021-05-21 02:59:41 -07:00
Neil MacDougall f80378c475 Branding tweaks 2021-05-21 08:38:00 +01:00
Vincent Fiduccia d12079875a
/v3/settings to /v1/management.cattle.io.setting
- /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
2021-05-20 16:48:45 -07:00
Nancy Butler 862e180050 github style, detailed authz message 2021-05-19 13:11:26 -07:00
Nancy Butler 83595ad07d clean up color-variabels mixin, gradient sizzles 2021-05-19 09:10:30 -07:00
Neil MacDougall 9fa224e717 Ideas to tidy up the color palette 2021-05-19 09:10:11 -07:00
Nancy Butler ecb5119f1f ui-banners, ui-pl, ui-issues settings page
style feedback
2021-05-18 08:18:00 -07:00
Richard Cox 6075efa4cd
Merge pull request #3017 from richard-cox/workload-form-fixes
Workloads: Fix two minor form issues
2021-05-18 14:59:06 +01:00
codyrancher 90cc479e90
Merge pull request #2930 from codyrancher/project-migration
Migrating Projects from Ember to Vue
2021-05-17 11:20:35 -07:00
Richard Cox 420f3ce533 Fix two workload form issues
- Fix refresh on load with SSR switched on
- Fix issue where entering text into workload General tab's Command fields lost focus
  - This was interesting to hunt down.
  - Revolved around the change to `container` re-rendering the Tab component due to it's key 'changing'
  - This issue isn't helped by the jumble of workload and container fields in the same context (covered by #2683)
  - Addresses #2723
2021-05-17 19:04:50 +01:00
Cody Jackson 33d6918188 Migrating Projects from Ember to Vue
rancher/dashboard#2500
2021-05-17 08:49:54 -07:00
Richard Cox 78191547fd
Merge pull request #3000 from richard-cox/chart-install-tweaks
Minor tweaks to helm chart install process
2021-05-17 14:22:40 +01:00
Richard Cox 08274b1adc Minor tweaks to install chart process
- update icon and text for slide in 'dock' button
- update command step terminology
- notify user that the custom namespace will be created
2021-05-17 10:47:25 +01:00
Vincent Fiduccia 93a0601c4b
Merge pull request #2997 from richard-cox/metric-poller-mixin
Fix refresh on node detail and list pages with SSR enabled
2021-05-16 13:07:07 -07:00
Nancy Butler 3dcbc33bde actually move routes, receivers, monitors into monitoring nav 2021-05-14 09:01:36 -07:00
Richard Cox 878417b482 Fix refresh on node detail and list pages with SSR enabled
- match fix that had been applied to cluster home page
- move out common Poll code into mixin
- note - in cluster home page poll was being stopped via beforeRouteLeave, whereas others were in beforeDestroy. I've tested this in both modes and it still works ok
- addresses #2984
2021-05-14 11:12:44 +01:00
Richard Cox f6aab19cce Make Commands step optional, triggered from step one 2021-05-14 07:40:29 +01:00
Richard Cox 303f127f1d Tweak step description 2021-05-14 07:40:29 +01:00
Richard Cox a4cb136c5b Don't require users to accept chart warnings before installing 2021-05-14 07:40:29 +01:00
Richard Cox 2982aea0fa Change helm values form/values button group
- also add button group disabled state for individual buttons
2021-05-14 07:40:29 +01:00
Richard Cox c85e9cd917 Add 'dock in window' option to slide in 2021-05-14 07:40:29 +01:00
Richard Cox 752acd160d Address first round of review comments
- removed a multi-level ternaries
- fixed display of charts with long lines of text in code blocks
- correctly pluralised 'warning/s'
- brought chart detail logo size wise inline with chart install wizard
- allow users to upgrade/edit charts with targeted namespaces/names (as opposed to blocking for cluster tools)
- fixed product name
- wizard now has previous/next buttons instead of back/next
2021-05-14 07:40:29 +01:00
Richard Cox b05837c14d Add Helm Chart Install Stepper
- Replaces old edit/install page, which is split out in to Chart Details page and Chart Install page
- Two pages share common mixin
- Updated existing Wizard component for stepper
  - Wizard header greatly updated
  - Step indicator no longer uses query param
2021-05-14 07:40:26 +01:00
Nancy Butler 7dfba34e3f hide brand settings page 2021-05-13 07:54:08 -07:00
Nancy Butler e628d87e2f rm custom brand opt, add dark logo variant support 2021-05-13 07:54:08 -07:00
Nancy Butler 4d32ad7142 suse dark theme stylesheet; 2021-05-13 07:54:08 -07:00
Nancy Butler c35e252d61 start adding support for suse scss file 2021-05-13 07:54:08 -07:00
Nancy Butler 3d56d18b91 fix brandimage 2021-05-13 07:52:45 -07:00
Nancy Butler fc49ee549f suse brand 2021-05-13 07:52:09 -07:00
codyrancher fe62a22bcc
Merge pull request #2682 from codyrancher/extra-metrics
Adding metrics to workloads, pods and nodes
2021-05-12 23:46:09 -07:00
Cody Jackson 5a3a86149a Adding metrics to workloads, pods and nodes
rancher/dashboard#2678
2021-05-12 23:38:31 -07:00
Richard Cox f353773f25 Port Ember Version Modal & Minor Changes
Port the Ember Version Modal
- Previously this was reached via clicking on the version text in the footer, now it's reached via the user menu top right
- This also previously was a modal whereas now it's a page as per other user menu items

Minor Changes
- i10n - User menu text
- Fix - Size of side menu's group menu down arrow now fills menu hover area (no more thin hover colour below down arrow when in dark mode)
- Fix - Cluster Dashboard - Hide metrics Tabbed element if there are no Tabs (no more empty faded square at bottom when no metrics)
- Update support links
  - Home Page - Commercial Support - Link now goes to support page
  - Support Page - Contains links to both rancher support info and contact pages
2021-05-12 12:37:04 +01:00
Neil MacDougall 6835ebed0b Add node templates and cloud credentials 2021-05-05 13:27:59 +01:00
Neil MacDougall 417d34fdb2 Move page route 2021-05-05 11:33:21 +01:00
Neil MacDougall 489bfdd4ef Remove WIP code 2021-05-05 11:33:05 +01:00
Neil MacDougall 063fcfafe9 Refactor for reuse in other places 2021-05-05 11:20:12 +01:00
Neil MacDougall a70506c0e0 Fix lint issues 2021-05-05 11:20:11 +01:00
Neil MacDougall c067b2b1fa Move page route 2021-05-05 11:20:06 +01:00
Neil MacDougall 06501b5459 Remove WIP code 2021-05-05 11:20:06 +01:00
Vincent Fiduccia eccb09bfeb
Try again 2021-05-01 00:50:23 -07:00
Vincent Fiduccia 2d8b669ca6
windowsPathPrefix -> winPathPrefix 2021-04-30 16:22:41 -07:00
Neil MacDougall 2759c34e90
Merge pull request #2865 from nwmac/homepage-tweaks
Cluster Dashboard page tweaks
2021-04-30 11:48:46 +01:00
Neil MacDougall 4dc3028f0d Adding missing import 2021-04-30 10:50:36 +01:00
Neil MacDougall 8f789b3cb8 Use constants for types 2021-04-30 10:49:37 +01:00
Neil MacDougall 404e9ecd7f Remove debug 2021-04-29 11:42:05 +01:00
Neil MacDougall c604392a55 Improvements to Cluster Dashboard page 2021-04-29 11:41:45 +01:00
Neil MacDougall 76420455b3 Add space between name and version info 2021-04-29 08:43:25 +01:00
Vincent Fiduccia 8774fbfc67
Merge pull request #2859 from mantis-toboggan-md/2.6-cluster-dashboard
Fix cluster dashboard for users with restricted access
2021-04-28 16:47:28 -07:00
Vincent Fiduccia 0c0bc2fa75
Hide cluster templates from regular charts list 2021-04-28 13:59:26 -07:00
Nancy Butler 236a65d79f check permission to view nodes/deployments befoer showing summary 2021-04-28 05:37:41 -07:00
Vincent Fiduccia 4df4e0ca36
Merge pull request #2831 from vincent99/capi
Cluster Import
2021-04-27 10:26:26 -07:00
Nancy Butler 538a51ec8a replace gauge component
alerts table
2021-04-27 07:44:01 -07:00
Vincent Fiduccia dd5951469d
Add rke[Windows]PathPrefix global values 2021-04-26 16:39:16 -07:00
Vincent Fiduccia 678d4d3079
Fix fleet landing, there is no chart to install 2021-04-26 16:39:14 -07:00
codyrancher b6d355deb5
Merge pull request #2805 from codyrancher/graph-url-fixes
Updating the grafana urls to match the updated chart urls
2021-04-22 09:48:05 -07:00
Cody Jackson 77048ebbc8 Updating the grafana urls to match the updated chart urls 2021-04-22 09:37:14 -07:00
Neil MacDougall dff8422e90
Merge pull request #2784 from nwmac/update-home-page
[2.6] Home Page
2021-04-22 11:54:18 +01:00
Vincent Fiduccia 19bcd3127e
Cluster improvements 2021-04-21 17:16:44 -07:00
Vincent Fiduccia 413304f145
Multi-cluster & standalone feature/support 2021-04-21 17:16:43 -07:00
Neil MacDougall bab2724e82 [2.6] Home Page 2021-04-21 12:09:33 +01:00
Cody Jackson 0c3ab4d8f3 Including rke2 for the isRKE check when displaying the etcd metrics
This was just changed as part of a merge to not search for the rke prefix. This corrects the behavior.

rancher/dashboard#2759
2021-04-20 15:30:29 -07:00
Vincent Fiduccia 63a73620e7
Credential updates, use cattleauth header 2021-04-20 09:18:10 -07:00
Vincent Fiduccia 12bc84751f
Manage cloud creds, move drivers to top-level 2021-04-20 09:14:33 -07:00
Vincent Fiduccia 9d6ba04fe9
Merge pull request #2698 from mantis-toboggan-md/bugfix-auth
[2.6] Auth styling
2021-04-20 09:14:14 -07:00
Vincent Fiduccia 19947f5887
Use isExplorer to determine nav instead of selected productId 2021-04-20 02:51:41 -07:00
Vincent Fiduccia 546b63a257
Cluster Tools page 2021-04-20 02:43:08 -07:00
Neil MacDougall 8c44642fb7
WIP: Navigation and other UI changes 2021-04-20 00:49:55 -07:00
Vincent Fiduccia a4019b19f4
Merge pull request #2711 from codyrancher/windows
Making it so we see etcd metrics for rke.window clusters
2021-04-20 00:34:34 -07:00
Vincent Fiduccia c842177a50
Look for only rke1 (rke and rke.windows) explicitly 2021-04-20 00:30:45 -07:00
Cody Jackson 64c5ef3a42 Fixing the grafana link for etcd metrics
etcd metrics had an info box that needed to be accounted for.

https://github.com/rancher/dashboard/issues/2704#issuecomment-822707996
2021-04-19 13:21:57 -07:00
Cody Jackson ee169c9da3 Showing the Edit as Yaml button for all chart install tabs
rancher/dashboard#2702
2021-04-16 12:10:56 -07:00
Cody Jackson b2f555325b Making it so we see etcd metrics for rke.window clusters
https://github.com/rancher/dashboard/issues/812#issuecomment-821351218
2021-04-16 10:54:10 -07:00
Cody Jackson c9c7d16e2f Updating the order of chart versions on the install page
rancher/dashboard#2696
2021-04-14 15:08:14 -07:00
codyrancher 1e6c2af2d5
Merge pull request #2638 from codyrancher/dashboard-metrics
Adding grafana graphs to the explorer index
2021-04-14 13:19:34 -07:00
Nancy Butler a33b51dc3a auth styling 2021-04-14 13:19:03 -07:00
Cody Jackson 5ff458f22e Adding grafana graphs to the explorer index 2021-04-14 12:19:21 -07:00
codyrancher 3075355f56
Merge pull request #2677 from richard-cox/role-fixes
Users & Auth: Roles Fixes
2021-04-14 12:06:57 -07:00
Vincent Fiduccia 05d3615fa1
Filter prereleases from charts page too 2021-04-14 11:07:28 -07:00
Nancy Butler 523832078e
move show/hide prerelease to prefs page
use semver prerelease
2021-04-13 14:08:08 -07:00
Nancy Butler ca4b849d3c
user pref to filter pre-release helm charts 2021-04-13 13:29:58 -07:00
Richard Cox 547323c88f Apply better labels to 'default' role table column 2021-04-13 11:47:28 +01:00
Vincent Fiduccia 926eed4add
Merge pull request #2666 from neillsom/neill/#2484/apps-dropdown-menu
adjusted spacing to bring text back into view
2021-04-12 17:50:51 -07:00
Neill Somerville 6f10bed1f0 adjusted spacing to bring text back into view 2021-04-09 16:53:47 -07:00
Richard Cox c2b98c52e5 Display Global/Cluster/Project roles in Auth Product
- Remove spoofed rbac role template type
- Use spoof's base type's management global role and role template types
- Display these types as global, cluster and project tables in auth product
2021-04-08 14:14:19 +01:00
Nancy ea03aa3fc1
Merge pull request #2552 from mantis-toboggan-md/warn-namespace-is-in-project
show warning if app is installing into project
2021-04-06 13:05:49 -07:00
Vincent Fiduccia 085bc8148f
Add button to ignore chart cpu/memory warning (#2565) 2021-04-06 11:41:18 -07:00
Vincent Fiduccia 5a85bd9e86
Add windows.enabled and server url global chart defaults (#2613, #2626) 2021-04-06 11:41:18 -07:00
Nancy Butler 227f8190fb catch ns not defined yet in chart install 2021-04-02 07:06:35 -07:00
Nancy Butler 4df6403709 show warning if app is installing into project 2021-04-02 05:33:36 -07:00
Richard Cox 6be248a6f9 Add disabled state to footer save button & wire in for given roles state
- #2567
- disabled if the user has made no changes OR the selected roles means the user cannot log in
2021-03-29 15:35:06 +01:00
Richard Cox ace0bc47b9 Ensure user cannot unassign in assign page, improve visuals 2021-03-29 15:32:09 +01:00
Richard Cox cadc872344
Merge pull request #2517 from richard-cox/fix-users
Fix User type and Settings Product when user is non-admin in non-local cluster
2021-03-18 12:15:04 +00:00
Vincent Fiduccia 32c24bf5c0
Better driver picker 2021-03-17 23:02:50 -07:00
Richard Cox dd4fcc4611 Fix settings/feature flag given missing schemas 2021-03-11 15:38:27 +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
Vincent Fiduccia 8adcafc7bb
Support standalone steve 2021-03-02 15:44:24 -07:00
Vincent Fiduccia e2af7fb72a
Only check app resource requirements on install, not upgrade 2021-02-25 14:48:28 -07:00
Richard Cox e768c4a936 Changes following review 2021-02-24 15:45:54 +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
Vincent Fiduccia 920fd361f6
Support requests-cpu & memory chart annotations (#1849) 2021-02-19 17:39:56 -07:00
Richard Cox 5071b7f86d
Merge pull request #2337 from richard-cox/auth-provider-click
Prevent Auth Provider side-nav navigation if it's a no-op
2021-02-19 15:32:41 +00:00
Richard Cox 1fd6ed02d5
Merge pull request #2300 from nwmac/global-settings
Add support for Global settings and Feature Flags
2021-02-19 14:16:12 +00:00
Richard Cox f95f6a5ab4 Move auth helper fn into utils/auth 2021-02-19 11:41:36 +00:00
Lauren Harden ff41fadb17
Merge pull request #2267 from lvuch/lh-refinement
continued refinement, buttons and inputs
2021-02-18 11:01:22 -07:00
Richard Cox c4887d1553 Prevent Auth Provider side-nav navigation if it's a no-op
- Addresses #2321
- When there's no auth provider clicking on the Auth Provider side nav menu item takes the user to the list of possible auth providers
- When an auth provider is enabled clicking on the same button redirects the user to the detail of that auth provider
- When already on that detail page clicking again on the auth provider item resulted in the nuxt page loading component to be shown and never be removed
- Now we prevent navigation away from this page if we're going back to the same place
- Note - I've tried a number of different ways of fixing this in the root auth/config page without joy (using a page guard directly within `middleware` and also more traditional guards with beforeResolve and beforeRouteEnter). Although more code this does work and visually clicking the menu item looks the same as on any other page.
2021-02-17 14:42:49 +00:00
Nancy Butler 034a3754d2 fix edit oauth config 2021-02-12 10:08:01 -07:00
Neil MacDougall 2293e523f2 Merge remote-tracking branch 'upstream/master' into global-settings 2021-02-11 15:01:21 +00:00
lvuch 11eaccda6b size on async consistency 2021-02-10 14:39:48 -07:00
lvuch 7aa75f0cae async btn size on charts 2021-02-10 14:39:48 -07:00
lvuch 0143e1d213 workspace switcher 2021-02-10 14:39:48 -07:00
Vincent Fiduccia f171e5de3b
Merge pull request #2305 from mantis-toboggan-md/auth
various auth bugs
2021-02-09 09:06:24 -08:00
Nancy Butler 7a986578b2 do not logout/redirect on auth failure with 401
auth cleanup, edit config btn

hide entityid for okta
2021-02-09 09:06:15 -07:00
Neil MacDougall 15321fca7a Merge remote-tracking branch 'upstream/master' into global-settings 2021-02-09 10:26:31 +00:00
Neil MacDougall a3b89fc981 Merge remote-tracking branch 'upstream/master' into global-settings 2021-02-08 20:04:08 +00:00
Neil MacDougall ab67d3df27 Add Global Settings and Feature Flags 2021-02-08 20:01:27 +00:00
Richard Cox 57b16e42fe Add Users & Auth / Groups page, assign Global Roles to Groups
- Add groups page with table to the auth product
- Allow user to assign roles to groups previously without roles or edit
  groups with existing roles

Comments
- I haven't added any special ux for the case where there's no auth
  provider and therefore no groups
- ./components/GlobalRoleBindings.vue will be updated when the same
  component is used for assign global roles to a user principal
- ./components/GlobalRoleBindings.vue ln 139 Couldn't create a binding
  without the generateName metadata property. Have given this a
  `ui-` prefix. Is this correct?
- In order to determine which global roles are bound to each principal
  (so we can filter by principals that have them).. we go out and fetch
  ALL role bindings. Is this too costly?
- On the groups page the 'refresh' button is quite big, we should
  consider reducing this
2021-02-04 09:16:52 +00:00
Nancy Butler 504d053bec fix scan create, add remediation to scan detail 2021-02-03 09:22:45 -07:00
lvuch cd5513fc8f logo tweak 2021-01-28 15:00:22 -07:00
Nancy Butler e4ff7c629b jaeger/kiali disabled message 2021-01-19 14:59:08 -07:00
Vincent Fiduccia 7a09df35b7
Something resembling provisioning 2021-01-15 12:59:56 -07:00
Vincent Fiduccia d20719bfb2
Handle upgrade of missing chart version 2021-01-15 12:59:56 -07:00
Vincent Fiduccia 1ba74f254c
Merge pull request #2202 from lvuch/lh-0112
header overflow and positioning
2021-01-15 12:48:00 -07:00
lvuch 50f41b082a 2183 2021-01-13 14:16:26 -07:00
Westly Wright 6fd19cb587
PR feedback
adds poller to alertmanager events
removes unused param
move Monitoring index fetch deps to data/loading
2021-01-11 10:46:01 -07:00
Westly Wright 275cae6890
Expose active alerts on monitoring overview page 2021-01-11 09:25:27 -07:00
Westly Wright 534e0a982b
Monitoring UI Polish - Overview & Create Route
rancher/dashboard#1986

update receiver tabs and labeled tooltips

fix styling on receiver responder rows
2021-01-11 09:25:27 -07:00