Iris Scholten
1910529eeb
add visible to TableColumn in backend and fix tests accordingly
2018-03-20 17:03:24 -07:00
Iris Scholten
79d977fbea
add fixFirstColumn to backend and tests
2018-03-19 15:56:31 -07:00
Brandon Farmer
ef4fbba690
Merge pull request #2970 from influxdata/fixes/missing-colors-from-canned-single-stats
...
Always return colors for single stat graphs
2018-03-14 15:45:22 -07:00
Brandon Farmer
94dcc49a62
Always return colors for single stat graphs
...
Addresses a change that requires single stat graphs to have an array of
colors, specifically in the case of canned dashboards. An empty array
is acceptable but an undefined value will break the page.
Closes #2862
Closes #2841
2018-03-12 20:14:04 -07:00
Iris Scholten
302efab3b9
change options to table options in backend, front end and redux
2018-03-12 15:04:17 -07:00
Iris Scholten
4991131369
WIP adding options to the marshalling and unmarshalling of dashboards
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-09 11:47:56 -08:00
Iris Scholten
7fcaa7cb1c
WIP save table options into cell in database
2018-03-08 17:57:41 -08:00
Iris Scholten
11a1e93c08
add options to backend DashboardCell and to cell editor overlay cell in redux
...
Co-authored-by Deniz Kusefoglu <deniz@influxdata.com>
2018-03-08 15:35:34 -08:00
Chris Goller
c1043b1938
Update timeseries interface to write multiple points
2018-02-27 13:27:17 -06:00
Luke Morris
ab8a73509a
Merge branch 'master' into feature/annotations
2018-02-22 19:53:23 -08:00
Chris Goller
8e542b5130
Update annotations to use time as endTime
2018-02-16 09:17:47 -08:00
Luke Morris
59b6979812
Merge branch 'master' into feature/annotationz-pre-pl-with-master
2018-02-15 12:03:10 -08:00
Iris Scholten
4c73fb562d
specify json representation of id and srcid to be string
2018-02-14 15:39:38 -08:00
Luke Morris
c136a2f5f0
Remove Public; Improve Tab Names
2018-02-09 16:00:27 -08:00
Luke Morris
67ac6a5a2f
Merge branch 'master' into feature/mappings
2018-02-09 11:42:07 -08:00
Luke Morris
4155d9c6d9
Replace Public functionality with Mappings feature
2018-02-08 17:53:34 -08:00
Alex P
66b41abdce
Merge branch 'master' into feature/annotationz-pre-pl-with-master
2018-02-08 16:38:47 -08:00
Iris Scholten
3c3e524b46
Group=>ProviderOrganization; organization=>organiztionId; fix pointer bug
2018-02-06 18:33:27 -08:00
Chris Goller
a565027394
Add legend to dashboard cells
2018-02-05 14:25:57 -06:00
Michael Desa
8b60388d81
Add correct implementation of mappings
2018-02-05 14:54:39 -05:00
Andrew Watkins
7fbb4d877c
Merge annotation-store
2018-01-19 10:11:53 -08:00
Chris Goller
7555783638
Update influxdb annotation store to support update/delete
2018-01-18 21:50:46 -06:00
Chris Goller
243ccb1ffb
Add basic REST routes for annotations
2018-01-12 17:17:14 -06:00
Chris Goller
986e9406f9
Add epoch to influx query
2018-01-12 17:17:01 -06:00
Chris Goller
38e57eb897
WIP Add annotation store to influxdb
2018-01-11 11:46:49 -06:00
Michael Desa
2eb68a3b36
Add mappings to organizations
...
Add links to organization response on me
2018-01-10 15:56:13 -05:00
deniz kusefoglu
abdfd14bbd
Merge branch 'master' into multiple-event-handlers
2018-01-04 18:14:06 -08:00
Michael Desa
2151413ece
Add /chronograf/v1/env endpoint to expose env vars
...
Some environment variables are needed by the front end. This PR
introduces a route so that those environment variables can be exposed.
Additionally, a new environment variable TELEGRAF_SYSTEM_INTERVAL was
added. This env var controls the rate at which the host list page will
update its red/green status.
2018-01-03 11:52:40 -08:00
Alex P
8b37f02030
Merge branch 'master' into single-stat-colors-polish
2017-12-20 17:59:52 -08:00
Michael Desa
9f0476c459
Add filestore impl of kapacitor and source stores
...
Remove random `fmt.Println`'s
2017-12-19 13:14:00 -08:00
Michael Desa
d8d20547ab
Change Organization ID to string from uint64
2017-12-19 10:13:43 -08:00
Chris Goller
7adf3ac8a9
Add filesystem dashboard store
2017-12-18 17:31:45 -08:00
Luke Morris
8ca3338afb
Add/correct comments for new Build functions
2017-12-16 14:09:39 -08:00
Luke Morris
b95837fc5b
Create backup of database when moving versions
2017-12-16 12:27:24 -08:00
Luke Morris
5a59d72b06
WIP
2017-12-16 01:01:14 -08:00
Alex P
43db95f2cc
Allow users to toggle between coloring text or background with single stat thresholds
2017-12-14 19:07:19 -08:00
Jared Scheib
f23075cbc4
Rename superAdminFirstUserOnly to superAdminNewUsers & flip default logic accordingly
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-13 14:49:49 -08:00
Michael Desa
d875757ce3
Add bolt implementation of chronograf.ConfigStore
2017-12-13 10:38:01 -08:00
Michael de Sa
fcd25ad580
Implement Config GET service method
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-12 17:06:57 -08:00
Deniz Kusefoglu
c2b356b1c5
Merge branch 'master' into multiple-event-handlers
2017-12-08 12:20:40 -08:00
Jared Scheib
482a4de6c1
Merge branch 'master' into multitenancy
2017-12-06 19:05:16 -08:00
Jared Scheib
bbe1330cbf
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-12-05 18:47:05 -08:00
Deniz Kusefoglu
ace69cc49b
Merge branch 'master' into multiple-event-handlers
2017-12-05 16:18:01 -08:00
Jared Scheib
808163fe69
Merge branch 'multitenancy' into multitenancy_fix_layouts
2017-12-05 16:03:05 -08:00
Michael Desa
161081fcba
Remove Organization field from layouts
2017-12-05 17:28:33 -05:00
Jared Scheib
987d462de3
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-12-05 13:37:46 -08:00
Jared Scheib
93f11e1325
Merge remote-tracking branch 'origin/master' into multitenancy
2017-12-05 11:43:23 -08:00
Jared Scheib
e64c072388
Merge pull request #2435 from influxdata/multitenancy_prevent_bad_add_org_user
...
Prevent unintended update of existing user on Add; fix duplicate User & Org creation client UX
2017-12-04 14:15:27 -08:00
Jared Scheib
7eed603bf7
Change ErrOrganizationNameTaken to ErrOrganizationAlreadyExists for consistency
2017-11-30 20:12:00 -08:00
Jared Scheib
f8920cf39b
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-11-30 19:07:40 -08:00
deniz kusefoglu
00dca72f19
Rename AlertHandlers to AlertNodes
2017-11-30 16:16:44 -08:00
Chris Goller
f9ce2da57f
Update alert rules to remove Alert and AlertNode
...
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-11-30 16:32:47 -06:00
Chris Goller
cee9904742
Add kapacitor alert handler definitions
2017-11-30 16:32:47 -06:00
Michael Desa
e27936ee69
Add Num to UsersStore interface
2017-11-30 12:55:59 -05:00
Michael Desa
9ef1e57934
Unscope sources by role
...
Previously, as a misunderstanding of
https://github.com/influxdata/chronograf/issues/1915 we allowed
sources to be scoped by role within an organization. This was incorrect.
We no longer user the roles implementation of a chronograf.SourcesStore
and just use the organizations store.
We've left the code around a roles SourcesStore in place, since it may
be useful to us in the future. It may be worth removing if it is
determined that this behavior is not desirable.
2017-11-29 17:32:41 -05:00
Chris Goller
6564712e9d
Merge branch 'master' into gauge-cell-type
...
Conflicts:
bolt/internal/internal.pb.go
bolt/internal/internal.proto
server/cells.go
2017-11-27 16:08:42 -06:00
Andrew Watkins
208575b0cf
Format TimeShift struct property descriptions
2017-11-21 10:37:07 -08:00
Chris Goller
1d11677c5f
Add colors to all cells
2017-11-21 12:16:23 -06:00
Jared Scheib
f38b80a30d
Merge branch 'master' into multitenancy
2017-11-14 00:05:18 -08:00
Luke Morris
43338cbdcb
Reuse chronograf.Organization type
2017-11-10 18:31:30 -08:00
Luke Morris
31277c432c
Rename whitelistOnly => public
2017-11-10 18:23:41 -08:00
Michael Desa
dc1ee40bc6
Add WhitelistOnly to organizations
...
Fix adding default role to organization
2017-11-10 15:57:48 -05:00
Andrew Watkins
6093ddc52f
WIP Add shifts to queryConifg on backend
2017-11-10 11:06:48 -08:00
Michael Desa
12facba297
Ensure users name, provider, and scheme are unique
2017-11-10 12:29:17 -05:00
Chris Goller
349dd12f20
Refactor and simplify auto group by (:interval:) template variable
2017-11-09 10:02:24 -08:00
Chris Goller
eb82ec4131
Refactor and simplify auto group by (:interval:) template variable
2017-11-08 11:27:35 -06:00
Michael Desa
cbbf9d96d7
Add comments suggested from PR review
...
Add tests to server/stores_test.go
2017-11-07 13:59:40 -05:00
Michael Desa
8e9037e081
Add Role to chronograf.Source
2017-11-06 11:24:10 -05:00
Michael Desa
3370774e8f
Add default org logic to OrganizationsStore
...
Update resource handlers to appropriate consume default organization IDs
2017-11-06 10:14:12 -05:00
Michael Desa
a7ddb15c5c
Add comment to default role in chronograf.go
2017-11-06 09:46:00 -05:00
Michael Desa
45f1410fd6
Add default role to chronograf.Organization
2017-11-06 09:46:00 -05:00
Michael Desa
6f72d72fca
Fix over-stringification of organization on roles
2017-11-02 21:52:30 -04:00
Michael Desa
14beabb6fd
Merge pull request #2215 from influxdata/multitenancy_add_orgs_to_me
...
Add CurrentOrganization & Organizations to me resp
2017-11-02 15:38:49 -04:00
Michael Desa
ac3a175c75
Ensure uniqueness of organization names in bolt
2017-11-02 13:04:41 -04:00
Michael Desa
da1fa2141b
Add CurrentOrganization & Organizations to me resp
...
Remove CurrentOrganization from chronograf.User
2017-11-02 11:59:53 -04:00
Michael Desa
6fbfde5060
Add comments throughout codebase
2017-11-01 12:30:42 -04:00
Michael Desa
391bd189c1
Add support for super admin
2017-10-31 18:27:24 -04:00
Michael Desa
20c61a76e4
Change OrganizationID to Organization in Roles
...
Fix formatting of proto file
2017-10-30 12:28:57 -04:00
Jared Scheib
5bed2cfc4f
Merge remote-tracking branch 'origin/multitenancy' into multitenancy_orgs
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-26 18:21:30 -04:00
Michael Desa
bf6c77ee5f
Provide route to change current users organization
...
Add current Organization to JWT.
Use OrganizationUsersStore to retrieve Users that are not me.
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-26 18:06:52 -04:00
Nathan Haugo
a1ea2c058e
Merge pull request #2140 from influxdata/feature/kapa-insecure
...
Add insecure ssl support to connect to kapacitor
2017-10-26 10:40:28 -04:00
Jared Scheib
68e08b979f
Update Organization comments on resources
...
Remove `omitempty` on Organization field
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-25 14:56:08 -04:00
Michael de Sa
bea78d0c84
Remove Organization from bolt Stores
...
Previously, each store depended on having an organization set on the
implentation of a store. This was used to segment different
organizations into different buckets. This PR undoes that work.
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-25 14:29:14 -04:00
Michael Desa
a6d565fd7c
Add Organizations to Dashboards
2017-10-25 14:00:06 -04:00
Michael Desa
eca0be45e2
Add Organization to layouts
2017-10-25 12:52:56 -04:00
Michael Desa
89fef060b7
Add Organization to chronograf.Server
2017-10-25 12:42:50 -04:00
Michael Desa
7b21a6b970
Add Organization to Sources
2017-10-25 11:51:15 -04:00
Jared Scheib
7fce5fe0fc
Merge branch 'master' into multitenancy
2017-10-24 17:58:15 -07:00
Jared Scheib
30b8d3cdca
Make all Store names plural for consistency
2017-10-24 15:54:24 -07:00
Michael Desa
571ac39154
Add OrganizationUsersStore
...
bolt/organization_users_store contains a boltdb implementation of a
chronograf.UsersStore that filters the results based on the organization
that is set on the context.
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-24 13:29:46 -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
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
Michael Desa
2d8d2dcee7
Implement basic bolt OrganizationsStore
2017-10-20 11:13:13 -04: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
Chris Goller
4b12179b02
Add insecure ssl support to connect to kapacitor
2017-10-19 22:48:31 -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
34414df016
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
0d235f646d
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
Chris Goller
b5446a633f
Update upper bound relative duration template expansion of :interval:
2017-10-17 14:26:26 -05:00
Nathan Haugo
fe62e9fdb4
Remove debugging lines and add case for less than 1 ms
2017-10-16 16:23:22 -05:00