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
Simon Ho
dcc58a9d50
Need index on principalId for performance. ( #2883 )
2016-10-21 16:13:16 -07:00
Simon Ho
9cc473ce52
Remove redundant items in PR template ( #2877 )
...
- Remove sign CLA since CI already shows unsigned CLAs
- Remove all tests must pass CI since we have to check each on a case by
case basis anyways
- Update example to include linking to the current repo using number
sign (ie. #49 in addition to org/repo#49 )
2016-10-19 17:21:48 -07:00
Simon Ho
cd447144e2
Refactor PR template based on feedback ( #2865 )
...
Updated based on feedback received during sprint demo.
2016-10-18 23:48:42 -07:00
Simon Ho
ed76a3475a
Add pull request template ( #2843 )
2016-10-14 12:46:03 -07:00
Rand McKinney
2e1ca9e3d0
Merge pull request #2858 from strongloop/update-readme
...
Update README.md
2016-10-13 16:56:19 -07:00
Rand McKinney
df061b09d7
Update README.md
2016-10-13 15:57:19 -07:00
Simon Ho
9a28ed103e
Reword ticking checkbox note in issue template ( #2854 )
2016-10-12 17:37:08 -07:00
Simon Ho
046491f1b6
Add how to tick checkbox in issue template ( #2851 )
...
Many people are putting "*" instead of x, which causes the markdown to
render funny. Adding instructions to that particular section.
2016-10-12 16:50:19 -07:00
Miroslav Bajtoš
46ab65cf50
Merge pull request #2842 from strongloop/fix/metadata-update-delete-all
...
Fix description of updateAll response
2016-10-12 13:03:32 +02:00
Miroslav Bajtoš
1439446b36
Fix description of updateAll response
...
Correctly describe the first non-error callback arg as an `info` object
containing a `count` property.
2016-10-12 12:43:53 +02:00
Miroslav Bajtoš
3229fdbc08
Merge pull request #2841 from strongloop/feature/allow-eternal-access-tokens
...
Allow tokens with eternal TTL (value -1)
2016-10-12 12:29:38 +02:00
Miroslav Bajtoš
6808159427
Allow tokens with eternal TTL (value -1)
...
- Add a new User setting 'allowEternalTokens'
- Enhance 'AccessToken.validate' to support eternal tokens with ttl
value -1 when the user model allows it.
2016-10-10 13:27:22 +02:00
Candy
953cfa9e2d
Merge pull request #2833 from strongloop/add_translation3
...
Update ja and nl translation files
2016-10-06 15:32:32 -04:00
Simon Ho
ee4d79fdf0
Use GitHub issue templates ( #2810 )
2016-10-06 09:35:05 -07:00
Candy
927387502c
Update ja and nl translation files
2016-10-06 11:06:49 -04:00
Miroslav Bajtoš
31913c048d
Merge pull request #2823 from strongloop/docs/remove-release-notes
...
Remove 3.0 DEVELOPING & RELEASE-NOTES
2016-10-06 10:26:49 +02:00
Miroslav Bajtoš
602eebf2fb
Remove 3.0 DEVELOPING & RELEASE-NOTES
...
The release notes were moved to loopback.io docs site.
The instructions for developers are no longer needed.
2016-10-05 16:00:49 +02:00
Miroslav Bajtoš
4e66009963
Merge pull request #2820 from strongloop/fix/promise-remote-hooks
...
Fix support for remote hooks returning a Promise
2016-10-05 10:53:58 +02:00
Tim van der Staaij
c58bff6c3d
Fix support for remote hooks returning a Promise
...
Fix beforeRemote/afterRemote to correctly return promises returned
by the user-provided hook callback.
2016-10-05 10:32:44 +02:00
Loay
f9a58083ae
Merge pull request #2795 from strongloop/PartialUpdate
...
Add partial update test case
2016-10-03 16:33:11 -04:00
Loay
5f5e874564
Validate non-email property partial update
2016-10-03 15:45:52 -04:00