Commit Graph

1463 Commits

Author SHA1 Message Date
Miroslav Bajtoš c0bea0bd3a Merge pull request #1113 from strongloop/fix/remove-redundant-deps
Remove redundant dev-dep serve-favicon
2015-02-20 13:40:34 +01:00
Miroslav Bajtoš 921759838d Remove redundant dev-dep serve-favicon
`serve-favicon` is already a regular dependency.
2015-02-20 13:28:35 +01:00
Miroslav Bajtoš d6761be40c Merge pull request #1112 from strongloop/fix/failing-test
Fix test broken by recent juggler changes
2015-02-20 13:23:38 +01:00
Miroslav Bajtoš c925e669f7 Fix test broken by recent juggler changes
The patch strongloop/loopback-datasource-juggler#436 changed the way
how `Model.extend` works, which broke one loopback test relying on the
old behaviour.

This commit fixes the failing test. The test is checking now that
the model base was not changed, instead of checking that the base
is undefined.
2015-02-20 13:08:39 +01:00
Raymond Feng a19f39396f Fix coding style issue 2015-02-18 15:25:46 -08:00
Raymond Feng 4afcfaa32f Merge pull request #1102 from zanemcca/fix/issue1099
Fix for issue 1099.
2015-02-18 09:21:10 -08:00
Raymond Feng e9dd12ab95 Merge pull request #1104 from strongloop/feature/remove-trailing-spaces
Remove trailing spaces
2015-02-18 09:14:15 -08:00
Raymond Feng fb88d98870 Remove trailing spaces 2015-02-18 09:13:47 -08:00
zane 39560b9ce6 Fix for issue 1099.
Signed-off-by: zane <zane.mccaig@mail.mcgill.ca>
2015-02-18 11:05:53 -04:00
crandmck ea35a2f48d Fix API docs per #1041 2015-02-10 15:18:34 -08:00
crandmck 538e9f0c62 Fix API docs to add proper callback doc per #1041 2015-02-10 15:13:55 -08:00
Raymond Feng 9816999864 Merge pull request #1083 from STRML/fixDomainLeak
Fix #1080 - domain memory leak.
2015-02-09 17:37:42 -08:00
Samuel Reed 42431d6e1e Fix #1080 - domain memory leak.
Domains are created per request rather than creating a single
domain for all requests. This kills the memory leak, as a single
domain would keep a reference to every single req and res, causing
rapid heap growth.
2015-02-10 08:28:20 +07:00
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