1. 18 May, 2012 1 commit
    • Richard Mansfield's avatar
      Add local hooks for registration and user initialisation (bug #1001064) · 5d737aa5
      Richard Mansfield authored
      Three new hooks are added:
      
      local_init_user() - called after $USER is initialised.  This is useful
      for changing the user's theme before $THEME is initialised.
      
      local_register_submit() - called when the registration form is
      successfully submitted, but before the submitted values are saved to
      usr_registration.  This is useful for remembering the properties or
      preferences of the logged-out user when the form was submitted.
      
      local_post_register() - called after a user has successfully been
      created and logged in during registration.  This is useful when
      properties of the user (which may have been saved to usr_registration
      by local_register_submit()) need to be transferred to the newly
      registered user.
      
      Change-Id: Ifcb19737bdcecb550185624f2fd78e541690a337
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      5d737aa5
  2. 22 Mar, 2012 1 commit
  3. 17 Feb, 2012 1 commit
  4. 13 Sep, 2011 1 commit
  5. 12 Sep, 2011 1 commit
  6. 02 Sep, 2011 1 commit
  7. 01 Sep, 2011 1 commit
  8. 23 Jun, 2011 1 commit
    • Francois Marier's avatar
      Revert "Remove wwwroot from the database (bug #780177)" · 5266d1b4
      Francois Marier authored
      This reverts commit fb38dd95.
      
      It turns out that we do need the wwwroot to be in the database
      because the code that sends forum posts via email runs in php
      cli mode and is needs to get the hostname of the site to embed
      in the headers.
      
      While not specifically mentioned in bug #794490, it was spitting
      out warnings in the logs.
      
      Conflicts:
      
      	htdocs/lib/db/upgrade.php
      	htdocs/lib/version.php
      
      Change-Id: I36b33ac72eee01f71056a45c706f2fc8674620ec
      Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
      5266d1b4
  9. 09 Jun, 2011 1 commit
  10. 07 Jun, 2011 1 commit
    • Hugh Davenport's avatar
      Fix autogen of wwwroot to detect symbolic links correctly · a5887e1c
      Hugh Davenport authored
      Test by appending each directory in PHP_SELF to DOCUMENT_ROOT
      when the realpath of that is the same as dirname(__FILE__) then
      stop processing.
      
      For most users there is little performance hit, only a few will
      have more than say two levels above DOCUMENT_ROOT
      
      If nothing can be autoconfigured, use a default of root (ie no
      path)
      
      Bug #780237
      
      Change-Id: I60339a180ac043ab0b89c3a49ff5f2485112f567
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
      a5887e1c
  11. 16 May, 2011 1 commit
  12. 13 May, 2011 2 commits
  13. 10 May, 2011 1 commit
  14. 03 May, 2011 2 commits
  15. 27 Apr, 2011 1 commit
  16. 25 Apr, 2011 1 commit
  17. 01 Oct, 2010 1 commit
  18. 31 May, 2010 1 commit
  19. 26 May, 2010 1 commit
  20. 04 Nov, 2009 1 commit
  21. 14 Oct, 2009 1 commit
    • 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
  22. 16 Sep, 2009 1 commit
  23. 15 Sep, 2009 1 commit
  24. 18 Aug, 2009 1 commit
  25. 26 Jun, 2009 1 commit
  26. 25 Jun, 2009 1 commit
  27. 22 Jun, 2009 1 commit
  28. 10 Jun, 2009 2 commits
    • Nigel McNie's avatar
      New Theme object, to manage theme configuration. · f3ce0ed6
      Nigel McNie authored
      Reads in themeconfig.php for all themes. Allows the theme objects to set
      their own fields if necessary.
      
      The root theme is now 'raw', and this cannot be changed. All themes
      extend from the raw theme.
      
      A bunch of fields were added to do with the widths and colours of the
      columns. Now, it's technically possible for a Mahara site to have
      sideblocks on the left, or sideblocks on both sides, and the widths of
      these columns can be set in pixels or percent.
      f3ce0ed6
    • Nigel McNie's avatar
      Get rid of $CFG->themeurl, which is broken. · d070d62d
      Nigel McNie authored
      It's broken because it corresponds to the theme of the site, rather than
      the theme the user is looking at the site with. I don't think this ever
      resulted in any broken images however.
      d070d62d
  29. 21 Apr, 2009 1 commit
  30. 01 Apr, 2009 1 commit
  31. 27 Feb, 2009 1 commit
  32. 22 Jan, 2009 1 commit
  33. 09 Jan, 2009 1 commit
  34. 13 Oct, 2008 4 commits