Commit graph

107 commits

Author SHA1 Message Date
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
Marc J. Schmidt 87b5597c6c Merge pull request #306 from K-Phoen/adapter_configuration
Allow pdo_* values as valid adapters
2014-11-19 16:29:40 +01:00
Marc J. Schmidt 3278c79775 Merge pull request #305 from oujesky/config_defaults
[v2] Default values for options and attributes config arrays
2014-11-19 15:56:20 +01:00
Marc J. Schmidt 6363a0f811 Merge pull request #304 from oujesky/config_merge
[v2] Correctly merge connection settings from multiple config files
2014-11-19 15:45:01 +01:00
Marc J. Schmidt 26a285614b Merge pull request #302 from K-Phoen/forbid-incorrect-connection-names
Forbid dots in connection names
2014-11-19 15:44:55 +01:00
Marc J. Schmidt c064076eef Fixed test suite 2014-11-19 15:06:22 +01:00
Kévin Gomez 527a998f77 Allow pdo_* values as valid adapters 2014-11-12 15:59:19 +00:00
Miroslav Oujesky b42ef6b83b Default values for options and attributes config arrays 2014-11-08 01:21:08 +01:00
Miroslav Oujesky 2902cde194 Ability to correctly merge connection settings from multiple config files 2014-11-07 19:15:42 +01:00
Kévin Gomez f58fe997c5 Forbid dots in connection names 2014-11-04 14:10:43 +00:00
Toni Uebernickel 3d74fbdb94 Merge pull request #252 from K-Phoen/2.0
[WIP] Propel2 integration
2014-09-25 17:37:44 +02:00
Kévin Gomez 015fe903b3 TableMap::TYPE_STUDLYPHPNAME constant was renamed to TableMap::TYPECAMELNAME 2014-09-22 13:40:35 +01:00
Kévin Gomez b8c299b936 Remove branch alias 2014-09-22 13:35:12 +01:00
Kévin Gomez 5cfdbdbbbb Test against symfony 2.5 in dev 2014-09-15 14:40:04 +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 23c05811d7 CS fixes 2014-09-15 13:37:23 +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 c3e5272293 Set a default value for the classname 2014-09-15 13:25:44 +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 48b29243f3 Add a branch alias to the 2.0.x version 2014-09-09 19:52:42 +01:00
Kévin Gomez cfedbd0d96 Add propel:migration:diff command 2014-07-14 15:12:42 +01:00
Kévin Gomez e3e8e7a4bf Add more test targets (php and symfony versions) 2014-06-01 19:46:18 +01:00
Kévin Gomez eafd97e44f Merge pull request #6 from havvg/2.0
fix DI Configuration of connection settings
2014-04-28 11:37:11 -04:00
Toni Uebernickel 2f606c2ebf fix DI Configuration of connection settings 2014-04-27 11:28:07 +02:00
Kévin Gomez f72ad1af74 Apply php-cs-fixer 2014-04-26 21:58:01 +01:00
Kévin Gomez d1ef814d57 Avoid injecting the container in the YamlDataLoader 2014-04-26 18:01:25 +01:00
Kévin Gomez c1eebcf61b Removed useless propel service 2014-04-26 17:18:48 +01:00
Kévin Gomez 8fb8e3eb0c Merge pull request #5 from havvg/2.0
remove Propel\Runtime\Propel dependency
2014-04-26 12:07:16 -04:00
Toni Uebernickel 0c836611d7 remove Propel\Runtime\Propel dependency 2014-04-26 16:36:28 +02:00
Kévin Gomez 920cea8fbb Removed a few useless checks in PropelExtension 2014-04-19 17:15:39 +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
Kévin Gomez 37c037f0ec Column names constants are now prefixed with COL_ 2014-04-19 04:42:00 +01:00
Kévin Gomez 07245b3e19 Fixed YamlDataLoader test 2014-04-19 03:44:18 +01:00
Kévin Gomez b4c67b6fff Fixed ParamConverter tests 2014-04-19 03:23:20 +01:00
Kévin Gomez 366a1e963e Use the PropelTypes class as PropelColumnTypes does not exist anymore 2014-04-19 02:56:20 +01:00
Kévin Gomez d740117da1 Fix notice when a connection contains an empty password 2014-04-19 01:43:01 +01:00
Kévin Gomez fb4e0019f2 Initialize propel.configuration container parameter in order to avoid errors when the bundle isn't configured 2014-04-19 01:34:56 +01:00
John Arevalo 747a45b14f Use alias to avoid ambiguity for ModelBuildCommand class 2014-02-27 15:23:11 -05:00
Kévin Gomez e8a9e22a18 Deleted useless code in the ModelChoiceList form type 2014-02-09 14:00:27 +00: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 4d980fb6ce Fixed typo in the configuration definition 2013-12-14 14:18:56 +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 e0a9b95977 Added tests for data loaders and data dumpers 2013-12-14 12:46:26 +00:00