Commit Graph

69 Commits

Author SHA1 Message Date
Vincent Fiduccia 6873313651
Handle role with no name 2021-08-19 15:33:23 -07:00
Westly Wright d3d78e87c8
Upgrade Ember & Dependencies for LTS support >3.12
There are changes required for the ember upgrade but additional changes
for individual libs are also present. Commit has been squashed, see
individual commits if needed.

There are a bunch of HBS changes as well. These are to deal with a
couple new rules and there impact is low. The button one has bitten us a
few time so this seemed great to add IMO.

update ember 3.12.4

ember 3.13

fixes for new eslint rules

ember 3.13->3.14

ember3.14->3.16

ember3.16->3.20

3.20 lint rules

yarn upgrade

update ember-optional-feature

update deps that can go to patch versions

upgrade major versions that are possible

update ansi_up

only reset term var if we're not destroying

prevents new ember 'same computation' error

update async

upgrade dot-object

new-catalog - add set to deal with new warning
marked-down - drop call into next to ensure its called at the correct time

upgrade ember-assign

update ember-cli-clipboard

remove unused & deprecated ember-cli-release

remove unused drag-drop lib

use set on tracked prop

update ember-flatpickr && cli-test-loader

upgrade ember-href-to

update filesaver

update liquid-fire and ipaddr

upgrade jsondiffpatch

upgrade marked

upgrade semver

update xterm

Update ember-basic-dropdown

the library has changed quite a bit and no longer provides an addon for the content-item where we handling the click event to close the dropdown,
thus click events must be added manually to the items being clicked to close the dropdown.

udpate dompurify

fix page header project styles

Bump ember api store, remove npm-run-all

Autofix button types from hbs linting

this change looks large but only adds `type` button to any buttons that dont have a type, which should help to reduce weird side effects

more hbs lint changes for no-negate-condition

turned off a couple rules that could be too much to test right now
2020-10-07 16:52:22 -07:00
Westly Wright 4eb82ace5b
Expose k3sConfig on k3s imported cluster edit
rancher/rancher#25401
2020-02-25 12:59:08 -07:00
Westly Wright d8019e79d2
add isCreatorMember for inital cluster or project create
we use this to hide the remove action button on the default row when creating
one fo the two mentioned resources. This is because the backend automatcially
sets up this binding on create. We display this fake member so the user doesnt
feel like they need to add themsevles as a member.
2019-12-23 15:27:22 -07:00
Westly Wright cc278efa30
remove unneeded owner check on form-members remove
rancher/rancher#24428
2019-12-23 15:14:45 -07:00
Westly Wright 10d148eecb
Ensure project-member-row uses same identicon as principal model
project-member-row was using `avatarSrc` on its component which was slightly
different then the same code used in the principal model but really should have
been the same. I got rid of the duplicate code in the component since the model
is the data owner. It really should manage the avatar source building.

I also updated single quotes to doubles in template and refactored the owner
logic since it wasn't doing anything extra that the noUpdate flag was doing.

rancher/rancher#21440
2019-10-01 09:00:07 -07:00
Vincent Fiduccia f935046709
No read-only role for clusters 2019-09-11 11:02:01 -07:00
Westly Wright 51bf9d3a79
add closure action to prevent uncaught type error
rancher/rancher#19760
2019-06-12 10:53:52 -07:00
Westly Wright 46e96c801a
Fix send action deprecations
send action deprecation warnings for form-key-value component

update all cancel actions

deprecations for ns quota component and action menu item

deprecations and formatting

sendAction deprecation form-node-selctor & formatting

sendAction deprecations for cru-persistent-volume & formatting

sendAction deprecations for form-scoped-roles & formatting

sendAction deprecations for telemetry-opt & formatting

sendAction deprecations for table-rows & formatting

sendAction deprecations for server-url & formatting

sendAction deprecations for cru-config-map & formatting

sendAction deprecations for workload-row & formatting

sendAction deprecations for cru-volume & formatting

sendAction deprecations for cru-persistent-volume-claim & formatting

fix issue with declaring dynmic keys on component.

sendAction deprecations for form-healthcheck & formatting

sendAction deprecations for node-selector-row & formatting

sendAction deprecations for new-edit-ingress & formatting

sendAction deprecations for form-node-affinity & formatting

sendAction deprecations for form-key-to-path & formatting

sendAction deprecations for new-catalog & formatting

sendAction deprecations for cru-storage-class & formatting

sendAction deprecations for project-resource-quota & formatting

sendAction deprecations for input-files & formatting

sendAction deprecations for node-row & formatting

sendAction deprecations for input-command & formatting

sendAction deprecations for form-ports

sendAction deprecations for new-edit & formatting

sendAction deprecations for form-image

sendAction deprecations for form-volume-row & formatting

sendAction deprecations for form-volumes & formatting

sendAction deprecations for form-scale & formatting

sendAction deprecations for container-logs & formatting

sendAction deprecations for cru-volume-claim-template

sendAction deprecations for pod-row & formatting

sendAction deprecations for source-custom-log-path & formatting

sendAction deprecations for step mixin & formatting

sendAction deprecations for pipeline-codemirror & formatting

sendAction deprecations for build-step & formatting

sendAction deprecations for build-stage & formatting

sendAction deprecations for pipeline-env-from & formatting

sendAction deprecations for log-view & formatting

sendAction deprecations for bitbucketserver-setting & formatting

sendAction deprecations for bitbucketcloud-setting & formatting

sendAction deprecations for form-recipient-item & formatting

sendAction deprecations for pipeline-selector-row & formatting

sendAction deprecations for policy-row & formatting

sendAction deprecations for other-role-row & formatting

sendAction deprecations for role-rule-row & formatting

sendAction deprecations for new-multi-cluster-app & formatting

sendAction deprecations for driver-digitalocean & formatting

sendAction deprecations for project-alert-row & formatting

sendAction deprecations for form-recipient-item & formatting

sendAction deprecations for cluster-alert-row & formatting

sendAction deprecations for alert-select & formatting

sendAction deprecations for storage-class-provisioner & formatting

sendAction deprecations for cluster-driver mixin

sendAction deprecations for node-driver mixin

sendAction deprecations for view-new-edit mixin

sendAction deprecations for host-registration & formatting

sendAction deprecations for form-labels-annotations & formatting

sendAction deprecations for huawei-user-labels & formatting

sendAction deprecations for form-user-labels & formatting

sendAction deprecations for principal-search & formatting

sendAction deprecations for form-namespace & formatting

sendAction deprecations for input-paste & formatting

sendAction deprecations for catalog-index & formatting

sendAction deprecations for searchable-select & formatting

sendAction deprecations for hover-dropdown & formatting

sendAction deprecations for container-shell & formatting

sendAction deprecations for input-yaml & formatting

sendAction deprecations for input-text-file & formatting

sendAction deprecations for sortable-thead & formatting

sendAction deprecations for form-ingress-rows & formatting

sendAction deprecations for input-password & formatting

sendAction deprecations for input-identity & formatting

sendAction deprecations for form-count & formatting

sendAction deprecations for form-members & formatting

sendAction deprecations for outside-click & formatting

sendAction deprecations for input-slider & formatting

sendAction deprecations for metrics-action & formatting

sendAction deprecations for banner-message & formatting

sendAction deprecations for driver-rke & formatting

sendAction deprecations for driver-import & formatting

sendAction deprecations for form-value-array & formatting

sendAction deprecations for cru-node-pools & formatting

sendAction deprecations for cru-cluster & formatting

sendAction deprecations for logging/new-edit & formatting

sendAction deprecations for login-x components & formatting
2019-03-29 10:58:08 -07:00
lvuch 927c3f8c89 global nav 2019-03-15 16:02:59 -07:00
loganhz 8f162d11d4 Fix member role display issue in edit project page
https://github.com/rancher/rancher/issues/15658
2018-11-22 12:46:04 +08:00
Westly Wright 4ace4f0411
Flip the lazy loading switch for all engines and remove browserify
loading overlay would stick on login sometimes

first update for auto importer

add required unsafe eval

remove project level xterm loading

ansi up

lazy-load dot-object

lazy load marked

Move logger models out of logging engine, it prevents lazy loading

add auto-importer config to logging

semver & json2yaml

lazy load pretty cron

lazy load shell quote

bug - typo in function name

remove debugger

lint and bugs

add shellquote constant to deal with undef error

Remove async from global and load module properly

add ignore file for silver-searcher

auto-import d3 lib

auto-import Identicon

auto-import jquery growl

update jsondiffpatch and auto-import

Remove unneeded voids

ember-auto-load jszip

pipeline bug

Refactor verify-auth route for lazy engines

auto-import to all engines/addons

auto-import momentjs

auto-import yaml

auto-import file-saver

update globals

bugs

review changes

yarn lock

move bable option back into the right place

bug fixes

decouple dependencies for nodes engine

decouple dependencies for global-admin

decouple dependencies for login engine

decouple dependencies for alerts engine

decouple dependencies for logging engine

decouple dependencies for pipeline engine

Lint sync and fix

review bugs

updates for rebase
2018-10-11 12:03:44 -07:00
Vincent Fiduccia 93f922b92d
eslint --fix 2018-07-20 11:47:19 -07:00
Vincent Fiduccia 0686d4840d
Revert part of eslint fix 2018-07-16 17:50:16 -07:00
Westly Wright 877ed1f522
More lint files changes (see lib) 2018-07-11 14:06:27 -07:00
Vincent Fiduccia 0d34e4a945
Hide member/owner if locked 2018-05-18 12:38:24 -07:00
Westly Wright 9540882c60
prtb on project edit -> add read-only
rancher/rancher#12318
2018-04-03 12:15:07 -07:00
Westly Wright e6dea593a4
Add some checks for unknown (sic error) user so we dont get blanks 2018-04-02 17:44:40 -07:00
Westly Wright 8ac490e90d
Fix missing roles when pagetype was null
rancher/rancher#12379
2018-04-02 15:57:52 -07:00
Westly Wright 40e1c8600b
fix ups 2018-03-27 15:03:52 -07:00
Westly Wright 98cc648f81
Allow users to remove the owner of a cluster/project on edit
rancher/rancher#11056
2018-03-27 15:03:52 -07:00
Westly Wright 9118e9ce86
Set CRTB/PRTB correctly when launching a cluster or project
rancher/rancher#12203
2018-03-22 14:15:27 -07:00
Westly Wright 00d9a71686
refactor how CRTB/PRTB's consume the principal
remove debuggers and logging code that wasn't needed

rancher/rancher#12058
2018-03-09 11:23:46 -07:00
Vincent Fiduccia 2e2dc1744f
Identity picking, github search 2018-03-06 21:25:11 -07:00
Westly Wright a0c2157400
more principal search refactors 2018-03-06 16:25:56 -07:00
Westly Wright 3cd5c27a4b
disable update properly 2018-03-06 16:25:30 -07:00
Westly Wright e791717e1d
Update for principals
rancher/rancher#11691
rancher/rancher#11853
rancher/rancher#11891
rancher/rancher#11660
rancher/rancher#11720
2018-03-02 22:08:14 -07:00
Westly Wright bcf2f0e9c4
members fixes 2018-03-02 16:34:17 -07:00
Westly Wright bc9f026c96
form members 2018-02-28 22:28:24 -07:00
Westly Wright 059891c5dc
move custom user create roles out of role modal
rancher/rancher#11713
2018-02-28 16:53:59 -07:00
Westly Wright 75072a2047
new principal search 2018-02-28 14:42:35 -07:00
Vincent Fiduccia b506a745c6
api-store update, PSPs, DNS 2018-02-25 02:21:31 -07:00
Vincent Fiduccia 90625f4cd5
Redo node-drivers, part one 2018-02-14 03:03:31 -07:00
loganhz d78b8aae33 Fix custom role issue
https://github.com/rancher/rancher/issues/11228
2018-02-01 19:21:29 +08:00
Westly Wright 53cf0b8c32
verbiage change Cluster/Project Owner -> Owner
rancher/rancher#11114
2018-01-30 15:15:43 -07:00
Westly Wright 209a46a1ae
more cleanup 2018-01-26 16:30:43 -07:00
Westly Wright 6d16ecc081
cleanup 2018-01-26 16:30:28 -07:00
Westly Wright 288ec65926
workingish 2018-01-26 16:30:28 -07:00
Westly Wright e9e858b237
custom roles 2018-01-26 16:30:28 -07:00
loganhz 0db5c5e98b Show custom role detail
https://github.com/rancher/rancher/issues/11148
2018-01-26 14:23:33 +08:00
Westly Wright ecc0affa0c
disable edit 2018-01-23 22:39:53 -07:00
Westly Wright e679a38d17
bugs
rancher/rancher#11100
2018-01-23 22:16:15 -07:00
Westly Wright 2f634235c6
Allow users to go from custom to non-custom roles 2018-01-23 22:16:15 -07:00
Westly Wright f58a861127
comment 2018-01-23 12:10:46 -07:00
Westly Wright c94034b2e7
bug fixes to setup closing modal correctly when switching types 2018-01-23 12:10:46 -07:00
Westly Wright 48e4a4be14
add check for whether user names can be edited 2018-01-23 12:10:13 -07:00
lvuch 1058d1940a searchable, ec2, node select 2018-01-23 10:35:23 -07:00
Vincent Fiduccia 8994df1dc1
More members 2018-01-23 01:15:55 -07:00
Vincent Fiduccia 7be93cba38
Fix edit member 2018-01-23 00:10:02 -07:00
Westly Wright c6f91d1e9d
ummm...actually fix the double click issue 🙈 2018-01-22 20:24:17 -07:00