1399 Commits

Author SHA1 Message Date
thepurpleblob
658c8f34be Added Moodle XML format. 2005-02-17 14:31:59 +00:00
thepurpleblob
371374f809 Added help for IMS QTI and Moodle XML formats 2005-02-17 14:31:25 +00:00
thepurpleblob
c3f3823315 New improved help text for Markdown format. Thanks to Dave Scotson. 2005-02-17 14:11:14 +00:00
moodler
1ab853e586 HTML cleanup 2005-02-17 05:37:47 +00:00
defacer
81e6a0a5af More UI for calendar and DST options. 2005-02-17 00:16:15 +00:00
fiedorow
897a73ae69 Allow authentication method to be specified in bulk upload 2005-02-16 14:15:11 +00:00
koenr
348887ac10 empty options are necessary - with   they validate ok 2005-02-16 12:45:42 +00:00
koenr
7cd990dcf6 xhtml compliance 2005-02-16 10:07:04 +00:00
stronk7
29acd3efbc One string to fix orphaned questions. See bug 2380
(http://moodle.org/bugs/bug.php?op=show&bugid=2380)
2005-02-15 19:44:34 +00:00
koenr
a210956da8 xhtml compliance 2005-02-15 19:36:58 +00:00
koenr
65579f313e xhtml compliance 2005-02-15 18:13:31 +00:00
stronk7
ae7bedb707 Addded en support for quiz->decimalpoints.
Please check the translation and help file!
2005-02-14 20:04:32 +00:00
moodler
2bb407f51d Very very quick checking of new lang doc editing script from David Mudrak,
with significant cleanups

Needs some testing.
2005-02-14 19:35:53 +00:00
moodler
3538a79693 New admin config variable 'allowuserblockhiding' will enable/disable the
collapsible blocks feature.  It's on by default.

Also, removed thead/tbody from blocks (using th instead for the header).
2005-02-14 16:42:52 +00:00
martinlanghoff
bf17309a02 Merged from MOODLE_14_STABLE - Stop DB inserts we know are going to fail, and clearer error message when file upload stops. 2005-02-14 06:07:59 +00:00
gustav_delius
f622d17759 Fix bug 1998 2005-02-14 00:05:00 +00:00
gustav_delius
0d645d7cc1 changed language string, see bug 2169 2005-02-13 21:30:02 +00:00
gustav_delius
fe48879334 fixed typo 2005-02-13 21:27:50 +00:00
gustav_delius
db837a6645 Fixed behaviour of groups.php in the case of an empty group, see bug 2346 2005-02-13 19:38:10 +00:00
stronk7
9597a4d970 Needed strings for MIM restore. 2005-02-13 18:56:52 +00:00
gustav_delius
1d7bda4583 Fixed some typos. 2005-02-13 18:46:08 +00:00
moodler
8502c3a178 Edited by string 2005-02-13 17:20:36 +00:00
gustav_delius
88165dbc72 index of lesson help files, see bug 2510 2005-02-13 12:03:45 +00:00
gustav_delius
4bd2e69a51 When course is hidden a student trying to enter gets the new message "This course is currently unavailable to students", see bug 2511 2005-02-13 11:43:05 +00:00
gustav_delius
eb58929bbb Added string 'counteditems' to allow better translation of things like "8 students", see bug 2530 2005-02-13 11:22:48 +00:00
stronk7
ff377532bd Being a bit more detailed... 2005-02-13 11:20:33 +00:00
stronk7
fbd7202c3e Add an empty string 2005-02-13 11:10:39 +00:00
moodler
1f15db9dee Changed the wording again .. should be easier to scan I hope 2005-02-13 06:15:12 +00:00
moodler
da2224f83d Change the string for the hide/show ... showimmediately makes sense
on a new creation but not when editing an activity
2005-02-13 06:07:06 +00:00
stronk7
289c39d0f5 New string to backup messages in SITE backups 2005-02-13 01:12:54 +00:00
gustav_delius
48e535bc35 Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.

If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.

If deleting a coursemodule its events are deleted from the calendar.

The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.

For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
stronk7
c335a52c94 Added two strings to allow backups of MIM in site backups. 2005-02-12 18:54:56 +00:00
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