Commit graph

37 commits

Author SHA1 Message Date
Simon Vieille 5e26297485 add phpConfDir in DependencyInjection 2022-03-07 16:56:10 +01:00
Gregor Harlan d671fbeb4a use ChildDefinition instead of DefinitionDecorator (#485) 2018-02-12 16:17:43 +01:00
Drew Brown ea6a359272 Symfony 4.0 updates (#483)
* Upd: Add Symfony 4 Compatibility

#SymfonyConHackday2017

* Upd: Configure visibility of services for SF4

* Updated composer to allow Symfony 4.0

* Updated composer to allow Symfony 4.0

* PropelBundle for Symfony 4

* Upd: Travis configuration

* Upd: PHP 5 not supported anymore by PHPUnit

* Upd: Removing old SF version + PHPUnit correction

* * Removed param that was removed in symfony/yaml afb873f
* Updated format of object dumping as deprecated tags using colon symfony/yaml 38d3087

* * Added commands to console.xml as symfony no longer auto registers bundle commands
* Updated two services to public

* * Removed deprecated getMock calls for new createMock calls.

* * Add stub for additional abstract method

* * Updated schema locator test
* reverted unnecessary changes to abstract command and schemal locator
* Added fixtures for schema testing.

* * Updated schema locator test
* reverted unnecessary changes to abstract command and schemal locator
* Added fixtures for schema testing.

* * Removed unnecessary default for services
* Updated readme to reflect symfony version support
2018-02-10 01:25:14 +01:00
Gregor Harlan 59f3b4a738 Allow to configure sql/migrations dir (#459) 2017-08-31 12:26:56 +02:00
Nicolas Grekas 9536a719e3 Fix configuration processing (#461) 2017-08-31 12:25:34 +02:00
cedric lombardot 5ea4110b62 3.0 Some Fixes for MSSQL (#438)
* Fix DatabaseCreateCommand for Mssql

* parseDbName for Mssql

* Use a simple connection for drop

Else MSSQL will say ressource is in use

* encoding
2017-01-09 12:30:41 +01:00
Wim Winterberg 213b4197f6
Added additional options 2016-10-13 18:24:05 +02:00
Thomas Schaaf c57aa6ee31 Fix xml model_path 2016-02-13 18:16:31 +01:00
Thomas Schaaf d6d99be87f Fix model_paths 2016-02-13 18:10:46 +01:00
Toni Uebernickel 58b80628dd Merge pull request #377 from nibsirahsieu/issue_365
set `defaultConnection` value for both `runtime` and `generator`
2016-02-11 20:27:32 +01:00
Gregor Harlan 893c85c655 introduce "Bundle" namespace part 2016-02-11 19:31:44 +01:00
Yunan NSNT 301df4331c check whether the value of defaultConnection have been set or not 2015-12-18 10:16:07 +07:00
Yunan NSNT 8d8cc7be79 set defaultConnection value for both runtime and generator if there is only one connection 2015-12-18 00:08:52 +07: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
Marc J. Schmidt 8f2ac4c3fa Fixed some issues with symfony firewall and ModelType. 2014-12-03 18:42:05 +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 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
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
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
Toni Uebernickel 2f606c2ebf fix DI Configuration of connection settings 2014-04-27 11:28:07 +02:00
Kévin Gomez 920cea8fbb Removed a few useless checks in PropelExtension 2014-04-19 17:15:39 +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
Kévin Gomez 4d980fb6ce Fixed typo in the configuration definition 2013-12-14 14:18:56 +00:00
Kévin Gomez 12bcfbde5e Added ACL related features 2013-12-12 16:48:16 +00:00
Kévin Gomez f16c92580f Implemented the fixtures dumper command 2013-11-05 11:23:36 +00:00
Kévin Gomez bfef3c6460 Do not ignore build properties and behaviors given in the configuration anymore 2013-11-04 10:45:37 +00:00
Kévin Gomez b1217c0e5d Add: support for param converters 2013-11-03 22:52:53 +00:00
Kévin Gomez 44729e47f5 Fixed classname configuration 2013-10-31 22:30:08 +00:00
Kévin Gomez b96a828af1 Handle master/slave connections 2013-10-31 21:46:54 +00:00
Kévin Gomez 38e7f63a62 Started to work on Propel2 commands integration (only a few work at the moment) 2013-10-15 22:48:33 +01:00