17903 Commits

Author SHA1 Message Date
gbateson
6ed5989c4a in "hotpot" table, rename "microreporting" field to "clickreporting" (PostgreSQL only) 2006-01-17 12:48:37 +00:00
gbateson
8d4632772a mysql does not need to call "hotpot_update_to_v2_1_6()" or "hotpot_update_to_v2_1_8()" functions 2006-01-17 12:46:26 +00:00
mits
bdbe7b3cc3 polished. 2006-01-17 10:47:16 +00:00
mits
9aecf1c865 polished. 2006-01-17 10:42:24 +00:00
moodler
f6691427d9 Added default values where needed 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:37:29 +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
gbateson
20870c450b allow user to set encoding when "lib/excellib.class.php" is not available 2006-01-17 05:45:01 +00:00
dlnsk
a4f13903dc Áëîê "Ïîñåùàåìîñòü" 2006-01-17 05:01:36 +00:00
dlnsk
6a6f46ed8f Âñïîìîãàòåëüíûé ìîäóëü "Ïîñåùàåìîñòü äëÿ Áëîêà" 2006-01-17 05:00:31 +00:00
gbateson
747c22c5e8 microincrement version number to 2.1.7 2006-01-17 04:31:08 +00:00
toyomoyo
ab638383d2 bug fix for 4594 2006-01-17 04:29:33 +00:00
gbateson
f78640f467 fixed Excel reports to work with new "excellib.class.php" and fixed Excel and Text reports to handle multicolumn and multirow cells 2006-01-17 04:16:37 +00:00
mjollnir_
b12d055a8f Fixing an sql sytax error in forum cron that prevented mailouts! It seems to have been introduced at 1.405 2006-01-17 00:21:29 +00:00
martinlanghoff
1ab3490ec9 admin/uploaduser: fix password update bug, safer renames, optimized execution
This patch bundles 3 changes:

    + password inserts/updates were not being md5()d
    + skip the user altogether when the rename fails, to
      avoid clobbering the existing user account
    + get_courses() has moved outside the main loop so
      it is called only once -- huge difference in
      performance and number of DB queries
2006-01-16 23:54:52 +00:00
stronk7
572f46d3d2 This is going to be the frontend. Just reseting the file
to its minimum for now.
2006-01-16 23:31:05 +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
mjollnir_
460ec53664 Added missing fields in restore for embargoed announcements 2006-01-16 22:55:18 +00:00
skodak
68913aecd0 ignore set_time_limit() errors 2006-01-16 22:55:17 +00:00
mits
2f84eb91dd polished. 2006-01-16 22:34:39 +00:00
skodak
8914cb828c ignore ini_set() result 2006-01-16 22:23:52 +00:00
skodak
4c8c65ecd5 added byteserving, fixed cookieless mode, changed timeout handling, minor code cleanup 2006-01-16 22:21:41 +00:00
stronk7
9bdc03bc06 Added the higer level check_moodle_environment()
It's the only one to be used from the rest of code.
Changed recommended to optional.
2006-01-16 22:07:59 +00:00
stronk7
36372e0cde Changed recommended to optional. 2006-01-16 22:06:15 +00:00
mjollnir_
f332bd025c Added cast to string in choose_from_menu_nested as well as choose_from_menu 2006-01-16 21:50:57 +00:00
stronk7
21ee1ca9f7 The logic is now completed and DB, PHP and PHP_EXTENSIONS
can be checked, so I commit this.
Just starting to build the presentation layer of the stuff.
2006-01-16 19:32:14 +00:00
stronk7
302c93aec4 Put some real data about reqs, both for 1.5 and 1.6. 2006-01-16 19:29:50 +00:00
stronk7
5deb5563f5 fit PHP_EXTENSION under PHP_EXTENSIONS container. 2006-01-16 18:08:11 +00:00
andreabix
b384ef6a6c Typo corrected. Thanks to Daniele Cordella 2006-01-16 15:55:32 +00:00
mits
44963ec934 translated 2 new help files and some strings for forum. 2006-01-16 15:31:32 +00:00
stronk7
95e8227bb9 Initial model of Moodle compatibility matrix to be
checked from admin, install and upgrade. Now it includes
one "false" version to be able to test it.
2006-01-16 13:53:30 +00:00
stronk7
79cccd507d Added categoryboxcontent to properly display the list of categories. 2006-01-16 11:08:23 +00:00
stronk7
ff4651e6e5 Part of Bug 4583. Now insert_record() always unset the primary key
(instead of the first, non-cached, invocation). Also, modified one
condition with no sense now. Needs testing (specially from PostgreSQL,
although it should work and the bug would be solved.
(http://moodle.org/bugs/bug.php?op=show&bugid=4583)
2006-01-16 10:36:59 +00:00
stronk7
b1a88d0413 Part of Bug 4583. Now backup tables are moodle-style compliant.
Also, the 4th parameter used in insert_record() has been erased
to avoid the bug itself. PortgreSQL upgrade not tested!
(http://moodle.org/bugs/bug.php?op=show&bugid=4583)
2006-01-16 10:23:48 +00:00
mjollnir_
b22008bae0 after discussion with Eloy: Always strip controlchars in xml_tag_safe_content 2006-01-16 09:07:30 +00:00
mjollnir_
bd905b4568 Backing out type checking in choose_from_menu and choose_from_menu nested. Perhaps will add casting to string on both sides later 2006-01-16 09:05:23 +00:00
mjollnir_
abfd14da26 Managed forum posts: missing restore fields. Beating Eloy to fix the bug before he reports it ;) 2006-01-16 08:59:20 +00:00
mjollnir_
df1b52e8bb Contextual help for participants list 'with selected users' actions 2006-01-16 08:52:21 +00:00
mjollnir_
a4f495bf86 Introducing: managed posted forums. Optional ability to 'throttle' forums by adding
three new settings: warnafter, blockafter and blockperiod.
Useful for tutors with big courses with some dominant students.
2006-01-16 08:42:09 +00:00
moodler
bdebe6c40c this is the db migration script, this is not called at the moment, please do not call this script as it is only in testing stage. 2006-01-16 07:59:04 +00:00
moodler
5d7a2722d5 more bugs 2006-01-16 07:57:56 +00:00
martinlanghoff
18147bc254 lib/datalib.php - fixed missing return and global $CFG
Tidyup after merging Tim Hunt's patches.
2006-01-16 06:35:58 +00:00
ikawhero
89c870e7b2 Quiz summary text shouldn't be cleaned as only entered by teacher
Merged from stable
2006-01-16 06:29:51 +00:00
martinlanghoff
d53c5dfc63 lib/datalib.php: Fixed a problem that get_recordset() does not return results
Author: Patrick Li <patrick@catalyst.net.nz>
2006-01-16 06:26:47 +00:00
martinlanghoff
eb856e3b4d lib/datalib.php [5/6] Make other methods that obtain a record set use the
appropriate get_recordset* function, instead of duplicating
code.

Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:24:53 +00:00
martinlanghoff
26c0a58702 lib/datalib.php [5/6] Make the get_records*_menu family of functions use the
get_recordset* functions, instead of duplicating code.


Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:23:17 +00:00
martinlanghoff
9b277c0d80 lib/datalib.php [4/6] Make the get_records* family of functions use the
get_recordset* functions, instead of duplicating code.

Note: I've replaced the @deprecated tokens in phpdoc with an indication
that the get_records* calls are valid as convenience calls. The
get_recordset*() calls should be considered for performance and memory
footprint, but are not mandatory.

In a sense, deprecating get_records*() would mean a commitment to remove
them within X number of versions, which I am not sure we will do. Now,
if phpdoc has a @discouraged token, I'd like to hear about it ;-)

Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:17:38 +00:00
martinlanghoff
1184063286 lib/datalib.php [3/6] Move all instances of code that processes the
(..., $field1, $value1, $field2, $value2, $field3, $value3, ...)
part of argument lists to a common method, and improve the
comments relating to those arguments on calling methods.

Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:07:57 +00:00
martinlanghoff
0934b9def8 lib/datalib.php [2/6] Version of Martin Langhoff's patch to add the get_recordset_*
family of methods.

Author: Martin Langhoff <martin@catalyst.net.nz> && Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:05:43 +00:00
martinlanghoff
d4c54cd6a6 lib/datalib.php [1/6] Remove unreachable code (break statements after returns in switches).
Author: Tim Hunt <T.J.Hunt@open.ac.uk>
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
2006-01-16 06:04:09 +00:00
mits
942d9298bf translated new strings for RADIUS. 2006-01-16 05:42:51 +00:00