Commit Graph

9031 Commits

Author SHA1 Message Date
LiuYan f1e16f5e12 fix missing job/pod resources on CronJobs/Jobs detail page 2023-05-11 15:42:56 +08:00
Phillip Rak 54bb391db1
Merge pull request #8832 from rak-phillip/chore/project-labels
Sanitize project label `v-html`
2023-05-10 11:18:05 -07:00
Phillip Rak f3aaae0acf Allow only `span` in project label
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2023-05-10 08:23:17 -07:00
Francesco Torchia d9fbdb083f
Merge pull request #8272 from torchiaf/fix/5070-6
Remove jquery from dependencies
2023-05-10 12:43:26 +02:00
Francesco Torchia 0ae05b59a9
Merge pull request #8552 from torchiaf/fix/5958
`ConfigMap`, handle chomping
2023-05-10 12:42:58 +02:00
Francesco Torchia f263c4ffbc
Prevent tab characters from ConfigMap's data value fields
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-05-09 21:28:53 +02:00
Francesco Torchia 2fc8da434f
ConfigMaps, add validation to prevent api errors
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-05-09 20:55:28 +02:00
Francesco Torchia 6a7362f5e3
calculate indentation in yaml creation
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-05-09 20:35:25 +02:00
yonasberhe23 1ccb021088
Merge pull request #8819 from yonasberhe23/logout_test
Cypress: Logout test
2023-05-09 11:17:08 -07:00
codyrancher 12d2ed1906
Merge pull request #8796 from codyrancher/favicon
Changing how we serve the favicon
2023-05-09 20:09:59 +02:00
Yonas Berhe 42b7ad7733 moved waitForPage up 2023-05-09 09:44:10 -07:00
Yonas Berhe d290367f77 logout functionality ui test 2023-05-09 09:25:05 -07:00
Phillip Rak 9793b87a31
Merge pull request #8816 from rak-phillip/chore/update-dompurify
Update `dompurify` to 2.4.5
2023-05-09 07:25:40 -07:00
yonasberhe23 84ff30ac5e
Preference page (#8705)
* performance page spec file

* performance page spec file: fixed linting errors

* modified checkbox and radio-group-input files

* added components to support preference page testing

* added class for clusterrepo resource list component

* preferences page objects file

* user menu page objects

* small change to preferences test

* cr updates for button-group functions

* PreferencePagePo inherit from PagePo updates to manage url etc

* update validation for table rows per page test

* accidentally removed line of code

* update validation for Number of clusters to show

* minor lint fixes

* update validation for time format test

* update validation for date format test

* banner class and lint issues fixed

* dropbox po refactor

* button-group  po refactor

* radiobutton po refactor

* checkbox po refactor

* updated comments in test file

* refactor dropdown pref page tests and listed box functionality folded into labeled-select.po

* ReposListPagePo class added and prefpage tests updated

* refactored ClusterManagerListPagePo to take clusterId as argument and updated spec files

* refactor user-menu.po and tests that use it

* update intercept logic to aliasing individual requests

* update data-testid to use kebab case (value has quotes inside selector)

* removed extra validation (causing flakiness)

* added scrollIntoView to checkVisible function

* consolidated files for ReposListPagePo and updated files which use the class

* made updates to pref page spec file: simplified intercept logic, added ckeckVisible, skip login landing page test, etc.

* fixed lint issues and updated intercept function

* fix waitForGoTo function and readded removed code

---------

Co-authored-by: Yonas Berhe <yberhe@Yonass-MacBook-Pro.local>
2023-05-09 06:43:01 -07:00
Phillip Rak c14b3db21f Update `dompurify` to 2.4.5
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2023-05-08 12:41:09 -07:00
Francesco Torchia ac2c9633fd
Merge pull request #8551 from torchiaf/fix/8470-8550
CruResource, make preventSubmit optional
2023-05-08 14:56:36 +02:00
Alexandre Alves a1c3d6e679
minor updates for extensions (#8792)
* docs minor update + add gitignore file to creator npm package

* update gitignore

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-05-08 10:07:53 +01:00
Sorin 5777e105b2
Inactivity Modal (#8775)
* feat: inactivity modal 

---------

Co-authored-by: Richard Cox <richard.cox@suse.com>
2023-05-05 19:33:53 +02:00
codyrancher f6ed581a54 Changing how we serve the favicon
The release version of rancher appears to expect the favicon at the root directory. Dev expected it to be under the public directory. I changed dev to use the root directory as well

https://github.com/rancher/dashboard/issues/8794
2023-05-05 15:35:24 +02:00
Shavindra ff6307ba34
Fix pod clone. (#8733)
* Fix pod clone.
* Fix saving workload name on clone.
2023-05-05 10:22:46 +01:00
Neil MacDougall 68f3ffbcaa
Hostname truncation: Update to sync with backend (#8790)
* Update tio sync with backend

* Added getter

* Fix lint
2023-05-05 10:05:16 +01:00
Kenneth Wimer 9963234619
Merge pull request #8755 from kwwii/initial-blog-posts
Initial blog posts
2023-05-04 16:35:01 +02:00
Shavindra 334bf11476
Fix cluster dashboard pod stats. (#8756)
* Fix cluster dashboard pod stats.
2023-05-04 13:27:55 +01:00
scures 21aa606cd7
chore: fix linter issues 2023-05-04 13:01:15 +02:00
scures c4632e0db3
Merge branch 'master' into initial-blog-posts 2023-05-04 12:39:31 +02:00
Jordon Leach 678e7db7ea
Fix publish script to properly check for gh-pages branch (#8781)
Bump shell version 0.3.7
2023-05-04 10:21:25 +01:00
scures aebfd31f2b
Merge branch 'master' into initial-blog-posts 2023-05-04 11:02:08 +02:00
Neil MacDougall da0d60720d
Auth Provider: Support Okta with LDAP search (#8679)
* Auth Provider: Support Okta with LDAP search

* Minor fixes

* Update UX and add detail of LDAP configuration

* Fix issues when logging out

* Fix i18n key
2023-05-03 10:07:58 +01:00
codyrancher 93ccf6b0fe
Merge pull request #8768 from codyrancher/error-message
Adding a descriptive error message to the serve-pkgs script
2023-05-02 12:46:33 +02:00
codyrancher 48ab5cd81e
Merge pull request #8761 from codyrancher/small-zh-fixes
Making small improvements to the getting started docs
2023-05-02 12:46:21 +02:00
LiuYan 19e3217381
fix(grafana.js):add try-catch block to monitoring version request (#8722) 2023-05-02 11:05:23 +01:00
codyrancher 2723213c44 Adding a descriptive error message to the serve-pkgs script
https://github.com/rancher/dashboard/issues/8744
2023-05-01 19:54:27 +02:00
codyrancher 2d575a7cb3
Merge pull request #8767 from codyrancher/standalone
Adding standalone layout for use with standalone extensions
2023-05-01 16:47:33 +02:00
codyrancher f09cb03733 Adding standalone layout for use with standalone extensions 2023-04-29 21:53:19 +02:00
Richard Cox dc1b5fab59
Merge pull request #8763 from richard-cox/bug-template-update
Add `Rancher UI Extensions` to setup info in github issue bug report template
2023-04-28 17:29:59 +01:00
Richard Cox 8f4fc94ad6 Add `Rancher UI Extensions` to setup info in github issue bug report template 2023-04-28 16:41:04 +01:00
codyrancher 1a6ccebb80 Making small improvements to the getting started docs
- https://rancher.github.io/dashboard/extensions/extensions-getting-started#creating-an-extension Make it clear where to put the options
-  Fix the missing API= in each of the getting started locations
- https://rancher.github.io/dashboard/extensions/extensions-getting-started#running-the-app Link to the docs or explain how to edit the page that reads Default dashboard for myProductName.
- https://rancher.github.io/dashboard/extensions/extensions-getting-started#release-prerequisites It would be nice to link to gh-pages docs or provide screenshots
2023-04-28 17:14:02 +02:00
Giuseppe Leo ec9b74049e
Prevent E2E to fail on lint issues (#8759)
* Remove linter from build process

* Adjust Storybook build command
2023-04-28 15:07:18 +02:00
codyrancher c25c2c4a47
Merge pull request #8745 from codyrancher/types-for-product
Provide the relevant types for the product.ts and update the appropriate docs
2023-04-28 15:06:12 +02:00
codyrancher 55c9497fe9 Provide the relevant types for the product.ts and update the appropriate docs
https://github.com/rancher/dashboard/issues/8744
2023-04-28 14:25:10 +02:00
richa 34c9a42147
Removed hasClass method (#8752)
* Removed hasClass method

* Clean code
2023-04-28 14:02:20 +02:00
LiuYan 92239a2321
fix(BrandImage): remove async fetch method (#8432) 2023-04-28 11:42:39 +01:00
Neil MacDougall c628c5a91d
Remove extension autoLoad functionality (#8700) 2023-04-28 11:27:11 +01:00
Francesco Torchia 98c91ce5a3
improve code comments
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-04-28 09:48:13 +02:00
Francesco Torchia d91e79b5b4
move text area css into CodeMirror component
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-04-28 09:22:08 +02:00
Francesco Torchia b326ee6369
move text-area options to codeMirror component
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-04-28 09:02:48 +02:00
Francesco Torchia f86e303246
rename "cm" for codeMirrors variables
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-04-28 08:57:01 +02:00
Francesco Torchia e2c58c8c61
KeyValue, fix value field indexing
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2023-04-28 08:22:12 +02:00
Kenneth Wimer 91c54aa209 Preparing for initial merge
Removes files that are not ready yet.
Changes to a more marketing title scheme
2023-04-27 16:49:36 +02:00
Giuseppe Leo a62df64080
Increase memory on build (#8751) 2023-04-27 15:24:42 +02:00