1. 09 May, 2014 1 commit
    • Yuliya Bozhko's avatar
      Some artefact refactoring (Bug #1298646) · 3ba72d71
      Yuliya Bozhko authored
      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. 05 May, 2014 4 commits
  3. 04 May, 2014 6 commits
  4. 02 May, 2014 3 commits
  5. 30 Apr, 2014 4 commits
  6. 29 Apr, 2014 5 commits
  7. 28 Apr, 2014 1 commit
  8. 24 Apr, 2014 4 commits
  9. 23 Apr, 2014 2 commits
  10. 22 Apr, 2014 5 commits
  11. 21 Apr, 2014 2 commits
  12. 16 Apr, 2014 2 commits
    • Yuliya Bozhko's avatar
      Move objectionable forms from view library (Bug #1298646) · 2df0d557
      Yuliya Bozhko authored
      So that we can later use them separately for artefact level access,
      and report artefacts separately from pages.
      
      When testing, everything should work as it worked before with
      reporting objectionable material.
      
      Also fixed "Creating default object from empty value" error
      when ActivityTypeObjectionable object is constructed.
      
      Change-Id: I6d95a5546b2425d9b522435da26902e420139d84
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
      2df0d557
    • 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
  13. 15 Apr, 2014 1 commit
    • Robert Lyon's avatar
      Set default layout columns/widths hardcoded once (Bug #1307760) · a4ba6cac
      Robert Lyon authored
      And making sure that it exists in the db before using it.
      This allows the fetching of the id of the default column widths to be
      used in view layout page.
      
      Also tidied up the js for the view layout page so it uses the value
      from php rather than hardcoded string.
      
      Also removed duplicate 'if (empty(self::$layoutcolumns)) { }'
      statement from lib.view.php
      
      Change-Id: Icf1b4292a256c5ff6d748c9e6046d6c71ea298b2
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      a4ba6cac