Commit Graph

846 Commits

Author SHA1 Message Date
Raymond Feng 7769174d58 Tidy up app.model() to remove duplicate & recusrive call 2014-06-09 23:53:01 -07:00
Raymond Feng e7b1743185 Merge pull request #319 from strongloop/feature/fix-app-model
Register existing model to app.models during app.model()
2014-06-09 16:34:29 -07:00
Raymond Feng 815ad53aa4 Register existing model to app.models during app.model() 2014-06-09 16:31:33 -07:00
crandmck 6af69e322a JSDoc cleanup 2014-06-09 15:50:04 -07:00
crandmck cea2d30928 Merge branch 'master' of github.com:strongloop/loopback 2014-06-09 15:42:07 -07:00
crandmck 1694ee2d83 JSDoc cleanup 2014-06-09 15:36:08 -07:00
Raymond Feng 439aa883ec Bump version so that we can republish 2014-06-09 15:14:28 -07:00
Raymond Feng 9a31995c0f Merge tag 'v1.8.6'
1.8.6
2014-06-09 15:04:35 -07:00
Raymond Feng 093f3ed412 Merge branch 'release/1.8.6' into production 2014-06-09 15:04:19 -07:00
Raymond Feng 0595a76a93 Bump version 2014-06-09 15:02:40 -07:00
Raymond Feng 854402acba Merge pull request #314 from strongloop/feature/allow-custom-token-creation
Allow the creation of access token to be overriden
2014-06-09 15:01:15 -07:00
Raymond Feng a6ff4b0cad Use constructor to reference the model class 2014-06-09 15:00:15 -07:00
Raymond Feng 6b4ebdf609 Allow the creation of access token to be overriden 2014-06-09 14:53:55 -07:00
crandmck 1316676946 Fixup JSDocs; note: updateOrCreate function alias pulled out on separate line for docs 2014-06-06 17:17:37 -07:00
crandmck 35cf6753de Added middleware and API doc headings 2014-06-04 17:43:11 -07:00
crandmck d8c6f9d962 Update JSDoc 2014-06-04 17:42:18 -07:00
Rand McKinney c58ec57f39 Update docs.json
Removed access-context.js
2014-06-04 16:33:03 -07:00
Rand McKinney a953d10679 Removed old .md files from API docs
This content is now provided elsewhere.
2014-06-03 17:31:36 -07:00
Rand McKinney 6300887e2e Delete api-model.md
Most of this information is provided in JSDoc.  The remainder is in http://docs.strongloop.com/display/DOC/Model and will be moved to other articles ASAP.
2014-06-03 17:14:02 -07:00
Rand McKinney 6cfa5d0d7c Delete api-datasource.md
This is now covered in JSDoc.
2014-06-03 17:07:34 -07:00
Rand McKinney ab69ef5f6c Delete api-geopoint.md
This is now provided via JSDoc.
2014-06-03 16:57:59 -07:00
Ritchie Martori 0414d040ee 1.8.6 2014-06-03 15:40:16 -07:00
Ritchie Martori fe479804fe Merge pull request #298 from strongloop/fix/aliased-shared-methods
Fix/aliased shared methods
2014-06-03 15:39:29 -07:00
Rand McKinney 1d1de23203 Remove duplicate doc content
Duplicates http://docs.strongloop.com/display/DOC/Remote+methods+and+hooks.
Some of this belongs in JSDoc ultimately.
2014-06-03 15:34:28 -07:00
Rand McKinney 61fc2d7158 Add note about unavailable args to remote hooks. 2014-06-03 15:22:08 -07:00
Rand McKinney 78d1e3b966 Undo incorrect changes I made -- per Ritchie 2014-06-03 15:14:46 -07:00
Ritchie Martori ce6a85ee58 Update strong-remoting to 1.5 2014-06-03 14:54:27 -07:00
Rand McKinney 87c9672362 Remove "user" as arg to beforeRemote(..) 2014-06-03 13:47:29 -07:00
Ritchie Martori fea1cee1c4 !fixup only set ctx.accessType when sharedMethod is available 2014-06-02 14:41:08 -07:00
Ritchie Martori a2f931ed3f Refactor ACL to allow for `methodNames` / aliases 2014-06-02 14:41:08 -07:00
Raymond Feng 2fd3c834e6 Update README and the module diagram 2014-05-30 17:22:31 -07:00
Miroslav Bajtoš acf7af0c4e Merge pull request #287 from strongloop/feature/connector-registry
app: implement `connector()` and `connectors`
2014-05-28 17:01:24 +02:00
Miroslav Bajtoš 94ec5c294a app: implement `connector()` and `connectors`
Allow browserified applications to explicitly register connectors
to use in data-sources via `app.connector(name, exportsFromRequire)`.

Include built-in connectors like `Memory` and `Remote` in the registry.

Modify `dataSourcesFromConfig()` to resolve the connector via
`app.connectors` first and only then fall back to auto-require
the connector module.
2014-05-28 15:11:43 +02:00
Miroslav Bajtoš d0c87d3420 Merge pull request #285 from STRML/fixRestApiRootTypo
Fix a typo in `app.boot` caused by the change from restBasePath to restApiRoot.
2014-05-28 14:56:46 +02:00
Samuel Reed e625028486 Fix a typo in `app.boot`.
This typo was caused by the change from restBasePath to restApiRoot.

Signed-off-by: Samuel Reed <sam@tixelated.com>
2014-05-28 17:25:41 +08:00
Miroslav Bajtoš 7508337d56 Merge pull request #283 from strongloop/feature/single-datasource-registry-per-app-instance
Make app.datasources unique per app instance
2014-05-28 09:45:04 +02:00
Raymond Feng 411021269c Merge tag 'v1.8.5'
1.8.5
2014-05-27 11:00:03 -07:00
Raymond Feng 12f9695d13 Merge branch 'release/1.8.5' into production 2014-05-27 10:59:55 -07:00
Raymond Feng 5af3b2e9ae Bump version 2014-05-27 10:58:58 -07:00
Raymond Feng 815dbc94e6 Add postgresql to the keywords 2014-05-27 10:58:26 -07:00
altsang c952d4055a updated package.json with SOAP and framework keywords 2014-05-27 10:55:04 -07:00
Raymond Feng 80e5bf0ce6 updated package.json with keywords and updated description 2014-05-27 10:54:39 -07:00
Raymond Feng 1f40eef8d9 Merge tag 'v1.8.4'
1.8.4
2014-05-27 10:25:13 -07:00
Raymond Feng be0ca7e1ce Merge branch 'release/1.8.4' into production 2014-05-27 10:25:07 -07:00
Raymond Feng 68c79ba2df Add more keywords 2014-05-27 10:24:26 -07:00
Raymond Feng b971734791 Bump version 2014-05-27 10:22:27 -07:00
Miroslav Bajtoš 7cfe450161 Make app.datasources unique per app instance
This removes a source of confusion in unit-tests.
2014-05-27 14:33:42 +02:00
Miroslav Bajtoš 1154e3def8 Merge pull request #277 from strongloop/feature/flatten-models-json
app: flatten model config
2014-05-27 08:14:59 +02:00
Miroslav Bajtoš 227c2d05cd app: flatten model config
Support flat structure of model config objects, where model options
are set as top-level properties.

Before:

    Customer: {
      dataSource: 'db',
      options: {
        base: 'User'
      }
    }

Now:

    Customer: {
      dataSource: 'db',
      base: 'User'
    }
2014-05-27 08:10:20 +02:00
Raymond Feng 25250a03d1 Merge pull request #268 from strongloop/feature/update-deps
Feature/update deps
2014-05-26 21:53:45 -07:00