Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2978

Forum: Implement a "Private Reply" option

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Tested
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: Forum add-on
    • Labels:
    • Testing Instructions:
      Hide

      Test on any device.

      1. Login to a 3.7 site as a student.
      2. Go to a forum and add a new discussion.
      3. Login to the same site as a teacher.
      4. Go to the created forum discussion created as a student.
      5. Click "Reply" and check  the"Reply privately" checkbox displayed below the editor.
      6. Write some message and click "Post to forum".
      7. Check that the new post contains the text "The post was made privately and is not visible to all users" and it does not have a "Reply" button.
      8. Send another reply but do not check "Reply privately" this time.
      9. Switch the device to offline.
      10. Send a reply again checking "Reply privately".
      11. Check that the post is saved offline and it contains the text "The post was made privately and is not visible to all users".
      12. Click the "Edit" button in the reply and check that the edit form contains ""Reply privately" checkbox and it is checked.
      13. Close the form (save or cancel) and switch to online.
      14. Sync the discussion (with a pull to refresh).
      15. Check that the offline post is saved online as a private reply.
      16. Delete the site from the app and login again to the site as a teacher.
      17. Go to the course of the forum.
      18. Enable "Show download options" and download the forum.
      19. Switch the device to offline.
      20. Check that you can reply to a post and the post is saved.
      21. Login to the same site as the student.
      22. Go to the forum discussion.
      23. Check that the private replies (sent by the teacher) contains the text "The post was made privately and is not visible to all users" and it does not have a "Reply" button.
      24. Click the "Reply" button in the public post.
      25. Check that the form does not contain the "Reply privately" checkbox.
      26. Login to the same site as another student (not the same used in step 1).
      27. Go to the forum discussion.
      28. Check that the private replies created previously are not displayed.
      29. Login to a 3.6 site as a teacher.
      30. Go to a forum with some posts.
      31. Click the "Reply" button in the public post.
      32. Check that the form does not contain the "Reply privately" checkbox.
      33. Send the post and check that it is saved without errors.
      Show
      Test on any device. Login to a 3.7 site as a student. Go to a forum and add a new discussion. Login to the same site as a teacher. Go to the created forum discussion created as a student. Click "Reply" and check  the"Reply privately" checkbox displayed below the editor. Write some message and click "Post to forum". Check that the new post contains the text "The post was made privately and is not visible to all users" and it does not have a "Reply" button. Send another reply but do not check "Reply privately" this time. Switch the device to offline. Send a reply again checking "Reply privately". Check that the post is saved offline and it contains the text "The post was made privately and is not visible to all users". Click the "Edit" button in the reply and check that the edit form contains ""Reply privately" checkbox and it is checked. Close the form (save or cancel) and switch to online. Sync the discussion (with a pull to refresh). Check that the offline post is saved online as a private reply. Delete the site from the app and login again to the site as a teacher. Go to the course of the forum. Enable "Show download options" and download the forum. Switch the device to offline. Check that you can reply to a post and the post is saved. Login to the same site as the student. Go to the forum discussion. Check that the private replies (sent by the teacher) contains the text "The post was made privately and is not visible to all users" and it does not have a "Reply" button. Click the "Reply" button in the public post. Check that the form does not contain the "Reply privately" checkbox. Login to the same site as another student (not the same used in step 1). Go to the forum discussion. Check that the private replies created previously are not displayed. Login to a 3.6 site as a teacher. Go to a forum with some posts. Click the "Reply" button in the public post. Check that the form does not contain the "Reply privately" checkbox. Send the post and check that it is saved without errors.
    • Affected Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.7.0

      Description

      Implement MDL-22077 in the app.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: