Commit Graph

9551 Commits

Author SHA1 Message Date
Florin Patan
e1cf54c24b Small fixes for the WDT 2012-04-22 14:17:46 +03:00
Fabien Potencier
5690430587 merged branch pulzarraider/changelog_redis_profiler_storage (PR #4060)
Commits
-------

1630614 Update changelog - Redis profiler storage

Discussion
----------

Changelog update - Redis profiler storage
2012-04-22 10:23:12 +02:00
Andrej Hudec
16306141ee Update changelog - Redis profiler storage 2012-04-22 09:57:08 +02:00
Fabien Potencier
b9e6bbe21e merged branch weaverryan/remove_security_factories (PR #4058)
Commits
-------

a9d8197 Removing the security_factories.xml file - not needed after sha: 413756c103

Discussion
----------

Removing the security_factories.xml file - not needed after sha: 413756c...

Hi guys!

This is just a left-over file. See sha: 413756c103

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes

Thanks!
2012-04-22 08:59:54 +02:00
Ryan Weaver
a9d8197d21 Removing the security_factories.xml file - not needed after sha: 413756c103 2012-04-21 17:16:58 -05:00
Fabien Potencier
18e5482a1a merged branch hhamon/request_getport_cleanup (PR #4052)
Commits
-------

6dddb6b [HttpFoundation] removed useless else clause in Request::getPort() method.

Discussion
----------

Request getport cleanup

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
2012-04-21 14:11:03 +02:00
Hugo Hamon
6dddb6b850 [HttpFoundation] removed useless else clause in Request::getPort() method. 2012-04-21 13:27:44 +02:00
Fabien Potencier
03ad8c932d merged branch jalliot/pdo_tests (PR #4051)
Commits
-------

e509e6f Skip PDOSessionHandlerTest if PDO SQLite is not available

Discussion
----------

Skip PDOSessionHandlerTest if PDO SQLite is not available
2012-04-21 12:54:01 +02:00
Fabien Potencier
514f822b00 merged branch jalliot/patch-3 (PR #4044)
Commits
-------

128ac26 Added missing '%' in DI component README

Discussion
----------

Added missing '%' in DI component README

---------------------------------------------------------------------------

by ruian at 2012-04-21T10:37:12Z

@fabpot PR ok
2012-04-21 12:53:38 +02:00
Fabien Potencier
e755a46599 merged branch bamarni/master (PR #4050)
Commits
-------

4a9a9d6 fixed typo
167597c removed unused use statement

Discussion
----------

typo fixes

---------------------------------------------------------------------------

by ruian at 2012-04-21T10:24:04Z

@fabpot this one is Ok just some typos and a useless Namespace using
2012-04-21 12:52:50 +02:00
Jordan Alliot
e509e6ffd1 Skip PDOSessionHandlerTest if PDO SQLite is not available 2012-04-21 12:28:57 +02:00
Bilal Amarni
4a9a9d6eb8 fixed typo 2012-04-21 11:25:22 +02:00
Bilal Amarni
167597c0bd removed unused use statement 2012-04-21 11:24:50 +02:00
Markus Bachmann
40df3bf86f Add mongodb session storage
Some changes based on @stof and @stloyd suggestions

Some changes based on @vicb suggestions

Some changes based on @vicb suggestions

Add changes
2012-04-20 19:19:55 +02:00
Jordan Alliot
128ac26334 Added missing '%' in DI component README 2012-04-20 18:51:25 +03:00
Fabien Potencier
6c714095fa merged branch ruimarinho/profiler_ie7 (PR #4032)
Commits
-------

ffc074b [Profiler] Fixed IE7 JavaScript errors

Discussion
----------

[Profiler] Fixed IE7 JavaScript errors

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes

Requires merge of another [PR](https://github.com/doctrine/DoctrineBundle/pull/61) available on the `doctrine/DoctrineBundle` repository (compatibility changes to `db.html.twig`).

---------------------------------------------------------------------------

by fabpot at 2012-04-20T14:15:22Z

That does not work for me.
2012-04-20 17:01:54 +02:00
Rui Marinho
ffc074be54 [Profiler] Fixed IE7 JavaScript errors 2012-04-20 15:51:44 +01:00
Fabien Potencier
14b3b05866 [TwigBundle] added missing entry in the XSD schema 2012-04-20 16:29:04 +02:00
Fabien Potencier
ae6ccfa94b fixed typo 2012-04-20 16:24:24 +02:00
Fabien Potencier
3b94eeac1e merged branch gimler/patch-1 (PR #4040)
Commits
-------

1137670 add resource links for the console component

Discussion
----------

add resource links for the console component
2012-04-20 16:24:04 +02:00
Fabien Potencier
9514d2baab merged branch vicb/transaltion_monitor (PR #4036)
Commits
-------

7ddc8cb [FrameworkBundle] Monitor added/removed translations files in dev (fix #3653)

Discussion
----------

[FrameworkBundle] Monitor added/removed translations files in dev

fix #3653

---------------------------------------------------------------------------

by Koc at 2012-04-20T14:09:55Z

maybe you also can fix #971 ?
2012-04-20 16:22:07 +02:00
Fabien Potencier
969db5c121 merged branch willdurand/propel-security-typo (PR #4041)
Commits
-------

dbe980b [Propel1] Fixed typo

Discussion
----------

[Propel1] Fixed typo

Sorry for that..
2012-04-20 16:18:03 +02:00
Fabien Potencier
76a42c89ba merged branch vicb/translation/override (PR #4030)
Commits
-------

3937561 [FrameworkBundle] Look for translations in %kernel.root_dir%/Resources/%bundle%/translations (fix #4018)

Discussion
----------

[FrameworkBundle] Look for translations in %kernel.root_dir%/Resources/%...

...bundle%/translations (fix #4018)

I will submit a PR to the docs.
2012-04-20 16:17:14 +02:00
William DURAND
dbe980bfdc [Propel1] Fixed typo 2012-04-20 16:15:59 +02:00
Fabien Potencier
2c5398e87f merged branch tonypiper/ignore-composer-phar (PR #4034)
Commits
-------

a72d7ef ignore composer.phar
ddca4bb Update CHANGELOG-2.1.md

Discussion
----------

[Global] ignore composer.phar

for running unit tests the external dependencies are managed using composer (since aa055dfd98), so it's necessary to download composer.phar to install them. We don't want composer.phar to be comitted to the codebase so it's necessary to ignore it.

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

---------------------------------------------------------------------------

by Seldaek at 2012-04-20T13:19:29Z

I agree it should be ignored, but you also probably should install it somewhere globally on your machine and put that in the PATH so you have it everywhere and don't need 300 copies of it. Incidentally it would also not require you to gitignore it since it would be outside of the git dirs.

---------------------------------------------------------------------------

by tonypiper at 2012-04-20T13:24:56Z

I was going to revise the documentation for running tests and your approach would, of course, be best but I thought a belt-and-braces approach wouldn't hurt...
2012-04-20 16:07:38 +02:00
Victor Berchet
7ddc8cbb9c [FrameworkBundle] Monitor added/removed translations files in dev (fix #3653) 2012-04-20 16:06:46 +02:00
Fabien Potencier
11b2d6b5fc merged branch willdurand/propel-security (PR #4038)
Commits
-------

01ca0ad [Propel1] Added security layer

Discussion
----------

[Propel1] Added security layer

Fixed the security layer for Propel 1.6, and Symfony2 2.1.

The PropelBundle is ready to go: https://github.com/propelorm/PropelBundle/pull/139
Unit tests are part of the PropelBundle at the moment, as it requires to setup a quick builder.
2012-04-20 16:01:44 +02:00
Gordon Franke
1137670bfa add resource links for the console component 2012-04-20 16:59:51 +03:00
William DURAND
01ca0ad35d [Propel1] Added security layer 2012-04-20 15:23:01 +02:00
Tony Piper
a72d7ef8f6 ignore composer.phar
for running unit tests the external dependencies are now managed using composer, so it's necessary to download compmoser.phar to install them.
2012-04-20 14:10:06 +01:00
Drak
ddca4bbdac Update CHANGELOG-2.1.md 2012-04-20 18:07:41 +05:45
Fabien Potencier
736886688f merged branch vicb/finder/regex (PR #4028)
Commits
-------

f728463 [Finder] Fixes in the iterators

Discussion
----------

[Finder] Fixes in the iterators

fix: #4023
ref: #4011

- Fix regex detection
- call `file_get_contents()` only once (vs once per pattern)

[![Build Status](https://secure.travis-ci.org/vicb/symfony.png?branch=finder/regex)](http://travis-ci.org/vicb/symfony)

@gajdaw thoughts ?
2012-04-20 14:18:46 +02:00
Victor Berchet
3937561b20 [FrameworkBundle] Look for translations in %kernel.root_dir%/Resources/%bundle%/translations (fix #4018) 2012-04-20 14:17:18 +02:00
Fabien Potencier
cdca62559d merged branch jfsimon/issue-3896 (PR #4029)
Commits
-------

686653a [HttpKernel] Fixed wache vary write (fixes #3896).

Discussion
----------

[HttpKernel] Fixed cache vary write (fixes #3896).

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #3896

Same as https://github.com/symfony/symfony/pull/4001, but for write method.
2012-04-20 14:03:12 +02:00
jeanfrancois.simon
686653ae3c [HttpKernel] Fixed wache vary write (fixes #3896). 2012-04-20 13:29:15 +02:00
Victor Berchet
f72846305e [Finder] Fixes in the iterators 2012-04-20 12:38:15 +02:00
Fabien Potencier
2c61966daa [Yaml] fixed a test when iconv is not installed 2012-04-20 12:33:18 +02:00
Fabien Potencier
539634cbaa merged 2.0 2012-04-20 12:18:51 +02:00
Fabien Potencier
5f9817167e merged branch drak/genericevent (PR #3784)
Commits
-------

70a6de9 [EventDispatcher] Remove data property
4ff92b9 [EventDispatcher] Added generic event class.

Discussion
----------

[EventDispatcher] Added generic event class.

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

Provides a ready to go all purpose event object.

---------------------------------------------------------------------------

by Koc at 2012-04-04T17:53:41Z

What use case of this?

---------------------------------------------------------------------------

by drak at 2012-04-04T17:57:46Z

It generically fits observer pattern use for those who do not want to make a specific event class for each and every little thing.  This is akin to EventArgs + a subject.

---------------------------------------------------------------------------

by fabpot at 2012-04-20T07:55:05Z

This is basically what we had in symfony 1.x.

Some comments:

 * I would remove the `data` as it makes things more complex and more difficult to understand (as arguments is an array, you can put your data there too);
 * I would use the standard `set`, `get`, `all`, ... methods for the `arguments` related methods

---------------------------------------------------------------------------

by drak at 2012-04-20T08:11:31Z

OK, I'll rework the class.  Thank you for your consideration.

---------------------------------------------------------------------------

by drak at 2012-04-20T08:56:53Z

@fabpot - I did some work on the class, but it seemed strange to not use get/setArgument because there is another property, the subject. This is mentioned in the conventions guide:

```
For many relations where the convention does not apply, the following methods must be used instead (where XXX is the name of the related thing):
```

If you still want me to change it, let me know.
2012-04-20 11:33:59 +02:00
Drak
70a6de9896 [EventDispatcher] Remove data property 2012-04-20 14:49:32 +05:45
Drak
4ff92b93ce [EventDispatcher] Added generic event class. 2012-04-20 14:49:22 +05:45
Fabien Potencier
f8407dd2cc merged branch willdurand/propel-autoload (PR #4025)
Commits
-------

496878c [Propel1] Removed useless require in autoload.php.dist

Discussion
----------

[Propel1] Removed useless require in autoload.php.dist

Since we have Composer, and a classmap, no need to trigger the Propel's autoloader
2012-04-20 10:00:20 +02:00
William DURAND
496878cf2d [Propel1] Removed useless require in autoload.php.dist
Since we have Composer, and a classmap, no need to trigger the Propel's autoloader
2012-04-20 09:46:34 +02:00
Fabien Potencier
9d22eb6007 merged branch willdurand/propel-transformer (PR #4024)
Commits
-------

9447b84 [Propel1] Allowed PropelObjectCollection only in CollectionToArrayTransformer
e43d0fa reverse transform into PropelObjectCollection

Discussion
----------

Propel transformer

Prefer this PR over #3966
2012-04-20 09:39:45 +02:00
William DURAND
9447b84acb [Propel1] Allowed PropelObjectCollection only in CollectionToArrayTransformer 2012-04-20 09:32:01 +02:00
Toni Uebernickel
e43d0fa0fd reverse transform into PropelObjectCollection 2012-04-20 09:28:12 +02:00
Fabien Potencier
56a4ab7903 made some private protected as many users needs to override the default implementation anyway (closes #3942) 2012-04-20 09:20:31 +02:00
Fabien Potencier
2786f21822 fixed CS 2012-04-20 09:05:48 +02:00
Fabien Potencier
74cc38004b merged branch gajdaw/finder_search_by_contents (PR #4011)
Commits
-------

218813c [Finder] contains(), notContains()
33e119a Merge branch 'master' of https://github.com/symfony/symfony into finder_search_by_contents
082d86e [Finder] content(), notContent() methods

Discussion
----------

[Finder] search by contents

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -

Sometimes I need to search for files containing some text:

```
$finder
    ->content('lorem')->notContent('ipsum')
    ->content('/^Begining/m')->notContent('/the end$/m');
```

I don't know how to tests exceptions thrown by `file_get_contents()` calls.

---------------------------------------------------------------------------

by gajdaw at 2012-04-19T15:53:05Z

To keep it as close as possible to `name` and `notName`.
2012-04-20 09:04:33 +02:00
Fabien Potencier
3e2b39dd21 merged branch michal-pipa/symlink-fix (PR #4012)
Commits
-------

94bee7a [Filesystem] symlink() creates target directories

Discussion
----------

[Filesystem] symlink() creates target directories

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes [![Build Status](https://secure.travis-ci.org/michal-pipa/symfony.png?branch=symlink-fix)](http://travis-ci.org/michal-pipa/symfony)
Fixes the following tickets: #3967
Todo: -

Changed symlink() method behavior to recursively create target directory if it does not exist. It makes Filesystem component methods more consistent since copy() does the same. It is also more convenient.

Also mirror() fails to create symlink in non-existent directory (if we don't want to change symlink(), than we need to fix mirror()).

Fixes: #3967
2012-04-20 08:50:33 +02:00