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

Forum export options for human-readable dates and removing HTML

    XMLWordPrintable

Details

    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • MDL-66808-master
    • Hide
      1. Log into your test site as site admin.
      2. Restore the attached course (Forum test course, FT101) into a new course in your test site.
      3. Navigate to the "Forum test course" course, and open the forum called "Parlay".
      4. Open the forum actions menu and click "Export".
      5. Leave the "Strip HTML" and "Human-readable dates" checkboxes unchecked
      6. Set the format to "Microsoft Excel" and click on the Export button
      7. Open the exported file
      8. Verify that the "created" and the "modified" fields contain timestamps
      9. Verify that there is a "messageformat" column next to the "message" column
      10. Verify that the message column contains some HTML tags
      11. Refresh the page (You need to refresh the page because of a known issue reported at MDL-66886)
      12. Select theĀ "Strip HTML" and "Human-readable dates" checkboxes
      13. Set the format to "Microsoft Excel" and click on the Export button
      14. Open the exported file
      15. Verify that the "created" and the "modified" fields contain human-readable date and times
      16. Verify that the "messageformat" column is equal to "2" in all rows
      17. Verify that the message column does not contain any HTML tags
      Show
      Log into your test site as site admin. Restore the attached course (Forum test course, FT101) into a new course in your test site. Navigate to the "Forum test course" course, and open the forum called "Parlay". Open the forum actions menu and click "Export". Leave the "Strip HTML" and "Human-readable dates" checkboxes unchecked Set the format to "Microsoft Excel" and click on the Export button Open the exported file Verify that the "created" and the "modified" fields contain timestamps Verify that there is a "messageformat" column next to the "message" column Verify that the message column contains some HTML tags Refresh the page (You need to refresh the page because of a known issue reported at MDL-66886 ) Select theĀ "Strip HTML" and "Human-readable dates" checkboxes Set the format to "Microsoft Excel" and click on the Export button Open the exported file Verify that the "created" and the "modified" fields contain human-readable date and times Verify that the "messageformat" column is equal to "2" in all rows Verify that the message column does not contain any HTML tags
    • 1
    • Internationals - 3.8 Sprint 8, Internationals - 3.8 Alpha

    Description

      We need options to:

      1. export raw HTML or pass it through html2text
      2. have dates as "Human-readable"

      Attachments

        Activity

          People

            rezaie9 Shamim Rezaie
            dobedobedoh Andrew Lyons
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              18/Nov/19

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 21 minutes
                7h 21m