Commit Graph

655 Commits

Author SHA1 Message Date
Mike Stone
e565e03130 License features (#1134)
* API client to create and get an app license

* Fixes unhandled promise rejection errors in redux config

* License Page and Form

* Adds getLicense action

* Adds License key area to App Settings Form

* Use license.token instead of license.license

* Implement API client

* Adds key icon to License Form

* Adds License Success component

* Render License Success on License Page when there is a license

* Adds persistent flash actions and reducer to redux

* Adds nag message middleware

* Moves FlashMessage component to flash_message directory

* Adds Persistent Flash component

* Renders Persistent Flash component from Core Layout

* Adds Kyle's styles

* Change license validation message

* Finishing touches for app config form license area

* Handle revoked licenses

* License Page hits setup endpoint

* Display server errors on license form

* Changes 0 allowed hosts to unlimited

* Trims JWT token before sending to the server

* GET setup page after submitting license
2017-02-09 22:16:51 -05:00
Victor Vrantchan
ec1c3b3b94 reverse order of arguments in error message. (#1196)
Fixing bug introduced in #1195
2017-02-09 20:09:06 -05:00
Zachary Wasserman
430a267b57 Send query campaign totals before results (#1193)
Avoids a bug where the frontend shows "x of 0 Hosts Returning y Records" by
ensuring that the expected total is updated before any results are sent.
2017-02-09 16:12:13 -08:00
Victor Vrantchan
cbd5c9d250 add namedError in addition to baseError (#1195) 2017-02-09 17:27:09 -05:00
Victor Vrantchan
5ddf788052 return a licensing error(instead of 500) when the public key does not match. (#1194) 2017-02-09 16:28:06 -05:00
Zachary Wasserman
de44b39411 Add npm-shrinkwrap.json and pin Bourbon (#1190)
Temporary workaround for #1189
2017-02-09 12:13:04 -08:00
John Murphy
7988076799 Licensed endpoints (#1188) 2017-02-10 02:43:45 +08:00
Mike Stone
77e83b986c Avoid page flashing on the User Management Page (#1191) 2017-02-08 16:38:11 -08:00
Mike Stone
9ef04d8f16 Locks jsdom at version 9.9.1 (#1187) 2017-02-07 19:43:19 -05:00
Victor Vrantchan
838c73ff0a add graceful server shutdown (#1185)
* add graceful server shutdown

Also refactors server to use `http.Server` instead of the global
http.ListenAndServe method. In the future it allows us to set
ratelimits and timeouts for http connections.
2017-02-07 16:02:08 -05:00
Mike Stone
482ff32be6 Display server errors on the Reset Password Form (#1154) 2017-02-07 11:46:08 -08:00
Mike Stone
3120acf8f3 Send platform parameter when creating labels (#1179)
* Catches errors when polling for data on Manage Hosts Page

* Sends platform parameter to server on label create

* Remove unnecessary condition to format platform param

* Clean up scheduled query formData
2017-02-07 13:37:41 -05:00
Mike Stone
e60a732c48 Render confirmation modal before deleting packs (#1167) 2017-02-07 09:57:51 -05:00
Mike Stone
eb4ae47f09 Disable enroll secret input field in Add Host Modal (#1180) 2017-02-07 09:31:03 -05:00
Mike Stone
160c031a0b Client-side password validation (#1181) 2017-02-07 09:29:48 -05:00
John Murphy
e9c4760979 License revocation checker (#1170) 2017-02-07 21:49:01 +08:00
Victor Vrantchan
a74063c1d1 update go-kit version and run glide up (#1182) 2017-02-06 20:25:47 -05:00
Mike Arpaia
4294bb1e4e Fixing broken documentation links (#1174)
With the new URL pattern that we schemed up for the docs site, these
links need to updated in the application.
2017-02-06 12:37:26 -07:00
Mike Arpaia
41c25443bf Use localhost if MySQL environment variable is not set (#1175)
I think that this will make it easier to use the demo dump utilities
with minimal configuration.
2017-02-06 12:34:56 -07:00
Mike Stone
cd838f7afb Render the 500 page after 500 errors 2017-02-06 10:04:20 -05:00
Mike Arpaia
25b56e6ee5 Making the case of section headers more consistent in application docs (#1173) 2017-02-05 11:44:32 -07:00
Mike Arpaia
646574c874 Fixing broken docs links (#1169) 2017-02-03 09:47:45 -07:00
John Murphy
9359604c13 Added GET licensing endpoint implementation (#1168)
* Added missing endpoint implementation
2017-02-04 00:41:17 +08:00
Mike Arpaia
22118dfdac Force links to README (#1166) 2017-02-02 15:51:02 -07:00
Mike Arpaia
8f433d81ae Cursory application documentation (#1165)
* Running Queries

* Scheduling Queries

* Configuring Osquery Options

* Working With Osquery Logs

* kolide for the osquery user
2017-02-02 15:13:54 -07:00
Zachary Wasserman
c0b64182d5 Update app strings for release (#1163)
- Setup strings + appropriate style changes
- Post-login string
2017-02-02 12:43:18 -08:00
John Murphy
a1a0c91876 Licensing (#1123) 2017-02-03 04:30:59 +08:00
Victor Vrantchan
598b5c7cb8 replace soft deleted queries in NewQuery (#1159)
Uses the same strategy as #1002, #1016 to replace queries.

Closes #1148
2017-02-02 15:18:44 -05:00
Victor Vrantchan
7297a87a74 Move deployment steps into circle.yml config (#1140) 2017-02-02 11:30:23 -05:00
Mike Stone
eb948da80d Fix weird rendering issue when for no query results (#1146) 2017-02-02 10:39:01 -05:00
Zachary Wasserman
1742ad3a9e Fix and re-enable query syntax checking (#1150)
- Upgrade sqlite-parser version
- Revert "Stop validating query syntax (#1090)"
- Update tests
2017-02-02 10:36:05 -05:00
Kyle Knight
d5cb38aff2 Updating setup to not have so much white space between text and form (#1147) 2017-02-02 10:26:22 -05:00
Kyle Knight
c12340b346 Update Delete Query modal style (#1149) 2017-02-02 10:25:42 -05:00
Mike Stone
b3897d3d38 Silently poll for hosts on the Manage Hosts Page (#1141)
* Adds silentLoadAll action to entities

* Polls for hosts from the Manage Hosts Page
2017-02-01 17:34:07 -05:00
Mike Stone
f263fbcba2 Add shard to scheduled query form (#1142)
* Adds shard input to Configure Pack Query Form

* Adds shard to API client

* Adds shard attribute to scheduled queries list
2017-02-01 15:48:08 -05:00
Mike Arpaia
a000751bfe renaming kolide-ose to kolide (#1143) 2017-02-01 10:20:50 -07:00
Mike Stone
8bb57ca02e Enable filtering by hostname (#1139) 2017-01-31 15:12:38 -05:00
Zachary Wasserman
7212d4c333 Add inline flag documentation in --help (#1135)
- Cleanup unused app.web_address flag
2017-01-31 10:06:30 -08:00
Mike Arpaia
c4c4b959b0 Updates to the README (#1138) 2017-01-30 23:22:37 -07:00
Mike Arpaia
ee7c12e36e Filling in some forgotten descriptions (#1136) 2017-01-30 22:13:08 -07:00
Mike Arpaia
e17ab76cff Setting up and using Kolide (#1133) 2017-01-30 18:51:10 -07:00
Mike Stone
f655ca5966 Adds middleware to logout user for 401 errors (#1121) 2017-01-30 15:20:06 -05:00
Mike Stone
1b54ce18ab Fetch hosts when a label is clicked in the Host Side Panel (#1124) 2017-01-30 15:14:15 -05:00
Mike Stone
9468fb3908 Reset checkedQueryIDs after queries are deleted (#1125) 2017-01-30 15:12:31 -05:00
Mike Stone
cdc3d1bf3a Renders query list in case-insensitive alpha order (#1126) 2017-01-30 15:11:13 -05:00
Mike Stone
54653127ee Clear selected targets and query results on page change (#1127) 2017-01-30 15:09:26 -05:00
Victor Vrantchan
589a813293 use version based on git tags (#1130) 2017-01-30 14:37:27 -05:00
Victor Vrantchan
598e70ac55 always generate random enroll secret on setup (#1129)
Updated now that the UI has the ability to manage the enroll secret.
2017-01-30 12:48:43 -05:00
Victor Vrantchan
0b017031df make command to build deb and rpm packages (#1128)
Add a make command which uses https://github.com/jordansissel/fpm
to build linux packages.
2017-01-30 11:34:29 -05:00
Mike Stone
e2dfd69269 Update the user in auth state when the current user is patched (#1099) 2017-01-27 11:40:35 -05:00