Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.
/ symfony1 Public archive

Commit f3ac67c

Browse files
committed
RELEASE_1_4_0 => v1.4.0 commit
1 parent 551c824 commit f3ac67c

File tree

2,519 files changed

+326804
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,519 files changed

+326804
-0
lines changed

CHANGELOG

+138
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
12/01/09: Version 1.4.0
2+
-----------------------
3+
4+
* [24637] fixed inconsistent case in doctrine crud (closes #7698, refs #5640)
5+
* [24634] Catching Doctrine validation exceptions so you don't get internal server errors in admin generator if you use Doctrine validation
6+
* [24632] Fixes issue with magic setters/getters for a field with a underscore and number at the end (closes #6860)
7+
* [24628] updated date validator to ignore date_format option if tainted value is an array (closes #7753, #7702)
8+
* [24625] updated doctrine:dql task to render NULL for null values when in table mode (closes #7680)
9+
* [24624] fixed warning with sfValidatorDate.class when a non string option was passed to it (fixes #7753, #7702)
10+
* [24622] allowed `__()` and `sfI18N->__()` and `sfMessageFormat->format()` to take an object with a `__toString()` method. Test case for 1.2,1.3 and 1.4 (fixes #7559, #6763, refs #2161)
11+
* [24621] fixed column name used when generating propel route collections (refs #5572, #6773)
12+
* [24620] fixed module option being ignored in *:generate-admin task (closes #5572, #6773)
13+
* [24619] fixed incorrect array access of lastModified header which only was an array pre 1.0. This was effectively preventing 304 Not Modified response from working correctly. Fixed phpdoc referring to array as return type of getHttpHeader() (fixes #6633, #7539)
14+
* [24618] Removing sfDoctrineRecordListener class which is not used (closes #7265)
15+
* [24617] Fixes issue with base model classes not having tokens replaced from properties.ini (closes #7656)
16+
* [24615] updated page and action caching to consider GET parameters (closes #4708)
17+
* [24607] no longer adding duplicate entries in sfMemcacheCache.class metadata cache when key is already existing (fixes #7602)
18+
* [24606] Fixing sfDoctrineRecord::__call() so proper exception is thrown (closes #7212)
19+
* [24605] refactored sfWidgetFormDate.class to allow easier extension and tests, as well as being easier to read (closes #7699)
20+
* [24604] Fix issue where local is an array (closes #6820)
21+
* [24598] Fixes issue with attributes in databases.yml (closes #6884)
22+
* [24597] fixed casting of propel i18n objects to string (closes #7709)
23+
* [24593] removed old lazy_cache_key setting from generator (closes #7720)
24+
* [24591] added requirements to DELETE action of sfObjectRouteCollection.class.php (fixes #7634)
25+
* [24590] fixed obtaining error from mysqli session storage (fixes #7737)
26+
* [24537] decoupled relation name from form field name when calling embedRelation(), allowed embedding of type "one" relations
27+
* [24532] updated spanish and basque translation of admin generator (fixes #7735 thanks Javier.Eguiluz)
28+
* [24531] fixed sfPager::count() implementation (it is more useful to return the total number of items, closes #7651)
29+
* [24524] fixed regression when cleaning a date string that includes a timezone in new `DateTime` implementation, added appropriate regression test to 1.2
30+
* [24514] improved vary cache generation. added unit test (refs #7605)
31+
* [24513] fixed vary cache key again (fixes #7605)
32+
* [24511] correctly closing output buffering in case of exceptions while requiring a file in sfPHPView (fixes #7596)
33+
* [24498] fixed getObjectsForParameters() failing on second invocation on sfDoctrineRoute.class.php (fixes #7716)
34+
* [24496] added missing where condition on culture to SfPropelBehaviorI18n (fixes #7713)
35+
* [24470] added a project:validate task that validates the project against the deprecated stuff
36+
* [24396] reset the mb_internal_encoding in case it was changed in text helpers. added basic unit test for that (fixes #7641)
37+
* [24395] updated upgrade task to specify a class for the common filter since it's no longer specified in the core (closes #7156, #7536)
38+
* [24390] removed call to deprecated sh() method
39+
* [24341] fixed fatal error in doctrine build/drop db tasks when no application exists (closes #7686, refs #7633)
40+
* [24339] optimized unshift of i18n filter to doctrine tables. big performance boost if you're working with many doctrine i18n records from the same table (closes #7392)
41+
* [24331] updated log:rotate to explicitly sort files by name and use filesystem methods when possible (closes #7683)
42+
43+
11/23/09: Version 1.4.0 RC2
44+
---------------------------
45+
46+
* [24295] removed deprecated `sfDoctrinePlugin_doctrine_lib_path` setting - use `sf_doctrine_dir` instead
47+
* [24294] Fixing issue with generators not respecting options of the parent who generated it (fixes #7639)
48+
* [24293] added missing API for getting Parameters of an sfRoute instance (closes #7632)
49+
* [24292] reverted the removal of the common filter when upgrading due to backward compatibility concerns. filter is still omitted for new projects (closes #7678)
50+
* [24288] fixed defaulting to first app when running a task with a project configuration already set (closes #7633, refs #5835)
51+
* [24281] added back the common filter to ease upgrading existing website (the default is still the same though) (refs #7657)
52+
* [24279] added missing PHPDoc (closes #7672)
53+
* [24278] added getOptions method to sfForm (closes #7613)
54+
* [24277] made exception messages more helpful (closes #7627)
55+
* [24275] added references to the reference guide in generated configuration files
56+
* [24271] updated token replacement in doctrine-generated model classes to disallow recursion into directories
57+
* [24270] updated token replacement in doctrine-generated model classes to allow recursion into plugin and base directories
58+
* [24265] fixed doc comments (closes #7664, #7666)
59+
* [24217] fixed embedded forms in functional tests (closes #7653)
60+
* [24215] fixed missing actions_base_class for Doctrine Generator (closes #7655, refs #5995)
61+
* [24150] enhanced doctrine:dql task to accept query parameters and render how long a query took
62+
* [24148] fixed forcing of colors in test:coverage task
63+
* [24137] fixed invalid id attributes generation in sfWidgetForm (closes #6980, based on a patch from Leon.van.der.Ree)
64+
* [24134] reverted yaml style (closes #7624)
65+
* [24132] fixed sfWidgetFormInputFileEditable (closes #7621)
66+
* [24130] fixed typo in propel I18N behavior
67+
* [24094] updated czech admin generator translation (fixes #7610, thanks to Pavel.Campr)
68+
* [24093] updated greek admin generator translation (fixes #7608, thanks to Zapantis Antreas)
69+
* [24092] updated polish admin generator translation (fixes #7608, thanks to m)
70+
* [24091] updated italian admin generator translation (fixes #7606, thanks to alexodus71)
71+
72+
11/16/09: Version 1.4.0 RC1
73+
---------------------------
74+
75+
* [24071] added script to help with formatting Subversion log for CHANGELOG
76+
* [24069] cleaned up template paths shown in WDT view panel
77+
* [24068] added check for generate*Filename method on form object to handle naming uploading files (closes #7350)
78+
* [24063] cleaned up generator templates (closes #7600)
79+
* [24062] fixed issue with autoloading not correctly sorted in windows (fixes #7226)
80+
* [24061] removed unneeded calls to setDefaultParameters by checking for a dirty flag.
81+
* [24060] added database arguments to doctrine create and drop database tasks (closes #7351)
82+
* [24056] reverted r23117 (refs #7363, closes #7456)
83+
* [24051] made all generated base classes abstract (closes #7301)
84+
* [24048] switched lime to new version 1.0.8
85+
* [24045] renamed listCredentials() as getCredentials(), removed the former in 1.4 (closes #7443)
86+
* [24043] added generic accessor for security.yml values
87+
* [24037] deprecated loading of helpers from the include path
88+
* [24036] fixed a bug with the / route that was made visible by r24026 (fixes #7597)
89+
* [24033] removed unnecessary call to sfConfig
90+
* [24032] moved project:optimize cache from project to application configuration
91+
* [24027] changed components dependencies to use the 1.0 branch
92+
* [24021] added short circuit checking for a static route prefix. Improves performance with many routes by up to 25%
93+
* [24020] added loadHelpers to project:optimize (closes #4556)
94+
* [24018] fixed command.* events not firing from generate:app task
95+
* [24015] Static texts in native widgets are translated by default (fixes #7590, patch by FabienP)
96+
* [24013] updated functional test bootstrap so fixture cache is always cleared before the context is created
97+
* [24012] Options within optgroups are translated correctly, optgroup labels are translated as well (fixes #7591)
98+
* [24008] ported r23909 to Propel 1.4 I18N behavior
99+
* [24007] removed unnecessary calls to sfConfig, cleaned up shortening of paths used in exception messages
100+
* [23995] reduced size of serialized sfRoute slightly due to the fact that defaultParameters will be always reset and compiled will be always true
101+
* [23994] Moved get/setParent() from sfWidgetFormSchema to sfWidgetForm. The choices of all select/choice widgets are now translated by default (fixes #5886)
102+
* [23993] removed obsolete setDefaultParameter code in routing
103+
* [23984] not setting status header for servers in cgi-sapi mode (fixes #3191)
104+
* [23977] fixed image saving for Doctrine
105+
* [23968] fixed i18n functional test not using deprectated redirect checking
106+
* [23967] corrected problem with validation when i18n is used. i18n should not be taken into account when the object is new (fixes #7486, patch by Dejan.Spasic)
107+
* [23954] updated phpdoc to reflect the actual possibilities for redirect parameters (refs #6082)
108+
* [23953] made empty redirect check faster and type tolerant (fixes #6082)
109+
* [23951] fixed file validator on certain mac os configurations (closes #6641)
110+
* [23950] fixed doctrine modules when dealing with multiple primary keys (closes #7571)
111+
* [23948] improved searching for symfony script file on windows (closes #6914)
112+
* [23930] fixed defaults for singular and plural name for generate crud tasks in case none are specified (refs #5640)
113+
* [23927] added a new option to change the generator class for forms and filters (closes #5014, patch from joostdj)
114+
* [23925] fixed sfMemcacheCache delete() operation (closes #6220)
115+
* [23924] fixed defaults for singular and plural name for generate crud tasks in case none are specified (refs #5640)
116+
* [23923] changed the routing handler cache file so that it consumes less memory
117+
* [23919] made crud generator respect singular and plural name (fixes #5640, patch by Dejan.Spasic)
118+
* [23917] Added sfFormField and sfFormFieldSchema to the safe classes in sfView. Widgets are always expected to be escaped by the developers! (fixes #7560, patch by nicolas)
119+
* [23915] added unit test for sfSessionStorage (closes #7585, patch by Rubino)
120+
* [23911] improved sfApplicationConfiguration getXYZDir caching when not using the project optimize task, by lazy caching (fixes #6413)
121+
* [23910] changed CLI tests to use the new admin generator instead of the old one
122+
* [23909] updated SfObjectBuilder so that Propel objects do not query the I18N table when they are new (fixes #7513, patch by joostdj)
123+
* [23907] improved sfApplicationConfiguration getXYZDir caching when not using the project optimize task, by lazy caching (fixes #6413)
124+
* [23901] The last exception is reset on every new page call in functional tests (fixes #6342, patch by Stefan.Koopmanschap)
125+
* [23900] Default fields are created for %%variables%% in the title of the edit, list and new action, if possible. Closes #7578
126+
* [23897] updated sfProtoculous javascript externals
127+
* [23896] switched phing external to 2.3.3 tag instead of its revision in the trunk
128+
* [23892] added Countable and Iterator interface to DOM CSS selector
129+
* [23888] reporting error on empty url for sfWebController#redirect (fixes #6082, patch by ThijsFeryn )
130+
* [23887] fixed Phing autoloading in upgrade task (fixes #7577, patch by Stefan.Koopmanschap)
131+
* [23882] sfI18N now correctly rejects invalid dates when using a culture that has the dot as separator, and correctly respects am/pm markers (fixes #7582)
132+
* [23852] fixed assumption in propel upgrade (closes #7577)
133+
* [23849] removed reference to removed file (closes #7563)
134+
* [23822] fixed loading of application-less plugin autoloader when multiple plugins are enabled
135+
* [23810] set svn:eol-style property to native and svn:keywords property to Id on all .php files
136+
* [23799] removed need for runtime insertion of lowercase module name into *_module_config.yml.php files. The module name is already inserted correctly by the sfDefineEnvironmentConfigHandler. This improves especially performance for projects with some more entries in module/config/module.yml (fixes #2105)
137+
* [23763] added some configuration to the project:send-emails task (number of messages and time limit)
138+
* [23762] updated Swift Mailer to the latest 4.1 version

COPYRIGHT

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
COPYRIGHTS
2+
==========
3+
4+
symfony
5+
-------
6+
7+
symfony is originally based on Mojavi3 by Sean Kerr <[email protected]>
8+
9+
Url: http://www.symfony-project.com/
10+
Copyright: Fabien Potencier
11+
License: MIT - see LICENSE file
12+
13+
International Components for Unicode
14+
------------------------------------
15+
16+
symfony contains a port of parts of the International Components for Unicode library
17+
18+
Url: http://www.ibm.com/software/globalization/icu/, http://icu.sourceforge.net/
19+
Copyright: 1995-2006 International Business Machines Corporation and others.
20+
License: ICU License - see licenses/LICENSE.ICU file
21+
22+
Prado i18n classes
23+
------------------
24+
25+
symfony contains the Prado i18n core classes
26+
27+
Url: http://www.pradosoft.com/
28+
Copyright: 2004-2006, The PRADO Group
29+
License: BSD - see licenses/LICENSE.prado file
30+
31+
lime
32+
----
33+
34+
symfony uses the lime software
35+
36+
Url: http://www.symfony-project.com/
37+
Copyright: Fabien Potencier
38+
License: MIT - see licenses/LICENSE.lime file
39+
40+
SwiftMailer
41+
-----------
42+
43+
symfony uses the SwiftMailer library
44+
45+
Url: http://www.swiftmailer.org/
46+
Copyright: Chris Corbyn
47+
License: LGPL - see licenses/LICENSE.swiftmailer

LICENSE

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2004-2010 Fabien Potencier
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is furnished
8+
to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Symfony is a complete framework designed to optimize the development of web applications by way of several key features.
2+
For starters, it separates a web application's business rules, server logic, and presentation views.
3+
It contains numerous tools and classes aimed at shortening the development time of a complex web application.
4+
Additionally, it automates common tasks so that the developer can focus entirely on the specifics of an application.
5+
The end result of these advantages means there is no need to reinvent the wheel every time a new web application is built!
6+
7+
Symfony was written entirely in PHP 5.
8+
It has been thoroughly tested in various real-world projects, and is actually in use for high-demand e-business websites.
9+
It is compatible with most of the available databases engines, including MySQL, PostgreSQL, Oracle, and Microsoft SQL Server.
10+
It runs on *nix and Windows platforms.
11+
12+
LICENSE
13+
-------
14+
15+
see LICENSE file
16+
17+
INSTALLATION
18+
------------
19+
20+
see doc/03-Running-Symfony.txt

data/bin/changelog.php

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the symfony package.
5+
* (c) Fabien Potencier <[email protected]>
6+
*
7+
* For the full copyright and license information, please view the LICENSE
8+
* file that was distributed with this source code.
9+
*/
10+
11+
/**
12+
* Outputs formatted Subversion log entries.
13+
*
14+
* Usage: php data/bin/changelog.php -r12345:67890 /branches/1.3
15+
*
16+
* @package symfony
17+
* @author Fabien Potencier <[email protected]>
18+
* @version SVN: $Id: changelog.php 24071 2009-11-17 07:36:21Z Kris.Wallsmith $
19+
*/
20+
require_once dirname(__FILE__).'/../../lib/task/sfFilesystem.class.php';
21+
22+
if (!isset($argv[1]))
23+
{
24+
throw new Exception('You must provide a revision range (-r123:456)');
25+
}
26+
27+
if (!isset($argv[2]))
28+
{
29+
throw new Exception('You must provide a repository path (/branches/1.3)');
30+
}
31+
32+
$filesystem = new sfFilesystem();
33+
34+
list($out, $err) = $filesystem->execute('svn info --xml');
35+
$info = new SimpleXMLElement($out);
36+
37+
list($out, $err) = $filesystem->execute(vsprintf('svn log %s --xml %s', array_map('escapeshellarg', array(
38+
$argv[1],
39+
(string) $info->entry->repository->root.$argv[2],
40+
))));
41+
$log = new SimpleXMLElement($out);
42+
43+
foreach ($log->logentry as $logentry)
44+
{
45+
echo sprintf(' * [%d] %s', $logentry['revision'], trim(preg_replace('/\s*\[[\d\., ]+\]\s*/', '', (string) $logentry->msg)));
46+
echo PHP_EOL;
47+
}

0 commit comments

Comments
 (0)