Commit Graph

883 Commits

Author SHA1 Message Date
Ingo Schommer
4541dbb04e ENHANCEMENT Removed overloaded MemberTableField->DetailForm() and reduced overloaded constructor logic - same behaviour found in parent classes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63626 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 16:33:37 +00:00
Ingo Schommer
926949e9cc ENHANCMENT Using errorMessage() instead of statusMessage('bad') for ModelAdmin.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63625 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 16:24:39 +00:00
Ingo Schommer
23a7857c01 ENHANCEMENT Updated translations from translate.silverstripe.com
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63614 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 12:56:17 +00:00
Ingo Schommer
c3244cc821 BUGFIX typo mentioned in #2775
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63611 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 09:54:59 +00:00
Will Rossiter
98b347276c MINOR: fixed formatting on no images found
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63608 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 04:50:13 +00:00
Sam Minnee
4c03867428 BUGFIX #1816: Added a little padding to page version table
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63593 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 02:58:33 +00:00
Sam Minnee
33229e74b8 Updated file functions to use HTTPRequest::send_file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63583 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 02:26:43 +00:00
Sam Minnee
155269c389 Added tests for security group export
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63582 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 02:26:23 +00:00
Ingo Schommer
e434ade827 ENHANCEMENT Removed project-specific requirements from CMSMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63572 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 01:22:34 +00:00
Ingo Schommer
255f4653cc BUGFIX typo in js file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63571 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 01:15:59 +00:00
Ingo Schommer
ee4c409e56 ENHANCEMENT Started using ss.i18n clientside javascript in LeftAndMain classes (only a fraction made translatable)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63569 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 00:48:34 +00:00
Ingo Schommer
2a93f96436 ENHANCEMENT Added ViewableData->i18nLocale, used in LeftAndMain.ss to determine interface language through meta tags (see r63564)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63565 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-03 00:44:24 +00:00
Sam Minnee
743dce78b7 ENHANCEMENT #1848 - Select the title field for new pages
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63528 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-02 10:11:08 +00:00
Sean Harvey
1c9c600e68 MINOR phpdoc tweaks
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63491 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-02 00:34:41 +00:00
Saophalkun Ponlu
1d0134db10 fixed fix position of action area (status message and ajax action buttons) in IE6 using javascript
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-02 00:31:33 +00:00
Sean Harvey
ffc40288b5 MINOR Code formatting inconsistency
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63459 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 09:56:55 +00:00
Sean Harvey
f60c0c7ed7 MINOR Converted spaces to tabs for code syntax consistency in ReportAdmin.
MINOR Added TODOs for areas of code that needs some work, either in documentation or code cleanup.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63458 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 09:54:39 +00:00
Sean Harvey
e0982889b5 BUGFIX AssetAdmin->Link() returned a trailing slash that was not necessary. See ticket #2884
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63457 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 06:44:56 +00:00
Sean Harvey
03c1d1e001 MINOR Committed missing files related to r63452
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63456 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 06:43:15 +00:00
Sean Harvey
6172ab900c MINOR Fixed wrong position of return array() in ReportAdmin->showWithEditForm()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63453 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 04:52:10 +00:00
Sean Harvey
8c3bbdcf27 BUGFIX Fixed ReportAdmin breakages - changes to HTTPRequest required that show($params) be changes to show($request) and then check $request->allParams() for the URL parameters - this caused major breakages as this code was not updated to reflect the new URL handling changes.
ENHANCEMENT Better URL handling. Instead of "admin/showreport/something", we do "admin/report/show/something", which is more consistent with the rest of the CMS.

MINOR Documentation and TODO for ReportAdmin methods

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-01 04:49:08 +00:00
Saophalkun Ponlu
456c9a7cfd removed debug::show
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63383 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-30 03:15:36 +00:00
Saophalkun Ponlu
9381860e9a layout fix: make the status message and ajax button stay in fixed position (ticket #2876)
- position: fixed for #statusMessage  and ajaxActions in ModelAdmin
- commented out this.style.position = "absolute"; in LeftAndMain.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63382 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-30 03:04:35 +00:00
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