Commit Graph

6781 Commits

Author SHA1 Message Date
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
Ingo Schommer
ac8cdf0367 ENHANCEMENT Making check/repair/vaccum of database tables on dev/build configurable via SS_Database::$check_and_repair_on_build (AIR-12) 2011-10-07 14:12:46 +02:00
Ingo Schommer
37dc807866 ENHANCEMENT Added custom 'onafterinsert' event to forms dealing with link/image/flash insertion through tiny_mce_improvements.js, which allows e.g. to close them automatically after insertion (AIR-14) 2011-10-07 14:12:45 +02:00
Ingo Schommer
afeccbc9cb ENHANCEMENT Added File::get_class_for_file_extension() instead of hardcoding it in Folder->constructChild(). Allows for custom classes in files uploaded through core functionality like the Upload and FileField logic. 2011-10-07 14:12:45 +02:00
Ingo Schommer
3bd80dfb87 MINOR Requiring behaviour.js for TimeField, and using document.getElementById() instead of $ function alias in TimeField_dropdown.js 2011-10-07 14:12:45 +02:00
Ingo Schommer
0a8a17833f MINOR Quoting relation tables in new ManyManyList API 2011-10-07 14:11:07 +02:00
Ingo Schommer
df56eb540a MINOR Don't throw deprecation notice on DataObjectSet and FieldSet if there's still over 500 (!) references to them in core, as it basically means that everybody has to suppress PHP NOTICE errors for months, impacting core code quality 2011-10-04 13:23:13 +02:00
Ingo Schommer
7b38fcfd2e MINOR Updated jQuery UI from 1.8.10 to 1.8.16 2011-10-04 13:16:56 +02:00
Ingo Schommer
5db7f3891b MINOR Updated jQuery from 1.5 to 1.6.4 2011-10-04 13:16:56 +02:00
Ingo Schommer
2aa28c0902 BUGFIX Disabling add_sheet() on jstree, as its horribly slow 2011-10-04 13:16:56 +02:00
Ingo Schommer
cae7791d14 Allowing success and error callbacks in refresh() 2011-10-04 13:16:56 +02:00
Ingo Schommer
135cb1cc94 BUGFIX Checking for node existence in get_text() for jquery.jstree.js 2011-10-04 13:16:55 +02:00
Ingo Schommer
4b1b7d4ec7 MINOR Moved jstree piston origin to github (need to reapply patches) 2011-10-04 13:16:55 +02:00
Ingo Schommer
443777e789 MINOR Selecting parents of nested menu entries by default in LeftAndMain.Menu.js 2011-10-04 13:16:55 +02:00
Ingo Schommer
7408ba4a54 ENHANCEMENT Removed unnecessary "Edit Page > Reports" menu entry, feature will only be available through a dedicated "Reports" interface 2011-10-04 13:16:55 +02:00
Stig Lindqvist
488734e53e ENHANCEMENT Added correct styling of sorting and odd even on grid table 2011-09-30 10:59:52 +13:00
Stig Lindqvist
b1b1615a58 ENHANCEMENT Datagrid renders ArrayList according to Datagrid#setModelClass() 2011-09-29 14:15:02 +13:00
Stig Lindqvist
1811fc2746 MINOR Cleaning up code of Datagrid with related classes with more tests 2011-09-29 12:16:15 +13:00
Jean-Fabien
197913842c ENHANCEMENT First cut at data grid with the data presenter 2011-09-28 17:49:14 +13:00
Will Rossiter
9bd4e752ba FEATURE: initial cut of the template and styles for DataGrid 2011-09-28 16:50:02 +13:00
Stig Lindqvist
7d90aa3c10 MINOR Changed inline documentation to be correct 2011-09-28 12:33:02 +13:00
Stig Lindqvist
85cdb3771c FEATURE Added initial commit of Datagrid with tests 2011-09-28 12:33:02 +13:00
Stig Lindqvist
75c0fcd052 MINOR Better isset checks on Versioned#allVersions() due to changes in SQLQuery 2011-09-28 12:33:02 +13:00
Stig Lindqvist
8d7bfd4ffa MINOR Fixed DataObjectTest to use ManyManyList when testing relation manipulations 2011-09-28 12:33:02 +13:00
Stig Lindqvist
73c249128b MINOR Fixed the SQLQuery to return empty query in only certain cases 2011-09-28 12:33:01 +13:00
Stig Lindqvist
b6f88036eb API CHANGE Usage of FieldSet is deprecated, use FieldList instead 2011-09-28 12:31:52 +13:00
Stig Lindqvist
bf73265252 BUGFIX Added Fixing deprecated usage of array_multisort for php 5.3
It worked by accident in php 5.2, see https://bugs.php.net/bug.php?id=49241
2011-09-27 11:12:35 +13:00
Stig Lindqvist
2101d3c09b MINOR Added codecoverage on a single test to the allowed actions 2011-09-27 11:00:28 +13:00
Stig Lindqvist
4171015df1 MINOR SQLQuery without a FROM table should return empty query 2011-09-27 10:18:23 +13:00
Will Rossiter
37d197c52f MINOR altered skipTest to be a instance property rather than static 2011-09-26 17:11:49 +13:00
Will Rossiter
51affd2d63 BUGFIX: update LeftAndMain::handleRequest() to be consistent with Controller::handleRequest() 2011-09-26 16:55:59 +13:00
Will Rossiter
1732a17114 Merged new-orm into datagrid 2011-09-26 16:47:54 +13:00
Will Rossiter
e740bf8a65 ENHANCEMENT: added SapphireTest:: boolean to flag tests that should be skipped from the TestRunner 2011-09-26 16:08:41 +13:00