Commit Graph

17 Commits

Author SHA1 Message Date
Vincent Fiduccia 5ec2a77dcd
Bootstrap password cleanup, simplify setup 2021-07-29 13:08:51 -07:00
Vincent Fiduccia dedff10ae5
Don't not avoid negative options (hide-community-links -> [show-]community-links 2021-06-15 03:12:07 -07:00
Nancy 01efe2ef03
Merge pull request #3134 from mantis-toboggan-md/bugfix-whitelabel
support links tweaks
2021-06-08 09:50:53 -07:00
Richard Cox 3e9d350e85
Merge pull request #3045 from bashofmann/global-settings-kubeconfig-ttl
Make kubeconfig ttl global settings configurable
2021-06-02 15:08:51 +01:00
Nancy Butler a45596926c hide support link for non-admins 2021-06-01 07:58:00 -07:00
Nancy Butler 3f72a287aa support links tweaks 2021-06-01 07:49:47 -07:00
Bastian Hofmann c43df27618 Make kubeconfig ttl global settings configurable
This adds kubeconfig-token-ttl-minutes and kubeconfig-generate-token to the global settings page

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
2021-05-27 14:44:24 +02:00
Richard Cox 474d3b9be8 Add `ui-dashboard-index` and `ui-offline-preferred` settings
- For `ui-offline-preferred` usage see
  - 692a9507eb/pkg/ui/handler.go (L34)
  - 0a9ab63170/pkg/ui/handler.go (L118)
- From what I can determine `ui-offline-preferred` settings are
  - 'dynamic'
    - If server version is not head use LOCAL
    - else if remote available use REMOTE <-- doesn't seem to work!
    - otherwise LOCAL
  - 'true'
    - LOCAL
  - 'false'
    - REMOTE
2021-05-26 18:34:52 +01:00
Nancy Butler 82f79009b7 custom color 2021-05-24 10:29:51 -07:00
Neil MacDougall 52c25c7074
Merge pull request #3046 from nwmac/branding-tweaks
Branding refinements
2021-05-24 16:43:44 +01:00
Vincent Fiduccia c3cd7ccdc8
Fix setup flow with old settings api 2021-05-21 02:59:41 -07:00
Neil MacDougall 91928af7b6
Fix merge issue 2021-05-21 08:39:51 +01:00
Neil MacDougall f80378c475 Branding tweaks 2021-05-21 08:38:00 +01:00
Vincent Fiduccia d12079875a
/v3/settings to /v1/management.cattle.io.setting
- /v3 doesn't exist if multi-cluster-management is disabled
- Use /v1/management.cattle.io.settings everywhere instead of /v3
- It now returns the public set of settings if retrieve with no auth, so
  the store needs to remember that even though we loaded "all" of them
that wasn't really ALL of them so that the full list gets loaded after
auth.
- Use new x-api-cattle-auth header to determine authentication state if present
- Use SETTINGS.* constants consistently
- `brand` -> `ui-brand` for consistency
- `eula-accepted=true` -> `eula-agreed=<timestamp>` to match Ember
2021-05-20 16:48:45 -07:00
Nancy Butler 7dfba34e3f hide brand settings page 2021-05-13 07:54:08 -07:00
Richard Cox f353773f25 Port Ember Version Modal & Minor Changes
Port the Ember Version Modal
- Previously this was reached via clicking on the version text in the footer, now it's reached via the user menu top right
- This also previously was a modal whereas now it's a page as per other user menu items

Minor Changes
- i10n - User menu text
- Fix - Size of side menu's group menu down arrow now fills menu hover area (no more thin hover colour below down arrow when in dark mode)
- Fix - Cluster Dashboard - Hide metrics Tabbed element if there are no Tabs (no more empty faded square at bottom when no metrics)
- Update support links
  - Home Page - Commercial Support - Link now goes to support page
  - Support Page - Contains links to both rancher support info and contact pages
2021-05-12 12:37:04 +01:00
Neil MacDougall ab67d3df27 Add Global Settings and Feature Flags 2021-02-08 20:01:27 +00:00