3647 Commits

Author SHA1 Message Date
moodler
5884d4e2fd Fixed some array indices 2003-08-25 02:48:09 +00:00
moodler
05c47ef78e FIxed display of ratings when they are literally "0"
Also fixed default discussion display mode
2003-08-25 02:41:25 +00:00
moodler
a20c109058 Fixed a bug when displaying menus with a zero in them 2003-08-25 02:32:20 +00:00
moodler
0761d83f54 Final ratings are now calculated using rounded mean rather than median.
0.5 scores go UP.
2003-08-25 02:22:35 +00:00
moodler
830ce8241b Some fixes for robustness (make sure variables exist before using them
because it flags errors when in debug mode).

Also, when specifying array values by name use quotes around the name

 eg  $array['value'] instead of $array[value]

Finally, I changed the way user restoring works (slightly).  Before, if a
restored user was found to be a course creator or an admin, then this
status was restored.  I don't think this is a good idea - it could lead
to security problems when copying a backup from one site to another,
or if that person's status has changed since the backup was made.
I think it's best to only restore what is actually part of the course,
ie teacher or student.

If this broke anything else let me know!
2003-08-25 01:44:01 +00:00
moodler
7a3ca193d6 No need to always show the resort button 2003-08-25 01:04:11 +00:00
moodler
3695f5b487 Slight fix for displaying logs for courses starting in the future 2003-08-25 00:56:38 +00:00
stronk7
4545fc3890 Solved one condition that caused some errors in Win32 when extracting. 2003-08-24 22:35:57 +00:00
stronk7
fb2fcf3af5 Added some optional_variables to avoid some NOTICES 2003-08-24 14:46:52 +00:00
stronk7
52cef09ecb Added new scales icon to theme 2003-08-23 18:37:42 +00:00
stronk7
9e31a8e49c Cambiadas un par de cadenas a gerundio. 2003-08-23 18:01:27 +00:00
stronk7
300ae26c2d Ooops I commited some debug source code in previous
versions. Going back. Sorry.
2003-08-23 17:40:27 +00:00
stronk7
41923e7511 Solved one problem when copying empty directories. 2003-08-23 17:33:34 +00:00
stronk7
bbc69d99c1 Changed one notify 2003-08-23 17:02:20 +00:00
selliott
e09016006c selliott - fixed some code to allow proper sorting of assignments based on name, lastmodified, and feedback 2003-08-23 16:32:42 +00:00
moodler
1f332285b2 Bump! 2003-08-23 16:31:03 +00:00
rkingdon
0978073ffb Fixing Bug #653. 2003-08-23 15:57:42 +00:00
moodler
c79f9629ed Some extra explanation so that hitting "yes" on the restore screen isn't so scary! :-) 2003-08-23 15:47:57 +00:00
moodler
258c8b09bb A few things added 2003-08-23 15:37:15 +00:00
moodler
8826c67031 New questions created via GUI or imported are now given a unique
stamp, and a default version of 1.

When questions are updated, the version number is incremented.
2003-08-23 15:26:10 +00:00
stronk7
1923285635 Now stamp and version are fully supported in backup/restore.
The process look for category, stamp and version to calculate
when to create a question or use a existing one.
This avoid duplicates in RANDOM and RANDOMSAMATCH qtypes.
2003-08-23 15:21:58 +00:00
moodler
757a0abd94 Corrected the stamp I just added and added a separate version field instead 2003-08-23 14:18:44 +00:00
moodler
b5012f3eb5 COnfiguration variables can now be edited via GUI 2003-08-23 14:03:14 +00:00
moodler
e9d8777ffb New "stamp" field on quiz questions with a unique identifier, as well as
some PostgreSQL fixes (Multianswer stuff had not been done on Postgres yet)
2003-08-23 13:28:32 +00:00
moodler
1ccc73ac3b Use gmdate instead 2003-08-23 12:25:50 +00:00
moodler
280faf9ff7 Added a new function to make a unique ID code, to be used in quiz
questions and elsewhere

It's based on the hostname, time, random string and a supplied version string.
These are packed using '+ separators so they can easily be unpacked if
necessary.

function make_unique_id_code($version=1)
2003-08-23 12:22:27 +00:00
moodler
82ad5e1a9f If the language is the same as the site, then default to using the
same terminology as the site does
2003-08-23 07:26:50 +00:00
moodler
1a5ab4490f Improvements to logs when looking at site logs.
Also, improvements to get_site_users (slower but it works now!)
2003-08-23 06:19:05 +00:00
moodler
742fee1111 Fixed missing "search results" string 2003-08-23 04:39:49 +00:00
stronk7
a057e13d1f Up to 0.8.9 alpha.
Now multianswer questions are working too.
Too complicated !!
2003-08-23 00:36:08 +00:00
stronk7
f53119698e Now multianswer questions are working too.
Too complicated !!
2003-08-23 00:35:21 +00:00
giro123
30c49aa87e Se suma Benito Arias :-) 2003-08-22 18:58:33 +00:00
giro123
2171727fd4 Moodle 1.1 beta 1 2003-08-22 18:55:52 +00:00
rkingdon
6c550a7296 A few addition strings for League Tables and Rubrics. 2003-08-22 18:25:47 +00:00
kaipe
5a22076b10 Correction 2003-08-22 18:20:04 +00:00
kaipe
1ecbe2c476 All question types now have help texts in Swedish 2003-08-22 18:18:09 +00:00
rkingdon
a94928f2f0 Added League Table of Submissions (Final Phase); Rubric Assessment
Strategy; Grace time for new submissions; changed elementid to elementno
in rubrics table.
2003-08-22 17:31:49 +00:00
moodler
eafc0b4470 Teacher forum name in the list is in fact the name of the teacher forum. 2003-08-22 16:35:04 +00:00
moodler
db34bb5992 After rebuilding cache - get the course record again 2003-08-22 16:20:35 +00:00
kaipe
f5626b4c6b Corrected the help text for numerical.html
and also included Numerical in questiontypes.html
2003-08-22 15:58:57 +00:00
stronk7
bbe15ef239 Changed the "graphical" representation of the mod to include
multianswer table. I start working with it now !!
2003-08-22 15:46:28 +00:00
moodler
f3c40f8d3c English spelling for enrol 2003-08-22 15:04:20 +00:00
moodler
2c8cb30c38 Activities can now be drag-and-dropped within side blocks! 2003-08-22 14:55:38 +00:00
moodler
526c0f708f More asjustments to the display of the admin screen 2003-08-22 14:03:40 +00:00
moodler
1074e1ad05 more tweaks to admin menu displays 2003-08-22 13:46:21 +00:00
kaipe
bb9d73d9e1 Corrected translation 2003-08-22 13:44:12 +00:00
moodler
a912de3eb7 Add link on admin page about students, for completeness. In the next
version this link will link to the new enrolment subsystem.

Also reduced font size to make the admin page a bit nicer on small screens.
2003-08-22 13:42:27 +00:00
kaipe
bfe3068c78 *** empty log message *** 2003-08-22 13:34:41 +00:00
moodler
ae5f8de620 Added some more error messages when restoring 2003-08-22 13:20:06 +00:00
moodler
6c2adc074a New files and fixes from Hans De Zwart - thanks! 2003-08-22 13:10:34 +00:00