Commit Graph

3086 Commits

Author SHA1 Message Date
Fabien Potencier
ff3c66753f [BrowserKit] tagged the guaranteed BC API 2011-03-24 09:25:46 +01:00
Fabien Potencier
7280da8af2 [Process] fixed previous commit 2011-03-24 09:15:33 +01:00
Fabien Potencier
b2a8e35900 [Process] tagged the guaranteed BC API 2011-03-24 09:13:58 +01:00
Fabien Potencier
639d93cbbf [Process] moved protected to private 2011-03-24 09:10:42 +01:00
Fabien Potencier
34cf511a1d [Translation] tagged the guaranteed BC API 2011-03-24 09:07:52 +01:00
Aurelijus
38318f8f80 removes unwanted characters from goto name 2011-03-24 10:03:59 +02:00
Fabien Potencier
e0469d398d [Yaml] tagged the guaranteed BC API 2011-03-24 09:02:09 +01:00
Fabien Potencier
8ab59f82db [CssSelector] tagged thlassLoader]d BC API 2011-03-24 08:44:53 +01:00
Fabien Potencier
f58654c6fd [CssSelector] tagged the guaranteed BC API 2011-03-24 08:40:47 +01:00
Fabien Potencier
eeca46dea0 [CssSelector] moved protected to private 2011-03-24 08:34:52 +01:00
Fabien Potencier
06d00f36ba Merge remote branch 'kriswallsmith/framework/protocol-relative-base-urls'
* kriswallsmith/framework/protocol-relative-base-urls:
  [Templating] updated assets helper to leave protocol-relative URLs untouched
  [FrameworkBundle] cleaned up test class
2011-03-23 22:03:48 +01:00
Fabien Potencier
1fb08b6445 [Routing] fixed private method 2011-03-23 21:40:54 +01:00
Fabien Potencier
a6e6cbbb27 [HttpFoundation] removed the hardcoded ^ and $ from the RequestMatcher 2011-03-23 21:27:04 +01:00
Kris Wallsmith
55671be888 [Templating] updated assets helper to leave protocol-relative URLs untouched 2011-03-23 13:02:49 -07:00
Kris Wallsmith
d3792e2ec8 [FrameworkBundle] cleaned up test class 2011-03-23 13:02:49 -07:00
Fabien Potencier
1b8dc80215 [HttpKernel] moved from protected to private 2011-03-23 19:47:16 +01:00
Fabien Potencier
e4a3e0c2c7 [Config] moved from protected to private (WIP) 2011-03-23 19:34:00 +01:00
Fabien Potencier
b5857528e0 [Routing] moved protected to private 2011-03-23 19:25:56 +01:00
Fabien Potencier
9595963c2b [Routing] changed interface of the router twig extension as we don't need a full router 2011-03-23 16:27:08 +01:00
Fabien Potencier
662a4b3740 removed the status message from HttpException, changed the signature so that most useful arguments are first, fixed many small problems introduced with previous HTTP exception refactoring
Quote from HTTP (bis) spec (Part 2 - 5.1.1):

The Reason Phrase exists for the
sole purpose of providing a textual description associated with the
numeric status code, out of deference to earlier Internet application
protocols that were more frequently used with interactive text
clients.  A client SHOULD ignore the content of the Reason Phrase.
2011-03-23 16:11:54 +01:00
Fabien Potencier
82dec51b30 moved integration between the Yaml component and Twig to a Symfony Bridge 2011-03-23 15:50:55 +01:00
Fabien Potencier
e912b347f0 moved integration between the Translation component and Twig to a Symfony Bridge 2011-03-23 15:23:52 +01:00
Fabien Potencier
3e5bd67dac moved integration between Routing and Twig to a Symfony Bridge 2011-03-23 15:16:57 +01:00
Fabien Potencier
abb99e9469 [HttpKernel] changed the abstract BaseHttpException to HttpException to allow the creation of any HTTP exception 2011-03-23 11:12:31 +01:00
Fabien Potencier
a2294106fb fixed finding resources under the main app/ directory
* Now, all resources can be stored globally (templates, assets, ...)
* The new directory is app/Resources/...
2011-03-23 09:04:21 +01:00
Fabien Potencier
72854cfbcf [AsseticBundle] replace usage of the Unix specific 'rm -rf' by usage of the Filesystem class 2011-03-23 08:24:58 +01:00
Fabien Potencier
3ca23c92ff Merge remote branch 'weaverryan/controller-cannot-find-exception'
* weaverryan/controller-cannot-find-exception:
  [FrameworkBundle] Giving a more specific message when a Bundle:Controller:Action controller class cannot be found
2011-03-23 07:13:45 +01:00
Fabien Potencier
1479c25a8a Merge remote branch 'stof/security_events'
* stof/security_events:
  [Security] Removed useless method call
  [Security] Fixed some listeners not updated after the event refactoring
2011-03-23 07:08:13 +01:00
Fabien Potencier
cbe1f6f763 [FrameworkBundle] fixed cache:clear command for non-namespaced AppKernel classes 2011-03-23 07:06:36 +01:00
Ryan Weaver
98d03d1aec [FrameworkBundle] Giving a more specific message when a Bundle:Controller:Action controller class cannot be found
It's a detail, but it hits usability. For normal bundles (those without children), we're able to actually print the namespace where we're looking for the Controller. For bundles with children, this would be a very verbose message, but we can at least print all of the bundles that we looked inside of.
2011-03-22 22:10:45 -05:00
Christophe Coevoet
cc036b4f2b [Security] Removed useless method call 2011-03-23 00:02:57 +01:00
Christophe Coevoet
8b8bb66afe [Security] Fixed some listeners not updated after the event refactoring 2011-03-22 23:56:46 +01:00
Fabien Potencier
20245da86d [FrameworkBundle] fixed cache_warmer configuration 2011-03-22 22:56:46 +01:00
Fabien Potencier
e159c47cc9 [Routing] fixed UrlMatcher when no method requirement is defined 2011-03-22 20:56:55 +01:00
Fabien Potencier
af9c292001 Merge remote branch 'subsven/master'
* subsven/master:
  re-add filename based directory filter to the AnnotationDirectoryLoader, now restricting to *.php files and therefore disregarding e.g. SVN metadata files
  revert adding filename based filter to the directory resource
  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 19:52:55 +01:00
Fabien Potencier
68011c0dd6 [DependenInjection] fixed CS 2011-03-22 19:47:46 +01:00
Fabien Potencier
3c0ecf277e Merge remote branch 'jaypea/PhpDumperFix'
* jaypea/PhpDumperFix:
  Fixed PhpDumper isSimpleService and changed test fixtures
2011-03-22 19:46:58 +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
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
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
Fabien Potencier
45f9c2fbf4 merged francisbesset:cache_clear_command 2011-03-21 09:24:16 +01:00
Johannes M. Schmitt
ede59926a4 Merge branch 'interactive-login-event' of git://github.com/yethee/symfony into security 2011-03-21 09:18:55 +01:00
Clément Jobeili
34e3574e2b [SwiftmailerBundle] Change Twig if syntax in panel info 2011-03-21 09:16:28 +01:00
Fabien Potencier
3f7564b00c Merge remote branch 'shieldo/toolbar_alignment' 2011-03-21 09:07:23 +01:00
Clément Jobeili
f8dead7782 Change Message sent text to Message spooled if we are in a spool context 2011-03-21 09:01:50 +01:00
Douglas Greenshields
53a9997e23 [WebProfilerBundle] added explicit left horizontal alignment for toolbar in CSS to prevent inconsistent alignment 2011-03-20 21:34:07 +00:00
H. Westphal
06bfe82bc1 Added doctrine:mongodb:cache:clear-metadata command. 2011-03-20 17:23:47 +01:00
Fabien Potencier
a505ff43b5 [Routing] added supported for multiple route annotations for a single controller 2011-03-19 17:40:24 +01:00
Miha Vrhovnik
e35832ef2d Fixing failure on forward which was broken by Event refactoring 2011-03-19 13:06:52 +01:00
Fabien Potencier
38a851539f Merge remote branch 'stof/security_fix' 2011-03-19 12:53:41 +01:00
Christophe Coevoet
a6265e9337 [SecurityBundle] Fixed some config node to allow to unset them 2011-03-19 12:40:51 +01:00
Amal Raghav
eff6bc8a80 fix to use setException 2011-03-19 17:08:34 +05:30
Fabien Potencier
904cf6145e Merge remote branch 'everzet/routing-config-errors' 2011-03-19 12:27:38 +01:00
everzet
e4eee05b06 [Routing] tuned exception message 2011-03-19 12:58:31 +02:00
everzet
3fd50ea4e6 [Routing] throw an exception if route config has unsupported keys 2011-03-19 12:54:29 +02:00
ornicar
7440db7244 [HttpFoundation] Make sure Request::getLanguages always returns an array 2011-03-19 01:34:54 -07:00
Deni
5e40695272 [Security] Added a type hint. 2011-03-19 01:32:33 +03:00
Fabien Potencier
cdfc731ff5 Merge remote branch 'schmittjoh/security' 2011-03-18 21:07:11 +01:00
Fabien Potencier
f990bf96ee Merge remote branch 'ornicar/removeNamespaceInSwitchUserListener' 2011-03-18 20:57:48 +01:00
Fabien Potencier
e9418c4ef3 Merge remote branch 'ornicar/fixMongoDicCompiler' 2011-03-18 20:57:24 +01:00
Fabien Potencier
9b331489c3 Merge remote branch 'FabienPennequin/fix_doctrine_events' 2011-03-18 20:57:18 +01:00
ornicar
5e75c66a66 [Security] Remove duplicated namespace in SwitchUserListener 2011-03-18 12:30:09 -07:00
Johannes Schmitt
7e1c4d5748 [Security] removed un-needed event parameter from many interfaces 2011-03-18 20:20:19 +01:00
ornicar
f514e106e3 [DoctrineMongoDBBundle] Fix listener registration method calls in DIC compiler 2011-03-18 11:50:53 -07:00
Fabien Pennequin
8d9613b4b1 [DoctrineBundle] Fixed method calls for listener/subscriber services 2011-03-18 19:39:03 +01:00
Fabien Potencier
5658d224fd Merge remote branch 'hhamon/security_token_fix' 2011-03-18 19:32:28 +01:00
Fabien Potencier
263c32aff0 Merge remote branch 'schmittjoh/security' 2011-03-18 19:31:57 +01:00
Fabien Potencier
b7806cdb8d Merge remote branch 'kriswallsmith/http/html-errors' 2011-03-18 19:20:16 +01:00
Kris Wallsmith
73db141ce6 [HttpFoundation] stripped tags from native error messages in case html_errors is on 2011-03-18 11:11:42 -07:00
Fabien Potencier
bd8d2b829f [EventDispatcher] changed listener storage to use SplObjectStorage to avoid collisions 2011-03-18 18:48:26 +01:00
hhamon
681a3b7ff0 [Security] removed import of the UserInterface interface as it is unused in the file and fix some phpdoc. 2011-03-18 18:44:04 +01:00
Johannes Schmitt
a56dbec6d8 [Security] removed un-needed event parameter from many interfaces 2011-03-18 18:26:55 +01:00
Kris Wallsmith
e596931dc8 [DomCrawler] enabled removal of form fields to allow emulating javascript in a functional test 2011-03-18 09:39:08 -07:00
Fabien Potencier
f36b10afe7 [WebProfilerBundle] removed the link on the controller name when the IDE is not configured 2011-03-18 16:39:19 +01:00
Fabien Potencier
2d9ae36119 Merge remote branch 'vicb/one_more_thing' 2011-03-18 16:32:35 +01:00
Fabien Potencier
62a4c70b7f Merge remote branch 'adanlobato/FixDoctrineMappingImport' 2011-03-18 16:31:55 +01:00
Fabien Potencier
962372c2d4 Merge remote branch 'thesalla/hungarian_translations' 2011-03-18 16:30:14 +01:00
Adan Lobato
2daab466c2 =Fixed a Notice level error thrown when running doctrine:mapping:import, was undefined. 2011-03-18 16:20:20 +01:00
Gyula Sallai
89a593423d [FrameworkBundle] Fixed typos and corrected some minor grammatical mistakes in hungarian validator translations 2011-03-18 16:09:55 +01:00
Fabien Potencier
0c8ff92ecd made the controller name in the WDT clickable 2011-03-18 16:09:21 +01:00
Victor Berchet
d959a3ed4b [TwigBundle] Rename the cache warmer service 2011-03-18 15:48:34 +01:00
Fabien Potencier
f97006f738 [FrameworkBundle] fixed IDE setting for exceptions 2011-03-18 15:47:44 +01:00
Fabien Potencier
0917f0d406 [WebProfilerBundle] updated the close icon for the WDT 2011-03-18 15:21:47 +01:00
Fabien Potencier
9d8c053d42 updated icons for swiftmailer and security 2011-03-18 15:19:39 +01:00
Fabien Potencier
20a717ea3c [WebProfileBundle] added the controller callable name in the WDT (also tweaked the CSS to free some space) 2011-03-18 14:57:41 +01:00
Fabien Potencier
4d521e159d [WebProfilerBundle] removed old icon 2011-03-18 14:24:55 +01:00
Fabien Potencier
0fbffde1f4 [WebProfilerBundle] changed the license for the icons as they have been changed to new customized ones 2011-03-18 13:04:59 +01:00
Fabien Potencier
341a296c42 [DoctrineBundle] fixed configuration class 2011-03-18 12:14:50 +01:00
Fabien Potencier
acc3590849 Merge remote branch 'stof/custom_dql' 2011-03-18 12:11:07 +01:00
Fabien Potencier
0d052201fe [FrameworkBundle] fixed class load order 2011-03-18 12:07:42 +01:00
Fabien Potencier
f0c558592c Merge remote branch 'everzet/console-formatter-refactoring' 2011-03-18 11:58:05 +01:00
Fabien Potencier
c5a6c8432f Merge remote branch 'vicb/templating' 2011-03-18 11:54:20 +01:00
Fabien Potencier
3627eee3c6 Merge remote branch 'vicb/cfg_rebase'
* vicb/cfg_rebase:
  [Config] Ability to add and override node types without having to subclass NodeBuilder
  [DoctrineBundle] Fix some typos
  [SwiftMailerBundle] Fix a merge issue in the configuration
  Tweak PHPDocs in the extension configuration files
  [Config] Component refactoring
2011-03-18 11:41:43 +01:00
Victor Berchet
f89a5ff3b8 [TwigBundle] Fix some typos 2011-03-18 11:30:23 +01:00
Victor Berchet
7f523466f4 [TwigBundle] Fix the cache warmer 2011-03-18 11:23:23 +01:00
Victor Berchet
cead49fa2b [Kernel] Fixed a typo 2011-03-18 11:17:56 +01:00
Fabien Potencier
060f34fca9 [FrameworkBundle] fixed class loading order 2011-03-18 09:24:07 +01:00
Fabien Potencier
136b23ead4 [EventDispatcher] refactored the code
* The array returned by getListeners() now removes the listener hash as the key (as this is an implementation detail)
 * The sort method now guarantees that a listener registered before another will stay in the same order even for the same priority (for BC)
 * Made various optimizations
2011-03-18 09:01:22 +01:00
Fabien Potencier
69d324eca8 [EventDispatcher] added EventDispatcher::removeSubscriber() 2011-03-18 09:00:58 +01:00
Fabien Potencier
10a02ff7fa [EventDispatcher] reverted to the old event dispatcher way of storing listeners 2011-03-18 08:09:42 +01:00
Fabien Potencier
9e88fc4e66 Merge remote branch 'kriswallsmith/kernel/uploaded-file-for-test' 2011-03-18 08:02:16 +01:00
Fabien Potencier
e286adf173 [Security] fixed typos 2011-03-18 07:58:51 +01:00