Alex P
bf3ce3ed4c
Add button for switching between dashboards
2017-10-20 13:53:07 -07:00
Alex P
ae7506f7af
Removed unused prop
2017-10-20 13:51:37 -07:00
Andrew Watkins
62eac78f7b
Merge pull request #2143 from influxdata/cleanup/prebuilt-warning
...
Fix prebuilt warning with webpacks noParse
2017-10-20 13:35:20 -07:00
Michael Desa
ee255f319d
Add missing returns in http hanlder methods
2017-10-20 15:42:51 -04:00
Michael Desa
b5e73dfd46
Add CRUD routes for organizations
2017-10-20 15:42:34 -04:00
Andrew Watkins
f71c1de859
Merge pull request #2103 from influxdata/dashboard-manual-refresh
...
[WIP] Manual Refresh Button
2017-10-20 12:02:00 -07:00
Andrew Watkins
9141812b47
Fix prebuilt warning with webpacks noParse
2017-10-20 12:01:41 -07:00
Andrew Watkins
9df2b9646f
Update CHANGELOG
2017-10-20 11:45:31 -07:00
Andrew Watkins
a3ab344602
Move ManualRefresh functionality into HOC
...
Didn't want to repeat the same logic for
DashboardPage, DataExplorer, and HostPage. Moved manualRefresh state
and handler into an HOC.
2017-10-20 11:41:21 -07:00
Andrew Watkins
437cc611ee
Add manual refresh to DataExplorer
2017-10-20 10:59:34 -07:00
Michael de Sa
faac66a9bd
Nest resources under Organizations
...
For each organization, we create a set of buckets for each associated
resource (sources, servers, layouts, and dashbaords).
The bucket name is the path join of the resource bucket name and the
oranizations name. If the organizations name is empty, then the bucket
name is the resource bucket name (this is backwards compatible with how
resources are currently stored).
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-20 13:50:19 -04:00
Andrew Watkins
dc367a67f6
Move comment
2017-10-20 10:11:41 -07:00
Andrew Watkins
a8185071cc
Remove unused prop
2017-10-20 10:09:52 -07:00
Michael Desa
de6ae41c60
Implement basic bolt OrganizationsStore
2017-10-20 11:13:13 -04:00
Jared Scheib
41386ca546
Add bolt implementation of OrganizationsStore
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-20 09:17:00 -05:00
Michael de Sa
30096623f9
Define Organization and OrganizationsStore
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-20 10:10:38 -04:00
Hunter Trujillo
5ddcdacb42
Fixes for PR review.
2017-10-20 01:12:40 -06:00
Hunter Trujillo
2f34d644c2
Add missing proptype due to merge.
2017-10-19 16:01:56 -06:00
Hunter Trujillo
7561f0a7c3
Merge commit 'd384c4f858f7e60cae27a26be6eca5ee338c765c' into dashboard-manual-refresh
...
# Conflicts:
# ui/src/dashboards/containers/DashboardPage.js
# ui/src/shared/components/AutoRefresh.js
2017-10-19 15:57:20 -06:00
Hunter Trujillo
33c28b811c
Add manual refresh magic.
2017-10-19 15:53:12 -06:00
Hunter Trujillo
d0cc2f2fd3
Fix the other bug.
2017-10-19 15:52:52 -06:00
Hunter Trujillo
b7cac1ec16
Fix Be The Change bug.
2017-10-19 15:44:25 -06:00
Hunter Trujillo
d384c4f858
Merge pull request #2136 from influxdata/feature/milliseconds
...
Fix loss of precision while zooming
2017-10-19 14:37:25 -06:00
Hunter Trujillo
cab7671efb
Fix loss of precision while zooming. Now zooms to millisecond precision. NanoDate supports microsecond and nanosecond precision, but only with some work.
2017-10-19 14:20:58 -06:00
Jared Scheib
67ed6c05da
Merge pull request #2132 from influxdata/multitenancy_authorize_role
...
Role based authorization
2017-10-19 14:55:01 -05:00
Michael de Sa
414ca7f0b6
Add clarifying comment for InfluxDB UID being Name
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-19 14:42:34 -05:00
Jared Scheib
5998923ab8
Add test coverage for Get with empty User
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-19 14:39:06 -05:00
Michael de Sa
f463642bae
Update route authorization by Role
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-19 14:33:08 -05:00
Jared Scheib
19369b38cc
Set Scheme to be OAuth2 explicitly for all users
...
Add Provider to Users authenticated via /me
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-19 14:32:33 -05:00
Michael Desa
dafab1653a
Fix formating of server/auth.go
2017-10-19 12:54:06 -04:00
Michael Desa
72640d3bd2
Add tests for retrieving user by name and provider
...
Fix incorrect error message
Cleanup old Get user test
2017-10-19 12:52:46 -04:00
Andrew Watkins
9665741b84
Merge pull request #2130 from influxdata/bugfix/bad-rp
...
BUGFIX: Bad error messages for RP creation and DB creation
2017-10-19 09:07:52 -07:00
Andrew Watkins
5de6bba94e
Merge branch 'master' into bugfix/bad-rp
2017-10-19 08:53:01 -07:00
Andrew Watkins
63d849738d
Merge pull request #2135 from influxdata/bugfix/drag-n-drop
...
BUGFIX: Drag n drop cancelling
2017-10-19 08:52:34 -07:00
Hunter Trujillo
c4fa842669
Fix for changelog.
2017-10-18 21:33:39 -06:00
Hunter Trujillo
c66324d1a6
Be The Change.
2017-10-18 20:12:00 -06:00
Deniz Kusefoglu
ded67180c1
Merge pull request #2133 from influxdata/feature/implicit_http
...
Prepend 'http://' to source url
2017-10-18 16:03:16 -07:00
Alex Paxton
edfc2f7f19
Merge pull request #2120 from influxdata/responsive-admin-tabs
...
Improve appearance of Admin on small screens
2017-10-18 16:03:02 -07:00
Deniz Kusefoglu
93d0c3d885
Merge pull request #2131 from influxdata/bugfix/csv_alignment
...
Fix overlay of custom time indicator and csv download button
2017-10-18 16:02:49 -07:00
Andrew Watkins
7db450fc4c
Update CHANGELOG
2017-10-18 15:51:27 -07:00
Andrew Watkins
e1b752f78a
Reset fileInput value on cancel
2017-10-18 15:48:02 -07:00
Andrew Watkins
3057219844
Guard against no file
2017-10-18 15:43:54 -07:00
deniz kusefoglu
fdb042ed45
Add changes to changelog
2017-10-18 14:32:48 -07:00
deniz kusefoglu
3b380e26cd
Add http:// before a source url, if it does not begin with it, and change sourceform to a SFC
2017-10-18 14:24:59 -07:00
Michael Desa
8d472646cd
Fix wrong authorization level on selected routes
...
Fix leaking of username on failed authorization
Add comment to chronograf.UserQuery
Fix logic in hasPrivilege method
2017-10-18 15:45:06 -04:00
Michael Desa
a0d300d280
Use new chonograf.UserStore Get method when needed
...
Refactor tests that were dependent of old implementation of UsersStore
2017-10-18 14:45:33 -04:00
Andrew Watkins
33bad0bcd9
Tweak function names
2017-10-18 11:25:28 -07:00
Michael Desa
246e65e598
Generalize chronograf.UsersStore Get method
...
The `Get` method on the UsersStore was generalize by changing the second
parameter to a struct. This allows the Store to retrieve users by more
than simply their name.
-Get(ctx context.Context, name string) (*User, error)
+Get(ctx context.Context, q UserQuery) (*User, error)
2017-10-18 14:17:42 -04:00
deniz kusefoglu
260bbacb3c
Fix overlay of custom time indicator and csv download button
2017-10-18 10:48:26 -07:00
Andrew Watkins
511777396c
Merge branch 'master' into responsive-admin-tabs
2017-10-18 10:05:58 -07:00