3787 Commits

Author SHA1 Message Date
mjollnir_
39a2761465 Merged from MOODLE_15_STABLE: Fixing bug 4303 - quiz reports dying on large enrolments - getting all users into an array and imploding it into an IN() replaced with joins. This changes the functionality SLIGHTLY in two ways - 1. show students with no attempts now JUST shows students with no attempts, rather than both. Show students with no attempts is now disabled for the site course as is not really relevant and could be ridiculously large 2005-11-15 22:23:43 +00:00
skodak
84d8c4086e cleaning of parameter name before use SC#188; merged from MOODLE_15_STABLE 2005-11-15 21:49:30 +00:00
bobopinna
133c5c2792 General review to support XHTML Strict
First step in multi-attempt feature (requested by SCORM 2004)
Removed javascript use as much as possible in button and link
2005-11-15 08:10:26 +00:00
gbateson
72e0b1f534 correct score calculation in TexToys Rhubarb 2005-11-14 11:32:40 +00:00
patrickslee
abbb3308a2 Made forum search page aware of Embargoed Announcements 2005-11-13 22:52:23 +00:00
defacer
02828119f6 OK, trying to write about this in the SC made me think, thinking made me
find the solution. No hacks, no replicating the table object, I just tweaked
the table class itself to help us.

I 'll post at SC#187 about this, but the bug is now totally fixed.
2005-11-13 04:30:50 +00:00
defacer
86f6539591 Removing code block which, upon closer inspection, does nothing at all.
This is obviously a copy/paste artifact from mod/quiz/report/overview/report.php,
but notice that over there is non-trivial processing going on over there with the
sortorder array!

The sortorder can be used directly in queries, just stick an "ORDER BY " in front.
2005-11-13 04:01:41 +00:00
defacer
9894b8246c Gone through the code carefully. Committed what is basically Skodak's patch
at SC#187 postid 1104 with a small addition, EXCEPT the //HACK ALERT part.

Where does that leave us? The popup does not die anymore, BUT:

1. It throws a notice about $sort not being defined (to be expected)
2. It doesn't use the correct sortorder ($sort is not defined, so default sort)

Please see the discussion at SC#187 before doing more work on this.
2005-11-13 03:37:40 +00:00
defacer
5b48244f24 Carefully going through the code now...
Changing get_records_sql() for one record ALWAYS and associated foreach() to
a get_record_sql() without foreach. Please be considerate with copy/paste. ;-)
2005-11-13 03:20:35 +00:00
defacer
c9977d055d Been playing around Assignment a bit, and Tidy kept complaining... 2005-11-13 02:50:46 +00:00
defacer
4fdabdc36f Merging from STABLE:
Better retrieval of table sortorder when not done directly through
the table class, see SC#187.
2005-11-12 03:04:11 +00:00
gbateson
e791e20949 get clue button text from quiz XML file (hitherto, it was always been set to "?") 2005-11-11 06:34:51 +00:00
patrickslee
2d71936b74 Database changes for Embargoed Announcements 2005-11-11 02:04:14 +00:00
patrickslee
fbc21e82be New feature: Embargoed Announcements 2005-11-10 22:50:03 +00:00
gbateson
7867d9dbce fix error on line 700 when student displays hotpot/index.php 2005-11-10 09:00:17 +00:00
skodak
200c19fb8c cleaning as assignment types SC#182 continued; merged from MOODLE_15_STABLE 2005-11-10 00:22:57 +00:00
skodak
de4564ee09 fixed incorrect assignment grades in gradebook when custom scales bug #4279; merged from MOODLE_15_STABLE 2005-11-09 22:39:29 +00:00
skodak
c86aa2a479 fixed grades display in assignment/index.php when using different scales; merged from MOODLE_15_STABLE 2005-11-09 22:25:38 +00:00
skodak
5055a3e3d3 fixed grading when secure forms on bug #4300; merged from MOODLE_15_STABLE 2005-11-09 21:37:15 +00:00
moodler
704fbf6e1b added pop up blocker checker 2005-11-09 02:17:26 +00:00
moodler
233de2e316 added popup checker in quiz 2005-11-09 02:16:13 +00:00
gbateson
29781718a6 changes to allow quizzes in tail of HotPot chains to be visible 2005-11-08 07:48:10 +00:00
moodler
fa22fd5fff BIG FEATURE - MULTIPLE GROUPS
Users can now be assigned to multiple groups.  Thanks Yu!
Break out the Bob Marley!!

Otherwise groups work more or less like they did before.

This has been pretty well tested by Yu and myself, but since Yu started
uncovering lots of existing groups bugs it's possible there may be still
a few corner cases still lurking here and there.

Please help test this thoroughly for 1.6!!
2005-11-08 07:19:27 +00:00
moodler
8604a1f884 Added encryption to the select form names so that it's a lot more
difficult to cheat on these questions by looking at HTML source.   SC178
2005-11-08 06:56:34 +00:00
moodler
69ef01c00d We don't show unenrolled users in quiz reports normally 2005-11-08 06:52:32 +00:00
moodler
cd7d299942 Tidying ... 2005-11-08 05:14:52 +00:00
michaelpenne
114f47a79e NEW FEATURE: Activity Link allows the teacher to display a link to another activity, which is in the same course,
at the end of the Lesson.
2005-11-07 19:56:08 +00:00
moodler
6db0b948cc fix for bug 4284 2005-11-07 05:49:23 +00:00
stronk7
0fd4f40714 Now both empty search strings and 1 letter search strings works fine in
the glossary. Terms are hilighted properly (but 1 letter terms, because
it's a hilight limitation). Bug 4274.
(http://moodle.org/bugs/bug.php?op=show&bugid=4274)

Merged from MOODLE_15_STABLE
2005-11-06 20:06:05 +00:00
stronk7
7b6f4f9c1f Fixed encoding of page title of framed IMS CP resources
(mimic of skodak's work in other frames)
2005-11-05 16:19:23 +00:00
skodak
539d335c2f fixed bug #4030 - filemtime for time modified; merged from MOODLE_15_STABLE 2005-11-04 11:32:48 +00:00
skodak
9c5afdf214 fixed encoding of page title of framed resources; merged from MOODLE_15_STABLE 2005-11-04 10:00:28 +00:00
moodler
082215e68e Merged fixes from stable 2005-11-04 06:50:30 +00:00
moodler
e768aabed0 fixes bug #4268 2005-11-04 06:48:39 +00:00
gbateson
d4817b7317 fixed undefined index line 147 in "remove_column" function 2005-11-04 02:16:40 +00:00
skodak
4c19b6ec04 fixed input validation in admin and formating+cleaning in diff and editing SC#160; merged from MOODLE_15_STABLE 2005-11-03 23:47:28 +00:00
moodler
a81662279f Merged fix for bug 4146 from stable 2005-11-03 09:40:23 +00:00
moodler
9bf660b326 Merged new assignment grading interface fixes from STABLE 2005-11-03 06:25:00 +00:00
michaelpenne
16fa48c83e The Lesson dependency help button was pointing to the wrong help file. 2005-11-02 21:22:16 +00:00
moodler
80b91e8b63 Print standard course module settings 2005-11-02 04:00:46 +00:00
stronk7
713efedc31 Changed one call to gethostbyaddr() to use numeric
ip instead. Such information is only stored in DB
(page->author) and not critical at all. Suggested
by Derry in http://moodle.org/mod/forum/discuss.php?d=32171
because it was causing important delays when clients
weren't DNS-registered.

Merged from MOODLE_15_STABLE
2005-11-01 17:47:20 +00:00
moodler
708b521a6d Merged changes from STABLE.
Not sure I did the right thing on questiontypes/calculated/questiontype.php
Hope I didn't create a bug there.

(can people please remember to merge changes into head whenever they change stable?)
2005-11-01 03:29:58 +00:00
moodler
1e462286f7 Merged addslash fixes from STABLE 2005-11-01 02:51:06 +00:00
gustav_delius
4bb36a97ce subscribing always requires the user to be logged in, even for forums on the home page. 2005-10-31 14:21:29 +00:00
moodler
6a08340572 Language key [[guestno]] corrected to [[guestsno]] (bug 4254). 2005-10-31 07:44:47 +00:00
moodler
3ad24ceaeb Fixed typo so dateto uri parameter works. 2005-10-31 07:33:04 +00:00
defacer
3f754e638c Fixing a typo ("=" to "=>") which killed my Moodle after grabbing the latest CVS. 2005-10-31 01:58:42 +00:00
gbateson
1e2b831839 add PARAM_ALPHANUM for Moodle 1.4 and less 2005-10-30 23:32:07 +00:00
gbateson
b24a1f7fe5 improved detection of $quiztype for "mobile" output format 2005-10-30 23:31:33 +00:00
skodak
cda94ae1b8 fixed cleaning before editing SC#163; merged from MOODLE_15_STABLE 2005-10-29 21:40:41 +00:00