Ritchie Martori
500703e1fb
Remove coercion from port check
2014-02-18 16:54:40 -08:00
Ritchie Martori
edd16b9ce8
Merge pull request #193 from globocom/clear-handler-cache2
...
Clear handler cache
2014-02-18 14:24:23 -08:00
Guilherme Cirne
b466bb96c8
The simplest possible solution for clearing the handler cache when registering a model.
2014-02-18 17:40:35 -03:00
Ritchie Martori
a313d1d140
Remove outdated test readme
2014-02-18 10:37:43 -08:00
Raymond Feng
d8c43bc872
Merge pull request #180 from strongloop/feature/dual-license
...
Dual license: MIT + StrongLoop
2014-02-17 16:36:06 -08:00
Alberto Leal
6eecaa78a3
Remove unnecessary lines
2014-02-17 14:05:04 -03:00
Raymond Feng
d14fb62d08
Update the license text
2014-02-14 11:53:17 -08:00
Raymond Feng
e56574fd13
Merge pull request #181 from strongloop/feature/user-token-rel
...
Make sure User/AccessToken relations are set up by default
2014-02-14 11:36:17 -08:00
Raymond Feng
46b579dc4a
Make sure User/AccessToken relations are set up by default
...
User.login assumes the relation User.accessTokens exists
2014-02-14 10:31:30 -08:00
Ritchie Martori
bade487616
Remove unused karma packages
2014-02-12 11:52:37 -08:00
Ritchie Martori
e39020aead
Merge package.json
2014-02-12 11:50:42 -08:00
Raymond Feng
1dc4a3fa25
Merge tag 'v1.6.2'
...
1.6.2
2014-02-12 11:38:13 -08:00
Raymond Feng
ec3535e550
Merge branch 'release/1.6.2' into production
2014-02-12 11:35:41 -08:00
Raymond Feng
6e4a10bd94
Bump version and update deps
2014-02-12 11:31:26 -08:00
Ritchie Martori
e7f64a3abf
Add karma for running browser tests
2014-02-12 10:17:02 -08:00
Raymond Feng
338f22a48b
Merge pull request #176 from pandaiolo/master
...
Documentation (generated) fix
Thank you for the patch.
2014-02-11 10:28:51 -08:00
Aurelien Chivot
c216ba03c1
Documentation (generated) fix
2014-02-11 19:14:04 +01:00
Raymond Feng
29ff733da7
Dual license: MIT + StrongLoop
2014-02-10 16:15:02 -08:00
Raymond Feng
fe851fde4c
Merge pull request #173 from strongloop/feature/fix-accesstoken-id
...
Use hex encoding for application ids/keys
2014-02-07 19:29:05 -08:00
Raymond Feng
618b563c6e
Use hex encoding for application ids/keys
...
base64 encoded ids/keys are not friendly for urls
2014-02-07 11:14:01 -08:00
Miroslav Bajtoš
a506ced005
Merge pull request #170 from strongloop/feature/add-app-isAuthEnabled
...
Add app.isAuthEnabled.
2014-02-05 19:33:17 +01:00
Miroslav Bajtoš
38f4748021
Add app.isAuthEnabled.
...
The flag is set by `app.enableAuth` and can be used to detect
whether the access control is enabled.
2014-02-05 18:46:22 +01:00
Miroslav Bajtoš
d2adda5f29
Merge pull request #168 from strongloop/feature/new-model-registry-per-app
...
Make app.models unique per app instance
2014-02-04 11:47:56 -08:00
Miroslav Bajtoš
b13ff35697
Make app.models unique per app instance
...
Remove a source of confusion in unit-tests.
2014-02-04 20:28:19 +01:00
Miroslav Bajtoš
4a076f13fd
Fix incorrect usage of `app` in app.test.js
...
The `beforeEach` hook was using a local `var app`, the test was
accessing global `app` created by `test/support.js`.
2014-02-04 20:27:14 +01:00
Raymond Feng
323d5f80b0
Merge pull request #166 from strongloop/feature/acl-subclass
...
Make sure the configured ACL submodel is used
2014-02-03 20:31:06 -08:00
Raymond Feng
592f3f9278
Make sure the configured ACL submodel is used
2014-02-03 16:00:01 -08:00
Miroslav Bajtoš
ff83cee913
Merge tag 'v1.6.1'
...
v1.6.1
2014-01-30 19:36:38 +01:00
Miroslav Bajtoš
bdaaa7cb44
Merge branch 'release/1.6.1' into production
2014-01-30 19:35:46 +01:00
Miroslav Bajtoš
dc3583123f
v1.6.1
2014-01-30 19:35:05 +01:00
Miroslav Bajtoš
c36e20587e
Merge pull request #163 from strongloop/feature/include-user-in-login-result
...
Include user in login result
2014-01-30 10:24:14 -08:00
Raymond Feng
c711b99b8a
Merge pull request #154 from strongloop/feature/debug-login-error
...
Add debug information for user.login
2014-01-30 10:13:26 -08:00
Miroslav Bajtoš
d6f0b5f5a6
Add `include=user` param to `User.login`
...
Allow LB clients to get details of the currently logged-in user
as part of the login response.
Improve method's `description` to mention this new option.
2014-01-30 18:09:54 +01:00
Miroslav Bajtoš
03cb2f0556
Describe `access_token` param of `User.logout`
...
Add an explicit note that clients are not supposed to send the
`access_token` parameter, since it is extracted from request
headers.
2014-01-30 18:09:54 +01:00
Raymond Feng
6177aa2775
Merge pull request #164 from strongloop/feature/fix-accesstoken-id
...
Remove the generated flag for access token id
2014-01-30 09:09:02 -08:00
Raymond Feng
57796a41cd
Remove the generated flag for access token id
...
The generated flag is used to indicate if the id is automatically generated
by the backend store. If it's set, the data type will be updated when the
model is attached to a datasource.
The AccessToken model defines a string id, which is set in the beforeCreate
hook. So it's client provided id.
2014-01-30 09:02:12 -08:00
Raymond Feng
938cafeb77
Remove message prefix as debug will print it
2014-01-27 14:47:48 -08:00
Raymond Feng
c35f762d4e
Add debug information for user.login
2014-01-27 14:31:38 -08:00
Miroslav Bajtoš
0779d07fe2
Merge tag 'v1.6.0'
...
v1.6.0
2014-01-27 10:46:49 +01:00
Miroslav Bajtoš
eb35572550
Merge branch 'release/1.6.0' into production
2014-01-27 10:46:31 +01:00
Miroslav Bajtoš
a02f44a270
v1.6.0
2014-01-27 10:45:49 +01:00
Miroslav Bajtoš
fa0f402cb2
Merge pull request #151 from strongloop/feature/improve-remoting-metadata
...
Improve remoting metadata: register exported models using singular names
2014-01-27 01:38:42 -08:00
Miroslav Bajtoš
4699219b70
Update dependencies
...
strong-remoting ~1.2.1
loopback-datasource-juggler ~1.2.13
2014-01-27 10:29:57 +01:00
Miroslav Bajtoš
20766e251a
Add loopback.compat to simplify upgrade to 1.6
...
Add a compatibility layer that allows applications based on LB pre-v1.6
to work with 1.6 versions with a minimum amount of changes required.
New flag(s):
compat.usePluralNamesForRemoting
2014-01-27 10:29:57 +01:00
Miroslav Bajtoš
8bb8861ba1
Register exported models using singular names
...
Remove the inconsistency between model names used by LoopBack app and
datasource-juggler (modelName, e.g. User) and the name used by
strong-remoting (pluralModelName, e.g. Users).
This way the class name in the strong-remoting metadata can be used
by client-code generators. Before this change, the generators would
produce method names like `Users.login`.
2014-01-27 10:29:57 +01:00
Miroslav Bajtoš
54bff35fef
User: use User.http.path
...
Use the new property introduced by a recent change in
loopback-datasource-juggler instead of building the URL
manually from pluralModelName.
2014-01-27 10:29:57 +01:00
Raymond Feng
7230890aa9
Merge tag 'v1.5.3'
...
1.5.3
2014-01-23 15:55:20 -08:00
Raymond Feng
c277be78fc
Merge branch 'release/1.5.3' into production
2014-01-23 15:55:12 -08:00
Raymond Feng
4f72737b95
Bump version
2014-01-23 15:51:21 -08:00
Raymond Feng
554f62895b
Merge pull request #150 from strongloop/feature/fix-auto-attach
...
Prevent autoAttach from overriding existing data source
2014-01-23 15:50:39 -08:00