5.6.2 Release Notes

Features

  • Improved and Updated Jobs
    • Slick New Interface
    • Job Sets allow you to group jobs so they can run at the same time.
    • Jobs can support queueing (for jobs that have to run for long periods of time.)
    • Cleaned up and normalized some of the API.
    • Better job running explanation on the Dashboard page.
    • Scheduling of a Job Set can be done through cron (as before) or through concrete5. These jobs will then be run periodically as triggered by users visiting your site.
  • Delete and Duplicate now support incremental progress with progress bars. Much more reliable.
  • New advanced permission “View Page in Sitemap” controls whether a user can see a page in the intelligent search site search or the Sitemap. This has no bearing on whether they can view the page if they navigate to it directly.

Behavioral Improvements

  • Much improved CMS behavior in sites that support multiple editing languages, including:
  • Localization of attributes, permissions, block types other dynamic content as seen by editors.
  • Localization of intelligent search
  • Better URL slug localization
  • Stacks now support workflow for approve and delete.
  • Stacks now show “Submit to Workflow” if the stack will be added to a workflow.
  • Page approval workflows now show which version will be approved in their descriptive text, lessening confusion.
  • Stack approval button is hidden if the stack is in workflow.
  • Stacks now create new versions on any content edit (since stacks don’t have edit mode.)
  • Better CDATA support in import/exporter.
  • When rendering a full page exception/error, the HTTP error code 500 is now used.
  • Approve Stack/Page button now green (thanks shotster.)
  • Login page now shows region in the language dropdown (if multiple languages are available on your site and login allows you to choose language.) (thanks mlocati)
  • Guestbook date now localized (thanks mlocati)
  • Block Types appear localized in the interface (thanks mlocati)
  • UI Accessibility improvements for dashboard checkboxes and radio buttons(thanks aghoush)
  • Placeholder text for Next Previous Block add/edit form (thanks jordanlev)
  • Improved YouTube Block URL parsing (thanks ojalehto)
  • Inspect Block Dialog now shows active Block count as well as total
  • Logging added for Page move to trash and Page delete
  • Allow choice of new page type to assign pages to when deleting a page type (thanks mlocati)
  • No longer show deleted pages in dashbaord breadcrunmbs (thanks JohnTheFish)
  • Clean up page list ui (thanks arcanpain, aghouseh)
  • Backup dialog shows error if cannot delete backup file (thanks mlocati)
  • Enable browser spellchecker as partial fix for discontinued Google Spell API
  • Improved Permission denied messages on some dialogs (thanks hissy)
  • New Page Preview for Composer (thanks gregjoyce)

Bug Fixes

  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/dashboard-edit-button-hover-no-popup-bug.../
  • Move to trash now correctly marks all subpages as inactive.
  • Improved permissions checks when dragging blocks on a page. Fixed bugs where incorrect permissions were checked resulting in more restrictive advanced permissions than ought to be in place.
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/sql-error-when-submitting-form-with-bad-captcha/
  • Fixed missing Approve Stack button in Stacks view for many advanced permissions users.
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/cant-delete-old-forms-from-form-results-page/
  • Fixed bug where compare versions button would show in pending page approval workflow, but the dialog would be blank if the user couldn’t actually approve the workflow. Now both the button and the dialog are controlled by whether the user has the ability to view page versions (using the advanced permission.)
  • Fixed advanced permission area bug when area permissions are set at a parent area and default blocks appear in this area – permissions wouldn’t appear to be set properly on first load.
  • Exporting archive from file manager works using ZipArchive, leading to better compatibility with Windows.
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/filetype-attribute-for-file-breaks-file-manager-properties-pane/
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/preview-pane-too-small-for-comparing-versions-in-workflow/ (thanks JustinPratscher)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/getbyhandle-returns-1/
  • Fixed some minor XSS issues in Bulk SEO Updater tool (by fixing ItemList::setItemsPerPage to better sanitize its input)
  • Fixed some minor CSRF bugs in by adding validation tokens to Dashboard form deletion, dashboard mail import settings and activation.
  • Better header item checking in page properties dialog (thanks skybluesofa)
  • Fixed swap contents global area bug (http://www.concrete5.org/developers/bugs/5-6-1-2/swap-contents-theme-bug/)
  • Better ordering of pages in content importer format.
  • CSS improvements to the survey block (improved floating, etc...)
  • Fixed group related error when trying to save a user with a large number of groups (error was actually a logic bug coming from a search that was unrelated to the save.)
  • Fixed: http://www.concrete5.org/developers/bugs/5-6-1-2/page-type-dashboard-page-errors-not-displaying/
  • Overrides cache bug fixes (thanks zemm)
  • Fixed wrong metadata in blog entry page type in Greek Yogurt theme.
  • Misc Localization fixes (thanks Remo, mlocati, bmatzner)
  • Fixed http://www.concrete5.org/index.php?cID=480285&editmode= (thanks Remo)
  • Addressed http://www.concrete5.org/developers/bugs/5-6-1-2/implementation-of-concrete5_controller_block_contentsave-essenti/
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1/paste-from-clipboard-double-click-produces-false-double-paste/ (thanks mlocati)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1/long-version-comments-causes-an-unexpected-error-occurred./ (thanks mlocati)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/long-result-texts-of-automated-jobs-cause-an-unhandled-exception (thanks mlocati)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/small-modal-at-composer-setting/ (thanks patrickheck)
  • Fixed issue with Form Block and internal variable overwrite (thanks ojalehto)
  • Fixed passing global $c into Collection::getArea() (thanks ojalehto)
  • Fixed http / https mixed requests in YouTube Block urls (thanks manio)
  • Fixed special characters in search index http://www.concrete5.org/developers/bugs/5-6-1/search-does-not-return-accurate-results/ (thanks mlocati)
  • Fixed Prev Next Block page inaccuracies http://www.concrete5.org/developers/bugs/5-6-1-2/next-and-previous-nav-page-name-number-issue (jordanlev)
  • Fixed ADODB Constant in Backup Job (thanks ian-holden)
  • Fixed invalid meta closing tag in DashboardBaseController (aghouseh)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/single-page-aliasses-are-not-deleted-when-uninstalling-package/ (thanks for the report Jozzeh)
  • Fixed XSS issues (thanks Remo et al)
  • Additional server variable sanitation (thanks bluefuton)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/archive-library-doesnt-follow-model-structure/
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/unpublished-pages-and-show-up-in-sitemap.xml-even-if-excluded/ (thanks mlocati)
  • Fixed Localization of Dashboard Menu http://www.concrete5.org/developers/bugs/5-6-1-2/the-dashboard-overlay-is-not-localized (thanks bmatzer, mlocati, remo et al)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/long-result-texts-of-automated-jobs-cause-an-unhandled-exception (thanks mlocati)
  • Fixed issues with moving blocks and permissions
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/akhandle-is-being-ignored-in-getaveragechildrating-function-in-h
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/grouppermissionaccessentitygetorcreate-error/ (thanks nazweb)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/avatar-helper-doesnt-take-in-account-al_thumbnail_jpeg_compressi/ (thanks Remo)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/page-type-defaults-with-global-area/
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/profile-page-login-displays-empty-error-box/
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/greek-yogurt-throws-add-your-css-code-in-the-wrong-place./ (thanks mhawke)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/metadata-viewers-and-editors/ (thanks BinaryBlocks)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/urlify-language-specified/ (thanks patrickheck, toddihh)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/broken-select-page-on-date-navigation-block/
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/error-after-adding-datenav/
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/file-manager-search-shows-no-title-if-keyword-is-in-attribute-ra/ (thanks melat0nin)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/path-items-cant-end-in-dash/ (thanks jshannon)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/rss-displayer-error-prevents-home-page-editing/ (thanks RobShaver)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/attribute-type-search-doesnt-check-empty/ (thanks hissy)
  • Fixed Permissions Cache collision issue
  • Fixed inability to copy custom file set permissions.
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/login-vs.-cache/ (alexlana)
  • Fixed issue with Avatar Widths and Gravatars (thanks Remo)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/maximum-custom-template-name-length-is-32-characters/ (thanks Mnkras)
  • Fixed Truncating very long external URLs (thanks aghouseh)
  • Fixed Month name localization in Date Archive Block (thanks patrickheck)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/404-when-using-custom-template-for-page-list-block/ (thanks jordanlev)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/loaderpackageelement-breaks-on-file-as-parameter/ (thanks JohnTheFish, Remo, jshannon, aghouseh et al)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/attribute-type-search-doesnt-check-empty/ (thanks hissy)
  • Fixed http://www.concrete5.org/developers/bugs/5-6-1-2/movecopy-function-in-page-search-doesnt-work-for-multiple-pages/ (thanks aghouseh)
  • Fixed t2() for singular
  • XSS Fixes (thanks synlag, StriderSEO, tcrowe)
  • Fix http://www.concrete5.org/developers/bugs/5-6-1-2/auto-update-wants-to-update-from-5.5.2.1-to-5.6.1.2/ (thanks Remo)
  • Bunches of html fixes (thanks mlocati)
  • Fix ItemList::searchRequest() now actually respecting second parameter (thanks synlag)
  • Area attributes now properly attached to layouts (thanks xanido)
  • Fix ItemList::searchRequest() now actually respecting second parameter (thanks synlag)
  • Fix http://www.concrete5.org/developers/bugs/5-6-1-2/form-results-page-show-deleted-pages/ (thanks Remo)
  • Fix http://www.concrete5.org/developers/bugs/5-6-1-2/page-index-score-not-shown-on-page-search/ (thanks Remo)
  • Fix http://www.concrete5.org/developers/bugs/5-6-1-2/permissions-problem-when-copying-pages/
  • Fix http://www.concrete5.org/developers/bugs/5-6-1-2/page-permissions-bug-when-copyingcloning-page/
  • Fix http://www.concrete5.org/developers/bugs/5-6-1-2/datehelpertimesince-returns-wrong-result-if-time-is-more-than-24/ (thanks patrickheck)

Developer Updates

  • Block View overrides will only be included if they have a view.php included. If they only have a view.css etc they will be ignored.
  • ADODB is updated to 5.18 (Thanks Remo!) MySQL transactional support library is the new default.
  • Added events:
    • on_file_duplicate
    • on_file_set
  • New Queue library available for developers to use.
  • Better TextHelper::formatXML() function (more reliable, uses DOM)
  • Updated MIME defintions for OGG formats. (thanks JeffPaetkau)
  • Updated highlightSearch() to respect source string's case (thanks melat0nin)
  • Better validation on ItemList::setItemsPerPage (so developer’s can’t unwittingly open security holes by not sanitizing their data and passing it to setItemsPerPage)
  • Cleaner markup in view template for next/previous block (thanks jordanlev)
  • Add static keyword to some methods (thanks mlocati, aghouseh, mnkras)
  • No longer sorting contry/state lists if received from on_get_countries_list (thanks JohnTheFish)
  • Can now pass either Package object or Package Handle to Environment::overrideCoreByPackage() (zemm)
  • Add “numbers” and ”disabled” classes to pagination number links (thanks melat0nin)
  • Add runtime hash constant. (thanks Korvin)
  • Consolidated wordSafeShortText into shortenTextWord (thanks patrickheck)
  • Additional helper methods for FileSet class (thanks aghouseh)
  • FileVersion properties from private to protected for overrides/extending
  • Can pass array or file type extensions when launching file manager programatically (thanks mlocati)
  • ValidateIpHelper now only returns private IP if no public IP’s are found in all $_SERVER vars checked (thanks mlocati)
  • Add default sortBy to DatabaseItemList (thanks aghouseh)
  • Refactor Remove Old Page Versions
  • Add on_locale_change event (thanks mlocati)
  • Loader::element() now throws Exception is args array key contains method parameter names.
  • Various code cleanups (thanks mlocati, aghouseh, Mnkras et al)
  • Added a couple public methods for Select Type Attribute properties (thanks aghouseh, jordanlev et al)
  • Add PageList::filterBySelectAttribute() (thanks aghouseh, jordanlev et al)
  • Added a FormHelper::number() for the <input type="number" attribute (thanks arcanepain)
  • Added method BlockController::getUniqueIdentifier() for clipboard blocks and ids
  • Removed TextHelper::preventWidows()