Commit Graph

6742 Commits (e8ed30a9e665875589105078aa8fba32f398d836)

Author SHA1 Message Date
Michael Desa e8ed30a9e6 Populate links response with organiation on JWT 2018-01-17 12:26:28 -05:00
Michael Desa e1b071c002 Add correct users route to all routes 2018-01-16 17:03:46 -05:00
Michael Desa 6168dc3e06 Nest user routes under organization
Add global user routes
2018-01-16 16:45:58 -05:00
Michael Desa a48019b643 Allow UpdateUser to accept empty roles 2018-01-12 12:37:30 -05:00
Michael Desa f7f86f0ea6 Add wildcard role and validate users roles in CRUD
The server may now specify a '*' to indicate that the server should
retrieve the organizations default role and assign it to the user.
2018-01-12 12:27:55 -05:00
Jared Scheib fd429aaeee Move All New Users Are SuperAdmin toggle to AllUsersTable 2018-01-11 17:18:05 -08:00
Jared Scheib 0e99bbc1a9 Remove unnecessary Authorized HOC around AllNewUsersSuperAdmin toggle 2018-01-11 17:00:40 -08:00
Jared Scheib 1c380eb55e Add Organizations column with temp spans for orgs
Move Role column to right & remove Role table header.
Move table sizing constants out of component classes.
2018-01-10 16:27:03 -08:00
Jared Scheib 1856484670 Move AllUsersTable SuperAdmin column & toggles to right-most 2018-01-10 16:12:25 -08:00
Jared Scheib 679d2374e2 Make AllUsersTableEmpty an SFC 2018-01-10 16:09:49 -08:00
Jared Scheib a9877bc1cf Remove obsolete Authorized HOC from AllUsersTableEmpty 2018-01-10 16:08:22 -08:00
Jared Scheib 6e5b5c2790 Make UsersTableEmpty an SFC 2018-01-10 16:06:48 -08:00
Jared Scheib 5231218c5e Rename 'Create User' to 'Add User' in both Chronograf Admin pages 2018-01-10 15:55:20 -08:00
Jared Scheib 6728ec5d82 Reorient AllUsersTable around organizations, not roles
Use new links.rawUsers route to get users for AllUsersPage.
Introduce '*' role name to tell server to assign org defaultRole.
Update table header to display number of users & num orgs.
Remove concept of roles from AllUsers UI.

Note: The update & create AJAX are both broken or disabled until
the server is modified to accept '*' for role.
2018-01-10 15:51:21 -08:00
Michael Desa 4c33cf7846 Add rawUsers route to AllLinks 2018-01-10 11:18:08 -05:00
Jared Scheib 68a0a54afd Rename EmptyUsersTable to UsersTableEmpty for new consistency 2018-01-09 18:08:07 -08:00
Jared Scheib 97739e84be Duplicate UsersPage components into AllUsersPage; remove SuperAdmin 2018-01-09 18:01:15 -08:00
Jared Scheib a5ba7b035b Add temp duplicate UsersPage for All Users 2018-01-09 17:27:31 -08:00
Jared Scheib b2b34adaae Rename Users tab to Current Org Users 2018-01-09 17:21:25 -08:00
Michael Desa 1c33580f99 Modify CRUD user handlers for global operations
Add raw query param middleware performing raw ops

This commit introduces middleware that allows SuperAdmin Users to
specify a query param `raw=true` which will give them raw access to the
data store. Raw access means that it is not in behind the usual
organization facade.

Currently, only the user routes use this middleware.
2018-01-09 13:43:33 -05:00
Hunter Trujillo 177d81b21e Hotfix synchronization. Small quick fix. Reviewed by Watts while pairing. 2018-01-05 12:15:35 -07:00
Andrew Watkins 4330d43c7a Merge pull request #2664 from influxdata/bugfix/custom-time-overlap
Fix positioning of CustomTimeIndicator
2018-01-05 11:05:29 -08:00
Andrew Watkins 4bd9572761 Fix style name 2018-01-04 18:21:04 -08:00
Andrew Watkins af4e525aaf Merge pull request #2672 from influxdata/feature/env
ENV variable TELEGRAF_SYSTEM_INTERVAL
2018-01-04 12:37:31 -08:00
Andrew Watkins f92148a323 Make the time proportional to the group by interval 2018-01-03 15:23:18 -08:00
Andrew Watkins d01f3ea09e Refactor multiple promises to use async await 2018-01-03 14:53:34 -08:00
Andrew Watkins 340f26cf1e Add environment variables and links to chronograf 2018-01-03 13:13:56 -08:00
Michael Desa b41816c5cd Add /chronograf/v1/env endpoint to expose env vars
Some environment variables are needed by the front end. This PR
introduces a route so that those environment variables can be exposed.
Additionally, a new environment variable TELEGRAF_SYSTEM_INTERVAL was
added. This env var controls the rate at which the host list page will
update its red/green status.
2018-01-03 11:52:40 -08:00
Andrew Watkins 8ea050e0bf WIP handle telegrafSystemInterval env 2018-01-03 11:50:34 -08:00
Andrew Watkins b63e0496b5 Update CHANGELOG 2018-01-02 17:40:51 -08:00
Andrew Watkins 924960bbcc Fix positioning of CustomTimeIndicator 2018-01-02 16:35:26 -08:00
Nathan Haugo 711cb48d14 Update package.json 2017-12-22 13:09:03 -08:00
Nathan Haugo 93d8b10870 Bumpversion to 1.4.0.0 2017-12-22 12:59:04 -08:00
Nathan Haugo 23e20f67ba Changelog cleanup for 1.4.0.0 2017-12-22 12:57:04 -08:00
Nathan Haugo dabd2ccb1a Merge pull request #2652 from influxdata/fix/sourcepage_render_styles
Fix SourcePage render & render Page Header for user context when adding initial source
2017-12-22 12:53:31 -08:00
Alex Paxton da2d8a4fbd Merge pull request #2598 from influxdata/single-stat-colors-polish
Single Stat Colors Polish
2017-12-22 12:48:50 -08:00
Jared Scheib a4ccb0db45 Logdate upchange 2017-12-22 12:37:28 -08:00
Jared Scheib a5b3370197 Show Page Header & 'Add a New Source' copy when adding initial source 2017-12-22 12:30:04 -08:00
Jared Scheib 95911f4385 Fix SourcePage styles to render edit source page successfully 2017-12-22 12:30:04 -08:00
Luke Morris 6615a3fb1e This should never have been committed 2017-12-21 12:49:01 -08:00
Nathan Haugo efbb71e9d7 Update version 2017-12-21 11:36:03 -08:00
Nathan Haugo 5340244c0f Merge pull request #2646 from influxdata/feature/1.4.0.0rc2-changelog
Update changelog for release
2017-12-21 11:31:12 -08:00
Nathan Haugo 2b7e9e1deb Update changelog for release 2017-12-21 11:30:31 -08:00
Alex P dbdaa160db Do not require suffix in single stat graph 2017-12-21 00:13:50 -08:00
Alex P 0ad61caab4 Fix color validation logic 2017-12-21 00:13:27 -08:00
Jared Scheib eeae8d398c Merge pull request #2642 from influxdata/bugfix/rls-pls
DE UI fix
2017-12-20 19:04:31 -08:00
Hunter Trujillo 58ced8b03e updoot2 2017-12-20 19:57:17 -07:00
Hunter Trujillo 4c103d8eac Merge branch 'master' into bugfix/rls-pls 2017-12-20 19:56:44 -07:00
Jared Scheib e475fecfca Merge pull request #2632 from influxdata/feature/superadmin_gets_default_role
Give SuperAdmin DefaultRole on PUT /me
2017-12-20 18:07:55 -08:00
Alex P 1ed028f5db Fix merge issues 2017-12-20 18:00:10 -08:00