Commit Graph

235 Commits

Author SHA1 Message Date
Catherine Luse 1c975e11d4 RKE1 cluster create/edit forms no longer throw 404s 2022-12-13 18:06:25 -07:00
Vincent Fiduccia 72df765e10
Redirect to dashboard once if cookie is not present 2021-08-06 17:42:10 -07:00
Neil MacDougall 38fee4d23d Don't show telemetry modal when embedded 2021-05-24 11:39:38 +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
Vincent Fiduccia aa4799e9ac
More ember vs vue and new in 2.5 stuff 2020-08-27 17:52:07 -07:00
Vincent Fiduccia d7436d4059
Ember<->Vue integration & login 2020-08-26 03:47:59 -07:00
Cody Jackson 93b505199c Refactor how cis scans are disabled.
This refactoring removed code duplication and
provides a more cohesive experience across all
of the pages that you can run a scan.

This will also now check and ensure the following
- there aren't running ClusterScans
- this isn't a windows cluster
- systemProject is available
- the cluster is active
- the action link is available

When the above isn't the case Run CIS Scan will not be present in
the cluster action drop downs and the Run CIS Scan but
 will be disabled on the CIS Scans and CIS Scan Detail
pages.

rancher/rancher#24759
rancher/rancher#25298
2020-02-07 12:08:28 -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
Cody Jackson 348c1c38e2 Hide unsupported storage providers
We want to make it more difficult to use unsupported storage providers
to reduce the likelihood of a user accidently using one of these
storage providers.

rancher/rancher#22895
2019-09-17 16:49:12 -07:00
Logan 039eb879cd Support HPA (#3015)
* Support HPA

* Fix comments

* fix merge issue

* bug fix
2019-06-03 09:45:10 -07:00
Vincent Fiduccia d6a05a7ecf
Test auth token and load settings in parallel 2019-05-06 13:27:58 -07:00
Westly Wright c6cf2fb50d
Upgrade Ember to latest stable release
upgrade to 3.5

upgrade to 3.6

upgrade to ember 3.7

upgrades for 3.7

package upgrades

eslint changes

upgrade to 3.8

HanlderInfos deprecation

logger deprecations

shadowed block param deps

route fixes

upgrade engines and add workaround for infinite loop query params

refresh issue

ember-engines/ember-engines number 614

update read me
2019-03-25 13:22:38 -07:00
Westly Wright 663c13ccc9
Add S3 Etcd Backup & Restore API to UI
refector legacy local etcd backup & restore api to use new api

rancher/rancher#16797

Add s3backup config to rke clusters advanced options

Add 'restore from backup' action on RKE clusters

add backups list page

add cluster switching handling for backups

WIP

cleaup for review
2019-01-21 13:48:46 -07:00
loganhz c5a316bfe0 Fix redirect issue 2018-09-12 16:43:20 +08:00
loganhz 6e84709fd4 Support redirect
https://github.com/rancher/ui/pull/2221
2018-09-07 00:02:37 +08:00
loganhz e92e6a8731 Resource quota
https://github.com/rancher/rancher/issues/14620
2018-08-28 10:32:55 +08:00
Westly Wright 2f729f8825
remove all references to loading `resourceQuotaTemplate` 2018-08-24 11:11:49 -07:00
Westly Wright dfb90c4796
move node drivers to engine 2018-08-15 14:05:19 -07:00
Vincent Fiduccia 108a27ac79
Telemetry 2018-07-30 12:26:05 -07:00
loganhz 8245c21cdc Project level resource quota
https://github.com/rancher/rancher/issues/13277
2018-07-25 16:03:44 +08:00
Vincent Fiduccia 93f922b92d
eslint --fix 2018-07-20 11:47:19 -07:00
Vincent Fiduccia 54725f2022
eslint --fix 2018-06-29 17:20:46 -07:00
Westly Wright 24256cff3d
fixes that prevent 'lint --fix' from running completely 2018-06-29 17:20:46 -07:00
Westly Wright 8ffac483eb
Remove old user loading and priming code since search works now
rancher/rancher#14257
rancher/rancher#14245
2018-06-28 17:03:53 -07:00
Westly Wright 35292f6919
Filter roles on enabled or not
rancher/rancher#13418
2018-05-16 11:27:33 -07:00
Vincent Fiduccia df758fd061
Update drone 2018-04-25 00:52:22 -07:00
Vincent Fiduccia c090c46ccc
Fixes 2018-04-20 19:47:09 -07:00
Vincent Fiduccia 53f0a07c97
Keyboard, user, nodepool fixes 2018-04-20 19:47:09 -07:00
loganhz f4126d4b63 esc to click log and shell
https://github.com/rancher/rancher/issues/12607
2018-04-16 18:30:49 +08:00
Vincent Fiduccia 1c6467a8b8
rancher/rancher#12449 2018-04-03 00:14:51 -07:00
Vincent Fiduccia 9aa493068f
Shortcut keys 2018-03-29 15:37:38 -07:00
Vincent Fiduccia 0cf614fbaf
Merge pull request #1759 from loganhz/fix
Fix the issue that user can not see Authentication in nav
2018-03-26 22:21:30 -07:00
Vincent Fiduccia 125771bc33
Merge 2018-03-24 02:52:41 -07:00
loganhz f5e481a17d Fix the issue that user can not see Authentication in nav 2018-03-24 08:31:54 +08:00
Westly Wright 6d9cc84a33
refactor sever-url set into its own route and always check on load 2018-03-23 15:20:06 -07:00
Westly Wright beeeaf0c19
refactor update password into its own route 2018-03-23 11:33:09 -07:00
Aaron e00d5b4d12 Set `access.principal` instead of overriding `access.me` 2018-03-22 09:14:21 +08:00
loganhz 428b5c5eac Fix github username issue
https://github.com/rancher/rancher/issues/12020
2018-03-08 13:13:49 +08:00
Vincent Fiduccia 2e2dc1744f
Identity picking, github search 2018-03-06 21:25:11 -07:00
Vincent Fiduccia 5d8835218a
Container shell/logs popout 2018-03-02 16:24:32 -07:00
Vincent Fiduccia 181b350b19
Cluster edit, Packet driver 2018-02-20 02:26:56 -07:00
Vincent Fiduccia 05c8c09aac
Remove node from add cluster, autopick roles 2018-02-02 20:02:41 -07:00
Vincent Fiduccia 7612247dc3
Fix double meta/subscribe connect 2018-01-23 23:32:45 -07:00
Vincent Fiduccia 2cd4398615
Import kubeconfig file 2018-01-23 20:56:14 -07:00
Vincent Fiduccia 1b9cd1b2d2
Settings 2018-01-23 13:37:41 -07:00
Vincent Fiduccia 0569073ec7
Don't try to connect to socket when not logged in 2018-01-20 18:22:41 -07:00
Vincent Fiduccia 903005bd61
User Prefs 2018-01-20 18:22:41 -07:00
Vincent Fiduccia b826e0ee0d
changepass, gke version, lint, user roles 2018-01-20 14:14:54 -07:00
Vincent Fiduccia dc36db77eb
Maybe this time 2018-01-19 15:34:17 -07:00
Vincent Fiduccia e3caf8d9ba
Refactor cluster/project subscription connections, page scope 2018-01-19 12:40:28 -07:00