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

1612 Commits

Author SHA1 Message Date
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