1. 15 Jun, 2015 3 commits
  2. 02 Jun, 2015 1 commit
  3. 25 May, 2015 1 commit
  4. 14 Apr, 2015 2 commits
    • Aaron Wells's avatar
      Make feedback-watchlist notifications work for all page types · 483b9287
      Aaron Wells authored
      Bug 1443280: Currently feedback triggers notifications for users
      watching the page, but only for single-author pages. This patch
      makes it work for site pages, group pages, and institution pages
      as well.
      
      Change-Id: I4decf520088a0e5b4948c341cdffbd801aa2531c
      483b9287
    • Aaron Wells's avatar
      Bug 1443282: Show the proper author in feedback notifications · 5de39ecf
      Aaron Wells authored
      Unfortunately this doesn't work for anonymous feedback, because
      the notification_internal_activity table only has an integer
      column for the userid in the "from" column. To handle anonymous
      feedback we would need a string for the "from" column.
      
      Change-Id: Ia429a548b371d30166775e51f95cd5998062445f
      5de39ecf
  5. 26 Mar, 2015 1 commit
  6. 24 Mar, 2015 2 commits
  7. 19 Mar, 2015 1 commit
    • Robert Lyon's avatar
      Allowing all interested parties to get notified of feedback (Bug 1374674) · 4ae687a0
      Robert Lyon authored
      
      
      On personal pages / artefacts
      
      - while ignoring the user that left the feedback from the list of users to email
      - but still including the owner of the view/artefact if needed
      - but then ignoring owner if the owner is the user leaving feed back
      
      Also when a user adds a public comment to a view/artefact they automatically
      become a watcher of the view - to allow them to receive notifications
      about future comments left on the artefact/view
      
      Change-Id: I0fc7109c74581266024c52ee40edbaff6dbb99d2
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      4ae687a0
  8. 12 Mar, 2015 1 commit
  9. 08 Mar, 2015 1 commit
  10. 08 Feb, 2015 1 commit
  11. 28 Jan, 2015 1 commit
    • Robert Lyon's avatar
      Don't expand the comment lists on page edit screen (Bug #1317343) · 1b663910
      Robert Lyon authored
      
      
      This was causing some problems with tagged posts
      - also hiding the 'add comment' link on page edit screen.
      
      And making the comments info show when no comments were on item and
      allow comments for artefact was enabled. This is an issue with newer
      versions of php.
      
      Also placing some of the template files in the new correct location
      
      Change-Id: I599e16b0899559a3ebcdf68cff53220b1d83f2d6
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      1b663910
  12. 07 Jan, 2015 1 commit
  13. 16 Dec, 2014 1 commit
    • Mike Kelly's avatar
      Implement TinyMCE imagebrowser plugin · 36bc9f7d
      Mike Kelly authored and Aaron Wells's avatar Aaron Wells committed
      
      
      This is a TinyMCE plugin which allows for browsing and embedding of
      Mahara-hosted images as well as the embedding of external web-hosted
      images. This makes adding inline images to WYSIWYG text boxes more
      user-friendly.
      
      Viewing permissions for these embedded files is set by adding references
      to them to a new database table, artefact_file_embedded, then checking
      for the existence of the references in the table when serving the files
      via artefact/file/download.php. For content blocks in views, such as
      text and textboxes, any embedded images are saved as view artefacts, and
      viewing permission is granted for those files accordingly via previously
      existing checks in artefact/file/download.php.
      
      This patch is designed to allow image embedding in all WYSIWYG text
      boxes throughout Mahara, hence the table structure, with resourcetype
      and resourceid providing the context for checking the validity of the
      image file to be served.
      
      Change-Id: Idcc5ab3495eed44eea6ced171d670ba4c73884f6
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
      36bc9f7d
  14. 08 Dec, 2014 1 commit
  15. 16 Nov, 2014 6 commits
  16. 23 Oct, 2014 1 commit
  17. 01 Sep, 2014 1 commit
  18. 02 Jul, 2014 1 commit
  19. 01 Jul, 2014 1 commit
    • Robert Lyon's avatar
      Allowing feedback notifications on group pages (Bug #1307247) · 3b0382ef
      Robert Lyon authored
      
      
      In this patch:
      - Changed the Group Edit 'General' section and added the 'Feedback
      notifications' options.
      - Changed the Group Edit 'General' section and altered the 'Shared
      page' option from tickbox to select options.
      - Changed the CommentFeedback to be able to notify multiple users in a
      group
      - Changed the CommentFeedback to be able to send message in the
      institution lang if needed.
      - Adjusted group_get_editroles_options() to allow it to return a non
      associative array
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      
      Change-Id: Ia2e995c51aa08610945788e55c809b3c650dcd17
      3b0382ef
  20. 24 Jun, 2014 1 commit
  21. 11 Jun, 2014 2 commits
  22. 05 Jun, 2014 1 commit
  23. 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
  24. 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
  25. 31 Mar, 2014 2 commits
  26. 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
  27. 06 Nov, 2013 1 commit
    • Robert Lyon's avatar
      Creation of new blocktype 'comment' (bug #1245679) · 441aa7f2
      Robert Lyon authored
      - allow the feedback to display in a block.
      
      Things to note:
      1) The feedback block is only to display view's comments on the
      view/view.php page and NOT on view/artefact.php page.
      
      2) When in edit mode (view/blocks.php) the feedback block just
      displays a 'holder' message
      
      3) When feedback block is on page the feedback does not display at
      base of page anymore and when one clicks the 'Place feedback' link the
      feedback form pops up over everything similar to how editing a block
      works.
      
      4) As the feedback block only works/displays on the view page I have
      not fully integrated all the stuff that feedback creates ie js/form
      into the blocktype. I have left the view/view.php to do the js and
      render form - and simply position the form on the page with js.
      
      This means that if js is off the edit form will still be in it's
      old place. I felt this was ok because if js is off and the form was
      in the block it could mean things been too squashy if there was lots
      of columns.
      
      Change-Id: I1edaa886c5a0df1f6feb24bcdd6d8878a833d673
      441aa7f2
  28. 14 Oct, 2013 1 commit
  29. 23 Jul, 2013 1 commit