Commit Graph

5700 Commits (7f7674d8297f5bd52f2598382f6b19240227fe47)

Author SHA1 Message Date
Michael de Sa 9eb8829e6e Remove printing from Organization tests
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-23 12:08:49 -07:00
Jared Scheib ff575f3ca8 Rename Org field on stores to Organization
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-23 12:08:11 -07:00
Michael Desa d220fc3e5e Add tests for server/organizations.go 2017-10-23 14:16:52 -04:00
Michael Desa 61bda98403 Fix typo in organization comment 2017-10-23 14:16:31 -04:00
Andrew Watkins 26e03d4fb2 Merge pull request #2128 from influxdata/feature/qc-v2-alias
FEATURE:  queryConfig v2 && custom field alias persistence
2017-10-20 20:32:33 -07:00
Alex Paxton 8dfab41348 Merge pull request #2104 from influxdata/redesign-dash-naming
Redesign Dashboard Naming Interaction
2017-10-20 16:56:11 -07:00
Andrew Watkins a154c0befb Consolidate redundant logic 2017-10-20 15:29:44 -07:00
Andrew Watkins 084cf77f75 Remove unused prop: 2017-10-20 14:08:21 -07:00
Andrew Watkins 26b53332ab Add missing prop 2017-10-20 14:05:30 -07:00
Alex P cff77b49a3 Make switcher work on hosts page and dashboards page
Also removing requirements for some props that would only show up on
either
2017-10-20 14:03:54 -07:00
Alex P d65f113556 Sort dashboards alphabetically 2017-10-20 13:56:32 -07:00
Alex P b4964af675 Move display logic into parent of switcher 2017-10-20 13:56:32 -07:00
Alex P d5283dccc9 Make dashboard switcher into its own component and refactor associated components 2017-10-20 13:56:32 -07:00
Alex P e55560d5fa Add pencil icons to editable names for increased affordance 2017-10-20 13:56:31 -07:00
Alex P 51349e84ca Update CEO naming pattern to match dashboard naming pattern 2017-10-20 13:56:31 -07:00
Alex P 5f6f73b46d Change interaction to achieve stronger editing affordance 2017-10-20 13:56:31 -07:00
Alex P f7025e7e38 Updoot log of changes 2017-10-20 13:56:31 -07:00
Alex P d187a11dc1 Add pencil icon next to dashboard name 2017-10-20 13:56:31 -07:00
Alex P 7b761d6ccb Highlight input when user focuses 2017-10-20 13:56:31 -07:00
Alex P 2c3ab050d7 Refactor dashboard naming flow and associated UI 2017-10-20 13:56:30 -07:00
Alex P 1fe6d76f7e Add button for switching between dashboards 2017-10-20 13:53:07 -07:00
Alex P 2478554d19 Removed unused prop 2017-10-20 13:51:37 -07:00
Andrew Watkins 2224ed559c 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 f1ad32a367 Add missing returns in http hanlder methods 2017-10-20 15:42:51 -04:00
Michael Desa 0842e8c479 Add CRUD routes for organizations 2017-10-20 15:42:34 -04:00
Andrew Watkins 1b3ad86e3f Merge pull request #2103 from influxdata/dashboard-manual-refresh
[WIP] Manual Refresh Button
2017-10-20 12:02:00 -07:00
Andrew Watkins b126c44557 Fix prebuilt warning with webpacks noParse 2017-10-20 12:01:41 -07:00
Andrew Watkins cb45981e85 Update CHANGELOG 2017-10-20 11:45:31 -07:00
Andrew Watkins 176fcabc44 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 3446787e01 Add manual refresh to DataExplorer 2017-10-20 10:59:34 -07:00
Michael de Sa 9a8e96378a 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 9e5f46e00d Move comment 2017-10-20 10:11:41 -07:00
Andrew Watkins b771b0cfb9 Remove unused prop 2017-10-20 10:09:52 -07:00
Michael Desa 2d8d2dcee7 Implement basic bolt OrganizationsStore 2017-10-20 11:13:13 -04:00
Jared Scheib 2447185071 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 08cf76ea2b Define Organization and OrganizationsStore
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-20 10:10:38 -04:00
Hunter Trujillo bc9b3da65d Fixes for PR review. 2017-10-20 01:12:40 -06:00
Hunter Trujillo b757f6acc0 Add missing proptype due to merge. 2017-10-19 16:01:56 -06:00
Hunter Trujillo 44d0d40749 Merge commit 'c0333792f277cdb8579ff509ce0030514d94da44' 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 2200c0444b Add manual refresh magic. 2017-10-19 15:53:12 -06:00
Hunter Trujillo 04025d04ce Fix the other bug. 2017-10-19 15:52:52 -06:00
Hunter Trujillo dde9b9cd5e Fix Be The Change bug. 2017-10-19 15:44:25 -06:00
Hunter Trujillo c0333792f2 Merge pull request #2136 from influxdata/feature/milliseconds
Fix loss of precision while zooming
2017-10-19 14:37:25 -06:00
Hunter Trujillo 73b3ed3a7b 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 4b445b10d1 Merge pull request #2132 from influxdata/multitenancy_authorize_role
Role based authorization
2017-10-19 14:55:01 -05:00
Michael de Sa 4454d8c7b8 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 bed327b999 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 c261ffadde Update route authorization by Role
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-19 14:33:08 -05:00
Jared Scheib c994e8c5ac 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 c1b56f241d Fix formating of server/auth.go 2017-10-19 12:54:06 -04:00