moodle.git
18 years agoLatest tags
moodler [Fri, 11 Apr 2003 14:46:21 +0000 (14:46 +0000)]
Latest tags

18 years agoMinor fixes
moodler [Fri, 11 Apr 2003 14:44:12 +0000 (14:44 +0000)]
Minor fixes

18 years agoTo check string sizes
paca70 [Fri, 11 Apr 2003 12:05:21 +0000 (12:05 +0000)]
To check string sizes

18 years agoNew "create multiple questions" wizard.
moodler [Thu, 10 Apr 2003 17:55:57 +0000 (17:55 +0000)]
New "create multiple questions" wizard.

Improvements to the importing routine for AON

18 years agoAdded Danish
moodler [Thu, 10 Apr 2003 14:17:01 +0000 (14:17 +0000)]
Added Danish

18 years agoDanish! From Søren Vinther Hansen <info@thenavigator.dk>
moodler [Thu, 10 Apr 2003 14:04:30 +0000 (14:04 +0000)]
Danish!  From Søren Vinther Hansen <info@thenavigator.dk>

18 years agoMore info about admin location and a fix
moodler [Thu, 10 Apr 2003 13:57:21 +0000 (13:57 +0000)]
More info about admin location and a fix

18 years agoNew $CFG->admin directory can override the location of the admin
moodler [Thu, 10 Apr 2003 13:46:52 +0000 (13:46 +0000)]
New $CFG->admin directory can override the location of the admin
directory.

Useful because some web hosts use /admin for other things.

18 years agoNew function swapshuffle_assoc
moodler [Thu, 10 Apr 2003 13:45:07 +0000 (13:45 +0000)]
New function swapshuffle_assoc

18 years agoImporting improved to include pre and post-processing.
moodler [Thu, 10 Apr 2003 13:12:40 +0000 (13:12 +0000)]
Importing improved to include pre and post-processing.
Removal of Random Matching code from the generic case.
Implementing a particular custom import style aon.php

18 years agoMinor robustness fix
moodler [Thu, 10 Apr 2003 13:11:34 +0000 (13:11 +0000)]
Minor robustness fix

18 years agoNew icons
moodler [Thu, 10 Apr 2003 13:04:20 +0000 (13:04 +0000)]
New icons

18 years agoUpdated number of languages
moodler [Thu, 10 Apr 2003 06:24:57 +0000 (06:24 +0000)]
Updated number of languages

18 years agoUpdated with current thoughts about general path this year
moodler [Thu, 10 Apr 2003 06:22:04 +0000 (06:22 +0000)]
Updated with current thoughts about general path this year

18 years agoCorrect a typo
moodler [Wed, 9 Apr 2003 14:30:04 +0000 (14:30 +0000)]
Correct a typo

18 years agoMore logical position for shuffle options
moodler [Wed, 9 Apr 2003 14:27:58 +0000 (14:27 +0000)]
More logical position for shuffle options

18 years agoNew quiz switches to
moodler [Wed, 9 Apr 2003 13:57:08 +0000 (13:57 +0000)]
New quiz switches to

  - shuffle questions order
  - shuffle answers order

18 years agoempty() --> !isset()
moodler [Wed, 9 Apr 2003 13:41:11 +0000 (13:41 +0000)]
empty()  -->  !isset()

18 years agoMore fixes resulting from random question feature
moodler [Wed, 9 Apr 2003 08:11:20 +0000 (08:11 +0000)]
More fixes resulting from random question feature

18 years agoSlightly more efficient database access.
moodler [Wed, 9 Apr 2003 07:23:42 +0000 (07:23 +0000)]
Slightly more efficient database access.

18 years agoFirst implementation of completely random questions.
moodler [Wed, 9 Apr 2003 06:32:51 +0000 (06:32 +0000)]
First implementation of completely random questions.

When you add a random question to a quiz, then a question
is chosen randomly from the same category.

Questions are not repeated in a particular quiz attempt.

This still needs more testing, but it's looking OK so far.

18 years agoUse "modified" date of posts when displaying them, not the "created" date.
moodler [Tue, 8 Apr 2003 14:09:24 +0000 (14:09 +0000)]
Use "modified" date of posts when displaying them, not the "created" date.

18 years agoDon't use session.path check when the server is in safe mode
moodler [Tue, 8 Apr 2003 03:51:38 +0000 (03:51 +0000)]
Don't use session.path check when the server is in safe mode

18 years agoJust much simpler way of doing the last patch.
moodler [Mon, 7 Apr 2003 16:08:52 +0000 (16:08 +0000)]
Just much simpler way of doing the last patch.

18 years agoUse the cached admin bit if it's there!
moodler [Mon, 7 Apr 2003 15:30:34 +0000 (15:30 +0000)]
Use the cached admin bit if it's there!

(saves one database access per editable activity on the course page!)  :-/

18 years agoAdded code to catch runaway case when there is more than one news forum.
moodler [Mon, 7 Apr 2003 15:20:08 +0000 (15:20 +0000)]
Added code to catch runaway case when there is more than one news forum.

It shouldn't happen, but I think it can when the database is having
problems.

18 years agoNew file
moodler [Mon, 7 Apr 2003 03:30:50 +0000 (03:30 +0000)]
New file

18 years agoNew translation add and modify $string['configunzip'] , $string['configzip'] :)
mits [Sun, 6 Apr 2003 06:15:00 +0000 (06:15 +0000)]
New translation add and modify $string['configunzip'] , $string['configzip'] :)

18 years agoModifications to allow Moodle files management page to use PclZip
moodler [Sun, 6 Apr 2003 05:53:47 +0000 (05:53 +0000)]
Modifications to allow Moodle files management page to use PclZip
instead of external zip programs.

To use the internal PclZip, the config variables "zip" and "unzip"
must be left blank.

Code for PclZip integration originally from Robert Hetzel, though
I've expanded it and modified it a lot.

The zip files seem compatible with itself and Windows XP, but I had a
compatibility problem trying to unzip a PclZip file using Zip 2.3 on Linux
(directories are unpacked as empty files)

18 years agoAdded Version 1.3 of PclZip to the distribution
moodler [Sun, 6 Apr 2003 05:48:56 +0000 (05:48 +0000)]
Added Version 1.3 of PclZip to the distribution

18 years agono message
mits [Sun, 6 Apr 2003 03:29:28 +0000 (03:29 +0000)]
no message

18 years agoPolished
mits [Sun, 6 Apr 2003 03:24:49 +0000 (03:24 +0000)]
Polished

18 years agoPartial translation, by Ilia Chipitsine <ilia@chel.skbkontur.ru>
moodler [Sat, 5 Apr 2003 14:29:26 +0000 (14:29 +0000)]
Partial translation, by Ilia Chipitsine <ilia@chel.skbkontur.ru>

18 years agoLatest improvements from Paula
moodler [Sat, 5 Apr 2003 14:21:10 +0000 (14:21 +0000)]
Latest improvements from Paula

18 years agoFixes for main SQL defintions - from Juro Chlebec
moodler [Fri, 4 Apr 2003 10:47:37 +0000 (10:47 +0000)]
Fixes for main SQL defintions - from Juro Chlebec

18 years agoaddslashes to string used for javascript link
moodler [Wed, 2 Apr 2003 07:24:42 +0000 (07:24 +0000)]
addslashes to string used for javascript link

18 years agoAdded a robustness check for USER->id
moodler [Tue, 1 Apr 2003 02:38:31 +0000 (02:38 +0000)]
Added a robustness check for USER->id

18 years agoUndoing recent changes
moodler [Tue, 1 Apr 2003 02:24:58 +0000 (02:24 +0000)]
Undoing recent changes

18 years agoSorry, Petri, but we need to undo these changes, because:
moodler [Tue, 1 Apr 2003 02:14:16 +0000 (02:14 +0000)]
Sorry, Petri, but we need to undo these changes, because:

  - they could break accounts in existing installations
  - strtolower can corrupt strings in multibyte languages

Is it really a problem that usernames are case sensitive on PostgreSQL?

18 years agoUse always only lowercase version of username.
paca70 [Mon, 31 Mar 2003 17:05:52 +0000 (17:05 +0000)]
Use always only lowercase version of username.
When using authentication module (ldap, smb, pop etc...) and postgres-database multiple moodle
users were created for usernames like 'Username' 'username' 'userName'

18 years agoNew translation added and polished some.
mits [Mon, 31 Mar 2003 03:03:20 +0000 (03:03 +0000)]
New translation added and polished some.

18 years agoRenamed randommatch.html -> randomsamatch.html
moodler [Sun, 30 Mar 2003 16:51:24 +0000 (16:51 +0000)]
Renamed randommatch.html -> randomsamatch.html

18 years agoNew template for Match questions
moodler [Sun, 30 Mar 2003 16:48:34 +0000 (16:48 +0000)]
New template for Match questions

18 years agoFirst cut at adding new "fixed" Match question type, which is manually
moodler [Sun, 30 Mar 2003 16:46:50 +0000 (16:46 +0000)]
First cut at adding new "fixed" Match question type, which is manually
created.  Works OK after limited testing.

I've also renamed some strings to do with "Random Match", so that this
question type is now called "Random Short-Answer Match".

Later there will be a new 'Random Match' which randomly selects one of the
existing "Match" questions.

18 years agoFixed a slight typo
moodler [Sun, 30 Mar 2003 13:54:28 +0000 (13:54 +0000)]
Fixed a slight typo

18 years agoFixed a missing global $CFG declaration.
moodler [Sun, 30 Mar 2003 13:25:49 +0000 (13:25 +0000)]
Fixed a missing global $CFG declaration.

18 years agoWhat was I thinking? This is much cleaner (and no duplicates).
moodler [Sat, 29 Mar 2003 04:08:51 +0000 (04:08 +0000)]
What was I thinking?  This is much cleaner (and no duplicates).

18 years agoChanges to activate the "force subscribe" option on the Site News forum.
moodler [Sat, 29 Mar 2003 03:39:56 +0000 (03:39 +0000)]
Changes to activate the "force subscribe" option on the Site News forum.

By default it is OFF, but if it is turned on, then site news is emailed
to ALL enrolled students and ALL current teachers.

18 years agoUpdates
paca70 [Fri, 28 Mar 2003 08:58:47 +0000 (08:58 +0000)]
Updates

18 years agoupdates from Jaana
paca70 [Thu, 27 Mar 2003 20:04:24 +0000 (20:04 +0000)]
updates from Jaana

18 years agoAdded Romanian author, plus some fixes
moodler [Thu, 27 Mar 2003 03:28:25 +0000 (03:28 +0000)]
Added Romanian author, plus some fixes

18 years agoEugen Tanul <roinstitute@fx.ro>
moodler [Thu, 27 Mar 2003 03:14:44 +0000 (03:14 +0000)]
Eugen Tanul <roinstitute@fx.ro>

18 years agoNew language: Romanian by Eugen Tanul <roinstitute@fx.ro>
moodler [Thu, 27 Mar 2003 03:13:36 +0000 (03:13 +0000)]
New language:  Romanian by Eugen Tanul <roinstitute@fx.ro>

18 years agoRestoring Paula de Waal's versions for the time being
moodler [Wed, 26 Mar 2003 15:14:52 +0000 (15:14 +0000)]
Restoring Paula de Waal's versions for the time being

18 years agoNew translations of the help files, from Adriana Beal
moodler [Wed, 26 Mar 2003 15:08:46 +0000 (15:08 +0000)]
New translations of the help files, from Adriana Beal

18 years agoAdded Bobo
moodler [Wed, 26 Mar 2003 14:14:16 +0000 (14:14 +0000)]
Added Bobo

18 years agoFixes related to AcceptPathInfo - removed need for ifDefine lines.
moodler [Wed, 26 Mar 2003 14:13:42 +0000 (14:13 +0000)]
Fixes related to AcceptPathInfo - removed need for ifDefine lines.

18 years agoBetter regular expresssion for detecting URLs at the very start of a text.
moodler [Wed, 26 Mar 2003 07:33:26 +0000 (07:33 +0000)]
Better regular expresssion for detecting URLs at the very start of a text.

I don't know what the old one thought it was doing!  :-)

18 years agoAdded tags file for codewalkers who can't generate one.
moodler [Wed, 26 Mar 2003 06:03:34 +0000 (06:03 +0000)]
Added tags file for codewalkers who can't generate one.

This file will not be included in distributions.

18 years agoTypo!
moodler [Wed, 26 Mar 2003 05:48:21 +0000 (05:48 +0000)]
Typo!

18 years agoAdded some new indexes on quiz tables in MySQL
moodler [Wed, 26 Mar 2003 05:46:09 +0000 (05:46 +0000)]
Added some new indexes on quiz tables in MySQL

18 years agoAdded two new indexes on log table to help speed it up.
moodler [Wed, 26 Mar 2003 02:17:46 +0000 (02:17 +0000)]
Added two new indexes on log table to help speed it up.

See Greg's note in bug 113

18 years agopgassignment.php done.
mits [Mon, 24 Mar 2003 16:34:21 +0000 (16:34 +0000)]
pgassignment.php done.
needs enough polish :)

18 years agoNew translation added.
mits [Mon, 24 Mar 2003 15:33:37 +0000 (15:33 +0000)]
New translation added.

18 years agoCorrected typo
paca70 [Mon, 24 Mar 2003 13:15:48 +0000 (13:15 +0000)]
Corrected typo

18 years agoRemoved some tabs :-)
moodler [Fri, 21 Mar 2003 14:09:51 +0000 (14:09 +0000)]
Removed some tabs  :-)

18 years agoHack from Roberto Pinna (Bobo) to add sorting when viewing submissions
moodler [Fri, 21 Mar 2003 14:07:25 +0000 (14:07 +0000)]
Hack from Roberto Pinna (Bobo) to add sorting when viewing submissions

Might need some tidying up still but it's functional ..

18 years agoCan now count a search of users
moodler [Fri, 21 Mar 2003 10:10:21 +0000 (10:10 +0000)]
Can now count a search of users

18 years agoImprovements to display of users
moodler [Fri, 21 Mar 2003 10:08:23 +0000 (10:08 +0000)]
Improvements to display of users

18 years agoAdded a search form to the "edit users" admin page yay!
moodler [Fri, 21 Mar 2003 09:42:42 +0000 (09:42 +0000)]
Added a search form to the "edit users" admin page   yay!

18 years agoLinks to admin page in header are now relative
moodler [Fri, 21 Mar 2003 04:56:05 +0000 (04:56 +0000)]
Links to admin page in header are now relative

18 years agoMore robustness on checking sequence variables
moodler [Fri, 21 Mar 2003 04:53:08 +0000 (04:53 +0000)]
More robustness on checking sequence variables

18 years agoSmall fix to avoid PHP warnings
moodler [Fri, 21 Mar 2003 04:49:29 +0000 (04:49 +0000)]
Small fix to avoid PHP warnings

18 years agoChanges to make regrading work properly if the quiz has changed
moodler [Thu, 20 Mar 2003 07:28:53 +0000 (07:28 +0000)]
Changes to make regrading work properly if the quiz has changed

and also an exptended timelimit for when regrading is REALLLLY slow
fue to some other unknown reason (as yet)

18 years agoNew translation added.
mits [Thu, 20 Mar 2003 06:10:00 +0000 (06:10 +0000)]
New translation added.

18 years agoUpdated credit for Slovak
moodler [Tue, 18 Mar 2003 12:57:01 +0000 (12:57 +0000)]
Updated credit for Slovak

18 years agoImproved Portuguese (Brazil) version by Paula de Waal
moodler [Sun, 16 Mar 2003 15:02:38 +0000 (15:02 +0000)]
Improved Portuguese (Brazil) version by Paula de Waal

18 years agoAdded some more options for longtimenosee
moodler [Sun, 16 Mar 2003 02:35:03 +0000 (02:35 +0000)]
Added some more options for longtimenosee

18 years agoFixed incorrect comparison. Peter Paluch pointed this out.
paca70 [Sat, 15 Mar 2003 18:26:46 +0000 (18:26 +0000)]
Fixed incorrect comparison. Peter Paluch pointed this out.

18 years agoDidn't quite finish the last patch of user -> usernew
moodler [Sat, 15 Mar 2003 09:15:44 +0000 (09:15 +0000)]
Didn't quite finish the last patch of user -> usernew

18 years agoBug fix from Ray Le Couteur ... alphanumeric check was checking old
moodler [Sat, 15 Mar 2003 08:26:00 +0000 (08:26 +0000)]
Bug fix from Ray Le Couteur ... alphanumeric check was checking old
username but not the new username

18 years agoFixed logic error.
paca70 [Fri, 14 Mar 2003 21:34:39 +0000 (21:34 +0000)]
Fixed logic error.
Now also first time users can be course creators.

18 years agoThis closes bug http://moodle.org/bugs/bug.php?op=show&bugid=310
gregb_cc [Fri, 14 Mar 2003 19:58:53 +0000 (19:58 +0000)]
This closes bug moodle.org/bugs/bug.php?op=show&bugid=310
assignment_get_unmailed_submissions now ensures that a student is still enrolled

18 years agoAdded some people
moodler [Fri, 14 Mar 2003 12:45:05 +0000 (12:45 +0000)]
Added some people

18 years agoInitial version from Les Kopari - les_kopari@yahoo.com
moodler [Fri, 14 Mar 2003 08:22:37 +0000 (08:22 +0000)]
Initial version from Les Kopari - les_kopari@yahoo.com

18 years agoAdded vim commands at the bottom of the file to try it out
moodler [Fri, 14 Mar 2003 07:55:22 +0000 (07:55 +0000)]
Added vim commands at the bottom of the file to try it out

18 years agoAdded a useful message, to make the cron output more helpful in diagnosing
gregb_cc [Thu, 13 Mar 2003 20:59:31 +0000 (20:59 +0000)]
Added a useful message, to make the cron output more helpful in diagnosing
"stuck" assignments.

18 years agoNew translation added.
mits [Thu, 13 Mar 2003 15:22:43 +0000 (15:22 +0000)]
New translation added.

18 years agoNew translation added.
mits [Thu, 13 Mar 2003 14:17:21 +0000 (14:17 +0000)]
New translation added.

18 years agocode formatting change: switched from alternative syntax to using {}
gregb_cc [Wed, 12 Mar 2003 21:40:47 +0000 (21:40 +0000)]
code formatting change: switched from alternative syntax to using {}

18 years agospeed improvement in smilie_replace. It is now almost as fast (within 5-10%) of
gregb_cc [Wed, 12 Mar 2003 21:37:05 +0000 (21:37 +0000)]
speed improvement in smilie_replace.  It is now almost as fast (within 5-10%) of
the version that used global smilie definitions.

18 years agoAdded benchmark and test for replace_smilies
gregb_cc [Wed, 12 Mar 2003 20:36:55 +0000 (20:36 +0000)]
Added benchmark and test for replace_smilies

18 years agoRemoved main_frame
moodler [Wed, 12 Mar 2003 08:37:42 +0000 (08:37 +0000)]
Removed main_frame

18 years agoMaking a consistent download link for uploaded resources (same as web page)
moodler [Wed, 12 Mar 2003 08:02:05 +0000 (08:02 +0000)]
Making a consistent download link for uploaded resources (same as web page)

18 years agoWhoops! Accidentally checked in a quick hack I did for someone.
moodler [Wed, 12 Mar 2003 07:49:54 +0000 (07:49 +0000)]
Whoops!  Accidentally checked in a quick hack I did for someone.

18 years agoIntegrated the default redirect message delay from Greg B
moodler [Wed, 12 Mar 2003 07:44:29 +0000 (07:44 +0000)]
Integrated the default redirect message delay from Greg B

18 years agoModified Greg's work to:
moodler [Wed, 12 Mar 2003 07:36:22 +0000 (07:36 +0000)]
Modified Greg's work to:

  - rename the main_frame variable to framename, because it
       - might have caused some confusion
       - none of the global variables have underscores
  - put the config in the config table, with a default of _top

18 years agoSmall cleanup of smilie replacement.
gregb_cc [Wed, 12 Mar 2003 03:42:44 +0000 (03:42 +0000)]
Small cleanup of smilie replacement.
This change removes the smilie variable assignment from the global namespace.
This change retains the original user input as the alt text.
The main reason for this change is to make it possible for me to use my
make_class function on weblib.php (still need to do something about the defines
though).

18 years agoThis is a first attempt to make moodle frame safe.
gregb_cc [Tue, 11 Mar 2003 21:35:12 +0000 (21:35 +0000)]
This is a first attempt to make moodle frame safe.

I've added the variable CFG->main_frame to config-dist.php, and replaced _top
targets with the variable in all the php files.  HTML files, like those in the
documentation, have not been modified, as they are not (yet) parsed.

The variable should probably get moved into the config table, and get some
documentation.

I've also included, but commented out, a slight change in weblib.php, which
would guarantee that messages would be seen before redirecting the user (unless
delay intentionally set to 0 when redirect is used).

18 years agoWhoops, paca70! You accidentally jumped a month forward in the date. :-)
moodler [Tue, 11 Mar 2003 06:04:28 +0000 (06:04 +0000)]
Whoops, paca70! You accidentally jumped a month forward in the date.  :-)

We need to increment the version.php file slowly now until time catches up.