383 Commits

Author SHA1 Message Date
defacer
4694488110 English time format strings changed to new style.
We should now be changing these accordingly in ALL the language packs.
2005-02-17 23:00:35 +00:00
defacer
85351042d1 Starting to fix userdate() to recognize DST as well. 2005-02-17 22:43:18 +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
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
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
moodler
197becb829 Enrolment period -> Enrolment duration ... same thing but clearer to teachers maybe 2005-02-11 02:22:44 +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
2d47c851f9 Better selection of themes, and screenshot support 2005-02-09 12:44:36 +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
defacer
fc0551248e Polishing that Add/Edit Blocks button 2005-02-01 08:35:06 +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
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
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
julmis
23342b406e Updating editor strings. 2005-01-22 10:55:25 +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
koenr
99240fb67a moving towards XHTML compliance 2005-01-08 08:04:35 +00:00
moodler
38c6a92809 Big improvements on message searching. It now highlights the results, and
shows you the fragment containing the results (not just a shortened version)
2005-01-03 12:16:06 +00:00
gustav_delius
15939a2fc9 Introduced the language string 'editingteachershort' and set it to 'Editor'. Also fixed a typo. This closes bug 1949 2005-01-02 07:42:24 +00:00
gustav_delius
34283aa87d The teacher now can choose whether to see the advanced quiz
options or not. This is handled as in the resource module. The
"Show advanced options" button is only shown if the admin has
chosen to declare some of the options as advanced.

There are now 4 review options as suggested by Martin in
http://moodle.org/mod/forum/discuss.php?d=16709

Provides separate buttons "Update this quiz" and "Edit questions",
see http://moodle.org/mod/forum/discuss.php?d=16708. To make this
possible edit.php can now be called with a quiz id and it saves
its data itself rather than relying on mod.php.

mod.html now has a "Save changes" and a "Save changes and edit questions" button.

"Attempt quiz now" button gets a different language string for
re-attempts. This is currently set to "Re-attempt quiz".

After viewing the feedback for an attempt the "Continue" button
leads back to the course homepage, as requested in bugs 1224 and
1976. If there is no feedback the user is brought straight to quiz/view.php.
2005-01-02 07:15:19 +00:00
moodler
4cd37687c8 Moved a string (out of order) 2004-12-28 13:57:38 +00:00
gustav_delius
a5c0990e5d New quiz config page to allow admin to set defaults and hide options on the quiz setup page. 2004-12-23 07:09:33 +00:00
moodler
e85a8915d7 Two new strings 2004-12-19 13:25:47 +00:00
mjollnir_
68ba62d21a Merged from MOODLE_14_STABLE: Adding fix for idnumber duplication problem in restoring from backup discussed at http://moodle.org/mod/forum/discuss.php?d=16297 2004-12-17 03:04:24 +00:00
defacer
54598fb04e The user editing screen and the change password screen didn't play very
well with debug = on. In fact the change password screen didn't play at all.

Made a few small changes to fix notices and now everything works OK.
Added a missing language string.

*****************
This problem may very well exist in MOODLE_14_STABLE too! Unfortunately I
don't have access to a 1.4 checkout right now, so it will have to wait.
*****************
2004-12-16 17:26:29 +00:00
moodler
59b39c7380 Tweaks to the policy form (wider iframe and added a proper question to answer) 2004-11-29 08:10:37 +00:00
moodler
027a160469 New feature: Site Policy Agreements.
If the admin specifies a Policy Agreement (via URL in the config variables)
then each user is required to see and agree to that document once before
continuing.

To get everyone to see it again (on an update, say) one just needs to issue:

   UPDATE user SET policyagreed = 0
2004-11-29 05:30:36 +00:00
mjollnir_
4f3fecf4a6 On enrol students to a course page, force searching if too many users to display (controlled by MAX_USERS_PER_PAGE - not previously used and bumped up to 1000 as a more reasonable limit) - trying to put 30,000 users in a drop down menu crashes some browsers 2004-11-22 01:40:18 +00:00
mjollnir_
ff84f65428 Confirmation for deleting course categories 2004-11-16 02:21:31 +00:00
defacer
4362b39978 Latest changes for the blocks/pages features.
NOTE TO TRANSLATORS: Please do not be quick to translate this. It may still change.
2004-11-08 19:21:23 +00:00
defacer
3ecf46a193 Blocks are now saved to and restored from course backups!
Backward compatibility is maintained, i.e. you can restore ANY version
backups without problems in 1.5. When "adding backup data to an existing
course", no blocks are added. I 'm not sure what the correct behavior
would be in this case.

When restoring a backup from Moodle <= 1.2, the new course SHOULD be given
default blocks when it is restored. I have not actually tested this, my
tests were with version 1.3 and 1.4 backup format.
2004-10-29 17:07:11 +00:00
defacer
9b4b78fd6a Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
moodler
6eee2203bc Minor change for XHTML compatibility 2004-10-15 08:31:16 +00:00
moodler
9de24b62ee Config for dbsessions variable 2004-09-30 08:04:56 +00:00
moodler
037dcbb6a9 A first attempt at adding accessibility for the jump menus, by adding a
button after them when Javascript is not enabled.

Button is currently named "Jump".  Could be something else.
2004-09-29 14:00:35 +00:00
stronk7
4626f768f2 3 new strings for scheduled backups.
Coming from 14_STABLE
2004-09-24 18:43:14 +00:00
moodler
cd3a9f4687 Changed some strings for XHTML compliance 2004-09-21 09:22:20 +00:00
moodler
d35757eb25 Merged/cleaned changes from MOODLE_15_LDAP to HEAD ...
please don't use the MOODLE_15_LDAP branch any more.
2004-09-20 09:08:57 +00:00
mjollnir_
9603814743 Small bug fixes for upload class.
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-75
    2004-09-17 03:19:50 GMT
    Penny Leach <penny@catalyst.net.nz>
    bug fix for upload class related to optional file uploads (like in user/edit.php)
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-76
    2004-09-17 03:23:17 GMT
    Penny Leach <penny@catalyst.net.nz>
    bug fix for upload class related to optional file uploads (like in user/edit.php)
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-77
    2004-09-17 03:42:10 GMT
    Penny Leach <penny@catalyst.net.nz>
    more fixes for upload class

Full logs:

Revision: moodle--eduforge--1.3.3--patch-75
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Fri Sep 17 15:19:50 NZST 2004
Standard-date: 2004-09-17 03:19:50 GMT
Modified-files: lib/uploadlib.php user/edit.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-75
Summary: bug fix for upload class related to optional file uploads (like in user/edit.php)
Keywords:

Revision: moodle--eduforge--1.3.3--patch-76
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Fri Sep 17 15:23:17 NZST 2004
Standard-date: 2004-09-17 03:23:17 GMT
Modified-files: lib/uploadlib.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-76
Summary: bug fix for upload class related to optional file uploads (like in user/edit.php)
Keywords:

Revision: moodle--eduforge--1.3.3--patch-77
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Fri Sep 17 15:42:10 NZST 2004
Standard-date: 2004-09-17 03:42:10 GMT
Modified-files: lang/en/moodle.php lib/uploadlib.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-77
Summary: more fixes for upload class
Keywords:
2004-09-17 04:21:41 +00:00