Commit Graph

5329 Commits (a7fab31a211a7cd86144bb3c1e49cf5b6d5d32bc)

Author SHA1 Message Date
Jared Scheib 4db4ae5bcf Refactor Roles & Protobuf to be part of User msg
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-12 19:30:50 -04:00
Michael Desa 4be172d988 WIP: Add BoltDB implementation of RolesStore
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-12 19:30:34 -04:00
Jared Scheib b7c78f4c56 Add Role and Permission messages to protobuf
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-12 19:30:09 -04:00
Jared Scheib b5693694ee Rename Role CRUD methods & structs w Source prefix
Move server/roles.go and server/roles_test.go into server/sources.go and
server/sources_test.go respectively.

Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-12 19:25:33 -04:00
Jared Scheib c6db8f6dbd Merge pull request #2099 from influxdata/multitenancy_users_crud
MULTITENANCY: Add CRUDA operations for Chronograf Users
2017-10-11 11:54:13 -07:00
Michael Desa 33976d2832 Add jsonEqual to test helpers file 2017-10-11 14:33:55 -04:00
Michael de Sa a8c50620f3 Refactor setting writer Location header
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-11 10:14:57 -07:00
Jared Scheib 31f72a71e9 Rename vestigial receiver 'h' on Service to 's'
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-10 15:27:58 -07:00
Jared Scheib eca9614cda Refactor applying writer location header into helper func
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-10 14:40:45 -07:00
Michael de Sa 30f36bfd19 Move source_users & source_users_test code into sources.go & sources_test.go
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 14:32:41 -07:00
Michael de Sa e00f4512d2 Remove omitempty for Provider & Scheme in userRequest and userResponse
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 14:25:45 -07:00
Michael de Sa a46e3ab7c2 Use more idiomatic error message method
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 14:21:43 -07:00
Michael de Sa 85dde0cebe Add comments on ValidUpdate for future considerations
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 14:19:28 -07:00
Jared Scheib af5d21028c Make name on userResponse required
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-10 14:15:31 -07:00
Jared Scheib 2d88f15fdf Use string IDs in JSON res and req for Users
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-10 12:27:55 -07:00
Michael de Sa 63d7a4d201 Update only fields with diff; add test for that
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 11:40:33 -07:00
Michael de Sa 526dca3cb4 Make User Update test reflect updated changes
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 11:36:13 -07:00
Michael de Sa f2617c6744 Use new-school sort.Slice
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-10 11:30:57 -07:00
Jared Scheib c5ef8ed487 Add comments to exported functions
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-09 15:28:39 -07:00
Michael de Sa 6135a6a4ea Return users in usersResponse in sorted order
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-09 15:19:46 -07:00
Michael de Sa b8970c8ed1 Add All route & operation for Chronograf Users
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-09 15:03:50 -07:00
Jared Scheib eb6c212023 Implement CRUD routes & operations for Chronograf User
Move source Users code into source_users and source_users_test files.
Use the UsersStore for both InfluxDB and Chronograf users.

Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-09 14:16:24 -07:00
Nathan Haugo cce3ee95a5 Merge 1.3.9.x changelog and version bump 2017-10-06 11:39:45 -07:00
Nathan Haugo a2f270bdb2 Update version 2017-10-06 11:38:40 -07:00
Nathan Haugo 94de5a0832 Clean up changelog 2017-10-06 11:36:36 -07:00
Hunter Trujillo 3bbae491c5 Fix PR change requests. 2017-10-06 09:47:03 -07:00
Hunter Trujillo f3f73cd16d Changelog. 2017-10-06 09:46:57 -07:00
Hunter Trujillo ed361e0060 Add Data Explorer InfluxQL query and location query synchronization 2017-10-06 09:46:49 -07:00
Hunter Trujillo 246d4bf4f8 Merge pull request #2082 from influxdata/feature/query-sync
Add Data Explorer InfluxQL query and location query synchronization
2017-10-05 14:18:51 -06:00
Hunter Trujillo 9922743de1 Fix PR change requests. 2017-10-05 12:02:03 -06:00
Hunter Trujillo 1f6c2c7a82 Changelog. 2017-10-05 10:23:45 -06:00
Hunter Trujillo 7eb28f5407 Add Data Explorer InfluxQL query and location query synchronization 2017-10-05 10:20:00 -06:00
Alex P d1c8a2b8c6 Prevent CEO toggle from de-centering when no queries present 2017-10-04 17:48:50 -07:00
lukevmorris 20ce13c5ef Merge pull request #2079 from influxdata/source-cell-cleanup
Source cell cleanup
2017-10-04 17:15:12 -07:00
lukevmorris 4f7ba728d0 Merge pull request #2076 from influxdata/source-cell-cleanup
Source cell cleanup for 1.3.9.x
2017-10-04 17:13:41 -07:00
Andrew Watkins 3f87a1595c Dont show source list until query is created 2017-10-04 16:29:28 -07:00
Alex P 2c1f02f743 Fix dropdown item clickable area bug 2017-10-04 16:13:07 -07:00
Andrew Watkins e6d3db8add Remove fun from the world 2017-10-04 15:53:24 -07:00
Andrew Watkins b5431b80eb Merge branch 'master' of github.com:influxdata/chronograf 2017-10-04 15:52:13 -07:00
Andrew Watkins 834f9935c6 Update copy 2017-10-04 15:52:03 -07:00
Andrew Watkins d76b1d0b0e Update source for tag values 2017-10-04 15:44:13 -07:00
Andrew Watkins 97ee2e3047 Add local source logic to local queryStateReducer 2017-10-04 15:43:40 -07:00
Andrew Watkins ebd935ef35 Keep local source until save 2017-10-04 15:02:03 -07:00
Alex Paxton 09be02e46c Merge pull request #2069 from influxdata/chore/sourceindicator_port
Display name and port in SourceIndicator tooltip; clean up Tooltip styles
2017-10-04 14:40:21 -07:00
Alex P 3f1a6b91ea Remove excess brackets 2017-10-04 13:17:20 -07:00
Nathan Haugo a2fe9fcfa9 Merge pull request #2071 from influxdata/feature/port-1.3.8.x-pixel
Feature/port 1.3.8.x pixel
2017-10-04 12:52:55 -07:00
Nathan Haugo 4d4a49103f Remove debugging artifacts 2017-10-04 12:51:58 -07:00
Nathan Haugo 9280ba9cbc Merge branch 'master' into feature/port-1.3.8.x-pixel 2017-10-04 12:47:23 -07:00
Alex P 2218b1f578 Use same style patterns in kapacitor themed tooltips 2017-10-04 12:40:40 -07:00
Alex P 8957e74a2f Updoot 2017-10-04 12:36:07 -07:00