Skip to content
Browse files

Added functionalities for ordering priorities and statuses, adding st…

…atus type to statuses.
  • Loading branch information...
1 parent 516c4f4 commit fca1b0056691233a4634aaffadd440a9221b8521 Filippo (p16) De Santis committed
Showing with 11,398 additions and 12 deletions.
  1. +3 −1 .gitignore
  2. +36 −3 apps/fe/config/app.yml
  3. 0 apps/fe/config/cache.yml
  4. +12 −0 apps/fe/config/factories.yml
  5. 0 apps/fe/config/feConfiguration.class.php
  6. 0 apps/fe/config/filters.yml
  7. 0 apps/fe/config/routing.yml
  8. 0 apps/fe/config/security.yml
  9. +24 −0 apps/fe/config/settings.yml
  10. +1 −1 apps/fe/config/view.yml
  11. 0 apps/fe/modules/sfGuardGroup/actions/components.class.php
  12. 0 apps/fe/modules/sfGuardGroup/config/view.yml
  13. 0 apps/fe/modules/sfGuardGroup/templates/_sidebar.php
  14. 0 apps/fe/modules/sfGuardGroup/templates/editSuccess.php
  15. 0 apps/fe/modules/sfGuardGroup/templates/newSuccess.php
  16. 0 apps/fe/modules/sfGuardPermission/actions/components.class.php
  17. 0 apps/fe/modules/sfGuardPermission/config/view.yml
  18. 0 apps/fe/modules/sfGuardPermission/templates/_sidebar.php
  19. 0 apps/fe/modules/sfGuardPermission/templates/editSuccess.php
  20. 0 apps/fe/modules/sfGuardPermission/templates/newSuccess.php
  21. 0 apps/fe/modules/sfGuardUser/actions/components.class.php
  22. 0 apps/fe/modules/sfGuardUser/config/generator.yml
  23. 0 apps/fe/modules/sfGuardUser/config/view.yml
  24. 0 apps/fe/modules/sfGuardUser/templates/_sidebar.php
  25. 0 apps/fe/modules/sfGuardUser/templates/newSuccess.php
  26. 0 apps/fe/templates/_main_navigation.php
  27. +4 −2 config/ProjectConfiguration.class.php
  28. +14 −4 config/databases.yml
  29. +22 −1 config/properties.ini
  30. +17 −0 config/rsync_demo_exclude.txt
  31. +3 −0 config/rsync_exclude.txt
  32. +10 −0 config/rsync_gtihub_exclude.txt
  33. +17 −0 config/rsync_phpcollabdev_exclude.txt
  34. 0 config/vhost.sample
  35. +14 −0 lib/migration/doctrine/001_fe.class.php
  36. +76 −0 lib/migration/doctrine/002_add_status_type_status_popsition_priority_position.class.php
  37. +700 −0 lib/vendor/symfony/CHANGELOG
  38. +73 −0 lib/vendor/symfony/COPYRIGHT
  39. +19 −0 lib/vendor/symfony/LICENSE
  40. +20 −0 lib/vendor/symfony/README
  41. +688 −0 lib/vendor/symfony/UPGRADE_TO_1_1
  42. +812 −0 lib/vendor/symfony/UPGRADE_TO_1_2
  43. +100 −0 lib/vendor/symfony/data/bin/SANDBOX_README
  44. +105 −0 lib/vendor/symfony/data/bin/check_configuration.php
  45. +51 −0 lib/vendor/symfony/data/bin/create_sandbox.sh
  46. +105 −0 lib/vendor/symfony/data/bin/release.php
  47. +37 −0 lib/vendor/symfony/data/bin/symfony
  48. +39 −0 lib/vendor/symfony/data/bin/symfony.bat
  49. +203 −0 lib/vendor/symfony/data/web/sf/calendar/calendar-setup.js
  50. +252 −0 lib/vendor/symfony/data/web/sf/calendar/calendar-system.css
  51. +1,806 −0 lib/vendor/symfony/data/web/sf/calendar/calendar.js
  52. +39 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-af.js
  53. +128 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-bg.js
  54. +125 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-ca.js
  55. +72 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-cs.js
  56. +127 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-da.js
  57. +127 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-de.js
  58. +103 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-el.js
  59. +127 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-en.js
  60. +129 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-es.js
  61. +129 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-eu.js
  62. +112 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-fi.js
  63. +129 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-fr.js
  64. +127 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-he.js
  65. +64 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-hr.js
  66. +128 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-hu.js
  67. +128 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-it.js
  68. +135 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-ja.js
  69. +134 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-ko.js
  70. +128 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-lt.js
  71. +128 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-lv.js
  72. +76 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-nl.js
  73. +129 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-no.js
  74. +127 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-pl.js
  75. +130 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-pt.js
  76. +112 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-pt_BR.js
  77. +72 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-ro.js
  78. +127 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-ru.js
  79. +127 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-sk.js
  80. +109 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-sl.js
  81. +104 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-sq.js
  82. BIN lib/vendor/symfony/data/web/sf/calendar/lang/calendar-sr.js
  83. +132 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-sv.js
  84. +73 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-tr.js
  85. +123 −0 lib/vendor/symfony/data/web/sf/calendar/lang/calendar-zh.js
  86. BIN lib/vendor/symfony/data/web/sf/calendar/skins/aqua/active-bg.gif
  87. BIN lib/vendor/symfony/data/web/sf/calendar/skins/aqua/dark-bg.gif
  88. BIN lib/vendor/symfony/data/web/sf/calendar/skins/aqua/hover-bg.gif
  89. BIN lib/vendor/symfony/data/web/sf/calendar/skins/aqua/menuarrow.gif
  90. BIN lib/vendor/symfony/data/web/sf/calendar/skins/aqua/normal-bg.gif
  91. BIN lib/vendor/symfony/data/web/sf/calendar/skins/aqua/rowhover-bg.gif
  92. BIN lib/vendor/symfony/data/web/sf/calendar/skins/aqua/status-bg.gif
  93. +242 −0 lib/vendor/symfony/data/web/sf/calendar/skins/aqua/theme.css
  94. BIN lib/vendor/symfony/data/web/sf/calendar/skins/aqua/title-bg.gif
  95. BIN lib/vendor/symfony/data/web/sf/calendar/skins/aqua/today-bg.gif
  96. +353 −0 lib/vendor/symfony/data/web/sf/sf_admin/css/main.css
  97. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/add.png
  98. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/cancel.png
  99. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/date.png
  100. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/default_icon.png
  101. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/delete.png
  102. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/delete_icon.png
  103. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/edit.png
  104. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/edit_icon.png
  105. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/error.png
  106. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/filter.png
  107. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/first.png
  108. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/help.png
  109. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/last.png
  110. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/list.png
  111. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/next.png
  112. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/ok.png
  113. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/previous.png
  114. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/reset.png
  115. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/save.png
  116. BIN lib/vendor/symfony/data/web/sf/sf_admin/images/tick.png
  117. +87 −0 lib/vendor/symfony/data/web/sf/sf_admin/js/collapse.js
  118. +37 −0 lib/vendor/symfony/data/web/sf/sf_admin/js/double_list.js
  119. +4 −0 lib/vendor/symfony/data/web/sf/sf_default/css/ie.css
  120. +86 −0 lib/vendor/symfony/data/web/sf/sf_default/css/pngfix.htc
  121. +182 −0 lib/vendor/symfony/data/web/sf/sf_default/css/screen.css
  122. BIN lib/vendor/symfony/data/web/sf/sf_default/images/bg_body.jpg
  123. BIN lib/vendor/symfony/data/web/sf/sf_default/images/bg_sfTAlert.jpg
  124. BIN lib/vendor/symfony/data/web/sf/sf_default/images/bg_sfTLock.jpg
  125. BIN lib/vendor/symfony/data/web/sf/sf_default/images/bg_sfTMessage.jpg
  126. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/cancel48.png
  127. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/colour16.png
  128. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/db16.png
  129. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/disabled48.png
  130. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/edit16.png
  131. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/folder16.png
  132. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/linkOut16.png
  133. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/lock48.png
  134. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/ok48.png
  135. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/reload16.png
  136. BIN lib/vendor/symfony/data/web/sf/sf_default/images/icons/tools48.png
  137. BIN lib/vendor/symfony/data/web/sf/sf_default/images/sfTLogo.png
  138. BIN lib/vendor/symfony/data/web/sf/sf_default/images/trans.gif
  139. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/close.png
  140. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/config.png
  141. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/database.png
  142. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/error.png
  143. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/info.png
  144. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/log.png
  145. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/memory.png
  146. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/reload.png
  147. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/sf.png
  148. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/time.png
  149. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/toggle.gif
  150. BIN lib/vendor/symfony/data/web/sf/sf_web_debug/images/warning.png
  151. +264 −0 lib/vendor/symfony/doc/01-Introducing-Symfony.txt
  152. +693 −0 lib/vendor/symfony/doc/02-Exploring-Symfony-s-Code.txt
  153. +427 −0 lib/vendor/symfony/doc/03-Running-Symfony.txt
Sorry, we could not display the entire diff because too many files (3,290) changed.
View
4 .gitignore
@@ -1,5 +1,7 @@
+/lib/model/*
+/lib/filter/*
+/lib/form/*
log/*
cache/*
-lib/*
data/sql/*
data/phpcollab.db
View
39 apps/fe/config/app.yml
@@ -11,6 +11,34 @@ test:
separator: '|'
prefix: _revision_
suffix: <<_END_>>
+
+demo:
+ repository:
+ type: svn
+ svn:
+ url: file:///%SF_ROOT_DIR%/test/fixtures/svn
+ xml: %SF_ROOT_DIR%/cache/svn_test.xml
+ diff: %SF_ROOT_DIR%/cache/svn_test_diff
+ git:
+ local_repository: %SF_ROOT_DIR%/test/fixtures/git
+ local_log_file: %SF_ROOT_DIR%/cache/gitLogFile
+ separator: '|'
+ prefix: _revision_
+ suffix: <<_END_>>
+
+phpcollabdev:
+ repository:
+ type: svn
+ svn:
+ url: file:///%SF_ROOT_DIR%/test/fixtures/svn
+ xml: %SF_ROOT_DIR%/cache/svn_test.xml
+ diff: %SF_ROOT_DIR%/cache/svn_test_diff
+ git:
+ local_repository: %SF_ROOT_DIR%/test/fixtures/git
+ local_log_file: %SF_ROOT_DIR%/cache/gitLogFile
+ separator: '|'
+ prefix: _revision_
+ suffix: <<_END_>>
dev:
repository:
@@ -27,15 +55,20 @@ dev:
suffix: <<_END_>>
all:
+ statuses:
+ types:
+ new: new
+ invalid: invalid
+ closed: closed
sf_guard_plugin:
remember_key_expiration_age: 2592000 # 30 days in seconds
remember_cookie_name: phpcollabRememberMe
repository:
type: svn
svn:
- url: http://svn.ideato.it/svn/phpcollab/trunk
- xml: %SF_ROOT_DIR%/cache/svn.xml
- diff: %SF_ROOT_DIR%/cache/svn_diff
+ url: file:///%SF_ROOT_DIR%/test/fixtures/svn
+ xml: %SF_ROOT_DIR%/cache/svn_test.xml
+ diff: %SF_ROOT_DIR%/cache/svn_test_diff
git:
local_repository: %SF_ROOT_DIR%/test/fixtures/git
local_log_file: %SF_ROOT_DIR%/cache/gitLogFile
View
0 apps/fe/config/cache.yml 100644 → 100755
File mode changed.
View
12 apps/fe/config/factories.yml 100644 → 100755
@@ -5,6 +5,18 @@ prod:
level: err
loggers: ~
+demo:
+ storage:
+ class: sfSessionStorage
+ param:
+ session_name: symfony_demo
+
+phpcollabdev:
+ storage:
+ class: sfSessionStorage
+ param:
+ session_name: symfony_phpcollabdev
+
cli:
controller:
class: sfConsoleController
View
0 apps/fe/config/feConfiguration.class.php 100644 → 100755
File mode changed.
View
0 apps/fe/config/filters.yml 100644 → 100755
File mode changed.
View
0 apps/fe/config/routing.yml 100644 → 100755
File mode changed.
View
0 apps/fe/config/security.yml 100644 → 100755
File mode changed.
View
24 apps/fe/config/settings.yml 100644 → 100755
@@ -3,6 +3,26 @@ prod:
no_script_name: on
logging_enabled: off
+demo:
+ .settings:
+# no_script_name: on
+ logging_enabled: on
+# error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
+ web_debug: off
+ cache: on
+ no_script_name: on
+ etag: off
+
+phpcollabdev:
+ .settings:
+# no_script_name: on
+ logging_enabled: on
+# error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
+ web_debug: off
+ cache: on
+ no_script_name: on
+ etag: off
+
dev:
.settings:
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>
@@ -21,6 +41,10 @@ test:
all:
.settings:
+ #jquery plugin options
+ jquery_core: jquery-1.3.1.min.js
+ jquery_sortable: jquery-ui-sortable-1.6rc2.min.js
+ jquery_autocomplete: jquery.autocomplete-1.0.2.min.js
# enabling repository plugin module
enabled_modules: [default, idDashboard, idRepository, idProject, idIssue, sfGuardAuth, sfGuardGroup, sfGuardUser, sfGuardPermission, idStatus, idPriority, idMilestone, idComment]
# Form security secret (CSRF protection)
View
2 apps/fe/config/view.yml 100644 → 100755
@@ -11,7 +11,7 @@ default:
stylesheets: [main.css, base.css, themes/blue/style.css]
- javascripts: [%SF_PROTOTYPE_WEB_DIR%/js/prototype]
+ javascripts: []
has_layout: on
layout: layout
View
0 apps/fe/modules/sfGuardGroup/actions/components.class.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardGroup/config/view.yml 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardGroup/templates/_sidebar.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardGroup/templates/editSuccess.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardGroup/templates/newSuccess.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardPermission/actions/components.class.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardPermission/config/view.yml 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardPermission/templates/_sidebar.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardPermission/templates/editSuccess.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardPermission/templates/newSuccess.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardUser/actions/components.class.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardUser/config/generator.yml 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardUser/config/view.yml 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardUser/templates/_sidebar.php 100644 → 100755
File mode changed.
View
0 apps/fe/modules/sfGuardUser/templates/newSuccess.php 100644 → 100755
File mode changed.
View
0 apps/fe/templates/_main_navigation.php 100644 → 100755
File mode changed.
View
6 config/ProjectConfiguration.class.php 100644 → 100755
@@ -1,6 +1,6 @@
<?php
-require_once '/usr/local/symfony_repository/1.2/lib/autoload/sfCoreAutoload.class.php';
+require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();
class ProjectConfiguration extends sfProjectConfiguration
@@ -11,7 +11,9 @@ public function setup()
'sfDoctrinePlugin',
'idRepositoryPlugin',
'idProjectManagmentPlugin',
- 'sfDoctrineGuardPlugin'));
+ 'sfDoctrineGuardPlugin',
+ 'sfJqueryReloadedPlugin',
+ 'idUtilPlugin'));
$this->disablePlugins(array('sfPropelPlugin'));
}
}
View
18 config/databases.yml
@@ -7,6 +7,20 @@ dev:
username: root
password:
+phpcollabdev:
+ doctrine:
+ class: sfDoctrineDatabase
+ param:
+ dsn: 'mysql:host=localhost;dbname=phpcollab_demo'
+ username: root
+ password:
+
+demo:
+ doctrine:
+ class: sfDoctrineDatabase
+ param:
+ dsn: 'sqlite:%SF_DATA_DIR%/phpcollab_demo.db'
+
prod:
doctrine:
class: sfDoctrineDatabase
@@ -34,7 +48,3 @@ unittest:
all:
doctrine:
class: sfDoctrineDatabase
- param:
- dsn: 'mysql:host=localhost;dbname=phpcollab'
- username: root
- password:
View
23 config/properties.ini 100644 → 100755
@@ -5,4 +5,25 @@
host=phpcollab.ideato.it
port=22
user=filo
- dir=/var/www/phpcollab/
+ dir=/var/www/phpcollab/
+
+ [demo]
+ parameters=" -azC --force --delete --exclude-from=config/rsync_demo_exclude.txt"
+ host=php-collab.org
+ port=22
+ user=phpcollab
+ dir=/home/.jaymes/phpcollab/demo/
+
+ [phpcollabdev]
+ parameters=" -azC --force --delete --exclude-from=config/rsync_phpcollabdev_exclude.txt"
+ host=php-collab.org
+ port=22
+ user=phpcollab
+ dir=/home/.jaymes/phpcollab/phpcollab_dev/
+
+ [github]
+ parameters=" -azC --force --delete --exclude-from=config/rsync_gtihub_exclude.txt"
+ host=localhost
+ port=22
+ user=filo
+ dir=/users/filo/github_collab_version/phpcollab3/
View
17 config/rsync_demo_exclude.txt
@@ -0,0 +1,17 @@
+.svn
+/web/uploads/*
+/cache/*
+/log/*
+/lib/model/*
+/lib/filter/*
+/lib/form/*
+/web/*_dev.php
+/web/index.php
+/web/sfProtoculousPlugin
+/web/.htaccess
+/web/phpcollabdev.php
+/data/*
+/test/*
+cron.php
+patch.diff
+svnFakeRepositoryCreationScript.php
View
3 config/rsync_exclude.txt 100644 → 100755
@@ -3,3 +3,6 @@
/cache/*
/log/*
/web/*_dev.php
+/test/fixtures/git
+/test/fixtures/svn
+/test/fixtures/svn_client
View
10 config/rsync_gtihub_exclude.txt
@@ -0,0 +1,10 @@
+.svn
+/web/uploads/*
+/cache/*
+/log/*
+/lib/model/*
+/lib/filter/*
+/lib/form/*
+/data/*
+cron.php
+svnFakeRepositoryCreationScript.php
View
17 config/rsync_phpcollabdev_exclude.txt
@@ -0,0 +1,17 @@
+.svn
+/web/.htaccess
+/web/uploads/*
+/cache/*
+/log/*
+/web/*_dev.php
+/web/index.php
+/web/sfProtoculousPlugin
+/web/demo.php
+/test/*
+config/rsync*
+/data/sql/*
+/data/phpcollab.db
+/plugins/idMockStubGenerator/*
+/cron.php
+/patch.diff
+/svnFakeRepositoryCreationScript.php
View
0 config/vhost.sample 100644 → 100755
File mode changed.
View
14 lib/migration/doctrine/001_fe.class.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * This class has been auto-generated by the Doctrine ORM Framework
+ */
+class Fe extends Doctrine_Migration
+{
+ public function up()
+ {
+ }
+
+ public function down()
+ {
+ }
+}
View
76 lib/migration/doctrine/002_add_status_type_status_popsition_priority_position.class.php
@@ -0,0 +1,76 @@
+<?php
+/**
+ * This class has been auto-generated by the Doctrine ORM Framework
+ */
+class AddStatusTypeStatusPopsitionPriorityPosition extends Doctrine_Migration
+{
+ public function up()
+ {
+ $this->addColumn('status', 'status_type', 'string', array('length' => 64, 'default'=> null));
+ $this->addColumn('status', 'position', 'integer', array('default'=> null));
+ $this->addColumn('priority', 'position', 'integer', array('default'=> null));
+ }
+
+ public function postUp()
+ {
+ $q = Doctrine_Query::create()
+ ->from('Status s');
+
+ $statuses = $q->execute();
+
+ $i = 0;
+ $status_types = array_keys(sfConfig::get('app_statuses_types'));
+ foreach ($statuses as $status)
+ {
+ $status->setPosition($i);
+ $status->setStatusType($status_types[0]);
+ $status->save();
+ $i++;
+ }
+
+ $q = Doctrine_Query::create()
+ ->from('Priority p');
+
+ $priorities = $q->execute();
+
+ $i = 0;
+ foreach ($priorities as $priority)
+ {
+ $priority->setPosition($i);
+ $priority->save();
+ $i++;
+ }
+ }
+
+ public function preDown()
+ {
+ $q = Doctrine_Query::create()
+ ->from('Status s');
+
+ $statuses = $q->execute();
+ foreach ($statuses as $status)
+ {
+ $status->setPosition(null);
+ $status->setStatusType(null);
+ $status->save();
+ }
+
+ $q = Doctrine_Query::create()
+ ->from('Priority p');
+
+ $priorities = $q->execute();
+ foreach ($priorities as $priority)
+ {
+ $priority->setPosition(null);
+ $priority->save();
+ }
+ }
+
+ public function down()
+ {
+ $this->removeColumn('status', 'status_type');
+ $this->removeColumn('status', 'position');
+ $this->removeColumn('priority', 'position');
+ }
+
+}
View
700 lib/vendor/symfony/CHANGELOG
@@ -0,0 +1,700 @@
+See the UPGRADE_TO_1_1 for upgrading 1.0 projects first to 1.1.
+See the UPGRADE_TO_1_2 file for more information about upgrading your projects from 1.1 to 1.2.
+
+All the new features are documented in the What's new? tutorial (http://www.symfony-project.org/tutorial/1_2/whats-new)
+
+Version 1.2.7
+-------------
+
+Contains the security fis from 1.2.6. Please read http://www.symfony-project.org/blog/2009/04/27/symfony-1-2-6-security-fix for more information.
+
+ * [17861]: MCE Texteditor now can align images correctly (closes #5745)
+ * [17860]: wrapped fill-in fix for FCK Texteditor in sf_10_compat check (closes #732)
+ * [17858]: fixed some codeing standards (fixes #6376 - patch from gimler)
+ * [17857]: allows overriding the sfFinder returned by a subclass of sfFinder::type method (fixes #6378)
+ * [17749]: fixed some PHPDoc (closes #6371 - patch from gimler)
+ * [17711]: added test that proves that passing a position to stylesheets and javascripts in view.yml is possible (refs #6242)
+ * [17709]: fixed accidental unset of fields included in admin generator with partial or component flag
+ * [17704]: fixed typo in sfFilterConfigHandler.class.php
+ * [17699]: moved functional tests for the 1.0 admin generator in a specific directory
+ * [17587]: fixed rare occassion when a widget schema is paired with a simple validator error rather than a validator error schema
+ * [17586]: fixed removal of form fields in the admin generator when fields are nested into multiple fieldsets
+ * [17583]: fixed wrong PHPDoc type hinting (reported by nicolas)
+ * [17581]: fixed r17579: regression when display is set to [ ] (which is default, and equivalent to "all")
+ * [17580]: typo in coding standards (from r17579)
+ * [17579]: __security fix: removes unused fields in the form to avoid data injection by forging false form fields values.__
+ * [17519]: fixed session_write_close is not called in sfDatabaseSessionStorage::shutdown (#6216)
+ * [17478]: fixed sfXCacheCache::clean() (closes #6245)
+ * [17477]: fixed generateCacheKey does not coverts dots to underscorse in user given hostname (closes #6252)
+ * [17474]: fixed sfTask::getSynopsis() returns incorrect description for arrays of arguments (closes #6280)
+ * [17473]: made some small performance optimization on widgets and validators (closes #6311)
+ * [17468]: fixed cache manager when the cache partial or component is not from the same module as the same action (closes #6265, #5814)
+ * [17467]: fixed default parameters management for routes (refs #6309)
+ * [17466]: fixed default parameters management for routes (refs #6309)
+ * [17450]: fixed plugin:install task when the plugin has some dependencies
+ * [17440]: applied the other patch from #5811 with the compat option (closes #5811 - patch from rs)
+ * [17438]: fixed lazy_routes_deserialize still unserializes every route (closes #6309)
+ * [17402]: added more tests to sfObjectRouteCollection (refs #5851)
+ * [17401]: added sfObjectRouteCollection tests (refs #5851)
+ * [17398]: fixed possible php error, added unit tests
+ * [17384]: fixed confirm dialog does not work in ie6 (closes #4152)
+ * [17382]: fixed inconsistency of routes with generate_shortest_url option enabled (closes #6185) + added more routing tests
+ * [17372]: removed unneeded dependency on sfConfig in sfWebRequest
+ * [17357]: doSelectWithI18n no longer accidentally modifies the Criteria passed to it (fixes #6243)
+ * [17347]: fixed restoration of response object if an exception is thrown
+ * [17339]: re-added the sfXCacheCache::getCacheInfo() method to keep BC
+ * [17297]: fixed throw_global_error default value noted in api doc to match the actual default
+ * [17217]: Added `sf_lazy_cache_key` setting to address possible backward compatibility break. This must be turned on in `settings.yml` to enable the performance optimization of r16905 and r16907.
+ * [17127]: added more unit tests for sfCacheSessionStorage
+ * [17125]: removed unused include (for PHP 5.3/PEAR 1.8.0 compat)
+ * [17109]: removed reliance on default symfony route, all routing calls are by route name (closes #6236)
+ * [17078]: fixed api description of include_http_metas()
+ * [17068]: fixed __clone() in all choice widgets (closes #4417)
+ * [17064]: fixed xcache cache class (closes #4115)
+ * [17063]: fixed generated links (refs #5851)
+ * [17047]: fixed autoloading configuration cache behaves differently on Windows and Linux (closes #6232)
+ * [17045]: added application/x-zip for Firefox 3 in the compat plugin (refs #6191)
+ * [17044]: fixed mime-type map in sfValidatorFile (closes #5808, #6191)
+ * [17043]: fixed single group in sfWidgetFormSelectCheckbox (closes #6230)
+ * [17042]: removed files that were needed when Propel and Doctrine were not bundled with Symfony
+ * [17027]: added a test for format_currency (refs #5715)
+ * [17023]: fixed management in sfWebRequest and sfForm (closes #4273, #5075)
+ * [16949]: added a new lazy_routes_deserialize optimization option
+ * [16942]: removed the web debug toolbar when the response status code is in the 3xx range (closes #6153)
+ * [16938]: fixed internal URI is not reset after a negative match (closes #6228 - patch from rs)
+ * [16929]: optimized route serialization when using a file cache backend (patch from rs)
+ * [16912]: fixed bug in the pattern routing optimization
+ * [16911]: fixed routing slowness for big numbers of routes (closes #6222 - patch from rs)
+ * [16905]: Avoided unnecessary calls to `md5(serialize())` by moving determination of whether a partial is cacheable to before the cache key is generated. BIG optimization when `sf_cache`==true. Will be backported to 1.0. (closes #5814)
+ * [16899]: optimized windows rename() problem hack (based on a patch from Agavi)
+ * [16897]: replaced getmypid() by tempnam() in cache classes to be thread-safe (thanks to David Zulke for the tip, refs #6132)
+ * [16847]: removed @error suppression in sfFileCache. Now it should work on all platforms. What a pity that PHP doesnt handle this :-( (closes #6132)
+ * [16834]: fixed flag upon unregistering of core autoloader
+ * [16733]: fix doubled-code
+ * [16711]: fixed invalid string length assumption
+
+Doctrine Plugin:
+
+ * [17253]: Fixed testing of null columns in sfTesterDoctrine (handled natively by Propel).
+ * [16964]: sfDoctrinePlugin: fixing sfValidatorDoctrineChoiceMany and reverting change to make it equal to Propel (closes #4511)
+ * [16959]: sfDoctrinePlugin: Fixes issue where m2m relationships are all unlinked then readded (closes #6192)
+ * [16953]: sfDoctrinePlugin: Fixing case sensitive typo
+ * [16952]: sfDoctrinePlugin: Fixes issue with generated accessors not using camel case (closes #6178)
+
+Propel Plugin:
+
+ * [17747]: added the filter dir from sfPropelPlugin fixtures in the repo
+ * [17701]: renamed sfPropel functional tests backend application
+ * [17700]: renamed sfPropel functional tests backend application
+ * [17426]: fixed propel 1.3 self referencing table data loading for fixtures (closes #5022)
+ * [17296]: fixed Propel query log doesn't work properly on queries with over 9 bindings (closes #5882)
+ * [16976]: fixed Propel forms, filters, and admin generator when column names contain uppercase letters (closes #6151, #6187, #5030, #5610, #2855)
+ * [16948]: replace all getColumnName() occurrences to getName() as getColumnName() is deprecated in Propel 1.3
+
+
+
+Version 1.2.6
+-------------
+
+The 1.2.6 release is security release.
+Please read http://www.symfony-project.org/blog/2009/04/27/symfony-1-2-6-security-fix for more information.
+
+Version 1.2.5
+-------------
+
+ * [16656]: fixed invalid assumption in cache:clear task (closes #6181)
+ * [16587]: added CA translation for admin generator
+ * [16555]: Removed extra slash from web debug image root
+ * [16553]: Added proxies to sfOutputEscaperSafe so safe vars work as expected when accessed from an action (closes #6147)
+ * [16530]: fixed possible race-condition in sfConfigCache. (fixes #6132)
+ * [16445]: sfPluginManager now installs dependencies recursively if needed (closes #5998)
+ * [16402]: fixed admin generator css which has side effect on all "th" DOM elements
+ * [16344]: replaced this->level usage by this->getLogLevel (closes #6086)
+ * [16343]: fixed sfCommandManager->parseLongOption() doesn't correctly parse options with '=' in the value (closes #6094)
+ * [16274]: fixed form submissions when posted data exceeds post_max_size (closes #6081 - oh yes, I sometimes really hate you PHP!)
+ * [16271]: fixed lime path
+ * [16260]: fixed ->getLinks() produces error message when result set is empty (closes #5864)
+ * [16258]: fixed typo in admin gen french translations (closes #5827)
+ * [16256]: updated prototype and scripaculous libraries to their latest dot releases (closes #5889)
+ * [16177]: fixed sfYaml::dump dumps doesn't quote strings containing # (closes #6050)
+ * [16172]: fixed cannot check all checkbox in Admin generator (IE) (closes #6006)
+ * [16171]: fixed command.filter_options doesn't filter anything (closes #6038)
+ * [16170]: fixed typo (closes #6014)
+ * [16169]: fixed Web debug bar, css style is not inline under windows (closes #6035)
+ * [16168]: update admin gen es translation (closes #6046)
+ * [16167]: added some tests to sfYAML (closes #6050)
+ * [16166]: fixed sfYaml::load wrong parsing with \r\n (closes #6053)
+ * [16165]: added some missing PHPDoc (closes #6054)
+ * [16164]: fixed typo (closes #6059)
+ * [16106]: strengthened web debug styles
+ * [15941]: fixed invalid test
+ * [15940]: fixed double-absolutizing of absolute urls generated by routes
+ * [15892]: iterator interface of sfForm does not take fields in right order. closes #5551
+ * [15865]: Fixes issue with loading data fixtures from plugins that use setPluginPath()
+ * [15861]: fixed merging of form helps
+ * [15850]: fixed sfRouteObject signature
+ * [15812]: moved setting of flash notice after model transaction
+ * [15809]: fixed sfForm::mergeForm() ignores reordered widgets (closes #5951)
+ * [15807]: fixed sfFormField::renderHelp doesn't use formatter (closes #5931)
+ * [15805]: fixed register_globals cannot be set at runtime (closes #5922)
+ * [15803]: fixed typo + make sure fixtures are ordered (closes #5939)
+ * [15802]: fixed typo (closes #5946)
+ * [15801]: fixed sfBaseTask::getFirstApplication should ignore version control (closes #5956)
+ * [15799]: fixed admin.delete_object event is not despatched on batch delete (closes #5960)
+ * [15797]: fixed notice in sfTestBrowser (closes #5964)
+ * [15796]: fixed doc for plugin:install task (closes #5966)
+ * [15768]: related to r15767, (re)fix #5953: sfWebDebugToolbar do not use anymore the generic �menu� classname, but sfWebDebugMenu instead, to avoid side effects with integrators work.
+ * [15767]: fix #5953: sfWebDebugToolbar do not use anymore the generic �menu� classname, but sf_web_debug_menu instead, to avoid side effects with integrators work.
+ * [15743]: fixed typo
+ * [15727]: enhanced an error message (closes #5898)
+ * [15726]: fixed sf_culture being set automatically when testing, but not when using the site (closes #5852)
+ * [15720]: fixed sfForm problem when file upload widgets are embedded (closes #5252)
+ * [15653]: fixed passing of `flag` config to sfModelGeneratorConfigurationField (closes #5934)
+ * [15647]: Added missing documentation for sfValidatorFile option �validated_file_class�
+ * [15627]: fixed sfValidatorPropelChoice(Many) overrides some Criteria (closes #5924)
+ * [15623]: fixed single quote problem in generated classes in the admin generator
+ * [15622]: fixed single quote problem in generated classes in the admin generator
+ * [15553]: fixed session_write_close is not called form sfSessionStorage
+ * [15545]: fixed coding standard
+ * [15511]: fixed sfFileCache::clean() method (closes #5894)
+ * [15510]: enhanced check_configuration.php messages (closes #5873)
+ * [15485]: fixed typo
+ * [15482]: fixed check_configuration.php outputs gramatically illogical warnings (closes #5873)
+ * [15480]: fixed sfLogger priority numbers in logs from application.log event (closes #5883)
+ * [15470]: cleaned formatting of generated route collections
+ * [15414]: fixed pear check in plugin unit tests
+ * [15410]: fixed potential fatal in task test
+ * [15395]: fixed persistence of flash error message
+ * [15393]: fixed form serialization when PDO is used as a session handler (closes #5267)
+ * [15374]: updated admin batch csrf token to generate at runtime (closes #5774, thanks jeremy & ansata)
+
+Doctrine Plugin:
+
+ * [16379]: Added autoload.yml to sfDoctrinePlugin to exclude the Doctrine library from symfony's autoloaders.
+ * [16462]: sfDoctrinePlugin: Fixing bug with doctrine:build-all-load not passing app option through to other tasks
+ * [16087]: fixed issue when doctrine tasks are run before any applications are created
+ * [16033]: Fixes issue with new Doctrine_Query being used inside widget (closes #5996)
+ * [15853]: Changing internal queries to use Doctrine_Table::createQuery() (closes #5944)
+ * [15833]: Fixes issue where doctrine generated forms use Select instead of Choice like propel does (closes #5896)
+ * [15831]: Fixes issue with using Doctrine field names and generated forms/filters (closes #5863)
+ * [15828]: Fixes issue with I18n accessors and columns with underscores (closes #5888)
+ * [15824]: Fix to Doctrine form generator and min/max validators and regex validators (closes #5900)
+ * [15823]: Fixes issue with tasks that use the drop db task not stopping with confirmation is false (closes #5903)
+ * [15619]: fixed quote problem in admin generator (closes #5920)
+ * [15544]: fixed doctrine support in sfDatabaseSessionStorage (closes #5813)
+ * [15488]: ::getModelName() should not be static (cf r15484 and r15481)
+ * [15442]: Updating Doctrine externals to 1.0.7 version.
+ * [15329]: fixed passing of options to some nested tasks
+
+Propel Plugin:
+
+ * [16176]: fixed typo (closes #6059)
+ * [16007]: ported r15242 to propel plugin
+ * [15765]: fixed propel:schema-to-yml composite foreign-Keys wrongly converted (closes #5483)
+ * [15394]: updated propel external
+
+
+Version 1.2.4
+-------------
+
+ * [15257]: fixed issue with cache file corruption due to heavy load. fixes #5729
+ * [15247]: fixed wrong test in sfWebDebug. fixed #5790
+ * [15223]: escaped variables in exceptions in the development environment (closes #5743)
+
+Doctrine Plugin:
+
+ * [15243]: Fixes issue where embedded forms are saved before the parent form is saved. This causes issues if the embedded form has a foreign key to the parent and in that case the foreign key is not present yet (closes #5617)
+ * [15242]: Fixes php notice being thrown in obscure cases in sfFormDoctrine (closes #5773)
+ * [15241]: Fixes issue with generated filter forms using wrong widget (closes #5784)
+ * [15240]: Fixes regression with admin generators (closes #5785)
+ * [15219]: Fixing issue with composite primary key models and crud/generators (closes #5695)
+ * [15218]: Fixes issue with sfDoctrineRecord::__call() (closes #5685)
+
+Propel Plugin:
+
+ * [15230]: fixing propel external to specific revision to avoid problems with propel introducing regressions. fixes #5768
+
+
+Version 1.2.3
+-------------
+
+ * [15156]: fixed project:enable task to clear only cache of the given application and environment. fixes #5750
+ * [15152]: backported Urdu language files. There is a small chance that this file does not work completely for 1.2 but it is better than not having it at all. refs #5410.
+ * [15122]: removed test cleanup now being handled in unit bootstrap
+ * [15114]: removed priority unssetting in log event handling (closes #5732)
+ * [15112]: added missing phpdoc
+ * [15033]: fixes deletion of files in sfFormPropel missing an DIRECTORY_SEPARATOR. fixes #5361
+ * [14964]: fixed pre_replace issue with username/pw starting with number in sfConfigureDatabaseTask. fixes #5687
+ * [14902]: fixed typo in sfConfigureDatabaseTask. closes #5662
+ * [14872]: fixed typo (closes #5601)
+ * [14869]: fixed MySQLi does not support persistent Connection (closes #5630)
+ * [14852]: fixed sfForm::offsetUnset doesn't properly unset private members (closes #5621)
+ * [14830]: fixed notice in sfPearRestPlugin (closes #5641)
+ * [14730]: fixed discrepancy in function signature (closes #5505)
+ * [14689]: fixed simple autoload unregister not changing registered flag
+ * [14687]: fixed accidental commit
+
+Doctrine Plugin:
+
+ * [14983]: Fixes issue where generate:admin --module option is ignored
+ * [14982]: Fixed key_method and table_method options for sfWidgetFormDoctrineChoice (closes #5674)
+ * [14979]: Fixes issue where table_method is called after the filters are applied (closes #5586)
+ * [14978]: Adding sfDoctrinePluginConfiguration class to sfDoctrinePlugin (closes #5633)
+ * [14977]: Fixes issue with copies of listeners registering during functional tests (closes #5631)
+ * [14976]: Fixing issue with routing throwing exceptions when param is not a property or function on model (closes #5659)
+ * [14926]: added missing getStylesheets/getJavaScripts calls in admin generator filters (closes #5689)
+ * [14891]: fixed admin generator delete action, confirm translation not work (closes #5650)
+ * [14832]: fixed strict notice (closes #5638)
+ * [14816]: Fixes bug where 404 is not thrown when no records are found
+ * [14815]: Fixes issue with wrong option being passed to insert sql task
+ * [14793]: Fixes regression with sfDoctrinePager and the use of setQuery()
+ * [14784]: Fixes renderFormTag() to allow custom method (closes #5616)
+ * [14783]: Fixes _list_td_tabular.php using wrong classname (closes #5615)
+ * [14782]: Adding coverage for unique columns (addresses #5602)
+ * [14779]: Fixes regression in sfDoctrinePager and adds additional coverage to tests (closes #5584)
+
+Propel Plugin:
+
+ * [15134]: added generation of key_method option when FK references a non-PK in propel form, filter generators (closes #5370)
+ * [15121]: escaped output of propel queries in web debug toolbar
+ * [14971]: fixed help message of propel task
+ * [14927]: fixed batch select of checkbox doesn't work on IE 6,7 (closes #5177)
+ * [14926]: added missing getStylesheets/getJavaScripts calls in admin generator filters (closes #5689)
+ * [14891]: fixed admin generator delete action, confirm translation not work (closes #5650)
+ * [14784]: Fixes renderFormTag() to allow custom method (closes #5616)
+ * [14783]: Fixes _list_td_tabular.php using wrong classname (closes #5615)
+ * [14728]: fixed foreign keys are assumed with column name "ID" in auto generation of forms (closes #5370)
+
+Version 1.2.2
+-------------
+
+* [14523]: publish-assets now canonicalizes pathes before creating the links, thus allowing "\.." and "\.". fixes #5488
+* [14518]: added cast of `generate:app` escaping strategy to boolean (refs #5500)
+* [14516]: fixed multiple selector chaining in sfDomCssSelector.class. fixed #5321
+* [14515]: silenced possible warning (@ pattern is already used in this file). fixed #5454
+* [14512]: admin generator resets default filter values correctly. fixed #5508
+* [14511]: fixed generate:app and escaping-strategy (closes #5500)
+* [14509]: fixed the way propel handles batch deletions to notify deletion behaviours. fixed #5499
+* [14507]: fixed uppercase POST/GET are not XHTML valid (closes #5242)
+* [14499]: Fixes form filters to perform a stricter check (closes #5548)
+* [14497]: fixed typo (closes #5543)
+* [14486]: fixed sfTesterUser inability to test attribute for namespaces (closes #5256)
+* [14485]: fixed form and view_cache tester are not overridable (closes #5463)
+* [14484]: fixed unfinished ob_start in sfValidatorFile (closes #5293)
+* [14480]: updated bg translations of the admin generator
+* [14421]: updated sfProjectFreezeTask help text to be more verbose
+* [14378]: updated propel behavior inclusion logic to use only core classes
+* [14288]: improved sfFileCache for most common cases by factor 3. Details in ticket. closes #5356
+* [14274]: fixed copy and paste leftover. fixes #5439
+* [14265]: minor improvement in search_in performance of sfFinder when not searching symlinks. fixes #5431
+* [14264]: fixed DateFormHelper not correctly resolving single digits with leading zero (eg '01'). fixes #5404
+* [14261]: fixed issue with sfWidgetFormTime not being able to preselect single digit inputs correctly. fixes #5121
+* [14246]: fixed Unable to use my own form formatter (closes #5421)
+* [14215]: One more fix for filters m2m (addresses #5157)
+* [14181]: Fixes issue with build-model task and plugin directories and plugin names (closes #5243)
+* [14173]: fixed var and propel web debug logger regular expressions (closes #5369)
+* [14157]: added check for short_open_tags to check_configuration.php
+* [14153]: fixed input_date_tag to work correctly in pear installations. fixes #4229
+* [14130]: updated italian admin generator translation. fixes #5368
+* [14119]: improved select_timezone_tag according patch from Wicked. fixes #5308
+* [14107]: admin generators should return to page 1 after applying a filter. fixes #5117
+* [14105]: added check for XSLT in check_configuration. fixes #5303
+* [14025]: added clearing of Propel instance pools between functional test requests (closes #5295)
+* [14015]: fixed Files array is not reset between sfBrowser requests (closes #5297)
+* [14010]: fixed Error when uploading files for Embeds forms (closes #5253)
+
+Doctrine Plugin
+
+* [14550]: fixes error when uploading files for embedded forms (closes #5485)
+* [14501]: fixes sfDoctrineRoute to return object instead of null (closes #5540)
+* [14500]: fixes issue where filter functions for fields are not camelized (closes #5468)
+* [14472]: fixes issue where i18n doesn't fall back to default culture (fixes #5458)
+* [14466]: fixes issue with sfDoctrineFormFilter::processValues (closes #5468)
+* [14292]: temporary fix (addresses #5267 #4436)
+* [14287]: adding coverage for sfDoctrineRoute and Doctrine admin generators.
+* [14286]: fixing task so env is passed to the insert-sql task.
+* [14258]: fixes filtering on numeric columns in admin generator (closes #5028)
+* [14256]: fixes Doctrine admin generator with camelStyle column name (closes #5411)
+* [14255]: fixes help message for insert-sql task (closes #5417)
+* [14253]: fixing camel case columns for admin generators (closes #5414)
+* [14216]: fixes issue where 404 exception is not thrown when no object is found (closes #5090)
+* [14214]: fixing incorrect method names for many to many filters (closes #5157)
+* [14213]: fixes issue with application option in tasks (closes #5238)
+* [14211]: fixing build-model yet again for custom plugin paths (closes #5243)
+* [14210]: fixing bug with pagination links (closes #5405)
+* [14200]: fixing form generation for plugins using custom paths (closes #5395)
+* [14198]: fixes issue with mismatching classname and filename (closes #5381)
+* [14162]: fixing bug with sfDoctrineRoute parameters that are passed to the method option.
+* [14113]: allowed ability to configure path to Doctrine core libs to allow using a different version of Doctrine (closes #5210)
+* [14111]: fixing sfValidatorDoctrineUnique to behave the same way as sfValidatorPropelUnique if a value does not exist
+* [14110]: fixing issue introduced in previous commit
+* [14108]: fixes missing peer_method equiv. (closes #5324)
+* [14106]: fixes generated forms to unique columns are validated (closes #5189)
+* [14104]: fixes issue with plugins which are at a custom path (closes #5243)
+* [14098]: fixing small issue with overriden getObjects()
+* [14096]: fixing sfDoctrineRoute to allow method_for_query so we match the method_for_criteria method for sfPropelPlugin
+* [14095]: fixing generated form widget for m2m to be sfWidgetFormDoctrineChoiceMany instead of sfWidgetFormDoctrineSelectMany
+* [14056]: added missing sfDoctrineTester class.
+
+Version 1.2.1
+-------------
+
+* [13947]: fixed admin generator configuration file loading (closes #5137, #5140)
+* [13931]: removing objects from the debug output to prevent crashing php with recursions very likely happening on especially routing objects. fixes #5178. refs #3477
+* [13930]: fixes small typo/mistake (closes #5192)
+* [13929]: publish-assets now works correctly for all active plugins, even when they set the plugin path to a different directory. fixes #5163. refs #4926
+* [13928]: fixed remaining array_filter in sfRoute. fixes #5175
+* [13869]: applied performance patch for sfToolkit::stripComments from Wicked. Thanks for providing those well done patches. fixes #5237
+* [13848]: added check for php-xml to check_configuration.php. fixes #5200
+* [13844]: fixed overriding for attribute of generated labels in sfWidgetFormSchemaFormatter. fixes #5220
+* [13811]: suppressing warning popping up in dev env
+* [13805]: fixed a potential warning
+* [13759]: fixed strict standards notice. fixes #5187
+* [13726]: added missing check for PDO
+* [13696]: fixed typos in functional test php error handling
+* [13691]: fixed fluent return value in `sfTester::__call()`
+* [13653]: fixed inserting of virtual columns for stacked layouts
+* [13652]: fixed fields in admin generator cannot be real (closes #5123)
+* [13645]: fixed formatting of phing notice
+* [13643]: updated polish translation according to ticket. fixes #5130
+* [13634]: fixed a warning when installing a plugin with a non-valid version
+* [13615]: updated pl translation for admin gen. closes #5130
+* [13596]: fixed package template
+* [13588]: fixed bad path in generated vhost.sample
+* [13579]: applied performance patch from Wicket, reducing select_currency, select_language and select_country tag time greatly. closes #5114
+* [13578]: applied performance patch from Wicket, reducing options_for_select time greatly. closes #5113
+* [13572]: fixed request format does not always set layout false for non-html content
+
+Doctrine Plugin
+
+* [13857]: fixes issue with choice validators (fixes #5192)
+* [13856]: fixing strict standards notice
+* [13854]: fixes issue with global schema elements (fixes #5194)
+* [13853]: fixing validation so it is on by default like it is supposed to be (addresses #5161)
+* [13852]: Updating Doctrine external to 1.0 branch instead of tag.
+* [13851]: fixes issue with Doctrine cli messages not being forwarded to symfony cli (fixes #5181)
+* [13845]: fixes multiple issues and missing functionality in sfDoctrineRoute
+
+Propel Plugin
+
+* [13927]: fixed a regression with the handling of CLOB datatype in propel 1.3 in conjunction with forms. fixes #5263
+* [13723]: made queries in the propel debug toolbar copy-and-pasteable
+* [13592]: fixed propel:generate-admin task help message
+
+Version 1.2.0
+-------------
+
+* [13564]: fixed Last-Modified is not checked because expire and cache-control (closes #3597)
+* [13547]: reverted r13470, partial revert of r13196, fixed order of autoload config files so plugin files are processed first (closes #5041)
+* [13510]: fixed admin filter labels do not match input id
+* [13501]: fixed inline web debug js is not wrapped in cdata block
+* [13499]: fixed session cache limiter (refs #3597, closes #3542)
+* [13498]: added sample vhosts. closes #5050
+* [13494]: fixed Field names cannot be set for Custom Fields in Admin Generator (closes #2908)
+* [13493]: added automatic migration for the generated symfony CLI
+* [13486]: added _with_csrf to sfBrowser to simulate a CSRF token when generated with JavaScript on the client
+* [13485]: add sfWebRequest::checkCSRFProtection() to check if a request is CSRF protected
+* [13484]: added CSRF token for link generated by the link_to() helper if CSRF is enabled
+* [13483]: changed sfForm::getCSRFToken() to return the current token if no secret is passed as argument
+* [13482]: fixed i18n setlocale() problem
+* [13481]: made detail more specific for hasErrors(false)
+* [13480]: updated functional tests fixtures for sf core tests
+* [13479]: fixed Incorrect content type in sfPartialView (closes #5107)
+* [13476]: fixed potential deprecated notice
+* [13470]: fixed assumption that default config file comes first (refs #5041)
+* [13465]: added a note about component escaping problem from 1.1
+* [13463]: fixed var escaping in a component (closes #1638)
+* [13461]: added a renderId() method to sfFormField (closes #4294)
+* [13451]: fixed potential notice + made test more compatible
+* [13444]: made default symfony in skeleton faster
+* [13423]: checking that upload directory exists before chmoding - removing error
+* [13419]: fixed typo (closes #4274)
+* [13417]: fixed doctype lost when reopening an XLIFF file (closes #4274)
+* [13416]: fixed sfRequest::getUri() when using Microsoft IIS (closes #4886)
+* [13413]: removed the isDebug parameter for task as it cannot work with autoloading (closes #4911)
+* [13412]: fixed missing alt tag in cache debugging information (refs #4929)
+* [13408]: fixed long line in a PHP doc (closes #4750)
+* [13401]: fixed i18n:extract task (closes #4924)
+* [13398]: added DOCTYPE to generated XLIFF files
+* [13396]: added mandatory <header /> tag in generated XLIFF files (closes #4274)
+* [13391]: YAML dumper should remove carriage returns (\r) (closes #4740)
+* [13386]: added mime type for PDF (closes #4483)
+* [13382]: fixed sfObjectRoute to work with Doctrine when no object is returned (closes #5090, #5091)
+* [13379]: fixed blank/white screens instead of 404 errors for other types of content than html (closes #5032)
+* [13373]: fixed sfConfig::set('sf_web_debug', false) in an action doesn't disable the toolbar (closes #5063)
+
+Doctrine Plugin
+
+* [13512]: made batch actions javascript xhtml compliant
+* [13511]: reverted r13509
+* [13509]: fixed typo
+* [13508]: fixed db web debug panel img is not valid xhtml
+* [13504]: fixes issue with insert-sql not working by itself (closes #5103)
+* [13503]: Updating test base classes
+* [13502]: fixed filters for all numbers (closes #5028)
+* [13496]: fixed Field names cannot be set for Custom Fields in Admin Generator (closes #2908)
+* [13490]: fixed CSRF problem with CRUD and admin generator (closes #4915)
+* [13488]: fixed double inclusion of hidden fields on CRUD generated modules
+* [13480]: updated functional tests fixtures for sf core tests
+* [13467]: fixed _form_actions.php template is hardcoded to use edit.actions (ignoring new.actions) (closes #5062)
+* [13415]: removed the isDebug parameter for task as it cannot work with autoloading (closes #4911)
+* [13394]: fixes issue with pager when query results are empty (closes #3563)
+* [13393]: fixes issue with query params with binary data causing problems in the logs (closes #5052)
+* [13392]: moved doctrine libs to lib/vendor and changed to use Doctrine autoloader.
+* [13390]: fixed admin generator route generation when the primary key is not named id (closes #4966 closes #5082)
+* [13385]: fixes issue with check for package param being too general (closes #5085)
+
+Propel Plugin
+
+ * [13512]: made batch actions javascript xhtml compliant
+ * [13511]: reverted r13509
+ * [13509]: fixed typo
+ * [13508]: fixed db web debug panel img is not valid xhtml
+ * [13497]: added note about possible phing errors. closes #5025
+ * [13495]: fixed Field names cannot be set for Custom Fields in Admin Generator (closes #2908)
+ * [13492]: fixed filters for all numbers (closes #5028)
+ * [13489]: fixed CSRF problem with CRUD and admin generator (closes #4915)
+ * [13487]: fixed double inclusion of hidden fields on CRUD generated modules
+ * [13480]: updated functional tests fixtures for sf core tests
+ * [13466]: fixed _form_actions.php template is hardcoded to use edit.actions (ignoring new.actions) (closes #5062)
+ * [13459]: fixed integer fields in a filter form class (closes #5028)
+ * [13434]: fixed typo (closes #5094)
+ * [13414]: removed the isDebug parameter for task as it cannot work with autoloading (closes #4911)
+ * [13407]: fixed lv admin gen trnaslations (closes #4274)
+ * [13399]: fixed XLIFF files for admin generator
+ * [13397]: fixed admin gen XLIFF files
+ * [13389]: fixed typo
+ * [13384]: fix obsolete comment
+
+Version 1.2.0 RC2
+-----------------
+
+* [13363]: made command line much faster. fixes #4928
+* [13361]: fixed sfForm::embedFormForEach does not properly store embedded forms (closes #5080)
+* [13360]: fixed tester message
+* [13343]: changed the form tester to test error codes instead of error messages
+* [13342]: fixed a typo in sfTesterForm
+* [13339]: reverted r12807 (closes #4287)
+* [13325]: fixed wilcard typo. needs rebuilding routes and admin. fixes #5065
+* [13324]: fixed possible notice in sfWidgetFormSelectCheckbox by applying pattern from sfWidgetFormSelect. fixes #5056
+* [13322]: fixed routing when a route parameter is empty (closes #5001, #4960, #5042)
+* [13319]: fixed relative symlinks that were incorrectly when some directories had the same prefix. added plenty tests for this.
+* [13317]: fixed warning for symfony CLI (closes #5019)
+* [13288]: removed the inability to override a route (really useful when using sfPropelRouteCollection)
+* [13281]: made type of virtual fields configurable in generators. fixes #4973
+* [13278]: fixed PHPDoc on sfValidatorDate. fixes #5039
+* [13247]: add __call() to sfTester to forward all unknown method to the browser object
+
+Version 1.2.0 RC1
+-----------------
+
+* [13212]: fixed regular expression back reference bug on windows pathes like "symfony\1.2". fixes #5021
+* [13196]: fixed plugin autoloading
+* [13143]: fixed typo in comment
+* [13142]: attempt to close #4777. The bug might be caused either by the openDB cursor that at least pdo->fetch leaks, or misinterpreted return values (the if only would trigger if the assignment would evaluate to true).Now the number of rows returned is checked and the data is accessed using the 0,0 index, which should be much safer as well.
+* [13127]: forthport of r13126: sfValidatorAnd and sfValidatorOr validators are now required by default to ensure a standard behavior - fixes and closes #4877
+* [13123]: fixed weird cache with layout bug - patch by phuson (refs #4514)
+* [13119]: fixed typo for batch actions in admin generator
+* [13098]: fixed typo in autoload recursive setting
+* [13097]: added support for conditional comments to stylesheets and javascripts (closes #1677)
+* [13092]: fixed plugin:publish-assets is ignore the setting of ->disablePlugin(...) (closes #4926)
+* [13090]: fixed getAllPluginPaths() to only look for plugins that end with Plugin
+* [13089]: added a renderer option for the admin generator list (closes #685)
+* [13082]: Fixes issue with embedded forms with a name that is a 0 integer (closes #4906)
+* [13079]: fixed missing hyphen from my last change. closes #4976
+* [13078]: fixed I18n code ignores sf_app_i18n_dir (closes #4323)
+* [13074]: reverted request format auto-configuration based on the Accept header (closes #4920)
+* [13060]: added a sfForm::getName() method (closes #4852)
+* [13052]: exclude the .svn folder from the sandbox files, which would appear there due to linking of core plugins. Fixes #4950
+* [13051]: fixed project:freeze does not update symbolic links of default plugins in /web (closes #4899)
+* [13050]: removed unneeded code
+* [13046]: reverted r13029 because Doctrine uses __call() for some methods (closes #4957)
+* [13037]: reordered .sf creation in sandbox script
+* [13036]: fixed sandbox default database configuration (closes #4953)
+* [13035]: fixed the configure:database task for Propel 1.3
+* [13029]: added some exception in sfObjectRoute when the method does not exist
+* [13028]: updated the default databases.yml in skeleton
+* [13026]: fixed genUrl() when a relative URL (/foo/bar) is passed as an argument (it is possible because an internal URI cannot start with a / anymore since symfony 1.1)
+* [13023]: added basic implementation of select()/deselect() support to test browser for changing selection in check and radiobuttons. Closes #4673
+* [13022]: fixed generate:module description formatting
+* [13018]: fixed #2798 by applying Patch from Nebelmann
+* [13002]: removed the default route for symfony default module
+* [12996]: added a workaround to a PHP wierd behavior where classes are not autoload within an Exception constructor
+* [12982]: added alt attributes to web debug toolbar icons to be xhtml valid
+* [12969]: fixed URL generation when custom tokens have been defined
+* [12968]: fixed sfRoute tokenizer to ease extensions
+* [12960]: added sfCompat10Plugin as an excluded plugin in the default skeleton
+* [12952]: fixed assumption plugin name can be determined using `basename()`
+* [12949]: added .css for the default CSS in the default view.yml file
+* [12920]: fixed symfony default CLI
+
+Doctrine Plugin
+
+* [13231]: removed unneeded file from fixtures
+* [13219]: Fixing generated children forms and test fixtures from last commit
+* [13218]: fixing path of base filter class
+* [13217]: fixes issue with sfDoctrineRecord::toParams() (closes #5029)
+* [13211]: Fixing issue with admin generator routes (closes #5027)
+* [13210]: fixes issue with doctrine filters (closes #4944)
+* [13163]: fixes issue with duplicate saving of related records (closes #4935)
+* [13138]: fixed image URLs in admin generator (closes #4987)
+* [13121]: fixed indentation
+* [13086]: fixes issue with m2m filters (closes #4944)
+* [13085]: fixes issue with admin generator and multi-part file forms (closes #4946)
+* [13073]: added hide feature to admin gen (closes #4794)
+* [13072]: Adding coverage for ticket (addresses #4935)
+* [13062]: added a sfForm::getName() method (closes #4852)
+* [13049]: added a way to customize the actions added on a form (closes #4947)
+* [13044]: fixed embedded form saving when there is a non Doctrine form in the chain
+* [12955]: test coverage, fixing issues, updating sfFormDoctrine to be equal to sfFormPropel, fixes issue with i18n (closes #4907)
+* [12941]: changing fromArray() to not be recursive/deep as the save embedded forms takes care of this for us now
+* [12938]: fixes #4905
+* [12902]: fixing location of BaseFormDoctrine in fixtures
+* [12900]: committing update to tests for generated base models
+
+Propel Plugin
+
+* [13234]: fixed invalid assumption when loading propel map builders
+* [13197]: fixed propel autoload config
+* [13140]: Renamed task filenames to match classes.
+* [13137]: fixed image URLs in admin generator (closes #4987)
+* [13120]: fixed indentation
+* [13095]: fixed propel:build-schema task
+* [13084]: sfPropelPlugin: fixes issue with admin generator and multi-part file forms (closes #4946)
+* [13070]: update YUI to 2.6.0 (closes #4923)
+* [13061]: added a sfForm::getName() method (closes #4852)
+* [13048]: added a way to customize the actions added on a form (closes #4947)
+* [13045]: updated nl translations for admin gen (closes #4958, thanks dream0r)
+* [13043]: fixed embedded form saving when there is a non Propel form in the chain
+* [13039]: added more german admin gen translations. refs #4909
+* [13038]: added missing strings in i18n XLIFF file for the admin generator (closes #4841, #4909)
+* [13030]: fixed typo in admin gen pagination
+* [13027]: added a method_for_criteria option
+* [12959]: r12812 introduced a regression: fixtures order is totally random, as sfFinder returns directories entry in arbitrary order.
+* [12933]: added el translation for the admin generator (thanks to Zapantis Antreas).
+* [12930]: updated da translation for the admin generator (thanks to kjaer & henrik). closes #4896
+* [12929]: updated pt_br translation for the admin generator (thanks to Daniel)
+
+
+Version 1.2.0 beta2
+-------------------
+
+* [12876]: Added a way to define default messages for required and invalid
+* [12873]: added CSS and JS support to sfWidgetFormDateRange widget (closes #4831)
+* [12871]: enhanced usability of the admin stylesheet
+* [12870]: fixed generator.yml doesn't handle object_actions configuration
+* [12865]: added sfCompat10Plugin in excluded plugins when migrating
+* [12864]: added cache to symfony CLI (closes #4882)
+* [12863]: added hide feature to admin gen (closes #4794)
+* [12860]: implemented ArrayAccess? for sfUser attributes
+* [12859]: added array access for sfRequest parameters (relates to #4815)
+* [12857]: removed sf_admin_module_web_dir from settings.yml (closes #4812)
+* [12853]: fixed sfBrowser when an action is empty
+* [12849]: new unit test for calculateRelativeDir()
+* [12848]: fixed plugin:publish-assets task
+* [12847]: needed to move relative path calculation into sfFilesystem
+* [12845]: added PDO debugging when running functional tests
+* [12842]: fixed sfForm::isNew() method
+* [12837]: fixed positioning of calendar popup. fixes #2240
+* [12816]: fixed location of the base form class for Propel and Doctrine
+* [12813]: fixed setDefaultFormFormatterName()
+* [12810]: fixed widget form schema positions after unsetting some widgets
+* [12809]: fixed CLI tasks when some plugins register behaviors (closes #4645)
+* [12807]: removed unneeded code (closes #4287)
+* [12806]: fixed app:routes display when a route has several method requirement
+* [12805]: renamed i18n file for da (closes #4834)
+* [12769]: fixed form field ordering in admin generator when no display
+* [12768]: converted some functional tests to the new syntax
+* [12763]: applied patch for UTF-8 support and using PropelConnections
+* [12758]: added automatic route creation to propel:generate-admin
+* [12753]: changed some sfObjectRoute error messages to be more explicit
+* [12752]: reformated the default layout
+* [12751]: fixed HTTP header for exceptions (closes #4864)
+* [12728]: fixed token replacement in databases.yml
+* [12704]: fixes #4721 fixes #4835
+* [12700]: fixed a warning (closes #4747)
+* [12699]: fixes issue with autoloading and custom behaviors (closes #4712)
+* [12698]: reverted usage of REQUEST_TIME? (closes #4797)
+* [12696]: made sure that the core autoloaded is registered only once
+* [12695]: made an error message more useful (closes #4802)
+* [12694]: fixed nested i18n forms (closes #4845)
+* [12683]: added i18n missing catalogue information (closes #4841)
+* [12676]: fixed spl_autoload_register for PHP 5.1.2
+* [12672]: added exception if a plugin is enabled too late (closes #4809)
+* [12668]: added sfProjectConfiguration::setPluginPath()
+* [12661]: added a new option to be able to change the default text regex
+* [12660]: made sfRequest cloneable
+* [12659]: fixed deep nested forms saving
+* [12657]: changed an error message to be more descriptive
+* [12647]: added support for nested forms in the admin generator
+* [12641]: fixed typo in sfValidatorString
+* [12640]: made some more tweaks for people with output escaping set to off
+* [12639]: changed the default behavior of symfony: now all plugins are enabled
+* [12631]: Fixed plugins autoloading
+* [12625]: removed magic_quotes calls for 5.3 compat (closes #4806)
+* [12587]: tweaked web debug toolbar css (better cross-browser compat)
+* [12584]: added skeleton fixtures.yml with inline documentation (refs #4670)
+* [12579]: added tif datatype in mime_types.dat. closes #4800
+* [12566]: fixed temp dir on a unit test file
+* [12564]: fixed some unit test when APC is disabled
+* [12562]: fixed case-sensitivity problem
+
+Doctrine Plugin
+
+* [12892]: fixed sfDoctrineForm::saveFile() when a filename is provided (closes #4839)
+* [12890]: fixes #4594
+* [12889]: fixes issue with sfDoctrineColumng::isNotNull()
+* [12888]: fix for saving nested forms (closes #4843)
+* [12886]: fixes #4879
+* [12712]: fixing dql task to output results of query
+* [12710]: fixes #4843
+* [12709]: fixing typo
+* [12708]: fixes #4787
+* [12707]: fixes #4717
+* [12703]: fixes #4808
+* [12702]: sfDoctrineManagerPlugin: fixes issue with use of old form helpers
+* [12701]: added exception when user tries to use package
+* [12693]: sfDoctrineGuardPlugin: fixes #4739
+* [12691]: fixes #4764
+* [12690]: sfDoctrineGuardPlugin: fixes #4821
+* [12689]: sfDoctrineGuardPlugin: fixes #4821
+* [12687]: fixing typo and adding logic to use textarea
+* [12686]: added i18n missing catalogue information (closes #4841)
+* [12685]: sfDoctrineGuardPlugin: fixes #4742
+* [12670]: fixing sfDoctrineRoute
+* [12669]: reporting admin and crud themes
+* [12667]: removing old admin generator and crud code
+* [12651]: cleaning up sqlite database files
+* [12650]: fixing indention of generated forms
+* [12649]: Fixing admin generator filters
+* [12634]: initial entry of new admin generators for Doctrine
+* [12595]: fixed ObjectHelper for doctrine (closes #4602)
+
+Propel Plugin
+
+* [12891]: fixed sfFormPropel::saveFile() when a filename is provided (closes #4839)
+* [12851]: fixed i18n in Propel forms
+* [12812]: fixed order of data deleting in sfPropelData (closes #4783)
+* [12804]: added nested sets builders inthe upgrade task (closes #4620)
+* [12803]: added key_method to sfWidgetFormPropelSelect and
+* [12800]: changed Propel externals to 1.3 branch (closes #4692)
+* [12656]: changed the order of objects saving in sfPropelForm
+* [12637]: added nested save support to sfPropelForm
+* [12596]: sfPropelPlugin: updated API doc
+* [12591]: sfWidgetFormPropelChoice, sfWidgetFormPropelSelect : added added peer_method option
+* [12893]: added lv translation for the admin generator
+* [12612]: added ar translation for the admin generator (thanks to Pascal
+* [12611]: added hu translation for the admin generator (thanks to Vajo Gaspar)
+* [12601]: added uk translation for the admin generator (thanks to Roman Dushko)
+* [12599]: added lt translation for the admin generator (thanks to Kazimieras
+* [12598]: added hr translation for the admin generator (thanks to Kreso)
+* [12581]: added cs translation for the admin generator (thanks Pavel Campr)
+* [12571]: added fi translation for the admin generator (thanks to Jaakko)
+* [12570]: added pt translation for the admin generator (thanks to Tito Costa)
+* [12569]: added tr translation for the admin generator (thanks to Yilmaz)
+
+
+Version 1.2.0 beta1
+-------------------
+
+* All bug fixes from 1.0.0 -> 1.1.5
View
73 lib/vendor/symfony/COPYRIGHT
@@ -0,0 +1,73 @@
+COPYRIGHTS
+==========
+
+symfony
+-------
+
+symfony is originally based on Mojavi3 by Sean Kerr <sean@code-box.org>
+
+Url: http://www.symfony-project.com/
+Copyright: Fabien Potencier
+License: MIT - see LICENSE file
+
+International Components for Unicode
+------------------------------------
+
+symfony contains a port of parts of the International Components for Unicode library
+
+Url: http://www.ibm.com/software/globalization/icu/, http://icu.sourceforge.net/
+Copyright: 1995-2006 International Business Machines Corporation and others.
+License: ICU License - see licenses/LICENSE.ICU file
+
+Dynarch calendar
+----------------
+
+symfony contains the dynarch calendar software
+
+Url: http://www.dynarch.com/projects/calendar/
+Copyright: Mihai Bazon, 2002-2005
+License: LGPL - http://www.gnu.org/licenses/lgpl.html
+
+Prototype
+---------
+
+symfony contains the Prototype software
+
+Url: http://prototype.conio.net/
+Copyright: 2005 Sam Stephenson
+License: MIT - see licenses/LICENSE.prototype file
+
+script.aculo.us
+---------------
+
+symfony contains the script.aculo.us software
+
+Url: http://script.aculo.us, http://mir.aculo.us
+Copyright: 2005, 2006 Thomas Fuchs
+License: MIT - see licenses/LICENSE.script.aculo.us file
+
+famfamfam icons
+---------------
+
+symfony contains a subset of the silk famfamfam icons
+
+Url: http://www.famfamfam.com/lab/icons/silk/
+License: http://creativecommons.org/licenses/by/2.5/
+
+Prado i18n classes
+------------------
+
+symfony contains the Prado i18n core classes
+
+Url: http://www.pradosoft.com/
+Copyright: 2004-2006, The PRADO Group
+License: BSD - see licenses/LICENSE.prado file
+
+lime
+----
+
+symfony uses the lime software
+
+Url: http://www.symfony-project.com/
+Copyright: Fabien Potencier
+License: MIT - see licenses/LICENSE.lime file
View
19 lib/vendor/symfony/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2004-2008 Fabien Potencier
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
20 lib/vendor/symfony/README
@@ -0,0 +1,20 @@
+Symfony is a complete framework designed to optimize the development of web applications by way of several key features.
+For starters, it separates a web application's business rules, server logic, and presentation views.
+It contains numerous tools and classes aimed at shortening the development time of a complex web application.
+Additionally, it automates common tasks so that the developer can focus entirely on the specifics of an application.
+The end result of these advantages means there is no need to reinvent the wheel every time a new web application is built!
+
+Symfony was written entirely in PHP 5.
+It has been thoroughly tested in various real-world projects, and is actually in use for high-demand e-business websites.
+It is compatible with most of the available databases engines, including MySQL, PostgreSQL, Oracle, and Microsoft SQL Server.
+It runs on *nix and Windows platforms.
+
+LICENSE
+-------
+
+see LICENSE file
+
+INSTALLATION
+------------
+
+see doc/03-Running-Symfony.txt
View
688 lib/vendor/symfony/UPGRADE_TO_1_1
@@ -0,0 +1,688 @@
+Upgrade from 1.0 to 1.1
+=======================
+
+This document describes the changes made in symfony 1.1 and what need
+to be done to upgrade your symfony 1.0 projects.
+
+WARNING: symfony 1.1 is only compatible with PHP > 5.1.
+
+How to upgrade?
+---------------
+
+To upgrade a project:
+
+ * If you don't use a SCM tool, please make a backup of your project.
+ As symfony replaces some files during the upgrade
+ (front controllers for example), you need a way to merge your
+ customizations after the upgrade.
+
+ * Update the `symfony` file located in the project root directory
+ by changing those three lines:
+
+ [php]
+ chdir(dirname(__FILE__));
+ include('config/config.php');
+ include($sf_symfony_data_dir.'/bin/symfony.php');
+
+ to
+
+ [php]
+ chdir(dirname(__FILE__));
+ require_once(dirname(__FILE__).'/config/ProjectConfiguration.class.php');
+ $configuration = new ProjectConfiguration();
+ include($configuration->getSymfonyLibDir().'/command/cli.php');
+
+ You can also copy the skeleton file from the symfony project skeleton directly:
+
+ $ cp /path/to/symfony/lib/task/generator/skeleton/project/symfony symfony
+
+ * Create a `config/ProjectConfiguration.class.php` file with the following content:
+
+ [php]
+ <?php
+
+ require_once '##SYMFONY_LIB_DIR##/autoload/sfCoreAutoload.class.php';
+ sfCoreAutoload::register();
+
+ class ProjectConfiguration extends sfProjectConfiguration
+ {
+ public function setup()
+ {
+ }
+ }
+
+ Then, replace `##SYMFONY_LIB_DIR##` with the path to the symfony 1.1
+ `lib/` directory. This is the new way to change the symfony version used
+ for your project.
+
+ You can also copy the skeleton file from the symfony project skeleton directly:
+
+ $ cp /path/to/symfony/lib/task/generator/skeleton/project/config/ProjectConfiguration.class.php config/ProjectConfiguration.class.php
+
+ * Launch the `project:upgrade1.1` task from your project directory
+ to perform an automatic upgrade:
+
+ $ ./symfony project:upgrade1.1
+
+ This task can be launched several times without any side effect. Each time
+ you upgrade to a new symfony 1.1 beta / RC or the final symfony 1.1, you
+ need to launch this task.
+
+ * If you don't plan to upgrade the validation or mailing system to
+ the new system, you must enable the compatibility mode in `settings.yml`:
+
+ [yml]
+ all:
+ .settings:
+ compat_10: on
+
+ Here is a list of the things that will be enabled when switching to the
+ compatibility mode (see the bundled `sfCompat10Plugin` plugin for
+ more information):
+
+ * Zend Framework and ezComponents bridges
+ * sfProcessCache
+ * validation system (validate.yml, validator classes, ...)
+ * fill in filter
+ * sfMail with phpmailer
+
+The remaining sections explains backward incompatible changes.
+
+Batch scripts
+-------------
+
+The use of batch scripts is deprecated, in favor of custom CLI tasks. The new CLI system makes it easy to add a new symfony command to a project, so refer to the Chapter 16 of the symfony book for a detailed how-to on CLI tasks.
+
+If you just want your old batch scripts to work, you need to change the first lines of the every batch scripts--the lines that look like a front controller's initialization. So change the following:
+
+ [php]
+ <?php
+ define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/..'));
+ define('SF_APP', 'frontend');
+ define('SF_ENVIRONMENT', 'prod');
+ define('SF_DEBUG', false);
+
+ require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
+ // your batch code here
+
+To:
+
+ [php]
+ <?php
+ require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
+ $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'prod', false);
+ sfContext::createInstance($configuration);
+
+ // your batch code here
+
+If you need to initialize the database connection, just add the following lines:
+
+ [php]
+ $databaseManager = new sfDatabaseManager($configuration);
+ $databaseManager->loadConfiguration();
+
+Flash attributes
+----------------
+
+Flash attributes are now managed directly by `sfUser`. New usage:
+
+ [php]
+ // action
+ $this->getUser()->setFlash('notice', 'foo');
+ $notice = $this->getUser()->getFlash('notice');
+
+ // template
+ <?php $sf_user->hasFlash('notice'): ?>
+ <?php echo $sf_user->getFlash('notice') ?>
+ <?php endif; ?>
+
+The `flash` entry in `filters.yml` must be removed too as the `sfFlashFilter`
+was removed.
+
+The `project:upgrade1.1` task makes all those changes for you.
+
+Deprecated methods in sfComponent
+---------------------------------
+
+The following methods of `sfComponent` have been removed:
+
+ * `->getPresentationFor()`
+ * `->sendEmail()`
+
+They are accessible from `sfController`:
+
+ [php]
+ // action
+ $this->getController()->getPresentationFor(...);
+
+The `project:upgrade1.1` task makes all those changes for you.
+
+Singletons
+----------
+
+The sfI18N, sfRouting, and sfLogger objects are now factories and
+not singletons.
+
+If you want to get one of those objects in your code, they are
+available from `sfContext`:
+
+ [php]
+ sfContext::getInstance()->getI18N()
+ sfContext::getInstance()->getRouting()
+ sfContext::getInstance()->getLogger()
+
+### Routing
+
+Here is the default configuration for the routing in `factories.yml`:
+
+ [yml]
+ routing:
+ class: sfPatternRouting
+ param:
+ load_configuration: true
+
+The `project:upgrade1.1` task makes all the changes for you.
+
+### Logging
+
+Here is the default configuration for logging in `factories.yml`:
+
+ [yml]
+ logger:
+ class: sfAggregateLogger
+ param:
+ level: debug
+ loggers:
+ sf_web_debug:
+ class: sfWebDebugLogger
+ param:
+ level: debug
+ condition: %SF_WEB_DEBUG%
+ xdebug_logging: true
+ sf_file_debug:
+ class: sfFileLogger
+ param:
+ level: debug
+ file: %SF_LOG_DIR%/%SF_APP%_%SF_ENVIRONMENT%.log
+
+The `logging.yml` configuration file is not used anymore.
+Instead, you can configure logging in `factories.yml`.
+
+To disable logging in the production environment, you will have to change
+your application `factories.yml`:
+
+ [yml]
+ prod:
+ logger:
+ class: sfNoLogger
+ param:
+ level: err
+ loggers: ~
+
+There is also a new `logging_enabled` setting in `settings.yml`.
+This can be used to prevent logging in the production environment altogether:
+
+ [yml]
+ prod:
+ .settings:
+ logging_enabled: off
+
+The `project:upgrade1.1` task makes all those changes for you.
+
+### i18n
+
+Here is the default configuration for i18n in `factories.yml`:
+
+ [yml]
+ i18n:
+ class: sfI18N
+ param:
+ source: XLIFF
+ debug: off
+ untranslated_prefix: "[T]"
+ untranslated_suffix: "[/T]"
+ cache:
+ class: sfFileCache
+ param:
+ automatic_cleaning_factor: 0
+ cache_dir: %SF_I18N_CACHE_DIR%
+ lifetime: 86400
+ prefix: %SF_APP_DIR%
+
+The `i18n.yml` configuration file is not used anymore.
+Instead, you can configure i18n in `factories.yml`.
+
+The only exception is the `default_culture` setting which is now configurable
+in `settings.yml` and do not depend on the i18n framework anymore:
+
+ default_culture: en
+
+If your project has some specific settings, you must move your current
+configuration from the `i18n.yml` to the `factories.yml` and add the default
+culture in `settings.yml` as shown above.
+
+Cache Framework
+---------------
+
+The `sfFunctionCache` class does not extend `sfFileCache` anymore.
+You must now pass a cache object to the constructor.
+The first argument to ->call() must now be a PHP callable.
+
+Some `sfCache` configuration parameter have changed their named to underscore names:
+
+ * automaticCleaningFactor -> automatic_cleaning_factor
+ * cacheDir -> cache_dir
+
+The `project:upgrade1.1` task makes all those changes for you.
+
+Autoloading
+-----------
+
+The `autoloading_function` setting in `settings.yml` is not used anymore.
+You can register autoloading callables in your application configuration class.
+
+Thanks to the new `sfAutoload::autoloadAgain()` method, you won't need to clear
+the cache when you add or move classes in your project. This method will
+automatically find the changes and flush the autoloading cache.
+
+VERSION
+-------
+
+The lib/VERSION file has been removed. If you want to get the current symfony
+version, you can use the `SYMFONY_VERSION` constant. This constant is defined
+in `autoload/sfCoreAutoload.class.php`
+
+Routing
+-------
+
+To inject default route parameters, you can now use the `->setDefaultParameter()`
+method instead of using the `sf_routing_defaults` setting:
+
+ [php]
+ $this->context->getRouting()->setDefaultParameter($key, $value);
+
+I18N
+----
+
+symfony core classes don't return internationalized strings anymore:
+
+ [php]
+ <?php echo __($sf_request->getError('foo')) ?>
+
+This behavior has changed for the following methods and functions:
+
+ [php]
+ sfWebRequest::getError()
+ sfWebResponse::addMeta()
+
+The following helpers (in sfCompat10Plugin) still return internationalized data:
+
+ [php]
+ form_error()
+ include_metas()
+
+The `getGlobalMessageSource()` and `getGlobalMessageFormat()` methods has been
+removed from the sfI18N class. They are now equivalent to `getMessageSource()`
+and `getMessageFormat()`.
+
+Logger
+------
+
+Logger priorities are now constants:
+
+ [php]
+ sfLogger::INFO
+
+The `project:upgrade1.1` task makes all those changes for you.
+
+Deprecated methods in sfAction
+------------------------------
+
+The following methods of `sfAction` have been deprecated and throw
+a `sfConfigurationException` if `sf_compat_10` is set to `false`:
+
+ * `->validate()`
+ * `->handleError()`
+
+Deprecated methods in sfRequest
+-------------------------------
+
+The following methods of `sfRequest` have been deprecated and throw
+a `sfConfigurationException` if `sf_compat_10` is set to `false`:
+
+ * `->getError()`
+ * `->getErrors()`
+ * `->getErrorNames()`
+ * `->hasError()`
+ * `->hasErrors()`
+ * `->setError()`
+ * `->setErrors()`
+ * `->removeError()`
+
+Deprecated methods in sfWebRequest
+----------------------------------
+
+The following methods of `sfWebRequest` have been deprecated and throw
+a `sfConfigurationException` if `sf_compat_10` is set to `false`:
+
+ * `->getFile()`
+ * `->getFileError()`
+ * `->getFileName()`
+ * `->getFileNames()`
+ * `->getFilePath()`
+ * `->getFileSize()`
+ * `->getFileType()`
+ * `->hasFile()`
+ * `->hasFileError()`
+ * `->hasFileErrors()`
+ * `->hasFiles()`
+ * `->getFileValue()`
+ * `->getFileValues()`
+ * `->getFileExtension()`
+ * `->moveFile()`
+
+`->initialize()` methods
+------------------------
+
+Most symfony core classes are initialized thanks to a `->initialize()` method.
+As of symfony 1.1, this method is automatically called by `__construct()`,
+so, there is no need to call it by yourself.
+
+Configuration files loading
+---------------------------
+
+Some core classes can be configured with a `.yml` file:
+
+ *Class* | *Configuration file*
+ -------------------- | --------------------------------
+ `sfAction` | `security.yml`
+ `sfAutoload` | `autoload.yml`
+ `sfConfigCache` | `config_handlers.yml`
+ `sfContext` | `factories.yml`
+ `sfController` | `generator.yml` and `module.yml`
+ `sfDatabaseManager` | `databases.yml`
+ `sfFilterChain` | `filters.yml`
+ `sfI18N` | `i18n.yml`
+ `sfPatternRouting` | `routing.yml`
+ `sfPHPView` | `view.yml`
+ `sfViewCacheManager` | `cache.yml`
+
+In symfony 1.1, the loading of the configuration file for ''independant''
+sub-frameworks has been moved to a `loadConfiguration()` method to ease
+decoupling and reuse them without needing the whole framework:
+
+ * `sfDatabaseManager`
+ * `sfI18N`
+ * `sfPatternRouting`
+
+So, for example, if you need a database manager in your batch script,
+you will have to change from:
+
+ [php]
+ $databaseManager = new sfDatabaseManager();
+ $databaseManager->initialize();
+
+to:
+
+ [php]
+ $configuration = ProjectConfiguration::getApplicationConfiguration($application, $env, true);
+ $databaseManager = new sfDatabaseManager($configuration);
+ $databaseManager->loadConfiguration();
+
+The `initialize()` call is not needed anymore (see the point above).
+
+Web Debug
+---------
+
+The `web_debug` entry in `filters.yml` must be removed as the `sfWebDebugFilter`
+has been removed. The web debug toolbar is now injected in the response thanks
+to a listener.
+
+The `project:upgrade1.1` task makes all those changes for you.
+
+Session timeout
+---------------
+
+The `sf_timeout` setting is not used anymore. To change the session timeout,
+you now have to edit `factories.yml` instead of the `settings.yml`,
+and change the parameters of the `user` factory:
+
+ [yml]
+ all:
+ user:
+ class: myUser
+ param:
+ timeout: 1800 # session timeout in seconds
+
+Routing configuration
+---------------------
+
+The `sf_suffix`, `sf_default_module`, and `sf_default_action` settings are not
+used anymore. To change the default suffix, module, or action, you now have
+to edit `factories.yml` instead of `settings.yml`, and change the parameters
+of the `routing` factory:
+
+ [yml]
+ all:
+ routing:
+ class: sfPatternRouting
+ param:
+ load_configuration: true
+ suffix: . # Default suffix for generated URLs. If set to a single dot (.), no suffix is added. Possible values: .html, .php, and so on.
+ default_module: default # Default module and action to be called when
+ default_action: index # A routing rule doesn't set it
+
+`php.yml` configuration file
+----------------------------
+
+The `php.yml` configuration file has been removed.
+
+The only setting you will have to check by hand is `log_errors`, which was set
+to `on` by `php.yml`.
+
+`php.yml` is replaced by the `check_configuration.php` utility you can find
+in `data/bin`. It checks your environment against symfony requirements.
+You can launch it from anywhere:
+
+ $ php /path/to/symfony/data/bin/check_configuration.php
+
+Even if you can use this utility from the command line, it's strongly recommended
+to launch it from the web by copying it under your web root directory as PHP can
+use different php.ini configuration files for the CLI and the web.
+
+`$sf_symfony_data_dir` removal
+------------------------------
+
+In symfony 1.1, `$sf_symfony_data_dir` has been removed. All relevant files and
+directories from the symfony `data` directory have been moved to the `lib`
+directory:
+
+ *Old Location* | *New Location*
+ ---------------------- | -----------------------------
+ `data/config` | `lib/config/config`
+ `data/i18n` | `lib/i18n/data`
+ `data/skeleton` | `lib/task/generator/skeleton`
+ `data/modules/default` | `lib/controller/default`
+ `data/web/errors` | `lib/exception/data`
+ `data/exception.*` | `lib/exception/data`
+
+The symfony core has been upgraded to take these changes into account.
+
+sfLoader
+--------
+
+All `sfLoader` static methods (except `::getHelperDirs()` and `::loadHelpers()`)
+have been moved to the `sfProjectConfiguration` and `sfApplicationConfiguration`
+classes:
+
+ * `sfProjectConfiguration`:
+ * `->getGeneratorSkeletonDirs()`
+ * `->getGeneratorTemplate()`
+ * `->getGeneratorTemplateDirs()`
+ * `->getModelDirs()`
+
+ * `sfApplicationConfiguration`:
+ * `->getControllerDirs()`
+ * `->getTemplateDirs()`
+ * `->getTemplateDir()`
+ * `->getTemplatePath()`
+ * `->getI18NGlobalDirs()`
+ * `->getI18NDirs()`
+ * `->getConfigPaths()`
+
+sfCore
+------
+
+The `sfCore` has been removed. The code has been moved to `sfProjectConfiguration`,
+`sfApplicationConfiguration`, and `sfContext` classes.
+
+Front Controllers
+-----------------
+
+All front controllers have to be upgraded. The SF_DEBUG, SF_APP, SF_ENVIRONMENT,
+and SF_ROOT_DIR constants are gone. If you use some of these constants in your
+project, please use their sfConfig::get('') counterparts:
+
+ *Old* | *New*
+ ----------------- | ---------------------------------
+ `SF_ROOT_DIR` | `sfConfig::get('sf_root_dir')`
+ `SF_ENVIRONMENT` | `sfConfig::get('sf_environment')`
+ `SF_APP` | `sfConfig::get('sf_app')`
+ `SF_DEBUG` | `sfConfig::get('sf_debug')`
+
+The `project:upgrade1.1` task upgrades all front controllers for you.
+If you made some customizations, symfony will issue a warning and won't
+upgrade them automatically. You can then copy the default skeleton from
+symfony: /path/to/symfony/lib/task/generator/skeleton/app/web/index.php
+
+config.php
+----------
+
+All `config.php` files have been removed. The are replaced by the `ProjectConfiguration`
+class and the application configuration classes.
+
+If you've added some cutomizations in `config.php` files, you will have to migrate them
+to those new classes.
+
+Directory structure
+-------------------
+
+All `sfConfig` constants ending with `_dir_name` have been removed.
+
+Cache keys
+----------
+
+The `sfViewCacheManager::removePattern()` and `sfToolkit::clearGlob()` don't work anymore
+for removing several cache parts at once. But the `sfViewCacheManager::remove()` now
+accepts internal URIs with wildcards. So you can replace:
+
+ $cacheManager->removePattern('*/all/user/show/id/*');
+
+By:
+
+ $cacheManager->remove('user/show?id=*', '*', 'all');
+
+This also works for partials and contextual partials. You can then replace:
+
+ $cacheManager->removePattern('/sf_cache_partial/user/_my_partial/sf_cache_key/*');
+
+By:
+
+ $cacheManager->remove('@sf_cache_partial?module=user&action=_my_partial&sf_cache_key=*');
+
+And the biggets benefit is that it allows you to clear 'glob' URIs in *any* cache
+factory, not only the `sfFileCache`.
+
+Layout
+------
+
+The action template variables are not available anymore in the layout. This means that the layout
+only has access to **global** variables (all `sf_` variables) and variables registered via the
+`template.filter_parameters` event.
+
+Refer to this wiki page for more information on how to upgrade:
+
+ http://trac.symfony-project.com/wiki/Symfony11LayoutUpgrade
+
+Tasks
+-----
+
+The symfony command line task names have changed. They now use a namespace syntax. The old task names still work--they are just aliases for the new task names. Here is a table showing the name changes:
+
+ Old task name | New task name
+ ------------------------- | ----------------
+ clear-cache | cache:clear
+ clear-controllers | project:clear-controllers
+ disable | project:disable
+ downgrade | [Not implemented]
+ enable | project:enable
+ fix-perms | project:permissions
+ freeze | project:freeze
+ init-app | generate:app
+ init-batch | [Not implemented]
+ init-controller | [Not implemented]
+ init-module | generate:module
+ init-project | generate:project
+ log-purge | log:clear
+ log-rotate | log:rotate
+ plugin-install | plugin:install
+ plugin-list | plugin:list
+ plugin-uninstall | plugin:uninstall
+ plugin-upgrade | plugin:upgrade
+ propel-build-all | propel:build-all
+ propel-build-all-load | propel:build-all-load
+ propel-build-db | propel:build-db
+ propel-build-model | propel:build-model
+ propel-build-schema | propel:build-schema
+ propel-build-sql | propel:build-sql
+ propel-convert-xml-schema | propel:schema-to-yml
+ propel-convert-yml-schema | propel:schema-to-xml
+ propel-dump-data | propel:data-dump
+ propel-generate-crud | propel:generate-crud
+ propel-init-admin | propel:init-admin
+ propel-init-crud | [Not implemented]
+ propel-insert-sql | propel:insert-sql
+ propel-load-data | propel:data-load
+ sync | project:deploy
+ test-all | test:all
+ test-functional | test:functional
+ test-unit | test:unit
+ unfreeze | project:unfreeze
+ upgrade | project:freeze
+
+As before, if you want to list the available tasks, just call the `symfony` command with no argument:
+
+ > php symfony
+
+NOTE to early adopters
+----------------------
+
+If you have upgraded your project and have a `lib/ProjectConfiguration.class.php` file,
+then you need to upgrade your project manually before being able to launch the
+`project:upgrade1.1` task.
+
+Here is how:
+
+ * Move `lib/ProjectConfiguration.class.php` to `config/ProjectConfiguration.class.php`
+
+ * Change the path to symfony in `config/ProjectConfiguration.class.php` if needed.
+
+ * Move all your application configuration classes (`lib/$APP_NAME$Configuration.class.php`)
+ to their respective `apps/$APP_NAME$/config/` directory.
+
+ * Remove the `require_once dirname(__FILE__).'/ProjectConfiguration.class.php';` in all
+ the application configuration classes.
+
+ * Change the location of `ProjectConfiguration.class.php` in the main `symfony` script to `config/`
+
+ * Change your front controllers so they look like this:
+
+ [php]
+ <?php
+
+ require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
+
+ $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', true);
+ sfContext::createInstance($configuration)->dispatch();
+
+You can now launch the `project:upgrade1.1` script to finish the upgrade.
View
812 lib/vendor/symfony/UPGRADE_TO_1_2
@@ -0,0 +1,812 @@
+Upgrading Projects from 1.1 to 1.2
+==================================
+
+This document describes the changes made in symfony 1.2 and what need
+to be done to upgrade your symfony 1.1 projects.
+
+If you want more detailed information on what has been changed/added in symfony 1.2,
+you can read the [What's new?](http://www.symfony-project.org/tutorial/1_2/whats-new) tutorial.
+
+>**CAUTION**
+>symfony 1.2 is compatible with PHP 5.2.4 or later.
+>It might also work with PHP 5.2.0 to 5.2.3 but there is no guarantee.
+
+How to upgrade?
+---------------
+
+To upgrade a project:
+
+ * Check that all plugins used by your project are compatible with symfony
+ 1.2
+
+ * If you don't use a SCM tool, please make a backup of your project.
+
+ * Upgrade symfony to 1.2
+
+ * Launch the `project:upgrade1.2` task from your project directory
+ to perform an automatic upgrade:
+
+ $ php symfony project:upgrade1.2
+
+ This task can be launched several times without any side effect. Each time
+ you upgrade to a new symfony 1.2 beta / RC or the final symfony 1.2, you
+ have to launch this task.
+
+ * Upgrade the plugins to their 1.2 version
+
+ * You need to rebuild your models and forms due to some changes described
+ below (read below how to upgrade to Propel 1.3 first):
+
+ $ php symfony propel:build-model
+ $ php symfony propel:build-forms
+ $ php symfony propel:build-filters
+
+ * Clear the cache:
+
+ $ php symfony cc
+
+The remaining sections explain the main changes made in symfony 1.2 that need
+some kind of upgrade (automatic or not).
+
+Upgrade to 1.2 final
+--------------------
+
+If you have upgraded your 1.1 project before 1.2 final, you need to check the
+following things:
+
+ * If you have generated CRUD modules with the `--non-verbose-templates` options,
+ you need to remove the extra `$form->renderHiddenFields()` statement in the `_form.php`
+ template. If not, you can have erroneous "CSRF attack detected" error messages.
+
+ * For all generated CRUD modules, and if you have enabled CSRF protection, you need
+ to insert `$request->checkCSRFProtection()` at the beginning of the generated
+ `executeDelete()` method to be protected from CSRF attacks.
+
+Propel
+------
+
+Propel has been upgraded to version 1.3, which replaces support for Creole
+with PDO.
+
+Due to the removal of Creole, the following classes are removed:
+
+ *class name* | *equivalent*
+ ------------------------ | -------------------------------
+ `sfCreoleDatabase` | `sfPropelDatabase`
+ `sfDebugConnection` | `DebugPDO`
+ `sfMessageSource_Creole` | `sfMessageSource_PDO`
+ `sfCreoleSessionStorage` | `sfPDOSessionStorage`
+
+The `propel:build-db` task has been removed as this functionality is not yet
+provided by Propel 1.3.
+
+The first step to upgrading is changing from Creole to PDO syntax in the
+database configuration from the project `databases.yml` file.
+
+Locate the following:
+
+ [yml]
+ all:
+ propel:
+ class: sfPropelDatabase
+ param:
+ dsn: mysql://username:password@localhost/example
+
+Replace with the following:
+
+ [yml]
+ dev:
+ propel:
+ param:
+ classname: DebugPDO
+
+ test:
+ propel:
+ param:
+ classname: DebugPDO
+
+ all:
+ propel:
+ class: sfPropelDatabase
+ param:
+ dsn: mysql:dbname=example;host=localhost
+ username: username
+ password: password
+ encoding: utf8
+ persistent: true
+ pooling: true
+ classname: PropelPDO
+
+Next, you must also upgrade the `propel.ini` with the PDO format DSN and updated
+configuration options.
+
+Locate the following:
+
+ [ini]
+ propel.database = mysql
+ propel.database.createUrl = mysql://username:password@localhost/
+ propel.database.url = mysql://username:password@localhost/example
+
+Replace with the following:
+
+ [ini]
+ propel.database = mysql
+ propel.database.driver = mysql
+ propel.database.url = mysql:dbname=example;host=localhost
+ propel.database.user = username
+ propel.database.password = password
+ propel.database.encoding = utf8
+
+Since the underlying api has changed quite a bit, you need to rebuild the
+object model:
+
+ $ php symfony propel:build-model
+
+In most cases, this will be all that is required. If you have customized
+object model classes, you may need to manually upgrade for the changes in
+API from Creole to PDO. The upgrade task will attempt to change method
+signatures to match the `Persistent` interface, by adding type hinting for
+PropelPDO in `->save($con = null)` and `->delete($con = null)`.
+
+Change instances of:
+
+ [php]
+ public function save($con = null)
+ public function delete($con = null)
+
+To add PropelPDO type hint:
+
+ [php]
+ public function save(PropelPDO $con = null)
+ public function delete(PropelPDO $con = null)
+
+The transaction api has change slightly: `->begin` has been renamed `->beginTransaction()`
+and `->rollback()` has been renamed `->rollBack()`. Here are the differences:
+
+`Creole`:
+
+ [php]
+ $con->begin();
+ try {
+ /* db logic */
+ $con->commit();
+ } catch (SQLException $sqle) {
+ $con->rollback();
+ throw $sqle;
+ }
+
+`PDO`:
+
+ [php]
+ $con->beginTransaction();
+ try {
+ /* db logic */
+ $con->commit();
+ } catch (PDOException $sqle) {
+ $con->rollBack();
+ throw $sqle;
+ }
+
+The `::doSelectRS` method has been renamed to `::doSelectStmt`. Here are the differences:
+
+`Creole`:
+
+ [php]
+ // example of how to manually hydrate objects
+ $rs = AuthorPeer::doSelectRS(new Criteria());
+ while($rs->next()) {
+ $a = new Author();
+ $a->hydrate($rs);
+ }
+
+ // example of how to create array of single column
+ $rs = AuthorPeer::doSelectRS(new Criteria());
+ $names = array();
+ while($rs->next()) {
+ $names[] = $rs->getString(2);
+ }
+
+ $con = Propel::getConnection(SomeTablePeer::DATABASE_NAME);
+ $stmt = $con->prepareStatement("SELECT * FROM some_table WHERE name = ?");
+ $stmt->setString(1, $name);
+ $rs = $stmt->executeQuery();
+ while($rs->next()) {
+ print "Name: " . $rs->getString("name") . "\n";
+ }
+
+
+`PDO`:
+
+ [php]
+ // example of how to manually hydrate objects
+ $stmt = AuthorPeer::doSelectStmt(new Criteria());
+ while($row = $stmt->fetch(PDO::FETCH_NUM)) {
+ $a = new Author();