michaelpenne
ee3f227560
New Feature: Lesson Dependency
...
In a lesson's settings one can now set the current lesson to be dependent on another lesson in the same course. Then, the user can set the conditions for the dependency. Currently the conditions are time spent, grade better than X, and completed (yes/no).
2005-06-30 21:11:02 +00:00
michaelpenne
f26cef7c22
Minor changes to support the new media file feature.
2005-06-15 23:35:11 +00:00
michaelpenne
71ba4dce3c
Discovered a bug with lesson grades. While calculating the grade, intval was used to truncate the decimals from the grade. intavl is now replaced with round. round will now round the grade to 5 decimal places. The database only holds int(3). So, this has been changed to float to hold decimal numbers. We have found this to be much more accurate when converting the stored percentage in the database back to a point value (before this fix, users were getting numbers like 46.5 points instead of their original 47 points due to an inaccurate percent value). Files changed for this fix include:
...
locallib.php
report.php
version.php
view.php
db/mysql.php
db/mysql.sql
db/postgres7.php
db/postgres7.sql
2005-06-09 21:24:17 +00:00
gustav_delius
ec81373f50
In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
...
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +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
ecb00e05e2
increased the lesson version number
2004-11-01 20:21:21 +00:00
mjollnir_
eee8d9c8f5
bumps for version and requires for modules that use new upload class
2004-09-17 05:46:12 +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
41905731b7
fixed capitalization and quoting of attribute values
2004-09-12 16:24:41 +00:00
gustav_delius
8f6b80b90c
Merging from stable branch
2004-08-24 18:38:14 +00:00
moodler
070528fc79
MOdules are dependent on this version of course/mod.php
2004-06-04 07:28:34 +00:00
moodler
7613890851
BRANCH MERGE
...
These are the changes from MOODLE_13_STABLE, merged into trunk
The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point
The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
rkingdon
45c27c7e4b
Optional use of the HTML editor.
2004-04-01 16:56:56 +00:00
rkingdon
9e93d4d03f
Version 3 update
2004-03-27 04:15:29 +00:00
moodler
9ef4f2323d
Fix up some old Beta sites that may have lessons
2004-03-20 13:16:04 +00:00
rkingdon
394c97c88b
Support for extra question types added; Flash Card style lessons now an
...
option.
2004-02-26 16:54:47 +00:00
moodler
9232405d8a
SOme improvements to logging
2004-02-16 12:20:40 +00:00
moodler
bbcbc0fecc
Adding the Lesson module to the main CVS. Nice job Ray!
...
Still needs PostgreSQL support and wider testing
2004-02-16 05:41:13 +00:00