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

Add filtered message text on messaging

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2
    • Component/s: Messages add-on
    • Labels:
    • Testing Instructions:
      Hide
      1. In a Moodle 3.2 as admin, enable all filters (Site administration > Plugins > Filters).
      2. In the app, go to messaging.
      3. Send a text emoji. Check that after a few seconds it becomes a real emoji. Example:

        :) :(
        

      4. Send a message with words to be censored. Check that after a few seconds they become **.
      5. Send an anchor to a youtube video. Check that after a few seconds it becomes a playable video. Example:

        <a href="LINK">Some text</a>
        

      6. Send a message with multi lang tags. Check that after a few seconds you only see the current language. Example:

        <span lang="en" class="multilang">English<\/span><span lang="es" class="multilang">Español<\/span>
        

      7. Send a URL to a web page. Check that after a few seconds it becomes a clickable URL. Please notice that the URL cannot contain glossary entries or similar in order to make this work. Example:

        https://www.google.com
        

      8. Send a URL to an image. Check that after a few seconds it becomes an image. Please notice that the URL cannot contain glossary entries or similar in order to make this work. Example:

        https://media.timeout.com/images/101851347/image.jpg
        

      9. In Moodle web, create a glossary. Make it a global glossary and enable auto-linking. Create at least 1 entry in the glossary to be auto-linked.
      10. In the app, send the word you just created in the glossary. Check that after a few seconds it becomes a clickable link that redirects you to the glossary entry.
      Show
      In a Moodle 3.2 as admin, enable all filters (Site administration > Plugins > Filters). In the app, go to messaging. Send a text emoji. Check that after a few seconds it becomes a real emoji. Example: :) :( Send a message with words to be censored. Check that after a few seconds they become **. Send an anchor to a youtube video. Check that after a few seconds it becomes a playable video. Example: <a href="LINK">Some text</a> Send a message with multi lang tags. Check that after a few seconds you only see the current language. Example: <span lang="en" class="multilang">English<\/span><span lang="es" class="multilang">Español<\/span> Send a URL to a web page. Check that after a few seconds it becomes a clickable URL. Please notice that the URL cannot contain glossary entries or similar in order to make this work. Example: https://www.google.com Send a URL to an image. Check that after a few seconds it becomes an image. Please notice that the URL cannot contain glossary entries or similar in order to make this work. Example: https://media.timeout.com/images/101851347/image.jpg In Moodle web, create a glossary. Make it a global glossary and enable auto-linking. Create at least 1 entry in the glossary to be auto-linked. In the app, send the word you just created in the glossary. Check that after a few seconds it becomes a clickable link that redirects you to the glossary entry.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2

      Description

      Now the text that is being used in messaging is smallmessage field, that is not using Moodle filters. We should change that and use text field instead to have a better integration with the latest Moodle messaging system on 3.2.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            pferre22 Pau Ferrer
            Integrator:
            Juan Leyva
            Tester:
            Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/Dec/16

                Time Tracking

                Estimated:
                Original Estimate - 1 day, 30 minutes
                1d 30m
                Remaining:
                Remaining Estimate - 1 day, 30 minutes
                1d 30m
                Logged:
                Time Spent - Not Specified
                Not Specified