Commit Graph

707 Commits

Author SHA1 Message Date
Ritchie Martori 4c185e5453 Support host / port in Remote connector 2014-03-27 14:47:30 -07:00
Ritchie Martori ac2206d257 Throw useful errors in DataModel stub methods 2014-03-27 14:47:29 -07:00
Ritchie Martori 64b374907a Move proxy creation from remote connector into base model class 2014-03-27 14:47:29 -07:00
Ritchie Martori 0632f52411 Remove reload method body 2014-03-27 14:47:29 -07:00
Ritchie Martori dcdbef861e Add Remote connector 2014-03-27 14:47:29 -07:00
Ritchie Martori ef7b724375 Initial client-server example 2014-03-27 14:47:29 -07:00
Miroslav Bajtoš 6adb6ca8a2 Merge pull request #220 from strongloop/feature/add-test-for-include-hasManyThrough
test: add hasAndBelongsToMany integration test
2014-03-25 11:53:17 -07:00
Miroslav Bajtoš b1679803d9 test: add hasAndBelongsToMany integration test
* it allows to find related object via URL scope
  GET /api/categories/{cat-id}/products

* it allows to find related objects via where filter
  GET /api/products?filter[where][categoryId]={cat-id}
  (skipped for now)

* it includes requested related models in `find`
  GET /api/categories/findOne
      ?filter[where][id]=CAT-ID&filter[include]=products

* it includes requested related models in `findById`
  GET /api/categories/{cat-id}?include=products
  (skipped for now)
2014-03-25 19:38:15 +01:00
Ritchie Martori 4667a6884e Merge pull request #216 from strongloop/fix/verification-token-url-safety
Make verifications url safe
2014-03-24 10:29:58 -07:00
Doug Toppin e52dbe2fb5 fix to enable ACL for confirm link sent by email 2014-03-23 21:06:22 -04:00
Ritchie Martori 5b50a99eb3 Add hidden property support to models 2014-03-21 12:53:04 -07:00
Ritchie Martori c521b3c386 Allow app.model() to accept a DataSource instance 2014-03-21 12:18:00 -07:00
Ritchie Martori de5d0b8949 Make verifications url safe 2014-03-21 12:02:11 -07:00
Rand McKinney d6a1270d87 Try to fix org.pegdown.ParsingTimeoutException 2014-03-20 16:35:42 -07:00
Raymond Feng 3ee0ff5af5 Merge tag 'v1.7.2'
1.7.2
2014-03-19 17:18:17 -07:00
Raymond Feng 33088582ed Merge branch 'release/1.7.2' into production 2014-03-19 17:18:03 -07:00
Raymond Feng b9f8c03d84 Bump version 2014-03-19 17:02:42 -07:00
Raymond Feng 44a39afa14 Merge pull request #214 from strongloop/feature/fix-acl-order
Improve the ACL matching algorithm
2014-03-19 17:01:55 -07:00
Raymond Feng aaaa28d569 Add more comments 2014-03-19 16:24:50 -07:00
Raymond Feng 328a72ac91 Improve the ACL matching algorithm
See https://github.com/strongloop/loopback-example-access-control/issues/8
2014-03-19 15:09:20 -07:00
Miroslav Bajtoš 1512ef4561 Merge tag 'v1.7.1'
v1.7.1
2014-03-18 18:16:00 +01:00
Miroslav Bajtoš 5a97ceafa8 Merge branch 'release/1.7.1' into production 2014-03-18 18:15:55 +01:00
Miroslav Bajtoš 2c510a7b2e v1.7.1 2014-03-18 18:15:24 +01:00
Raymond Feng eaa49555a9 Merge pull request #212 from strongloop/feature/req-pause
Pause the req before checking access
2014-03-18 08:36:48 -07:00
Miroslav Bajtoš 1aaf6eed35 Add test for request pausing during authentication 2014-03-18 08:43:24 +01:00
Raymond Feng 32a9131004 Pause the req before checking access
See https://github.com/strongloop/loopback-storage-service/issues/7
2014-03-17 14:40:05 -07:00
Raymond Feng f031e79392 Remove the generated flag as the id is set by the before hook 2014-03-17 10:01:29 -07:00
crandmck c80b334130 Improvements to JSDoc comments 2014-03-14 10:28:31 -07:00
crandmck 9fb3f3313a Fixes to JSDoc for API docs 2014-03-13 17:25:21 -07:00
Raymond Feng 533daf4040 Remove oauth2 models as they will be packaged in a separate module 2014-03-11 22:37:54 -07:00
Rand McKinney 536d377a97 Update api-model.md
Correct 'where' clause in findOne() method.
2014-03-11 09:21:01 -07:00
Ritchie Martori 57ff242308 Minor doc fix 2014-03-10 18:05:44 -07:00
Raymond Feng 3a26c5fa99 Merge pull request #202 from strongloop/feature/lb-issue-118
Set the correct status code for User.login
2014-02-28 14:20:06 -08:00
Raymond Feng 89aa3595f5 Set the correct status code for User.login
See https://github.com/strongloop/loopback/issues/118
2014-02-28 13:19:52 -08:00
Doug Toppin 42c9777de3 using base64 caused an occasional token string to contain '+' which resulted in a space being embedded in the token. 'hex' should always produce a url safe string for the token. 2014-02-25 22:14:32 -05:00
Doug Toppin 2f301e315a Sending email was missing the from field 2014-02-23 21:08:13 -05:00
Raymond Feng 9c13c07da2 Merge tag 'v1.7.0'
1.7.0
2014-02-21 11:05:00 -08:00
Raymond Feng 7332b3deb9 Merge branch 'release/1.7.0' into production 2014-02-21 11:04:52 -08:00
Raymond Feng b5f461c1c1 Bump version to 1.7.0 2014-02-21 11:03:51 -08:00
Raymond Feng dcb69233d5 Update deps 2014-02-21 11:02:53 -08:00
Ritchie Martori 4e437586ed Merge pull request #192 from strongloop/fix/port-zero
Remove coercion from port check
2014-02-21 10:08:27 -08:00
Miroslav Bajtoš fe6ac0bebf Merge pull request #195 from globocom/fix-clear-handler-cache-test
Rewrites test for clear handler cache.
2014-02-21 18:51:55 +01:00
Raymond Feng 8a0f7cf412 Bump version and update deps 2014-02-21 09:27:50 -08:00
Raymond Feng 4a0c564c68 Merge pull request #196 from strongloop/feature/remoting-options
Allows options to be passed to strong-remoting
2014-02-21 09:10:37 -08:00
Raymond Feng 1717729efc Merge pull request #186 from albertoleal/RemoveUnnecessaryLines
Remove unnecessary lines
2014-02-21 09:06:11 -08:00
Guilherme Cirne f43273e5d7 Rewrite test for clear handler cache. 2014-02-20 14:39:57 -03:00
Raymond Feng 37646fa008 Allows options to be passed to strong-remoting 2014-02-19 15:14:31 -08:00
Ryan Graham 088c2e2296 Merge fixup 2014-02-19 14:11:16 -08:00
Ritchie Martori 138821cf8b Merge package.json and lib/loopback.js 2014-02-19 11:44:44 -08:00
Ritchie Martori 500703e1fb Remove coercion from port check 2014-02-18 16:54:40 -08:00