Commit Graph

740 Commits

Author SHA1 Message Date
Mike Stone
658ee2f3ee Fix 907 - stop query when websocket finishes (#1371) 2017-03-07 16:24:30 -05:00
Kyle Knight
95b9e2c7d5 Fetch Targets after component is mounted (#1362) 2017-03-07 13:27:29 -05:00
Kyle Knight
13f06904ee Toggle small nav after leaving query page (#1355) 2017-03-06 17:34:30 -05:00
Kyle Knight
2e5955ab75 Fix busted delete host modal (#1359) 2017-03-06 17:27:12 -05:00
Kyle Knight
facab79954 Update UI styles for Host Details card (#1317) 2017-03-06 10:37:06 -05:00
Victor Vrantchan
79f2528419 provide context for ServeFrontend 500 errors (#1349)
Closes #1343
2017-03-03 19:49:55 -05:00
Victor Vrantchan
d65bf6ae61 do not return JSON response in healthz (#1350)
healthz should only return 200 or 500 response.
returning error messages in the HTTP response can leak sensitive connection information
The exact error is logged by the server instead.
2017-03-03 19:49:42 -05:00
Victor Vrantchan
4fb0b3c659 workaround for yarn node-sass issue (#1352) 2017-03-03 18:25:11 -05:00
Zachary Wasserman
fa84415c13 Support osquery logger_tls_compress flag (#1346) 2017-03-03 14:43:11 -08:00
Mike Stone
acca55ec74 Removes unused API client method stub (#1347) 2017-03-03 12:22:34 -05:00
Victor Vrantchan
eff7ffa44f rotate osqueryd logs on SIGHUP (#1316)
rotate osqueryd logs on SIGHUP

Closes #1256

Note: Sometimes the test fails to rotate the log on SIGHUP, although
that doesn't appear to be the case with a long running process.
After some discussion and debugging with @zwass we agreed to call
t.Log and come back to this issue at a later time.
2017-03-03 12:21:48 -05:00
Mike Stone
a56dba63a2 Get app to work in IE (#1344)
* Use lodash for endsWith support
* Fix IE Promise and Object.assign
2017-03-03 12:21:07 -05:00
Mike Stone
7a7fb9eac9 Select targets tests (#1307)
* Adds tests for the TargetDetails component

* Adds tests for Select Targets Menu

* Rename target_stub to target_mock

* Adds tests for the SelectTargetsDropdown & minor refactor
2017-03-03 10:05:03 -05:00
Zachary Wasserman
71a384f34a Show built in labels first in targets selector (#1338) 2017-03-02 15:40:50 -08:00
Mike Stone
d747a471af Refactor API client (#1335)
* Isolate each API entity
* Improve code structure in API client and request mocks
* Standardize on a request mock structure
* Use helper for creating request mocks
* Adds Request class to handle API requests
2017-03-02 17:07:01 -05:00
Mike Stone
230b7a870d Refactor redux config (#1325)
* Refactor - redux entity actions

* Refactor - config entities reducer

* Replaces ReduxConfig with new Config class
2017-03-02 16:05:25 -05:00
Kyle Knight
acd30332ec Render the spinner while hosts load (#1289) 2017-03-02 11:53:08 -05:00
Kyle Knight
89ee5b3aed Remove "All hosts" section in target selector when chosen (#1326) 2017-03-02 11:52:31 -05:00
Zachary Wasserman
3d6ca7d5a4 Use sockjs to gracefully degrade websockets (#1255)
Use the [SockJS Protocol](https://github.com/sockjs/sockjs-protocol) to handle
bidirectional communication instead of plain websockets. This allows
distributed queries to function in situations in which they previously failed
(Load balancers not supporting websockets, issues with Safari and self-signed
certs, etc.).

Also includes fixes to the JS message handling logic where slightly different
message delivery semantics (when using XHR) were exposing bugs.

Fixes #1241, #1327.
2017-03-01 13:14:26 -08:00
Zachary Wasserman
8a0ae4ad9b Add migration to ensure 'All Hosts' is complete (#1330)
Due to recreating the 'All Hosts' label in #1282, we get inconsistent counts
for hosts that have not checked in since that migration. This seems acceptable
for other labels, but it is important that 'All Hosts' really includes all the
hosts.

This migration adds all the hosts into that label.

Fixes #1329
2017-03-01 12:49:02 -08:00
Mike Arpaia
f713c1fc08 Performance improvements for the packs API (#1331) 2017-03-01 12:56:13 -07:00
Kyle Knight
169535afab Fix max-height issue with Full Screen Query Results (#1323) 2017-03-01 13:11:09 -06:00
Zachary Wasserman
4561aedd1f Fix inconsistencies with sidebar label counts (#1328)
- Fix a bug that caused hosts between 24 and 25 hours old to appear new
- Ensure "platform" labels use the count provided by the server

Fixes #1270
2017-03-01 10:50:09 -08:00
Jason Meller
e17b56f83b Prepare changelog for 1.0.1 release (#1315) 2017-02-27 12:23:47 -05:00
Kyle Knight
4d50d87a6a Replace Packs delete icon (#1314) 2017-02-27 12:05:48 -05:00
Kyle Knight
4d7a850481 Fix full-screen view by removing shrinking class (#1313) 2017-02-27 12:04:52 -05:00
Zachary Wasserman
d1e5f3714a Update changelog for #1309 (#1311) 2017-02-26 17:31:59 -05:00
Zachary Wasserman
879363311c Allow deleted label names to be replaced (#1309)
Fixes #1310
2017-02-24 17:47:30 -08:00
Victor Vrantchan
d18c0aa146 update builder to go1.8 (#1301)
* update builder to go1.8

Closes #1292
2017-02-24 20:04:45 -05:00
Victor Vrantchan
897cb35e24 Allow checking in to license server when license is saved. (#1299)
* Allow checking in to license server when license is saved.

Closes #1290
Closes #1277
2017-02-24 19:33:42 -05:00
Jason Meller
d10cb6e725 Initiate CHANGELOG for release (#1267) 2017-02-24 18:44:48 -05:00
Kyle Knight
b7fb83ce4b Full Screen Query Results (#1238) 2017-02-24 18:01:43 -05:00
Kyle Knight
6c6fb33915 Prevent Select Target dropdown from colliding with footer (#1303) 2017-02-24 17:52:42 -05:00
Kyle Knight
4aaf847edc Add Double Click event to Packs & Query tables (#1306) 2017-02-24 17:47:32 -05:00
Zachary Wasserman
7564967813 Fix flapping host network interfaces (#1283)
Ensure that host network interfaces do not disappear when they (unexpectedly)
are returned with no updates from osquery. Add test to verify.

Fixes #1278
2017-02-24 14:37:47 -08:00
Zachary Wasserman
d0bc2e5a87 Add updating kolide documentation (#1302)
Also add quickstart script information to install docs.

Closes #1300
2017-02-24 11:11:46 -08:00
Kyle Knight
0951cbfe1b Update Target Select UI (#1297) 2017-02-24 14:11:33 -05:00
Mike Stone
cc37cfa828 Allows users to update their email address (#1232) 2017-02-24 10:08:59 -05:00
Kyle Knight
1bb1c959ae Update Desktop media query (#1286) 2017-02-24 10:04:09 -05:00
Mike Arpaia
184b268b10 Always return the All Hosts label (#1288)
close #1285
2017-02-23 17:41:12 -07:00
Zachary Wasserman
0b4b921f17 Re-add default decorators to osquery config (#1269)
These decorators were removed in #953 due to an osquery bug. That bug is now
fixed, and we are adding the decorators back. We also now use `load` decorators
rather than `interval` decorators because they seem to function more reliably.
2017-02-23 12:36:08 -08:00
Kyle Knight
0716d19c52 Removing 'Show All' in Query and Packs (#1275) 2017-02-23 14:18:23 -05:00
Mike Arpaia
6c7862c42e Change label queries to use platform instead of build_platform (#1282) 2017-02-23 12:04:51 -07:00
Victor Vrantchan
8d4d6fa486 update flag documentation (#1280)
updates documentation to account for changes introduced in #1266
2017-02-23 13:46:34 -05:00
Kyle Knight
2f6a09f858 Fixing flyout menu title and position wrapping (#1272) 2017-02-23 11:32:14 -05:00
Kyle Knight
91132e440b Update Password Reset Email (#1225) 2017-02-23 11:10:33 -05:00
Kyle Knight
0d6aa52ce2 Remove extraneous flash success messages (#1226) 2017-02-23 09:49:16 -06:00
Mike Arpaia
bce8985a38 Renaming license-checker to license (#1263) 2017-02-22 17:45:44 -07:00
Mike Stone
ff19f81dbe Improve format of delete requests (#1258)
* Improve delete request format
2017-02-22 12:45:01 -05:00
Mike Stone
cfc390b179 Renders All Platform Icon if platform is null (#1243) 2017-02-22 11:05:06 -05:00