Commit Graph

95 Commits

Author SHA1 Message Date
jannyHou a22d4f9197 3.28.0
* upgrade nodemailer to greater than 6.4.16 (jannyHou)
 * chore: sync LoopBack 4 with Node.js v14 EOL (Rifa Achrinza)
 * chore: add Node.js 14 to travis (Diana Lau)
 * Remove "major" and "p1" from stalebot (Miroslav Bajtoš)
2020-11-25 17:06:34 -05:00
Miroslav Bajtoš 06fcaa144e
3.27.0
* Update LTS status in README (Miroslav Bajtoš)
 * chore: update copyright year (Diana Lau)
 * feat: change hasone relation error message (Sujesh T)
 * chore: disable security issue reporting (Nora)
 * chore: fix eslint violations (Nora)
 * fixup! manual fixes (Miroslav Bajtoš)
 * fixup! eslint --fix . (Miroslav Bajtoš)
 * chore: update eslint & eslint-config to latest (Miroslav Bajtoš)
 * chore: update dev-dependencies (Miroslav Bajtoš)
 * chore: update chai to v4, dirty-chai to v2 (Miroslav Bajtoš)
 * Updated "ismail" package to v3.2 (Stanislav Sarbinski)
 * Introduce issue templates for bugs, features, etc. (Miroslav Bajtoš)
 * Improve PULL_REQUEST_TEMPLATE (Miroslav Bajtoš)
 * test: use Chromium (not Chrome) when available (Miroslav Bajtoš)
 * test: disable Chrome sandboxing when inside Docker (Miroslav Bajtoš)
 * test: switch from PhantomJS to HeadlessChrome (Miroslav Bajtoš)
2020-03-06 10:00:20 +01:00
Miroslav Bajtoš 9b1d4885ab
3.26.0
* fix: disallow queries in username and email fields (Hage Yaapa)
 * Ignore failing downstream dependencies (Miroslav Bajtoš)
 * Upgrade nyc to version 14 (Miroslav Bajtoš)
 * Update Karma dependencies to latest versions (Miroslav Bajtoš)
 * Drop Node.js 6.x from the supported versions (Miroslav Bajtoš)
 * Fix Model.exists() to work with remote connector (Maxim Sharai)
 * chore: update copyrights years (Agnes Lin)
 * Update LTS status (Diana Lau)
 * Enable Node.js 12.x on Travis CI (Miroslav Bajtoš)
 * chore: update copyright year (Diana Lau)
 * chore: update LB3 EOL date (Diana Lau)
2019-05-31 09:04:12 +02:00
Miroslav Bajtoš 34acd02a7e
3.25.1
* Back-ticks added to highlight example JSON (Quentin Presley)
 * Add same change to description for findOne (Quentin Presley)
 * Update the description for persisted-models (Quentin Presley)
 * handle $2b$ in hashed password check (Sylvain Dumont)
2019-03-15 16:08:23 +01:00
Miroslav Bajtoš 1e33ec596f
3.25.0
* Support middleware injected by AppDynamics. (Mike Li)
2019-02-05 14:23:17 +01:00
Miroslav Bajtoš b77907ffa5
3.24.2
* Fix crash when modifying an unknown user (Matheus Horstmann)
2019-01-11 16:04:43 +01:00
Miroslav Bajtoš 0bb8c23e2d
3.24.1
* Update underscore.string to 3.3.5 (Francois)
 * Fix: treat empty access token string as undefined (andrey-abramow)
2019-01-08 10:48:41 +01:00
Raymond Feng 81d1f7406f 3.24.0
* Set juggler options for remote calls (Raymond Feng)
 * Speed up ACL tests by reducing saltWorkFactor (Miroslav Bajtoš)
2018-11-15 08:29:10 -08:00
Miroslav Bajtoš a4d7caba1a
3.23.2
* Fix ACL check to support model wildcard (Moshe Malka)
2018-10-25 14:14:22 +02:00
Miroslav Bajtoš be91ba3dad
3.23.1
* README: highlight Active LTS at the top (Miroslav Bajtoš)
2018-10-18 09:27:54 +02:00
Diana Lau 4c49b5fa1f 3.23.0
* Clear handler cache when a method is added/removed (Mohammed Essehemy)
 * Add `options.preserveAccessTokens` (lchaglla)
 * Update LB3 to be active LTS (Diana Lau)
 * Fix ACL tests to wait until all assertions finish (Moshe Malka)
 * chore: update to latest linting rules (virkt25)
2018-10-09 16:05:13 -07:00
virkt25 acc1cd0ee5 3.22.3
* chore: use grunt to install optional  phantomjs (virkt25)
 * [WebFM] fr translation (candytangnb)
2018-09-12 11:06:28 -04:00
virkt25 9f1eb419d1 3.22.2
* [WebFM] tr translation (candytangnb)
 * [WebFM] de translation (candytangnb)
 * [WebFM] cs/es/fr/it/nl/pl/pt_BR/ru translation (candytangnb)
2018-08-29 15:10:43 -04:00
Diana Lau 74d7043edc 3.22.1
* [WebFM] ja/ko/zh_CN/zh_TW translation (candytangnb)
 * remove unnecessary format call (Diana Lau)
 * Make desc when export-api-def translatable (Diana Lau)
2018-08-22 09:18:19 -04:00
virkt25 416b86a5ec 3.22.0
* fix: accessToken create default acl (virkt25)
 * add: ppc64 and s390x to not run UI tests (Thomas Leah)
 * chore: update deps + fix linting + .npmrc (virkt25)
 * Update Loopback 2.x EOL dates (Chris Bailey)
 * Fix formatting (Chris Bailey)
 * Update support badge and move LTS section (Chris Bailey)
 * Add badges and information for LTS and support (Chris Bailey)
2018-08-08 16:27:22 -04:00
virkt25 72d85fa9ea 3.21.0
* Make verifyUserRelations() more robust (mcitdev)
 * Fix crash in verifyUserRelations (ryanxwelch)
 * Fix crash in User model's "before delete" hook (mcitdev)
 * [WebFM] cs/pl/ru translation (candytangnb)
 * Update strong-error-handler (shimks)
2018-07-09 17:04:16 -04:00
Miroslav Bajtoš 7d93b27a80
3.20.0
* Update strong-globalize to 4.x (Miroslav Bajtoš)
 * Update nodemailer to v4.x (Dimitris)
 * Drop support for Node.js 4.x (Miroslav Bajtoš)
2018-06-12 08:31:51 +02:00
Miroslav Bajtoš 85aa3fd679
3.19.3
* Provide link to CODEOWNERS (Aditya Agarwal)
 * fix bug in User.verify when confirm is disabled (wolrajhti)
 * Enable Node.js 10.x on Travis CI (Miroslav Bajtoš)
2018-06-04 16:36:29 +02:00
Miroslav Bajtoš 59b14093c5
3.19.2
* Add check for undefined user email in setter (Kevin Scroggins)
2018-05-29 08:54:18 +02:00
Miroslav Bajtoš 3e3092c017
3.19.1
* Fix isOwner() bug in multiple-principal setup (Miroslav Bajtoš)
2018-05-21 09:17:50 +02:00
Miroslav Bajtoš df70f83d67
3.19.0
* feat: remove all references to a Model (Miroslav Bajtoš)
2018-04-17 10:09:11 +02:00
Miroslav Bajtoš 77a35231dc
3.18.3
* Remove forgotten debugger statement (Miroslav Bajtoš)
 * Fix role check in apps with multiple user models (Miroslav Bajtoš)
 * Fix formatting issues reported by recent eslint (Miroslav Bajtoš)
 * CODEOWNERS: add nitro404 (Miroslav Bajtoš)
 * test: add missing "return" in a promise-style test (Miroslav Bajtoš)
2018-03-22 09:22:20 +01:00
Kevin Delisle 38f3d728b1 3.18.2
* model: fix infinite loop on nestRemoting (Kevin Delisle)
 * Use statusCode prop for user errors (Zak Barbuto)
2018-02-08 13:26:18 -05:00
Taranveer Virk 0eeb99060f 3.18.1
* update: juggler to version including security fix. (Taranveer Virk)
2018-01-31 16:56:12 -05:00
Miroslav Bajtoš c5ff5faf0d
3.18.0
* fix: preserve datasource name (Kevin Scroggins)
 * Update Copyright Years (Justin Ross)
 * Support options.filter in createChangeStream (Edward Choh)
 * fixup! add top-level dep on eslint-plugin-mocha (Miroslav Bajtoš)
 * Update eslint and eslint-config to latest (Miroslav Bajtoš)
2018-01-29 16:36:14 +01:00
Miroslav Bajtoš 243af4bfc2
3.17.1
* Update nestRemoting to pass optionsFromContext (bmatson)
 * fix(test): rem exclusive test (Samuel Reed)
 * fix(test): working test with 0 userId (Samuel Reed)
 * fix(AccessContext): Tighten userid/appid checks (Samuel Reed)
 * fix(id): replace with != null (Samuel Reed)
2017-12-12 19:43:30 +01:00
Diana Lau 1babfcde9f 3.17.0
* Added missing DateString type in loopback index (CSLTech)
 * chore:update license (Diana Lau)
2017-11-29 15:49:28 -05:00
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