Raymond Feng
78550a9bc5
Pass options from User.login to createAccessToken
...
It will allow subclass of User to create access token based on additional
properties such as 'scope'.
2015-03-02 14:48:08 -08:00
Ron Edgecomb
1818a8fb34
Config option to disable legacy explorer routes
...
Setting legacyExplorer to false in the loopback config will disable
the routes /routes and /models made available in loopback.rest.
The deprecate module has been added to the project with a reference
added for the legacyExplorer option as it is no longer required by
loopback-explorer. Tests added to validate functionality of disabled
and enabled legacy explorer routes.
2015-03-02 14:12:18 -05:00
Miroslav Bajtoš
d24da8c37d
Merge pull request #1140 from strongloop/feature/guids-for-replicated-models
...
Guids for replicated models
2015-03-02 18:23:06 +01:00
Miroslav Bajtoš
f21b29e34a
test: setup GUID for all models tracking changes
...
Fix all test models that are tracking changes so that they have
a generated unique string id.
Make model names unique where possible to prevent tests reusing
the same model which causes unintented side effects.
2015-03-02 18:16:18 +01:00
Miroslav Bajtoš
610767b6c8
Change tracking requires a string id set to GUID
...
Print a deprecation warning when a persisted model is tracking changes
but does not have a client-generated unique string id property (GUID).
2015-03-02 18:16:18 +01:00
Raymond Feng
19a3fe64e4
2.13.0
...
* Add a workaround to avoid conflicts with NewRelic (Raymond Feng)
* Fix "User.confirm" to always call afterRemote hook (Pradnya Baviskar)
* Skip hashing password if it's already hashed (Raymond Feng)
* travis.yml: drop 0.11, add 0.12 and iojs (Miroslav Bajtoš)
* Add docs for settings per #1069 (crandmck)
* Fix change detection & tracking (Miroslav Bajtoš)
* Minor doc fix (Ritchie Martori)
* Upgrade jscs to ~1.11 via grunt-jscs ^1.5 (Miroslav Bajtoš)
* Remove redundant dev-dep serve-favicon (Miroslav Bajtoš)
* Fix test broken by recent juggler changes (Miroslav Bajtoš)
* Fix coding style issue (Raymond Feng)
* Remove trailing spaces (Raymond Feng)
* Fix for issue 1099. (zane)
* Fix API docs per #1041 (crandmck)
* Fix API docs to add proper callback doc per #1041 (crandmck)
* Fix #1080 - domain memory leak. (Samuel Reed)
* Document user settings (Ritchie Martori)
* Add wiki references to readme (Simon Ho)
2015-02-25 10:24:31 -08:00
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