Commit Graph

571 Commits

Author SHA1 Message Date
Ritchie Martori 2090959bfc Merge branch 'master' of https://github.com/strongloop/loopback 2013-11-20 14:19:00 -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
Miroslav Bajtos 984b728cdf Add jshint configuration.
Disable "undef" rule because unit-tests are referencing global variables
defined in test/support.js, which jshint cannot pick up.
2013-11-20 09:20:10 +01:00
Rand McKinney ada52cf138 Update rest.md
Add top level title.
2013-11-19 17:45:01 -08:00
Rand McKinney 65b860cfa5 Update api.md
Fix links to APIs so they work in generated docs.
2013-11-19 17:44:28 -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 Bajtoš e3a15ccb38 Merge pull request #70 from strongloop/feature/return-standard-error-for-unkown-url
Add loopback.urlNotFound() middleware.
2013-11-19 11:39:28 -08:00
Rand McKinney dcbabdec6d Update api.md
Add rest.md to list
2013-11-19 11:35:11 -08:00
Rand McKinney 5879da4981 Update docs.json
Added api.md to docs to provide TOC at top of APIs.
2013-11-19 11:33:56 -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
Rand McKinney 94f232172d Update rest.md
Removed content other than "Generated REST API" and rejiggered headings.
2013-11-19 11:02:12 -08:00
Rand McKinney 3991768f67 Update api.md
All content has been put into the api-*.md files; replaced with links to them.
2013-11-19 10:45:02 -08:00
Rand McKinney 31b17ab413 Update docs.json
Removed non-API documents
2013-11-19 10:42:35 -08:00
Rand McKinney cb36fc59eb Create api-model-remote.md 2013-11-19 10:35:08 -08:00
Rand McKinney 439ad9742b Create api-model.md 2013-11-19 10:34:32 -08:00
Rand McKinney ffeca4e66e Create api-geopoint.md 2013-11-19 10:33:19 -08:00
Rand McKinney 28e00e6630 Create api-datasource.md 2013-11-19 10:32:17 -08:00
Rand McKinney dd60380f4f Create api-app.md 2013-11-19 10:31:41 -08:00
Ritchie Martori cb39ae7adb Debugging odd defineFK behavior 2013-11-19 10:29:02 -08:00
Ritchie Martori 9e09b39107 Merge pull request #68 from strongloop/public-flag
Add public flag checking
2013-11-19 08:16:17 -08:00
Raymond Feng c614d55a67 Update the doc link 2013-11-18 21:08:40 -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
Ritchie Martori 9eb44bdb59 Merge tag 'v1.3.0'
1.3.0
2013-11-18 11:37:58 -08:00
Ritchie Martori 05a691051e Merge branch 'release/1.3.0' into production 2013-11-18 11:37:04 -08:00
Ritchie Martori 18f99985e5 Merge pull request #67 from strongloop/fix-breaking-user-verify
Upgrade nodemailer
2013-11-18 11:34:55 -08:00
Ritchie Martori 3b697e796d Upgrade nodemailer 2013-11-18 10:50:57 -08:00
Ritchie Martori 5373cb1ac7 Bump minor version 2013-11-18 10:33:14 -08:00
Raymond Feng 5da4885cd8 Add LoopBack forum link 2013-11-18 10:03:54 -08:00
Raymond Feng 878a3c6879 Remove blanket 2013-11-15 13:58:36 -08:00
Raymond Feng a7a098d5c3 Merge pull request #66 from strongloop/model-builder
Switch to modelBuilder
2013-11-15 13:32:08 -08:00
Raymond Feng 9fddbc3834 Switch to modelBuilder 2013-11-15 11:16:20 -08:00
Raymond Feng f2bfd1b6e4 Merge pull request #65 from strongloop/acl
Add LDL support for ACLs
2013-11-15 11:10:09 -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 965ff4e350 Merge pull request #61 from strongloop/acl
Start to add ACL related models to LoopBack
2013-11-14 21:20:52 -08:00
Raymond Feng 9bc762c09c Update dependencies 2013-11-14 21:19:57 -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