- 05 Feb, 2018 1 commit
-
-
Cecilia Vela Gurovic authored
Created switch in site options. When set to 'yes', it disables the multiple institution per user switch. To do: When set to 'yes', force user to accept T&C and privacy statement. Will be resolved in another bug report #1741799 behatnotneeded Change-Id: Ie62fb34a6c7cbf8e5b9bce93e76dc7c4a05376b9
-
- 24 Jan, 2018 4 commits
-
-
Cecilia Vela Gurovic authored
When a user is logged in the 'Privacy statement' link in the footer should go to /account/userprivacy.php when no user is logged in then it should go to /privacy.php behatnotneeded Change-Id: Ic0ded32c71a2f4e0f2238559c4c8a3fb0269f5b9
-
Maria Sorica authored
The page displays the current privacy statement that the user has consented to. behatnotneeded Change-Id: I03d79f538b0a3775cf49c0ed39a05b3a98c8bf04
-
Maria Sorica authored
behatnotneeded Change-Id: Ibd10a64a601a38ed88a4c49ce720f0d343d1fe83
-
Robert Lyon authored
That way we can have other things like terms and conditions also part of this system Change-Id: I00d44a856142095dc3d48f9953a5c775b06b6891 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 19 Jan, 2018 2 commits
-
-
Cecilia Vela Gurovic authored
behatnotneeded Change-Id: I2d0e298b6ec4c249f4b3a1ee2d8d4b2e54193f1d
-
Maria Sorica authored
On site update, delete Privacy Statement from the 'site_content' table and add it to the 'site_content_version' table. behatnotneeded Change-Id: Idd765bad0e72165c940e5f6090d3c8861ae8fcd5
-
- 18 Jan, 2018 1 commit
-
-
Maria Sorica authored
Add the site Privacy Statement to the 'site_content_version' table during installation behatnotneeded Change-Id: I50016c5d91df776025aa8ebb54077ae953844603
-
- 09 Jan, 2018 3 commits
-
-
Maria Sorica authored
behatnotneeded Change-Id: I2cecf16fbbd54b8e4b95ba9d78c51c34d19171f4
-
Robert Lyon authored
This way if we ever query / display who has edited the content we can know user = 0 is the installed version. behatnotneeded Change-Id: I81973a315d7953f29249425ae52712ec2334634f Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Maria Sorica authored
behatnotneeded Change-Id: Ifabd4eade9fe94ed2dd1d61ed041a36544be74be
-
- 04 Jan, 2018 1 commit
-
-
Rebecca Blundell authored
-Become parentuser when masquerading now displays unescaped quotes -User name on groupmember thumbnail now displays unescaped quotes behatnotneeded Change-Id: Idca76c9e31c0a7794416cafc8e8d66f6315611be
-
- 03 Jan, 2018 1 commit
-
-
Cecilia Vela Gurovic authored
behatnotneeded Change-Id: I0037ead6646e002c5cf96b43343f9aefc1a71754
-
- 28 Dec, 2017 1 commit
-
-
Cecilia Vela Gurovic authored
Allow page/collection download in leap2A format through the Copy button of a page. When copy option is allowed, the page/collection is public, or shared via secret url, and is not institution/group/site owned behatnotneeded Change-Id: I545b5d70450fb27b0011814fb55a9827bf4c1ff1
-
- 21 Dec, 2017 2 commits
-
-
Robert Lyon authored
There is an add_to_queue_access() function that is meant to check what pages have had their access changed since they were indexed. It was designed to catch the pages which have a start/stop date. But that is not quite sufficient. See bug report for more info behatnotneeded Change-Id: I160d074fc709c7e94c9c4cacab8f2c5e6c7e9a86 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
This way we can make the elasticsearch safer so that only mahara site admins can access the index in write mode. Also adjust how we pass the $hosts configuration to the client builder behatnotneeded Change-Id: I30218473ee6b87346783462d30ab627dce985338 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 14 Dec, 2017 1 commit
-
-
Robert Lyon authored
The changes should allow ithe install of either a utf8 or utf8mb4 site behatnotneeded Change-Id: I23479c50f2dc2ac197f244cf723a60e79f88c561 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 13 Dec, 2017 1 commit
-
-
Robert Lyon authored
Accidentially merged earlier version of patch so was missing the changes to deal with messages to login box behatnotneeded Change-Id: Ie3a69df6ecc904a5c41d6f239b92c572bcfc6da3 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 11 Dec, 2017 1 commit
-
-
Robert Lyon authored
Due to not using an alias for the view table The code is correct for MySql though behatnotneeded Change-Id: I5622bde057c70cf7d140044ac213bf3f299abefc Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 10 Dec, 2017 1 commit
-
-
Robert Lyon authored
Currently we have a mahara_log function that logs page visits So I decided we also need a mahara_touch_record($table, $id) function that updates the 'atime' for a record when called behatnotneeded Change-Id: I2f645c8357426112f9edcdd24f1b8b85513cb7cb Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 08 Dec, 2017 1 commit
-
-
Cecilia Vela Gurovic authored
when calling clear_all_caches(true), the dataroot/sessions directories will be deleted we recreate them again at that moment instead of waiting until the Session checks behatnotneeded Change-Id: I1ea2318cda4743d4908f5cb51990b02aa385a1ea
-
- 07 Dec, 2017 2 commits
-
-
Cecilia Vela Gurovic authored
Added a field in the 'link' plugin to add a URL to a selected personal page or collection. This is only available in a personal portfolio area, but not a group, site, or institution area. Removed from annotation.js duplicated function already defined in mahara.js behatnotneeded Change-Id: Iccf4c4ca08e142bfd77ab824217cbee5dc35a7bd
-
Ghada El-Zoghbi authored
Forgot to wrap the table name event_log with curly brackets. Sponsored by Australian National University behatnotneeded Change-Id: Ia598632b1f0ae177fe646312ea5c2b38a9e83d51
-
- 04 Dec, 2017 2 commits
-
-
Ghada El-Zoghbi authored
Several issues resolved: 1. The event_log.time column has been removed and replaced by ctime. The handl_event() call is using the new column even though the new column has not been created yet in the upgrade script. Therefore, include both columns in the event handling. 2. The 'deleteartefacts' event stores multiple artefact IDs in the one event_log record. Therefore, there is not a one-to-one relationship when converting the record to the new format. Ignore the record when setting the resourceid and resourcetype. 3. In the 'saveartefact' and 'deleteartefact' events, not all of the event_log records have 'id' and 'artefact'. Ignore setting the resourceid and resourcetype fields when the data is not available. 4. For newer versions of Postgres and MySql, utilise the json dattype to convert the data held in the event_log.data column. This will speed up the processing of the table for sites with large data in the event_log table. Sponsored by Australian National University behatnotneeded Change-Id: If068dac825b9cef6301cd970f0a368124a67b3f1
-
Robert Lyon authored
Problem on PHP 7.1 where messages were not being cleared behatnotneeded Change-Id: Ie6365c98b665a9b7271a9c748e4934e468ffa75f Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 29 Nov, 2017 1 commit
-
-
Robert Lyon authored
Fixing some mistakes from Bug 1514647 where we forgot to update the Country class, which is used as part of the import/export leap2A process Also adjusting getoptions_country() so that it fetches the 2 char codes from the Country class rather than repeating code. behatnotneeded Change-Id: I901e6a1827da31fbdbb1ac4c9fb8e46b247b5dc2 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 28 Nov, 2017 1 commit
-
-
Robert Lyon authored
behatnotneeded Change-Id: I96afb57bba9e2c9195a6ae7b4f76cb1e9354ca72 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 22 Nov, 2017 1 commit
-
-
Yuliya Bozhko authored
behatnotneeded Change-Id: Ic35bbc464ab2c9fa812d66e8e7adc5b71a6da7ba Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralearning.com>
-
- 21 Nov, 2017 1 commit
-
-
Nigel Cunningham authored
Don't try to delete the data of missing artefact plugins when upgrading. The user might want the data but be unable to get a matching version at the moment. behatnotneeded: DB upgrading Change-Id: I52dfec0d97a4bf36a96ca41823c8203f5abb8c73 Signed-off-by:
Nigel Cunningham <nigelc@catalyst-au.net>
-
- 20 Nov, 2017 1 commit
-
-
Dmitrii Metelkin authored
behatnotneeded Change-Id: Ie2450031b608cdcf6072b1793023668ab2ed0727
-
- 19 Nov, 2017 2 commits
-
-
Ilya Tregubov authored
behatnotneeded Enables Mahara to save files to an external file system - object storage (such as AWS's S3) - which can reduce the cost of storage Change-Id: I76822612f2922ba0ef2a0b7a4efb9cd2b96979a6
-
Samantha Jayasinghe authored
And avoid direct $_GET and $_POST usage where possible and instead use param_exists() and the correct param_*() function to fetch the expected value behatnotneeded Change-Id: If2a917360ebf1d198a494907517eb06bb823743c
-
- 17 Nov, 2017 1 commit
-
-
Cecilia Vela Gurovic authored
behatnotneeded Change-Id: I12f79b49900f3a509de1ccf3e7776160ac7a8b00
-
- 16 Nov, 2017 1 commit
-
-
Cecilia Vela Gurovic authored
Added new html custom filter to allow voki embed code with javascript tags. issue with the creation/edition of blocks: Voki embed code its a javascript code that loads js functions from a remote file and makes a call to a AC_Voki_Embed() function parameters: function AC_Voki_Embed (width, height, chsm, sc, transparent, bgcolor, returnFlag, playerType) The number of parameter makes the difference between old and new voki code. The old one will have only 7, the new one will have one more. The new embed code will have playerType = 1 The function uses an XMLHttpRequest to obtain the new embed code. When we are loading the page, there is no problem. But when we are editing or creating the block, the the connection with the object gets lost and the embed code is never loaded. Solution found: reload the page after editing or adding a block with new voki code. The old voki code can have returnFlag = 1 will return a string with the code returnFlag = 0 will load the embed code in the page (by default) In this last case, after the function creates the embed code, it will call document.write('embed code') if we are loading a page with the embed code, we have no problem but if we have the page already loaded and we are editing the block or creating it, the document.write will replace all the html with the embed code. Solution found: change parameter of the function so it returns the code instead, then manually add it in the correct place of the html. behatnotneeded Change-Id: Ieed00b6c6887715b707b8123082a1312f3db1d9c
-
- 12 Nov, 2017 1 commit
-
-
Kristina Hoeppner authored
Kosovo is not yet in the official list of country codes and hence was not in Mahara yet. We add the temporary country code so it is included. behatnotneeded Change-Id: Ieffe8df23ae1da3217675045c7f7c844d0e77d2b
-
- 10 Nov, 2017 1 commit
-
-
Robert Lyon authored
As it causes problems on upgrade behatnotneeded Change-Id: Id330f8c31c763dffce6f559557c9c78ac27ac58f Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 07 Nov, 2017 1 commit
-
-
Cecilia Vela Gurovic authored
for the case where user's firstname and lastname are empty and can't be used to generate a username. behatnotneeded Change-Id: I71aeffbf4c9bbf7f46c09c54ea16d9ef8642ca5c
-
- 05 Nov, 2017 1 commit
-
-
Robert Lyon authored
As per convention when adding an upgrade block behatnotneeded Change-Id: Ifb33f6e588093d800ea983347ba888a9c5ed18d2 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 02 Nov, 2017 1 commit
-
-
Robert Lyon authored
Introduce new global setting: $cfg->sessionhandler behatnotneeded Change-Id: I386c94c4d1ab06fbde110c705789f9dcfaaead67 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 31 Oct, 2017 1 commit
-
-
Robert Lyon authored
behatnotneeded Change-Id: I84b1c6286bc066ceb830732082f8dc9f8fcdbe20 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-