Commit Graph

1693 Commits

Author SHA1 Message Date
Rand McKinney 31111207af Minor formatting fixes to make it play well in wiki 2013-11-27 15:10:03 -08:00
Ritchie Martori 2f9403016c Initial auth implementation 2013-11-22 12:26:59 -08:00
Al Tsang 3eb04f64c3 Merge pull request #76 from strongloop/feature/GAIntegration
added Google Analytics to README.md to test tracking
2013-11-22 08:43:20 -08:00
altsang d9e81ad104 added Google Analytics to README.md to test tracking 2013-11-21 17:54:48 -08:00
Rand McKinney 9542783254 Delete types.md
Content moved to wiki.
2013-11-21 15:19:01 -08:00
Rand McKinney 4cd0432e7f Delete resources.md
Obsolete.
2013-11-21 15:18:46 -08:00
Rand McKinney 9d64d15a55 Delete quickstart.md
Content moved to wiki.
2013-11-21 15:18:31 -08:00
Rand McKinney 901ef6d854 Delete js.md 2013-11-21 15:18:19 -08:00
Rand McKinney 17e919f4ba Delete java.md
Content moved to wiki.
2013-11-21 15:18:11 -08:00
Rand McKinney e58b304f85 Delete ios.md
Content moved to wiki.
2013-11-21 15:17:59 -08:00
Rand McKinney 593b467474 Delete gettingstarted.md
Content moved to wiki.
2013-11-21 15:17:45 -08:00
Rand McKinney 2cd281a8f8 Delete concepts.md
Content moved to wiki.
2013-11-21 15:17:28 -08:00
Rand McKinney 888d8d2ad5 Delete cli.md
Content moved to wiki.
2013-11-21 15:16:15 -08:00
Rand McKinney 68df900218 Delete bundled-models.md
Content moved to wiki.
2013-11-21 15:14:14 -08:00
Rand McKinney 4a0d3f2c73 Delete apiexplorer.md
Content moved to wiki.
2013-11-21 15:13:23 -08:00
Rand McKinney 392d95255f Delete intro.md
Content moved to wiki.
2013-11-21 15:13:00 -08:00
Miroslav Bajtoš 86809fa813 Merge pull request #72 from strongloop/feature/add-jshint-config
Add jshint configuration.
2013-11-21 11:02:54 -08:00
Miroslav Bajtos eaa31a4e3c Add .jshintignore
Ignored paths:
  node_modules
2013-11-21 19:49:35 +01:00
Miroslav Bajtoš dc57ff0c71 Merge pull request #75 from strongloop/feature/get-unknown-id-should-return-404
Add test for findById returning 404
2013-11-21 10:20:25 -08:00
Miroslav Bajtos cf541cb828 Add test for findById returning 404
The test verifies the remoting configuration of
loopback-datasource-juggler, ensuring that
`DataAccessObject.findById()` has `rest.before` handler
correctly set up.
2013-11-21 16:23:01 +01: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 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