Commit Graph

3570 Commits

Author SHA1 Message Date
Kris Wallsmith
517ce9c923 [AsseticBundle] added basic support for globs to bundle notation 2011-03-22 11:32:21 -07:00
Sven Paulus
eb8491f754 re-add filename based directory filter to the AnnotationDirectoryLoader,
now restricting to *.php files and therefore disregarding e.g. SVN metadata
files
2011-03-22 18:23:54 +01:00
Jan Prieser
67aaf5ce91 Fixed PhpDumper isSimpleService and changed test fixtures 2011-03-22 17:01:03 +01:00
Fabien Potencier
bb206a7b7b [FrameworkBundle] fixed profiler on requests for which no route matches 2011-03-22 16:57:37 +01:00
Fabien Potencier
1991437766 Merge remote branch 'kriswallsmith/router/method-not-allowed' 2011-03-22 16:40:41 +01:00
Fabien Potencier
ecceea57f7 Merge remote branch 'kriswallsmith/assetic/mkdir-fix' 2011-03-22 16:27:12 +01:00
Kris Wallsmith
c565a33a4d [AsseticBundle] fixed directory creation when writing assets 2011-03-22 08:16:17 -07:00
Fabien Potencier
46fc044d32 Merge remote branch 'thesalla/generate_repos_fix' 2011-03-22 16:12:29 +01:00
Fabien Potencier
2b9b409a74 Merge remote branch 'snc/clear_cache_meta' 2011-03-22 16:11:50 +01:00
Fabien Potencier
b0cee4527a Merge remote branch 'weaverryan/controller_redirect' 2011-03-22 16:10:56 +01:00
Ryan Weaver
9ee9f5552b [FrameworkBundle] Adding the redirect method back to the base controller
Some question whether or not the base Controller should be included at all. I think it absolutely must be included because it's important for beginners and for rapid development of smaller features/applications (and rapid development is good for beginners).

So, assuming that we *do* like the base Controller, we should really use it to its fullest potential - making the lives of developers as easy as possible.
2011-03-22 08:21:07 -05:00
Sven Paulus
61974adb4f revert adding filename based filter to the directory resource 2011-03-22 12:14:12 +01:00
Fabien Potencier
8f44c530f9 Merge remote branch 'FabienD/fix-doctrine-entities-filter' 2011-03-22 11:12:14 +01:00
Fabien Potencier
393f863e19 Merge remote branch 'ornicar/fixCacheClearCommandHelp' 2011-03-22 11:06:45 +01:00
Sven Paulus
f93e4b2d73 Eleminate the need to manually clear the cache if a new controller file containing routing annotations is added - part II
* add unit tests
* introduce filename filter to DirectoryResource (to restrict change monitoring to a subset of files)
* modify AnnotationDirectoryLoader.php to use filename filter set on Controller\.php$
2011-03-22 09:03:45 +01:00
FabD
01ac10fb6e Fix DoctineBundle "doctrine:generate:entities" filter 2011-03-22 08:05:42 +01:00
Kris Wallsmith
0f9f82d1ec [AsseticBundle] added missing compiler pass 2011-03-21 21:51:40 -07:00
ornicar
1061194abf [FrameworkBundle] Fix CacheClearCommand help message 2011-03-21 09:21:47 -07:00
Fabien Potencier
6ace6af537 Merge remote branch 'mvrhov/variousFixes' 2011-03-21 16:57:34 +01:00
Fabien Potencier
2c99ffe145 Merge remote branch 'everzet/mongodb-commands-help-fix' 2011-03-21 16:54:25 +01:00
Fabien Potencier
c8ebb3f0c3 Merge remote branch 'dator/change_twig_if_datacollector' 2011-03-21 16:53:47 +01:00
Fabien Potencier
0ee68156b5 Merge remote branch 'schmittjoh/security' 2011-03-21 16:53:33 +01:00
everzet
da80c2867a [DoctrineMongoDBBundle] fixed wrong command names in commands help messages 2011-03-21 17:41:28 +02:00
Kris Wallsmith
66cbad3433 [Routing] updated test fixture 2011-03-21 06:18:54 -07:00
Kris Wallsmith
2217a0d7e4 [FrameworkBundle] updated to support 405 Method Not Found responses 2011-03-21 05:58:02 -07:00
Kris Wallsmith
10dc18b28b [HttpKernel] refactored HTTP exceptions to be more flexible 2011-03-21 05:57:35 -07:00
Kris Wallsmith
b2f5ac8beb [Routing] refactored URL matching to support 405 Method Not Allowed responses 2011-03-21 05:56:53 -07:00
Miha Vrhovnik
9c0ae0ceaf $emName is supposed to be $dmName 2011-03-21 11:50:56 +01:00
Miha Vrhovnik
a144a83405 refactored if elseif to switch and throw an exception on unknown option 2011-03-21 11:48:53 +01:00
Johannes M. Schmitt
eb0d772743 [Security/Acl] removed remaining LIMIT clauses 2011-03-21 11:39:05 +01:00
Miha Vrhovnik
25e4193294 removed unused variable 2011-03-21 11:34:06 +01: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
Miha Vrhovnik
496280329b changing phpdoc parameter to array as all variables are used in foreach 2011-03-21 11:28:38 +01:00
Miha Vrhovnik
33dd0da420 removed unused variables 2011-03-21 11:22:29 +01:00
Miha Vrhovnik
909a6bfc30 $user* was refactored to $accout* 2011-03-21 11:20:21 +01:00
Miha Vrhovnik
5a620c0573 unless I'm missing something the first instance of loader is not used and thus not needed 2011-03-21 11:11:49 +01:00
Miha Vrhovnik
e9e0f9f102 fixing undefined variable name, and removing unexisting namespace. I backtraced code to the actal mongodb maping clas and it doesn't seem to throw any exceptions, but just in case I'm catching the general \Exception 2011-03-21 11:04:52 +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
Miha Vrhovnik
e57075ea60 removed unused and undefined namespace and use statement 2011-03-21 10:50:13 +01:00
Miha Vrhovnik
fb814c666b removed unused and undefined namespace and use statement 2011-03-21 10:45:34 +01:00
Miha Vrhovnik
a491af873b removed unecessary use statements (ExceptionEvent was also undefined namespace) 2011-03-21 10:41:39 +01:00
Miha Vrhovnik
d1a2681531 fixing undefined class RuntimeException 2011-03-21 10:37:49 +01:00
Miha Vrhovnik
031ffaee6b fixing undefined class UnsetKeyException 2011-03-21 10:33:27 +01:00
Miha Vrhovnik
fb9944ee6b Fixing Undefined variable: writeEvent 2011-03-21 10:29:11 +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
82a5ae669e [FrameworkBundle] fixed merge problem 2011-03-21 09:43:41 +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