Jason Meller
5e9f93d08a
Add assets folder so we can serve images ( #155 )
2016-09-12 12:11:18 -04:00
Victor Vrantchan
a27752fd2c
jwtKey should be []byte but string is returned ( #154 )
2016-09-12 11:31:58 -04:00
Mike Stone
ac9a38c207
Login page scaffolding ( #142 )
...
* LoginPage component and route
* animated SVG background image utility
* Kolide text, User, Lock, & Kolide logo SVG icons
* styleguide
* Adds global footer
* Adds InputFieldWithIcon component
* Adds LoginForm component
* Render LoginForm from the LoginPage
2016-09-12 11:14:07 -04:00
Victor Vrantchan
82cad97c04
rename mock datastore to inmem ( #150 )
...
* rename mock datastore to inmem
* fix tests
2016-09-09 21:39:38 -04:00
Victor Vrantchan
300b7ac2db
pretty-print JSON response. ( #147 )
...
NOTE: SetIndent() was introduce in 1.7
2016-09-09 08:34:53 -04:00
Victor Vrantchan
05b1afd635
Update user properties ( #143 )
...
* renamed NeedsPasswordReset field for clarity
This field was not obvious when it should be set or checked. This makes it a bit more obious.
The property should only be set if the password request was requested by an admin.
Having this property checked should
- invalidate current user auth token
- force user to reset password on their next login
- NOT send a password reset email
* add GravatarURL property
we considered uploading and storing an image url in the future as well
* Add a user property to save the user's job role/position
2016-09-08 18:57:05 -04:00
Mike Stone
a0a035f2c4
Icon component setup & bg image ( #133 )
2016-09-08 08:50:44 -04:00
Mike Arpaia
8bf2b7ee7b
Forgot to specify that logout is post ( #136 )
2016-09-07 22:58:25 -04:00
Mike Arpaia
e7cabd0b73
Removing npm install --dev flag ( #137 )
2016-09-07 22:57:05 -04:00
Mike Arpaia
251043970b
Header based JWT authentication ( #131 )
...
* add a test data subcommand
* updated sessions stuff
* merge and tests
2016-09-07 21:24:11 -04:00
Mike Stone
906bf79526
Changes CSS styles to JS using Radium ( #129 )
2016-09-07 16:07:45 -04:00
Victor Vrantchan
88e4be20df
stdmux api routes should have a slash at the end ( #132 )
2016-09-07 16:02:55 -04:00
Victor Vrantchan
3ffc1028e4
move serving static assets outside of the API handler ( #130 )
2016-09-07 15:19:54 -04:00
Mike Arpaia
8436e3ea17
Removing unused mock package ( #128 )
2016-09-06 23:26:44 -04:00
Mike Stone
47e28d29aa
Redux configuration ( #122 )
2016-09-06 20:04:02 -04:00
Mike Arpaia
ff92f6749a
Osqueryd Service ( #119 )
...
* host service stuff
* working on the osquery service api
* log status and results logs
2016-09-06 17:28:07 -04:00
Mike Arpaia
bad0d62452
Remove eslint config from package.json ( #126 )
2016-09-06 17:22:57 -04:00
Mike Arpaia
47aa83a911
Move test setup out of root ( #124 )
2016-09-06 17:13:03 -04:00
Mike Arpaia
cab34eb46c
Moving development docker-compose out of root ( #125 )
2016-09-06 17:09:25 -04:00
Mike Arpaia
7a67e98eda
Making JS tests windows friendly ( #123 )
2016-09-06 17:00:34 -04:00
Mike Stone
a90645a95f
Testing/linting setup ( #120 )
2016-09-06 14:41:16 -04:00
Mike Stone
1e36dabbdc
Adding the watch flag to webpack ( #118 )
2016-09-06 11:23:33 -04:00
Mike Arpaia
9be7eacc73
generate-dev
2016-09-06 11:08:19 -04:00
Victor Vrantchan
0a3f29ade5
small fixes in endpoint error handling ( #117 )
...
* space in ,omitempty does not omit the field
https://play.golang.org/p/TF_itLk50g
* return service errors as part of the response struct
2016-09-06 11:02:11 -04:00
Mike Arpaia
b5b4796a5d
rm go generate
2016-09-05 18:02:38 -04:00
Mike Arpaia
6bdf3fba4b
cleaning up some development files ( #115 )
2016-09-05 17:58:49 -04:00
Mike Arpaia
a06f5b2afb
main and readme updates ( #114 )
...
* main and readme updates
* go vet error
2016-09-05 17:40:34 -04:00
Mike Arpaia
6c26faae1a
Merge pull request #103 from kolide/kittypes
...
Merge go-kit service implementation into master
2016-09-05 16:07:37 -04:00
Mike Arpaia
121af829d0
removing old server implementation ( #109 )
2016-09-05 16:03:58 -04:00
Mike Arpaia
95d66bc6f4
using the wrong context
2016-09-05 15:53:55 -04:00
Mike Arpaia
b7becf6428
Sessions endpoints ( #108 )
...
* renaming auth service to sessions service
* service method implementations
* endpoint and transport and transport tests
* Authenticate tests
2016-09-05 15:50:57 -04:00
Mike Arpaia
05f8fb3263
Serve frontend in kitserver ( #107 )
2016-09-05 10:15:58 -04:00
Mike Arpaia
186f96b8e8
Handler tests ( #106 )
2016-09-04 15:43:12 -04:00
Mike Arpaia
1abc44790e
Transport users tests ( #105 )
2016-09-04 14:31:17 -04:00
Mike Arpaia
1f6c8a82de
Updating the docker image to go 1.7 ( #104 )
2016-09-04 11:55:26 -04:00
Mike Arpaia
53a1fe8d84
queries and packs services via go-kit ( #102 )
...
* osquery services via go-kit
* Visual Studio Code configurations
* create query and pack endpoints
* organizing files more scalably
* modify query and pack endpoints
* delete query and pack endpoints
* get query and pack endpoints
* get all queries and packs endpoints
* add and remove queries from packs
* test stubs
* removing some indirection
* query service tests
* service pack tests
* transport tests
* adding config file flag back
* organizing package kolide
* get queries in pack endpoint
* run tests on 1.7?
* no 1.7 image :(
* typo in circle.yml
2016-09-04 01:13:42 -04:00
Mike Arpaia
5b78c0a7cc
Organizing cobra commands ( #100 )
2016-09-03 13:25:16 -04:00
Victor Vrantchan
9ab09f122a
update user service ( #101 )
...
- Added all required methods for a UserService
- Added authentication handlers `/api/login` and `/api/logout`
- Added authMiddleware for authentication for `/api/v1/kolide` path
- Added authorization middleware for each endoint
- Added validation middleware for validating API inputs
- Began work on logging middleware
2016-09-01 00:51:38 -04:00
Victor Vrantchan
b08d5cfb54
add more user auth methods
2016-08-29 13:04:07 -04:00
Victor Vrantchan
0bb0ce8888
update glide
2016-08-29 09:10:09 -04:00
Victor Vrantchan
c04e4f82dd
add setpassword to service
2016-08-29 09:07:23 -04:00
Victor Vrantchan
739bd2924c
add tests for set password
2016-08-28 20:29:56 -04:00
Victor Vrantchan
d611dc7786
add WriteActions context
2016-08-28 11:12:04 -04:00
Victor Vrantchan
a07e9c7d77
go-kit server layout
2016-08-27 23:59:17 -04:00
Victor Vrantchan
2946eeabfc
add Dockerfile ( #94 )
...
* add Dockerfile to build
2016-08-25 09:25:02 -04:00
Zachary Wasserman
41fe404ef1
HTTP Controller updates for label queries ( #96 )
...
Add controller methods for:
* Retrieving label queries
* Storing results of label queries
2016-08-24 16:50:28 -07:00
Mike Arpaia
3f81dda638
Query management backend ( #95 )
...
* initial data model modifications
* stubbing out http api endpoints
* becoming more restful
* GetAllQueries
* GetAllPacks
* GetQuery
* GetPack
* fixing datastore tests
* CreateQuery
* CreatePack
* ModifyQuery
* ModifyPack
* DeleteQuery
* DeletePack
* AddQueryToPack
* DeleteQueryFromPack
* todo change route URI
* fixing go vet
* comments
* universal url id parsing api
2016-08-23 19:30:55 -07:00
Zachary Wasserman
202319e83a
Add method for recording label query results ( #92 )
...
* New datastore method for recording label query results
* Add to label query test
2016-08-22 08:46:18 -07:00
Mike Arpaia
b8d4c78f62
Integration tests ( #90 )
...
* tests for auth endpoints
* create user test and fatals instead of panics
* more tests
* remove init viper config setting
* stubbing
* more tests
* more tests
* organizing auth and users files
* rest of auth tests
* password reset tests
2016-08-19 23:56:49 -07:00
Mike Arpaia
06402eefe9
Removing bindata.go
2016-08-19 18:39:31 -07:00