1
0
mirror of synced 2024-12-15 07:36:03 +03:00
Commit Graph

760 Commits

Author SHA1 Message Date
pookey
83af818915 fixing #172 - copying a record now will set non-null fields to modified so that when it's saved it inserts correctly 2006-10-16 21:08:14 +00:00
Tanken
e32e960b1d Fixed windows formatting 2006-10-16 10:38:41 +00:00
Tanken
075a58089a Fixed a missing space in the query build by count()
Fixed count()'s code formatting (was tabs in some lines)
fixes #171
Ticket: 171
2006-10-16 10:04:38 +00:00
pookey
a2299b2a25 refs #170, this adds != support for boolean 2006-10-15 23:09:33 +00:00
pookey
a04f118593 closes #168 2006-10-15 19:19:20 +00:00
zYne
da6f4a3849 Fixes #166 2006-10-14 16:58:59 +00:00
romanb
2e8f73dba1 Removed some remainders from the old validation behaviour. This fixes a bug where records dont get inserted. 2006-10-13 17:29:22 +00:00
zYne
3e6a352a57 Fixes #164 2006-10-12 21:07:15 +00:00
zYne
db433c8449 Fixes #163, #162, removed Doctrine_Record::__call() 2006-10-12 21:01:53 +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
zYne
d81a4245b7 Fixed typo 2006-10-10 09:32:32 +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
966450d454 Fixes #154, has* relations should act as owns* when saving related objects 2006-10-08 18:43:13 +00:00
zYne
11206fe573 Small fixes, now it should be possible to add custom errors 2006-10-08 18:20:10 +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
6210a60611 Fixed a bug when saving a record with null valued boolean column 2006-10-02 20:51:36 +00:00
romanb
ba73772983 Fixes to the compiler. 2006-10-02 10:47:43 +00:00
pookey
aa25b57eda pookey: fixes #83 2006-10-02 01:30:08 +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
a1b4b0f73f Simplified object population 2006-10-01 15:27:20 +00:00
zYne
5de6c0a65b Simplified object population mechanism 2006-10-01 15:18:04 +00:00
zYne
ca213ac6b9 Refactored Doctrine_Hydrate 2006-10-01 14:57:27 +00:00
zYne
cded682ee4 fixed validators with default values 2006-10-01 14:48:53 +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
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
zYne
b55ae1fd5e 2006-09-30 10:24:28 +00:00
zYne
bd90246432 2006-09-30 10:04:17 +00:00
zYne
efc6d71d33 Moved collection iterator classes under Collection_ namespace 2006-09-30 10:04:01 +00:00
zYne
8e9a8af676 Added new exception classes, renamed Doctrine_Repository to Doctrine_Table_Repository, refactored many classes 2006-09-30 09:54:12 +00:00
zYne
e188f37e79 Export skeleton added 2006-09-29 12:04:46 +00:00
zYne
14b95350d0 Fixes #132, refactored some test cases
Ticket: 132
2006-09-28 21:21:33 +00:00
zYne
d5b1c35074 2006-09-28 21:05:21 +00:00
zYne
1d65d8d3f0 2006-09-28 21:03:49 +00:00
zYne
86bf9a8201 deleted old relation classes 2006-09-28 20:58:56 +00:00
zYne
ed62d636e6 Moved relation classes under Doctrine_Relation namespace, fixes #134
Ticket: 134
2006-09-28 20:57:39 +00:00
zYne
c8c1397f8a fixes #133
Ticket: 133
2006-09-28 20:03:29 +00:00
zYne
1ab5a4fcea Refactored Doctrine_Record, added license to LocalKey class 2006-09-28 15:05:29 +00:00
zYne
88ef777fbd Refactored Doctrine_Record, added Doctrine_Relation::isOneToOne 2006-09-28 14:49:20 +00:00
zYne
25956bea87 Refactored the object population algorithm 2006-09-28 13:39:37 +00:00
zYne
753e9bd4cc Fixes #131
Ticket: 131
2006-09-27 21:54:00 +00:00
zYne
ddf0ceab82 Doctrine_Collection::internalAdd() removed, fixes #129
Ticket: 129
2006-09-27 21:41:20 +00:00
zYne
1a0179bdce Fixes #128
Ticket: 128
2006-09-27 21:34:32 +00:00
zYne
7b84d15530 Fixes #126, #127
Ticket: 126
2006-09-27 21:21:33 +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
e3f5aa9fb2 Boolean type bugs fixed, fixes #101
Ticket: 101
2006-09-26 21:12:14 +00:00
zYne
437fac4c9e added getDataDict() for connection class 2006-09-26 17:20:22 +00:00
zYne
ecd2612e7f Sqlite datadict updated 2006-09-26 17:17:58 +00:00
pookey
6094eeb536 moving php source files to lib directroy 2006-09-26 15:00:13 +00:00