Ingo Schommer
e2bf21ba1a
BUGFIX Escaping base URLs for anchor links rewritten by SSViewer::process() with the 'rewriteHashlinks' option enabled (which is a framework default, and necessary because of the use of a <base> tag). Also added escaping for base URLs rendered through the 'php' variation of 'rewriteHashlinks'
2011-10-18 11:42:55 +02:00
Ingo Schommer
2ce1882e38
ENHANCEMENT Added SSViewer::getOption() as a logical counterpart to SSViewer::setOption()
2011-10-18 11:39:01 +02:00
Ingo Schommer
2279e9f3b3
MINOR Removed individual Requirements calls in LeftAndMain->init() in favour of Requirements::combine_files(), to avoid duplication and hard to debug behaviour differences due to changed file inclusion orders between non-live and live systems
2011-10-11 09:55:58 +02:00
Ingo Schommer
98b4fe21d9
Merge branch 'candidasa-cms-enhancements'
2011-10-11 09:37:18 +02:00
Julian Seidenberg
b7f9c59e12
ENHANCEMENT: adding hoverIntent plug-in to the js combined_files (SSO-7)
2011-10-11 12:12:46 +13:00
Ingo Schommer
340a779cfd
MINOR More transliteration matches for Lithuanian ( fixes #6724 , thanks zyzzza)
2011-10-10 10:14:19 +02:00
Ingo Schommer
e66255cfb3
API CHANGE Using 'BackURL' GET parameter in Controller->redirectBack() instead of the unused '_REDIRECT_BACK_URL', which e.g. makes the Security/logout behaviour consistent with Security/login ( fixes #6729 , thanks rixnix)
2011-10-10 10:10:20 +02:00
Julian Seidenberg
f807aa01b2
ENHANCEMENT: introducing a flight delay (using the jQuery HoverIntent plug-in) to prevent "sloppy mouse movement" from instantly closing the flyout menu when the mouse leaves the area. Also fixes problem with the menu in IE7.
2011-10-10 14:00:47 +13:00
Julian Seidenberg
df1de11a63
BUGFIX: renaming "triangle" to "flyout-indicator" and fixing bug when switching between pages in the CMS after collapsing left-hand side menu
2011-10-10 13:24:27 +13:00
Ingo Schommer
670eec95cb
MINOR Documentation
2011-10-07 22:57:23 +02:00
Ingo Schommer
c630f83344
BUGFIX Setting level in DataObject->getChangedFields() to 'value change' rather than 'type change' for CompositeFields, so they save correctly ( fixes #6726 , thanks frankmullenger)
2011-10-07 22:57:23 +02:00
Ingo Schommer
dcf59959d8
MINOR Removed dependency of DatagridFunctionalTest on ContentController (sapphire vs. cms)
2011-10-07 14:37:15 +02:00
Ingo Schommer
cc61551dae
MINOR Using raw SQL queries in DBDatetimeTest as SQLQuery returns false if no explicit FROM part is provided (previously working API was broken in 4171015d
)
2011-10-07 14:12:52 +02:00
Ingo Schommer
fa6681f5c5
BUGFIX: Better handling of non-existent records in delete calls (if button is clicked twice)
2011-10-07 14:12:52 +02:00
Ingo Schommer
3a5b3af7c6
BUGFIX Fixed tag stacking in Diff.php thirdparty lib (AIR-71)
2011-10-07 14:12:52 +02:00
Ingo Schommer
03db2894db
ENHANCEMENT Optional HTML escaping in Diff::compareHTML() (tested implicitly in DataDifferencerTest for sapphire) (AIR-56)
2011-10-07 14:12:52 +02:00
Ingo Schommer
72d5423ac5
MINOR Removed debug code from Diff.php
2011-10-07 14:12:52 +02:00
Ingo Schommer
d6f4b24066
MINOR Allowing array-based values in Diff->getHTMLChunks() by imploding on comma (AIR-39)
2011-10-07 14:12:51 +02:00
Ingo Schommer
40db114218
MINOR Resetting date/time defaults for DateFieldTest, TimeFieldTest, DatetimeFieldTest
2011-10-07 14:12:51 +02:00
Ingo Schommer
a3bcf0c61c
MINOR Using Object::create() for sub fields in DatetimeField to allow changing the dependencies globally
2011-10-07 14:12:51 +02:00
Ingo Schommer
d6c050c6ce
ENHANCEMENT Allowing to skip linktracking sync in Filesystem::sync() (useful for large bulk updates) (AIR-28)
2011-10-07 14:12:51 +02:00
Ingo Schommer
e3cceb6038
MINOR Refactored DateField.js from inline jQuery.live() application to a ssDatepicker() plugin which can be applied explicitly as well
2011-10-07 14:12:51 +02:00
Ingo Schommer
b05e3bd890
ENHANCEMENT Enforcing min/max config on DateField in jQuery date picker (AIR-93)
2011-10-07 14:12:51 +02:00
Ingo Schommer
7c147fed14
ENHANCEMENT Passing 'timeformat' and other metadata to markup generated in DateField, TimeField and DatetimeField, to allow for easier integration with third party libraries
2011-10-07 14:12:51 +02:00
Ingo Schommer
b807983d09
API CHANGE Using <div> instead of <p> for CheckboxField->FieldHolder()
2011-10-07 14:12:51 +02:00
Ingo Schommer
d93bd49edc
ENHANCEMENT Allowing global default configuration for DateField, TimeField and DatetimeField
2011-10-07 14:12:50 +02:00
Ingo Schommer
585a8bc784
API CHANGE Removed 'showdropdown' option from TimeField, use custom libraries instead
2011-10-07 14:12:50 +02:00
Ingo Schommer
aa60201cd1
MINOR Making date/time order and separation configurable through DatetimeField->setConfig('datetimeorder')
2011-10-07 14:12:50 +02:00
Ingo Schommer
c89bdbb268
ENHANCEMENT Added user timezone support to DatetimeField
2011-10-07 14:12:50 +02:00
Sam Minnee
0601384cda
BUGFIX: Reapply decorator statics if it has been removed and re-added. (merged from r100706)
2011-10-07 14:12:50 +02:00
Ingo Schommer
8302af1ea8
ENHANCEMENT Added Database->getLock() and Database->releaseLock() for application-level advisory locks
2011-10-07 14:12:50 +02:00
Ingo Schommer
67568b08a3
MINOR Checking for valid field type in DataDifferencer (built-in fields like 'RecordClassName' can't be casted to a field object)
2011-10-07 14:12:50 +02:00
Ingo Schommer
f37640b493
BUGFIX Added support for array values in LookupField, to ensure it works correctly when used as a readonly representation of ListboxField (AIR-39)
2011-10-07 14:12:49 +02:00
Ingo Schommer
55183ec386
BUGFIX Reset WHERE clause in SQLMap->getItem() to ensure it can be invoked more than once
2011-10-07 14:12:49 +02:00
Ingo Schommer
b438a0a095
API CHANGE Removed support for undocumented and only partially implemented FormField->reserveNL flag, which is just the opposite of the documented and more frequently used FormField->dontEscape flag.
2011-10-07 14:12:49 +02:00
Ingo Schommer
23adf71e5f
BUGFIX Consistently resetting Subsite::$disable_subsite_filter to its original state (if the module is installed)
2011-10-07 14:12:49 +02:00
Ingo Schommer
99355c0089
ENHANCEMENT Added new onBeforeDuplicate() and onAfterDuplicate() hooks to DataObject
2011-10-07 14:12:49 +02:00
Ingo Schommer
9af805186b
BUGFIX Don't mark pages as changed when setting HasBrokenFile=1 through Filesystem::sync() and SiteTree->onBeforeWrite() - its an internal change that shouldn't affect the page publication status (AIR-28)
2011-10-07 14:12:49 +02:00
Ingo Schommer
5257c35dff
MINOR Documentation
2011-10-07 14:12:49 +02:00
Ingo Schommer
715638333e
API CHANGE Obeying existing memory_limit settings in increase_memory_limmit_to(). Introduced set_increase_memory_limit_max() and set_increase_time_limit_max()
2011-10-07 14:12:48 +02:00
Ingo Schommer
54b81a3953
MINOR Don't set cookies in CLI mode for Versioned (AIR-75)
2011-10-07 14:12:48 +02:00
Ingo Schommer
6a98615d18
ENHANCEMENT Supporting values not in $source in LookupField, instead of displaying "(none)" (which makes it useable in DataDifferencer) (AIR-24)
2011-10-07 14:12:48 +02:00
Ingo Schommer
2ec2c97766
ENHANCEMENT Allowing diffs of has_one relationship in DataDifferencer (AIR-24)
2011-10-07 14:12:48 +02:00
Ingo Schommer
6e1013e93b
MINOR Allowing HTML values in SimpleImageField_Readonly in order to allow image-based diffs
2011-10-07 14:12:48 +02:00
Ingo Schommer
4d31ac65a0
ENHANCEMENT Allowing array values in ListboxField->setValue(), serialising into comma-separated list of values (AIR-35)
2011-10-07 14:12:47 +02:00
Ingo Schommer
007eb259e0
MINOR Added DataDifferencerTest, starting by testing array-based values (AIR-39)
2011-10-07 14:12:47 +02:00
Ingo Schommer
8cc1b4c852
BUGFIX Bypassing setters in DataDifferencer to avoid problems with invalid data (e.g. HTML fragment instead of valid classname in SiteTree->setClassname(). Better validation of constructor parameters (AIR-42)
2011-10-07 14:12:47 +02:00
Ingo Schommer
7403056384
BUGFIX Don't show CLI warnings from 'which' command in sake bash script by piping them to /dev/null ('which' fails silently on Debian, but produces warnings on CentOS) (AIR-25)
2011-10-07 14:12:47 +02:00
Ingo Schommer
823cae3f32
BUGFIX Setting mbstring defaults in cli-script.php (same as main.php), and default mb_regex_encoding() to UTF-8 as well (in both files)
2011-10-07 14:12:46 +02:00
Ingo Schommer
da0ac49d5f
API CHANGE Rewriting underscores to dashes in files uploaded through Upload->load(), Folder->addUploadToFolder() or Image->loadUploadedImage(). Transliterating non-ASCII characters automatically (turn off via FileNameFilter::$default_use_transliterator=false)
...
ENHANCEMENT New FileNameFilter class for a more customisable way to influence filename filtering in Upload->load(), Folder->addUploadToFolder() or Image->loadUploadedImage()
2011-10-07 14:12:46 +02:00