Michael Desa
5a6a6a94ef
fix(http): rename platform to influxdb in package
...
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-02-07 19:08:41 -05:00
zhulongcheng
c95e8b14da
feat(http): construct setup handler by SetupBackend
2019-02-06 19:18:23 +01:00
Kelvin Wang
875162abd3
update(http): remove check error true
2019-01-25 10:29:27 -08:00
Mark Rushakoff
3e1551334f
fix(http): ensure response body always closed
...
This avoids leaking resources.
Found by manually inspecting results of `git grep -A5 -F '= hc.Do'`.
2019-01-18 14:55:48 -08:00
Michael Desa
c60031a6b7
fix(influxdb): change resource to resource type
2019-01-15 12:57:57 -05:00
Mark Rushakoff
d73d73c0d4
chore: rename imports from platform to influxdb
...
I did this with a dumb editor macro, so some comments changed too.
Also rename root package from platform to influxdb.
In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.
Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Jade McGough
815795261d
feat(http): add labels to bucket responses
2019-01-03 16:02:02 -08:00
Andrew Watkins
3429e8d0c6
feat(auth): rewrite authorization service ( #2157 )
...
* feat(view-token-overlay): add view token overlay
* test(tokens): update tests
* chore(auths): rename mock data file
* feat(token-view): clicking on description opens token view modal
* feat(token-view): add ability to close overlay
* feat(token-view): display token permissions with updated permissions shape
* feat(token-view): wip update authorization and permission shapes
* feat(auth): wip refactor auth permissions
* fix(auth): generate permissions via functions
* fix(auth): make Id ID
* chore(types): update generated client
* feat(auth): wip add user and org names to auth
* fix(user): didnt save rebase
* feat(auth): WIP refactor auth
* feat(auth): check for user existence during auth creation
* feat(auth): org must exist during auth creation
* fix(auth): pluralize telegrafs resource type
* docs(http): update swagger definition for the Authorization
* test(auth): fix broken tests
* docs(swagger): update cur_swagger Authrorizations
* fix(api): remove trace from cur_swag
* test(ui/token): update components with new generated type definitions
* feat(http): add lookup service adding names for permissions
* fix(http): remove debugging panics
* chore: go tidy
* fix: unsaved rebase
* test(idpe): add ids to Authorizations for log tests
2018-12-28 15:02:19 -08:00
Michael Desa
32bd37de9a
fix(http): remove second potention call to w.WriteHeader
...
Multiple calls to w.WriteHeader were possible if there was an error that
was encountered while encoding the response. To resolve this, we simply
log any error that is encountered instead.
2018-12-20 11:11:09 -05:00
zhulongcheng
5f40883342
add custom-404 handler
2018-12-16 22:55:39 +08:00
Kelvin Wang
63da5d1e9f
(feat/testing) add onboarding and basic auth service
2018-11-02 12:20:45 -04:00
Kelvin Wang
3addadc12a
add setup service
2018-10-02 15:58:27 -04:00
Kelvin Wang
b50b9918ee
fix /setup endpoint
2018-09-28 11:56:49 -04:00
Kelvin Wang
3552af6386
feat: add onboarding defaults
2018-09-27 15:02:17 -04:00