Commit Graph

7370 Commits (b4ecdf3c5ee8bbd66f5412076882715f93d0f924)

Author SHA1 Message Date
Nathan Haugo ec0229cdf3 Merge pull request #2781 from influxdata/feature/user-cli-commands
Add commands to users & create superadmin
2018-02-08 15:49:37 -08:00
Alex Paxton 73f579b6bd Merge branch 'master' into single-stat-polish 2018-02-08 15:41:26 -08:00
Alex P da5ed7083e Fix all kinds of weird bugs
I don’t even know how to describe what is going on, brain is melted
2018-02-08 15:40:20 -08:00
ischolten 260866d3c2 Merge pull request #2782 from influxdata/feature/global-users
Global Users page bug fixes
2018-02-08 15:04:57 -08:00
Iris Scholten ffbe628d18 keep track of only the single role instead of an array of one role in AllUsersTableRowNew and update the add user reducer so that it appends the new user instead of prepends them 2018-02-08 14:55:56 -08:00
Alex P fbc2e7a52f Make unreachable code reachable 2018-02-08 14:28:08 -08:00
Alex P 0df8d341e5 Improve handling of single stat coloring
Previously would return some undesirable defaults when certain
conditions are met (eg. a user with a single stat + line graph upgrades
to this new version)
2018-02-08 14:04:33 -08:00
Alex P c5fd1a57ca Make singleStat shadow less drastic 2018-02-08 14:00:18 -08:00
Iris Scholten 98a4a04b21 add comments to explain the comparing to nullorg/nullrule when adding new users via the global users page 2018-02-08 12:46:02 -08:00
Deniz Kusefoglu 49dec4c83a Merge pull request #2780 from influxdata/bugfix/alert-rule-save-routing
Bugfix/alert rule save routing
2018-02-08 12:35:34 -08:00
deniz kusefoglu 326cbd2657 Simplify nested if else statements 2018-02-08 12:35:04 -08:00
deniz kusefoglu 95c24ef14b take onSave out of render and rename to handleSave 2018-02-08 12:27:04 -08:00
Alex P 32d4c41927 Updoot log of changes 2018-02-08 11:26:41 -08:00
Alex P 5cedcecebd Save single stat colorization when single stat + line graph is chosen 2018-02-08 11:14:51 -08:00
Alex P 8d095d1bb3 Connect line graph prefix and suffix to child single stat 2018-02-08 11:12:19 -08:00
Alex P 1de16619be Fix logic in single stat coloration getter
Sometimes results in a situation where coloration state gets set to a
weird value, which seems to be a factor in the auto refresh bug
2018-02-08 11:02:34 -08:00
Luke Morris c270b3371d Pseudo code for removal of Public 2018-02-08 10:59:54 -08:00
Iris Scholten 2f12f73074 change row key from id to uuid 2018-02-08 10:42:32 -08:00
Chris Goller f07173cf0d Merge pull request #2784 from influxdata/feature/go-1.9.4
Update to go 1.9.4
2018-02-08 10:33:02 -06:00
Chris Goller 14ec3cf2aa Merge pull request #2785 from influxdata/er-go-bindata
Update jteeuwen/go-bindata to kevinburke/go-bindata
2018-02-08 10:29:34 -06:00
Michael Desa 0f4e62ff4f Add Changelog entry for PR 2781 2018-02-08 10:44:49 -05:00
Michael Desa 8415e48165 Add commands to users & create superadmin
This PR introduces two new commands:

1. `list-users` which lists all users in boltdb
2. `add-superadmin` which can be user to promote existing users to
superadmins, or creates new users that are superadmins

Currently this work was done as a separate binary, but the intention is
to make it a part of the `chronograf` binary.

Connect https://github.com/influxdata/chronograf/issues/2744
2018-02-08 10:44:49 -05:00
Edd Robinson e7e6cf7cd5 😱 2018-02-08 15:41:29 +00:00
Chris Goller aee50f036d Update CHANGELOG.md to mention updating to go 1.9.4 2018-02-08 09:00:30 -06:00
Edd Robinson 7c11273755 Switch jteeuwen/go-bindata for kevinburke/go-bindata 2018-02-08 14:55:07 +00:00
Alex P 90b36ebc76 Remove console log 2018-02-07 19:19:04 -08:00
Alex P 1b63e36ab1 Reintroduce shadow behind text in single stat + line graph 2018-02-07 19:15:46 -08:00
Alex P f6b8d37c10 Fix all kinds of problems
Line + SingleStat works now
2018-02-07 18:50:37 -08:00
Alex P 5dc6cd4852 Use separate state for gauge and single-stat colors and introduce concept of base color in single-stat
Somewhat easier to reason through the code, although bulkier. The
feature should now mimic the previous appearance of single-stat graphs
by default (aka blue text)
2018-02-07 17:03:19 -08:00
Chris Goller fb6b674556 Update to go 1.9.4 2018-02-07 17:58:23 -06:00
deniz kusefoglu 70479c48b9 small fixes from PR review to pull request #2757 2018-02-07 15:24:32 -08:00
Deniz Kusefoglu 66f2a48540 Merge pull request #2757 from influxdata/bugfix/kapacitor-test-button-errors-SMTP
Bugfix/kapacitor test button errors smtp
2018-02-07 15:21:23 -08:00
Iris Scholten b0159aa5eb add users without a specified organization 2018-02-07 14:47:12 -08:00
Iris Scholten 5acdd74211 let users add users to any organization and add additional orgs after the fact 2018-02-07 12:32:44 -08:00
Alex Paxton 9bc288de04 Merge pull request #2774 from influxdata/ceo-escape
Add handy hotkeys to CEO
2018-02-07 12:25:10 -08:00
deniz kusefoglu cc4b3c1bbc changelog 2018-02-07 12:11:48 -08:00
Alex P 007cb0df33 Fix appearance of single static legend item
Previously it suggested that it can be clicked, but actually does
nothing. There is no hover state for this case
2018-02-07 12:07:46 -08:00
deniz kusefoglu 1eb36c340d Route user to appropriate config panel at create and edit 2018-02-07 11:59:40 -08:00
deniz kusefoglu f03a698ccc Prevent click event being passed to handleCreate and handleEdit 2018-02-07 11:58:31 -08:00
deniz kusefoglu 61e4e08991 Rename link to pathname 2018-02-07 11:56:31 -08:00
Alex P 167c90d6e1 Ensure that static legend is accounted for in dashboard view as well
I guess we need both methods! woooo
2018-02-07 11:49:12 -08:00
Alex P 667a7cb76d Fix render delay when static legend is toggled 2018-02-07 11:45:02 -08:00
Alex P ff61b08a3d Blur then save when command+enter is hit while child input or textarea is focused 2018-02-07 11:29:46 -08:00
Alex P ebe25e6ac2 Blur child inputs or textareas when escape key pressed 2018-02-07 11:29:07 -08:00
Alex P d2e5a2bd86 Rename handler to match event 2018-02-07 10:26:48 -08:00
Alex P a9d85dc02c Simplify detection of meta key in tandem with enter key
Thanks @lukevmorris for the tip
2018-02-07 10:21:13 -08:00
deniz kusefoglu a779c8181a Fix static legend click behavior in cell editor overlay 2018-02-07 10:13:32 -08:00
Alex Paxton 45b4469974 Merge branch 'master' into ceo-escape 2018-02-07 10:10:42 -08:00
Iris Scholten 7092a292fb remove the ID column from the ui 2018-02-07 09:54:25 -08:00
Michael Desa a4b1522c38 Merge pull request #2777 from influxdata/feature/allow-self-delete
Allow user to delete themselves
2018-02-07 12:01:47 -05:00