- 27 Feb, 2015 1 commit
-
-
Son Nguyen authored
- Add new method PluginBlocktype::rewrite_blockinstance_extra_config() which enables blocktype to rewrite extra configuration when copying block - Implement rewrite_blockinstance_extra_config() for PluginBlocktypeText to rewrite embedded image urls in the text block - Rename the method rewrite_artefact_ids() to rewrite_blockinstance_config() and add new code to allow blocktype plugins rewrite extra config when import - Add new method PluginBlocktype::import_rewrite_blockinstance_extra_config_leap() - Implement PluginBlocktypeText::import_rewrite_blockinstance_extra_config_leap() to rewrite embedded image urls in configdata['text'] Change-Id: Id5163817c676fb118edea02d152b7797111cb99f
-
- 01 Feb, 2015 1 commit
-
-
Bug 1236102. Also sorting the "text" and "image" blocks while I'm at it. Change-Id: I09c3a1bec1ec9a7ddf0b3f1cfca735759dd2bbbe
-
- 11 Jan, 2015 1 commit
-
-
Aaron Wells authored
Bug 1402912 Change-Id: I519a7ef9bb116baf6fe1186d2e5de681a1543e77
-
- 16 Dec, 2014 1 commit
-
-
This is a TinyMCE plugin which allows for browsing and embedding of Mahara-hosted images as well as the embedding of external web-hosted images. This makes adding inline images to WYSIWYG text boxes more user-friendly. Viewing permissions for these embedded files is set by adding references to them to a new database table, artefact_file_embedded, then checking for the existence of the references in the table when serving the files via artefact/file/download.php. For content blocks in views, such as text and textboxes, any embedded images are saved as view artefacts, and viewing permission is granted for those files accordingly via previously existing checks in artefact/file/download.php. This patch is designed to allow image embedding in all WYSIWYG text boxes throughout Mahara, hence the table structure, with resourcetype and resourceid providing the context for checking the validity of the image file to be served. Change-Id: Idcc5ab3495eed44eea6ced171d670ba4c73884f6 Signed-off-by:
Mike Kelly <m.f.kelly@arts.ac.uk>
-
- 03 Dec, 2014 1 commit
-
-
... in order to silence all the E_ALL notices Change-Id: I0fdc9fc68ae7ffd2fa2dffe68dfbd79ee9599c06
-
- 11 Nov, 2014 1 commit
-
-
Bug 1390339: Before, we had hard-coded the "image" and "text" blocks into the top of the block picker. With this change, a block developer can just give their blocktype the category "shortcut" and it will show up there. Change-Id: Ibaafc481745dd290442aa125b637394084705b00
-
- 09 Nov, 2014 1 commit
-
-
Aaron Wells authored
Bug 1389450 ... since they're also present at the top of the block picker. Change-Id: I758be5c4fd8da81a23bbcf1feecbe89c23b91f9a
-
- 02 Sep, 2014 1 commit
-
-
Bug 1339113: A blocktype to display a plain snipped of text on a page that is not connected to any artefact and therefore does not cause unintentioned side effects when content is added on a view that has been copied. Change-Id: Ib01448cf08f08ff5738bd1814d9e2027daff006d Signed-off-by:
Tobias Zeuch <tobias.zeuch@kit.edu>
-