Commit graph

238 commits

Author SHA1 Message Date
Simon Vieille 5e26297485 add phpConfDir in DependencyInjection 2022-03-07 16:56:10 +01:00
Simon Vieille 892dd63f3a call initDatabaseMaps when bundle is loaded 2022-03-07 16:11:39 +01:00
Simon Vieille 7c32d28868 update composer 2022-03-07 15:19:26 +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 af88d81d9a do not require the templating component (#456) 2017-08-31 17:49:55 +02:00
Gregor Harlan 4df8ff614c Read "propel_converter" options from request attributes (#449) 2017-08-31 14:04:25 +02:00
Gregor Harlan 2330aa2e8a do not require full symfony/symfony package (#455) 2017-08-31 12:28:43 +02:00
Gregor Harlan d5f4435ce0 support bundle-less schema file (#458) 2017-08-31 12:27:56 +02:00
Gregor Harlan 59f3b4a738 Allow to configure sql/migrations dir (#459) 2017-08-31 12:26:56 +02:00
Gregor Harlan efada49f15 profiler enhancements (#460) 2017-08-31 12:26:12 +02:00
Nicolas Grekas 9536a719e3 Fix configuration processing (#461) 2017-08-31 12:25:34 +02:00
Maxim 61ef13c803 Added Identifier quoting (#420)
```
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order' at line 1
```
Query
```
SELECT id, ... FROM order
```
2017-01-09 12:31:29 +01: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
Peter Potrowl c4359c39b6 Fix regression: allow using custom methods. (#440)
We used to be able to use our own methods to generate the `$choiceLabel`, instead of just the columns of the object. Now, Propel complains about the column not existing in the object.
2017-01-09 12:28:54 +01:00
Marc J. Schmidt df24480a4f Added info about versions 2016-11-24 23:16:17 +01:00
Gregor Harlan 0d0d6c1c65 require propel dev-master (#439) 2016-11-18 14:09:00 +01:00
Marc J. Schmidt 14ec9f554d Propel v2.0.0-alpha6 2016-10-23 23:42:14 +02:00
Wim Winterberg 213b4197f6
Added additional options 2016-10-13 18:24:05 +02:00
Toni Uebernickel c605b9346f Merge pull request #431 from peter17/3.0
Fix error on Form/Type/ModelType.php.
2016-10-13 18:16:54 +02:00
Toni Uebernickel 3fcfda7368 Merge pull request #428 from Big-Shark/patch-9
Updated travis config
2016-10-13 18:12:34 +02:00
Toni Uebernickel 39ba311d04 Merge pull request #432 from peter17/patch-1
Fix syntax in .travis.yml
2016-10-13 18:10:56 +02:00
Peter Potrowl 59829ce716 Fix syntax in .travis.yml 2016-09-02 16:00:42 +02:00
Peter Potrowl 89270ebe15 Fix error on Form/Type/ModelType.php. 2016-09-02 15:43:08 +02:00
Maxim 08b566ad2d Updated travis config 2016-07-02 23:25:15 +10:00
Moritz Schröder ad4827d281 Set option "by_reference" to false, so the underlying entity property (addXX(), removeXX()) gets changed not the collection (#424)
Removed unneccessary commented code
2016-06-06 12:56:58 +02:00
Maxim cdcb3f6b9f Removed unnecessary catched exceptions in commands (#421)
* Remove catch exception

Because this is broken -vvv and don't show stack trace

* Update DatabaseDropCommand.php

* Update FixturesDumpCommand.php

* Update TableDropCommand.php
2016-05-27 15:07:47 +02:00
Philipp Bräutigam 830e68f344 Fixed temporary configuration for database creation (#419)
* Fixed temporary configuration for database creation

* Fixed regular expression
2016-05-18 22:06:14 +02:00
JHGitty 911304bbec Remove Symfony version in README (#414) (#415) 2016-05-11 01:23:19 +02:00
Leo f984bb5642 remove the semicolon before dbname (#416)
A dsn like "mysql:host=localhost;dbname=foo"
After preg_replace, the dsn become "mysql:host=localhost;"
If we have additional setting "charset: utf8", the dsn will become "mysql:host=localhost;;charset=utf8", which make propel:database:create not working
2016-05-11 01:22:50 +02:00
Leo 95e4c804a4 fix "propel:acl:init" command (#418)
let "propel:acl:init" command insert sql into database with a "--force" option
2016-05-11 01:22:34 +02:00
Tomáš Votruba 2496b5fe45 travis: drop PHP nightly, as it's duplicate to PHP 7.0 (#413) 2016-04-25 20:49:19 +02:00
Christian Siewert 8960c67866 fixed addViolationAt method (#412) 2016-04-17 14:34:35 +02:00
Gregor Harlan 5fd4b68de2 fixed ModelType for symfony 3 (#410) 2016-04-14 12:10:14 +02:00
Marc J. Schmidt 07b5a60f1b
fixed cs 2016-04-13 19:10:01 +02:00
Abdallah ARFFAK 980cff8db6
Added query_method option to PropelParamConverter (#316)
* Update PropelParamConverter.php

add "query_method" option equivalence of "repository_method" in doctrine

* FIX CS

* FIX CS

* \method_exists => && method_exists

* and => &&
2016-04-13 19:09:56 +02:00
Marc J. Schmidt 9c4ad7db45
Fixed yaml dumper test with newer versions 2016-04-13 19:01:57 +02:00
Marc J. Schmidt 1a22061a47
Fixed links in readme 2016-04-13 16:21:33 +02:00
Marc J. Schmidt beea188ea5
adjusted readme to reflect 3.0 branch 2016-04-13 16:16:32 +02:00
Marc J. Schmidt a4314c701b
Fixed test suite and adjusted readme according to new branch model 2016-04-13 16:15:59 +02:00
Marc J. Schmidt d543163e37
Pulled #408 and #403. Made Symfony 3 compatible 2016-04-13 15:27:04 +02:00
Marc J. Schmidt b8b0e8039b
Merge branch '2.0' of https://github.com/marcj/PropelBundle into IceShack-feature/sf3FormGeneration 2016-04-13 15:25:53 +02:00
Marc J. Schmidt 4cef2b6701
Merge branch 'feature/sf3FormGeneration' of https://github.com/IceShack/PropelBundle into IceShack-feature/sf3FormGeneration 2016-04-13 14:42:59 +02:00
Toni Uebernickel 865599263e Merge pull request #396 from IceShack/2.0
Make PropelBundle available for Symfony 3.X
2016-03-28 13:05:40 +02:00
Toni Uebernickel 91e930fedc Merge pull request #399 from thomaschaaf/2.0
Fix model_paths
2016-03-28 12:29:12 +02:00
Marc J. Schmidt 07dd412e06 Fixed package name generation for paths outside of application root. 2016-03-27 03:16:43 +02:00
Moritz Schroeder 6385c47731 Use wrong options for normalizer 2016-02-19 21:50:01 +01:00
Moritz Schroeder 9e745df8fe Added missing "property" option 2016-02-19 21:40:05 +01:00
Moritz Schroeder 224add2612 Added @deprecated for BaseAbstractType and use correct "blockPrefix" 2016-02-17 20:09:56 +01:00
Moritz Schroeder edfb13c388 Added special logic for foreignKey columns 2016-02-17 19:51:22 +01:00