Issue Details (XML | Word | Printable)

Key: MDL-12699
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Petr Skoda
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

META: Curl, download and componentlib issues

Created: 22/Dec/07 05:16 AM   Updated: 03/Jan/08 04:50 AM
Return to search
Component/s: General, Installation, Lib
Affects Version/s: 1.9, 2.0
Fix Version/s: 1.9, 2.0

Issue Links:
Relates
 

Participants: Eloy Lafuente (stronk7) and Petr Skoda
Security Level: None
Resolved date: 03/Jan/08
Affected Branches: MOODLE_19_STABLE, MOODLE_20_STABLE
Fixed Branches: MOODLE_19_STABLE, MOODLE_20_STABLE


 Description  « Hide
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).

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 03/Jan/08 04:50 AM
majority of issues fixed, unit test expected in 2.0 or later 1.9.x - files on moodle.org not needed yet

Petr Skoda added a comment - 03/Jan/08 04:50 AM
thanks for the report