Sam Minnee
d85d2bd1c9
MINOR: Made delete from draft batch action text more consistent with published. (from r91839)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96813 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:16 +13:00
Sam Minnee
a3306e8834
BUGFIX: Correct labels for "delete from draft" batch actions (from r91838)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:16 +13:00
Sam Minnee
86b08f44a4
BUGFIX: Use doDeleteFromLive when deleting pages from live, so that onBeforeUnpublish and onAfterUnpublish are called. (from r91381)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96811 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:16 +13:00
Sam Minnee
adfab8b55f
API CHANGE: Added FilesystemPublisher::getExistingStaticCacheFiles(), to help build caching logic methods. (from r91354)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96810 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:16 +13:00
Sam Minnee
0cdd75dfb1
API CHANGE: Added numChildrenMethod argument to LeftAndMain::getSiteTreeFor()
...
BUGFIX: Use the correct numChildrenMethod when showing the 'all children, including deleted' tree (from r91166)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96809 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:16 +13:00
Sam Minnee
80756cc498
MINOR add a hidden field to attach the subsite ID, rather than relying on the session (from r91014)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96808 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:16 +13:00
Sam Minnee
df0bc2ff73
MINOR: Fixed notice-level error in rollback. (from r90260)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96804 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:15 +13:00
Sam Minnee
4ba5e78b28
MINOR: Removed debugging statements (from r90052)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96802 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:15 +13:00
Sam Minnee
aacde1063d
MINOR: Fixed testing quirk of static publisher unpublishing. (from r90048)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:15 +13:00
Sam Minnee
0ee53df7a6
ENHANCEMENT: Let LeftAndMain subclass canView() methods optionally redirect. (from r90018)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96800 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:14 +13:00
Sam Minnee
58534f76c5
BUGFIX: Updated onAfterUnpublish to republish page from static cache as well as unpublish them. (from r90002)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:14 +13:00
Sam Minnee
b561550c69
BUGFIX: Removed destroy() calls from static cache builder; with the garbage collection improvements it shouldn't be necessary. (from r89983)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:14 +13:00
Sam Minnee
a695b6b034
BUGFIX: Don't set the Owner by default on new records. (from r89910)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96796 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:13 +13:00
Sam Minnee
27f3dfc6ed
BUGFIX: Fixed viewing of deleted pages. (from r89833)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96795 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:13 +13:00
Sam Minnee
c841b11edd
ENHANCEMENT: Added new onRenameLinkAsset() handler to static publishing for better link rewriting. (from r89014)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96792 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:13 +13:00
Sam Minnee
2cf10e76fe
MINOR added batch deletion back for workflow (from r88916)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96789 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:12 +13:00
Sam Minnee
568f808053
MINOR rename deleted pages report (from r88333)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96786 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:12 +13:00
Sam Minnee
291de8d283
BUGFIX: Ignore elements without a name in change detection.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96785 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:12 +13:00
Sam Minnee
25ac72ee22
MINOR create the ability to have some roles only be able to be applied by admins (from r88090)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96784 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:12 +13:00
Sam Minnee
141886d675
MINOR remove default form actions. Unit tests pass. (from r88065)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:11 +13:00
Sam Minnee
096bfb2565
BUGFIX: Fix image tracking not working cross subsite (from r88008)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96782 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:11 +13:00
Sam Minnee
7af4414a02
BUGFIX: Fix changing the URLSegment on a page making the Draft Site link
...
point to the wrong subsite (from r87776)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96781 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:11 +13:00
Sam Minnee
00264e219c
BUGFIX: Fix highlighting of incorrect page when loading a page in the
...
admin section via URL (from r87320)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96779 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:11 +13:00
Sean Harvey
2e762da45e
MINOR Moved defined variables in AssetAdmin::doUpload() to the top of the method for consistency
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96230 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:09 +13:00
Mateusz Uzdowski
b89cb9b018
BUGFIX: fixing CMS_ACCESS_LeftAndMain permission (=access all cms sections). Also added the test.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@95788 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:09 +13:00
Will Rossiter
19670e7b27
FEATURE: added delete all link to page comments. Patch via #4427 . Thanks walec51
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@95418 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:09 +13:00
Will Rossiter
a578804987
ENHANCEMENT: added translatable support to mathspamprotection. PATCH via noini ( #4755 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@95194 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:08 +13:00
Tom Rix
2d3365f7b2
MINOR make widgetarea/editor more suitable for generic use
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@95086 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:08 +13:00
Tom Rix
ee49d36dd7
MINOR remove relic of concurrent editing
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@95070 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:08 +13:00
Will Rossiter
7d48f2c1c8
BUGFIX: fixed spam not being turned into ham if spamprotection isnt enabled. PATCH via simon_w #4813
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@94571 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:07 +13:00
Will Rossiter
0e65de67f8
BUGFIX: check akismet is enabled before saving spam. PATCH via simon_w - #4812
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@94568 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:07 +13:00
Sam Minnee
f17dd0c37e
BUGFIX: Fix default inclusion of (theme|project)/css/editor.css into the WYSWIWYG editor.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@94350 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:07 +13:00
Normann Lou
6ce7428bdc
BUGFIX: if SecurityAdmin::add_hidden_permission() is called more than once, the later one is never added due two array operator "+"
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@94100 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:06 +13:00
Will Rossiter
8eddb47344
API CHANGE: removed Director::Link(). Use Controller::join_links() instead
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93785 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:05 +13:00
Sean Harvey
4e9d2c3663
BUGFIX Removed code that relied on deprecated functions in MemberTableField
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93707 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:05 +13:00
Will Rossiter
a12f9c987f
API CHANGE: removed deprecated LeftAndMain::add_menu_item. Use CMSMenu::add_menu_item()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93687 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:05 +13:00
Will Rossiter
49b720ffd0
API CHANGE: removed deprecated extend calls (r93632). API CHANGE: removed fieldExists(). Use hasField() (r93633). API CHANGE removed listOfFields() (r93647). API CHANGE: removed Tag() and URL() from Image. Use getTag() and getURL(). BUGFIX: updated Image.php to use getTag() (r93639, r93646). API CHANGE: removed val(). Use XML_val() (r93650). API CHANGE: removed $add_action. Use singlar_name or lang tables (r93658). API CHANGE: removed ConfirmedFormAction (r93674). API CHANGE: removed ajax_render on CTF (r93679).
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93685 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:05 +13:00
Sean Harvey
5a1a947b92
MINOR Removed ContentNegotiator::disable() since it's disabled by default (in AssetAdmin)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93681 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:05 +13:00
Sean Harvey
84a591bf2b
BUGFIX Removed calls to Translatable::is_enabled() since it's deprecated, replaced with Object::has_extension('SiteTree', 'Translatable') instead
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93676 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:05 +13:00
Sean Harvey
0dfa69146d
MINOR Removed MemberTableField deprecated methods for adding fields - this should be done by implementing summary fields on a Member decorator instead
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93662 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:05 +13:00
Ingo Schommer
ce3365d095
MINOR Updated paths from jsparty to sapphire/thirdparty, cms/thirdparty and cms/javascript
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@93612 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:04 +13:00
Ingo Schommer
b261d3cadc
ENHANCEMENT Allowing to hide certain permission from showing in SecurityAdmin? through add_hidden_permission() (refactored from r92428) (from r92866)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@92879 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:04 +13:00
Normann Lou
73681b0afa
APICHANGE: add the ability to remove some permissions specified by their code in the rendered field html of PermissionChecksetBoxField and full-covered unit tests of this ability.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@92428 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:04 +13:00
Sean Harvey
9433580f95
MINOR Removed MemberTableField::setController() - this is now redundant from r92134
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@92135 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:04 +13:00
Tom Rix
a3a70c85eb
BUGFIX FolderID was not present in post, so file would not be uploaded to the correct place.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@91958 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:04 +13:00
Tom Rix
5c8628e7d4
MINOR added stubs to allow widgets to use treedropdown fields
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@91850 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:03 +13:00
Will Rossiter
d59b2ad5cf
BUGFIX: fixed order inclusion of js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@91542 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:03 +13:00
Will Rossiter
dcd6c53ca5
MINOR: fixed typo with path
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@91541 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:03 +13:00
Will Rossiter
a9427422c0
FEATURE: added ability to upload images from site content pane. Merged via r9130, r91347, r91350, r91480
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@91496 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:03 +13:00
Sean Harvey
3e7990d941
BUGFIX Fixed PageComment boolean operators in WHERE SQL clauses that break MSSQL
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@91444 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:03 +13:00
Ingo Schommer
d6a2e66c89
MINOR removed concurrent editing (merged from r91198)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@91205 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:03 +13:00
Sean Harvey
9b49ebf8b4
BUGFIX Fixed pages not being manipulated properly in the CMS because of a PHP error in CMSBatchAction
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@90936 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:03 +13:00
Ingo Schommer
27521df744
MINOR Changed silverstripe.com references to silverstripe.org
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@90887 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:03 +13:00
Ingo Schommer
2e61bec03d
BUGFIX: Added rewriteHashlinks = 'php' option to SSViewer so that static publisher can handle internal hashlinks properly. (from r89612)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90855 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 01:19:31 +00:00
Ingo Schommer
3587ba8a85
BUGFIX: Pass locale rather than language to spellchecker_languages (from r87869)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90854 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 01:17:52 +00:00
Ingo Schommer
8adc6757c2
BUGFIX: Fixed Links to Moderate Comments from the CMS and front end. MINOR: removed complextable functions which no longer get called, moved logic to the PageComment Class (from r86325)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90853 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 01:16:09 +00:00
Ingo Schommer
966c869cd4
BUGFIX: Tied rollback action to edit, rather than publish, permission, since it only involves editing the draft site. (from r84957)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90852 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 01:15:15 +00:00
Ingo Schommer
8a940f4943
BUGFIX Fixing the comment's author website url being converted to lowercase: now case is not affected. (from r84380)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90849 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 01:13:25 +00:00
Ingo Schommer
4fd6dd0bd0
BUGFIX CMSMenuItem constructor now calls parent to respect inheritance (from r83586)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90848 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 01:13:00 +00:00
Ingo Schommer
bb87f843ca
BUGFIX: Fixed bugs in content differencer, and improved styling. BUGFIX: fixed notice when getting title of member which didnt exist. Merged from trunk r77661. (from r81942)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90845 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 01:10:38 +00:00
Tom Rix
a0649efa49
BUGFIX WidgetArea now works. Can have multiple areas on a page, and has unit tests
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90831 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-05 00:13:56 +00:00
Ingo Schommer
c59911dce2
MINOR Correct labels for "delete from draft" batch actions ( #4420 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-04 22:56:29 +00:00
Ingo Schommer
2cada6ff3a
MINOR Reverted accidental commit in r90823
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90824 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-04 22:52:15 +00:00
Ingo Schommer
38d179b2a3
MINOR Correct labels for "delete from draft" batch actions ( #4420 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90823 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-04 22:46:54 +00:00
Sam Minnee
287887ccca
BUGFIX #4642 : Fixed creation of folders in non-english languages.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90552 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-31 01:25:32 +00:00
Sam Minnee
0071e37840
BUGFIX: Fixed glitch in permission code formats.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90551 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-31 00:58:30 +00:00
Tom Rix
c33022f987
MINOR fix failing tests
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90509 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-30 03:27:27 +00:00
Tom Rix
1d281472ab
MINOR i18n'd a whole bunch of the new permission codes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90493 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-30 01:43:34 +00:00
Tom Rix
8e2a5bf7c6
MINOR update batchactions to state how many failed to process
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90489 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-30 00:55:37 +00:00
Tom Rix
2b9bb9c48a
MINOR improved broken link reports
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90454 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-29 21:59:47 +00:00
Tom Rix
08d38f55d0
MINOR apply roles permission code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90451 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-29 21:36:13 +00:00
Tom Rix
bb59c48078
MINOR categorized reports, fixed a few translations issues.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90394 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-29 02:50:47 +00:00
Tom Rix
e3d678f8ad
MINOR shuffled permissions around, gave them help text and categorized them.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90371 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-29 00:55:20 +00:00
Tom Rix
b820fb6975
MINOR permission name changes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90332 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-28 21:23:08 +00:00
Tom Rix
22702dc8a4
MINOR SideReports now have a canView method
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90286 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-28 02:21:01 +00:00
Sam Minnee
f71804e465
API CHANGE: Renamed conflicting classes to have an "SS_" namespace, and renamed existing "SS" namespace to "SS_". The affected classes are: HTTPRequest, HTTPResponse, Query, Database, SSBacktrace, SSCli, SSDatetime, SSDatetimeTest, SSLog, SSLogTest, SSLogEmailWriter, SSLogErrorEmailFormatter, SSLogErrorFileFormatter, SSLogFileWriter and SSZendLog.
...
MINOR: Replaced usage of renamed classes with the new namespaced name.
From: Sam Minnee <sam@silverstripe.com>
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90076 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-26 03:06:42 +00:00
Ingo Schommer
5408163c1a
ENHANCEMENT: Improved CMSSiteTreeFilter API to make it easier to create custom filter.s (from r89071, from r88465)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89883 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 22:26:52 +00:00
Sean Harvey
de82c4620a
FEATURE: If there is no Name set, but there is an author, use the author's name (from r89650)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89827 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:53:24 +00:00
Sean Harvey
780338c6d7
BUGFIX: Fix comment feed on SQLServer (from r89641)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:52:37 +00:00
Sean Harvey
9cd09d53f8
ENHANCEMENT Current search and current page of asset section are persistent. Fixes the open source ticket #4470 and also a part of #4256 (from r84091)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89820 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:39:50 +00:00
Sean Harvey
31e996a56b
MINOR fixed comment text linking (from r83187)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89818 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:38:41 +00:00
Sean Harvey
9b234ca7f1
MINOR added the ability to link URLs in comments (with rel=nofollow) (from r83182)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89816 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:37:59 +00:00
Sean Harvey
760b7eb67c
MINOR Removed user_error() that broke AssetAdmin to the end user (from r82622)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89814 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:35:25 +00:00
Sean Harvey
2436d7869a
BUGFIX If image does not exist in the file system, don't show a non-object error when viewing the Image/File record in AssetTableField (from r82390)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:33:51 +00:00
Sean Harvey
65a9830b13
BUGFIX Paging of search results now works for AssetTableField by overloading the TableListField link methods (from r81190, r82188)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89811 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 04:32:57 +00:00
Ingo Schommer
8d96124564
BUGFIX Fixed ModelAdmin_CollectionController->Link() return value
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89731 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 02:48:27 +00:00
Sam Minnee
0e224a7daa
Merge branch 'master' of git@github.com:sminnee/silverstripe-cms
...
From: Sam Minnee <sam@silverstripe.com>
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89702 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-21 01:53:49 +00:00
Sam Minnee
3b8389168e
BUGFIX: Fixed CMSSiteTreeFilter
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89328 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-16 04:12:39 +00:00
Ingo Schommer
57a83ac2c3
MINOR Static methods can't be abstract in CMSSiteTreeFilter
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89243 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-16 01:20:50 +00:00
Ingo Schommer
4347726540
MINOR Removed duplicated SideReport_BrokenLinks class (merge error)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89233 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-16 00:04:27 +00:00
Sam Minnee
34ca1572d3
MINOR: Moved onAfterSave call for LeftAndMain decorators to be called
...
slightly later, so FormResponses can be overridden if necessary. (from r85614)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89224 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:44:29 +00:00
Sam Minnee
b9f59ae925
MINOR three step workflow test
...
MINOR prettified side reports with form labels (from r85521)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89223 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:44:24 +00:00
Sam Minnee
610c8cae18
MINOR disable realtime publishing for unit tests
...
MINOR fix a test that makes no sense
MINOR a couple bugs around embargo/expiry have been fixed (from r85505)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89222 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:44:14 +00:00
Sam Minnee
a7c07369e0
FEATURE batch actions for setting/resetting embargo/expiry (from r85397)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89221 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:44:08 +00:00
Sam Minnee
2294857460
ENHANCMENT side reports can now have parameters (from r85329)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89220 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:43:58 +00:00
Sam Minnee
bb5d8d5ca3
MINOR site report for page with broken links (from r85018)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89218 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:42:45 +00:00
Sam Minnee
53d735c4f6
FEATURE SiteConfig (from r85339)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89194 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:33:14 +00:00
Sam Minnee
beb6b5fe55
FEATURE: Add a simple interface for administrating permission roles. (from r85297)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89193 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:33:09 +00:00
Sam Minnee
8f783f0d30
BUGFIX: Set publication base_url on every URL, just in case it gets re-set by some rogue script (from r73510)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88639 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-12 03:41:38 +00:00
Andrew Short
b01f25daf7
FEATURE: Added a SideReport to display all pages with broken page or file links.
...
From: Andrew Short <andrewjshort@gmail.com>
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88516 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:08:06 +00:00
Andrew Short
0362821d7a
MINOR: Replaced usage of the deprecated SiteTree::get_by_url() with get_by_link().
...
From: Andrew Short <andrewjshort@gmail.com>
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88514 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:08:05 +00:00
Andrew Short
982d79e7e1
BUGFIX #3858 : Updated StaticExporter to handle nested pages.
...
From: Andrew Short <andrewjshort@gmail.com>
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88513 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:08:04 +00:00
Andrew Short
5ff81a3e51
BUGFIX #3724 : Updated Link() methods to accept an action parameter.
...
From: Andrew Short <andrewjshort@gmail.com>
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88512 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:08:03 +00:00
Ingo Schommer
ed127fabf3
BUGFIX Changed CMSMain->LangSelector() to always return a DropdownField, which ensures the 'Locale' parameter is always available to be passed along with ajax queries
...
ENHANCEMENT Passing sitetree instance to CMSMain->LangSelector() in order to trigger canTranslate() filtering
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88139 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-05 20:41:54 +00:00
Will Rossiter
c20788e75a
MINOR: merged r86573 into trunk
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@86574 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-17 04:24:21 +00:00
Ingo Schommer
7610ff46d2
MINOR Removed project specific ModelAdmin code
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@86403 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-15 21:18:43 +00:00
Geoff Munn
85ee1007c4
MINOR FIX: prevents looping over an empty array
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@86166 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-13 22:25:41 +00:00
Ingo Schommer
7df00b12bf
MINOR Unified permission control for RebuildStaticCacheTask and StaticExporter
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@86004 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-10 01:49:07 +00:00
Ingo Schommer
a1a3b355d0
MINOR Explicitly allowing 'index' action in LeftAndMain and subclasses, due to api change in RequestHandler logic for $allowed_actions
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@86003 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-10 01:38:29 +00:00
Ingo Schommer
61776f1e74
MINOR Using raw2sql in CMSMain->delete()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85984 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-09 23:47:56 +00:00
Will Rossiter
13a1409bc6
ENHANCEMENT: hide unmoderated page comments from the page comment RSS feed. Ticket #4477
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85731 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-04 02:30:09 +00:00
Julian Seidenberg
d60fc2fdce
BUGFIX: moved $versionAuthor variable invocation into a check for the existence of the $record variable on which it depends (Ticket #4458 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85713 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-04 01:18:07 +00:00
Julian Seidenberg
cbaa5840c3
ENHANCEMENT: added option to truncate (clear) database table before importing a new CSV file with CSVBulkerLoader and ModelAdmin.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85709 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-09-04 00:31:08 +00:00
Geoff Munn
ecb09780a4
MINOR FIX: column names escaped
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85459 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-31 22:24:23 +00:00
Ingo Schommer
45772748d3
BUGFIX Implementing TestOnly interface in ModelAdminTest to avoid having it included automatically in CMSMenu and hence breaking other tests like LeftAndMainTest.
...
ENHANCEMENT Filtering out TestOnly classes in CMSMenu::get_cms_classes()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85281 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-26 21:10:58 +00:00
Ingo Schommer
98ba54ec91
MINOR More translations for ModelAdmin ( #4521 , thanks "random-value ")
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85279 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-26 20:54:24 +00:00
Sam Minnee
6a209ce8df
BUGFIX #4423 : Don't allow page duplication if canCreate is false.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@85157 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-25 05:52:52 +00:00
Sam Minnee
a4b74c8ff0
BUGFIX: Fixed issues with recent CMSMenu refactoring.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84980 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-21 04:48:57 +00:00
Tom Rix
2367de0758
MINOR fixed SiteTree search in admin
...
APICHANGE added onAfterSave in LeftAndMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84570 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-17 22:31:16 +00:00
Sam Minnee
a16ae60d59
API CHANGE: Refactor CMSMenu internals to not generate the menu item list until its actually needed, rather than from a CMSMenu::populate_menu() call in cms/_config.php. This lets an app/_config.php file actually manipulate the menu.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84523 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-17 05:27:46 +00:00
Sam Minnee
9fbce63fa9
API CHANGE: If you can't create a given dataobject type, then don't show an import form in modeladmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84521 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-17 05:26:34 +00:00
Tom Rix
15d75ad293
FEATURE concurrent editing alerts. if two users are editing a page, the will get a notice. If Bob deletes/saves the page Alice is working on, Alice will be notified.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84231 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-12 21:19:04 +00:00
Andrew O'Neil
c68e3f8875
NOTFORMERGE: Merged r83631 from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84119 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-11 01:08:29 +00:00
Andrew O'Neil
089483b2f4
NOTFORMERGE: Merged 84085 from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84090 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-10 04:34:17 +00:00
Tom Rix
96d438f21e
ENHANCEMENT added new permission, SITETREE_REORGANISE
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84073 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-09 22:29:45 +00:00
Sam Minnee
2d97200a23
BUGFIX: Removed Requirements::combine_files() reference to non-existent cms/javascript/FilterSiteTree.js
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84064 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-08 03:23:21 +00:00
Ingo Schommer
cc65638ed9
BUGFIX Using standard SQL and SSDatetime::now() in SideReport_RecentlyEdited (see #4052 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83970 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-06 21:41:49 +00:00
Tom Rix
dc6d0dfad7
MINOR new sidereports for CMSWorkflow
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83695 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 04:19:38 +00:00
Tom Rix
59f0eda007
MINOR removed development artefact
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83675 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 03:10:19 +00:00
Tom Rix
6a0f21ca05
ENHANCEMENT sitetree filters now show up in a dropdown, and you can add your own by extending CMSSiteTreeFilter
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83674 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 03:09:26 +00:00
Tom Rix
07a61a19a5
MINOR don't call TreeTitle on a node if it's being removed.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-02 21:57:26 +00:00
Sam Minnee
037e73a8cb
ENHANCEMENT: Dramatically improved performance of large-scale canEdit() and canDelete() checks, so that big sites can be supported in the CMS.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83443 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-31 05:43:47 +00:00
Tom Rix
56281b7f3e
MINOR prevent exceptions when the wrong object type is passed to LeftAndMain
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-23 00:54:40 +00:00
Tom Rix
f1ab64fb50
ENHANCEMENT FilesystemPublisher no longer wipes out the whole cache, but removes pages that are not on the live site, but rebuilds the files one by one. It also now hooks into onAfterUnpublish() to remove files from the cache when they are removed from the CMS. If for some reason this fails, it will be picked up when a /dev/buildcache is done.
...
CHANGE default fileextension is now html (was null)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-22 22:57:02 +00:00
Ingo Schommer
5d4ae0dde1
BUGFIX: autocomplete field should works on all config sub_item of a SecurityAdmin (merged from branches/2.3-nzct)
...
MINOR: the autocomplete field AjaxMemberLookup? should be only applied to the defined input field with has "text" class. This is for performance imporovement (merged from branches/2.3-nzct)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82092 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-17 02:23:57 +00:00
Ingo Schommer
eebaebca0e
BUGFIX Setting lang-code instead of locale in CMSMain->init() for TinyMCE spell checking
...
BUGFIX Always choosing translatable default language in CMSMain->init() for TinyMCE spell checking. Always setting $CMSMain->Locale in order to have it available for the spell checking
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-13 21:11:03 +00:00
Tom Rix
ac589ba236
ENHANCEMENT STaticPublisher can now play nice with Subsites, you just need to set FilesystemPublisher::domain_based_caching to true.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81683 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-13 04:42:02 +00:00
Sam Minnee
92ff4e149b
BUGFIX: Removed redundant template_templates setting that couldn't be overridden.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81593 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-10 03:56:39 +00:00
Sam Minnee
adeb3ea5ec
BUGFIX If a page revision has no author, don't completely break the CMS when trying to view that revision
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81463 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:41:42 +00:00
Sam Minnee
ed70de49b8
BUGFIX "Page type" dropdown for site tree filters is now sorted alphabetically, to be consistent with the "Create" page type dropdown list
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81462 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:41:30 +00:00
Sam Minnee
0690d9f4a4
BUGFIX: Correct behaviour if CMSMain::tellBrowserAboutPublicationChange() isn't passed a status message
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81461 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:41:12 +00:00
Sam Minnee
db01848417
BUGFIX Fixed FileSearch parameter in AssetTableField. Pagination of filtered search results and refresh of the tabular view after saving a popup wasn't working because the search parameter wasn't retained
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81460 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:41:00 +00:00
Sam Minnee
fece6769fe
ENHANCEMENT Query ajaxExpansion on tree nodes without node limitation on serverside (see Hierarchy->markPartialTree()) to avoid "missing" nodes during the selection
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81458 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:36:47 +00:00
Sam Minnee
923bf6e103
BUGFIX: Call parent::__construct() from FilesystemPublisher::__construct()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-07 01:27:51 +00:00
Sam Minnee
7580c94b9a
BUGFIX: Allow more style attributes in WYSIWYG editor so that all of the formatting buttons work.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81003 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-05 22:04:05 +00:00
Sean Harvey
00c8fd25d9
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80875 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-02 07:23:29 +00:00
Sam Minnee
9bc3f5fe2a
ENHANCEMENT: Added manual Filesystem::sync() button to improve load time of admin/assets area.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-01 22:28:06 +00:00
Sam Minnee
4854dddc0d
MINOR #4227 : Fixed typo in error message in CMSBatchActionHandler
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80251 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-28 02:49:37 +00:00
Sam Minnee
5fd8cfd81d
BUGFIX: Use increase_time_limit_to() and increase_memory_limit_to() for better safe-mode operation.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80243 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-28 02:37:15 +00:00
Sam Minnee
2bd8782cdd
MINOR ajshort: Removed call to deprecated Director site mode function.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80056 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-25 08:20:59 +00:00
Rainer Spittel
e46075d3fb
ENHANCEMENT: Refactored to handling of valid report-classes in ReportAdmin. Added new method to retrieve all valid report-class names (getReportClassNames) and updated 'canView', 'Reports', 'EditForm' and 'has_reports'.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80034 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-25 05:14:25 +00:00
Saophalkun Ponlu
5cfcf03d11
FEATURE: Single instance only page (in the site tree). OS ticket #1554
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79868 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-23 17:45:55 +00:00
Sam Minnee
1dd80edb8a
MINOR: Fixed newlines and set svn:eol-style to native
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79474 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-17 23:14:01 +00:00
Sean Harvey
d82ba048bf
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79439 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-17 11:50:02 +00:00
Sam Minnee
02d9dd60e7
MINOR ajshort: Updated CMSMenu to use Object::get_static() to get configuration information.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79361 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-16 10:40:39 +00:00
Sean Harvey
5daa1033d9
MINOR Removed commented out line referencing tiny_mce
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79152 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-15 02:05:01 +00:00
Ingo Schommer
a3f3374205
BUGFIX Don't throw array error when no result columns are selected in ModelAdmin
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@78425 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-04 21:12:16 +00:00
Ingo Schommer
3095172519
MINOR Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@78169 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-01 21:14:29 +00:00
Ingo Schommer
a1f8fb3049
BUGFIX Fixed quoting in WidgetAreaEditor
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77991 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-27 21:26:07 +00:00
Ingo Schommer
40a2c3bb7c
ENHANCEMENT Support for DataObject->validate() and ValidationException catching in ModelAdmin->doSave()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77855 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-26 06:01:36 +00:00
Sean Harvey
a1b04f1018
BUGFIX Ensure that CMSMainMarkingFilter::mark() always passes an integer into array_key_exists() or it will break
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-26 04:06:33 +00:00
Will Rossiter
bf7b7d09e7
FEATURE: added ability to display comments even when comments have been disabled. #2081
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77806 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-26 01:56:07 +00:00
Sean Harvey
0e4cccb979
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77765 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-25 07:00:36 +00:00
Sam Minnee
646ed9342a
BUGFIX: Fixed bugs in content differencer, and improved styling.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77661 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-23 03:30:57 +00:00
Sam Minnee
ef2c47feb8
BUGFIX: Fixed query syntax issues for db abstraction.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77556 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-21 05:11:14 +00:00
Sean Harvey
9207cbc2da
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77455 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-21 00:17:27 +00:00
Sam Minnee
8282a61ddf
API CHANGE: Added record_controller and collection_controller as options that you can add to the managed_models array.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77402 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-20 10:03:11 +00:00
Rainer Spittel
fa69772112
ENHANCEMENT: encapsulated getResultsTable from ResultsForm in ModelAdmin_CollectionController
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77158 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-19 03:25:47 +00:00
Ingo Schommer
80d79e63b8
API CHANGE: Allowing ModelAdmin::$managed_models to contain additional options in their array values, e.g. a custom "title" (Improved #4036 , see r76999)
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77096 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-18 21:13:28 +00:00
Sean Harvey
8625e3bce3
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77067 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-18 05:31:22 +00:00
Sean Harvey
f27122e102
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77033 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-18 00:23:52 +00:00
Sean Harvey
c69994f98f
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77023 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-17 23:19:51 +00:00
Ingo Schommer
b62bb7ab77
MINOR Updated CMSMain to Translatable API changes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77007 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-17 05:36:51 +00:00
Sam Minnee
eb7d4f0118
MINOR: Fixed managed_models error message to reflect that it's public, not protected, now.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77000 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-16 06:08:27 +00:00
Sam Minnee
7d00afce59
API CHANGE #4036 ajshort: Add the ability to set the keys of ModelAdmin::$managed_models to alternate titles for the tabs.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76999 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-16 06:03:22 +00:00
Sam Minnee
405392f7f7
API CHANGE #4036 ajshort: Add the ability to set the keys of ModelAdmin::$managed_models to alternate titles for the tabs.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76998 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-16 06:02:57 +00:00
Sam Minnee
4adb585e80
ENHANCEMENT ajshort: Add the ability to overload getModelForms() and add new custom model sidebars.
...
API CHANGE: Move the generation of the content for the create / search / import model sidebar from ModelAdmin into the collection controller.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76997 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-16 05:58:54 +00:00
Sean Harvey
b34dcd40b0
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76918 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-15 00:13:11 +00:00
Ingo Schommer
491118381c
MINOR Package documentation for CMSBatchAction* classes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76878 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 21:56:35 +00:00
Sean Harvey
46bf3ce2d2
Added missing classes
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76876 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 21:51:54 +00:00
Ingo Schommer
8362026b12
BUGFIX Fixed CMSMain->LangSelector() default language selection
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76870 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 21:27:10 +00:00
Sean Harvey
b360ad9cd7
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76857 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 06:11:18 +00:00
Ingo Schommer
7fc439dcd3
MINOR Adapted to API change in r76853 (Translatable::get_current_locale())
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76854 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 06:06:34 +00:00
Ingo Schommer
e99ef98e89
ENHANCEMENT Using standard LanguageDropdownField in CMSMain->LangSelector()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-14 05:18:37 +00:00
Ingo Schommer
9da24cdfb5
BUGFIX Removed obsolete CMSMain->EditingLang(), not used any longer (see #3997 )
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76731 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-13 06:02:31 +00:00
Sean Harvey
182d1061a9
Merged from 2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76270 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 06:37:45 +00:00
Sean Harvey
892849c0e1
BUGFIX Fixed saving of widgets correctly if ID is not numeric
...
MINOR Code formatting fixes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76186 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 03:31:15 +00:00
Sean Harvey
a9ea6549c3
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75905 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-04 01:27:35 +00:00
Sean Harvey
4e4810bbb6
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75780 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-30 22:47:28 +00:00
Sean Harvey
504ba464f6
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75655 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-29 05:56:33 +00:00
Sean Harvey
42a6692d79
Merged from branches/2.3
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75592 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-29 01:44:28 +00:00
Ingo Schommer
8d61656c2e
MINOR Changed formatting and documentation for classname change detection in LeftAndMain->save(), slightly adapted to new DataObject->newClassInstance() method
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75250 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-27 05:58:54 +00:00
Sean Harvey
2680489318
BUGFIX Fixed issues with StaticPublisher->onAfterWrite() - merged from r74092
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@74093 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-06 01:28:03 +00:00
Ingo Schommer
310b75fce6
MINOR Using Translatable::choose_site_locale() instead of choose_site_lang() in LeftAndMain->init()
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@74072 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-03 21:26:51 +00:00
Normann Lou
f1d9428c58
Roll back chane commited in r73700
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73706 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-26 20:48:25 +00:00
Normann Lou
dfff676f48
1. Add Data model for DrawDivisionPrize and Lot (LotNumberBased, LotTicketBase). 2.Add model admin for DrawCenter. 3. Disable create a game draw for draw center.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73700 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-26 04:53:23 +00:00
Normann Lou
031b88d0f3
ENHANCEMENT: make the currentRecord of ModelAdmin_RecordControll accessible by adding ModelAdmin_RecordControll::geCurrentRecord(), this is to fix bugs for those ComplexTableField fields generated automatically by relations.
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73579 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-24 06:17:21 +00:00
Ingo Schommer
c66ebfaeb8
MINOR phpdoc documentation
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73508 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-22 22:58:18 +00:00
Ingo Schommer
893df91e33
ENHANCEMENT Adjusted CMSMain and LeftAndMain to use locales instead of short lang codes when reading and writing translations. See r73468 for details on the underlying Translatable datamodel change
...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73469 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-20 08:49:27 +00:00
Ingo Schommer
15454352bb
ENHANCEMENT Showing all available languages in language selector above sitetree in CMS - you can now create new pages in completely new languages without any relation to an "original"
...
ENHANCEMENT Added CMSMain->IsTranslatableEnabled
API CHANGE Removed CMSMain->switchlanguage() - createTranslation() is sufficient for new, ajax refreshing of CMS state got way too complicated for switching languages, we now just reload the entire CMS with a different ?lang GET parameter
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73345 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 17:18:52 +00:00