1. 14 Oct, 2009 4 commits
    • Iaki Arenaza's avatar
      MAH-3317 Cannot Login to Mahara from Moodle When Picture is added to Moodle Profile · a3d82f91
      Iaki Arenaza authored
      
      
      Instead of using a fixed platform-specific path for temporary image files,
      create a new temporary directory inside dataroot and place temporary files
      there.
      
      In addition to it, make sure we prefix the profile icon file names with 'mpi_'
      (stands for mnet profile icon) to prevent clashes (as per Nigel's suggestion)
      and check the return result from file_put_contents() for errors (but otherwise
      and continue gracefully if the file can't be written, as Nigel suggested on the
      bug tracker).
      
      While in this particular case the related code takes care of the temporary
      files, if we are going to have a temp directory, it might be good to have a
      cronjob to clean it out (We should file a bug to remind us to do that)
      
      [Minor whitespace fixups by Nigel]
      Signed-off-by: default avatarIñaki Arenaza <iarenaza@eps.mondragon.edu>
      Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
      a3d82f91
    • Penny Leach's avatar
      Merge branch 'dwoo' · 3c44a80e
      Penny Leach authored
      Conflicts:
      	htdocs/lib/web.php
      
      Inaki's patch had changed the smarty function to add httpswwwroot.  I
      moved this to lib/dwoo/mahara/Dwoo_Mahara.php
      3c44a80e
    • Iñaki Arenaza's avatar
      Initial version for the HTTPS login patch · a757a430
      Iñaki Arenaza authored
      
      
      There is a new optional setting called $cfg->httpswwwroot. The reason we
      have a new setting instead of simply substituting 'http://' with
      'https://' in $cfg->wwwroot, like Moodle currently does, is that this
      prevents people from using non-standard ports in their HTTPS setups.
      This may be necessary if you want to run both Moodle and Mahara on the
      same host/ip and use HTTPS logins for both of them.
      Signed-off-by: default avatarIñaki Arenaza <iarenaza@eps.mondragon.edu>
      a757a430
    • Nigel McNie's avatar
      Add the 'm' modifier to the autolink_text regex. · d539eb27
      Nigel McNie authored
      
      
      Catches URLs that are on lines by themselves. Spotted by Stephen Coles.
      Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
      d539eb27
  2. 13 Oct, 2009 20 commits
  3. 12 Oct, 2009 5 commits
  4. 08 Oct, 2009 5 commits
  5. 07 Oct, 2009 6 commits