Commit Graph

3513 Commits

Author SHA1 Message Date
Sean Harvey
ed630229ab BUGFIX Modulus and MultipleOf should start at index 0 to match the iterator position, by default (from r94071)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95586 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:36:04 +00:00
Sean Harvey
a481bc5de7 MINOR Added a few missing pieces to DataObjectSetTest::testMultipleOf() (from r94065)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95585 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:35:48 +00:00
Sean Harvey
d6e9931eb4 FEATURE Added MultipleOf and Modulus methods to ViewableData - useful for templating work (from r94063)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95584 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:35:32 +00:00
Sean Harvey
737701007a BUGFIX fixed reference to incorrect class (from r94061)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95583 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:35:15 +00:00
Sean Harvey
1588da54d8 ENHANCEMENT Added support for loading external plugins (with relative paths) in HtmlEditorConfig. This means relative paths can be separate from the plugin name, and fixes a bug where paths containing dashes were ignored by TinyMCE.init().
ENHANCEMENT Changed sapphire/thirdparty/tinymce-advcode to use the original plugin name, and specify its relative path through HtmlEditorConfig instead. (from r94060)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95582 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:30:46 +00:00
Sean Harvey
62de1eb692 BUGFIX: fix some missing langs/en.js loading. (from r94002)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95581 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:25:44 +00:00
Ingo Schommer
103ebbb168 BUGFIX Escaping Translatable->MetaTags() (#4826, thanks juanparati)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95174 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-14 19:59:23 +00:00
Mark Stephens
341ff475bb MINOR: remove director rule for removed Image_Uploader in r77012
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95042 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-13 20:08:20 +00:00
Andrew Short
bc80c1eff3 MINOR: Made ComplexTableField sub-forms testable by returning rather than echoing results.
From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95035 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-13 05:22:33 +00:00
Andrew Short
1b66ce5a86 MINOR: Allow a validation error to be thrown when a DataObject is saved in ComplexTableField.
From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95034 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-13 05:22:32 +00:00
Andrew Short
d5e2db7f5e BUGFIX: Included jQuery in SelectionGroup->FieldHolder(), and used new jQuery.live syntax.
From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95033 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-13 05:22:31 +00:00
Sam Minnee
35c6b15edc MINOR: Don't use test manifest for dev/startsession and dev/endsession (from r93528)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@94431 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-06 02:48:32 +00:00
Ingo Schommer
8bf1dc5eee ENHANCEMENT Added SiteTree->canViewStage() and using it in ContentController->init()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@94253 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-02 09:40:45 +00:00
Ingo Schommer
155e981158 ENHANCEMENT Added GroupCsvBulkLoader class to facilitate group imports with permission codes and hierarchy
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@94252 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-02 09:40:38 +00:00
Ingo Schommer
fd86a0ba0e ENHANCEMENT MemberCsvBulkLoader for easy member import with group associations
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@94251 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-02 09:40:33 +00:00
Ingo Schommer
ef28a27b25 ENHANCEMENT Added BulkLoader->deleteExistingRecords(), removed unnecessary parameters from BulkLoader->load()
ENHANCEMENT Decreased memory usage in BulkLoader->load() when deleting all records before importing
MINOR Re-enabled CsvBulkloaderTest cases, were disabled by accident

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@94250 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-02 09:40:28 +00:00
Ingo Schommer
261f8f897a BUGFIX Added Hierarchy::reset() to manually clear marked/expanded states triggered through Hierarchy->markExpanded() etc. This caused side effects when running e.g. CMSMainSearchFormTest and HierarchyTest alongside each other.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93987 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 02:24:46 +00:00
Ingo Schommer
38c71c56a3 MINOR Added flag to remaining SapphireTest subclasses
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93977 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 01:56:05 +00:00
Ingo Schommer
ba344f2531 ENHANCEMENT Added SapphireTest->usesDatabase flag to explicitly request building of a test database for a test suite. This is necessitated by r93717, which removed the automatic building of these databases on every run.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93975 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 01:48:26 +00:00
Sean Harvey
b9bbecdbee MINOR: Use jquery instead of prototype for silverstripenavigator (from r93966)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93973 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 01:46:37 +00:00
Sean Harvey
de0991c968 MINOR: Updating mergeinfo to ignore mergebacks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93971 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 01:43:46 +00:00
Ingo Schommer
330d2bbd41 MINOR Mergeinfo
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93951 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 01:02:55 +00:00
Ingo Schommer
40629ef55f BUGFIX Fixed incorrect hasDatabaseField() in SearchFilter::getDbName() - use hasOwnTableDatabaseField() instead (from r93860)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93945 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:46:14 +00:00
Ingo Schommer
c340d9a1c5 MINOR Fixed tabs (from r93859)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93944 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:45:59 +00:00
Ingo Schommer
8d5ff0ce61 API CHANGE: removed Director::Link(). Use Controller::join_links() instead (from r93785)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93943 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:45:14 +00:00
Ingo Schommer
8ccbedc56d BUGFIX Fixed SearchContextTest failure (from r93777)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93942 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:45:02 +00:00
Ingo Schommer
43dd296076 ENHANCEMENT Added parameter to DBLocale->Nice()
ENHANCEMENT Added DBLocale->getNativeName() (from r93771)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93941 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:44:46 +00:00
Ingo Schommer
22bc6827ae BUGFIX Fixed drag link event handling on ComplexTableField.js (#4737) (from r93754)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:44:27 +00:00
Ingo Schommer
a0092fb348 MINOR Fixed reference to fieldExists() on SearchFilter which was removed from DataObject (from r93738)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93939 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:44:09 +00:00
Ingo Schommer
3216c96a69 MINOR: reverted r93693 due to the field being required for the CMS (from r93701)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93938 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:43:39 +00:00
Ingo Schommer
1345dd3e62 API CHANGE: removed deprecated RestrictedText fields (from r93693)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93937 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-30 00:43:11 +00:00
Normann Lou
617ad7e07c BUGFIX: the folder tinymce_advcode is changed to tinymec-advcode, so should the path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93934 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-29 23:41:22 +00:00
Mark Stephens
69818fad17 ENHANCEMENT: Change to TreeDropdownField, giving it filtering behaviour as described in ticket http://open.silverstripe.org/ticket/3007 . Its disabled by default for legacy compatibility, but enabled for HtmlEditorField so that link editor is filterable for local links, via an extra boolean parameter on TreeDowndownField.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93932 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-29 23:29:31 +00:00
Sean Harvey
c640c5c5a9 MINOR Removed calls to ContentNegotiator::disable() since it's disabled by default (from r93682)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93769 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:46:16 +00:00
Sean Harvey
8844c1adf9 BUGFIX Removed calls to Translatable::is_enabled() since it's deprecated, replaced with Object::has_extension('SiteTree', 'Translatable') instead (from r93677)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93768 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:46:09 +00:00
Sean Harvey
46bbdb1e38 BUGFIX #4762 Replace Debug::log_errors_to() in ConfigureFromEnv to use SS_Log instead. Thanks simon_w! (from r93673)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93767 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:45:50 +00:00
Sean Harvey
0472c3082f API CHANGE Removed ComponentSet::removeByFilter() since it's not flexible enough and fixed calls to this from HtmlEditorField::saveInto() to use custom code instead (from r93660)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93766 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:45:31 +00:00
Sean Harvey
c5ee0573d1 MINOR Removed ContentNegoitator::disable() from FormResponse - it's disabled already (from r93659)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93765 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:45:06 +00:00
Sean Harvey
0f8c47c6cd MINOR Moved static functions in ContentNegotiator above the instance methods (from r93641)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93764 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:44:06 +00:00
Sean Harvey
569e33e99e API CHANGE Removed deprecated static function ContentNegotiator::disable() - it's disabled by default (from r93640)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93763 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:43:14 +00:00
Sean Harvey
162c6074fc MINOR Update mergeinfo to ignore jsparty changes in 2.4
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93761 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:42:15 +00:00
Sean Harvey
3083b4dd21 MINOR Removed svn:externals in sapphire/thirdparty in preparation for piston-managed libraries (from r93519)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93753 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:27:12 +00:00
Sean Harvey
ca39b65bfc BUGFIX: Fix javascript error on IE8 by forcing IE7 compat mode. (from r93514)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93752 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:27:01 +00:00
Sean Harvey
ae083e3c9f MINOR Update the main.php PHP version numbers at the top doc block (from r93449)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93751 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:26:35 +00:00
Sean Harvey
55f5cb66d4 BUGFIX Fixed dev/build not redirecting properly on first install of SS website on IIS (from r93259)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93750 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:26:13 +00:00
Sean Harvey
cef45bb95a BUGFIX Fixed newlines for Windows when logging errors in LogErrorFileFormatter (from r93161)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93749 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:26:03 +00:00
Sean Harvey
30021b128f MINOR: Updating mergeinfo to ignore mergebacks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93748 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:25:44 +00:00
Ingo Schommer
487bb763d9 MINOR Fixed PHP notice (#4765)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93747 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:23:45 +00:00
Ingo Schommer
f3db094874 BUGFIX Escaping sprintf() arguments in ComplexTableField to avoid extraneous % characters in a referrer URL messing up the sprintf() invocation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93745 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:22:21 +00:00
Sean Harvey
389adf2f2d BUGFIX: fix for multiple EmailField validation on one form. Merged via r78565 (from r93483)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93734 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-27 01:01:27 +00:00