Alexandre Alves
bc51a79005
apply some fixes for extensions logic in light of Vue3 migration
2024-09-30 18:11:13 +01:00
Alexandre Alves
eb426680dd
forward-port PRs 11997 and 12018 ( #12046 )
2024-09-30 18:10:36 +01:00
Phillip Rak
1b6e64ed09
Merge pull request #12044 from rak-phillip/bugfix/11898-remove-chart-steps
...
Remove custom chart steps feature
2024-09-26 18:53:47 -07:00
Phillip Rak
4d63a2aaa9
Use `markRaw()` on the dynamic component
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-26 14:23:25 -07:00
Phillip Rak
0d56cf6b2a
Remove custom steps from chart install
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-26 14:22:56 -07:00
Alexandre Alves
76147e00e8
remove v-bind of attrs that was wrongfully propagating an outlet class ( #11949 )
2024-09-25 16:46:32 +01:00
Jordon Leach
31519daa6b
Ensure fetch is not called when navigating backwards ( #11986 )
...
* Ensure fetch is not called when navigating backwards
2024-09-25 11:11:28 -04:00
Richard Cox
929f5f6624
Merge pull request #11919 from richard-cox/fix-arraylist-input-height
...
Fix humongous height of inputs in array list
2024-09-24 12:02:17 +01:00
Nancy
5607114e5d
update all instances of LabeledInput using v-model.number to use v-model:value.number ( #11902 )
...
* update all instances of LabeledInput using v-model.number
* add probe http headers unit test
* add hookoption test
* remove codemirror focus change
2024-09-19 14:46:37 -07:00
Cody Jackson
5052c2a8e8
Enabling `vue/require-explicit-emits` linting rule
...
https://github.com/rancher/dashboard/issues/11961
2024-09-19 09:58:53 -07:00
Phillip Rak
7bbcf9c480
Merge pull request #11916 from rak-phillip/bugfix/11910-empty-content
...
Remove extra `<template>` tags from components
2024-09-17 08:27:18 -07:00
Richard Cox
b5729a2194
Fix humungous height of inputs in array list
2024-09-16 15:18:06 +01:00
Phillip Rak
b8af4da149
Remove extra `<template>` tags from components
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-12 15:19:41 -07:00
Phillip Rak
0e0a980f8b
Replace `useStore` composable with vuex implementation
...
The `useStore` composable was implemented for Vue2 because vuex did not provide anything for the composition api. Now that we have migrated to Vue3, we have `useStore` exposed to us via Vuex.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-09-11 09:21:22 -07:00
Nancy
85c5c28c22
Vue3 fix unit tests ( #11776 )
...
* remove $set from AKS validators
* fix cruGKE not rendering
* fix most aks unit tests
* fix crueks and eks config unit tests
* fix eks networking and nodegroup unit tests
* fix gke unit tests
* fix consumption gauge test
* fix namespacefilter tests
* fix command and taints unit tests
* fix questions unit tests
* fix hpa and service unit tests
* fix registryconfigs unit tests
* fix job unit tests
* fix longhorn unit tests
* fix addextensionsrepos unit tests
* fix rke2 basics unit tests
* fix container shell unit tests
* fix last aks pool test
* fix mount tests
* fix namespace and pv unit tests
* fix codemirror unit tests
* clean up aks, boolean, namespacefilter unit tests
* fix namespacefilter test
* remove redundant test case
2024-09-10 08:07:21 -07:00
Mo Mesgin
de1b543095
fix problematic boolean attributes
2024-09-04 09:47:01 -07:00
Alexandre Alves
e9ef8ce7e9
add missing class outlet to outermost element of the page ( #11750 )
2024-08-29 09:22:34 +01:00
Jordon Leach
3c5e6f8a1c
Remove unnecessary template wrapping extension tabs ( #11704 )
...
Enable tests
Replace "Rancher -" in title check
2024-08-27 08:28:37 -04:00
Cody Jackson
8d59cd5914
Skipping all failing unit tests for the Vue3 merge.
2024-08-22 21:12:40 -07:00
Phillip Rak
a71857ce7d
Unit test updates - partially fixed
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:09:56 -07:00
Phillip Rak
0fb02f5b2d
Unit test updates
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:09:56 -07:00
Cody Jackson
39b5e35ce0
Refactoring tabbed values in chart installation
...
We had this `hasTabs` api which implicitly allowed a chart install override component to implicitly define tabs instead of just having the component define them explicitly.
This required prop drilling to work and it doesn't appear to work any longer with dynamic components. Since this was only used in two places I removed support for this and simplified the implementation.
2024-08-22 16:09:55 -07:00
Cody Jackson
f8029bb51f
Fixing databinding where v-model.trim needed to instead be v-model:value.trim
2024-08-22 16:09:55 -07:00
Cody Jackson
f8c102643b
Fix how we load the values component when installing charts
...
We may want to investigate changing how we resolve this issue. It seems some interface has changed with dynamic importing.
2024-08-22 16:09:55 -07:00
Cody Jackson
54b0404b32
Fixing data binding for chart text filtering
2024-08-22 16:09:55 -07:00
Cody Jackson
b1356af0fe
Fixing a handful of errors around vue3 templates and data binding in banners.vue
2024-08-22 16:09:54 -07:00
Phillip Rak
627952a522
Unit test updates
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:09:54 -07:00
Phillip Rak
97b58ca4f0
Update unit tests
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:09:54 -07:00
Phillip Rak
7874da578f
Fix slot syntax
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:09:54 -07:00
Phillip Rak
987f89f872
Fix remaining modals
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:07:04 -07:00
cnotv
3a3c849b21
Fix all the :key binding issues
2024-08-22 16:07:03 -07:00
cnotv
ff08d80e0e
Lint: Manually fixed issues related to vueApp variable added by the script
2024-08-22 16:07:03 -07:00
cnotv
78d70353c5
Unit test: Migrate unit tests with the script
2024-08-22 16:07:03 -07:00
Cody Jackson
909affa02f
Replacing $emit('input' with $emit('update:value'
...
This should've been done in the migration script and will be fixed for the next run.
2024-08-22 16:07:03 -07:00
Phillip Rak
b4d08bb704
Resolve compiler errors
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-08-22 16:05:36 -07:00
Cody Jackson
9b829c55ea
Ran `yarn lint --fix`
2024-08-22 16:05:36 -07:00
Cody Jackson
d5ce4fff2e
Run the vue3 migration script
...
Commands run:
➤ yarn migrate
➤ git clean -fdx
➤ nvm use 20
➤ yarn
2024-08-22 16:05:36 -07:00
Cody Jackson
7f1536d9cf
Refactoring the plain element <input> data bindings
...
Performing this change so the vue3 migration script can modify all @input, @v-model of components without changing plain elements. This will reduce the number of vue3 compiler errors.
2024-08-22 16:04:52 -07:00
Richard Cox
34ab599a76
Ensure Performance --> Pagination setting only enables post compatible check
2024-08-19 14:50:50 +01:00
codyrancher
dd2aaf18c8
Merge pull request #11409 from codyrancher/rest-of-middleware
...
Remove the rest of middleware and implementation
2024-08-01 14:23:16 -07:00
Cody Jackson
250b9ab0ee
Removing all of middleware merged from my other prs
2024-07-29 14:19:38 -07:00
Phillip Rak
9a8adbccca
Allow any validations to be toggled
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 13:35:35 -07:00
Phillip Rak
b407d367d9
Validate individual durations to allow for disabled inputs
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 13:35:35 -07:00
Phillip Rak
b9bca4f69c
Create a validator for duration format
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:08 -07:00
Phillip Rak
d114448036
Move `Setting` type to `settings.d.ts`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:08 -07:00
Phillip Rak
c63071b812
Conditionally validate user retention cron
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:08 -07:00
Phillip Rak
346b03c1b6
Add `requireDirty` prop to `useLabeledFormElement`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:08 -07:00
Phillip Rak
6f40eb3e71
Refactor validations to reduce duplication
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:07 -07:00
Phillip Rak
6471e14131
Refactor user retention validation as composable
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:07 -07:00
Phillip Rak
b381536a63
Validate the duration against the auth user session ttl
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:07 -07:00
Phillip Rak
703aec9cd3
Validate the duration format
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:07 -07:00
Phillip Rak
8eec93cdcf
Add new validation rule for `delete-inactive-user-after`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:07 -07:00
Phillip Rak
2c3346f481
Emit validation state when rules contain a value
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-07-29 10:23:07 -07:00
Evgeniya Vashkevich
0146701b0e
[FIX] Changed JWT Authentication page to disable ClusterProxyConfigs ( #11450 )
...
* [FIX] Changed JWT Authentication page to disable ClusterProxyConfigs instead of removing
2024-07-26 14:19:12 +05:00
Richard Cox
b993d88932
Fix nagivation from Global Settings --> Performance to any Cluster Explorer custom list
...
- 2.8 based bug
- Only reproducible when
- performance settings have been changed
- navigating from performance page to list page
- Root effect
- Contstant trigger of two computed properties
- namespaceFilterRequired
- shell/mixins/resource-fetch-namespaced.js
- namespaceFilter --> __namespaceRequired --> value (all same colour, suggesting our code)
- tracing shows this also to start from shell/mixins/resource-fetch-namespaced.js
2024-07-23 13:57:22 +01:00
Richard Cox
ddd2deeb8b
Run pagination regressions tests against a system with server-side pagination enabled ( #11358 )
...
* Add tests for setting up vai env in rancher
* workflow hack
* testing
* add user tag to @vai tests
* more shippable trigger, in the hope it fixes the looong test run due to tests with no tests in...
* test - rely on filename sort order for priority
* test - rely on spec order for priority
* test - rely on spec order for priority - take 2
* add setup for vai...
* Apply tags to new tests
* fix global roles - cluster different if run directly
- there was a more complex solution here (hence abstract) but it ended up needing to go to a cluster page anyway, so might as well just nav to desired page
* fix users - cluster different if run directly
* Fix other revisions (probably more TODO...)
* Fixes for event and crd tables
* Tweaks
* Revert temp changes
---------
Co-authored-by: Richard <richard@linux.fritz.box>
2024-07-18 11:32:11 +01:00
Evgeniya Vashkevich
9fdc413f42
Removed bad mounted hook
2024-07-03 14:05:13 +01:00
Evgeniya Vashkevich
7136e0a9fc
[FIX] Fixed some issues with driver pages
2024-07-03 14:05:13 +01:00
Phillip Rak
0d9c05afb2
Merge pull request #11296 from rak-phillip/chore/settings-enums
...
Replace settings strings with constants
2024-07-01 08:39:25 -07:00
Mo Mesgin
3ea4b37dd0
fix preserve filter status
2024-06-28 16:05:21 -07:00
Phillip Rak
15b373403b
Replace settings strings with enums
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-28 13:43:13 -07:00
Evgeniya Vashkevich
6bf081327f
[FEAT] Added JWT Authentication feature ( #11292 )
...
[FEAT] Added JWT Authentication feature
2024-06-27 17:24:43 -07:00
Phillip Rak
a1b5f14dae
Merge pull request #11276 from rak-phillip/feature/user-retention-settings
...
Add user retention admin interface
2024-06-27 15:51:39 -07:00
momesgin
fb2c9e5dbc
Added "Show deprecated apps" filter to charts page + warning banners ( #11279 )
...
* added show deprecated apps filter to charts page + deprecation & experimental warnings
* lint
* fix e2e test
* test deprecated query parameter in the url
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2024-06-27 10:54:36 -07:00
Phillip Rak
026097a55d
Utilize built-in rules for cron errors
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-27 10:12:16 -07:00
Phillip Rak
6cf779ecb4
Add translations for the user retention growl
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-27 10:12:16 -07:00
Phillip Rak
1f5b887bbe
Fix issue with typescript component imports
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-27 08:51:54 -07:00
Phillip Rak
793f1a4291
Enforce a truthy value for user last login
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:26:09 -06:00
Phillip Rak
2c04703112
Revert typescript changes
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:10:54 -06:00
Phillip Rak
ba79c4f21d
Fix type warnings
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:48 -06:00
Phillip Rak
069b3fc2bc
Revert "Add another tests"
...
This reverts commit 690f0977bb409f29e533958614a9e5e861c99e12.
This reverts commit cd6f90909b11af2c3c69f0fe7cdc745ded48b1a3.
2024-06-26 15:05:47 -06:00
Phillip Rak
3f565c8555
Fix issues with user retention page
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:47 -06:00
Phillip Rak
ff837ee38a
Add a unit tests
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:47 -06:00
Phillip Rak
23a5b452c8
Update english translations for user retention form
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:47 -06:00
Phillip Rak
31c3c1e2d4
Use tooltips to clarify input usage
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:47 -06:00
Phillip Rak
bba453884d
Update the header name
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:46 -06:00
Phillip Rak
27496fb9f8
Use `script setup`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:46 -06:00
Phillip Rak
8a8edf4b8b
Add guards for user retention feature
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:46 -06:00
Phillip Rak
067629b428
Fix typescript warnings
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:46 -06:00
Phillip Rak
e945a8a73c
Add an error message when saving fails
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:46 -06:00
Phillip Rak
da97c7a05c
Route back and display success growl
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:46 -06:00
Phillip Rak
6fbc8668a7
Add remaining missing types
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:46 -06:00
Phillip Rak
9a85be60e3
Add types for `Setting`
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:46 -06:00
Phillip Rak
916e76967d
Watch values and respond to changes in the form
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:45 -06:00
Phillip Rak
4fd26526d4
Perform basic validation of user retention cron
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:45 -06:00
Phillip Rak
b63d3f09f5
Fix spacing of toggle switch
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:45 -06:00
Phillip Rak
b157bd595b
Move header into new component
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:45 -06:00
Phillip Rak
d762736549
Set max-width for inputs
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:45 -06:00
Phillip Rak
53aa36f83b
Replace cru-resource with footer
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:45 -06:00
Phillip Rak
03fa205a80
Reduce repetition with reactive
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:44 -06:00
Phillip Rak
7f06d070c9
Save with CruResource
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:44 -06:00
Phillip Rak
01d17dbf18
Rename state variables and use entire object from settings
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:44 -06:00
Phillip Rak
42d89f3468
Fetch the user retention settings
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:44 -06:00
Phillip Rak
ab1118cd32
Stub out user retension settings form
...
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-06-26 15:05:44 -06:00
Richard Cox
c1244392aa
Merge pull request #11218 from richard-cox/pagination-updates
...
Pagination Updates
2024-06-21 07:36:14 +01:00
Francesco Torchia
2f6534181c
Fix fleet status calculation - exclude Fleet agent StatefulSet before it is created by Rancher
...
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-06-17 11:45:17 +02:00
Richard Cox
f25e8813ed
Move peformance / server side pagination setting to the top of the page
2024-06-14 17:50:51 +01:00
Francesco Torchia
031f6e9217
Merge pull request #11223 from torchiaf/10831-provisioning-architecture
...
Show empty architecture during cluster provisioning
2024-06-14 09:57:28 +02:00
Francesco Torchia
61ad3fec72
Show empty architecture during cluster provisioning
...
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
2024-06-13 11:50:47 +02:00
Alexandre Alves
30d9b43351
make workflows from creator pkg trigger only on tagged release + make developer load set UIPlugin as noAuth: true + remove serve catalog console log from serve-pkgs ( #11216 )
2024-06-13 10:26:20 +01:00