Commit graph

39 commits

Author SHA1 Message Date
Gregor Harlan d5f4435ce0 support bundle-less schema file (#458) 2017-08-31 12:27:56 +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
Marc J. Schmidt 07dd412e06 Fixed package name generation for paths outside of application root. 2016-03-27 03:16:43 +02:00
Gregor Harlan 893c85c655 introduce "Bundle" namespace part 2016-02-11 19:31:44 +01: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
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
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
Moritz Schröder b1b3989152 Add user and password to dsn string 2015-03-11 10:38:38 +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 fe06f4c4f9 Set --platform for wrapper command only if it's not empty. 2014-11-27 11:06:02 +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 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
Kévin Gomez a9977bbcc4 Infer the platform class name from the configuration 2014-09-15 13:45:18 +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 09e4da0c19 Started to integrate the new configuration system (still WIP/dirty) 2014-09-12 21:18:03 +01:00
Kévin Gomez f84ab8eefd Added more phpDocs for commands 2013-12-14 14:17:10 +00:00
Kévin Gomez 12bcfbde5e Added ACL related features 2013-12-12 16:48:16 +00:00
Kévin Gomez d3ee81c3c5 Applied php-cs-fixer 2013-11-24 16:37:54 +00:00
Kévin Gomez 64ea15cd49 Cleaned commands 2013-11-24 16:36:58 +00:00
Kévin Gomez a8ceafc1bd Ported the form:generate command 2013-11-24 16:19:49 +00:00
Pierre Tachoire 4d0b86f5e7 check propel.ini existence
if propel.ini file doesn't exists, the parse_ini file will fire a
warning.
2013-11-18 22:28:55 +01:00
Kévin Gomez efd0b77c65 Fixed bundle name handling in AbstractCommand 2013-11-14 11:02:34 +00:00
Kévin Gomez 27862d6fb1 Checkstyle fix 2013-11-05 13:26:18 +00:00
Kévin Gomez a5cd6b86b6 Implemented the DatabaseDrop command 2013-11-04 21:41:59 +00:00
Kévin Gomez 2b7cbeacfb Cleaned a bit the TableDrop command 2013-11-04 21:32:14 +00:00
Kévin Gomez 53db41026b Implemented the table drop command 2013-11-04 21:29:16 +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 41ebcdbaa7 Consider the connection option while aggregating the schemas 2013-11-03 22:31:40 +00:00
Kévin Gomez 7c7ac126e4 Implemented the DatabaseReverse command 2013-11-03 21:50:33 +00:00
Kévin Gomez 772b03873a Checkstyle fixes 2013-11-03 21:23:53 +00:00
Kévin Gomez e3fb952229 Cleaned a bit the AbstractCommand 2013-10-31 21:25:56 +00:00
Kévin Gomez c6087f7191 Moved the schema-locating code outside the AbstractCommand 2013-10-31 21:19:24 +00:00
Kévin Gomez bfab444695 Revert "Removed useless buildtime-conf file generation"
This reverts commit bca3140e98.

Conflicts:
	Command/AbstractCommand.php
2013-10-31 21:06:36 +00:00
Kévin Gomez 88b2863fad Implemented the ModelBuild command 2013-10-31 21:05:29 +00:00
Kévin Gomez fbd439ff01 Reorganised a bit the commands 2013-10-31 20:39:12 +00:00
Kévin Gomez bca3140e98 Removed useless buildtime-conf file generation 2013-10-31 20:23:48 +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