- 22 Jan, 2015 1 commit
-
-
Mike Kelly authored
Previous fix didn't work when page was viewed by third parties. The subdomain address for the iframe needs to be derived from the page author, not the current user. Change-Id: Ic3669dd01fbe600ed2e9cf74b939ef96a84addca Signed-off-by:
Mike Kelly <m.f.kelly@arts.ac.uk>
-
- 08 Jan, 2015 1 commit
-
-
Mike Kelly authored
X-Frame SAMEORIGIN error is thrown when viewing an embedded PDF on a user's View, if Mahara is set up to use subdomains. This is because the current page url has the subdomain part, but the PDF iframe does not. Group views and page editing interface are not affected. This patch adds the subdomain part to the iframe url, and the PDF url, as required. Change-Id: I7e5856d8cfcd6ac7e2df71859c1b18d3f561bfd1 Signed-off-by:
Mike Kelly <m.f.kelly@arts.ac.uk>
-
- 16 Dec, 2014 2 commits
-
-
Mike Kelly authored
Change-Id: Iae6b20134f7426c006dcfe0200e46b2cd52279ff Signed-off-by:
Mike Kelly <m.f.kelly@arts.ac.uk>
-
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>
-
- 04 Dec, 2014 1 commit
-
-
Darren James Harkness authored
Requires https now - used to work with http but no longer Change-Id: I4aae1d36c532dcdfc96b5a4a673910b654ea9a2c 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
-
- 20 Nov, 2014 1 commit
-
-
Robert Lyon authored
Change-Id: I252c5f763ccc83d846f5dcc7fd086d723b31e2e6 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 19 Nov, 2014 1 commit
-
-
Robert Lyon authored
Bug 1394330 In most places in mahara we specify that we want base 10 number returned (or base 16 in case of a hexidecimal css colour) But there are a few places where we don't specify the radix at all It's best practice to always include the radix because for older browsers it interprets leading 0 as octal by default. Also makes it clearer to developers what type of number is expected to be retrieved from the string. Change-Id: Iaecc85cbed875f85b313188c4e96cc1b77c77b31 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 18 Nov, 2014 1 commit
-
-
Robert Lyon authored
See bug for testing details Change-Id: Ide0cd9b8e304d8b75af1af86829f9be31ed8ca84 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 16 Nov, 2014 6 commits
-
-
Robert Lyon authored
This is only for the displaying of a folder as a gallery in either the thumbs, square thumbs, or slideshow. The allow comments is based on the allowing the folder to have comments so this means any folder comments will display whether they have been added following the link in gallery block or the folder block as both end up at the same artefact on artefact/artefact.php page Change-Id: I787a730861823ef3f731fb5209bf3470b00a7ed3 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Change-Id: I50a5cd56ca87b9625dcf59462db822c222fc0a24 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Change-Id: I85dd598e7cce09ec3fd3edaa6e6c946008cc81c8 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Change-Id: I2ca1392ca92c248ce1c752cda640b2ce39e89367 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Can use safe in template as the html has been thru clean_html() before being sent to template. Change-Id: Idbcee9b943a394c32ce762b54c8cdb61f404b121 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
- similar to the changes done for textbox Change-Id: I7419a50b6790d11ee5e4d48b2d1bbd2b134f2126 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 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
-
- 13 Oct, 2014 1 commit
-
-
Currently it checks what width it should be on rendering but it should also do this on saving to make sure a width of 0 is not set. Change-Id: I7837c3120fa29e2a2dc5c9c63301dfa4543428a4 Signed-off-by:
Bob Lyon <bob@katipo.co.nz>
-
- 12 Oct, 2014 1 commit
-
-
Robert Lyon authored
Bug 1367539 When the admin adjusts the quota notify threshold limit the system alerts any users that are now over limit that haven't been already alerted on previous limit Change-Id: I1d99b88336ef3be50dfa3b1453e9e351c701d739 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 09 Oct, 2014 1 commit
-
-
Robert Lyon authored
As a later fixed backported and released stops this from running so I've meved it to have a later date but to be before the upgrade date in patch 3315. Change-Id: I072e7d1b9e466b317d386de1103f412aaf84f0c2 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 06 Oct, 2014 1 commit
-
-
Aaron Wells authored
Bug 1327738 Change-Id: I2d8e717638f329a20654017592d78295a0e38e66
-
- 01 Oct, 2014 1 commit
-
-
Robert Lyon authored
Have it display as checked only if one has saved that state previously Change-Id: I11620d1b1b1dea25165b1d0e6fbea95cfaede6db Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 29 Sep, 2014 1 commit
-
-
Nigel Cunningham authored
Fix the flash player for embedded media being displayed over dialogs by adding wmode=transparent. Tested on IE9, Chrome 37 and Firefox 32. Change-Id: I2b450b7373a7b1506d733a86090a9932b51b2f72 Signed-off-by:
Nigel Cunningham <nigelc@catalyst-au.net>
-
- 24 Sep, 2014 1 commit
-
-
Robert Lyon authored
Change-Id: Ib77c0970d6f1e0d3248b58744349b49447d7c413 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>
-
- 12 Sep, 2014 1 commit
-
-
Evonne Cheung authored
Change-Id: Ia7d3759acd3deb1224782970ebde5f5f8e6a08e8 Signed-off-by:
Robert Lyon <robertl@brumbies.wgtn.cat-it.co.nz> Signed-off-by:
Ghada El-Zoghbi <ghada@catalyst-au.net>
-
- 09 Sep, 2014 1 commit
-
-
Aaron Wells authored
Bug 1316375 Change-Id: Id5289bb6392a1e2d1f3d3d9b2dea91fba4298408
-
- 02 Sep, 2014 1 commit
-
-
Robert Lyon authored
Problem existed where the cache didn't know the height of the files as they had not been loaded before so the getting of the hightest one was failing. Changed it so that mahara passes in the height of the file to allow it to fetch that instead. Change-Id: I0a2cd8d316544cce65da73c1a7787759d5d6706d Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 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>
-
- 29 Jul, 2014 1 commit
-
-
Robert Lyon authored
Currently in IE/FF/Chrome if you tab through a list of files on artefact/file.index.php and hit space when on the icon you are given a list of places you can move the file to. (Note: have some files and some folders when testing). But when you click on the icon you only get the list when in FF/Chrome. This patch should allow the clicking to also work in IE 10 Change-Id: I958d52220912169f1fc0198a47428e077aa6ed3e Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 24 Jul, 2014 1 commit
-
-
Son Nguyen authored
Only display upload instruction if users can edit files Change-Id: If70302d9948e04e11a122d6a0fa08b50e69b82d5 Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
- 15 Jul, 2014 1 commit
-
-
Robert Lyon authored
Also getting it to work on profile page And trying to fix up display for chrome Change-Id: I56967689f09b791bd3ab9d72e45585518c02e5e3 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 14 Jul, 2014 1 commit
-
-
Nigel Cunningham authored
Remove support for upgrading from pre-1.1.0, from core plugins. Change-Id: I7dce8210152b75cc0931894bb21450805294c5b3 Signed-off-by:
Nigel Cunningham <nigelc@catalyst-au.net>
-
- 19 Jun, 2014 1 commit
-
-
Robert Lyon authored
Bug 1318995 Change-Id: I3ab1c23cb5fcd188436224508cf5b9127e7fb290 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 12 Jun, 2014 1 commit
-
-
Yuliya Bozhko authored
Change-Id: I7887c87cdb56b89bdec35921780aba256c8b1184 Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
- 05 Jun, 2014 3 commits
-
-
Nathan Lewis authored
Change-Id: I49c15aed9e36da0ff4ea4e1fa4d110c112a25215 Signed-off-by:
Nathan Lewis <nathan.lewis@totaralms.com>
-
Ghada El-Zoghbi authored
MySql has a maximum of 64 characters for identifiers. Shorten the names of the triggers to allow space for dbprefix and the '_trigger' suffix. Apply the name change to both postgres and mysql to keep names aligned. Change-Id: I729a5e5f4dd8b33dba1aa3f8ddeae92457c50c27 Signed-off-by:
Ghada El-Zoghbi <ghada@catalyst-au.net>
-
Robert Lyon authored
Currently it is always open - this patch sets it up to be closed and allows it to be toggled open/closed Also aligned the close 'X' to the right Change-Id: Id92428e5345748826a4640f91f56b268e7b01c47 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 04 Jun, 2014 1 commit
-
-
Robert Lyon authored
As we add more config settings to the artefact file plugin it is easier to find things when we load the config page with all the fieldsets closed to begin with (like what we do in site config page). Made the form/page look more like site settings page Change-Id: I7e6af09d0158644f1d270c602fee83d80c9732fe Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-