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

portfolio_flickr should use its own method to check the supported files

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-71737-311
    • MDL-71737-master
    • Hide

      Notes for the tester

      1. This test needs to be run on php7.4 and 8.0
      2. This test must be tested at the same time as MDL-71741

      Initial setup

      1. Enable Portfolio in Administration.
      2. Enable Portfolio Flickr and connect to Flickr API using a Client ID and Secret.
      3. Create a Course.
      4. Create a Forum.

      Test

      1. Login as admin or teacher or student.
      2. Go to the created Forum.
      3. Click on the Add a new discussion topic button.
      4. Click on the Advanced link.
      5. Fill in the subject and message.
      6. Upload an image file to the Attachment (Ex: PNG or JPG file).
      7. Click on the Post to forum button.
      8. Click the "plus" icon next to the image.
      9. Verify that the Flickr portfolio works again, allowing the user to authorize the Moodle site to upload photos to Flickr.
      Show
      Notes for the tester This test needs to be run on php7.4 and 8.0 This test must be tested at the same time as MDL-71741 Initial setup Enable Portfolio in Administration. Enable Portfolio Flickr and connect to Flickr API using a Client ID and Secret. Create a Course. Create a Forum. Test Login as admin or teacher or student. Go to the created Forum. Click on the Add a new discussion topic button. Click on the Advanced link. Fill in the subject and message. Upload an image file to the Attachment (Ex: PNG or JPG file). Click on the Post to forum button. Click the "plus" icon next to the image. Verify that the Flickr portfolio works again, allowing the user to authorize the Moodle site to upload photos to Flickr.
    • 2
    • Internationals - 4.0 Sprint 1

    Description

      Currently, repository_flickr is using the is_valid_image() method to check the file is supported or not.

      repository_flickr should use its own method because the supported files can be changed in the future.

      Attachments

        Issue Links

          Activity

            People

              huongn@moodle.com Huong Nguyen
              huongn@moodle.com Huong Nguyen
              Dongsheng Cai Dongsheng Cai
              Andrew Lyons Andrew Lyons
              Gladys Basiana Gladys Basiana
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Jul/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 20 minutes
                  1d 4h 20m