Commit Graph

1262 Commits

Author SHA1 Message Date
Dan Shultz bbf94dee15 Fixing Railway Hoisting Issue
orm is defined on the var declared two lines below the if block and not on the expected global reference
2013-02-01 09:07:00 -05:00
Anatoliy Chakkaev cdd328c902 Revert validatable fix 2013-01-30 23:08:52 +07:00
Anatoliy Chakkaev 03215fbf52 Merge pull request #201 from anatoliychakkaev/master
Some tweaks
2013-01-30 07:33:48 -08:00
Anatoliy Chakkaev ae60569b9d 0.2.0-17 2013-01-30 22:30:56 +07:00
Anatoliy Chakkaev 9f0dfeb58a Add attr param to custom validator, closes #200 2013-01-30 22:30:31 +07:00
Anatoliy Chakkaev 5b33c2a0f1 Removed unused experimental stuff 2013-01-29 18:47:03 +07:00
Anatoliy Chakkaev cddb24ec84 0.2.0-16 2013-01-23 07:51:07 +07:00
Anatoliy Chakkaev a5e84c9f32 Update broken test case 2013-01-23 07:48:56 +07:00
Anatoliy Chakkaev 785868962c 0.2.0-15 2013-01-23 06:31:22 +07:00
Anatoliy Chakkaev 707fb01713 Make pathTo available in db/schema 2013-01-23 06:31:02 +07:00
Anatoliy Chakkaev 16a55a1bce 0.2.0-14 2013-01-23 03:23:21 +07:00
Anatoliy Chakkaev 59e80e8454 Fix uniqueness validation (mongo ids) 2013-01-23 03:22:48 +07:00
Anatoliy Chakkaev d03dbfcb99 Throw error when model is not configured for webservice 2013-01-23 03:22:31 +07:00
Anatoliy Chakkaev c6d7360f51 Update test for #128 2013-01-22 23:57:30 +07:00
Anatoliy Chakkaev 9fcd8235fe Merge branch 'master' of github1602:1602/jugglingdb 2013-01-22 23:50:28 +07:00
Anatoliy Chakkaev cefd79dbf6 Return null when findOne could not find record, closes #128 2013-01-22 23:47:14 +07:00
Anatoliy Chakkaev c882c162c2 Merge pull request #198 from anatoliychakkaev/master
Fixed for cs-compound
2013-01-22 08:29:47 -08:00
Anatoliy Chakkaev 0096c94d8f 0.2.0-13 2013-01-22 23:27:57 +07:00
Anatoliy Chakkaev 8cfa00a1b2 Work with cs-compound 2013-01-22 23:27:49 +07:00
1602 a770f20c08 One more fix in updateAttribute test with uniqueness validation 2013-01-22 03:54:06 +07:00
Anatoliy Chakkaev 188d4c7b4f Merge branch 'master' of github1602:1602/jugglingdb 2013-01-22 03:49:21 +07:00
Anatoliy Chakkaev 3919630d9a Update validations test 2013-01-22 03:48:12 +07:00
Anatoliy Chakkaev a1678a3802 Merge pull request #197 from anatoliychakkaev/master
Implement schema.extendModel(model, props)
2013-01-21 10:48:58 -08:00
Anatoliy Chakkaev 0f592d4bf5 Implement schema.extendModel, closes #157 2013-01-22 01:48:04 +07:00
Anatoliy Chakkaev a58ace2f6b Merge pull request #196 from anatoliychakkaev/master
findOrCreate, misc amends
2013-01-21 10:22:50 -08:00
Anatoliy Chakkaev 60a680f039 Add adapter (memory-bogus) test 2013-01-22 01:22:08 +07:00
Anatoliy Chakkaev 91fee1d565 Make memory adapter async 2013-01-22 01:21:43 +07:00
Anatoliy Chakkaev 9dbc8fa50b Implement findOrCreate, requested in #190 2013-01-22 01:21:31 +07:00
Anatoliy Chakkaev 71e1b5159e Merge pull request #195 from anatoliychakkaev/master
Test case for uniqueness validation
2013-01-21 09:48:52 -08:00
Anatoliy Chakkaev 40b64cfc5e Added test for #191 2013-01-22 00:48:10 +07:00
Anatoliy Chakkaev 4d47d8348d Revert hasMany change 2013-01-21 23:08:13 +07:00
Anatoliy Chakkaev ea01571450 Update readme: clienside, describe built-in adapters 2013-01-21 22:52:17 +07:00
Anatoliy Chakkaev 44d8fbe963 Merge branch 'master' of github.com:1602/jugglingdb 2013-01-21 22:42:46 +07:00
Anatoliy Chakkaev 1010d5d64d Merge pull request #192 from robblovell/hasmany
Hasmany
2013-01-21 07:42:01 -08:00
Anatoliy Chakkaev 56e63bdacf Merge pull request #194 from anatoliychakkaev/master
Allow to set model configuration
2013-01-21 07:00:16 -08:00
Anatoliy Chakkaev aaf671bf9b 0.2.0-12 2013-01-21 20:37:15 +07:00
Anatoliy Chakkaev d5758ec8be Added schema::model::set for railway 2013-01-21 20:29:41 +07:00
Anatoliy Chakkaev 1e79dbfc5f 0.2.0-11 2013-01-20 23:06:28 +07:00
Anatoliy Chakkaev 02b7f707ff Added http (WebService) adapter 2013-01-20 23:05:45 +07:00
Anatoliy Chakkaev bd325b7132 0.2.0-10 2013-01-19 20:54:48 +07:00
Anatoliy Chakkaev e9b7e89ee9 Accept adapter as first argument of Schema constructor 2013-01-19 20:50:53 +07:00
Anatoliy Chakkaev 5efd832881 Merge pull request #193 from autoric/master
.include does not always invoke callback
2013-01-18 12:28:56 -08:00
Erin Noe-Payne d4043d715f fix lost callback 2013-01-18 12:31:49 -05:00
Robb Lovell 84a9582bc0 attempted to write a test for hasmany all function. this commit has it commented out 2013-01-17 12:00:59 -08:00
Robb Lovell 6f9c495720 added 'all' method to hasMany in abstract-class.js to correctly support a 'many' collection. added .idea to .gitignore to ignore WebStorm projects. 2013-01-17 11:16:52 -08:00
Anatoliy Chakkaev fb8d0acc80 Merge branch 'master' of github.com:1602/jugglingdb 2013-01-15 17:55:08 +07:00
Anatoliy Chakkaev 282d685768 Updated readme 2013-01-15 17:53:35 +07:00
Anatoliy Chakkaev 89c154eb07 Merge pull request #187 from abroweb/master
configurable autoupdate
2013-01-08 06:19:28 -08:00
Asp3ctus 4f7ffb903e fix typo :) 2013-01-08 15:37:58 +06:00
Asp3ctus c78a4de375 app.enable('autoupdate') option support 2013-01-08 15:34:59 +06:00