Chris Goller
cce80977ec
Merge branch 'master' into feature/template-variables
2017-04-19 11:10:01 -05:00
Luke Morris
ad656c44cb
Pass templates through to proxy as ‘params’
2017-04-18 16:10:43 -07:00
Luke Morris
02f68fc823
Peel templates off of dashboard
2017-04-18 16:10:14 -07:00
Hunter Trujillo
1266c47a34
Add tag key 🅱️ ropdown.
2017-04-18 16:47:00 -06:00
Alex P
0faf246618
Rename components according to CSS styles
2017-04-18 14:20:51 -07:00
Alex P
81f85c34d1
Polish group by time dropdown
...
styled differently in Rule builder vs DE
2017-04-18 14:09:49 -07:00
Hunter Trujillo
2bb721c690
Fix irregular whitespace linter error.
2017-04-18 14:50:49 -06:00
Hunter Trujillo
666b158139
Ensure initial selection state on database and measurement dropdowns.
2017-04-18 14:49:45 -06:00
Luke Morris
2516f980f1
Make tv fixtures more realistic
2017-04-18 13:11:05 -07:00
Luke Morris
f4711d8399
Factor refreshing graph into its own render function
2017-04-18 13:10:29 -07:00
Alex P
2686fb80c8
Merge branch 'master' into query-builder-style-refactor
2017-04-18 12:08:27 -07:00
Alex P
bbecdfe7fb
Rework rule builder page to use new version of query builder
2017-04-18 12:08:07 -07:00
Andrew Watkins
47dfe25ebc
Introduce template query builders
2017-04-18 12:08:00 -07:00
Alex P
d53f593276
Simplify group by time dropdown
2017-04-18 12:07:08 -07:00
Luke Morris
f812de48a4
Remove unused fetchTimeSeries function
2017-04-18 11:42:16 -07:00
Luke Morris
44938c351d
Basic TVControlBar style polish
2017-04-18 11:20:35 -07:00
Luke Morris
f8cfd01918
Display selected value; disallow selection while loading
2017-04-18 11:20:06 -07:00
Luke Morris
3ead46d0ee
Update fixtures to include selected value
2017-04-18 11:18:19 -07:00
Alex P
e066148d62
Visually join overlay controls and query maker
2017-04-18 11:02:20 -07:00
Alex P
374e468388
Scope responsive query maker styles to the DE
2017-04-18 11:01:43 -07:00
Andrew Watkins
62167e2927
WIP Allow selection of value type
2017-04-18 09:27:34 -07:00
Alex P
0e66ddbb57
Ensures recent changes don't break Overlay Technology
2017-04-17 20:23:40 -07:00
Alex P
bb3320ebc5
Remove unused styles
2017-04-17 19:58:48 -07:00
Alex P
7316914f8d
Clean up query maker responsive styles
2017-04-17 19:57:27 -07:00
Alex P
d9601be0ca
Move lost style to unsorted
2017-04-17 19:57:00 -07:00
Alex P
940230f649
Refactor & Restyle query builder lists and sub-components
2017-04-17 19:38:56 -07:00
Alex P
2ba683781b
Remove excess styles
2017-04-17 18:10:41 -07:00
Jared Scheib
0aad05466b
Persist template variable selection in redux store
2017-04-17 17:51:26 -07:00
Jared Scheib
49675dc816
Start new pattern for defining actionTypes for use with template variables
2017-04-17 17:50:49 -07:00
Alex P
6d24f131af
Update appearance of group by time in field list heading
2017-04-17 17:43:49 -07:00
Alex P
f4be8c8a13
Fix appearance of tag list heading, use flip toggle
2017-04-17 17:43:10 -07:00
Alex P
9567057789
Create sheet for Flip Toggle component
...
Not a JSX component (yet?) just css for now
2017-04-17 17:42:42 -07:00
Alex P
12208c2135
Fix appearance of measurements filter
2017-04-17 17:01:54 -07:00
Alex P
aef085565e
Update style for empty query editor lists
2017-04-17 16:52:37 -07:00
Jared Scheib
812ee57241
Delete SimpleDropdown because it's never used and overlaps with the more sophisticated Dropdown
2017-04-17 14:20:14 -07:00
Hunter Trujillo
cbb1dea764
Fix linter errors.
2017-04-17 14:01:16 -06:00
Jared Scheib
cc24eec9c3
Add test for ME_RECEIVED
2017-04-17 12:24:43 -07:00
Jared Scheib
6f1cc286df
Add test for AUTH_RECEIVED
2017-04-17 12:22:30 -07:00
Hunter Trujillo
75a3c082ab
Stubbed out some Template Variable components
2017-04-17 13:21:47 -06:00
Jared Scheib
8acbc267b9
Add test for AUTH_REQUESTED
2017-04-17 12:19:51 -07:00
Jared Scheib
fa8d76f829
Add auth test for AUTH_EXPIRED
2017-04-17 12:17:45 -07:00
Alex P
86b72aa103
Apply new classnames to query builder list components
2017-04-17 12:14:53 -07:00
Alex P
37107f9724
Make input placeholder text slightly darker
2017-04-17 12:14:17 -07:00
Alex P
a7d8e48708
Replace undefined css variable
2017-04-17 12:14:01 -07:00
Alex P
312806e04d
Rename & move Data Explorer stylesheet
...
Is now “Query Maker”, imports query editor and query builder
2017-04-17 12:13:39 -07:00
Jared Scheib
776f54dd86
Remove unused LOGOUT action
2017-04-17 12:05:23 -07:00
Jared Scheib
4731987694
Add test for errors reducer; update errors reducer to clearer data shape
2017-04-17 11:54:11 -07:00
Jared Scheib
71bd453389
Remove isRequired from editQueryCell propType in DashboardPage
2017-04-17 11:33:03 -07:00
Jared Scheib
acc8edf360
Update syntax + var names + patterns to convention
2017-04-17 11:24:18 -07:00
Jared Scheib
72883c066f
Clean up comments
2017-04-17 11:11:10 -07:00
Jared Scheib
a75a5c8e45
Refactor error middleware to suppress redux actions after auth expires and always show correct logout reason error notification
2017-04-17 10:59:02 -07:00
Jared Scheib
5f1da1af02
Clean up
2017-04-17 10:56:07 -07:00
Jared Scheib
72e6147c45
Don't heartbeat if logged out
2017-04-17 10:55:24 -07:00
Jared Scheib
205771db83
Refactor publishNotification errors into errors middleware
2017-04-14 18:56:36 -07:00
Jared Scheib
1014a4300e
Manually debounce session expiration notification to prevent other notifications from covering logout reason
2017-04-14 18:49:13 -07:00
Alex P
1d34674a5c
WIP Query maker refactor
2017-04-14 18:47:30 -07:00
Alex P
c34a311517
Remove unused styles from graph
2017-04-14 18:47:09 -07:00
Alex P
d777dff17b
Change cursor on page headers
2017-04-14 17:16:02 -07:00
Jared Scheib
704ef45eb6
Add AUTH_EXPIRED reducer; fix AJAX auth links return to make consistent with reducer
2017-04-14 17:01:46 -07:00
Jared Scheib
476b864d53
Use authExpired action; fix session timeout notification logic
2017-04-14 17:01:11 -07:00
Jared Scheib
8cbf135e77
Add AUTH_EXPIRED action creator
2017-04-14 17:00:42 -07:00
Jared Scheib
6ccc71fe96
Add guard against empty auth state in Login render
2017-04-14 16:58:50 -07:00
Jared Scheib
27986dffe7
Fix propType
2017-04-14 16:56:58 -07:00
Andrew Watkins
0cb00b6b06
Add border radius to bottom of TVM
2017-04-14 16:44:23 -07:00
Andrew Watkins
cc05a2f795
Update cursor style for icon
2017-04-14 16:31:11 -07:00
Jared Scheib
24feeeff84
Add comment for unusual AJAX response and error handling
2017-04-14 16:18:43 -07:00
Jared Scheib
14623112dc
Move errorThrown dispatch to action creator instead of component
2017-04-14 16:18:00 -07:00
Jared Scheib
0d8e694ace
Add missing propTypes
2017-04-14 16:17:10 -07:00
Jared Scheib
39827d3f63
Add errorThrown handler to catch, update syntax to convention
2017-04-14 16:16:45 -07:00
Jared Scheib
5f82e1eda3
Add missing propTypes
2017-04-14 16:15:45 -07:00
Andrew Watkins
ab15c0c898
Actually deconstruct proxy
2017-04-14 16:15:34 -07:00
Andrew Watkins
4b55177be0
Make TemplateVariableManager its own SFC
2017-04-14 16:12:09 -07:00
Andrew Watkins
881bee4f1c
Use the power of deconstruction
2017-04-14 15:29:02 -07:00
Andrew Watkins
308dae93e5
Add required proxy link prop to CEO
2017-04-14 15:28:39 -07:00
Andrew Watkins
23ecccb650
Refactor DashboardPage to use js class
2017-04-14 15:28:05 -07:00
Andrew Watkins
f97476780b
Move source context declaration to top level
2017-04-14 15:26:52 -07:00
Andrew Watkins
9bd6d11e68
Add TempVar Manager Overlay
2017-04-14 14:26:36 -07:00
Jared Scheib
d875ea4a4c
Merge remote-tracking branch 'origin/master' into feature/auth-router
2017-04-14 14:10:00 -07:00
Jared Scheib
ada5f74725
Get Login authData from react router rather than via redux
2017-04-14 14:03:00 -07:00
Alex P
03b6b2dda9
Clean up dropdown styles
2017-04-14 13:25:30 -07:00
Alex P
d629c4f228
Move dropdown into their own stylesheet
...
Also move the lone time-range dropdown into dropdown stylesheet
2017-04-14 13:08:18 -07:00
Alex P
2b3b90d15a
Replace variables that reference nothing
2017-04-14 12:54:12 -07:00
Alex P
5e9ead1cd8
Remove excess whitespace
2017-04-14 12:53:26 -07:00
Alex P
78a8dbc821
Remove unused styles
2017-04-14 12:53:00 -07:00
Alex P
e37ae76b8e
Move mixins stylesheet to modules
...
Aiming to simplify, this stylesheet isn’t so great it warrants its own
folder
2017-04-14 12:31:11 -07:00
Alex P
213aa7869c
Add style for full-width no-scroll page headers
...
does not factor in the scrollbar width in the header
2017-04-14 12:29:42 -07:00
Alex P
59a351cab0
Remove unused styles
2017-04-14 12:29:10 -07:00
Alex P
15c16ff3e6
Find home for lost style
2017-04-14 12:28:39 -07:00
Andrew Watkins
8451a9098b
Improve TV control bar styles
2017-04-14 12:09:52 -07:00
Andrew Watkins
835b7ebedb
Add basic TemplateVar UI after minor css refactor
...
Also remove no-longer-used isEdit variable in Dashboard.js
2017-04-14 11:46:24 -07:00
Alex P
06a14cadb5
Remove unnecessary file extension
2017-04-14 10:54:04 -07:00
Alex P
b6b8f8f225
Removing unused stylesheet
2017-04-14 10:53:04 -07:00
Alex P
9834890350
Removing unused stylesheet
2017-04-14 10:50:14 -07:00
Alex P
06f791d965
Remove unused stylesheet
2017-04-14 10:45:52 -07:00
Alex P
ab463ceebe
Move & rename visualization.scss
...
Not in the DE folder, now in components
2017-04-14 10:43:29 -07:00
Alex P
f35f857d2f
Update placeholder copy in alert placeholders
2017-04-14 08:23:16 -07:00
Jared Scheib
2ba9c6df84
Merge remote-tracking branch 'origin/master' into feature/auth-router
...
Conflicts:
ui/src/data_explorer/components/Table.js
ui/src/store/configureStore.js
2017-04-13 22:55:48 -07:00
Jared Scheib
c00749f59f
Refactor most error handling, AJAX, and action creators, and add errorsMiddleware to force user to route to '/login' via errors Action Creator and errors Reducer
2017-04-13 22:21:45 -07:00
Jared Scheib
7f045264ef
Move routing reducer last in redux store
2017-04-13 14:10:20 -07:00
Andrew Watkins
c7e92c262e
Fix function application bug
2017-04-13 14:06:53 -07:00
Jared Scheib
f77acd928c
Update var name to make clearer and fit the conditions when using auth or not
2017-04-13 13:55:07 -07:00
Jared Scheib
d189019999
Fix logout button display logic to match updated redux schema; refactor SideNav into clearer container vs components scheme & make name more semantic
2017-04-13 13:41:06 -07:00
Andrew Watkins
4ef7ff2dc5
Merge pull request #1232 from influxdata/feature/voltron-the-builder
...
Voltron the builder / One Builder to Rule Them All / Make Builder Great Again
2017-04-13 09:49:45 -07:00
Andrew Watkins
4c568b1e10
Update name of View component
2017-04-13 09:38:28 -07:00
Jared Scheib
ff14857430
Refactor '/' onEnter logic into CheckSources; update promises to use async/await syntax
2017-04-12 18:14:27 -07:00
lukevmorris
1b17b260e1
Add default display for an empty dashboard ( #1259 )
...
* Inline Dashboard.renderDashboard; add empty state
* Update CHANGELOG
* Update changelog
2017-04-12 18:11:38 -07:00
Jared Scheib
7c454286de
Update syntax to convention
2017-04-12 18:11:05 -07:00
lukevmorris
d50374c7e9
Replace Kapacitor Alert Endpoint Dropdown with Radio Buttons ( #1258 )
...
* Replace Endpoint Dropdown with Radio Buttons
* Update CHANGELOG
* Update CHANGELOG
2017-04-12 17:48:46 -07:00
Alex P
f4e5c8a75a
Re-arrange raw editor to remove jank
...
- Dropdown inline with status bar
- Dropdown menu wider, aligns to right edge
- Query preview / raw text always the same height (slightly larger)
- Query tabs never gets more wide (more space for schema exploration)
2017-04-12 15:20:02 -07:00
Jared Scheib
4454fabb27
Upgrade react-router to ^3.0.2 to go ahead and iron out any issues and to accommodate refactor of Notifications and SideNavApp to use withRouter so that 'sourceID' and 'location' use can be cleaned up
2017-04-12 15:18:09 -07:00
Jared Scheib
ebf5bd1407
Update some syntax to convention and for consistency around publishNotifications + mapStateToProps + mapDispatchToProps
2017-04-12 14:05:13 -07:00
Jared Scheib
1796c016ab
Add Notifications to Login page
2017-04-12 12:23:01 -07:00
Jared Scheib
869b7864a6
Update session error notification handling to differentiate session time out from not having auth'ed
2017-04-12 12:22:46 -07:00
Jared Scheib
30cc0af300
Fix auth requested dispatch so auth wrapper doesn't show LoadingComponent every heartbeat; fix failed error destructuring
2017-04-12 12:19:20 -07:00
Jared Scheib
e236cc4ad3
Clarify and simplify authentication logic to predicate upon existence of 'me' object in 'auth'
2017-04-12 12:15:04 -07:00
Jared Scheib
b44d062634
Refactor router to require authentication and force logout, add router dependencies with yarn
2017-04-11 19:35:39 -07:00
Andrew Watkins
573716d8a0
Remove makeQueryExecuter middleware
...
LOAD_TIME_SERIES action is not listened to be any reducer in the app.
2017-04-11 12:50:24 -06:00
Andrew Watkins
4e3558a437
Unbind dispatch from fetchTimeSeriesAsync
2017-04-11 12:49:36 -06:00
Chris Goller
d643907a6e
Merge branch 'master' into feature/reverse-kapa
2017-04-11 12:52:49 -05:00
Andrew Watkins
2519bb44fd
Include status in cell editor overlay
2017-04-11 11:01:29 -06:00
Andrew Watkins
f16e9b5074
Update query builder in overlay based on raw text
2017-04-11 09:37:14 -06:00
Andrew Watkins
a69d6cf3ce
Pass editQueryStatus as prop and refactor Visualization
2017-04-11 08:40:49 -06:00
Alex P
a168b5bb46
Make rule builder headers consistent with other page headers
2017-04-10 14:39:06 -07:00
Alex P
1fa668023c
Move editable page header styles into their own sheet
...
Also updating to latest naming scheme
2017-04-10 14:32:44 -07:00
Alex P
c6a99fb400
Remove text transform on page header dropdowns
2017-04-10 14:31:58 -07:00
Alex P
bbe79f1fb4
Make graph tips show default cursor
2017-04-10 14:31:26 -07:00
Alex P
5edeb90a0b
Make page headers regular case
...
No more all caps madness
2017-04-10 14:31:02 -07:00
Andrew Watkins
fdf983a490
WIP fix errors from CellEditorOverlay
2017-04-10 15:29:49 -06:00
Hunter Trujillo
fd672f0f05
Use backend IDs for great justice.
2017-04-10 12:02:09 -06:00
Hunter Trujillo
607004b2e6
Parse raw text with queries endpoint to update builder when a query is updated.
2017-04-10 12:01:36 -06:00
Hunter Trujillo
d49de192f0
Merge branch 'feature/structured-queries' of github.com:influxdata/chronograf into feature/voltron-the-builder
2017-04-10 10:28:12 -06:00
Hunter Trujillo
6fe6699ea1
Fix the error handling for tables and graphs on DE. Use one function to get time series.
2017-04-10 10:21:50 -06:00
Andrew Watkins
3d9f36134b
Update query status state in thunk
2017-04-10 10:21:50 -06:00
Andrew Watkins
e6162243f2
WIP introduce fetchTimeSeriesAsync thunk
2017-04-10 10:21:08 -06:00
Andrew Watkins
468fb246fa
Pass config to raw query editor
2017-04-10 10:21:07 -06:00
Andrew Watkins
c351499177
Change rawStatus to status
2017-04-10 10:21:07 -06:00
Andrew Watkins
91fa6b5458
Lint tests
2017-04-10 10:21:07 -06:00
Andrew Watkins
6680ab9f38
Initial combination of builders
2017-04-10 10:21:07 -06:00
Jared Scheib
4551697ca4
Update propTypes to remove console error for ConfirmButtons
2017-04-07 17:05:52 -07:00
Jade McGough
714a6ce0d3
don't block resubmit attempts after successfully creating source
2017-04-07 15:59:08 -07:00
Jade McGough
a9c5d8f146
pass expected arguments to notify action
2017-04-07 15:59:08 -07:00
Jade McGough
295d05eaba
refactor notifications to work within the App and CreateSource components
2017-04-07 15:58:57 -07:00
Jade McGough
b78041fdf6
add notifications to CreateSource
...
update action creators and AJAX to use proper naming convention
2017-04-07 15:58:18 -07:00
Jade McGough
8e7fd8de2b
lol what's an error message
2017-04-07 15:58:18 -07:00
Jade McGough
718e5fdca2
use updateSourceAction correctly
2017-04-07 15:58:18 -07:00
Jade McGough
5acf147bfe
style cleanup
2017-04-07 15:58:17 -07:00
Jade McGough
8e3e9af73f
refactor CreateSource to use SourceForm
2017-04-07 15:58:17 -07:00
Jade McGough
93b541d65e
remove unused props passed to SourceForm
2017-04-07 15:58:17 -07:00
Jade McGough
4f0550c71d
move page-specific DOM content out of sourceform
...
with '#' will be ignored, and an empty message aborts the commit.
2017-04-07 15:57:52 -07:00
Jade McGough
9c31b7eec8
add insecure SSL option for initial source
2017-04-07 15:14:47 -07:00
Hunter Trujillo
92bf3a2046
Quick fix. Styles duct tape.
2017-04-07 15:58:06 -06:00
Chris Goller
2f01e567c4
Merge branch 'master' into feature/structured-queries
...
Conflicts:
Godeps
LICENSE_OF_DEPENDENCIES.md
server/mux.go
server/routes.go
ui/.eslintrc
2017-04-07 16:06:24 -05:00
Hunter Trujillo
c4bb0f0275
Merge branch 'master' of github.com:influxdata/chronograf
2017-04-07 14:31:05 -06:00
Hunter Trujillo
df7588652f
ResizeContainer only works on a single top-level element.
2017-04-07 14:30:57 -06:00
lukevmorris
af231fdaa0
Use Cell ID returned by the server ( #1222 )
...
* Use ID as returned by the server
* Update CHANGELOG
2017-04-07 13:01:11 -07:00
Andrew Watkins
cce79c77db
Remove prop requirement from onEditRawStatus
2017-04-07 13:53:30 -06:00
Hunter Trujillo
7bedcdcd4d
Merge pull request #1211 from influxdata/flip-the-de
...
Flip the Data Explorer
2017-04-07 13:45:25 -06:00
Hunter Trujillo
d440086ecf
Address issues raised in code review.
2017-04-07 13:36:59 -06:00
lukevmorris
482b5cce39
EditDashboardCell now requires dashboard be provided ( #1225 )
2017-04-07 10:14:45 -07:00
Hunter Trujillo
691dafe1c7
Merge branch 'flip-the-de' of github.com:influxdata/chronograf into flip-the-de
2017-04-07 10:57:32 -06:00
Hunter Trujillo
b3590ea968
Fix px typing issue.
2017-04-07 10:57:22 -06:00
Andrew Watkins
0a75bc1bdc
Merge pull request #1224 from influxdata/more-z-index-tweaks
...
Oops
2017-04-07 10:54:48 -06:00
Andrew Watkins
5b61ff5a11
Merge branch 'master' into feature/meta-query-builder
2017-04-07 10:50:03 -06:00
Luke Morris
c49f02ec5f
More tweaks
2017-04-07 09:24:32 -07:00
Alex P
85bd2d9e62
Remove debug option
2017-04-07 09:09:06 -07:00
Alex P
49164d94dc
Merge branch 'master' into flip-the-de
2017-04-07 09:03:12 -07:00
Alex P
aa5461473c
Prevent dygraphs legend from going off the screen in the DE
2017-04-07 09:02:16 -07:00
Hunter Trujillo
72e0ef14c5
Fix for graph height issue.
2017-04-07 08:24:50 -06:00
Hunter Trujillo
e6438cfadd
Fix FieldList key errors.
2017-04-07 08:08:50 -06:00
Hunter Trujillo
3eed9686b3
Refactor ResizeBottom stateless component.
2017-04-07 08:02:07 -06:00
lukevmorris
94d1cb007d
Fuller DefaultCell; Reference DefaultCell in DefaultDashboard ( #1221 )
...
* Fuller default cell; reference cell in default dashboard
* Update CHANGELOG
2017-04-06 17:44:15 -07:00
lukevmorris
b1b3279396
Dashboard comes from params, not Redux ( #1218 )
...
We removed the `dashboard` key from Redux in favor
of `dashboards`, which contains an array of all
dashboards. This means we have to pass the current
dashboard around to action creators.
2017-04-06 17:07:13 -07:00
Andrew Watkins
a8e52c7f99
CSS tweaks
2017-04-06 18:03:55 -06:00
lukevmorris
e9c5f836b8
Server validates that queries include database + rp ( #1219 )
...
* Server validates that queries include database + rp
* Update CHANGELOG
2017-04-06 16:21:27 -07:00
lukevmorris
af6baff808
These three are siblings now; give them a stacking priority ( #1215 )
2017-04-06 14:30:36 -07:00
Luke Morris
d6fab042ed
Merge branch 'master' into hotfix/1193-influxql-no-quotes
2017-04-06 13:51:15 -07:00
Luke Morris
61b931df11
No need to build a query if rawText exists
2017-04-06 13:46:50 -07:00
Andrew Watkins
8a8cb32a22
Remove unused state
2017-04-06 14:42:18 -06:00
Andrew Watkins
86249db0ec
Add loading animation to admin ui
2017-04-06 14:41:50 -06:00
Alex P
355af7bac2
Add missing comma in stylesheet
2017-04-06 13:41:27 -07:00
Alex P
e5cd03c448
Adjust copy to suit new layout
2017-04-06 13:34:49 -07:00
Alex P
8243ba9130
Make empty columns in query editor fill width
2017-04-06 13:31:56 -07:00
Alex P
91c46d5009
Consolidate duplicate styles
2017-04-06 13:23:02 -07:00
Alex P
f03fe34eda
Fix broken styles from DE flip
2017-04-06 13:20:47 -07:00
Alex P
ee6f695d32
Flip the DE
2017-04-06 13:20:36 -07:00
Alex P
629a7b5912
Prevent query builder tabs from becoming too large
...
Happens when a long query is created
2017-04-06 13:19:45 -07:00
Andrew Watkins
32e05b5bc5
Add some style
2017-04-06 13:34:08 -06:00
Chris Goller
e9ababb0c4
Merge branch 'master' into feature/slack-channels
2017-04-06 14:04:15 -05:00
Andrew Watkins
cea557229f
Insert selected query template into text area
2017-04-06 13:02:45 -06:00
Jared Scheib
887ad6feb6
Merge branch 'master' into feature/1138-hipchat-url-to-subdomain
2017-04-06 11:46:01 -07:00
Jared Scheib
9df1630cf8
Add new auth duration CLI option; add client heartbeat; fix logout ( #1119 )
...
* User can now set oauth cookie session duration via the CLI to any duration or to expire on browser close
* Refactor GET 'me' into heartbeat at constant interval
* Add ping route to all routes
* Add /chronograf/v1/ping endpoint for server status
* Refactor cookie generation to use an interface
* WIP adding refreshable tokens
* Add reminder to review index.js Login error handling
* Refactor Authenticator interface to accommodate cookie duration and logout delay
* Update make run-dev to be more TICKStack compliant
* Remove heartbeat/logout duration from authentication
* WIP Refactor tests to accommodate cookie and auth refactor
* Update oauth2 tests to newly refactored design
* Update oauth provider tests
* Remove unused oauth2/consts.go
* Move authentication middleware to server package
* Fix authentication comment
* Update authenication documentation to mention AUTH_DURATION
* Update /chronograf/v1/ping to simply return 204
* Fix Makefile run-dev target
* Remove spurious ping route
* Update auth docs to clarify authentication duration
* Revert "Refactor GET 'me' into heartbeat at constant interval"
This reverts commit 298a8c47e1
.
Conflicts:
ui/src/index.js
* Add auth test for JWT signing method
* Add comments for why coverage isn't written for some areas of jwt code
* Update auth docs to explicitly mention how to require re-auth for all users on server restart
* Add Duration to Validation interface for Tokens
* Make auth duration of zero yield a everlasting token
* Revert "Revert "Refactor GET 'me' into heartbeat at constant interval""
This reverts commit b4773c15af
.
* Rename http status constants and add FORBIDDEN
* Heartbeat only when logged in, notify user if heartbeat fails
* Update changelog
* Fix minor word semantics
* Update oauth2 tests to be in the oauth2_test package
* Add check at compile time that JWT implements Tokenizer
* Rename CookieMux to AuthMux for consistency with earlier refactor
* Fix logout middleware
* Fix logout button not showing due to obsolete data shape expectations
* Update changelog
* Fix proptypes for logout button data shape in SideNav
2017-04-06 11:40:57 -07:00
Hunter Trujillo
bdb895eec2
Fix HipChat placeholder typo.
2017-04-06 12:27:32 -06:00
Hunter Trujillo
70067efd77
Template HipChat subdomain into URL. Pull subdomain out when loading Kapacitor sections into UI.
2017-04-06 12:27:09 -06:00
Andrew Watkins
5f00982b20
Add query template dropdown
2017-04-06 12:26:59 -06:00
lukevmorris
e1cd82cf1d
Move Rename Cell functionality to ContextMenu dropdown; Restyle cell header ( #1199 )
...
* Experiments
* Attach Cell Renaming to NameableGraph ContextMenu option
* Polish styles for Cell Name input field + draggable state
* Update CHANGELOG
2017-04-06 10:37:40 -07:00
Chris Goller
eb33d35a0b
Add slack channel override per alerting rule.
2017-04-06 00:33:50 -05:00
Chris Goller
453c6aa582
Update influxql.js to use lodash in case of null tags
2017-04-05 23:19:15 -05:00
Luke Morris
c6f91b77a0
handleUpdatePosition matches handleRenameDashboard
2017-04-05 17:33:55 -07:00
Andrew Watkins
2f636a9fc2
Fix ghost dashboards ( #1186 )
...
* Fix ghost dashboards
* Remove dashboard key from reducer
* Remove dashboard key from state
* Update CHANGELOG
2017-04-05 15:19:36 -07:00
Hunter Trujillo
9e029ddf9c
Merge pull request #1189 from influxdata/bugfix/1146-click-outside-graph-name
...
Prevent Blur when Clicking Inside Graph Name
2017-04-05 15:47:58 -06:00
lukevmorris
970cab1743
Repair QueryBuilder in Safari ( #1178 )
...
* Repair QueryBuilder in Safari
* Margin was moved to .query-builder
* Update CHANGELOG
2017-04-05 14:29:19 -07:00
lukevmorris
3fec336dd4
Replace Kill Query confirmation Modal with ConfirmButtons ( #1187 )
...
* Extract QueryRow; replace modal with ConfirmButtons
* Untabify
* Update CHANGELOG
2017-04-05 13:34:17 -07:00
Hunter Trujillo
c65acf2736
Blur the cell header edit field when Esc is pressed.
2017-04-05 10:30:44 -06:00
Hunter Trujillo
bace483af4
Don't close cell headers when editing.
2017-04-05 10:03:28 -06:00
Alex Paxton
8e0dfa43f4
Merge pull request #1175 from influxdata/cursor-browser-test
...
RIP Custom Cursors
2017-04-04 21:18:57 -07:00
lukevmorris
2550617d8c
Admin Databases Page should be sorted alphabetically ( #1185 )
...
* Sort DBs by name
* Sort RPs alphabetically
* Update CHANGELOG
2017-04-04 20:43:47 -07:00
Luke Morris
d0a9328bfe
Missed one
2017-04-04 20:43:15 -07:00
Alex P
571a786227
Remove custom cursors
2017-04-04 17:41:42 -07:00
Andrew Watkins
982ff7d877
Remove switch statement
2017-04-04 17:11:48 -07:00
Chris Goller
59281e2c1c
Merge pull request #1182 from influxdata/hotfix/979-no-rp
...
Update schema exploration to support non-default rp
2017-04-04 18:11:36 -05:00
Chris Goller
e3c07e1797
Add checks for null retention policies in meta queries
2017-04-04 17:42:30 -05:00
lukevmorris
3edd1bf52c
Experiment with fewer stacking contexts ( #1166 )
2017-04-04 15:27:49 -07:00
Andrew Watkins
c507c55b2d
Merge pull request #1081 from influxdata/console-power
...
Introduce Raw Query Editor Admin Console UI
2017-04-04 15:22:15 -07:00
Andrew Watkins
88be3aa6bc
Pull out ternary into separate function property
2017-04-04 14:55:53 -07:00
Andrew Watkins
48ba07c422
Remove magic number
2017-04-04 14:50:11 -07:00
Andrew Watkins
8c11557281
Be the change
2017-04-04 14:48:22 -07:00
Andrew Watkins
95a786f83d
Pew Pew ;
2017-04-04 14:46:55 -07:00
Andrew Watkins
0606bbdd4f
Consolidate switch statement
2017-04-04 14:46:16 -07:00
Andrew Watkins
f8a03e2f88
Add comments to elucidate various influxQL states
2017-04-04 14:42:59 -07:00
Andrew Watkins
bc922215a3
Use quotes instead of backticks
2017-04-04 14:38:07 -07:00
Andrew Watkins
016a4cba9e
Pull strings into consts
2017-04-04 14:37:24 -07:00
Chris Goller
c3e1ada594
Update schema exploration to support non-default rp
2017-04-04 16:29:14 -05:00
Jared Scheib
45e8a5f1c8
Fix saving email in Kapacitor alerts ( #1173 )
...
* Fix Kapacitor Rules bug to now save user input data on an Alert Message
* Update changelog
2017-04-04 12:28:01 -07:00
Alex P
a0c39ca17c
Use more supported .cur format instead of .png
2017-04-04 12:22:47 -07:00
Alex P
1ac78833c0
Remove unused webpack files. -H
2017-04-04 12:22:23 -07:00
Luke Morris
69edea39fa
Bump CHANGELOG
2017-04-04 11:00:27 -07:00
Luke Morris
d497dbf758
rawText queries should have blank labels for now
2017-04-03 17:22:48 -07:00
Luke Morris
271728d3bf
If InfluxQL, use rawText for label and query
2017-04-03 13:49:35 -07:00
Andrew Watkins
98fef831bb
Fix portion of table being blocked from view
2017-04-03 13:48:59 -07:00
Andrew Watkins
155f1444b4
Improve copy
2017-04-03 13:42:55 -07:00
Andrew Watkins
7199d562e1
Improve no query state for table
2017-04-03 13:27:07 -07:00
Andrew Watkins
e5d638e231
Remove requirement from prop
2017-04-03 13:26:47 -07:00
Andrew Watkins
581dfcbce2
Make query required in table and remove redundancy
2017-04-03 13:10:06 -07:00
Andrew Watkins
d3643f88a4
Change empty how we handle empty state
2017-04-03 13:10:05 -07:00
Andrew Watkins
9d4a047ca9
Handle empty rawText case
2017-04-03 13:10:05 -07:00
Andrew Watkins
73f6f286cc
Fix spacing on input with no status
2017-04-03 13:10:05 -07:00
Andrew Watkins
1c730a25ef
Handle empty results
2017-04-03 13:10:05 -07:00
Andrew Watkins
1aa7b4770a
Start query editor with placeholder text
2017-04-03 13:10:05 -07:00
Alex P
20ca434e97
Clean up styles
2017-04-03 13:10:05 -07:00
Alex P
dba23a8ff1
Remove vestiges of "active" graphs in DE styles
2017-04-03 13:10:05 -07:00
Alex P
e8698d376c
Make DE table empty state more readable
2017-04-03 13:08:41 -07:00
Alex P
dbc3c411e0
Style raw text status bar
...
is responsive
2017-04-03 13:08:41 -07:00
Alex P
88df7e99bc
Change editor queries to be blue
2017-04-03 13:08:41 -07:00
Alex P
bd2b630ffd
Disable text selection in query editor empty states
2017-04-03 13:08:41 -07:00
Alex P
822f8b3b44
Make builder queries vertically centered (again)
2017-04-03 13:08:41 -07:00
Alex P
4de5c55b63
Make query tab delete buttons scale with everything else
...
They looked mad tiny on big screens
2017-04-03 13:08:41 -07:00
Alex P
1ba8b99014
Make visualization toggle capitalized
2017-04-03 13:08:40 -07:00
Alex P
adb2de0504
Make query builder query tabs allow for more text before truncating
2017-04-03 13:08:40 -07:00
Andrew Watkins
170b15a3f0
Update table CSS
2017-04-03 13:08:40 -07:00
Andrew Watkins
3a4c955474
Remove MultiTable
2017-04-03 13:08:40 -07:00
Andrew Watkins
afde7fcf69
Change tabs in the table when builder changes tabs
2017-04-03 13:08:40 -07:00
Andrew Watkins
3183544f6b
Update some primatives to use constants
2017-04-03 13:08:40 -07:00
Andrew Watkins
53f9b806ac
Not change view state if query is the same
2017-04-03 13:08:40 -07:00
Andrew Watkins
9ba0f87151
Show table when query editor is selected
2017-04-03 13:08:40 -07:00
Andrew Watkins
8f3d036951
Add warn status type to rawStatus
2017-04-03 13:08:40 -07:00
Andrew Watkins
5eae6463ca
Add warn status type to rawStatus
2017-04-03 13:08:00 -07:00
Andrew Watkins
b942b15aaf
Pull list items onto variable
2017-04-03 13:08:00 -07:00
Andrew Watkins
7670558202
Improve builder semantics
2017-04-03 13:08:00 -07:00
Andrew Watkins
0fd98ee1d1
Fix linter errors
2017-04-03 13:08:00 -07:00
Andrew Watkins
fc4a5c57a9
Display errors in admin console
2017-04-03 13:08:00 -07:00
Andrew Watkins
bef987023a
Introduce editRawQueryStatus action
2017-04-03 13:08:00 -07:00
Andrew Watkins
78615099e9
Bubble AJAX errors up to fetchTimeSeries
2017-04-03 13:06:06 -07:00
Andrew Watkins
359ff48077
Allow user to type :)
2017-04-03 13:06:06 -07:00
Andrew Watkins
0d26936a14
Include missing prop
2017-04-03 13:06:06 -07:00
Andrew Watkins
3beaa3c7a0
Fix spacing
2017-04-03 13:06:06 -07:00
Andrew Watkins
cb7ec4fa6e
Keep focus on enter while preventing new line
2017-04-03 13:06:06 -07:00
Andrew Watkins
ee24c0d2b1
Remove console option
2017-04-03 13:06:06 -07:00
Andrew Watkins
2c4676a26b
Add vis header and console tab
2017-04-03 13:06:06 -07:00
Andrew Watkins
248dcb757a
Create vis header
2017-04-03 13:06:05 -07:00
Hunter Trujillo
2d5a5e0445
Fix kapacitor form submit bug.
2017-04-03 10:49:41 -06:00
Hunter Trujillo
f4af30c26b
Small refactor for ES6ness.
2017-04-03 10:49:25 -06:00
Jade McGough
d2e9cd7821
Merge pull request #1152 from influxdata/column-widening
...
widen single column to entire table width (#1123 )
2017-04-01 11:38:10 -07:00
Jade McGough
95cabba40f
make linter happy
2017-03-31 18:56:32 -07:00
Andrew Watkins
cd68c6cae8
Merge pull request #1124 from influxdata/some-amount-of-polish
...
Some Amount of Polish
2017-03-31 16:56:45 -07:00
Andrew Watkins
007219f901
Merge pull request #1151 from influxdata/bugfix/threshold-value
...
Bugfix/threshold value
2017-03-31 16:48:57 -07:00
Alex Paxton
d59487b00c
Merge branch 'master' into some-amount-of-polish
2017-03-31 16:22:42 -07:00
Alex P
beddd2f82d
Polish dash cell dragging interaction
2017-03-31 15:59:10 -07:00
Alex P
29d681e851
Change DE page title to match corresponding navbar label
2017-03-31 15:39:27 -07:00
Jade McGough
e27317cdd1
widen single column to entire table width ( #1123 )
2017-03-31 15:32:05 -07:00
Alex P
ab7fbe754f
Make dash renaming more clear
2017-03-31 15:27:16 -07:00
Alex P
13d528a9ed
Make Add Cell button in dash more obvious for new users
2017-03-31 15:27:06 -07:00
Alex P
82f571b645
Use graphTips component in dash header & DE header
2017-03-31 15:26:45 -07:00
Alex P
8c7e787f84
Give icons in buttons some more generous spacing
2017-03-31 15:25:23 -07:00
Alex P
1de362e04a
Change style of Source Indicator such that it does not look like a button
2017-03-31 15:25:08 -07:00
Alex P
0b76c8685e
Create GraphTips component
2017-03-31 15:24:37 -07:00
Alex P
f9f5980c82
Fix #1106
2017-03-31 14:46:39 -07:00
Jade McGough
4cbe22d816
cleanup function
2017-03-31 14:45:53 -07:00
Alex P
8c7549fdc4
Move graph refreshing spinner to top-center of graph
...
Looks nice in all contexts, does not overlap with anything
2017-03-31 14:41:37 -07:00
Alex P
a07c86bfaa
Make dashboards table conform to reveal-on-hover pattern
2017-03-31 14:28:30 -07:00
Alex P
82b817c762
Make admin queries table conform to reveal-on-hover pattern
2017-03-31 14:24:27 -07:00
Alex P
04bf17c02e
Polish DB Management page
2017-03-31 14:03:39 -07:00
Alex P
500d144634
Make input placeholders more legible
2017-03-31 12:42:50 -07:00
Andrew Watkins
e4369549eb
Refactor tests
2017-03-31 12:22:03 -07:00
Alex P
9e6fb2f207
Style password change interaction
2017-03-31 12:16:07 -07:00
Alex P
b1ca55e316
Prevent admin panel from appearing shorter than the admin tabs
2017-03-31 12:15:50 -07:00
Alex P
e71756725c
Use odd number for question mark icon size
...
Looks more centered
2017-03-31 11:46:24 -07:00
Jade McGough
6e4a139aeb
remove comment
2017-03-31 11:35:28 -07:00
Jade McGough
ce08d884d4
exit presentation mode when path changes
2017-03-31 11:31:08 -07:00
Andrew Watkins
6e2672d520
Add tests
2017-03-31 10:57:00 -07:00
Alex P
ec8a8af878
Style question mark tooltips
2017-03-31 09:49:56 -07:00
Alex P
833f9442fc
Add line breaks in kap tooltip copy for legibility
...
Also reduced width of Tooltip
2017-03-31 09:49:47 -07:00
Alex P
f9a12f7223
Fix rogue mouse cursor on form labels
2017-03-31 09:49:19 -07:00
Alex P
a4d3056402
Merge branch 'master' into some-amount-of-polish
2017-03-31 09:10:36 -07:00
Andrew Watkins
90e2874287
Fix padding bug
2017-03-30 18:40:52 -07:00
Andrew Watkins
1ac908888e
Fix tests for new approach
2017-03-30 18:40:37 -07:00
lukevmorris
f1937c75dc
Clean up Kapacitor Alert configuration for HipChat ( #1137 )
...
* Text and placeholder updates
* Peel types off PropTypes
* Revert to parseMode
* Update copy to be more descriptive of resulting behavior
* Add question mark tooltips to Chat ID and Token
* Expand tooltips to be hoverable with clickable contents
* Extract QuestionMarkComponent to its own file
* Update CHANGELOG
* url is never changed, so omit this field
* Extract constants to their own file
* Refactor PropTypes
* Clear up Kapacitor Alert HipChat configuration
* Update CHANGELOG
* your-room => room
* Extract this tooltip to its own file
* Reorder CHANGELOG entries
2017-03-30 17:01:25 -07:00
Jared Scheib
ae00aa16a0
Fix Kapacitor Telegram config to display correct disableNotification setting ( #1142 )
...
* Fix render value for disableNotification
* Update changelog
2017-03-30 16:58:01 -07:00
lukevmorris
184235db27
Clean up Kapacitor Alert configuration for Telegram ( #1135 )
...
* Text and placeholder updates
* Peel types off PropTypes
* Revert to parseMode
* Update copy to be more descriptive of resulting behavior
* Add question mark tooltips to Chat ID and Token
* Expand tooltips to be hoverable with clickable contents
* Extract QuestionMarkComponent to its own file
* Update CHANGELOG
* url is never changed, so omit this field
* Extract constants to their own file
2017-03-30 16:23:51 -07:00
Andrew Watkins
d9f8208dc3
Lint fix all tests
2017-03-30 15:57:33 -07:00
Andrew Watkins
c0f9964a29
Remove series highlighting
2017-03-30 15:57:33 -07:00
lukevmorris
7bb955baa3
Active sidebar items should have a blue indicator ( #1132 )
...
* NavBlocks without NavListItem children are valid
Some sidebar NavBlocks consist of just a header,
and clicking on that header should mark the NavBlock
as active
* Update CHANGELOG
* Leverage markdown to cut down on merge conflicts
2017-03-30 11:27:51 -07:00
Alex P
2461ea76c9
Make react grid placeholders appear at actual size
...
Was a couple pixels off before
2017-03-30 11:01:19 -07:00
Alex P
bf655e7aeb
Make default source indicators darker for contrast
2017-03-30 11:01:00 -07:00
Hunter Trujillo
2e52adfc61
Merge branch 'master' into feature/1054-alert-history-spinner
...
# Conflicts:
# ui/src/alerts/containers/AlertsApp.js
2017-03-30 10:16:58 -06:00
Hunter Trujillo
5847c50dfc
Add simple loading spinner to kapacitor Alert History page.
2017-03-30 10:13:03 -06:00
Andrew Watkins
84d1fc6d47
Merge pull request #1109 from influxdata/feature/alert-time
...
Alert time range
2017-03-30 09:12:23 -07:00
Alex P
b2d5410e8c
Style custom time range component
2017-03-30 08:14:58 -07:00
Alex P
bf71511d0e
Change dropdown scrollbar type to "Round"
2017-03-30 08:14:58 -07:00
Alex P
3791de473c
Add 2nd kind of scrollbar mixin
...
Square corners vs round, good for dropdowns
2017-03-30 08:14:58 -07:00
Andrew Watkins
60f0a5c4e4
Semicolon destruction
2017-03-30 08:14:58 -07:00
Andrew Watkins
5aa585b69c
Refactor to js class
2017-03-30 08:14:58 -07:00
Alex P
d1f8365d9b
Give time range caret more breathing room
2017-03-30 08:14:02 -07:00
Alex P
dd5b14c71e
Change "to" to an em dash
...
Mo’ elegant
2017-03-30 08:14:02 -07:00
Alex P
52d35e2c43
Resolve conflict
2017-03-30 08:14:02 -07:00
Andrew Watkins
96d69ce1c0
Format time display
2017-03-30 08:14:01 -07:00
Andrew Watkins
55c52c9baf
Enable date picker for alerts page
2017-03-30 08:14:01 -07:00
Jade McGough
7389167e76
Change password ( #1120 )
...
Add ability to change a user's password via Admin page
2017-03-29 17:40:46 -07:00
Hunter Trujillo
f7c5e0f2e2
Fix visualizations not showing graph name ( #1125 )
...
* Pass cell name through to Visualization component.
* Rename Header components in Dashboard page to better match their actual component names.
* Update changelog.
* Fix number on update changelog
2017-03-29 17:39:20 -07:00
Andrew Watkins
172c8369ad
Set default time for alerts page
2017-03-29 16:39:39 -07:00
Alex P
24d7593af5
Make filter bar buttons same size as create DB button
2017-03-29 16:39:14 -07:00
Alex P
feb89dda2d
Make custom time range's visibility toggleable
2017-03-29 16:38:17 -07:00
Andrew Watkins
bd4bd64bd5
Collect selected time ranges
2017-03-29 16:37:02 -07:00
Andrew Watkins
03b8c659ce
WIP Introduce date time picker
2017-03-29 16:37:02 -07:00
Alex P
34316a5f45
Fix #1083
2017-03-29 16:35:53 -07:00
Alex P
a468668f35
Clean up dashboards table
2017-03-29 16:35:14 -07:00
Jared Scheib
2510388651
Refactor some notifications to use consolidated dispatcher in Admin and Dashboards ( #1116 )
...
* Separate notification dispatchers from actions, share constants, simplify, clean up
* Replace 'addFlashMessage' with 'notify' pattern throughout Admin and Dashboards, clean up
* Remove semicolons
* Notify success upon AJAX success
2017-03-29 16:06:31 -07:00
Hunter Trujillo
cd8df84db8
The line must be drawn here. This far, no further.
2017-03-29 14:03:52 -06:00
Hunter Trujillo
fbd0ee84e3
Ran eslint fix on current codebase. Only file affected was this.
2017-03-29 13:59:32 -06:00
Jared Scheib
36cc368bf1
Auto-dismiss notification
2017-03-29 11:23:46 -07:00
Jared Scheib
cb5f6fbdc8
Use try/catch with async/await
2017-03-29 10:55:16 -07:00
Jared Scheib
627d65e39f
Use simpler destructuring shorthand
2017-03-29 10:53:44 -07:00
Jared Scheib
ed564e4ed3
Add tests for deleteDashboard and deleteDashboardFailed
2017-03-28 20:03:33 -07:00
Jared Scheib
e8b119f405
Rename action on delete dashboard failed to follow effect style rather than affect
2017-03-28 19:37:35 -07:00
Jared Scheib
6a39277a40
Fix DashboardPage to handle null values for and until loaded
2017-03-28 19:03:15 -07:00
Jared Scheib
b9b28da860
Refactor DashboardsPage to load dashboards via action creator and to use mapStateToProps so delete is Reactive
2017-03-28 18:30:34 -07:00
Jared Scheib
c2c805a596
DashboardsPage can now delete a dashboard (tho not reflected in UI except on refresh)
2017-03-28 17:51:34 -07:00
Jared Scheib
5b7d6bd0ae
Merge remote-tracking branch 'origin/master' into 1107-refactor_delete_row
2017-03-28 16:07:10 -07:00
Jared Scheib
840f8aa472
Rename component to follow convention
2017-03-28 16:06:37 -07:00
Jared Scheib
06117edae3
Share ConfirmButtons among pages
2017-03-28 16:02:49 -07:00
Jared Scheib
1fb2b283da
Refactor DeleteConfirmButtons as shared component, compose as DeleteConfirmTableCell, clean up
2017-03-28 15:59:22 -07:00