Commit Graph

3356 Commits

Author SHA1 Message Date
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
Ingo Schommer
b930fbfe20 BUGFIX Setting cookie name in TabSet.js to avoid writing new cookies with arbitrary identifiers on every page load
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92529 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:13 +00:00
Ingo Schommer
beb4efef09 ENHANCEMENT Disabling form validation for right-panel forms in CMS in HtmlEditorField. None of the fields have validation attached to them at the moment, so the generic validation output is unnecessary bloat.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92528 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:11 +00:00
Ingo Schommer
757df3088e ENHANCEMENT Returning FALSE from Security->ping() if no valid user session exists, for more accurate login checking through the CMS javascript pinging
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92527 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:09 +00:00
Ingo Schommer
353dc66633 MINOR Removed SitetreeAccess.js dependency from SiteTree->getCMSFields(), is now handled in CMSMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92526 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:06 +00:00
Ingo Schommer
0009b5491c MINOR Markup changes to Translatable->getCMSField() to better support clientside language selection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92525 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:03 +00:00
Ingo Schommer
18bd505747 MINOR Removed windowName() manual setting in ContentController->SilverstripeNavigator()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92524 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:31:00 +00:00
Ingo Schommer
817d1a0132 MINOR Removed usage of deprecated baseHref() in InlineFormAction.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92523 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:58 +00:00
Ingo Schommer
0808b164b5 BUGFIX Extending $ for namespaced closures in jquery.concrete to allow for native jQuery calling through $ placeholder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92522 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:56 +00:00
Ingo Schommer
9889ba5c4b MINOR Moved Function.prototype.create from tree.js into behaviour.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92521 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:53 +00:00
Ingo Schommer
146979b1b1 MINOR Documentation and code formatting for jquery.ondemand.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92520 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:51 +00:00
Ingo Schommer
073ebbe6ea MINOR Moved sapphire/javascript/core to sapphire/javascript/jquery-ondemand to fit with patterns in sapphire/thirdparty
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92519 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:49 +00:00
Ingo Schommer
fd1cb12401 MINOR Removed unused sapphire/thirdparty/jquery.ondemand.js library, we use a heavily customized version in sapphire/javascript/jquery-ondemand instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92518 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:46 +00:00
Ingo Schommer
5d6233a59e MINOR Indentation in customized jquery.ondemand.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92517 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:44 +00:00
Ingo Schommer
1b138d6916 MINOR Removed layout_helpers.js dependency
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92516 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:42 +00:00
Ingo Schommer
df1766b7f5 MINOR Removed unused css/CalendarDateField.css
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92515 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:38 +00:00
Ingo Schommer
2fc966cc44 MINOR Removed loader.js dependencies
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92514 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:36 +00:00
Ingo Schommer
a8fcb4bb63 API CHANGE Removed prototype15.js, its not used in core and can be downloaded separately for custom projects
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92513 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:34 +00:00
Ingo Schommer
b1baa84efb ENHANCEMENT Using jQuery UI datepicker in CalendarDateField
API CHANGE Removed javascript datepicker functionality in DMYCalendarDateField

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92512 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:31 +00:00
Ingo Schommer
e233b4b76b MINOR Removed tab overflow setting from TabSet.js, now located in CMSMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92511 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:29 +00:00
Ingo Schommer
c9cb5dd0a8 MINOR Added json-js library to provide a cross-browser JSON implementation. We need this for jquery.layout.state.js at the moment.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92510 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:27 +00:00
Ingo Schommer
dd074069de MINOR Moved css specific to Security/login in Security_login.css (shouldnt be in the generic Form.css declarations)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92509 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:24 +00:00
Ingo Schommer
2a53488bb8 ENHANCEMENT Storing last selected tab in a cookie for TabSet.js. Requires jquery.cookie plugin.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92508 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:21 +00:00
Ingo Schommer
a32d473b53 MINOR Added jquery.cookie library to allow saving of last selected jQuery UI tab
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92507 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:19 +00:00
Ingo Schommer
4e91eae50a MINOR Re-added jquery.metadata plugin, updated from 2.0 to 2.1
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92506 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:16 +00:00
Ingo Schommer
48afb22b91 MINOR Temporarily removed jquery.metadata plugin, to switch piston externals from svn to git
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92505 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:12 +00:00
Ingo Schommer
d27e3e7b96 MINOR Moved jquery-layout and swfupload libraries to cms/thirdparty
MINOR Moved jquery-fitheighttoparent library to cms/javascript

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92504 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:09 +00:00
Ingo Schommer
863807a87d BUGFIX Setting tinymce spellchecker rpc URL via HtmlEditorConfig rather than patching it into the plugin sourcecode
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92503 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:30:02 +00:00
Ingo Schommer
a11db29672 MINOR Changed paths to moved thirdparty dependencies (mostly from /jsparty to /sapphire/thirdparty, /cms/javascript and /sapphire/javascript)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92502 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:59 +00:00
Ingo Schommer
9acde4e9ac API CHANGE Moved jsparty/tiny_mce/plugins/spellchecker to sapphire/thirdparty/tinymce-spellchecker
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92501 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:47 +00:00
Ingo Schommer
678502e2c9 API CHANGE Moved tinymce-advcode plugin from jsparty/tinymce_advcode to sapphire/thirdparty/tinymce-advcode
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92500 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:43 +00:00
Ingo Schommer
3b97ce1f8f API CHANGE Moved jsparty/jquery/plugins/fitheighttoparent to sapphire/thirdparty/jquery-fitheightoparent
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92499 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:33 +00:00
Ingo Schommer
0630051d58 API CHANGE Added jquery_improvements.js and prototype_improvements.js (moved from jsparty/ folder)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92498 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:30 +00:00
Ingo Schommer
566643f988 MINOR Added sapphire/thirdparty/behaviour
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92497 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:28 +00:00
Ingo Schommer
f811d9dfd5 MINOR Added sapphire/thirdparty/firebug-lite
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92496 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:25 +00:00
Ingo Schommer
75d3815d29 MINOR Removed unnecessary files from sapphire/thirdpary/spyc
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92495 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:22 +00:00
Ingo Schommer
2f32c87e96 MINOR Moved sapphire/thirdparty/simplepie from an external to a piston-managed module
API CHANGE Renamed sapphire/thirdparty/simplepie/SimplePie.php to simplepie.inc

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92494 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:18 +00:00
Ingo Schommer
67f50e16e1 MINOR Added .gitignore
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92493 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:10 +00:00
Ingo Schommer
4b1027d961 MINOR Replaced sapphire/thirdparty/Zend external with piston-managed version
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92492 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:29:03 +00:00