Further work on Moodle integration.
commitb97e53913c26f172be569c912d82928ed9b5f297
authorMihai Sucan <mihai.sucan@gmail.com>
Thu, 30 Jul 2009 19:37:50 +0000 (30 22:37 +0300)
committerMihai Sucan <mihai.sucan@gmail.com>
Mon, 16 Nov 2009 17:05:57 +0000 (16 19:05 +0200)
treec87049ad82c5a842481d76b45d76fdba77f8963d
parent86e76745c2fe9b818347b6c41bbd29a565f8f7ec
Further work on Moodle integration.

Updated PaintWeb to the latest snapshot.

Loading, editing and saving of images with PaintWeb works now. Image save has
two modes: save using data URLs or using files.

Work remaining:
- when images are saved using data URLs I need to make them work in IE 6/7.
- need some cronjob to cleanup/remove unused images saved in the data dir.

2009-07-30:
===========

- Completed work on the "Create image" functionality in the TinyMCE plugin.
- Worked around the security violation caused by rendering of images with data
URLs in Webkit/Gecko 1.9.0.
- A bit of improved browser detection in the PaintWeb lib.
- Fixed image saving as JPEG in Firefox.

2009-07-29:
===========

- Implemented better support for the background color configuration option. Now
PaintWeb makes it more obvious when an image has true transparency and when not.
- Fixed the eraser tool to properly erase the image pixels, irrespective of the
background color.
- New icon for the PaintWeb button from the TinyMCE plugin.
- Implemented support for creating new images from the TinyMCE plugin. New
images use data URLs. (still needs bug fixing / testing)
30 files changed:
lang/en_utf8/tinymce.php
lib/editor/tinymce.js.php
lib/editor/tinymce/jscripts/tiny_mce/plugins/paintweb/editor_plugin.js
lib/editor/tinymce/jscripts/tiny_mce/plugins/paintweb/editor_plugin_src.js
lib/editor/tinymce/jscripts/tiny_mce/plugins/paintweb/img/paintweb2.gif [new file with mode: 0755]
lib/editor/tinymce/jscripts/tiny_mce/plugins/paintweb/js/newimage.js [new file with mode: 0644]
lib/editor/tinymce/jscripts/tiny_mce/plugins/paintweb/langs/en.js
lib/editor/tinymce/jscripts/tiny_mce/plugins/paintweb/langs/en_dlg.js [new file with mode: 0644]
lib/editor/tinymce/jscripts/tiny_mce/plugins/paintweb/newimage.html [new file with mode: 0644]
lib/paintweb/CHANGES
lib/paintweb/TODO
lib/paintweb/build/interfaces/default/style.css
lib/paintweb/build/paintweb.js
lib/paintweb/build/paintweb.src.js
lib/paintweb/ext/moodle/README
lib/paintweb/ext/moodle/imagesave.php
lib/paintweb/ext/moodle/moodle19-paintweb.patch
lib/paintweb/ext/tinymce-plugin/paintweb/editor_plugin.js
lib/paintweb/ext/tinymce-plugin/paintweb/editor_plugin_src.js
lib/paintweb/ext/tinymce-plugin/paintweb/img/paintweb2.gif [new file with mode: 0755]
lib/paintweb/ext/tinymce-plugin/paintweb/js/newimage.js [new file with mode: 0644]
lib/paintweb/ext/tinymce-plugin/paintweb/langs/en.js
lib/paintweb/ext/tinymce-plugin/paintweb/langs/en_dlg.js [new file with mode: 0644]
lib/paintweb/ext/tinymce-plugin/paintweb/newimage.html [new file with mode: 0644]
lib/paintweb/src/includes/lib.js
lib/paintweb/src/interfaces/default/images/checkers-big.png [new file with mode: 0755]
lib/paintweb/src/interfaces/default/script.js
lib/paintweb/src/interfaces/default/style.css
lib/paintweb/src/paintweb.js
lib/paintweb/src/tools/eraser.js