Commit Graph

4306 Commits

Author SHA1 Message Date
Fabien Potencier
03511dea5c [DoctrineBundle] removed the possibility to define an empty configuration for the DBAL (which does not make sense in real-life) 2011-04-27 10:37:08 +02:00
Fabien Potencier
55f9e6fb99 [DoctrineBundle] tweaked various exceptions to make it clear that the issue is related to Doctrine 2011-04-27 10:37:01 +02:00
Fabien Potencier
631393e29d [DoctrineBundle] fixed CS 2011-04-27 10:15:03 +02:00
Fabien Potencier
aab56fa91e [DoctrineBundle] moved some more definition to abstract definition 2011-04-27 10:15:02 +02:00
Fabien Potencier
f1b43450c3 [DoctrineBundle] removed parameters from orm.xml as they already have default values in the Configuration class 2011-04-27 10:14:59 +02:00
Fabien Potencier
35a32440c7 [DoctrineBundle] converted DBAL definition templates to abstract definitions 2011-04-27 09:47:43 +02:00
Victor Berchet
d350e01e33 File & UploadedFile tweaks 2011-04-27 09:10:41 +02:00
Fabien Potencier
e96b39f060 updated UPDATE file 2011-04-27 08:56:11 +02:00
Fabien Potencier
00bfd10ca9 [HttpFoundation] refactored File management to be safer 2011-04-27 08:50:33 +02:00
Fabien Potencier
b7cd7115d1 [HttpFoundation] removed protected methods that were not used 2011-04-27 08:04:10 +02:00
Fabien Potencier
5bb9da4b6d [HttpFoundation] renamed getDefaultExtension() to guessExtension()
The renamed method now returns null if it cannot guess the extension. It allows
the developper to know whether the extension has been guessed or not.
2011-04-27 08:03:19 +02:00
Fabien Potencier
a26de5ba58 [HttpFoundation] fixed CS 2011-04-27 08:03:15 +02:00
Fabien Potencier
854fbd7f68 [HttpFoundation] use realpath to ensure that there is no .. in file path (to match phpdoc) 2011-04-27 07:58:54 +02:00
Fabien Potencier
9f846997ef Merge remote branch 'Infranology/normalize-bools'
* Infranology/normalize-bools:
  capitalized 'boolean'
  replaced 'bool' with 'Boolean'
2011-04-27 07:48:12 +02:00
Eriksen Costa
164ce5210d capitalized 'boolean' 2011-04-27 02:35:10 -03:00
Eriksen Costa
4db0752894 replaced 'bool' with 'Boolean' 2011-04-27 02:35:03 -03:00
Fabien Potencier
aa3ec504ae removed File::getWebPath()
This has been removed for several reasons:

* the framework does not know where the document root is and should not care
* as the document root was static, it was impossible to have several document roots depending on some business rules (see next one)
* sometimes, the document root is not under the web root directory (so the logic of getWebPath() is not always correct)
* the feature was not used anywhere in the core
2011-04-27 06:49:05 +02:00
Benoît Merlet
d9ac718b97 fixed typo 2011-04-26 19:54:39 +02:00
Fabien Potencier
28aa8e729a [FrameworkBundle] fixed typo 2011-04-26 18:27:51 +02:00
Fabien Potencier
94bbdff8c0 Merge remote branch 'kriswallsmith/process/default-executable'
* kriswallsmith/process/default-executable:
  [Process] added optional argument for default executable
2011-04-26 16:56:54 +02:00
Kris Wallsmith
5dc1a9bb58 [Process] added optional argument for default executable 2011-04-26 07:45:16 -07:00
Kris Wallsmith
e726cdd917 changed some skipped tests to incomplete 2011-04-26 07:22:22 -07:00
Fabien Potencier
4bef9995c6 fixed typo 2011-04-26 16:02:24 +02:00
Fabien Potencier
f29ddad5ba removed unused file 2011-04-26 15:38:09 +02:00
Fabien Potencier
0ac679e73c Merge remote branch 'markchalloner/master'
* markchalloner/master:
  [Validator] Updated ContraintViolationList ArrayAccess setter to check equivalence to null instead of using is_null
  Implemented ArrayAccess interface
2011-04-26 15:34:47 +02:00
Fabien Potencier
e2741cefc4 [Process] changed ExecutableFinder to return false instead of throwing an exception when the executable is not found
I've made the change as the executable goal is to find the executable. The fact that it does not find it is
part of the contract and it is not exceptional.
2011-04-26 15:18:24 +02:00
Fabien Potencier
f12146d0ec Merge remote branch 'schmittjoh/process'
* schmittjoh/process:
  [Process] use component exception
  [Process][Assetic] refactored some code to allow for better executable defaults
2011-04-26 15:01:29 +02:00
Fabien Potencier
e45d5fa857 merged vicb:template-factorization 2011-04-26 14:38:47 +02:00
Fabien Potencier
fe03671c2c Merge remote branch 'vicb/cast-array'
* vicb/cast-array:
  Make casting scalar to array consistent
2011-04-26 14:32:53 +02:00
Fabien Potencier
fc2c1578ac Merge remote branch 'kriswallsmith/assetic/twig-functions'
* kriswallsmith/assetic/twig-functions:
  [AsseticBundle] added a listener to add common image request formats when use_controller is on
  [AsseticBundle] added a node visitor to wrap runtime filter functions with runtime use_controller check
  [AsseticBundle] added support for Twig functions
2011-04-26 14:31:16 +02:00
Fabien Potencier
98e70f0963 [Routing] Route collection prefixes must start with a / and must not end with a / 2011-04-26 14:27:55 +02:00
Fabien Potencier
b80bb9c7ab [DoctrineBundle] removed doctrine.dbal.types parameter 2011-04-26 13:41:07 +02:00
Fabien Potencier
dead820d77 Merge remote branch 'xmontana/master'
* xmontana/master:
  Validator messages: added Catalan translation
2011-04-26 12:39:41 +02:00
Fabien Potencier
175f944f93 [DependencyInjection] added NonExistentParameterException that indicates where a non-existent parameter is being used 2011-04-26 12:36:25 +02:00
Fabien Potencier
e68f8f40b9 [DoctrineBundle] renamed DIC class parameters (they end with .class instead of _class to follow the convention of other bundles) 2011-04-26 12:22:22 +02:00
Victor Berchet
f83e92bf44 Make casting scalar to array consistent 2011-04-26 12:16:35 +02:00
Xmontana
dacfa633f6 Validator messages: added Catalan translation 2011-04-26 11:56:55 +02:00
Fabien Potencier
647efcffda Merge remote branch 'lsmith77/default_false'
* lsmith77/default_false:
  cosmetic tweak (use defaultFalse() instead of defaultValue(false))
2011-04-26 10:02:40 +02:00
Fabien Potencier
fefee0d5e5 [Routing] fixed URL generation when an optional variable value is 0 2011-04-26 09:50:57 +02:00
Lukas Kahwe Smith
dbdf4ad750 cosmetic tweak (use defaultFalse() instead of defaultValue(false)) 2011-04-26 09:50:41 +02:00
Kris Wallsmith
f9c300e8db [AsseticBundle] added a listener to add common image request formats when use_controller is on 2011-04-26 00:05:35 -07:00
Fabien Potencier
035afc1f4e [Routing] fixed regression in Routing matching algorithm 2011-04-26 09:01:25 +02:00
Kris Wallsmith
a005796d3b [AsseticBundle] added a node visitor to wrap runtime filter functions with runtime use_controller check 2011-04-25 23:46:01 -07:00
Fabien Potencier
ee89163858 Merge remote branch 'mweimerskirch/validators_translations'
* mweimerskirch/validators_translations:
  [FrameworkBundle] Validator messages: added German translation
  [FrameworkBundle] Validator messages: added Luxembourgish translation
2011-04-26 07:11:29 +02:00
Fabien Potencier
0493b669f7 Merge remote branch 'udat/110425-fixes'
* udat/110425-fixes:
  [Bridge][Twig] removed unused argument passed to setRendered() method
  [Translation] removed unnecessary default parameter value
  [Templating] removed unused argument passed to setRendered() method
  [HttpKernel] removed unused argument passed to ClosureLoader constructor
  [BrowserKit] fixed typo
  [Routing] removed redundant parameter in addRoute method
2011-04-26 07:11:07 +02:00
Fabien Potencier
cafcf08481 Merge remote branch 'francisbesset/french_validators_messages'
* francisbesset/french_validators_messages:
  [FrameworkBundle] Fixed french validators messages
2011-04-26 07:09:16 +02:00
Fabien Potencier
3cd0a4d2d2 [ClassLoader] fixed CS 2011-04-26 07:07:52 +02:00
Dustin Whittle
f86bab78ff [Classloader] Fixed tests teardown when apc is not available 2011-04-25 16:12:36 -07:00
Michel Weimerskirch
246ad1b03f [FrameworkBundle] Validator messages: added German translation 2011-04-25 23:14:50 +02:00
Michel Weimerskirch
45dd5f33ed [FrameworkBundle] Validator messages: added Luxembourgish translation 2011-04-25 23:13:04 +02:00