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

238 Commits

Author SHA1 Message Date
zYne
146b215d06 2007-05-22 16:58:34 +00:00
zYne
71338c3d09 drafting the new relation model, still a lot of work 2007-05-22 15:57:17 +00:00
zYne
2e6d8a9854 2007-05-21 21:06:17 +00:00
zYne
22753f1931 2007-05-18 09:22:31 +00:00
zYne
33bb25ac20 2007-05-16 22:22:54 +00:00
zYne
82ba74e2e8 2007-05-16 20:27:03 +00:00
zYne
86fa70d6d1 2007-05-14 17:56:47 +00:00
zYne
7c78d89217 2007-05-10 23:45:26 +00:00
subzero2000
86fe74d58e Added support for gzip and enum types that was missing so when
Doctrine_Record::unserialize() calls Doctrine_Record::cleanData(),
the data for gzip and enum types is correct. Fixes #322.

Also, minor formatting cleanup in Doctrine_Record::serialize().
2007-05-07 22:46:47 +00:00
subzero2000
b68a791bf7 Added back proper type-casting of integer and boolean types that was added in r419 and removed in r422. Fixes #321. 2007-05-07 22:39:25 +00:00
zYne
0a58490a1f 2007-05-01 19:26:03 +00:00
zYne
d81a843e73 boolean type fix 2007-04-20 18:18:44 +00:00
zYne
7a9a86a5c6 fixes #310 2007-04-17 17:25:08 +00:00
zYne
3ffe5d0f9d 2007-04-13 18:06:48 +00:00
runa
cd8452aa8b added copydeep function 2007-04-12 18:32:07 +00:00
zYne
b373cb8ef7 fixes #303 2007-04-11 18:37:05 +00:00
zYne
47daaa9cfa Algorithm for creating the tables in correct order 2007-04-03 17:36:46 +00:00
zYne
732bc89a89 fixes #300 2007-03-31 19:49:23 +00:00
gyim
84acea5d9a fixed saving records using multiple connections 2007-03-02 09:23:24 +00:00
zYne
a2046460b5 Relation model rewrite, draft 2 2007-02-17 12:38:02 +00:00
zYne
180d435e3d Relation model rewrite, first draft 2007-02-16 22:54:59 +00:00
zYne
0b3a3c38b3 Index support added! 2007-02-11 22:53:35 +00:00
zYne
81a21344bd 2007-02-10 21:51:53 +00:00
zYne
653b42c2b3 2007-02-10 14:41:52 +00:00
zYne
89fa42e840 added index() 2007-02-10 14:22:15 +00:00
zYne
52a5ec1704 2007-02-08 22:31:54 +00:00
zYne
8dc99daa9f Refactored many classes 2007-02-08 13:56:23 +00:00
joesimms
02efd7f73b refactoring for tree implementation 2007-02-08 12:53:32 +00:00
gnat
511a961d53 Fixed variable name typos 2007-01-27 00:07:59 +00:00
zYne
d77ffb28c9 added support for column aliases 2007-01-23 16:27:20 +00:00
zYne
1eb8b54d81 lots of refactorings 2007-01-21 18:31:51 +00:00
romanb
cb924af310 - Added Doctrine_Record::trySave()
- Modified the length validation to skip validation for integer fields. The length of integer fields represents the number of bytes and is used for table creation (4 = INT, ect.)
2007-01-19 20:47:24 +00:00
zYne
65ebec5aa9 Fixed sqlite connection function binding issue when using Doctrine_Db as well as added proper primary key handling for export methods 2007-01-11 22:39:32 +00:00
zYne
83d89b766d TreeStructure bug fixed 2007-01-04 21:08:56 +00:00
lsmith
9d87bb45f4 - remove trailing whitespace 2006-12-29 21:46:14 +00:00
lsmith
239995d3c3 - fixed switch statement formating according to ZF CS 2006-12-29 21:30:37 +00:00
lsmith
4e22f1fbaf - second round of PEAR CS fixes 2006-12-29 14:40:47 +00:00
lsmith
716bb65b86 - first round of PEAR CS fixes 2006-12-29 14:01:31 +00:00
zYne
aa349ecb74 2006-12-22 21:10:14 +00:00
zYne
7b48189ba5 new DQL aggregate value model 2006-12-21 22:06:08 +00:00
zYne
84bbfccbe2 DQL now supports UPDATE queries 2006-12-14 13:26:16 +00:00
zYne
2d29792301 Doctrine now works seamlessly in multi-connection environment where connections are bound to classes 2006-12-05 21:46:38 +00:00
zYne
df0511e9dc Updated some docs, added identifier quoting to DQL, fixed some test cases, fixed dql select part handling 2006-12-03 20:05:09 +00:00
zYne
cb20dfafc7 updated datadict drivers 2006-12-02 22:44:53 +00:00
zYne
97604279bf Removed adodb-hack, replaced by new export/datadict drivers 2006-12-02 14:52:27 +00:00
zYne
8779a38332 Constructor template method added 2006-12-02 14:48:02 +00:00
zYne
ddc9c3262c 2006-11-30 22:52:29 +00:00
zYne
ba893f6ec6 added REPLACE support, fixes #238 2006-11-30 22:47:15 +00:00
zYne
6daa1e3443 fixed references to deprecated getTransaction() and getUnitOfWork() methods 2006-11-16 20:31:39 +00:00
zYne
085dc9d601 Enhanced class doc blocks, fixes #228 2006-11-12 12:14:08 +00:00
zYne
cd80b593f8 Small fixes 2006-11-11 19:51:51 +00:00
chtito
21cde0e7b9 new fix to #146 2006-11-06 18:34:10 +00:00
pookey
60985b5697 renaming all DB references to Db 2006-11-06 18:00:35 +00:00
pookey
1d5bdee6c9 rolling back r587, reopening #146 - this breaks creating new objects. 2006-11-06 14:28:09 +00:00
chtito
63d84e18e9 fix for #146 2006-11-06 07:06:10 +00:00
zYne
7ef869ee40 Refactored Doctrine_Connection and Doctrine_Record, fixes #212 2006-10-30 23:00:09 +00:00
zYne
048d7788ce Many-to-Many relation handling fixed, fixes #193 2006-10-29 23:24:50 +00:00
zYne
ff85f8c668 Fixes #194, added Doctrine_Relation_ManyToMany_TestCase
Ticket: 194
2006-10-25 21:12:30 +00:00
zYne
0835a57ce1 Fixes #192, added Doctrine_Record_State_TestCase
Ticket: 192
2006-10-25 20:02:40 +00:00
zYne
76b3f2c999 Refactored Doctrine_Table 2006-10-24 17:02:47 +00:00
zYne
0c0e6fd637 added Doctrine_Record::state() 2006-10-23 17:34:36 +00:00
zYne
599dc759fb Fixes #180 2006-10-20 18:21:42 +00:00
zYne
c1280d31dc Refs #175, Removed $collections instance variable from Doctrine_Record 2006-10-18 19:55:14 +00:00
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
zYne
da6f4a3849 Fixes #166 2006-10-14 16:58:59 +00:00
zYne
db433c8449 Fixes #163, #162, removed Doctrine_Record::__call() 2006-10-12 21:01:53 +00:00
romanb
db25f46e52 Finished the validation changes.
Ticket: 150
2006-10-11 16:24:18 +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
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
6210a60611 Fixed a bug when saving a record with null valued boolean column 2006-10-02 20:51:36 +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
8e9a8af676 Added new exception classes, renamed Doctrine_Repository to Doctrine_Table_Repository, refactored many classes 2006-09-30 09:54:12 +00:00
zYne
14b95350d0 Fixes #132, refactored some test cases
Ticket: 132
2006-09-28 21:21:33 +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
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
e3f5aa9fb2 Boolean type bugs fixed, fixes #101
Ticket: 101
2006-09-26 21:12:14 +00:00
pookey
6094eeb536 moving php source files to lib directroy 2006-09-26 15:00:13 +00:00