Commit Graph

9669 Commits

Author SHA1 Message Date
Westly Wright adcfbf96bb
Merge pull request #3527 from codyrancher/one-option-fp
[forwardport] Fix FormContextualSelectArray to accept 1 option
2019-10-31 14:34:27 -07:00
Cody Jackson 8c5e2f021f Fix FormContextualSelectArray to accept 1 option
When there was only one option we the add button was disabled and
we couldn't add the one option.

This change fixes it so that we can still select the single option if
desired.

rancher/rancher#23780
2019-10-31 13:55:33 -07:00
Westly Wright 04c44e3f9e
Merge pull request #3519 from westlywright/fp.translation.fix
Fix Intermittent Translation Not Loading Issues
2019-10-31 09:38:15 -07:00
Westly Wright 77e1df7060
remove translation as we had localizedPrompt set true 2019-10-30 12:14:43 -07:00
Westly Wright 231c9b6f1f
remove maybe-t helpers because t has default (fallback) built in 2019-10-30 12:14:43 -07:00
Westly Wright b31279b8ca
start loading the intl lang sooner to ensure loaded b4 first render
because we did not delay the readiness of the application when loading
translations when a user hit `update-setting` route we'd render the page before
the language had finished loading. Moving the language to the before model and
in the finally of the detect phase ensures we have our language loaded before we
remove the loading state and render the main content.

rancher/rancher#23776
2019-10-30 12:14:28 -07:00
Westly Wright d98edaa785
Merge pull request #3511 from codyrancher/aks-message
Use correct AKS messaging for create cluster
2019-10-30 11:09:36 -07:00
Westly Wright 7cd1d93e42
Merge pull request #3514 from westlywright/fp.k8s.version.refactor
[Forwardport] refactor form-versions
2019-10-30 11:09:14 -07:00
Westly Wright 56920f6823
Merge pull request #3516 from codyrancher/psp-enabled
[forwardport] Use pspEnabled to gate project PodSecurityPolicy
2019-10-30 11:08:55 -07:00
Cody Jackson 2406a21968 Use pspEnabled to gate project PodSecurityPolicy
When creating and editing a Project we wanted to only reveal the
PodSecurityPolicy selector if the cluster had the pspEnabled field
set to true.

rancher/rancher#21548
2019-10-29 15:56:12 -07:00
Westly Wright 8058d3de4d
refactor form-versions logic to reduce complexity and bugs
I think the file it self may look more verbose as I've broken several of the
confusing portions into pure(ish) functions. I think this reduces the complexity
of the logic and makes it easier to read. Hopefully this will reduce the bugs
that keep cropping up.
2019-10-29 14:07:49 -07:00
Cody Jackson 7a956b1fa5 Use correct AKS messaging for create cluster
When creating an AKS cluster an alert with an EKS message. This
simply switches the message to use the AKS message.

rancher/rancher#23601
2019-10-29 11:56:46 -07:00
Westly Wright e8626832c0
Merge pull request #3510 from codyrancher/node-template-ux
[forwardport] Provide better node template UX
2019-10-29 10:17:05 -07:00
Cody Jackson cb3bb885f1 Provide better node template UX
We want to provide the owner as additional information when showing
node templates on the node templates page. We also want to make it so
that when selecting a node template the users templates will be grouped
and sorted to the top by default.

rancher/rancher#23325
2019-10-29 09:42:14 -07:00
Westly Wright 6e702d411d
Merge pull request #3508 from moschlar/fix-typo-ctitical
Fix typo "Ctitical"
2019-10-29 09:23:44 -07:00
Westly Wright 2928969cc2
Merge pull request #3500 from loganhz/istio-forwardport
[forwardport] Istio gateway support
2019-10-29 09:22:57 -07:00
Moritz Schlarb 1911973bc3
Fix typo "Ctitical" 2019-10-29 14:40:23 +01:00
Westly Wright 5f42a7b672
Merge pull request #3506 from codyrancher/vsphere-master
Vsphere master parity with 2.3-fixes
2019-10-28 09:39:30 -07:00
Cody Jackson 5345de7e34 Parse the 'key=value' format of custom attributes
We weren't initializing custom attributes because we were not
parsing the backend format appropriately. We needed to parse
the 'key=value'.
2019-10-28 08:48:08 -07:00
Cody Jackson b3f5bfe615 Remove cloneFrom and contentLibrary while not used
If cloneFrom and contentLibrary shouldn't be used we delete them
from the config to prevent them from going being a part of the request.
2019-10-28 08:43:33 -07:00
Cody Jackson ea7dd8fb3d Make creationType use the appropriate values
creationType was using the wrong values after refactoring to
combine two dropdowns into one. I renamed the existing
config.creationType to creationMethod and now observe
creationMethod to properly set config.creationType.
2019-10-28 08:43:09 -07:00
Westly Wright 1225b9c7e4
Merge pull request #3505 from westlywright/jquery.select.fix
jQuery Issue
2019-10-25 14:30:55 -07:00
Westly Wright 113372e524
during jquery dep warnings fix we started grabbing the wrong element
which caused some undefined errors to start sprouting up

rancher/rancher23682
2019-10-25 14:22:36 -07:00
Westly Wright 4d1b629382
Merge pull request #3503 from westlywright/fp.k8s.version.bug
[Forwardport] Select correct k8s version when changing templates
2019-10-25 09:37:47 -07:00
Westly Wright b5173c2e46
Select correct k8s version when changing templates
rancher/rancher#23682
2019-10-25 09:27:07 -07:00
Westly Wright c49c1e3cc2
Merge pull request #3501 from loganhz/graph
Fix graph issue
2019-10-25 08:48:11 -07:00
Westly Wright a03fc685b6
Merge pull request #3499 from lvuch/lh-1015
22180
2019-10-25 08:47:22 -07:00
Westly Wright afe32d4be3
Merge pull request #3496 from westlywright/fp.global.roles
[Forwardport] Global Permission Bug
2019-10-25 08:45:47 -07:00
loganhz c74660df31 Fix graph issue
https://github.com/rancher/rancher/issues/23654
2019-10-25 11:41:15 +08:00
loganhz 5562d5f65d Add istio feature flag back
https://github.com/rancher/rancher/issues/23582
2019-10-25 10:12:05 +08:00
loganhz 1d8d9aee3b Fix comments 2019-10-25 10:10:27 +08:00
loganhz 2e50a798a0 Support Istio Gateway 2019-10-25 10:10:05 +08:00
lvuch aac3bad76d 23178 2019-10-23 15:44:07 -07:00
lvuch 9a7f337889 22180 2019-10-23 15:28:09 -07:00
Westly Wright ab1c7a450c
Merge pull request #3497 from westlywright/master.errors
Fix Incorrect Observer Import
2019-10-23 13:33:23 -07:00
Westly Wright 2c7e45c80d
Fix incorrect import of observer
update lock file
2019-10-23 13:20:05 -07:00
Westly Wright 6d0a5cfe07
grabbed the wrong param during refactor
rancher/rancher#21749
2019-10-23 12:10:11 -07:00
Westly Wright 94a4c1a7e2
cleanup from review 2019-10-23 12:10:11 -07:00
Westly Wright 943d8b6662
refactor global permissions to simplify and not overwrite roles
When global roles were added the front end had to make some assumptions for
non-admin users to ensure the user had login access. This role used to be hidden
but was made visible by default. With this exposed we now check before save if
the user has some kind of login access and throw an error if not. We also no
longer need to hide the custom roles which allows new user default roles to be
displayed without all the crazy logic to decide which mode to show. The old
login-access read only param was removed; This used to map to user-base and we
only displayed it because the role was hidden.

rancher/rancher#23644
2019-10-23 12:08:42 -07:00
Westly Wright c32e1f2d05
Merge pull request #3492 from codyrancher/fp-master-3474
[forwardport] Ensure istio member type is correct on add
2019-10-23 12:01:25 -07:00
Westly Wright 66c05c2397
Merge pull request #3491 from codyrancher/fp-master-3490
[forwardport] Fix EKS cluster creation transition
2019-10-23 12:00:50 -07:00
Westly Wright d7d63dce4f
Merge pull request #3489 from codyrancher/array-deprecation
Deprecate array constructor usage
2019-10-23 12:00:31 -07:00
Westly Wright a58696c144
Merge pull request #3488 from tfiduccia/fixes-master
Change color in apps for partner
2019-10-23 12:00:04 -07:00
Westly Wright 0a5a355e33
Merge pull request #3486 from lvuch/lh-1015
node pools help text
2019-10-23 11:59:38 -07:00
Westly Wright c2df691322
Merge pull request #3485 from codyrancher/fp-master-3484
[forwardport] Surface Refresh Kubernetes Metadata error message
2019-10-23 11:58:29 -07:00
Westly Wright 7d74adedf6
Merge pull request #3483 from codyrancher/fp-master-3475
[forwardport] Improve vsphere driver UX
2019-10-23 11:58:00 -07:00
Westly Wright 268dc21570
Merge pull request #3482 from codyrancher/fp-master-3471
[forwardport] Improve kube version inspection on cluster edit
2019-10-23 11:57:08 -07:00
Westly Wright b3faba1adb
Merge pull request #3481 from codyrancher/fp-master-3470
[forwardport] Improve form placeholder text legibility
2019-10-23 11:56:46 -07:00
Westly Wright 58daf6f3a0
Merge pull request #3456 from codyrancher/depth
Bumping the version of ember-api-store to 2.9.4
2019-10-23 11:55:33 -07:00
Westly Wright ef002be770
Merge pull request #3432 from westlywright/feature.feature.flags
Feature Flags UI
2019-10-23 11:49:03 -07:00