Commit Graph

13 Commits (1c6e055c3dda645453c305432931dde805b3ca94)

Author SHA1 Message Date
vlastahajek 92474858ae fix: crash on windows when build by go 1.14 (#5511) 2020-06-15 08:21:32 -07:00
Bucky Schwarz b5d1f1a411 chore: switch uuid libraries; clean modules after switch 2020-04-13 14:58:57 -07:00
Bucky Schwarz e45cb637a0 chore: update flux to 0.65.0 2020-04-13 14:58:57 -07:00
Greg 26458417c7
feat: add ability to authenticate single superadmin user (#5400)
* feat: add ability to authenticate single superadmin user

This short-circuits any configured authentication, allowing a user
with the correctly signed message to act against the api.

* Present an expiring message to be signed/verified

* Add chronoctl command to ouput token for use in auth header

* Add command to generate and store RSA keypair

* Test new superadmin token checks
2020-02-28 14:14:46 -07:00
Bucky Schwarz 25152c5a3a fix: update the makefile to force make gen to work 2020-02-18 13:34:25 -08:00
Greg 56353bee05
feat: add etcd as backend store (#5352)
* Add some comments about unused v2 stuff

* Add etcd as kv backend

* Add configuration options to utilize etcd backend
2020-01-21 11:05:00 -07:00
Greg f0d5e5abef
chore: add a KV layer prior to adding an etcd implementation (#5349)
* Bolt to kv/bolt

* Remove unused code

* Remove unused roles code

* Remove unused duplicate Makefile

* Clean up bolt implementation and start layering in an interface for another store

* Layer in kv interface

* Continue layering in kv interface

* Remove circuitbreaker things

* Move cell stuff out

* Convert cell logic to kv interface

* Start adding config logic to kv interface, likely will remain bolt only

* Get to compile with bolt kv before moving too far forward

* Start removing dead dashboard code

* Add generic kv implementation for dashboards

* Convert layouts to kv interface

* Migrate mappings to kv layer

* Migrate org_config to kv layer

* Migrate organizations to kv layer

* Migrate servers to kv layer

* Migrate sources to kv layer

* Migrate users to kv layer

* Start removing unused migration logic

Since there is a migration path for users via updating to 1.7.x line then to 1.8, there isn't any real reason to continue supporting migrating from a version ~2 years old.

* Cleaning up bolt dead codes

* Re-add disabled code

* Migrate tests over to kv layer

* Migrate config to kv layer

* Create default organization

* Remove etcd for now

* Improve new client and new service implementations

* Uncomment bolt build tests

* Add layouts test

* Add more dashboard tests to kv
2020-01-21 09:26:23 -07:00
Greg 1806d6c298
chore: tidy prior to kv refactor (#5342)
* Start cleaning up/reviewing for kv refactor

* Remove dependency on graceful http layer

* Remove deprecated cli option --new-sources

* Run gofmt and remove dep related files

* Update non-influx deps

* Update kapacitor dep

* Compile regexp's once

* Remove un-needed struct members

* Remove unused integrations code
2020-01-09 08:49:42 -07:00
Bucky Schwarz 74cd98a516 chore: upgrade go and node-sass dependencies 2020-01-02 12:48:40 -08:00
Michael Desa 5214b7d47d
chore: upgrade to flux v0.50.2 (#5305)
Closes https://github.com/influxdata/chronograf/issues/5303
2019-11-07 11:35:08 -05:00
Christopher Henn 95201e9268 Add LOGIN_HINT OAuth config option 2019-07-09 15:02:44 -07:00
Christopher Henn fdd52446d5 Fix JWK signing key check 2019-07-09 11:06:26 -07:00
Brandon Farmer 944402e1a3 Use go modules, update flux 2019-04-11 16:14:36 -07:00