Commit Graph

68 Commits

Author SHA1 Message Date
Miroslav Bajtoš cb600d1470
3.16.2
* Fix "POST /change-password" for multi-user setup (Miroslav Bajtoš)
2017-10-30 09:03:15 +01:00
Raymond Feng 010c7bcd5f 3.16.1
* Fix createOnlyInstance for related methods (Raymond Feng)
2017-10-27 21:43:40 -07:00
Kevin Delisle 4d4070e542 3.16.0
* Fix "POST /reset-password" for multi-user setup (Miroslav Bajtoš)
 * test: extract helpers for logging HTTP errors (Miroslav Bajtoš)
 * CODEOWNERS: move @lehni to Alumni section (Miroslav Bajtoš)
2017-10-24 14:12:37 -04:00
Miroslav Bajtoš f30159cd23
3.15.0
* update strong-globalize to 3.1.0 (shimks)
 * Fix handling of user verification options (Miroslav Bajtoš)
 * Handle missing getUpdateOnlyProperties fn (Jürg Lehni)
 * test: fix too strict test assertion (Miroslav Bajtoš)
 * Fix typo (Siegfried Ehret)
2017-10-13 15:33:56 +02:00
Raymond Feng c9913927e5 3.14.0
* Allow declarative nestRemoting for relations (Raymond Feng)
2017-09-28 11:07:15 -07:00
Miroslav Bajtoš fcfaf7ef53
3.13.0
* Fix OWNER role to handle multiple relations (pierreclr)
 * Fix acl.resolvePermission for wildcard req (Farid Neshat)
 * CODEOWNERS: add zbarbuto (Miroslav Bajtoš)
2017-09-27 17:45:28 +02:00
Miroslav Bajtoš 4c4430ea95
3.12.0
* Fix relation race condition in model glob (Zak Barbuto)
 * CODEOWNERS: add lehni (Miroslav Bajtoš)
2017-09-25 15:58:47 +02:00
rashmihunt 6ba35c297b 3.11.1
* Handle missing getUpdateOnlyProperties fn (Kevin Delisle)
2017-08-23 09:17:57 -07:00
rashmihunt 29e89f50e5 3.11.0
* Support createOnlyInstance in model (#3548) (Rashmi Hunt)
 * Add stalebot configuration (Kevin Delisle)
 * Catch errors on invalidate update (loay)
 * Update Issue and PR Templates (#3568) (Sakib Hasan)
2017-08-22 17:17:24 -07:00
Miroslav Bajtoš b1adba1c4a
3.10.1
* fix(validatePassword): reword error message (Samuel Reed)
 * Do not add isStatic properties to method settings (Jürg Lehni)
2017-08-16 16:20:33 +02:00
Miroslav Bajtoš 5db00c6ab2
3.10.0
* Allow glob-style patterns for remote options (Zak Barbuto)
 * Fix case of values per doc issue (crandmck)
 * Update translated strings Q3 2017 (Allen Boone)
 * Revert "Validate on updateAll" (Sakib Hasan)
 * Add tests of HTTP normalization on app level (Jürg Lehni)
 * travis: drop Node.js 7.x, add 8.x (Miroslav Bajtoš)
 * Validate on updateAll (ssh24)
 * Update juggler version (loay)
 * update messages.json (Diana Lau)
 * small fix for the title (Michael Alaev)
 * Changed http to https (Michael Alaev)
 * Update Travis registry (loay)
 * Add unit test for empty password (loay)
 * Add CODEOWNER file (Diana Lau)
2017-08-14 17:45:31 +02:00
Miroslav Bajtoš 839c58639d
3.9.0
* Remove observers from Model on end of the stream (Alexei Smirnov)
 * Fix Model#settings.acls doc type signature (Farid Nouri Neshat)
 * Use `localhost` instead of `::` for local (Daijiro Wachi)
 * Fix API doc for Model class property type (Candy)
 * Update package.json (sqlwwx)
 * Support remoting adapters with no ctx.req object (Piero Maltese)
 * update strong-error-handler (sqlwwx)
2017-07-12 16:17:00 +02:00
Raymond Feng 9fb67315f9 3.8.0
* Refactor access token to make it extensible (Raymond Feng)
2017-05-02 11:16:34 -07:00
Miroslav Bajtoš 6a4bd6d09f
3.7.0
* Remote method /user/:id/verify (ebarault)
 * Implement more secure password flow (Miroslav Bajtoš)
 * Add User.setPassword(id, new, cb) (Miroslav Bajtoš)
 * Fix method setup in authorization-scopes.test (Miroslav Bajtoš)
 * Add missing tests for reset password flow (Miroslav Bajtoš)
 * forwarding context options in user.verify (ebarault)
 * update deprecated dependencies (Diana Lau)
 * Add support for scoped access tokens (Miroslav Bajtoš)
 * Fix user-literal rewrite for anonymous requests (Aaron Buchanan)
2017-04-27 13:19:17 +02:00
Miroslav Bajtoš 0499d09d6b
3.6.0
* Add new event "remoteMethodAdded" (Flavien DAVID)
 * Forward options in prepareForTokenInvalidation (Miroslav Bajtoš)
 * Check max password length in User.changePassword (Miroslav Bajtoš)
 * Add User.changePassword(id, old, new, cb) (Miroslav Bajtoš)
 * Propagate authorized roles in remoting context (ebarault)
 * Run the latest Node.js 7 version on Travis again (Miroslav Bajtoš)
 * Lock down Travis CI Node 7 version to 7.7.1 (Miroslav Bajtoš)
 * README: add a link to our announcements list (Miroslav Bajtoš)
 * Allow custom properties of Change Model (agriwebb build)
 * Fix User.verify to convert uid to string (phairow)
 * Pass options.verificationToken to templateFn (Hiran del Castillo)
 * fix custom token model in token middleware (ebarault)
 * Update runtime dependencies (Miroslav Bajtoš)
 * Verify User and AccessToken relations at startup (Miroslav Bajtoš)
 * Deep-clone model settings in lib/builtin-models (Miroslav Bajtoš)
 * Use local registry in test/replication.rest.test (Miroslav Bajtoš)
 * Fix test/access-token.test to use local registry (Miroslav Bajtoš)
 * Fix context passing in OWNER role resolver (Benjamin Schuster-Boeckler)
2017-03-31 16:09:09 +02:00
Miroslav Bajtoš 2570dda984
3.4.0
* Fix access-token invalidation for missing relation (Miroslav Bajtoš)
 * Configure Travis CI to cache phantomjs binaries (Miroslav Bajtoš)
 * Optimise replication (kobaska)
 * Improve "filter" arg description (Raymond Camden)
2017-02-24 09:36:42 +01:00
Miroslav Bajtoš c69e010670 3.3.0
* Fix Role.isOwner() for multiple user models (ebarault)
 * Update ISSUE_TEMPLATE.md (Simon Ho)
 * Upgrade supertest to 3.x (Miroslav Bajtoš)
 * Fix creation of verification links (Miroslav Bajtoš)
 * Enable multiple user models (Eric)
 * Babelify juggler for Karma tests (Miroslav Bajtoš)
 * Fix Karma config to babelify node_modules too (Miroslav Bajtoš)
 * Add promise support to built-in model RoleMapping (ebarault)
 * Add promise support to built-in model ACL (ebarault)
 * Add nyc coverage, report data to coveralls.io (Miroslav Bajtoš)
 * Upgrade eslint config, fix linter errors (Miroslav Bajtoš)
 * Add missing type to Role properties definition (David Hernandez)
 * Preserve sessions on User.save() making no changes (Miroslav Bajtoš)
 * Fix logout to handle no or missing accessToken (Ritchie Martori)
 * Promise-ify built-in Role model (Miroslav Bajtoš)
 * Remove .jscsrc that's no longer used (Miroslav Bajtoš)
 * Enable ES6/ES2015 goodness (Miroslav Bajtoš)
 * Remove test/support.js from karma config (Miroslav Bajtoš)
 * Use English when running Mocha tests (Miroslav Bajtoš)
 * Update ISSUE_TEMPLATE (Simon Ho)
 * Updating README - add cli and remove arc (Joe Sepi)
 * Fix User methods to use correct Primary Key (Aris Kemper)
 * Fix User.resetPassword to call createAccessToken() (João Ribeiro)
 * Role model: resolves related models by name (Benjamin Kroeger)
2017-02-17 15:14:55 +01:00
Miroslav Bajtoš ff53933085 3.2.1
* Preserve current session when invalidating tokens (Miroslav Bajtoš)
 * Clean up access-token-invalidation tests (Miroslav Bajtoš)
 * Update docs.json (Rand McKinney)
 * Simplify issue template (#3083) (Simon Ho)
 * Warn about injectOptionsFromRemoteContext (Miroslav Bajtoš)
2017-01-16 12:01:47 +01:00
Miroslav Bajtoš 3ed525f753 3.2.0
* Upgrade eslint-config to 7.x (Miroslav Bajtoš)
 * Allow password reset request for users in realms (Bram Borggreve)
 * Fix construction of sharedCtor remoting metadata (Miroslav Bajtoš)
 * Add option disabling periodic change rectification (kobaska)
 * Fix annotation for persistedModel.count (lschricke)
 * Applied as reviewed by @flowersinthesand (박대선)
 * Fix false emailVerified on user model update (박대선)
 * Contextify DAO and relation methods (Miroslav Bajtoš)
 * Implement new http arg mapping optionsFromRequest (Miroslav Bajtoš)
 * Emit resetPasswordRequest event with options (Sergey Reus)
2017-01-09 13:00:18 +01:00
Miroslav Bajtoš 668a9d0ed6 3.1.1
* Update package.json for LB3 release (Simon Ho)
 * Invalidate AccessTokens on password change (Miroslav Bajtoš)
 * Fix registration of operation hooks in User model (Miroslav Bajtoš)
 * Remove "options.template" from Email payload (Miroslav Bajtoš)
 * Upgrade eslint config and grunt-eslint to latest (Miroslav Bajtoš)
 * Update paid support URL (siddhipai)
 * Update paid support URL (Siddhi Pai)
 * Remove duplicate warning in issue template (Siddhi Pai)
2016-12-21 16:05:58 +01:00
Miroslav Bajtoš 3e1ae2d413 3.1.0
* Fix use-strict issue with connectors after merge (Loay)
 * Fix connector naming in strict mode (ebarault)
 * Add "returnOnlyRoleNames" option to Role.getRoles (Eric)
 * Update translation files (Candy)
 * Fix broken document for `upsertWithWhere` (Amir Jafarian)
 * Fix js doc for deleteAll event (Candy)
 * add allowArray to relations' create remoteMethod (David Cheung)
 * Remove workaround for default value (Loay)
 * Fix remote method example (Amir Jafarian)
 * Remove `example/context` (Amir Jafarian)
 * Turn on "no-unused-expressions" rule for eslint (Miroslav Bajtoš)
 * Update eslint to loopback config v5 (Loay)
 * Fix total calculation in example (Candy)
 * make test individually runable (David Cheung)
 * Add options to bulkUpdate (Kogulan Baskaran)
 * Fix context within listByPrincipalType role method (codyolsen)
 * Add Node v7 to Travis CI platforms (Miroslav Bajtoš)
 * Drop support for Node v0.10 and v0.12 (Miroslav Bajtoš)
 * Add templateFn option to User#verify() (Adrien Kiren)
 * Require verification after email change (Loay)
 * Update doc links (Candy)
 * adding check of string for case insensitive emails (Dhaval Trivedi)
 * Update test confirmation text in PR template (#2897) (Simon Ho)
 * allow batch create for persisted models (David Cheung)
 * Fix PR template to not link all PRs to #49 (#2887) (Miroslav Bajtoš)
 * Need index on principalId for performance. (#2883) (Simon Ho)
 * Remove redundant items in PR template (#2877) (Simon Ho)
 * Refactor PR template based on feedback (#2865) (Simon Ho)
 * Add pull request template (#2843) (Simon Ho)
 * Update README.md (Rand McKinney)
 * Reword ticking checkbox note in issue template (#2854) (Simon Ho)
 * Add how to tick checkbox in issue template (#2851) (Simon Ho)
 * Fix description of updateAll response (Miroslav Bajtoš)
 * Allow tokens with eternal TTL (value -1) (Miroslav Bajtoš)
 * Use GitHub issue templates (#2810) (Simon Ho)
 * Update ja and nl translation files (Candy)
 * Remove 3.0 DEVELOPING & RELEASE-NOTES (Miroslav Bajtoš)
 * Fix support for remote hooks returning a Promise (Tim van der Staaij)
 * Validate non-email property partial update (Loay)
 * Update release notes (Amir Jafarian)
 * Update translation files - round#2 (Candy)
 * Add license text (Candy)
 * Temporarily disable Karma tests on Windows CI (Miroslav Bajtoš)
2016-12-05 10:15:39 +01:00
Miroslav Bajtoš 8d0f319dd6 3.0.0
* Update deps to 3.0.0 RC (Miroslav Bajtoš)
 * Update globalization structure (Candy)
 * Call new disable remote method from model class. (Richard Pringle)
 * Add translation strings (Candy)
 * Support uniqueness for realm users (David Cheung)
 * Invalidate sessions after email change (Loay)
 * Add docs for KeyValue model (Simon Ho)
 * Fix remote method inheritance (Candy)
 * Fix double-slash in confirmation URL (Miroslav Bajtoš)
2016-09-22 12:48:40 +02:00
Miroslav Bajtoš eec85367e7 3.0.0-alpha.5
* Use strong-remoting's new TypeRegistry (Miroslav Bajtoš)
 * test/user: don't attach User model twice (Miroslav Bajtoš)
 * app.enableAuth: correctly detect attached models (Miroslav Bajtoš)
 * Fix remoting metadata for "data" arguments (Miroslav Bajtoš)
 * Add instructions for upgrading context (Miroslav Bajtoš)
 * Discard sugar method for model creation (gunjpan)
 * Remove one-var exceptions no longer needed (Miroslav Bajtoš)
 * Rework email validation to use isemail (Miroslav Bajtoš)
 * Expose upsertWithWhere method (Sonali Samantaray)
2016-09-09 10:34:59 +02:00
Miroslav Bajtoš 6220d1f986 3.0.0-alpha.4
* Update loopback-connector-remote to 2.0-alpha (Miroslav Bajtoš)
 * Add remoting for KeyValue model TTL feature (Simon Ho)
 * Add lint NPM script (Simon Ho)
 * Make the app instance available to connectors (Subramanian Krishnan)
 * Update pre-release dependencies (Miroslav Bajtoš)
 * Apply g.f to literal strings (Setogit)
 * Allow resetPassword if  emailVerified (Loay)
 * Reorder PATCH Vs PUT endpoints (Amir Jafarian)
 * streamline use if `self` (Benjamin Kroeger)
 * resolve related models from correct registry (Benjamin Kroeger)
 * KeyValueModel: add API for listing keys (Miroslav Bajtoš)
 * Fix token middleware crash (Carl Fürstenberg)
 * loopback#context: fix missing "g" symbol (Miroslav Bajtoš)
 * Update acl.js (Rand McKinney)
 * Support 'alias' in mail transport config. (Samuel Reed)
 * Remove unnecessary g.log (Setogit)
 * Revert globalization of Swagger descriptions (Miroslav Bajtoš)
 * Revert globalization of assert() messages (Miroslav Bajtoš)
 * Add bcrypt validation (Loay)
2016-09-05 15:05:29 +02:00
Miroslav Bajtoš 899ab457e9 3.0.0-alpha.3
* common: add KeyValueModel (Miroslav Bajtoš)
 * Globalize current-context error messages (Miroslav Bajtoš)
 * Remove current-context API (Miroslav Bajtoš)
 * Fix forceId in tests (jannyHou)
 * test: increase timeout to prevent CI failures (Miroslav Bajtoš)
 * Update globalization string (Candy)
 * Update globalization (Candy)
 * Add globalization (Candy)
 * test: fix "socket hang up" error in app.test (Miroslav Bajtoš)
 * test: increate timeout in Role test (Miroslav Bajtoš)
 * test: make status test more robust (Miroslav Bajtoš)
 * test: fix broken Role tests (Miroslav Bajtoš)
 * Update dependencies to their latest versions (Miroslav Bajtoš)
 * Increase timeout (jannyHou)
 * test: fix change-tracking setup (Miroslav Bajtoš)
 * test: use local registry in test fixtures (Miroslav Bajtoš)
 * Update loopback.js (Rand McKinney)
 * Fix test case error (Loay)
 * Update user.js (Loay)
 * Fix security issue 580 (Loay)
 * Update URLs in CONTRIBUTING.md (#2503) (Ryan Graham)
 * Remove legacyExplorer (gunjpan)
 * Remove `rectifyAllChanges` and `rectifyChange` (Candy)
 * Fix verificationToken bug (Loay)
 * update express version (Loay)
 * Cleanup unit-test added in 1fc51d129 (Miroslav Bajtoš)
 * update errorHandler template (Loay)
2016-08-11 13:34:01 +02:00
Miroslav Bajtoš a2e199f025 3.0.0-alpha.2
* add missing unit tests for #2108 (Benjamin Kroeger)
 * Expose `Replace*` methods (Amir Jafarian)
 * Update tests for strong-error-handler (David Cheung)
 * Remove legacy express 3.x middleware getters (Miroslav Bajtoš)
 * Docuemtation for `replace*` methods (Amir Jafarian)
 * Make the doc clear for `findORCreate` cb (Amir Jafarian)
 * Fix JSCS unsupported rule error (Jason)
 * Remove env.json and strong-pm dir (Ritchie Martori)
 * Throw error upon extending unknown model (David Cheung)
 * Remove unused UserModel properties (David Cheung)
 * Remove Change.handleError (Candy)
 * Update user.js (Rik)
 * Separate error-checking and next/done logic from other logic in the test suite (Supasate Choochaisri)
 * Clean up by removing unnecessary comments (Supasate Choochaisri)
 * Add feature to not allow duplicate role name (Supasate Choochaisri)
 * update copyright statements (Ryan Graham)
 * relicense as MIT only (Ryan Graham)
 * Upgrade phantomjs to 2.x (Miroslav Bajtoš)
 * app: send port:0 instead of port:undefined (Miroslav Bajtoš)
 * travis: drop node@5, add node@6 (Miroslav Bajtoš)
 * Disable DEBUG output for eslint on Jenkins CI (Miroslav Bajtoš)
 * Remove "loopback.autoAttach()" (Miroslav Bajtoš)
 * test/rest.middleware: use local registry (Miroslav Bajtoš)
 * Fix role.isOwner to support app-local registry (Miroslav Bajtoš)
 * test/user: use local registry (Miroslav Bajtoš)
 * Resolver support return promise (juehou)
 * remove @private from jsdoc (Manu Phatak)
 * Fixes for emit `remoteMethodDisabled` PR (Simon Ho)
 * Add new feature to emit a `remoteMethodDisabled` event when disabling a remote method. (Supasate Choochaisri)
 * Fix typo in Model.nestRemoting (Tim Needham)
 * Update loopback.js (Rand McKinney)
 * Allow built-in token middleware to run repeatedly (Benjamin Kröger)
 * Use eslint with loopback config (Miroslav Bajtoš)
 * promise docs (Jue Hou)
 * Update JSDoc (sghung@ca.ibm.com)
 * Remove constraint making isStatic required (Candy)
 * Fix inconsistencies in JSDoc (sghung@ca.ibm.com)
 * Improve error message on connector init error (Miroslav Bajtoš)
 * application: correct spelling of "cannont" (Sam Roberts)
 * Remove sl-blip from dependency (Candy)
 * Use new strong-remoting API (Candy)
 * test: remove forgotten console.trace logs (Miroslav Bajtoš)
 * Fix race condition in replication tests (Miroslav Bajtoš)
 * Fix race condition in error handler test (Miroslav Bajtoš)
 * test: remove errant console.log from test (Ryan Graham)
 * Promisify Model Change (Jue Hou)
 * Travis: drop iojs, add v4.x and v5.x (Miroslav Bajtoš)
 * test: use ephemeral port for e2e server (Ryan Graham)
 * test: fail on error instead of crash (Ryan Graham)
 * ensure app is booted before integration tests (Ryan Graham)
 * Remove "loopback.DataModel" (Miroslav Bajtoš)
 * Correct JSDoc findOrCreate() callback in PersistedModel (Chris Coggburn)
 * Fix typo in package.json (publishConfig) (Miroslav Bajtoš)
 * Start development of 3.0 (Candy)
 * Hide verificationToken (Samuel Gaus)
 * Fix description for User.prototype.hasPassword (Jue Hou)
 * Checkpoint speedup (Amir Jafarian)
 * Always use bluebird as promise library Replace `global.Promise` with `bluebird` (Jue Hou)
 * Remove unused code from loopback-testing-helper (Simon Ho)
 * Make juggler a regular dependency (Miroslav Bajtoš)
 * Remove dependency on loopback-testing (Simon Ho)
 * Fix failing tests (Simon Ho)
 * Update persisted-model.js (Rand McKinney)
 * Update persisted-model.js (linguofeng)
2016-06-13 17:04:46 +02:00
Miroslav Bajtoš b0a62422c1 3.0.0-alpha.1
* Update juggler to ^3.0.0-alpha.1 (Miroslav Bajtoš)
 * Start development of 3.0 (Miroslav Bajtoš)
2015-12-22 14:01:29 +01:00
Miroslav Bajtoš 122c1186ba 2.26.2
* Fix bulkUpdate to not trigger rectifyAll (Amir Jafarian)
2015-12-22 10:57:56 +01:00
Miroslav Bajtoš 69940ad3b0 2.26.1
* PersistedModel: log rectify/rectifyAll triggers (Miroslav Bajtoš)
2015-12-17 15:52:08 +01:00
Miroslav Bajtoš 3b66fc1c88 2.26.0
* change: skip cp lookup on no change (Miroslav Bajtoš)
 * Change: correctly rectify no-change (Miroslav Bajtoš)
 * Update model.js (Rand McKinney)
 * Adding properties description for User Model (David Cheung)
 * Add case-sensitve email option for User model. (Richard Pringle)
2015-12-09 09:44:03 +01:00
Raymond Feng bfd5059d11 2.25.0
* Fix typo in description of persistedModel.updateAttributes() (Richard Pringle)
2015-11-13 15:34:44 -08:00
Simon Ho f9545daf63 2.24.0
* Fix cookie-parser error (Simon Ho)
2015-11-09 17:30:25 -08:00
Miroslav Bajtoš 1c1d534119 2.23.0
* lib/registry: fix findModel for model ctor (Miroslav Bajtoš)
 * Refer to licenses with a link (Sam Roberts)
 * Fix user.resetPassword to fail on email not found (Simo Moujami)
 * Fix typo in doc comment (Rand McKinney)
 * Do not include redundant ports in verify links (Samuel Gaus)
 * Set application's id property only if it's empty. (wusuopu)
 * Check configs for shared method settings (Simon Ho)
 * Add test fixtures for shared methods (Simon Ho)
 * Clean up .jshintrc (Simon Ho)
 * Update comment about user ACL to reflect implementation (Felipe Oliveira Carvalho)
2015-11-09 16:17:19 +01:00
Miroslav Bajtoš 6fa57754ab 2.22.2
* Use strongloop conventions for licensing (Sam Roberts)
 * Set package license to MIT (Sam Roberts)
2015-09-23 09:34:37 +02:00
Miroslav Bajtoš 063e3c72ea 2.22.1
* Fix perf of rectification after updateAttributes (Miroslav Bajtoš)
 * Update persisted-model.js (Rand McKinney)
 * Stop NPM license warning (Simon Ho)
2015-09-18 17:07:32 +02:00
Miroslav Bajtoš 15c1ac8bb5 2.22.0
* Create stack-removing errorhandler middleware (Richard Walker)
 * Update README.md (Rand McKinney)
 * Allow EJS templates to use includes (Samuel Gaus)
 * Fix options.to assertion message in user.verify (Farid Nouri Neshat)
 * Upgrade Travis to container-based infrastructure (Miroslav Bajtoš)
 * fix typo "PeristedModel" (Christoph)
2015-09-03 09:22:59 +02:00
Raymond Feng cb01fb96d0 2.21.0
* Add util methods to ACL and clean up related model resolutions (Raymond Feng)

 * Promisify 'PersistedModel - replication' (Pradnya Baviskar)

 * Promisify 'Application' model (Pradnya Baviskar)
2015-08-13 09:02:11 -07:00
Raymond Feng 3c18d38548 2.20.0
* Allow methods filter for middleware config (Raymond Feng)

 * Don't load Bluebird for createPromiseCallback (Miroslav Bajtoš)

 * fix exit early when password is non-string closes #1437 (Berkeley Martinez)

 * Promisify User model (Pradnya Baviskar)

 * Add missing . to user model property descriptions (Richard Walker)
2015-08-06 10:10:17 -07:00
Raymond Feng 76b73a80ed 2.19.1
* Disable application model test for karma (Raymond Feng)

 * Fix jsdocs for methods with where argument (Raymond Feng)

 * Add link to createChangeStream docs (Ritchie Martori)
2015-07-28 08:40:46 -07:00
Ritchie Martori 8eeaa5568f 2.19.0
* Add PersistedModel.createChangeStream() (Ritchie Martori)

 * Remove trailing whitespace from jsdoc (Ritchie Martori)

 * Update model.js (Rand McKinney)

 * Downgrade version of loopback-testing (Ritchie Martori)

 * Auto-configure models required by `app.enableAuth` (Miroslav Bajtoš)

 * Add loadBuiltinModels flag to loopback(options) (Miroslav Bajtoš)

 * Add a unit-test for searchDefaultTokenKeys (Miroslav Bajtoš)

 * access-token: add option "searchDefaultTokenKeys" (Owen Brotherwood)

 * Fix the test case (Raymond Feng)

 * Fix code standards issues (Tom Kirkpatrick)

 * Add test case to highlight fatal error when trying to include a scoped relationship through a polymorphic relationship (Tom Kirkpatrick)

 * add callback args for listByPrincipalType to jsdoc comment, pass explicit arguments to callback (Esco Obong)

 * mark utiltiy function as private (Esco Obong)

 * fix linting errors (Esco Obong)

 * fix lint erros (Esco Obong)

 * consolidate Role methods roles, applications, and users into one, add query param to allow for pagination and restricting fields (Esco Obong)

 * fix implementation of Role methods: users,roles, and applications (Esco Obong)
2015-07-09 13:42:03 -07:00
Raymond Feng fb50b880ec 2.18.0
* Make the test compatible with latest juggler (Raymond Feng)
2015-05-13 16:28:50 -07:00
Ritchie Martori 28a0537e81 2.17.3
* Use the new remoting.authorization hook for check access (Ritchie Martori)

 * Define remote methods via model settings/config (Miroslav Bajtoš)

 * Pass the full options object to the email send method in user verification process. (Alexandru Savin)

 * un-document _findLayerByHandler (Rand McKinney)

 * Gruntfile: disable debug & watch for CI builds (Miroslav Bajtoš)

 * Update devDependencies to the latest versions (Miroslav Bajtoš)

 * Remove trailing whitespace added by 242bcec (Miroslav Bajtoš)

 * Update model.js (Rand McKinney)
2015-05-12 16:15:18 -07:00
Miroslav Bajtoš b9493cdb45 2.17.2
* Fix regression in Model.getApp() (Miroslav Bajtoš)
2015-04-28 18:08:55 +02:00
Miroslav Bajtoš f93590de1b 2.17.1
* Allow dataSource === false (Raymond Feng)

 * Fix remoting metadata for User.login#include (Miroslav Bajtoš)
2015-04-28 08:09:44 +02:00
Raymond Feng 42318f428c 2.17.0
* Disable inclusion of User.accessTokens (Raymond Feng)

 * Upgrade test fixtures to use LB 2.x layout (Raymond Feng)
2015-04-21 10:46:42 -07:00
Miroslav Bajtoš 69b4972590 2.16.3
* Rework global registry to be per-module-instance (Miroslav Bajtoš)
2015-04-17 19:36:53 +02:00
Miroslav Bajtoš 73ee01f27c 2.16.1
* Add back loopback properties like modelBuilder (Miroslav Bajtoš)
2015-04-17 18:35:30 +02:00
Raymond Feng 5158df8790 2.16.0
* Expose the `filter` argument for findById (Raymond Feng)

 * fixed the missing '.' in various description fields. (Edmond Lau)

 * Conflict resolution and Access control (Miroslav Bajtoš)

 * Fix the typo (Raymond Feng)

 * Fix PersistedModel._defineChangeModel (Miroslav Bajtoš)

 * AccessControl for change replication (Miroslav Bajtoš)

 * test: remove global autoAttach (Miroslav Bajtoš)

 * Add support for app level Model isolation (Ritchie Martori)

 * Implement ModelCtor.afterRemoteError (Miroslav Bajtoš)

 * Code cleanup, add Model._runWhenAttachedToApp (Miroslav Bajtoš)

 * Refactor Model and PersistedModel registration (Miroslav Bajtoš)

 * Fix the style issue (Raymond Feng)

 * Add missing error handlers to checkpoints() (Miroslav Bajtoš)

 * Fix where param format (Rand McKinney)

 * Test embedsOne CRUD methods (Fabien Franzen)
2015-04-16 15:13:49 -07:00
Miroslav Bajtoš 3ef7dedfa4 2.15.0
* Improve error handling in replication (Miroslav Bajtoš)

 * Add `loopback.runInContext` (Miroslav Bajtoš)

 * Fix style issues (Raymond Feng)

 * Document the new third callback arg of replicate() (Miroslav Bajtoš)

 * Fix API doc for updateAll/deleteAll (Miroslav Bajtoš)

 * Import subset of underscore.string scripts only (Miroslav Bajtoš)

 * Use `ctx.instance` provided by "after delete" hook (Miroslav Bajtoš)

 * Add conflict resolution API (Miroslav Bajtoš)

 * Detect 3rd-party changes made during replication (Miroslav Bajtoš)

 * Ability to pass in custom verification token generator This commit adds the ability for the developer to use a custom token generator function for the user.verify(...) method. By default, the system will still use the crypto.randomBytes() method if no option is provided. (jakerella)

 * Remove unnecessary delay in tests. (Miroslav Bajtoš)

 * Update README.md (Simon Ho)

 * Remove duplicate cb func from getRoles and other doc cleanup (crandmck)

 * Enhance the token middleware to support current user literal (Raymond Feng)

 * Handling owner being a relation/function (Benjamin Boudreau)

 * Run replication tests in the browser too (Miroslav Bajtoš)

 * Add replication tests for conflict resolution (Miroslav Bajtoš)

 * Fix an assertion broke by recent chai upgrade. (Miroslav Bajtoš)

 * Static ACL support array of properties now (ulion)

 * Add more integration tests for replication (Miroslav Bajtoš)

 * Prevent more kinds of false replication conflicts (Miroslav Bajtoš)

 * Upgrade deps (Raymond Feng)

 * Fix "Issues" link in readme (Simon Ho)

 * Add more debug logs to replication (Miroslav Bajtoš)

 * Fixes #1158. (Jason Sturges)

 * Checkpoint: start with seq=1 instead of seq=0 (Miroslav Bajtoš)

 * Return new checkpoints in callback of replicate() (Miroslav Bajtoš)

 * Create a remote checkpoint during replication too (Miroslav Bajtoš)

 * Replication: fix checkpoint-related race condition (Miroslav Bajtoš)

 * Support different "since" for source and target (Miroslav Bajtoš)
2015-04-01 18:50:18 +02:00
Raymond Feng b7541c1a7e 2.14.0
* Replace deprecated hooks with Operation hooks (Miroslav Bajtoš)

 * test: don't warn about running deprecated paths (Miroslav Bajtoš)

 * karma conf: prevent timeouts on Travis CI (Miroslav Bajtoš)

 * Pass options from User.login to createAccessToken (Raymond Feng)

 * 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. (Ron Edgecomb)

 * test: setup GUID for all models tracking changes (Miroslav Bajtoš)

 * Change tracking requires a string id set to GUID (Miroslav Bajtoš)
2015-03-03 11:14:55 -08:00