Commit Graph
133 Commits
Author SHA1 Message Date
Kévin Dunglas 334f189400 [FWBundle] $_ENV fallback (needed for Panther) 2018-09-20 18:09:36 +02:00
Victor BocharskyandGitHub 7e089624a9 Slightly tweak the comment
The current condition does not guarantee we do not load `.env` in production
2018-09-13 11:22:24 +03:00
Nicolas Grekas 875018cd2d [symfony/framework-bundle] Secure session defaults with "cookie_secure: auto" and "cookie_samesite: lax" 2018-09-04 10:37:28 +02:00
Grégoire PineauandGitHub 412d1fbe18 [FrameworkBundle] Added DependencyInjection to the excluded directory list 2018-07-10 15:20:00 +02:00
Nicolas Grekas 3567ee215e Add intro note to services.yaml and routes.yaml 2018-07-01 11:07:33 +02:00
Nicolas Grekas a592c0c393 Remove empty git repository 2018-06-07 21:07:21 +02:00
Gaiaz Iusipov 9f97317077 Remove "--relative" and "--symlink" options by default 2018-05-10 19:26:04 +03:00
Fabien PotencierandFabien Potencier d53ebf5d85 Fix .gitignore files 2018-03-20 08:35:41 +01:00
Grégoire Pineau 31f9738a39 Fixed typo 2018-03-14 10:28:02 +01:00
Wouter JandGitHub 13ccf89e56 Fixed not imported FQCN 2018-03-13 23:32:26 +01:00
symfony-flex-server[bot]andGitHub b2dfb0a4ad Merge pull request #377 2018-03-13 21:50:25 +00:00
Ryan Weaver e6907306bc Add container tracking to bundles.php so the container rebuilds when it
changes
2018-03-13 13:59:33 -04:00
Morel Sébastien 5849677040 Fix TypeError argument when APP_DEBUG is set 2018-03-08 01:20:32 -08:00
Benoit GALATI 67b920aa77 Tell user that container.autowiring.strict_mode can be deleted with Symfony 4.0+ 2018-02-21 22:04:09 +01:00
Ryan WeaverandRyan Weaver d0f7334e48 Changing ~ to true when it activates a system (for clarity) 2018-02-11 14:14:25 -05:00
symfony-flex-server[bot]andGitHub 018a74a593 Merge pull request #357 2018-02-09 06:42:35 +00:00
Ryan Weaver 203557f5be Reverting #353, which does not allow assets to load 2018-01-31 15:07:05 -05:00
Nicolas Grekas f67029e7e0 [framework-bundle] Let glob figure out existing dirs and fix resource tracking 2018-01-31 14:54:27 +01:00
symfony-flex-server[bot]andGitHub d3ce701a71 Merge pull request #353 2018-01-31 09:54:39 +00:00
Christophe Coevoet db95ec9aae Exclude the kernel when registering services 2018-01-30 09:35:57 +01:00
Christian Flothmann d4a7000abd tweak internal web server arguments 2018-01-27 12:10:45 +01:00
Marek PietrzakandGitHub 1ea1f497be Add --dev to composer require server suggestion
Current advice results with adding `"symfony/web-server-bundle"` into `require` section in composer.json.

We should advice `composer require server --dev` in order to add 
`"symfony/web-server-bundle"` into `require-dev` section in composer.json
2018-01-26 15:38:04 +00:00
Nicolas Grekas 0e88a4941b [symfony/framework-bundle] Tell about the cache.prefix_seed setting 2018-01-20 19:23:06 +01:00
Nicolas GrekasandNicolas Grekas 7b28e887d7 Tweak cache-related section 2018-01-08 21:52:09 +01:00
symfony-flex-server[bot]andGitHub 0de9aadc69 Merge pull request #335 2018-01-08 19:57:21 +00:00
Ryan WeaverandGitHub 1510c5a475 tweaked language 2018-01-08 13:40:49 -06:00
Nicolas Grekas adf2c2d293 [symfony/framework-bundle] Enable session support by default 2018-01-08 19:45:57 +01:00
Ryan WeaverandGitHub a9738f6a9c suggesting other cache options 2018-01-07 09:36:06 -06:00
Ben Scott 15506e0e3d Work out values for env and debug once
Previously the null coalescing logic was duplicated, this puts it into
one place.
2017-12-20 11:07:53 -08:00
symfony-flex-server[bot]andGitHub b61ce3310c Merge pull request #305 2017-12-11 16:10:21 +00:00
Ryan Weaver 8f76140fee Reverts #295: this re-establishes the separate Flex recipe 2017-12-11 10:32:20 -05:00
Ryan WeaverandGitHub 30ca16fe96 Clarify when you would uncomment the session config 2017-12-11 08:22:40 -06:00
Nicolas Grekas 510e3f8eb1 Merge flex recipe with framework-bundle one 2017-12-06 10:14:03 +01:00
Kévin Dunglas b324d5de53 Remove APP_ prefix 2017-12-02 17:15:05 +01:00
Kévin Dunglas 629e7320c3 [FrameworkBundle] Add a env vars to configure trusted proxies and hosts 2017-11-30 18:13:11 +01:00
symfony-flex-server[bot]andGitHub a9c8b00077 Merge pull request #240 2017-11-30 15:44:55 +00:00
Ryan WeaverandGitHub 59654103a9 using the alias 2017-11-29 12:45:31 -06:00
Nicolas Grekas 4e796285c0 Hopefully improve comments in services.yaml 2017-11-29 17:28:19 +01:00
symfony-flex-server[bot]andGitHub d46bbd5cb9 Merge pull request #271 2017-11-23 19:53:17 +00:00
Ben Scott b3c5ff1df5 Add checks for Dotenv before calling it
`composer install --no-dev` fails when Dotenv is a dev dependency (which
it is in skeleton) and you're running in an environment without an
APP_ENV variable set.

Throw exception when no env variables are set and Dotenv is absent so
the user knows to either require DotEnv or specify an APP_ENV variable.
2017-11-23 15:39:39 +00:00
Ryan WeaverandGitHub 3f10493a54 Making it more clear how to enable sessions 2017-11-22 08:20:26 -06:00
Javier Eguiluz 25e1dc9e5e Exclude DataFixtures/ from the autowired services 2017-11-19 11:42:42 +01:00
Nicolas Grekas 4861a3653b Enable container.dumper.inline_class_loader param by default 2017-11-10 19:28:53 +01:00
Jan Rosier 2bb4ff005c Use $this->getProjectDir() instead of dirname(__DIR__) 2017-11-10 13:40:49 +01:00
Nicolas Grekas d4af6721fd Remove defaults for APP_DEBUG env vars 2017-11-07 19:12:38 +01:00
Nicolas Grekas b758d3a313 Make "APP_DEBUG" mode fallback to "APP_ENV !== prod" 2017-11-07 17:24:19 +01:00
Ryan WeaverandGitHub ca14aad308 Remove Repository from being ignored
See https://github.com/doctrine/DoctrineBundle/pull/727

But also, this directory was always safe to auto-register. If they cannot be autowired, unless you try to *use* them as services, they will be discarded without showing the autowiring failure.
2017-11-06 11:50:39 -05:00
Benjamin Lazarecki 824bd92d9b FrameworkBundle kernel should be compatible 2017-10-28 00:57:30 +02:00
Tobias SchultzeandGitHub 9eef91211f Do not enable session in test env by default
Session system is not enabled by default in prod, dev. see https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/3.3/config/packages/framework.yaml#L8
So it should also not be enabled by default in test env.
2017-10-25 19:27:45 +02:00
Nicolas Grekas 6951a4cd72 Enable container.autowiring.strict_mode 2017-10-23 16:42:36 +02:00