Commit Graph

904 Commits (5b93a8934f7ede364ed1760316cc1859933a6760)

Author SHA1 Message Date
Iris Scholten 21daf088c9 update versions with bumpversion 2018-03-28 11:34:23 -07:00
Benjamin Schweizer a231ec1108 added USE_ID_TOKEN option, defaulting off 2018-03-28 15:51:10 +02:00
Benjamin Schweizer 335d8dbb99 Merge branch 'master' of https://github.com/influxdata/chronograf 2018-03-28 13:30:05 +02:00
Iris Scholten 07807afb20 respond to review 2018-03-27 14:28:59 -07:00
Iris Scholten fa54547835 respond to review 2018-03-27 14:27:01 -07:00
Iris Scholten 422a9479ce update swagger.json with tableOptions info 2018-03-27 11:45:57 -07:00
Alex P e0acfb9119 Add "Scale" type to accepted cell color types 2018-03-26 19:09:09 -07:00
Jared Scheib 1f8cffd23a Test for existing superadmin user in Principal auth0 group 2018-03-23 16:58:09 -07:00
Jared Scheib 326298b35e Update existing user's superAdmin status in bolt if in Principal auth0 group 2018-03-23 16:53:08 -07:00
Jared Scheib 49bb422dcd Add server test for Chronograf not private & user is in auth0 superadmin group 2018-03-23 16:26:20 -07:00
Jared Scheib 34d091569b Add expected defaultRole to test data organization & currentOrganization 2018-03-23 15:54:46 -07:00
Jared Scheib 5f11f738d6 Update 'private' language to make consistent with current behavior of app 2018-03-23 15:45:11 -07:00
Jared Scheib 8e0dca7383 Remove extraneous fmt.Print statements 2018-03-23 15:03:01 -07:00
Jared Scheib d65228c04c Extend test data with case where user has multiple Principal Groups 2018-03-23 15:00:09 -07:00
Jared Scheib 880ec03ae0 Fix Auth0SuperAdminOrg server option description to indicate only one org is acceptable 2018-03-23 14:53:43 -07:00
Michael Desa 003e048eb9 Add tests for mapProviderToSuperAdmin 2018-03-23 16:12:18 -04:00
Michael Desa 471c227295 Add mapPrincipalToSuperAdmin function
The function grants a super superadmin status if the user belongs to a
particular auth0 organization and adds them to the default organization.
2018-03-23 15:48:34 -04:00
Jared Scheib 83ef44b576 WIP 2018-03-23 12:17:22 -07:00
Iris Scholten cb9c6ac00d WIP change backend TableColumn to RenamableField and ColumnNames in TableOptions to FieldNames 2018-03-20 17:15:33 -07:00
Iris Scholten cb80c8a536 add visible to TableColumn in backend and fix tests accordingly 2018-03-20 17:03:24 -07:00
Iris Scholten a985250030 add fixFirstColumn to backend and tests 2018-03-19 15:56:31 -07:00
Andrew Watkins 786f028b6c Add insecureSkipVerify to marshal / unmarshal
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-14 17:24:55 -07:00
Brandon Farmer ac8bdf5105 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 ebb283d955 Provide default cell colors in layout 2018-03-13 20:36:43 -07:00
Iris Scholten bbabe8279e Merge branch 'master' into feature/graph-table-time-format 2018-03-13 09:48:52 -07:00
Iris Scholten 4eecba905b update server_test, internal_test, and cells_test with tableOptions 2018-03-12 17:12:20 -07:00
Luke Morris e53d3a6cca Bump version 2018-03-08 18:54:45 -08:00
Luke Morris e4cc104d4b Bump version to 1.4.2.2 2018-03-07 13:19:40 -08:00
Luke Morris d51dbc8e8f Bump version number 2018-02-28 23:23:27 -08:00
Luke Morris 38f8f114fd Bump version number 2018-02-28 21:28:29 -08:00
Luke Morris c331e0f48e Revert :interval: work
Squashed commit of the following:

commit 8b18f78098953c5aba744dd16a215b6ed4cd5143
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:46 2018 -0800

    Revert "Merge pull request #2663 from influxdata/feature/migrate-time-interval"

    This reverts commit 8cd9d1890c, reversing
    changes made to c1fcd18430.

commit 8f17059d24cc1a1bb4b8675be70fb9adb3f3a3e3
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:23 2018 -0800

    Revert "Merge pull request #2890 from influxdata/fix/time-interval"

    This reverts commit 0a1997d7f1, reversing
    changes made to afbcfc3c0d.
2018-02-28 20:47:16 -08:00
Michael Desa 4719d34d73 Ensure backwards compat for old GROUP BY :interval: 2018-02-28 17:21:15 -05:00
lukevmorris 7166165409 Merge pull request #2846 from influxdata/feature/annotations
Dashboard annotations
2018-02-27 13:05:39 -08:00
Iris Scholten 52794be143 update changelog message and log line message 2018-02-26 15:12:51 -08:00
Alex P 5c06558759 Merge branch 'master' into feature/annotations 2018-02-26 15:10:10 -08:00
Iris Scholten d60b1fde45 update url in log line and fix typo 2018-02-26 14:30:47 -08:00
Iris Scholten 2ff415c069 update tests to account for empty bounds change 2018-02-23 16:48:25 -08:00
Iris Scholten dcb18134be make empty axes bounds [,] instead of [] 2018-02-23 16:24:54 -08:00
Luke Morris 8f98a92c48 Merge branch 'master' into feature/annotations 2018-02-22 19:53:23 -08:00
Chris Goller bac0e084cb Merge pull request #2825 from influxdata/feature/annotation-tests
Annotation tests
2018-02-21 12:23:00 -06:00
Russ Savage 09c5b1476e Merge pull request #2819 from influxdata/new-sources
Fix/New sources CLI and Deprecation
2018-02-20 13:39:27 -08:00
Chris Goller 6b695cbf84 Add initial tests for REST annotations 2018-02-20 08:34:23 -06:00
Benjamin Schweizer 227009723d merged upstream, updated comments, added GroupFromClaims() 2018-02-20 09:47:42 +01:00
Luke Morris fe24ba6dfc Enforce presence of endTime 2018-02-19 09:52:02 -08:00
Luke Morris d855524199 Full create for single and windowed annotations 2018-02-16 21:37:31 -08:00
Luke Morris 9ea15c51c7 Unify annotation schema in both client/server 2018-02-16 19:49:13 -08:00
Chris Goller 11be7eae8d Fix annotation storage to influxdb 2018-02-16 09:17:47 -08:00
Chris Goller 5731d3f059 Update annotations to use time as endTime 2018-02-16 09:17:47 -08:00
Chris Goller 11121e1ac5 WIP 2018-02-16 09:17:47 -08:00
Luke Morris 41244f4edc Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-15 12:03:10 -08:00
Iris Scholten e230096ef8 add deprecation message if using --new-sources 2018-02-14 17:18:35 -08:00
Chris Goller f7144112a9 Update meta nodes to respect insecure skip verify 2018-02-14 13:25:08 -08:00
Iris Scholten f2b053d6aa add organization information to the context 2018-02-14 13:14:57 -08:00
Luke Morris 9d349ef89b Bump to 1.4.1.2 2018-02-13 13:34:50 -08:00
Luke Morris 035988e990 Bump version to 1.4.1.1 2018-02-12 18:03:16 -08:00
Luke Morris 3fa5e09c10 Bump version 2018-02-12 16:42:58 -08:00
Luke Morris c5d89c353d Remove Public; Improve Tab Names 2018-02-09 16:00:27 -08:00
Luke Morris 5f0ef591ea Merge branch 'master' into feature/mappings 2018-02-09 11:42:07 -08:00
Luke Morris c17e124b27 Replace Public functionality with Mappings feature 2018-02-08 17:53:34 -08:00
Alex P f2cc269a33 Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-08 16:38:47 -08:00
Iris Scholten 5f44034584 WIP remove public logic from organizations 2018-02-08 16:01:00 -08:00
Luke Morris c270b3371d Pseudo code for removal of Public 2018-02-08 10:59:54 -08:00
Michael Desa 1890fd6b08 Allow user to delete themselves
Previously users were prevented from removing themselves.

Connect https://github.com/influxdata/chronograf/issues/2711
2018-02-07 09:46:08 -05:00
Iris Scholten 0f2e163e50 Group=>ProviderOrganization; organization=>organiztionId; fix pointer bug 2018-02-06 18:33:27 -08:00
ischolten d83c1e8a63 Merge pull request #2703 from influxdata/feature/global-users
Add global users page for super admins
2018-02-06 14:30:08 -08:00
Michael Desa fd486c9168 Prevent error if organization not found in mapping
chris go vet fix
2018-02-05 18:20:03 -05:00
Chris Goller e55b8116f7 Update cell defaults to use empty array 2018-02-05 17:04:15 -06:00
Michael Desa 25838cb9ea Add Mappings CUDA routes 2018-02-05 16:47:44 -05:00
Chris Goller 3babccfa0c Fix cell race condition 2018-02-05 14:50:05 -06:00
Chris Goller 5ccab143b7 Add legend to dashboard cells 2018-02-05 14:25:57 -06:00
Michael Desa 64f670e819 Add correct implementation of mappings 2018-02-05 14:54:39 -05:00
Iris Scholten adaff3e9e8 Merge branch 'master' into feature/global-users 2018-02-01 16:40:14 -08:00
Nathan Haugo 9a0d0ad54d Update changelog for 1.4.0.1 2018-01-25 13:09:45 -08:00
Andrew Watkins ee865e304e Merge annotation-store 2018-01-19 10:11:53 -08:00
Chris Goller 59b85c3f3a Update influxdb annotation store to support update/delete 2018-01-18 21:50:46 -06:00
Michael Desa ec4a00eb11 Fix RouteMatchesPrincipal if org isnt on principal 2018-01-17 12:42:32 -05:00
Michael Desa e8ed30a9e6 Populate links response with organiation on JWT 2018-01-17 12:26:28 -05:00
Michael Desa e1b071c002 Add correct users route to all routes 2018-01-16 17:03:46 -05:00
Michael Desa 6168dc3e06 Nest user routes under organization
Add global user routes
2018-01-16 16:45:58 -05:00
Chris Goller 92b5cedff9 Add basic REST routes for annotations 2018-01-12 17:17:14 -06:00
Chris Goller 1629f6c56b Add epoch to influx query 2018-01-12 17:17:01 -06:00
Michael Desa a48019b643 Allow UpdateUser to accept empty roles 2018-01-12 12:37:30 -05:00
Michael Desa f7f86f0ea6 Add wildcard role and validate users roles in CRUD
The server may now specify a '*' to indicate that the server should
retrieve the organizations default role and assign it to the user.
2018-01-12 12:27:55 -05:00
Michael Desa 6b11afe433 Apply mapping to user in /me 2018-01-11 16:10:27 -05:00
Michael Desa a61eb73a19 Add logic mapping applying a mapping 2018-01-11 12:36:13 -05:00
Michael Desa 732810fe64 Fix mappings on me response 2018-01-10 16:34:04 -05:00
Michael Desa be3b76629a Add mappings to organizations
Add links to organization response on me
2018-01-10 15:56:13 -05:00
Benjamin Schweizer 53d64492a3 Merge branch 'master' of https://github.com/influxdata/chronograf 2018-01-10 21:44:07 +01:00
Deniz Kusefoglu 1080e9b730 Merge pull request #2409 from influxdata/multiple-event-handlers
Multiple event handlers
2018-01-10 12:32:22 -08:00
Michael Desa 4c33cf7846 Add rawUsers route to AllLinks 2018-01-10 11:18:08 -05:00
Michael Desa 1a78819462 Allow for different canned resource paths
Previously, users had to place all canned resources (layouts,
dashboards, sources, kapacitors, and organizations) in a single
directory. This work introduces a way to specify two directories.
One for application layouts and one for the other resources.

Users may still place all resources in a single directory if they'd
like.
2018-01-09 17:34:36 -05:00
Michael Desa 1c33580f99 Modify CRUD user handlers for global operations
Add raw query param middleware performing raw ops

This commit introduces middleware that allows SuperAdmin Users to
specify a query param `raw=true` which will give them raw access to the
data store. Raw access means that it is not in behind the usual
organization facade.

Currently, only the user routes use this middleware.
2018-01-09 13:43:33 -05:00
Chris Goller 89633f2f18 Update influxdb write proxy to allow self-signed certificates 2018-01-09 11:09:13 -06:00
Chris Goller f6bd84584a Update kapacitor proxy to allow self-signed certificates 2018-01-09 11:05:47 -06:00
deniz kusefoglu b45c88eae8 Merge branch 'master' into multiple-event-handlers 2018-01-04 18:14:06 -08:00
Michael Desa b41816c5cd 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
Jared Scheib b1cd5b7695 Unprettier 2017-12-22 16:56:16 -08:00
Jared Scheib 4349e0a3f0 Add /users & /users/{id} routes & CRUD operations to swagger 2017-12-22 16:53:17 -08:00
Jared Scheib ce505d1119 Add swagger definitions for Chronograf Users, User, & Role 2017-12-22 16:53:17 -08:00
Jared Scheib 7112ea66e0 Add read-only props & fix organization id to be string 2017-12-22 16:53:17 -08:00
Jared Scheib 7f5b641a77 Clarify & make consistent 403 error descriptions 2017-12-22 16:53:17 -08:00
Jared Scheib 937bc6f931 Clarify copy in Organizations descriptions 2017-12-22 16:53:17 -08:00
Jared Scheib f969d011bc Clean up swagger JSON 2017-12-22 16:53:17 -08:00
Jared Scheib 6f672dcffc Change 'multitenancy' tag to 'multiorganization' & 'multiuser' 2017-12-22 16:53:17 -08:00
Jared Scheib 0fb528a89d Add organization/{id} get, patch, & delete to swagger 2017-12-22 16:53:17 -08:00
Jared Scheib b8a2a12896 Clarify swagger description copy 2017-12-22 16:53:17 -08:00
Jared Scheib d345f3d3d0 Make POST descriptions consistent 2017-12-22 16:53:17 -08:00
Jared Scheib 29e95db649 Add Organization resources & apis to swagger 2017-12-22 16:53:17 -08:00
Jared Scheib 73dbc96a8f Change 'internal service error' to 'internal server error'; prettier 2017-12-22 16:53:17 -08:00
Nathan Haugo 93d8b10870 Bumpversion to 1.4.0.0 2017-12-22 12:59:04 -08:00
Alex Paxton da2d8a4fbd Merge pull request #2598 from influxdata/single-stat-colors-polish
Single Stat Colors Polish
2017-12-22 12:48:50 -08:00
Nathan Haugo efbb71e9d7 Update version 2017-12-21 11:36:03 -08:00
Alex P 367c3d61ba Merge branch 'master' into single-stat-colors-polish 2017-12-20 17:59:52 -08:00
Jared Scheib aee4636d79 Merge branch 'master' into feature/superadmin_gets_default_role 2017-12-20 17:49:29 -08:00
Michael Desa 979ad34ed0 Check specific case when SA changes their status
SA - SuperAdmin
2017-12-20 16:34:31 -08:00
Michael Desa 0cc30d927f Prevent SuperAdmin from modifying their own status
Previously it was possible for SuperAdmins to remove their own status.
This could create an application state where there were no super admins.
This is not an acceptable application state.
2017-12-20 15:17:08 -08:00
Michael Desa 903e7033f4 Give SuperAdmin DefaultRole on PUT /me
Previously, SuperAdmins were given the admin role in an organization
when they switched into it (via a PUT to /me). This is undesireable for
the comonitoring organization. This PR gives SuperAdmins the default
role for the organization when they switch into it.
2017-12-20 14:20:24 -08:00
Chris Goller ace51b1553 Update CHANGELOG and versions to prep for 1.4.0.0-rc1 2017-12-19 18:38:46 -06:00
Nathan Haugo ce45f13cdc Merge pull request #2593 from influxdata/feature/dashboard-filestore
Add filesystem backed dashboard and organization stores
2017-12-19 14:36:19 -08:00
Michael Desa e0c100ea4e Remove unused code related to excess prints 2017-12-19 13:24:05 -08:00
Michael Desa ca055fe410 Add filestore impl of kapacitor and source stores
Remove random `fmt.Println`'s
2017-12-19 13:14:00 -08:00
Nathan Haugo 1319a3a527 Merge pull request #2616 from influxdata/fix/update-cell-query-config
Fix cell replacement to return query config
2017-12-19 12:40:30 -08:00
Chris Goller ee2dee6c0f Remove extra debugging statement from influx queries 2017-12-19 13:48:56 -06:00
Chris Goller e39ddeddcf Fix cell replacement to return query config 2017-12-19 13:43:39 -06:00
Chris Goller 7d56fdfc75 Add organization multistore over bolt and filesystem
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-19 10:13:46 -08:00
Michael Desa f26d2f0f35 Change Organization ID to string from uint64 2017-12-19 10:13:43 -08:00
Chris Goller a797a95e86 Update CLI option to reflect dashboards directory 2017-12-19 10:07:09 -08:00
Chris Goller a6ef15ee54 Add multiple dashboard stores to server 2017-12-19 10:07:07 -08:00
Chris Goller 4f3fd79abe Move MultiSourceStore to the multistore package 2017-12-18 17:31:45 -08:00
Chris Goller d4a8cbb87c Move kapacitor multistore to the multistore package 2017-12-18 17:31:45 -08:00
Chris Goller ce87c52fa9 Update layouts from canned package to filestore 2017-12-18 17:31:45 -08:00
Chris Goller 6c98cd49c4 Fix vet for tests 2017-12-18 17:31:45 -08:00
Chris Goller 3bd701441e Update layouts package to multistore 2017-12-18 17:31:45 -08:00
Jared Scheib 7c61a91191 Merge pull request #2591 from influxdata/multitenancy_no_switch_to_orgs_where_no_role
Allow SuperAdmin to switch to orgs where they have no role
2017-12-18 13:44:21 -08:00
Luke Morris 0fa542b6b1 Minor tweaks based on PR review 2017-12-18 12:59:04 -08:00
lukevmorris 64523ab8c3 Merge pull request #2604 from influxdata/2599-backup-database-on-upgrade
After Chronograf version upgrade, backup database on server start
2017-12-18 12:11:28 -08:00
Luke Morris 4d449ba32b Backup/Migrate/Initialize moved into Open
Signed-off-by: Chris Goller <goller@gmail.com>
2017-12-18 12:06:17 -08:00
Benjamin Schweizer fb20f6eca3 Merge branch 'master' into master 2017-12-18 15:22:48 +01:00
Luke Morris 17759192b2 Refactor; simplify function responsibilities 2017-12-17 14:11:27 -08:00
Luke Morris 4faf9c5440 Clean up prior to PR 2017-12-16 13:54:55 -08:00
Luke Morris 2196a20100 Create backup of database when moving versions 2017-12-16 12:27:24 -08:00
Luke Morris d201fa941a WIP 2017-12-16 01:01:14 -08:00
Michael Desa 75d6c659f3 Allow SuperAdmins to change into any organization 2017-12-15 16:05:56 -08:00
Jared Scheib fbc224107e Reference known issue #2601 in Admin creating SuperAdmin response
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-15 15:05:27 -08:00
Alex P bd3aec99ad Allow users to toggle between coloring text or background with single stat thresholds 2017-12-14 19:07:19 -08:00
Michael Desa 1f6f78d3fd Use serverContext for getting Config in NewUser 2017-12-14 13:34:19 -08:00
Nathan Haugo c42ebb3a86 Bump version to 1.4.0.0-beta2 2017-12-14 12:47:41 -08:00
Nathan Haugo a91b3ef104 Bump version to 1.4.0.0-beta2 2017-12-14 12:45:44 -08:00
Michael Desa f86004cda3 Add comment clarifying UsersStore Add method 2017-12-14 11:36:26 -08:00
Michael Desa e8861e9b74 Set SuperAdmin for NewUsers based on ConfigSetting 2017-12-14 11:11:51 -08:00
Jared Scheib 0e1bcfc9c6 Merge pull request #2355 from influxdata/multitenancy_all_users_superadmin_toggle
UI Toggle & API for SuperAdminFirstUserOnly server config
2017-12-14 10:54:18 -08:00
Jared Scheib 27fe23b161 Add comment about firstUser superAdmin logic 2017-12-14 10:46:55 -08:00
Michael Desa 4369c9d708 Add SuperAdmin to default org, even if private
Add user to default org if org is public
2017-12-13 17:38:57 -08:00
Michael Desa 2b60043016 Prevent users joining default org if private 2017-12-13 16:59:02 -08:00
Jared Scheib 058f5fbc20 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
Jared Scheib a54712f600 Add config.self & config.auth routes, update client routes & make PATCH a PUT 2017-12-13 13:54:23 -08:00
Michael Desa 6059f155a1 Remove SuperAdminFirstUserOnly CLI flag
Wire up boltdb config store
2017-12-13 11:55:36 -08:00
Michael Desa c718847014 Wire up bolt db ConfigStore in Server 2017-12-13 10:46:08 -08:00
Michael Desa 9c989083a8 Add PUT /config/:section route 2017-12-13 09:28:39 -08:00
Michael Desa d0f63ca0e0 Add /config/:section endpoint 2017-12-13 09:04:44 -08:00
Benjamin Schweizer 0f9fb94e42 go fmt + got vet 2017-12-13 09:13:11 +01:00
Michael de Sa 17460e397b Implement Config GET service method
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-12 17:06:57 -08:00
Jared Scheib 1e42cd6e0e Add /config link to AllRoutes handler
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-12 15:11:30 -08:00
Michael Desa 49c8868e67 Prevent user joining private default org
Previously, if an organization was private and a user was removed from
the default organization, then they would be re-added. This behavior was
so left over from when we thought of the default organization as the
place where all users would exist. This PR removes that behavior.

There is one piece of odd behavior where a user's "current organization"
will be the default organization, but they will have no role in the
default organization.
2017-12-12 13:15:53 -08:00
Benjamin Schweizer f7c85429ef add support for RS256 signatures using JWKS 2017-12-10 18:26:27 +01:00
Deniz Kusefoglu ed7f38c943 Merge branch 'master' into multiple-event-handlers 2017-12-08 12:20:40 -08:00
Nathan Haugo 05fc484864 Update bumpversion with 1.4.0.0-beta1 2017-12-07 14:38:28 -06:00
Jared Scheib 31f012ff8f Merge branch 'master' into multitenancy 2017-12-06 19:05:16 -08:00
Jared Scheib 14e8e70484 Merge branch 'multitenancy' into multitenancy_reset_current_org 2017-12-05 18:47:05 -08:00
Deniz Kusefoglu 903e461d40 Merge branch 'master' into multiple-event-handlers 2017-12-05 16:18:01 -08:00
Jared Scheib ff1cde524b Merge branch 'multitenancy' into multitenancy_fix_layouts 2017-12-05 16:03:05 -08:00
Michael Desa 8ff0e2947b Remove Create/Update/Delete logic for Layouts 2017-12-05 17:11:16 -05:00
Michael Desa c9471d4084 Remove /mappings in place of /layouts
Remove POST/PUT/DELETE methods to /layouts
2017-12-05 17:07:09 -05:00
Jared Scheib 9b87433ddf Merge branch 'multitenancy' into multitenancy_reset_current_org 2017-12-05 13:37:46 -08:00
Nathan Haugo e5afdc3c23 Merge pull request #2410 from influxdata/gauge-cell-type
Gauge Dashboard Cell
2017-12-05 13:26:02 -08:00
Jared Scheib 4f43d2a137 Merge branch 'master' into multitenancy 2017-12-05 13:00:48 -08:00
Chris Goller 86843f73d3 Merge branch 'master' into feature/add-meta-auth 2017-12-05 14:37:47 -06:00
Alex P 6025c1224a Merge branch 'master' into gauge-cell-type 2017-12-05 12:12:16 -08:00
Jared Scheib c9e579acb2 Merge remote-tracking branch 'origin/master' into multitenancy 2017-12-05 11:43:23 -08:00
Michael Desa 8cfc6bbbae Allow for empty MetaURL in UpdateSource
Currently, if an empty source is supplied, then the source's meta url
will not be updated. Now, if the MetaURL is supplied and is different
than the one that is currently on the source, the value will be updated.
Even in the case of empty string meta urls.
2017-12-05 13:04:31 -05:00
Chris Goller ef1cadb7a4 Add basic auth or JWT tokens for meta queries 2017-12-04 18:07:08 -06:00
Michael Desa 9a701a0a65 Allow admins to update a superadmins roles 2017-12-04 16:53:30 -05:00
Chris Goller 67cda93a63 Merge branch 'master' into fix/basepath-logout 2017-12-04 15:00:07 -06:00
Andrew Watkins c474193181 Will not supply roles if there is no metaURL 2017-12-02 12:11:52 -08:00
Chris Goller d6d7081b1e Update oauth logout to include basepath 2017-12-01 15:35:39 -06:00
Deniz Kusefoglu 2a21a31d68 Return 422 error instead of 500 for bad alert rule data
Signed-off-by: Chris Goller <goller@gmail.com>
2017-12-01 11:15:57 -08:00
Deniz Kusefoglu ecdaf84961 Provide more verbose error for alert rule json parsing
Signed-off-by: Chris Goller <goller@gmail.com>
2017-12-01 11:05:38 -08:00
Jared Scheib 76b61a146e Merge branch 'multitenancy' into multitenancy_reset_current_org 2017-11-30 19:07:40 -08:00
Jared Scheib 7588dcbf63 Complete 9ef1e57 by removing Role concept from sources in server 2017-11-30 19:03:56 -08:00
deniz kusefoglu 851149b397 Rename AlertHandlers to AlertNodes 2017-11-30 16:16:44 -08:00
Chris Goller f728c24764 Update kapacitor rule response to have empty arrays
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-11-30 16:32:47 -06:00
Michael Desa a81498f57a Change NewUsersNotSuperAdmin to SuperAdminFirstUserOnly 2017-11-30 15:01:52 -05:00
Chris Goller a841419bfb Update patching of enterprise users allow incremental updating of fields 2017-11-30 12:41:50 -06:00
Michael Desa a2df431c0d Make first user SuperAdmin 2017-11-30 12:56:13 -05:00
Michael Desa 57b876ad36 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 3a07920d4c 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
Michael Desa a455bac3ce Accept name,provider,scheme in UpdateUser if unchanged 2017-11-22 15:20:48 -05:00
Michael Desa 942671b604 Ensure that organzation on role is valid org id 2017-11-22 15:03:15 -05:00
Michael Desa 5fa2e212fa Disallow empty organization id create/update user 2017-11-22 14:49:44 -05:00
Michael Desa 688bdbd2a8 Change HTTP Status 401 to 403 in AuthorizedUser
This signals to the front end that a user must go through another ouath
flow.
2017-11-21 18:55:26 -05:00