1. 09 May, 2014 1 commit
    • Yuliya Bozhko's avatar
      Some artefact refactoring (Bug #1298646) · 3ba72d71
      Yuliya Bozhko authored and Robert Lyon's avatar Robert Lyon committed
      
      
      Fixes in this patch:
      
      - Moved artefact.php to artefacts directory to separate it from pages.
      - Fixed reference to a wrong 'artefactonlyviewableinview' string.
      - Removed add_to_render_path() and its calls which have no purpose at all.
      - Removed 'artefact_parent_cache' table.
      - Removed cron jobs related to 'artefact_parent_cache' from DB.
      - Added 'path' column in 'artefact' table to easier calculate hierarchy.
      - Added ArtefactTest.php for artefacts unit tests
      
      Change-Id: Ia14cd85b94c32a950354446ee3565bd2964c625c
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
      3ba72d71
  2. 30 Apr, 2014 1 commit
  3. 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
  4. 14 Apr, 2014 1 commit
  5. 07 Apr, 2014 1 commit
  6. 02 Apr, 2014 1 commit
  7. 31 Mar, 2014 1 commit
  8. 27 Mar, 2014 1 commit
  9. 26 Mar, 2014 1 commit
    • Tobias Zeuch's avatar
      New watchlistnotification Plugin (Bug 1041228) · 6fe99d5f
      Tobias Zeuch authored and Robert Lyon's avatar Robert Lyon committed
      
      
      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
  10. 25 Mar, 2014 1 commit
    • Aaron Wells's avatar
      Prevent new users from taking spammy actions · 7b08f438
      Aaron Wells authored
      Bug 1252101
      
      1. New users get 2 "new user points" on their user record
      
      2. While they have these, they're on probation and can't post
      links in public places, or make public pages.
      
      3. "new user points" are decreased each time a non-probationary
      user responds to a forum post by the user
      
      4. Admins & Staff are automatically non-probationary
      
      Change-Id: Ibccd2e330945f66b07aac062c4f51b67a0c0dba2
      7b08f438
  11. 24 Mar, 2014 1 commit
  12. 27 Feb, 2014 1 commit
  13. 25 Feb, 2014 1 commit
  14. 24 Feb, 2014 1 commit
  15. 12 Feb, 2014 1 commit
  16. 11 Feb, 2014 1 commit
  17. 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
  18. 08 Jan, 2014 1 commit
    • Aaron Wells's avatar
      Introducing the institution_config table · 5be3b920
      Aaron Wells authored
      Bug 1264429: This patch creates the table, refactors the get_institution_config() method,
      the Institution class, and the institution editing page, to use the new table.
      
      Henceforth columns should only be added to the main "institution" table if they represent
      a required setting (like name and displayname), or they need to be accessed frequently by
      direct SQL queries.
      
      Change-Id: I4564240d2c55ec2b6ec90868290a61cf4321460a
      5be3b920
  19. 07 Jan, 2014 1 commit
  20. 22 Dec, 2013 1 commit
  21. 17 Dec, 2013 2 commits
  22. 26 Nov, 2013 1 commit
  23. 24 Oct, 2013 1 commit
  24. 23 Oct, 2013 1 commit
    • Aaron Wells's avatar
      Upgrading $config->minupgradefrom to 1.1 due to failures during upgrade tests · 5b0b2542
      Aaron Wells authored
      Bug 1243525: I found that attempting to do a direct upgrade from 1.0 to 1.8 failed in the
      "$oldversion < 2008091601" code block. It would appear this has to do with the
      former "textbox" block being renamed, and the solution would require that
      block to be processed before the main upgrade script. Since that would be somewhat
      hard to do, and there presumably aren't that many 1.0 sites still around, I've
      simply updated the minupgrade to 1.1.
      
      Change-Id: I9c8fbe06459b5e62382621b1f4308eca8f793d72
      5b0b2542
  25. 14 Oct, 2013 4 commits
  26. 30 Sep, 2013 2 commits
  27. 25 Sep, 2013 1 commit
  28. 19 Sep, 2013 2 commits
  29. 21 Aug, 2013 1 commit
  30. 20 Aug, 2013 1 commit
  31. 19 Jul, 2013 1 commit
  32. 12 Jul, 2013 1 commit
    • Robert Lyon's avatar
      Drop-down navigation overridden at institutional level (Bug #1194672) · cd08104c
      Robert Lyon authored
      
      
      Create the ability for Institutions to override the site default for
      displaying drop-down navigation instead of tabs for main menu.
      
      Can now: Set drop-down navigation option on Administer institutions
      screen /admin/users/institutions.php
      
      Users who are in more than one institution will have drop-down setting
      of the institution whose theme they are using as their theme.
      
      If $cfg->sitethemeprefs = true, where a user can pick any theme then
      for those themes associated with an institution they will use the
      institution's setting otherwise they will use the site's setting for
      drop-down navigation.
      
      Can not do: Have user make their own choice for whether they see drop
      down or not for any particular theme
      
      Change-Id: I580953c62b35cbc8169d47781c8bf88cc94d9fe8
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      cd08104c
  33. 27 Jun, 2013 1 commit
  34. 19 Apr, 2013 1 commit