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

Add simple posting and replying in forums

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Forum add-on
    • Labels:
    • Testing Instructions:
      Hide
      1. Add two forums to your Moodle: one without groups and the other one with groups.
      2. In the app, check that you can see the "Add new discussion button" only if you have permissions to add new discussions and your Moodle site have the WS to do so.
      3. Check that you can select the group you want to post to in the forum with groups enabled. Check that you can't see the groups option in the other forum.
      4. Check that you can add a new discussion to a forum. Check that the discussions list is updated after you do so (check it both in phone and tablet).
      5. Inside a discussion, check that you can see a Reply button only if you have permissions to reply a post and Moodle site have the WS to do so.
      6. Check that you can only reply to one post at once. Also, check that switching the post you're replying to doesn't lose the written data.
      7. Check that if you try to cancel a post with something written in it, a confirmation modal is shown. Check that this modal is not shown if subject and message are empty.
      8. Check that you can add a new post and that the posts list is updated after adding a new post.
      Show
      Add two forums to your Moodle: one without groups and the other one with groups. In the app, check that you can see the "Add new discussion button" only if you have permissions to add new discussions and your Moodle site have the WS to do so. Check that you can select the group you want to post to in the forum with groups enabled. Check that you can't see the groups option in the other forum. Check that you can add a new discussion to a forum. Check that the discussions list is updated after you do so (check it both in phone and tablet). Inside a discussion, check that you can see a Reply button only if you have permissions to reply a post and Moodle site have the WS to do so. Check that you can only reply to one post at once. Also, check that switching the post you're replying to doesn't lose the written data. Check that if you try to cancel a post with something written in it, a confirmation modal is shown. Check that this modal is not shown if subject and message are empty. Check that you can add a new post and that the posts list is updated after adding a new post.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE

      Description

      Posting new discussions or replying existing ones would be a very interesting feature for the mobile app.

      We can initially implement a simplified versions of Web Services for posting (not attachments and other complex settings, just subject and message)

      It should not be complex to implement since the Forum API has all the required functions:

      • forum_add_new_post
      • forum_add_discussion
      • forum_user_can_post
      • forum_user_can_post_discussion

      The most complex case is when the forum supports groups (visible or separate), we will need two additional WS to be implemented:

      • core_group_get_activity_groupmode (To retrieve the group mode settings for the activity)
      • core_group_get_activity_allowed_groups (To retrieve the allowed groups from a user)

      If the forum support post we won't be able to support posting and replying messages to "All users", because that will require very specific WS (to check if the user has the specific requried capabilities)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Oct/15