1. 09 Sep, 2018 1 commit
  2. 31 Aug, 2018 1 commit
  3. 14 Aug, 2018 1 commit
    • Rebecca Blundell's avatar
      Bug 1752743: replace php 7.2 deprecated functions · c6c6c295
      Rebecca Blundell authored
      replaced each() with foreach in core code.
      replaced create_function() with anonymous function in core code.
      
      Also removed some functions that were not used anymore
      
      behatnotneeded
      
      Change-Id: I300396a1ec04c75d7882b7ec5c9de76c3763e70d
      c6c6c295
  4. 22 May, 2018 1 commit
  5. 19 Nov, 2017 1 commit
  6. 27 Mar, 2017 1 commit
  7. 09 Jan, 2017 1 commit
  8. 06 Dec, 2016 1 commit
  9. 14 Nov, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1640837: Proper import of blogposts · 54936693
      Robert Lyon authored
      
      
      If we didn't wrap the blogpost description in a <div></div> it failed
      to fully make the content. This is fine for our made leap2a but fails
      for ones made via 3rd party systems, like moodle.
      
      The problem was how we extracted the info from the DOM $xml
      
      Test with the leap2a files in the bug report
      
      behatnotneeded
      
      Change-Id: Iedb88a05b332a38305e9304f358d3e424b1973f4
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      54936693
  10. 19 Sep, 2016 1 commit
  11. 25 Aug, 2016 1 commit
    • Ghada El-Zoghbi's avatar
      Bug 1598990: Verify the import format from an external source is correct. · c71c5d43
      Ghada El-Zoghbi authored
      Check the format of the record in the import_queue table when processing
      the queue. Ensure it always defaults to a valid format that is installed
      and enabled. If it is not valid, throw an error.
      
      Clean up the call PluginImport::create_new_queue() by removing the
      non-existant 'plugin' field.
      
      Also, wrap the importer in a try/catch so the core_import_process_queue
      cron process can contiue if there is an error.
      
      And, validate that the keypair_PEM exists when checking openssl_open().
      
      behatnotneeded
      
      Change-Id: Icde78f862ca0e120b67393f4a5abf464695f5104
      c71c5d43
  12. 23 Aug, 2016 1 commit
  13. 21 Mar, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1539262: Removing unnecessary $smarty PAGEHEADING lines · e82c0fcb
      Robert Lyon authored
      
      
      As they are set to TITLE we can just assign TITLE to PAGEHEADING in
      the smarty function call.
      
      We can later override the PAGEHRADING with
      $smarty->assign('PAGEHEADING', string); if we need to.
      
      Have also updated a few files where TITLE was not defined.
      
      behatnotneeded - everything should work as before
      
      Change-Id: I3ea592cd37344e68c6e90a3c64947cf99db59471
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      e82c0fcb
  14. 16 Mar, 2016 1 commit
  15. 09 Dec, 2015 1 commit
    • Aaron Wells's avatar
      Updating outdated links in the Mahara source code · 4c046f3d
      Aaron Wells authored
      Bug 1523499: Old wiki.mahara.org links without the "/wiki",
      and HTTP links that should be HTTPS.
      
      Also updated the installer release notes link to point to
      the base "Release_Notes" page in the wiki, because we no
      longer maintain separate wiki pages for each release.
      
      behatnotneeded: Covered by existing tests
      
      Change-Id: I02e80eb4d8df5adddee88e77156e8e103ca24c51
      4c046f3d
  16. 25 Nov, 2015 1 commit
  17. 19 Oct, 2015 1 commit
  18. 28 Sep, 2015 1 commit
  19. 20 Sep, 2015 1 commit
  20. 14 Sep, 2015 1 commit
  21. 07 Aug, 2015 1 commit
  22. 06 Aug, 2015 1 commit
  23. 30 Jul, 2015 1 commit
  24. 27 Jul, 2015 1 commit
  25. 16 Jul, 2015 1 commit
  26. 15 Jul, 2015 1 commit
  27. 15 Jun, 2015 2 commits
  28. 29 May, 2015 1 commit
  29. 23 Apr, 2015 1 commit
    • Nigel Cunningham's avatar
      (Bug785472) Remove unneeded raise_memory_limit calls · 039564a5
      Nigel Cunningham authored
      
      
      On the basis of my profiling and testing over the last week,
      all of the scripts affected by this patch don't need their
      raise_memory_limit calls. Ensure_sanity currently sets the
      memory limit to 128MB, which has been seen to be more than
      sufficient for each of these use cases.
      
      Tests have involved at least 1000 records being imported in
      each case, and sometimes as many as 20,000. I would have
      liked to have tested with some really full profiles (eg
      lots of pictures and content), but am satisfied that there's
      enough margin to cover those cases. In any case, such files
      are often handled using external apps and therefore won't
      be counted toward PHP's memory use anyway. Finally, the
      limit can easily be increased by the user if necessary for
      a particular case.
      
      Change-Id: Ifecc83fd47da51268bae6cbd6960735eb91f9403
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
      039564a5
  30. 31 Mar, 2015 1 commit
  31. 16 Mar, 2015 1 commit
  32. 13 Mar, 2015 1 commit
    • Ghada El-Zoghbi's avatar
      Annotation artefact: Bug 1397759 · 389df353
      Ghada El-Zoghbi authored
      A new artefact similar to the comment artefact but with less
      functionality (i.e. no attached files, etc).
      It's an explenation of why a particular evidence meets a
      particular standard.
      
      If an annotation is created and added to a page, when the user
      deletes it from the page, the instance is deleted along with the
      annotation and its feedback.
      
      TODO:
      
      1. Imports seem to be working.
      Can get all comments to import and display.
      Needs some serious testing.
      
      2. Made changes for broken images but another bug was reported and is
      currently being worked on. So, may not need the fixes in here. Changes in:
      - htdocs/artefact/file/download.php
      
      To completely fix the broken images for all artefacts, changes are also required
      in htdocs/lib/embeddedimage.php to delete based on resourceid instead of fileid.
      
      Change-Id: Ibdb2e1c6500862645bac741bf61cff37e5a5b35c
      389df353
  33. 10 Mar, 2015 1 commit
  34. 27 Feb, 2015 1 commit
    • Son Nguyen's avatar
      Fix embedded images in 'Text' block when copy and import. Bug 1425728 · 2b259a85
      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
      2b259a85
  35. 12 Dec, 2014 1 commit
  36. 13 Oct, 2014 1 commit
  37. 21 Jul, 2014 1 commit
  38. 19 Jun, 2014 1 commit
  39. 12 Jun, 2014 1 commit
    • Aaron Wells's avatar
      Refactor the Dwoo_Template_Mahara files · 97e96de0
      Aaron Wells authored
      Bug 1231755
      
      - Cleanup, documentation, and removing replicated code.
      
      - Not checking for whether the file exists. We'll just make a list
      of search paths and pass those through to Dwoo_Template_File, and
      let it determine which path has the file.
      
      - Eliminating the separate Dwoo_Template_Mahara classes for plugintypes,
      and moving the custom logic for how plugintypes find their template files,
      into the Plugin class itself.
      
      Change-Id: I877a4221323333e8e8b6c6df54062a0f8bf2b817
      97e96de0