A week of symfony #151 (16->22 November 2009)

Release Candidates for symfony 1.3 and 1.4 were released this week. Although final versions are just one week away, symfony core team continued adding some enhancements and improving performance. In addition, Symfony 2.0 branch was created updating some components and adding the new Output Escaper component.

Development mailing list

Development highlights

  • r23995: [1.3, 1.4] reduced size of serialized sfRoute slightly due to the fact that defaultParameters will be always reset and compiled will be always true
  • r24007: [1.3] removed unnecessary calls to sfConfig, cleaned up shortening of paths used in exception messages
  • r24012: [1.3, 1.4] options within optgroups are translated correctly, optgroup labels are translated as well
  • r24015: [1.3, 1.4] static texts in native widgets are translated by default
  • r24017: [1.3] removed more calls to is_null()
  • r24018: [1.3] fixed command.* events not firing from generate:app task
  • r24020: [1.3] added loadHelpers to project:optimize
  • r24021: [1.3, 1.4] added short circuit checking for a static route prefix. Improves performance with many routes by up to 25%
  • r24027: [1.3, 1.4] changed components dependencies to use the 1.0 branch
  • r24032: [1.3] moved project:optimize cache from project to application configuration
  • r24034: [1.3, 1.4] rolled back asset timestamping enhancement
  • r24037: [1.3] deprecated loading of helpers from the include path
  • r24042: [1.4] removed loading of helpers using the include path
  • r24043: [1.3, 1.4] added generic accessor for security.yml values
  • r24045: [1.3, 1.4] renamed listCredentials() as getCredentials(), removed the former in 1.4
  • r24047, r24048, r24049: [lime] released lime 1.0.8 for sf 1.3
  • r24052: [lime] fixed double tester for infinite doubles
  • r24053, r24054: [2.0] added Lime 2.0 and the components to the new 2.0 branch
  • r24058: [2.0] added the base autoloader
  • r24059: [2.0] replaced the usage of dirname(__FILE__) by __DIR__
  • r24061: [1.3, 1.4] removed unneeded calls to setDefaultParameters by checking for a dirty flag
  • r24062: [1.3, 1.4] fixed issue with autoloading not correctly sorted in Windows
  • Milestone 1.3.0 RC1 completed
  • Milestone 1.4.0 RC1 completed
  • r24099: [2.0] updated tests to use the new Lime* classes
  • r24101: [2.0] added Output Escaper component
  • r24137: [1.3, 1.4] fixed invalid id attributes generation in sfWidgetForm
  • r24189: [lime] fixed parent method calling in PHP 5.3
  • r24217: [1.3, 1.4] fixed embedded forms in functional tests
  • sfDoctrinePlugin:
    • r24051: [1.3, 1.4] made all generated base classes abstract
    • r24060: [1.3, 1.4] added database arguments to doctrine create and drop database tasks
    • r24063: [1.3, 1.4] cleaned up generator templates
    • r24068: [1.3, 1.4] added check for generate*Filename method on form object to handle naming uploading files
    • r24132: [1.3, 1.4] fixed sfWidgetFormInputFileEditable
    • r24150: [1.3, 1.4] enhanced doctrine:dql task to accept query parameters and render how long a query took
    • r24215: [1.3, 1.4] fixed missing actions_base_class for Doctrine Generator
  • sfPropelPlugin:
    • r24011: [1.3] fixed coding standards, added simple test coverage for sfPhing
    • r24051: [1.3, 1.4] made all generated base classes abstract
    • r24063: [1.3, 1.4] cleaned up generator templates
    • r24068: [1.3, 1.4] added check for generate*Filename method on form object to handle naming uploading files
    • r24091, r24092, r24093, r24094: [1.3, 1.4] updated italian, polish, greek, czech admin generator translation
  • ...and many other changes

Symfony components

  • dependency injection:
    • r24219: [2.0] made some minor optimizations to XML loading
    • r24220: [2.0] moved services.xsd
  • yaml:
    • r24218: [2.0] removed usage of create_function()

Development digest: 260 changesets, 59 bugs reported, 43 bugs fixed, 11 enhancements suggested, 19 enhancements closed, 9 documentation defects reported, 17 documentation defects fixed, and 3 documentation edits.

Documentation

Plugins

  • New plugins
  • Updated plugins
    • swFormExtraPlugin: fixed segmentation fault with php 5.2 version
    • diemPlugin:
      • removed symply-buttons-v2 library
      • removed deprecated dmAdminConfig.js and dmFrontConfig.js
      • removed deprecated sfWidgetFormDmFilterDate and sfWidgetFormDmFilterInput classes
      • fixed administration loremization links
      • fixed various bugs in admin media library actions and forms
      • improved admin media library look&feel
      • made doctrine Sortable extension more robust
      • fixed dmDoctrineFormFilterGenerator
      • fixed PluginDmMedia->copyTo and PluginDmMedia->backup methods
      • improved performances on PluginDmMediaTable
      • improved xhr requests detection in dmWebRequest
      • fixed ui.dialog overload in dmCoreEditPlugins when dialog lib is loaded asynchronously
      • made $.dbg jQuery function more robust
      • added exception when module has no table in dmWidgetProjectModelView->configure method
      • made front list widget maxPerPage option not required (if null or ==0, all items are displayed)
      • Allowed link drag & drop in admin markitup textareas
      • fixed links to page record in admin
      • made automatic page SEO preview more robust
      • added dm_xhr parameter to all ajax calls
      • made search engine update more robust and give more information on error
      • fixed front widget ajax update when file uploaded
      • fixed link drag & drop on front widgets
      • made dmBaseActions->renderJson handle special case of json return as a response to a file upload with jquery.form
      • added parent validation in dmModuleManagerConfigHandler
      • improved performance on dmDoctrineQuery->withI18n method by allowing to pass the rootAlias as a parameter
      • fixed dmForm->removeCsrfProtection to make it work even before the field has been set up
      • made dmFileLog->getEntries method work even if function mb_strlen does not exist
      • added dmMarkdown->replaceInternalLink method
      • improved dmMarkdown->brutalToText to handle links
      • fixed markdown tables
      • cached width and height attribute in PluginDmMedia class
      • handled pages with no more modules in PluginDmPage class, and allowed to delete them in front interface
      • improved nearly all methods of PluginDmPageTable class to gain some boost
      • disabled list page creation for modules without show page
      • added keywords usage test in dmSearchPageDocument class
      • made dmMediaTagImage show the original image when there is nothing (size, filter, overlay...) to modify in order to avoid PNG problems
      • fixed front page tree pages urls
      • improved dmWidgetNavigationBreadCrumbView class and added the dm.bread_crumb.filter_pages event to allow to filter and modify the pages list from outside
      • dmWidgetListForm now defaults orderField to "position" for Sortable tables
      • fixed dmWidgetContentMediaView->doRenderIndex
      • dmWidgetAdvancedSearchFormView now defaults the query to the request query parameter if any
      • made front search results widget maxPerPage field not required
      • fixed various bugs in dmWidgetAdvancedSearchResultsView
      • added titlePosition field in front text widget form (defaults to 'outside')
      • made front code editor use the helper service to return the stylesheet path for asynchronous reload
      • improved search results widget default template
      • improved documentation
      • addedDmTableRelationHolder->getForeignByClass method
      • improved admin response automatic title
      • added dmContext->reloadModuleManager method
      • added anchor option to form rendering
      • improved dmForm hidden field automatic rendering
      • fixed dmFormDoctrine autoFieldsToUnset
      • reloaded module manager during setup task
      • added dmCoreLayoutHelper->getMetas method and improved metas rendering
      • added dm.response.filter_metas filter to filter and modify the metas list just before rendering
      • added validate option to automatic functional tests
      • fxed dmConfigForm boolean widget defaults
      • improved dmScriptNameResolver
      • made dmAuth->signin redirect to front if user is not allowed to acces administration
      • global cleanage
      • removed deprecated models and modules for DmAbbr & DmLang
      • refactored i18n message source to use pdo with doctrine connection
      • removed deprecated admin filters dm_seo & dm_html
      • added i18n and helper dependency to admin bread_crumb service
      • replaced all remaining ugly static accesses by beautifull service container accesses
      • added helper dependency to admin log_view service
      • removed html validation because symfony 1.4 now does it in functional tests
      • added dm_ prefix to template translation tables
      • added helper dependency to the markdown service
      • removed seo validation utilities
      • removed automatic orderBy table options in Sortable doctrine extension because it makes complex requests fail
      • removed deprecated dmInitFilter->saveHtml method
      • cleaned dmWebResponse and asset compressors
      • removed deprecated methods in dmBaseServiceContainer
      • improved dmFrontFunctionalTest performance
      • dmMediaTagImage->overlay now requires a dmMediaTagImage instance as argument
      • removed html validation methods from javascript controllers
      • cleaned widget views, dmFrontInitFilter and dmFrontBaseServiceContainer
      • added dmFrontHelper & dmAdminHelper classes to implement the helper service
      • made sitemap generation more robust
      • moved mb_internal_encoding configuration to dmCorePluginConfiguration
      • added configurable automatic ids for header in markdown service
      • improved skeleton
      • added helper service getter in dmBaseActions
      • added truncation in log entries configuration
      • allowed to add anchors to markdown internal links
      • improved server check
      • added helper service getter in layout_helper service
      • removed deprecated dmWebDebugPanelTimer
      • disabled automatic admin csv export as it is not ready yet
      • added one service per link_tag type and media_tag type
      • added ability to inject dmConfig values to the service container builder with dmServiceContainerLoaderConfiguration class
      • added default title widget on project creation
      • fixed dmPermissionsTask
      • added permissions check to dmSetup task
      • fixed refresh popup style in front
      • added dmFrontDoctrineHelper->setContext method and made service container call it
      • improved front component comments generation
      • fixed dmFrontDoctrinePager bad links when refreshed with ajax
      • made front default page layout more robust
      • added dmUpgradeTask to ensure Diem backward compatibility
      • deprecated dmGenerateMigrationTask and dmSpriteTask
    • nahoMailPlugin: fixed declare body as part (even when attachment is an embedded image), fixed relative_root_url when in CLI for image_path(), fixed incorrect recipient detection in some cases
    • sfFacebookConnectPlugin: fixed typo on sfFacebookConnectRememberMeFilter
    • sfLucenePlugin: updated task to remove accent, added language detector for the SnowballPorterFilterFactory, tweaked the WordDelimiterFilterFactory
    • csDoctrineActAsAttachablePlugin: upgraded for symfony 1.4
    • sfExtjsThemePlugin: removed combo check for filter setup no that filter combos autocomplete, added using like for the jsonCombo namespace on combo filter fields, added xtype setting for foreign edit columns, editor fixes for deeply nested relations, fixes for editor panels, added new default _edit rowaction, fixed editor titles, rowactions fix for multiple credentials
    • sfFilebasePlugin: fixed unit test
    • sfMapfishPlugin: updated README so that the URLs match the new website
    • sfDoctrineJCroppablePlugin: removed extraneous ampersands from parameters for configureJCropWidgets & configureJCropValidators which were causing warnings on PHP 5.3.x
    • pkMediaCMSSlotsPlugin: the current site's prefix is now correctly removed from URLs
    • pkToolkitPlugin: pkHtml::simplify() now allows you to specify a set of allowed CSS style properties for particular HTML elements, SubCrud actions now work with doctrine routes only, pkTaskTools::setCliHost() juggles environment variables to set a reasonable hostname for emails generated by tasks, fix for reordering of images in slideshow
    • sfUnobstrusiveWidgetPlugin: check method exists before use them in sfUoWidgetAdminMenu, fixed documentation example
    • pkBlogPlugin: changed basic structure and class names
    • pkContextCMSPlugin: tweaked default template, navigation changes and fixes
    • sfErrorHandlerPlugin: lots of changes and contributions applied
    • pkMediaPlugin: baby steps toward switching to the pkAdmin form formatter
    • pkPersistentFileUploadPlugin: The new default-preview option allows you to specify a path to an existing image to be displayed as the preview on the first pass, and on subsequent passes if the user hasn't managed and/or chosen to select a valid replacement image yet
    • sfEasyGMapPlugin: added direction
    • sfWorkerQueuePlugin: encapsulated doctrine calls into separate php process to avoid memleaks
    • csNavigationPlugin: adding ability to pass menu parameter to helpers/components to pull from a specific menu
    • sfDoctrineGuardPlugin: fixed documentation to mention enabling the plugin and the doctrine plugin

They talked about us

Comments

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.