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
Michael Desa
c649095326
Change default org ID to default from Default
...
This is so that the URL can be case insensitive. (e.g.
/chronograf/v1/organizations/default instead of
/chronograf/v1/organizations/Default)
2017-12-19 10:26:36 -08:00
Michael Desa
d8d20547ab
Change Organization ID to string from uint64
2017-12-19 10:13:43 -08:00
Chris Goller
ac41c384f2
Add multiple dashboard stores to server
2017-12-19 10:07:07 -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
8bd97fa14e
Repair broken tests
2017-12-17 14:25:18 -08:00
Luke Morris
2184aecf86
Refactor; simplify function responsibilities
2017-12-17 14:11:27 -08:00
Luke Morris
3518074d7d
Repair broken tests
2017-12-16 14:35:04 -08:00
Luke Morris
8ca3338afb
Add/correct comments for new Build functions
2017-12-16 14:09:39 -08:00
Luke Morris
da71af2b7b
Clean up prior to PR
2017-12-16 13:54:55 -08:00
Luke Morris
1e020babd4
Output backups to backup/ directory
2017-12-16 13:32:21 -08:00
Luke Morris
17fd5d8591
Don't backup bolt if it is new
2017-12-16 13:06:43 -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
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
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
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
Michael Desa
39b9a90900
Remove organization LayoutsStore
2017-12-05 17:14:21 -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
Jared Scheib
6b7a18d666
Complete 9ef1e57
by removing Role concept from sources in server
2017-11-30 19:03:56 -08:00
Michael Desa
e27936ee69
Add Num to UsersStore interface
2017-11-30 12:55:59 -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
Chris Goller
4955269dcc
Update indentation format of the proto file
2017-11-21 19:29:34 -06:00
Chris Goller
fd93742dd7
Add colors to storage of cells
2017-11-21 19:26:25 -06:00
Andrew Watkins
93ff34affc
Update proto TimeShift property descriptions
2017-11-21 10:33:21 -08:00
Andrew Watkins
d8c2b2b8eb
Update test
2017-11-17 10:51:50 -08:00
Michael Desa
cde3dcaac1
Set default role to viewer on source if not specified
2017-11-13 20:41:54 -08:00
Michael Desa
e4d99c34b4
Migrate all orphaned resources to DefaultOrg
...
When users upgrade, all of their bolt resources will not belong to any
organization. This PR introduces a migration path where any orphaned,
resources without an organization, will become owned by the default
organization.
2017-11-13 20:41:54 -08:00
Luke Morris
b3d0d6eeee
Address PR feedback.
2017-11-13 18:08:50 -08:00
Luke Morris
b543e64ef1
Make Public values explicit
2017-11-13 12:15:53 -08:00
Luke Morris
b38730afd5
If not set, Public should be true by default
2017-11-13 11:58:07 -08:00
Luke Morris
65ae474a5c
Clear test noise
2017-11-10 18:45:25 -08:00
Luke Morris
31277c432c
Rename whitelistOnly => public
2017-11-10 18:23:41 -08:00
Michael Desa
173d1f2d71
Check WhitelistOnly setting on default org in Me
...
Set DefaultOrganizationWhitelistOnly to false
Set DefaultOrganizationRole on new user in Me
2017-11-10 16:15:29 -05:00
Michael Desa
dc1ee40bc6
Add WhitelistOnly to organizations
...
Fix adding default role to organization
2017-11-10 15:57:48 -05:00
Michael Desa
fe6f3bd673
Fix updating default role on organization
2017-11-10 14:55:21 -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
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
569ae2ce4b
Add test for deleting default organization
...
Group together constants
2017-11-06 10:17:15 -05:00