Commit Graph
162 Commits
Author SHA1 Message Date
tdutrion 693ec9e93a Add project path to app Kernel instanciation 2019-03-23 18:51:27 +01:00
symfony-flex-server[bot]andGitHub d9dc7a8ff5 Merge pull request #507 2019-02-26 10:09:05 +00:00
Grégoire Pineau 52c6d2ae96 Load routes for specific env first
It's common to add a 'wildcard' route to an application that looks like
a CMS. Usually the route has the following path `/{slug}`.

But with the current routes loading order, the 'dev' routing is loaded
after regular routes. In previous SF versions, dev routing was loaded
first. This PR retores this behavior.
2019-02-25 16:29:14 +01:00
Martin Hujer 96ff1b6b8e symfony/framework-bundle 4.2 can use PHP 7.1 features 2019-02-24 10:00:46 +01:00
Jan Rosier de62821bc0 Remove the no longer needed getCacheDir and getLogDir methods.
Since Symfony v4.2 the methods of the parent class are the same.
2019-01-11 17:06:25 +01:00
Ryan Weaver e5537b6402 minor tweak - if APP_ENV is an empty string, this defaults it back to
dev
2019-01-05 11:27:19 -05:00
Ryan Weaver 8f35a294dc Allowing APP_ENV to be an empty index 2019-01-05 10:41:48 -05:00
symfony-flex-server[bot]andGitHub f10f2a78a4 Merge pull request #501 2019-01-03 13:07:35 +00:00
Nicolas Grekas 3e471cbc7d Always load vars defined in .env files, providing .env.local.php for prod 2019-01-03 13:52:26 +01:00
Nicolas Grekas 7490f414e3 [FrameworkBundle] split cache.yaml out of framework.yaml 2018-12-09 19:33:39 +00:00
symfony-flex-server[bot]andGitHub 230169dc8a Merge pull request #499 2018-11-22 16:10:44 +00:00
Nicolas Grekas f54d6a4684 Move src/.bootstrap.php to config/bootstrap.php 2018-11-22 16:07:00 +01:00
Ben Davies 5d55dfcd15 cast debug to boolean when creating kernel 2018-11-22 14:24:04 +00:00
Nicolas Grekas f6585a3b41 TRUSTED_HOSTS is a regexp 2018-11-17 07:21:56 +01:00
Nicolas Grekas 7ff50214ee Move loading .env files to bootstrap.php 2018-11-15 00:20:15 +01:00
symfony-flex-server[bot]andGitHub 3b516249b8 Merge pull request #488 2018-11-12 09:13:34 +00:00
symfony-flex-server[bot]andGitHub 5f5c10c2da Merge pull request #485 2018-11-12 06:03:51 +00:00
Nicolas Grekas fe0e99324e Load .env.dist when it exists and .env is not found 2018-11-11 12:08:25 +01:00
Nicolas Grekas be55b939ec Remove setting container.autowiring.strict_mode to true 2018-11-10 16:46:52 +01:00
Tobias SchultzeandGitHub ef52f72088 Handle disabling bundles when config set to false
Fixes #383
2018-11-10 00:42:53 +01:00
Nicolas Grekas f83edeee49 fix namespace 2018-11-09 22:20:11 +01:00
Ryan Weaver feb0acaf40 makes recipe consistent with symfony/flex 1.0 new env handling 2018-11-09 14:24:50 -05:00
Nicolas Grekas 95bb54353e Allow to override .env files per env 2018-11-09 14:22:38 +01:00
Kévin Dunglas ec98589e53 Change postinstall message 2018-10-12 09:47:05 +02:00
Kévin Dunglas cdb5864f65 CS 2018-10-12 09:43:07 +02:00
Kévin Dunglas 63ec91caed Better fix 2018-10-12 09:43:07 +02:00
Kévin Dunglas 2047326d42 Better fix 2018-10-12 09:43:07 +02:00
Kévin Dunglas 1a21559912 Fix routes support when using the PHP built-in web server 2018-10-12 09:43:07 +02:00
Nicolas Grekas 4c3d490527 Remove "private" from defaults, it already is 2018-10-11 17:11:54 -07:00
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