Commit Graph

2050 Commits

Author SHA1 Message Date
Ritchie Martori 98678d5892 Merge pull request #1072 from strongloop/doc/user-settings
Document user settings
2015-02-05 18:03:28 -08:00
Simon Ho 3398c5ab60 Merge pull request #1063 from strongloop/feature/wiki-references
Add wiki references to readme
2015-02-04 20:34:24 -08:00
Ritchie Martori 4b6dcd6271 Document user settings 2015-02-04 14:09:01 -08:00
Simon Ho 1e64767183 Add wiki references to readme 2015-02-03 11:59:45 -08:00
Raymond Feng 107b9e5c82 Merge tag 'v2.12.1'
2.12.1

 * Map not found to 404 for hasOne (Raymond Feng)
2015-02-03 11:14:42 -08:00
Raymond Feng c899536002 Merge branch 'release/2.12.1' into production 2015-02-03 11:14:41 -08:00
Raymond Feng 8e8b620930 v2.12.1 2015-02-03 11:14:39 -08:00
Raymond Feng 045f601852 Merge pull request #1062 from strongloop/feature/fix-test-failure
Map not found to 404 for hasOne
2015-02-03 11:13:43 -08:00
Raymond Feng 4bf5970f9c Map not found to 404 for hasOne 2015-02-03 11:13:15 -08:00
Raymond Feng c7f1143f5b Merge tag 'v2.12.0'
2.12.0

 * Fix the test case (Raymond Feng)

 * Enable remoting for hasOne relations (Raymond Feng)

 * README: add Gitter badge (Miroslav Bajtoš)
2015-02-03 10:38:33 -08:00
Raymond Feng c3cc0a5d77 Merge branch 'release/2.12.0' into production 2015-02-03 10:38:31 -08:00
Raymond Feng 04670a85f8 v2.12.0 2015-02-03 10:38:29 -08:00
Raymond Feng a18fa176a8 Fix the test case 2015-01-30 08:52:45 -08:00
Raymond Feng cd995b72e2 Merge pull request #1057 from strongloop/feature/fix-hasone-remoting
Enable remoting for hasOne relations
2015-01-30 08:49:06 -08:00
Raymond Feng bbba49d99c Enable remoting for hasOne relations 2015-01-29 22:33:34 -08:00
Miroslav Bajtoš 5941901398 Merge pull request #1001 from strongloop/feature/add-gitter-badge-to-readme
README: add Gitter badge
2015-01-28 09:09:48 +01:00
Miroslav Bajtoš 3f00a327f9 README: add Gitter badge 2015-01-28 09:05:46 +01:00
Miroslav Bajtoš d081a92d93 Merge tag 'v2.11.0'
2.11.0

 * Document options for persistedmodel.save() (Rand McKinney)

 * Add test case to demonstrate url-encoded http path (Pradnya Baviskar)

 * Fix JSdocs per #888 (crandmck)

 * Add test case for loopback issue #698 (Pradnya Baviskar)

 * Remove usages of deprecated `req.param()` (Miroslav Bajtoš)

 * Add error code property to known error responses. (Ron Edgecomb)

 * test: use 127.0.0.1 instead of localhost (Ryan Graham)

 * Extend AccessToken to parse Basic auth headers (Ryan Graham)

 * tests: fix Bearer token test (Ryan Graham)

 * don't send queries to the DB when no changes are detected (bitmage)
2015-01-27 09:47:45 +01:00
Miroslav Bajtoš 4d54ad2d6c Merge branch 'release/2.11.0' into production 2015-01-27 09:47:43 +01:00
Miroslav Bajtoš 24ef5cd59e v2.11.0 2015-01-27 09:47:41 +01:00
Miroslav Bajtoš e4adbf8366 Merge pull request #1038 from strongloop/fix/remove-usage-of-deprecated-req.param
Remove usages of deprecated `req.param()`
2015-01-27 09:42:43 +01:00
Rand McKinney 68c0f1e15a Document options for persistedmodel.save() 2015-01-23 09:54:14 -08:00
Miroslav Bajtoš c82e735190 Merge pull request #1040 from PradnyaBaviskar/feature/url-encoded-path
Add test case to demonstrate url-encoded http path
2015-01-23 14:37:49 +01:00
Pradnya Baviskar b27b13071a Add test case to demonstrate url-encoded http path 2015-01-23 18:34:13 +05:30
crandmck fc31f37a83 Fix JSdocs per #888 2015-01-22 17:01:31 -08:00
Miroslav Bajtoš 8f8db5b69a Merge pull request #1039 from PradnyaBaviskar/issue698
Add test case for loopback issue #698

Close #1039
2015-01-22 18:41:14 +01:00
Pradnya Baviskar 7dcc2fcb1c Add test case for loopback issue #698
Verify that the following model options change the HTTP path
where the model is exposed:

    { http: { path: 'domain/mymodels' } }
2015-01-22 18:40:47 +01:00
Miroslav Bajtoš a77b3bbac7 Remove usages of deprecated `req.param()`
Express has recently deprecated `req.param()` to force developers
to be explicit about the source of the value. To avoid deprecation
warnings, this commit replaces all calls of `req.param()` with a
simplified inline version.
2015-01-21 19:27:53 +01:00
Miroslav Bajtoš a0d9bb1b18 Merge pull request #979 from greaterweb/feature/globalize-error-messages
Feature: Globalize error messages

Close #979
2015-01-21 19:07:11 +01:00
Ron Edgecomb a028d9d198 Add error code property to known error responses.
Enhance the error objects with a `code` property containing
a machine-readable string code describing the error, for example
INVALID_TOKEN or USER_NOT_FOUND.

Also improve 404 error messages to include the model name.
2015-01-21 19:04:47 +01:00
Ritchie Martori 0b0927b56b Merge pull request #992 from TorchlightSoftware/repl-optimize
don't send queries to the DB when no changes are detected
2015-01-19 09:32:17 -08:00
Ryan Graham 8fa04fd32f Merge pull request #1015 from strongloop/feature/rmg-basic-auth-support
Extend AccessToken to parse Basic auth headers
2015-01-16 10:52:02 -08:00
Raymond Feng 045e7e771b Merge tag 'v2.10.2'
2.10.2

 * Make sure EXECUTE access type matches READ or WRITE (Raymond Feng)
2015-01-16 10:33:42 -08:00
Raymond Feng 1204f38f58 Merge branch 'release/2.10.2' into production 2015-01-16 10:33:40 -08:00
Raymond Feng 41d9bbb7df v2.10.2 2015-01-16 10:33:39 -08:00
Raymond Feng 07dffe7473 Merge pull request #1014 from strongloop/feature/fix-issue-1011
Make sure EXECUTE access type matches READ or WRITE
2015-01-16 10:28:51 -08:00
Ryan Graham 389b8c0e83 test: use 127.0.0.1 instead of localhost
More portable for dual-stack environments where localhost may mean
::1, which is the IPv6 equivalent of 127.0.0.1, but not actually the
same.
2015-01-15 22:53:09 -08:00
Ryan Graham fbb091e3b3 Extend AccessToken to parse Basic auth headers
Allow convenient URLs for curl and browsers such as:
 - http://some-long-token@localhost:3000/
 - http://token:some-long-token@localhost:3000/

Basic Auth specifies a 'Basic' scheme for the Authorization header
similar to how OAuth specifies 'Bearer' as an auth scheme.

Following a similar convention, extract the access token from the
Authorization header when it specifies the 'Basic' scheme, assuming
it is the larger of the <user>:<pass> segments.
2015-01-15 22:53:09 -08:00
Ryan Graham 83d8844b70 tests: fix Bearer token test 2015-01-15 22:53:09 -08:00
Raymond Feng 55bc20ee0d Merge tag 'v2.10.1'
2.10.1

 * Optimize the creation of handlers for rest (Raymond Feng)

 * Add a link to gitter chat (Raymond Feng)

 * Added context middleware (Rand McKinney)

 * Use User.remoteMethod instead of loopbacks method This is needed for loopback-connector-remote authorization. Addresses https://github.com/strongloop/loopback/issues/622. (Berkeley Martinez)
2015-01-15 13:57:16 -08:00
Raymond Feng 14da0d8c53 Merge branch 'release/2.10.1' into production 2015-01-15 13:57:14 -08:00
Raymond Feng e4dc893383 v2.10.1 2015-01-15 13:57:13 -08:00
Raymond Feng 9d746eca69 Merge pull request #998 from strongloop/feature/improve-perf
Optimize the creation of handlers for rest
2015-01-15 13:52:35 -08:00
Raymond Feng 982e495632 Optimize the creation of handlers for rest 2015-01-15 09:03:22 -08:00
Raymond Feng 563a06fa7e Make sure EXECUTE access type matches READ or WRITE
See https://github.com/strongloop/loopback/issues/1011
2015-01-14 13:38:44 -08:00
Ritchie Martori e0e9d6ecff Merge pull request #943 from BerkeleyTrue/refactor/user-remote-method
Use User.remoteMethod instead of loopbacks method
2015-01-13 10:20:43 -08:00
Raymond Feng 27a6c16c73 Add a link to gitter chat 2015-01-13 10:19:53 -08:00
bitmage c28698c1ba don't send queries to the DB when no changes are detected 2015-01-10 11:28:55 -07:00
Rand McKinney 32ed60904c Added context middleware 2015-01-08 15:24:20 -08:00
Raymond Feng 8de3c31c9b Merge tag 'v2.10.0'
2.10.0

 * Revert the peer dep change to avoid npm complaints (Raymond Feng)

 * Update strong-remoting dep (Raymond Feng)

 * Allow accessType per remote method (Raymond Feng)

 * API and REST tests added to ensure complete and valid credentials are supplied for verified error message to be returned  - tests added as suggested and fail under previous version of User model  - strongloop/loopback#931 (Ron Edgecomb)

 * Require valid login credentials before verified email check.  - strongloop/loopback#931. (Ron Edgecomb)
2015-01-07 21:54:14 -08:00