4549 Commits

Author SHA1 Message Date
defacer
4be2a84bfe New string for the "parent folder" icon. 2005-02-08 18:08:23 +00:00
mjollnir_
bb64b51aa3 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.
2005-02-08 02:57:14 +00:00
mits
fb347d6c4d translated some. 2005-02-08 01:08:48 +00:00
koenr
8c3270ef5c xhtml compliance 2005-02-08 00:12:17 +00:00
koenr
de1315e3d5 forgot to commit 2005-02-07 23:54:25 +00:00
anvergara
d160861fdf Cambiado "Periodo de Matriculación" por "Periodo de vigencia de la matrícula" y cambiada la explicación correspondiente. 2005-02-07 23:24:54 +00:00
anvergara
7f29369723 Changed the enrolperiod string 2005-02-07 23:23:20 +00:00
borinsky2407
c546ca5d81 by c.borowski 2005-02-07 23:18:29 +00:00
borinsky2407
e4c54f455b by c.borowski@web.de 2005-02-07 23:17:43 +00:00
borinsky2407
c2418e53a4 *** empty log message *** 2005-02-07 23:02:29 +00:00
koenr
6c3c1c96a1 xhtml compliance -de_du done 2005-02-07 22:37:16 +00:00
koenr
fb4b8fc8aa another go to get the notation of the be language correct. Hope this is the right one. 2005-02-07 18:27:43 +00:00
koenr
b08c38b0dc removed untranslated markdown.html and a temporary file 2005-02-07 18:04:01 +00:00
stronk7
0e90d8ec2c Some strings needed to backup & restore metacourse info. 2005-02-07 17:55:12 +00:00
moodler
7c37216deb Nolink is not only for glossaries 2005-02-07 15:06:13 +00:00
koenr
4593b527fb xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.
2005-02-07 10:41:52 +00:00
koenr
c459de0b1e xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.
2005-02-07 09:41:29 +00:00
villate
f83ea5e9c5 Translation of the teacher's manual (almost complete) 2005-02-07 08:54:28 +00:00
stronk7
cb0b08c56b Now spanish doc is XHTML at all! 2005-02-06 23:44:59 +00:00
stronk7
84c91012e0 More XHTMLised docs 2005-02-06 23:26:25 +00:00
stronk7
bc9e20695e More XHTML spanish docs... 2005-02-06 23:18:11 +00:00
stronk7
f2f906b3fd More XHTML valid documentation files 2005-02-06 23:01:08 +00:00
koenr
d7240a0414 xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.
2005-02-06 22:26:49 +00:00
koenr
d2f13b5008 empty option 2005-02-06 21:55:07 +00:00
koenr
ff28f76ab2 xhtml compliance 2005-02-06 21:36:15 +00:00
koenr
d65c472ff5 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
2005-02-06 21:28:06 +00:00
koenr
24acd72d5e Created with very ugly wordprocessor.
not xhtml-compliant -> should be replaced by nice HTMLl first
2005-02-06 21:09:27 +00:00
koenr
3f3d62ce91 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.
2005-02-06 21:04:07 +00:00
stronk7
64376cf363 Using docsyles.css! 2005-02-06 20:27:30 +00:00
stronk7
65129b1e8a minor body change. 2005-02-06 20:25:42 +00:00
stronk7
b4d13042ca More XHTML docs... 2005-02-06 20:24:57 +00:00
koenr
3ad5e30f1a xhtml-compliance de php-files done 2005-02-06 20:19:50 +00:00
koenr
1ef915cfc1 xhtml-compliance - da done 2005-02-06 19:32:09 +00:00
stronk7
a2013b4116 This file is out from the English version. Removed here too. 2005-02-06 19:24:58 +00:00
stronk7
b445960d53 Part of the spanish documentation is now XHTML. 2005-02-06 19:20:19 +00:00
koenr
00cae34edd another unclosed <p> 2005-02-06 18:59:13 +00:00
martignoni
e2b972cab8 Typo corrected 2005-02-06 14:48:06 +00:00
koenr
43892825f6 missing characterset 2005-02-06 12:42:13 +00:00
koenr
5aa0201706 last files moving to xhtml doctype
moving body background-color to stylesheet

forgot this one
2005-02-06 12:39:55 +00:00
koenr
2b7b471a32 last files moving to xhtml doctype
moving body background-color to stylesheet
2005-02-06 12:39:37 +00:00
koenr
a055c69296 moving to xhtml doctype 2005-02-06 12:14:47 +00:00
koenr
354f976c42 wrong characterset
moving to xhtml doctype
2005-02-06 11:21:19 +00:00
koenr
9664b4ea0f moving to xhtml doctype
removed the <ol><ol> construction and replaced it with a styl margin-left

removed the body fixed white color and replaced it with a style in docstyles.css
2005-02-06 00:59:14 +00:00
koenr
8c1f5b881b moving to xhtml doctype 2005-02-05 23:37:17 +00:00
koenr
7f3c54ab17 xhtml-compliance 2005-02-05 20:51:23 +00:00
koenr
3d9717ea4f A lot of new strings and help files. This language pack is nearly complete. All checked and corrected to xhtml-compliance. 2005-02-05 13:41:03 +00:00
martignoni
47c24951f6 Changed 'mainmenu' 2005-02-05 12:49:14 +00:00
martignoni
7da61a241e Strings in the lang file are now sorted 2005-02-05 12:48:16 +00:00
martignoni
288bbf5f62 Short days are now shorter (2 characters) 2005-02-05 12:03:55 +00:00
mits
0da3e76446 fixed locale 2005-02-05 08:04:04 +00:00