Skip to content

Added remove support for Document entity. #625

Closed
wants to merge 134 commits into from
@engnxe
engnxe commented Sep 4, 2012

Added list of removed fields to pass ones to Exporter class and to fix Iterator implementation.
Fixed lithium\data\source\mongo_db\Exporter::_diff() method to compare arrays.

agborkowski and others added some commits Aug 19, 2011
@agborkowski agborkowski issue 82 Constraint Complex Array a23d562
@mackstar mackstar Added tests that satisfy correction of issues #42 and #32 efb260d
@mackstar mackstar Fixed type cast issue when value is an empty array ffa595b
@nateabele nateabele Implementing array-based filtering for `first()` and `find()` methods…
… in `\data\Collection`.
0f44ba6
@mackstar mackstar Tests are now passing for MongoDB fb7dae8
@rmarscher rmarscher MongoDb Exporter test case for adding an array to an existing document 3c3f076
@mackstar mackstar Added schema to Exporter tests 041edb2
@rspenc29 rspenc29 Updated _mapRecord() to remove nulls caused by left joins in hasMany …
…relationships
01f3060
@mackstar mackstar Added array tests to exporter tests ee62b0c
@nateabele nateabele Cleaning up formatting in `\data\collection\RecordSet`. b97d65a
@smergler smergler by resetting the schema and/or adding properties we break save, this …
…should not happen.
e446e10
@housebolt housebolt Fixed incorrect pathKey for 'objects' document 8625b30
@nateabele nateabele Fixing `Database` test, enabling complex constraints in `Query` objects. 16358a5
@nateabele nateabele Disabling redundant file storage option in MongoDB. 4f213eb
@nateabele nateabele Throwing exceptions on supported constraint operators. 2cd4ecc
@nateabele nateabele Implementing array-based filtering for `first()` and `find()` methods…
… in `\data\Collection`.
b28b49c
@nateabele nateabele Implementing `Schema` class. 929f14c
@daschl daschl Data: adapting Mock DataSource to reflect recent changes in describe() 4370b44
@daschl daschl Data: adapting datasources to reflect describe() changes and adding d…
…ocblock data.
1f86442
@Howard3 Howard3 wip schema implementation ccde28c
@nateabele nateabele QA fixes. db6cf17
@Howard3 Howard3 wip schema implementation 674fc95
@nateabele nateabele Finishing integration of new `Schema` object into core. Adding access…
…or methods for convenience. Misc. refactoring. Updating tests and mocks.
00e46d5
@nateabele nateabele Removing deprecated method `\data\Model::_connection()`. 902c0cd
@nateabele nateabele Refactoring data namespace. Cutting out the middle man in mock classe…
…s to simplify testing.
abc182c
@nateabele nateabele Cleaning up model, entity and source tests. 4923f2a
@nateabele nateabele Cleaning up Schema class and associated code, adding test cases. Clea…
…ning up unneeded dependencies in existing tests.
c920576
@rmarscher rmarscher adding a mongodb exporter update test for a casted array of documents d15dacb
@nateabele nateabele Cleaning up Schema and Document object tests. Minor fixes. 86d4d21
@nateabele nateabele Implementing `Entity::__toString()` and `Model::title()`, for default…
… title generation in string casting.
0eb924f
@nateabele nateabele Changing `Model::find('list')` to use new `title()` implementation. 2d1466c
@nateabele nateabele Implementing safe class-checking in `MongoDb` adapter constructor. 945d908
@nateabele nateabele Skipping Mongo data conversion tests in `Document` if Mongo not insta…
…lled.
e89d95a
@nateabele nateabele Ensuring that model title gets restored when running tests. 4f208c8
@kalnado kalnado allow for $and and $nor conditional operators f95aa83
@kalnado kalnado added tests for mongodb conditional operators b6049c9
@nateabele nateabele Allowing `\data\Model::find()` to accept object keys. Cleaning up old…
… tests.
df1fb8f
@nateabele nateabele Allowing schemas to be defined short-hand. Changing from `Exception` …
…to `RuntimeException` for locked schemas.
6ccb083
@nateabele nateabele Additional sanity checking for binding keys in `\data\model\Relations…
…hip`.
d00faf2
@nateabele nateabele Improving boolean operator recognition in `MongoDb` adapter. 8c8bd6b
@nateabele nateabele Improving integration of `Schema` object, misc. code cleanup. 2968e76
@nateabele nateabele Updating CouchDB to wrap documents inside `read()`. Updating CouchDB …
…test case. Breaking Schema classes into 3.
ded0857
@nateabele nateabele Cleaning up `Record` test. dea5b2f
@nateabele nateabele Misc. refactoring and test-updating. 2ba4af4
@nateabele nateabele Fixing document keying during cast. Misc. code cleanup. a66e1d7
@nateabele nateabele Refactoring `DocumentSchema::cast()` to reduce complexity. a0ea6e1
@nateabele nateabele Fixing schema handling in data tests. 9e52e59
@nateabele nateabele Fixing issue with manually coercing empty values to arrays. Adding do…
…cumentation to `DocumentSchema`.
b04ba1c
@nateabele nateabele Refactoring `\data\Model` to remove unnecessary fields. f4bb38e
@rmarscher rmarscher fix bug with iterating properties in Document with foreach more than …
…once (Document->rewind was not resetting $this->_data)

adding an additional iteration of foreach in DocumentTest::testPropertyIteration
2738864
@nealerickson nealerickson Added support relationships with NULL constraints. Previously unable …
…to configure a hasMany constraint with a null value in order to generate an IS NULL condition.
5c4e4eb
@nateabele nateabele Cleaning up `Database` tests. b90d591
@masom masom Initial commit of PostgreSql Adapter. 799ff89
@masom masom Moved my_sql result to pdo. Adds Postgresql tests. Currently fails du…
…e to schema being somewhat broken
adac82a
@masom masom Wrong typo/paste creeped in. 979fa78
@masom masom Fixes lastInsertId 6bbf873
@nateabele nateabele Merge branch 'master' into data cdaf927
@jails jails Fix some bugs of new Schema object integration d4bb04a
@jails jails Fix typo. 4616f61
@jails jails Fix typo. 147b2ae
@jails jails Fix typo again. 21ee634
@jails jails Disable Model::Config() call on autoload 5d41fdc
@jails jails Fix test case. 9ee0e5d
@jails jails Refactor Model::Config() for a lazier database connection and relatio…
…ns initialization
a505570
@jails jails Fix comment. b71fb03
@nealerickson nealerickson Added test case for type casting arrays of subobjects. 2eac3bc
@nateabele nateabele Cleaning up code formatting and docblocks in `\data\Model`. Dropping …
…unneeded `__init()` method.
a2c82fb
@nateabele nateabele Code cleanup and refactoring in `\core\Adaptable` and `\data\Connecti…
…ons`
8740b04
@nateabele nateabele Code cleanup in `\data\source\Database`. a6edce4
@jails jails Remove unused/deprecated stuff 5d20d53
@jails jails Remove unused/deprecated stuff 5cb1229
@nateabele nateabele Merge pull request #472 from jails/data
Remove unused/deprecated stuff
fffaa53
@jails jails Bug in casting subobject arrays solve #471 581a11a
@nateabele nateabele Merge pull request #473 from jails/data
Bug in casting subobject arrays solve #471
405257a
@jails jails Fix some issues of lithium\util\Collection. 77a12c6
@nateabele nateabele Merge branch 'data' of github.com:UnionOfRAD/lithium into data 5bbda92
@jails jails Fix some issues of lithium\util\Collection. c435967
@jails jails Fix some issues of lithium\util\Collection. 7e0f3ed
@nateabele nateabele Merge pull request #474 from jails/data
Fix some issues of lithium\util\Collection.
08d94f4
@nateabele nateabele Adding explicit string cast to `\data\Entity::__toString()`, adding t…
…est case for `Form` helper verifying `Entity` objects are handled correctly. Fixes #205.
d6dcec8
@ifunk ifunk Database::read() should NOT return false when 'limit' is used and the…
…re are no results.
d6dec53
@jails jails Add by default the context alias on ambiguous fields on read context.…
… Fix issue #403 and #414.
00c4492
@nateabele nateabele Merge pull request #482 from jails/pr
Add by default the context alias on ambiguous fields on read context.
e2afeca
@jails jails Add GROUP BY test case. 2e5c3aa
@nateabele nateabele Merge pull request #484 from jails/pr2
Add GROUP BY test case.
2a86e9a
@jails jails Add 'having' to database adapter dd5968b
@nateabele nateabele Merge pull request #485 from jails/pr3
Add 'having' to database adapter
de87d62
@jails jails Expression support for SQL compatible datasources and value casting 29d5120
@jails jails New expression syntax for PDO datasources 478a724
@nateabele nateabele Merge pull request #492 from jails/pr7
Expression value support for PDO datasources and value casting
64187f2
@nateabele nateabele Merge pull request #493 from jails/pr8
New expression syntax for PDO datasources
d8ff103
@jails jails Fix #206 5d29fa8
@nateabele nateabele Merge pull request #498 from jails/pr15
Fix #206
04d11b2
@jails jails Fix #492 time zone issue. f7fb3c5
@nateabele nateabele Merge pull request #504 from jails/pr16
Fix #492 time zone issue.
f10d869
@jails jails Close #468. 49f2971
@nateabele nateabele Merge pull request #506 from jails/pr18
Close #468.
35d96cb
@jails jails WARNING: backwards-incompatible change to Model::config() 7d36c86
@nateabele nateabele Merge pull request #515 from jails/pr20
WARNING: backwards-incompatible change to Model::config()
c0634b3
@jrgns jrgns Refactored MySQL::connect into Database::connect, addedd exceptions
Incorporated suggestions from https://gist.github.com/2788016

Removed inline comments and redundant breaks

Added tests, tweaks

Fixed syntax
3b69cca
@jrgns jrgns Refactored MySQL::connect into Database::connect, addedd exceptions
Incorporated suggestions from https://gist.github.com/2788016

Removed inline comments and redundant breaks

Added tests, tweaks

Fixed syntax
8fa5354
@nateabele nateabele Updating database test cases with new constructor configuration. 9f4e373
@jails jails Fix #529. 2739398
@nateabele nateabele Merge pull request #537 from jails/pr22
Fix #529.
08c9b34
@jails jails Refactor collections and results classes for better consistency and f…
…ix some issues.
c31c3d3
@jails jails Rewrite the Sqlite3 driver on top of PDO. 6b9f953
@jails jails Updating database adapter test cases with new constructor configuration. 2b5621c
@nateabele nateabele Merge pull request #541 from jails/pr25
Updating database adapter test cases with new constructor configuration.
5201902
@nateabele nateabele Merge pull request #540 from jails/pr24
Refactor collections and results classes for better consistency and fix some issues.
e3bb0b3
@jails jails Harmonize all PDO drivers and remove unused stuff 52af789
@nateabele nateabele Merge pull request #542 from jails/pr26
Harmonize all PDO drivers and remove unused stuff
6380523
@jails jails Remove duplicate test in RecordSetTest::testToInternal() abb6f66
@jails jails Optimize util\Collection::valid() af88475
@jails jails Fix data\Collection::valid() 2c18165
@nateabele nateabele Merge pull request #546 from jails/pr27
Fix an issue on data\Collection::valid() when called before current() / next() / rewind()
c8071da
@fitzagard fitzagard Tests the casting of MongoIds in nested arrays. 402f530
@jails jails Data collection Minor Refactoring a8aacc8
@nateabele nateabele Merge pull request #566 from jails/pr28
Data Collection Minor Refactoring
b6e0a92
@jails jails Refactor Schema Casting : WARNING BC BREAK e022ea4
@nateabele nateabele Merge pull request #570 from jails/pr30
Refactor Schema Casting close #567 : WARNING BC BREAK
16c70cc
@jails jails Fix: Model::meta() should be overridable 4acc148
@jails jails Data Collection refactoring & RecordSet optimisation df20a9f
@nateabele nateabele Merge pull request #577 from jails/pr33
Data Collection refactoring & RecordSet optimisation
e03fd3e
@nateabele nateabele Merge pull request #578 from jails/pr34
Fix: Model::meta() should be overridable
7b8541e
@nateabele nateabele Merge pull request #552 from fitzagard/data
Tests the casting of MongoIds in nested arrays.
2ba1072
@jails jails Fix ExporterTest Schema::cast() according to #567 d8c503b
@nateabele nateabele Merge pull request #583 from jails/pr39
Fix `Schema::cast()` using according to #567
4a3f480
@jails jails Lazy load model's relationships 61f4140
@nateabele nateabele Merge pull request #586 from jails/pr40
Lazy load model's relationships
baa62ee
@nealerickson nealerickson Ensure that query conditions are cast properly when using table alias…
…es in conditions key.
198523c
@nealerickson nealerickson Ensure that values are properly cast for INSERT and UPDATE queries. 9e9945c
@nateabele nateabele Merge pull request #617 from nealerickson/data
Fix in casting query conditions
884e839
@nealerickson nealerickson Changed fieldName to a protected method. Added todo discussing future…
… improvements needed.
275e1bc
@engnxe engnxe Added remove support for Document entity. 0692144
@engnxe engnxe closed this Sep 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.