Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ui): implement new cloud nav design #16203

Closed
wants to merge 199 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
083de65
refactor: add stylesheet for cloud nav
alexpaxton Dec 10, 2019
d3df88a
refactor: remove cloud icon from side nav
alexpaxton Dec 10, 2019
89156a1
refactor: move cloud nav to top of app
alexpaxton Dec 10, 2019
52cd623
Adds Binary: ui/src/pageLayout/images/influxdata-logo.pngo
alexpaxton Dec 10, 2019
66f350a
chore: add declaration so PNG files are typed as any when imported
alexpaxton Dec 11, 2019
4cb2257
refactor: modify cloud nav to use specified components
alexpaxton Dec 11, 2019
e6a37f4
fix: Remove comment
alexpaxton Dec 11, 2019
39f89a7
refactor: update nav item text
alexpaxton Dec 11, 2019
10f2ca6
refactor: do not show logout in sidenav for cloud users
alexpaxton Dec 11, 2019
c887468
refactor: add destination for Upgrade button
alexpaxton Dec 11, 2019
75917b4
fix: prettier
alexpaxton Dec 11, 2019
13146ce
feat(cmd): bucket create to accept org name as flag (#16187)
dearyhud Dec 10, 2019
f2726bf
style: allow Merge commits in commit messages
goller Dec 11, 2019
90ef83f
fix(http): update swagger for easily use in clients (#16067)
bednar Dec 11, 2019
6112590
feat(query): add trace response headers
gavincabbage Dec 6, 2019
bd4ec98
build(flux): update Flux to v0.57.0
jsternberg Dec 10, 2019
b62c829
chore(flux): update flux functions list for flux 0.56
sanderson Dec 10, 2019
932e407
added http.post function to flux functions list
sanderson Dec 10, 2019
abcbe19
fix(fluxFunctions): change aggregateWindow example to use variable
russorat Dec 10, 2019
18d4363
updated and simplified example window function in flux function list
sanderson Dec 10, 2019
afe32d4
removed unnecessary newline from window function example
sanderson Dec 10, 2019
f8e24b7
fix: adding unique id for walkme (#16193)
drdelambre Dec 11, 2019
35dbfc2
fix(ui): regression fix, notes are now deletable (#16175)
asalem1 Dec 11, 2019
30ea874
fix(ui): updated webpack to account for different wasm files (#16194)
asalem1 Dec 11, 2019
9930509
chore(http): refactor api handler take advantage of route tree instea…
jsteenb2 Dec 9, 2019
4157c34
fix: lint error (#16202)
drdelambre Dec 11, 2019
d85483e
fix: add a timestamp to the telegraf label creation to insure uniqueness
hoorayimhelping Dec 11, 2019
744cf07
fix: return the telegraf module based on Loadable's interface
hoorayimhelping Dec 11, 2019
b725bc8
feat(metrics): add run latency to executor metrics (#16190)
AlirieGray Dec 11, 2019
923b9f6
feat(pkger): add notification endpoint dry run functionality
jsteenb2 Dec 10, 2019
8aba023
feat(pkger): add apply functionality for notification endpoints kind
jsteenb2 Dec 10, 2019
ab38db8
fix: remove racy, redundant initialisation
e-dard Dec 10, 2019
491b033
feat(httpc): extend httpc Client with JSON shorthand methods
jsteenb2 Dec 12, 2019
46c22df
fix(cmd): adds org svc dep to pkg (#16206)
dearyhud Dec 12, 2019
40ee5ba
fix(ui): adding times in script editor will default start and endtime…
asalem1 Dec 12, 2019
3e1e8de
fix(tasks): align @every schedule firings
docmerlin Dec 6, 2019
e4ba3a4
test: skip flaky cypress test
hoorayimhelping Dec 6, 2019
29aeb03
chore(tasks): add test for task alignment
docmerlin Dec 9, 2019
d475f9f
fix(ui): update giraffe and time format options (#16217)
TCL735 Dec 12, 2019
91bb1ac
feat: route user to no orgs page (#16208)
121watts Dec 12, 2019
e93f813
fix(ui): sort by modified now integrated (#16219)
asalem1 Dec 13, 2019
a10087e
chore(http): refactor http layer to be able to encode/decode influxdb…
jsteenb2 Dec 12, 2019
40dcb41
chore(pkger): utilize http client for integration tests for pkger
jsteenb2 Dec 12, 2019
14b9350
feat: get monaco into the task page (#16213)
drdelambre Dec 13, 2019
8404d5b
chore(ui): Remove eventMarkers feature flag (#16216)
ebb-tide Dec 13, 2019
54c0304
feat(changelog): date for alpha 21
russorat Dec 13, 2019
fdbcf8f
fix(changelog): added a section for alpha 22
russorat Dec 13, 2019
f99b9d1
feat(testttp): extend testttp with new JSON methods and refactors tes…
jsteenb2 Dec 13, 2019
d67b6c5
build: using libflux in OSS
ethanyzhang Dec 11, 2019
19c6197
fix: test baseline to use rust parser!
ethanyzhang Dec 13, 2019
9fc334b
fix: run gotest with libflux tag and cgo ldflags
ethanyzhang Dec 16, 2019
47af043
feat: telegraf editor design work (#16223)
drdelambre Dec 16, 2019
7e30590
fix(ui): flux sort no longer being overidden by default FE sort (#16235)
asalem1 Dec 16, 2019
3dab9c6
fix(tasks): fix flaky run latency metric test (#16236)
AlirieGray Dec 17, 2019
c37426f
fix(kv): Store canceled task runs in the correct bucket.
brettbuddin Dec 17, 2019
856f8bc
chore(changelog): Update changelog with task run cancelation fix.
brettbuddin Dec 17, 2019
4b04f2b
chore: refactor notication endpoints to make a service out of notific…
jsteenb2 Dec 13, 2019
4c1dbdd
feat(pkger): add support for secret references to notification endpoi…
jsteenb2 Dec 16, 2019
f3ac355
feat(pkger): add support for exporting notification endpoints
jsteenb2 Dec 16, 2019
b8cc001
feat(cmd): apply env vars consistently across cmd (#16225)
dearyhud Dec 17, 2019
1379209
chore(http): refactor auth service http client to use httpc.Client
jsteenb2 Dec 17, 2019
6c6f88a
chore(http): refactor user http service to use the httpc.Client
jsteenb2 Dec 17, 2019
d19f40c
chore(http): refactor source http service client to use httpc.Client
jsteenb2 Dec 17, 2019
799f580
fix: errors from the editor (#16244)
drdelambre Dec 17, 2019
5db0b1c
fix(ui): added check to ensure that windowperiod isn't calculated whe…
asalem1 Dec 17, 2019
cb60c86
fix(ui): front end sorting for numeric values now being handled corre…
asalem1 Dec 17, 2019
6a4ef30
feat(http): expose list of available telegraf plugins (#16233)
glinton Dec 17, 2019
95a904f
feat(endpoint): drop id specific check for secret keys in all endpoints
jsteenb2 Dec 17, 2019
130b1fc
chore: add getUserFlags utility function
hoorayimhelping Dec 18, 2019
63e5611
fix(ui): retain user input when parsing invalid JSON during import
TCL735 Dec 18, 2019
fdfc874
chore(http): cleanup http pkg's check implementation cruft
jsteenb2 Dec 18, 2019
12173cf
fix(kv): Prevent infinite loop condition when listing tasks by org.
brettbuddin Dec 17, 2019
daa9cf4
chore(changelog): Add fix for infinite loop to list.
brettbuddin Dec 18, 2019
2babe54
feat(tasks): remove flux stats from run log and replace with trace id…
GeorgeMac Dec 18, 2019
16a20e1
chore: refactor bits of checks and its dependencies for readability
jsteenb2 Dec 18, 2019
cab379d
feat(pkger): add support for check resource to pgker parser
jsteenb2 Dec 18, 2019
6715a6d
build: split the jest test to run in parallel
goller Dec 18, 2019
5361e7e
build: remove max workers from jest to unify CI systems
goller Dec 18, 2019
76454f6
build: add circleci target to restrict max jest workers
goller Dec 18, 2019
facd589
build: allow JSON imports in jest tests
goller Dec 18, 2019
584dddf
feat(pkger): add check dry run functionality
jsteenb2 Dec 18, 2019
58186cd
fix(ui): fixed flakey tests (#16268)
asalem1 Dec 18, 2019
6d2fe52
chore: add more context to honeybadger errors
hoorayimhelping Dec 18, 2019
91370d9
feat: add an env script that will configure the environment for using…
jsternberg Dec 18, 2019
b394c37
ci: split go and js linting into separate circleci jobs (#16282)
goller Dec 18, 2019
b51bd41
feat(pkger): add apply functionality for checks
jsteenb2 Dec 18, 2019
997fe8b
feat(pkger): add export functionality to checks resource
jsteenb2 Dec 19, 2019
bce8305
ci: run go race tests in parallel over 8 containers (#16288)
goller Dec 19, 2019
d7027d9
chore(cli): improve walk function documentation (#16176)
imogenkinsman Dec 19, 2019
19f8009
feat(kv): define forward cursor interface (#16212)
GeorgeMac Dec 19, 2019
895e552
fix: pass variables into a function (#16291)
drdelambre Dec 19, 2019
0d3d6f2
feat (ui): Add the view check page
zoesteinkamp Nov 21, 2019
966eaa0
feat (ui): Add the view check page
zoesteinkamp Nov 22, 2019
a91d97d
feat (ui): Add the view check page
zoesteinkamp Nov 24, 2019
f0d9eca
feat (ui): Add the view check page
zoesteinkamp Dec 6, 2019
ce021fc
feat (ui): Add the view check page
zoesteinkamp Dec 12, 2019
4558d5b
feat (ui): Add the view check page
zoesteinkamp Dec 16, 2019
52a0199
feat (ui): Add the view check page
zoesteinkamp Dec 18, 2019
22b691f
feat (ui): Add the view check page
zoesteinkamp Dec 18, 2019
6f0c3f1
feat (ui): Add the view check page
zoesteinkamp Dec 19, 2019
fc4f07d
feat(ui): Add the view check page
zoesteinkamp Dec 19, 2019
e7ec30c
feat(ui): Add the view check page
zoesteinkamp Dec 19, 2019
3e03981
feat(pkger): add parser support for notification rules
jsteenb2 Dec 19, 2019
35a498e
feat: generate types for tests (#16300)
drdelambre Dec 20, 2019
3ecaefc
feat(pkger): add dry run functionality for notification rules
jsteenb2 Dec 19, 2019
d7287e2
docs: create CONTRIBUTING.md
timhallinflux Apr 12, 2019
b944f3a
fix(query): revert promqltests/go.sum (#16307)
Dec 20, 2019
82804d2
feat(pkger): add application functionality for the notification rules…
jsteenb2 Dec 20, 2019
8e9ccc2
feat(http): add functionality to retrieve/store telegraf config as to…
glinton Dec 20, 2019
5281af3
fix: speeding them tests right up (#16311)
drdelambre Dec 20, 2019
033796e
feat: connecting telegraf editor to a backend resource (#16287)
drdelambre Dec 20, 2019
c270e1d
refactor(ui): update line protocol wizard (#16276)
alexpaxton Dec 20, 2019
007e820
refactor(ui): Clockface replacement (#16241)
alexpaxton Dec 20, 2019
894329e
feat(pkger): add export support for notification rules
jsteenb2 Dec 20, 2019
7e0c537
feat(pkger): add support for tasks to parser
jsteenb2 Dec 23, 2019
dbacbe3
chore(pkger): improve error handling in service
jsteenb2 Dec 21, 2019
600b011
feat(pkger): add dry run functionality for task resource
jsteenb2 Dec 23, 2019
49bce0b
feat(pkger): add apply functionality for task resource
jsteenb2 Dec 23, 2019
5ba2d82
feat(pkger): add export support for tasks
jsteenb2 Dec 23, 2019
1c119ad
chore(pkger): reorder print statements to be alphabetical
jsteenb2 Dec 26, 2019
bb4a738
fix: add custom marshaler to dashboard builder config to stop breakin…
jsteenb2 Dec 26, 2019
442a269
feat: Add group() to Query Builder
hoorayimhelping Nov 27, 2019
6991d9b
feat(ui): Show users saving errors from check time machine (#16333)
ebb-tide Dec 27, 2019
6a65477
fix(pkger): remove tasks created by checks from being exported when e…
jsteenb2 Dec 27, 2019
28b2942
feat(ui): added notification rule & checks last run status & error (#…
asalem1 Dec 27, 2019
18d6ba3
feat(pkger): add ability to provide secrets alongside package when ap…
jsteenb2 Dec 27, 2019
71d27d1
feat(ui): added last run status to tasks (#16340)
asalem1 Dec 27, 2019
8f99e81
chore(redux-thunk): fix typings (#16335)
121watts Dec 27, 2019
d5e39f5
fix(pkger): make pkger skip system tasks when exporting all tasks
jsteenb2 Dec 27, 2019
ec94b52
feat(influx): add hide headers flag to influx cli task cmd
jsteenb2 Dec 27, 2019
3534edf
feat(pkger): fixup flux query normalization in exporting of task
jsteenb2 Dec 27, 2019
babbd50
feat(kit/check): Adds manual override capabilities to readiness endpo…
brettbuddin Dec 26, 2019
4d18ac4
chore(kit/check): Add new readiness override to CHANGELOG.
brettbuddin Dec 27, 2019
3d3f8db
chore(inmem): nuke the duplicative inmem store
jsteenb2 Dec 28, 2019
9413437
chore(bolt): nuke crufty bolt db service
jsteenb2 Dec 28, 2019
1b41045
fix: add 'version' command to match github bug report template (#15629)
glinton Dec 30, 2019
c9df01c
chore(kv): drop duplicative tests
jsteenb2 Dec 30, 2019
d160d8c
chore(kv): refactor notification endpoint to use reusable uniqByNameS…
jsteenb2 Dec 26, 2019
049f8f5
chore(kv): refactor variable service to use the new uniqByNameStore type
jsteenb2 Dec 26, 2019
9c358b6
chore(kv): refactor new unique by store up into reusable store that c…
jsteenb2 Dec 27, 2019
65eb71b
fix: improve date in `version` command (#16365)
glinton Dec 31, 2019
5fadd80
refactor(ui): normalize member resource (#16366)
121watts Dec 31, 2019
74709af
fix(kv): add legacy variable orgs index back
jsteenb2 Dec 31, 2019
7a81952
chore(ui): refactored tasks to use oats rather than client library (#…
asalem1 Dec 31, 2019
6a84928
feat(checks): Add custom check type (#16350)
ebb-tide Dec 31, 2019
9cc0a4d
fix(kv): fixup the filtering for index store
jsteenb2 Dec 31, 2019
d4552c6
chore(kv): refactor kv checks service to take advantage of new index …
jsteenb2 Dec 31, 2019
ab0e926
fix(cmd/influx): show see help, instead of usage
kelwang Dec 31, 2019
3d3c449
chore(ui): label client refactor complete (#16361)
asalem1 Dec 31, 2019
11913ab
fix(notificationrules): Correct logic on matching notification rules …
ebb-tide Dec 31, 2019
396ce85
feat: add predicate output to WAL dump tool
e-dard Dec 18, 2019
58a5a9b
fix: update test to use 'valid' marshalled predicate
Dec 18, 2019
22bebf2
feat(ui): Add matching rules card to alert builder (#16014)
ebb-tide Jan 2, 2020
5560623
fix: enable skipped tests for notification rules and fixup issue in t…
jsteenb2 Jan 2, 2020
7fe5cf9
chore(kv): refactor kv.Entity to provide interface for PK and unique …
jsteenb2 Jan 1, 2020
31362ae
fix(ui): extend the y-axis when stacked line option is selected (#16376)
TCL735 Jan 2, 2020
acd861a
fix(tests): make sure NATS port is open for unit tests (#16310)
Jan 2, 2020
9a2928c
refactor(tasks): remove dead scheduler code (#16252)
AlirieGray Jan 2, 2020
fd75c4a
refactor(ui): normalize organizations (#16377)
121watts Jan 2, 2020
9d7a6ae
feat(bucket): Increase default retention to 30 days (#16389)
Jan 2, 2020
37ac828
chore(ui): refactored variables client API to oats generated types an…
asalem1 Jan 2, 2020
88721f7
Revert "chore(ui): refactored variables client API to oats generated …
asalem1 Jan 3, 2020
caa14b0
fix(pkger): don't swallow errors when failing to get organization (#1…
imogenkinsman Jan 3, 2020
69bc031
chore: upgrade cypress
hoorayimhelping Jan 3, 2020
a1c0f45
refactor(ui): normalization of buckets (#16403)
121watts Jan 3, 2020
5156bb5
test: fix flaky explorer tests by targeting .CodeMirror and not force…
hoorayimhelping Jan 3, 2020
0e12013
fix(ui): removed buildActiveQuery func to prevent queries from being …
asalem1 Jan 6, 2020
1fc0abd
refactor: normalization authorizations (#16406)
121watts Jan 6, 2020
217ad21
feat(query/stdlib): prevent a filter push down if the filter needs to…
jsternberg Jan 6, 2020
7445a89
build(flux): update Flux to v0.58.0
jsternberg Jan 6, 2020
0410e08
chore(ui): refactored variables client API to oats generated types an…
asalem1 Jan 6, 2020
d89d53d
docs: add developer guide; update docs to reference go 1.13
hoorayimhelping Jan 4, 2020
b580988
feat(tasks): enable full flux durations for every and offset options
docmerlin Jan 6, 2020
c0e6e0e
chore(kv): add new/update checks to kv store base and index store
jsteenb2 Jan 6, 2020
7e6bd25
feat(query): add source to query request via user agent header
gavincabbage Dec 18, 2019
b2e98f4
refactor: normalize telegrafs (#16420)
121watts Jan 7, 2020
873161d
fix(kv): remove normalizing of variables names to downcase
jsteenb2 Jan 7, 2020
29c30f3
fix(ui): update giraffe (#16435)
TCL735 Jan 7, 2020
20a574d
refactor: normalize scrapers (#16434)
121watts Jan 7, 2020
7110b7a
fix(ui): fixed table threshold bug and added option to make threshold…
asalem1 Jan 7, 2020
362ee06
chore: update to go 1.13
docmerlin Jan 6, 2020
a176c30
chore(flux): added onEmpty parameter to flux filter function
sanderson Jan 7, 2020
a2a425e
fix: show queries built in advanced mode when switching tabs
hoorayimhelping Jan 7, 2020
e27d1cb
fix(ui): Prevent negative zero and allow zero with decimal places (#1…
TCL735 Jan 8, 2020
6cb3a79
feat: opentracing in query execution runtime
ethanyzhang Jan 8, 2020
62a60e9
feat(query): add dialect to discard output
affo Dec 30, 2019
26afcb1
fix(ui): add honeybadger error report to checks (#16443)
zoesteinkamp Jan 8, 2020
1fd6cb7
fix(ui): add honeybadger error report to checks (#16443)
zoesteinkamp Jan 8, 2020
a712f0f
fix(ui): add honeybadger error report to checks (#16443)
zoesteinkamp Jan 8, 2020
70852f3
fix(ui): add honeybadger error report to checks (#16443)
zoesteinkamp Jan 8, 2020
b02c2fc
chore(README): updates for beta (#16364)
russorat Jan 8, 2020
8056b25
chore(changelog): add date for beta-1
russorat Jan 8, 2020
dc33911
fix(dataloader-buckets): default bucket selection should not be syste…
ebb-tide Jan 8, 2020
b78871c
refactor(ui): normalization of tasks (#16445)
121watts Jan 8, 2020
7940637
fix: default to the first bucket (#16453)
drdelambre Jan 8, 2020
a069d06
refactor: add unique class for google tag manager
alexpaxton Jan 8, 2020
2e08174
chore: update changelog
alexpaxton Jan 8, 2020
3688e5f
refactor: don't render user menu if org isn't available
alexpaxton Jan 9, 2020
c27a435
chore: prettier
alexpaxton Jan 9, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
265 changes: 207 additions & 58 deletions .circleci/config.yml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# docs: https://github.com/probot/semantic-pull-requests#configuration
# Always validate the PR title AND all the commits
titleAndCommits: true
allowMergeCommits: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ vendor
.tern-project
.DS_Store
.idea
.cgo_ldflags

# binary databases
influxd.bolt
Expand All @@ -32,6 +33,7 @@ ui/npm-error.log
ui/build
ui/.cache
ui/package-lock.json
ui/junit.xml

# e2e test artifacts
ui/cypress/screenshots
Expand Down
72 changes: 71 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,73 @@
## v2.0.0-alpha.21 [unreleased]
## v2.0.0-beta.2 [Unreleased]

### UI Improvements

1. [16203](https://github.com/influxdata/influxdb/pull/16203): Move cloud navigation to top of page instead of within left side navigation

## v2.0.0-beta.1 [2020-01-08]

### Features

1. [16234](https://github.com/influxdata/influxdb/pull/16234): Add support for notification endpoints to influx templates/pkgs.
1. [16242](https://github.com/influxdata/influxdb/pull/16242): Drop id prefix for secret key requirement for notification endpoints
1. [16259](https://github.com/influxdata/influxdb/pull/16259): Add support for check resource to pkger parser
1. [16262](https://github.com/influxdata/influxdb/pull/16262): Add support for check resource pkger dry run functionality
1. [16275](https://github.com/influxdata/influxdb/pull/16275): Add support for check resource pkger apply functionality
1. [16283](https://github.com/influxdata/influxdb/pull/16283): Add support for check resource pkger export functionality
1. [16212](https://github.com/influxdata/influxdb/pull/16212): Add new kv.ForwardCursor interface
1. [16297](https://github.com/influxdata/influxdb/pull/16297): Add support for notification rule to pkger parser
1. [16298](https://github.com/influxdata/influxdb/pull/16298): Add support for notification rule pkger dry run functionality
1. [16305](https://github.com/influxdata/influxdb/pull/16305): Add support for notification rule pkger apply functionality
1. [16312](https://github.com/influxdata/influxdb/pull/16312): Add support for notification rule pkger export functionality
1. [16320](https://github.com/influxdata/influxdb/pull/16320): Add support for tasks to pkger parser
1. [16322](https://github.com/influxdata/influxdb/pull/16322): Add support for tasks to pkger dry run functionality
1. [16323](https://github.com/influxdata/influxdb/pull/16323): Add support for tasks to pkger apply functionality
1. [16324](https://github.com/influxdata/influxdb/pull/16324): Add support for tasks to pkger export functionality
1. [16226](https://github.com/influxdata/influxdb/pull/16226): Add group() to Query Builder
1. [16338](https://github.com/influxdata/influxdb/pull/16338): Add last run status to check and notification rules
1. [16340](https://github.com/influxdata/influxdb/pull/16340): Add last run status to tasks
1. [16341](https://github.com/influxdata/influxdb/pull/16341): Extend pkger apply functionality with ability to provide secrets outside of pkg
1. [16345](https://github.com/influxdata/influxdb/pull/16345): Add hide headers flag to influx cli task find cmd
1. [16336](https://github.com/influxdata/influxdb/pull/16336): Manual Overrides for Readiness Endpoint
1. [16347](https://github.com/influxdata/influxdb/pull/16347): Drop legacy inmem service implementation in favor of kv service with inmem dependency
1. [16348](https://github.com/influxdata/influxdb/pull/16348): Drop legacy bolt service implementation in favor of kv service with bolt dependency
1. [16014](https://github.com/influxdata/influxdb/pull/16014): While creating check, also display notification rules that would match check based on tag rules
1. [16389](https://github.com/influxdata/influxdb/pull/16389): Increase default bucket retention period to 30 days
1. [16430](https://github.com/influxdata/influxdb/pull/16430): Added toggle to table thresholds to allow users to choose between setting threshold colors to text or background
1. [16418](https://github.com/influxdata/influxdb/pull/16418): Add Developer Documentation
1. [16260](https://github.com/influxdata/influxdb/pull/16260): Capture User-Agent header as query source for logging purposes

### Bug Fixes

1. [16225](https://github.com/influxdata/influxdb/pull/16225): Ensures env vars are applied consistently across cmd, and fixes issue where INFLUX\_ env var prefix was not set globally.
1. [16235](https://github.com/influxdata/influxdb/pull/16235): Removed default frontend sorting when flux queries specify sorting
1. [16238](https://github.com/influxdata/influxdb/pull/16238): Store canceled task runs in the correct bucket
1. [16237](https://github.com/influxdata/influxdb/pull/16237): Updated Sortby functionality for table frontend sorts to sort numbers correctly
1. [16249](https://github.com/influxdata/influxdb/pull/16249): Prevent potential infinite loop when finding tasks by organization.
1. [16255](https://github.com/influxdata/influxdb/pull/16255): Retain user input when parsing invalid JSON during import
1. [16268](https://github.com/influxdata/influxdb/pull/16268): Fixed test flakiness that stemmed from multiple flush/signins being called in the same test suite
1. [16346](https://github.com/influxdata/influxdb/pull/16346): Update pkger task export to only trim out option task and not all vars provided
1. [16374](https://github.com/influxdata/influxdb/pull/16374): Update influx CLI, only show "see help" message, instead of the whole usage.
1. [16380](https://github.com/influxdata/influxdb/pull/16380): Fix notification tag matching rules and enable tests to verify
1. [16376](https://github.com/influxdata/influxdb/pull/16376): Extend the y-axis when stacked graph is selected
1. [16404](https://github.com/influxdata/influxdb/pull/16404): Fixed query reset bug that was resetting query in script editor whenever dates were changed
1. [16430](https://github.com/influxdata/influxdb/pull/16430): Fixed table threshold bug that was defaulting set colors to the background.
1. [16435](https://github.com/influxdata/influxdb/pull/16435): Time labels are no longer squished to the left
1. [16427](https://github.com/influxdata/influxdb/pull/16427): Fixed underlying issue with disappearing queries made in Advanced Mode
1. [16439](https://github.com/influxdata/influxdb/pull/16439): Prevent negative zero and allow zero to have decimal places
1. [16376](https://github.com/influxdata/influxdb/pull/16413): Limit data loader bucket selection to non system buckets

### UI Improvements
1. [16444](https://github.com/influxdata/influxdb/pull/16444): Add honeybadger reporting to create checks

## v2.0.0-alpha.21 [2019-12-13]

### Features

1. [15836](https://github.com/influxdata/influxdb/pull/16077): Add stacked line layer option to graphs
1. [16094](https://github.com/influxdata/influxdb/pull/16094): Annotate log messages with trace ID, if available
1. [16187](https://github.com/influxdata/influxdb/pull/16187): Bucket create to accept an org name flag
1. [16158](https://github.com/influxdata/influxdb/pull/16158): Add trace ID response header to query endpoint

### Bug Fixes

Expand All @@ -19,6 +83,12 @@
1. [16112](https://github.com/influxdata/influxdb/pull/16112): Create cell view properties on dashboard creation
1. [16144](https://github.com/influxdata/influxdb/pull/16144): Scrollbars are dapper and proper
1. [16172](https://github.com/influxdata/influxdb/pull/16172): Fixed table ui threshold colorization issue where setting thresholds would not change table UI
1. [16194](https://github.com/influxdata/influxdb/pull/16194): Fixed windowPeriod issue that stemmed from webpack rules
1. [16175](https://github.com/influxdata/influxdb/pull/16175): Added delete functionality to note cells so that they can be deleted
1. [16204](https://github.com/influxdata/influxdb/pull/16204): Fix failure to create labels when creating telegraf configs
1. [16207](https://github.com/influxdata/influxdb/pull/16207): Fix crash when editing a Telegraf config
1. [16201](https://github.com/influxdata/influxdb/pull/16201): Updated start/endtime functionality so that custom script timeranges overwrite dropdown selections
1. [16217](https://github.com/influxdata/influxdb/pull/16217): Fix 12-hour time format to use consistent formatting and number of time ticks

### UI Improvements

Expand Down
230 changes: 230 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
# Contributing to InfluxDB v2

## Bug reports
Before you file an issue, please search existing issues in case it has already been filed, or perhaps even fixed.
If you file an issue, please include the following.
* Full details of your operating system (or distribution) e.g. `64bit Ubuntu 18.04`.
* The version of InfluxDB you are running
* Whether you installed it using a pre-built package, or built it from source.
* Clear steps to reproduce the issue described, if at all possible.

The easier it is for us to reproduce the problem, the easier it is for us to fix it.
If you have never written a bug report before, or if you want to brush up on your bug reporting skills, we recommend reading [Simon Tatham's essay "How to Report Bugs Effectively."](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html)


Ideally, test cases would be in the form of `curl` commands.
For example:
```bash
# write data
curl -XPOST "http://localhost:9999/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET&precision=s" \
--header "Authorization: Token YOURAUTHTOKEN" \
--data-raw "mem,host=host1 used_percent=23.43234543 1556896326"

# query data
# Bug: expected it to return no data, but data comes back.
curl http://localhost:9999/api/v2/query?org=my-org -XPOST -sS \
-H 'Authorization: Token YOURAUTHTOKEN' \
-H 'Accept: application/csv' \
-H 'Content-type: application/vnd.flux' \
-d 'from(bucket:"example-bucket")
|> range(start:-1000h)
|> group(columns:["_measurement"], mode:"by")
|> sum()'
```

Test cases with `influx` commands are also helpful.
For example:
```
# write data
influx write -o YOUR_ORG -b YOUR_BUCKET -p s -t YOURAUTHTOKEN \
"mem,host=host1 used_percent=23.43234543 1556896326"

# query data
# Bug: expected it to return no data, but data comes back.
influx query -o YOUR_ORG -t YOURAUTHTOKEN 'from(bucket:"example-bucket")
|> range(start:-1000h)
|> group(columns:["_measurement"], mode:"by")
|> sum()'
```

If you don't include a clear test case like this it will be very difficult for us to investigate your issue.
If writing the data is too difficult, please zip up your data directory and include a link to it in your bug report.

Please note that issues are *not the place to file general support requests* such as "how do I use collectd with InfluxDB?"
Questions of this nature should be sent to the [InfluxData Community](https://community.influxdata.com/), not filed as issues.

## Feature requests
We really like to receive feature requests as it helps us prioritize our work.
Please be clear about your requirements and goals, help us to understand what you would like to see added to InfluxD with examples and the reasons why it is important to you.
If you find your feature request already exists as a Github issue please indicate your support for that feature by using the "thumbs up" reaction.

## Contributing to the source code
InfluxDB requires Go 1.13 and uses Go modules.

You should read our [coding guide](https://github.com/influxdata/influxdb/blob/master/DEVELOPMENT.md), to understand better how to write code for InfluxDB.

## Submitting a pull request
To submit a pull request you should fork the InfluxDB repository, and make your change on a feature branch of your fork.
Then generate a pull request from your branch against *master* of the InfluxDB repository.
Include in your pull request details of your change -- the why *and* the how -- as well as the testing your performed.
Also, be sure to run the test suite with your change in place.
Changes that cause tests to fail cannot be merged.

There will usually be some back and forth as we finalize the change, but once that completes it may be merged.

To assist in review for the PR, please add the following to your pull request comment:

```md
- [ ] CHANGELOG.md updated
- [ ] Rebased/mergable
- [ ] Tests pass
- [ ] Sign [CLA](https://influxdata.com/community/cla/) (if not already signed)
```

## Security Vulnerability Reporting
InfluxData takes security and our users' trust very seriously.
If you believe you have found a security issue in any of our open source projects, please responsibly disclose it by contacting [email protected].
More details about security vulnerability reporting, including our GPG key, [can be found here](https://www.influxdata.com/how-to-report-security-vulnerabilities/).


## Signing the CLA

If you are going to be contributing back to InfluxDB please take a second to sign our CLA, which can be found [on our website](https://influxdata.com/community/cla/).

## Installing Go
InfluxDB requires Go 1.13.

At InfluxData we find `gvm`, a Go version manager, useful for installing Go.
For instructions on how to install it see [the gvm page on github](https://github.com/moovweb/gvm).

After installing gvm you can install and set the default go version by running the following:
```bash
$ gvm install go1.13
$ gvm use go1.13 --default
```

## Revision Control Systems
Go has the ability to import remote packages via revision control systems with the `go get` command.
To ensure that you can retrieve any remote package, be sure to install the following rcs software to your system.
Currently the project only depends on `git` and `bzr`.

* [Install Git](http://git-scm.com/book/en/Getting-Started-Installing-Git)
* [Install Bazaar](http://doc.bazaar.canonical.com/latest/en/user-guide/installing_bazaar.html)

## Getting & Building From Source

Since we depend on Go modules and use standard Go tooling, you can simply check out and build InfluxDB at your preferred location on your filesystem.

```bash
$ git clone [email protected]:influxdata/influxdb.git
```

## Building, Testing, and Installing

InfluxDB uses the standard Go tooling so the `build`, `install`, and `test` subcommands work as expected.
In the root of the InfluxDB git repository, you can simply run the following commands:

### Building

```bash
$ go build ./...
```

### Installing

```bash
$ go install ./...
```

### Testing

```bash
$ go test -v ./...

# run tests that match some pattern
$ go test -run=TestDatabase . -v

# run tests and show coverage
$ go test -coverprofile /tmp/cover . && go tool cover -html /tmp/cover
```

## Generated Google Protobuf code
Most changes to the source do not require that the generated protocol buffer code be changed.
But if you need to modify the protocol buffer code, you'll first need to install the protocol buffers toolchain.

First install the [protocol buffer compiler](https://developers.google.com/protocol-buffers/
) 2.6.1 or later for your OS:

Then install the go plugins:

```bash
$ go get github.com/gogo/protobuf/proto
$ go get github.com/gogo/protobuf/protoc-gen-gogo
$ go get github.com/gogo/protobuf/gogoproto
```

Finally run, `go generate` after updating any `*.proto` file:

```bash
$ go generate ./...
```
**Troubleshooting**

If generating the protobuf code is failing for you, check each of the following:
* Ensure the protobuf library can be found. Make sure that `LD_LIBRARY_PATH` includes the directory in which the library `libprotoc.so` has been installed.
* Ensure the command `protoc-gen-gogo`, found in `GOPATH/bin`, is on your path. This can be done by adding `GOPATH/bin` to `PATH`.


## Generated Go Templates

The query engine requires optimized data structures for each data type so instead of writing each implementation several times we use templates.
_Do not change code that ends in a `.gen.go` extension!_
Instead you must edit the `.gen.go.tmpl` file that was used to generate it.

Once you've edited the template file, you'll need the [`tmpl`][tmpl] utility to generate the code:

```sh
$ go get github.com/benbjohnson/tmpl
```

Then you can regenerate all templates in the project:

```sh
$ go generate ./...
```

[tmpl]: https://github.com/benbjohnson/tmpl

## Profiling

When troubleshooting problems with CPU or memory the Go toolchain can be helpful.
You can start InfluxDB with CPU and memory profiling turned on.
For example:

```bash
# start influx with profiling

$ ./influxd -cpuprofile influxdcpu.prof -memprof influxdmem.prof

# run queries, writes, whatever you're testing
# Quit out of influxd and influxd.prof will then be written.
# open up pprof to examine the profiling data.

$ go tool pprof ./influxd influxd.prof

# once inside run "web", opens up browser with the CPU graph
# can also run "web <function name>" to zoom in. Or "list <function name>" to see specific lines
```
Note that when you pass the binary to `go tool pprof` *you must specify the path to the binary*.

If you are profiling benchmarks built with the `testing` package, you may wish
to use the [`github.com/pkg/profile`](github.com/pkg/profile) package to limit
the code being profiled:

```go
func BenchmarkSomething(b *testing.B) {
// do something intensive like fill database with data...
defer profile.Start(profile.ProfilePath("/tmp"), profile.MemProfile).Stop()
// do something that you want to profile...
}
```
Loading