moodle.git
18 years agoNew and updated images
moodler [Thu, 7 Aug 2003 16:07:06 +0000 (16:07 +0000)]
New and updated images

18 years agoChanged function name
moodler [Thu, 7 Aug 2003 16:04:54 +0000 (16:04 +0000)]
Changed function name

18 years agoAnother big checkin.
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.

18 years agoFull name of Macedonia
moodler [Thu, 7 Aug 2003 15:23:10 +0000 (15:23 +0000)]
Full name of Macedonia

18 years agoYugoslavia --> Serbia and Kosovo
moodler [Thu, 7 Aug 2003 15:17:33 +0000 (15:17 +0000)]
Yugoslavia --> Serbia and Kosovo

18 years agoA small fix for mail boundary headers that may have been breaking some
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).

18 years agoRemove login link on first install
moodler [Thu, 7 Aug 2003 06:56:34 +0000 (06:56 +0000)]
Remove login link on first install

18 years agoAdd two hours to avoid possible daylight savings time problems
moodler [Wed, 6 Aug 2003 15:32:31 +0000 (15:32 +0000)]
Add two hours to avoid possible daylight savings time problems

18 years ago*** empty log message ***
danielfetzer [Tue, 5 Aug 2003 16:50:31 +0000 (16:50 +0000)]
*** empty log message ***

18 years agoCraziness.
moodler [Tue, 5 Aug 2003 11:45:53 +0000 (11:45 +0000)]
Craziness.

18 years agoThe message "Recently added question!" is shown for questions that have been added...
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

18 years agoAdded help button about cookies
moodler [Tue, 5 Aug 2003 11:36:07 +0000 (11:36 +0000)]
Added help button about cookies

18 years agoAdded Cookies to index
moodler [Tue, 5 Aug 2003 11:35:42 +0000 (11:35 +0000)]
Added Cookies to index

18 years agoNew help file about cookies for login page
moodler [Tue, 5 Aug 2003 11:34:31 +0000 (11:34 +0000)]
New help file about cookies for login page

18 years agoFixed a typo on the multianswer table definition
moodler [Tue, 5 Aug 2003 05:11:43 +0000 (05:11 +0000)]
Fixed a typo on the multianswer table definition

18 years agoMore missing strings
moodler [Tue, 5 Aug 2003 03:25:16 +0000 (03:25 +0000)]
More missing strings

18 years agoTo fix authentication issue when same ldap-attribute is used multiple fields in Moodle.
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.

18 years agoChanged "eachattemptbuildsonthelast" column name to
stronk7 [Mon, 4 Aug 2003 18:39:25 +0000 (18:39 +0000)]
Changed "eachattemptbuildsonthelast" column name to
"attemptonlast". Seems to work.

18 years agoFixed some missing strings that no-one picked up before!
moodler [Mon, 4 Aug 2003 16:07:17 +0000 (16:07 +0000)]
Fixed some missing strings that no-one picked up before!

18 years agoQuick icons
moodler [Mon, 4 Aug 2003 16:01:09 +0000 (16:01 +0000)]
Quick icons

18 years agoATTEMPTONLAST are included in backup/restore too !!
stronk7 [Mon, 4 Aug 2003 10:38:51 +0000 (10:38 +0000)]
ATTEMPTONLAST are included in backup/restore too !!

18 years agoChanged "eachattemptbuildsonthelast" column name to
stronk7 [Mon, 4 Aug 2003 10:31:12 +0000 (10:31 +0000)]
Changed "eachattemptbuildsonthelast" column name to
"attemptonlast". Seems to work.

18 years ago*** empty log message ***
danielfetzer [Mon, 4 Aug 2003 08:28:11 +0000 (08:28 +0000)]
*** empty log message ***

18 years agoAdded mailformat to user data returned in class listings.
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.

18 years agoAllow site course to have custom words for student and teachers
moodler [Mon, 4 Aug 2003 05:02:28 +0000 (05:02 +0000)]
Allow site course to have custom words for student and teachers

18 years agoNew quiz option - "Each attempt builds on the last"
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

18 years agoAdded string necessary to backup/restore
stronk7 [Sun, 3 Aug 2003 22:55:56 +0000 (22:55 +0000)]
Added string necessary to backup/restore

18 years agoNew quiz option - "Each attempt builds on the last"
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.

18 years agoUpdated.
stronk7 [Sun, 3 Aug 2003 22:48:41 +0000 (22:48 +0000)]
Updated.
Now chat modules are included in backup and restore

18 years agoNow chats are restored too !! :-)
stronk7 [Sun, 3 Aug 2003 22:46:13 +0000 (22:46 +0000)]
Now chats are restored too !! :-)

18 years agoNow chats are backuped too !! :-)
stronk7 [Sun, 3 Aug 2003 22:24:01 +0000 (22:24 +0000)]
Now chats are backuped too !! :-)

18 years agoLIMIT is now working properly.
stronk7 [Sun, 3 Aug 2003 21:49:19 +0000 (21:49 +0000)]
LIMIT is now working properly.

18 years agoResolving bug #576.
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.

18 years agoDebugged question types NUMERICAL and MULTIANSWER (known as embedded answers) as...
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!

18 years agoNew translation.
mits [Sun, 3 Aug 2003 17:33:17 +0000 (17:33 +0000)]
New translation.

18 years agoForget delete some debug, sorry. :-)
stronk7 [Sun, 3 Aug 2003 16:41:31 +0000 (16:41 +0000)]
Forget delete some debug, sorry. :-)

18 years agoNow, when a category exists, if we are restoring to a different course,
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.

18 years agoReuse an existing string.
stronk7 [Sun, 3 Aug 2003 15:15:23 +0000 (15:15 +0000)]
Reuse an existing string.

18 years agoMore backup related strings...
stronk7 [Sun, 3 Aug 2003 15:14:08 +0000 (15:14 +0000)]
More backup related strings...

18 years agoSolved bug. Now user files are checked againt users to backup.
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.

18 years agoAsk only naminattribute when searching for user.
paca70 [Sun, 3 Aug 2003 09:20:05 +0000 (09:20 +0000)]
Ask only naminattribute when searching for user.

18 years agoFix from Martin Wwellard to fix PHPs case issue with attribute names.
paca70 [Sun, 3 Aug 2003 09:07:42 +0000 (09:07 +0000)]
Fix from Martin Wwellard to fix PHPs case issue with attribute names.

18 years agoUpdated:
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.

18 years agoTeacher restoring and admin restoring finished.
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. :-)

18 years agodelete_dir_contents function now allows excluding a dir
stronk7 [Sun, 3 Aug 2003 00:40:08 +0000 (00:40 +0000)]
delete_dir_contents function now allows excluding a dir

18 years agoAdded suport to new restoreto options
stronk7 [Sat, 2 Aug 2003 23:37:41 +0000 (23:37 +0000)]
Added suport to new restoreto options

18 years agoTake out backupdir string due to some backup
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.

18 years ago*** empty log message ***
giro123 [Sat, 2 Aug 2003 19:44:16 +0000 (19:44 +0000)]
*** empty log message ***

18 years agoThe restore option in course page is only showed if th
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

18 years agoNow "backupdir" string is hardcoded in backup process.
stronk7 [Sat, 2 Aug 2003 16:13:44 +0000 (16:13 +0000)]
Now "backupdir" string is hardcoded in backup process.

18 years agoAdded preliminary support to teachers.
stronk7 [Sat, 2 Aug 2003 16:06:33 +0000 (16:06 +0000)]
Added preliminary support to teachers.
Not working yet.

18 years agoNow "backupdir" string is hardcoded in backup process.
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.

18 years agoMove the code for clearing out a course into a new function:
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()

18 years agoMinor change to allow continue after upgrade_backup
stronk7 [Sat, 2 Aug 2003 10:32:57 +0000 (10:32 +0000)]
Minor change to allow continue after upgrade_backup

18 years agoRestore option allowed to teachers too.
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

18 years ago*** empty log message ***
danielfetzer [Sat, 2 Aug 2003 09:39:38 +0000 (09:39 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
danielfetzer [Sat, 2 Aug 2003 09:00:37 +0000 (09:00 +0000)]
*** empty log message ***

18 years agoAdding missing strings.
moodler [Sat, 2 Aug 2003 05:09:04 +0000 (05:09 +0000)]
Adding missing strings.

Instead of Multi Answers, how about "Embedded Answers" ..?

18 years agoLess fiddly looking icon
moodler [Sat, 2 Aug 2003 05:05:09 +0000 (05:05 +0000)]
Less fiddly looking icon

18 years agoQuick icon for multiple answers
moodler [Sat, 2 Aug 2003 05:01:02 +0000 (05:01 +0000)]
Quick icon for multiple answers

18 years ago*** empty log message ***
danielfetzer [Sat, 2 Aug 2003 00:40:18 +0000 (00:40 +0000)]
*** empty log message ***

18 years agobackup_release is now saved to config too. It was losed in lastest changes
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 !!

18 years agoChanfed to locate the pclzip properly.
stronk7 [Fri, 1 Aug 2003 23:36:07 +0000 (23:36 +0000)]
Chanfed to locate the pclzip properly.

18 years ago*** empty log message ***
danielfetzer [Fri, 1 Aug 2003 22:21:06 +0000 (22:21 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
danielfetzer [Fri, 1 Aug 2003 21:06:55 +0000 (21:06 +0000)]
*** empty log message ***

18 years agoDetailed howto needs to be here ...
moodler [Fri, 1 Aug 2003 15:30:08 +0000 (15:30 +0000)]
Detailed howto needs to be here ...

18 years agoMore links
moodler [Fri, 1 Aug 2003 15:28:53 +0000 (15:28 +0000)]
More links

18 years agoBackup stuff
moodler [Fri, 1 Aug 2003 15:28:07 +0000 (15:28 +0000)]
Backup stuff

18 years agoAdded a missing help file!
moodler [Fri, 1 Aug 2003 15:26:51 +0000 (15:26 +0000)]
Added a missing help file!

18 years agoBackup and restore buttons on home page
moodler [Fri, 1 Aug 2003 15:19:23 +0000 (15:19 +0000)]
Backup and restore buttons on home page

18 years agoSome tidying up
moodler [Fri, 1 Aug 2003 15:14:49 +0000 (15:14 +0000)]
Some tidying up

18 years agoNew restore link for admins so they can restore courses ...
moodler [Fri, 1 Aug 2003 15:09:35 +0000 (15:09 +0000)]
New restore link for admins so they can restore courses ...

18 years agoA quick backup icon
moodler [Fri, 1 Aug 2003 14:51:19 +0000 (14:51 +0000)]
A quick backup icon

18 years agoCompleted mods to allow teachers to make backups
moodler [Fri, 1 Aug 2003 14:42:14 +0000 (14:42 +0000)]
Completed mods to allow teachers to make backups

18 years agoRemoved $moodle_home and $mods_home references.
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

18 years agoFurther integration of backup into main Moodle.
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!!

18 years agoAdded the choice of 16.666% for multichoice fraction
kaipe [Fri, 1 Aug 2003 13:24:05 +0000 (13:24 +0000)]
Added the choice of 16.666% for multichoice fraction

18 years agoNew question type - multianswer
kaipe [Fri, 1 Aug 2003 08:37:11 +0000 (08:37 +0000)]
New question type - multianswer

18 years agoMore details on backups
moodler [Fri, 1 Aug 2003 02:32:45 +0000 (02:32 +0000)]
More details on backups

18 years ago*** empty log message ***
danielfetzer [Fri, 1 Aug 2003 01:02:40 +0000 (01:02 +0000)]
*** empty log message ***

18 years agoIncluded fix_category_courses() to
stronk7 [Thu, 31 Jul 2003 18:01:45 +0000 (18:01 +0000)]
Included fix_category_courses() to
adjust the new category structure

18 years agoadded: backup Q&A
johncaptain [Thu, 31 Jul 2003 17:18:39 +0000 (17:18 +0000)]
added: backup Q&A

18 years agoChanged to version.php
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)

18 years agoCopied from old backup_version.php
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)

18 years agoChanged calls to backup_version.php to version.php
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)

18 years agoVariables passed by reference warning is out !!
stronk7 [Thu, 31 Jul 2003 16:44:52 +0000 (16:44 +0000)]
Variables passed by reference warning is out !!

18 years ago*** empty log message ***
danielfetzer [Thu, 31 Jul 2003 13:27:25 +0000 (13:27 +0000)]
*** empty log message ***

18 years agoRemoved needless pass-by-reference to avoid warnings BUG 573 Thanks Eloy!
moodler [Thu, 31 Jul 2003 12:23:49 +0000 (12:23 +0000)]
Removed needless pass-by-reference to avoid warnings   BUG 573  Thanks Eloy!

18 years agoExtended get_records so it can deal with LIMITs now
moodler [Thu, 31 Jul 2003 12:18:22 +0000 (12:18 +0000)]
Extended get_records so it can deal with LIMITs now

18 years agoMoved fix_category_courses to datalib.php so it's more accessible
moodler [Thu, 31 Jul 2003 12:09:17 +0000 (12:09 +0000)]
Moved fix_category_courses to datalib.php so it's more accessible

18 years agoRemoving duplicate
moodler [Thu, 31 Jul 2003 02:03:59 +0000 (02:03 +0000)]
Removing duplicate

18 years ago*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 22:35:10 +0000 (22:35 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 21:26:02 +0000 (21:26 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 19:36:18 +0000 (19:36 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 18:02:38 +0000 (18:02 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 17:34:18 +0000 (17:34 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 17:12:06 +0000 (17:12 +0000)]
*** empty log message ***

18 years agoTwo more backup related strings
stronk7 [Wed, 30 Jul 2003 17:10:01 +0000 (17:10 +0000)]
Two more backup related strings

18 years agoUncommented clean_temp_data. I forgot it
stronk7 [Wed, 30 Jul 2003 16:29:53 +0000 (16:29 +0000)]
Uncommented clean_temp_data. I forgot it
in lastest tests...

18 years ago*** empty log message ***
danielfetzer [Wed, 30 Jul 2003 15:33:21 +0000 (15:33 +0000)]
*** empty log message ***