Siddhi Pai
e4cb2afdb7
Update paid support URL
2016-12-05 12:23:14 -08:00
Siddhi Pai
91970f975a
Remove duplicate warning in issue template
...
* First item is not polite enough
* Second item conveys the same message as the first item
2016-12-05 12:09:19 -08: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
Loay
a34f321d2b
Fix use-strict issue with connectors after merge
...
fixing use-strict issue with connectors after merge #2632
2016-11-30 14:36:51 -05:00
ebarault
94c786f2f7
Fix connector naming in strict mode
...
In strict mode, creating properties on strings is not allowed.
As a result, creating a new datasource fails with the following
error:
TypeError: Cannot create data source "db":
Cannot create property 'name' on string 'mongodb'
In this commit, we fix the code to assign the connector name only
if the connector is an object (not a string).
Add "returnOnlyRoleNames" option to Role.getRoles
Currently the return type of Role.getRoles() method is inconsistent:
role names are returned for smart roles and role ids are returned for
static roles (configured through user-role mapping).
This commit adds a new option to Role.getRoles() allowing the caller
to request role names to be returned for all types of roles.
2016-11-30 14:08:28 -05:00
Miroslav Bajtoš
ca3ec134d6
Merge pull request #2975 from ebarault/getRoles-to-return-only-role-names
...
Add "returnOnlyRoleNames" option to Role.getRoles
2016-11-30 17:00:57 +01:00
Eric
b0d6c4a7d2
Add "returnOnlyRoleNames" option to Role.getRoles
...
Currently the return type of Role.getRoles() method is inconsistent:
role names are returned for smart roles and role ids are returned for
static roles (configured through user-role mapping).
This commit adds a new option to Role.getRoles() allowing the caller
to request role names to be returned for all types of roles.
2016-11-30 16:46:59 +01:00
Loay
3ecb5e1cfe
Merge pull request #2974 from strongloop/defaultValue
...
Remove workaround for default value
2016-11-28 11:07:09 -05:00
Candy
80b0bb8392
Merge pull request #2985 from strongloop/add_translation7
...
Update translation files
2016-11-25 16:28:18 -05:00
Candy
bee157a792
Update translation files
2016-11-25 16:01:46 -05:00
Amirali Jafarian
1d96a678a5
Merge pull request #2983 from strongloop/broken_documemnt
...
Fix broken document for `upsertWithWhere`
2016-11-24 16:14:55 -05:00
Amir Jafarian
d4e0efcab3
Fix broken document for `upsertWithWhere`
2016-11-24 15:58:21 -05:00
David Cheung
a673a3884c
Merge pull request #2947 from strongloop/related-models-allow-array
...
add allowArray to relations' create remoteMethod
2016-11-23 14:51:08 -05:00
Amirali Jafarian
ea4f3ecb05
Merge pull request #2972 from strongloop/delete_context_example
...
Remove `example/context`
2016-11-23 13:45:33 -05:00
Candy
f3ee41a0bc
Merge pull request #2979 from strongloop/fix_jsdoc
...
Fix js doc for deleteAll event
2016-11-23 13:37:01 -05:00
Candy
5815ca8211
Fix js doc for deleteAll event
2016-11-23 12:02:49 -05:00
David Cheung
fa7cb923cd
add allowArray to relations' create remoteMethod
...
this is needed because we added allowArray flag to persisted model's
remoteMethod, but when relations try to rebuild such methods, it does
not carry over such flags
2016-11-23 12:00:18 -05:00
Miroslav Bajtoš
d4bee2b764
Merge pull request #2970 from strongloop/fix/remove-unused-expressions
...
Re-enable "no-unused-expressions" rule for eslint
2016-11-23 10:01:09 +01:00
Loay
f72a29671f
Remove workaround for default value
2016-11-22 20:58:27 -05:00
Amirali Jafarian
2c1ebdcc2e
Merge pull request #2973 from strongloop/remote_method_fix_example
...
Fix remote method example
2016-11-22 17:55:07 -05:00
Amir Jafarian
9f4e9d8532
Fix remote method example
...
- callback error and not ignore cartId
2016-11-22 14:24:19 -05:00
Amir Jafarian
17512f6e77
Remove `example/context`
...
* Remove `example/context` since it is deprecated in LB 3.0
2016-11-22 13:56:46 -05:00
Miroslav Bajtoš
1ec7cf0a37
Turn on "no-unused-expressions" rule for eslint
...
Fix unit-tests relying on property-based assertions to use function
calls instead, using "dirty-chai" to modify chai's property checkers.
2016-11-22 15:30:04 +01:00
Miroslav Bajtoš
c3ab932012
Merge pull request #2632 from strongloop/eslint2
...
Update eslint infrastructure
2016-11-22 14:20:41 +01:00
Loay
06cb481c3f
Update eslint to loopback config v5
...
Notable side-effects:
- loopback no longer exports "caller" and "arguments" properties
- kv-memory connector is now properly added to the connector registry
- the file "test/support.js" was finally removed
2016-11-22 14:08:02 +01:00
Candy
ef0478cc97
Merge pull request #2968 from strongloop/fix_total_calculation
...
Fix total calculation in example
2016-11-21 13:54:50 -05:00
Candy
308c18b1e0
Fix total calculation in example
2016-11-21 11:49:18 -05:00
David Cheung
61c0c85ab5
Merge pull request #2888 from strongloop/make-test-individually-runable
...
make test individually runable
2016-11-17 18:29:00 -05:00
David Cheung
b3c43b60cd
make test individually runable
...
previously when you do something like mocha test/model.test.js
you would get an error like "assert is not a function"
2016-11-17 18:05:58 -05:00
Miroslav Bajtoš
a0bc204159
Merge pull request #2945 from strongloop/feature/bulkupdate-options-3x
...
Add options to bulkUpdate
2016-11-16 08:57:11 +01:00
Kogulan Baskaran
b4f1b2f02c
Add options to bulkUpdate
2016-11-15 17:40:44 +01:00
Miroslav Bajtoš
54ee8d8bb5
Merge pull request #2742 from codyolsen/feature/role-context
...
Fix context within listByPrincipalType role method
2016-11-15 16:05:19 +01:00
codyolsen
3f5e49c3d6
Fix context within listByPrincipalType role method
...
- Fix for current implimentation that returned all models that had any
assigned roles. Context was not carried into listByPrincipalType,
setting roleId as null.
2016-11-15 14:51:05 +01:00
Miroslav Bajtoš
7d64a92ce7
Merge pull request #2942 from strongloop/drop-support-node-0x
...
Drop support for Node v0.10 and v0.12
2016-11-15 14:17:53 +01:00
Miroslav Bajtoš
ff347dd170
Add Node v7 to Travis CI platforms
2016-11-15 13:49:12 +01:00
Miroslav Bajtoš
d146476757
Drop support for Node v0.10 and v0.12
2016-11-15 13:48:29 +01:00
Miroslav Bajtoš
e07feb838f
Merge pull request #2937 from strongloop/feature/verify-template-fn
...
Add templateFn option to User#verify()
2016-11-14 16:51:29 +01:00
Adrien Kiren
85da50cbc8
Add templateFn option to User#verify()
2016-11-14 16:22:10 +01:00
Candy
d85ff32abb
Merge pull request #2930 from strongloop/add_translation5
...
Update translation files
2016-11-10 14:28:14 -05:00
Candy
2c3b0b4d0b
Update translation files
2016-11-10 12:38:16 -05:00
Miroslav Bajtoš
6b6ca95e2d
Merge pull request #2765 from strongloop/verifyEmail
...
Require verification after email change
2016-11-09 13:24:27 +01:00
Loay
eb640d8da0
Require verification after email change
...
When the User model is configured to require email verification,
then any change of the email address should trigger re-verification.
2016-11-09 13:06:25 +01:00
Rand McKinney
fcbe028e11
Merge pull request #2916 from strongloop/update_doc_links
...
Update doc links
2016-11-07 09:56:59 -08:00
Candy
8f08398c30
Update doc links
2016-11-04 16:47:12 -04:00
David Cheung
d1ae8aad90
Merge pull request #2912 from strongloop/geekguy-case-senstive-email-bug
...
adding check of string for case insensitive emails
2016-11-03 10:58:33 -04:00
Dhaval Trivedi
4922f425fc
adding check of string for case insensitive emails
2016-11-01 18:13:56 -04:00
Simon Ho
6d5d7f0d4a
Update test confirmation text in PR template ( #2897 )
...
* Update test confirmation text in PR template
We only ask users to check when adding new tests, but
some PRs only modify existing tests. Also added
instructions to mark with an "x" for checking off items.
2016-10-27 23:58:25 -07:00
David Cheung
ae4d53d08d
Merge pull request #2879 from strongloop/batch-create
...
allow batch create for persisted models
2016-10-26 17:04:35 -04:00
David Cheung
5252fba376
allow batch create for persisted models
...
In strong-remoting 3.x, we have stricken the coercion of inputs
methods that are expecting an Object will nolonger accept an array
as input, to preserve backwards compatibility we have added flag
allowArray in remote arguments, which would accept an array of objects
2016-10-25 15:45:00 -04:00
Miroslav Bajtoš
8cc71a4dc0
Fix PR template to not link all PRs to #49 ( #2887 )
...
- Add comment with syntax examples
- Remove direct links to #49 in section header
2016-10-24 17:08:40 -07:00