Petr Škoda
a9d2f1b414
MDL-41707 allow custom location of external test files used from unit tests
2013-09-27 10:47:56 +02:00
David Mudrak
9c26cf7060
MDL-20438 New moodle_major_version() function
...
We will need to know our major version to fetch the relevant data from remote
servers. This patch also fixes yet another place where the version used
to be hard-coded.
2012-03-30 11:05:40 +02:00
David Mudrak
f3a99ef8f7
MDL-29788 Fixed the version of installed language packs
2011-10-15 00:01:44 +02:00
Tom Lanyon
af9b14446d
MDL-28701 Change uses of make_upload_directory(temp) to make_temp_directory().
2011-09-10 10:43:49 +02:00
Tom Lanyon
7aa06e6ded
MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir
2011-09-10 10:35:39 +02:00
David Mudrak
07ec4f650b
MDL-27708 Fixed the version of language packs to install in 2.1
2011-06-14 13:55:27 +02:00
David Mudrak
da84821329
MDL-25461 Installing a language pack is recorded in moodle.org statistics
...
This patch fixes the URLs for fetching data from download.moodle.org so
that the requests are recorded in statistics collector download.php.
Note that we do not record fetching languages.md5 as we want to
record the real .zip downloads only.
2011-06-14 13:49:09 +02:00
David Mudrak
15e16f0e93
MDL-26914 Added new language pack installer class and unit tests for it
...
The new class wraps some common coding patterns to install a language
pack via component_installer. Most notably it deals with the parental
dependency of the language packs.
The new class should also be the only place holding the information
about the location of language packs for the given Moodle version.
2011-03-31 12:20:54 +02:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
Jonathan Harker
7785dc2e9f
lib, auth, webservice: MDL-20876 fix deprecated split() calls.
2010-07-20 01:38:54 +00:00
David Mudrak
c4f8fd0c3d
MDL-18797 The selected language pack fetched during install
2010-05-27 06:57:21 +00:00
Petr Skoda
3a915b0667
MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs
2010-04-10 07:24:56 +00:00
Andrew Davis
658790e9e1
componentlib MDL-20966 Added a guard to prevent a php warning during upgrade
2009-12-03 01:02:19 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
samhemelryk
c030b5eea2
lib MDL-19236 Corrected copyright's
2009-05-26 09:29:18 +00:00
samhemelryk
3564771d6b
lib MDL-19236 added phpdocs and copyrights
2009-05-22 08:41:00 +00:00
samhemelryk
a87b5a5311
componentlib.class.php MDL-19236 added phpdocs and copyrights
2009-05-22 02:47:31 +00:00
Francois Marier
6800d78e06
Drift between CVS and git
...
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
stronk7
f85236dc76
Change some constants to avoid name collisions. MDL-12698 ; Merged from MOODLE_19_STABLE
2007-12-31 01:07:49 +00:00
skodak
a7d43f0d15
MDL-12698, MDL-12569 - componentlib & langimport improvements and fixes; merged from MOODLE_19_STABLE
2007-12-30 22:19:36 +00:00
sam_marshall
1be64f767b
MDL-11845 Last checkin accidentally omitted a require_once (hopefully finally done now!!)
2007-12-07 11:11:44 +00:00
sam_marshall
ae8c48f726
MDL-11845 Updated the three file downloads from Snoopy to download_file_content (which I didn't know about before :)
2007-12-07 10:24:00 +00:00
sam_marshall
3e93ea86c0
MDL-11845 Support for config proxy options when downloading language packs (& other components), timezone file
2007-12-06 18:12:42 +00:00
nicolasconnault
b7064779f5
Updated copyright notice in header
2007-10-10 05:25:14 +00:00
moodler
f666830caf
Removed blank line
2006-04-16 15:56:36 +00:00
stronk7
2489a6f6fe
Non-admins can use the component-install class
2006-03-09 23:55:46 +00:00
stronk7
71de0d55f8
Bug solved. make_upload_directory() is relative to
...
dataroot by definition.
2006-01-31 14:32:20 +00:00
stronk7
c6fd7d80f3
Minor modifications.
2006-01-31 00:14:48 +00:00
stronk7
d70c9bda55
Finished the install_component class. It allows do do all the work
...
just with 2 calls. See embebed documentation about usage.
Next step, add some error strings and implement it both in pear and
environmental actions.
2006-01-30 23:19:13 +00:00
stronk7
d359b5ac14
first cut of the component download and install
...
library. Will be used for 1.6 langs, pear and
enviromental stuff install from moodle.org.
Not working yet!
2006-01-30 15:02:20 +00:00