Jared Scheib
74a9bbfb62
Properly use enums to limit valid role strings
2018-03-29 15:44:04 -07:00
Jared Scheib
04ace1612b
Improve descriptions of /organization(s) & /user(s) API
2018-03-29 15:39:20 -07:00
Jared Scheib
6e22264957
Replace multiorganization & multiuser tags with organizations & users
2018-03-29 14:04:39 -07:00
Jared Scheib
614b50be67
Prettier
2018-03-29 14:00:24 -07: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
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