Commit graph

63 commits

Author SHA1 Message Date
Arnaud Lejosne 0ce540c84a Fix #257 - Prevent symlink paths resolving in fixtures loading 2015-08-13 13:28:21 +02:00
Toni Uebernickel 429f6b5879 Merge pull request #332 from IceShack/2.0
Add user and password to dsn string
2015-07-22 08:30:19 +02:00
Toni Uebernickel 1701a4e67d Merge pull request #309 from K-Phoen/infer-default-connection
Fix default connection detection when not explicitly set in the config
2015-06-10 20:56:30 +02:00
Moritz Schröder b1b3989152 Add user and password to dsn string 2015-03-11 10:38:38 +01:00
Cristiano Cinotti d933cda790 Fix FormGenerateCommand
Adjust `\PropelBundle\Command\FormGenerateCommand` class to work with
new Propel configuration system.
2015-01-02 15:26:39 +01:00
Marc J. Schmidt c5062ec439 Added migration options for --force and --fake. 2014-12-19 16:47:25 +01:00
Marc J. Schmidt 3ac67e95e5 Fixed getPackagePrefix in AbstractCommand. 2014-12-02 18:09:36 +01:00
Marc J. Schmidt 76da37b710 Removed propel.runtime.logging for Propel2' configuration file, since its configuration tree is a bit different. 2014-12-01 15:20:38 +01:00
Marc J. Schmidt fe06f4c4f9 Set --platform for wrapper command only if it's not empty. 2014-11-27 11:06:02 +01:00
Marc J. Schmidt 959d9b178a Added migration:migrate command. 2014-11-21 15:05:39 +01:00
Kévin Gomez 67eeb882e7 Fix default connection detection when not explicitly set in the configuration 2014-11-21 13:01:36 +00:00
Marc J. Schmidt 2278420d23 Added usage of --force in propel:build for sql:insert. 2014-11-20 12:45:50 +01:00
Marc J. Schmidt 9462559f33 Fixed sql:build command, use output-dir as long as in propelv2 it is still output-dir and not like in sql:insert sql-dir. 2014-11-20 12:26:53 +01:00
Marc J. Schmidt 6f3ad8f373 Fixed AbstractCommand to work with newest Propel2 version. Added option index_property back to ModelType.
Basically copied newest changes from propelv1 symfony bridge to ModelChoiceList to have more fixes included.
Fixed also some typehints.
2014-11-20 10:59:40 +01:00
Marc J. Schmidt d3602a9012 Added --overwrite optin to sql:build command to allow overwriting the sql.map file without the need to remove it manually.
Made also --sql-dir configurable and changed its default value to %app_dir%/propel/sql like in propelBundle v1.
2014-11-19 18:47:02 +01:00
Marc J. Schmidt 5b15a2ea62 Added --force back to sql:insert command.
Made also --sql-dir configurable and changed its default value to %app_dir%/propel/sql like in propelBundle v1.
2014-11-19 18:43:54 +01:00
Kévin Gomez a9977bbcc4 Infer the platform class name from the configuration 2014-09-15 13:45:18 +01:00
Kévin Gomez 530403636a Read the migrations table from the configuration 2014-09-15 13:34:41 +01:00
Kévin Gomez 83f41ffa85 Remove useless configuration check 2014-09-15 13:34:24 +01:00
Kévin Gomez 09e4da0c19 Started to integrate the new configuration system (still WIP/dirty) 2014-09-12 21:18:03 +01:00
Kévin Gomez cfedbd0d96 Add propel:migration:diff command 2014-07-14 15:12:42 +01:00
Kévin Gomez f72ad1af74 Apply php-cs-fixer 2014-04-26 21:58:01 +01:00
Kévin Gomez 0571ac9a2d Merge pull request #3 from johnarevalo/2.0
Use alias to avoid ambiguity for ModelBuildCommand class
2014-04-19 00:11:56 -04:00
Kévin Gomez 3af6f656a7 An error is raised if no valid bundle name is given to the FormGenerate command 2014-04-19 05:06:13 +01:00
Kévin Gomez 4b5da9363e Give Propel's SqlInsertCommand the right value for the sql-dir parameter 2014-04-19 04:54:43 +01:00
John Arevalo 747a45b14f Use alias to avoid ambiguity for ModelBuildCommand class 2014-02-27 15:23:11 -05:00
Kévin Gomez 0004c1761c Added missing getFileLocator method in the fixtures load command 2014-01-09 13:11:43 +00:00
Kévin Gomez 10d0cb623f Clearly indicate that the TableDrop command is MySQL only 2013-12-15 14:33:07 +00:00
Kévin Gomez b9ceee8abd Fixed a few inconcistencies 2013-12-15 14:04:11 +00:00
Kévin Gomez f84ab8eefd Added more phpDocs for commands 2013-12-14 14:17:10 +00:00
Kévin Gomez a1b30ac4a4 A few cs fixes 2013-12-14 12:47:55 +00:00
Kévin Gomez 12bcfbde5e Added ACL related features 2013-12-12 16:48:16 +00:00
Kévin Gomez d3ee81c3c5 Applied php-cs-fixer 2013-11-24 16:37:54 +00:00
Kévin Gomez 64ea15cd49 Cleaned commands 2013-11-24 16:36:58 +00:00
Kévin Gomez a8ceafc1bd Ported the form:generate command 2013-11-24 16:19:49 +00:00
Pierre Tachoire 4d0b86f5e7 check propel.ini existence
if propel.ini file doesn't exists, the parse_ini file will fire a
warning.
2013-11-18 22:28:55 +01:00
Kévin Gomez efd0b77c65 Fixed bundle name handling in AbstractCommand 2013-11-14 11:02:34 +00:00
Kévin Gomez 27862d6fb1 Checkstyle fix 2013-11-05 13:26:18 +00:00
Kévin Gomez 3022cfb81a Enabled SQL fixtures loading 2013-11-05 13:25:09 +00:00
Kévin Gomez fcbbff355c Started to implement the FixturesLoader command (only yaml works for now) 2013-11-05 12:34:47 +00:00
Kévin Gomez f16c92580f Implemented the fixtures dumper command 2013-11-05 11:23:36 +00:00
Kévin Gomez 224d00b50d Implemented DatabaseCreate command 2013-11-04 22:01:44 +00:00
Kévin Gomez a5cd6b86b6 Implemented the DatabaseDrop command 2013-11-04 21:41:59 +00:00
Kévin Gomez 2b7cbeacfb Cleaned a bit the TableDrop command 2013-11-04 21:32:14 +00:00
Kévin Gomez 53db41026b Implemented the table drop command 2013-11-04 21:29:16 +00:00
Kévin Gomez ea29cf251d Fixed DatabaseReverse command connection argument 2013-11-04 12:48:34 +00:00
Kévin Gomez 7e27f0f83b Fixed model build command 2013-11-04 12:44:35 +00:00
Kévin Gomez b8415eb099 Removed another useless todo annotation 2013-11-04 12:39:14 +00:00
Kévin Gomez 55612018f2 Removed useless todo annotation 2013-11-04 12:38:38 +00:00
Kévin Gomez 545677c361 Restored the Build hub command 2013-11-04 12:28:38 +00:00