1. 04 Mar, 2015 1 commit
  2. 03 Mar, 2015 1 commit
    • Nigel Cunningham's avatar
      (Bug1352028) Add a JSON progress bar for bulk operations. · 55a8deb8
      Nigel Cunningham authored
      This patch adds a JSON progress meter (I'll call it that to avoid confusion
      with progress bars) to the bulk uploading of users, groups and group
      memberships and the bulk export and import of users (LEAP), so the user can see
      the progress of the operation and not just the submit button changed to
      'Processing..' and whatever indication their browser gives while waiting for
      content.
      
      The bulk export and import are minor rewrites, replacing the old iframe based
      progress bar and the associated multiple pages and additional template file in
      the case of the bulk export, and the recursive redirect-to-self of the bulk
      import.
      
      To accomplish the display of the progress bar during the operation, we make the
      PHP session be closed (read only) except when changes need to be made. This is
      for the most part a straightforward change in session.php as it's the only
      direct accessor. In other places, we replace direct accessing of the session
      variable ($_SESSION) with...
      55a8deb8
  3. 26 Feb, 2015 1 commit
  4. 02 Feb, 2015 1 commit
  5. 21 Jan, 2015 1 commit
  6. 16 Jan, 2015 1 commit
  7. 03 Dec, 2014 1 commit
  8. 16 Nov, 2014 1 commit
  9. 22 Sep, 2014 2 commits
  10. 18 Sep, 2014 1 commit
    • Robert Lyon's avatar
      The archiving of submitted pages/collections from groups (Bug #1335670) · 5c57b565
      Robert Lyon authored
      This patch contains:
      - The export queue system where pages/collections on release from
      submission are added to the export queue table ready to be archived.
      - The export queue admin page showing what is in the queue to be
      exported. The cron runs every 6 minutes. Queue items failed to export
      are also shown here.
      - The archive list admin page, where one can download the generated
      leap2a files for the archived submissions.
      
      In this patch you should be able to add things to the export queue by
      either releasing a sumbission on a group that has 'archive
      submissions' option ticked. This will add the archive to that archived
      submission page, or you can also run a leap2a export from portfolio
      export which will add the export queue and send you an email once the
      export is done.
      
      Things to note:
      - The is a server busy function that stops the export queue from
      running but I'm not too sure if the threshold is too low/high
      - The export queue tries t...
      5c57b565
  11. 16 Sep, 2014 1 commit
    • Nigel Cunningham's avatar
      (Bug548021) Add support for anonymising pages. · 9624d430
      Nigel Cunningham authored
      
      
      This patch adds support for anonymising pages.
      
      It creates a site option in the General Settings section named 'Allow
      anonymous pages' that must be checked for any page to be anonymised.
      
      If the site option is enabled, a new 'Anonymise' setting in the
      'Edit title and description' tab of pages is enabled, allowing the owner
      to request that this page be anonymised.
      
      When both settings are enabled and a user views a page, two things may
      happen to the author's information.
      
      First, if the user is not logged in or does not have admin, staff or
      owner privileges for the page, the author's name is replaced by the
      anonymous text (defaulting to "(Author's name hidden)") in both the
      body of the page and the metadata author field.
      
      If the user does have admin, staff or owner privileges for the page,
      the author's name is anonymised as above except that the text displayed
      is made into a link. When this link is clicked, the anonymous author
      text is replaced by the normal author information for the page.
      
      Anonymous pages displayed in the 'Latest pages' block and shared with
      a group are also anonymised by this patch.
      
      Change-Id: I2e2c92f641329a1a305cf58a5c5d47bf95436a8b
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
      9624d430
  12. 15 Sep, 2014 1 commit
  13. 14 Sep, 2014 1 commit
  14. 24 Aug, 2014 1 commit
  15. 24 Jul, 2014 1 commit
  16. 16 Jun, 2014 1 commit
  17. 05 Jun, 2014 1 commit
  18. 27 May, 2014 1 commit
  19. 25 May, 2014 1 commit
  20. 11 May, 2014 1 commit
  21. 04 May, 2014 1 commit
  22. 16 Apr, 2014 1 commit
    • Nathan Lewis's avatar
      Improvements to notification system (Bug #1299993) · 63e0484d
      Nathan Lewis authored
      
      
      - Each activity type can specify a default notification method. They default
        to 'email' to remain backwards compatible.
      - Each activity type can specify if it is allowed to be set to 'none'. Defaults
        to 'allowed' for backwards compatibility.
      - Removed 'required' from notification settings - it didn't make sense, and the
        change above deals with this in a better way.
      - The site wide defaults for each activity type can be edited in
        Site options -> Notification settings. These are applied to new users or
        whenever a user does not have the appropriate usr_activity_preference records.
      - Removed 'Default notification method' as it's functionality is now covered by
        the change above.
      - There is a separate help next to each activity type to explain what messages
        will be affected by the setting.
      
      Change-Id: I131cdeefbeaa8e43688aefd9d770fc8cb9bceea8
      Signed-off-by: default avatarNathan Lewis <nathan.lewis@totaralms.com>
      63e0484d
  23. 30 Mar, 2014 1 commit
    • Aaron Wells's avatar
      Renaming general pages to static pages · d4c63e88
      Aaron Wells authored
      Bug1282219: See the lengthy discussion on the bug tracker. No perfect name
      for these items has arisen yet, but I think "static pages" is the best
      so far because:
      
      1. It means they're obviously not the same type of thing as the Pages in your
      portfolio, because those are dynamic.
      
      2. It's more self-evident. If I were brand new to Mahara and were
      trying to figure out how to change the "Privacy Policy" page, "Static pages"
      is probably what I would think to click on.
      
      Change-Id: I7dd4e3fe6e86fd35dce973afb78b3e56049aab69
      d4c63e88
  24. 27 Mar, 2014 2 commits
  25. 26 Mar, 2014 2 commits
    • Aaron Wells's avatar
      Let admins bulk-edit users' spam probation status · 4bc3364a
      Aaron Wells authored
      Bug 1252101
      
      Change-Id: Id576efdb352156a5e70a03c319e47f23cfdbc558
      4bc3364a
    • Tobias Zeuch's avatar
      New watchlistnotification Plugin (Bug 1041228) · 6fe99d5f
      Tobias Zeuch authored
      
      
      Introducing a new plugin watchlistnotification that responds to the
      events saveartefact, blockinstancecommit and deleteblockinstance. It
      stores the changed view and the blockinstance in a table watchlist_queue
      and checks via cron if there were any changes on a view and if for that
      view the last change has happened some time ago (the minutes are stored
      in config under watchlistnotification_delay, the default is 20min).
      
      If so, a message is generated that informs the watchlist recipient about
      which view and which block-instances on this view have been touched
      (added or changed).
      
      As there is no way to disable the built-in/old watchlist-notification-
      system, this is disabled in the mahara-core code, that is,
      artefact/lib.php and lib/view.php
      
      Change-Id: I039c5285cdd1b09ed9eb38a647e0c1510c3cabb9
      Signed-off-by: default avatarTobias Zeuch <tobias.zeuch@kit.edu>
      6fe99d5f
  26. 25 Mar, 2014 2 commits
  27. 24 Mar, 2014 1 commit
  28. 17 Mar, 2014 1 commit
  29. 12 Mar, 2014 1 commit
  30. 09 Mar, 2014 2 commits
  31. 26 Feb, 2014 1 commit
    • Christian Tuveve-Aiono's avatar
      Bug#1086569 Fixed the statistics display message · fb128a98
      Christian Tuveve-Aiono authored
      
      
      When the staff statistics access option has been
      turned off,the institution statistics display message has been
      made clearer letting the user know they have no access.
      
      Also fixed problem where user is admin in one institution and staff
      in another but can not see stats for the institution they are a staff
      member in (when staff statistics are turned on)
      
      Change-Id: I81f2cd7d37bc13106429369fbd9a8eb018d7fcdd
      Signed-off-by: default avatarChristian Tuveve-Aiono <handlethesandal@gmail.com>
      fb128a98
  32. 23 Feb, 2014 1 commit
  33. 18 Feb, 2014 1 commit
  34. 30 Jan, 2014 1 commit
  35. 24 Jan, 2014 1 commit
    • Robert Lyon's avatar
      Allow site_content to be institution specific (bug #1254299) · d268d11b
      Robert Lyon authored
      Changes include:
      - added an institution column to the site_content table
      - added an 'Edit site pages' page under Admin -> Institutions
      that is accessibe by institution admins
      - added an 'institution' option to the edit site pages form - this is
      a hidden field if user can edit only one institution.
      
      On upgrade it updates the site_content table to give current data the
      institution on 'mahara' (incl. local site pages) and for each
      institution it replicates the data already in the db for the default site (excl.
      local site pages) so that every site has their own versions, which can
      be adjusted as one sees fit.
      
      On creation of new institution it creates the rows in site_content
      table but with the default strings (like what you see when you first
      install a mahara) but sets the sitepages column in institution table
      to default (mahara). On deletion of institution it removes the rows in
      site_content.
      
      A user on login sees the institution site page based o...
      d268d11b