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

META: Curl, download and componentlib issues

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.9, 2.0
    • 1.9, 2.0
    • General, Installation, Libraries
    • None
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      This is a META bug to catch all the current CURL / download_file_content() and componentlib issues.

      All downloads within Moodle (timezones, langs, environment stuff..) should be using the download_file_content() function that internally uses CURL (PHP extension, OS executable or PHP emulation) to provide transparent access with proxies and other intermediaries).

      To do so, there are some related tasks and existing bugs that must be fixed. Here it's the list, more or less in order:

      1) MDLSITE-318 : In order to be able to implement unit tests of all the download stuff, we need some "static" files somewhere.
      2) MDL-11845 : Reopened because right now, OS executable curl seems to garble binary files. That prevents componentlib to work under Moodle 1.9 (lang files and environment stuff).
      3) MDL-7947 and MDL-8018 : About to use CURL as standard method for any download within Moodle. Seem to be duplicates.
      4) MDL-7921 : About proxy usernames and passwords, also related with CURL.
      5) MDL-12698: Fix componentlib to use download_file_content() and some other minor refinements.
      6) MDL-12024 : About to new olson files downloaded via componentlib (need previous working for binary files).

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              stronk7 Eloy Lafuente (stronk7)
              Nobody Nobody
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08