MySource Matrix Developer

Main Content

MySource Matrix Changelog - 3.12.x to 3.14.0 RC1

Featured Changes

Online Quiz Asset

This new CMS package asset allows the creation of a online quiz, that displays a certain number of questions randomly selected from a pool of question assets (currently, only multiple-choice questions are available). Pagination of questions is possible, and users can also be prevented from re-taking the quiz. Definitions of question scoring are handled within the questions themselves.

Comment Asset

This is a new, lightweight News package asset that can be used for comments, containing a title and a comment field. A comment asset is based used in conjunction with a Paint Layout with a nested Asset Builder and Asset Listing (to create and list comments), turning an asset into a blog-type page that invites comments from users and/or the public. Comments can also be rated, defined by user preference settings.

Multiple Text Metadata Field Asset

This new Core package metadata field allows the storage of multiple arbitrary text values. It is filled on metadata screens using an Option List attribute, stored and indexed similar to a Selection metadata field, and is searched using a regular text box.

Ecommerce Form Improvements

The Ecommerce Form asset has undergone a near-complete re-write. Among the new features include the ability to specify a tax rate; an ability to buy any asset provided it exposes a source for price and taxability; bodycopies for Form, Confirmation and Receipt states; and logging orders to a file.

Payment Gateway Now Customisable

The fixed interface for the Payment Gateway asset has been replaced with a bodycopy to allow full customisation of the payment gateway interface.

Backend Search Now Available for WYSIWYG Popups

This feature extends the use of Backend Search to the Insert Link (all asset types), Insert Image (image assets only), and Embed Movie (file assets only - strict type check) WYSIWYG popups. Clicking on an asset's name will populate the main asset finder on the popup with the relevant data. Using "Find in Asset Map" will activate the popup's asset map.

Automatic Safe Trash

If an asset cannot be trashed due to Safe Trash conditions, you can now set a Cron Job instead so that it can be trashed at the earliest safe opportunity. The Details screen of an asset notifies users that an asset is waiting to be trashed, as well as the safe trash condition(s) that are stopping it from being trashed.

Safe Trash Escalation Cron Job

This new Cron Job runs on a daily basis at midnight (by default), and informs asset administrators that there are assets that are marked and waiting to be trashed. If the waiting is due to status, the admins of the asset itself are notified. If it is due other assets having TYPE_3 or NOTICE links to the marked asset, the admins of those assets will be notified.

User Inbox Again Paginated

The User Inbox has been paginated again, to display 20 messages at a time by default. The number of messages displayed can be altered using a new User Preference.

Re-order Pages Within Multiple Page Asset

Pages within a Multiple Page asset can now be re-ordered, similar to how questions are re-ordered in a Custom Form. Please note that this process does re-assign web paths, so that the new first page is accessible with the "1" web path, the new second page with the "2" web path, and so on.

CAPTCHA Feature for Custom Form

Custom Form assets now offer the ability to provide a CAPTCHA, similar to the Security Key system used in parts of the backend, that a user must enter before the form can be submitted. The length of the CAPTCHA is customisable.

Whole of Custom Form Error Message

The Custom Form asset now has a customisable error message that is triggered when any of the fields raises a submission error. The message is customisable from the Contents screen of the Custom Form and is accessible through the keyword.

Sort Listing Groups by Metadata Field

Parent Asset groups in Listing Engine-type assets can now be sorted by Metadata Field. Select "Metadata Field" in the Sort By drop-down on the Asset Grouping screen, then an asset finder will appear allowing you to select the metadata field to sort by.

IP Address in Custom Form Submission Logs

The IP address of the user that submitted a custom form will now be included in the data saved within a form submission. This can be accessed by viewing an individual form submission, or by exporting to CSV or XML. The IP address can be printed with the keyword .

Asset Tag Line and "Find Me" in More Places

The "more info" section at the top of Admin interface screens have been replaced with an asset tag line, which also allows the use of the "Find in Asset Map" feature without using the Linking screen. Also, the "moving to trash" warnings now use asset tag lines to the same effect.

Asset Map Width User Preference

The default width of the Asset Map frame is now available as a user preference (SQ_USER_ASSET_MAP_WIDTH), which can be set from Global Preferences and customised on a User Group basis.

"Print This Page" Feature in Admin Interface

Admin interface pages now contain a "Print This Page" icon, that opens a new window with a "print-friendly" version of the frame and initiates the printing of that window.

Clean Commit Button in Simple Edit Layout

A new keyword () has been added to Layouts to get the commit button to print without additional Backend Outputter clutter around it.

HTTP Simple Authentication on RSS Feed

With this option turned on (and public read access turned off), the RSS Feed will return a HTTP "401 Unauthorized" header to a user without read access. The user agent (be it a browser or feed reader) should offer the ability to log in with the name and password of a Matrix user with read access to the feed.

New Suffixes in WYSIWYG to Disable Certain Features

If a keyword is normally used as in a WYSIWYG: prevents a keyword's replacement from being further replaced by global keywords; disables rewriting of internal URLs (./?a=xxxx) into a full URL; does both of these.

Password Rules Summary

A summary of password rules is now displayed on the Details screen of a user. This can be accessed in Simple Edit layouts using the keyword "", and on the Password Change design area, using MySource_PRINT on the "password_rules_note" variable.

Server Variable Selection for HTTP Authentication

The HTTP Authentication Variable field on the System Configuration screen now displays a list of server variable names recognised by PHP. Clicking on a variable name will insert it into that field.

Squid Option to Purge Trailing Slash Entries From Cache

The Squid cache usually caches entries with and without a trailing slash separately. Previously, MySource Matrix's Squid cache-purging tools only purged the version without a trailing slash (as per Matrix's URL rules). Now, a new user preference allows you to set whether to also purge the version of the URL with the trailing slash.

Source-Agnostic Redirect URL Keyword

The new keyword replaces two previous keywords that could only be used in certain situations (whether it referred to an asset or to an external URL). The keyword will refer to the redirect URL, regardless of source. The previous keywords are deprecated but still available - the %referring_asset_*% keywords in particular remain useful if a user is being redirected to an asset.

Metadata Now Allows All Asset Keywords

Previously, the Metadata system only allowed certain common keywords to be made available to metadata values. Now, any keyword not known by the Metadata Manager will be sent to the asset itself for replacement.

JPEG Data Extraction

This feature allows certain metadata embedded in some JPEG files to be printed. Currently, only data from the Dublic Core (dc) metadat set is available to keywords. (This feature requires an external tool, the PHP Metadata Toolkit [http://www.ozhiker.com/electronics/pjmt/] v0.11, to function.)

Automatic Synonym Searching on Search Page

When this feature is enabled on a search field, when no results are found on the search terms, the search will automatically be re-taken with the synonyms of the entry in that search field in place of the original entry.

Custom Form Submissions Folder

Custom Forms now create a Submissions folder (underneath Form Contents) where all submissions are created in. This folder is initially denied public read access, but this can be changed if desired.

Explicit Root Node in Normal Menu

A root_node parameter has been added to the Normal Menu design area, allowing the menu to start from an explicit asset, rather than relative to the current asset. (The menu_level parameter must be set to "top" for this feature to work.)

Replacement Root Node Option in Site Map

Similar to the option provided in Asset Listing, Site Map now allows you to override the static root node with a value selected from a Parameter Map. The usual rules for dynamic root nodes apply (ie. a dynamic root node must be a child of a static one).

Content_Attachment Design Variable

Printing this variable will add a "Content-Disposition: attachment" header to the design, thereby forcing an asset to be offered for download. The file that will be offered for download is named the same as the asset being painted; an "extension" attribute specifies the file extension.

Improvements to Simple Edit Layouts

More screens are now accessible to Simple Edit layouts. Most screens (both static and asset-specific) should now be available for use within Simple Edit layouts. Also, a new popup has been added to the Edit Contents screen of a Layout asset that will allow you to select an asset type and return all layout keywords that apply to that asset type.

Refresh Cache Cron Job

This new Cron Job can be set (from a new screen on the Cron Manager) to periodically refresh the public cache of an asset.

Anchor Commit Button to Frame

A new user preference (disabled by default) allows the Commit Button to be anchored to the bottom of the main frame, saving users from having to scroll to the bottom of the screen to find the Commit button.

Additional Changes and Bug Fixes

Core
  • Incomplete required metadata on the Metadata screen is now more obvious
  • Trigger details screen: events section redesigned so it displays in four columns
  • New "User is System Admin" trigger condition, which returns TRUE if a user is effectively a System Administrator (ie. linked underneath System Administrators folder)
  • New "Current User Type" trigger condition
  • New "Set Workflow Schema" trigger action
  • New "Set Role" trigger action
  • New "Set Tag" trigger action
  • New "Create Design Customisation" trigger action
  • New "Replace File" trigger action, which replaces the contents of a File asset with another file stored on the server at a certain path
  • New "Reload User" trigger action, which reloads user details from external authentication variables if present
  • New "Add Asset ID Remap" trigger action, which creates a short-URL remap based on the ID of an asset
  • Set Attribute Value trigger action now uses a Parameter Map for setting the attribute value
  • Set Metadata Value trigger action now uses a Parameter Map to allow sourcing of a valid value from an asset or a request variable
  • Set Future Status trigger action can now set a future status for a certain time before/after one of the asset's datetime-type attributes
  • Attribute Value trigger condition now allows you to negate the logic, ie. return TRUE if attribute value is NOT what is specified
  • New Excel Document asset, which extends File but otherwise exists only for file-type grouping purposes
  • New PowerPoint Document asset, which extends File but otherwise exists only for file-type grouping purposes
  • Password Change design area now displays password rules violations as a system message, instead of as a MySource error
  • WYSIWYG: Bodycopy Container "Edit Properties" tooltip now displays whether container is live and publicly readable
  • Assertion exceptions now respect "file and line number" debug settings
  • Design/Design CSS assets (and their customisations) can now change their web paths after creation
  • Design CSS web path now based on name (and so should always end in .css)
  • Backend history section now displays on multiple lines rather than being cut off
  • Print and Cache options now added to the Asset Lineage Design Area's backend screen
  • Permissions screen now handles setting of multiple users/groups at a time
  • Additional keywords now available for thumbnail width, height and ALT text
  • Can now suppress date keyword drop-down in Metadata Date Field
  • New script that performs a search and replace of a certain attribute across certain specified assets
  • Create Asset import action now handles attribute setting at the same time as creation
  • Report assets can now be previewed and simple-edited
CMS
  • Listing Engine-type assets can now disable display of No Sorting and Random options on front-end keyword
  • Password Reset Page: "New Password" and "Confirm Password" text boxes can now be printed using separate keywords
LDAP
  • LDAP Users now have a Release Locks button on their Details screen, like normal Users
Calendar
  • Calendar Pages now have a "No Results" bodycopy, to be displayed if no events are scheduled for the appropriate time period
Search
  • Backend Search now displays a "Search in Progress" message when submitted
  • Backend Search has a new user preference to limit the number of assets returned by a search
Squid
  • Clear Squid Cache Tool now has a port preference that is added to the URL sent to Squid when clearing the cache