Commit Graph

910 Commits

Author SHA1 Message Date
Will Rossiter
3b3bea1352 MINOR: allow tinymce to suck down script code at least in tinymce
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63355 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-30 01:23:05 +00:00
Sam Minnee
2954514b4c ENHANCEMENT #2172: Added counts to comment admin submenu items
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63327 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-30 00:05:22 +00:00
Ingo Schommer
bb3adae0bc BUGFIX Fixed loading indicator in for add form in ModelAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63297 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 19:02:44 +00:00
Ingo Schommer
b464952522 BUGFIX wrong jsparty PATH references
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63295 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 18:49:35 +00:00
Ingo Schommer
d129a22691 BUGFIX Fixed ModelAdmin Requirements path references
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63294 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 17:26:02 +00:00
Ingo Schommer
e254ac5d54 MINOR Documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63293 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 17:21:32 +00:00
Sean Harvey
8920edb85f ENHANCEMENT Moved UserDefinedForm and related code, templates, CSS and javascript out of cms and sapphire classes into userforms/trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63249 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-29 03:18:23 +00:00
Ingo Schommer
740e3b724f ENHANCEMENT Added user_error() if RebuildStaticCacheTask is called without a Page->allPagesToCache() method defined
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63198 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-28 22:41:02 +00:00
Ingo Schommer
a322fbd59f ENHANCEMENT Introduced constants for system paths like /sapphire in preparation for a more flexible directory reorganisation. Instead of hardcoding your path, please use the following constants: BASE_PATH, BASE_URL, SAPPHIRE_DIR, SAPPHIRE_PATH, CMS_DIR, CMS_PATH, THIRDPARTY_DIR, THIRDPARTY_PATH, ASSETS_DIR, ASSETS_PATH, THEMES_DIR, THEMES_PATH
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63175 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-28 13:12:20 +00:00
Ingo Schommer
9d8b60ac87 ENHANCEMENT Introduced constants for system paths like /sapphire in preparation for a more flexible directory reorganisation. Instead of hardcoding your path, please use the following constants: BASE_PATH, BASE_URL, SAPPHIRE_DIR, SAPPHIRE_PATH, CMS_DIR, CMS_PATH, THIRDPARTY_DIR, THIRDPARTY_PATH, ASSETS_DIR, ASSETS_PATH, THEMES_DIR, THEMES_PATH
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63154 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-27 16:02:38 +00:00
Sean Harvey
4044898bb1 MINOR: Fix phpdoc parsing error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63124 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-26 04:22:39 +00:00
Sean Harvey
2ff8f9f465 MINOR: Fix phpdoc parsing error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63123 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-26 04:21:15 +00:00
Ingo Schommer
3b956bb983 MINOR Added CMS->SiteTreeAsUL() to $allowed_actions (#2733)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63081 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 14:50:33 +00:00
Ingo Schommer
a317c50186 BUGFIX decrease width of elements in image/flash/link panel on right-hand side to avoid close-button being shoved off to the void (#1669)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63079 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 14:17:14 +00:00
Ingo Schommer
3332ba3e42 Link Editor: Close button dissapears in Firefox 3 (#2478)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63078 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 14:08:09 +00:00
Sam Minnee
a9fe1eec6a ENHANCEMENT: Prevent CMS session timing out and losing content - Added a ping to Security/ping every 5 mins, and altered the onSessionLost behaviour to open login form in a pop-up instead of closing the CMS (see #2242)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62995 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-24 04:18:29 +00:00
Sam Minnee
366ceda590 ENHANCEMENT #2700 - Added section title to CMS title tag
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62894 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-23 02:24:23 +00:00
Sam Minnee
1844173308 Corrected layout of field groups
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62866 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 22:51:18 +00:00
Ingo Schommer
f79a49fa31 API CHANGE Deprecated Member::isInGroup() - use Member::inGroup() instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62846 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-22 16:07:13 +00:00
Sam Minnee
deee0458a2 Removed save button from add form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62689 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-18 21:25:49 +00:00
Ingo Schommer
b9a0a266cc MINOR Changed console.log() to console.error() in ajax error handling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62484 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 22:08:02 +00:00
Ingo Schommer
9e2de7ba7e ENHANCEMENT Improved ajax error display within the CMS: Using Firebug (or Firebug Lite) for plaintext output instead of cramming everything into the CMS-status field
FEATURE Including Firebug Lite when requested by ?debug_firebug=1 for easy debugging in IE/Opera/Safari- otherwise including fake-objects with FirebugX by default to enable usage of console.* commands without javascript errors

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62477 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-16 21:46:08 +00:00
Ingo Schommer
a4dc629837 ENHANCEMENT Adjusted ModelAdmin->import() to new BulkLoader_Result API (see r62403)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62397 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-15 14:22:22 +00:00
Sam Minnee
11bb677150 Improved ModelAdmin.js - removed formData and showRecord, creating .fn('loadForm') instead; used livequery more to reduce the amount of behaviour reapplication that was necesary.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62335 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-13 06:19:17 +00:00
Sam Minnee
dcb9e53ed0 Updated ModelAdmin.js to use $ instead of jQuery for executing jQuery items.
Added support for specifying a SearchClassSelector() method on ModelAdmin, which returns 'tabs' or 'dropdown', to enable a better UI for ModelAdmins that manage a large number of different classes.
Updated ModelAdmin's javascript to provide more status indicator (loading icons, success/failure messages), using HTTP status codes and custom status text.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62334 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-13 04:45:30 +00:00
Sean Harvey
ad6ed7f1a7 API CHANGE Moved DataReport and SQLReport into the ecommerce module, since this is the only place it is used, plus it's going to be deprecated soon anyway
BUGFIX Removed DataReport.js calls in LeftAndMain until we figure out a better way of doing

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62324 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 04:58:06 +00:00
Sam Minnee
5b039514f0 Merged branches/roa into trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62322 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 04:49:42 +00:00
Sam Minnee
03265942cc MemberTableField delete just removes the member from the group
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62311 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 03:22:56 +00:00
Sam Minnee
db0431e8d6 Fixed MemberTableField ajax actions after a search
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62310 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 03:22:40 +00:00
Sam Minnee
117f1171e7 Introduce notion of using HTTP status text to pass status message to the end user
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62287 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-12 01:50:08 +00:00
Sam Minnee
b7b59bd916 Reorganised ModelAdmin javascript to be better structured
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62278 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-11 23:18:21 +00:00
Will Rossiter
578e957901 MINOR: fixed comment on MathSpamProtection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-01 22:57:08 +00:00
Andrew O'Neil
e9cb69118b MINOR #2696 - Add message when trying to load the CMS with javascript
disabled (simon_w)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61826 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-01 05:03:38 +00:00
Andrew O'Neil
c2da78d2e9 MINOR Fixed PHP notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-01 04:54:48 +00:00
Sam Minnee
ab5ea4c0f6 Show result-assembly columns so that you read down the column instead of zigzagging
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61721 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-28 22:57:18 +00:00
Sam Minnee
b4e681dc83 BUGFIX: Removed use of deprecated TableListField_Item::BaseLink() And TableListField::ajax_refresh() from CommentTableField and MemberTableField
BUGFIX: Fixed styling, searching, and pagination of CommentTableField

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61686 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-28 04:26:59 +00:00
Sam Minnee
9222af6829 Windmill test - whacked up timeout on CMS load for slow build slave
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61634 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 10:56:55 +00:00
Sam Minnee
10546a00b5 Fixed setup of windmill admin tests
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61631 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 10:51:36 +00:00
Sam Minnee
221e7b574f Fixed glitch in test
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61628 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 08:23:47 +00:00
Sam Minnee
dfa227cbe5 Updated windmill tests to use python syntax, as this will scale better
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61626 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 08:18:54 +00:00
Sam Minnee
725ba3a610 Fixed bugs in MemberTableField search
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61614 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 04:58:34 +00:00
Saophalkun Ponlu
a009cf5341 added a call to magic method to check extra (crm) permission
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61578 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-27 01:56:37 +00:00
Normann Lou
eea6cf978d The searchCriteria will be added as $_GET to the form action, rather than that TableListField's extraLinkParams
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61511 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-26 01:54:53 +00:00
Saophalkun Ponlu
4870a9f340 API CHANGE: Allow definition of DataObject::getCMSAddFormFields() to alter modeladmin step 1
BUGFIX: Allow use of CheckboxSetField and other many-many editors in the add form of ModelAdmin
BUGFIX: Fix direct access of (class)/(id)/edit on the ModelAdmiN

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61505 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-26 00:25:22 +00:00
Sean Harvey
2da4e8a66a BUGFIX Asset area in CMS refused to load because of error in code from r60920 - #2751
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61195 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-20 10:27:04 +00:00
Sean Harvey
92f0f65e70 ENHANCEMENT Consistent styling of TypeDropdown in the CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61166 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-20 05:25:14 +00:00
Sean Harvey
65f0aa701b ENHANCEMENT Added h3, h4 and h5 CSS styles
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61165 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-20 05:24:03 +00:00
Saophalkun Ponlu
a968c25cec $resultsCount now gets int value from loader directly instead of DataObjectSet
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61123 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-20 02:41:07 +00:00
Sam Minnee
0771001c0b Added ModelAdmin_ClassController::getResultColumns() method, so that it can be overloaded
Fixed action handlers on fields of ResultsForm (notably the TableListField) by adding querystring arguments to the Link() of the form.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61066 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-19 10:08:52 +00:00
Sam Minnee
e2eee05b83 Added back button to ModelAdmin detail views
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@61056 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-19 05:18:11 +00:00