hidenorigoto
c9f188b658
[FrameworkBundle] replaced Util/Mustache to Generator/Generator
2011-05-22 00:10:22 +09:00
Fabien Potencier
0c46797a35
fixed CS
2011-05-09 13:52:49 +02:00
Martin Schuhfuss
ad41d21675
[FrameworkBundle] added errormessage for windows in AssetsInstallCommand
...
As it has recently been discussed [on the mailing-list][1], windows doesn't
support symlinks for the assets:install command. In order to avoid a 'call to
undefined-function'-message in this case, this patch adds an exception which
will be thrown when the symlink-funktion isn't present and the
`--symlink`-Option was specified.
[1]: https://groups.google.com/group/symfony-devs/browse_thread/thread/4b8ad9634bdab155
2011-05-09 12:11:54 +02:00
Fabien Potencier
11cdff93f3
[FrameworkBundle] refactored container:debug command
...
* Use a dumper to serialize the container into the cache (XML)
* Only keep the "real" services (abstract ones are not displayed anymore)
2011-05-01 17:21:20 +02:00
Fabien Potencier
7c95bda751
[Routing] simplified route compiler
2011-04-25 12:38:20 +02:00
Ryan Weaver
6f16820328
[FrameworkBundle] Removing unnecessary and buggy functionality from ContainerDebugCommand
2011-04-19 17:01:22 -05:00
Samuel Laulhau
db90e0ab8d
fix Undefined property: Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand::
2011-04-14 13:11:03 +02:00
Fabien Potencier
27d2b049f8
Merge remote branch 'Seldaek/init_bundle'
...
* Seldaek/init_bundle:
[FrameworkBundle] Allow init:bundle to be called with / as namespace separator
2011-04-11 18:39:36 +02:00
Fabien Potencier
92c8edc2b5
Merge remote branch 'weaverryan/router_debug_format_tweak'
...
* weaverryan/router_debug_format_tweak:
[FrameworkBundle] router:debug - better string dumping to avoid namespace escaping
2011-04-11 18:39:04 +02:00
Jordi Boggiano
7d61c003da
[FrameworkBundle] Allow init:bundle to be called with / as namespace separator
2011-04-10 12:22:25 +02:00
Ryan Weaver
409df12a36
[FrameworkBundle] router:debug - better string dumping to avoid namespace escaping
...
Before this change, the var_export causes namespaces to be escaped:
Before: 'Symfony\\Component\\...'
After: Symfony\Component\...
2011-04-09 17:53:33 -05:00
Ryan Weaver
91df6d9f5c
[FrameworkBundle] Improving the output and help messages in the task (no behavioral change)
2011-04-09 09:13:24 -05:00
Fabien Potencier
49a7f525b9
Revert "[FrameworkBundle] Updated the files generated by init:bundle to use the new bundle logical names"
...
This reverts commit d0e2b5b611
.
2011-04-04 11:42:52 +02:00
Martin Hason
3baebe4e3b
[FrameworkBundle] fixed CS
2011-04-01 10:28:09 +02:00
Fabien Potencier
be702fd426
Merge remote branch 'thesalla/init_bundle_fix'
...
* thesalla/init_bundle_fix:
[FrameworkBundle] Updated the files generated by init:bundle to use the new bundle logical names
2011-03-30 15:53:16 +02:00
Fabien Potencier
49d67645d7
[Console] moved Output constants to OutputInterface
2011-03-29 21:53:28 +02:00
Gyula Sallai
d0e2b5b611
[FrameworkBundle] Updated the files generated by init:bundle to use the new bundle logical names
2011-03-29 21:36:00 +02:00
Fabien Potencier
124f1d8e44
moved the Filesystem class form FrameworBundle to HttpKernel (refactored it slightly)
2011-03-26 08:37:10 +01:00
Fabien Potencier
cbe1f6f763
[FrameworkBundle] fixed cache:clear command for non-namespaced AppKernel classes
2011-03-23 07:06:36 +01:00
Fabien Potencier
0ca1d1a8cd
[FrameworkBundle] fixed CS
2011-03-22 19:46:08 +01:00
lenar
6ec84bad76
namespaced Kernel support for cache:clear
2011-03-22 19:45:17 +01:00
Fabien Potencier
1991437766
Merge remote branch 'kriswallsmith/router/method-not-allowed'
2011-03-22 16:40:41 +01:00
ornicar
1061194abf
[FrameworkBundle] Fix CacheClearCommand help message
2011-03-21 09:21:47 -07:00
Kris Wallsmith
2217a0d7e4
[FrameworkBundle] updated to support 405 Method Not Found responses
2011-03-21 05:58:02 -07:00
Fabien Potencier
85778caba1
[FrameworkBundle] added --without-debug option to cache:clear as the debug flag value can be different from the one used for the command execution (think generating the prod cache but still with debug information when running the command)
2011-03-21 11:29:20 +01:00
Fabien Potencier
e4a636a885
[FrameworkBundle] refactored the cache:clear command
...
* removed the hack on the Kernel
* removed inheritance from the warmup command
* major cleanup
2011-03-21 11:03:55 +01:00
Fabien Potencier
9cf9f674e8
[FrameworkBundle] simplified cache:clear and cache:warmup implementations
2011-03-21 10:03:58 +01:00
Fabien Potencier
e520956624
[FrameworkBundle] fixed help for cache:warmup
2011-03-21 10:03:32 +01:00
Fabien Potencier
5a528bcb55
[FrameworkBundle] change cache:clear warmup option to no-warmup as most of the time people will want to use the warmup version (especially in production env)
2011-03-21 09:39:28 +01:00
Fabien Potencier
00d47889a2
[FrameworkBundle] removed hardcoded AppKernel class name
2011-03-21 09:33:58 +01:00
Fabien Potencier
b00a903858
[FrameworkBundle] removed clearDir() method in some commands (use Filesystem::remove() instead)
2011-03-21 09:31:04 +01:00
Fabien Potencier
45f9c2fbf4
merged francisbesset:cache_clear_command
2011-03-21 09:24:16 +01:00
Fabien Potencier
d9c5102fd6
[FrameworkBundle] miror changes to container:debug
2011-03-14 14:24:45 +01:00
Fabien Potencier
b93a2c39a8
Merge remote branch 'weaverryan/container_debug_console'
2011-03-14 14:17:08 +01:00
Ryan Weaver
0f0539f983
[FrameworkBundle] Adding lots of information for the user after init:bundle
...
This is mirrored off of the messages used by git flow and serves to give the user some initial direction (and to avoid "forgetting" the setup steps).
I realize that I've hardcoded documentation URLs into this task, but I think the benefit outweighs the cost of needing to make sure these are always up-to-date.
2011-03-13 12:08:56 -05:00
Ryan Weaver
a495fa3dce
[FrameworkBundle] Adding a container:debug console
...
This command uses a new container pass which dumps the ContainerBuilder into a cache file by serializing it. It's possible that we don't want this to run when kernel.debug = false, but I don't see the harm of generating the file and running the container:debug in, for example, the prod environment seems to make sense.
2011-03-12 14:44:21 -06:00
Francis Besset
74bae0444f
[FrameworkBundle] Fixed indentation on router:debug command
2011-03-12 14:08:29 +01:00
Francis Besset
bb7986e221
[FrameworkBundle] Added cache:clear command with warmup option
2011-03-11 23:35:48 +01:00
Fabien Potencier
b940cc6f40
moved most protected to private in the Console component
2011-03-11 12:53:42 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Pascal Borreli
f7716645a5
[FrameworkBundle] Removed useless else
2011-02-27 18:36:36 +01:00
Fabien Potencier
d4fc3c98b1
[FrameworkBundle] updated the init:bundle skeleton files
2011-02-21 11:26:58 +01:00
Fabrice Bernhard
13469a2d82
[FrameworkBundle] added --format=xml,php,yml optional parameter to the init:bundle command
...
* Added the --format parameter to the InitBundleCommand.php file
* Moved all the non-format-dependent files from Resources/skeleton/bundle to Resources/skeleton/bundle/generic
* Created Resources/skeleton/bundle/[php,yml,xml] subfolders containing the files config/routing.[xml,yml,php]
2011-02-14 19:31:21 +01:00
Fabien Potencier
f35f1e1f3c
[FrameworkBundle] fixed init:bundle command
2011-02-08 22:36:36 +01:00
Fabien Potencier
4e877a84ad
[FrameworkBundle] fixed router:apache-dump command
2011-01-30 11:37:38 +01:00
Fabien Potencier
faf871990e
fixed CS
2011-01-29 12:21:55 +01:00
Miha Vrhovnik
6ee13a6b8d
Added optional parameter bundleName,
...
added namespace validation,
fixed dir trailing / handling
2011-01-29 12:18:44 +01:00
Benjamin Eberlei
bdbfb44a96
[DoctrineBundle] First round of cleanup the Command namespace in DoctrineBundle
2011-01-29 10:09:42 +01:00
Fabien Potencier
e645090423
moved security related things to a new SecurityBundle (the Security component is left unchanged)
2011-01-26 19:10:54 +01:00
Fabien Potencier
d0b4bfc8f6
added a cache warmer sub-framework
...
Cache warmer will come in the next commits.
To warm up the cache on a production server, you can use
the cache:warmup command:
./app/console_prod cache:warmup
2011-01-24 18:08:51 +01:00