- 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
-
- 26 Feb, 2015 2 commits
-
-
Aaron Wells authored
Bug 1415711 Change-Id: Ia8ec1085df32cf7453ac0f669dca1a926f8f5efc
-
Robert Lyon authored
The wall post form fails to work when block loaded via ajax Change-Id: Ic0414ab7b69ee821815162b749217cb377950d20 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 25 Feb, 2015 2 commits
-
-
Son Nguyen authored
This will update - the block content which have links to these embedded images - the tables 'artefact_file_embedded' and 'view_artefact' in database Change-Id: I7b97e0828fd89609f9bd43e786c5ff5ad3e53156 Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
Son Nguyen authored
Change-Id: I9c615da0e7efad927a42874676e1e6cde777c61f
-
- 12 Feb, 2015 1 commit
-
-
Aaron Wells authored
Bug 1421444 Change-Id: I9bfc571d55a2916f89bdef980b5db316715530e1
-
- 11 Feb, 2015 2 commits
-
-
Aaron Wells authored
Now that we've added so many options to this block, it's starting to get hard to read. Changing the radio buttons into menus makes it a little bit easier. Bug 1417357 Change-Id: I0e3a08f6f29e2c4b20d378a5b0118771197824f8
-
Bug 1417362: Since it tends to be unwieldy to update block configdata en masse, I've only merged the control, and I keep the retractonload and rectrable settings separate in block_instance.configdata. Change-Id: I56eaef5a161b0319b686ab222578538ab62e7873
-
- 09 Feb, 2015 2 commits
-
-
Peter Hough authored
Change-Id: Iba8140a1a5a642bf1821be7e74219642f25fa881
-
Fix the handling of disabling a plugin when we find that the files for a module are missing. Change-Id: I706a9c4fd3c86fb1a0e330bb77c40d5e6d888a52 Signed-off-by:
Nigel Cunningham <nigelc@catalyst-au.net>
-
- 08 Feb, 2015 1 commit
-
-
Aaron Wells authored
Bug 1419399 Change-Id: Ia22577980bb67862f540a2ffc76dba54fc824aa5
-
- 05 Feb, 2015 2 commits
-
-
Change-Id: I448b74850bb387c8d9569a3df72da3927ca691d9
-
Aaron Wells authored
Bug 1417357 Change-Id: I886bca645fe063c74b0185288204a2119bf92dec
-
- 04 Feb, 2015 1 commit
-
-
Robert Lyon authored
- Currently ordered as per this comment https://bugs.launchpad.net/mahara/+bug/1236102/comments/1 Change-Id: I95b5eac314dcbf2fef58e8b16836d4a6822b8b40 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 01 Feb, 2015 1 commit
-
-
Bug 1236102. Also sorting the "text" and "image" blocks while I'm at it. Change-Id: I09c3a1bec1ec9a7ddf0b3f1cfca735759dd2bbbe
-
- 30 Jan, 2015 1 commit
-
-
Aaron Wells authored
Bug 1409545: Also cleaning up this old & messy function Change-Id: I9c338aa35208148811bdfe77aee4938f23d8313f
-
- 26 Jan, 2015 1 commit
-
-
Robert Lyon authored
Also got the subject to pre-populate the compose message form Change-Id: Id9e7a1af1f4516c145fa91a09fa12fd4175a7e41 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 15 Jan, 2015 1 commit
-
-
Aaron Wells authored
Bug 1411004: This patch adds an option to the "group pages" block, to limit the "pages shared with this group" and "collections shared..." sections so that they only show pages & collections authored by current members of the group Change-Id: I95185d61d384aa298fba065a96ccd635c3430ec5
-
- 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>
-
- 08 Dec, 2014 1 commit
-
-
Robert Lyon authored
A mistake was made where a user was allowed to add more than one "group pages" block to the group homepage. This wasn't a problem until we added pagination to the "group pages" block. This patch attempts to clean up that error and merge any existing multiple block instances into one "group pages" block instance. Change-Id: I38acada835a4c245c97f0008543519a9dd2072a3 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 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
-
- 22 Oct, 2014 1 commit
-
-
Aaron Wells authored
Theme files for plugins can now live under the plugin's directory or under the theme's directory. Moving the files for the core plugins to /theme should make life easier for theme developers by putting them all in one place. Change-Id: Icff863c46c80ed2d6be07cd49404bc0b7f5fc4c0
-
- 15 Oct, 2014 2 commits
-
-
Robert Lyon authored
Change-Id: I743d481c7775079c807e4e93b4bba4d39ceeb61d Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Bug #1379060 Looks only to be a problem with $form->set_error() and block config forms. Change-Id: I8ac8a7c96446e1dd37a312f482f4d31ad46dae3d Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 14 Oct, 2014 1 commit
-
-
Son Nguyen authored
This patch will convert these following share links into iframe embed code - https://www.google.fi/maps/place/90100+Oulu/@65.016667,25.466667,17z/data=!3m1!4b1!4m2!3m1!1s0x468032a8c02185c1:0x8bb02d322b12e97d - https://www.google.fi/maps/ms?msid=217233740007179193682.00045bce836893f537d23&msa=0 - https://www.google.com/maps/place/90100+Oulu/@65.016667,25.466667,17z/data=!3m1!4b1!4m2!3m1!1s0x468032a8c02185c1:0x8bb02d322b12e97d - https://www.google.com/maps/ms?msid=217233740007179193682.00045bce836893f537d23&msa=0 Change-Id: If1f31357de7c0476afa8ff7ec7e464bf33830fff
-
- 05 Oct, 2014 1 commit
-
-
Kristina Hoeppner authored
Correct new group lang strings as well as others that needed to be changed. Change-Id: If652adcef6a2d9668dd008d4ea250ea19b1c75e8 Signed-off-by:
Kristina D.C. Hoeppner <kristina@catalyst.net.nz>
-
- 01 Oct, 2014 1 commit
-
-
Robert Lyon authored
Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz> Signed-off-by:
Aaron Wells <aaronw@catalyst.net.nz> Change-Id: I6b1dc6622d98e1fb75a53b0a8c0fa6ea11d72518
-
- 25 Sep, 2014 1 commit
-
-
Robert Lyon authored
To test: 1) Set up a few users all being members of many groups (I tested with 17 groups) 2) for each user edit their profile page and edit the 'My groups' block and set the 'Maximum number of groups to display' value to something less than the number of groups available 3) Then test if you can paginate on both logged-in users profile page and other users profile pages Test for both when clean urls are on and off Change-Id: I26a247fc4a692b2e82b6c235d41172ff35fadeac Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 22 Sep, 2014 1 commit
-
-
Kristina Hoeppner authored
Various lang string fixes right before RC1 Change-Id: If25cca56b8dd6fff16d586f58d9df9b02fcde31f Signed-off-by:
Kristina D.C. Hoeppner <kristina@catalyst.net.nz>
-
- 18 Sep, 2014 1 commit
-
-
Robert Lyon authored
This patch contains: - The export queue system where pages/collections on release from submission are added to the export queue table ready to be archived. - The export queue admin page showing what is in the queue to be exported. The cron runs every 6 minutes. Queue items failed to export are also shown here. - The archive list admin page, where one can download the generated leap2a files for the archived submissions. In this patch you should be able to add things to the export queue by either releasing a sumbission on a group that has 'archive submissions' option ticked. This will add the archive to that archived submission page, or you can also run a leap2a export from portfolio export which will add the export queue and send you an email once the export is done. Things to note: - The is a server busy function that stops the export queue from running but I'm not too sure if the threshold is too low/high - The export queue tries to export the first 100 items each run but if resources are fine in handling that easily then the number could be higher but I'm not sure of what will be a good number. - Currently there is alsoe infrastructure like table columns for dealing with releasing submissions from external systems (eg moodle) but that functuionality is yet to be built. - The checking of server busy in MS windows untested - may need to just let MS ignore server busy check as there doesn't seem to be standard way to check this. Change-Id: If4c1d272e9c5d46fbf16b2ff73ceb2687c06ffd4 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 16 Sep, 2014 1 commit
-
-
Nigel Cunningham authored
This patch adds support for anonymising pages. It creates a site option in the General Settings section named 'Allow anonymous pages' that must be checked for any page to be anonymised. If the site option is enabled, a new 'Anonymise' setting in the 'Edit title and description' tab of pages is enabled, allowing the owner to request that this page be anonymised. When both settings are enabled and a user views a page, two things may happen to the author's information. First, if the user is not logged in or does not have admin, staff or owner privileges for the page, the author's name is replaced by the anonymous text (defaulting to "(Author's name hidden)") in both the body of the page and the metadata author field. If the user does have admin, staff or owner privileges for the page, the author's name is anonymised as above except that the text displayed is made into a link. When this link is clicked, the anonymous author text is replaced by the normal author information for the page. Anonymous pages displayed in the 'Latest pages' block and shared with a group are also anonymised by this patch. Change-Id: I2e2c92f641329a1a305cf58a5c5d47bf95436a8b Signed-off-by:
Nigel Cunningham <nigelc@catalyst-au.net>
-
- 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>
-
- 01 Sep, 2014 1 commit
-
-
Robert Lyon authored
To be more like the validate_config_options() call and so allow for something other than the generic success message. Change-Id: I36a6fec227c525776b58fd29c1548fb30b62a92c Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 31 Aug, 2014 1 commit
-
-
Son Nguyen authored
Bug 1362832 Change-Id: Ie6321d43b93d0b01dffb806257813e6d63163aec Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
- 25 Aug, 2014 1 commit
-
-
Son Nguyen authored
Change-Id: I639de4ced44bd6fe87362a72d0efe98fb6fa4704 Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
- 13 Aug, 2014 1 commit
-
-
Robert Lyon authored
Was not working for urls with @ latitutude,longitude, zoom eg: https://www.google.com/maps/@37.509345,-121.9596665,12z And not working for shorthand ulrs like https://goo.gl/maps/pZTiA So I've added a check for the urls with @ latitutude,longitude, zoom and turned them into an acceptible embed url. And for shorthand urls I've added a generic function to fetch the url the short one resolves to and so it can parse that one instead of the short url. Change-Id: I3c76d2608e9708f1722e243cdc02a43f1885b815 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 28 Jul, 2014 1 commit
-
-
Robert Lyon authored
Sometimes views will have artefacts/block instances on them but the plugin has been deleted. This should not stop a user being deleted. To test: Add a plugin to the site (eg openbadgesdisplayer block plugin, or cpds artefact plugin) and install it. Add a page and add a block to the page. Delete the dir from the site for the plugin Try to bulk delete the user Change-Id: Ib23ad79d9f1ffa0bca56ad7ccb6083333527e64c Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-