Commit Graph

639 Commits (70921b601400f2a25f8181539ed75cc135941c21)

Author SHA1 Message Date
Leonardo Di Donato 964151504f docs(http): update swagger for dashboards filtering 2019-01-17 12:35:00 +01:00
Iris Scholten 4918d7ae67 Move dataloading into admin ui
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2019-01-16 17:21:07 -08:00
Michael Desa 59fde4a9de feat(authorizer): add authorized bucket service
feat(http): use authorizer bucket service for API handler.

test(authorizer): add tests for bucket service auth
2019-01-16 15:37:19 -05:00
Michael Desa bfb865cd72 feat(influxdb): authorize org service operations
feat(influxdb): add unauthorized error code

feat(testing): export ErrorsEqual method

feat(authorizer): add Authorize method that authorizers permissions

feat(authorizer): add org service that authorizes actions to a wrapped org service

feat(http): use authorized org service in org handler

feat(authorizer): rename Authorize to IsAllowed
2019-01-16 14:41:57 -05:00
Kelvin Wang 0b90767a31 feat(http): add renew session 2019-01-16 11:07:35 -05:00
zhulongcheng ca332b59de filter buckets by FindOptions 2019-01-16 13:08:56 +01:00
Alirie Gray d9a3b6d76c
Feat/edit labels on tasks (#11122)
* Replace EditDashboardLabelsOverlay with generic EditLabelsOverlay
* Add ability to add/remove labels from a task
2019-01-15 17:02:32 -08:00
Palak Bhojani a7816fb1c0 Add the ability to delete collector from admin ui 2019-01-15 16:09:56 -08:00
Michael Desa 4d0bec5b49
Merge pull request #11098 from influxdata/fix/permission-ui
fix(ui): update permissions type in cur swagger and associated ui
2019-01-15 15:53:37 -05:00
Iris Scholten c97d0c7d28
Merge pull request #11076 from influxdata/feat/save-scraper-targets
feat(ui/dataLoaders): Update Scraper ui and connect to api
2019-01-15 11:51:41 -08:00
Leonardo Di Donato f7d33a63a5 fix(http): canonicize dashboard organization field
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-15 20:39:41 +01:00
Leonardo Di Donato 26ff149f61 docs(http): swagger update for macros 2019-01-15 20:39:41 +01:00
Leonardo Di Donato 4c8db98ca9 chore(testing): test macro by org
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-15 20:39:41 +01:00
Leonardo Di Donato 6527987b80 chore(platform/testing): macro platform testing accounts for org ID now 2019-01-15 20:39:41 +01:00
Leonardo Di Donato 0f3a076f3e feat(http): get macros via http accounts for query parameters
Refs #1908
2019-01-15 20:39:41 +01:00
Jade McGough d174d56f35
Merge pull request #11097 from influxdata/task-labels-swagger
fix(http): use correct response for task labels GET request
2019-01-15 11:25:55 -08:00
Michael Desa 4c1afc3a21 fix(ui): update permissions type in cur swagger and associated ui
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2019-01-15 14:24:20 -05:00
Iris Scholten ab549039d1 feat(ui/dataLoaders): Update Scraper ui and connect to api 2019-01-15 11:20:32 -08:00
Jade McGough fe6e1bcd23 fix(http): use correct response for task labels GET request 2019-01-15 11:18:57 -08:00
Deniz Kusefoglu b249f82e6d Add organizationID to telegrafsRequest schema 2019-01-15 10:40:39 -08:00
Michael Desa c60031a6b7 fix(influxdb): change resource to resource type 2019-01-15 12:57:57 -05:00
Deniz Kusefoglu 515d23117c
Merge pull request #11049 from influxdata/fix/dashboard-swagger
Rename json organizationID to orgID across API
2019-01-15 09:51:36 -08:00
Deniz Kusefoglu d8eb0d0a5d Replace organizationID with orgID everywhere 2019-01-14 18:34:12 -08:00
Deniz Kusefoglu 28d906fce6 Add orgID to dashboards 2019-01-14 18:13:27 -08:00
Michael Desa 7c1372cdfc fix(influxdb): rename organizationID to orgID in json struct tags
Note. This may require that users blow away thier existing boltdb
databases to avoid errors.
2019-01-14 18:12:46 -08:00
Michael Desa 263b3e228d fix(http): add organizationID to dashboard swagger 2019-01-14 18:12:46 -08:00
Nathaniel Cook 622106caaa Merge branch 'master' into flux-staging 2019-01-14 17:03:57 -07:00
Iris Scholten 358e1820c7 fix(ui/dataLoaders): Add check for existing configs for update 2019-01-14 11:02:14 -08:00
kelwang c447f9bad9
Merge pull request #11045 from influxdata/find_telegrafs_bug
fix(http): fix the user resouce mapping filter
2019-01-14 12:27:07 -05:00
Kelvin Wang 390f553416 fix(http): fix the user resouce mapping filter 2019-01-14 12:07:51 -05:00
Jade McGough 9d844ae274 fix(http): add owners/members links to dashboards responses 2019-01-14 08:58:04 -08:00
Michael Desa 92eaa53936 feat(platform): add organization id to dashboard
feat(http): add organization id to dashboard handler

feat(testing): add organization id to dashboards for testing

feat(bolt): add organization dashboard index

feat(inmem): filter dashboards by organization id

feat(http): add organizationID to dashboard response

feat(bolt): use index key to retrieve dashboard id

Co-authored-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>

feat(influxdb): support organization as filter for dashboards

fix(http): add query params to self links in dashboards/protos api
2019-01-14 11:28:28 -05:00
Michael Desa a3541b22d4 feat(http): allow user id to be specified explicitly on authorization
test(http): get user off of session in create authz test

fix(http): allow user id to be specified explicitly on authorization

create authorization now allows specifying user id explicitly. If no
user id is specified then we use the user id from the authorizer.

fix(http): use influxdb import

fix(http): use platform error in http auth tests

feat(cmd/influx): allow create auth command to specify user explicitly

feat(http): add org id to permissions
2019-01-14 10:20:20 -05:00
Jorge Landivar f8f1c1e7b6
Merge pull request #10954 from influxdata/feature/update_task_options
feat(tasks): update task options from api
2019-01-11 14:58:10 -06:00
Nathaniel Cook 3a2231be98 Merge branch 'master' into flux-staging 2019-01-11 13:47:49 -07:00
kelwang 0ac9d02d64
Merge pull request #10957 from influxdata/scraper_with_write_interface
add(gather): add writer interface
2019-01-11 13:51:26 -05:00
kelwang f0381bd308
Merge pull request #10977 from influxdata/scraper_target_swagger_doc
feat(http): add scraper target swagger
2019-01-11 13:51:07 -05:00
Kelvin Wang 82f79932c1 feat(http): add bucket and org name in response 2019-01-11 13:09:19 -05:00
Kelvin Wang ce6004243c add(gather): add writer interface 2019-01-11 13:09:18 -05:00
j. Emrys Landivar (docmerlin) a2674fa03d feat(tasks): update task options from api 2019-01-11 11:55:46 -06:00
Michael Desa 944de4157a fix(influxdb): add org id to permissions
filter out resources that have mission IDs

fix(influxdb): simplify auth check in PermissionAllowed

review(platform): update as noted in review

fix(influxdb): ensure permission has valid org id
2019-01-11 12:23:28 -05:00
Kelvin Wang cc3eaf5e75 feat(http): add scraper target swagger 2019-01-11 11:03:42 -05:00
jlapacik 5266cba346
deps: updates for packages and imports (#10962) 2019-01-10 14:33:25 -08:00
Jade McGough 6b99b09e0b fix(http): add labels to view links responses 2019-01-10 11:41:17 -08:00
Deniz Kusefoglu bc46eb5698 trailing slashes and code review 2019-01-10 10:05:58 -08:00
Deniz Kusefoglu deb87aef05 Update curswagger and generate client with views nested under cells 2019-01-10 10:05:58 -08: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
Alex P d12e94bb01 feat(ui/labels): Add the ability to edit labels on a dashboard
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-01-09 17:41:19 -08:00
Palakp41 7875051ace
Merge pull request #2391 from influxdata/feat/remove-bucket-org
Add delete column and functionality to buckets list and row
2019-01-09 17:11:37 -08:00
Palak Bhojani beac010471 Add delete column and functionality to buckets list and row
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2019-01-09 16:49:03 -08:00