Commit Graph

6822 Commits

Author SHA1 Message Date
Will Rossiter
4c6ddb142d ENHANCEMENT: added isLatestVersion() method for checking whether a record is the latest version of this ID 2011-09-19 17:26:21 +02:00
Will Rossiter
4448325ad3 BUGFIX: convert new lines to break tags in unescape mode without reverting the entire behaviour of dontEscape 2011-09-19 17:26:01 +02:00
Will Rossiter
2036354d8d ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain interface 2011-09-19 17:26:01 +02:00
Will Rossiter
7560e468ed BUGFIX: fixed menu not appearing on load 2011-09-19 17:22:36 +02:00
Will Rossiter
60cba7dd76 BUGFIX: fixed submenu not opening in cms-menu when cms loads on page other than edit page section 2011-09-19 17:22:36 +02:00
Will Rossiter
65b3c3a894 MINOR: add jquery ui calendar icon to date picker form 2011-09-19 17:22:36 +02:00
Will Rossiter
2bf2c3a15f MINOR: #css styles to clean up vertical alignment in content tools 2011-09-19 17:22:36 +02:00
Ingo Schommer
2651a1ba81 MINOR Marking Director::extract_request_headers() public because we can't unit test protected methods in PHP 5.2 2011-09-19 16:01:33 +02:00
JayDevlin
b254b6ed3a ENHANCEMENT Pass through jQuery UI options through DateField->setConfig() (if applicable) 2011-09-19 15:46:03 +02:00
Ingo Schommer
168b1ff279 MINOR Allowing to retrieve the whole configuration array in DateField/TimeField/DateetimeField->getConfig() 2011-09-19 15:44:35 +02:00
ajshort
a60f03f28e ENHANCEMENT Sapphire Doesn't Read HTTP Headers (fixes #6311) 2011-09-19 14:49:55 +02:00
j.m.milmine
627a2916f4 ENHANCEMENT Image -> SetWidth() and Image -> SetHeight() generate new image when size is the same as the original file (fixes #5792) 2011-09-19 14:40:25 +02:00
Will Rossiter
1c12a226a3 Merge pull request #60 from simonwelsh/patch-3
BUGFIX Pass create_table_options for the owner class's table to DB::requireTable()
2011-09-18 19:25:26 -07:00
simonwelsh
b80efb75d4 Add comment about duplicating create options as well as structure. 2011-09-19 14:20:38 +12:00
nicolaas
7b56008414 BUGFIX error in RestfulServer: currentMember should be currentUser (fixes #6283)
http://open.silverstripe.org/ticket/6283
2011-09-18 23:22:13 +02:00
nicolaas
6a268a8b37 BUGFIX ConfirmedPasswordField::setValue has error (fixes #6387)
http://open.silverstripe.org/ticket/6387
2011-09-18 23:19:34 +02:00
martijn
d82a47b12f BUGFIX # 5966: Allow printing on TableField
http://open.silverstripe.org/ticket/5966
2011-09-18 22:09:50 +02:00
Ingo Schommer
ce8e72cf0e MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
Ingo Schommer
a0eaad3833 BUGFIX Enforce status code set through SS_HTTPResponse->setStatusCode() in output(), override PHP auto-detection of code based on HTTP headers (thanks miiihi) 2011-09-18 21:46:58 +02:00
simonwelsh
718b9b5b34 Pass create_table_options for the owner class's table to DB::requireTable() when creating tables for the stages and the _version table. 2011-09-17 00:21:54 +12:00
Will Rossiter
c35c48b768 Merge pull request #51 from drzax/fix-gd
BUGFIX: Ensure image sizes are rounded.
2011-09-15 18:26:32 -07:00
Will Rossiter
f0933e32de Merge pull request #59 from mobiusnz/master
BUGFIX: Files with uppercase extensions were not being assigned an appCategory()
2011-09-15 18:15:51 -07:00
Ingo Schommer
31b477ee0c ENHANCEMENT Added File.ShowInSearch flag to mirror the existing SiteTree.ShowInSearch flag - e.g. useful to limit visibility of user-uploaded files. Enforced in MySQLDatabase->searchEngine(). Tested in cms with SearchEngineTest. 2011-09-15 16:00:54 +02:00
Ingo Schommer
c776a1cd67 BUGFIX Consistently using Convert::raw2sql() instead of DB::getConn()->addslashes() or PHP's deprecated addslashes() for database escaping 2011-09-15 14:24:46 +02:00
Al
af81f44337 [BUGFIX] Files with uppercase extensions were not being assigned an appCategory() 2011-09-14 16:28:37 +12:00
Will Rossiter
dc84665ec2 MINOR: removed incorrect getter/setter statements. 2011-09-07 13:08:54 +12:00
Will Rossiter
79f3d02186 Merge pull request #53 from candidasa/master
BUGFIX: fixing random changing of access tab radio buttons when refreshing the CMS
2011-09-01 16:15:13 -07:00
Julian Seidenberg
c72a6131fe BUGFIX: fixing random changing of access tab radio buttons when refreshing the CMS with a URL such as /admin/page/settings/show/1#Root_Access in Firefox 2011-08-31 10:55:40 +12:00
Ingo Schommer
3c3cd8782a Merge pull request #52 from stojg/unittest-fix
MINOR: Fixed DateTest to use correct timezone setters
2011-08-30 05:38:22 -07:00
Simon Elvery
3880479abb Bug fix: Ensure image sizes are rounded. The imagecopyresampled function should be provided with integers, not floats. 2011-08-30 12:31:36 +10:00
Stig Lindqvist
0aeda5c924 MINOR: Fixed DateTest to work on Centos installation with another default date.timezone than Pacific/Auckland
Checking for PHP version and using the correct function for setting timezone
2011-08-30 00:39:44 +02:00
Ingo Schommer
654173e46b ENHANCEMENT Allow usage of custom 'fieldClasses' argument to FormScaffolder for relationships 2011-08-22 08:56:42 +02:00
Ingo Schommer
7d01b4042f BUGFIX Increasing length of Member.Email database column to comply with recommended RFC lengths for email addresses 2011-08-22 08:56:42 +02:00
Will Rossiter
19bfb1c83c Merge pull request #44 from drzax/master
ENHANCEMENT: Added Geoip::countryName2Code($name).
2011-08-16 00:30:08 -07:00
drzax
dbdfa010cb Added an additional utility function to return country name from code from the Geoip class. 2011-08-16 15:24:52 +10:00
Ingo Schommer
1b3978095a MINOR Added FileIframeField->getCanUploadNewFile() 2011-08-14 13:54:13 +02:00
Al
1189bcb7fe MINOR Documentation corrected download link for tutorial code 2011-08-14 13:46:00 +02:00
Al
83c738acbf MINOR Documentation added Requirements::set_suffix_requirements() as requested in disqus 2011-08-14 13:45:56 +02:00
Ingo Schommer
507c8caa20 Merge pull request #43 from drzax/sapphire
---

This class attempts to run the extraStatics method without first checking it exists. Theres no reason why a data object decorator would necessarily add extra statics.
2011-08-14 13:36:07 +02:00
Ingo Schommer
d4e42c2b11 MINOR Declaring SS_SysLogWriter::factory() to comply with changed parent interface 2011-08-12 17:05:54 +02:00
Ingo Schommer
8249834cf6 MINOR Adding 'runTask' to allowed_actions in TaskRunner 2011-08-12 17:05:54 +02:00
Ingo Schommer
e35b4b6f43 MINOR Updated language files 2011-08-12 17:05:54 +02:00
Ingo Schommer
4461cae31b ENHANCEMENT New CMSPreviewable interface class to standardize metadata making a record previewable by the CMS.
ENHANCEMENT New "preview" and "edit" buttons to toggle between preview and cms views. Reinstated utility links to switch between draft and live preview (based on SilverStripeNavigator) (formerly called "AjaxSwitchView")
2011-08-12 17:05:50 +02:00
Ingo Schommer
c06d52dce2 MINOR Delegated JavaScript layout from .cms-container to redraw() methods on the individual panels 2011-08-12 14:29:18 +02:00
Ingo Schommer
5062dd9393 MINOR Removed debug comments from generated screen.css 2011-08-12 14:29:18 +02:00
Ingo Schommer
dacdade4b0 ENHANCEMENT Removed automatic redirection to admin URLs in ContentController, too counter-intuitive and hard to implement consistently, while still allowing linkage of pages without CMS around them. Use $SilverStripeNavigator in custom Page.ss to link a page to its admin view for logged-in users. 2011-08-12 14:28:44 +02:00
Ingo Schommer
6d26a88442 MINOR Better redrawing of panels loaded via ajax in CMS (no jslayout/tabset glitches, loading overlay) 2011-08-12 14:28:44 +02:00
Ingo Schommer
475e055b18 MINOR Avoid triggering $('.cms-menu') item selection when already selected. Add new 'select' event for easier customization 2011-08-12 14:28:22 +02:00
Ingo Schommer
e40d3d45c0 ENHANCEMENT $('.cms-preview').block()/unblock() for blocking preview window when unavailable. Fixed duplicate addition of GET parameters in preview with new jQuery.query library for parameter parsing. 2011-08-12 14:28:22 +02:00
Ingo Schommer
bc9fb126c0 MINOR Fixed LeftAndMainTest assertions around DBField instead of string values (broken in 1827c18f) 2011-08-12 14:14:06 +02:00