Commit Graph

553 Commits

Author SHA1 Message Date
Ritchie Martori 92eaa383f3 Fix incorrect transports 2014-01-13 19:04:21 -08:00
Ritchie Martori 45e5641055 Merge pull request #130 from strongloop/fix/mail-transports
Fix/mail transports
2014-01-13 18:36:42 -08:00
Miroslav Bajtoš 809411c103 Speed up tests accessing User.password
Decrease User.settings.saltWorkFactor in order to speed up unit-tests.
2014-01-13 20:05:22 +01:00
Miroslav Bajtoš 8040f2dc60 Merge pull request #121 from strongloop/feature/validation-error-apidocs
Describe `loopback.ValidationError` in API docs.
2014-01-13 08:30:59 -08:00
Miroslav Bajtoš 7a996fbe0c Describe loopback.ValidationError in API docs. 2014-01-13 17:30:49 +01:00
Miroslav Bajtoš ed81bdb6b8 Implement app.installMiddleware
The implementation is mostly a copy of
    loopback-workspace/templates/app.js
2014-01-13 17:26:24 +01:00
Miroslav Bajtoš c461ac821e Merge pull request #124 from strongloop/feature/app-listen
Implement `app.listen`
2014-01-13 00:20:26 -08:00
Miroslav Bajtoš 914ac2dcc9 Implement `app.listen`
The method starts a http server on the host & port configured
in the app config.
2014-01-13 09:12:54 +01:00
Ritchie Martori 80b4482c31 Provide sane default for email connector transports 2014-01-10 10:45:26 -08:00
Ritchie Martori 27cbb9e032 Merge pull request #129 from strongloop/fix/missing-assert
Add missing assert in user model
2014-01-10 10:25:12 -08:00
Ritchie Martori 7e1810a1ad Add an empty transportsIndex to the mail connector by default 2014-01-10 10:18:21 -08:00
Ritchie Martori 6bb0ba2d95 Add missing assert in user model 2014-01-10 10:07:39 -08:00
Miroslav Bajtoš 8a469d1d28 Merge pull request #127 from strongloop/feature/fix-remoting-doc
docs: document remote method `description`
2014-01-09 23:04:38 -08:00
Miroslav Bajtoš 28e734676f docs: document remote method `description` 2014-01-09 16:22:58 +01:00
Raymond Feng f11436b263 Merge tag 'v1.4.2'
1.4.2
2014-01-07 15:33:28 -08:00
Raymond Feng 754fda9dec Merge branch 'release/1.4.2' into production 2014-01-07 15:33:17 -08:00
Raymond Feng 73a0014992 Bump version 2014-01-07 15:31:21 -08:00
Miroslav Bajtoš 9fd152f08e Merge pull request #123 from strongloop/feature/app-get-api-root
Add app.restApiRoot setting
2014-01-07 07:31:38 -08:00
Miroslav Bajtoš 92896a441c Add app.restApiRoot setting
Allow loopback users to configure API root via config file, instead of
editing app.js generated by loopback-workspace.

Allow loopback plugins to discover the path where the REST adapter is
mounted.
2014-01-07 16:05:48 +01:00
Miroslav Bajtoš 05dd7bc84b Merge remote-tracking branch 'origin/production' into production 2014-01-06 18:52:31 +01:00
Miroslav Bajtoš 6ea8ad20fd Merge pull request #119 from strongloop/feature/export-validation-error
Add ValidationError to loopback exports.
2014-01-06 09:52:12 -08:00
Rand McKinney c27ff42655 Fix links so they work on apidocs site. 2014-01-02 15:22:54 -08:00
Miroslav Bajtoš 78f514a003 Add ValidationError to loopback exports.
Simplify the construction of validation errors in user-land code:

    var error = new loopback.ValidationError(invalidModel);
2014-01-02 10:35:17 +01:00
Ritchie Martori a169c0f428 Add API docs to README 2013-12-31 12:14:25 -08:00
Ritchie Martori c5f2869dc3 1.4.1 2013-12-20 19:35:21 -08:00
Ritchie Martori 449f17d462 Explicitly depend on juggler@1.2.11 2013-12-20 19:33:15 -08:00
Ritchie Martori 0e617fb4bb Merge pull request #113 from strongloop/fix/relations-throw
integration tests for relations
2013-12-20 19:26:27 -08:00
Ritchie Martori 7b826e7c9e Add e2e tests for relations 2013-12-20 19:15:23 -08:00
Ritchie Martori ebe874188c Merge pull request #106 from strongloop/docs/jsdoc
Add reference documentation using sdocs
2013-12-20 18:59:57 -08:00
Ritchie Martori 029b012f98 Merge pull request #112 from strongloop/docs/destroyall
Fix destroyAll reference
2013-12-20 15:03:57 -08:00
Ritchie Martori 20e28e07e4 Fix destroyAll reference 2013-12-20 13:37:18 -08:00
Ritchie fcc4bba82d Add reference documentation using sdocs 2013-12-19 17:49:47 -08:00
Raymond Feng a47317de0d Update README for application model 2013-12-19 13:42:12 -08:00
Ritchie Martori 7c4737f397 1.4.0 2013-12-18 21:43:01 -08:00
Ritchie Martori 52f58b7bb6 Merge pull request #101 from strongloop/feature/load-boot-dir
app.boot() now loads the "boot" directory
2013-12-18 21:42:06 -08:00
Ritchie Martori 981bdd4c81 app.boot() now loads the "boot" directory 2013-12-18 21:41:41 -08:00
Ritchie Martori 16b790a93a Merge pull request #102 from strongloop/fix/user
Various Fixes and Behavioral Changes to the User Model
2013-12-18 21:34:30 -08:00
Raymond Feng 3652c1584a Merge pull request #105 from strongloop/feature/push-settings
Allow cert/key data to be shared by push/feedback
2013-12-18 12:34:00 -08:00
Raymond Feng 40cd71c4c6 Clean up the test case 2013-12-18 12:28:58 -08:00
Raymond Feng ac2f4de9d3 Remove the default values for gateway/port 2013-12-18 12:28:48 -08:00
Raymond Feng 598b1e6b61 Reformat the code using 2 space identation 2013-12-18 11:49:09 -08:00
Raymond Feng 95ad3e8c04 Allow cert/key data to be shared by push/feedback 2013-12-18 10:58:34 -08:00
Ritchie Martori 9f2651578b fixup - Include accessToken in user logout tests 2013-12-17 21:34:30 -08:00
Ritchie Martori 98ed38302a Logout now automatically pulls the accessToken from the request 2013-12-17 21:22:05 -08:00
Ritchie Martori 939df463fe Fix tests depending on old behavior of default User ACLs 2013-12-17 21:10:05 -08:00
Ritchie Martori 3152960336 Add default user ACLs 2013-12-17 20:42:28 -08:00
Miroslav Bajtoš 0557237fa7 Merge pull request #100 from strongloop/feature/simplify-gcm-settings
Define schema for GCM push-notification settings
2013-12-17 09:54:34 -08:00
Miroslav Bajtoš d09e3225cd Define schema for GCM push-notification settings
Remove unused property PushNotificationSettingSchema.platform.

Flatten GCM settings schema. There is no need to distinquish between
pushOptions and feedback, as there is only single HTTP channel shared
by both.
2013-12-17 18:44:13 +01:00
Ritchie Martori 09fbb8a850 Merge pull request #99 from strongloop/refactor/acl
Improve debug statements for access control
2013-12-16 20:10:41 -08:00
Ritchie Martori 0794f141c1 Improve debug statements for access control 2013-12-16 18:12:13 -08:00