appy.bin: backup.py: added field 'To' to mails sent by the backup procedure (so it not less directly considered as junk mail); bugfix in job.py used with Appy > 0.8; appy.gen: optimized performance (methods defined in 'show' attrs were called twice on edit.pt and view.pt); appy.gen: added String.richText allowing to have ckeditor with more text-formatting icons; added ckeditor 'show source' button by default (impossible to live without that); appy.gen: solved security-related problems; appy.gen.mail: allowto send mail as authenticated user; appy.gen: bugfixes in pages when rendered by IE.

This commit is contained in:
Gaetan Delannay 2012-05-05 17:04:19 +02:00
parent 459a714b76
commit 6245023365
21 changed files with 233 additions and 148 deletions

View file

@ -9,20 +9,22 @@ CKEDITOR.editorConfig = function( config )
config.toolbar_Appy =
[
{ name: 'basicstyles', items : [ 'Format', 'Bold', 'Italic', 'Underline',
'Strike', 'Subscript', 'Superscript', '-',
'RemoveFormat' ] },
'Strike', 'Subscript', 'Superscript'] },
{ name: 'paragraph', items : [ 'NumberedList', 'BulletedList', '-',
'Outdent', 'Indent', '-', 'JustifyLeft',
'JustifyCenter', 'JustifyRight',
'JustifyBlock'] },
{ name: 'clipboard', items : [ 'Cut', 'Copy', 'Paste', 'PasteText',
'PasteFromWord', '-', 'Undo', 'Redo' ] },
'PasteFromWord', 'Undo', 'Redo']},
{ name: 'editing', items : [ 'Find', 'Replace', '-', 'SelectAll', '-',
'SpellChecker', 'Scayt']},
{ name: 'insert', items : [ 'Image', 'Table', 'HorizontalRule',
'SpecialChar', 'PageBreak', 'Link', 'Unlink',
'-', 'Maximize']},
{ name: 'insert', items : [ 'Image', 'Table', 'SpecialChar', 'Link',
'Unlink', 'Source', 'Maximize']},
];
config.toolbar_AppyRich = config.toolbar_Appy.concat(
[{name: 'styles', items: [ 'Font', 'FontSize', 'TextColor', 'BGColor',
'RemoveFormat' ]},]
)
config.format_p = { element:'p', attributes:{'style':'margin:0;padding:0'}};
config.format_h1 = { element:'h1', attributes:{'style':'margin:0;padding:0'}};
config.format_h2 = { element:'h2', attributes:{'style':'margin:0;padding:0'}};