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

1867 Commits

Author SHA1 Message Date
gnat
0695a6ab92 $this->parent doesn't exist 2007-10-30 17:51:33 +00:00
romanb
dc4be22bfe Added missing attribute check to Doctrine_Configurable. Fixes #545. 2007-10-30 16:08:35 +00:00
romanb
dfd15a6068 Introduced ATTR_TBLNAME_FORMAT. Closes #257 2007-10-30 13:30:50 +00:00
zYne
b0c7dce47f fixed record state handling with aggregate values 2007-10-29 23:34:10 +00:00
zYne
486375f844 2007-10-29 22:57:32 +00:00
meus
755316c3fc added tesst for Tokenizer and Search to get them under full coverage. relatex refactorings and coverage reports 2007-10-29 20:25:38 +00:00
meus
53b05c1d4a added tests to get complete coverage of Transaction, RawSQL, AuditLog and Query/Having. Related refactorings. Added some getters to be able to test. Also added coverage report for these changes 2007-10-29 19:50:16 +00:00
bschussek
520f4a1056 fixed: old mapped values were deleted when data was hydrated into an existing record (lazy-loading) 2007-10-29 19:26:22 +00:00
zYne
dc5e0cee32 fixes #515, correlated subqueries with IN operator 2007-10-29 18:04:22 +00:00
zYne
991f456fa4 fixes #514, literal value as the first operand for IN 2007-10-29 17:54:40 +00:00
pookey
c6facf9ea0 reverting previuos commit 2007-10-29 14:36:21 +00:00
pookey
ab6a7c9385 adding docs for Query::reset() method 2007-10-29 14:30:06 +00:00
pookey
f2eb153723 replacing tabs with spaces 2007-10-29 12:22:53 +00:00
phuson
ff7aac8b30 New fix for the check for duplicates between explicitly declared custom relations and autogenerated relations. 2007-10-29 05:47:50 +00:00
phuson
53eb2ea087 revert change because it was breaking something else...needs to think of another way to do this. 2007-10-29 01:07:14 +00:00
phuson
e7f64afb24 Check for duplicates between custom alias relations and auto-generated relations. 2007-10-27 11:09:13 +00:00
ppetermann
de220fa43f found a few bugs when i wanted to use Doctrine_Import_Mysql::listTableConstraints()
fixed code so those problems wont occure. However the method still not works as intended, 
more information see mail at doctrine-dev mailinglist.
Fixed same Problems in other drivers aswell.
2007-10-26 14:56:03 +00:00
meus
eb8b3915fa fixed getRecord/Collection as xml. removed old obtainIdentifiers function and fixed count call 2007-10-26 09:56:31 +00:00
Jonathan.Wage
db10d4a00e Formatting/standards changes. 2007-10-26 04:13:29 +00:00
Jonathan.Wage
4428b51746 Fixed bug with default for boolean values not working properly. 2007-10-25 22:26:25 +00:00
Jonathan.Wage
3e31860edd Troubleshooting why this does not work and I cleaned up the code. 2007-10-25 22:03:59 +00:00
Jonathan.Wage
231b42eb67 Initial entry of timestampable template. 2007-10-25 21:02:06 +00:00
Jonathan.Wage
2ff1dcadc5 Added better support for attributes generation in doctrine records 2007-10-25 21:01:29 +00:00
Jonathan.Wage
872c81cb5a Fix for index generation only generating the last index only. 2007-10-25 17:49:36 +00:00
Jonathan.Wage
6334c5a165 Reversing fix. 2007-10-25 16:02:00 +00:00
Jonathan.Wage
0da6243086 Fixes to model generation. 2007-10-25 15:22:34 +00:00
Jonathan.Wage
1989b099be Fixes [ticket:512] 2007-10-25 14:21:25 +00:00
Jonathan.Wage
ab597cdf30 Fixes [ticket:500] 2007-10-25 14:18:26 +00:00
Jonathan.Wage
bea129db14 Added support for packages to the doctrine builder and yaml schema. 2007-10-24 21:21:45 +00:00
Jonathan.Wage
094e6cb3bd Added to autoloading to support caching the loaded model paths so we can retrieve them with autoload. 2007-10-24 21:20:19 +00:00
ppetermann
c610ba0ab2 corrected creation of Doctrine_Event object
to prevent unexpected behaviour during usage 
of preHydrate/postHydrate hooks.
2007-10-24 13:44:58 +00:00
meus
3cdaf71ad0 refetch state after preSave listener in unit of work. if state changes in preSave listener it is not taken into concideration when an object is saved/deleted etc. also fixed some small stuff in tests and added new coverage report 2007-10-23 20:21:22 +00:00
Jonathan.Wage
195dff3ec9 Renamed. 2007-10-23 03:50:45 +00:00
Jonathan.Wage
197832739f Renamed. 2007-10-23 03:48:11 +00:00
Jonathan.Wage
372831d912 Tweaks. 2007-10-23 03:44:29 +00:00
Jonathan.Wage
34d4f12866 - 2007-10-23 03:39:57 +00:00
Jonathan.Wage
e50b27626b Misc. tweaks. 2007-10-23 00:37:39 +00:00
phuson
a3c39fedcc Applied patch for ticket #499. Tested and it seems to be working correctly with patch. 2007-10-22 21:47:05 +00:00
zYne
a4ae926a85 added isIdentifier() 2007-10-22 17:33:47 +00:00
zYne
a01ed0641f fast identifier search for Doctrine_Hydrate, now the hydration should run in O(1) instead of O(n) 2007-10-22 16:38:03 +00:00
romanb
6ed2e63d88 added hydration mode HYDRATE_NONE 2007-10-22 16:32:07 +00:00
Jonathan.Wage
9895dc1ca3 Changed version to valid version. 2007-10-22 05:11:23 +00:00
Jonathan.Wage
8588f221dd Added version and moved package file. 2007-10-22 05:09:22 +00:00
romanb
198b34c0b4 fix to assignDefaultValues. should fix #468 2007-10-21 20:12:36 +00:00
meus
a217a6edbc fixing another linting error 2007-10-21 15:01:10 +00:00
meus
d1f32b05a6 adding missing ; at line 67 2007-10-21 14:47:22 +00:00
romanb
7d1e03901a cleaning up draft/ 2007-10-21 09:00:40 +00:00
romanb
7dbb38719d fixed #431 2007-10-21 08:39:13 +00:00
romanb
3799de836d fixed #485 2007-10-21 08:16:31 +00:00
Jonathan.Wage
edc03d5a33 Added magic finder methods. findBy(.*) and findOneBy 2007-10-21 07:24:18 +00:00
Jonathan.Wage
27b369a5f3 Mass search and replace for coding standards changes, doc block formatting, and code spacing. 2007-10-21 06:23:59 +00:00
Jonathan.Wage
4ce2a36968 Fix to naming of spyc and update docs for cli. 2007-10-21 01:16:04 +00:00
Jonathan.Wage
e2a204e0dc Enhancing CLI. New commands and cleaning up. 2007-10-20 19:14:30 +00:00
Jonathan.Wage
821cc6e51c Added confirmation for db drop and added ability to make cli interactive. 2007-10-20 17:20:56 +00:00
Jonathan.Wage
bbf05e1676 Fixed notice. 2007-10-20 15:31:14 +00:00
romanb
a14db264ee reapplied my changes to Export.php that were (accidently?) reverted by jonwage 2007-10-20 14:57:47 +00:00
Jonathan.Wage
975b74bd6f Enhancements to CLI and removing sandbox files. Will add ignores. 2007-10-20 06:12:20 +00:00
Jonathan.Wage
8d2aebad70 A little formatting and documentation. 2007-10-20 02:30:15 +00:00
Jonathan.Wage
526c4ab1c8 Made methods static. 2007-10-19 22:50:00 +00:00
Jonathan.Wage
9440cf04f6 Additions to migrations to support generating migrations from models or existing databases. 2007-10-19 22:11:45 +00:00
Jonathan.Wage
16933ef9be Removed Facade. 2007-10-19 14:30:48 +00:00
Jonathan.Wage
779003edcc Removed Facade and moved all static methods to Doctrine class. 2007-10-19 14:23:42 +00:00
romanb
dfdcf002a1 fixes for exporting indices 2007-10-19 13:16:22 +00:00
romanb
9b4f5db135 fix for mysql export module (allow specifying a default without specifying a length) 2007-10-19 11:13:49 +00:00
romanb
f1c6657c0f introduced dropForeignKey() to Export and Migration 2007-10-19 10:58:49 +00:00
Jonathan.Wage
9679e5531b Fix to notice. 2007-10-18 21:57:38 +00:00
zYne
eb9842dcec 2007-10-18 20:39:37 +00:00
zYne
ed8b89fc3b removed deprecated schema classes 2007-10-18 19:46:06 +00:00
zYne
1a990b6eae fixed version column attributes 2007-10-18 19:39:19 +00:00
zYne
ee1cf1013a fixed updateIndex() 2007-10-18 19:37:50 +00:00
phuson
1ddd4f5db4 Added back the generation of "equal: true" from schema files. 2007-10-18 19:36:18 +00:00
zYne
a6d05624f5 fixed versionable template to adhere to generic plugin structure 2007-10-18 19:13:30 +00:00
zYne
ea5e58fece removed deprecated schema and object classes 2007-10-18 19:05:00 +00:00
romanb
28dcf18508 made version comparison less strict 2007-10-18 16:36:55 +00:00
Jonathan.Wage
1bbc5b15ee Fixes to relationship building and added support for new schema options. 2007-10-17 23:14:28 +00:00
zYne
08bec68587 2007-10-17 21:17:01 +00:00
zYne
5f0b6cd1cd fixed VALIDATE_ALL constant value 2007-10-17 19:38:53 +00:00
romanb
e428845d0e corrected some tests 2007-10-17 19:24:03 +00:00
Jonathan.Wage
e2e38849ac Added support for connection binding, templates, act as, and attributes. 2007-10-17 19:21:06 +00:00
romanb
f8ee0975c0 fix for the fix.. (foreign key creation) 2007-10-17 19:09:48 +00:00
romanb
29c220f482 export & migration fix 2007-10-17 18:49:02 +00:00
jepso
d9e213a2cf fixes #484 2007-10-17 14:50:55 +00:00
phuson
3e39fcf30c Implemented generation for loadTemplate() from Schema file. 2007-10-17 09:18:59 +00:00
phuson
e63393cd39 Added generation for "equal: true" in the relations block of yml. 2007-10-17 05:43:07 +00:00
Jonathan.Wage
852a2fdf87 Fixes to importing and merging of data fixtures from multiple files. 2007-10-17 01:54:27 +00:00
Jonathan.Wage
05119fe758 Fixes for relationship building. 2007-10-17 01:12:21 +00:00
Jonathan.Wage
6ee5df4aab Addex support for indexes and attributes to schema. 2007-10-16 23:33:14 +00:00
zYne
359d07b04d fixes #484, validator nospace not validating correctly 2007-10-16 22:12:04 +00:00
zYne
b102ebf9fb 2007-10-16 22:10:49 +00:00
zYne
76bd8b76e4 added more stopwords to analyzer 2007-10-16 21:49:55 +00:00
zYne
e10acab862 drafting the new class Doctrine_Search_File 2007-10-16 21:33:06 +00:00
romanb
4fb5f7c201 added createForeignKey() support to export module and migrations 2007-10-16 17:05:52 +00:00
romanb
abde67f73c added createConstraint()/dropConstraing() support to migrations 2007-10-16 16:22:02 +00:00
Jonathan.Wage
37cec1d690 - 2007-10-16 05:39:49 +00:00
Jonathan.Wage
50ab186792 Fixes for sql exporting so it will get all loaded models if no directory is specified. 2007-10-16 02:37:31 +00:00
Jonathan.Wage
f2a7390c29 Fixed calls to wrong static functions and added some functionality to sandbox. 2007-10-16 00:48:09 +00:00
samw3
c8812542b1 fixed newlines (I had my editor in windoze mode) 2007-10-16 00:28:39 +00:00
samw3
d522ba7355 changes db drivers to match the new two parameter Export::getDeclaration() 2007-10-16 00:03:15 +00:00
Jonathan.Wage
09f082421b Removed because it is replaced with a Doctrine_Task and is available from the cli. You can also call it directly with Doctrine_Facade::compile(); 2007-10-15 23:36:00 +00:00
Jonathan.Wage
dd5347b096 Fix to alter table command. 2007-10-15 23:16:54 +00:00
Jonathan.Wage
41f8d264e5 Initial entry. 2007-10-15 23:04:39 +00:00
Jonathan.Wage
f54687fdcb Fixes to original compiler code to allow the exporting of certain drivers. 2007-10-15 23:03:08 +00:00
Jonathan.Wage
4d36734953 Moved static methods from Doctrine class to Doctrine_Facade and updated the tasks to use Doctrine_Facade. 2007-10-15 22:05:35 +00:00
zYne
ead84035f8 2007-10-15 22:01:04 +00:00
zYne
c4b3a18a59 table refactoring continues 2007-10-15 21:39:35 +00:00
Jonathan.Wage
6394c79281 initial entry 2007-10-15 21:25:53 +00:00
Jonathan.Wage
9e9ab7fb33 Added documentation. 2007-10-15 21:22:31 +00:00
Jonathan.Wage
37ffee975c Moved the tasks from the cli so they are not together. 2007-10-15 21:18:13 +00:00
samw3
ef40c0492f getConnectionByTableName() returns Doctrine_Manager::connection() if table does not exist 2007-10-15 21:05:20 +00:00
wernerm
3eb463ad4f Moved the cli_compiler back to lib. It has also been updated again. 2007-10-15 20:56:55 +00:00
zYne
d6ef2b3f4e removed deprecated attribute from getTable() 2007-10-15 20:56:23 +00:00
zYne
3b8efd07e6 added initIdentifier() 2007-10-15 20:43:24 +00:00
Jonathan.Wage
54c3b98d73 Fixes. 2007-10-15 20:39:44 +00:00
pookey
071febe96c fixing handling of default values 2007-10-15 20:06:28 +00:00
Jonathan.Wage
4f996de800 Updated generated accessors to have load argument. 2007-10-15 17:52:34 +00:00
Jonathan.Wage
c5daa2310c Fix to generated accessors. 2007-10-15 15:08:26 +00:00
Jonathan.Wage
3048620a05 Fixes for buildingsql and generating models. 2007-10-15 15:01:54 +00:00
Jonathan.Wage
0dbea77dcd Fix to Builder so the generate_accessors option is used. 2007-10-15 14:19:51 +00:00
Jonathan.Wage
33c209db7a Fixes up the getters/setters that are generated in Builder. 2007-10-15 14:18:31 +00:00
Jonathan.Wage
38331335ab Fixes to indexes and to not call parent::setUp() in the base classes. 2007-10-15 14:09:59 +00:00
Jonathan.Wage
34af8e3aa1 Moved cli to sandbox folder. Fixes to importing schema and generating sql. 2007-10-15 13:47:24 +00:00
zYne
3cea839f45 2007-10-14 22:11:48 +00:00
zYne
39bfb030c9 2007-10-14 20:32:48 +00:00
pookey
0f79ed1d56 improvement to option handling, and added accessor generators 2007-10-14 19:47:38 +00:00
phuson
15cdb65ba7 Added missing argument. 2007-10-14 07:58:52 +00:00
phuson
a98961bd03 Implemented generation of indexes and their definitions from schema files. 2007-10-14 06:44:49 +00:00
zYne
b202f467c3 2007-10-13 21:40:43 +00:00
romanb
e79f1c34cf small improvement to Doctrine_Hydrate_Array::search() 2007-10-13 20:46:45 +00:00
zYne
ec292991ce huge speed improvement for hydration hooks 2007-10-13 19:30:45 +00:00
zYne
32a4639aa4 batch update functionality added 2007-10-13 17:52:16 +00:00
zYne
7d7313ab4a 2007-10-13 17:06:26 +00:00
zYne
fa5c28fde0 updated plugin classes to use the refactored main class 2007-10-13 16:49:42 +00:00
zYne
a9e5a35917 plugin refactoring continues 2007-10-13 16:27:47 +00:00
zYne
a73ce3a4b5 2007-10-13 09:01:42 +00:00
zYne
657d656614 refactored plugins 2007-10-13 09:01:03 +00:00
zYne
780c0deb1b 2007-10-13 08:55:06 +00:00
zYne
483cf72448 2007-10-13 08:50:48 +00:00
zYne
6f5ae1c305 2007-10-13 08:39:26 +00:00
zYne
f3867dbf71 2007-10-12 21:32:26 +00:00
ppetermann
37d7707f57 ok, fixing last fix
after my last commit i did some research in the php/pdo documentation and found that the port (well even the dsn) syntax depends a lot on the driver.
so my last 'fix' did fix it for mysql -  but broke it for dblib/mssql, this patch should make it work with those aswell (just moved jonwages solution to a own case for dblib & mssql driver). Someone should check if it works with the other drivers (i dont have all those database systems) cause looking at the doc
did show some more diffrences. (PHP Documentation for example says the dsn for pgsql needs to be delimited by spaces instead of semi-colons)
2007-10-12 13:18:40 +00:00
ppetermann
2621996cb2 fixed dsn bug (if port given pdo wants it to be added as
port=12345; to dsn not :12345)
2007-10-12 12:25:13 +00:00
wernerm
97a1552c41 Updated the cli compiler to account for the other cli components that were introduced recently. 2007-10-12 02:20:56 +00:00
Jonathan.Wage
057266c068 Fix to dsn and ports 2007-10-11 22:42:07 +00:00
Jonathan.Wage
0e72ae2594 Documentation changes. 2007-10-11 05:46:38 +00:00
Jonathan.Wage
05f74be1b7 Initial entry if cli and out of box configuration methods. 2007-10-11 05:43:29 +00:00
Jonathan.Wage
51a444e2e8 More documentation. 2007-10-11 04:24:01 +00:00
Jonathan.Wage
347ec1272b Documentation. 2007-10-11 04:23:00 +00:00
Jonathan.Wage
cdc4943263 Comments. 2007-10-11 04:13:23 +00:00
Jonathan.Wage
c5e1a15f5a A few tweaks to arguments and how they are handled. 2007-10-11 04:11:50 +00:00
Jonathan.Wage
81324ec826 Fleshing out functionality of CLI system and changed syntax of migration classes to only required a to parameter since we already know where we are coming from. 2007-10-11 03:23:33 +00:00
Jonathan.Wage
5255145701 Tweaks to CLI and initial entry of some new blank tasks. 2007-10-10 18:21:36 +00:00
Jonathan.Wage
0da69dd454 Removed initial test task. 2007-10-10 03:47:11 +00:00
Jonathan.Wage
c6b44714f3 Initial entry of cli tasks. 2007-10-10 03:46:17 +00:00
Jonathan.Wage
b005689e8a More changes to Cli system. 2007-10-10 03:45:02 +00:00
Jonathan.Wage
4e877c52e4 Fleshing out the cli system. 2007-10-10 02:31:11 +00:00
Jonathan.Wage
a016cb195c Removing resource from drivers. 2007-10-09 22:46:17 +00:00
Jonathan.Wage
84b16ff70f - 2007-10-09 22:45:37 +00:00
zYne
ec262f0c13 added skeleton for the resource adapter 2007-10-09 22:18:51 +00:00
Jonathan.Wage
e80876ccf3 Fleshed out cli system and added one sample task. 2007-10-09 22:15:14 +00:00
Jonathan.Wage
b930116218 Initial entry of skeleton for Doctrine_Cli 2007-10-09 21:39:48 +00:00
Jonathan.Wage
4f0234fff4 Removed propel style accessors. 2007-10-09 20:51:42 +00:00
Jonathan.Wage
8598411b02 Added support for Propel style getters/setters to __call() 2007-10-09 20:08:23 +00:00
Jonathan.Wage
029761d78d Reversing change. 2007-10-09 17:38:11 +00:00
pookey
16c32e2bd6 Fixing bindParam(), which should have it's 2nd param passed by reference, not value 2007-10-09 13:24:31 +00:00
Jonathan.Wage
4d38b32209 Added ability to put php in all inputted files/strings to parser. 2007-10-09 02:21:53 +00:00
Jonathan.Wage
dd71ec4b06 Fixes for composite keys giving error. 2007-10-09 01:34:36 +00:00
Jonathan.Wage
fe34a0d29f Fix to fixtures importing and relationships satisfying. 2007-10-08 23:55:25 +00:00
zYne
c69c0c5d53 support for persistent connections, fixes #447 2007-10-08 23:22:31 +00:00
zYne
9a0ef8e97f unique constraints automatically removed from translation table 2007-10-08 23:11:49 +00:00
zYne
eed1455f52 unique constraints no longer part of auditlog version table 2007-10-08 23:03:59 +00:00
zYne
8fb82c2f65 Fixes #427, now the AuditLog component should work 2007-10-08 22:58:53 +00:00
Jonathan.Wage
1f1fef741c Fix to generating classes. 2007-10-08 22:53:28 +00:00
Jonathan.Wage
94bf9a4c7c Fix for importing. 2007-10-08 22:47:59 +00:00
zYne
8c413b2427 2007-10-08 22:45:34 +00:00
phuson
dd076e47eb added logic check for when $models array is empty, but $specifiedModels isn't 2007-10-08 22:43:09 +00:00
zYne
18857d77e4 hasTemplate() added 2007-10-08 21:22:13 +00:00
Jonathan.Wage
3c6eb60037 Fixes for auto completing relationships. 2007-10-08 18:46:38 +00:00
Jonathan.Wage
8cc2c977f0 Formatting fixes. 2007-10-08 18:40:14 +00:00
gnat
102f106838 fix class generation of yml schema fully defined m2m relationships. 2007-10-08 16:49:15 +00:00
adamthehutt
6b26a7b813 Fix for ticket #457, moves Doctrine_Record::find/One() to Doctrine_Table::execute/One()
Ticket: 457
2007-10-08 16:39:12 +00:00
jepso
f1162cd56d use array_map instead of foreach loop 2007-10-08 16:12:02 +00:00
Jonathan.Wage
300669d13a Changed methods to public. 2007-10-08 16:04:46 +00:00
Jonathan.Wage
0b6aa395ed Fixes for migration to allow migrating from current version to latest version. 2007-10-08 15:58:23 +00:00
romanb
69874b729f small migration fix (notice+warning when the migration folder is empty because of uninitialized variable) 2007-10-08 09:00:20 +00:00
zYne
6e519eb292 fixes #462 2007-10-07 23:43:26 +00:00
zYne
852f2150bf fixes #463 2007-10-07 23:42:29 +00:00
zYne
7391081d81 fixed fatal method delegation bug 2007-10-07 23:36:28 +00:00
jepso
d78f992eb6 fixed locator class name constructing 2007-10-07 23:03:43 +00:00
zYne
4e7a66744e 2007-10-07 22:43:33 +00:00
zYne
52346aa6c5 moved hydration listeners to record listener 2007-10-07 22:43:04 +00:00
zYne
dc4d96e92f 2007-10-07 22:21:01 +00:00
zYne
24885c0113 fixed references to get() 2007-10-07 21:34:06 +00:00
zYne
f160487445 2007-10-07 21:31:49 +00:00
zYne
43811d2cc6 updated all the necessary classes to use injectable 2007-10-07 20:58:08 +00:00
zYne
13e75b2ccb 2007-10-07 20:35:22 +00:00
zYne
7a014f6d15 initial draft for locator 2007-10-07 20:31:22 +00:00
pookey
ff1316ebc9 allowing for PHP in YAML files to be parsed 2007-10-07 16:21:04 +00:00
zYne
5c3bea6584 2007-10-06 19:10:14 +00:00
zYne
a20ceff363 tests and implementation for hydrate hooks 2007-10-05 22:31:02 +00:00
gnat
2c7ced23db allow for both sides of a relationship to be generated from a one sided definition 2007-10-05 22:15:15 +00:00
zYne
f50128c535 Hydrate hooks added 2007-10-05 21:47:38 +00:00
zYne
7ecc82fded removed deprecated attributes, added bound query part functionality, fixed remaining I18n issues 2007-10-05 21:18:40 +00:00
zYne
7c0aca3cd2 2007-10-05 20:29:33 +00:00
zYne
4634b7c194 2007-10-05 20:28:08 +00:00
Jonathan.Wage
5bec1b2224 Fix for class/alias relation generation. 2007-10-05 19:10:32 +00:00
Jonathan.Wage
3b0f749a58 Fixes for multiple connection handling. 2007-10-05 18:56:36 +00:00
Jonathan.Wage
7bbcb51dcf Renamed Spyc to DoctrineSpyc to avoid any conflicts with other libraries. 2007-10-05 15:54:36 +00:00
Jonathan.Wage
a085706070 Fixes to loading models and made it so Builder can generate abstract classes. 2007-10-05 14:45:53 +00:00
Jonathan.Wage
e7e153d948 Enabling spyc inclusion. 2007-10-05 05:33:39 +00:00
Jonathan.Wage
956c5dfe91 Fixes for exporting sql to correct connections. 2007-10-05 05:06:42 +00:00
Jonathan.Wage
d2d52a63ce Tweaks to generated code. 2007-10-05 02:21:31 +00:00
Jonathan.Wage
3f49cc732a Fixes for new sfDoctrinePlugin 2007-10-04 23:55:37 +00:00
romanb
72b2911761 fixed a bug in Doctrine_Query_Abstract::set(). Missing return value. 2007-10-04 15:06:46 +00:00
Jonathan.Wage
225b904aa7 More api doc changes. 2007-10-03 21:48:53 +00:00
Jonathan.Wage
f99151063d more api doc changes 2007-10-03 21:47:55 +00:00
Jonathan.Wage
0a6f216efa Lots of formatting changes, cleanup, doc block changes. 2007-10-03 21:43:22 +00:00
Jonathan.Wage
dc90cca915 Fix for the creating of files and the path to create them at. 2007-10-03 18:57:24 +00:00
mahono
e670e2ab5f added possibility to use an aliase with Doctrine_Table->createQuery() and some very small refactoring using createQuery() in Doctrine_Table 2007-10-02 11:28:26 +00:00
romanb
f044813046 added blob,clob,gzip type validation 2007-09-30 07:36:17 +00:00
romanb
88fc0f1e95 added enum type validation 2007-09-30 07:26:43 +00:00
jackbravo
34f527adfc Fixed some syntax errors on Doctrine Search 2007-09-30 01:18:07 +00:00
jackbravo
01a3e06326 Fixed some identifier quoting on sqlite, mysql and pgsql. Added some tests too 2007-09-30 01:17:49 +00:00
zYne
999e03fd59 2007-09-29 15:00:08 +00:00
zYne
526f31bd05 2007-09-29 14:45:38 +00:00
zYne
ed64914bda 2007-09-29 14:35:30 +00:00
romanb
02dd8b1a79 Validator refactoring. 2 new validators: past & future 2007-09-29 12:31:56 +00:00
zYne
4eee98d526 2007-09-29 09:12:01 +00:00
ppetermann
8143d39788 fixed bug in Cache, made Array.php compliant to its/the interfaces documentation (returning false instead of null when nothing found) and changed if statement in Hydrate to react on false, not on null too 2007-09-28 15:55:56 +00:00
Jonathan.Wage
90541334e1 General fixes/work. 2007-09-27 22:02:13 +00:00
lukenukem
ca50bb05c5 Added PostgreSQLs to_char() function to Expression/Pgsql.php. 2007-09-27 18:25:58 +00:00
Jonathan.Wage
4cd00271df Formatting fixes 2007-09-26 22:38:01 +00:00
Jonathan.Wage
12cc664bf1 Added exportTo() and importFrom() to Collection and Record. 2007-09-26 22:36:32 +00:00
Jonathan.Wage
271d3c8e05 Added support for serialize and json to the parser. 2007-09-26 21:33:18 +00:00
Jonathan.Wage
09ba0c3540 Refactored some more stuff, cleaned things up, adding request validation to the server. 2007-09-26 21:12:52 +00:00
pookey
c929891962 removing tabs 2007-09-26 19:56:20 +00:00
Jonathan.Wage
77daa29c2c Changed default to yml. 2007-09-25 22:32:32 +00:00
Jonathan.Wage
8c8d8187a5 Tweaks to everything, refactoring hydrating. 2007-09-25 21:39:38 +00:00
Jonathan.Wage
d4e34979d1 Removed some unwanted functions. 2007-09-25 14:09:05 +00:00
Jonathan.Wage
13a1a6199c Fixes for unit tests being broken. 2007-09-24 22:27:41 +00:00
Jonathan.Wage
b447f6ca18 Minor tweaks. 2007-09-24 22:19:44 +00:00
Jonathan.Wage
bf59f2e861 Initial entry. 2007-09-24 21:51:11 +00:00
Jonathan.Wage
578556eb06 Made a change so we have a table object like in normal doctrine. 2007-09-24 21:50:50 +00:00
Jonathan.Wage
eca4f7a121 Added delete functionality to records. 2007-09-24 21:46:05 +00:00
Jonathan.Wage
6d6f6c7598 Fixes and tweaks. Added code to generate classes for schema and load them. 2007-09-24 21:32:02 +00:00
Jonathan.Wage
b40fd36efa Fixes to server. 2007-09-24 19:29:56 +00:00
Jonathan.Wage
c7b79372cc Fixes. 2007-09-24 18:46:11 +00:00
mahono
26ee84d5c8 fixed bug in Doctrine_Query::copy() - params were not copied 2007-09-24 18:44:37 +00:00
Jonathan.Wage
e9ba4504bf Fixes for Doctrine Resource 2007-09-24 18:22:52 +00:00
Jonathan.Wage
d6c0bcb4fc Initial entry for Resource refactoring. 2007-09-24 04:59:44 +00:00
Jonathan.Wage
3438aef503 Refactoring of Resource module. 2007-09-24 04:58:57 +00:00
zYne
9ce05cb90b 2007-09-22 22:02:58 +00:00
Jonathan.Wage
b98130db1e Fixes for doctrine resource. 2007-09-22 01:32:48 +00:00
Jonathan.Wage
5aa73029cf Added fromArray() methods. 2007-09-21 21:40:54 +00:00
Jonathan.Wage
d0898c1a81 Fixes to allow inheritance. 2007-09-21 20:30:10 +00:00
Jonathan.Wage
4b82c6fbb2 Removed code to auto complete relationships. 2007-09-21 19:19:25 +00:00
Jonathan.Wage
d7cd584080 2007-09-21 18:43:27 +00:00
Jonathan.Wage
d59dce8607 Moved save. 2007-09-21 18:34:10 +00:00
Jonathan.Wage
208fa1eef8 Fixes for saving models. 2007-09-21 18:19:19 +00:00
Jonathan.Wage
9992cf30fc Fixes for Doctrine_Resource. 2007-09-21 18:01:08 +00:00
zYne
bfa3ef5649 2007-09-21 13:48:31 +00:00
zYne
f787a29baa drafting the compound filter 2007-09-21 13:32:03 +00:00
zYne
f3488d17a0 2007-09-21 13:13:43 +00:00
gnat
2f7d4cbca1 changes to support setting the tableName and properly create enum column values 2007-09-21 07:14:37 +00:00
Jonathan.Wage
9c32fef9bf Changed foreign_alias to foreignAlias 2007-09-21 03:20:02 +00:00
Jonathan.Wage
e22ad5baae gnats changes. 2007-09-21 03:18:50 +00:00
Jonathan.Wage
35ef784eaa Initial entry of Doctrine_Resource and other fixes. 2007-09-21 02:48:13 +00:00
zYne
f4eeb641c0 2007-09-20 22:43:37 +00:00
Jonathan.Wage
b7e368a4df Formatting fix. 2007-09-20 22:34:03 +00:00
Jonathan.Wage
ad55d16395 Fixes for schema importing. 2007-09-20 22:19:22 +00:00
zYne
29ff0dee02 2007-09-20 22:16:34 +00:00
meus
6db13eb597 removed rat comment :P 2007-09-20 21:53:39 +00:00
meus
aae6950889 fixing coding standard $_ infront of private var and removing \e from pcre call due to incompatibility with suhosin 2007-09-20 21:47:24 +00:00
maniac3000
dc701e1345 Add decimal as a valid type to Formatter->quote() 2007-09-20 21:40:23 +00:00
zYne
e05c0c8ab6 2007-09-20 20:58:54 +00:00
zYne
e24d9c69dd refactoring the table class 2007-09-20 20:53:15 +00:00
zYne
2169cbe95e 2007-09-20 20:48:53 +00:00
Jonathan.Wage
d4e3567ab9 Changes to migration. 2007-09-20 20:24:38 +00:00
zYne
be5eb98ebf 2007-09-20 20:21:08 +00:00
zYne
2f70b203e6 2007-09-20 20:15:34 +00:00
zYne
df0081f13b 2007-09-20 20:10:32 +00:00
zYne
faa5763a4f 2007-09-20 20:08:19 +00:00
Jonathan.Wage
dc8280ab7a Made dummy data function return it. 2007-09-20 19:31:04 +00:00
Jonathan.Wage
2fe7b95fba Changes static methods to be normal public methods. 2007-09-20 19:30:19 +00:00
Jonathan.Wage
1e1090700c Fixes to make schema importing work. 2007-09-20 19:18:05 +00:00
Jonathan.Wage
433035fd28 Fixes for importing dummy data. 2007-09-20 17:04:22 +00:00
Jonathan.Wage
3df29f7d01 A few tweaks. 2007-09-20 16:11:59 +00:00
Jonathan.Wage
a5377c28ab Initial entry. 2007-09-20 15:02:57 +00:00
Jonathan.Wage
0e964840b7 Changes to make export schema yml closer to working :) 2007-09-20 15:02:07 +00:00
gnat
8402633bcc invalid variable 2007-09-20 05:25:52 +00:00
wernerm
dee6574fc6 An experimental interactive CLI Doctrine 'compiler' 2007-09-19 23:03:46 +00:00
Jonathan.Wage
04f1a135cf Updated to auto complete other end of relationships. 2007-09-19 21:08:23 +00:00
Jonathan.Wage
fef5d32d8a Updating Export code to use the new methods in Doctrine instead of rewriting same code. 2007-09-19 19:43:33 +00:00
Jonathan.Wage
0c8ba8e9e2 Removed remove alter table from sqlite b/c this is not possible in sqlite. 2007-09-19 19:34:45 +00:00
Jonathan.Wage
10bdfcb17f Changes for new migration code. 2007-09-19 19:33:00 +00:00
zYne
5d12093b8e 2007-09-19 18:58:45 +00:00
Jonathan.Wage
b41259b04a 2007-09-19 16:26:28 +00:00
zYne
67085f5829 2007-09-19 15:18:09 +00:00
zYne
2bb8b7083f 2007-09-19 14:59:06 +00:00
Jonathan.Wage
659d105469 MOved to new name. 2007-09-18 20:16:43 +00:00
Jonathan.Wage
28b35cc577 Renamed. 2007-09-18 20:16:24 +00:00
Jonathan.Wage
900c0161eb Initial entry. 2007-09-18 20:15:17 +00:00
zYne
15c4235faa 2007-09-18 17:26:17 +00:00
zYne
7435ec302e 2007-09-18 17:09:14 +00:00
zYne
a63c8fe80a 2007-09-17 22:30:45 +00:00
zYne
9d755abc23 2007-09-17 22:26:25 +00:00
zYne
19fc58dccd 2007-09-17 22:19:17 +00:00
zYne
cb36f5d092 2007-09-17 21:51:42 +00:00
zYne
023c91965c 2007-09-17 21:44:19 +00:00
Jonathan.Wage
78f8aea897 Added example code. 2007-09-17 21:32:40 +00:00
Jonathan.Wage
f3bdcb9118 Lowercase as. 2007-09-17 21:22:00 +00:00
Jonathan.Wage
1dc60451c5 Fixes for new yml schema. 2007-09-17 21:16:13 +00:00
zYne
29f64470de 2007-09-17 20:44:30 +00:00
zYne
d6fd3e16e0 2007-09-17 20:41:24 +00:00
Jonathan.Wage
a170822788 Fixes for yml importing/exporting of schema. 2007-09-14 19:14:40 +00:00
Jonathan.Wage
8e57185e30 Fixes. 2007-09-13 22:39:52 +00:00
Jonathan.Wage
122ebf0ca6 2007-09-13 21:52:18 +00:00
Jonathan.Wage
78f145c368 2007-09-13 21:50:43 +00:00
Jonathan.Wage
16a0aaebcf Making sure we don't require Spyc 2 times. 2007-09-13 21:49:04 +00:00
Jonathan.Wage
c9658cb29b Getting exporting/importing working. 2007-09-13 21:32:40 +00:00
Jonathan.Wage
13d781cb68 Added aliases. 2007-09-13 19:25:52 +00:00
Jonathan.Wage
39c3f2e0f8 Initial entry of Parser for yml/xml and made import schema code use the parser classes. 2007-09-13 19:06:38 +00:00
zYne
1096f90f45 2007-09-13 18:42:52 +00:00
jackbravo
404338f46f Added support for unlink all 2007-09-12 22:07:57 +00:00
zYne
c8578d434a 2007-09-12 22:03:25 +00:00
meus
9fbde039ba remove caching of args. it is just plain wrong 2007-09-12 21:56:11 +00:00
zYne
7359ee0e53 DQL expression handling rewrite 2007-09-12 21:42:42 +00:00
meus
2f8c83983f removing class variable adding static function var 2007-09-12 20:56:38 +00:00
meus
7a26255739 addded tests for template. added optimization for __call and calling template functions in Record 2007-09-12 20:26:59 +00:00
Jonathan.Wage
0d84bcd2af Made loadTemplate() simply call actAs() rather than duplicating code. Original loadTemplate() was broken anyways, addTemplate() was never called 2007-09-12 16:06:33 +00:00
jackbravo
d8352d67fa Substitute array_diff function with array_udiff to allow overriding __toString() 2007-09-10 16:16:24 +00:00
meus
a7c24a05f5 fixing codeing standard errors... 2007-09-08 12:43:25 +00:00
meus
8fbd18207b conveience method inspect() in Doctrine_Validator_Exception. Call it with user_func and it will apply it to all ErrorStacks 2007-09-08 12:41:09 +00:00
jackbravo
3ad6e01c73 Simplified test for isComposite 2007-09-07 18:09:18 +00:00
lsmith
bbf5b62a68 - not use the integer index, instead use the actual value for non emulated enums 2007-09-07 13:27:02 +00:00
zYne
6987d11e2a 2007-09-06 21:07:24 +00:00
zYne
88f60a022b 2007-09-06 20:59:13 +00:00
zYne
d16ea7d8fc 2007-09-06 20:52:36 +00:00
zYne
e45ae7d082 2007-09-06 20:52:16 +00:00
zYne
4eac440c56 2007-09-06 20:38:22 +00:00
zYne
ec6120b955 2007-09-06 20:23:52 +00:00
zYne
eed203594e 2007-09-06 20:12:12 +00:00
zYne
26d3d3e7a4 2007-09-06 19:32:22 +00:00
mahono
e20c213ae2 refactored Table->find() 2007-09-06 14:12:40 +00:00
mahono
814223bd39 * unified and simplified Hydrate->fetchOne() as well as Table->find()
* both always return reliable false if result is empty
2007-09-06 13:18:46 +00:00
mahono
744666ab95 fixed issue with fetchOne() - a break was missing 2007-09-06 12:59:45 +00:00
jackbravo
af14c812ce Memory problem solved. Sqlite creating functions repeatedly.
Doctrine_Connection_Sqlite::connect was creating functions every time it was called even if it was allready connected.
2007-09-05 22:03:57 +00:00
romanb
a478dfa4fd removed hydration constants from doctrine_hydrate 2007-09-05 16:05:49 +00:00
zYne
d9a5bbd61d 2007-09-05 15:03:00 +00:00
zYne
cd7f42dec2 2007-09-04 20:56:16 +00:00
zYne
d992deea1d 2007-09-04 20:49:35 +00:00