Commit Graph

2850 Commits

Author SHA1 Message Date
Christophe Coevoet
527749ca3f Made mandatory to have at least one entity manager when using the ORM and one connection when using DBAL 2011-03-09 15:37:36 +01:00
Christophe Coevoet
a9a300ed6f Updated the tests 2011-03-09 15:36:12 +01:00
Christophe Coevoet
0d0f053682 Updated the XSD schema 2011-03-09 15:36:02 +01:00
Christophe Coevoet
477109f1e8 Completed the Configuration class and refactored the extension to use it 2011-03-09 15:35:58 +01:00
Christophe Coevoet
652bca131d Added a Configuration class for DoctrineBundle 2011-03-09 15:27:55 +01:00
Victor Berchet
f49a30c366 [WebProfilerBundle] Better handling of queries with an empty result 2011-03-09 15:27:28 +01:00
Victor Berchet
ed09566a47 [WebProfilerBundle] Improve the "token not found" page 2011-03-09 15:27:25 +01:00
Victor Berchet
c9ab59399c [WebProfilerBundle] Always remember the query including the token 2011-03-09 15:27:09 +01:00
umpirsky
37cb781008 Validators messages translated to Serbian language. 2011-03-09 15:14:01 +01:00
Victor Berchet
45ff4948b3 [WebProfilerBundle] Apply missing styles 2011-03-09 14:06:57 +01:00
Ryan Weaver
4c947c251b [DoctrineMongoDBBundle] Adding is_bundle node and rearranging a few small things to match pull request 99 for the Doctrine Configuration class 2011-03-09 06:55:01 -06:00
Ryan Weaver
62cc35228c [DoctrineMongoDBBundle] Removing left-over debug code. 2011-03-09 06:46:18 -06:00
Ryan Weaver
0fe6f13be8 [DoctrineMongoDBBundle] Adding a "full" config example in YAML. 2011-03-09 06:46:18 -06:00
Ryan Weaver
68d478fe8e [DoctrineMongoDBBundle] Changing root node name for consistency. 2011-03-09 06:46:18 -06:00
Ryan Weaver
7c13e681c3 [DoctrineMongoDBBundle] Removing unused variable. 2011-03-09 06:46:18 -06:00
Ryan Weaver
1e492e231c [DoctrineMongoDBBundle] Refactoring how the document_managers are loaded in the Extension and removing two unneeded DIC parameters. 2011-03-09 06:46:18 -06:00
Ryan Weaver
9ca8f171f7 [DoctrineMongoDBBundle] Removing the "default_connection" DI parameter, which was never used as a parameter. Now cleaning up connections creation in the DI extension class. 2011-03-09 06:46:18 -06:00
Ryan Weaver
9179168e0d [DoctrineMongoDBBundle] Renaming extension method to overrideParameters(), which is truer to its name.
Also mae this function unset the options after their used. This prevents those values from being available later inside the options array and as parameters.
2011-03-09 06:46:18 -06:00
Ryan Weaver
bdd23369e2 [DoctrineMongoDBBundle] Removing the "doctrine.odm.mongodb.metadata_cache_driver" parameter.
This information was set entirely in the DI extension options and then added as a parameter only to be later consumed by the DI extension class.

In other words, this should never have been a parameter, or at least it's never been used and treated like a parameter.
2011-03-09 06:46:17 -06:00
Ryan Weaver
95a2a78dc4 [DoctrineMongoDBBundle] Adding a test for the defaults of the Configuration class and updated a few default values. 2011-03-09 06:46:17 -06:00
Ryan Weaver
42a0b22f0e [DoctrineMongoDBBundle] BC-break: This removes the excess "connections" and "document_managers" wrapper in XML. This was inconsistent and made normalization unnecesarily difficult.
Previously:

    <connections>
        <connection ...>
            <!-- .. -->
        </connection>
        <connection ...>
            <!-- .. -->
        </connection>
    </connections>

Now:

    <connection ...>
        <!-- .. -->
    </connection>
    <connection ...>
        <!-- .. -->
    </connection>

I believe this is more semantically correct, and it removes code that had to worry about this extra format and normalize it.
2011-03-09 06:46:17 -06:00
Ryan Weaver
a13500459f [DoctrineMongoDBBundle] Initial use of the new Configuration class for DoctrineMongoDBExtension. 2011-03-09 06:46:17 -06:00
Ryan Weaver
94da3127b9 [DoctrineMongoDBExtension] Adding a large PHPDoc on the Extension::load() method discussing the available options. 2011-03-09 06:46:17 -06:00
Ryan Weaver
ac88b8a597 [DoctrineMongoDBBundle] Fixing a test that was passing in the configs array without the wrapping array.
Also rewrote this so that it's more clear.
2011-03-09 06:46:17 -06:00
Ryan Weaver
95a2f17e96 [DoctrineMongoDBBundle] Rewriting several getParameter() calls to use the parameter %wildcard% syntax instead. This is best-practice. 2011-03-09 06:46:17 -06:00
Fabien Potencier
689f0e1d58 Merge remote branch 'naderman/watch-debug'
* naderman/watch-debug:
  [AsseticBundle] Throw exception if --watch is used without --debug.
2011-03-09 12:51:38 +01:00
Fabien Potencier
d3d496f0f2 Merge remote branch 'mvrhov/validatorsTransSlo'
* mvrhov/validatorsTransSlo:
  Draft Slovenian translation
2011-03-09 12:50:57 +01:00
Bernhard Schussek
0eb04e487d Merge remote branch 'Infranology/intl-stub' into intl-stub 2011-03-09 12:04:51 +01:00
Bernhard Schussek
8658287ed6 Merge branch 'master' into intl-stub 2011-03-09 12:02:35 +01:00
Miha Vrhovnik
87cc306d98 Draft Slovenian translation 2011-03-09 10:28:25 +01:00
Miha Vrhovnik
76d664faa6 Fixing undefined notices by changing visibility back to protected for sompe properties and methods. 2011-03-09 10:24:16 +01:00
Fabien Potencier
9f0f127e6a [Form] fixed typo in XSD path 2011-03-09 02:34:51 +01:00
Nils Adermann
94aacd0901 [AsseticBundle] Throw exception if --watch is used without --debug. 2011-03-09 02:30:19 +01:00
Fabien Potencier
32d2ec7571 [ClassLoader] moved most protected methods and properties to private 2011-03-08 20:55:22 +01:00
Fabien Potencier
c9b965dbee [Finder] moved most protected methods and properties to private 2011-03-08 20:54:22 +01:00
Fabien Potencier
75b29ffdfe [Translation] moved most protected methods and properties to private 2011-03-08 20:47:32 +01:00
Fabien Potencier
94c445957c [Yaml] moved most protected methods and properties to private 2011-03-08 20:33:19 +01:00
Eriksen Costa
0fb9b9a70d [Locale] changed method name 2011-03-08 16:28:29 -03:00
Eriksen Costa
1da1b80169 [Locale] updated docblocks for StubCollator 2011-03-08 16:06:26 -03:00
Eriksen Costa
310d7eadba [Locale] updated docblocks 2011-03-08 16:06:10 -03:00
Kris Wallsmith
7d9ddb546e [TwigBundle] updated to support asset packages 2011-03-08 09:24:43 -08:00
Kris Wallsmith
6904e0e1e2 [FrameworkBundle] implemented asset packages 2011-03-08 09:22:25 -08:00
Kris Wallsmith
e273a709f1 [Templating] introduced concept of asset packages so base URLs and asset versions can be set more granularly 2011-03-08 08:31:39 -08:00
Victor Berchet
62341e5ad6 [WebProfilerBundle] The total number of log entries is not relevant, display only the number of errors when required 2011-03-08 15:55:10 +01:00
Fabien Potencier
4f0e0a6193 fixed some emails 2011-03-08 15:43:54 +01:00
Fabien Potencier
8716c2ad1e merged 2011-03-08 15:43:02 +01:00
Fabien Potencier
5c82db1d60 Merge remote branch 'stof/assets_url_fix'
* stof/assets_url_fix:
  [FrameworkBundle] fixed tests to conform to new xsd
  Fixed assets_base_urls configuration
2011-03-08 15:38:43 +01:00
Fabien Potencier
a0caa942e9 [Config] fixed CS 2011-03-08 15:33:46 +01:00
Fabien Potencier
33b9cacc3f Merge remote branch 'vicb/profiler_tweaks'
* vicb/profiler_tweaks:
  Tweak inline js
  [WebProfilerBundle] Tweak some css
2011-03-08 14:43:57 +01:00
Fabien Potencier
031a65e4f8 Merge remote branch 'kriswallsmith/dic/lazy-compiler'
* kriswallsmith/dic/lazy-compiler:
  [DependencyInjection] made compiler lazy again since there are many temporary ContainerBuilder objects that don't use it
2011-03-08 14:42:53 +01:00
Kris Wallsmith
de6c353b40 [DependencyInjection] made compiler lazy again since there are many temporary ContainerBuilder objects that don't use it 2011-03-08 05:34:07 -08:00
Fabien Potencier
f5ef015a75 Merge remote branch 'lsmith77/doctrinebundle'
* lsmith77/doctrinebundle:
  removed superfluous use statement
2011-03-08 14:30:20 +01:00
Lukas Kahwe Smith
1f13356cd7 removed superfluous use statement 2011-03-08 13:18:46 +01:00
Victor Berchet
ba9e5b58ff Tweak inline js 2011-03-08 10:23:31 +01:00
Victor Berchet
6df06dffaa [WebProfilerBundle] Tweak some css 2011-03-08 10:05:00 +01:00
develop
1daedcc6fc fix whitespace problem 2011-03-08 09:49:52 +01:00
develop
a93aa55199 If you use an annotation resource pointing to a controller directory
in your routing configuration, only existing files in this directory
get tracked for changes in this directory. So if you add a new
controller file in this directory you'd have to manually clear the
cache since the new file gets ignored.
This patch adds a DirectoryResource for this case which tracks all
changes in the given directory (and files and directories contained
within).
2011-03-08 09:49:45 +01:00
Fabien Potencier
73a78d0633 [FrameworkBundle] changed search input to use search as a type 2011-03-08 09:12:12 +01:00
Fabien Potencier
91d7caca6b merged 2011-03-08 09:08:09 +01:00
Fabien Potencier
3570f8baa1 Merge remote branch 'Seldaek/session_helper'
* Seldaek/session_helper:
  [FrameworkBundle] Added getFlashMessages() to the SessionHelper
2011-03-08 09:04:25 +01:00
Victor Berchet
d171eaf801 [WebProfilerBundle] Display the number of log entries together with the number of errors 2011-03-08 09:03:41 +01:00
Ryan Weaver
69ad4e4f77 [FrameworkBundle] Adding an exception to help with bad configuration and filling in some missing tests 2011-03-07 21:10:01 -06:00
Fabien Potencier
63b8b08b2a Merge remote branch 'Seldaek/wdt'
* Seldaek/wdt:
  [FrameworkBundle] Highlight error logs in red and not green
  [FrameworkBundle] Fix alignment of <li> with the selected class and small opera glitch
  [FrameworkBundle] Don't hide logs by default in exception pages
2011-03-07 20:40:56 +01:00
Fabien Potencier
b5085d4823 Merge remote branch 'Exeu/webprofiler-fixes'
* Exeu/webprofiler-fixes:
  Fixed the Profiler-Layout of MongoDBBundle to work without actuvating the DoctrineBundle
2011-03-07 20:37:56 +01:00
Bernhard Schussek
2cf3779a2c Renamed EventArgs classes and adapted remaining code to EventManager
The only missing part is ContainerAwareEventManager::addEventSubscriberService(),
because I'm not sure how to find out the class name of a service in the DIC.

Also, inline documentation of this code needs to be finished once it is accepted.
2011-03-07 19:16:05 +01:00
Bernhard Schussek
a54d3e6fb0 Merge remote branch 'symfony/master' into event-manager 2011-03-07 19:15:57 +01:00
Victor Berchet
4f15840e4b [webProfilerBundle] Update the 'token not found' page with the new design 2011-03-07 18:46:28 +01:00
Jordi Boggiano
75ba47751f [FrameworkBundle] Added getFlashMessages() to the SessionHelper 2011-03-07 18:10:43 +01:00
Exeu
58123c620f Fixed the Profiler-Layout of MongoDBBundle to work without actuvating the DoctrineBundle 2011-03-07 18:00:24 +01:00
Jordi Boggiano
c16218e1b0 [FrameworkBundle] Highlight error logs in red and not green 2011-03-07 17:39:59 +01:00
Jordi Boggiano
48e211c111 [FrameworkBundle] Fix alignment of <li> with the selected class and small opera glitch 2011-03-07 17:35:17 +01:00
Jordi Boggiano
bf18183adf [FrameworkBundle] Don't hide logs by default in exception pages 2011-03-07 17:00:57 +01:00
Bulat Shakirzyanov
b80f307efd [HttpKernel] got rid of url transformation into uri, as parse_url doesn't work with uris 2011-03-07 10:54:31 -05:00
Bulat Shakirzyanov
11e568ee0e [FrameworkBundle] fixed tests to conform to new xsd 2011-03-07 10:49:50 -05:00
Jordi Boggiano
b79fb28f12 [WebProfilerBundle] Display hand cursor on the close button 2011-03-07 15:03:45 +01:00
Fabien Potencier
9e2262e6a4 Merge remote branch 'ornicar/removeMethodVisibilityInBundleInterface'
* ornicar/removeMethodVisibilityInBundleInterface:
  [HttpKernel] Remove method visibility in BundleInterface
2011-03-07 08:33:21 +01:00
Fabien Potencier
544186dd59 Merge remote branch 'francisbesset/framework_exception'
* francisbesset/framework_exception:
  [FrameworkBundle] Fixed typo in traces.html.twig
  [FrameworkBundle] Fixed typo in trace.html.twig
2011-03-07 08:31:20 +01:00
Eriksen Costa
33c37085da [Locale] moved static constructor 2011-03-07 03:07:19 -03:00
Eriksen Costa
1e2fa773c2 [Locale] renamed method 2011-03-07 03:07:18 -03:00
Eriksen Costa
8825dc8166 [Locale] renamed private method name and variable method with better names 2011-03-07 03:07:18 -03:00
Eriksen Costa
78485356a9 [Locale] code conventions changes (static keyword before visibility keyword) 2011-03-07 03:07:18 -03:00
Eriksen Costa
d8e35a2f5c [Locale] added tests to document behavior not implemented by StubIntlDateFormatter::parse() 2011-03-07 03:07:18 -03:00
Eriksen Costa
0a577e6fce [Locale] added more tests to time zone parsing with AM/PM markers 2011-03-07 03:07:17 -03:00
Eriksen Costa
d2df09f744 [Locale] refactored time zone support 2011-03-07 03:07:12 -03:00
ornicar
5d794cc62a [HttpKernel] Remove method visibility in BundleInterface 2011-03-06 19:17:50 -08:00
Francis Besset
0f449dee80 [FrameworkBundle] Fixed typo in traces.html.twig 2011-03-07 00:08:39 +01:00
Francis Besset
1615f66909 [FrameworkBundle] Fixed typo in trace.html.twig 2011-03-07 00:04:38 +01:00
Francis Besset
a7e1058898 [WebProfilerBundle] Added security icon for the Web Profiler menu 2011-03-06 23:28:45 +01:00
Douglas Greenshields
e4f9f4ddd7 [WebProfilerBundle] changed search input on web profiler to use HTML5 search input type 2011-03-06 21:06:35 +00:00
Fabien Potencier
ecc0a83912 [WebProfilerBundle] updatd favicon 2011-03-06 19:05:01 +01:00
Francis Besset
f3eca3dab7 [SecurityBundle] Resize security icon for the web debug toolbar 2011-03-06 16:17:54 +01:00
Francis Besset
b03463dd55 [WebProfilerBundle] Deleted one pixel on the left for logs icon 2011-03-06 15:52:10 +01:00
Francis Besset
354996e344 [SecurityBundle] Fixed typo 2011-03-06 15:46:21 +01:00
Francis Besset
4c0f7f26e4 [WebProfiler] Fixed integration of web debug toolbar 2011-03-06 15:30:02 +01:00
Fabien Potencier
8c423edfef replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Fabien Potencier
aca2c161c8 [WebProfilerBundle] made various changes to the profiler 2011-03-06 11:58:49 +01:00
Fabien Potencier
be8618ec56 [FrameworkBundle] made various small fixes to the Exception layout 2011-03-06 11:50:22 +01:00
alexandresalome
d7ce23fe53 Change the count span font size 2011-03-06 11:44:58 +01:00
alexandresalome
fa6a9c1db9 Make the width adapt the page 2011-03-06 11:44:58 +01:00
alexandresalome
0ce6630ba3 Change the doctrine image resource 2011-03-06 11:44:58 +01:00
alexandresalome
659bfc5615 Remove png_fix class 2011-03-06 11:44:58 +01:00
alexandresalome
0b41116a7b Change profiler menu entry images to be in template 2011-03-06 11:44:58 +01:00
alexandresalome
56dee48342 Change CSS URL to be relative to CSS folder 2011-03-06 11:44:58 +01:00
hhamon
91caf4b6e3 [WebProfilerBundle] customized search and admin tools in the profiler left sidebar 2011-03-06 11:44:57 +01:00
hhamon
124461ccee [WebProfilerBundle] fixed exception stack trace integration 2011-03-06 11:44:57 +01:00
hhamon
f0e1df2688 [FrameworkBundle] made the exception stack trace integratable in the web profiler 2011-03-06 11:44:57 +01:00
hhamon
f4f78d47c8 [WebProfilerBundle] simplified theme 2011-03-06 11:44:57 +01:00
hhamon
54ac63e3d5 [DoctrineMongoDBBundle] simplified database web profiler menu 2011-03-06 11:44:57 +01:00
hhamon
4bf66a363f [DoctrineBundle] simplified database web profiler menu 2011-03-06 11:44:57 +01:00
hhamon
8367694371 [WebProfilerBundle] simplified new web profiler layout 2011-03-06 11:44:57 +01:00
hhamon
ce7fddd4ea [SecurityBundle] updated profiler panel for the latest profiler theme 2011-03-06 11:44:57 +01:00
hhamon
bfb6e03290 [WebProfilerBundle] added missing security.png pictogram 2011-03-06 11:44:57 +01:00
hhamon
e51c46b21a [DoctrineMongoDBBundle] implemented new web profiler layout 2011-03-06 11:44:56 +01:00
hhamon
d37f52c743 [WebProfilerBundle] implemented new web profiler layout 2011-03-06 11:44:56 +01:00
hhamon
fcc66ad540 [DoctrineMongoDBBundle] fixed authentication panel for the new web debug toolbar layout 2011-03-06 11:44:56 +01:00
hhamon
1134fd17ab [SecurityBundle] fixed authentication panel for the new web debug toolbar layout 2011-03-06 11:44:56 +01:00
hhamon
a8e882ac51 [DoctrineBundle] fix database tab for the new web debug toolbar layout 2011-03-06 11:44:56 +01:00
hhamon
2d68ca4d00 [WebProfilerBundle] changed web debug toolbar css layout 2011-03-06 11:44:56 +01:00
hhamon
f75ec8d4ad [FrameworkBundle] implemented new exception stack trace layout 2011-03-06 11:44:56 +01:00
Fabien Potencier
c2e0537c31 Merge remote branch 'aurelijus/routehelper_cachedrouter_fix'
* aurelijus/routehelper_cachedrouter_fix:
  Add cache warmed routers support to RouteHelper
2011-03-06 10:50:11 +01:00
Lenar Lõhmus
c6bbecf0bb Check if config/template file is actually readable before further processing 2011-03-06 10:46:39 +01:00
Fabien Potencier
a137d72351 Merge remote branch 'hhamon/cookie_path_fix'
* hhamon/cookie_path_fix:
  [Security] renamed Cookie::isHttponly() to Cookie::isHttpOnly()
  [HttpKernel] renamed Cookie::isHttponly() to Cookie::isHttpOnly()
  [BrowserKit] renamed Cookie::isHttponly() to Cookie::isHttpOnly()
  [HttpFoundation] fix cookie path default value to / and added some new unit tests to cover the class
2011-03-06 10:44:40 +01:00
Fabien Potencier
487cddcfee Merge remote branch 'DuoSRX/code-coverage'
* DuoSRX/code-coverage:
  [HttpFoundation] Fixed a typo in response->setLastModified()
  [HttpFoundation] Added some more tests on response
  [HttpFoundation] Added some tests on Response
  [HttpFoundation] Replace a duplicated test with a method in Response
  Fixed code coverage generation when resources folder are deeper
2011-03-06 10:44:13 +01:00
Fabien Potencier
bbc5f40636 Merge remote branch 'jakzal/FileLocatorTest'
* jakzal/FileLocatorTest:
  [Config] Added missing tests to satisfy 100% test coverage of FileLocator. Made sure that every path returned with locate() is unique.
2011-03-06 10:40:52 +01:00
Fabien Potencier
51023eea86 [HttpFoundation] fixed CS 2011-03-06 10:39:33 +01:00
Fabien Potencier
c02ebbf2d8 Merge remote branch 'digitalkaoz/httpkernel-datacollector'
* digitalkaoz/httpkernel-datacollector:
  [HttpKernel] added Tests for DataCollectors
  [HttpFoundation] more sophisticated checks for valid expiration
2011-03-06 10:38:55 +01:00
Fabien Potencier
54e19b5376 Merge remote branch 'digitalkaoz/httpkernel-debug'
* digitalkaoz/httpkernel-debug:
  [HttpKernel] added tests for debug stuff
  [HttpKernel] reset handling if subject::handle throws an exception, otherwise it wouldnt be able to handle furthermore
2011-03-06 10:37:14 +01:00
Fabien Potencier
4accca3a76 Merge remote branch 'digitalkaoz/httpfoundation-session'
* digitalkaoz/httpfoundation-session:
  [HttpFoundation] added Session tests.
  [HttpFoundation] added a check for array keys existence.
2011-03-06 10:36:15 +01:00
Fabien Potencier
ce60ebbbf5 Merge remote branch 'yethee/fix-target-url'
* yethee/fix-target-url:
  [AsseticBundle] Fixed url for assets in the debugging mode.
2011-03-06 10:34:28 +01:00
Fabien Potencier
1e996901f5 Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  [Security] forward the entire access denied exception instead of only the message
  [Security] changed defaults for MessageDigestEncoder
  TICKET #9557: session isn't required when using http basic authentification mecanism for example
  [Security] improved entropy to make collision attacks harder
  [Security] added the 'key' attribute of RememberMeToken to serialized string to be stored in session
  Fix the Acl schema generator script.
2011-03-06 10:33:18 +01:00
Fabien Potencier
a972770371 Merge remote branch 'Seldaek/exception_msg'
* Seldaek/exception_msg:
  [Config] Improved exception message a bit
2011-03-06 10:32:12 +01:00
Fabien Potencier
0a8730ab26 Merge remote branch 'lewinski/yaml-escapes'
* lewinski/yaml-escapes:
  [Yaml] Improved support for double quoted values.
2011-03-06 08:34:20 +01:00
Xavier Perez
19090d3fb7 [HttpFoundation] Fixed a typo in response->setLastModified() 2011-03-06 00:17:54 +01:00
Robert Schönthal
87e1359ebd [HttpFoundation] more sophisticated checks for valid expiration 2011-03-06 00:13:47 +01:00
Deni
4c54218a4b [AsseticBundle] Fixed url for assets in the debugging mode. 2011-03-06 00:54:21 +03:00
Matthew Lewinski
ed338d9422 [Yaml] Improved support for double quoted values.
Added support for the full range of escaped values in double quoted
strings in chapter 5 of the YAML 1.1 and 1.2 specs. The escaping
and unescaping strategies were factored out into separate classes to
keep the logic isolated.

Added examples from the spec to the unit tests for all escaped values.
2011-03-05 15:39:48 -06:00
Robert Schönthal
415b456b4e [HttpKernel] reset handling if subject::handle throws an exception, otherwise it wouldnt be able to handle furthermore 2011-03-05 20:21:23 +01:00
Bernhard Schussek
f1393d7b1f Replaced EventDispatcher by Doctrine's EventManager implementation
Doctrine's EventManager implementation has several advantages over the
EventDispatcher implementation of Symfony2. Therefore I suggest that we
use their implementation.

Advantages:

 * Event Listeners are objects, not callbacks. These objects have handler
   methods that have the same name as the event. This helps a lot when
   reading the code and makes the code for adding an event listener shorter.
 * You can create Event Subscribers, which are event listeners with an
   additional getSubscribedEvents() method. The benefit here is that the
   code that registers the subscriber doesn't need to know about its
   implementation.
 * All events are defined in static Events classes, so users of IDEs benefit
   of code completion
 * The communication between the dispatching class of an event and all
   listeners is done through a subclass of EventArgs. This subclass can be
   tailored to the type of event. A constructor, setters and getters can be
   implemented that verify the validity of the data set into the object.
   See examples below.
 * Because each event type corresponds to an EventArgs implementation,
   developers of event listeners can look up the available EventArgs methods
   and benefit of code completion.
 * EventArgs::stopPropagation() is more flexible and (IMO) clearer to use
   than notifyUntil(). Also, it is a concept that is also used in other
   event implementations

Before:

    class EventListener
    {
        public function handle(EventInterface $event, $data) { ... }
    }

    $dispatcher->connect('core.request', array($listener, 'handle'));
    $dispatcher->notify('core.request', new Event(...));

After (with listeners):

    final class Events
    {
        const onCoreRequest = 'onCoreRequest';
    }

    class EventListener
    {
        public function onCoreRequest(RequestEventArgs $eventArgs) { ... }
    }

    $evm->addEventListener(Events::onCoreRequest, $listener);
    $evm->dispatchEvent(Events::onCoreRequest, new RequestEventArgs(...));

After (with subscribers):

    class EventSubscriber
    {
        public function onCoreRequest(RequestEventArgs $eventArgs) { ... }

        public function getSubscribedEvents()
        {
            return Events::onCoreRequest;
        }
    }

    $evm->addEventSubscriber($subscriber);
    $evm->dispatchEvent(Events::onCoreRequest, new RequestEventArgs(...));
2011-03-05 15:30:34 +01:00
Fabien Potencier
fe0ef667c8 Merge remote branch 'kriswallsmith/assetic/php-templating'
* kriswallsmith/assetic/php-templating:
  [AsseticBundle] finished and enabled php templating support
2011-03-05 15:25:11 +01:00
Jakub Zalas
bdd4194b6f [Config] Added missing tests to satisfy 100% test coverage of FileLocator. Made sure that every path returned with locate() is unique. 2011-03-05 15:24:44 +01:00
Johannes Schmitt
b67a1dd677 [Security] forward the entire access denied exception instead of only the message 2011-03-05 14:30:08 +01:00
Xavier Perez
0d56ca5654 [HttpFoundation] Replace a duplicated test with a method in Response 2011-03-05 14:27:35 +01:00
Johannes Schmitt
63dbcea8ee Merge branch 'lewinski-fix-acl-schema-generator' into security 2011-03-05 14:13:53 +01:00
Kris Wallsmith
8d4dae9f2a [AsseticBundle] finished and enabled php templating support 2011-03-05 14:11:29 +01:00
Johannes Schmitt
0eb4f49061 Merge branch 'fix-acl-schema-generator' of https://github.com/lewinski/symfony into lewinski-fix-acl-schema-generator 2011-03-05 13:54:10 +01:00
Johannes Schmitt
4c7aa343d3 Merge branch 'opensky-hotfix/remember-me-token-fix' into security 2011-03-05 13:51:52 +01:00
Johannes Schmitt
966607746f Merge branch 'hotfix/remember-me-token-fix' of https://github.com/opensky/symfony into opensky-hotfix/remember-me-token-fix 2011-03-05 13:51:20 +01:00
Johannes Schmitt
e03958f5b0 Merge branch 'cyqui-TICKET_9557' into security 2011-03-05 13:50:14 +01:00
Johannes Schmitt
e91cb7cf96 Merge branch 'TICKET_9557' of https://github.com/cyqui/symfony into cyqui-TICKET_9557 2011-03-05 13:49:38 +01:00
Johannes Schmitt
f82b89cdc5 [Security] changed defaults for MessageDigestEncoder
- encode_as_base64 set to true
- iterations increased to 5000 from 1
2011-03-05 13:45:35 +01:00
Cyril Quintin
310a6c99a2 TICKET #9557: session isn't required when using http basic authentification mecanism for example 2011-03-05 13:33:56 +01:00
Robert Schönthal
58db452e21 [HttpFoundation] added a check for array keys existence. 2011-03-05 13:30:54 +01:00
Johannes Schmitt
f010742e45 [Security] improved entropy to make collision attacks harder 2011-03-05 13:30:27 +01:00
Johannes Schmitt
eb2eb2e47a [DependencyInjection] adds property injection 2011-03-05 13:03:28 +01:00
Fabien Potencier
44d069a3fb Merge remote branch 'kriswallsmith/dic/auto-ext-load'
* kriswallsmith/dic/auto-ext-load:
  [HttpKernel] added an subclass merge extension configuration compiler pass to ensure each bundle's "main" extension is loaded
  [DependencyInjection] extensions should only load if called during configuration
2011-03-05 12:18:18 +01:00
Fabien Potencier
727326b7b8 Merge remote branch 'kriswallsmith/assetic/factory-workers'
* kriswallsmith/assetic/factory-workers:
  [AsseticBundle] added compiler pass for factory workers
2011-03-05 12:14:24 +01:00
Fabien Potencier
7eb4b67ec4 Merge remote branch 'kriswallsmith/assetic/update'
* kriswallsmith/assetic/update:
  [AsseticBundle] updated for assetic changes
2011-03-05 12:14:01 +01:00
Alexander Zogheb
80b282b115 [WebProfilerBundle] Optimization to listener 2011-03-05 00:57:48 -08:00
Bulat Shakirzyanov
dbde41c082 [Security] added the 'key' attribute of RememberMeToken to serialized string to be stored in session 2011-03-04 13:26:08 -05:00
Chekote
4e280dfc37 Fixed undefined variable error when escaping a js string while using UTF-8 charset. 2011-03-03 16:00:42 -06:00
Hugo Hamon
2cbdd2c18b [HttpKernel] renamed Cookie::isHttponly() to Cookie::isHttpOnly() 2011-03-03 14:52:26 +01:00
Hugo Hamon
8182913f1f [BrowserKit] renamed Cookie::isHttponly() to Cookie::isHttpOnly() 2011-03-03 14:52:03 +01:00
Hugo Hamon
ad56bd8e47 [HttpFoundation] fix cookie path default value to / and added some new unit tests to cover the class 2011-03-03 14:50:14 +01:00
Kris Wallsmith
33d47be32e [HttpKernel] added an subclass merge extension configuration compiler pass to ensure each bundle's "main" extension is loaded 2011-03-03 13:54:32 +01:00
Kris Wallsmith
bf0553c23a [DependencyInjection] extensions should only load if called during configuration 2011-03-03 13:53:29 +01:00
Christophe Coevoet
db168cc40d Fixed assets_base_urls configuration 2011-03-02 20:04:12 +01:00
aurelijus
218a9ae51e Add cache warmed routers support to RouteHelper 2011-03-02 18:58:43 +02:00
Igor Wiedler
2c65c7dab6 [Locale] use the sort flag in StubCollator::asort() 2011-03-02 17:39:30 +01:00
Igor Wiedler
c22a43860b [Locale] add missing StubCollator methods, with tests 2011-03-02 17:13:24 +01:00
Kris Wallsmith
f7b7288892 [AsseticBundle] added compiler pass for factory workers 2011-03-02 08:11:11 -05:00
ornicar
6790e45911 [DependencyInjection] Fix variable name in ExtensionInterface 2011-03-01 16:20:26 -08:00
Kris Wallsmith
b6cac77930 [AsseticBundle] updated for assetic changes 2011-03-01 15:51:39 -05:00
Michel Weimerskirch
dfc302722e Documentation corrected in EnsureProductionSettingsDoctrineCommand.php 2011-03-01 20:41:34 +01:00
Fabien Potencier
501bf2fcb6 Merge remote branch 'kriswallsmith/zend/compiled-classes'
* kriswallsmith/zend/compiled-classes:
  [ZendBundle] added classes to compile
2011-03-01 20:39:23 +01:00
Fabien Potencier
fd53035c8d Merge remote branch 'schmittjoh/inlinePassFix'
* schmittjoh/inlinePassFix:
  [DependencyInjection/Compiler] fixes a bug which silently changed the scope of services
2011-03-01 20:38:48 +01:00
Fabien Potencier
d7fa78d790 Merge remote branch 'pborreli/daily-typos'
* pborreli/daily-typos:
  [Tests] Fixed Typo
  [Validator] Fixed Typo
  [Security] Fixed Typo
  [HttpKernel] Fixed Typo
  [Form] Fixed Typo
  [DependencyInjection] Fixed Typo
  [CssSelector] Fixed Typo
  [Doctrine*Bundle] Fixed Typo
  [TwigBundle] Fixed Typo
  [HttpFoundation] Removed remove recurring test
2011-03-01 20:37:54 +01:00
Fabien Potencier
e01c8eecd9 Merge remote branch 'kriswallsmith/assetic/test-coverage'
* kriswallsmith/assetic/test-coverage:
  [AsseticBundle] progress migrating functional tests to unit tests
  [AsseticBundle] changed type to use interface
  [AsseticBundle] added a functional test group
2011-03-01 20:36:56 +01:00
Kris Wallsmith
9283877828 [AsseticBundle] progress migrating functional tests to unit tests 2011-03-01 13:59:50 -05:00
Pascal Borreli
65560b30e1 [Validator] Fixed Typo 2011-03-01 18:58:08 +01:00
Pascal Borreli
843d5a8399 [Security] Fixed Typo 2011-03-01 18:58:08 +01:00
Pascal Borreli
c70824d22c [HttpKernel] Fixed Typo 2011-03-01 18:58:08 +01:00
Pascal Borreli
f3a0b3fd83 [Form] Fixed Typo 2011-03-01 18:58:08 +01:00
Pascal Borreli
b84999ac33 [DependencyInjection] Fixed Typo 2011-03-01 18:58:08 +01:00
Pascal Borreli
d060a3c6ff [CssSelector] Fixed Typo 2011-03-01 18:58:07 +01:00
Pascal Borreli
64b50e1c46 [Doctrine*Bundle] Fixed Typo 2011-03-01 18:58:07 +01:00
Pascal Borreli
19f931a231 [TwigBundle] Fixed Typo 2011-03-01 18:58:07 +01:00
Pascal Borreli
ff44b0ff28 [HttpFoundation] Removed remove recurring test 2011-03-01 18:58:07 +01:00
Kris Wallsmith
d24c52ad38 [AsseticBundle] changed type to use interface 2011-03-01 11:00:19 -05:00
Kris Wallsmith
66c921f093 [AsseticBundle] added a functional test group 2011-03-01 10:49:14 -05:00
Jordi Boggiano
75dbc3a5b8 [Config] Improved exception message a bit 2011-03-01 14:44:24 +01:00
Johannes M. Schmitt
67c886f3df [DependencyInjection/Compiler] fixes a bug which silently changed the scope of services 2011-03-01 13:47:34 +01:00
Eriksen Costa
a04099728b [Locale] removed redundant code 2011-03-01 02:14:08 -03:00
Eriksen Costa
2a06139a97 [Locale] reordered methods to match code conventions 2011-03-01 02:13:55 -03:00
Eriksen Costa
4cc5b6f2d0 [Locale] throw exception if value different than null is provided (behavior not implemented in the stub) 2011-03-01 02:08:13 -03:00
Eriksen Costa
7ba71c0be1 [Locale] added missing docblocks 2011-03-01 01:59:14 -03:00
Kris Wallsmith
26e7470eb3 [ZendBundle] added classes to compile 2011-02-28 19:07:58 -05:00
Michel Weimerskirch
1aa6257f00 Documentation corrected in EnsureProductionSettingsDoctrineCommand.php 2011-02-28 15:41:09 -08:00
Kris Wallsmith
35376592c4 [AsseticBundle] fixed fluent formatting 2011-02-28 14:03:42 -05:00
Igor Wiedler
51e9d8946b [Locale] match reverseMatchingRegExp against full string value 2011-02-28 18:45:52 +01:00
Igor Wiedler
fd0cc37c71 [Locale] handle escaped (enquoted) strings when parsing 2011-02-28 18:22:22 +01:00
Kris Wallsmith
d57c6657bd [AsseticBundle] added config option to limit which bundles formulae are loaded from 2011-02-28 11:48:25 -05:00
Fabien Potencier
57d0d3fe2f Merge remote branch 'kriswallsmith/assetic/new-resource-interface'
* kriswallsmith/assetic/new-resource-interface:
  [AsseticBundle] updated resource for new interface
2011-02-28 17:18:19 +01:00
Degory Valentine
057e86161e added test to verify ArgvInput->parse() failure with array input definition 2011-02-28 17:16:58 +01:00
Degory Valentine
0306c9aa66 Fixed array argument parsing in ArgvInput. 2011-02-28 17:16:58 +01:00
Kris Wallsmith
8ebec86cab [AsseticBundle] updated resource for new interface 2011-02-28 10:36:51 -05:00
Igor Wiedler
ac8b9be130 [Locale] import FullTransformer via usee statement 2011-02-28 14:29:44 +01:00
Kris Wallsmith
d6c08f6685 [AsseticBundle] missing argument 2011-02-28 08:14:39 -05:00
Kris Wallsmith
5683c6e6e1 [AsseticBundle] separated read and write paths to facilitate writing assets to a CDN via a custom stream wrapper 2011-02-28 08:14:28 -05:00
Igor Wiedler
a5f8411eff [Locale] minor cosmetical tweaks to the pre-escaped regExp 2011-02-28 13:54:38 +01:00
Igor Wiedler
20acdac57d [Locale] remove support for era (BC|AD)
parsing it is a pain, nobody uses it, BC only works on 64 bit.
2011-02-28 09:46:30 -03:00
Igor Wiedler
195b2ebdde [Locale] handle IntlDateFormatter::parse with non-integer timestamp 2011-02-28 09:46:30 -03:00
Eriksen Costa
b7e9b35ca9 [Locale] added parsing of dates with regExp metachars 2011-02-28 09:44:14 -03:00
Victor Berchet
d281409ed5 [Config] Define a common interface for NodeBuilder and TreeBuilder 2011-02-28 12:39:43 +01:00
Victor Berchet
6d37218db1 [Config] Tweak type hints & phpDoc for the builders 2011-02-28 12:39:43 +01:00
Victor Berchet
b5fadcd22c [Config][TreeBuilder] Tweak the code 2011-02-28 12:39:22 +01:00
Victor Berchet
6c9e48fd8f [Config][VariableNode] Tweak the code 2011-02-28 12:39:21 +01:00
Victor Berchet
687c4dfeb1 [Config][BooleanNode] Tweak the code 2011-02-28 12:39:21 +01:00
Victor Berchet
e47f808376 [Config] Tweak phpDoc 2011-02-28 12:39:13 +01:00
Fabien Potencier
2bb2388c3f fixed typo 2011-02-28 12:12:49 +01:00
Victor Berchet
4d83b36170 [Config][ArrayNode] Tweak normalizeValue() code & phpDoc 2011-02-28 10:13:27 +01:00
Victor Berchet
60043a3c96 [Config][ArrayNode] Tweak some phpDoc 2011-02-28 10:12:44 +01:00
Martin Hason
c75622cb4b [DependencyInjection] removed unused class Extension, fix tests 2011-02-28 09:57:18 +01:00
Martin Hason
1d04ebfda5 [HttpKernel] changed extends Extension to implements ExtensionInterface 2011-02-28 09:55:53 +01:00
Martin Hason
d231a8a8d5 [Config] [DependencyInjection] removed DependencyInjection dependency in Config, fix tests 2011-02-28 09:19:13 +01:00
Eriksen Costa
0449889513 [Locale] added timezone parsing implementation 2011-02-28 01:19:19 -03:00
Matthew Lewinski
cde5f528c2 Fix the Acl schema generator script.
Change 3e818846 in doctrine/dbal introduced a number of new classes in
the Doctrine\DBAL\Platforms\Keywords namespace, so we need to be more
careful here when generating Acl schema, so as to only load Platform
classes and not any others in the same directory.
2011-02-27 16:56:47 -06:00
Jordi Boggiano
9a35851c6b Rename .symfony to .gitkeep which is more standard git practice 2011-02-27 23:29:14 +01:00
Christophe Coevoet
a960355c46 Fixed type-hinting and renamed the method to be more semantic 2011-02-27 22:44:44 +01:00
Christophe Coevoet
0f2380af3f Removed duplicated code 2011-02-27 22:43:07 +01:00
Fabien Potencier
3948c2d8a2 [Routing] fixed annotation dir loader auto-reload when a controller class changes 2011-02-27 22:39:54 +01:00
Fabien Potencier
37178fed01 Merge remote branch 'lewinski/radio-infinite-recursion-fix'
* lewinski/radio-infinite-recursion-fix:
  [Form] Fix infinite recursion in RadioField->getName()
2011-02-27 22:35:57 +01:00
Fabien Potencier
d4663505f7 Merge remote branch 'vicb/config'
* vicb/config:
  [Config] Simplify ScalarNode by inheriting from VariableNode
2011-02-27 22:32:11 +01:00
Fabien Potencier
642f8ff71f Merge remote branch 'kriswallsmith/assetic/watch'
* kriswallsmith/assetic/watch:
  [AsseticBundle] added error handling to --watch
  [AsseticBundle] added a simple cache to --watch so it picks up where it left off last time
  [AsseticBundle] added a --watch option to the assetic:dump command
2011-02-27 22:25:45 +01:00
Eriksen Costa
dadd896915 [Locale] added implementation for minutes and seconds 2011-02-27 18:21:35 -03:00
Fabien Potencier
c99a44b1e8 Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  [Security] added method to retrieve the configured remember-me parameter
  [Security] Copy token attributes when auth providers create a new token from another
2011-02-27 22:20:44 +01:00
Eriksen Costa
e78c6c2b1a [Locale] refactored hour manipulation 2011-02-27 18:14:02 -03:00
Fabien Potencier
c58b6afc38 Merge remote branch 'cristiangsp/Translation_FallbackLocale'
* cristiangsp/Translation_FallbackLocale:
  [Translation] Modified Translation unit test "testTransWithFallbackLocale"
  [Translation] Fixed the addition of the fallbackLocale catalogue to the current locale catalogue.
  [Translation] Added search to FallbackLocale Catalogue.
2011-02-27 21:48:34 +01:00
Fabien Potencier
cdf6851eb3 fixed merge 2011-02-27 21:16:13 +01:00
Fabien Potencier
49f84f1997 Merge remote branch 'lsmith77/code_analyzer_2011_02_27'
* lsmith77/code_analyzer_2011_02_27:
  corrected NonceExpiredException namespace
  issues found by static code analysis
2011-02-27 21:12:31 +01:00
Eriksen Costa
348dd7ba24 [Locale] refactoring to separate concerns 2011-02-27 17:03:54 -03:00
Christophe Coevoet
92bfbf575c Fixed CS 2011-02-27 20:56:29 +01:00
Eriksen Costa
4a7c33ce82 [Locale] inject named capture string into Transformer constructor 2011-02-27 16:37:49 -03:00
Lukas Kahwe Smith
2bf30f8bb7 corrected NonceExpiredException namespace 2011-02-27 19:46:40 +01:00
Lukas Kahwe Smith
4b3c49550f issues found by static code analysis 2011-02-27 19:34:02 +01:00
Eriksen Costa
c1c0c3c42e [Locale] added parsing for hours (12 and 24 hours) 2011-02-27 15:22:25 -03:00
Pascal Borreli
5b819261c2 [Yaml] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
87452f7515 [Translation] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
5a922dae22 [Templating] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
787812d968 [Security] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
1fcb99b936 [HttpKernel] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
fc42cc5066 [HttpFoundation] Removed useless else 2011-02-27 18:36:38 +01:00
Pascal Borreli
03f91ff1e0 [Form] Removed useless else 2011-02-27 18:36:37 +01:00
Pascal Borreli
66f4d8bf6d [DependencyInjection] Removed useless else 2011-02-27 18:36:37 +01:00
Pascal Borreli
2cbaddfd87 [CssSelector] Removed useless else 2011-02-27 18:36:37 +01:00
Pascal Borreli
f7ab114d36 [HttpFoundation] Fixed missing curly brackets 2011-02-27 18:36:37 +01:00
Pascal Borreli
46d28ce1b1 [Console] Removed useless else 2011-02-27 18:36:37 +01:00
Pascal Borreli
96981670ea [BrowserKit] Removed useless else 2011-02-27 18:36:36 +01:00
Pascal Borreli
2a6c5018ae [FrameworkBundle] Removed useless else 2011-02-27 18:36:36 +01:00
Pascal Borreli
1e7a2e13cd [Doctrine*Bundle] Removed old use namespace (Doctrine\Common\Cli) 2011-02-27 18:36:36 +01:00
Pascal Borreli
f7716645a5 [FrameworkBundle] Removed useless else 2011-02-27 18:36:36 +01:00
Pascal Borreli
664c00b62e [DoctrineBundle] Removed useless sprintf 2011-02-27 18:36:36 +01:00
cgonzalez
381d1e2da1 [Translation] Fixed the addition of the fallbackLocale catalogue to the current locale catalogue.
When loading a catalogue the function "optimizeCatalogue" add the fallback catalogue to the current locale catalogue. This should be done by first adding the language catalogue and finally adding the fallbacklocale catalogue specified in the configuration. This subsequent additions are done by the "loadCatalogue" function.

The problem is that in the "loadCatalogue" function exists an if statement that checks if the resource of a given locale exists before loading it. If not, the function simply returns. This return implies that the subsequent addition of the fallbacklocale wouldn't be done.

This has been fixed by simply replacing the current if statement and adding a new one that, if the resource exists, then executes the process of resource loading. Finally, the function continue calling the "optimizeCatalogue" function.
2011-02-27 12:32:46 +01:00
cgonzalez
b6049beca2 [Translation] Added search to FallbackLocale Catalogue.
When the current locale catalogue doesn't contain the id searched, the code doesn't search in the fallbacklocale catalogue (as is explained in the documentation).
Added the search to the fallbacklocale catalogue to the translation function.
2011-02-27 12:32:46 +01:00
Fabien Potencier
a287a619ad Revert "[ZendBundle] added classes to compile"
This reverts commit add21ec4c0.
2011-02-27 08:09:25 +01:00
Eriksen Costa
ed85345312 [Locale] added parsing implementation for year, month and day 2011-02-27 02:22:07 -03:00
Eriksen Costa
f096b7b2bb [Locale] removed trailing whitespace 2011-02-27 01:04:07 -03:00
Lukas Kahwe Smith
141b798127 make it possible to define the file extension 2011-02-26 23:12:46 +01:00
Johannes Schmitt
97ee92e7b0 Merge branch 'CopyTokenAttributesInProviders' of https://github.com/opensky/symfony into opensky-CopyTokenAttributesInProviders 2011-02-26 21:47:57 +01:00
Johannes Schmitt
621a79f1f2 [Security] added method to retrieve the configured remember-me parameter 2011-02-26 21:44:40 +01:00
Fabien Potencier
de33e14699 Merge remote branch 'kriswallsmith/zend/compiled-classes'
* kriswallsmith/zend/compiled-classes:
  [ZendBundle] added classes to compile
2011-02-26 20:46:27 +01:00
Pascal Borreli
2fbb8e07f8 [Security] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
b9a6f9210b [HttpKernel] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
f3b9364eae [HttpFoundation] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
ddd6d93f9f [Form] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
4f2f1c08a9 [EventDispatcher] Fixed typo 2011-02-26 20:02:06 +01:00
Pascal Borreli
1a8ce933e1 [DependencyInjection] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
b940046ac4 [CssSelector] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
e1ec66cbb8 [Config] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
0c9951f676 [TwigBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
added08c92 [SecurityBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
1dca1ea002 [FrameworkBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
ecd3845b80 [DoctrineMongoDBBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
68140021fc [DoctrineBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Pascal Borreli
b9c2579f2b [DoctrineAbstractBundle] Fixed typo 2011-02-26 20:02:05 +01:00
Igor Wiedler
0e260c1170 [Locale] refactor date formatting into separate transformer classes, early concepts for date parsing 2011-02-26 19:34:59 +01:00
noel guilbert
a8eff2b154 Improved profiler to store and retrieve sub requests data 2011-02-26 17:24:02 +01:00
Fabien Potencier
e16c666266 [Routing] made an empty path info to redirect to / (as for any other route that ends with a /) 2011-02-26 08:56:44 +01:00
Kris Wallsmith
3ce1d82589 [AsseticBundle] added error handling to --watch 2011-02-25 10:27:51 -08:00
Kris Wallsmith
4816b9e711 [AsseticBundle] added a simple cache to --watch so it picks up where it left off last time 2011-02-25 10:01:01 -08:00
Kris Wallsmith
80256655e2 [AsseticBundle] added a --watch option to the assetic:dump command 2011-02-25 09:52:37 -08:00
Fabien Potencier
f46c6f7e45 [Routing] fixed the %2f problem in URLs 2011-02-25 18:01:32 +01:00
Fabien Potencier
1ee6ad4dad Revert "A command to generate a migration from the sql queries executed when you load some data fixtures."
This reverts commit 0f353c1411.
2011-02-25 17:11:58 +01:00
Fabien Potencier
a0d4250cde Revert "initial steps to handling objects"
This reverts commit 988b8f3736.
2011-02-25 17:11:56 +01:00
Fabien Potencier
11d8ce3976 Revert "cosmetic tweak"
This reverts commit e356c2a902.
2011-02-25 17:11:51 +01:00
Kris Wallsmith
8fedd8d067 [AsseticBundle] renamed some test files to respect the exclude of Resources in phpunit.xml.dist 2011-02-25 06:50:57 -08:00
Fabien Potencier
ad80b09a4f Merge remote branch 'kriswallsmith/assetic/etags'
* kriswallsmith/assetic/etags:
  [AsseticBundle] added etags to controller so changes to filters etc trigger invalidation
2011-02-25 07:19:45 +01:00
Fabien Potencier
ee4db2a5d8 Merge remote branch 'kriswallsmith/assetic/filter-visibility'
* kriswallsmith/assetic/filter-visibility:
  [AsseticBundle] fixed visibility of YUI filters
2011-02-25 07:19:38 +01:00
Kris Wallsmith
968c870c94 [AsseticBundle] added etags to controller so changes to filters etc trigger invalidation 2011-02-24 21:48:51 -08:00
Kris Wallsmith
d4db5319c8 [AsseticBundle] added resources to the routing loader
now the router will be aware of any changes assetic is aware of
2011-02-24 21:05:07 -08:00
Kris Wallsmith
05055d443c [AsseticBundle] fixed formula caching system 2011-02-24 21:05:06 -08:00
Kris Wallsmith
45976aa9a0 [AsseticBundle] fixed visibility of YUI filters 2011-02-24 21:03:09 -08:00
Kris Wallsmith
add21ec4c0 [ZendBundle] added classes to compile 2011-02-24 11:27:16 -08:00
Fabien Potencier
5b92dcf9dd Merge remote branch 'stof/zend_config'
* stof/zend_config:
  Changed default priority to INFO
  [ZendBundle] Added a Configuration class
2011-02-24 17:55:15 +01:00
Fabien Potencier
396fcf15a8 Merge remote branch 'kriswallsmith/assetic/rm-phpcs'
* kriswallsmith/assetic/rm-phpcs:
  [AsseticBundle] removed PHP_CodeSniffer dependency
2011-02-24 17:51:30 +01:00
Christophe Coevoet
0488ebc2e8 Changed default priority to INFO 2011-02-24 17:48:41 +01:00
Christophe Coevoet
192583a225 [ZendBundle] Added a Configuration class 2011-02-24 17:38:40 +01:00
Victor Berchet
3bfb599074 [Config] Simplify ScalarNode by inheriting from VariableNode 2011-02-24 16:31:00 +01:00
Fabien Potencier
691c9f5950 Merge remote branch 'marphi/fix_assetic'
* marphi/fix_assetic:
  [AsseticBundle] fix fatal error - missing argument assetic.asset_manager in definition assetic.asset_manager_cache_warmer serivce
2011-02-24 15:52:13 +01:00
Fabien Potencier
2ad21ed41f Merge remote branch 'lsmith77/fixture_2_migration'
* lsmith77/fixture_2_migration:
  cosmetic tweak
  initial steps to handling objects
  A command to generate a migration from the sql queries executed when you load some data fixtures.
2011-02-24 15:50:59 +01:00
Fabien Potencier
71a06f0174 Merge remote branch 'kriswallsmith/assetic/stylus-filter'
* kriswallsmith/assetic/stylus-filter:
  [AsseticBundle] added stylus filter
2011-02-24 15:49:23 +01:00
Michel Weimerskirch
6998e593e0 Added line number to TransChoiceTokenParser exception message (TwigBundle). 2011-02-24 06:47:45 -08:00
Kris Wallsmith
2b2a7f0a1d added nowrap style to WDT toolbar so image and text stays together when the toolbar wraps 2011-02-24 06:14:08 -08:00
Kris Wallsmith
9f2d59c489 [AsseticBundle] added stylus filter 2011-02-24 05:48:15 -08:00
Victor Berchet
38da529997 [Kernel] Get rid of Kernel::registerRootDir() 2011-02-24 14:02:28 +01:00
Michel Weimerskirch
5f0d83662c Simplified EmailValidator using native PHP validation function. 2011-02-24 04:30:23 -08:00
Victor Berchet
788f63d460 [FrameworkBundle] Simplify the over-complicated template cache warmer 2011-02-24 13:02:35 +01:00
Lukas Kahwe Smith
e356c2a902 cosmetic tweak 2011-02-24 11:57:32 +01:00
Lukas Kahwe Smith
988b8f3736 initial steps to handling objects 2011-02-24 10:44:47 +01:00
Fabien Potencier
79bc233344 [TwigBundle] fixed typo 2011-02-24 09:46:59 +01:00
Jeremy Mikola
5113886f34 [Security] Copy token attributes when auth providers create a new token from another
PreAuthenticatedAuthenticationProvider and UserAuthenticationProvider tend to copy a token instead of modifying it during their authenticate() methods, which is probably a good idea if the token might be immutable. Ensure that the token's attributes get copied along with everything else.
2011-02-23 16:03:01 -05:00
Igor Wiedler
bcca989c41 [Locale] refactor and simplify some parts of StubIntlDateFormatter 2011-02-23 19:09:48 +01:00
Bernhard Schussek
4af27bd590 [Locale] Added stubs for \Collator and \IntlDateFormatter 2011-02-23 14:46:27 +01:00
Igor Wiedler
ee5bc36c55 [Locale] add docblocks to StubIntlDateFormatter and adjust some things to be more like StubNumberFormatter 2011-02-23 14:20:47 +01:00
Igor Wiedler
7b2b025ebd [Locale] add @author tag to StubCollator 2011-02-23 14:20:46 +01:00
Igor Wiedler
30ea2bae32 [Locale] add @author tag to StubIntlDateFormatter 2011-02-23 14:20:46 +01:00
Igor Wiedler
96b7c8ff73 [Locale] initial stub of StubCollator with class constants 2011-02-23 14:20:45 +01:00
Igor Wiedler
3cc60f7cb4 [Locale] throw NotImplementedException on unimplemented chars 2011-02-23 14:20:45 +01:00
Igor Wiedler
577dd30927 [Locale] remove setLocale from StubIntlDateFormatter 2011-02-23 14:20:45 +01:00
Igor Wiedler
53839f9235 [Locale] refactor tests, make use of specialized exception 2011-02-23 14:20:45 +01:00
Igor Wiedler
77258223f1 [Locale] re-order StubIntlDateFormatter methods, rename timezoneId to timeZoneId, add setLenient method 2011-02-23 14:20:44 +01:00
Igor Wiedler
1191ab4b56 [Locale] add remaining IntlDateFormatter methods with tests 2011-02-23 14:20:44 +01:00
Igor Wiedler
69b38faff7 [Locale] refactoring and some more tests 2011-02-23 14:20:44 +01:00
Igor Wiedler
1f248652cc [Locale] minor naming change 2011-02-23 14:20:43 +01:00
Jordi Boggiano
bfbc8f63fa [Locale] Fixed implementation of quote parsing and replacement 2011-02-23 14:20:43 +01:00
Igor Wiedler
c7380fbb4c [Locale] support standard date and time types if no format is set, refactoring and more tests 2011-02-23 14:20:42 +01:00
Igor Wiedler
d3a63d35d4 [Locale] slightly adjust regex for matching quotes 2011-02-23 14:20:42 +01:00
Igor Wiedler
632ded5c96 [Locale] use UTC if timezone is unsupported 2011-02-23 14:20:42 +01:00
Igor Wiedler
a883a3f62a [Locale] adjust to new quoting format, some tests failing 2011-02-23 14:20:42 +01:00
Igor Wiedler
cc6f996334 [Locale] add a list of unimplemented date format keywords 2011-02-23 14:20:41 +01:00
Igor Wiedler
cbfaaef76e [Locale] support for z (timezone offset from GMT) 2011-02-23 14:20:41 +01:00
Igor Wiedler
d68c5fa7fd [Locale] refactor to use DateTime and DateTimeZone, adding timezone support 2011-02-23 14:20:41 +01:00
Igor Wiedler
7efe476693 [Locale] support for s (second) 2011-02-23 14:20:41 +01:00
Igor Wiedler
87d3547679 [Locale] support for m (minute of hour) 2011-02-23 14:20:40 +01:00
Igor Wiedler
6b26f8296d [Locale] support for K (12-hour (0-11)) 2011-02-23 14:20:40 +01:00
Igor Wiedler
5a767045b6 [Locale] implement k (24-hour (1-24) 2011-02-23 14:20:40 +01:00
Igor Wiedler
42a652ce3d [Locale] refactor IntlDateFormatter::format to build regExp dynamically 2011-02-23 14:20:40 +01:00
Igor Wiedler
bfc7e55692 [Locale] support for H (24 hour) 2011-02-23 14:20:39 +01:00
Igor Wiedler
71e3c97358 [Locale] support for a (AM/PM) 2011-02-23 14:20:39 +01:00
Igor Wiedler
49752f104b [Locale] support for E (day of week) 2011-02-23 14:20:39 +01:00
Igor Wiedler
d4c1357f11 [Locale] support for D (day of year) 2011-02-23 14:20:39 +01:00