Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46132

Event monitor: Implement the event observer

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • BACKEND
    • 2.7
    • Reports
    • MOODLE_27_STABLE
    • MDL-46132-master
    • Hide

      Setup

      1. Set up your cron to run every minute. (Tests won't work without this - on ubuntu you can use crontab -e)
      2. In your message settings set all instances of "Event monitor" to "popup notification"

      Test 1

      1. Run the unit tests.

      Test 2

      1. Create a rule at site level for category created event with default frequency of 1
      2. Subscribe to it as admin.
      3. Create a course category.
      4. Wait for a few minutes and make sure you get a notification about it when you go to messages.

      Test 3

      1. In a course that has a book module, create a rule with default frequency to monitor "chapter viewed" event
      2. Subscribe to it for "All modules"
      3. View a chapter
      4. Make sure you get a notification (After few mins)
      5. Delete the subscription
      6. Subscribe to the rule again by selecting specific module name of the book
      7. View a chapter
      8. Make sure you get a notification (After few mins)
      Show
      Setup Set up your cron to run every minute. (Tests won't work without this - on ubuntu you can use crontab -e) In your message settings set all instances of "Event monitor" to "popup notification" Test 1 Run the unit tests. Test 2 Create a rule at site level for category created event with default frequency of 1 Subscribe to it as admin. Create a course category. Wait for a few minutes and make sure you get a notification about it when you go to messages. Test 3 In a course that has a book module, create a rule with default frequency to monitor "chapter viewed" event Subscribe to it for "All modules" View a chapter Make sure you get a notification (After few mins) Delete the subscription Subscribe to the rule again by selecting specific module name of the book View a chapter Make sure you get a notification (After few mins)
    • 40
    • BACKEND Sprint 17

      Implement an event observer that populates tool_monitor_events, as needed

            ankit_frenz Ankit Agarwal
            ankit_frenz Ankit Agarwal
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.