Commit Graph
23998 Commits
Author SHA1 Message Date
Kyle Knight bbad316bae Theming AceEditor (#591) 2016-12-08 10:08:21 -06:00
Zachary Wasserman d9190020fe Record author information with queries (#578) 2016-12-07 12:22:31 -08:00
Kyle Knight 6f75bf5393 Removing the eslint disable line (#577) 2016-12-07 14:19:13 -06:00
Victor Vrantchan 6d9ad56e6d use validation error for expired invite tokens. (#587)
Closes #586
2016-12-07 11:25:48 -05:00
Victor Vrantchan 02945f1e3b set created_at time for invites in inmem (#588) 2016-12-07 11:20:21 -05:00
Victor Vrantchan 62a5e65c2e use random string instead of JWT for tokens. (#584)
uses a random URL encoded base64 string as the token for password reset
and invites.
2016-12-07 10:42:58 -05:00
John Murphy 7812b2f3bd Fixes host detail updates with MySQL backend (#568) 2016-12-07 03:51:11 +08:00
Zachary Wasserman 691eb55cf2 Return packs with queries (#575)
- New datastore method for loading packs associated with a query
- ListQueries and Query datastore methods now load packs

Addresses #388
2016-12-06 10:22:28 -08:00
Zachary Wasserman bc6109fb56 Fixes for saved queries (#576)
- Only saved queries should be returned by ListQueries
- Bugfixes

Addresses #388
2016-12-06 10:16:04 -08:00
John Murphy e6b1ed9ade Added MIA status for hosts that haven't been updated for 30 days (#570) 2016-12-07 01:37:22 +08:00
Kyle Knight 21ec1ed1b1 Resolve lots of absolute and fixed positioning issues (#571) 2016-12-06 11:55:48 -05:00
Mike Stone 854bc5bd1c Moves "All Hosts" label to it's own section in the dropdown (#573) 2016-12-05 17:48:46 -05:00
Zachary Wasserman 51e59712da Fixes in targets search (#565)
- Remove string formatting in favor of bindvars
- Fix errors when the query is empty
2016-12-05 11:16:23 -08:00
Mike Stone 6826bd5b6a Nav bar fixes (#569)
* Main nav item click brings user to default sub nav item

* Converts SiteNavHeader to a dumb component

* Stop passing dispatch to the FlashMessage component
2016-12-05 12:55:30 -05:00
Mike Stone b48c435206 Allow user to navigate through completed form pages (#567) 2016-12-05 10:21:17 -05:00
Mike Stone a896b1fd99 Manage hosts fixes (#566)
* Add New Label link adds to browser history

* Updates title of New Label page
2016-12-05 10:21:03 -05:00
Victor Vrantchan b1bca7c98c enbable API route after setup is complete (#564)
Fixes #563
2016-12-02 13:46:31 -05:00
Kyle Knight 449c1e904c 4px (#558) 2016-12-01 18:19:02 -08:00
Victor Vrantchan 77e15c8954 switch circle.yml to go1.8 builder image (#550) 2016-12-01 21:18:32 -05:00
Kyle Knight 4c742886c9 Update style and html on nav (#539) 2016-12-01 17:14:39 -05:00
Zachary Wasserman b901c4c0d3 Update models/service method for saving queries (#553)
- Add saved state to query (to differentiate queries explicitly saved from
  those just run as distributed queries)
- Remove unique constraint on query name

Closes #390
2016-12-01 13:21:27 -08:00
Kyle Knight 9e6a8eae56 Styling User Registration (#529) 2016-12-01 13:57:19 -05:00
Zachary Wasserman e1db2d4c27 Add cleanup method for distributed queries and metadata (#547)
- New datastore method for expiring queries and deleting metadata
- Start goroutine in serve to run this method on an hourly interval

Closes #392
2016-12-01 10:31:16 -08:00
John Murphy f66904f240 Host details 405 (#535) 2016-12-02 01:00:00 +08:00
Mike Stone 5adc5f4c7a Adds progress bar component (#548)
* Adds progress bar component
2016-12-01 09:50:44 -05:00
Kyle Knight 6a1a9c6ce9 Finish styling on Manage Hosts sidebar (#532) 2016-11-29 17:29:14 -05:00
Mike Arpaia f2e030ace9 Fixing the goose dep to install the command (#543) 2016-11-29 12:21:46 -08:00
Zachary Wasserman ed3c696c6e Refactor campaign methods into separate file (#540) 2016-11-29 10:20:06 -08:00
Kyle Knight 9a769d67a4 Remove ShadowBox & ShadowBoxInput (#537) 2016-11-28 15:35:43 -06:00
Kyle Knight 7acec77303 Render Icons with component (#533) 2016-11-28 13:20:15 -06:00
Victor Vrantchan a9000c5af3 print connection sleep interval duration in seconds (#534)
The duration was printed with a "ns" interval, even
though the sleep time was in seconds.
2016-11-28 10:35:05 -05:00
John Murphy 44ef92550f Added built in labels (#526) 2016-11-26 02:08:22 +08:00
Kyle Knight 46dee08ab3 Query Select Target Dropdown (#499) 2016-11-23 15:10:32 -06:00
Mike Arpaia 685e3da5e7 Fix misplaced closing brace 2016-11-23 13:04:44 -08:00
John Murphy df2653e46a Updated so you can choose to run 1.8.2 or 2.1.2 osquery (#527) 2016-11-24 01:59:23 +08:00
Victor Vrantchan b14250788d update integration test section of readme (#479) 2016-11-23 09:38:27 -05:00
Zachary Wasserman 0b612eedab Push query results and metadata over websocket connection (#519)
- New route `/api/v1/kolide/results/{id}` with upgrade to websocket connection
- Query results pushed over websocket as they are received from pubsub
- Target totals updates pushed over websocket every second
- New datastore method to support retrieiving target totals
- Websocket package includes helpers and patterns for communicating over websockets
2016-11-22 16:35:43 -08:00
Mike Arpaia a036c5da9f Add attributes to packs (#524)
* Adds created_by attribute to packs

This PR also updated the distributed query code to use the pattern
established here (service checks context)

* add enable/disable state to packs

* add query_count to packs API responses

* add host_count to packs API responses (very, very poorly)

* pack description should not be required

* counting hosts in packs via mysql

* removing extraneous newline in test

* Switch case instead of if/if else

* add description to update query for SavePack method

* change AND to WHERE in query as per @zwass

* add ordering and list options as per @murphybytes' suggestion
2016-11-22 13:56:05 -08:00
Mike Arpaia f6e5084d0d Adding admin items to sidebar (#522) 2016-11-21 12:37:54 -08:00
Mike Stone 5dd0b1cf64 User registration submit (#490)
* Renames kolide_web_address to kolide_server_url

* API client for new user setup

* handle api response

* Do not allow logged in users to register
2016-11-21 15:22:14 -05:00
Mike Stone 04bcf16910 Logout link on user menu logs the user out (#514) 2016-11-21 12:13:02 -08:00
Mike Arpaia a8a7be7f20 Packs pages (#426)
* initial scaffolding

* pack info sidebar

* fixing the merge of the routes

* Remove radium from pack info sidepanel

* lint

* cards!

* redux entity config

* pack interface

* wiring up redux with fake dev data

* Add description attribute to packs

* move redux to top level page component to isolate data fetching

* initial scaffolding of all packs table

* adding redux entities back

* minimal

* alpha order in packs.js

* no newlines in HTML

* onclick handler to function on component class

* alpha order in router

* alpha order in paths.js

* no newline in side panel

* removing input field

* lint fixes
2016-11-21 11:49:36 -08:00
Mike Stone 57d959b5ea Display hosts as table (#509)
* Display hosts as table

* adds Rocker button to ManageHostsPage

* Defaults to grid selected
2016-11-21 11:26:58 -05:00
Mike Stone 3f3a42bdf0 Form updates (#496)
* Updates EditUserForm

* Refactor ForgotPasswordForm

* Refactors LoginForm

* Refactors ResetPasswordForm
2016-11-21 10:43:08 -05:00
Mike Stone 8bb2a39d86 Improves re-usability of the SelectTargetsDropdown (#518)
* Improves re-usability of the SelectTargetsDropdown
2016-11-21 10:38:23 -05:00
John Murphy 56195b0768 Changed mysql version to match that of circle.yaml (#520) 2016-11-21 21:59:48 +08:00
Zachary Wasserman 627b1ad6e6 Drop MySQL tables after test when migration fails (#517) 2016-11-18 11:14:10 -08:00
Zachary Wasserman 3cd841051b Add online count to target/label responses (#513)
Closes #508
2016-11-18 09:23:44 -08:00
Zachary Wasserman 6133a61fd1 Fix flatMap logic in target selection request (#512)
The previous logic was causing nulls to be sent as IDs in the request arrays.
2016-11-18 09:20:21 -08:00
John Murphy 531535c168 Refactored database migrations to use goose (#515)
* Refactored database migrations to use goose
2016-11-19 01:02:51 +08:00