1. 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
  2. 12 Dec, 2014 1 commit
  3. 21 Jul, 2014 1 commit
  4. 19 Jun, 2014 1 commit
  5. 07 Jan, 2014 1 commit
  6. 06 Jan, 2014 1 commit
    • Mike Kelly's avatar
      Restructure usr_custom_layout table to take groups into account · 2214b02a
      Mike Kelly authored and Robert Lyon's avatar Robert Lyon committed
      
      
      Bug #1266317
      
      Group pages, site and institution pages were set as having usr = 0 in
      usr_custom_layout because the view owner is null.
      
      Fix by adding group column to table, foreign keyed to group table.
      
      usr column and group column have to be changed to allow null values, and
      to have null as default values.
      
      When saving a custom layout, check context, then set usr and group
      values accordingly. 
      e.g. 
      usr = 5, group = null 
      usr = null, group = 321
      In the case of site and institution pages:
      usr = null, group = null
      
      Change-Id: Id42ebcc543d29ee2455aef73227b57c569171385
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
      2214b02a
  7. 21 Oct, 2013 1 commit
  8. 14 Oct, 2013 1 commit
  9. 30 Sep, 2013 1 commit
  10. 26 Sep, 2013 1 commit
  11. 25 Sep, 2013 1 commit
  12. 05 Sep, 2013 1 commit
  13. 21 Aug, 2013 1 commit
  14. 27 Jun, 2013 1 commit
  15. 16 Oct, 2012 1 commit
    • Hugh Davenport's avatar
      Fix Leap2A import from Moodle · 9748c636
      Hugh Davenport authored
      
      
      Related to bug #1047111
      
      That bug fixed the XXE attack by setting the following to true
       libxml_disable_entity_loader
      
      This caused issues with the leap2a importer used by mnet, which
      used the simplexml_load to load the xml which relies on file
      based remote entities. For this situation, a the following flag
      is used, which stops network based XXE attacks
       LIBXML_NONET
      
      Change-Id: I3d95ebc9c38374d339d66a80feaa39f5c15f1022
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
      9748c636
  16. 15 Jan, 2012 1 commit
  17. 31 May, 2011 1 commit
  18. 13 May, 2011 1 commit
  19. 05 May, 2011 2 commits
  20. 03 May, 2011 1 commit
  21. 29 Apr, 2011 1 commit
  22. 10 Nov, 2010 1 commit
  23. 24 Oct, 2010 1 commit
  24. 28 Aug, 2010 1 commit
  25. 26 Aug, 2010 3 commits
  26. 24 Aug, 2010 2 commits
  27. 19 Aug, 2010 1 commit
  28. 18 Aug, 2010 1 commit
  29. 09 Aug, 2010 1 commit
  30. 06 Aug, 2010 1 commit
  31. 23 Jul, 2010 1 commit
  32. 16 Jul, 2010 2 commits
  33. 09 Apr, 2010 1 commit
  34. 07 Apr, 2010 1 commit
  35. 10 Mar, 2010 1 commit