Commit Graph

399 Commits

Author SHA1 Message Date
Sean Harvey
b4fb295a37 BUGFIX Removed query that was causing issues displaying members in the security groups. Open ticket #2591
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63786 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 23:01:46 +00:00
Sean Harvey
5e0277cea4 BUGFIX URLs to security groups in CMS were not linked correctly. Removed Director::link() references and replaced with strings. Director::link() is deprecated and shouldn't be used.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63785 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 22:59:47 +00:00
Sean Harvey
f5194a6e0b MINOR Removed useless Requirements calls to javascript
MINOR Documentation
MINOR Code formatting cleanup

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63753 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 05:59:03 +00:00
Sean Harvey
9a667bbd2a MINOR Very minor whitespace change
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63752 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 05:57:28 +00:00
Sean Harvey
c39cbbe58a ENHANCEMENT Added missing "abstract" Report class to compliment ReportAdmin. Currently it is unclear what abstract base class you're supposed to implement from.
BUGFIX Use of getOwnerID() in ReportAdmin which doesn't make sense, since ID() is sufficient.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63748 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 05:32:09 +00:00
Sam Minnee
cc4673ff7e Added get data to a form submission of SearchForm/search, so that ResultAssembly is passed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63733 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-07 03:55:43 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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