moodle.git
15 years agoConvert the text cache to use a blob, so that there are no character set
moodler [Mon, 10 Apr 2006 07:17:26 +0000 (07:17 +0000)]
Convert the text cache to use a blob, so that there are no character set
issues:   see bug 5136

15 years agoagreelicence was not set
toyomoyo [Mon, 10 Apr 2006 06:35:10 +0000 (06:35 +0000)]
agreelicence was not set

15 years agobumping up version to change int(11) to int(10)
toyomoyo [Mon, 10 Apr 2006 06:26:59 +0000 (06:26 +0000)]
bumping up version to change int(11) to int(10)

15 years agochanged some int(11) to int(10)
toyomoyo [Mon, 10 Apr 2006 06:26:07 +0000 (06:26 +0000)]
changed some int(11) to int(10)

15 years agomigration for blogs and tags
toyomoyo [Mon, 10 Apr 2006 06:08:13 +0000 (06:08 +0000)]
migration for blogs and tags

15 years agoFixing bug (Postgres related):
vyshane [Mon, 10 Apr 2006 05:59:48 +0000 (05:59 +0000)]
Fixing bug (Postgres related):

ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list

15 years agoquestion->qtype
toyomoyo [Mon, 10 Apr 2006 05:08:19 +0000 (05:08 +0000)]
question->qtype

15 years agoconvertion to unicode data_content -> content(1 to 4)
toyomoyo [Mon, 10 Apr 2006 05:03:38 +0000 (05:03 +0000)]
convertion to unicode data_content -> content(1 to 4)

15 years agoFixed Bug #5071 - The script uploaduser.php ignores the rest of records after
vyshane [Mon, 10 Apr 2006 04:54:34 +0000 (04:54 +0000)]
Fixed Bug #5071 - The script uploaduser.php ignores the rest of records after
the first one

15 years agoReverting changes to print_simple_box for now until the new div can be
moodler [Mon, 10 Apr 2006 01:39:38 +0000 (01:39 +0000)]
Reverting changes to print_simple_box for now until the new div can be
rolled out without problems.  See bug 4943

15 years agoAdd one space in the list of langs used to allow the text to flush.
stronk7 [Sun, 9 Apr 2006 23:37:14 +0000 (23:37 +0000)]
Add one space in the list of langs used to allow the text to flush.

15 years agoInitial revision
stronk7 [Sun, 9 Apr 2006 23:36:53 +0000 (23:36 +0000)]
Initial revision

15 years agoSmall change to question_print_comment_box() to allow multiple boxes on one page
gustav_delius [Sun, 9 Apr 2006 22:48:58 +0000 (22:48 +0000)]
Small change to question_print_comment_box() to allow multiple boxes on one page

15 years agoTaking out random question hack that is no longer needed.
gustav_delius [Sun, 9 Apr 2006 22:43:22 +0000 (22:43 +0000)]
Taking out random question hack that is no longer needed.

15 years agoSimplify text on submit button
gustav_delius [Sun, 9 Apr 2006 22:31:59 +0000 (22:31 +0000)]
Simplify text on submit button

15 years agoMake sure all random questions have their parent field correctly set, just in case...
gustav_delius [Sun, 9 Apr 2006 21:59:55 +0000 (21:59 +0000)]
Make sure all random questions have their parent field correctly set, just in case something went wrong here in the past. This may have been the cause of bug 5137

15 years agoMake student name into a link on the review page
gustav_delius [Sun, 9 Apr 2006 21:58:58 +0000 (21:58 +0000)]
Make student name into a link on the review page

15 years agoPreventig bug affecting sites with modified wwwroot and
stronk7 [Sun, 9 Apr 2006 21:39:49 +0000 (21:39 +0000)]
Preventig bug affecting sites with modified wwwroot and
custom admin dir. Bug 5031.
(http://moodle.org/bugs/bug.php?op=show&bugid=5031)

15 years agoSmall fix so that unattempted questions would never be marked
gustav_delius [Sun, 9 Apr 2006 21:35:44 +0000 (21:35 +0000)]
Small fix so that unattempted questions would never be marked

15 years agofixed double prefix bug
skodak [Sun, 9 Apr 2006 21:25:30 +0000 (21:25 +0000)]
fixed double prefix bug

15 years agoSuppress pivot output from Date view. It hasn't too much sense there.
stronk7 [Sun, 9 Apr 2006 11:06:19 +0000 (11:06 +0000)]
Suppress pivot output from Date view. It hasn't too much sense there.

15 years agoSolve some upperpivot notices and wrong behaviours. More coming...
stronk7 [Sun, 9 Apr 2006 10:59:39 +0000 (10:59 +0000)]
Solve some upperpivot notices and wrong behaviours. More coming...

15 years agoremoved !important from border definition of the sideblock calender to be able to...
urs_hunkler [Sun, 9 Apr 2006 10:49:14 +0000 (10:49 +0000)]
removed !important from border definition of the sideblock calender to be able to style it in the theme

15 years agoSome defaults applied to paramenters was preventing defaults based
stronk7 [Sun, 9 Apr 2006 10:45:14 +0000 (10:45 +0000)]
Some defaults applied to paramenters was preventing defaults based
on formats to work properly.

15 years agoNow searchbox table is closed by hand, because print_simple_box_xxx()
stronk7 [Sun, 9 Apr 2006 09:11:18 +0000 (09:11 +0000)]
Now searchbox table is closed by hand, because print_simple_box_xxx()
methods (div based) were breaking things a bit here. Bug 5087)
(http://moodle.org/bugs/bug.php?op=show&bugid=5087)

15 years agoRemoving unnecessary boxes
moodler [Sun, 9 Apr 2006 07:50:19 +0000 (07:50 +0000)]
Removing unnecessary boxes

15 years agoSome missing blog strings
moodler [Sun, 9 Apr 2006 07:47:55 +0000 (07:47 +0000)]
Some missing blog strings

15 years agoAdd a navmenu to the loginas page
moodler [Sun, 9 Apr 2006 07:25:57 +0000 (07:25 +0000)]
Add a navmenu to the loginas page

15 years agoAdded some missing optional_params (bug 5125) Thanks Scott Elliott for the fix
moodler [Sun, 9 Apr 2006 02:06:26 +0000 (02:06 +0000)]
Added some missing optional_params  (bug 5125)  Thanks Scott Elliott for the fix

15 years agoUpdated questiontype.php to make essay compatible with manual grading (aka removed...
mark-nielsen [Sat, 8 Apr 2006 21:51:29 +0000 (21:51 +0000)]
Updated questiontype.php to make essay compatible with manual grading (aka removed a lot of code).

Adding display.html as a display html template for the essay question type

TODO: drop the question_essay_states table and migrate comments to question_sessions

15 years agoAdded $prefix to form fields so that this code could be used with manual grading
mark-nielsen [Sat, 8 Apr 2006 21:48:31 +0000 (21:48 +0000)]
Added $prefix to form fields so that this code could be used with manual grading

15 years agoMinor updates:
mark-nielsen [Sat, 8 Apr 2006 21:46:59 +0000 (21:46 +0000)]
Minor updates:
  comments no longer print inside the question (only in the textfield)
  fixed problem with quotes by adding addslashes

15 years agoUpdated the form handling code. This report is now functional again.
mark-nielsen [Sat, 8 Apr 2006 20:55:03 +0000 (20:55 +0000)]
Updated the form handling code.  This report is now functional again.

15 years agomodified based onf standard theme.
mits [Sat, 8 Apr 2006 20:51:38 +0000 (20:51 +0000)]
modified based onf standard theme.

15 years agoUpdated viewquestion to be more generic and moved it to its own function
mark-nielsen [Sat, 8 Apr 2006 18:56:39 +0000 (18:56 +0000)]
Updated viewquestion to be more generic and moved it to its own function

15 years agoUpdated the viewquestions action to be more generic so that any manually graded quest...
mark-nielsen [Sat, 8 Apr 2006 18:24:49 +0000 (18:24 +0000)]
Updated the viewquestions action to be more generic so that any manually graded question type would be compatible.
Moved viewquestions code to function view_questions.  This is an attempt to make the code much more readable.  All action code will eventually be moved to its own function.

15 years agoremoved the empty span from header.html and added the clearfix class to the navbar...
urs_hunkler [Sat, 8 Apr 2006 17:12:05 +0000 (17:12 +0000)]
removed the empty span from header.html and added the clearfix class to the navbar and to the header divs. this repairs Bug #5051

15 years agoFix for bug 5132, search now no longer prevents display of
moodler [Sat, 8 Apr 2006 16:33:16 +0000 (16:33 +0000)]
Fix for bug 5132, search now no longer prevents display of
arbitrary single records

15 years agoJust to avoid browsing of block directory
moodler [Sat, 8 Apr 2006 16:05:38 +0000 (16:05 +0000)]
Just to avoid browsing of block directory

15 years agocorrected font-style: none to normal
urs_hunkler [Sat, 8 Apr 2006 15:53:28 +0000 (15:53 +0000)]
corrected font-style: none to normal

15 years agocopied back the CSS for the timer positioning from version 1.12
urs_hunkler [Sat, 8 Apr 2006 15:06:36 +0000 (15:06 +0000)]
copied back the CSS for the timer positioning from version 1.12

15 years agoFixed some small xhtml problems and removed a warning
gustav_delius [Sat, 8 Apr 2006 14:20:52 +0000 (14:20 +0000)]
Fixed some small xhtml problems and removed a warning

15 years agocopied back the CSS for Item analysis and for grading
urs_hunkler [Sat, 8 Apr 2006 12:25:06 +0000 (12:25 +0000)]
copied back the CSS for Item analysis and for grading

15 years agoChanged the Make comment or override grade link display the comment field and grade...
mark-nielsen [Sat, 8 Apr 2006 10:29:25 +0000 (10:29 +0000)]
Changed the Make comment or override grade link display the comment field and grade field in review.php instead of popup

15 years agosubmit button for teacher comment is now included in question_print_comment_box
gustav_delius [Sat, 8 Apr 2006 08:22:18 +0000 (08:22 +0000)]
submit button for teacher comment is now included in question_print_comment_box

15 years agoMoved the submit button to question_print_comment_box in lib/questionlib.php
mark-nielsen [Sat, 8 Apr 2006 08:16:04 +0000 (08:16 +0000)]
Moved the submit button to question_print_comment_box in lib/questionlib.php

15 years agoThis has extra code to exclude preview attempts from the grading
gustav_delius [Sat, 8 Apr 2006 08:13:26 +0000 (08:13 +0000)]
This has extra code to exclude preview attempts from the grading

15 years agoNow get_config() is executed after "set names", so textual data retrieved
stronk7 [Fri, 7 Apr 2006 23:57:38 +0000 (23:57 +0000)]
Now get_config() is executed after "set names", so textual data retrieved
from the config table has the proper encoding. Bug 5043.
(http://moodle.org/bugs/bug.php?op=show&bugid=5043)

15 years agoMoving $CFG->ostype and $CFG->os setting, because
stronk7 [Fri, 7 Apr 2006 22:58:07 +0000 (22:58 +0000)]
Moving $CFG->ostype and $CFG->os setting, because
report_session_error() was being executed before setting
such variables and moodle_setlocale() need them.
(http://moodle.org/mod/forum/discuss.php?d=43466)

15 years agoIntroduced a new class=mdl-align with the CSS text-align: center as a base to replace...
urs_hunkler [Fri, 7 Apr 2006 16:21:27 +0000 (16:21 +0000)]
Introduced a new class=mdl-align with the CSS text-align: center as a base to replace the DEPRECATED center tags in Moodle

15 years agoreplaced DEPRECATED center tag with a div. introduced a new class=mdl-align with...
urs_hunkler [Fri, 7 Apr 2006 16:17:17 +0000 (16:17 +0000)]
replaced DEPRECATED center tag with a div. introduced a new class=mdl-align with the CSS text-align: center

15 years agoManual grading
gustav_delius [Fri, 7 Apr 2006 16:00:29 +0000 (16:00 +0000)]
Manual grading

15 years agoSet the last modified time of the style sheet to the current time
moodler [Fri, 7 Apr 2006 15:07:52 +0000 (15:07 +0000)]
Set the last modified time of the style sheet to the current time

15 years agoFixing a typo: http://moodle.org/mod/forum/discuss.php?d=41814#199162
moodler [Fri, 7 Apr 2006 15:03:51 +0000 (15:03 +0000)]
Fixing a typo:  moodle.org/mod/forum/discuss.php?d=41814#199162

15 years agoMerged fixes for forum_user_can_view_post from stable
moodler [Fri, 7 Apr 2006 14:54:52 +0000 (14:54 +0000)]
Merged fixes for forum_user_can_view_post from stable

15 years agostatic $timediff30. Call once only.
ethem [Fri, 7 Apr 2006 11:23:10 +0000 (11:23 +0000)]
static $timediff30. Call once only.

15 years agoFix MB 5099, "Make CSS requests expire in IE", fix 'max-age=' as per http://www.w3...
nfreear [Fri, 7 Apr 2006 10:18:03 +0000 (10:18 +0000)]
Fix MB 5099, "Make CSS requests expire in IE", fix 'max-age=' as per w3.org/Protocols/rfc2616/rfc2616-sec14.html, override $lastmodified parameter (OU-Bugz: 851)

15 years agochanged the CSS to add backward compatinility for headers using tables.related to...
urs_hunkler [Fri, 7 Apr 2006 08:46:11 +0000 (08:46 +0000)]
changed the CSS to add backward compatinility for headers using tables.related to  #bug4913

15 years agoclass clearfix is the medicine against collapsing divs, see bug 5119
gustav_delius [Fri, 7 Apr 2006 07:55:48 +0000 (07:55 +0000)]
class clearfix is the medicine against collapsing divs, see bug 5119

15 years agoprint_simple_box_start with width
ethem [Fri, 7 Apr 2006 07:34:32 +0000 (07:34 +0000)]
print_simple_box_start with width

15 years agoFIxed a string
moodler [Fri, 7 Apr 2006 07:03:03 +0000 (07:03 +0000)]
FIxed a string

15 years agoFIxed activity reporting for database activities
moodler [Fri, 7 Apr 2006 07:02:53 +0000 (07:02 +0000)]
FIxed activity reporting for database activities

15 years agoReplaced layout table around question by div. Doesn't display right in firefox yet.
gustav_delius [Fri, 7 Apr 2006 06:08:55 +0000 (06:08 +0000)]
Replaced layout table around question by div. Doesn't display right in firefox yet.

15 years agoIntroduce field for teacher comments, in preparation for manual grading. I am afraid...
gustav_delius [Fri, 7 Apr 2006 05:28:18 +0000 (05:28 +0000)]
Introduce field for teacher comments, in preparation for manual grading. I am afraid I forgot to commit this yesterday, so now it is possible that some new beta testers installed Moodle without this new field.

15 years ago[BugFix] Action was using global variables - now is fetched with optional_param
mark-nielsen [Thu, 6 Apr 2006 23:03:08 +0000 (23:03 +0000)]
[BugFix] Action was using global variables - now is fetched with optional_param

15 years agoTo show navbar background-image on admin page correctly added "width:100%;".
mits [Thu, 6 Apr 2006 21:19:44 +0000 (21:19 +0000)]
To show navbar background-image on admin page correctly added "width:100%;".

15 years agocouple of bugs when no data returned.
danmarsden [Thu, 6 Apr 2006 20:42:35 +0000 (20:42 +0000)]
couple of bugs when no data returned.

15 years agoFixing a large number of tidy warnings
gustav_delius [Thu, 6 Apr 2006 20:35:49 +0000 (20:35 +0000)]
Fixing a large number of tidy warnings

15 years agoImprovements to response history. Three small bug fixes.
gustav_delius [Thu, 6 Apr 2006 19:59:02 +0000 (19:59 +0000)]
Improvements to response history. Three small bug fixes.

15 years agoFix 2, bug 4943: "print_simple_box behaviour changed". Centred is now default alignme...
nfreear [Thu, 6 Apr 2006 17:21:04 +0000 (17:21 +0000)]
Fix 2, bug 4943: "print_simple_box behaviour changed". Centred is now default alignment; for centred no-width specified, width=30em.

15 years agoMore clean ups
moodler [Thu, 6 Apr 2006 17:12:55 +0000 (17:12 +0000)]
More clean ups

15 years agoSome code cleanup, relying more on the functions from questionlib.php. Not currently...
gustav_delius [Thu, 6 Apr 2006 16:45:14 +0000 (16:45 +0000)]
Some code cleanup, relying more on the functions from questionlib.php. Not currently functional, awaiting the central manual grading feature.

15 years agoJean-Michel's fix to the get_actual_responses() method
gustav_delius [Thu, 6 Apr 2006 16:43:41 +0000 (16:43 +0000)]
Jean-Michel's fix to the get_actual_responses() method

15 years agoIntroduce field for teacher comments, in preparation for manual grading
gustav_delius [Thu, 6 Apr 2006 16:42:00 +0000 (16:42 +0000)]
Introduce field for teacher comments, in preparation for manual grading

15 years agoFixes from Dan Stowell to support thumbnail images, with some modifications
moodler [Thu, 6 Apr 2006 16:20:50 +0000 (16:20 +0000)]
Fixes from Dan Stowell to support thumbnail images, with some modifications
from me to remove unnecessary messages.    bug 5011

15 years agoFixing some documentation.
moodler [Thu, 6 Apr 2006 15:26:44 +0000 (15:26 +0000)]
Fixing some documentation.

get_records etc are not inefficient if used correctly, and result in MUCH
more readable code that get_recordset does.

I'm already starting to see code being submitted that takes these
instructions literally and it looks like Java.  :-(

15 years agoMinor improvements to IMS-E enrol - better handling of empty <userid></userid>
danstowell [Thu, 6 Apr 2006 14:06:40 +0000 (14:06 +0000)]
Minor improvements to IMS-E enrol - better handling of empty <userid></userid>

15 years agoReplace require_variable() by required_param()
gustav_delius [Thu, 6 Apr 2006 12:56:37 +0000 (12:56 +0000)]
Replace require_variable() by required_param()

15 years agoSupply default values for more arguments of question_list()
gustav_delius [Thu, 6 Apr 2006 12:54:48 +0000 (12:54 +0000)]
Supply default values for more arguments of question_list()

15 years agochanged the CSS for navbutton to position the 2 buttons side by side. #bug4913
urs_hunkler [Thu, 6 Apr 2006 07:35:40 +0000 (07:35 +0000)]
changed the CSS for navbutton to position the 2 buttons side by side. #bug4913

15 years agoSome info about the PHP license and PEAR (we are going to keep it in Moodle)
moodler [Thu, 6 Apr 2006 06:31:38 +0000 (06:31 +0000)]
Some info about the PHP license and PEAR (we are going to keep it in Moodle)

15 years agoFIxed some box sizes, and added hooks for Matt Oquists portfolio stuff
moodler [Thu, 6 Apr 2006 01:38:52 +0000 (01:38 +0000)]
FIxed some box sizes, and added hooks for Matt Oquists portfolio stuff

15 years agoOverride doc link for postgresql migration
patrickslee [Wed, 5 Apr 2006 23:41:59 +0000 (23:41 +0000)]
Override doc link for postgresql migration

15 years agoHehe, setup itself was using register_globals hack! ;-)
stronk7 [Wed, 5 Apr 2006 23:29:46 +0000 (23:29 +0000)]
Hehe, setup itself was using register_globals hack! ;-)
Now the lang menu is working again.

Note: I've used the PARAM_SAFEDIR flag because it's the
only one supporting alpha+digits+underscore. Its name
doesn't seem to be perfect for this. Perhaps we should
create some alias?

15 years agoNow graphlib also works with ttf fonts installed under
stronk7 [Wed, 5 Apr 2006 23:03:18 +0000 (23:03 +0000)]
Now graphlib also works with ttf fonts installed under
moodledata/lang dir. Rest of functionality not modified.

15 years agoDefault TrueType font updated from (http://www.nongnu.org/freefont/)
stronk7 [Wed, 5 Apr 2006 22:48:14 +0000 (22:48 +0000)]
Default TrueType font updated from (nongnu.org/freefont/)
It seems to support all the European character sets (latin + cyrillic +
greek). The rest will need to add their custom font to the langpack.

15 years agoSmall change in MySQL. Seems to work better under any version
stronk7 [Wed, 5 Apr 2006 22:14:24 +0000 (22:14 +0000)]
Small change in MySQL. Seems to work better under any version
(tested over MySQL 4.1.12, 4.1.16, 5.0.18 and 5.0.19) Bug 5055.
(http://moodle.org/bugs/bug.php?op=show&bugid=5055)

15 years agoFixing stupid typos from previous commit
gustav_delius [Wed, 5 Apr 2006 20:02:37 +0000 (20:02 +0000)]
Fixing stupid typos from previous commit

15 years agoFix to make it work without globals hack
gustav_delius [Wed, 5 Apr 2006 19:43:42 +0000 (19:43 +0000)]
Fix to make it work without globals hack

15 years agoFix to make it work without globals hack
gustav_delius [Wed, 5 Apr 2006 19:35:51 +0000 (19:35 +0000)]
Fix to make it work without globals hack

15 years agoRemoved some unnecessary code
gustav_delius [Wed, 5 Apr 2006 18:52:37 +0000 (18:52 +0000)]
Removed some unnecessary code

15 years agoDon't duplicate site name in navigation bar
gustav_delius [Wed, 5 Apr 2006 17:37:59 +0000 (17:37 +0000)]
Don't duplicate site name in navigation bar

15 years agobug #2569. 'Open dialogues' and 'Closed dialogues' now have their own strings
thepurpleblob [Wed, 5 Apr 2006 13:48:01 +0000 (13:48 +0000)]
bug #2569. 'Open dialogues' and 'Closed dialogues' now have their own strings
rather than contatenating existing ones.

15 years agoAdded a missing index for some sites (bug 5100)
moodler [Wed, 5 Apr 2006 13:45:14 +0000 (13:45 +0000)]
Added a missing index for some sites (bug 5100)

15 years agoHide order details if an action emerges. (actions: capture, delete, refund, void)
ethem [Wed, 5 Apr 2006 10:08:57 +0000 (10:08 +0000)]
Hide order details if an action emerges. (actions: capture, delete, refund, void)

15 years agoPrevent student from seeing quiz when closed, bug 5070
gustav_delius [Wed, 5 Apr 2006 09:43:29 +0000 (09:43 +0000)]
Prevent student from seeing quiz when closed, bug 5070

15 years agoAuto-capture strings changed to scheduled-capture.
ethem [Wed, 5 Apr 2006 08:43:04 +0000 (08:43 +0000)]
Auto-capture strings changed to scheduled-capture.

15 years agoNo need to restrict where RSS feeds can be displayed
moodler [Wed, 5 Apr 2006 08:35:40 +0000 (08:35 +0000)]
No need to restrict where RSS feeds can be displayed

15 years agoShow errors in original language.
ethem [Wed, 5 Apr 2006 08:28:12 +0000 (08:28 +0000)]
Show errors in original language.
You can't do this action: native_action

15 years agoFixed some pretty major HTML errors :-) bug 5089
moodler [Wed, 5 Apr 2006 08:19:09 +0000 (08:19 +0000)]
Fixed some pretty major HTML errors  :-)     bug 5089