- Refactored part of Field() into HTMLField() so it can be used in PopupDateTimeField
- ComplexTableField
- Improved pagination in popup
- Better transformation of save-button (replaced indicator with "saving..." label)
- CompositeField
- Added SmallFieldHolder() to properly render fields in a FieldGroup
- Added insertBeforeRecursive()
- Allow empty children
- Added Field()
- Added linebreaks for HTML
- ConfirmedFormAction
- Respect $extraClass
- ContentController
- Save statistics on page views
- Added LangAttributes(), for use in XML header
- Core
- Added _t() for internationalisation
- Check if TEMP_FOLDER is already defined before defining it, allowing the user to set the temporary folder themself
- DataObject
- Added merge()
- Director
- Added extend_site(), which allows modules to register a function that will be run on every page load
- redirectBack() now redirects to the base URL if neither the referrer nor the _REDIRECT_BACK_URL is set
- Added support for translatable URLs
- Email
- Define 'EMAIL_BOUNCEHANDLER_KEY' in sapphire/_config.php and require its value to be sent as 'Key' $_GET var in pings to /Email_BounceHandler to prevent fake email bounce pings
- Display an error on duplicate bounce logs instead of a blank screen
- If the contents of the X-SilverStripeMessageID header is sent to /Email_BounceHandler in the 'SilverStripeMessageID' _GET variable, then it will be logged in the Newsletter_SentRecipient table so that the bounce report will show up on the 'Sent Status Report' tab of the Newsletter
- Bounced newsletter recipient emails and blacklisted by default
- FieldSet
- Added insertBeforeRecursive()
- FileSystem
- Added $file_create_mask and $folder_create_mask, which are used whenever creating new files/folders in sapphire
- Form
- All Forms now have a hidden SecurityID field to prevent CSRF attacks
- Added disableSecurityToken() to disable the SecurityID field
- Added securityTokenEnabled()
- Changed <p class="Actions"> to <div class="Actions">
- Renamed PureName() to Name()
- GD
- Added rotate()
- Added rotatePixelByPixel(), allowing rotation where the imagerotate function is unavailable
- Added crop()
- Added getWidth()
- Added getHeight()
- Hierachy
- Versioned now automatically add suffixes, so Hierachy no longer needs to
- HTTP
- Added register_modification_timestamp()
- Added register_etag()
- ImageField
- Improved layout
- Int
- Added support for default value
- ManifestBuilder
- Refactored getClassManifest() for clearer ignore rules
- Ignore i18n language files
- Ignore folders that have a '_manifest_exclude' file
- Member
- Automatically login user if the 'remember login' cookie is set
- Added createNewPassword(), which generates a random password, optionally using a word list
- Added support for password encryption
- Added Locale field to store user preferred language
- MemberLoginForm (refactored from old LoginForm)
- Save the email address in the session to reuse when the login fails
- ModelAsController
- Added support for translatable URLs
- PasswordField
- Always show five stars in performReadonlyTransformation(), so it is impossible to use the information of the password length for brute-force attacks
- Permission
- Added declare_permissions()
- Added get_declared_permissions_list()
- Added traverse_declared_permissions()
- Added Permission_Group class, used to group permissions together for showing on an interface
- Added $admin_implies_all, if this is false then the 'ADMIN' permission doesn't imply all permissions
- Refactored Permission::checkMember(), should be faster now because the non-strict checking is now only executed if the user doesn't has the permission
- Added deny(), giving the ability to define 'deny permissions'
- RecipientImportField
- Added default 'GenericEmail.ss' template
- RSSFeed
- Added support for conditional GETs
- Security
- Added support for password encryption
- Added set_word_list() and get_word_list(), to set the location of the word list used in Member::generateNewPassword()
- SiteTree
- Changed references to 'stage site' to 'draft site' in TreeTitle()
- Use Translatable interface by default
- Add content language in MetaTags()
- Add delete class to unpublish and rollback buttons
- SSViewer
- Added support for internationalisation in templates, using <% _t() %>
- Added $Iteration in templates, which keeps track of the number of iterations in a control block
- TableListField
- Prevent onclick event in td.markingcheckbox from showing the popup
- TabSet
- Remove tabset div to reduce wasted space on tabs
- Added insertBeforeRecursive()
- ToggleCompositeField
- Refactored from TogglePanel
- Added icons and used 'cursor: pointer' to make it obvious that it is clickable
- Versioned
- Added the ability to versionise suffixed tables that have names that are not DataObject descendants
- Added canBeVersioned()
- Added extendWithSuffix()
- Added hasVersionField()
Bug Fixes
- Sapphire
- E_NOTICE fixes
- Fixed incorrect deprecated message in Convert::raw2xml()
- Don't show and error message and quit the script when @ is used to suppress the error
- Changed width of HTMLEditorFields to prevent horizontal scrollbars in IE7
- Added checks in DataObjectSet::First() and DataObjectSet::Last() to prevent errors on an empty $items array
- Fixed incorrect treatment of Member::logout() as a static method in Security::logout()
- Ensure Priority is set in SiteTree::onBeforeWrite(), otherwise an invalid SQL statement will be generated when the page is published
- Only highlight broken links in HTMLEditorFields once, to prevent execution timeouts when there are lots of identical broken links
- Fixed bug "Fatal error: Access to undeclared static property: Controller::$db in ../sapphire/core/Object.php(282) : eval()'d code on line 1"
- Fixed DataObjectDecorators not supporting indexes and defaults
- Fixed ReportField generating invalid HTML
- In Member::setBlacklistedEmail() call this->write() so that the BlacklistedEmail field state will be saved to the Member database table
- Fix Email_BlackList::isBlocked() to check the BlockedEmail field instead of non-existant Email field so that it will actaully return true when an email is blocked
- Fix layout problems with search box in IE by only generating a label tag if TItle is set in FormField::FieldHolder()
- Fixed Permission::check() not p[assing $strict to Permission::checkMember()
- Fixed HTTP::gmt_date()
- Fix validation of Member extensions
- Removed DriversLicense references from LoginForm (project specific clutter)
- Added check for existence of #sitetree in RelationComplexTableField.js
- Modules must now have _config.php files in order to be loaded
- New Classes
- PermissionProvider
- Improved Classes
- CalendarDateField
- Added a calendar icon
- CheckboxSetField
- Prepared for use editing a many-many join in the CMS, popualted with a SQLMap object
- ClassInfo
- Added implementorsOf()
- ContentNegotiator
- Added set_encoding() to choose a character set other than utf-8
- DatabaseAdmin
- Removed populate() as it was a security risk, the initial content is now loaded via requireDefaultRecords()
- DataObject
- Added add_extension() for adding decorators in _config.php
- DataObjectDecorator
- Added extraDBFields() for modifying the decorated data objects, adding extra database fields
- Email
- Added send_all_emails_to()
- Added cc_all_emails_to()
- Added bcc_all_emails_to()
- Replaced sentLiveErrorsTo() with send_errors_to(), for more flexibility
- Form
- Added current_action()
- Added single_field_required()
- FormField
- Added Required(), so that you can put asterisks into a form template if you wish
- GenericDataAdmin
- Updated to use new permission model
- LeftAndMain
- Added second argument to setApplicationName() so that the name in the top corner and the name shown elsewhere can be 2 different strings
- Permission
- Added get_codes()
- Profiler
- Added trace argument to show()
- Added profiling scaffolds
- Added ?profile_trace=1 url variable tool to show a trace on the profiler
- Sorted the output of profiler
- Improvements to profiling information
- TableField
- Added option to aid putting TableFields inside the ComplexTableField popup
- TreeDropdownField
- Added setTreeBaseID(), for showing a sub-tree in your field
- Javascript
- Added event.setStyle to prototype_improvements.js
- Add class text field to image properties dialog in TinyMCE
- Added ?debug_behaviour=1 URL option for debugging behaviour calls with Firebug
Bug Fixes
- CMS
- Forms in newsletter & security section were incorrectly submitting when enter was pressed
- Fixed search in MemberTableField
- Don't show popup when validation fails in Security section
- Fixed bug where scrollbars aren't shown in the CMS
- Let CMSMain be used to manage objects without Sort
- The help button now redirects to http://userhelp.silverstripe.com
- Version displayed in CMS now works correctly
- Fixed CMS action button support when text size increases
- Added message when report is empty
- fixed (overrides) to CSS to avoid larger font-size due to em values
- Fixed tree scrolling and resizing issues
- Fixed sizing issues with CMS right content area
- Fixed bug with image insertion
- Fixed bug where new pages weren't being highlighted in the CMS
- Fixed bug where the last page in the site tree wasn't being highlighted in the CMS
- Fixed reordering of groups in security section
- Improvements to image inserter
- Sapphire
- Reduced warnings when E_NOTICE is enabled
- Fixed validation of date fields in a user defined form
- Fixed multiple security groups being created when logging in with default admin
- Fixed permissions for administrating page comments
- Fixed ContentController::PageComments() method to die if spammers are POSTing form data when comments are disabled
- Fixed permission checking on PHP 5.0.5
- Fixed 'cannot access protected property' error in Security section on PHP 5.0.5
- Fixed javascript validation of forms
- Fixed error when asp_tags = On
- Fixed bug where you have a non-required field with numeric validation
- Added a limit of 20 steps in Breadcrumbs generation
- Changed SiteTree.Title length from 100 to 255
- Fixed random password generator in Member::createNewPassword()
- Fixed BatchProcess to not display an error if no objects could be processed
- Fixed a bug where a user is redirected incorrectly after logging in
- Changed temp-folder selection to not leave temp files lying around, and put silverstripe temp files into a silverstripe-cache folder
- Made guid of PageComments in rss feed unique
- Removed duplicate XML class
- Fixed bugs caused by missing html elements
- Fixed code to remove need for short_open_tag
- Fixed FileSize generation for sizes of just over 1 meg
- only show $messageBlock in FormField::FieldHolder() if $Message is existing
- fixed rightTitle and id in FormField::FieldHolder()
- Fixed ?isDev=1 mode
- Set default of sendWarnings on Debug::send_errors_to
- Fixed formatting of error emails sent from ajax requests
- Removed debug plumbing from the results of Debug::backtrace()
- Simplified return data of htmlEmail, an inconsequential internal optimisation
- Create assets folder if it doesn't exist when uploading a file
- Fixed bug in SiteTree::NestedTitle()
- Don't append /home to the home page URL
- Small fix for windows installations
- Fixed efficiency problems in Versioned::get_latest_version
- Fixed File::sync(), to let it recurse into new directories in a single execution
- Fixed bug with getting form action that was breaking form submission and complextablefield pop-up
- Fixed SQLMap iteration
- Simplified EmailField validation error message
- Fixed some bugs in the debug emailer
- Reduced amount of ajax-refetching that the TreeSelectorFields do
- Fix macron support in reports
- Improved debug message (remove big blocks of redundant data)
- Allow for the disabling of default buttons. Apply this to CMSMain and GenericDataAdmin in the administration, so that we don't default to clicking the *DELETE* button.
- Added default value to first arg of permissionFailure(); it's not actually used!
- Improved handling of EditableFormFields on new UserDefinedForms
- Improved search results message shown on first load
- Made calendar control register a date change when the calendar is used
- Set some good defaults in DataObjectSet::TotalPages() if they have not been set
- Changes to support forum
- Require authenficiation to do a db/build on live sites
- Close directories before trying to remove them
- Fixed a bug where CheckboxSetField wouldn't save if there was a method the same as the field name
- Fix multiple "broken" in class attribute of HTML Content
- Fixed bug with TreeDropdownField when you clicked the expand link 3 or more times, it wouldn't close
- Fixed bug when editing properties of new text fields
- Fixed duplicate of UserDefinedForm objects
- JSParty
- Fixed a bug where you couldn't always edit the bottom of an WYSIWYG editor field
- Ensure that WYSIWYG context menu always appears on the screen
- Javascript performance improvements
- Fix weird bug in behaviour to do with class.applyToChildren
- Improved console.log alternative
Installer
- Added option of installing either the default template, or the tutorial template
- mod_rewrite check now works with http authentification
- Workaround for 'URL file-access is disabled in the server configuration' using curl for mod_rewrite test
- Better error message if the installer can't detect the web server
- Added an alternative .htaccess configuration
- Less file permissions required by the installer
- Made deleting the installer files more prominent, it now deletes all the installations files, not just php.