31230 Commits

Author SHA1 Message Date
mudrd8mz
b32c296f21 MDL-13997 merged from 19_STABLE 2008-05-19 21:49:32 +00:00
stronk7
17bbbb72f3 Adding to strings to install lang files. They could be used in the future. 2008-05-19 18:19:04 +00:00
stronk7
6d5a22b208 Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864 2008-05-19 18:02:33 +00:00
nicolasconnault
6395aa3f98 MDL-14905 First battery of ddl tests ready. All pass but one, the rename_index test. 2008-05-19 15:36:31 +00:00
skodak
14913ca4d5 MDL-14894 html purifier updated, merged from MOODLE_19_STABLE 2008-05-19 06:24:33 +00:00
nicolasconnault
b9b17c8a30 Indenting the code properly 2008-05-19 05:20:48 +00:00
stronk7
ed55f6682b Make generators reentrant. MDL-14897 2008-05-19 03:04:41 +00:00
moodlerobot
c8d03b6716 Updated the HEAD build version to 20080519 2008-05-19 01:54:33 +00:00
stronk7
f32cf147b8 Fixed some problems handling BLOBs. MDL-14887 2008-05-19 00:24:41 +00:00
stronk7
c6ad174104 There was one "phantom" test + minor improvements for robustness. 2008-05-19 00:16:48 +00:00
pichetp
489aef7f98 MDL-14054 Display of correct answers in the popup window already use for feedback
and MDL-14625 Make multianswer questions more tolerant if one of the subquestions is missing
 messages
2008-05-18 23:08:41 +00:00
iarenaza
e6d4c2f868 MDL-14883 Password expiration check during login doesn't work after NTLM integration
Forward ported from MOODLE_19_STABLE.

As part of the NTLM integration work, we moved some login code from
login/index.php to lib/moodlelib.php (function complete_user_login()). This
broke the password expiration check code, as we moved the $userauth variable to
complete_user_login(), and we also need it in login/index.php later.

Add the missing variable and related code to get a suitable password change url.
Also remove the now inexistant $focus variable from the call to print_header().
2008-05-18 21:33:19 +00:00
pichetp
907a375942 MDL-14054 Display of correct answers in the popup window already use for feedback 2008-05-18 17:22:41 +00:00
pichetp
df79079f49 MDL-1625 Make multianswer questions more tolerant if one of the subquestions is missing 2008-05-18 15:23:17 +00:00
agrabs
239ba4ee76 MDL-14889 - just removed the field count. I isn't more needed.
additionaly fixed some notice messages on restore.lib
2008-05-18 10:37:48 +00:00
stronk7
b75953148d Fix typo. 2008-05-18 01:55:14 +00:00
moodlerobot
5efd1cb69e Updated the HEAD build version to 20080518 2008-05-18 01:47:49 +00:00
stronk7
d550521063 First cut of mssql_adodb driver. Able to install HEAD. MDL-14887 2008-05-18 01:27:21 +00:00
stronk7
55b9622a19 Document local change in drivers/adodb-mssql.inc.php. MDL-14886 2008-05-18 01:11:51 +00:00
stronk7
f4607d5309 Fix MSSQL Insert_ID() to work when inserting using placeholders. MDL-14886 2008-05-18 01:06:08 +00:00
stronk7
d02e368d77 non empty prefixes aren't a driver limitation, but a Moodle one. MDL-14877 2008-05-17 20:51:18 +00:00
stronk7
9f17b4bc8f Revert the prefix check to admin/index.php. MDL-14877 2008-05-17 20:46:29 +00:00
agrabs
b9fb72f7af fixed notice-message 2008-05-17 14:11:18 +00:00
agrabs
1c57ce2539 fixed api functions for course-reset feature 2008-05-17 14:10:21 +00:00
agrabs
cae05e6779 added new strings 2008-05-17 13:53:37 +00:00
moodlerobot
03f20e8dc5 Updated the HEAD build version to 20080517 2008-05-17 01:53:13 +00:00
moodlerobot
8ce137e3b4 Automatic installer.php lang files by installer_builder (20080517) 2008-05-17 01:19:26 +00:00
stronk7
50e0ef5133 Fix one error in SetFetchMode() + minor clean. MDL-14879 2008-05-17 00:04:53 +00:00
jamiesensei
b392a56cab MDL-14844 "Quiz Report: Bar Graph doesn't displayed maximum grade" Now using php ceil function to round up $bands as in some cases it could be a non integer. 2008-05-16 14:56:23 +00:00
agrabs
a2ab50b0c7 setTempDir() set now the correct location 2008-05-16 11:39:15 +00:00
moodler
03af957a69 MDL-14865 Merged from 1.9 (Don't pass CFG to get_string) 2008-05-16 07:11:20 +00:00
moodler
1b3d7dbbe6 New tags including PHP5 classes
ctags --langmap=php:+.inc.html.class -R --languages=php --PHP-kinds=+cf \
--exclude="\.svn" \
--totals=yes \
--tag-relative=yes \
--regex-PHP='/abstract class ([^ ]*)/\1/c/' \
--regex-PHP='/interface ([^ ]*)/\1/c/' \
--regex-PHP='/(public |static |abstract |protected |private )+function ([^ (]*)/\2/f/'
2008-05-16 02:34:15 +00:00
stronk7
327744b1db Allow adodb to find tables when working without prefix 2008-05-16 02:32:18 +00:00
dongsheng
c7126a3162 "MDL-14703, remove obsolete options, merged from MOODLE_19_STABLE" 2008-05-16 02:23:05 +00:00
dongsheng
7ade55ad96 "MDL-14668, fix course full in activity reports (upgrade course module version)" 2008-05-16 02:15:23 +00:00
moodler
23448c4237 Latest tags 2008-05-16 02:05:37 +00:00
moodlerobot
57ac0b249d Updated the HEAD build version to 20080516 2008-05-16 01:58:36 +00:00
stronk7
137e0e6f65 Fixed typo preventing params to be properly passed. 2008-05-15 22:55:27 +00:00
agrabs
d8af29e270 deprecated function get_groups() replaced with groups_get_all_groups() 2008-05-15 22:54:31 +00:00
stronk7
e4552afb15 Handle properly in restore the change data->notification from NULL to NOT NULL. MDL-14548 2008-05-15 22:34:52 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
stronk7
469dcbcc8b prevent NULL contents before field change (old servers can have this wrongly defined). MDL-14859 ; merged from 19_STABLE 2008-05-15 17:03:49 +00:00
tjhunt
ed5ba2df55 MDL-14750 - followup - make the code robust in the case their are broken questions in the DB. 2008-05-15 16:05:47 +00:00
tjhunt
994c8c3509 MDL-14835 - Grade not checked against valid range when manua grading 2008-05-15 16:02:12 +00:00
tjhunt
9c22b42ef7 MDL-14857 - Clean up summary table generation code at the top of the quiz review page - This is basically a merge of improvements we made at the OU. 2008-05-15 15:32:43 +00:00
thepurpleblob
25b05ce567 Whoops. missed a string. 2008-05-15 15:24:03 +00:00
thepurpleblob
dfac8649c7 MDL-14854
Add facility to XMLDB editor to check for inconsistent field defaults.
2008-05-15 14:47:08 +00:00
jamiesensei
ca35974827 MDL-14852 "improve sql in overview report for fetching question grades" moved all querying for question grades into main attempts sql query. AND MDL-14200 "Add group and course averages" some fixes for functionality to display question grades averages. Grade averages are not displayed when grading method is set to Average - as this cannot be done in sql and would be expensive to do in memory.
merged from 1.9 branch
2008-05-15 13:59:52 +00:00
jamiesensei
e649d4b120 MDL-14200 "Add group and course averages" fix for bug introduced in this patch. We are now using a seperate sql command to get the feedback text as we need to get it for the average rows too. Since it is not part of the sql to fetch attempt data we can't sort on Feedback anymore so removed the option from the table. Sorting by feedbacktext is not really useful anyway, users are more likely to want to sort by grade.
Merged from 1.9 branch.
2008-05-15 12:54:01 +00:00
jamiesensei
aad5b0fca9 MDL-14200 "Add group and course averages" added extra rows to the end of the table in quiz overview report also MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" implemented the first of my proposals for improving tablelib. Added a extra method to use keyed arrays to add a row to a table. Seems obvious that this is an improvement to tablelib and it is an addition to the API so won't affect existing code.
Merged from 1.9 branch.
2008-05-15 12:27:27 +00:00