Adrian Obelmejias
|
de550f31df
|
Use standard for linting rules
|
2016-08-30 16:58:35 -04:00 |
|
Adrian Obelmejias
|
df481a5229
|
Set mongoose's promise lib
|
2016-08-30 15:52:55 -04:00 |
|
Adrian Obelmejias
|
cedefc9ddb
|
Update dependencies
|
2016-08-30 15:47:03 -04:00 |
|
Adrian Obelmejias
|
945ae3e6c2
|
Fix typo
|
2016-08-30 15:27:07 -04:00 |
|
Adrian Obelmejias
|
475d847839
|
Merge pull request #6 from zombler/linting-dependencies
Updated dependencies and linted a few lines
|
2016-04-17 11:01:30 -04:00 |
|
Connor Brathwaite
|
bf86cfb173
|
updated dependencies and linted a few lines
|
2016-04-16 14:41:22 -04:00 |
|
Adrian Obelmejias
|
5b16004783
|
Merge pull request #5 from alansikora/improvement/last-handler
Last handler
|
2016-04-14 11:16:53 -04:00 |
|
Alan Sikora
|
2453c11903
|
now you can determine which is the last handler by checking if next function exists
|
2016-04-11 00:00:18 -03:00 |
|
Adrian Obelmejias
|
6c25fced1c
|
Bump version
|
2016-03-31 16:08:01 -04:00 |
|
Adrian Obelmejias
|
b129554745
|
Merge pull request #4 from emilos/dev.emilos.tokenInAuthorizationHeader
Use authorization header instead of query parameter for jwt
|
2016-03-31 16:03:05 -04:00 |
|
Emil Ajdyna
|
c428135fbc
|
Move getToken method to utils
|
2016-03-31 21:26:09 +02:00 |
|
Emil Ajdyna
|
5ebdc028e4
|
Use authorization header instead of query parameter for jwt
|
2016-03-31 20:12:01 +02:00 |
|
Adrian Obelmejias
|
ee6d3cc0e3
|
Use es2015-node5 babel preset recommended by koa
|
2016-03-30 19:25:29 -04:00 |
|
Adrian Obelmejias
|
acbdd519cf
|
Use method from user model for generating token
|
2016-03-30 19:14:39 -04:00 |
|
Adrian Obelmejias
|
0cb0dcc501
|
Merge pull request #3 from marco-fiset/fix/remove-salt
Remove the salt field from the user model, as it's redundant
|
2016-03-30 19:10:30 -04:00 |
|
Marc-Olivier Fiset
|
9e0621532b
|
Remove the salt field from the user model, as it's redundant
|
2016-03-30 10:05:57 -04:00 |
|
Adrian Obelmejias
|
a786fc1983
|
Update readme
|
2016-03-19 11:39:21 -04:00 |
|
Adrian Obelmejias
|
c88fa383a7
|
Merge pull request #2 from adrianObel/feature/v2
Feature/v2
|
2016-03-19 11:34:44 -04:00 |
|
Adrian Obelmejias
|
f29e6e0432
|
Add docs
|
2016-03-19 11:26:39 -04:00 |
|
Adrian Obelmejias
|
6524773c53
|
Improve logging
|
2016-03-18 23:34:57 -04:00 |
|
Adrian Obelmejias
|
d247a26716
|
Move token generation to model
|
2016-03-18 23:23:45 -04:00 |
|
Adrian Obelmejias
|
3539d66d50
|
Use getUser as middleware for code reuse
|
2016-03-18 23:14:57 -04:00 |
|
Adrian Obelmejias
|
16fa1ebd0a
|
Pass user object within a user key
|
2016-03-18 23:04:14 -04:00 |
|
Adrian Obelmejias
|
01d2007590
|
Update tests
|
2016-03-18 23:03:57 -04:00 |
|
Adrian Obelmejias
|
8ffe8a40ae
|
Replace object with proper array implementation
|
2016-03-18 22:59:01 -04:00 |
|
Adrian Obelmejias
|
9dfad9dca5
|
Add tests for authentication
|
2016-03-16 21:20:23 -04:00 |
|
Adrian Obelmejias
|
0f3384eb57
|
Fix import
|
2016-03-16 20:32:51 -04:00 |
|
Adrian Obelmejias
|
ae2bf52fcf
|
Remove old controllers
|
2016-03-16 20:28:41 -04:00 |
|
Adrian Obelmejias
|
e79a98f8da
|
Move auth controllers to new modules
|
2016-03-16 20:28:26 -04:00 |
|
Adrian Obelmejias
|
b08cef1ffc
|
Add DELETE /users/:id
|
2016-03-16 20:21:16 -04:00 |
|
Adrian Obelmejias
|
2d8e171d07
|
Add PUT /users/:id
|
2016-03-16 20:18:27 -04:00 |
|
Adrian Obelmejias
|
b10f6acf19
|
Update router generation with handlers
|
2016-03-16 20:18:00 -04:00 |
|
Adrian Obelmejias
|
462d584aa3
|
Add GET /users/:id route
|
2016-03-05 15:23:41 -05:00 |
|
Adrian Obelmejias
|
9f8a04e556
|
Add GET /users route
|
2016-03-05 15:13:41 -05:00 |
|
Adrian Obelmejias
|
1030f80360
|
Mount middleware stack per route
|
2016-03-05 15:11:02 -05:00 |
|
Adrian Obelmejias
|
d4434e2ef8
|
Module intializer - generates routes and connects to controller
|
2016-03-05 14:12:09 -05:00 |
|
Adrian Obelmejias
|
184451f9fc
|
Create router for /users
|
2016-03-05 13:38:08 -05:00 |
|
Adrian Obelmejias
|
a102abfef8
|
Change router import to module init
|
2016-03-05 13:36:57 -05:00 |
|
Adrian Obelmejias
|
ea33ef0cf2
|
Update version
|
2016-03-05 00:07:38 -05:00 |
|
Adrian Obelmejias
|
6ab4d0b946
|
Merge branch 'feature/docs'
|
2016-03-05 00:06:49 -05:00 |
|
Adrian Obelmejias
|
8e97911d4e
|
Update lint to ignore comments
|
2016-03-05 00:05:09 -05:00 |
|
Adrian Obelmejias
|
67455677d7
|
Update readme
|
2016-03-04 23:58:22 -05:00 |
|
Adrian Obelmejias
|
e96606acdb
|
Add docs for DELETE /users/:id
|
2016-03-04 23:46:25 -05:00 |
|
Adrian Obelmejias
|
ac7b8172ba
|
Add docs for PUT /users/:id
|
2016-03-04 23:43:03 -05:00 |
|
Adrian Obelmejias
|
2f0c87ce91
|
Set error name to Unauthorized-Error
|
2016-03-04 23:42:51 -05:00 |
|
Adrian Obelmejias
|
f5bfba49c5
|
Add docs for POST /users
|
2016-03-04 23:33:46 -05:00 |
|
Adrian Obelmejias
|
1b026949d2
|
Add docs for GET /user/:id
|
2016-03-04 23:23:25 -05:00 |
|
Adrian Obelmejias
|
1eae3a4c0e
|
Define auth error
|
2016-03-04 23:17:12 -05:00 |
|
Adrian Obelmejias
|
87ea94b739
|
Mount documentation on /docs
|
2016-03-04 23:05:54 -05:00 |
|
Adrian Obelmejias
|
0b16b62261
|
Clean up dependencies
|
2016-03-04 23:05:31 -05:00 |
|