438 Commits

Author SHA1 Message Date
michaelpenne
29a014c05a corrected the sesskey code 2005-01-21 23:13:53 +00:00
michaelpenne
4ea3ce2fcb added sesskey code to remove the sesskey error from updating the lesson from view.php 2005-01-21 19:02:57 +00:00
michaelpenne
bca6b842ca fix class stats for essay questions 2004-12-06 20:33:44 +00:00
michaelpenne
8061400e0f updated essay and short answer code to work with quotes (single and double) 2004-12-01 21:02:07 +00:00
michaelpenne
611e79fd75 updated essay code to work with quotes being used in user answer and teacher response 2004-12-01 21:00:49 +00:00
mjollnir_
33a55a6d55 Merged from MOODLE_14_STABLE: Indexes for lesson and version bump (honoring partial freeze) 2004-11-19 03:13:05 +00:00
michaelpenne
324da715f2 updated lesson_calculate_ongoing_score to match the grading algorithm used in view.php. Also suppressed a warning in lesson_print_tree_link_menu function. 2004-11-17 01:05:39 +00:00
michaelpenne
8bca120ff0 Changed the grading algorithm. Now it divides points earned by total points possible. Before was dividing points earned by max grade. Also updated essay grading to work much more reliably and fixed some formatting problems with essay emails. 2004-11-17 01:02:14 +00:00
moodler
2a488ba553 Some XHTML compatibility changes 2004-11-04 09:24:51 +00:00
moodler
df5da3fc88 Fixed missing prefix 2004-11-04 08:55:19 +00:00
paca70
5b9ce58cdc Corrected typo in mysql.sql
Added support for postgresql.
BTW is it posible to use table_column() function also with mysql, that would make
mysql-code easily portable to other database-files.
2004-11-02 08:51:24 +00:00
michaelpenne
9390ae0017 added fields: useranswer field in lesson_attempts, and added modattempts to lesson and lesson_default tables, and removed essay table creation 2004-11-01 20:47:08 +00:00
michaelpenne
8f4c2d41e4 added alter table commands to insert useranswer field in lesson_attempts, and added modattempts to lesson and lesson_default tables 2004-11-01 20:44:06 +00:00
michaelpenne
2e75518667 added a link to report, changed conditions for displaying essay link, modified the essay functions to reflect the new view of an essay question, and updated view.php to work with modattempts option 2004-11-01 20:41:55 +00:00
michaelpenne
eb73cd47e0 moved output from inside this file, to lesson.php and view.php. Also now uses lang file. 2004-11-01 20:39:30 +00:00
michaelpenne
f50e2abc74 can restore the new backup code now 2004-11-01 20:37:16 +00:00
michaelpenne
37eeba778f report displays statistics regarding users attempts for a particular lesson. If a student has attempted a lesson, a link will appear when you edit the lesson to view statistics. This feature works best with the newest version of lesson because lesson now retains more information regarding how the user answered a given question. Old lesson attempts will not display correctly. 2004-11-01 20:35:45 +00:00
michaelpenne
d01e2b0ba2 added a new setting which is modattempts 2004-11-01 20:27:28 +00:00
michaelpenne
9959aab238 on line #277, return null instead of throwing an error 2004-11-01 20:25:42 +00:00
michaelpenne
ecb00e05e2 increased the lesson version number 2004-11-01 20:21:21 +00:00
michaelpenne
b986908256 changed lesson_calculate_ongoing_score function and added some comments 2004-11-01 20:18:26 +00:00
michaelpenne
db22702089 endofcluster pages are not displayed anymore, shortanswer wrong answers are interpreted correctly, added user answer tracking to attempts so it can be used later by report.php, essays are no longer insterted into an essay table... now kept in the useranswer field in attempts, fixed a problem with grading numerical questions, modified to work with modattempts option, fixed a problem with grading matching questions and fixed addpage so that it displays multichoice with the multianswer option 2004-11-01 20:15:11 +00:00
michaelpenne
493c24e5a8 backup now actually backs up. Includes all of our database changes 2004-11-01 19:53:06 +00:00
paca70
f3133619f0 Upgrades for protgresql. 2004-10-22 14:56:49 +00:00
moodler
1e448f63f4 Merged fix from stable 2004-09-29 06:58:21 +00:00
michaelpenne
800abfe61d fixed a wrong lang call on line #1176 2004-09-28 19:22:30 +00:00
michaelpenne
c732188674 changed $pages[$count][0] to $pageid on line #617 2004-09-28 19:15:20 +00:00
dhawes
5620acd80a Some double quote strings converted to single quote literals and conversion of many tabs to spaces - inspired by error in associative array dereferencing found by ottenhoff and noted in comment to bug 1981 2004-09-24 23:10:49 +00:00
michaelpenne
033c143250 put in Sebastien Michels change on line #911 2004-09-23 20:30:00 +00:00
michaelpenne
909e6c79d8 Fixed a bug regarding cluster jumps. Before, if end of cluster's jump was next page, it would throw an error. 2004-09-22 19:14:51 +00:00
michaelpenne
1663b64f1e changed the order of db updates. now the order is old to new. 2004-09-21 22:16:46 +00:00
michaelpenne
7143a2841e added an include for lib.php
changed the display of page titles
changed matching such that if two matching items match to the same answer, that answer only apprears once in the drop down menu.
Changed how the grade essay question link apprears.  Only appears if there is an essay to grade.
2004-09-21 22:15:30 +00:00
michaelpenne
3de88244c4 added option to delete a users attempt records. Sends an email if delete was seccessful or not. 2004-09-21 22:13:08 +00:00
michaelpenne
1535c81ba3 added code to handle deleting of user attempts 2004-09-21 22:12:04 +00:00
michaelpenne
d19d9ef16d Fixed some problems with matching 2004-09-21 22:11:00 +00:00
gustav_delius
8f0cd6ef0f Resolved problems with previous replacement of
& to & and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
mjollnir_
eee8d9c8f5 bumps for version and requires for modules that use new upload class 2004-09-17 05:46:12 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
michaelpenne
e5c6a35c22 Fixed the primary key problem in the mysql. 2004-09-16 16:20:59 +00:00
mjollnir_
6e30064b5d Integration of upload code with lesson - html form
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-69
    2004-09-16 04:31:47 GMT
    Penny Leach <penny@catalyst.net.nz>
    added the upload class stuff for the upload form for lesson

Full logs:

Revision: moodle--eduforge--1.3.3--patch-69
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 16 16:31:47 NZST 2004
Standard-date: 2004-09-16 04:31:47 GMT
Modified-files: mod/lesson/import.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-69
Summary: added the upload class stuff for the upload form for lesson
Keywords:
2004-09-16 04:33:29 +00:00
mjollnir_
3dc2cd2dee Integration of upload code with lesson.
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-68
    2004-09-16 04:22:37 GMT
    Penny Leach <penny@catalyst.net.nz>
    upload class integration with lesson

Full logs:

Revision: moodle--eduforge--1.3.3--patch-68
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 16 16:22:37 NZST 2004
Standard-date: 2004-09-16 04:22:37 GMT
Modified-files: mod/lesson/import.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-68
Summary: upload class integration with lesson
Keywords:
2004-09-16 04:25:55 +00:00
michaelpenne
5e7856af58 Added a lot of new features to lesson mod. Check them out :)
MarkNielsen
2004-09-15 20:32:24 +00:00
gustav_delius
e0b7b090d3 towards XHTML compliance 2004-09-14 20:39:28 +00:00
gustav_delius
41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
rkingdon
8544774f37 Slightly improved version for checking short answers. 2004-09-10 21:38:15 +00:00
rkingdon
c02f173799 Correction to Short answers, now checks the answers in order (first to
last) and stops checking if a match is found.
2004-09-10 20:58:50 +00:00
gustav_delius
8f6b80b90c Merging from stable branch 2004-08-24 18:38:14 +00:00
gustav_delius
f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
gustav_delius
90fcc576ea Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic. 2004-08-21 20:20:58 +00:00