Commit Graph

4123 Commits (2753362272885e7946fb14224f1ac6690ae37007)

Author SHA1 Message Date
Jared Scheib 2753362272 Merge pull request #1695 from influxdata/feature/persist_datasource_flag-1555
Add server flag to add new InfluxDb source and Kapacitor server
2017-07-07 14:51:51 -07:00
Jared Scheib 7e8018782e Merge branch 'master' into feature/persist_datasource_flag-1555 2017-07-07 14:45:00 -07:00
Timothy J. Raymond 0c2c0e8b0f Merge pull request #1674 from influxdata/feature/tr-auth0-organizations
Add support for Auth0 organizations
2017-07-07 17:07:35 -04:00
Tim Raymond d9bfa23660 Fix bad merge conflict resolution
Duplicate definitions of the same property were present because of
confusing placement of merge conflict markers.
2017-07-07 16:59:19 -04:00
Tim Raymond 6be0cafd3a Merge master into feature/tr-auth0-organizations
Conflicts were the addition of CLI flags from a concurrent branch.
2017-07-07 16:18:01 -04:00
Jared Scheib 176c96ed3a Update changelog 2017-07-07 13:14:01 -07:00
Jared Scheib 0855fc434b Add test for creating NewSources via server flag
Move TestLogger to mocks

Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-07-07 12:56:12 -07:00
Andrew Watkins a7a3a9618e Merge pull request #1698 from influxdata/hotfix/node-8-support
Fix node-sass version for Node 8 support.
2017-07-07 09:34:59 -07:00
Hunter Trujillo 468f4fd8ef Fix node-sass version for Node 8 support. 2017-07-06 17:29:59 -06:00
Jared Scheib 965d72ea3f Correct comment 2017-07-06 15:04:04 -07:00
Jared Scheib a8c816085e Refactor process new sources into named func 2017-07-06 14:27:14 -07:00
Jared Scheib 1c72fd338b Move NewSources input prep to server
Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-07-06 14:12:07 -07:00
Jared Scheib b30fd6e260 Clarify comment 2017-07-06 13:47:39 -07:00
Jared Scheib 0e0800c218 Remove check on already existing Kapacitor
Clean up conditionals by refactoring to use loop label.
Incidentally this also fixed a bug that would not allow
a Kapacitor server to be added by the same name as one
that already existed, allowing the check to be removed
as well.
2017-07-06 12:18:33 -07:00
Jared Scheib 8707659688 Allow server to run even if NewSources errors out 2017-07-06 12:05:05 -07:00
Jared Scheib d1603ae971 Clean up conditionals 2017-07-06 12:04:34 -07:00
Jared Scheib f621ba348f Move throwaway parsing type into NewSources 2017-07-06 11:57:02 -07:00
Jared Scheib 3d6048be2e Update error messages to use plural 2017-07-06 11:48:14 -07:00
Jared Scheib 1ca0315f67 Add sample usage
Make flag identifier plural since JSON array of objects
2017-07-06 11:44:42 -07:00
Jared Scheib 96a7dc310d Log info if source already exists 2017-07-06 11:19:10 -07:00
Alex Paxton da05affd91 Merge pull request #1677 from influxdata/custom-range-on-cells
Display Custom Time Range on Cell
2017-07-06 09:58:02 -07:00
Alex Paxton 163b97f766 Merge pull request #1689 from influxdata/bugfix-tempvar-dropdown-jitter
Prevent TempVar Dropdown Size Jitter
2017-07-05 20:59:16 -07:00
Jared Scheib eb762dda86 Successfully persist new source and kapa via server flag
Move this to after BoltDb connection is opened
2017-07-05 18:12:08 -07:00
Tim Raymond fc6e3f87ec Parse JSON for --new-source into struct
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-07-05 15:00:59 -07:00
Alex P b368de67ef Use monospace font inside dropdown for consistency
Also matching font size to not cause a discrepancy in calculated width
2017-07-05 14:44:57 -07:00
Alex P 9e953f4c30 Use calculate-size and enforce maximum width
Items in dropdown menu that exceed the max width wrap text
2017-07-05 14:04:46 -07:00
Alex P 5372ee2b35 Install text size calculator package
As per recommendation of @cryptoquick this thing is a much more sound
means of doing the calculation than my initial approach
2017-07-05 14:04:46 -07:00
Alex Paxton 8c2e5c4585 Merge branch 'master' into bugfix-tempvar-dropdown-jitter 2017-07-05 12:35:02 -07:00
Alex P 17fa067bda Updoot changelog 2017-07-05 12:34:20 -07:00
Alex P 24ab9332df Prevent TempVar Dropdown size jitter
Determines the required length in pixels based on the length of the
longest item in the menu and only sets it if it is greater than the
minimum dropdown width
2017-07-05 12:27:03 -07:00
Timothy J. Raymond dd265d74ac Merge pull request #1688 from influxdata/bugfix/tr-fix-rp-update
Fix RP duration editing on admin page
2017-07-05 15:06:11 -04:00
Tim Raymond 9cc093d4e5 Update CHANGELOG with RP admin page fix
Adds a note about fixing a bug with the admin page where users were
unable to update retention policies.
2017-07-05 11:50:36 -04:00
Tim Raymond 54e6864b14 Fix RP duration editing on admin page
Validation logic in the "DatabaseRow" component made some optimistic
assumptions about the presence of the "replication" in state.
Replication won't be present in OSS or Influx Relay sources, so when
users tried to update other properties of a retention policy, it failed
with an error that indicated "replication" was undefined.

Since this is expected and desired behavior, this patch uses the
existing "isRFVisible" property to determine whether or not we should
process the "replication" part of the component's state, or simply
replace it with a "1", which is the only allowed value for
non-Enterprise sources.
2017-07-05 11:41:16 -04:00
Jared Scheib 6bc6324eb6 Add pseudocode outline for parsing and persisting source and server
Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-06-29 15:33:22 -07:00
Jared Scheib 8fa81c9541 Group flags more semantically consistently 2017-06-29 14:27:30 -07:00
Jared Scheib 49eaccda81 Group flags more semantically consistently 2017-06-29 14:25:41 -07:00
Jade McGough 0246ceceb2 Merge pull request #1668 from influxdata/fix/auth0-email
add email to auth0 required scopes
2017-06-29 11:59:59 -07:00
Alex P 84e25b2318 Display custom time range on cell header when present 2017-06-28 17:42:41 -07:00
Alex Paxton b70c481f47 Merge pull request #1673 from influxdata/bugfix-1670
Center file upload overlay
2017-06-28 15:35:53 -07:00
Jared Scheib 079ca3c235 Improve description of custom link use, and give example (#1676) 2017-06-28 14:41:13 -07:00
Tim Raymond 1e4e3edfb0 Update CHANGELOG for Auth0 organizations
Added an entry about adding support for Auth0 organizations
2017-06-28 16:44:33 -04:00
Tim Raymond a296bad62c Add test coverage for Auth0 organizations
This covers cases where users are or are not members of organizations as
well as whether or not they should have access to the application based
on their organization membership.
2017-06-28 16:29:52 -04:00
Tim Raymond 734414c479 Support Organizations in Auth0
It's useful for operators to classify users into separate groups which
we have termed "organizations". For other OAuth providers, the notion of
an organization typically fell along company lines. For example,
MegaCorp might have a "MegaCorp" GitHub organiztion, and all email
addresses would have the domain "megacorp.com".

Auth0 is slightly different in that MegaCorp would likely run their own
Auth0 provider for their internal services, so "organizations" in Auth0
are no longer synonymous with "large organizations" (or companies).
Instead, Auth0 organizations could be used to restrict access to
Chronograf instances based on team membership within an organization.

To make use of Auth0 organizations, operators should modify users'
app_metadata to include the key "organization". Its value should be the
organization which that user belongs to. This can be done automatically
through arbitrary rules using Auth0 Rules.
2017-06-28 16:29:52 -04:00
Alex P 198670bc6f Fix #1670 2017-06-28 13:24:01 -07:00
Alex Paxton 142e15e8d2 Merge pull request #1664 from influxdata/find-better-home-for-version-number
Find better home for version number
2017-06-28 10:29:51 -07:00
Hunter Trujillo 90f4aafb65 Merge pull request #1647 from influxdata/feature/file-upload-de
Feature/file upload de
2017-06-28 10:42:22 -06:00
Alex P c4f002b4fe Merge branch 'master' into find-better-home-for-version-number 2017-06-27 16:58:37 -07:00
Jade McGough 0436dbd0e3 add email to auth0 required scopes 2017-06-27 16:29:51 -07:00
Jared Scheib c7861b56d5 Merge pull request #1660 from influxdata/feature/custom_user_links-1550
Add ability to add custom links to User menu via server CLI or ENV vars
2017-06-27 14:32:01 -07:00
Jared Scheib e318ecb888 Sort custom links in User nav alphabetically 2017-06-27 13:58:10 -07:00