Commit graph

181 commits

Author SHA1 Message Date
William DURAND 48f1baa10d [DataFixtures] Moved loader part to its own place 2011-09-06 13:30:09 +02:00
William DURAND cbd9ac634e [command] Displayed the environment value 2011-09-06 10:51:36 +02:00
William DURAND 4dcdc0f3b9 [command] Naming + minor fixes on commands 2011-09-05 22:18:18 +02:00
William DURAND cbcc89ea61 [command] Fixed insert-sql information 2011-09-05 00:43:23 +02:00
William DURAND fd244402c1 [command] Refactored the data-dump command 2011-09-05 00:39:58 +02:00
William DURAND ccb5f8ce86 Fixed naming 2011-09-05 00:31:36 +02:00
William DURAND 726582b5a0 [command] Refactored the reverse command 2011-09-05 00:31:07 +02:00
William DURAND fbb785274c [command] Fixed build command information 2011-09-05 00:15:47 +02:00
William DURAND d40a69b40d [command] Fixed typo 2011-09-04 23:41:01 +02:00
William DURAND 039459456e [command] Fixed information for load-fixtures command 2011-09-04 23:16:11 +02:00
William DURAND 85849bfe33 [command] Fixed error detection for insert-sql 2011-09-03 14:53:56 +02:00
William DURAND 2f4f2cb5f2 [command] Fixed empty password notice in insert-sql command 2011-09-03 14:53:30 +02:00
William DURAND 7f3c171d45 [command] Added a new XML loader 2011-09-02 17:22:15 +02:00
William DURAND bfc0e24c88 [command] Fixed help for load-fixtures command 2011-09-02 16:00:29 +02:00
William DURAND 98e04335e0 Added feedback to know which has been loaded 2011-09-02 15:58:26 +02:00
William DURAND b51550e8a5 [command] Changed the load-fixtures command to handle the new logic 2011-09-02 15:51:38 +02:00
William DURAND 029a3ed454 [command] Typo 2011-08-31 16:18:40 +02:00
William DURAND f18df260fe [command] Fixed output (for real) 2011-08-31 16:12:56 +02:00
William DURAND af2151631d [command] Fixed console output 2011-08-31 00:21:39 +02:00
William DURAND 87ad04f2a8 Fixed LICENSE 2011-08-30 23:30:31 +02:00
William DURAND cef9035498 Better Phing error detector 2011-08-30 18:40:32 +02:00
William DURAND cd6ae1afaa [command] Added --verbose option to the load-fixtures command 2011-08-30 18:30:27 +02:00
William DURAND c04664beb2 [command] Fixed build-sql 2011-08-30 17:43:01 +02:00
William DURAND 7e4c15261d Fixed the way we detect errors in a Phing process 2011-08-30 17:36:30 +02:00
William DURAND d7c5c51d6d [command] Added better error messages 2011-08-30 16:11:03 +02:00
William DURAND 445e3cc791 [command] Fixed output in load-fixtures command 2011-08-30 11:54:40 +02:00
William DURAND bcdfcc9b85 [command] Fixed output in graphviz command 2011-08-30 11:54:25 +02:00
William DURAND 7b2359d3d3 [command] Fixed output in create/drop commands 2011-08-30 11:54:05 +02:00
William DURAND 42b7937442 [command] Fixed output + test if file exists in data-sql command 2011-08-30 11:53:40 +02:00
William DURAND 7a2d43a1e9 [command] Fixed output in data dump command 2011-08-30 11:53:09 +02:00
William DURAND ad6c5756f0 Fixed output in build command 2011-08-30 11:52:50 +02:00
William DURAND 1837a63779 [command] s/summary/writeSummary/ 2011-08-30 11:52:30 +02:00
William DURAND 657013d68e [command] Fixed output in reverse command 2011-08-30 11:51:58 +02:00
William DURAND 3a0d86b644 [command] Refactored the base command 2011-08-30 11:51:23 +02:00
William DURAND 957014c089 Fixed typo 2011-08-30 09:35:37 +02:00
William DURAND afbc5675aa Merge pull request #27 from willdurand/fix-dot-notation
Fixed dot notation to avoid current known limitation
2011-08-27 07:01:37 -07:00
William DURAND 4e28a76425 Avoid error if blank password in datasource config 2011-08-25 23:57:38 +02:00
William DURAND 3a85881a49 Fixed dot notation to avoid current know limitation 2011-08-25 23:55:15 +02:00
William DURAND 9a2c464a8c Refactored 'load-fixtures' command 2011-08-23 16:00:43 +02:00
William DURAND c0dbe49b65 Fixed message 2011-08-23 16:00:43 +02:00
William DURAND ef517c450f Removed charset global parameter 2011-08-22 11:31:08 +02:00
William DURAND 5143a5ff43 Fixed previous commit (again) 2011-08-18 15:29:12 +02:00
William DURAND deae657208 Fixed previous commit 2011-08-18 15:23:41 +02:00
William DURAND 9302735eca Fixed load fixtures with custom datasources 2011-08-18 14:01:21 +02:00
William DURAND bd3c8559b6 Fixed bug on database create 2011-08-18 12:15:04 +02:00
nibsirahsieu 37fcc0132f fix undefined $container when building models 2011-08-02 23:58:20 +07:00
William DURAND e463a8bcd8 Fixed CS 2011-07-30 19:26:48 +02:00
William DURAND 0347aaccb8 Reverted commit 6785589a0c according to the previous revert 2011-07-30 19:18:00 +02:00
Maxime AILLOUD cbf4fe890c Update of the PHPDoc header of the TableDropCommand class 2011-07-30 19:04:56 +02:00
Maxime AILLOUD ae65d873a6 Modification of the generation of the buildtime file to use charset in Propel 2011-07-30 19:04:56 +02:00
Maxime AILLOUD 6785589a0c Using the propel connection through the dependency injector, and dealing with foreign key when dropping table 2011-07-30 19:04:55 +02:00
Maxime AILLOUD f74c659f24 Bug corrected when the database has no table in the command table:drop 2011-07-30 19:04:55 +02:00
Maxime AILLOUD 5a1f644a6a Namespace corrected for the exception class in the command: propel:database:drop, propel:database:create and propel:table:drop 2011-07-30 19:04:55 +02:00
Maxime AILLOUD 38150e71c9 Added a new command: propel:table:drop which allow to drop one, several or all table for a given connection by using the Symfony2 console 2011-07-30 19:04:55 +02:00
Maxime AILLOUD 49abcb9161 Insert charset parameter in the buildtime file in ordre to deal with UTF8 data 2011-07-30 19:04:55 +02:00
Maxime AILLOUD 102e688f5b Add the ability to the LoadFixturesCommand to load SQL files 2011-07-30 19:03:57 +02:00
osek666 d5ce54b7de Hardcoded -2 fails when namespace is longer. E.g. namespace="Sensio\Bundle\HelloBundle\Model" 2011-07-05 02:46:23 -07:00
William DURAND e27dc9cbd5 Added secure tests for the drop database command 2011-06-22 17:31:57 +02:00
William DURAND 096faad24a Added shortcut to use dialog helper 2011-06-22 17:27:28 +02:00
William DURAND 35a56e8ca8 Improved commands 2011-06-22 16:47:19 +02:00
William DURAND 4f1cc4ce05 Fixed PhingCommand + added a writeSection() method 2011-06-22 16:46:44 +02:00
William DURAND 3f49f58e8c Added a new command: propel:database:create which allow to create a database for a given connection by using the Symfony2 console 2011-06-22 15:32:13 +02:00
William DURAND 294e4d72bc Fixed database:drop command 2011-06-22 14:17:37 +02:00
William DURAND 28cbe61feb Added a new command to drop a database 2011-06-22 14:11:24 +02:00
William DURAND 833441e428 Merge branch 'master' of git://github.com/willdurand/PropelBundle 2011-06-22 13:48:49 +02:00
William DURAND c7f5ed7e2b Added a method to get the dbname in Command classes 2011-06-22 13:48:43 +02:00
William DURAND c9cfae539d Fixed PhingCommand class to fit last Symfony2 changes. Fixed #17 2011-06-22 13:46:14 +02:00
William DURAND 4c07e38ce3 Added a way to detect errors during Phing execution 2011-06-20 09:41:00 +02:00
fzaninotto 17d994bcd7 Added support for the debug option in build-model and build-sql commands 2011-05-30 17:03:08 +02:00
William DURAND 465fad8872 Merge branch maxailloud 2011-05-25 00:04:27 +02:00
William DURAND 4459a9ef43 Fixed typo 2011-05-24 23:53:55 +02:00
William DURAND 5dd7dd9be4 Added charset at build time 2011-05-24 23:52:43 +02:00
Maxime AILLOUD 35af040979 Add the ability to the LoadFixturesCommand to load SQL files 2011-05-24 23:36:49 +02:00
Maxime AILLOUD 835e0f517f No need of "--" when adding an option in a command, automatically add 2011-05-24 23:31:55 +02:00
Maxime AILLOUD ad23a1f7d7 Avoid php notice if the database configuration was not provided 2011-05-18 12:43:44 +02:00
William DURAND 580e0e3c89 Merge remote-tracking branch 'origin/master' into form_beta1 2011-05-17 00:24:39 +02:00
William DURAND bd64c555aa Refactored PhingCommand to check Propel database configuration before to launch a command 2011-05-17 00:21:20 +02:00
William DURAND aa7eb61088 Fixed PhingCommand 2011-05-05 19:17:12 +02:00
William DURAND 26d106a2ef Added output message 2011-04-19 17:39:10 +02:00
William DURAND 68ae0ef9d7 Fixed license 2011-04-19 17:38:46 +02:00
William DURAND 2cd58d70e1 Fixed output for command load-fixtures 2011-04-19 14:34:02 +02:00
William DURAND 7fbd755f05 Changed getConnection return to get the name of the connection 2011-04-19 14:32:38 +02:00
William DURAND 5576005b6d Refactored command: status 2011-04-19 14:23:33 +02:00
William DURAND 047d83f33e Minor changes for commands: generate-diff and migrate 2011-04-19 14:23:17 +02:00
William DURAND 9aca0bfaa8 Added new command: load-fixtures 2011-04-19 14:18:42 +02:00
William DURAND 6942b6982c Refactored insert-sql command 2011-04-19 14:18:07 +02:00
William DURAND e181e2d995 Minor changes on graphviz command 2011-04-19 14:16:28 +02:00
William DURAND 143072ec87 Fixed licence 2011-04-19 14:16:13 +02:00
William DURAND c9be0512b1 Fixed output for command: build-sql 2011-04-19 14:14:20 +02:00
William DURAND d4c6d0a586 Fixed output for command: build-model 2011-04-19 14:13:08 +02:00
William DURAND 9c810c2e03 Refactored data-sql command 2011-04-19 14:11:34 +02:00
William DURAND f5b580e6ad Refactored commands, added a new method in PhingCommand to handle '--connection' option 2011-04-19 14:03:52 +02:00
William DURAND d4c541c120 Fixed data-dump command 2011-04-19 13:59:19 +02:00
William DURAND dd8c42df38 Added option 'connection' to fix the build command 2011-04-19 13:57:53 +02:00
William DURAND b041a9973b Added a new config parameter (build_properties) to add build properties in config.yml 2011-04-18 22:51:27 +02:00
William DURAND 580f7ae28a Refactored command outputs 2011-04-18 21:40:16 +02:00
William DURAND 69c14b871c Added a new configuration file: app/config/propel.ini which is a build.properties file (http://www.propelorm.org/wiki/Documentation/1.6/BuildConfiguration) 2011-04-17 12:13:36 +02:00
William DURAND ed1d9ad267 Improved some commands 2011-04-13 22:27:07 +02:00
William DURAND da462aa337 Added output message to the 'build-model' command 2011-04-13 17:01:55 +02:00
William DURAND 7168326359 Fixed output message in 'insert-sql' command 2011-04-07 10:54:24 +02:00