Commit graph

147 commits

Author SHA1 Message Date
Geoffrey Vincent 6aef05bf57 Use equals function to allow validation of a cloned object 2015-11-16 11:41:14 +01:00
Marc J. Schmidt ec464b1f8f Merge pull request #362 from mwaterboehr/patch-1
Update AbstractCommand.php
2015-10-22 13:36:08 +02:00
Toni Uebernickel b15aaa001d Merge pull request #360 from rayrigam/patch-2
Replace deprecated Twig_Filter_Method class
2015-10-22 11:44:07 +02:00
Micha Waterböhr 66c7e32838 Update AbstractCommand.php
fixed return value to return correct dsn with appended user and password values
2015-10-22 11:19:59 +02:00
rayrigam 5a0cc6770f Replace deprecated Twig_Filter_Method class
The Twig_Filter_Method class is deprecated since version 1.12 and will be removed in 2.0. Use Twig_SimpleFilter instead.
2015-09-25 15:29:55 -03:00
Marc J. Schmidt 47b17c4877 Merge pull request #357 from didipeut/fixtures-load-sql
fixed insertSql method for FixturesLoadCommand
2015-08-21 11:32:18 +02:00
dietmar.erdmann 631cae6258 fixed insertSql method for FixturesLoadCommand
option sql-dir has to be the cacheDir, force is needed for
SqlInsertCommand
2015-08-11 18:07:24 +02:00
Toni Uebernickel 88bf864e25 Merge pull request #353 from gharlan/model-type-without-translation
Do not translate choices of model type
2015-08-10 18:40:02 +02:00
Gregor Harlan 32e2aa4ea8 do not translate choices of model type 2015-08-10 15:01:41 +02:00
Marc J. Schmidt 0852bf835e log queries into own propel channel 2015-07-28 18:05:12 +02:00
Toni Uebernickel 099f7953a9 Merge pull request #347 from gharlan/symfony-versions
Travis: updated symfony and php versions
2015-07-28 10:36:56 +02:00
Gregor Harlan 012b79d19e Travis: updated symfony and php versions 2015-07-28 10:10:47 +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
Marc J. Schmidt cf1aa6dc14 Merge pull request #345 from gharlan/data-loader
DataLoader: allow to set foreign key for a table not included in fixture
2015-07-15 20:08:39 +02:00
Gregor Harlan e80e31858d DataLoader: allow to set foreign key for a table not included in fixtures 2015-07-15 18:16:33 +02:00
Toni Uebernickel e729612866 Merge pull request #340 from Big-Shark/patch-1
Remove var_dump
2015-06-19 14:49:02 +02:00
Maxim 22cbcc5a98 Remove var_dump 2015-06-19 16:09:36 +07: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
Toni Uebernickel e3903ffad3 Merge pull request #338 from gharlan/psr-4
Use PSR-4
2015-06-10 20:37:54 +02:00
Gregor Harlan 5a91ba24e0 Use PSR-4 2015-06-08 10:52:12 +02:00
Marc J. Schmidt e3398133b1 Merge pull request #336 from apinnecke/feature/stack-trace-in-debug-toolbar
Added stack trace to debug toolbar
2015-04-13 13:45:28 +02:00
Marc J. Schmidt 152d48ce7d Fix test suite by defining correct foreign key name 2015-04-13 12:43:37 +02:00
Alexander Pinnecke 2fc716467b Added stack trace to debug toolbar 2015-04-10 17:52:41 +02:00
Marc J. Schmidt c6e7355f7a Fixed master slave configuration
The setup of ConnectionManagerMasterSlave was basically broken since
connection->slave node does not provide all necessary information
to be able to setup a valid connection link. Also Symfony's default
database_driver parameter which includes pdo_ as prefix was not correctly
converted/renamed for those slaves
2015-03-12 18:02:40 +01:00
Moritz Schröder b1b3989152 Add user and password to dsn string 2015-03-11 10:38:38 +01:00
Marc J. Schmidt f34a6d28f7 Merge pull request #322 from oujesky/profiler_icon
[v2] Fixed missing icon in Symfony profiler
2015-01-28 20:37:41 +01:00
Miroslav Oujesky 64684621b4 Fixed missing icon in Symfony profiler 2015-01-28 20:24:56 +01:00
Marc J. Schmidt 7d9fb0cc4f Merge pull request #317 from cristianoc72/config-refactor
Fix FormGenerateCommand
2015-01-02 18:13:24 +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 8f2ac4c3fa Fixed some issues with symfony firewall and ModelType. 2014-12-03 18:42:05 +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 491ed27582 Added runtime.logging (default kernel.debug) so you can disable SQL logging in dev-environment explicitly. 2014-11-28 12:08:49 +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
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