Commit Graph

21 Commits

Author SHA1 Message Date
richa 141d277e71
Added router to rediect github auth (#9262)
* Added router to rediect github auth

* Added env variables for client id

* Fixed broken server Middleware

* Removed e2e changes

* Fixed lint

* Removed code for test

* Clean code
2023-07-14 16:35:51 +02:00
Richard Cox 0245a8cb93 Merge remote-tracking branch 'upstream/master' into epinio/resolve-conflicts-with-master 2023-06-23 18:00:14 +01:00
Giuseppe Leo 01eeb0548f
Add recommended lint rules globally (#8997)
* Update configuration

* Create default config for eslint

* Restore plugin:vue/recommended

* Add exceptions and overrides

* Correct manually remaining issues

* Adding further picked exceptions groupped up

* Fix or disable specific cases manually and singularly

* Add naming linting exception

* Remove unused variable in component

* Move rules to default

* Autocorrect rancher/components linting issues

* Configure VSCode to use multiple files, to display linting for rancher components

* Disable jest lint hook restriction for string list component

* Autofix
2023-06-23 17:02:55 +02:00
Richard Cox 0709d3fbee Fix issue where multiple instances of vue were imported
- caused by yarn link to dashboard
2023-06-21 18:37:09 +01:00
Richard Cox ed9ee99980 Fix failing e2e test
- caused by EXCLUDE_OPERATOR_PKG defaulting to truthy
- which meant no plugins were loaded by the ui
- which meant button to reload ui given changes to plugins was always shown
- when meant extension e2e test that removed plugin immediately used it to reload without waiting for remove to finish
2023-06-09 15:40:06 +01:00
Richard Cox bfa27646aa operator pkgs --> pkg 2023-06-01 18:24:04 +01:00
Richard Cox 8a05df2d31 Merge remote-tracking branch 'upstream/master' into merge-master-2 2023-06-01 17:37:47 +01:00
Richard Cox 859c157962 Two Build Related Tweaks
- Fix chunking for `pages/c/_cluster/settings/DefaultLinksEditor.vue`
- bundle css with pages, instead of as prefetched links in index.html
2023-06-01 14:22:08 +01:00
Richard Cox 1e8c6cb13d remove EXCLUDES_NUXT_PLUGINS, replace with EXCLUDE_OPERATOR_PKGS (to avoid loading operator plugins) 2023-05-26 16:17:28 +01:00
Richard Cox 21e2267bd2 Fixes following merge 2023-05-25 17:00:16 +01:00
Richard Cox 747a36f526 Fix 'What's New' page
- Fixes #8979
- Remove clash of `test: /\.md$/,` entries
- The removed entry might be a copy and paste error. Going back to pre-nuxt removeal the `url-loader` was associated with loading images
  - https://github.com/rancher/dashboard/blob/v2.7.2/shell/nuxt.config.js#L492
  - i'm not sure if we don't need the custom loader now, images do seem to work
2023-05-25 14:12:21 +01:00
Richard Cox 541be75918 Fix router base
- build time env var was not passed through to where it was used in runtime
- resulted in RC builds looking for resources in `/` instead of `/dashboard`
2023-05-25 12:58:52 +01: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
Neil MacDougall c628c5a91d
Remove extension autoLoad functionality (#8700) 2023-04-28 11:27:11 +01:00
Neil MacDougall 45381b0f39
Update vue options to preserve whitespace (#8742)
* Update vue options to preserve whitespace

* Bug fix with tidy-up
2023-04-26 12:33:41 +01:00
Cody Jackson 487cf0d6a4 Migrating all of the files out of the nuxt directory into reasonable places within shell 2023-04-20 11:56:58 +02:00
Neil MacDougall ca5f45ce50
Dev server: Improve ctrl+c handling and suppress proxy setup messages (#8391)
* Add CTRL+C handler and hide proxy messages

* Fix lint issues
2023-04-17 18:33:42 +01:00
Nancy 336f44142e
fix /meta/proxy requests when running locally (#8539) 2023-03-27 15:15:08 -07:00
Neil MacDougall 22920e61f7
Fix router base in production (#8388) 2023-03-09 13:43:16 +00:00
Cody Jackson 724d952e96 Fix proxy so requests like /rancherversion function 2023-03-08 20:51:17 -07:00
Cody Jackson cbf8507bc4 Fixing build errors in drone 2023-03-08 16:02:12 -07:00