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
Nathan Haugo
d7f9faa782
Bumpversion to 1.4.0.0
2017-12-22 12:59:04 -08:00
Alex Paxton
0f6a2d8802
Merge pull request #2598 from influxdata/single-stat-colors-polish
...
Single Stat Colors Polish
2017-12-22 12:48:50 -08:00
Nathan Haugo
94fea97117
Update version
2017-12-21 11:36:03 -08:00
Alex P
8b37f02030
Merge branch 'master' into single-stat-colors-polish
2017-12-20 17:59:52 -08:00
Jared Scheib
f91a2e436d
Merge branch 'master' into feature/superadmin_gets_default_role
2017-12-20 17:49:29 -08:00
Michael Desa
95297303be
Check specific case when SA changes their status
...
SA - SuperAdmin
2017-12-20 16:34:31 -08:00
Michael Desa
14af1aa115
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
ab9e686bbb
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
d8a0aa3b89
Update CHANGELOG and versions to prep for 1.4.0.0-rc1
2017-12-19 18:38:46 -06:00
Nathan Haugo
72a756c843
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
774d9a7456
Remove unused code related to excess prints
2017-12-19 13:24:05 -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
Nathan Haugo
daae351232
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
11a4404d6d
Remove extra debugging statement from influx queries
2017-12-19 13:48:56 -06:00
Chris Goller
45301fb012
Fix cell replacement to return query config
2017-12-19 13:43:39 -06:00
Chris Goller
3035cad82a
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
d8d20547ab
Change Organization ID to string from uint64
2017-12-19 10:13:43 -08:00
Chris Goller
9d1165a335
Update CLI option to reflect dashboards directory
2017-12-19 10:07:09 -08:00
Chris Goller
ac41c384f2
Add multiple dashboard stores to server
2017-12-19 10:07:07 -08:00
Chris Goller
979f260f4b
Move MultiSourceStore to the multistore package
2017-12-18 17:31:45 -08:00
Chris Goller
f8461a8252
Move kapacitor multistore to the multistore package
2017-12-18 17:31:45 -08:00
Chris Goller
e1bfa8b2b7
Update layouts from canned package to filestore
2017-12-18 17:31:45 -08:00
Chris Goller
8811fc3420
Fix vet for tests
2017-12-18 17:31:45 -08:00
Chris Goller
56d9d4721b
Update layouts package to multistore
2017-12-18 17:31:45 -08:00
Jared Scheib
2ba29d6937
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
071b8b4f82
Minor tweaks based on PR review
2017-12-18 12:59:04 -08:00
lukevmorris
7663df8884
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
fcdc4efb2c
Backup/Migrate/Initialize moved into Open
...
Signed-off-by: Chris Goller <goller@gmail.com>
2017-12-18 12:06:17 -08:00
Luke Morris
2184aecf86
Refactor; simplify function responsibilities
2017-12-17 14:11:27 -08:00
Luke Morris
da71af2b7b
Clean up prior to PR
2017-12-16 13:54:55 -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
Michael Desa
a4736148c0
Allow SuperAdmins to change into any organization
2017-12-15 16:05:56 -08:00
Jared Scheib
933291918b
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
43db95f2cc
Allow users to toggle between coloring text or background with single stat thresholds
2017-12-14 19:07:19 -08:00
Michael Desa
4223767c53
Use serverContext for getting Config in NewUser
2017-12-14 13:34:19 -08:00
Nathan Haugo
3f4bfefd00
Bump version to 1.4.0.0-beta2
2017-12-14 12:47:41 -08:00
Nathan Haugo
971156edf0
Bump version to 1.4.0.0-beta2
2017-12-14 12:45:44 -08:00
Michael Desa
61ef8937ba
Add comment clarifying UsersStore Add method
2017-12-14 11:36:26 -08:00
Michael Desa
da605ac138
Set SuperAdmin for NewUsers based on ConfigSetting
2017-12-14 11:11:51 -08:00
Jared Scheib
456488f0ac
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
14599e0f0a
Add comment about firstUser superAdmin logic
2017-12-14 10:46:55 -08:00
Michael Desa
392594539b
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
2b38918a44
Prevent users joining default org if private
2017-12-13 16:59:02 -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
Jared Scheib
5c813493ea
Add config.self & config.auth routes, update client routes & make PATCH a PUT
2017-12-13 13:54:23 -08:00
Michael Desa
da67f958ae
Remove SuperAdminFirstUserOnly CLI flag
...
Wire up boltdb config store
2017-12-13 11:55:36 -08:00
Michael Desa
9a1ba96977
Wire up bolt db ConfigStore in Server
2017-12-13 10:46:08 -08:00