3666 Commits

Author SHA1 Message Date
moodler
d9be205e79 Fixed an uninitialised variable 2003-08-25 17:30:26 +00:00
moodler
0ff42b0fc9 Fixed locale problem (being overwritten by current locale) 2003-08-25 17:30:08 +00:00
stronk7
e02ff1427e Changed comment, sorry 2003-08-25 17:24:44 +00:00
stronk7
cd6232200c Changed to support "negative" values in scale field. 2003-08-25 17:23:31 +00:00
moodler
555ab2139f Very slight change to "welcometocoursetext" ... added "if you have not
done so already" ... so it makes sense with multiple courses.
2003-08-25 16:53:29 +00:00
moodler
7cd4484090 More time formatting fixups 2003-08-25 16:41:54 +00:00
moodler
50508bb88f FIxing up the 24 hr dates again 2003-08-25 16:39:20 +00:00
moodler
487d3ae84d Removed a wrong help link 2003-08-25 16:31:20 +00:00
moodler
72bb2118b6 Fixed reports using the new scales (numerical etc) 2003-08-25 15:59:39 +00:00
moodler
eb06f902f4 Undoing one of the less then brilliant changes I did earlier today to Eloy's code 2003-08-25 15:47:37 +00:00
moodler
5315b6f2f0 Added a link to the PHP info page from the admin page, and cleaned
up the PHP info page a bit by using a frame.
2003-08-25 14:56:46 +00:00
moodler
ed3957808b Fixed a typo 2003-08-25 13:48:23 +00:00
moodler
d6bdd9d5e9 Forum grades can now be numerical as well (like the other modules).
If so, grades in the gradebook are printed as proper numbers and
contribute to the total of the course.
2003-08-25 12:47:36 +00:00
moodler
f2f564066b Some improvements to the forum editing interface to make the buttons
hide/show appropriately
2003-08-25 08:04:39 +00:00
moodler
98914efdbe New mini-feature. When choosing ratings in a forum, one can now
specify a range of dates.  Only posts within this range can be rated.
If the range isn't specified then all posts can be rated.
2003-08-25 07:39:06 +00:00
moodler
34b7a42851 A bit more info 2003-08-25 04:43:09 +00:00
moodler
b1bacf9c13 Some updates on the future roadmap 2003-08-25 04:38:20 +00:00
moodler
20dc89e50d Put "Source" label after checkbox ... just in case text pushes
the box off screen
2003-08-25 03:48:09 +00:00
moodler
eb94392c4b Sometimes there are no answers, so check existence first 2003-08-25 02:52:19 +00:00
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