3549 Commits

Author SHA1 Message Date
stronk7
a69a71e193 Added some header clasees to 1 table.
Merged from MOODLE_15_STABLE
2005-06-13 19:37:02 +00:00
gustav_delius
f3d7f1ca50 merged from stable 2005-06-13 18:42:17 +00:00
gustav_delius
39395fd60b merged from stable 2005-06-12 09:57:13 +00:00
gustav_delius
7dd7925ee4 merged Julian's changes to calculated questions from stable branch 2005-06-12 09:52:21 +00:00
thepurpleblob
70e3da07fd Changed all optional_variable() and require_variable() to equivalent
optional_param() and required_param() for greater security.
2005-06-10 19:54:41 +00:00
thepurpleblob
d53839aa6d Whoops - typo! 2005-06-10 13:25:23 +00:00
thepurpleblob
07bc47e0e5 require_variable() replaced with required_param() 2005-06-10 11:09:39 +00:00
stronk7
a9022f9e9b Generate properly RSS column. It was breaking styled (colored) rows.
Merged from MOODLE_15_STABLE
2005-06-10 09:04:59 +00:00
stronk7
706758c548 Some classes and styles added to show everything properly.
Merged from MOODLE_15_STABLE
2005-06-09 23:51:57 +00:00
stronk7
31a25778f1 Added one deleted br...
Merged from MOODLE_15_STABLE
2005-06-09 23:41:17 +00:00
stronk7
e666046150 Now icons, comments and ratings are showed properly in entrylist format.
Bug 3455
(http://moodle.org/bugs/bug.php?op=show&bugid=3455)

Merged from MOODLE_15_STABLE
2005-06-09 23:32:13 +00:00
stronk7
ece6d42744 Separate icons a bit...
Merged from MOODLE_15_STABLE
2005-06-09 23:29:10 +00:00
michaelpenne
7629332ba4 Bug: fixed a problem with the date completed value and a problem with processing shortanswer/numerical question types 2005-06-09 21:55:53 +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
michaelpenne
cedac380ed Before, importppt would look for outline.htm to determine the order of the slides.
If outline.htm is not found, it would fail.  Now if outline.htm is not found
importppt will scan the directory for any file that starts with slide.
This change was added to support powerpoint 2000
2005-06-08 17:33:41 +00:00
michaelpenne
bd71134047 Bug 1650 fixed: help button calling the wrong help file 2005-06-07 20:56:37 +00:00
michaelpenne
f933effb3e Bug 3022 Fixed: got rid of uppercase tags 2005-06-07 20:47:25 +00:00
michaelpenne
e0b1a2bea9 BUG FIX for Bug #3059: if there is not a response to an answer, the response gets set to an empty string 2005-06-06 18:30:34 +00:00
ecastrolt
d8247a98d6 *** empty log message *** 2005-06-06 18:14:12 +00:00
michaelpenne
fff91cc994 updated the link to the grade book 2005-06-06 17:23:35 +00:00
bobopinna
f04a5d36e4 Fixed backup bad data archive 2005-06-06 12:41:44 +00:00
bobopinna
73673f9cf1 Fixed a typo 2005-06-06 12:37:56 +00:00
ikawhero
0a3f66a213 Small change merged from MOODLE_15_STABLE that to check $scalegrades.
There appears to have been other changes made to head so will not update
the merged tag.
2005-06-06 09:53:18 +00:00
gustav_delius
fc44ee0de8 Merged from stable 2005-06-05 20:51:15 +00:00
gustav_delius
e132d90e02 merged Enrique's correction from stable 2005-06-04 22:14:08 +00:00
ecastrolt
9f701b4c5e *** empty log message *** 2005-06-04 21:14:57 +00:00
defacer
491cc6d617 Merging from STABLE:
Fixing all Tidy warnings in this page. This has to be A Good Thing.
2005-06-04 17:53:36 +00:00
stronk7
92b90adf53 Changed name of the container category a bit and avoided one notice.
Merged from MOODLE_15_STABLE
2005-06-04 15:42:01 +00:00
gustav_delius
7bbe08a267 Merged from stable 2005-06-04 09:58:35 +00:00
defacer
731df4595c Merging from STABLE:
Fix for bug 3316: Now students which have attempted the quiz but have
since been unenrolled from the course are shown with a dimmed style.

Also merging Gustav's nicer error messages (the MERGED tag wasn't up to date)
2005-06-04 00:21:00 +00:00
stronk7
b2abce7ccf Added support for forum->trackingtype
Merged from MOODLE_15_STABLE
2005-06-03 17:37:11 +00:00
stronk7
8f999b78dc Bump!
Deletion (or move to site course) of orphan categories
executed in the upgrade process. Now we shouldn't have
such orphans anymore! B-)

Part of bug 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Important NOTE: In the upgrade code for postgreSQL I've included
                some steps that weren't up to date. They seem to
                standard SQL code but they should be tested
                properly.... hope all works!

Merged from MOODLE_15_STABLE
2005-06-03 12:53:58 +00:00
stronk7
465ce22cf0 Deletion (or move to site course) of orphan categories
executed in the upgrade process. Now we shouldn't have
such orphans anymore! B-)

Part of bug 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Important NOTE: In the upgrade code for postgreSQL I've included
                some steps that weren't up to date. They seem to
                standard SQL code but they should be tested
                properly.... hope all works!

Merged from MOODLE_15_STABLE
2005-06-03 12:52:22 +00:00
moodler
2bf5b5d4fc Merged fixes from stable 2005-06-03 12:22:54 +00:00
moodler
7d45304236 Removing Attendance from main tree (it's now in contrib/attendance) 2005-06-02 14:18:43 +00:00
gustav_delius
ebbb178e35 tiny tweaks 2005-06-01 19:02:07 +00:00
mindforge
1732e1a00f Added multianswer explanation. 2005-06-01 13:03:12 +00:00
moodler
5a82dafa75 Merging fixes from MOODLE_15_STABLE 2005-06-01 08:15:21 +00:00
gustav_delius
6851e7cd4a merged fix of bug 3377 2005-06-01 06:44:35 +00:00
mindforge
b27d7b3b6b Documentation about response storage and the beginning of a glossary for quiz specific terminology. 2005-05-31 23:10:18 +00:00
moodler
736f191c1d Added event handling to new assignment. Whopos! 2005-05-31 23:00:20 +00:00
stronk7
9ea6ac5105 Complete refactor of quiz_delete_course()
Now this function works following this:
- Iterate over every quiz category in the course (following parent-child relationships).
- If the category is being used*, move it to site level (under a container category) and
      mark it as published.
- If the category isn't being used, remove** it completely (questions, instances...) and
      re-parent its child categories.
- Feedback is shown in a table detailing all the changes performed.

* One category is being used if it has one question that is being used in any quiz,
  independently of its publish status.
** Removal of categories (and associated questions) has benn improved but, it won't
  be perfect until bug 3366 was solved.

Tested against some large courses with reused questions and multiple levels of
categories. Seems to work but

PLEASE TEST IT AND SEND ANY FEEDBACK TO BUG 2459
(http://moodle.org/bugs/bug.php?op=show&bugid=2459)

Exactly this function is going to be used in the upgrade script to solve
the orphan categories issue and it must work perfectly!

Merged from MOODLE_15_STABLE
2005-05-31 22:35:04 +00:00
stronk7
3686d611d9 Simplify the quizzes_category_used() function.
I was using the $excluded parameter to avoid
loops between categories. A->B->A. Think we can
assume such loops won't exist, so I've deleted
the $excluded use.

Merged from MOODLE_15_STABLE
2005-05-31 16:33:18 +00:00
thepurpleblob
18c89ac630 merged from STABLE 2005-05-31 15:19:00 +00:00
thepurpleblob
3754d9b724 Merged changes from STABLE 2005-05-31 14:22:26 +00:00
thepurpleblob
55631ee73a Merged from STABLE 2005-05-31 13:35:15 +00:00
thepurpleblob
8cedc8a7f5 Merged changes from STABLE 2005-05-31 10:12:13 +00:00
stronk7
ca653ec706 Added the sort_categories_by_tree() function that
returns an ordered array of categories following
the parent-child relationships. It doesn't forget
any category and returns all the categories passed
although their parent were incorrect. Try to build
as much tree structure as possible.

Merged from MOODLE_15_STABLE
2005-05-30 23:59:42 +00:00
gbateson
53ed0d14c8 size of top frame, if any, set using $CFG->resource_framesize 2005-05-30 23:13:56 +00:00
gbateson
96a4f85bd3 Additional explanation for quiz module add-in in Moodle 1.4.5 2005-05-30 23:06:05 +00:00