1
0
mirror of synced 2024-12-15 15:46:02 +03:00
Commit Graph

1167 Commits

Author SHA1 Message Date
romanb
8aa8c54fb3 Small changes to the recent fix from jonwage 2007-08-14 18:28:35 +00:00
Jonathan.Wage
f123a7cdcd Added extra logic to getRootAlias() so it only calles getSql() if _aliasMap is not present already 2007-08-14 18:25:06 +00:00
Jonathan.Wage
b9a3e0cd20 Added call to ->getSql() back to ensure parsing has happened so we can determine the root alias. 2007-08-14 18:11:06 +00:00
Jonathan.Wage
91be68810c Removed unecessary change to Hydrate.php 2007-08-14 17:01:06 +00:00
Jonathan.Wage
7f4abdf292 Added copy() method to Query.php and made NestedSet.php use it because native clone() does not work. Also Added ->getSql() to getRootAlias() so that _aliasMap is present after the parsing. 2007-08-14 16:37:48 +00:00
lsmith
39e024c166 - fixed return value to be bool for execute() (did not run test suite) 2007-08-14 14:53:04 +00:00
zYne
635f1a9c8f fixes #420 2007-08-13 22:01:27 +00:00
zYne
46154c5682 fixes #418 2007-08-13 21:51:23 +00:00
zYne
0686aef2c0 2007-08-13 21:39:29 +00:00
zYne
714a42239b 2007-08-13 21:23:56 +00:00
zYne
ce8fa91204 2007-08-13 21:14:53 +00:00
zYne
54d6296087 added RTRIM function support 2007-08-11 22:24:49 +00:00
zYne
a181b06e70 added TRIM function 2007-08-11 22:12:17 +00:00
zYne
1473df1976 new DQL WHERE parser 2007-08-11 21:53:02 +00:00
zYne
b83321e5dd added removeLinks() 2007-08-11 21:35:58 +00:00
zYne
f619273778 2007-08-11 20:19:57 +00:00
nightfreak
6c0b5fd36c added the fix for ticket #398. also fixed the missing $coll->setReference() in Doctrine_Relation_Association::fetchRelatedFor() 2007-08-11 18:24:19 +00:00
zYne
b243286bee formatting fix 2007-08-11 18:22:13 +00:00
nightfreak
2f85c85cf7 added the method refreshRelated() to Doctrine_Record 2007-08-11 17:49:43 +00:00
zYne
bc031289c0 fixes #425 2007-08-10 20:35:25 +00:00
meus
69f1bd41bb removed notice error when running tests 2007-08-10 20:29:07 +00:00
njero
a903c927c4 Make the new hasOne stuff work with identifiers 2007-08-10 07:07:53 +00:00
njero
17787aa173 Need to include float in the list for length checks. In general this default for length should be removed downstream in validator but to be consistent 2007-08-10 07:07:24 +00:00
nicobn
5501a4b434 Fixed typo 2007-08-10 06:01:54 +00:00
njero
7f1666efc0 Changes to make hasOne relations with 'foreign' and 'local' work as expected 2007-08-10 05:54:21 +00:00
njero
4210452812 You cant call ucwords(strtolower(...)) on the plugin name because NestedSet will become Nestedset (lower s) 2007-08-09 23:12:31 +00:00
jackbravo
391bdc88a1 set isConnected to false when the connection is closed 2007-08-09 22:26:57 +00:00
jackbravo
0a50b95fed Unified event listener methods for close() method: preClose() postClose() 2007-08-09 22:16:33 +00:00
zYne
78f683d855 fixes #424 2007-08-09 17:31:31 +00:00
zYne
5f7afb93f9 2007-08-09 17:27:13 +00:00
zYne
795bb23c2f 2007-08-09 17:25:07 +00:00
zYne
2468d4e78d drafting the new clause parser 2007-08-07 20:41:33 +00:00
zYne
643a3ea86b 2007-08-07 20:17:11 +00:00
zYne
34c898da0e 2007-08-07 20:12:54 +00:00
zYne
a12e74d8df 2007-08-07 20:04:02 +00:00
nightfreak
818008492c =When unserializing a serialized record the value of enum, array, object and gzip fields are restored + it is now possible to store an object of type Doctrine_Record in an object field 2007-08-07 15:37:30 +00:00
romanb
46e5a0d2f8 Fixed multiple-root setup with new syntax (actAs/loadTemplate). Forgot to pass the parameters. 2007-08-04 17:02:25 +00:00
romanb
7ad2c77a2d - Updated nested set documentation
- Removed the reserved alias "base" from the nested set. It's no longer necessary to use that. Use whatever alias you want.
2007-08-04 14:33:15 +00:00
Jonathan.Wage
121d9ad9aa A fixes to get the importing a little closer. 2007-08-03 22:05:05 +00:00
Jonathan.Wage
ff832983bd Reorganized code. 2007-08-03 21:25:10 +00:00
zYne
1ef946aedb 2007-08-03 21:02:17 +00:00
zYne
45cb86dab9 2007-08-03 20:57:07 +00:00
zYne
5490247cc7 new templating model 2007-08-03 11:52:24 +00:00
zYne
90bf6241e4 2007-08-03 11:25:53 +00:00
zYne
da1a6e38a9 2007-08-03 11:24:45 +00:00
zYne
ab76c18fd7 2007-08-03 10:41:20 +00:00
zYne
013bdebe0b 2007-08-02 21:27:42 +00:00
zYne
1c919c7a0a added whereIn 2007-08-02 21:24:29 +00:00
Jonathan.Wage
48481be4bd Fixed issue with isValidNode() not always being passed a Doctrine_Record and fixed issue with params being sent to set(), moved to where() until set() can handle params 2007-08-02 20:05:12 +00:00
meus
c9d6a046fa fixing issue mention on the mailing list by tl@hdnet.de at 2.aug 2007-08-02 19:28:46 +00:00
zYne
2cc28d066c 2007-08-02 18:57:01 +00:00
zYne
97ca7c9c36 wildcard support for search query language 2007-08-02 12:01:38 +00:00
zYne
2c76c48bfe updated search query parser engine, now supporting operators OR, AND and NOT 2007-08-01 23:42:22 +00:00
zYne
f81c5c3b39 fixed fatal bug in sql explode 2007-08-01 23:25:24 +00:00
zYne
ebfc0971c6 2007-08-01 22:53:33 +00:00
zYne
d59f761da0 2007-08-01 19:37:28 +00:00
zYne
64f7e3a36e added default lengths for all data types 2007-08-01 19:32:53 +00:00
Jonathan.Wage
75a1ead588 Fixed issue with count() and composite column primary keys 2007-08-01 17:56:18 +00:00
njero
cb146fb8e8 The index lookup needs to allow for array("fields" => "name") where the fields list
is a string and not an array
2007-08-01 14:50:46 +00:00
zYne
bc6ff6903d added base plugin class 2007-07-31 21:59:45 +00:00
zYne
a57226b086 fixes #338 2007-07-31 20:22:10 +00:00
zYne
a269fcdb18 Custom join condition model rewritte, full support for ON and WITH keywords 2007-07-31 19:33:58 +00:00
lukenukem
b2d9a22816 OFFSET and LIMIT for PostgreSQL corrected. 2007-07-31 05:50:41 +00:00
zYne
fe1bc520a8 2007-07-30 22:30:41 +00:00
zYne
ac88e64940 2007-07-30 21:30:39 +00:00
zYne
37198a6bb7 formatting fix 2007-07-30 19:35:41 +00:00
zYne
c045174fde 2007-07-30 19:29:37 +00:00
zYne
1a18acb762 2007-07-30 19:13:05 +00:00
meus
7ab2e58609 added setSubclasses to abstractRecord. Fixed classes in tests. added some more output to the Test.php script 2007-07-30 19:01:16 +00:00
romanb
8a0898d3ed Several fixes for mysql export module (incorrectly added indices)
Ticket: 408
2007-07-30 11:47:36 +00:00
romanb
7583a8d8ac Preliminary fix for a bug that occurs when using NestedSet + Column aggregation inheritance 2007-07-29 19:38:11 +00:00
meus
4e4dc0a6df fixed some failing testcases in columnaggregation. the if check was to strict 2007-07-28 20:27:38 +00:00
zYne
5b611b5302 2007-07-27 20:18:58 +00:00
zYne
201f821b27 2007-07-27 19:24:28 +00:00
zYne
9bc4d7618e 2007-07-27 19:03:32 +00:00
mahono
c662f4d99f * added new fetchOne() method for convenience
* some whitespace cleanups
2007-07-27 15:58:37 +00:00
zYne
97e82445d7 2007-07-27 15:35:37 +00:00
zYne
f0275da674 deprecated lockmode attribute 2007-07-27 15:31:33 +00:00
zYne
0e8f67968c 2007-07-26 23:44:09 +00:00
zYne
f31eaa9ab3 2007-07-26 23:10:04 +00:00
zYne
569348bdda 2007-07-26 22:57:36 +00:00
zYne
8ee4d75b69 2007-07-26 19:52:12 +00:00
zYne
e60c34c735 2007-07-25 20:45:25 +00:00
zYne
330156e7b6 2007-07-24 20:38:42 +00:00
zYne
cbf6e48aa3 2007-07-24 20:38:21 +00:00
zYne
91ee810ad1 2007-07-24 19:58:44 +00:00
romanb
fc2f9f29bd Closes #405.
Syntax for getting input properly escaped through prepared statements:
$query->set('field', 'field + ?', $value)
or
$query->set('field', 'field + ? - ?', array($value1, $value2))
or simply
$query->set('field', '?', $value)
Ticket: 405
2007-07-24 11:34:00 +00:00
zYne
9eeebfd815 2007-07-24 09:35:11 +00:00
zYne
8a393ab44d 2007-07-23 23:44:14 +00:00
zYne
cfaa5f121f 2007-07-23 23:18:11 +00:00
zYne
23025b5872 2007-07-23 23:10:50 +00:00
zYne
d0d2067942 2007-07-23 22:50:07 +00:00
zYne
c26ed8441b 2007-07-23 20:28:46 +00:00
zYne
ad44c65648 new record locking mechanism 2007-07-23 18:50:32 +00:00
zYne
a2111d60af 2007-07-23 18:32:29 +00:00
zYne
752a26cb76 2007-07-23 18:27:00 +00:00
meus
2d55394109 fixed default error message for ValidatorException that list the classes that have validation errors 2007-07-21 22:15:22 +00:00
meus
a690adfb2a fixing so taht getName uses the correct constants 2007-07-21 20:03:28 +00:00
meus
5d79089d1f fixes #395 applied Antik´s patch and ran tests. 1 less failure 2007-07-21 16:49:52 +00:00
meus
eca9f79dc8 removed array_unique in Hydrate/Record and added test to run.php fixes #403 2007-07-21 16:35:04 +00:00