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
Bernhard Schussek
acaa9c9058
[Form] Fixed signature of Form::addError()
2011-03-20 15:23:36 +01:00
Bernhard Schussek
6c9ff0a2a3
[Form] Improved naming of data conversion methods in Form and made them private
2011-03-20 15:22:37 +01:00
Bernhard Schussek
119866e06d
[Form] Renamed FormBuilder::getInstance() to getForm()
2011-03-20 15:17:25 +01:00
Bernhard Schussek
2dbb41714a
[Form] Merged Field and Form. Merged FieldBuilder and FormBuilder. After the refactoring, the distinction between the two concepts is small enough to merge them
2011-03-20 13:35:19 +01:00
Bernhard Schussek
fc7281bcab
[Form] Extracted validation logic of form. Fields can now contain multiple validators
2011-03-20 12:00:19 +01:00
Bernhard Schussek
cb599f417e
[Form] Renamed field option 'disabled' to 'read_only'. How to render read-only fields is now the responsibility of the renderer
2011-03-20 10:35:16 +01:00
Bernhard Schussek
b5656f1290
[Form] Renamed ObjectMapper to PropertyPathMapper
2011-03-20 10:29:23 +01:00
Bernhard Schussek
295d01745b
[Form] Renamed StripTagsFilter to StripTagsListener until we have better conventions
2011-03-20 10:26:38 +01:00
Bernhard Schussek
2c6c89d898
Merge remote branch 'beberlei/forms' into beberlei-merge
2011-03-20 10:15:59 +01:00
Benjamin Eberlei
b43318ee3e
[Form] Add tests for untested classes.
2011-03-19 22:03:49 +01:00
Benjamin Eberlei
d62213662e
Merge branch 'experimental' of git://github.com/bschussek/symfony into forms
2011-03-19 20:36:56 +01:00
Benjamin Eberlei
864a3ec45f
[Form] Add StripTagsFilter EventListener
2011-03-19 20:36:49 +01:00
Bernhard Schussek
a1c3d21d0e
[Form] Added comment
2011-03-19 19:56:18 +01:00
Bernhard Schussek
e9cb19721a
[Form] Optimized code in Form to remove one event listener
2011-03-19 19:53:39 +01:00
Bernhard Schussek
fb2db58801
[Form] Added fluid interface for inline adding of sub-builders to a builder
2011-03-19 19:44:45 +01:00
Bernhard Schussek
6793bcd698
[Form] Removed magic from method signature of add()
2011-03-19 19:20:55 +01:00
Bernhard Schussek
c4b7a77ece
Merge remote branch 'beberlei/forms' into beberlei-merge
...
Conflicts:
src/Symfony/Component/Form/Type/Loader/DefaultTypeLoader.php
2011-03-19 19:01:57 +01:00
Bernhard Schussek
3586268bc2
[Form] Renamed field types. They are now always the name of the type with a 'Type' suffix
2011-03-19 18:31:24 +01:00
Bernhard Schussek
65353bd81e
[Form] Fixed failing choice field tests
2011-03-19 18:22:08 +01:00
Benjamin Eberlei
c05b3c440d
[Form] Add DefaultFormFactory for convenience usage outside of a DIC context.
2011-03-19 18:14:15 +01:00
Benjamin Eberlei
39c2d3f166
[Form] Add PhpTheme that relies on no Template Engine, generalize tests to use for PhpTheme and PhpEngineTheme. Fixed some bugs
2011-03-19 17:47:18 +01:00
Fabien Potencier
a505ff43b5
[Routing] added supported for multiple route annotations for a single controller
2011-03-19 17:40:24 +01:00
Bernhard Schussek
43a24fa931
[Form] Renamed events to match terminology in Field
2011-03-19 16:59:23 +01:00
Bernhard Schussek
0259d4da1e
[Form] Moved namespace DataValidator to Validator
2011-03-19 16:54:07 +01:00
Bernhard Schussek
7f9284105d
[Form] Moved namespace FieldGuesser to Type\Guesser
2011-03-19 16:46:03 +01:00
Benjamin Eberlei
af60ddf8ad
Moved PhpTheme to FrameworkBundle and renamed to PhpEngineTheme
2011-03-19 15:27:39 +01:00
Benjamin Eberlei
32e1a7c8f9
Merge bschussek/experimental into branch forms.
2011-03-19 15:18:52 +01:00
Benjamin Eberlei
44e85ae2f2
Finished first version of PhpTheme, added huge functional test.
2011-03-19 15:17:31 +01:00
Bernhard Schussek
d2210a2e79
[Form] Removed unused Form::isCsrfTokenValid()
2011-03-19 15:09:11 +01:00
Bernhard Schussek
3e17b26105
[Form] Moved CSRF protection into separate field
2011-03-19 15:06:54 +01:00
Benjamin Eberlei
3e2b8e5f12
Fix some missing use statements and small bugs.
2011-03-19 14:31:25 +01:00
Bernhard Schussek
8742cafc21
[FrameworkBundle] Fixed DI configuration for field types
2011-03-19 14:00:27 +01:00
Bernhard Schussek
89215d167d
Merge remote branch 'symfony/master' into experimental
2011-03-19 13:25:41 +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
Benjamin Eberlei
bb8c2a9b9d
Rename this to renderer to be able to use it in Php Templating
2011-03-19 11:54:46 +01:00
everzet
3fd50ea4e6
[Routing] throw an exception if route config has unsupported keys
2011-03-19 12:54:29 +02:00
Benjamin Eberlei
d44e2264ba
Merge branch 'experimental' of git://github.com/bschussek/symfony into forms
2011-03-19 09:36:30 +01: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
Bernhard Schussek
b66b8326a8
[Form] Fixed undefined variable in DefaultRenderer
2011-03-18 17:03:12 +01:00
Bernhard Schussek
6bc79a1a12
[Form] Renamed different kinds of data transformers within a field for better clarity
2011-03-18 16:59:34 +01: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
Bernhard Schussek
1c85daa56b
[Form] Split FieldBuilder into FieldBuilder and FormBuilder to make creation of classes deterministic
2011-03-18 16:34:54 +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
Bernhard Schussek
2a1e394352
[Form] Renamed field configs to types. Everywhere else, we are referring to the name of the type as 'type' now (was 'identifier')
2011-03-18 16:20:00 +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
Bernhard Schussek
0b929ee342
[Form] Renamed ValueTransformers to DataTransformers to fit with DataMapper and DataValidator
2011-03-18 16:01:06 +01:00
Bernhard Schussek
f86ecec403
[Form] Extracted data validation logic into DataValidatorInterface
2011-03-18 15:58:22 +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
Bernhard Schussek
97d0183d84
[Form] Moved properties propertyPath, modifyByReference, validationGroups and virtual to generic attributes because they are specific to the used data validator/mapper implementations
2011-03-18 15:26:02 +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
Bernhard Schussek
700c96e7fa
[Form] Moved FieldFactoryTest to FormFactoryTest and fixed it
2011-03-18 14:37:54 +01:00
Fabien Potencier
4d521e159d
[WebProfilerBundle] removed old icon
2011-03-18 14:24:55 +01:00
Bernhard Schussek
4cb76c0045
[Form] Moved error distribution logic to validation listener
2011-03-18 13:07:06 +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
Bernhard Schussek
9caaf0f3a3
[Form] Introduced FieldBuilder for field/form creation and made Field/Form mostly immutable
2011-03-18 12:50:26 +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
Bernhard Schussek
3f70f89339
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
src/Symfony/Component/HttpFoundation/File/UploadedFile.php
2011-03-18 10:39:40 +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
Fabien Potencier
9de0a3872b
Merge branch 'events'
...
* events:
[FrameworkBundle] fixed the traceable event manager
[EventDispatcher] made order deterministic (first registered one stay first) -- this makes the new system more compatible with the old one
[FrameworkBundle] fixed class loading order
fixed various bugs introduced during the event system migration
renamed filterCore* to onCore*
fixed CS
fixed phpdoc
renamed some methods in the event dispatcher
[HttpKernel] Removed unused onCoreSecurity event
[Security] Fixed method names in the Firewall listeners
[HttpKernel] Added more code documentation to the HttpKernel events
[Security] Fixed method calls on EventDispatcher
[FrameworkBundle] Removed EventSubscriber support for DI tags because it currently cannot be implemented
[Security] Fixed calls to EventDispatcher::dispatchEvent()
Switched from Doctrine's EventManager implementation to the EventManager clone in Symfony2 (now called EventDispatcher again)
[EventDispatcher] Replaced EventDispatcher by Doctrine's implementation
Renamed EventArgs classes and adapted remaining code to EventManager
Replaced EventDispatcher by Doctrine's EventManager implementation
2011-03-18 07:52:05 +01:00
Fabien Potencier
d02a700c06
[FrameworkBundle] fixed the traceable event manager
2011-03-18 07:42:41 +01:00
Fabien Potencier
59ac6313ad
[EventDispatcher] made order deterministic (first registered one stay first) -- this makes the new system more compatible with the old one
2011-03-18 07:36:02 +01:00
Fabien Potencier
a71f63e61d
[FrameworkBundle] fixed class loading order
2011-03-18 07:36:02 +01:00
Fabien Potencier
1af43a1562
fixed various bugs introduced during the event system migration
2011-03-18 07:35:59 +01:00
Bernhard Schussek
52f382a859
Merge branch 'event-manager' into experimental
2011-03-18 01:55:37 +01:00
John Wards
7c0fe6a3df
[FrameworkBundle] Fixed order of the classes to compile for EventDispatcher
2011-03-18 01:54:57 +01:00
John Wards
694c7fd402
[FrameworKBundle] Fixed TraceableEventDispatcher to use parent::getListeners() because parent::$listeners is now private. Passed event name to listenerToString()
2011-03-18 01:54:57 +01:00
John Wards
c56a803b8a
[FrameworkBundle] Fixed undefined $response variable in ProfilerListener
2011-03-18 01:54:57 +01:00
John Wards
cd3e184b76
[FrameworkBundle] Fixed typo in ProfileListener
2011-03-18 01:54:57 +01:00
John Wards
380afc5e95
[FrameworkBundle] Added missing argument for listenerToString() call
2011-03-18 01:54:57 +01:00
John Wards
d5adaa2e98
[FrameworkBundle] Fixed filename of TraceableEventDispatcher
2011-03-18 01:54:49 +01:00
Victor Berchet
9fd7d05ecf
[Config] Ability to add and override node types without having to subclass NodeBuilder
2011-03-18 00:32:35 +01:00
Kris Wallsmith
a9af77a035
[HttpKernel] fixed file uploads in functional tests
2011-03-17 16:09:31 -07:00
Kris Wallsmith
ab3b8ac364
[HttpFoundation] cleaned up comments and coding standards, added better exception messages when filesystem functions throw errors, added "moved" arg to UploadedFile constructor, added FileNotFoundException to UploadedFile per the parent constructor
2011-03-17 16:07:53 -07:00
Kris Wallsmith
69609257ac
[DomCrawler] updated upload logic to better emulate a real upload by copying the source file to the temp directory
2011-03-17 16:06:47 -07:00
Christophe Coevoet
2743abc35d
[DoctrineBundle] Fix some typos
2011-03-17 23:14:18 +01:00
Benjamin Eberlei
76b0041d1b
[Form] Implemented first PhpTheme attempt
2011-03-17 22:47:19 +01:00
Bernhard Schussek
a51321c264
[Form] Moved validation logic to ValidationListener
2011-03-17 21:47:12 +01:00
Bernhard Schussek
0799662361
[Form] Extracted data mapping logic from Form into ObjectMapperListener
2011-03-17 21:23:59 +01:00
Benjamin Eberlei
3bc825bbd4
Merge branch 'experimental' of git://github.com/bschussek/symfony into forms
2011-03-17 19:05:59 +01:00
Benjamin Eberlei
85b61fe1e2
First attempt of PhpTheme.
2011-03-17 19:05:48 +01:00
Victor Berchet
a96b1fb48b
[SwiftMailerBundle] Fix a merge issue in the configuration
2011-03-17 18:00:02 +01:00
ever.zet
3e7fa82f34
[Console] privatized protected variables, cuz they now have getters/setters
2011-03-17 18:51:37 +02:00
ever.zet
aa084dbc45
[Console] moved whole constructor definitions in one line
2011-03-17 18:51:01 +02:00
Fabien Potencier
6c8e71c8e7
renamed filterCore* to onCore*
...
The onCore* events are fired at some pre-defined points during the
handling of a request. At this is more important than the fact
that you can change things from the event.
2011-03-17 17:01:59 +01:00
ever.zet
8b885a991c
[Console] updated console and stream outputs to support new output formatter
2011-03-17 17:53:46 +02:00
ever.zet
644cf612b3
[Console] updated console output to support new output formatter and styles
2011-03-17 17:52:36 +02:00
ever.zet
4fe2efd49e
[Console] implemented output formatter to decorate and format output messages
2011-03-17 17:51:49 +02:00
ever.zet
e5700b817b
[Console] implemented output formatter style class for defining custom styles
2011-03-17 17:51:25 +02:00
ever.zet
65681cdc85
[Console] added output formatter interfaces
2011-03-17 17:50:42 +02:00
Victor Berchet
0e84757d94
Tweak PHPDocs in the extension configuration files
2011-03-17 16:29:03 +01:00
Victor Berchet
1e0ed22c55
[Config] Component refactoring
...
The Config component API have changed and the extension configuration files must be updated accordingly:
1. Array nodes must enclosed their children definition in ->children() ... ->end() calls:
Before:
$treeBuilder->root('zend', 'array')
->arrayNode('logger')
->scalarNode('priority')->defaultValue('INFO')->end()
->booleanNode('log_errors')->defaultFalse()->end()
->end();
After:
$treeBuilder->root('zend', 'array')
->children()
->arrayNode('logger')
->children()
->scalarNode('priority')->defaultValue('INFO')->end()
->booleanNode('log_errors')->defaultFalse()->end()
->end()
->end()
->end();
2. The 'builder' method (in NodeBuilder) has been dropped in favor of an 'append' method (in ArrayNodeDefinition)
Before:
$treeBuilder->root('doctrine', 'array')
->arrayNode('dbal')
->builder($this->getDbalConnectionsNode())
->end();
After:
$treeBuilder->root('doctrine', 'array')
->children()
->arrayNode('dbal')
->append($this->getDbalConnectionsNode())
->end()
->end();
3. The root of a TreeBuilder is now an NodeDefinition (and most probably an ArrayNodeDefinition):
Before:
$root = $treeBuilder->root('doctrine', 'array');
$this->addDbalSection($root);
public function addDbalSection(NodeBuilder $node)
{
...
}
After:
$root = $treeBuilder->root('doctrine', 'array');
$this->addDbalSection($root);
public function addDbalSection(ArrayNodeDefinition $node)
{
...
}
4. The NodeBuilder API has changed (this is seldom used):
Before:
$node = new NodeBuilder('connections', 'array');
After:
The recommended way is to use a tree builder:
$treeBuilder = new TreeBuilder();
$node = $treeBuilder->root('connections', 'array');
An other way would be:
$builder = new NodeBuilder();
$node = $builder->node('connections', 'array');
Some notes:
- Tree root nodes should most always be array nodes, so this as been made the default:
$treeBuilder->root('doctrine', 'array') is equivalent to $treeBuilder->root('doctrine')
- There could be more than one ->children() ... ->end() sections. This could help with the readability:
$treeBuilder->root('doctrine')
->children()
->scalarNode('default_connection')->end()
->end()
->fixXmlConfig('type')
->children()
->arrayNode('types')
....
->end()
->end()
2011-03-17 16:26:15 +01:00
Fabien Potencier
9d0b6f0012
fixed CS
2011-03-17 16:09:25 +01:00
Fabien Potencier
794b3b8e86
fixed phpdoc
2011-03-17 16:02:36 +01:00
Fabien Potencier
1219b98ec5
renamed some methods in the event dispatcher
2011-03-17 15:27:42 +01:00
Bernhard Schussek
d00f1fa205
[Form] Removed unused method Form::deepArrayUnion()
2011-03-17 15:22:48 +01:00
Bernhard Schussek
8e41cc66fe
[Form] Moved form logic to event listeners
2011-03-17 15:22:10 +01:00
Jan Prieser
60c1159b2e
[DependecyInjection] fixed typo. Using InterfaceInjectors broke methodCalls.
2011-03-17 15:03:16 +01:00
Fabien Potencier
663b0a97ac
Merge remote branch 'bschussek/event-manager'
2011-03-17 15:02:26 +01:00
Bernhard Schussek
7a63b840f3
[Form] Renamed submit() to bind()
2011-03-17 14:55:26 +01:00
Bernhard Schussek
5bfd02bcd0
[Form] Renamed bind() to bindRequest(). It is now semantically the same as in symfony1 again
2011-03-17 14:51:22 +01:00
Bernhard Schussek
f2f78890de
[Form] Removed deprecated method preprocessData()
2011-03-17 14:41:26 +01:00
Bernhard Schussek
ffa5bd264a
[Form] Moved logic of Field::isMultipart() to rendering layer
2011-03-17 14:40:34 +01:00
Bernhard Schussek
50ce0d53a0
[Form] Removed FieldInterface::getDisplayedData(). Use getTransformedData() instead
2011-03-17 14:28:59 +01:00
Bernhard Schussek
f0d841ef8c
[Form] Fixed DateTimeToArrayTransformer when transforming empty values and the option 'fields' is set
2011-03-17 14:27:10 +01:00
Bernhard Schussek
1c9a00733f
Merge branch 'event-manager' into experimental
...
Conflicts:
src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php
src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php
2011-03-17 13:38:24 +01:00
Bernhard Schussek
eba602ed1b
[Form] Removed dependency from renderer plugins on fields. The field instance is now passed to setUp() instead.
2011-03-17 13:37:27 +01:00
Christophe Coevoet
da938adade
[SwiftmailerBundle] Changed the default logging value to kernel.debug
2011-03-17 13:35:41 +01:00
Bernhard Schussek
c02f4220f2
[HttpKernel] Removed unused onCoreSecurity event
2011-03-17 13:24:38 +01:00
Bernhard Schussek
466f1b99c5
[Security] Fixed method names in the Firewall listeners
2011-03-17 13:24:23 +01:00
Bernhard Schussek
ab57e5c611
[HttpKernel] Added more code documentation to the HttpKernel events
2011-03-17 13:06:32 +01:00
Bernhard Schussek
ffdc879624
[Security] Fixed method calls on EventDispatcher
2011-03-17 12:34:30 +01:00
Bernhard Schussek
5f14d8d6aa
Merge remote branch 'symfony/master' into event-manager
...
Conflicts:
src/Symfony/Bundle/AsseticBundle/CacheWarmer/AssetWriterCacheWarmer.php
src/Symfony/Bundle/AsseticBundle/Tests/CacheWarmer/AssetWriterCacheWarmerTest.php
src/Symfony/Bundle/FrameworkBundle/Profiler/ProfilerListener.php
src/Symfony/Bundle/FrameworkBundle/Resources/config/profiling.xml
src/Symfony/Component/HttpKernel/HttpKernel.php
src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php
src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php
2011-03-17 12:34:12 +01:00
Fabien Potencier
d5396f64de
[HttpFoundation] fixed a small bug on Windows
2011-03-17 12:28:29 +01:00
Bernhard Schussek
de5748070d
[FrameworkBundle] Removed EventSubscriber support for DI tags because it currently cannot be implemented
2011-03-17 12:22:49 +01:00
Bernhard Schussek
73464f411e
Merge remote branch 'Infranology/intl-stub' into intl-stub
2011-03-17 11:20:52 +01:00
Bernhard Schussek
f966c30c8b
Merge remote branch 'symfony/master' into intl-stub
2011-03-17 11:20:25 +01:00
Bernhard Schussek
cb283d3783
[Form] Renamed 'key' to 'name'. Removed setKey() totally.
2011-03-17 11:03:10 +01:00
Bernhard Schussek
caa49aa841
[Form] Moved trimming logic to listener
2011-03-17 10:52:23 +01:00
Fabien Potencier
e8b0b488cb
[HttpKernel] moved exception management logic to its own method
2011-03-17 09:16:53 +01:00
Fabien Potencier
b0948063b2
[SwiftmailerBundle] tweaked profiler template
2011-03-17 08:14:44 +01:00
Fabien Potencier
8c6f135534
[SwiftmailerBundle] made data collector configurable via the logging option
2011-03-17 08:12:18 +01:00
Fabien Potencier
95532cc1de
[WebProfilerBundle] tweaked profiler CSS
2011-03-17 08:12:15 +01:00
Fabien Potencier
ee70656030
[WebProfileBundle] removed the logger info in the WDT if no error has been recorded (to save space on smaller screens)
2011-03-17 07:47:05 +01:00
Fabien Potencier
3071dd0519
[DoctrineBundle] renamed data_collector to be coherent with all others
2011-03-17 07:42:25 +01:00
Fabien Potencier
610ddf0e74
[SwiftmailerBundle] fixed typo
2011-03-17 07:38:02 +01:00
Fabien Potencier
c2bc35d0e6
[SwiftmailerBundle] renamed data collector
2011-03-17 07:38:02 +01:00
Fabien Potencier
3346e291f2
[SwiftmailerBundle] added the mailer as a dependency to the data collector to ensure that Swiftmailer is always initialized
2011-03-17 07:37:59 +01:00
Fabien Potencier
bde928be86
[SwiftmailerBundle] re-added phpdoc from symfony 1.4 and simplified code copy and pasted from symfony 1.4
2011-03-17 07:36:18 +01:00
Fabien Potencier
b479116e50
Merge remote branch 'dator/swiftmailer_profiler'
2011-03-17 07:14:09 +01:00
Fabien Potencier
14903ce915
[HttpKernel] removed the need to call getRootDir() more than once
2011-03-16 21:50:24 +01:00
Fabien Potencier
a6411cb712
[HttpKernel] fixed phpdoc
2011-03-16 21:39:30 +01:00
Fabien Potencier
7edb1a5f13
fixed previous commit
2011-03-16 21:39:30 +01:00
Fabien Potencier
4da43df963
merged vicb/kernel
2011-03-16 21:30:23 +01:00
Fabien Potencier
f48512cd54
[HttpKernel] renamed default profiler table to sf_profiler_data
2011-03-16 20:47:50 +01:00
Fabien Potencier
adf3d02695
Merge remote branch 'kriswallsmith/assetic/rm-event'
2011-03-16 19:38:15 +01:00
Fabien Potencier
0610385615
Merge remote branch 'vicb/profiler_liquid'
2011-03-16 19:37:02 +01:00
Fabien Potencier
e6ebf4da4c
fixed small bug in sub-request profiling
2011-03-16 19:33:55 +01:00
Clément Jobeili
463591afbe
Add Licence and Documentation
2011-03-16 18:22:38 +01:00
Clément Jobeili
1342752e7e
Add the message body et charset
2011-03-16 18:21:43 +01:00
Bernhard Schussek
e85aab2dc1
[Form] Changed form to use the new EventDispatcher implementation
2011-03-16 18:20:13 +01:00
Victor Berchet
d56fadfbb9
[WebProfilerBundle] Use a liquid layout rather than a fixed width layout.
2011-03-16 18:02:55 +01:00
Clément Jobeili
df08655e97
Add a DataCollector for the SwiftmailerBundle
2011-03-16 17:57:04 +01:00
Fabien Potencier
ad3b7e912d
merged noelg/profiler
2011-03-16 16:44:44 +01:00
Kris Wallsmith
caaff216df
[AsseticBundle] removed assetic.write event
2011-03-16 08:36:36 -07:00
Fabien Potencier
005287ac88
Merge remote branch 'kriswallsmith/templating/asset-packages'
2011-03-16 16:18:45 +01:00
Bernhard Schussek
fb8efaba67
[Form] Fixed a couple of failing tests
2011-03-16 16:13:06 +01:00
Fabien Potencier
13cac29a31
Merge remote branch 'stof/php_globals'
2011-03-16 16:04:05 +01:00
Bernhard Schussek
f64f55002b
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php
src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php
2011-03-16 16:00:54 +01:00
Fabien Potencier
28d9b331bd
[FrameworkBundle] made the profiler easily configurable
2011-03-16 15:58:56 +01:00
Fabien Potencier
8cc37eaa23
[HttpKernel] fixed CS
2011-03-16 15:16:21 +01:00
Fabien Potencier
f9d2f69ca8
Merge remote branch 'janschumann/mysql_profiler_storage'
2011-03-16 15:09:07 +01:00
Christophe Coevoet
8dc6464aa4
[FrameworkBundle] Fixed previous commit and added some tests for PHP globals
2011-03-16 15:04:19 +01:00
Fabien Potencier
ae7a2df104
fixed CS
2011-03-16 14:45:34 +01:00
Fabien Potencier
ac49289451
Merge remote branch 'rrehbeindoi/master'
2011-03-16 14:44:44 +01:00
Fabien Potencier
2a6e299d52
Merge remote branch 'kriswallsmith/http/apache-request'
2011-03-16 14:31:16 +01:00
Kris Wallsmith
a5d8770a54
[HttpFoundation] fixed ApacheRequest, added tests
2011-03-16 06:13:01 -07:00
Fabien Potencier
429d927e8c
Merge remote branch 'hason/extensions'
2011-03-16 13:37:06 +01:00
Christophe Coevoet
61abc3d01f
Added the global variable in PHP templates too
2011-03-16 13:11:29 +01:00
Fabien Potencier
05ab74e7b9
[SecurityBundle] simplified things
2011-03-16 12:58:52 +01:00
Martin Hason
e441fc95a8
[AbstractDoctrineBundle] fixed typo
2011-03-16 11:33:21 +01:00
Martin Hason
aae492f79b
removed unused use statements in DIC extensions
2011-03-16 11:29:41 +01:00
Martin Hason
3bdacafb1b
[SecurityBundle] simplified resource location
2011-03-16 10:32:37 +01:00
Fabien Potencier
2cf0601f18
[SecurityBundle] made the anonymous key parameter configurable and random by default
2011-03-16 09:31:28 +01:00
Fabien Potencier
e0df94cb8b
[Config] added the possibility to use a Closure for default values
2011-03-16 09:30:51 +01:00
Fabien Potencier
2610e1b699
[SecurityBundle] made user and credentials configuration for X509 authentication
2011-03-16 09:30:48 +01:00
Fabien Potencier
b638cf07a5
[SecurityBundle] made realm configurable for HTTP basic and digest authentication
2011-03-16 09:29:44 +01:00
Christophe Coevoet
5c2e0898d1
[DoctrineBundle] Added a way to register custom DQL functions through the configuration
2011-03-16 02:05:23 +01:00
Fabien Potencier
db27b4d288
[SecurityBundle] made a small tweak to the WDT panel
2011-03-15 22:52:09 +01:00
Fabien Potencier
11f42a82dc
[SecurityBundle] added a note about why a user can be logged in but not authenticated
2011-03-15 22:02:26 +01:00
Fabien Potencier
39504fc98d
[SecurityBundle] made some tweaks to the security profiler panel
2011-03-15 21:50:56 +01:00
Fabien Potencier
44c95f97a4
[SecurityBundle] fixed profiler template when the user is logged in but has no roles
2011-03-15 21:48:49 +01:00
Fabien Potencier
345e2d39b5
[SecurityBundle] tweaked WDT security tab
2011-03-15 21:02:36 +01:00
Fabien Potencier
29954e3fce
Merge remote branch 'maxbeutel/upstream'
2011-03-15 21:00:00 +01:00
Fabien Potencier
d7663e7046
[SecurityBundle] fixed the anonymous listener which was always registered
2011-03-15 20:44:46 +01:00
max
e2542962df
reinitialize array so arguments dont stack up
2011-03-15 12:08:13 -07:00
Ray
c2908cdaa0
Allow collection's internal keys to be mixed case
2011-03-15 09:35:40 -05:00
Jan Schumann
c7cde09d1c
fixed coding standard
2011-03-15 14:16:19 +01:00
Jan Schumann
bbfb1ffb53
fixed coding standard
2011-03-15 14:08:43 +01:00
Jan Schumann
d1ebc8da9f
- Added abstract PDO profiler storage, updated sqlite storage and added a mysql storage.
...
- Updated profiler config in framework bundle
2011-03-15 14:08:43 +01:00
Fabien Potencier
e5fad94482
[HttpKernel] fixed a unit test
2011-03-15 13:43:45 +01:00
Fabien Potencier
18de62ccb1
Merge remote branch 'schmittjoh/security'
2011-03-15 13:39:34 +01:00
Fabien Potencier
d2c36d57c8
Merge remote branch 'ajessu/HelpMessage'
2011-03-15 13:38:08 +01:00