Commit Graph

29 Commits

Author SHA1 Message Date
Richard Cox 29eb284f54 ember-cli-update --run-codemods 2024-07-30 15:27:49 +01: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 a7a81456b4
Feature: associate global role w/external group
rancher/rancher#23452

expose link-to new-group route

Translations change and move static property (convention)

Refactor form-global-roles

Refactor such that user and group are optional parameters. Adds
groupPrincipalId. Destructure smarter so that users are not required for the
mapper function to work. Move bindings to own init. Refactor make to recognize
groups. Translations changes.

Add cru-group-account component

This component does not actually create a group but a global-role-binding with a
groupPrincipalId instead of a userId. Perhaps cru-global-role-binding would work
but in the future this component can and probably will be adapted to create
local groups as well, so the name would fit. At that point the component could
also be refactored to work for the add user page because at that point pretty
much doing the same thing but that is not with-in the scope of this change.

Currently the componet is expected to be used with an auth provider that
supports groups which is why it does not also create the group. This should be
taken into consideration if we ever update this to work with local groups.

Translations changes.

formatting

wip

Add tab nav template only component

rename users index route -> users & add groups route

get groups from grb list and build groupPrincipal list

Add role binding to the fetched group principal

Add account-group-row component and define table row views

global role binding with group edit page

Fix transitionTo in cancel and doneSaving -> cru-group-account

translations

Add initialPrincipal param to input-identity to allow use on edit

reduce duplicate principal calls and display on groups list page

fix role links types from account-group-row

add group delete functionality

translations and bulk action fix

sort global role names in modal and row

delete GRB modal translations

move users route to security-> users, break out groups route security

remove unneeded component

Live update fixes

translation fix

fix broken link to old accounts route

remove unneeded props, angle bracket components, general cleanup

lint fixes

Change add group button

Add warning on add group for non-local auth only and translations

Remove warning from delete group modal and change translations

re-org form-global-roles display

breaks the display out into base|user-custom|additional roles
adds back in details & descriptions
fixes role ids in translations file
2019-12-02 09:40:26 -07:00
Westly Wright e5e63d6099
Add missing check for refreshAuthProviderAccess user action
rancher/rancher#18604
2019-03-06 11:13:07 -07:00
Westly Wright 51f41c7e7e
lint 2019-01-30 16:06:05 -07:00
Westly Wright 8fe5bc17e6
Add individual refreshauthprovideraccess actions to the user model
rancher/rancher#17075
2019-01-30 15:57:26 -07:00
Vincent Fiduccia 691ffc38e5
Switch to @rancher/ember-api-store 2019-01-10 16:44:35 -07: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
Westly Wright b786bea199
Add error message when activating/deactivating user 2018-09-10 16:14:02 -07:00
Vincent Fiduccia 93f922b92d
eslint --fix 2018-07-20 11:47:19 -07:00
Vincent Fiduccia b95f526d2a
Activate/Deactivate users (rancher/rancher#14621) 2018-07-20 11:21:47 -07:00
Vincent Fiduccia 54725f2022
eslint --fix 2018-06-29 17:20:46 -07:00
Vincent Fiduccia 18a7fe8d65
Move edit, yaml, remove, gotoapi into central actions 2018-04-16 02:35:28 -07:00
Aaron e00d5b4d12 Set `access.principal` instead of overriding `access.me` 2018-03-22 09:14:21 +08:00
Westly Wright b354444a67
fix user roles editing
rancher/rancher#11227
2018-01-30 14:33:19 -07:00
loganhz 8a0284e113 Do not allow to delete user self
https://github.com/rancher/rancher/issues/11215
2018-01-30 14:24:07 +08:00
Westly Wright 259a1824bc
change role bindings to use the userId field rather then subjectName 2018-01-26 16:30:43 -07:00
Vincent Fiduccia cbaaed1555
Cluster import, identicon, SSL server proxy 2018-01-23 20:56:14 -07:00
Vincent Fiduccia c762ca23fb
API Keys 2018-01-22 22:22:11 -07:00
Westly Wright 191d633f62
fixes 2018-01-20 15:44:03 -07:00
Vincent Fiduccia b826e0ee0d
changepass, gke version, lint, user roles 2018-01-20 14:14:54 -07:00
Vincent Fiduccia e3e99c83c5
change vs set password 2018-01-20 14:14:54 -07:00
Vincent Fiduccia af95ff9119
Global role binding editor 2018-01-17 03:02:31 -07:00
Vincent Fiduccia 249c4620e5
Cluster and project binding fun 2018-01-12 16:59:30 -07:00
Vincent Fiduccia b0af676d82
User role details 2018-01-12 13:15:51 -07:00
Vincent Fiduccia fe7ccc4a18
Cluster stats, things 2018-01-11 15:16:03 -07:00
Westly Wright cb59083a68
user edit from dropdown links to correct route 2018-01-03 17:09:26 -07:00
Westly Wright acb5f2266f
update prefs page for me=true endpoint 2018-01-02 15:41:01 -07:00
Vincent Fiduccia fb05b14e5f
Bugs 2017-12-18 23:48:05 -07:00