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

Forum: Implement a "Private Reply" option

    XMLWordPrintable

Details

    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-22077-master
      1. Copy the URL of the post permalink.
      2. Click on the user's picture to open their profile.
      3. Click the send message link.
      4. Start the message "About " + Paste.
    • Easy
    • Hide

      Prerequistes:

      1. Requires mailcatcher
        1. Set-up mailcatcher (https://mailcatcher.me/).
        2. Log in as an admin.
        3. Visit ‘Site administration’ > ‘Server’ > ‘Outgoing mail configuration’.
        4. Set the 'SMTP hosts' field to '127.0.0.1:1025'.
        5. Save.
        6. Alternatively in moodle's config.php set

          $CFG->smtphosts = 'localhost:1025';

        7. Visit 'http://127.0.0.1:1080/' to view outgoing emails and stay on this page for the remainder of this test. When any of the below instructions mention check your email it means refer to this page.
      2. Rss setup based on instructions here
        1. RSS client to view the RSS feed(a mail client like Thunderbird should suffice).

      Instructions:

      1. Unit tests
      2. Behat
      3. Login as an Admin
      4. Create a course with four users:
        1. Two teachers
        2. Two students
      5. Create a forum with the following set
        1. Forum type: Standard
        2. RSS feed for this activity: Posts
        3. # of RSS recent articles: 10
      6. Login as Teacher 1
      7. Navigate to created forum
      8. From the Actions menu retrieve the RSS feed (RSS-T1)
      9. Post a discussion as a teacher
      10. Login in as Student 1
      11. Navigate to created forum
      12. From the Actions menu retrieve the RSS feed (RSS-T2)
      13. Post a snarky comment as a student
      14. Login as Teacher 1
      15. Post a private reply to Student 1s' comment
        1. Ensure that both teachers can read the reply
        2. Ensure that only the one student can read the reply
        3. Ensure that the Reply button is not available for BOTH teacher and student
      16. Run the forum cron and check your e-mail
        1. Confirm that only the relevant users can view the reply
      17. View the forum RSS feed as each user
        1. Login in as Teacher 2 
        2. Navigate to created forum
        3. From the Actions menu retrieve the RSS feed (RSS-T2)
        4. Login in as Student 2 
        5. Navigate to created forum
        6. From the Actions menu retrieve the RSS feed (RSS-S2)
        7. Confirm that only both teachers & Student one can view the reply
        8. Confirm that Student 2 can not view the reply
      18. Login as the teacher and edit the private reply
        1. Confirm that the post is shown as private and this cannot be changed.
      Show
      Prerequistes: Requires mailcatcher Set-up mailcatcher ( https://mailcatcher.me/ ). Log in as an admin. Visit ‘Site administration’ > ‘Server’ > ‘Outgoing mail configuration’. Set the 'SMTP hosts' field to '127.0.0.1:1025'. Save. Alternatively in moodle's config.php set $CFG->smtphosts = 'localhost:1025'; Visit 'http://127.0.0.1:1080/' to view outgoing emails and stay on this page for the remainder of this test. When any of the below instructions mention check your email it means refer to this page. Rss setup based on instructions here RSS client to view the RSS feed(a mail client like Thunderbird should suffice). Instructions: Unit tests Behat Login as an Admin Create a course with four users: Two teachers Two students Create a forum with the following set Forum type: Standard RSS feed for this activity: Posts # of RSS recent articles: 10 Login as Teacher 1 Navigate to created forum From the Actions menu retrieve the RSS feed (RSS-T1) Post a discussion as a teacher Login in as Student 1 Navigate to created forum From the Actions menu retrieve the RSS feed (RSS-T2) Post a snarky comment as a student Login as Teacher 1 Post a private reply to Student 1s' comment Ensure that both teachers can read the reply Ensure that only the one student can read the reply Ensure that the Reply button is not available for BOTH teacher and student Run the forum cron and check your e-mail Confirm that only the relevant users can view the reply View the forum RSS feed as each user Login in as Teacher 2  Navigate to created forum From the Actions menu retrieve the RSS feed (RSS-T2) Login in as Student 2  Navigate to created forum From the Actions menu retrieve the RSS feed (RSS-S2) Confirm that only both teachers & Student one can view the reply Confirm that Student 2 can not view the reply Login as the teacher and edit the private reply Confirm that the post is shown as private and this cannot be changed.

    Description

      Implement a way that will open the messages tool as a "private reply" to a forum post.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              brianp101 Brian Petersen
              Peter Dias Peter Dias
              Adrian Greeve Adrian Greeve
              Mathew May Mathew May
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              46 Vote for this issue
              Watchers:
              29 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 5 hours, 15 minutes
                  1d 5h 15m