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

Upgrade ZipStream to 2.4.0

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.2
    • 4.2
    • Libraries
    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • master_MDL-76923
    • Hide

      Third party libraries

      1. Login as admin.
      2. Navigate to Site Administration > Development > Third party libraries.
      3. Verify that the version of ZipStream-PHP is 2.4.0

      Copied from MDL-75488

      Setup

      1. Add the following attached files to your Moodle root directory:
        1. MDL-75488-test.php
        2. m.png

      Testing

      1. In your web browser, visit <wwwroot>/MDL-75488-test.php.
      2. CONFIRM the testing.zip folder successfully downloads.
      3. Download the testing.zip file.
      4. CONFIRM you are able to extract the zip file.
      5. CONFIRM the following files exist in the extracted zip content:
        1. hello.txt
        2. goodbye.txt
        3. some_image.png
      6. Open each of the files and CONFIRM they contain the following content:
        1. hello.txt: Text reading "This is the contents of hello.txt".
        2. goodbye.txt: Text reading "The quick brown fox jumped over the lazy dog.".
        3. some_image.png: An image of the M from the Moodle logo.

      Course

      1. Log in as an administrator
      2. Navigate to Site administration -> Courses -> Download course content
        1. Enable the feature
        2. Save changes
      3. Open a course which has some content
      4. Open its settings page
        1. Enable the "Enable download course content" option
        2. Save changes
      5. From the "More" menu, choose "Download course content"
      6. Download the content and unzip it
        1. Confirm that the files exist and can be used
      Show
      Third party libraries Login as admin. Navigate to Site Administration > Development > Third party libraries. Verify that the version of ZipStream-PHP is 2.4.0 Copied from MDL-75488 Setup Add the following attached files to your Moodle root directory: MDL-75488-test.php m.png Testing In your web browser, visit <wwwroot>/ MDL-75488 -test.php . CONFIRM the testing.zip folder successfully downloads. Download the testing.zip file. CONFIRM you are able to extract the zip file. CONFIRM the following files exist in the extracted zip content: hello.txt goodbye.txt some_image.png Open each of the files and CONFIRM they contain the following content: hello.txt: Text reading "This is the contents of hello.txt". goodbye.txt: Text reading "The quick brown fox jumped over the lazy dog.". some_image.png: An image of the M from the Moodle logo. Course Log in as an administrator Navigate to Site administration -> Courses -> Download course content Enable the feature Save changes Open a course which has some content Open its settings page Enable the "Enable download course content" option Save changes From the "More" menu, choose "Download course content" Download the content and unzip it Confirm that the files exist and can be used

      ZipStream    lib/zipstream    2.2.0 -->  3.0.0  https://github.com/maennchen/ZipStream-PHP/

       

        1. thirdpartylibrary.png
          thirdpartylibrary.png
          144 kB
        2. testing.gif
          testing.gif
          706 kB
        3. MDL-75488-test.php
          0.8 kB
        4. m.png
          m.png
          1 kB
        5. Course.gif
          Course.gif
          1.72 MB

            matt.porritt@moodle.com Matt Porritt
            sarjona Sara Arjona (@sarjona)
            Carlos Escobedo Carlos Escobedo
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.