Commit Graph

774 Commits

Author SHA1 Message Date
Neil MacDougall 29d8f34ba5
Fix for Monitoring Helm chart sometimes adds empty selector (#10085)
* Fix for Monitoring Helm chart sometimes adds empty selector

* Correct close icon styling

* Tweak close icon width

* Fix lint issues
2023-12-14 13:23:25 +00:00
Neil MacDougall 83550bd0ca
Yaml Editor: Auto-fold section in RKE2 cluster config (#10108) 2023-12-14 13:22:44 +00:00
Alexandre Alves 6637583874
remove "process." mentions from Dashboard and adjust code (#10119)
* remove process.client and process.server mentions and adjust code

* fix a couple of missing conditions for process.server

* remove commented line

* remove process.static

* fix lint errors

* uncomment code

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-12-13 08:41:26 +00:00
Richard Cox c9b2f79053
Merge pull request #10024 from richard-cox/cluster-cert-view
Add certificates view to cluster dashboard
2023-12-12 11:57:20 +00:00
Giuseppe Leo cb6f806274
Correct issue with TS after tsconfig split with unit tests (#9686)
* Correct file test naming

* Correct test files import and names

* Restructure TS configuration with shared path

* Copied TS configuration for shell due current architecture state
2023-12-12 11:35:38 +01:00
Alexandre Alves 77d455041e
Wrong rendering of Markdown files (#9956)
* remove dompurify from markdown component + add missing html tags to allowed tags in v-clean-html

* fix lint error

* added styles for tables and blockquote based on github

* cleanup console.log

* fix missing tags after rebase

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-12-05 11:31:45 +00:00
Evgeniya Vashkevich 25618ad4a0
[INT] Replaced vue-clipboard2 library with clipboard-polyfill (#10072)
* [INT] Replaced vue-clipboard2 library with clipboard-polyfill
2023-11-30 16:31:35 -08:00
Nancy 80762b5d06
Fix gitrepo detail view bundle count (#9867)
* use bundle repoName getter to filter bundles in repo

* fleetsummary unit test
2023-11-27 08:13:48 -08:00
Francesco Torchia c9415d1207
Merge pull request #9924 from ly5156/etcd-translation
fix(EtcdInfoBanner): use commas to separate etcd information
2023-11-24 10:24:38 +01:00
Richard Cox 8271abadac Fixes and improvements
- Fix loop when searching by text
- Move function to fetch certs into fetch
- Add extra safety checks when missing certInfo
- Check sans.array as well as sans for additional domains
2023-11-22 13:27:54 +00:00
Francesco Torchia 2655a24129
Merge pull request #9994 from torchiaf/sure-7048
Link namespaces in mgmt cluster to local cluster
2023-11-17 11:53:42 +01:00
Richard Cox 2931c2e10d
Merge pull request #10040 from richard-cox/fix-route-meta-product
Fix to extension bugs
2023-11-16 16:58:10 +00:00
Alexandre Alves 095d63e844
fix position of adv table option (#10039)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-11-16 09:56:11 +00:00
Richard Cox 73f28fb262 Ensure action header enabled arg used in invoke process matches that of button disabled 2023-11-15 19:12:16 +00:00
Alexandre Alves b752ff5a17
create new manual-refresh action to not confuse with other refresh actions + update translations + remove tooltip from manual refresh btn (#10033)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-11-14 15:19:27 +00:00
LiuYan 97b137268f
fix(FleetStatus): fix reduce of empty array error (#9985) 2023-11-14 15:32:37 +01:00
Richard Cox 732798fe56 One fix, one improvement
- Show a dash for `Expires In` for expired certs
- Cache `certInfo` to avoid multiple calls. The info one's change, and for the other use will always refresh (see dataPreview)
2023-11-13 18:08:58 +00:00
Richard Cox 4e3a282b79 Add certificates view to cluster dashboard
- Add a new tab, next to events, in the cluster dashboard
- Tab shows a list of all secrets of cert type
- List allows users to see which certs are expiring soon, how long they've lived etc
- Tab also shows a notification if certs are expiring or have expired
- Related fixes
  - plumb in option list paging params (so we can show X of Y Certificates in pagination controls)
  - fix usages of from = from || now
  - Count requests to kube steve as steve requests (alongside local steve requests)
2023-11-08 11:52:23 +00:00
Francesco Torchia 6090b7163b
Fix namespace hide check
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-11-03 16:48:38 +01:00
Francesco Torchia 4c2a3ef045
Remove unused imports
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-11-03 10:41:23 +01:00
Francesco Torchia ff74fb2a4f
Remove cluster-specific check from Masthead component; Hide namespace
link based on namespaceLocation from models

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-11-03 10:36:59 +01:00
Neil MacDougall fdb061bfbb
Fix bug with container log formatting (#9967)
* Fix bug with container log formatting

* Fix lint issue
2023-11-03 09:05:32 +00:00
Francesco Torchia b03736d617
Add namespaceLocation to provisioning cluster model
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-11-02 15:25:25 +01:00
Francesco Torchia e80e807940
Link namespaces in mgmt cluster to local cluster
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-11-02 15:25:24 +01:00
richa 5bdb58cb2b
Removd slide numbers from the titles, other small fix (#9999) 2023-11-02 10:43:37 +01:00
Evgeniya Vashkevich 6d4f75afaf
Fixed RKE cluster being shown as Imported (#9868) 2023-11-01 13:02:37 -07:00
Evgeniya Vashkevich 92d810399a
[FEAT] Removed all mentions of Pod Security Policies (#9962) 2023-11-01 11:02:43 -07:00
Alexandre Alves 15dd8956ff
add deprecation notice for restricted-admin role (#9912)
* add deprecation notice for restricted-admin role

* address pr comments

* add banner to edit/detail page for restricted-admin

* revert changes to v-clean directive

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-10-16 11:36:39 +01:00
LiuYan 1ba319c185 fix(EtcdInfoBanner): use commas to separate etcd information 2023-10-16 17:23:02 +08:00
codyrancher 37643eca41
Fix the visibility of errors during helm app installation (#9918)
https://github.com/rancher/dashboard/issues/9917
2023-10-16 09:49:17 +01:00
momesgin 99cb6228de
Merge pull request #9907 from momesgin/9904-fix-iframe-overlap
Fix iframe overlap
2023-10-12 15:16:34 -07:00
Mo Mesgin 08d062f1cb take app bar width into account to fix iframe overlap 2023-10-12 09:59:20 -07:00
Giuseppe Leo ece9a33f2a
Add navigation menu item test (#9879) 2023-10-11 18:26:34 +02:00
richa 0b46d4bbe1
Revert "Annotations display redesign (#9835)" (#9899)
This reverts commit 63d6ffd102.
2023-10-11 16:03:00 +01:00
Giuseppe Leo 50aac73712
Automation: No matching clusters msg fix (#9864)
* Remove conditional chaining in template

* Prevent app to break if no setting available

* Prevent to break if no mgmt cluster

* Prevent sidebar to break if no kube cluster

* Prevent breaking if no product available

* Prevent sort utils to break if no value is provided

* Add markup comments

* Replace getter mapping

* Prevent error if missing label for the inspected cluster

* Add tests for sidebar
2023-10-11 11:03:39 +02:00
Nancy 702c54e96f
check if a user can list apps before trying to fetch the monitoring app (#9826) 2023-10-06 09:13:14 -07:00
richa 63d6ffd102
Annotations display redesign (#9835)
* Added new colors to yaml

* Added tooltip on click

* Clean up code

* Added i18n for text and code clean up

* Fixed typo
2023-10-05 12:21:23 +02:00
Richard Cox c252794509
Merge pull request #9832 from richard-cox/fix-single-product-icon
Fix single product / standalone ui header bottom border
2023-10-05 10:36:07 +01:00
Richard Cox a8900d9b07
Merge pull request #9809 from aalves08/9730-change-workspace-feature-behind-feature-flag
add new feature flag to gate workspace change on fleet clusters
2023-10-05 10:26:25 +01:00
Giuseppe Leo fb9728e293
Cannot paste into textboxes under Advanced section (#9824)
* Remove duplication in Editor story, preventing to be loaded

* Add all ArrayList cases

* Correct percentage typo

* Allow to past single line in array list input; Create related tests

* Add slot cases for ArrayList

* Add values to display disabled add/remove buttons

* Remove focused tests
2023-10-04 16:55:40 +02:00
Richard Cox a2b0423d52 Fix single product / standalone ui header bottom border 2023-10-03 12:10:02 +01:00
Richard Cox fa5367da0e
Merge pull request #9805 from mantis-toboggan-md/bugfix-globalroles-no-displayname
allow saving global roles with no displayName
2023-10-02 09:13:48 +01:00
Richard Cox 8928d8bb1d
Merge pull request #9798 from richard-cox/revert-and-warn-machine-config
Updates to how we handle Machine Configurations on edit of Cluster YAML
2023-10-02 09:11:18 +01:00
Alexandre Alves 60b15ad429 fix bug with mispelled isRke2 + sneaky fix for id error on prov cluster screen when deleting clusters 2023-09-29 17:04:16 +01:00
Richard Cox b433198cad Fix typo, update modal text 2023-09-29 14:21:49 +01:00
Alexandre Alves a68a49730e
fix issue with project resource quotas fields being cleared + add unit tests (#9808)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-09-29 12:54:08 +01:00
Neil MacDougall d46795a8b3
Fix lint issue - remove unused import 2023-09-29 08:54:16 +01:00
Nancy Butler 3b561b2eaa allow saving global roles with no displayName; fix global role edit when no resourceURLs 2023-09-28 16:20:54 -07:00
Richard Cox df9c4be595
Merge pull request #9714 from torchiaf/9665-provissioning-actions-error
Fix 'Scale Down' crash in cluster provisioning details page
2023-09-28 16:06:56 +01:00
Richard Cox 211222c0cf Updates to how we handle Machine Configurations on edit of Cluster YAML
- This change basically reverts https://github.com/rancher/dashboard/pull/9678
  and instead shows a warning
- That PR spawned the issue https://github.com/rancher/dashboard/issues/9724
- That issue created some interest
- Efforts to fix that issue described in https://github.com/rancher/dashboard/issues/9724#issuecomment-1738959640
- For 2.8.0 we're going back to how we were pre-2.8.0 and fix post-2.8.0
2023-09-28 15:07:55 +01:00