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

META: Curl, download and componentlib issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9, 2.0
    • Fix Version/s: 1.9, 2.0
    • Component/s: General, Installation, Libraries
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      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

              Assignee:
              skodak Petr Skoda
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Matteo Scaramuccia, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08