Ritchie Martori
af2b8dd4ff
Merge feature/password-reset
2013-12-06 17:35:14 -08:00
Ritchie Martori
216fee3015
Add access type checking
2013-12-06 17:04:47 -08:00
Ritchie Martori
bc27f07472
Add Model.requireToken for disabling token requirement
2013-12-06 12:09:52 -08:00
Ritchie Martori
4c69af5ae2
Add Model.requireToken, default swagger to false
2013-12-06 12:00:18 -08:00
Ritchie
68ef03e944
SLA-725 support PORT and HOST environment for PaaS support
2013-12-05 20:00:09 -08:00
Ritchie Martori
0987adfd5f
Merge pull request #64 from strongloop/auth
...
Initial auth implementation
2013-12-02 17:20:42 -08:00
Ritchie Martori
5cd71cee6b
Use loopback.AccessToken as default
2013-12-02 17:16:43 -08:00
Ritchie Martori
2c36935404
Fix missing assert
2013-12-02 16:37:42 -08:00
Ritchie Martori
2f9403016c
Initial auth implementation
2013-11-22 12:26:59 -08:00
Raymond Feng
52b1588152
Merge pull request #74 from strongloop/acl
...
More ACL features
2013-11-20 14:30:40 -08:00
Ritchie Martori
e92c46a4e4
Add password reset
2013-11-20 14:20:47 -08:00
Ritchie Martori
aaa8423257
Fix minor autoWiring bugs
2013-11-20 14:18:54 -08:00
Raymond Feng
344c74297c
Add unauthenticated role
2013-11-20 13:43:02 -08:00
Raymond Feng
bee8a3b022
Add checkAccess for subject and token
2013-11-20 13:43:01 -08:00
Raymond Feng
2c7c5fc7ec
Start to support smart roles such as owner
2013-11-20 13:43:01 -08:00
Ritchie Martori
3753c15b71
Merge pull request #71 from strongloop/feature/status-middleware
...
Add status middleware
2013-11-19 13:15:57 -08:00
Ritchie Martori
e5a55846e8
Merge pull request #69 from strongloop/datasource-auto-wiring
...
Initial auto wiring for model dataSources
2013-11-19 13:11:54 -08:00
Ritchie Martori
fd7dd7e4a2
Add status middleware
2013-11-19 12:54:30 -08:00
Ritchie Martori
9db8a7a25f
Auto attach all models created
2013-11-19 12:23:02 -08:00
Miroslav Bajtos
7d60b2dea6
Add loopback.urlNotFound() middleware.
...
The middleware should be used as the last 3-parameter middleware (regular
request handles) before any 4-parameter middleware (error handlers).
This way a request to an URL not handled by any middleware is converted to
a 404 error that can be handled by whatever error handling strategy is
configured in the application.
See senchalabs/connect#954 for more details.
2013-11-19 20:27:49 +01:00
Ritchie Martori
178e5dab30
Remove .attachTo() from tests
2013-11-19 11:02:43 -08:00
Ritchie Martori
da0545bed6
Initial auto wiring for model dataSources
2013-11-18 16:13:40 -08:00
Ritchie Martori
ec58237f8a
Add public flag checking
2013-11-18 12:52:00 -08:00
Raymond Feng
9fddbc3834
Switch to modelBuilder
2013-11-15 11:16:20 -08:00
Raymond Feng
44dfe34647
Allow ACLs for methods/relations
2013-11-15 10:08:49 -08:00
Raymond Feng
8381b05da1
Allows LDL level ACLs
2013-11-15 09:41:26 -08:00
Raymond Feng
8e679d0927
Fix the permission resolution
2013-11-14 21:19:57 -08:00
Raymond Feng
cc7560b258
Simplify check permission
2013-11-14 21:19:57 -08:00
Raymond Feng
94f12d0fce
Fix the permission check
2013-11-14 21:19:57 -08:00
Raymond Feng
be3c40c3d3
Add oauth2 related models
2013-11-14 21:19:56 -08:00
Raymond Feng
be32341467
Add a stub to register role resolvers
2013-11-14 21:19:56 -08:00
Raymond Feng
660ef89755
Merge ScopeACL into ACL
2013-11-14 21:19:56 -08:00
Raymond Feng
0430cd2ae3
Add tests for isInRole and getRoles
2013-11-14 21:19:56 -08:00
Raymond Feng
c3a1a85159
Add constants and more tests
2013-11-14 21:19:56 -08:00
Raymond Feng
48a0242711
Define the models/relations for ACL
2013-11-14 21:19:56 -08:00
Raymond Feng
67b934357b
Start to build the ACL models
2013-11-14 21:19:56 -08:00
Raymond Feng
492aca7724
Update acl/role models
2013-11-14 21:19:56 -08:00
Raymond Feng
f9849454e9
Update ACL model
2013-11-14 21:19:09 -08:00
Ritchie Martori
1de2a40e88
Update AccessToken and User relationship
...
- Add created default
- Default TTLs for user login access tokens
- Break out User / AccessToken relationship
2013-11-14 19:41:29 -08:00
Ritchie Martori
efce5039f6
Added AccessToken created property
2013-11-14 16:47:24 -08:00
Ritchie Martori
1bb95607b9
Update session / token documentation
2013-11-14 15:42:37 -08:00
Ritchie Martori
64d8ff986b
Add loopback.token() middleware
2013-11-14 13:01:47 -08:00
Ritchie
77a137eca6
Rename Session => AccessToken
2013-11-14 10:05:13 -08:00
Ritchie Martori
77e842d2a3
Fix bundle model name casing
2013-11-11 13:35:54 -08:00
Raymond Feng
a00645dd83
Merge pull request #53 from strongloop/apns
...
Update Application model for the push notification
2013-11-06 11:50:56 -08:00
Ritchie Martori
04a2de9f35
Merge pull request #58 from strongloop/lb-1.2-project
...
1.2 app.boot()
2013-11-05 14:08:21 -08:00
Ritchie Martori
30df6cb597
Code review fixes based on feedback from https://github.com/strongloop/loopback/pull/57
2013-11-04 14:07:26 -08:00
Ritchie Martori
1e3bfc6c18
Automatically convert strings to connectors if they are LoopBack connectors
2013-11-01 12:53:30 -07:00
Ritchie
6179476030
Add app.dataSource() method
2013-10-31 10:06:43 -07:00
Ritchie Martori
da5cb2c117
Add app.boot()
2013-10-29 14:44:44 -07:00
Raymond Feng
71339e159e
Remove the proxy as it is now handled by the juggler
2013-10-24 20:40:33 -07:00
Raymond Feng
e5a28b96ac
Clean up the model
2013-10-23 13:25:50 -07:00
Ritchie Martori
a3f1d8d944
Refactor email model into mail connector
2013-10-14 10:54:55 -07:00
Raymond Feng
bfffd839a7
Update Application model for the push notification
2013-10-11 13:56:26 -07:00
Ritchie Martori
137f12977f
Fix missing assert module
2013-10-11 13:49:04 -07:00
Raymond Feng
858ec8714d
Fix the id and property access
2013-10-04 15:53:02 -07:00
Ritchie
159eb0076c
Use a pure JS bcrypt
2013-09-12 12:09:43 -07:00
Raymond Feng
8784eb52cb
Update the internal prefix
2013-08-30 16:52:27 -07:00
Raymond Feng
534cc4af2f
Use findById to look up the instance by id
2013-08-16 22:11:58 -07:00
Raymond Feng
e8ac3a960f
Update the list of shared methods
2013-08-16 16:39:13 -07:00
Raymond Feng
d94bca9134
Make sure User.setup calls Model.setup to support shared ctor
2013-08-15 16:59:16 -07:00
Raymond Feng
0d405d4292
Rename 'loopback-data' to 'loopback-datasource-juggler'
2013-07-30 14:26:49 -07:00
Ritchie Martori
423b4f2157
Fix login query
2013-07-28 14:33:13 -07:00
Ritchie Martori
7f1e88e816
Implement required and update invlaid id schemas
2013-07-28 13:20:55 -07:00
Ritchie Martori
0f3ad00086
Remove auth middleware and passport until adding in acl and strategies
2013-07-28 10:11:29 -07:00
Ritchie Martori
89f65d792f
Clean up log out methods
2013-07-28 10:08:06 -07:00
Ritchie
35cafff877
Swagger integration
2013-07-25 16:24:00 -07:00
Ritchie
755b54f697
Fix hasMany / relational methods. Update docs.
2013-07-25 15:27:18 -07:00
Ritchie
8a7086be5c
Add root true to remote methods
2013-07-24 17:21:15 -07:00
Ritchie
d3eed3b321
Fix bad connector path
2013-07-24 11:13:30 -07:00
Raymond Feng
484f5270d9
Rename adapter to connector
2013-07-23 12:58:03 -07:00
Raymond Feng
da1cd6739b
Add more docs and apis to application model
2013-07-22 11:15:02 -07:00
Ritchie Martori
345435e7b2
Rename sl-remoting to strong-remoting
2013-07-19 12:07:04 -07:00
Raymond Feng
836df227c6
Add more functions and tests for Application model
2013-07-18 11:44:25 -07:00
Ritchie
f7791fc366
Manually merge application
2013-07-17 14:30:38 -07:00
Ritchie
7c7667151a
Manually merge rest adapter
2013-07-17 14:29:43 -07:00
Ritchie
a2308cbc1c
Merge 0.9 into master
2013-07-17 14:08:14 -07:00
Ritchie Martori
d128ed4386
Remove remote option object
2013-07-16 12:51:59 -07:00
Raymond Feng
1970f12988
Rename jugglingdb to loopback-data
2013-07-16 12:03:41 -07:00
Raymond Feng
1cf4338298
Rename jugglingdb to loopback-data
2013-07-16 11:52:21 -07:00
Raymond Feng
1059a7b863
Add renamed files
2013-07-16 11:05:38 -07:00
Raymond Feng
2f773115fe
rename asteroid to loopback
2013-07-16 11:02:06 -07:00
Raymond Feng
a35d2b7365
rename asteroid to loopback
2013-07-16 10:42:47 -07:00
Ritchie Martori
407a50f493
Fix model remoting issue.
2013-07-16 10:25:02 -07:00
Ritchie Martori
4be6ebceb7
Fix inheritance bug
2013-07-15 20:14:04 -07:00
Ritchie Martori
fbf0e35f1d
Remove updateAttribute as remote method
2013-07-15 19:45:27 -07:00
Ritchie Martori
49da6f4249
Fix login bug.
2013-07-15 18:22:33 -07:00
Ritchie Martori
aa8d1bb853
Added bcrypt for password hashing
2013-07-15 14:07:17 -07:00
Ritchie Martori
3f7e4b693a
Refactor Model into class. Make createModel() just sugar.
2013-07-15 11:32:00 -07:00
Ritchie Martori
d9b5daba0e
Validate uniqueness and format of User email.
2013-07-12 17:03:13 -07:00
Ritchie Martori
16617a3737
Add user.logout() sugar method and update logout docs
2013-07-12 16:10:15 -07:00
Ritchie Martori
a09b527000
Create 64 byte session ids
2013-07-12 15:47:58 -07:00
Raymond Feng
e810213590
Experiment application model
2013-07-12 13:09:22 -07:00
Ritchie Martori
a22cf5f4af
Update docs and add asteroid.memory() sugar api
...
- added asteroid.memory()
- added default session and email models to user model
2013-07-12 12:40:36 -07:00
Raymond Feng
83ca45e07e
Add exports to models
2013-07-09 15:06:42 -07:00
Raymond Feng
b4391e6b26
Updating models
2013-07-08 16:59:11 -07:00
Ritchie Martori
fc0777de08
Add basic email verification
2013-07-03 13:40:14 -07:00
Ritchie Martori
8387a68b85
Initial users
2013-07-03 13:40:13 -07:00
Ritchie Martori
5f16585270
Add default user properties
2013-07-03 13:40:13 -07:00
Ritchie Martori
1abe583029
Add initial User model
2013-07-03 13:40:13 -07:00