This week started with the introduction of the new symfony templating component. Afterwards, the long-awaited first alpha version of symfony 1.3 was published, including lots of updated documentation. The week ended with the release of symfony 1.2.9.

Development highlights

  • r22224: [1.3] removed setting of sfConfig vars when assets are included (no longer needed since the common filter has been removed)
  • r22227: [1.3] added a developer-friendly method for working with plugins once all plugin configuration objects are created
  • r22234: [1.3] removed the doc/ directory from the project skeleton as this directory is never used by symfony core
  • r22246, r22247: [1.3] updated Swift Mailer to the new 4.1 branch
  • r22249: [1.3] refactored mailer support
  • r22261: [1.3] refactored choice widgets and validators
  • r22262, r22263: [1.3] remove usage of ChoiceMany widgets and validators as they are now deprecated
  • r22268: [1.3] added new widget and validator for timezone
  • r22272: [1.3] force exceptions to be displayed in the txt format when using CLI
  • r22273: [1.3] fixed star params are overriden by default parameters
  • r22275: [1.3] changed default ORM for the generate:task task
  • r22312: [1.3] updated link_to_if and link_to_unless helpers to work with new link_to signature introduced in symfony 1.2
  • r22377: [1.3] fixed sfValidatorDate to let it work with dates before and after timestamp range
  • r22401: [1.2, 1.3] fixed form field render method so widget schema id format is applied
  • r22402: [1.3] added use_javascripts_for_form and use_stylesheets_for_form helpers, updated admin generators to use these
  • r22404: [1.3] enhanced sfAction::redirect() so it can be called with a url_for2() style signature
  • r22426, r22427: [1.3] removed --size-only and reverted default rsync options for project:deploy
  • r22441, r22442: [1.3] added methods to control the CSRF protection from the configure() method
  • r22446: [1.3] added a fluent interface to the form framework
  • r22452: [1.3] fixed PUT and DELETE parameters
  • Milestone 1.3.0 alpha1 completed
  • Milestone 1.2.9 completed
  • sfDoctrinePlugin:
    • r22264: [1.3] added min/max options to Propel and Doctrine Choice validator
    • r22286: [1.3] added argument for providing additional constructor arguments when embedding forms for a doctrine relation, removed sfToolkit dependency
    • r22305: [1.3] removed unused and pointless options "connection" and "alias" from sfValidatorDoctrineChoice
    • r22402: [1.3] added use_javascripts_for_form and use_stylesheets_for_form helpers, updated admin generators to use these
    • r22403: [1.3] removed "is empty" checkbox from generated form filter string/varchar widgets if column is notnull
    • r22404: [1.3] enhanced sfAction::redirect() so it can be called with a url_for2() style signature
    • r22422: [1.3] changed doctrine and propel data-load tasks so directories or files are passed as arguments
  • sfPropelPlugin:
    • r22264: [1.3] added min/max options to Propel and Doctrine Choice validator
    • r22277: [1.2, 1.3] fixed connection name when running propel:build-schema
    • r22278: [1.2, 1.3] fixed propel:build-schema when several connections are defined
    • r22299: [1.3] enhanced performance of sfValidatorPropelChoice
    • r22402: [1.3] added use_javascripts_for_form and use_stylesheets_for_form helpers, updated admin generators to use these
    • r22403: [1.3] removed "is empty" checkbox from generated form filter string/varchar widgets if column is notnull
    • r22422: [1.3] changed doctrine and propel data-load tasks so directories or files are passed as arguments
  • ...and many other changes

Symfony components

  • yaml:
    • r22405: added error handling for preg_match error results returning specific error messages
  • templating:
    • r22215: added the component code and full documentation
    • r22256: removed deprecated language attribute for JS helper
    • r22269: fixed bug when base path is 0

Development digest: 309 changesets, 38 bugs reported, 31 bugs fixed, 11 enhancements suggested, 21 enhancements closed, 7 documentation defects reported, 3 documentation defects fixed, and 37 documentation edits.

Documentation

New symfony bloggers

Plugins

  • New plugins
  • Updated plugins
    • sfYQLPlugin: first version of a 'select' feature in the plugin
    • diemPlugin:
      • made module manager non-static and replaced static references to module manager everywhere
      • added module manager to context factories
      • added sfTemplate to vendor dir
      • now all module configuration and hierarchy is preprocessed and cached
      • added module path processing into config cache for performance
      • splitted dmModuleConfigHandler in dmAdminModuleConfigHandler & dmModuleConfigHandler
      • moved modules direct actions checks to config cache
      • added ability to show / hide dispatcher dependencies in admin diagram generators
      • added moduleManager dependency to dmWidgetBaseView
      • improved performance in dmWidgetTypeManager
      • fixed dmDoctrinePager Iterator interface borken by doctrine collection
      • moved modules, module Spaces and moduleTypes slug generation to admin routing config cache
      • refactored dmDoctrineTableExport
      • added gmap configuration and jmap jquery plugin
      • added dmResponse->withGoogleMap method
      • improved admin homepage extensibility
      • made admin actions and components overridable
      • fixed doctrine admin module configuration
      • added dmDoctrineForm unsetAutoFields method
      • ajax responses now use json to pass multiple parameters
      • added is_indexable i18n field to DmPage to know if web crawlers are allowed to access it
      • added createI18nForm and mergeI18nForm methods to dmFormDoctrine
      • deprecated model DmMetaWrap and replaced it by dmConfig
      • removed mailer from factories and loaded only on demand for performance boost
      • restored admin breadCrumb
      • fixed dmGuardPlugin not loaded on certain tasks
      • admin routing no more relies on i18N
      • added conveniance methods to dmDoctrineRoute
      • disabled APCCache opcode removal on clear cache to fix strange behaviours
      • improved module manager config handler to make all its classes configurable in factories.yml
      • moved module hierarchy consistency checks to config cache
      • reduced memory print in admin
      • added markdown helper
      • improved image media tag exceptions management
      • made admin homepage more extensible
      • improved javascript performances by lazy loading menus
      • added dmTableTag service to service container
      • added getAssociationByRefClass method on relation holder
    • sfKacynNewslettersPlugin: initial commit
    • pkToolkitPlugin: removed symfony-specific obsolete logging messages, moved jquery autogrow plugin to toolkit to be with all of the other jquery plugins and enhancements we use, if a user tries to edit a chunk manually from the URL it should throw a 404 and not an sfException
    • psToolboxPlugin: added psNamedCache class
    • pkContextCMSPlugin: moved jquery.autogrow.js to pkToolkitPlugin because it is an enhancement not a functional necessity, cache privileges on a per-user basis, documented how to test whether an engine page has actually been set before attempting to generate links to it from another page, handle query strings properly in engine URLs, hydrate() now resets the caches, search is now included in the cmstest project
    • sfImagesOnDatabasePlugin: initial commit
    • sfFacebookConnectPlugin: fixed incorrect case of Criteria class, added new light medium long button
    • swFormDynamicPlugin: added license and README, fixed migration errors
    • sfEasyAuthPlugin: a flag can now be given to the setPassword method to force skipping hashing the password (useful when migrating existing data)
    • sfLucenePlugin: restored addSane method, fixed typo, added callback implementation
    • ysfYUIPlugin: added options for debug panel
    • sfDoctrineGuardPlugin: removed forms/filters for many to many tables
    • mgI18nPlugin: updated documentation, added big improvement in loading messages, use sfCacheClearTask to remove i18n cache entries, added event to remove cache, added htmlentities to escape html in the popup
    • ysfOpenPlugin: removed opensocial bundled OAuth library, update yaml for 1.1 spec
    • sfTaskLoggerPlugin: added logSection method, corrected log functions, fixed log messages
    • sfAssetsLibraryPlugin: fixed a bug on asset type check
    • sfUnobstrusiveWidgetPlugin: fixed the sfuoWidgetTable doRender method
    • pkMediaPlugin: added original height x width dimensions to the Meta Data displayed underneath an image in the Media module
    • sfExtjsThemePlugin: added math fix GridView::autoExpand for horizontal scrolled grids so they don't vertical scroll unnecessarily
    • csDoctrineActAsSortablePlugin: fixed failed SQL generation with multi sortable table on PostgreSQ
    • csSEOToolkitPlugin: fixed redirect issue
    • sfCombinePlugin: fixed asset version feature, manages relative paths in css files
    • sfJqueryReloadedPlugin: use jq_ prefix on global variable
    • sfSmartyPlugin: applied patch to fix camelcase issue
    • sfFilebasePlugin: fixed a minor bug that caused the script to crash when an exception was thrown

New symfony powered websites

  • Monkeycode: (Russian) collectioning funny or beautifull pieces of code
  • Wamiz: (French) French portal about domestic pets
  • Makoondi: (Spanish) website for shared apartments.
  • JobSelector.com: (Russian) Jobs/resumes publishing web site for xUSSR countries

They talked about us

Published in #A week of symfony