moodler [Thu, 7 Aug 2003 16:07:06 +0000 (16:07 +0000)]
New and updated images
moodler [Thu, 7 Aug 2003 16:04:54 +0000 (16:04 +0000)]
Changed function name
moodler [Thu, 7 Aug 2003 16:01:31 +0000 (16:01 +0000)]
Another big checkin.
This includes some significant cleanups to the new course categories
system. The basic idea is that the categories/course browser is now
unified under one system, and admin features related to that have
all been moved into the browser (as little icons).
I'm much happier with this as a foundation that can scale and be
built upon.
Still to go:
- searching
- paging
- polishing
Also in here are a lot of little cleanups around the place, such as
the initial setup process.
moodler [Thu, 7 Aug 2003 15:23:10 +0000 (15:23 +0000)]
Full name of Macedonia
moodler [Thu, 7 Aug 2003 15:17:33 +0000 (15:17 +0000)]
Yugoslavia --> Serbia and Kosovo
moodler [Thu, 7 Aug 2003 11:42:12 +0000 (11:42 +0000)]
A small fix for mail boundary headers that may have been breaking some
mail programs (notably Exchange).
moodler [Thu, 7 Aug 2003 06:56:34 +0000 (06:56 +0000)]
Remove login link on first install
moodler [Wed, 6 Aug 2003 15:32:31 +0000 (15:32 +0000)]
Add two hours to avoid possible daylight savings time problems
danielfetzer [Tue, 5 Aug 2003 16:50:31 +0000 (16:50 +0000)]
*** empty log message ***
moodler [Tue, 5 Aug 2003 11:45:53 +0000 (11:45 +0000)]
Craziness.
kaipe [Tue, 5 Aug 2003 11:39:49 +0000 (11:39 +0000)]
The message "Recently added question!" is shown for questions that have been added since the reviewed attempt was finished.
Closing bug #576
moodler [Tue, 5 Aug 2003 11:36:07 +0000 (11:36 +0000)]
Added help button about cookies
moodler [Tue, 5 Aug 2003 11:35:42 +0000 (11:35 +0000)]
Added Cookies to index
moodler [Tue, 5 Aug 2003 11:34:31 +0000 (11:34 +0000)]
New help file about cookies for login page
moodler [Tue, 5 Aug 2003 05:11:43 +0000 (05:11 +0000)]
Fixed a typo on the multianswer table definition
moodler [Tue, 5 Aug 2003 03:25:16 +0000 (03:25 +0000)]
More missing strings
paca70 [Mon, 4 Aug 2003 19:34:32 +0000 (19:34 +0000)]
To fix authentication issue when same ldap-attribute is used multiple fields in Moodle.
stronk7 [Mon, 4 Aug 2003 18:39:25 +0000 (18:39 +0000)]
Changed "eachattemptbuildsonthelast" column name to
"attemptonlast". Seems to work.
moodler [Mon, 4 Aug 2003 16:07:17 +0000 (16:07 +0000)]
Fixed some missing strings that no-one picked up before!
moodler [Mon, 4 Aug 2003 16:01:09 +0000 (16:01 +0000)]
Quick icons
stronk7 [Mon, 4 Aug 2003 10:38:51 +0000 (10:38 +0000)]
ATTEMPTONLAST are included in backup/restore too !!
stronk7 [Mon, 4 Aug 2003 10:31:12 +0000 (10:31 +0000)]
Changed "eachattemptbuildsonthelast" column name to
"attemptonlast". Seems to work.
danielfetzer [Mon, 4 Aug 2003 08:28:11 +0000 (08:28 +0000)]
*** empty log message ***
moodler [Mon, 4 Aug 2003 05:48:39 +0000 (05:48 +0000)]
Added mailformat to user data returned in class listings.
This fixes a bug where students were getting plain mail only
on forums that were force-subscribed.
moodler [Mon, 4 Aug 2003 05:02:28 +0000 (05:02 +0000)]
Allow site course to have custom words for student and teachers
kaipe [Sun, 3 Aug 2003 23:00:45 +0000 (23:00 +0000)]
New quiz option - "Each attempt builds on the last"
This makes it possible for students to take a tedious quiz, save it half-way and have it graded. The student can then, at a later point, get back to the quiz and have the previous answers already filled in and graded. The student can then continue with the remaining questions as well as redo all the answers that got wrong at the previous attempt.
It seems to work fine with one little twisted exception:
Say that the student attempts the quiz first and that the teacher thereafter edits the quiz and removes or adds a few questions. This will work out fine for as long as the teacher do not get the idea of adding a question with question type RANDOM. The quiz will be fully functional again after removing that RANDOM question or resetting the option 'Each attempt builds on the last" to NO.
Not a very serious problem but it takes someone with greater insight in question type RANDOM to resolve it.
As always, I can not commit lang/en/quiz.php.
---
As I was using the function quiz_get_attempt_responses I had it refactored removing the obsolete argument $quiz. I also changed the call from review.php
stronk7 [Sun, 3 Aug 2003 22:55:56 +0000 (22:55 +0000)]
Added string necessary to backup/restore
kaipe [Sun, 3 Aug 2003 22:54:02 +0000 (22:54 +0000)]
New quiz option - "Each attempt builds on the last"
This makes it possible for students to take a tedious quiz, save it half-way and have it graded. The student can then, at a later point, get back to the quiz and have the previous answers already filled in and graded. The student can then continue with the remaining questions as well as redo all the answers that got wrong at the previous attempt.
It seems to work fine with one little twisted exception:
Say that the student attempts the quiz first and that the teacher thereafter edits the quiz and removes or adds a few questions. This will work out fine for as long as the teacher do not get the idea of adding a question with question type RANDOM. The quiz will be fully functional again after removing that RANDOM question or resetting the option 'Each attempt builds on the last" to NO.
Not a very serious problem but it takes someone with greater insight in question type RANDOM to resolve it.
As always, I can not commit lang/en/quiz.php.
stronk7 [Sun, 3 Aug 2003 22:48:41 +0000 (22:48 +0000)]
Updated.
Now chat modules are included in backup and restore
stronk7 [Sun, 3 Aug 2003 22:46:13 +0000 (22:46 +0000)]
Now chats are restored too !! :-)
stronk7 [Sun, 3 Aug 2003 22:24:01 +0000 (22:24 +0000)]
Now chats are backuped too !! :-)
stronk7 [Sun, 3 Aug 2003 21:49:19 +0000 (21:49 +0000)]
LIMIT is now working properly.
kaipe [Sun, 3 Aug 2003 21:39:32 +0000 (21:39 +0000)]
Resolving bug #576.
This solution shows the message "Recently added question!" and the question text for each question that has been added since the reviewed attempt.
The advantage with the chosen solution is that it will work fine for the (soon to come) "Each attempt builds on the last" quiz option.
As I don't have the karma needed for updating in lang/en/, the message does not yet look quite as I described it above.
kaipe [Sun, 3 Aug 2003 20:02:43 +0000 (20:02 +0000)]
Debugged question types NUMERICAL and MULTIANSWER (known as embedded answers) as these did not do things right whenever a student had not given any response (was treated as zero etc).
For numerical there was also a need to allow typical shortanswer responses whenever there could be answers like n/a, inf, -inf, nan etc.
Further more about numerical, there can be more than one answer alternative defined (just like for shortanswer). This is not supported by numerical.html but everywhere else. MULTIANSWER included, it is up to any taker to update numerical.html. This is more than likely to lead to overlappings between numerical ranges if more than one is defined. Think of the case where the highest grade answer ranges between 0 and 2 and the half grade answer ranges between 2 and 4. How should we grade 2? We should pick the highest grade!
mits [Sun, 3 Aug 2003 17:33:17 +0000 (17:33 +0000)]
New translation.
stronk7 [Sun, 3 Aug 2003 16:41:31 +0000 (16:41 +0000)]
Forget delete some debug, sorry. :-)
stronk7 [Sun, 3 Aug 2003 16:36:29 +0000 (16:36 +0000)]
Now, when a category exists, if we are restoring to a different course,
set utomatically the publish field to 1.
If a question exists in DB (by category, questiontext and qtype) it isn't
duplicated.
This produce some problems restoring answes, but avoid duplicates.
stronk7 [Sun, 3 Aug 2003 15:15:23 +0000 (15:15 +0000)]
Reuse an existing string.
stronk7 [Sun, 3 Aug 2003 15:14:08 +0000 (15:14 +0000)]
More backup related strings...
stronk7 [Sun, 3 Aug 2003 09:39:27 +0000 (09:39 +0000)]
Solved bug. Now user files are checked againt users to backup.
Before this every thir under users was in backup.
paca70 [Sun, 3 Aug 2003 09:20:05 +0000 (09:20 +0000)]
Ask only naminattribute when searching for user.
paca70 [Sun, 3 Aug 2003 09:07:42 +0000 (09:07 +0000)]
Fix from Martin Wwellard to fix PHPs case issue with attribute names.
stronk7 [Sun, 3 Aug 2003 01:05:38 +0000 (01:05 +0000)]
Updated:
- Teachers can backup/restore their courses.
- New option "restore to existing, deleting old".
- backupdata dirname harcoded.
- backup and restore buttons in main course page.
stronk7 [Sun, 3 Aug 2003 00:42:41 +0000 (00:42 +0000)]
Teacher restoring and admin restoring finished.
Allow restore into new course (only admins),
restore into existing course deleting old and
restore into existing course adding to old
Teachers are limited to "current course" while admins ca
select any course. :-)
stronk7 [Sun, 3 Aug 2003 00:40:08 +0000 (00:40 +0000)]
delete_dir_contents function now allows excluding a dir
stronk7 [Sat, 2 Aug 2003 23:37:41 +0000 (23:37 +0000)]
Added suport to new restoreto options
stronk7 [Sat, 2 Aug 2003 23:36:13 +0000 (23:36 +0000)]
Take out backupdir string due to some backup
detected problems related to it.
giro123 [Sat, 2 Aug 2003 19:44:16 +0000 (19:44 +0000)]
*** empty log message ***
stronk7 [Sat, 2 Aug 2003 18:23:58 +0000 (18:23 +0000)]
The restore option in course page is only showed if th
"backupdata" dir exists
stronk7 [Sat, 2 Aug 2003 16:13:44 +0000 (16:13 +0000)]
Now "backupdir" string is hardcoded in backup process.
stronk7 [Sat, 2 Aug 2003 16:06:33 +0000 (16:06 +0000)]
Added preliminary support to teachers.
Not working yet.
stronk7 [Sat, 2 Aug 2003 16:03:00 +0000 (16:03 +0000)]
Now "backupdir" string is hardcoded in backup process.
Backup of logs in chunks is included, but the limit
clause doesn't seem to work. I'll test it later.
moodler [Sat, 2 Aug 2003 11:32:59 +0000 (11:32 +0000)]
Move the code for clearing out a course into a new function:
remove_course_contents()
stronk7 [Sat, 2 Aug 2003 10:32:57 +0000 (10:32 +0000)]
Minor change to allow continue after upgrade_backup
stronk7 [Sat, 2 Aug 2003 10:08:57 +0000 (10:08 +0000)]
Restore option allowed to teachers too.
The course_id is passed to restore.php as a parameter
danielfetzer [Sat, 2 Aug 2003 09:39:38 +0000 (09:39 +0000)]
*** empty log message ***
danielfetzer [Sat, 2 Aug 2003 09:00:37 +0000 (09:00 +0000)]
*** empty log message ***
moodler [Sat, 2 Aug 2003 05:09:04 +0000 (05:09 +0000)]
Adding missing strings.
Instead of Multi Answers, how about "Embedded Answers" ..?
moodler [Sat, 2 Aug 2003 05:05:09 +0000 (05:05 +0000)]
Less fiddly looking icon
moodler [Sat, 2 Aug 2003 05:01:02 +0000 (05:01 +0000)]
Quick icon for multiple answers
danielfetzer [Sat, 2 Aug 2003 00:40:18 +0000 (00:40 +0000)]
*** empty log message ***
stronk7 [Fri, 1 Aug 2003 23:46:49 +0000 (23:46 +0000)]
backup_release is now saved to config too. It was losed in lastest changes
to update module facility !!
stronk7 [Fri, 1 Aug 2003 23:36:07 +0000 (23:36 +0000)]
Chanfed to locate the pclzip properly.
danielfetzer [Fri, 1 Aug 2003 22:21:06 +0000 (22:21 +0000)]
*** empty log message ***
danielfetzer [Fri, 1 Aug 2003 21:06:55 +0000 (21:06 +0000)]
*** empty log message ***
moodler [Fri, 1 Aug 2003 15:30:08 +0000 (15:30 +0000)]
Detailed howto needs to be here ...
moodler [Fri, 1 Aug 2003 15:28:53 +0000 (15:28 +0000)]
More links
moodler [Fri, 1 Aug 2003 15:28:07 +0000 (15:28 +0000)]
Backup stuff
moodler [Fri, 1 Aug 2003 15:26:51 +0000 (15:26 +0000)]
Added a missing help file!
moodler [Fri, 1 Aug 2003 15:19:23 +0000 (15:19 +0000)]
Backup and restore buttons on home page
moodler [Fri, 1 Aug 2003 15:14:49 +0000 (15:14 +0000)]
Some tidying up
moodler [Fri, 1 Aug 2003 15:09:35 +0000 (15:09 +0000)]
New restore link for admins so they can restore courses ...
moodler [Fri, 1 Aug 2003 14:51:19 +0000 (14:51 +0000)]
A quick backup icon
moodler [Fri, 1 Aug 2003 14:42:14 +0000 (14:42 +0000)]
Completed mods to allow teachers to make backups
moodler [Fri, 1 Aug 2003 14:34:11 +0000 (14:34 +0000)]
Removed $moodle_home and $mods_home references.
Also removed direct references to $backup_version and $backup_release
backup.php now accepts teachers of their own course
moodler [Fri, 1 Aug 2003 13:59:17 +0000 (13:59 +0000)]
Further integration of backup into main Moodle.
The database checks/upgrades are now done on the main
admin page like the other modules.
The database files are now standard format .sql and .php files
PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!
kaipe [Fri, 1 Aug 2003 13:24:05 +0000 (13:24 +0000)]
Added the choice of 16.666% for multichoice fraction
kaipe [Fri, 1 Aug 2003 08:37:11 +0000 (08:37 +0000)]
New question type - multianswer
moodler [Fri, 1 Aug 2003 02:32:45 +0000 (02:32 +0000)]
More details on backups
danielfetzer [Fri, 1 Aug 2003 01:02:40 +0000 (01:02 +0000)]
*** empty log message ***
stronk7 [Thu, 31 Jul 2003 18:01:45 +0000 (18:01 +0000)]
Included fix_category_courses() to
adjust the new category structure
johncaptain [Thu, 31 Jul 2003 17:18:39 +0000 (17:18 +0000)]
added: backup Q&A
stronk7 [Thu, 31 Jul 2003 16:56:40 +0000 (16:56 +0000)]
Changed to version.php
(to be more consistent with the rest of the modules)
stronk7 [Thu, 31 Jul 2003 16:55:11 +0000 (16:55 +0000)]
Copied from old backup_version.php
(to be more consistent with the rest of the modules)
stronk7 [Thu, 31 Jul 2003 16:54:05 +0000 (16:54 +0000)]
Changed calls to backup_version.php to version.php
(to be more consistent with the rest of the modules)
stronk7 [Thu, 31 Jul 2003 16:44:52 +0000 (16:44 +0000)]
Variables passed by reference warning is out !!
danielfetzer [Thu, 31 Jul 2003 13:27:25 +0000 (13:27 +0000)]
*** empty log message ***
moodler [Thu, 31 Jul 2003 12:23:49 +0000 (12:23 +0000)]
Removed needless pass-by-reference to avoid warnings BUG 573 Thanks Eloy!
moodler [Thu, 31 Jul 2003 12:18:22 +0000 (12:18 +0000)]
Extended get_records so it can deal with LIMITs now
moodler [Thu, 31 Jul 2003 12:09:17 +0000 (12:09 +0000)]
Moved fix_category_courses to datalib.php so it's more accessible
moodler [Thu, 31 Jul 2003 02:03:59 +0000 (02:03 +0000)]
Removing duplicate
danielfetzer [Wed, 30 Jul 2003 22:35:10 +0000 (22:35 +0000)]
*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 21:26:02 +0000 (21:26 +0000)]
*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 19:36:18 +0000 (19:36 +0000)]
*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 18:02:38 +0000 (18:02 +0000)]
*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 17:34:18 +0000 (17:34 +0000)]
*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 17:12:06 +0000 (17:12 +0000)]
*** empty log message ***
stronk7 [Wed, 30 Jul 2003 17:10:01 +0000 (17:10 +0000)]
Two more backup related strings
stronk7 [Wed, 30 Jul 2003 16:29:53 +0000 (16:29 +0000)]
Uncommented clean_temp_data. I forgot it
in lastest tests...
danielfetzer [Wed, 30 Jul 2003 15:33:21 +0000 (15:33 +0000)]
*** empty log message ***