Commit Graph

161 Commits

Author SHA1 Message Date
Ingo Schommer
b99ee16d88 ENHANCEMENT Removed CMSMain->jsDeclaration(), it was replicating functionality already present in Convert::raw2js()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92671 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:39:04 +00:00
Ingo Schommer
0b9f4ab533 MINOR Adjusted to SiteTree->getTreeTitle() api change
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92669 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:59 +00:00
Ingo Schommer
87a6e331e9 ENHANCEMENT Disabling validator in CMSMain->getCMSFields() unless its explicitly set through SiteTree->getCMSValidator(). We don't fully support validation in the CMS (yet), and it causes unnecessary bloat in the document body for now.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92660 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:39 +00:00
Ingo Schommer
b96a69d716 MINOR Setting ID fields in CMSMain->getEditForm()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92659 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:37 +00:00
Ingo Schommer
61a3d03883 MINOR Fixed indentation and documentation in CMSMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92658 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:35 +00:00
Ingo Schommer
0d5ee9d775 ENHANCEMENT Migrated translation dropdown javascript to concrete and renamed js include from LangSelector.js to CMSMain.Translatable.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92644 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:38:05 +00:00
Ingo Schommer
671961cf45 ENHANCEMENT Refactored tree search javascript to support concrete and jquery, and build less UI scaffold on the serverside
API CHANGE Removed CMSMain::site_tree_filter_options
API CHANGE Removed CMSMain::SiteTreeFilterOptions() and T_SiteTreeFilterOptions(), now handled inline in CMSMain::TreeSearchForm()
ENHANCEMENT Refactored tree search PHP in CMSMain: Generate form in PHP instead of template, require less UI state, pass filtered/sanitized paramers straight into CMSMainMarkingFilter instead of relying on

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92618 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:37:06 +00:00
Ingo Schommer
afc285cb12 ENHANCEMENT Removed some javascript handlers for ajax submission in CMS: action_save_right(), action_publish_right() - they're now using the same unified saving method
ENHANCEMENT Moved javascript handlers in CMS to concrete: action_print_right(), action_email_right(), action_rollback_right()
ENHANCEMENT Moved javascript ParentID UI element in CMS to concrete

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92604 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:36:13 +00:00
Ingo Schommer
ae56eba853 ENHANCEMENT Using jQuery layout manager plugin to size panels in main CMS interface. Removed custom javascript resizing and CSS rules.
API CHANGE Removed custom resizing javascript methods: window.ontabschanged, window.onresize, fixRightWidth(), fixHeight_left()
API CHANGE Removed DraggableSeparator, SideTabs, SideTabItem javascript classes
API CHANGE Removed Effect.ReSize and Highlighter javascript helper classes
API CHANGE Modified template structure in CMSMain_left.ss, CMSMain_right.ss and LeftAndMain.ss
API CHANGE Modified markup IDs in LeftAndMain/CMSMain templates, removed "left", "right", "contentPanel", "bottom"
ENHANCEMENT Using jquery-latest (currently 1.3) in CMSMain and LeftAndMain
ENHANCEMENT Added jQuery UI library and "smoothness" theme to default CMS interface

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92581 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:20 +00:00
Ingo Schommer
094c30ea4a API CHANGE Removed ModalForm, ModalDialog, GBModalDialog javascript classes from cms, were superseded by a simple javascript alert a while ago (see r11727 and r12245)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92577 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:07 +00:00
Ingo Schommer
e68fca146a MINOR Removed references to empty CMSMain.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92576 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-11-21 02:35:03 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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