Commit Graph

31881 Commits (86a359f34bf677f074ac300c61114d918b4e9dd7)

Author SHA1 Message Date
Johnny Steenbergen 86a359f34b chore(http): refactor http layer to be able to encode/decode influxdb.ID's safely
noticed that I had not used the http server as the entry point for server tests.
This was work to make that happen. Along the way, found a bunch of issues I hadn't
seen before 🤦. There are a number of changes tucked away inside the
other types, that make it possible to encode/decode a type with zero value for
influxdb.ID.
2019-12-13 09:46:01 -08:00
Ariel Salem cc3b164450
fix(ui): sort by modified now integrated (#16219)
fix(ui): sortby modified date now integrated & dashboard list sets default for each dashboard if props are undefined to ensure functionality
2019-12-12 16:31:18 -08:00
Andrew Watkins 3cca6be000
feat: route user to no orgs page (#16208)
* feat: route user to no orgs page

* style: no orgs page

* fix: eslint

* fix: prettier
2019-12-12 14:09:17 -08:00
Timmy Luong 7b81ebaf4e
fix(ui): update giraffe and time format options (#16217)
* fix(ui): update giraffe and time format options

* chore: update CHANGELOG
2019-12-12 14:01:47 -08:00
docmerlin (j. Emrys Landivar) bf88cd7502 chore(tasks): add test for task alignment 2019-12-12 13:26:59 -06:00
Bucky Schwarz bc3bfbc61e test: skip flaky cypress test 2019-12-12 13:26:59 -06:00
docmerlin (j. Emrys Landivar) 07345a58f4 fix(tasks): align @every schedule firings 2019-12-12 13:26:59 -06:00
Ariel Salem eefb8dd525
fix(ui): adding times in script editor will default start and endtime for timerange queries (#16201)
fix(ui): adding times in script editor will default start and endtime for timerange queries, compute timeranges based on script and based on widest date range & fix dashboard so that cells that have been saved with timerange scripts are based on those timeranges
2019-12-12 10:29:09 -08:00
Deary Hudson III 48e854776e
fix(cmd): adds org svc dep to pkg (#16206) 2019-12-12 11:33:15 -06:00
Johnny Steenbergen bf86cce1f1 feat(httpc): extend httpc Client with JSON shorthand methods
making most common API calls super easy to get up and running
2019-12-12 07:44:31 -08:00
Edd Robinson bd67d3d368
Merge pull request #16183 from influxdata/er-kv-race
fix: remove racy, redundant initialisation
2019-12-12 14:09:46 +00:00
Edd Robinson b165b1d0b3 fix: remove racy, redundant initialisation 2019-12-12 13:20:44 +00:00
Johnny Steenbergen 3daaa4d307 feat(pkger): add apply functionality for notification endpoints kind 2019-12-11 15:13:42 -08:00
Johnny Steenbergen 69d7eb4455 feat(pkger): add notification endpoint dry run functionality 2019-12-11 15:13:42 -08:00
Alirie Gray b5ccad3c07
feat(metrics): add run latency to executor metrics (#16190) 2019-12-11 14:50:32 -08:00
Bucky Schwarz efdc6e592b fix: return the telegraf module based on Loadable's interface 2019-12-11 13:40:32 -08:00
Bucky Schwarz d2fe751e5a fix: add a timestamp to the telegraf label creation to insure uniqueness 2019-12-11 11:46:09 -08:00
Alex Boatwright 24e4fe4d93
fix: lint error (#16202) 2019-12-11 11:18:07 -08:00
Johnny Steenbergen 8729cd0959 chore(http): refactor api handler take advantage of route tree instead of switch statement
is very much WIP at this point
2019-12-11 09:53:29 -08:00
Ariel Salem b62f29431f
fix(ui): updated webpack to account for different wasm files (#16194)
fix(ui): updated webpack to account for different wasm files
2019-12-11 08:57:22 -08:00
Ariel Salem 7be9307e59
fix(ui): regression fix, notes are now deletable (#16175)
regression fix, notes are now deletable
2019-12-11 08:56:42 -08:00
Alex Boatwright 8093c44230
fix: adding unique id for walkme (#16193) 2019-12-11 08:34:44 -08:00
Scott Anderson e44201e078
chore(flux): update flux functions list for flux 0.56 (#16184)
* chore(flux): update flux functions list for flux 0.56

* added http.post function to flux functions list

* fix(fluxFunctions): change aggregateWindow example to use variable

* updated and simplified example window function in flux function list

* removed unnecessary newline from window function example
2019-12-11 09:27:23 -07:00
Yiqun Zhang f6df30adac
build(flux): update Flux to v0.57.0 2019-12-11 11:19:05 -05:00
Gavin Cabbage 43ff4abffd feat(query): add trace response headers 2019-12-11 09:10:21 -05:00
Jakub Bednář 3e33a03ae1
fix(http): update swagger for easily use in clients (#16067)
* added date-time format for start and stop DeletePredicateRequest
* fixed malformed reference to ViewProperties in PkgChart model
* define separate model for RetentionRule as is in Organizations, Buckets, Labels
* "labels" property from Check and PostCheck should be part of CheckBase (it is ancestor for all Check types)
* "labels" property from NotificationRule and PostNotificationRule should be part of NotificationRuleBase (it is ancestor for all NotificationRule and types)
* "labels" property from NotificationEndpoint and PostNotificationEndpoint should be part of NotificationEndpointBase (it is ancestor for all NotificationEndpoint and types)
* The url property of HTTPNotificationRuleBase should not be required
* Added query link for CheckBase and NotificationRuleBase
2019-12-11 11:24:04 +01:00
Chris Goller 55ce0a0bfc
style: allow Merge commits in commit messages (#16195)
style: allow Merge commits in commit messages
2019-12-10 17:22:26 -08:00
Chris Goller b42098543c
style: allow Merge commits in commit messages
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-10 16:58:52 -08:00
Deary Hudson III 336961c757
feat(cmd): bucket create to accept org name as flag (#16187)
* enables the user to specify an organization name when creating a bucket.
2019-12-10 17:46:36 -06:00
Deniz Kusefoglu f64c63120a
Chore(ui): Use typed timeRanges throughout the app (#16130)
* chore(ui): Remove unused references to timeRange

* chore(ui): Add comment to timerange to duration function

* chore(ui): Fix getTimeRangeVars.test

* Refactor getTimeRangeVars.ts

* chore(ui): Remove references to zoomed time range

* chore(ui): Remove unused set dashboard time range v1 action

* chore(ui): Add preliminary timeRange types

* chore(ui): Add init pass at reasonable timeRange constants

* chore(ui): Finish Remove unused set dashboard time range v1 action

* fix(ui): Conver redux ranges state to object from array

* chore(ui): Read from and write to ranges local storage

* chore(ui): Reorder imported things

* chore(ui): Add typing to timeRanges from query params and localstorage

* chore(ui): Fix Dashboard and DE Time Range Dropdown

* chore(ui): Fix check timeRange

* chore(ui): Convert duration time Ranges to custom for time range dropdown

* chore(ui): Convert delete with predicate timeranges to TimeRange types

* chore(ui): Convert predicates timeRange to custom

* chore(ui): fix ValidateAndType bug

* fix(ui): Fix show bucketname in delete data form

* fix(ui): Allow timeRange to handle all duration time Ranges

* chore(ui): Separate DeleteDataOverlay update logic

* fix(ui): Fix deletedata overlay dismiss routing

* chore(ui) cleanup

* chore(ui): Allow timeRange dropdown to work with no prior timeRange selection

* chore(ui): Remove unused import

* fix(ui): Fix time Ranges tests

* fix(ui): Fix tests

* fix(ui): Fix tests

* fix(ui): Extract label creation function and use where needed

* fix(ui): Fix predicate testing

* fix(ui): Fix prettier issue

* chore(ui): Refactor duration.ts

* chore(ui): Remove labels from timeRange

* chore(ui): Return label for selectable-duration label

* chore(ui): Resolve merge error

* chore(ui): Make tests more robust

* feat(ui): protect query params access with get

* chore(ui): Add comment to warn against regex behavior

* Apply prettier to predicates.test
2019-12-10 12:52:03 -08:00
Johnny Steenbergen b2ea95f512 feat(http): add notification endpoint service
note: tests are seriously borked here. Cannot reuse any existing testing
as the setup is very particular and the http layer doesn't suppport everyting.
that being said, there are goign to be implicit testing in the
`launcher/pkger_test.go` file. This feels broken, and probably needs to be
readdressed before we GA a 2.0 influxdb....
2019-12-10 12:40:17 -08:00
Jonathan A. Sternberg 791cf15cd3
build(flux): update Flux to v0.57.0 2019-12-10 13:26:10 -06:00
Johnny Steenbergen 417d25537f chore(http): refactor org service to use httpc client 2019-12-10 10:49:22 -08:00
Scott Anderson 2fb6abcc68 removed unnecessary newline from window function example 2019-12-10 10:36:38 -07:00
Scott Anderson 73b06ead72 updated and simplified example window function in flux function list 2019-12-10 10:35:24 -07:00
Timmy Luong d279680cb1 chore: update CHANGELOG 2019-12-10 09:28:04 -08:00
Russ Savage f354bc37b5
fix(fluxFunctions): change aggregateWindow example to use variable 2019-12-10 09:23:38 -08:00
Alex Boatwright 15f473be0c
fix: removing the telegraf bucket sort (#16179) 2019-12-10 09:20:44 -08:00
Scott Anderson be63d3f923 added http.post function to flux functions list 2019-12-10 10:12:58 -07:00
Alex Boatwright c21e08924b
feat(ui): create telegraf config (#16157) 2019-12-10 09:07:18 -08:00
Scott Anderson 8f953bc5e3 chore(flux): update flux functions list for flux 0.56 2019-12-10 10:05:45 -07:00
Andrew Watkins 4f5ff962d6
fix(e2e): fix race conditions (#16173)
* fix(e2e): flakey query builder test

* test(e2e): run test 50 times

* test(e2e): run update label test 50 times

* fix(e2e): visit page after creation

* chore(e2e): run test once

* fix(e2e): run update label test once
2019-12-10 07:12:34 -08:00
Ayan George 0681b41bef
Merge pull request #15776 from ayang64/uint-support-15711
refactor(models): permanently enabled uint64 support
2019-12-10 09:45:11 -05:00
Gavin Cabbage 3d835f9f5f chore: update changelog 2019-12-10 09:06:33 -05:00
Gavin Cabbage f1975bb268 refactor(logger): use TraceInfo in TraceFields 2019-12-10 09:06:33 -05:00
Gavin Cabbage 5c9c31f3ab feat(query): capture query handler error in trace log 2019-12-10 09:06:33 -05:00
Gavin Cabbage c91263cbbb chore(docs): updated readme to reflect password character minimum 2019-12-10 09:06:33 -05:00
Gavin Cabbage b7c2c997d2 feat(query): annotate logger with trace id 2019-12-10 09:06:33 -05:00
Johnny Steenbergen c24137d9ef fix(http): fixes resource type on variables handler, was incorrect beforehand 2019-12-09 17:47:31 -08:00
Ariel Salem 9991a27f74
fix(ui): updated table threshold to set background colors for thresholds correctly (#16172)
fix(ui): updated set threshold function to account for table
2019-12-09 14:24:11 -08:00