Subject: CVS commit: pkgsrc/www/php-concrete5
From: Ryo ONODERA
Date: 2013-06-09 06:11:01
Message id: 20130609041101.D3BE796@cvs.netbsd.org

Log Message:
Update to 5.6.1.2

* Update MESSAGE
* Create empty directories for out-of-the-box running.

Changelog:
5.6.1.2 Release Notes
Bug Fixes

    Fixed bug where sites had no CSS under certain circumstances
    Better support for multilingual page names while retaining XSS protection.
    Fixed scrollbar not returning on second open of dialog.
    Quieter errors if page cache errors out in mkdir or unlink
    Fixed JavaScript bugs in Date Nav edit mode (thanks synlag)

Developer Updates

Added a new constant for PAGE_PATH_SEGMENT_MAX_LENGTH, that defaults to 128. \ 
This is the number of characters that URL segment can be (passed to the URLIfy \ 
library.)

5.6.1.1 Release Notes
Feature Updates

    Sends an email upon user activation (for sites that keep users inactive \ 
until they’re approved.)

Bug Fixes

    Fixed error installing block add-on if other add-ons had already been installed.
    Fixed inability to set advanced permissions on blocks in areas with spaces \ 
or certain other special characters in them (a previous 5.6.0.2 bug fixed this \ 
problem at the area level, but not at the block level.)
    Fixed broken bulk page delete interface.
    Fixed inability to upgrade from 5.5.2.1 to 5.6.1
    Fixed incorrect usage of getPermissionCollectionID for cache identifier (it \ 
was supposed to be used for caching in certain situations but was not. Should \ 
lessen the amount of queries on some pages.)
    Fixed this \ 
http://www.concrete5.org/developers/bugs/5-6-1/5.6.1-fatal-error-call-to-a-member-function-getcollectionid/
    Fixed \ 
http://www.concrete5.org/developers/bugs/5-6-1/modal-exit-sets-overflowauto-on-body-tag-which-should-actually-b/#discussionpost
    Fixed bug where blocks in global headers wouldn’t display their custom \ 
design values in the design dialog (although they would work in the page.)
    Fixed: HTML showing as text in file attributes, better display value in file \ 
attributes in general.
    Fixed file version not updating due to cache.
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-1/local-page-cache-doesnt-clear-on-new-version/
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-1/cannot-call-method-hide-of-undefined/
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-1/layout-loading-preset-buttons/
    Fixed UserAttributeKey::getByHandle() returning -1 in some cases.
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-1/intelligent-search-wont-work-when-quick-link-has-been-deleted/
    Fixed: http://www.concrete5.org/developers/bugs/5-6-1/another-block-design-issue/
    Fixed: Survey Block error if no option is selected
    Fixed: Upgrade from 5.6.0.2 - Error: Block Type cannot be installed because \ 
no db.xml file can be found
    Fixed: Words in URLs are removed even if "Excluded URL Word List" \ 
is empty
    Fixed error in setup on child pages if pages had had their page types \ 
changed in the past.
    Fixed: Deleting a basic workflow kills editing in some cases
    Fixed: Fatal Error when paste a Page List block with rss enabled
    Fixed: PageCache Library fails to Output Cache Headers once cached
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-1/composer-changes-not-published/ \ 
(Thanks Remo)
    Fixed: http://www.concrete5.org/developers/bugs/5-6-1/clash-with-cache-class

Developer

    Fixed inability to override text helper in the core.

5.6.1 Release Notes
Performance Improvements

    Removed much of the cache library and rewrote calls to dramatically improve \ 
performance.
    Completely New Page Caching Library
        Plugabble for working with proxy servers and caching libraries
        Fires much earlier and requires far fewer resources to run (and no \ 
database connections)
        Pages can be checked for inclusion in the cache and expired manually \ 
from within the speed settings dialog (which has been renamed Full Page Caching)
        Proper page cache headers are written.
    Faster and more reliable customized theme generation (which points to the \ 
cached CSS file directly for better performance.)
    Environment/override cache is now stored in the files/cache/ directory \ 
(meaning that deleting this directory will clear the override cache, and that it \ 
can be accessed without hitting the database)
    Block caching is now stored in the database for faster lookups
    Improved general performance of the dashboard by limiting unneeded database \ 
lookups
    Form block only uses jQuery UI when necessary (thanks jordanlev)

Feature Updates and Behavioral Improvements

    Added the ability to control which words are excluded from URLs for SEO \ 
purposes (found in Dashboard > System and Settings > SEO > Excluded \ 
from URL Words)
    Improved display of Next/Previous block in edit mode. Re-introduced \ 
“Exclude System Pages” to the block, defaulted to on.
    Now we notify users if their cookies are disabled when they attempt to login \ 
(thanks olsgreen)
    Slideshow Improvements
        Slideshow automatically clears, making it work better in Greek Yogurt theme.
        Slideshow height doesn’t jump around as much (thanks Remo)
    Google maps less intrusive on failure.
    Added button to delete all form responses for a particular form (thanks \ 
luisbarresco)
    Better fix for this: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/5.0.6.2-help-popup-window-sticks-on-the-screen/
    Including Italian Provinces (thanks mlocati)

Bug Fixes

    Composer now honors approve and move workflow.
    Composer now honors advanced property and page attribute permissions.
    Fixing permissions loophole where users who couldn’t add blocks to \ 
particular areas could add them to other areas and then move them into the \ 
areas.
    Fixed: When applying design to area, it cascades to other areas
    Fixed occasional white page with a JSON response when saving in Composer.
    Added back the ability to have periods in additional page path names.
    Fixed advanced permission bug where Schedule Guest Access on blocks - locks \ 
site behind login screen
    Re-allowed dashes in File set names (thanks danklassen)
    Fixed translation bugs in 5.6.0 that had to do with the localization library \ 
not returning an object.
    Fixed permission bugs on some complicated sites updating from 5.5 to 5.6.
    Fixed XSS vulnerability in composer crop image.
    Minor XSS vulnerability fixes throughout.
    Better integration with Bootstrap themes.
    Added SVG to file extension list by default (thanks Remo.)
    Fixed incorrect syntax in generated sitemap: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/generated-sitemap-incorrect/ \ 
(thanks Remo)
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/typo-in-uninstall-package-page/ \ 
(thanks Remo)
    Fixed “Wrong parameter count for array_unique” that occurred on \ 
PHP < 5.2.10 on adding/updating user groups (thanks Remo)
    Added $_REQUEST variable to the variables sanitized for magic quotes when \ 
magic_quotes_gpc is enabled (thanks Remo.)
    Specifying a user in the legacy permissions XML would fail because it tried \ 
to use the Group object. This is fixed.
    When logging in via email, the email address is now correctly sent in the \ 
forgot password template.
    Fixed \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/wrong-declaration-in-concretetoolsfilesget_data.php/ \ 
(thanks Remo)
    Fixed \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/group_set.php-class-name-typo/#discussionpost \ 
(Thanks Remo)
    Fixed event registrations getting lost to new 5.6 class structure and \ 
singleton pattern.
    Fixed lots of bugs with layouts, including moving up and down, layouts with \ 
presets, some inconsistencies (thanks shelkie and smartwebprojects)
    Dashboard Pages can now have their titles localized (in the HTML title tag) \ 
(thanks mlocati)
    Minimum required PHP version updated to 5.2.4 and enforced during install.
    Added Loader::job() method (thanks JohnTheFish)
    Fixed bug where deleting an administrator group could cause problems in site \ 
access (thanks jamietellin)
    Fixed ugly SQL error that would occur if you tried to save a composable page \ 
type with a particular parent and then didn’t select that parent.
    Too small version compare/preview window in Firefox and IE has been fixed
    Fixing bugs in basic workflow notification \ 
(http://www.concrete5.org/developers/bugs/5-6-0-2/workflow-notify-on-approve-event-ignored/)
    Fixed breadcrumb auto-nav template not putting a separator between certain \ 
nav elements
    Fixed SQL error on search by theme on sites that upgraded before 5.6.0
    Page type names are now less restrictive
    Lots of HTML fixes (mis-nested tags, incorrect tags, etc...) (thanks mlocati)
    Added SVG to image file types (thanks Remo)
    pkgID is now correctly duplicated on pages that have it set
    Fixing bug where custom styles on a block would disappear if a layout was \ 
added to that area (thanks mlocati.)
    Fixed: getStyleSheet in conjunction with caching does not make allowance for SSL
    ogg, ogv, and  as videos (thanks mlocati)
    Changing attributes in sitemap or page search in dashboard wouldn’t \ 
trigger a page reindex. This has been fixed.
    Better feedback and redirects when adding pages or deleting pages in sitemap \ 
flat view.
    Included newempty-trash-if-a-page-is-not-approved./ (Thanks remo)
    Bug Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/editable-styles-with-spaces/ \ 
(Thanks remo)
    Bug Fixed: \ 
http://www.concrete5.org/developers/bugs/5-5-2-1/survey-block-pie-chart-shown-i  \ 
Fixed \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/the-result-page-selection-is-not-saved-when-you-add-or-edit-the-/#discussionpost
    Fixed \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/google-maps-error-on-dashboard-when-used-in-global-area/
 al odd behavior when numbering default versions in version history.
    Fixed \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/tinymce-basic-breaks-in-ie7/
    Fixed “approve” button not showing up when deleting a block in a stack.
    Fixed \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/installed-5.6.0.2-now-cant-logoff-or-get-the-top-nav-to-edit-pag/
    Fixed bug where file or user attributes couldn’t be saved after \ 
clearing until the page was reloaded
    Fixed http://www.concrete5.org/developers/bugs/5-6-0-2/content-import-error/
    Fixed bug where you couldn’t add groups to combinations in advanced \ 
permissions if those groups appeared on the second page (or greater) of group \ 
results.
    Dashboards in SSL will load the picture of the day from an https:// URL
    Fixed Bulk SEO Page List not displaying all pages in some cases
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/package-id-is-not-set-when-installing-page-types-from-theme-insp/
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/fatal-error-when-installing-from-custom-starting-point/
    Changed topbar margin to apply to html instead of body
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/page-list-limits-to-20-results-when-no-limit-is-set-in-block/
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/form-results-in-dashboard/
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/dir_rel-misbehave-at-lower-level-when-concrete5-is-installed-on-/
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/versions-popup-action-buttons-are-wrapping-up-to-the-next-line-i/
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/upgrading-a-site-where-the-administrators-group-has-been-deleted/
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/adding-file-to-sets-custom-checkbox-inconsistency-across-browser/
    Fixed: \ 
http://www.concrete5.org/developers/bugs/5-6-0-2/line-break-in-search-index-for-select-attribute/#discussionpost

Developer Updates

    Added the SITEMAP_APPROVE_IMMEDIATELY constant. Defaults to true. If set to \ 
false, pages added via the sitemap will not be approved immediately (or run \ 
through workflow.) Useful for sites where workflow is prevalent.
    added option in code for autonav templates to ignore exclude_nav attributes \ 
(thanks jordanlev)
    Fixing issue with countries/states helpers being extended improperly
    Added ENABLE_TRANSLATE_LOCALE_EN_US constant for international users who \ 
wish to force Zend_Locale to create an object even if using the en_US locale.
    Updated SimplePie RSS parsing library to 1.3.1
    Added APP_VERSION_DISPLAY_IN_HEADER constant (defaults to true) to control \ 
whether the version of concrete5 is shown in the meta header section (thanks \ 
Remo)
    Added new Security helper with sanitize functions (Thanks Chris Rosser)
    Added new AJAX Helper (thanks mlocati)
    New events
        on_file_added_to_set
        on_get_countries_list
        on_get_states_provinces_list (thanks mlocati)
        on_file_removed_from_set (thanks danklassen)
        on_page_urlify (thanks remo)
        on_page_body_index (thanks danklassen)

Files:
RevisionActionfile
1.5modifypkgsrc/www/php-concrete5/MESSAGE
1.9modifypkgsrc/www/php-concrete5/Makefile
1.5modifypkgsrc/www/php-concrete5/PLIST
1.7modifypkgsrc/www/php-concrete5/distinfo
1.1removepkgsrc/www/php-concrete5/patches/patch-concrete_blocks_image_tools_crop__image.php