Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

SilverStripe 2.0.2-rc1


Go to End
Reply


38 Posts   75339 Views

Avatar
Andy

230 Posts

6 July 2007 at 6:07pm

Edited: 08/07/2007 1:25pm

The first release candidate towards the 2.0.2 release has been released. Please test this release and provide feedback so we can make SilverStripe 2.0.2 as stable as possible!

The release candidate can be downloaded here:

[url]http://www.silverstripe.com/assets/rc/silverstripe-v2.0.2-rc1.tar.gz[/url]

The list of changes is below, happy testing!

ChangeLog for 2.0.2
- BlackCandy is the new default theme
- Much more API Documentation
- Reduced warnings when E_NOTICE is enabled
- Modules must now have _config.php files in order to be loaded
- Forms in newsletter & security section were incorrectly submitting when enter was pressed
- Fixed validation of date fields in a user defined form
- Fixed search in MemberTableField
- Fixed multiple security groups being created when logging in with default admin
- Ensure that WYSIWYG context menu always appears on the screen
- Fixed permissions for administrating page comments
- Added pagination for page comments
- Fixed a bug where you couldn't always edit the bottom of an WYSIWYG editor field
- 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
- Don't show popup when validation fails in Security section
- Fixed error when asp_tags = On
- Fixed bug where you have a non-required field with numeric validation
- Added ContentNegotiator::set_encoding() to choose a character set other than utf-8
- 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 bug where scrollbars aren't shown in the CMS
- Let CMSMain be used to manage objects without Sort
- Fixed BatchProcess to not display an error if no objects could be processed
- The help button now redirects to http://userhelp.silverstripe.com
- 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
- Removed duplicate XML class
- Made guid of PageComments in rss feed unique
- Performance improvements to client-side javascript
- Fixed bugs caused by missing html elements
- Optimised behaviour load times
- Sorted the output of profiler
- Performance enhancements to form and template code
- Added trace argument to Profiler::show
- Added profiling scaffolds
- 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()
- Added Email::send_all_emails_to to assist in testing
- Added Email::cc_all_emails_to() and Email::bcc_all_emails_to()
- Fixed ?isDev=1 mode
- Replaced sendLiveErrorsTo with send_errors_to, for more flexibility
- 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()
- Added ?profile_trace=1 url variable tool to show a trace on the profiler
- Simplified return data of htmlEmail, an inconsequential internal optimisation
- Create assets folder if it doesn't exist when uploading a file
- Improvements to profiling information
- Fixed bug in SiteTree::NestedTitle()
- Updated CalendarDateField, adding a calendar icon to the right of it
- Updated date field in CMS-edited forms to use CalendarDateField
- Added Form::current_action() and Form::single_field_required() to aid in form optimisation
- 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
- Prepared CheckboxSetField for use editing a many-many join in the CMS, popualted with a SQLMap object
- Added TreeDropdownField::setTreeBaseID, for showing a sub-tree in your field
- Fixed SQLMap iteration
- Added option to TableField, to aid putting TableFields inside the ComplexTableField? popup
- Simplified EmailField validation error message
- Fixed some bugs in the debug emailer
- Reduced amount of ajax-refetching that the TreeSelectorFields do
- Added 'open in new window' checkbox to link inserter
- 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!
- Added PermissionProvider class and Permission::get_codes()
- Added ClassInfo::implementorsOf()
- Added providePermissions() for core items, and set up a dropdown interface for the security CMS admin
- Added DataObject::add_extension() for adding decorators in _config.php
- Added DataObjectDecorator::extraDBFields() for modifying the decorated data objects, adding extra database fields
- Improved handling of EditableFormFields on new UserDefinedForms
- Version displayed in CMS now works correctly
- Removed non-XHTML compliant border attributes from editor
- Updated GenericDataAdmin to use new permissions model
- 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
- Improved search results message shown on first load
- Added 2nd argument to LeftAndMain::setApplicationName so that the name in the top corner and the name shown elsewhere can be 2 different strings
- Added event.setStyle to prototype_improvements.js
- Fix weird bug in behaviour to do with class.applyToChildren
- Add class text field to image properties dialog in TinyMCE
- Added ?debug_behaviour=1 URL option for debugging behaviour calls with Firebug
- Made calendar control register a date change when the calendar is used
- Improved console.log alternative
- Fixed sizing issues with CMS right content area
- Fixed bug with image insertion
- Set some good defaults in DataObjectSet::TotalPages() if they have not been set
- Changes to support forum
- Removed db/populate as it was a security risk, the initial content is now loaded via requireDefaultRecords()
- Require authenficiation to do a db/build
- Close directories before trying to remove them
- 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 a bug where CheckboxSetField wouldn't save if there was a method the same as the field name
- Installer changes
- 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.
- MySQL password is now a hidden field.

Avatar
Sigurd

Forum Moderator, 628 Posts

7 July 2007 at 2:38am

Edited: 07/07/2007 2:39am

Andrew; awesome....

Seems to install fine for me on manu.silverstripe.com.

Additionally, I installed the 2007-07-06 dailybuild of the forum and the mashups module, and both worked perfectly, so it seems we just need to have other people battle-test it in their own environments :)

Avatar
SLJ

Community Member, 23 Posts

7 July 2007 at 6:03am

Edited: 07/07/2007 9:02am

I got an error that's really too long to post in the forum when I installed this on my local machine. I used the version I downloaded from daily builds. It's a database error on the install.php screen that occurred during the "building database schema" portion. I checked my DB and it did create some of the tables.

Let me know who I should email this error to.

Thanks,
SLJ

UPDATE: I found Andy's email address after posting this and I sent it to him.

Avatar
elijahlofgren

Google Summer of Code Hacker, 222 Posts

7 July 2007 at 9:46am

Edited: 07/07/2007 10:21am

Edit: Nevermind. Sorry, when I installed, I accidentally didn't copy the included .htaccess file since I didn't have "Show Hidden Files" enabled.

Ignore:
======
One note, when installing on Apache/2.2.3 (Ubuntu) PHP/5.2.1 I had to manually create and chmod a .htaccess file in order to fix this error:

Is the .htaccess file writeable?   User 'www-data' needs to write be able to write to this file:
/var/www/silverstripe202rc1/.htaccess

Perhaps a .htaccess file should be included by default so it only has to be chmodded, not created? Edit: But we probably shouldn't include one by default to prevent overwriting someone's .htaccess file. Perhaps the check should only complain if the .htaccess file exists and is not writable? Because it can be created once write permission is given to the main folder.
======

Edit: Nevermind, see above.

Edit:
I've tested and SilverStripe 2.0.2-rc1 appears to work fine on the following:
* Apache/2.2.3 (Ubuntu) PHP/5.2.1
* Apache/2.2.4 (Win32) PHP 5.2.3 MySQL 5.0.41-community-nt
* Apache 1.3.37 (Unix) MySQL 5.0.27-standard PHP 5.2.3

Avatar
Willr

Forum Moderator, 5513 Posts

7 July 2007 at 1:21pm

nice work andy :D

Avatar
Sigurd

Forum Moderator, 628 Posts

7 July 2007 at 2:05pm

Bug: when the 'page changed' popup shows it has a second popup saying "Changed:Form_EditForm_MenuTitle(undefined)->(MenuTitle=New%20ForumHolderk)". This is using today's daily builds of forum/mashup, if that matters. Note also this is on dev.silverstripe.com so perhaps some debugging system is on?

Avatar
Sigurd

Forum Moderator, 628 Posts

7 July 2007 at 8:12pm

Edited: 07/07/2007 8:13pm

Also, when I don't believe I've changed a page, I get this:

This is not so much a new bug, I feel, as us perhaps discovering more info about the issue? It would be great to have that bug fixed though...

Changed:Form_EditForm_LiveURLSegment(undefined)->(LiveURLSegment=new-flickrgallery)
Changed:Form_EditForm_LiveURLSegment(undefined)->(LiveURLSegment=new-flickrgallery)

Avatar
Sigurd

Forum Moderator, 628 Posts

9 July 2007 at 10:11am

Edited: 09/07/2007 1:57pm

One more small bug I've found is that when you run /db/build you need to login as an adminstrator, great, but it requires HTTP Basic Auth, which means it conflicts with the auth set up on apache for a development area I use. Sam suggested we disabled this check when silverstripe detects its running in dev mode ...

Go to Top