Commit graph

238 commits

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