1
0
mirror of synced 2024-12-14 15:16:04 +03:00
Commit Graph

309 Commits

Author SHA1 Message Date
zYne
0835a57ce1 Fixes #192, added Doctrine_Record_State_TestCase
Ticket: 192
2006-10-25 20:02:40 +00:00
zYne
5ed9eeffd7 Import builder now supports default values and notnull constraints, added missing test case (Doctrine_Query_Update_TestCase), fixes #189
Ticket: 189
2006-10-24 08:56:47 +00:00
zYne
daaab94cfe Developed Doctrine_Import, changed Doctrine_Schema objects to have unified constructor 2006-10-23 19:55:30 +00:00
zYne
7e7a0b879c Fixes #185 2006-10-23 16:19:47 +00:00
zYne
599dc759fb Fixes #180 2006-10-20 18:21:42 +00:00
zYne
20f504253b added Mysql export driver + updated some datadict drivers 2006-10-19 20:56:59 +00:00
zYne
ec8f446fad Fixes #175 2006-10-18 20:17:49 +00:00
zYne
1c8cf0271e DQL: DELETE support added 2006-10-18 17:37:20 +00:00
zYne
cce886dadd Fixes #174 2006-10-17 21:18:57 +00:00
pookey
34a8acba63 adding a test to show a situation where cascading inserts do not work 2006-10-17 19:02:00 +00:00
zYne
bfcfa9f2f2 Aggregate function support added 2006-10-17 17:21:21 +00:00
pookey
5d8ac6d0a0 pookey: adding test cases for Doctrine_Record::copy refs #172 2006-10-16 18:10:38 +00:00
pookey
e3137c70a4 pookey: error with copy, refs #172 2006-10-16 16:17:07 +00:00
pookey
edaf23df2d adding new enum tests ( refs #170 ) 2006-10-15 22:50:46 +00:00
pookey
47d8bd2437 updating tests refs #168 2006-10-15 17:24:35 +00:00
pookey
716a91e511 improving (and breaking) find() test cases, refs #168 2006-10-15 17:15:16 +00:00
zYne
da6f4a3849 Fixes #166 2006-10-14 16:58:59 +00:00
romanb
765c06b7c1 Improved some tests. 2006-10-13 16:28:40 +00:00
zYne
db433c8449 Fixes #163, #162, removed Doctrine_Record::__call() 2006-10-12 21:01:53 +00:00
zYne
3b24837755 added missing test case class 2006-10-12 20:32:16 +00:00
zYne
f40601fefe Fixes #161, DQL : added support for EJB 3 -style JOIN syntax 2006-10-12 19:57:56 +00:00
zYne
8b4bc0f41c Fixes #159, #160, added EXISTS expression support as well as correlated subquery support 2006-10-11 20:44:21 +00:00
romanb
db25f46e52 Finished the validation changes.
Ticket: 150
2006-10-11 16:24:18 +00:00
zYne
5957622575 Fixes #157
Ticket: 157
2006-10-10 18:09:20 +00:00
romanb
171226d532 Continued work on the validation component.
Ticket: 150
2006-10-10 16:15:43 +00:00
romanb
b0f0537071 Necessary changes to the validation components. Further improvements and docs will follow in the next days.
Ticket: 150
2006-10-09 18:00:14 +00:00
zYne
499da8f9b8 Fixes #156
Ticket: 156
2006-10-09 16:32:37 +00:00
zYne
cba61cb346 Fixes #155 2006-10-08 19:10:21 +00:00
zYne
67da38b07d Validators updated, *NOTE* this breaks BC:
- validators codes are now string instead of integers (constants)
- validating is now handled in record level
- added new component Doctrine_Validator_ErrorStack
- new methods Doctrine_Record::isValid() and Doctrine_Record::getErrorStack()
- errorStack now as a record instance variable
2006-10-08 18:12:27 +00:00
zYne
847bd1ade6 new attribute: Doctrine::ATTR_ACCESSORS, DQL subquery support, accessor invoking support 2006-10-06 16:50:00 +00:00
zYne
4408774100 DQL Component Aliases added! Fixes #142
Ticket: 142
2006-10-03 17:24:13 +00:00
zYne
766aec2c94 added missing test cases 2006-10-03 16:03:19 +00:00
zYne
6210a60611 Fixed a bug when saving a record with null valued boolean column 2006-10-02 20:51:36 +00:00
pookey
9589f486ef pookey: added boolean test cases for setting null values 2006-10-02 01:31:07 +00:00
pookey
04a3cb9f63 pookey: fixed email validator and added more test cases 2006-10-02 01:23:23 +00:00
zYne
8abb979578 Fixes #85 2006-10-01 16:14:26 +00:00
zYne
ab99a5fcc3 Fixed fatal bug in Doctrine_Hydrate resulting in wrong mappings when result set contains rows in 'wrong' order. 2006-10-01 14:35:38 +00:00
romanb
05a23f6a30 Added a test case to track an ugly bug. 2006-10-01 13:54:15 +00:00
zYne
4eb1060b13 added new tests 2006-10-01 11:21:25 +00:00
zYne
00cbc5d18e Fixed many-to-many handling when join table component is accessed before the associated component, fixes #136, #84 2006-10-01 10:10:11 +00:00
zYne
bbc3d3f6be Major change on how transactions are being handled: insert / update queries are now executed immediately and only deletes are being gathered (due to delete optimization strategies). Fixes #138, #135 2006-09-30 12:36:03 +00:00
Tanken
cba5846b6a Added unit test for queries on multiple left join branches [ticket #139]
Ticket: 139
2006-09-30 11:36:14 +00:00
zYne
14b95350d0 Fixes #132, refactored some test cases
Ticket: 132
2006-09-28 21:21:33 +00:00
zYne
7b84d15530 Fixes #126, #127
Ticket: 126
2006-09-27 21:21:33 +00:00
jhassine
c57471091f Unit tests' path problem fixed 2006-09-27 21:20:22 +00:00
zYne
c239ff4bba Added exception info in Doctrine_Record doc blocks, fixes #125
Ticket: 125
2006-09-27 18:02:13 +00:00
zYne
bed3a3712d added fetch* methods to new Doctrine_DB 2006-09-27 10:55:02 +00:00
zYne
a1d3e137f2 Fixed enum test case 2006-09-26 21:32:00 +00:00
zYne
e3f5aa9fb2 Boolean type bugs fixed, fixes #101
Ticket: 101
2006-09-26 21:12:14 +00:00
zYne
2c16937dec Fixed boolean test case 2006-09-26 20:45:29 +00:00
zYne
cec372dfe1 Doctrine_DataDict_Sqlite driver 2006-09-25 21:08:02 +00:00
pookey
70ebe0d9af concept of how we might pass params to the test script 2006-09-25 08:42:15 +00:00
jhassine
6dd9bddc71 If tests are run from command line uses text reporter instead of HTML. 2006-09-25 07:10:37 +00:00
zYne
4bb224a3fc 2006-09-24 19:57:58 +00:00
zYne
617213b8ca fixed tests 2006-09-24 19:54:55 +00:00
zYne
96177e3e22 Added unit tests to cover all eventlistener events, fixed fatal transaction bug 2006-09-24 19:38:45 +00:00
pookey
0a8123cf7a the start of a new system to allow a defined DSN to be used for testing 2006-09-24 17:11:05 +00:00
zYne
ddca18a141 Removed InvalidKeyException references from Doctrine_Table 2006-09-24 12:55:25 +00:00
zYne
d46cacf233 2006-09-24 09:28:27 +00:00
zYne
1278934f83 Fixed #108
Ticket: 108
2006-09-23 17:02:30 +00:00
Tanken
110a6764e8 Added a unit test for access of one-to-one related object from the foreign side. See ticket #108 2006-09-23 11:56:57 +00:00
zYne
bcbdba0e78 New Doctrine_DB enhancements 2006-09-23 10:44:39 +00:00
zYne
0173d0aaed Small fix 2006-09-22 22:29:06 +00:00
zYne
10e7d416c3 Doctrine_DB_TestCase, Doctrine_DB_Exception added, enhanced parseDSN method 2006-09-22 21:20:21 +00:00
pookey
a1bed77af2 added boolean test case 2006-09-22 08:07:49 +00:00
pookey
8ea7b0b8b5 boolean test case added (currently fails on selecting when false) 2006-09-21 21:18:30 +00:00
zYne
1862f00fc6 new Doctrine_DB to the draft 2006-09-21 21:09:58 +00:00
pookey
08a4de4889 removing unneeded ini_set 2006-09-21 20:15:41 +00:00
zYne
fcdcb57f4f Added the missing test case 2006-09-21 19:38:46 +00:00
pookey
3be1d00281 refs #62 - beginning of test case NOT COMPLETE - I haven't got the testing framework running on my machine yet 2006-09-21 15:09:48 +00:00
zYne
0244d3dc4d Refactored Doctrine_View 2006-09-20 21:40:16 +00:00
zYne
935fbb5520 Removed deprecated constants 2006-09-20 21:18:41 +00:00
zYne
ebad53b79d Removed object cache and all references to it, ticket #89 fixed 2006-09-20 21:07:13 +00:00
zYne
43980029d4 Gzip datatype added 2006-09-20 15:46:25 +00:00
zYne
9b951928be UnitOfWork and Transaction under the Doctrine_Connection namespace 2006-09-20 09:55:44 +00:00
zYne
9d4c4216b7 added Doctrine_UnitOfWork, removed unnecessary methods from Connection class 2006-09-20 09:46:52 +00:00
zYne
7b52c80c53 Refactored Doctrine_Connection: separated into two different classes Doctrine_Connection and Doctrine_Transaction 2006-09-20 09:35:29 +00:00
zYne
f2a2d3e51e Fixed DQL OrderBy parser bug 2006-09-18 17:32:12 +00:00
zYne
41ee9173f1 method name changes for better custom getter/setter compatibility
Doctrine_Record::getID() -> obtainIdentifier()
Doctrine_Record::setID() -> assignIdentifier()
2006-09-17 17:59:04 +00:00
zYne
ddbf6c949b Fixed default value support + camelCase column problems 2006-09-17 15:44:10 +00:00
zYne
1c782a086d Support for application level default values 2006-09-15 20:56:25 +00:00
zYne
7914695e6a DQL update: AND an OR as equivalent operators for && and || 2006-09-15 10:48:59 +00:00
zYne
120d18565c Tests and implementation for DQL functions contains(), like() and regexp() 2006-09-15 10:04:22 +00:00
zYne
eacb78148e added new DQL function: contains 2006-09-14 21:10:02 +00:00
zYne
871f3c418d DQL enum type support (still not working for prepared queries) 2006-09-13 20:47:29 +00:00
zYne
16d964e4ba Fixed the core get() / set() issue 2006-09-12 21:36:36 +00:00
zYne
e49319f490 New component Doctrine_EventListener_AccessorInvoker for automatic invoking of get* and set* methods 2006-09-12 10:15:58 +00:00
zYne
3dca74f2d2 Association self-referencing fetching now works (still not integrated into DQL) 2006-09-11 21:46:01 +00:00
zYne
bce726d66c Doctrine_Collection::loadRelated() bug fixed 2006-09-08 23:20:51 +00:00
zYne
7ef7031c37 toArray test cases 2006-09-07 21:30:21 +00:00
zYne
276af65256 Support for passing an array as constraint/validator argument 2006-09-04 06:55:16 +00:00
zYne
7bb07a5be1 Syntax error fix 2006-09-04 06:27:27 +00:00
zYne
087de88f7c Case insensitive column names 2006-09-03 19:20:02 +00:00
zYne
c5e4f366d4 Tests for covering the Doctrine_Collection::loadRelated functionality for basic many-to-many relations 2006-09-03 17:32:35 +00:00
zYne
da9d179d9f Support for mapping table column values as collection indexes 2006-09-01 21:30:18 +00:00
zYne
155f5193ec New fetchmode constants (implementation later) 2006-08-31 22:00:44 +00:00
zYne
c929174385 Doctrine_Table::getForeignKey -> Doctrine_Table::getRelation 2006-08-31 09:04:14 +00:00
zYne
2dd3e9743a Doctrine::ATTR_QUERY_LIMIT constant added 2006-08-29 20:09:31 +00:00
jhassine
8c294ababa * Added some test cases for the importing part. The new tests will fail for now because of the lacking implementation.
Refs #11
2006-08-27 02:21:20 +00:00
jhassine
fd3bffc7d5 * Added Schema classes and some testcases (refs #11) 2006-08-26 22:27:16 +00:00
zYne
9bd341d708 Doctrine_Record::countRelated() added 2006-08-25 23:50:55 +00:00
zYne
cfa6a512f3 Fixed ticket #26 2006-08-25 20:13:37 +00:00
zYne
d283fbf1c7 Preliminary support for DQL aggregate value selecting 2006-08-25 18:17:20 +00:00
zYne
70c57c7f08 Firebird LIMIT support updated, severe query parser bug fixed 2006-08-23 10:11:40 +00:00
zYne
5780e3b9b7 removed the compile call from unittestcase 2006-08-22 21:18:06 +00:00
zYne
3adb4338b1 2006-08-22 20:14:29 +00:00
zYne
8e3aead181 Tests updated for classify / tableize 2006-08-22 19:34:40 +00:00
zYne
a0958f7d0e 2006-08-21 23:20:33 +00:00
zYne
6fffa9e68d Manual codes updated Session -> Connection 2006-08-21 22:51:27 +00:00
zYne
acced2b987 DQL Limit now works with normal many-to-many relations as well as many-to-many relations using column aggregation inheritance 2006-08-21 22:24:09 +00:00
zYne
7ca5397054 Session flushing bug with proxy objects fixed 2006-08-21 22:04:13 +00:00
zYne
bdce1d8d62 little DQL LIMIT fix 2006-08-21 21:04:20 +00:00
zYne
beda312f1c DQL Limit now works with prepared queries 2006-08-21 20:36:11 +00:00
zYne
f3c0a27d6b Ability to pass null to rawSql / Query constructor, Doctrine uses then the current connection 2006-08-21 19:48:24 +00:00
zYne
b887ca946f Transaction introduction updated 2006-08-21 11:18:28 +00:00
zYne
8755e5ab50 DQL - SQL conversion LIMIT clause parsing examples added 2006-08-21 10:43:44 +00:00
zYne
f44cc73215 Minor rawSql fix 2006-08-20 19:25:04 +00:00
zYne
38a4a23c5e rawSql parser fixed 2006-08-20 19:21:52 +00:00
zYne
5059dbc90d Sqlite Datadict updated, Doctrine_Record::merge fixed 2006-08-20 18:52:07 +00:00
zYne
c9b9017985 Docs updated, more tests for DQL LIMIT 2006-08-17 09:42:18 +00:00
zYne
75a2dea3b1 Minor testcase fix 2006-08-16 09:21:47 +00:00
zYne
593d5bb847 DQL LIMIT improved 2006-08-16 09:17:43 +00:00
zYne
f7602a3bf5 DQL Limit rewrite 2006-08-15 23:25:53 +00:00
zYne
2e0330bfba added Query Limit TestCase 2006-08-15 21:45:00 +00:00
pookey
b022675ab7 little refactorings 2006-08-15 21:33:41 +00:00
pookey
e75f3598c3 Relation fetching refactoring 2006-08-15 21:33:18 +00:00
pookey
76081664b5 Empty values now pass email validator 2006-08-15 21:32:59 +00:00
doctrine
bc3c8c2eb8 Docs updated 2006-08-08 09:07:55 +00:00
doctrine
e3df7b6bd0 2006-08-07 22:25:25 +00:00
doctrine
9c34cb2937 Started the building of Doctrine_ValueHolder 2006-08-07 09:55:46 +00:00
doctrine
ae738ccb97 Some new manual code examples 2006-08-06 20:46:12 +00:00
doctrine
7119471b48 Doctrine_Collection::loadRelated() added 2006-07-27 17:51:19 +00:00
doctrine
a20d0544dd CustomPrimaryKeyTestCase added 2006-07-26 17:09:00 +00:00
doctrine
17b452b2ce new component: Doctrine_RawSql 2006-07-21 23:22:15 +00:00
doctrine
bb1a39683c Core changes: getID() now returns array for better composite primary key support 2006-07-10 09:18:09 +00:00
doctrine
5471e9e2ad DQL: Condition parsing with nested conditions bug fixed 2006-07-04 22:36:22 +00:00
doctrine
143b274964 Query parser refactoring 2006-06-29 23:04:39 +00:00
doctrine
cff3c43017 DQL: improved self-reference handling 2006-06-26 21:18:19 +00:00
doctrine
8c4d8293e5 DQL: self-referencing support 2006-06-26 18:55:42 +00:00
doctrine
0062d9c3ff Complete DQL rewrite, Fixed : Ticket #13 2006-06-25 23:42:19 +00:00
doctrine
69e3a7112e Fixed: Sqlite compatibility issues 2006-06-25 18:34:53 +00:00
doctrine
7b37235fcc little enum fix 2006-06-21 20:02:40 +00:00
doctrine
d3098e3a25 Minor validator fix 2006-06-19 21:31:22 +00:00
doctrine
1fd421d09e Bug fix : Composite delete with aliases, Bug fix : DQL column aggregation inheritance to ANSI SQL compliant 2006-06-18 22:45:54 +00:00
doctrine
04ca92b094 Enum datatype added 2006-06-17 22:46:03 +00:00
doctrine
aacb279505 DQL: Preliminary support for HAVING + GROUP BY, New component Doctrine_Cache_Query_Sqlite 2006-06-14 19:17:38 +00:00
doctrine
1e0d675759 Preliminary support for database views 2006-06-13 18:04:04 +00:00
doctrine
daeef41b2a DQL: Many-to-Many fetching with where clause 2006-06-12 08:44:08 +00:00
doctrine
9c16da05bc Validator type bug fix 2006-06-11 12:02:05 +00:00
doctrine
f58535eba1 Nested many-to-many fetching 2006-06-08 22:11:36 +00:00