Commit Graph

1179 Commits

Author SHA1 Message Date
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
7dd4e4284c ENHANCEMENT Added loading indicator for the AJAX request "Show deleted pages" checkbox in the CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76264 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 06:22:00 +00:00
Sean Harvey
b1b07c5325 BUGFIX Fixed scenarios where the page is readonly and the expected ParentType elements don't exist causing a JS error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76258 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 05:53:22 +00:00
Sean Harvey
4389affa5c BUGFIX Fixed checkbox "Show only changed pages" alignment issue
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76244 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 05:16:53 +00:00
Sean Harvey
687d0fef5e BUGFIX Fixed clearing issue of "Allow drag & drop reordering" and "Show deleted pages"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76237 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 05:01:51 +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
0edf8eb19b BUGFIX Fixed case where "NoWidgets" was trying to be called on editablesegment
MINOR Code formatting on WidgetAreaEditor.js to make it easier to read



git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@76176 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-06 02:54:59 +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
e77cfb1427 Reverted r69684
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-01 03:27:11 +00:00
Sean Harvey
e2a704d127 Reverted r69557
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-01 03:18:05 +00:00
Sean Harvey
09bc4d359a Merged in r75812
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75817 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-01 03:05:08 +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
7446bc29e9 BUGFIX Tweak CSS for contentpanel
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75696 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-30 01:29:09 +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
c237366221 MINOR Make use of FunctionalTest with get() and post() methods instead of Director::test() for CMSMainTest
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75615 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-29 02:49:43 +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
Sam Minnee
bd19bda3aa MINOR: Removed spurious orig file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@75149 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-27 00:21:48 +00:00
Ingo Schommer
d1e0c9025e BUGFIX Fixed CMSMainTest->testThatGetCMSFieldsWorksOnEveryPageType() - was comparing a string $class with instanceof() instead of comparing the actually created instance
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@74951 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-22 04:23:56 +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
Ingo Schommer
8e442176e7 BUGFIX Fixed Form_EditForm_Locale reference in LeftAndMain_right.js (used to be Form_EditForm_Lang)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@74071 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-04-03 21:24:59 +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
230a70c02a merge open/modules/cms/branches/2.3 changeset 73452
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73582 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-24 08:23:09 +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
Ingo Schommer
a9053b4b67 BUGFIX Checking for existence of original before trying to get translation in LeftAndMain->currentPage()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73344 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 17:14:59 +00:00
Ingo Schommer
a2541c2949 BUGFIX Changed CSS selector for TranslationTab javascript behaviour to be less specific
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73343 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 17:14:02 +00:00
Ingo Schommer
caa961e4fb MINOR ModelAdmin documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73337 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 14:13:03 +00:00
Ingo Schommer
be985afd24 API CHANGE Using RequiredFields or DataObject->getCMSValidator() in CMSMain->getEditForm(), which means all pages in the CMS will have validation enabled, e.g. for date fields. This is necessary to avoid a global disabling of javascript validation through Validator::set_javascript_validation_handler('none') breaking the CMS, which relies on javascript responses through Form->validate() and the FormResponse class (without specifically requesting them through HTTP Accept headers). See #3386 and #2915
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73336 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 13:03:52 +00:00
Ingo Schommer
a78ce1998e MINOR Removed console.debug() from LeftAndMain_right.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73335 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-18 10:51:34 +00:00
Ingo Schommer
590b2a2b9a BUGFIX Using $allowed_actions in ImageEditor
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73248 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-17 22:20:28 +00:00
Ingo Schommer
e73b66036a BUGFIX Using auto-escaped get_by_id() in CommentAdmin and SecurityAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73247 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-17 22:20:03 +00:00
Ingo Schommer
9260326ee6 ENHANCEMENT Better feedback for validation errors in ModelAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73031 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-13 10:19:57 +00:00
Ingo Schommer
644c7e06c6 MINOR Added disabled icons for TableListFields (see r73028)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73029 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-13 10:08:03 +00:00
Ingo Schommer
770e404fdb BUGFIX Using TableListField_Item.ss in MemberTableField to avoid template duplication and inconsistent feature sets
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73025 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-13 10:04:58 +00:00
Geoff Munn
2961a00b46 BUG FIX: SQL queries fixed for MSSQL
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72983 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-12 21:48:58 +00:00
Ingo Schommer
71c64c1968 ENHANCEMENT Using ajax for the add/create action in ModelAdmin
ENHANCEMENT Adding global ajax error handlers for ModelAdmin save/delete requests
MINOR Added $recordID parameter to ModelAdmin_RecordController so it can be instanciated manually (necessary for post-create actions in ModelAdmin)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72978 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-12 16:42:31 +00:00
Ingo Schommer
5b0cf968f0 ENHANCEMENT Showing statusMessages via LeftAndMain.js->statusMessage() double as long - they we're dissappearing in a fraction of a second for short strings like "Error"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72977 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-12 16:39:25 +00:00
Geoff Munn
d0ec64ee0e API CHANGE: NOW() replaced with DB-specific version
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72917 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-11 21:45:58 +00:00
Sam Minnee
61d312643e Merged from branches/2.2
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72813 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-10 22:26:22 +00:00
Sam Minnee
550931c02a Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-10 21:59:19 +00:00
Ingo Schommer
9b3b147475 MINOR Updated translations
MINOR Added translations for Catalan - thanks to Bernat and Alex
MINOR Added translations for English (uk) - thanks to Matt and Marti
MINOR Added translations for Spanish (Latin America) - thanks to Antonio, ruben, Miguel, Luis, Carlos, Luciano
MINOR Added translations for Spanish (Mexico) - thanks to Nacho and Antonio
MINOR Added translations for Spanish (Arguentinia) - thanks to Carlos and Luciano
MINOR Added translations for Indonesian - thanks to Fajrin, Lewi, Wirawan, Bima
MINOR Added translations for Norwegian Bokmal - thanks to Emil, Siv, Eskild, Andreas, Johannes, Jana, Carl G.
MINOR Added translations for Serbian (Serbia) - thanks to Jonan and Oliver

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72774 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-10 12:41:50 +00:00
Sean Harvey
b1045b461c MINOR Merged tinymce toolbar improvement change from cms/branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72677 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-09 05:20:49 +00:00
Andrew O'Neil
fa76e64d48 Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-04 03:35:29 +00:00
Geoff Munn
75b1484fca API CHANGE: column names escaped
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@72425 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-03 21:43:47 +00:00
Sean Harvey
55ba6f6cfa BUGFIX Fixed styling of consistent label colours for non-left aligned labels
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71741 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-12 02:47:50 +00:00