1. 02 Mar, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1443284: Allow an unsubscribe link for watchlist emails · 17131a35
      Robert Lyon authored
      This patch:
      - adds an 'unsubscribetoken' column to usr_watchlist_view table
       (if we want to unsubscribe other messages we'd need to add an
      'unsubscribetoken' to the relevant table)
      - records the token when one watches the view
      - sends email with unsubscribe link with message type and token to
      avoid exposing any user data
      - link goes to unsubscribe.php page and either unsubscribes user or
      gives generic warning
      
      Currently only working for watchlist notifications being sent via
      email/email digest
      
      Change-Id: I823249108f521faaefe3435f03b84ddf73e2d360
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      17131a35
  2. 25 Sep, 2017 1 commit
  3. 09 Sep, 2017 1 commit
    • Robert Lyon's avatar
      Bug 1692385: Adjusting the event_log table · ebd928b1
      Robert Lyon authored
      Add 5 new new columns to event_log table make searching over the
      data easier and also record the id of any parent/related info as well
      
      Eg, if one deletes an image block from a page we now record:
      id - the event id
      resourceid - the block id
      resourcetype - the blocktype, eg image
      parentresourceid - the id of the parent, eg view id
      parentresourcetype - the type of parent, eg 'view'
      
      Because we would not be able to find related view info from just the
      block id anymore.
      
      Also added the ability to index and search over event information in
      elasticsearch search type event_log
      
      Change-Id: I280c1c75c35a6c58f42d8acb36cf5c24c70b902d
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      ebd928b1
  4. 30 Mar, 2017 2 commits
  5. 14 Feb, 2017 1 commit
  6. 04 Dec, 2016 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 946724: Institution admins filter notifications preferences · da052cf1
      Cecilia Vela Gurovic authored
      Institutional admins should not have the "Contact us",
      "Repeat virus upload" and "Virus flag release" fields available
      in the Activity Preferences Notification settings.
      
      They should have "Objectionable content" field available.
      
      behatnotneeded
      
      Change-Id: I52adf5ac1b9cc537ede78279128363eafab01453
      da052cf1
  7. 16 Nov, 2016 1 commit
  8. 24 Jul, 2016 1 commit
    • Aaron Wells's avatar
      Bug 1605127: Method signature mismatch in Activity::update_url() · b469030b
      Aaron Wells authored
      The abstract Activity class defines the function update_url()
      with no parameters, but the two subclasses that override it
      define it with one parameter. This will cause problems in PHP 7.
      
      It's always called with one parameter, (even in the Activity
      class itself) so the best option is to add one parameter to the
      implementation in Activity.
      
      Change-Id: I810061ed6f8c55101327e2e907bb68ebf9870380
      behatnotneeded: Covered by existing tests
      b469030b
  9. 27 Apr, 2016 1 commit
  10. 03 Mar, 2016 1 commit
  11. 09 Dec, 2015 1 commit
  12. 13 Aug, 2015 1 commit
  13. 20 Jul, 2015 1 commit
    • Tobias Zeuch's avatar
      Bug 1468156: Change plugin type of plugin multirecipientnotification to module · dd0e1dab
      Tobias Zeuch authored
      To change the plugin type from artefact to module, the code is moved and the
      superclass reference is changed to PluginModule. Obsolete classes for the
      former unused artefact types are deleted. The references to the old script
      paths are changed. Plugin Tables are renamed and references updated.
      The new plugin mustn't be installed when the old plugin is still active, but on
      upgrade, the database tables are renamed and references in artefact_installed
      and artefact_event_subscription and the triggers are changed.
      
      Change-Id: Id5f1198b780ffb92181f7d60785aad9ffe2259da
      Signed-off-by: default avatarTobias Zeuch <tobias.zeuch@rwth-aachen.de>
      dd0e1dab
  14. 20 Jun, 2015 1 commit
  15. 15 Jun, 2015 1 commit
  16. 30 Jan, 2015 1 commit
  17. 20 Jan, 2015 1 commit
  18. 13 Jan, 2015 1 commit
    • Amelia Cordwell's avatar
      Bug 1388682 Fix Alphabetize notification settiings · 0a547c92
      Amelia Cordwell authored
      I fixed the bug number 1388682, which was the order of the notification
      settings. The bug message asked to alphabetize the list of notification
      settings, and I chose to fix it by alphabetizing the entire list instead
      of spliting into sub headings.
      
      Change-Id: Id74619db5c33638f0c29a2028eec94744dbb0b0d
      0a547c92
  19. 16 Dec, 2014 1 commit
  20. 20 Oct, 2014 2 commits
  21. 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
  22. 24 Jun, 2014 1 commit
  23. 11 Jun, 2014 2 commits
  24. 08 Jun, 2014 1 commit
  25. 05 Jun, 2014 1 commit
  26. 04 Jun, 2014 1 commit
  27. 16 May, 2014 1 commit
  28. 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
  29. 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
  30. 26 Mar, 2014 3 commits
    • Aaron Wells's avatar
      Better documenting ActivityType subclass requirements · f9f71740
      Aaron Wells authored
      Change-Id: I9d8a06061092796577a0caa023a51ea911dfad93
      f9f71740
    • Aaron Wells's avatar
      Documenting requirements of ActivityType constructors · 4ecb987a
      Aaron Wells authored
      Change-Id: I87fc9ca86d814c407203b4f2c76c83c0cba765d5
      4ecb987a
    • 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
  31. 24 Feb, 2014 1 commit
  32. 15 Jan, 2014 1 commit
  33. 30 Dec, 2013 1 commit
  34. 18 Dec, 2013 1 commit