Commit Graph

2503 Commits (82f571b6454836592da9dc2b444c7a2c6df224a5)

Author SHA1 Message Date
Jade McGough b9e101c831 add example for retention policy 2017-03-14 16:53:41 -07:00
Jade McGough 310f7dc7c5 fix swagger errors, add tags 2017-03-14 16:44:44 -07:00
Jade McGough 141c93bc5f db rp server endpoint objects 2017-03-14 16:05:13 -07:00
Andrew Watkins 5dfb3d3a3e Move local components to independent files 2017-03-14 15:45:39 -07:00
Andrew Watkins 8c11ba392e Introduce addDatabase to store 2017-03-14 15:45:04 -07:00
Jade McGough 460f23c0c0 first whack at db rp server endpoints 2017-03-14 15:31:57 -07:00
Jade McGough be2860af7d db rp documentation WIP 2017-03-14 14:01:28 -07:00
Andrew Watkins 615f94d0f9 Move dbs and rps to redux store 2017-03-14 13:54:54 -07:00
Hunter Trujillo 9a3f46a6e1 Merge pull request #1020 from influxdata/feature/tr-ht-rename-cell
Allow Renaming Cells on Dashboards
2017-03-14 13:42:48 -06:00
Tim Raymond a6254d8368 Update CHANGELOG with edit cell feature [ci skip] 2017-03-14 15:42:02 -04:00
Alex P 71393f4c60 Make Multiselect dropdown open state persist in admin tables 2017-03-14 12:06:11 -07:00
Alex P 5b88af52e1 Fix error in console for using <li> outside of <ul> 2017-03-14 12:05:43 -07:00
Alex P 6b44a5a1cd Capitalize item name in filter bar
Mo’ proppa
2017-03-14 12:05:17 -07:00
Andrew Watkins 47cdc368dd Display db and rp info 2017-03-14 11:51:25 -07:00
Hunter Trujillo 50093d18ff Add singular dashboard assertions to dashboard ui spec. 2017-03-14 11:16:07 -06:00
Hunter Trujillo 86512bda08 Can rename cell by pressing enter key. Clean up in reducers and actions. Added updateDashboardCells reducer, tested. 2017-03-14 11:01:27 -04:00
Tim Raymond aaf49d1d81 Implement NameableGraph as a stateless component
NameableGraph is now a stateless component, with all its ephemeral state
held within Redux. This improves its testability, and two tests have
been added for the two needed Reducer cases.

Also, since NameableGraph's behavior is entirely controlled by its
props, the component itself can be tested, though this has not yet been
done.
2017-03-14 11:01:27 -04:00
Tim Raymond 7bb83ff9a2 Use implicit returns for dashboard action creators
Implicit returns are more concise here, and considered more idiomatic.
Also, async action creators have been collected together and moved
towards the end of the file for ease of navigation.
2017-03-14 11:01:27 -04:00
Tim Raymond 0525a8f938 Fix I/O Burn when editing cell name
Previously, editing a cell name caused a PUT to the API for every
character typed by the user when renaming a cell. This was obviously not
ideal, but kept the initial implementation simple.

This limits PUTs to update cells to only when blur events happen on the
<input>. This is accomplished by maintaining the state of the input
field within the component and using a separate handler for the onBlur
to actually PUT the dashboard using a handler provided by the caller.
2017-03-14 11:01:27 -04:00
Tim Raymond 7ba45852e3 Fix Cell Rename to '' on layout change
`l.name` was being copied from the cells provided by React Grid Layout,
which have no concept of name, which is why this was undefined. This
caused cells to be renamed '' whenever the layout changed or the page
was reloaded.
2017-03-14 11:01:27 -04:00
Tim Raymond 3e42948dbf Alter cell renaming to use Redux for PUT
Cell renaming was previously done without using any of the existing
Redux logic. This goes against the ethos of the rest of the code used
for dashboards. This commit is an initial attempt to bring NameableGraph
into compliance with that.
2017-03-14 11:01:27 -04:00
Tim Raymond d40b9315d2 Implement Cell Renaming on Dashboards
This is an initial implementation of cell renaming on dashboards. It
maintains its state locally to the component and reuses the
onPositionChange handler provided by the DashboardPage container
component to persist changes to the cells.

Redux wasn't used in this implementation because it was something we
wanted to refactor into, which will happen in subsequent commits.

There is a known bug in this implementation where cell names are
overwritten with an empty string when the dashboard initially loads and
when the cell layout changes.
2017-03-14 11:01:27 -04:00
Andrew Watkins c3520806c0 WIP introduce database manager 2017-03-13 18:59:37 -07:00
Andrew Watkins 3da4fa1f5a Merge pull request #1012 from influxdata/feature/ent-validation
bugfix/ent validation
2017-03-13 16:49:34 -07:00
Andrew Watkins f3e22b2a70 Merge pull request #1016 from influxdata/alert-message-polish
Alert Message Polish
2017-03-13 16:48:33 -07:00
Andrew Watkins df02bf2fee Handle creation error 2017-03-13 16:39:06 -07:00
Alex P af313679aa Merge branch 'master' into alert-message-polish 2017-03-13 16:10:04 -07:00
Alex P 2561c9aeaa Move admin page styles to 1 page, join admin tabs to adjacent panel 2017-03-13 16:06:29 -07:00
Alex P ff3853f3f9 Make tables borderless 2017-03-13 15:50:38 -07:00
Alex P b923c04fc5 Make admin pages more space efficient 2017-03-13 15:50:24 -07:00
Andrew Watkins 3f08f69c3e Change replace create with update 2017-03-13 15:19:55 -07:00
Andrew Watkins 74f5961f1a Only display meta url input if enterprise
This also fixes bug #1009.
2017-03-13 15:15:43 -07:00
Andrew Watkins 81f5ca9ebb Make name not required 2017-03-13 15:15:01 -07:00
Chris Goller 01588e0e08 Add ping and detection of influxdb source types 2017-03-13 16:45:05 -05:00
Andrew Watkins 5fb9fb4740 WIP only display metaURL if enterprise server 2017-03-13 14:42:05 -07:00
Andrew Watkins 9a5133577e Change ADMIN order on side nav 2017-03-13 13:28:47 -07:00
Andrew Watkins 97fee065ea Change input type to password 2017-03-13 13:28:26 -07:00
Alex P 9a3377d19a Rearranged rule message UI
Dropdown is at the top, so less likely to push down the page
2017-03-13 11:36:34 -07:00
Regan Kuchan 0f5196ae26 Merge pull request #1002 from influxdata/release-beta5
Update Changelog and Readme for beta5
2017-03-10 19:12:32 -08:00
Regan Kuchan 85a1d5485e Update Changelog and Readme for beta5 2017-03-10 19:11:13 -08:00
Jared Scheib 40af8c976b Merge pull request #993 from influxdata/feature/admin
Add Admin for Users, Roles, Permissions, and Queries for InfluxDB and InfluxEnterprise
2017-03-10 18:45:11 -08:00
Jared Scheib 4e2617ea24 Merge branch 'master' into feature/admin
Conflicts:
	CHANGELOG.md
	enterprise/users.go
	server/admin.go
	server/admin_test.go
	ui/.eslintrc
	ui/src/shared/constants/index.js
	ui/src/store/configureStore.js
	ui/src/style/theme/theme-dark.scss
2017-03-10 18:36:37 -08:00
Jared Scheib e2662922f0 Update changelog 2017-03-10 18:02:29 -08:00
Jared Scheib 45fbeb730a Return errors from AJAX 2017-03-10 17:37:45 -08:00
Jared Scheib da7051a986 Merge pull request #1000 from influxdata/feature/admin-wired_multiselect
Fix data flow from server back into multiselect, add tests
2017-03-10 16:51:48 -08:00
Jared Scheib b71f1b0cd0 Add tests for role create and update, refactor user create test 2017-03-10 16:48:56 -08:00
Jared Scheib b105f94673 Fix update dropdown when adding users, roles, and permissions (except users/roles), rename success actions for use across AJAX update requests, pass through error on AJAX update failure 2017-03-10 16:22:03 -08:00
Chris Goller 07192d89d8 Merge pull request #998 from influxdata/hotfix/fix-user-rolevalidation
Update user's roles validation
2017-03-10 18:10:50 -06:00
Chris Goller a12fb32a2e Update user's roles validation 2017-03-10 18:06:06 -06:00
Chris Goller d846bd9974 Merge pull request #996 from influxdata/feature/check-role-exists
Update roles to check if role already exists
2017-03-10 17:32:06 -06:00