1317 Commits

Author SHA1 Message Date
moodler
197becb829 Enrolment period -> Enrolment duration ... same thing but clearer to teachers maybe 2005-02-11 02:22:44 +00:00
koenr
ee97fbe5a7 xhtml compliance
removing the valign
replacing alt with  alt=""
closing img-tag
2005-02-10 11:30:10 +00:00
koenr
64d79d168d extended guidelines for xml-compliance 2005-02-10 11:18:32 +00:00
moodler
32e2b30209 This more or less completes the PHP side of the 1.5 themes
Added $user->theme and $course->theme choices, controlled by admin
variables on the main config variables page.

By default this is all turned off, since multiple themes can be
a little disorienting.

A hidden feature is session themes ... you can change the theme
on any page by passing theme=xxxx as a parameter.  By default this
requires sesskey (so that people don't change theme on each other),
but this security can be switched off using a hidden variable
$CFG->allowthemechangeonurl = true;   Good for quick tests.
2005-02-10 10:28:27 +00:00
moodler
1695b68032 New feature: maintenance mode.
Admin can put a site on hold during an upgrade or theme changing etc

Controlled by a file in dataroot, so it can also be controlled via command line:

    touch moodledata/1/maintenance.html

    rm moodledata/1/maintenance.html
2005-02-10 05:11:34 +00:00
koenr
6cf0d79bca More guidance: trying to prevent frequent errors 2005-02-09 23:12:49 +00:00
koenr
9fb96edd4d trying to be more clear for new languages 2005-02-09 21:39:14 +00:00
defacer
0e85e8f856 Extra . for cuteness :) 2005-02-09 19:51:21 +00:00
moodler
2c5d79d437 Added some new strings and de-capitalised most of the others. :-) 2005-02-09 15:20:59 +00:00
moodler
3e060c5c69 Updated strings, moved from moodle.php 2005-02-09 13:49:49 +00:00
moodler
2d47c851f9 Better selection of themes, and screenshot support 2005-02-09 12:44:36 +00:00
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