1. 14 Feb, 2012 1 commit
    • Richard Mansfield's avatar
      Display locked email as uneditable on Edit profile page (bug #917935) · 61c9b6eb
      Richard Mansfield authored
      
      
      The 'emaillist' pieform element doesn't appear greyed out or
      uneditable when it's disabled.  This means that when the email address
      field is locked in institution settings, or because the email address
      is imported from Moodle, users may still try to add new addresses
      without receiving a useful error message.
      
      When displaying this element on the Edit Profile page, the help item
      is hidden whenever the element is locked, because it refers to buttons
      and links that don't appear in the form.
      
      Change-Id: Ia9a149e9110932ebac9202a1691d29799d327dc2
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      61c9b6eb
  2. 13 Feb, 2012 2 commits
    • Richard Mansfield's avatar
      Merge changes I9c9a81bf,Ifb24c689,Id4f87c1f,Ib9a72a9e,I81865ee9 · 506c004a
      Richard Mansfield authored
      * changes:
        Get unread message count from user table (bug #854403)
        Add column for unread message counts to the usr table (bug #854403)
        Add functions to create and remove database triggers
        Display a useful error message when PL/pgSQL is not available
        New icon for unread notifications
      506c004a
    • Richard Mansfield's avatar
      Get unread message count from user table (bug #854403) · 60167828
      Richard Mansfield authored
      
      
      Also keeps the count in the $USER object up to date whenever the
      user deletes or reads a notification.
      
      When new notifications are generated for a live user by another user,
      or on cron, the logged-in user's unread count is reloaded from the
      database into the session either on hitting the inbox, or whenever
      $USER is committed for some other reason.
      
      The code to reload the background fields on commit of the LiveUser
      object has been changed to ensure that it still works at upgrade time,
      where the 'reload' column doesn't exist in the user table yet, but
      *does* exist in the User object.
      
      Change-Id: I9c9a81bf77d0927352902dee0d989d6122757b47
      Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
      60167828
  3. 10 Feb, 2012 4 commits
  4. 09 Feb, 2012 4 commits
  5. 08 Feb, 2012 5 commits
  6. 07 Feb, 2012 24 commits