Commit Graph

4240 Commits (a423a98d3623e8bdff60d3f2f19b1711aea26e67)

Author SHA1 Message Date
Jared Scheib f988da6e7f 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 5ec506b8fb Merge branch 'master' into feature/persist_datasource_flag-1555 2017-07-07 14:45:00 -07:00
Timothy J. Raymond df40cb53be 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 a7fc16cb17 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
Andrew Watkins 79ba169f6f Put parent in charge of when to render custom time 2017-07-07 13:28:49 -07:00
Andrew Watkins 7bd7734c74 Fix bool 2017-07-07 13:25:02 -07:00
Andrew Watkins 00c0f44b97 Refactor NameableGraph component 2017-07-07 13:22:38 -07:00
Tim Raymond 5b5dbee078 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 4ce7e950a0 Update changelog 2017-07-07 13:14:01 -07:00
Jared Scheib 12f1a8ce4b 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 657da10701 Refactor to use js class syntax 2017-07-07 11:45:06 -07:00
Andrew Watkins 2b2abacaf7 Pull out custom time range into separate component 2017-07-07 11:37:53 -07:00
Andrew Watkins e1bd454363 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 579c2fac81 Fix tempvar on status page. 2017-07-07 08:37:34 -06:00
Hunter Trujillo ce3305fabd Fix broken upper time range tempvar. 2017-07-07 08:34:03 -06:00
Hunter Trujillo 05cbed726b Fix node-sass version for Node 8 support. 2017-07-06 17:29:59 -06:00
Jared Scheib fea0a330eb Correct comment 2017-07-06 15:04:04 -07:00
Jared Scheib 10c317c083 Refactor process new sources into named func 2017-07-06 14:27:14 -07:00
Hunter Trujillo ecad98beba Fix quoting of template variable value quoting. 2017-07-06 15:16:06 -06:00
Jared Scheib d7e73f55ad Move NewSources input prep to server
Signed-off-by: Tim Raymond <tim@timraymond.com>
2017-07-06 14:12:07 -07:00
Jared Scheib e61ffaa6a3 Clarify comment 2017-07-06 13:47:39 -07:00
Hunter Trujillo e71fca2bf8 Fix issue on both homepage and status page where custom time range indicator data is not present on the cell's query. 2017-07-06 14:31:28 -06:00
Alex P c1045841d7 Fix merge conflicts 2017-07-06 12:49:05 -07:00
Jared Scheib c455592103 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
Alex P 13b81cb935 Make filter toggleable 2017-07-06 12:16:03 -07:00
Jared Scheib ac0598f95c Allow server to run even if NewSources errors out 2017-07-06 12:05:05 -07:00
Jared Scheib f49badf4f0 Clean up conditionals 2017-07-06 12:04:34 -07:00
Jared Scheib 340ed6f40e Move throwaway parsing type into NewSources 2017-07-06 11:57:02 -07:00
Jared Scheib 3c3602a724 Update error messages to use plural 2017-07-06 11:48:14 -07:00
Jared Scheib abff00f88f Add sample usage
Make flag identifier plural since JSON array of objects
2017-07-06 11:44:42 -07:00
Jared Scheib 0c0d1a0e78 Log info if source already exists 2017-07-06 11:19:10 -07:00
Alex P eebef62cc5 Make time list in time range selector appear above the apply button
Woooooo z-index issues
2017-07-06 10:10:47 -07:00
Alex P 7469c6dd23 Prevent z-index mixup in which graph options appears above custom time selector 2017-07-06 10:03:08 -07:00
Alex Paxton 4711807dee Merge pull request #1677 from influxdata/custom-range-on-cells
Display Custom Time Range on Cell
2017-07-06 09:58:02 -07:00
Hunter Trujillo 187d593007 Improved unitOfTime regex. 2017-07-06 09:26:25 -06:00
Alex Paxton 45cd199359 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 52e65be69d 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 b1f8ff81c3 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 2f34756767 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 dece136b54 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 d0047e48cb 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 d2fadbf51b Merge branch 'master' into bugfix-tempvar-dropdown-jitter 2017-07-05 12:35:02 -07:00
Alex P 0d387daf15 Updoot changelog 2017-07-05 12:34:20 -07:00
Alex P 3a1291a0da 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 ff76a9831d 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 2923d66cb0 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 40a5609e78 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
Hunter Trujillo 9519973690 Updoot CHANGELOOG~ 2017-06-30 17:54:52 -06:00
Hunter Trujillo 0ca0be2481 Fix for tests. Phew! Thanks unit tests! 2017-06-30 17:52:50 -06:00
Hunter Trujillo b99ad9122e Merge branch 'feature/1482-custom-time-range' of github.com:influxdata/chronograf into feature/1482-custom-time-range 2017-06-30 17:34:15 -06:00