Alirie Gray
28240034e5
Simplify LogViewerUIColumn Swagger definition
...
Combine mappings and formatting into "encoding."
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-28 13:07:40 -07:00
Andrew Watkins
aa06c280f1
Remove template variable replacement from the backend
2018-06-28 12:42:28 -07:00
Alirie Gray
90a9520ce7
Add examples for LogViewerUIConfig/Column to Swagger docs
2018-06-28 11:27:46 -07:00
Jared Scheib
1e7f39bee2
Iterate on data models for Log Viewer UI config API
...
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-06-28 10:59:48 -07:00
Andrew Watkins
49d7998d08
Return query duration from /query endpoint
2018-06-27 17:05:35 -07:00
Alirie Gray
d2c4f616b3
Simplify Swagger config API & add AuthConfig definition
...
Co-Authored-By: Jared Scheib <jared.scheib@gmail.com>
2018-06-27 15:17:14 -07:00
Alirie Gray
4f8a29d8dc
Simplify log viewer UI config models in Swagger
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-27 15:07:17 -07:00
Alirie Gray
438c80abc1
Add a swagger definition for UI config settings and API Routes
...
Specifically, this adds a definition for getting and updating
the log viewer UI Settings, i.e. severityColors,
columns, and severityColumnFormat.
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-26 17:12:00 -07:00
Christopher Henn
3e9de95d3f
Remove unused "query" template type
2018-06-20 09:17:12 -07:00
Christopher Henn
0ced327a2a
Fix failing template test
2018-06-19 16:37:02 -07:00
Christopher Henn
2a494b4f75
Support persisting "influxql" template variables
2018-06-19 16:24:40 -07:00
Iris Scholten
3722925a0b
Update swagger
2018-06-19 14:57:48 -07:00
Iris Scholten
4ee1405dae
Add map as a valid type of template variables in api
2018-06-19 14:50:16 -07:00
Jared Scheib
edccd447c5
Allow hyphens and underscores in basepath
2018-06-15 17:05:01 -07:00
Andrew Watkins
ed4a6f24e5
Change IFQL to Flux
2018-06-05 10:57:19 -07:00
Michael Desa
9b8e2facce
Use platform query package instead of ifql package
2018-05-31 14:48:27 -04:00
Chris Goller
f74f5a378f
feat(server/services): add metadata for services
2018-05-21 10:45:28 -07:00
Chris Goller
45a981911d
feat(server/services): add source id and source link to all services
2018-05-21 10:45:28 -07:00
Chris Goller
5cd8cc7cdd
feat(server/services): add generic services scoped under server
2018-05-21 10:45:27 -07:00
Brandon Farmer
0c55409d98
Fix issues with slack multi node
...
- Alerts not persisting workspace
- Error when saving handler with empty nickname
- Allow users to add multiple empty rules
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-05-17 11:38:44 -07:00
ebb-tide
351a53884b
Release 1.5.0.0
2018-05-15 17:36:04 -07:00
Brandon Farmer
be59607a35
Don't override name for alert rules
2018-05-14 09:54:57 -07:00
Jared Scheib
15cef57e53
Merge pull request #3386 from influxdata/feature/kapa_kafka_alert_node
...
Feature/kapa kafka alert node
2018-05-11 11:09:17 -07:00
Brandon Farmer
587f8b269f
Fixes issue with saving tickscript name
2018-05-10 16:33:42 -07:00
Jared Scheib
6edceb0b32
Fix kapa test by including kafka alert node
2018-05-10 13:22:29 -07:00
Jared Scheib
6e743901c8
Update swagger
2018-05-10 13:02:26 -07:00
Jared Scheib
42beb1adc7
Add support for Kafka alert node
2018-05-09 16:32:06 -07:00
Iris Scholten
d3d209feaf
Merge pull request #3402 from influxdata/bugfix/upload-icon-missing
...
Upload Icon Appears even with basepath
2018-05-08 14:21:16 -07:00
Iris Scholten
28641e3336
Update url prefixer to ignore svgs
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-05-08 13:55:24 -07:00
Iris Scholten
13bf3132f0
Update swagger with opsgenie2 and pagerduty2
2018-05-08 09:58:50 -07:00
Iris Scholten
a54e8c76bd
Update chronograf backend with OpsGenie2
2018-05-03 11:00:26 -07:00
ebb-tide
d26062ee57
Fix server tests
2018-04-30 17:24:59 -07:00
ebb-tide
2cf1e1af4d
Implement Decimal Place Setting
2018-04-30 11:59:14 -07:00
ebb-tide
6ecd527f01
Merge branch 'master' into table/field-options
2018-04-24 14:31:27 -07:00
Iris Scholten
558bcaf413
Merge pull request #3290 from influxdata/add-pager-duty-v2
...
Add pager duty v2 in UI
2018-04-24 11:16:00 -07:00
Brandon Farmer
2ce7d8e3ee
Test & refactor basepath validation into dedicated fn
2018-04-23 17:02:00 -07:00
Jared Scheib
42d912397b
Comment WithContext fn for context
2018-04-23 16:47:35 -07:00
Iris Scholten
ac8a265a0f
Update KapacitorRulesGet test to include PagerDuty2
2018-04-23 14:12:56 -07:00
Iris Scholten
e4fe7a6a2a
Merge branch 'master' into add-pager-duty-v2
2018-04-23 14:00:17 -07:00
Jared Scheib
58559f3b71
Clean up regexp guard logic for valid basepath
2018-04-20 19:01:23 -07:00
Jared Scheib
9904575680
Rename PrefixedRedirect to FlushingHandler & comment
...
It's not clear whether this code is necessary, but investigating
this was outside of the scope of this PR.
2018-04-20 18:40:09 -07:00
Jared Scheib
c23d75396f
Refactor interceptingResponseWrite Flusher for clarity
...
Co-authored-by: Daniel Nelson <daniel.nelson@influxdb.com>
2018-04-20 18:40:09 -07:00
Jared Scheib
a5adbdfc8d
Remove basepath var & arg from PrefixedRedirect
2018-04-20 18:40:09 -07:00
Jared Scheib
ece8bad9f0
Remove prefix-routes & clean up basepath var and flag use
...
Now, if basepath is set, it will be prefixed to all routes.
There is no more additional option of prefix-routes.
2018-04-20 18:40:09 -07:00
Jared Scheib
b9f2029bb2
Match basepath against regexp to ensure proper format
2018-04-20 18:40:09 -07:00
Jared Scheib
eaefe0da63
Fail server if basepath contains trailing or starting '/'
2018-04-20 18:39:49 -07:00
Jared Scheib
68d9d6610b
Fix logout link with basepath
...
Remove double-prefixing by removing the prefixing
logic of the InterceptingResponseWriter.
Fix the logout link route for its handler to not
include a basepath prefix.
Remove obsolete tests for prefixing redirector.
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-04-20 16:58:41 -07:00
Iris Scholten
9181810ed8
Update Swagger with fieldOptions and Timeformat change and precision
2018-04-20 13:41:34 -07:00
Iris Scholten
cdb7164df0
Move timeFormat from TableOptions to DashboardCell in the Server
...
Update tests according to the change
2018-04-19 17:32:28 -07:00
Iris Scholten
87ad2278de
Update go tests by removing FieldNames from TableOptions and adding FieldOptions to DashboardCell
...
Add precision to sortBy values
2018-04-18 17:08:26 -07:00
Jared Scheib
c9daa0c1d2
Update swagger to include defaultRP
...
Backfill source fields that were missing to swagger as well.
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-04-18 12:34:36 -07:00
Iris Scholten
c56382255e
Create Test for proxying InfluxDb
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-13 14:34:57 -07:00
Jared Scheib
91042ef91a
WIP Test Influx proxy API
2018-04-13 11:22:33 -07:00
Jared Scheib
3754fa6dfa
Test UpdateSource (including defaultRP)
...
Uses a test server to mock the server responses
necessary for update.
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-12 17:54:21 -07:00
Jared Scheib
4d70b5d171
Include source defaultRP in UpdateSource
...
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-12 16:00:49 -07:00
Iris Scholten
c3bed99a92
Complete test for get SourcesID
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-11 14:20:02 -07:00
Iris Scholten
8d7107093c
WIP create test for getting a source with no defaultRP
...
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
2018-04-11 13:34:58 -07:00
Iris Scholten
3c1f6e6233
WIP add pagerduty2 to backend
2018-04-09 14:40:05 -07:00
Andrew Watkins
7c0fc49225
Display arguments and thier values
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-04-05 10:02:42 -07:00
Jared Scheib
3ffaa55aee
Merge pull request #2832 from influxdata/feature/rest-measurements
...
Add API for measurements with pagination
2018-04-04 16:55:48 -07:00
Jared Scheib
207fb0a49b
Merge branch 'master' into feature/rest-measurements
2018-04-04 16:21:16 -07:00
Jared Scheib
78e219b43f
Test Measurements api for 'prev' link when offset > limit
2018-04-04 16:19:54 -07:00
Jared Scheib
8f0c5d6055
Remove redundant limit value check from newMeasurementsLinks
2018-04-04 15:33:26 -07:00
Brandon Farmer
e447471404
If a org is missing then don't add it to list
...
Requests to /me and deleting organization can result in a race condition
2018-04-04 15:25:58 -07:00
Brandon Farmer
5770d5e6f7
Only add stateChangesOnly to new rules
...
- New rules default to a blank id
- Check for blank id before adding stateChangesOnly
2018-04-04 14:26:16 -07:00
Jared Scheib
8ccf582acc
Rename db & rp vars & url params for clarity & consistency
...
Updates swagger as well.
Clarify that instead of dbid and rpid, these values are names.
Rename the var for the Databases service to dbsvc.
2018-04-04 14:22:08 -07:00
Jared Scheib
982fa38fc1
Rename database function arguments for consistency
2018-04-04 13:25:45 -07:00
Andrew Watkins
b127d2d96a
Merge pull request #3118 from influxdata/bugfix/flash-notifications
...
Bugfix/flash notifications
2018-04-04 11:13:17 -07:00
Luke Morris
9eb7a8cdd4
Reintroduce :interval: work
...
This reverts commit 4b54081cf8
.
:interval: represents a duration now
queryConfig must recognize both :interval: forms
Another case to consider
Fix broken links in CHANGELOG
Rudimentary migration system w/ :interval: migration
Only looking for :interval: now
Server can expect time(:interval:) from now on
Repair go specs
2018-04-03 16:52:34 -07:00
Andrew Watkins
8f770c4636
Update server tests
2018-04-03 16:38:52 -07:00
Jared Scheib
0f0e1b60ac
Add swagger docs for new /measurements API, response, & structs
2018-04-03 16:04:16 -07:00
Jared Scheib
1a0a02c612
Test GetMeasurements overrides offset less than 0 with offset 0
2018-04-03 16:04:16 -07:00
Jared Scheib
e2e0b9749c
Test GetMeasurements overrides limit <= 0 with limit 100
2018-04-03 16:04:16 -07:00
Jared Scheib
55e8f5cbd8
Test GetMeasurements fails on invalid offset value provided
2018-04-03 16:04:16 -07:00
Jared Scheib
786d345ee2
Test GetMeasurements fails on invalid limit value provided
2018-04-03 16:04:16 -07:00
Jared Scheib
214c57c5d7
Test GetMeasurements with no offset or limit
2018-04-03 16:04:16 -07:00
Jared Scheib
3727caf5fd
WIP Test GetMeasurements
...
Create Databases mocks
Add comments to chronograf.Databases methods
2018-04-03 16:04:16 -07:00
Jared Scheib
eb4d07f4ae
Change AllMeasurements to GetMeasurements to be precise & update comment
2018-04-03 16:04:16 -07:00
Chris Goller
a5722da2a7
Add measurements with pagination
2018-04-03 16:04:16 -07:00
Andrew Watkins
5f5a8c2ee5
Introduce /health endpoint
2018-04-03 15:58:33 -07:00
Andrew Watkins
118cbcd0bd
Merge pull request #3112 from influxdata/bugfix/influxdb-delete-user-role
...
Bugfix: Delete UserRole and handle providing no roles or permissions
2018-04-03 12:02:27 -07:00
nathan haugo
c94bb8d6ce
Update for 1.4.3.1
2018-04-02 17:50:32 -07:00
Andrew Watkins
518bd60f00
Fix server validation
2018-04-02 17:09:31 -07:00
Alex P
88706be6dc
Merge branch 'master' into moar-colors-n-stuff
2018-04-02 11:51:27 -07:00
ebb-tide
de22496613
Merge branch 'master' into feature/table-graph-polish
2018-03-29 18:56:10 -07:00
ebb-tide
b38b812867
Change swagger a tad
2018-03-29 18:52:35 -07:00
Jared Scheib
183a194215
Merge pull request #2656 from influxdata/swagger-1.4.0.0
...
Update Swagger for most multiorganization & multiuser changes
2018-03-29 17:01:53 -07:00
Jared Scheib
6d93ee470f
Further disambiguate Invalid JSON vs Invalid data schema
2018-03-29 16:53:13 -07:00
Jared Scheib
7a85c9be1c
Update superAdmin description
2018-03-29 16:43:10 -07:00
Jared Scheib
ccce4a6226
Remove -Chronograf suffix from User & Role
2018-03-29 16:40:35 -07:00
Jared Scheib
04251c01d8
Add 'InfluxDB-' prefix to User, Role, Permission, & Allowance
2018-03-29 16:39:13 -07:00
Jared Scheib
50feb5b138
Remove obsolete 'public' property from organizations
2018-03-29 16:18:19 -07:00
Brandon Farmer
d5a6f4a75d
Fix tests related to new ifql ast link
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Brandon Farmer
178b366191
Func item triggers a handler when it is clicked
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Andrew Watkins
ad7d96d697
Add endpoint for raw string conversion to AST
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:04:37 -07:00
Andrew Watkins
6e35370751
Change /suggestions response format to include params
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:03:26 -07:00
Andrew Watkins
81ea6506ab
Provide links to ifql api
2018-03-29 16:01:01 -07:00
Brandon Farmer
7ee78603ee
Update revision for ifql and fix tests
2018-03-29 16:01:01 -07:00
Brandon Farmer
83c3813d7e
Add endpoints for ifql function suggestions
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:01:01 -07:00
Jared Scheib
0fb86814f6
Correct typo
2018-03-29 15:45:21 -07:00
Jared Scheib
1898c0847e
Properly use enums to limit valid role strings
2018-03-29 15:44:04 -07:00
Jared Scheib
0e44b94a24
Improve descriptions of /organization(s) & /user(s) API
2018-03-29 15:39:20 -07:00
Jared Scheib
3a01d46ce7
Replace multiorganization & multiuser tags with organizations & users
2018-03-29 14:04:39 -07:00
Jared Scheib
0aaa2771d1
Prettier
2018-03-29 14:00:24 -07:00
ebb-tide
fbce63b8b1
Update Swagger
2018-03-29 13:25:48 -07:00
Alex P
b35d668a41
Merge branch 'master' into moar-colors-n-stuff
2018-03-29 10:26:27 -07:00
Iris Scholten
d542c2e8a2
Merge branch '1.4.3.x'
2018-03-28 18:26:00 -07:00
Jared Scheib
d1735ce433
Change useidtoken to use-id-token for consistency
2018-03-28 13:31:24 -07:00
Iris Scholten
2b7d2fbc1d
update versions with bumpversion
2018-03-28 11:34:23 -07:00
Benjamin Schweizer
2aeb0f7c8a
added USE_ID_TOKEN option, defaulting off
2018-03-28 15:51:10 +02:00
Benjamin Schweizer
0a98d1c7b7
Merge branch 'master' of https://github.com/influxdata/chronograf
2018-03-28 13:30:05 +02:00
Iris Scholten
ed5119f2ba
respond to review
2018-03-27 14:28:59 -07:00
Iris Scholten
b251829ccb
respond to review
2018-03-27 14:27:01 -07:00
Iris Scholten
4f6de052d7
update swagger.json with tableOptions info
2018-03-27 11:45:57 -07:00
Alex P
347c27b1f4
Add "Scale" type to accepted cell color types
2018-03-26 19:09:09 -07:00
Jared Scheib
de90bfedef
Test for existing superadmin user in Principal auth0 group
2018-03-23 16:58:09 -07:00
Jared Scheib
f3b9f6777a
Update existing user's superAdmin status in bolt if in Principal auth0 group
2018-03-23 16:53:08 -07:00
Jared Scheib
f1cadf6191
Add server test for Chronograf not private & user is in auth0 superadmin group
2018-03-23 16:26:20 -07:00
Jared Scheib
c449d34ec1
Add expected defaultRole to test data organization & currentOrganization
2018-03-23 15:54:46 -07:00
Jared Scheib
dd2c600c78
Update 'private' language to make consistent with current behavior of app
2018-03-23 15:45:11 -07:00
Jared Scheib
3dbab1a9b5
Remove extraneous fmt.Print statements
2018-03-23 15:03:01 -07:00
Jared Scheib
50849b11ef
Extend test data with case where user has multiple Principal Groups
2018-03-23 15:00:09 -07:00
Jared Scheib
4227ce17dc
Fix Auth0SuperAdminOrg server option description to indicate only one org is acceptable
2018-03-23 14:53:43 -07:00
Michael Desa
0cde581538
Add tests for mapProviderToSuperAdmin
2018-03-23 16:12:18 -04:00
Michael Desa
2345723d03
Add mapPrincipalToSuperAdmin function
...
The function grants a super superadmin status if the user belongs to a
particular auth0 organization and adds them to the default organization.
2018-03-23 15:48:34 -04:00
Jared Scheib
07f313f8b5
WIP
2018-03-23 12:17:22 -07:00
Iris Scholten
2b8b3f4b76
WIP change backend TableColumn to RenamableField and ColumnNames in TableOptions to FieldNames
2018-03-20 17:15:33 -07:00
Iris Scholten
1910529eeb
add visible to TableColumn in backend and fix tests accordingly
2018-03-20 17:03:24 -07:00
Iris Scholten
79d977fbea
add fixFirstColumn to backend and tests
2018-03-19 15:56:31 -07:00
Andrew Watkins
5eebbbe530
Add insecureSkipVerify to marshal / unmarshal
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-14 17:24:55 -07:00
Brandon Farmer
ef4fbba690
Merge pull request #2970 from influxdata/fixes/missing-colors-from-canned-single-stats
...
Always return colors for single stat graphs
2018-03-14 15:45:22 -07:00
Brandon Farmer
984c571a28
Provide default cell colors in layout
2018-03-13 20:36:43 -07:00
Iris Scholten
9b9be3cda1
Merge branch 'master' into feature/graph-table-time-format
2018-03-13 09:48:52 -07:00
Iris Scholten
cf2c508c96
update server_test, internal_test, and cells_test with tableOptions
2018-03-12 17:12:20 -07:00
Luke Morris
ee9111d04d
Bump version
2018-03-08 18:54:45 -08:00
Luke Morris
92da0b1b51
Bump version to 1.4.2.2
2018-03-07 13:19:40 -08:00
Luke Morris
5777ee718e
Bump version number
2018-02-28 23:23:27 -08:00
Luke Morris
ff73d82aa2
Bump version number
2018-02-28 21:28:29 -08:00
Luke Morris
4b54081cf8
Revert :interval: work
...
Squashed commit of the following:
commit 8b18f78098953c5aba744dd16a215b6ed4cd5143
Author: Luke Morris <lukevmorris@gmail.com>
Date: Wed Feb 28 20:44:46 2018 -0800
Revert "Merge pull request #2663 from influxdata/feature/migrate-time-interval"
This reverts commit 935186984c
, reversing
changes made to e5b8889bc6
.
commit 8f17059d24cc1a1bb4b8675be70fb9adb3f3a3e3
Author: Luke Morris <lukevmorris@gmail.com>
Date: Wed Feb 28 20:44:23 2018 -0800
Revert "Merge pull request #2890 from influxdata/fix/time-interval"
This reverts commit bb01a569ca
, reversing
changes made to 3609bc7d3a
.
2018-02-28 20:47:16 -08:00
Michael Desa
1c9ee296a0
Ensure backwards compat for old GROUP BY :interval:
2018-02-28 17:21:15 -05:00
lukevmorris
e8f80a15ac
Merge pull request #2846 from influxdata/feature/annotations
...
Dashboard annotations
2018-02-27 13:05:39 -08:00
Iris Scholten
812588ffb1
update changelog message and log line message
2018-02-26 15:12:51 -08:00
Alex P
69fa4842e8
Merge branch 'master' into feature/annotations
2018-02-26 15:10:10 -08:00
Iris Scholten
8f471f1375
update url in log line and fix typo
2018-02-26 14:30:47 -08:00
Iris Scholten
c2d209690a
update tests to account for empty bounds change
2018-02-23 16:48:25 -08:00
Iris Scholten
d315c6e9fa
make empty axes bounds [,] instead of []
2018-02-23 16:24:54 -08:00
Luke Morris
ab8a73509a
Merge branch 'master' into feature/annotations
2018-02-22 19:53:23 -08:00
Chris Goller
0908225f31
Merge pull request #2825 from influxdata/feature/annotation-tests
...
Annotation tests
2018-02-21 12:23:00 -06:00
Russ Savage
ce67e71532
Merge pull request #2819 from influxdata/new-sources
...
Fix/New sources CLI and Deprecation
2018-02-20 13:39:27 -08:00
Chris Goller
a5fa5bddb9
Add initial tests for REST annotations
2018-02-20 08:34:23 -06:00
Benjamin Schweizer
47dac13cae
merged upstream, updated comments, added GroupFromClaims()
2018-02-20 09:47:42 +01:00
Luke Morris
114403ef23
Enforce presence of endTime
2018-02-19 09:52:02 -08:00
Luke Morris
7a77a0e653
Full create for single and windowed annotations
2018-02-16 21:37:31 -08:00
Luke Morris
03d7f7457d
Unify annotation schema in both client/server
2018-02-16 19:49:13 -08:00
Chris Goller
9a748d7bd5
Fix annotation storage to influxdb
2018-02-16 09:17:47 -08:00
Chris Goller
8e542b5130
Update annotations to use time as endTime
2018-02-16 09:17:47 -08:00
Chris Goller
bf102395aa
WIP
2018-02-16 09:17:47 -08:00
Luke Morris
59b6979812
Merge branch 'master' into feature/annotationz-pre-pl-with-master
2018-02-15 12:03:10 -08:00
Iris Scholten
562441bf7a
add deprecation message if using --new-sources
2018-02-14 17:18:35 -08:00
Chris Goller
093fb7d75d
Update meta nodes to respect insecure skip verify
2018-02-14 13:25:08 -08:00
Iris Scholten
039121e18c
add organization information to the context
2018-02-14 13:14:57 -08:00
Luke Morris
85781aed9d
Bump to 1.4.1.2
2018-02-13 13:34:50 -08:00
Luke Morris
b97739e520
Bump version to 1.4.1.1
2018-02-12 18:03:16 -08:00
Luke Morris
27fbfd4d38
Bump version
2018-02-12 16:42:58 -08:00
Luke Morris
c136a2f5f0
Remove Public; Improve Tab Names
2018-02-09 16:00:27 -08:00
Luke Morris
67ac6a5a2f
Merge branch 'master' into feature/mappings
2018-02-09 11:42:07 -08:00
Luke Morris
4155d9c6d9
Replace Public functionality with Mappings feature
2018-02-08 17:53:34 -08:00
Alex P
66b41abdce
Merge branch 'master' into feature/annotationz-pre-pl-with-master
2018-02-08 16:38:47 -08:00
Iris Scholten
e5fe5cd0e6
WIP remove public logic from organizations
2018-02-08 16:01:00 -08:00
Luke Morris
1116e41246
Pseudo code for removal of Public
2018-02-08 10:59:54 -08:00
Michael Desa
096ef058eb
Allow user to delete themselves
...
Previously users were prevented from removing themselves.
Connect https://github.com/influxdata/chronograf/issues/2711
2018-02-07 09:46:08 -05:00
Iris Scholten
3c3e524b46
Group=>ProviderOrganization; organization=>organiztionId; fix pointer bug
2018-02-06 18:33:27 -08:00
ischolten
b2cfb67256
Merge pull request #2703 from influxdata/feature/global-users
...
Add global users page for super admins
2018-02-06 14:30:08 -08:00
Michael Desa
b5eca6c58a
Prevent error if organization not found in mapping
...
chris go vet fix
2018-02-05 18:20:03 -05:00
Chris Goller
84b6cf4967
Update cell defaults to use empty array
2018-02-05 17:04:15 -06:00
Michael Desa
efd691d1b5
Add Mappings CUDA routes
2018-02-05 16:47:44 -05:00
Chris Goller
6bfc6c36b2
Fix cell race condition
2018-02-05 14:50:05 -06:00
Chris Goller
a565027394
Add legend to dashboard cells
2018-02-05 14:25:57 -06:00
Michael Desa
8b60388d81
Add correct implementation of mappings
2018-02-05 14:54:39 -05:00
Iris Scholten
5fbfc12f11
Merge branch 'master' into feature/global-users
2018-02-01 16:40:14 -08:00
Nathan Haugo
74f067844c
Update changelog for 1.4.0.1
2018-01-25 13:09:45 -08:00
Andrew Watkins
7fbb4d877c
Merge annotation-store
2018-01-19 10:11:53 -08:00
Chris Goller
7555783638
Update influxdb annotation store to support update/delete
2018-01-18 21:50:46 -06:00
Michael Desa
8fa2eabdb3
Fix RouteMatchesPrincipal if org isnt on principal
2018-01-17 12:42:32 -05:00
Michael Desa
23a4c34a17
Populate links response with organiation on JWT
2018-01-17 12:26:28 -05:00
Michael Desa
f3c57f1e3f
Add correct users route to all routes
2018-01-16 17:03:46 -05:00
Michael Desa
2d7828b602
Nest user routes under organization
...
Add global user routes
2018-01-16 16:45:58 -05:00
Chris Goller
243ccb1ffb
Add basic REST routes for annotations
2018-01-12 17:17:14 -06:00
Chris Goller
986e9406f9
Add epoch to influx query
2018-01-12 17:17:01 -06:00
Michael Desa
4afb444579
Allow UpdateUser to accept empty roles
2018-01-12 12:37:30 -05:00
Michael Desa
d74d8f35f9
Add wildcard role and validate users roles in CRUD
...
The server may now specify a '*' to indicate that the server should
retrieve the organizations default role and assign it to the user.
2018-01-12 12:27:55 -05:00
Michael Desa
0b89623db8
Apply mapping to user in /me
2018-01-11 16:10:27 -05:00
Michael Desa
c833020944
Add logic mapping applying a mapping
2018-01-11 12:36:13 -05:00
Michael Desa
de61afc850
Fix mappings on me response
2018-01-10 16:34:04 -05:00
Michael Desa
2eb68a3b36
Add mappings to organizations
...
Add links to organization response on me
2018-01-10 15:56:13 -05:00
Benjamin Schweizer
9ca43f43aa
Merge branch 'master' of https://github.com/influxdata/chronograf
2018-01-10 21:44:07 +01:00
Deniz Kusefoglu
3612843df7
Merge pull request #2409 from influxdata/multiple-event-handlers
...
Multiple event handlers
2018-01-10 12:32:22 -08:00
Michael Desa
b360591cb9
Add rawUsers route to AllLinks
2018-01-10 11:18:08 -05:00
Michael Desa
acf3de93cd
Allow for different canned resource paths
...
Previously, users had to place all canned resources (layouts,
dashboards, sources, kapacitors, and organizations) in a single
directory. This work introduces a way to specify two directories.
One for application layouts and one for the other resources.
Users may still place all resources in a single directory if they'd
like.
2018-01-09 17:34:36 -05:00
Michael Desa
0d6a508a00
Modify CRUD user handlers for global operations
...
Add raw query param middleware performing raw ops
This commit introduces middleware that allows SuperAdmin Users to
specify a query param `raw=true` which will give them raw access to the
data store. Raw access means that it is not in behind the usual
organization facade.
Currently, only the user routes use this middleware.
2018-01-09 13:43:33 -05:00
Chris Goller
ce4d51d8a1
Update influxdb write proxy to allow self-signed certificates
2018-01-09 11:09:13 -06:00
Chris Goller
d4a807ca96
Update kapacitor proxy to allow self-signed certificates
2018-01-09 11:05:47 -06:00
deniz kusefoglu
abdfd14bbd
Merge branch 'master' into multiple-event-handlers
2018-01-04 18:14:06 -08:00
Michael Desa
2151413ece
Add /chronograf/v1/env endpoint to expose env vars
...
Some environment variables are needed by the front end. This PR
introduces a route so that those environment variables can be exposed.
Additionally, a new environment variable TELEGRAF_SYSTEM_INTERVAL was
added. This env var controls the rate at which the host list page will
update its red/green status.
2018-01-03 11:52:40 -08:00
Jared Scheib
8a71b3348e
Unprettier
2017-12-22 16:56:16 -08:00
Jared Scheib
5afe31eb33
Add /users & /users/{id} routes & CRUD operations to swagger
2017-12-22 16:53:17 -08:00
Jared Scheib
7dbf1b9793
Add swagger definitions for Chronograf Users, User, & Role
2017-12-22 16:53:17 -08:00
Jared Scheib
b5c6856d01
Add read-only props & fix organization id to be string
2017-12-22 16:53:17 -08:00
Jared Scheib
de9970cc1a
Clarify & make consistent 403 error descriptions
2017-12-22 16:53:17 -08:00
Jared Scheib
73f429c4c0
Clarify copy in Organizations descriptions
2017-12-22 16:53:17 -08:00
Jared Scheib
b675bb6086
Clean up swagger JSON
2017-12-22 16:53:17 -08:00
Jared Scheib
a7756df20b
Change 'multitenancy' tag to 'multiorganization' & 'multiuser'
2017-12-22 16:53:17 -08:00
Jared Scheib
b5d1a6bac1
Add organization/{id} get, patch, & delete to swagger
2017-12-22 16:53:17 -08:00
Jared Scheib
929c20e9fd
Clarify swagger description copy
2017-12-22 16:53:17 -08:00
Jared Scheib
c36acbbf52
Make POST descriptions consistent
2017-12-22 16:53:17 -08:00
Jared Scheib
606f78ebe8
Add Organization resources & apis to swagger
2017-12-22 16:53:17 -08:00
Jared Scheib
11d20cf22e
Change 'internal service error' to 'internal server error'; prettier
2017-12-22 16:53:17 -08:00
Nathan Haugo
d7f9faa782
Bumpversion to 1.4.0.0
2017-12-22 12:59:04 -08:00
Alex Paxton
0f6a2d8802
Merge pull request #2598 from influxdata/single-stat-colors-polish
...
Single Stat Colors Polish
2017-12-22 12:48:50 -08:00
Nathan Haugo
94fea97117
Update version
2017-12-21 11:36:03 -08:00
Alex P
8b37f02030
Merge branch 'master' into single-stat-colors-polish
2017-12-20 17:59:52 -08:00
Jared Scheib
f91a2e436d
Merge branch 'master' into feature/superadmin_gets_default_role
2017-12-20 17:49:29 -08:00
Michael Desa
95297303be
Check specific case when SA changes their status
...
SA - SuperAdmin
2017-12-20 16:34:31 -08:00
Michael Desa
14af1aa115
Prevent SuperAdmin from modifying their own status
...
Previously it was possible for SuperAdmins to remove their own status.
This could create an application state where there were no super admins.
This is not an acceptable application state.
2017-12-20 15:17:08 -08:00
Michael Desa
ab9e686bbb
Give SuperAdmin DefaultRole on PUT /me
...
Previously, SuperAdmins were given the admin role in an organization
when they switched into it (via a PUT to /me). This is undesireable for
the comonitoring organization. This PR gives SuperAdmins the default
role for the organization when they switch into it.
2017-12-20 14:20:24 -08:00
Chris Goller
d8a0aa3b89
Update CHANGELOG and versions to prep for 1.4.0.0-rc1
2017-12-19 18:38:46 -06:00
Nathan Haugo
72a756c843
Merge pull request #2593 from influxdata/feature/dashboard-filestore
...
Add filesystem backed dashboard and organization stores
2017-12-19 14:36:19 -08:00
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
Nathan Haugo
daae351232
Merge pull request #2616 from influxdata/fix/update-cell-query-config
...
Fix cell replacement to return query config
2017-12-19 12:40:30 -08:00
Chris Goller
11a4404d6d
Remove extra debugging statement from influx queries
2017-12-19 13:48:56 -06:00
Chris Goller
45301fb012
Fix cell replacement to return query config
2017-12-19 13:43:39 -06:00
Chris Goller
3035cad82a
Add organization multistore over bolt and filesystem
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-19 10:13:46 -08:00
Michael Desa
d8d20547ab
Change Organization ID to string from uint64
2017-12-19 10:13:43 -08:00
Chris Goller
9d1165a335
Update CLI option to reflect dashboards directory
2017-12-19 10:07:09 -08:00
Chris Goller
ac41c384f2
Add multiple dashboard stores to server
2017-12-19 10:07:07 -08:00
Chris Goller
979f260f4b
Move MultiSourceStore to the multistore package
2017-12-18 17:31:45 -08:00
Chris Goller
f8461a8252
Move kapacitor multistore to the multistore package
2017-12-18 17:31:45 -08:00
Chris Goller
e1bfa8b2b7
Update layouts from canned package to filestore
2017-12-18 17:31:45 -08:00
Chris Goller
8811fc3420
Fix vet for tests
2017-12-18 17:31:45 -08:00
Chris Goller
56d9d4721b
Update layouts package to multistore
2017-12-18 17:31:45 -08:00
Jared Scheib
2ba29d6937
Merge pull request #2591 from influxdata/multitenancy_no_switch_to_orgs_where_no_role
...
Allow SuperAdmin to switch to orgs where they have no role
2017-12-18 13:44:21 -08:00
Luke Morris
071b8b4f82
Minor tweaks based on PR review
2017-12-18 12:59:04 -08:00
lukevmorris
7663df8884
Merge pull request #2604 from influxdata/2599-backup-database-on-upgrade
...
After Chronograf version upgrade, backup database on server start
2017-12-18 12:11:28 -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
Benjamin Schweizer
39416832f4
Merge branch 'master' into master
2017-12-18 15:22:48 +01:00
Luke Morris
2184aecf86
Refactor; simplify function responsibilities
2017-12-17 14:11:27 -08:00
Luke Morris
da71af2b7b
Clean up prior to PR
2017-12-16 13:54:55 -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
Michael Desa
a4736148c0
Allow SuperAdmins to change into any organization
2017-12-15 16:05:56 -08:00
Jared Scheib
933291918b
Reference known issue #2601 in Admin creating SuperAdmin response
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-15 15:05:27 -08:00
Alex P
43db95f2cc
Allow users to toggle between coloring text or background with single stat thresholds
2017-12-14 19:07:19 -08:00
Michael Desa
4223767c53
Use serverContext for getting Config in NewUser
2017-12-14 13:34:19 -08:00
Nathan Haugo
3f4bfefd00
Bump version to 1.4.0.0-beta2
2017-12-14 12:47:41 -08:00
Nathan Haugo
971156edf0
Bump version to 1.4.0.0-beta2
2017-12-14 12:45:44 -08:00
Michael Desa
61ef8937ba
Add comment clarifying UsersStore Add method
2017-12-14 11:36:26 -08:00
Michael Desa
da605ac138
Set SuperAdmin for NewUsers based on ConfigSetting
2017-12-14 11:11:51 -08:00
Jared Scheib
456488f0ac
Merge pull request #2355 from influxdata/multitenancy_all_users_superadmin_toggle
...
UI Toggle & API for SuperAdminFirstUserOnly server config
2017-12-14 10:54:18 -08:00
Jared Scheib
14599e0f0a
Add comment about firstUser superAdmin logic
2017-12-14 10:46:55 -08:00
Michael Desa
392594539b
Add SuperAdmin to default org, even if private
...
Add user to default org if org is public
2017-12-13 17:38:57 -08:00
Michael Desa
2b38918a44
Prevent users joining default org if private
2017-12-13 16:59:02 -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
Jared Scheib
5c813493ea
Add config.self & config.auth routes, update client routes & make PATCH a PUT
2017-12-13 13:54:23 -08:00
Michael Desa
da67f958ae
Remove SuperAdminFirstUserOnly CLI flag
...
Wire up boltdb config store
2017-12-13 11:55:36 -08:00
Michael Desa
9a1ba96977
Wire up bolt db ConfigStore in Server
2017-12-13 10:46:08 -08:00
Michael Desa
4496c361d7
Add PUT /config/:section route
2017-12-13 09:28:39 -08:00
Michael Desa
5ec549db0f
Add /config/:section endpoint
2017-12-13 09:04:44 -08:00
Benjamin Schweizer
7d4b8317e1
go fmt + got vet
2017-12-13 09:13:11 +01:00
Michael de Sa
fcd25ad580
Implement Config GET service method
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-12 17:06:57 -08:00
Jared Scheib
5038f8532b
Add /config link to AllRoutes handler
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-12 15:11:30 -08:00
Michael Desa
9fd656d4c9
Prevent user joining private default org
...
Previously, if an organization was private and a user was removed from
the default organization, then they would be re-added. This behavior was
so left over from when we thought of the default organization as the
place where all users would exist. This PR removes that behavior.
There is one piece of odd behavior where a user's "current organization"
will be the default organization, but they will have no role in the
default organization.
2017-12-12 13:15:53 -08:00
Benjamin Schweizer
645923a168
add support for RS256 signatures using JWKS
2017-12-10 18:26:27 +01:00
Deniz Kusefoglu
c2b356b1c5
Merge branch 'master' into multiple-event-handlers
2017-12-08 12:20:40 -08:00
Nathan Haugo
1e8a66dffa
Update bumpversion with 1.4.0.0-beta1
2017-12-07 14:38:28 -06: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
Deniz Kusefoglu
ace69cc49b
Merge branch 'master' into multiple-event-handlers
2017-12-05 16:18:01 -08:00
Jared Scheib
808163fe69
Merge branch 'multitenancy' into multitenancy_fix_layouts
2017-12-05 16:03:05 -08:00
Michael Desa
e5e65dfc1b
Remove Create/Update/Delete logic for Layouts
2017-12-05 17:11:16 -05:00
Michael Desa
fc0d525022
Remove /mappings in place of /layouts
...
Remove POST/PUT/DELETE methods to /layouts
2017-12-05 17:07:09 -05:00
Jared Scheib
987d462de3
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-12-05 13:37:46 -08:00
Nathan Haugo
4afa71a2f4
Merge pull request #2410 from influxdata/gauge-cell-type
...
Gauge Dashboard Cell
2017-12-05 13:26:02 -08:00
Jared Scheib
1323a062b7
Merge branch 'master' into multitenancy
2017-12-05 13:00:48 -08:00
Chris Goller
62db317268
Merge branch 'master' into feature/add-meta-auth
2017-12-05 14:37:47 -06:00
Alex P
5f6a9a9087
Merge branch 'master' into gauge-cell-type
2017-12-05 12:12:16 -08:00
Jared Scheib
93f11e1325
Merge remote-tracking branch 'origin/master' into multitenancy
2017-12-05 11:43:23 -08:00
Michael Desa
06db8a885f
Allow for empty MetaURL in UpdateSource
...
Currently, if an empty source is supplied, then the source's meta url
will not be updated. Now, if the MetaURL is supplied and is different
than the one that is currently on the source, the value will be updated.
Even in the case of empty string meta urls.
2017-12-05 13:04:31 -05:00
Chris Goller
6db56147a8
Add basic auth or JWT tokens for meta queries
2017-12-04 18:07:08 -06:00
Michael Desa
15a1c45cf1
Allow admins to update a superadmins roles
2017-12-04 16:53:30 -05:00
Chris Goller
7d35d3b3d1
Merge branch 'master' into fix/basepath-logout
2017-12-04 15:00:07 -06:00
Andrew Watkins
87fa2c1c91
Will not supply roles if there is no metaURL
2017-12-02 12:11:52 -08:00
Chris Goller
3f760c1b1b
Update oauth logout to include basepath
2017-12-01 15:35:39 -06:00
Deniz Kusefoglu
531e4af26c
Return 422 error instead of 500 for bad alert rule data
...
Signed-off-by: Chris Goller <goller@gmail.com>
2017-12-01 11:15:57 -08:00
Deniz Kusefoglu
b83ccaf420
Provide more verbose error for alert rule json parsing
...
Signed-off-by: Chris Goller <goller@gmail.com>
2017-12-01 11:05:38 -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
deniz kusefoglu
00dca72f19
Rename AlertHandlers to AlertNodes
2017-11-30 16:16:44 -08:00
Chris Goller
c7f35f14ec
Update kapacitor rule response to have empty arrays
...
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-11-30 16:32:47 -06:00
Michael Desa
6feba85807
Change NewUsersNotSuperAdmin to SuperAdminFirstUserOnly
2017-11-30 15:01:52 -05:00