Commit Graph

50 Commits

Author SHA1 Message Date
Miroslav Bajtoš acdfb432d0 Upgrade eslint config and grunt-eslint to latest
- disable ES6 because PhantomJS does not support it yet
 - fix linter errors reported after the upgrade.
2016-12-06 16:05:13 +01:00
Amirali Jafarian ea4f3ecb05 Merge pull request #2972 from strongloop/delete_context_example
Remove `example/context`
2016-11-23 13:45:33 -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
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 308c18b1e0 Fix total calculation in example 2016-11-21 11:49:18 -05:00
Candy 640f3a8ca7 Update globalization structure 2016-09-22 11:58:00 +02:00
gunjpan 832e2c391c Discard sugar method for model creation
Current implementation of `app.model(modelName, settings)`
works as a sugar for model creation. In 3.0, this is
not supported anymore. This implementation reports an
error when sugar is used for model creation.
Includes:
 - Updated app.model() method
 - Fixed test cases reflecting the change
2016-09-07 10:40:23 +02:00
Setogit d4769c7adf Remove unnecessary g.log 2016-08-15 21:52:44 -07:00
Candy 3239942ff1 Update globalization 2016-08-04 17:35:21 -04:00
Candy b52a7217a9 Add globalization 2016-08-04 15:08:16 -04:00
Ryan Graham 6964914bab
update copyright statements 2016-05-03 15:50:21 -07:00
Miroslav Bajtoš f9702b0ace Use eslint with loopback config
Drop jshint and jscs in favour of eslint.

Fix style violations.

While we are at this, reduce the max line length from 150 to 100.
2016-04-06 10:45:30 +02:00
wfgomes e8cb132ed6 Fixing the model attach 2014-11-17 00:00:54 -03:00
wfgomes c30b18f9a5 typo of port server
typo of the console.log port server
2014-11-12 22:08:08 -03:00
Miroslav Bajtoš 7a1a3b8592 Move `context` example to a standalone app 2014-11-05 09:13:45 +01:00
Raymond Feng 885f4e047d Enable the context middleware from loopback.rest 2014-11-05 09:13:45 +01:00
Raymond Feng 246f38c05d Add context propagation middleware
- Implement the middleware `loopback.context`
 - Inject context into juggler and strong-remoting
 - Make http context optional and default to false
 - Optionally mount context middleware from `loopback.rest`
2014-11-05 09:13:44 +01:00
Ritchie Martori 5eca225c0a Fix remote method definition in client-server example 2014-06-19 12:15:46 -07:00
Miroslav Bajtoš ea5b9d16fc Rename DataModel to PersistedModel 2014-06-05 09:56:00 +02:00
Ritchie Martori d237ae5ddb Merge latest from master 2014-05-20 14:31:09 -07:00
Ritchie Martori ff2b5a70d6 Fix client-server example 2014-05-07 15:23:26 -07:00
Ritchie Martori e86a00de69 Merge branch master 2014-04-15 12:53:00 -07:00
Ritchie Martori 64b374907a Move proxy creation from remote connector into base model class 2014-03-27 14:47:29 -07:00
Ritchie Martori dcdbef861e Add Remote connector 2014-03-27 14:47:29 -07:00
Ritchie Martori ef7b724375 Initial client-server example 2014-03-27 14:47:29 -07:00
Ritchie Martori 2582c3fc65 Add replication example 2014-01-28 12:54:41 -08:00
Ritchie Martori 39b2a8affd Remove the todos example and fix doc example 2013-09-03 11:10:22 -07:00
Raymond Feng 836df227c6 Add more functions and tests for Application model 2013-07-18 11:44:25 -07:00
Raymond Feng a35d2b7365 rename asteroid to loopback 2013-07-16 10:42:47 -07:00
Raymond Feng e810213590 Experiment application model 2013-07-12 13:09:22 -07:00
Raymond Feng 130b596786 Remove the oracle dependency 2013-06-24 09:07:40 -07:00
Raymond Feng 17015eef9b Rename oracle connector 2013-06-20 17:53:42 -07:00
cgole 95050f43e3 port number in console log was incorrect in example app 2013-06-04 13:35:41 -07:00
Ritchie Martori d7df71c686 Add hasMany to defined models 2013-05-24 15:09:13 -07:00
Raymond Feng d856ca026d Bring up the oracle integration 2013-05-24 08:57:52 -07:00
Ritchie 787a6bcf43 Integrate remoting and jugglingdb fork 2013-05-24 07:59:23 -07:00
Ritchie 7806495471 Fix missing proto variable 2013-05-07 11:38:52 -07:00
Ritchie Martori 6b007fc9e7 Initial model refactor 2013-05-01 12:11:43 -07:00
Ritchie Martori a9f27183fa Doc updates 2013-04-26 10:10:13 -07:00
Ritchie Martori 7b9d7b28a9 Remove simple resource example 2013-04-17 17:43:51 -07:00
Ritchie Martori b9a239db32 Refactor various naming conventions. 2013-04-17 17:43:00 -07:00
Ritchie Martori d931019269 Removed oracle from examples 2013-04-17 13:17:09 -07:00
Ritchie Martori abe07271fa Inherit store from asteroid module and add dependencies 2013-04-15 14:38:06 -07:00
Ritchie Martori 621b845978 Allow asteroid modules to define and validate options 2013-04-15 12:36:37 -07:00
Ritchie Martori fc8afa066e Todo example 2013-04-15 10:14:54 -07:00
Ritchie Martori bd44dc5824 Remove global cache from example 2013-04-10 11:26:06 -07:00
Ritchie Martori 39f457eb12 Removed incorrectly added file 2013-04-10 11:25:32 -07:00
Ritchie Martori 7c2e73f53a Initial working store, model, connection, and collection 2013-04-10 10:55:13 -07:00
Ritchie Martori 2a0f68e434 init 2013-04-09 09:02:36 -07:00