Commit Graph

367 Commits

Author SHA1 Message Date
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
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
Sam Minnee
27fd6937a5 Updated AssetTableField to work with ComplexTableField updates
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60913 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-18 00:52:15 +00:00
Will Rossiter
cdb19344bf BUGFIX: fixed Member name not being saved in database with ReadonlyField()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60897 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-18 00:10:26 +00:00
Sam Minnee
6178a9838d Removed memory limit for publication
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60886 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-17 22:26:00 +00:00
Sam Minnee
53d1676e59 Removed time-limit for publication process
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60870 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-15 06:31:36 +00:00
Sam Minnee
6c404e4df7 Fixed page comment system for new URL handler
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60841 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-15 03:37:26 +00:00
Ingo Schommer
f464ce20a6 ENHANCEMENT Removed recently added DataObject::$result_permissions and replaced with more specific TableListField::permissions_for_object()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60724 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-14 04:43:15 +00:00
Ingo Schommer
5155acd2b6 BUGFIX Fixed ModelAdmin typo in $searchCriteria method parameter
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60712 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-14 03:35:17 +00:00
Hayden Smith
1e9d392b4a Merged [47107]: Added audit logging hook.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60567 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-13 00:14:31 +00:00
Hayden Smith
5cd507ecaa Merged [47101]: Adds class=action to action cells in MemberTableField.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60548 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-12 23:17:21 +00:00
Sam Minnee
387b5edd21 Merged changes from branches/2.2.2-assets:
Static publishing
Ability to lock down comments to logged-in members only

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-12 02:59:27 +00:00
Ingo Schommer
abd3cc0d15 MINOR Re-activated tabstrip.js in LeftAndMain (merge error?)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60409 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 06:09:02 +00:00
Ingo Schommer
622e672c0b MINOR Renamed jquery_improvement.js to plural form (consistent with prototype_improvements.js)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60408 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 06:02:58 +00:00
Ingo Schommer
861fae99e1 ENHANCEMENT Using Requirements instead of hardcoded template logic to include some LeftAndMain js/css
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60395 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 05:29:12 +00:00
Ingo Schommer
c1a7419f36 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60330 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 03:03:52 +00:00
Ingo Schommer
f16a4e9492 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60327 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 02:57:59 +00:00
Ingo Schommer
9a6483b024 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60314 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 02:25:44 +00:00
Hayden Smith
f74a39d1b0 Merged [47018]: Some additions made to use Object::create to allow MemberTableField to deal with subclasses of Member. Also merged a modification to MemberTableField::__construct that allowed greater control over the details form's fields (defaults to same behaviour as trunk), and MemberTableField::DetailForm, although this might need to be removed later.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60302 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 01:14:07 +00:00
Ingo Schommer
cc0117a307 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60289 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 00:21:44 +00:00
Ingo Schommer
574fdb190d (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60287 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 00:14:48 +00:00
Ingo Schommer
c4651a2fda (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60276 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 00:03:57 +00:00
Ingo Schommer
2ea27c63f9 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60268 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-10 23:53:56 +00:00
Ingo Schommer
66b916abc5 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60265 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-10 23:29:30 +00:00
Ingo Schommer
7ec72c8254 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-10 23:17:51 +00:00
Ingo Schommer
0a4deb5c7f (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60258 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-10 22:49:59 +00:00
Hayden Smith
cd86e016a0 Merged [47016]: Used Object::create to allow SecurityAdmin to use subclasses of MemberTableField to list members.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60255 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-10 21:41:10 +00:00
Ingo Schommer
e29feeecac (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60235 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 07:03:24 +00:00
Ingo Schommer
23df65ec5a (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60234 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 06:53:26 +00:00
Ingo Schommer
3fe17e9649 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60231 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 06:29:50 +00:00
Ingo Schommer
649ff87aec (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60228 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 06:18:32 +00:00
Ingo Schommer
689c34400b (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60227 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 05:57:44 +00:00
Ingo Schommer
8a4c5fef72 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@60212 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 05:00:42 +00:00