Ritchie Martori
1c7527ae3d
Add missing test/model file
2014-05-02 18:12:50 -07:00
Ritchie Martori
918596f035
Refactor DataModel remoting
...
- Move DataModel remoting setup into setup phase
- Add a remoting type converter for DataModels
- Move model tests into re-usable test utilities
- Move other test utilities into new test utilities folder
2014-05-02 18:12:24 -07:00
Ritchie Martori
e35309ba27
Fixes for e2e replication / remote connector tests
2014-04-29 17:17:49 -07:00
Ritchie Martori
e86a00de69
Merge branch master
2014-04-15 12:53:00 -07:00
Ritchie Martori
c521b3c386
Allow app.model() to accept a DataSource instance
2014-03-21 12:18:00 -07:00
Ritchie Martori
e7f64a3abf
Add karma for running browser tests
2014-02-12 10:17:02 -08:00
Raymond Feng
592f3f9278
Make sure the configured ACL submodel is used
2014-02-03 16:00:01 -08:00
Ritchie Martori
a0e595dce8
Add model tests
2014-01-28 14:46:16 -08:00
Miroslav Bajtoš
20766e251a
Add loopback.compat to simplify upgrade to 1.6
...
Add a compatibility layer that allows applications based on LB pre-v1.6
to work with 1.6 versions with a minimum amount of changes required.
New flag(s):
compat.usePluralNamesForRemoting
2014-01-27 10:29:57 +01:00
Ritchie Martori
216fee3015
Add access type checking
2013-12-06 17:04:47 -08:00
Miroslav Bajtos
cf541cb828
Add test for findById returning 404
...
The test verifies the remoting configuration of
loopback-datasource-juggler, ensuring that
`DataAccessObject.findById()` has `rest.before` handler
correctly set up.
2013-11-21 16:23:01 +01:00
Raymond Feng
48a0242711
Define the models/relations for ACL
2013-11-14 21:19:56 -08:00
Raymond Feng
858ec8714d
Fix the id and property access
2013-10-04 15:53:02 -07:00
Ritchie
8a7086be5c
Add root true to remote methods
2013-07-24 17:21:15 -07:00
Raymond Feng
267f94c542
Add a deleteById test
2013-07-22 10:00:07 -07:00
Ritchie Martori
0b5e0d4252
More cleanup for test/README.md
2013-07-16 13:46:33 -07:00
Ritchie Martori
253d42a8e8
Cleanup test markdown
2013-07-16 13:41:17 -07:00
Raymond Feng
2f773115fe
rename asteroid to loopback
2013-07-16 11:02:06 -07:00
Ritchie Martori
fc0777de08
Add basic email verification
2013-07-03 13:40:14 -07:00
Ritchie Martori
1abe583029
Add initial User model
2013-07-03 13:40:13 -07:00
Ritchie Martori
90d990b798
Remove app.modelBuilder()
2013-07-03 13:40:13 -07:00
Ritchie Martori
7b8e94019f
Add normalized properties to Models
2013-07-03 13:40:12 -07:00
Ritchie Martori
88f634df38
model.find => model.findById, model.all => model.find
2013-06-24 12:26:46 -07:00
Ritchie Martori
2669ed1c23
Update tests
2013-06-21 16:48:53 -07:00
Ritchie Martori
cc8d748a47
Add test doc file.
2013-06-21 16:41:33 -07:00
Ritchie Martori
166451443a
Updated docs, updated tests
2013-06-12 15:44:38 -07:00
Ritchie Martori
935cd5cc77
Doc updates, tests
2013-06-11 09:01:44 -07:00
Ritchie Martori
7d0858b22e
Remove node modules, add initial tests
2013-06-07 12:57:51 -07:00
Ritchie
22a55be841
Documentation updates
2013-06-05 17:11:21 -07:00