Commit Graph

1392 Commits

Author SHA1 Message Date
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
Raymond Feng ed0b568542 Fix the test for mocha 1.19.0
See 6c705cd4d4
2014-05-26 21:52:48 -07:00
Raymond Feng 0b315964d3 Update dependencies 2014-05-26 21:52:48 -07:00
Rand McKinney 1ebeca66f2 Added more keywords 2014-05-23 17:48:37 -07:00
Raymond Feng 1b79eff582 Update README and the module diagram 2014-05-23 13:34:50 -07:00
Rand McKinney bc8678a1ff added "REST API" keyword 2014-05-23 09:57:25 -07:00
Rand McKinney d26905506c added 'web' and 'framework' keywords 2014-05-23 09:56:27 -07:00
Rand McKinney f3001ef95e Make image URL absolute for npmjs.org. 2014-05-22 11:58:27 -07:00
Miroslav Bajtoš b00271e6e2 Merge pull request #271 from strongloop/fix/dep-syntax
Use common syntax for juggler dep
2014-05-22 08:30:56 +02:00
Ritchie Martori 5ea3b1ee87 Use common syntax for juggler dep 2014-05-21 13:43:20 -07:00
Miroslav Bajtoš 570cc000cc Merge pull request #263 from strongloop/feature/include-token-in-rest-middleware-alt
Modify `loopback.rest` to include `loopback.token`
2014-05-21 20:03:10 +02:00
Miroslav Bajtoš bfb154d445 Modify `loopback.rest` to include `loopback.token`
Make `loopback.rest` self-contained, so that authentication works
out of the box.

    var app = loopback();
    app.enableAuth();
    app.use(loopback.rest());

Note that cookie parsing middleware is not added, users have to
explicitly configure that if they want to store access tokens
in cookies.

Modify `loopback.token` to skip token lookup when the request already
contains `accessToken` property. This is in line with other
connect-based middleware like `cookieParser` or `json`.
2014-05-21 15:22:36 +02:00
Ritchie Martori 7a7f868bf8 Add RC version 2014-05-20 15:21:52 -07:00
Ritchie Martori 81d29875be 1.8.3 2014-05-20 15:03:29 -07:00
Ritchie Martori ec2e877a63 Merge pull request #267 from strongloop/fix/validation-test
Relax validation object test
2014-05-20 14:46:58 -07:00
Ritchie Martori 4c5a29f0a4 Merge pull request #266 from strongloop/fix/juggler-version
Make juggler version a bit more strict
2014-05-20 14:46:46 -07:00
Ritchie Martori 7eeed19bf0 Relax validation object test 2014-05-20 14:39:28 -07:00
Ritchie Martori d237ae5ddb Merge latest from master 2014-05-20 14:31:09 -07:00
Ritchie Martori 198e52feeb Make juggler version a bit more strict to avoid pulling in breaking changes 2014-05-20 14:10:49 -07:00
Ritchie Martori 0c925f7cea Depend on juggler@1.6.0 2014-05-20 14:08:30 -07:00
Ritchie Martori 1a8ba602cc !fixup Mark DAO methods as delegate
Allow juggler to mix in these methods.
2014-05-20 13:45:47 -07:00
Ritchie Martori 77bd77e625 Ensure changes are created in sync 2014-05-20 12:46:43 -07:00
Ritchie Martori 52eb72d94f Remove un-rectify-able changes 2014-05-20 12:14:51 -07:00
Raymond Feng 94875fdd3c Merge pull request #244 from strongloop/feature/cla
Add CLA
2014-05-20 10:06:50 -07:00
Ritchie Martori 2de33d4da5 Rework change conflict detection 2014-05-19 19:54:55 -07:00
Ritchie Martori eec7bdd5f4 - Use the RemoteObjects class to find remote objects instead of
creating a cache
 - Use the SharedClass class to build the remote connector
 - Change default base model from Model to DataModel
 - Fix DataModel errors not logging correct method names
 - Use the strong-remoting 1.4 resolver API to resolve dynamic remote
methods (relation api)
 - Remove use of fn object for storing remoting meta data
2014-05-19 15:56:26 -07:00
Rand McKinney 473eadbc94 Change module diagram to local png 2014-05-19 14:16:31 -07:00
crandmck 41f0b24f47 Add LoopBack modules diagram 2014-05-19 14:10:37 -07:00
sumitha 486860c552 Update README.md 2014-05-19 13:19:12 -07:00
sumitha a8813a6e1a Update README.md 2014-05-19 13:16:35 -07:00
Al Tsang 468a35c060 Update README.md
added back pixel parameter
2014-05-18 22:35:15 -07:00
Al Tsang 8ccece15c9 Update README.md
pointed so sl-beacon.appspot.com directly instead of beacon.strongloop.com
2014-05-18 22:33:25 -07:00
altsang e18a6a3acd added github prefix to path 2014-05-18 22:22:44 -07:00
altsang 5859582dd9 removed githalytics, added sl-beacon 2014-05-18 21:54:25 -07:00
Ritchie Martori 558ea60da0 In progress: rework remoting meta-data 2014-05-16 12:32:54 -07:00
Miroslav Bajtoš a7d132f992 Merge tag 'v1.8.2'
v1.8.2
2014-05-16 20:15:03 +02:00
Miroslav Bajtoš 8a924c3e73 Merge branch 'release/1.8.2' into production 2014-05-16 20:11:08 +02:00
Miroslav Bajtoš b24d5e9d20 1.8.2 2014-05-16 20:10:29 +02:00
Miroslav Bajtoš 0da9faf981 Merge pull request #258 from strongloop/feature/relax-juggler-dependency
Support all 1.x versions of datasource-juggler
2014-05-16 19:23:24 +02:00
Ritchie Martori 4d5e7884c2 Add test for conflicts where both deleted 2014-05-16 09:58:23 -07:00
Miroslav Bajtoš 2d1ccc73e6 Merge pull request #264 from strongloop/feature/fix-precision-in-tests-for-v0-11
relax too precise assertions in test/geo-point
2014-05-16 16:31:52 +02:00
Miroslav Bajtoš 4b3d20e409 test/geo-point: relax too precise assertions
Relax the assertions to verify only the integer part of the distances.
The decimal part is subject to small variances depending on the exact
implementation of floating-point arithmetic.

For example, the distance calculated on Node v0.11.13 is different
than the distance calculated on Node v0.10.x.
2014-05-16 16:24:18 +02:00
Raymond Feng 691c152387 Merge pull request #261 from adamschwartz/master
Fix typo "Unkown" => "Unknown"
2014-05-15 20:33:30 -07:00
Adam Schwartz 7c00119292 Fix typo "Unkown" => "Unknown" 2014-05-15 23:32:12 -04:00
Ritchie Martori d58df51540 Merge branch 'feature/replication' of github.com:strongloop/loopback into feature/replication 2014-05-15 17:31:16 -07:00
Ritchie Martori 2f21f4ec1e Rework replication test 2014-05-15 17:30:58 -07:00