Commit Graph

2108 Commits

Author SHA1 Message Date
Vincent Fiduccia ee2ea5ae5f
You should be able to click the labels 2021-08-08 02:34:35 -07:00
Vincent Fiduccia b441f9d185
Log out from Ember should log out Vue 2021-08-08 02:34:35 -07:00
Richard Cox 2119bc7505
Merge pull request #3696 from mantis-toboggan-md/bugfix-nav-double-click
[master]fix selecting currently-active nav item
2021-08-07 09:02:31 +01:00
Vincent Fiduccia 7ef6d5da78
applyHooks is optional 2021-08-06 17:49:49 -07:00
Vincent Fiduccia 6a6519ba8e
CloudCredential question type 2021-08-06 17:49:48 -07:00
Nancy Butler 5460cc548a fix selecting currently-active nav item 2021-08-06 06:17:03 -07:00
Vincent Fiduccia 083bb63dbc
generateYaml override hook in CruResource 2021-08-06 02:06:05 -07:00
Vincent Fiduccia f8a2628266
Actually wait for applyHooks before saving 2021-08-06 02:06:05 -07:00
Vincent Fiduccia 96f53674d8
Upgrade jsyaml 2021-08-06 02:06:04 -07:00
Vincent Fiduccia b215e95870
ts lints 2021-08-06 02:06:01 -07:00
Nancy 12fb73db96
Merge pull request #3676 from mantis-toboggan-md/bugfix-nav-product-switch
fix left nav group expansion
2021-08-05 12:48:34 -07:00
Nancy Butler f9bddf5141 compare route fullPath instead of href 2021-08-05 07:34:41 -07:00
Richard Cox 5dff739587 Fix creation of group cluster and project template bindings
- make userPrincipal id/name properties generic in mgnt binding types
  - userPrincipalName becomes principalName
  - principalId comes from this.principalName || this.userPrincipalName || this.groupPrincipalName
- use principal to determine user/group and properties in norman to save
- removed properties in norman save bindings that weren't needed
2021-08-05 14:47:01 +01:00
Cody Jackson 1381306897 Making the default admin show up for default/system projects
Making an exception for cluster/project owners when filtering out system bindings. Also making sure we filter out the default binding when evaluating newBindings since this yielded us adding a second admin to project pages.

https://github.com/rancher/dashboard/issues/3550#issuecomment-891359765
2021-08-04 14:52:14 -07:00
Vincent Fiduccia 53eca88159
Cloud credentials part deux 2021-08-04 01:14:19 -07:00
Vincent Fiduccia c00707244a
Cluster search contains, not startswith 2021-08-04 01:14:19 -07:00
Vincent Fiduccia 890dee421a
Merge pull request #3611 from richard-cox/master-fix-undefined-version
[master] Ensure we don't generically `management/findAll` settings type before logging in
2021-08-03 16:47:07 -07:00
Richard Cox 1dd35870f9 Ensure we don't generically `management/findAll` settings type before logging in
- Partial settings are loaded before logging in via the `_ALL_IF_AUTHED` flag
- Any other attempt to findAll without flag will result in list marked as `haveAll` with the partial set of results
- Any attempt afterwards to findAll would just return the partial list and not refetch
- There were a couple of places this happened pre-log in, resulting in partial list of settings after log in
- This was needed to show version info (and to populate settings page)
2021-08-03 11:32:49 +01:00
Richard Cox f5dffaa143 Fix updates to workload container given changes to command
- Ensure we don't clean out non-command properties from container after saving command (#3379)
- Ensure the container reference isn't broken (fixes change of container image after changing command)
2021-08-02 13:45:39 +01:00
Vincent Fiduccia 3e2830cae8
Fix kubectl login cmd 2021-07-30 03:12:56 -07:00
Vincent Fiduccia 1e86209f28
Additional Kubelet Args 2021-07-30 03:11:02 -07:00
Vincent Fiduccia 9e4cce7c21
Reorganize tabs and options 2021-07-30 03:11:02 -07:00
Vincent Fiduccia 2c9c9102bf
Merge pull request #3566 from vincent99/master
[Master] Bugs
2021-07-29 13:20:17 -07:00
Vincent Fiduccia 5ec2a77dcd
Bootstrap password cleanup, simplify setup 2021-07-29 13:08:51 -07:00
Vincent Fiduccia 9aada67485
Preserve whitespace on opaque secret values 2021-07-29 10:49:57 -07:00
Richard Cox b4159cbb02 Fix memberOfObject 2021-07-27 16:15:34 +01:00
Richard Cox c973148cec Fix linting 2021-07-26 17:48:35 +01:00
Richard Cox de14c5cc91 Add linting, Use ts run time 2021-07-26 14:36:40 +01:00
Richard Cox d5785b3f01 Proove out TS by converting some files
- three components, 1 utils
2021-07-23 16:28:04 +01:00
Nancy bf3e098dfe
Merge pull request #3489 from mantis-toboggan-md/bugfix-projects-list
Project/namespace fixes
2021-07-22 09:12:09 -07:00
Nancy Butler 8560b93590 fix envvar on edit 2021-07-20 08:18:19 -07:00
Nancy Butler d056118d7d use withFallback for fleet summary box labels 2021-07-20 06:42:22 -07:00
Vincent Fiduccia 60455debbf
Call save in the right order so members get added 2021-07-19 01:58:09 -07:00
Vincent Fiduccia 5b01c41633
Fix shell when nodes aren't readable (#3498) 2021-07-19 01:58:09 -07:00
Neil MacDougall a96fac92a0
Merge pull request #3488 from nwmac/resource-not-found
Catch resource not found on ResourceDetail view
2021-07-19 09:56:54 +01:00
Vincent Fiduccia 3972ac96ef
Merge pull request #3348 from WuJun2016/harvester-node-driver
feat: harvester node driver for rke2
2021-07-16 10:22:12 -07:00
Nancy Butler a9c502953c project-ns-list-fixes 2021-07-16 08:20:01 -07:00
Neil MacDougall f9dec8a4cc
Merge pull request #3484 from nwmac/deployment-icon-alignment
Fix minor issue with icon alignment on create page
2021-07-16 13:24:30 +01:00
Neil MacDougall 15e355b7fe
Merge pull request #3481 from nwmac/fix-resource-search
Fix broken resource search
2021-07-16 13:23:53 +01:00
Neil MacDougall 3d53503e93 Catch resource not found on ResourceDetail view 2021-07-16 13:14:39 +01:00
Neil MacDougall e17c444739 Fix minor issue with icon alignemt on create page 2021-07-15 15:32:15 +01:00
Neil MacDougall f05c22edde Fix broken resource search 2021-07-15 14:30:37 +01:00
Neil MacDougall 271a25d4d0 Fix broken YAML diff 2021-07-15 13:58:58 +01:00
Nancy 4986c4f122
Merge pull request #3459 from mantis-toboggan-md/bugfix-namespace-move
fix namespace move-project action
2021-07-14 07:00:59 -07:00
Nancy Butler 284b3e14d1 filter ns move project opts reactively 2021-07-14 05:07:15 -07:00
Richard Cox 56b4133a67 Two tweaks
- Filter out namespaces with no projects instead of including 'undefined' in 'toMove'
- (not related to this PR.. but same area) As per #3469 only show projects from current cluster
2021-07-14 11:16:08 +01:00
Richard Cox 355c6b4f7f
Merge pull request #3440 from richard-cox/blank-local-cluster
Default to a blank cluster when the user does not have access to any
2021-07-14 10:53:39 +01:00
Vincent Fiduccia 10e694fbe9
Send terminal resize on interval to keep connection alive (#33468) 2021-07-13 15:59:50 -07:00
Nancy Butler ea4cdb488a account for moving ns with no project 2021-07-13 12:12:00 -07:00
codyrancher 8760c8da7f
Merge pull request #3448 from codyrancher/cluster-members-is-sytstem
Updating how we check if a cluster/projectRoleTemplateBinding isSystem
2021-07-13 08:50:03 -07:00
Richard Cox f56bf0cfa2 Get PR into mergeable state
- Remove install cluster specific comments, handle in anothe PR
- Revert install cluster via template change, handle in another PR
2021-07-13 15:48:29 +01:00
Nancy 30c183864e
Merge pull request #3425 from mantis-toboggan-md/bugfix-brand
ui branding issues
2021-07-13 07:12:26 -07:00
Neil MacDougall 7a5ac7d3ac
Merge pull request #3445 from nwmac/table-colors
Improve color contrast on table groups in dark mode
2021-07-13 14:06:32 +01:00
Neil MacDougall 9dd301825e
Merge pull request #3444 from neillsom/neill/3354/inconsistent-option-title-and-labels
Inconsistent option title and labels on buttons for node-label and node-taint for node driver
2021-07-13 14:00:20 +01:00
Neil MacDougall 116ce8ba28
Merge pull request #3438 from nwmac/iframe-wm-height
IFrame height should take into account the window manager when shown
2021-07-13 13:46:14 +01:00
Neil MacDougall 1229645961
Merge pull request #3410 from nwmac/single-cluster-install
Improvements to the home page for single cluster install
2021-07-13 13:45:58 +01:00
Neil MacDougall 33bfc15815
Merge pull request #3400 from nwmac/allow-file-reselect
Fix issues with import yaml
2021-07-13 13:45:44 +01:00
Neil MacDougall e4df42958e Fix issue selecting same file after edit 2021-07-13 12:41:06 +01:00
Neil MacDougall 4797fcecda Remove unused props 2021-07-13 12:23:05 +01:00
Neil MacDougall 7400983988
Merge pull request #3395 from nwmac/nav-fix
Fix various side navigation bugs
2021-07-13 12:20:31 +01:00
Cody Jackson 82e94843d8 Updating how we check if a clusterRoleTemplateBinding isSystem
Turns out `authz.management.cattle.io/creator-owner-binding` is more a reflection on the current state of something rather than the origin of something.

rancher/dashboard#3296
2021-07-12 15:04:46 -07:00
Neil MacDougall 0de77534d6 Improve color contrast on table groups in dark mode 2021-07-12 11:30:48 +01:00
Neill Somerville bfb37e7107 added label translations to taint cmp and amazonec2 cmp 2021-07-09 10:33:47 -07:00
Richard Cox 272e32550d Fix first set of issues related to blank cluster 2021-07-09 17:43:57 +01:00
Neill Somerville d06d3af682
Merge pull request #3392 from neillsom/neill/2906/zh-hans-wechat-conditional
Show wechat info if zh-hans locale #2906
2021-07-09 09:30:54 -07:00
Neill Somerville ccfefe9d19 remove unused var and image 2021-07-09 09:25:05 -07:00
Neill Somerville 1b97ae2045
Merge pull request #3369 from neillsom/neill/3184/custom-cluster-form-fields
Form field changes in Cluster Private Registry CSS changes
2021-07-09 09:21:23 -07:00
Neill Somerville 261699b50d css var usage 2021-07-09 09:15:03 -07:00
Richard Cox 4019302243 Default to a blank cluster when the user does not have access to any
- Normally this is the local cluster for admins
- For non-admins (restricted-admins, standard users, etc) who don't have access to the local cluster this causes this causes 403 errors
- So for cases where we don't have a cluster default to a 'blank' one which we don't fetch
- Still need to check places where we assume 'local' cluster, including in routes, where we should use the new blank cluster... and pages/components that assume we have a currentCluster
2021-07-09 15:48:57 +01:00
Neil MacDougall 2b93a9e30e IFrame height should take in account the window manager when shown 2021-07-09 14:38:11 +01:00
wujun 1e39655928 feat: harvester node driver 2021-07-09 17:28:12 +08:00
Neil MacDougall f25820f220 Revert change to updateValue 2021-07-09 08:33:51 +01:00
codyrancher db6146dc3c
Merge pull request #3358 from codyrancher/create-cluster-members
Adding cluster membership to the rke2 pages
2021-07-08 07:26:17 -07:00
Nancy Butler 527a42923e fix community links
support link visibility tweaks
2021-07-08 07:05:59 -07:00
Cody Jackson 578a4b8888 Adding cluster membership to the rke2 pages
rancher/dashboard#3183
2021-07-07 15:59:57 -07:00
codyrancher 1b5f1a7119
Merge pull request #3407 from codyrancher/vsphere-node
Adding the vSphere maching-config
2021-07-07 15:21:15 -07:00
Richard Cox 309ef29dcb
Merge pull request #3351 from westlywright/bug.user.change.password
Add `userMustChangePassword` Handling
2021-07-07 16:16:53 +01:00
Neil MacDougall 1c64028431 Improvements to the home page for single cluster install 2021-07-07 14:38:51 +01:00
Richard Cox 187997fd42
Merge pull request #3391 from bashofmann/link-fleet-resources
Link fleet resources to individual resource detail pages
2021-07-07 09:29:44 +01:00
Cody Jackson 52244cf2dd Adding the vSphere maching-config
Also fixed a bug with the vsphere credentials.

rancher/dashboard#2969
rancher/dashboard#3326
2021-07-06 20:42:28 -07:00
Neil MacDougall b80a74ccaa Fix issues with import yaml 2021-07-06 15:54:38 +01:00
Richard Cox 80d07c7113 Tweaks/Fixes
- Use new newUserSetPassword string
- Removed unused USERNAME query param definition
- Tidied up some boolean logic, removed need for lodash fn
- Fixed issue where if a user didn't reset their password (for example due to page refresh) they were stuck in a loop until session times out
- During these tweaks i broke some of the original logic, so fixed. Some of the changes are just different ways of doing the same thing given changes above

Unrelated to PR but whilst in the area...
- Ensure value of mustChangePassword is correct when editing a user
- Added error handling to step 1 of setup
- Setup password text suggests using random password, so start with that selected
- vertical position won't jiggle on toggling password type
2021-07-06 15:09:34 +01:00
Neil MacDougall 83ccd7206a Fix various side navigation bugs 2021-07-06 14:37:23 +01:00
Neill Somerville ea1448c1fa complete wechat modal, add yaml translations 2021-07-05 23:52:18 -07:00
Neill Somerville 09f72b51d3 Merge branch 'master' of https://github.com/rancher/dashboard into neill/2906/zh-hans-wechat-conditional 2021-07-05 18:03:50 -07:00
Bastian Hofmann 4a33097019 Link fleet resources to individual resource detail pages
Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2021-07-05 18:00:20 +02:00
Bastian Hofmann d5f42cfdee Add missing namespace to related resources list
Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2021-07-05 16:44:25 +02:00
Richard Cox 00969dc39b Warn before uninstall v1 monitoring when installing v2 monitoring
- Use a new generic prompt (displays customisable text and provides action to execute)
- Also fixed an issue where previous button was shown after uninstalling v1
2021-07-02 14:20:17 +01:00
Richard Cox b4861440eb
Merge pull request #3364 from richard-cox/select-chart-version-cluster-template
Add Version step when installing a cluster from a template
2021-07-02 14:18:50 +01:00
Vincent Fiduccia bbefcaf1b6
rm -rf Rio 2021-07-02 02:10:02 -04:00
Richard Cox c75508c8a4 Add Version step when installing a cluster from a template
- Only show if there are multiple versions associated with the chart
- #3285

Also
- Improved generic step 2 text to be more fitting for clusters (instead of apps)
2021-07-01 13:16:22 +01:00
Neill Somerville 4716a731fc Merge branch 'master' of https://github.com/rancher/dashboard into neill/3184/custom-cluster-form-fields 2021-07-01 02:30:55 -07:00
Neill Somerville fdd8308b5b css tweaks to make forms in unison 2021-07-01 02:29:44 -07:00
Neill Somerville 133bec27ef added images, yaml translations 2021-07-01 01:23:40 -07:00
Westly Wright 20648f8382
Merge pull request #3308 from westlywright/enhc.ui.banners
ui-banners enhancements
2021-06-29 13:40:09 -07:00
Richard Cox 8fe34b4778 Changes following review
- Tweak some translations
- Remove used alwaysGroup
- Fix RKE1 scale pool & reactivity
- Show management pool table if rke2 or have machines
- Show node pool table if not management pool and have nodes
- Cleaned up `roles()` function (and made common fn)
- Converted some 'clusterId' property names to 'mgmtClusterId'
2021-06-29 14:11:36 +01:00
Westly Wright 30b10d71d4
Update fixed banner to handle new banner struct 2021-06-28 13:39:31 -07:00
Richard Cox ec2e1c6ca4 Update Cluster Manager Node/Machine Lists
- Add a Node list grouped by Node Pools
  - Both Node/Node Pools are of type 'management'
  - For pools...
    - Show node count next to pool label
    - Show description of pool underneath pool label
    - Show convenience scale down/up buttons (normally scale by cluster config)
    - Show node pool action menu
  - For nodes
    - Link to kube node
    - Show node role/s
- Update Machine/Machine Pool List
  - For pools
    - Like Node Pools add a description of machine pool underneath label
    - Like Node Pools Show convienience scale down/up buttons (normally scale by cluster config)
  - For machines
    - Like Nodes link to kube node
    - Like Nodes show node machine role/s
- Add resource descriptions (shown on lists) for machine, machine deployment and machine set
- Addresses #3291
  - Includes #3016, #493
2021-06-28 15:40:25 +01:00
Richard Cox 3f97fcf101
Merge pull request #3293 from richard-cox/beefier-kube-nodes
Add grouping and more info to the explorer kube node list
2021-06-28 13:54:23 +01:00
Neil MacDougall 3f9d35cbd5
Merge pull request #3302 from nwmac/remove-cluster-manager
Remove Cluster Manager
2021-06-28 13:53:16 +01:00