Commit Graph

3444 Commits

Author SHA1 Message Date
Ingo Schommer
21fe999a3b MINOR Removed Metadata related fields from RedirectorPage->getCMSFields() (#4747)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92874 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 06:52:08 +00:00
Ingo Schommer
af41180177 MINOR Fixed capitalization of JSMin.php include
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92870 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 05:58:32 +00:00
Ingo Schommer
d92bbbecfb API CHANGE Refactored hiding of Permissions added in r92428. Added PermissionCheckboxSetField->setHiddenPermissions()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92865 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 05:23:42 +00:00
Ingo Schommer
ea8fa5054d MINOR Added simpletest thirdparty library (previously included as an external)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92857 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 04:35:26 +00:00
Ingo Schommer
239d65a07d MINOR Removed .gitignore
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92856 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 04:35:22 +00:00
Ingo Schommer
92cf57d2bf MINOR Removed svn:externals from sapphire/thirdparty, the code is now directly included in the source tree, and managed by piston
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92855 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 04:14:19 +00:00
Ingo Schommer
fba5841d9d MINOR Updated SWFUpload library to 2.5.0 alpha (see r91302)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92573 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:59 +00:00
Ingo Schommer
ea39dac559 BUGFIX: Fixed onselect action handling of multiselect trees (manual jsparty merge from r91331)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92572 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:53 +00:00
Ingo Schommer
f6c487444d BUGFIX: applied patch from #4381. Observable doesnt play nice with jQuery (manual jsparty merge from r90857)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92571 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:51 +00:00
Ingo Schommer
483ed4d0f2 ENHANCEMENT #3729: Updated the link inserter to insert a shortcode rather than a plain HTML link. (manual jsparty merge from r88518)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92570 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:49 +00:00
Ingo Schommer
d0161319c2 MINOR Added readme and license for tree.js (manual jsparty merge from r87745)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92569 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:47 +00:00
Ingo Schommer
6ff35958ca MINOR Hardcoding SiteTree::, there's no need for this to be configurable
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92568 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:44 +00:00
Ingo Schommer
84125b4416 MINOR Added CMSTreeClasses() methods to Group and Folder, to mirror SiteTree behaviour and allow reusage in CMS tree implementations
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92567 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:42 +00:00
Ingo Schommer
253dc1e24e BUGFIX Adjusted YamlFixture to new Spyc API: loadFile() instead of load()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92566 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:39 +00:00
Ingo Schommer
ffe57db895 MINOR Removed UniqueTextfieldTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92565 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:37 +00:00
Ingo Schommer
58cfa9ffca ENHANCEMENT Setting default group title in Group->populateDefaults()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92564 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:35 +00:00
Ingo Schommer
b1300f7c49 ENHANCEMENT Creating filesystem node in Folder->onBeforeWrite() (moved from AssetAdmin->add())
ENHANCEMENT Setting default folder title in Folder->populateDefaults()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92563 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:33 +00:00
Ingo Schommer
8b11599917 BUGFIX Ensuring ParentID is numeric in File->setParentID()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92562 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:30 +00:00
Ingo Schommer
ba281cf434 ENHANCEMENT Oncomplete ajax callbacks for TableListField.js->refresh()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92561 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:29 +00:00
Ingo Schommer
83267cdd45 MINOR Updated jquery-concrete to 0.9 release
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92560 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:26 +00:00
Ingo Schommer
0e93bcec53 MINOR Moved 'delete files' button from Folder->getCMSFields() to AssetTableField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92559 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:14 +00:00
Ingo Schommer
78ec0cbfa7 MINOR Updated jquery-concrete
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92558 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:12 +00:00
Ingo Schommer
dca8c0cb6f merging
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92557 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:33:06 +00:00
Ingo Schommer
46b0f0c959 ENHANCEMENT Deleting formatted images in Image->onBeforeDelete()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92556 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:43 +00:00
Ingo Schommer
16f69c3080 BUGFIX Fixed Folder singular/plural name i18n by overloading the statics inherited from File class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92555 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:40 +00:00
Ingo Schommer
1afe18a268 MINOR Formatting in TabSet.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92554 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:38 +00:00
Ingo Schommer
f418cdd55e MINOR Added jquery live extensions, necessary for 'change' event in jquery.concrete
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92553 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:36 +00:00
Ingo Schommer
0231e8b8ea BUGFIX Fixed CalendarDateField.js concrete definition
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92552 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:32 +00:00
Ingo Schommer
22bf4f8c33 MINOR Respecting FormField->extraClass() settings in TableListField.ss, ComplexTableField.ss and RelationComplexTableField.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92551 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:30 +00:00
Ingo Schommer
926834db27 MINOR Removed redundant jquery-ui.js dependency from TabSet.php and Security.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92550 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:27 +00:00
Ingo Schommer
29f375a679 MINOR Added Zend_Log thirdparty dependency (merge from r84322)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92549 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:24 +00:00
Ingo Schommer
32c44b071d MINOR Added prototypefix helper scripts from jquery13 module to fix document.getElementsByClassName() override by prototypejs
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92548 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:19 +00:00
Ingo Schommer
76d2886a70 MINOR Moved tiny_mce_imrpovements.js from jsparty/ to sapphire/javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92547 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:16 +00:00
Ingo Schommer
b56f493bce MINOR Moved jsparty/greybox to sapphire/thirdparty/greybox
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92546 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:12 +00:00
Ingo Schommer
f7cff273b7 MINOR Moved jsparty/tree to cms/javascript/tree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92545 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:08 +00:00
Ingo Schommer
393652aa49 API CHANGE Removed SiteTree->Status database field, and any manual setting of this value in SiteTree logic. Please use SiteTree->IsAddedToStage and similar dynamic getters for this purpose isntead.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92544 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:32:03 +00:00
Ingo Schommer
f7f3bc7050 MINOR Removed unused cmsCleanup_parentChanged() callback from Group, Folder and SiteTree classes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92543 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:59 +00:00
Ingo Schommer
4b1293771d MINOR Using jquery.concrete and jquery.selector on github through piston dependency management
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92542 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:55 +00:00
Ingo Schommer
d95f867945 ENHANCEMENT Triggering jQuery events in TreeSelectorField.js in preparation to switching the tree logic to jQuery. This prevents developers from using the soon-to-be-deprecated Observable prototype
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92541 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:47 +00:00
Ingo Schommer
28109df438 ENHANCEMENT Removed UniqueField.js dependency to CMS-related statusMessage() javascript class, and using jQuery even triggers instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92540 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:44 +00:00
Ingo Schommer
0b25cb9e14 ENHANCEMENT Removed UpdateURL.js, moved logic to CMSMain.js
ENHANCEMENT Using plain TextField for URLSegment in SiteTree->getCMSFields(), and using custom logic in CMSMain.js. The field didn't have any serverside validation anyway, and the remaining parts are quite custom

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92539 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:42 +00:00
Ingo Schommer
241bff3df9 MINOR Updated jquery.concrete
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92538 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:39 +00:00
Ingo Schommer
f60e94b1ca ENHANCEMENT Using native jQuery.getScript() in customized jQuery.ondemand plugin. Moved processDemandHeaders() into jQuery namespace, and adjusted customized prototype.js library
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92537 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:36 +00:00
Ingo Schommer
b661b40865 MINOR Wrapping ParentType selector in its own CompositeField in SiteTree->getCMSFields() to make it easier to apply javascript behaviour to
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92536 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:33 +00:00
Ingo Schommer
f3c0cbc1ab BUGFIX Setting HTTP status in current controller for Debug::friendlyError() to avoid it being overwritten in HTTPResponse->output() later in the execution chain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92535 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:30 +00:00
Ingo Schommer
204d4fb076 API CHANGED Changed SiteTree->TreeTitle() to getTreeTitle() to make it available as a dynamic property, e.g. for the CMS forms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92534 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:27 +00:00
Ingo Schommer
50dd9f3159 BUGFIX Adjusted PopupCalendarDateField->Field() to changed underlying CalendarDateField API: Generating the HTML markup without calling parent
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92533 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:23 +00:00
Ingo Schommer
7ecf3fe5ec MINOR Adjusted to changed TreeNodeAPI->setNodeIcon() arguments - using 'class-' prefix to denote PHP classes in the tree DOM now
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92532 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:21 +00:00
Ingo Schommer
0abe4728d1 ENHANCEMENT Added SiteTree->getStageURLSegment() and SiteTree->getLiveURLSegment() to allow auto-population in the CMS edit form. This information is necessary to keep clientside UI state consistent.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92531 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:18 +00:00
Ingo Schommer
9ecd35928c ENHANCEMENT Setting proper text/javascript content-type in FormResponse so clientside ajax-handling knows how to deal with it.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92530 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:16 +00:00