toyomoyo
24d8b724da
bug 4504
2006-02-07 01:39:22 +00:00
stronk7
882e59b93b
Main Moodle SOAP library. It uses nusoap or phpsoap
...
as needed. Copied from rqp question type.
2006-02-07 00:20:50 +00:00
stronk7
157278118e
wrapper library to use internal PHP5 SOAP library. Copied from
...
rqp quiz questions.
2006-02-07 00:19:38 +00:00
stronk7
b6b970705e
Initially the get_string() function, if any string wasn't found under
...
one lang (or its parent), was searched from "en" or "en_utf8"
(depending of the status of the DB migration).
But "en" isn't one full lang anymore under 1.6 but one "child" of "en_utf8" and
it's completely empty so we must look for the string into his new parent too.
This should solve problems with upgraded sites using non-english languages
that were showing brackets everywhere. Now they will show the english strings
until they manually install lang packages (1.5 packs) or automatically (1.6 packs).
2006-02-07 00:08:47 +00:00
mjollnir_
f5f270a188
Adding missing default perfdebug
2006-02-06 23:02:05 +00:00
stronk7
a25a4a7356
Nusoap lib is now uder the soap dir. Bug 4646.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=4646 )
2006-02-06 19:39:18 +00:00
stronk7
2797078a69
Moving the nusoap library from nusoap to the new soap dir.
2006-02-06 19:37:17 +00:00
stronk7
f1144867da
nusoap lib updated to latest revision.
...
Point 1 of bug 4646
(http://moodle.org/bugs/bug.php?op=show&bugid=4646 )
2006-02-06 19:20:22 +00:00
stronk7
8859e0b6ca
Now "en" lang has "en_utf8" as parent so we must allow
...
it to look for parent strings... Only "en_utf8" remains
as root language to save us from some checks (because
it cannot have parentlaguage defined).
2006-02-06 13:45:00 +00:00
moodler
089e8937f7
Removing delDirContents because we already have remove_dir
2006-02-06 04:03:30 +00:00
moodler
cc0a632f1e
fixing ' problems 4679
2006-02-06 02:15:44 +00:00
stronk7
74506a51a3
Perform one aditional check to avoid one, in my opinion,
...
bad behaviour of PHP5.
2006-02-05 10:11:12 +00:00
stronk7
76bb0d20a3
We only allow to bypass "required" checks.
2006-02-04 18:57:22 +00:00
stronk7
b0e2a189ce
Now every test in the enviromental check can by bypassed by one
...
function execution. Currently it's used to check for MySQL 4.1.12
and if present, result will be ok, showing a notice about
possible problems with non latin languages.
2006-02-04 18:30:22 +00:00
stronk7
9e2d15e559
Now environment.xml file can define for all the tests (database,
...
php and php_extension) some feedback notes to be showed on error,
on check and on ok.
Tomorrow, I'll include de bypass mechanism that will allow us to
change results of any text based in function call results.
2006-02-03 00:40:49 +00:00
mjollnir_
510b75ae64
Merged from MOODLE_15_STABLE: Moved check_dir_exists function from backup/lib.php to moodlelib
2006-02-02 20:30:34 +00:00
mjollnir_
3abd1a5552
Merged from MOODLE_15_STABLE: Fixing bug#4659 - don't make upload directories unless there's something to save
2006-02-01 20:01:50 +00:00
stronk7
71de0d55f8
Bug solved. make_upload_directory() is relative to
...
dataroot by definition.
2006-01-31 14:32:20 +00:00
moodler
001fc706ef
fixing bugs in event table
2006-01-31 08:37:00 +00:00
moodler
136b6ab33f
changed to use utfconvert function
2006-01-31 02:15:21 +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
moodler
fe9f19ef1e
Added a fix to help user profile pictures under safe mode (from Mahmoud H. Hasan)
...
PHP manual mentions it too.
2006-01-28 14:15:56 +00:00
moodler
7d94fa91d5
Upgraded ADOdb to 4.71
...
http://sourceforge.net/project/shownotes.php?release_id=387862&group_id=42718
2006-01-28 06:04:42 +00:00
moodler
bdc003eb05
bug fixings
2006-01-27 04:39:53 +00:00
toyomoyo
a597f8a86a
adding function print_progress from upgradeforumread
2006-01-27 02:54:51 +00:00
julmis
1ab4713da2
Merging from MOODLE_15_STABLE
...
- adding fix for Bug 4562. Fix posted by sgarcia.
2006-01-25 23:47:16 +00:00
moodler
3e42156be5
removed an extra echo statement
2006-01-25 06:23:33 +00:00
moodler
25d0380b6e
bug fixing
2006-01-25 05:20:33 +00:00
moodler
0302c52fd2
adding a require_logout() function =)
2006-01-24 06:00:32 +00:00
vyshane
65342c76a3
Fixed syntax error on line 804.
2006-01-24 01:51:13 +00:00
moodler
a789577bf4
Fix Bug #4626 - weblib.php: $course object conversion error in "print_footer " function
2006-01-24 01:40:06 +00:00
stronk7
4d69a487e4
Cleaning of unnecessary 4th fields in the insert_record() function.
...
See http://moodle.org/bugs/bug.php?op=show&bugid=4583 for more
information.
2006-01-23 16:36:46 +00:00
moodler
0c25b4534e
bug fixes
2006-01-23 03:15:45 +00:00
stronk7
d83f837385
Changed harcoded 'admin' to $CFG->admin
...
Merged from MOODLE_15_STABLE
2006-01-21 00:19:02 +00:00
stronk7
878d309c2b
Now results of check_moodle_environment() are
...
cached, saving us of some work when the script
is called more than once per request (install)
Merged from MOODLE_15_STABLE
2006-01-20 18:52:48 +00:00
moodler
698184d779
more bug fixing
2006-01-20 06:21:42 +00:00
stronk7
00d3a0fd95
Notices out!
2006-01-19 16:21:50 +00:00
stronk7
e3058eb3d4
Now postgresql version is properly checked.
2006-01-19 11:10:26 +00:00
stronk7
e909788dae
Now a final box is showed at the end of the report.
2006-01-18 23:06:20 +00:00
stronk7
049c0f4a8a
Now we are able to print a pretty table with results
...
of the whole test.
2006-01-18 19:14:54 +00:00
stronk7
ca9bfcd048
New string available in langconfig.php: oldcharset
2006-01-18 16:06:09 +00:00
mjollnir_
824f1c40fc
cache category_parent_visible so as to avoid doing millions of database queries
2006-01-17 23:46:42 +00:00
mjollnir_
185cfb095b
Reworked the My Moodle course overview API to be MUCH more efficient.
...
Previously we were literally doing hundreds of database queries, now it's
very much faster.
This makes the API slightly more complicated, but it's definitely worth it!
Each module should implement modname_print_overview, which takes an array of courses
and an array to fill up indexed by [$courseid]['modname'] for the controller to loop through and print.
Each module should LIMIT the number of queries to use, all module instances can be fetched
with the new function get_all_instances_in_courses which is the same as get_all_instances_in_course
but takes an array of courses to fetch the instances for. This means there is no need to loop
over the courses array and fetch the instances for each course (dramatically cutting down the number of queries!)
2006-01-17 20:49:43 +00:00
moodler
9833289841
Added default values for columns in the MySQL creation script mysql.sql.
...
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.
Committed by vyshane
2006-01-17 07:10:56 +00:00
toyomoyo
ab638383d2
bug fix for 4594
2006-01-17 04:29:33 +00:00
stronk7
f58b518fec
After thinking a bit about it, this file is, exactly,
...
one library, so add it here. The admin/environment.php
will be the interface to handle all this stuff. ;-)
2006-01-16 23:25:14 +00:00
skodak
68913aecd0
ignore set_time_limit() errors
2006-01-16 22:55:17 +00:00
skodak
8914cb828c
ignore ini_set() result
2006-01-16 22:23:52 +00:00