Commit Graph

1110 Commits (3209fd593212f2fa07a0bfb2d361c0acaadbc60e)

Author SHA1 Message Date
Pavel Zavora a524caaa65 chore: add zenoss to swagger 2021-05-17 07:06:08 +02:00
Pavel Zavora f65f22a86c feat: add teams to swagger 2021-05-06 10:19:36 +02:00
Pavel Zavora 8ea76c76bb feat(server): implement v2 write proxy 2021-05-03 08:40:01 +02:00
Pavel Zavora afa4621964 chore: comment out unused code 2021-05-03 07:13:37 +02:00
Pavel Zavora 856477736d feat(server): add bigPanda to swagger 2021-04-26 03:55:05 +02:00
Pavel Zavora f451cd32da feat: use semicolon to separate custom auto refresh options 2021-04-20 20:36:39 +02:00
Pavel Zavora 4bbea14ad6 feat(server): test customAutoRefresh env retrieval 2021-04-20 20:36:39 +02:00
Pavel Zavora 00977512c0 feat(server): add --custom-auto-refresh option 2021-04-20 20:36:39 +02:00
Pavel Zavora 30d1ca86a3 feat(server): allow to setup influxdb v2 connection on CLI 2021-04-19 12:07:56 +02:00
Pavel Zavora 9ea26d5bb1 chore(server): make the campground cleaner 2021-04-14 16:31:11 +02:00
Pavel Zavora f6b8a7b2ad fix(server): allow to pass actual source version to flux proxy 2021-04-14 16:31:11 +02:00
Pavel Zavora 54e2b358c8 chore: update changelog 2021-04-14 16:31:11 +02:00
Pavel Zavora 41c348c4f7 fix(server): enforce detection of flux when influxdb is passed via cli options 2021-04-14 16:31:11 +02:00
Pavel Zavora 241081cdd8 fix(server): remove orphan roles upon user update 2021-04-13 06:21:45 +02:00
Pavel Zavora 40f7d398ff feat(oauth/github): allow to specify URL for github enterprise 2021-03-29 21:02:34 +02:00
Pavel Zavora 560d5b7ae1 feat(oath): enable PKCE by default in all providers 2021-03-27 10:11:02 +01:00
Pavel Zavora b868fedb47 chore: repair error messages 2021-03-27 10:11:02 +01:00
Pavel Zavora 5ec7adc8c9 feat(oauth): use PKCE OOTB for Auth0 2021-03-27 10:11:02 +01:00
Pavel Zavora 2d6b97235d feat(oauth): add and propagate GenericPKCE option 2021-03-27 10:11:02 +01:00
Pavel Zavora 6db88516d2 chore(server): repair tests 2021-03-19 15:57:14 +01:00
Pavel Zavora 27bafcff09 chore(server): remove unused code 2021-03-19 15:40:40 +01:00
Pavel Zavora 139860db76 chore(server): repair error messages 2021-03-19 15:39:45 +01:00
Pavel Zavora e30a39ccc8 feat(server): allow to dry-run creation or update of source 2021-03-19 15:36:48 +01:00
Pavel Zavora 52e7b0ad6e feat(server): remove hipchat 2021-03-15 18:27:51 +01:00
Pavel Zavora d833b03529 feat(server): validate flux template type variable upon update/save 2021-03-11 21:04:40 +01:00
Pavel Zavora db06a59a0a feat(server): enhance dashboard with flux variable template 2021-03-11 21:04:40 +01:00
Pavel Zavora 2e12852e19 feat(server): add ETCD_ROOT_CA option 2021-03-04 07:45:53 +01:00
Pavel Zavora dbee33c730 chore: refactor TLS configuration to avoid circular dependencies 2021-03-04 07:36:42 +01:00
Pavel Zavora 382b8a2a81 chore: allow CreateTLSConfig with optional certificate 2021-03-04 07:36:42 +01:00
Pavel Zavora 32bfad6663 chore: refactor TLSOptions 2021-03-04 07:36:42 +01:00
Pavel Zavora 7bc29c22e8 chore: refactor CreateTLSConfig 2021-03-04 07:36:42 +01:00
Pavel Zavora 97089205a5 chore: go fmt 2021-03-04 07:36:42 +01:00
Pavel Zavora bc03575561 feat: possibly read custom CA certs to create tls.Config 2021-03-04 07:36:42 +01:00
Pavel Zavora 188d2ccaa6 feat: update swagger with ServiceNow alert type 2021-02-28 06:57:50 +01:00
ivankudibal eb8728e2fe chore: prepare for 1.8.10 release 2021-02-08 16:52:11 +01:00
Pavel Zavora 2d483caf2d feat(ui): allow to set active database for InfluxQL commands 2021-01-04 16:45:18 +01:00
Pavel Zavora 3f174045bc fix(server/databases): ignore databases with retention policies that cannot be listed 2020-12-16 07:46:41 +01:00
ivankudibal 4e8c2f20b6 chore: prepare for 1.8.9.1 release 2020-12-10 21:01:42 +01:00
Pavel Zavora 6615984678 feat(server): validate credentials upon source create or update 2020-12-09 17:37:44 +01:00
Pavel Zavora fb146bf892 chore: improve code 2020-12-07 10:19:00 +01:00
Pavel Zavora b445c511e0 feat(ui): inform about disabled Flux for v2 server 2020-12-07 09:11:50 +01:00
Pavel Zavora 4e8d541224 feat(v2): allow to control influxdb-v2 source type that turns on Token authentication 2020-12-07 08:39:35 +01:00
ivankudibal 3b2ac592e7 chore: prepare for 1.8.9 release 2020-12-04 06:49:43 +01:00
Pavel Závora 98a3b928d3
Merge pull request #5619 from influxdata/feat/v2_flux
feat: support flux against InfluxDB v2 sources
2020-12-02 12:02:00 +01:00
Pavel Závora 1aab8f560e
Merge pull request #5612 from influxdata/5576/etcd_tls_client_cert
feat(etcd): allow to configure  ETCD with client certificate
2020-12-02 12:00:43 +01:00
Pavel Zavora beebcd68b9 feat(sources): keep client preference when retrieving source version 2020-11-30 07:47:00 +01:00
Pavel Zavora 9c789f50e0 chore(server): repair Test_MountableRouter_PrefixesPuts to use http 2020-11-26 12:00:17 +01:00
Pavel Zavora e3270fefb2 feat(v2): modify flux proxy to add org parameter to /api/v2/query 2020-11-24 20:24:44 +01:00
Pavel Zavora 05ea29202f feat(etcd): allow to configure ETCD with client certificate 2020-11-18 20:22:19 +01:00
Pavel Zavora 7e0cba1890 fix(go1.15): require non-nil parent in context.WithValue 2020-11-13 14:40:20 +01:00
ivankudibal 5c1aac9ebb chore: prepare for 1.8.8 release 2020-11-04 12:50:25 +01:00
Pavel Zavora ffda97c69c fix(servers): apply default timeouts in server connections 2020-10-29 20:03:34 +01:00
ivankudibal 597f1c2379 chore: prepare for 1.8.7 release 2020-10-06 21:44:36 +02:00
Pavel Závora 2c5656c340
feat(server): allow to configure TLS ciphers and versions (#5591)
* feat(server): allow to configure TLS ciphers and versions
2020-10-06 21:23:28 +02:00
Gregory Eremin 60bc07ee71 feat(session): make session inactivity duration configurable 2020-09-28 18:50:50 +02:00
Pavel Zavora b8de7c2f73 feat(server): allow to configure basic authentication 2020-09-28 18:20:21 +02:00
ivankudibal 98cf421465 chore: prepare for 1.8.6 release 2020-08-26 21:11:00 +02:00
Tim Yocum c9cb8b65ad
fix: statusFeed URL update
The external `statusFeed` parameter has been corrected.
2020-07-20 16:09:36 -05:00
ivankudibal 6b7e6cb1a0 chore: prepare for 1.8.5 release 2020-07-08 11:59:54 +02:00
Pavel Zavora cebd337325 fix(kapacitors): return the first error if possible without modifications upon multiple kapacitor updates 2020-06-17 05:04:51 +02:00
Pavel Zavora ade1f504d9 chore: code review 2020-06-17 05:04:51 +02:00
Pavel Zavora c45414aa1c fix(kapacitor): test enforcement of one active kapacitor 2020-06-17 05:04:51 +02:00
Pavel Zavora 18164d81fd fix(kapacitor): enforce one active kapacitor 2020-06-17 05:04:51 +02:00
Greg 00cce510f2
fix: remove common public-url config from oauth validation check (#5475) 2020-05-05 15:42:41 -06:00
Bucky Schwarz 86f6051776
chore: prepare for 1.8.4 release 2020-04-30 10:22:13 -07:00
Bucky Schwarz baac7cf4ec
chore: prepare for 1.8.3 release 2020-04-23 15:56:51 -07:00
Greg 3652328954
feat: add ability to ignore or verify self signed oauth certs (#5461) 2020-04-22 18:04:04 -06:00
Greg 6279df2969
fix: validate oauth settings prior to starting (#5458) 2020-04-21 13:49:18 -06:00
Bucky Schwarz 88836fc062
chore: 1.8.2 release preparation 2020-04-13 15:13:24 -07:00
Bucky Schwarz ae637397b8
chore: prepare for release 2020-04-06 11:56:52 -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 747112b7de
chore: update changelog and bump minor version to 1.8.0 2020-02-18 15:04:06 -08:00
Bucky Schwarz f629d5848c fix: update logic to work properly with existing template variables 2020-02-18 13:34:25 -08:00
Greg 80d18ee90d
feat: add flag to redirect login page to specified OAuth IdP (#5380)
Co-Authored-By: Bucky Schwarz <hoorayimhelping@users.noreply.github.com>
2020-02-13 11:37:41 -07:00
Russ Savage 1ce8806b8e feat: add flag to disable host list page 2020-02-10 13:50:28 -08:00
greg linton 599cb082aa chore: add some sweet sweet tests for filestore dashboards 2020-02-07 14:03:24 -07:00
Bucky Schwarz fff7836818 feat(ui): Template variables can now select their source database 2020-02-06 13:10:41 -08:00
greg linton 0e60cfdb04 fix: pass insecure cert settings to flux client 2020-02-05 11:32:19 -07:00
greg linton 67776112d1 fix: use influxdata url that happens to have the correct cors headers 2020-02-04 15:44:59 -07:00
greg linton 242ead451b fix: use matching env var for etcd-endpoints 2020-01-31 14:35:39 -07:00
greg linton 69cf16a41d feat: add '/ping' route for simple health checksi
update makefile version
add note about dashboards api compatibility
2020-01-31 14:35:39 -07:00
greg linton f57bf041b5 fix: update swagger to use string ids 2020-01-31 14:35:39 -07:00
greg linton b4e3792984 fix: update api to serve dashboard ids as a string
- state type of dashboard id as string in ui
- remove dangerous idNormalizer (converts numbers to strings and visa versa)

Thanks bucky (hoorayimhelping)
2020-01-31 14:35:39 -07:00
greg linton 9bc3b8b5e2 chore: remove remaining layout cruft 2020-01-23 11:15:32 -07:00
greg linton 899c35fc29 fix: add snowflake id, validate annotation endtime 2020-01-23 11:15:32 -07:00
greg linton a26b780036 chore: remove v2 related code 2020-01-21 13:57:09 -07: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 fdab763e39
chore: update changelog and bump minor version to 1.7.17 2020-01-08 11:54:33 -08:00
Michael Desa 7689dd7db4
chore: update changelog and bump minor version to 1.7.16 2019-12-19 13:49:14 -08:00
Michael Desa bb4f123bfd
fix(server): add DashboardCreate object to swagger definition (#5295)
This came up from https://github.com/influxdata/chronograf/issues/5291
where consumers of the API thought that they would be able to specify an
ID when a dashboard is created.
2019-10-16 15:53:59 -04:00
Michael Desa 2d3a265706
Merge branch '1.7.x' 2019-08-20 17:39:51 -04:00
Christopher Henn a0ef6742eb
Add LOGIN_HINT OAuth config option 2019-08-20 14:13:41 -04:00
Andrew Watkins 58b0b891ae
fix: alert rule message text template parsing (#5228)
* feat: add go text template parsing endpoint

* chore: yarn.lock

* chore(routes): change text validation endpoint name

* feat: validate kapacitor rule templates

* test(alerts): remove redundant tests

* chore(routes): update validate endpoint name

* test(routes): add validate endpoint to tests

* test(server): add validation endpoints

* feat(alerts): change template validation to 204

* chore: update react et al
2019-08-20 14:13:41 -04:00
Christopher Henn 95201e9268 Add LOGIN_HINT OAuth config option 2019-07-09 15:02:44 -07:00
Andrew Watkins 2dadcaf8dc
fix: alert rule message text template parsing (#5228)
* feat: add go text template parsing endpoint

* chore: yarn.lock

* chore(routes): change text validation endpoint name

* feat: validate kapacitor rule templates

* test(alerts): remove redundant tests

* chore(routes): update validate endpoint name

* test(routes): add validate endpoint to tests

* test(server): add validation endpoints

* feat(alerts): change template validation to 204

* chore: update react et al
2019-07-09 12:31:56 -07:00
Delmer Reed 9ae283420f fix(server): timeout and fetch version concurrently
fixes an issue where version was not being fetched concurrently
and not timing out for each source.

Co-authored-by: Kelvin Wang <sherkrainwang@gmail.com>
2019-06-11 13:41:53 -07:00
Delmer Reed 100148c087 fix(server): timeout and fetch version concurrently
fixes an issue where version was not being fetched concurrently
and not timing out for each source.

Co-authored-by: Kelvin Wang <sherkrainwang@gmail.com>
2019-05-30 17:31:35 -04:00
Brandon Farmer 601219f9dd Use go modules, update flux 2019-04-16 10:21:32 -07:00