]> git.mjollnir.org Git - moodle.git/log
moodle.git
20 years agoRedoing the hide/show thingy for blocks purely through CSS.
defacer [Wed, 9 Feb 2005 01:23:06 +0000 (01:23 +0000)]
Redoing the hide/show thingy for blocks purely through CSS.
Instance id's next time, Urs! ;-)

20 years agomoving to xhtml doctype
martignoni [Tue, 8 Feb 2005 22:23:11 +0000 (22:23 +0000)]
moving to xhtml doctype

20 years agoFirst cut of email to module (or core) processing.
martignoni [Tue, 8 Feb 2005 22:10:36 +0000 (22:10 +0000)]
First cut of email to module (or core) processing.

20 years agoSome strings needed to backup & restore metacourse info.
martignoni [Tue, 8 Feb 2005 22:04:09 +0000 (22:04 +0000)]
Some strings needed to backup & restore metacourse info.

20 years agoAnother unclosed <p>
martignoni [Tue, 8 Feb 2005 21:57:35 +0000 (21:57 +0000)]
Another unclosed <p>

20 years agoTypo corrected
martignoni [Tue, 8 Feb 2005 21:55:18 +0000 (21:55 +0000)]
Typo corrected

20 years agoNolink is not only for glossaries
martignoni [Tue, 8 Feb 2005 21:53:56 +0000 (21:53 +0000)]
Nolink is not only for glossaries

20 years agoupdates.
paca70 [Tue, 8 Feb 2005 21:41:19 +0000 (21:41 +0000)]
updates.

20 years agofixed problems with forced course language
skodak [Tue, 8 Feb 2005 21:30:47 +0000 (21:30 +0000)]
fixed problems with forced course language

20 years agofixed typos in chat_force_language(), added encoding to message page, minor cleanup
skodak [Tue, 8 Feb 2005 21:23:19 +0000 (21:23 +0000)]
fixed typos in chat_force_language(), added encoding to message page, minor cleanup

20 years agoadapted from the de-version, should xhtml compatible
borinsky2407 [Tue, 8 Feb 2005 20:52:47 +0000 (20:52 +0000)]
adapted from the de-version, should xhtml compatible

20 years agoadapted from the de-version, should xhtml-compatible
borinsky2407 [Tue, 8 Feb 2005 20:51:09 +0000 (20:51 +0000)]
adapted from the de-version, should xhtml-compatible

20 years agoFix for bug 2488:
defacer [Tue, 8 Feb 2005 20:29:17 +0000 (20:29 +0000)]
Fix for bug 2488:

Extending mdl_log column module to varchar(20).
It was already 20 chars in Postgres, so no changes there.

20 years agoxhtml compliance
koenr [Tue, 8 Feb 2005 19:28:59 +0000 (19:28 +0000)]
xhtml compliance

20 years agoFIxed some old <p> tags
moodler [Tue, 8 Feb 2005 18:33:08 +0000 (18:33 +0000)]
FIxed some old <p> tags

20 years agoNew highlight color for forum/search.php
fiedorow [Tue, 8 Feb 2005 18:13:43 +0000 (18:13 +0000)]
New highlight color for forum/search.php

20 years agoNew string for forum search
fiedorow [Tue, 8 Feb 2005 18:09:59 +0000 (18:09 +0000)]
New string for forum search

20 years agoNew string for the "parent folder" icon.
defacer [Tue, 8 Feb 2005 18:08:23 +0000 (18:08 +0000)]
New string for the "parent folder" icon.

20 years agoHighlight search terms found only in HTML markup
fiedorow [Tue, 8 Feb 2005 18:06:06 +0000 (18:06 +0000)]
Highlight search terms found only in HTML markup

20 years agoFix for bug 2491:
defacer [Tue, 8 Feb 2005 18:03:43 +0000 (18:03 +0000)]
Fix for bug 2491:

Implementing a "parent folder" icon in the file manager.

20 years agoVarious cleanups for XHTML and so on
moodler [Tue, 8 Feb 2005 17:56:22 +0000 (17:56 +0000)]
Various cleanups for XHTML and so on

20 years agoConsistent admin pages
moodler [Tue, 8 Feb 2005 17:34:02 +0000 (17:34 +0000)]
Consistent admin pages

20 years agoJust a little tidying up
moodler [Tue, 8 Feb 2005 17:33:13 +0000 (17:33 +0000)]
Just a little tidying up

20 years agoStyles for notify and notice stuff
moodler [Tue, 8 Feb 2005 17:11:28 +0000 (17:11 +0000)]
Styles for notify and notice stuff

20 years agoFixing some of the standard notice functions, adding styles and buttons
moodler [Tue, 8 Feb 2005 17:09:41 +0000 (17:09 +0000)]
Fixing some of the standard notice functions, adding styles and buttons

20 years agoJust a robustness test
moodler [Tue, 8 Feb 2005 17:07:31 +0000 (17:07 +0000)]
Just a robustness test

20 years agoKeep $THEME global in print_header for backward compatibility
moodler [Tue, 8 Feb 2005 14:51:38 +0000 (14:51 +0000)]
Keep $THEME global in print_header for backward compatibility

20 years agoFIxed some formatting
moodler [Tue, 8 Feb 2005 14:49:57 +0000 (14:49 +0000)]
FIxed some formatting

20 years agoRemoved a lot of needless <p> tags
moodler [Tue, 8 Feb 2005 09:36:21 +0000 (09:36 +0000)]
Removed a lot of needless <p> tags

20 years agoFixed up some layout issues in the configuration files
moodler [Tue, 8 Feb 2005 09:23:21 +0000 (09:23 +0000)]
Fixed up some layout issues in the configuration files

20 years agoRemoved some stupid paragraphs
moodler [Tue, 8 Feb 2005 08:14:53 +0000 (08:14 +0000)]
Removed some stupid paragraphs

20 years agoImproved styles for admin/modules.php page
moodler [Tue, 8 Feb 2005 08:13:23 +0000 (08:13 +0000)]
Improved styles for admin/modules.php page

20 years agoMerged isteacher fix from stable
moodler [Tue, 8 Feb 2005 07:45:53 +0000 (07:45 +0000)]
Merged isteacher fix from stable

20 years agoSome better feedback about lack of XSLT functions
moodler [Tue, 8 Feb 2005 07:23:04 +0000 (07:23 +0000)]
Some better feedback about lack of XSLT functions

20 years agoAdded Blackboard restore using XSLT. Works with BB 5.5 and BB 6.0.
moodler [Tue, 8 Feb 2005 07:19:49 +0000 (07:19 +0000)]
Added Blackboard restore using XSLT.  Works with BB 5.5 and BB 6.0.

Completely untested by me but it LOOKS like it should work.  It's quite
standalone, and is basically a single function call during the restore
precheck which looks in the backup to see if it's a BB file, then
converts it using XSLT.

Apart from a little tidyup and renaming, I added a check so that it
should just silently fail if XSLT functions aren't available

Many thanks to Ziba Scott <ziba@linuxbox.com> who wrote it!

20 years agoMerged from stable bug 2513
moodler [Tue, 8 Feb 2005 06:22:04 +0000 (06:22 +0000)]
Merged from stable  bug 2513

20 years agoMerged from MOODLE_14_STABLE - fix_course_sortorder() bug #2509 - Should fix overlaps...
martinlanghoff [Tue, 8 Feb 2005 03:42:20 +0000 (03:42 +0000)]
Merged from MOODLE_14_STABLE - fix_course_sortorder() bug #2509 - Should fix overlaps when moving categories with large gaps -- affects only mysql. Prevent from landing even near the newly assigned range during the temporary shift.

20 years agoRemoving mdl_ in sync_metacourse
mjollnir_ [Tue, 8 Feb 2005 03:39:40 +0000 (03:39 +0000)]
Removing mdl_ in sync_metacourse

20 years agoChanging the way that applicable formats for each block are defined:
defacer [Tue, 8 Feb 2005 02:59:44 +0000 (02:59 +0000)]
Changing the way that applicable formats for each block are defined:

The format for each page is now the same as the id attribute of the
BODY tag, which in turn is a simple function of the script's relative path:

The format for e.g. a quiz view page is "mod-quiz-view". The format for the
site index is "site-index". Exception: the format for courses is not just
"course-view", but "course-view-weeks" etc.

Obviously the applicable_formats() override for each block should now take
this into account. The matching rules now are:

* You can specify the full format, e.g. "mod-quiz-view" => true
  will allow the block to be added in quizzes
* Prefixes match the full page format, e.g. "mod" matches ALL activities
* You can use "*" as a wildcard, e.g. "mod-*-view" matches just the view.php
  page of all activities
* These rules interoperate, thus "mod-*" is the same as "mod"
* "all" remains as a catch-all situation

20 years agoFirst cut of email to module (or core) processing.
mjollnir_ [Tue, 8 Feb 2005 02:57:14 +0000 (02:57 +0000)]
First cut of email to module (or core) processing.

This patch contains:

* email_to_user will set the envelope sender to a special bounce processing address (based on $CFG settings)
* email_to_user will accept (and set) a reply-to header, to be generated by the module calling the function.

* new functions:

* generate_email_processing_address - ALWAYS use this to generate the reply-to header. reply-to header will look like this:

(LIMIT: 64 chars total)
prefix - EXACTLY four chars
encodeded, packed, moduleid (0 for core) (2 chars)
up to 42 chars for the modules to put anything they want it (can contain userid (or, eg for forum, postids to reply to), or anything really. 42 chars is ABSOLUTE LIMIT)
16 char hash (half an md5) of the first part of the address, together with a site "secret"

* moodle_process_email - any non-module email processing goes here (currently used for processing bounces)

* bounce handling:

* config settings for bounce threshold and ratio (and whether to handle bounces at all)
* if too many bounces occur against any given user, user_not_fully_set_up will force an email address change
* associated functions (over_bounce_threshold, set_send_count, set_bounce_count)

* handling emails to noreply address (see below)

* new script - admin/process_email.php

This script needs to be called from your mail program for anything starting with the 4 char prefix described above (and optionally, the noreply address)
It will bounce emails to the noreplyaddress, with a friendly "this is not a real email address" message

It will break down and unencode the email address into moduleid and validate the half md5 hash, and call $modname_process_email (if it exists). Arguments to these functions are: $modargs (any part of the email address that isn't the prefix, modid or the hash) and the contents of the email (read from STDIN).

* associated string changes/additions

* changes in config-dist.php to give clues as to how to set this up.

MODULE WRITERS!

take a look at new functions moodle_process_email and generate_email_processing_address  in moodlelib.php for ideas about how to

* encode and unencode the arguments your module needs to do the processing
* how to deal with multiple "actions" for any given module.

Martin Langhoff <martin@catalyst.net.nz> will be writing up some PROPER documentation, containing amongst other things config settings for different mail servers (this was developed against Postfix).  Feel free to email me with any feedback on the code or design, penny@catalyst.net.nz.  Or post on the developer fourm.

20 years agoAdding test for empty db password.
defacer [Tue, 8 Feb 2005 02:43:36 +0000 (02:43 +0000)]
Adding test for empty db password.

20 years agoThis isn't quite ready yet, but get this diff out of my sight...
defacer [Tue, 8 Feb 2005 02:42:29 +0000 (02:42 +0000)]
This isn't quite ready yet, but get this diff out of my sight...

20 years agoRenaming some $course to $courseid to make it clear to anyone reading the code...
defacer [Tue, 8 Feb 2005 01:34:14 +0000 (01:34 +0000)]
Renaming some $course to $courseid to make it clear to anyone reading the code...

20 years agotranslated some.
mits [Tue, 8 Feb 2005 01:08:48 +0000 (01:08 +0000)]
translated some.

20 years agoSmall typo (bug 2512)
stronk7 [Tue, 8 Feb 2005 01:07:45 +0000 (01:07 +0000)]
Small typo (bug 2512)
(http://moodle.org/bugs/bug.php?op=show&bugid=2512)

Merged from MOODLE_14_STABLE

20 years agoFixing this to not show notices if a block doesn't have an id attribute.
defacer [Tue, 8 Feb 2005 00:53:55 +0000 (00:53 +0000)]
Fixing this to not show notices if a block doesn't have an id attribute.

20 years agoCentering the contents of the "add blocks" block.
defacer [Tue, 8 Feb 2005 00:24:33 +0000 (00:24 +0000)]
Centering the contents of the "add blocks" block.

20 years agoRemoving the inline style, migrating to styles_layout.css
defacer [Tue, 8 Feb 2005 00:22:37 +0000 (00:22 +0000)]
Removing the inline style, migrating to styles_layout.css

20 years agoxhtml compliance
koenr [Tue, 8 Feb 2005 00:12:17 +0000 (00:12 +0000)]
xhtml compliance

20 years agoThis is now automatically done, no need to do it twice.
defacer [Tue, 8 Feb 2005 00:12:11 +0000 (00:12 +0000)]
This is now automatically done, no need to do it twice.

20 years agoGive an id attribute to the "Add Blocks" block so that the new hide/show
defacer [Tue, 8 Feb 2005 00:00:21 +0000 (00:00 +0000)]
Give an id attribute to the "Add Blocks" block so that the new hide/show
provisions in weblib don't print notices.

20 years agoThe W3C valid way to write script tags is <script type="text/javascript">.
defacer [Mon, 7 Feb 2005 23:56:54 +0000 (23:56 +0000)]
The W3C valid way to write script tags is <script type="text/javascript">.

20 years agoforgot to commit
koenr [Mon, 7 Feb 2005 23:54:25 +0000 (23:54 +0000)]
forgot to commit

20 years agoOne minor problem restoring categories in XHTML solved
stronk7 [Mon, 7 Feb 2005 23:45:19 +0000 (23:45 +0000)]
One minor problem restoring categories in XHTML solved

20 years agoSome minor changes to each module to XHTMLise the restore process
stronk7 [Mon, 7 Feb 2005 23:33:17 +0000 (23:33 +0000)]
Some minor changes to each module to XHTMLise the restore process

20 years agoNow the restore process is XHTMLised
stronk7 [Mon, 7 Feb 2005 23:28:52 +0000 (23:28 +0000)]
Now the restore process is XHTMLised

20 years agoCambiado "Periodo de Matriculación" por "Periodo de vigencia de la matrícula" y cambi...
anvergara [Mon, 7 Feb 2005 23:24:54 +0000 (23:24 +0000)]
Cambiado "Periodo de Matriculación" por "Periodo de vigencia de la matrícula" y cambiada la explicación correspondiente.

20 years agoChanged the enrolperiod string
anvergara [Mon, 7 Feb 2005 23:23:20 +0000 (23:23 +0000)]
Changed the enrolperiod string

20 years agoby c.borowski
borinsky2407 [Mon, 7 Feb 2005 23:18:29 +0000 (23:18 +0000)]
by c.borowski

20 years agoby c.borowski@web.de
borinsky2407 [Mon, 7 Feb 2005 23:17:43 +0000 (23:17 +0000)]
by c.borowski@web.de

20 years ago*** empty log message ***
borinsky2407 [Mon, 7 Feb 2005 23:02:29 +0000 (23:02 +0000)]
*** empty log message ***

20 years agoxhtml compliance -de_du done
koenr [Mon, 7 Feb 2005 22:37:16 +0000 (22:37 +0000)]
xhtml compliance -de_du done

20 years agoRemoving PHP notice in metacourse assign courses page (bug 2479)
mjollnir_ [Mon, 7 Feb 2005 21:10:25 +0000 (21:10 +0000)]
Removing PHP notice in metacourse assign courses page (bug 2479)

20 years agoFixing formatting problem (extraneous <p>)
mjollnir_ [Mon, 7 Feb 2005 21:04:53 +0000 (21:04 +0000)]
Fixing formatting problem (extraneous <p>)

20 years agomaybe fixed double posts, fixed javascript errors, solved problems with reloading
skodak [Mon, 7 Feb 2005 20:33:44 +0000 (20:33 +0000)]
maybe fixed double posts, fixed javascript errors, solved problems with reloading

20 years agoanother go to get the notation of the be language correct. Hope this is the right...
koenr [Mon, 7 Feb 2005 18:27:43 +0000 (18:27 +0000)]
another go to get the notation of the be language correct. Hope this is the right one.

20 years agoremoved untranslated markdown.html and a temporary file
koenr [Mon, 7 Feb 2005 18:04:01 +0000 (18:04 +0000)]
removed untranslated markdown.html and a temporary file

20 years agodeleted some negations used to test the restore metadata process. :-)
stronk7 [Mon, 7 Feb 2005 17:58:50 +0000 (17:58 +0000)]
deleted some negations used to test the restore metadata process. :-)

20 years agoSome strings needed to backup & restore metacourse info.
stronk7 [Mon, 7 Feb 2005 17:55:12 +0000 (17:55 +0000)]
Some strings needed to backup & restore metacourse info.

20 years agoNow metacourses are working in restore too!
stronk7 [Mon, 7 Feb 2005 17:52:58 +0000 (17:52 +0000)]
Now metacourses are working in restore too!
Please test them!!

20 years agoNolink is not only for glossaries
moodler [Mon, 7 Feb 2005 15:06:13 +0000 (15:06 +0000)]
Nolink is not only for glossaries

20 years agoDisable $CFG->forum_trackreadposts completely when the user is a guest
moodler [Mon, 7 Feb 2005 11:58:49 +0000 (11:58 +0000)]
Disable $CFG->forum_trackreadposts completely when the user is a guest
or not logged in.

20 years agoAdded class and id to print_table, and id to print_simple_box
moodler [Mon, 7 Feb 2005 11:08:37 +0000 (11:08 +0000)]
Added class and id to print_table, and id to print_simple_box

20 years agoxhtml compliance
koenr [Mon, 7 Feb 2005 10:41:52 +0000 (10:41 +0000)]
xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.

20 years agoxhtml compliance
koenr [Mon, 7 Feb 2005 09:41:29 +0000 (09:41 +0000)]
xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.

20 years agoBetter fix for 2479. This time I'm 99.999999% positive it's fixed ;)
mjollnir_ [Mon, 7 Feb 2005 09:32:24 +0000 (09:32 +0000)]
Better fix for 2479.  This time I'm 99.999999% positive it's fixed ;)

20 years agoRemoving db ids (found their way in from copying sql - bad) from last patch
mjollnir_ [Mon, 7 Feb 2005 09:27:03 +0000 (09:27 +0000)]
Removing db ids (found their way in from copying sql - bad) from last patch

20 years agoFixing bug 2479. Can't figure out a way to do it with a left join at this stage but...
mjollnir_ [Mon, 7 Feb 2005 09:22:07 +0000 (09:22 +0000)]
Fixing bug 2479. Can't figure out a way to do it with a left join at this stage but the query doesn't look too bad.  Anyone who thinks they can figure out a more elegant way for it is welcome\!

20 years agoTranslation of the teacher's manual (almost complete)
villate [Mon, 7 Feb 2005 08:54:28 +0000 (08:54 +0000)]
Translation of the teacher's manual (almost complete)

20 years agoSome corrections.
defacer [Mon, 7 Feb 2005 04:54:04 +0000 (04:54 +0000)]
Some corrections.

20 years agoFixed PARAM_ALPHA
moodler [Mon, 7 Feb 2005 02:13:18 +0000 (02:13 +0000)]
Fixed PARAM_ALPHA

20 years agoHandle longtimenosee of zero
moodler [Mon, 7 Feb 2005 01:23:44 +0000 (01:23 +0000)]
Handle longtimenosee of zero

20 years agoAllow longtimenosee to be zero
moodler [Mon, 7 Feb 2005 01:21:50 +0000 (01:21 +0000)]
Allow longtimenosee to be zero

20 years agoMore bug fixing - #2479
mjollnir_ [Mon, 7 Feb 2005 01:00:57 +0000 (01:00 +0000)]
More bug fixing - #2479

20 years agoFirst rough version of the "Health Center", so people can play around.
defacer [Mon, 7 Feb 2005 00:45:41 +0000 (00:45 +0000)]
First rough version of the "Health Center", so people can play around.

20 years agoNow spanish doc is XHTML at all!
stronk7 [Sun, 6 Feb 2005 23:44:59 +0000 (23:44 +0000)]
Now spanish doc is XHTML at all!

20 years agoMore XHTMLised docs
stronk7 [Sun, 6 Feb 2005 23:26:25 +0000 (23:26 +0000)]
More XHTMLised docs

20 years agoMore XHTML spanish docs...
stronk7 [Sun, 6 Feb 2005 23:18:11 +0000 (23:18 +0000)]
More XHTML spanish docs...

20 years agoMore XHTML valid documentation files
stronk7 [Sun, 6 Feb 2005 23:01:08 +0000 (23:01 +0000)]
More XHTML valid documentation files

20 years agoxhtml compliance
koenr [Sun, 6 Feb 2005 22:26:49 +0000 (22:26 +0000)]
xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.

20 years agoempty option
koenr [Sun, 6 Feb 2005 21:55:07 +0000 (21:55 +0000)]
empty option

20 years agoxhtml compliance
koenr [Sun, 6 Feb 2005 21:36:15 +0000 (21:36 +0000)]
xhtml compliance

20 years agoxhtml compliance
koenr [Sun, 6 Feb 2005 21:28:06 +0000 (21:28 +0000)]
xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.
removed markdown.html - not translated

20 years agoCreated with very ugly wordprocessor.
koenr [Sun, 6 Feb 2005 21:09:27 +0000 (21:09 +0000)]
Created with very ugly wordprocessor.

not xhtml-compliant -> should be replaced by nice HTMLl first

20 years agoThe html editor was inserting a paragraph with just a space in it which clearly creat...
gustav_delius [Sun, 6 Feb 2005 21:04:10 +0000 (21:04 +0000)]
The html editor was inserting a paragraph with just a space in it which clearly created problems for fields that the user wanted to leave empty.
There was also a problem when switching to text mode and back again: the status bar showed Path: Path:. I have taken out the second one.

20 years agoCreated with very ugly wordprocessor.
koenr [Sun, 6 Feb 2005 21:04:07 +0000 (21:04 +0000)]
Created with very ugly wordprocessor.
I took the garbage out, but I had to replace the tables with the English ones. This file took too long to handle.

20 years agoUsing docsyles.css!
stronk7 [Sun, 6 Feb 2005 20:27:30 +0000 (20:27 +0000)]
Using docsyles.css!

20 years agominor body change.
stronk7 [Sun, 6 Feb 2005 20:25:42 +0000 (20:25 +0000)]
minor body change.

20 years agoMore XHTML docs...
stronk7 [Sun, 6 Feb 2005 20:24:57 +0000 (20:24 +0000)]
More XHTML docs...

20 years agoxhtml-compliance de php-files done
koenr [Sun, 6 Feb 2005 20:19:50 +0000 (20:19 +0000)]
xhtml-compliance de php-files done