Commit Graph

1677 Commits

Author SHA1 Message Date
Raymond Feng ce57fdd139 Merge pull request #1131 from strongloop/feature/workaround-new-relic
Add a workaround to avoid conflicts with NewRelic
2015-02-25 10:21:37 -08:00
Raymond Feng 9a0267e87a Add a workaround to avoid conflicts with NewRelic 2015-02-25 09:47:18 -08:00
Miroslav Bajtoš 3c43eccac7 Merge pull request #1120 from PradnyaBaviskar/lb-issue-416
Fix "User.confirm" to always call afterRemote hook

Close #1120
2015-02-25 14:26:07 +01:00
Pradnya Baviskar 8766d4a68d Fix "User.confirm" to always call afterRemote hook
Make the "redirect" parameter optional. When the parameter is not
specified, the server responds with an empty response (204). This allows
API clients to call the method without the need to handle redirects
and HTML responses.

Even when the "redirect" parameter is included, the builtin afterRemote
hook still calls next(), so that user-provided afterRemote hooks
are executed too.
2015-02-25 14:20:47 +01:00
Miroslav Bajtoš 3dc259b911 Merge pull request #1127 from strongloop/fix/travis-config
travis.yml: drop 0.11, add 0.12 and iojs
2015-02-25 13:46:30 +01:00
Raymond Feng 51d6548d98 Merge pull request #1132 from strongloop/feature/fix-user-perf
Skip hashing password if it's already hashed
2015-02-24 17:27:06 -08:00
Raymond Feng 13e618bff2 Skip hashing password if it's already hashed
See https://github.com/strongloop/loopback-datasource-juggler/issues/471
2015-02-24 16:36:51 -08:00
Miroslav Bajtoš 0de2dd4fb7 travis.yml: drop 0.11, add 0.12 and iojs 2015-02-24 08:25:13 +01:00
Miroslav Bajtoš 3d977f3e68 Merge pull request #1116 from strongloop/fix/change-detection
Fix change detection & tracking
2015-02-24 08:24:27 +01:00
crandmck a82b33ec5c Add docs for settings per #1069 2015-02-23 13:13:52 -08:00
Miroslav Bajtoš 702ecc6f72 Fix change detection & tracking
Add unit-tests to verify that all DAO methods correctly create change
records.

Rework the change detection to use the new operation hooks, this fixes
the bugs where operations like "updateOrCreate" did not update change
records.
2015-02-20 19:28:33 +01:00
Ritchie Martori c7bead4107 Minor doc fix 2015-02-20 09:16:09 -08:00
Miroslav Bajtoš 6276773c0b Merge pull request #1114 from strongloop/feature/upgrade-jscs
Upgrade jscs to ~1.11 via grunt-jscs ^1.5
2015-02-20 17:04:32 +01:00
Miroslav Bajtoš c2236c393b Upgrade jscs to ~1.11 via grunt-jscs ^1.5 2015-02-20 15:31:15 +01:00
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