1306 Commits

Author SHA1 Message Date
fiedorow
ff01c1f5db New string for forum search 2005-02-08 18:09:59 +00:00
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
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
d2f13b5008 empty option 2005-02-06 21:55:07 +00:00
koenr
ff28f76ab2 xhtml compliance 2005-02-06 21:36:15 +00:00
koenr
00cae34edd another unclosed <p> 2005-02-06 18:59:13 +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
michaelpenne
4759d2c1eb changed Main Menu to Course Menu 2005-02-04 20:49:04 +00:00
michaelpenne
31062eefad changed a couple of <br> to <br /> 2005-02-04 20:11:48 +00:00
koenr
084247d3f5 xhtml-compliance 2005-02-03 22:21:00 +00:00
defacer
d9f7e051b9 Perfecting the wording to distinguish between singular and plural. 2005-02-01 08:44:04 +00:00
defacer
fc0551248e Polishing that Add/Edit Blocks button 2005-02-01 08:35:06 +00:00
defacer
e7c15eca42 Since people adding this block to the quiz screen will get an empty display
at first, show them a more friendly message instead.
2005-02-01 07:46:31 +00:00
moodler
cdf3925518 Messaging can now be completely disabled using $CFG->messaging 2005-01-31 07:11:42 +00:00
moodler
3eea7601ab New string 2005-01-31 03:35:45 +00:00
moodler
4d759b7944 Fixed a typo 2005-01-30 09:31:46 +00:00
julmis
101037c379 Adding new strings for the editor 2005-01-29 20:02:13 +00:00
moodler
546699899a FIxed the wording of the unread post notices on the course page 2005-01-29 09:56:42 +00:00
moodler
f37da85054 MAJOR NEW FEATURE: Tracking of read/unread posts
Many thanks to Mike Churchward for his work on this and persevering
with sending updated versions to me.  :-)

Shane and I have polished it up, rewritten a few parts (display-related)
and here it is, finally in CVS!

I think there will still need to be some optimisation for the SQL,
since it's still pretty intensive. Perhaps some sort of caching in
the session that gets modified along with the database whenever
something gets read.

However if there are problems the whole thing can be switched off
in the forum module config so this is not crucially urgent.
2005-01-29 09:49:42 +00:00
moodler
86db09ef85 Added Jon's html block from contrib! Thanks, Jon! 2005-01-29 03:48:45 +00:00
dhawes
445e8c8b9a new string for image feed display option in instance config 2005-01-29 03:03:18 +00:00
moodler
ccad4459d6 The cron warning has been rewritten, and now has links. 2005-01-28 17:53:07 +00:00
moodler
425c45a746 Something I didn't check in ages ago 2005-01-28 17:39:21 +00:00
moodler
da2bf59020 Fixed a typo 2005-01-28 17:35:43 +00:00
defacer
9acdd7b2f8 One more string here, I had forgotten to add it. 2005-01-27 23:58:10 +00:00
dhawes
8ada02c015 Latest updates to lang file for rss_client block including strings for newest features 2005-01-27 22:47:56 +00:00
michaelpenne
0295907963 added some new lang entries for mod.html 2005-01-27 21:37:41 +00:00
mjollnir_
873bf8758f Initial checkin for import course content functionality (uses backup/restore). Probably needs wording changes and new icon! Please test me *thoroughly*! 2005-01-27 02:35:10 +00:00
defacer
ba05c3aeeb More language strings for the quiz_results block. I think that will be all. 2005-01-26 22:23:39 +00:00
koenr
8600514bc8 moving towards XHTML compliance 2005-01-26 14:47:26 +00:00
thepurpleblob
201d8027f8 Added bit for Learnwise import format. 2005-01-26 10:47:54 +00:00
thepurpleblob
183dfda0f2 Added Learnwise import format string 2005-01-26 10:41:43 +00:00
defacer
95ceba88f2 Initial checkin of language for the quiz_results block. 2005-01-26 00:29:42 +00:00
koenr
7e11e3225d moving towards XHTML compliance missed nowrap="nowrap" 2005-01-25 20:05:18 +00:00
dhawes
a9c38b3be8 latest update for rss_client block 2005-01-25 14:44:57 +00:00
mjollnir_
b61efafba5 Initial checkin for new meta courses feature. Please test!
See http://moodle.org/mod/forum/discuss.php?d=17269 for description.
2005-01-24 22:21:28 +00:00
gustav_delius
0353801a2b There is now a mechanism by which question types can have their own setup options. Because this does not change anything unless it is used I hope it is o.k. that I am submitting this without asking first. This is based on code by Mad Alex. 2005-01-22 22:27:16 +00:00
julmis
23342b406e Updating editor strings. 2005-01-22 10:55:25 +00:00
gustav_delius
ef0921d1ff It is now possible to base new questions on existing ones, see get_string('editingquestion', 'quiz'); 2005-01-19 09:50:33 +00:00
martinlanghoff
35de9e2487 Ported from MOODLE_14_STABLE - Show a warning to admins if cron.php hasn't been run 2005-01-17 20:59:17 +00:00
defacer
4ee6e69aaf Fix for bug 2372:
Renamed a string in the language file (the code was looking for a different
name than the one that existed).
2005-01-17 14:29:27 +00:00
moodler
532255f848 Updated it a little 2005-01-16 15:49:04 +00:00
moodler
eed11c8a81 Missing help file!! 2005-01-13 07:11:36 +00:00
defacer
8b81a21e80 Two new strings for the new calendar preference. 2005-01-12 12:10:17 +00:00
koenr
491f47f424 Updated translationguide.html, learning from the errors I've seen when making the language packs XHTML compliant.
Please check the modification for errors to content and english language before I anounce this modification in the language forum!!
2005-01-12 09:53:15 +00:00
stronk7
41c980286b Now print-view availability for students can be configured by glossary.
Bug 2080 (http://moodle.org/bugs/bug.php?op=show&bugid=2080)
2005-01-12 00:55:38 +00:00
moodler
792197b095 Added cookie detection, based on Petr's code. Thanks!
A notice will be printed on the login page if the session cookie can not be set.
2005-01-11 12:43:29 +00:00