29207 Commits

Author SHA1 Message Date
toyomoyo
576ad29016 MDL-10294, MDL-10028, changing messaging/bulk messaging system 2007-11-21 07:53:42 +00:00
mudrd8mz
9fcea62308 MDL-8090 Added new help file. Merged from stable 2007-11-21 03:09:37 +00:00
mudrd8mz
dcbd0ad693 MDL-8090 Merged from stable. Added new strings for lang.php 2007-11-21 03:08:12 +00:00
mudrd8mz
549ceae0d5 MDL-8090 Merged from stable. Print an obsolete message. 2007-11-21 03:05:12 +00:00
mudrd8mz
1b6cbebf27 MDL-8090 Merged from stable 2007-11-21 03:03:59 +00:00
mudrd8mz
1c2e83f7b2 Fixes typo 'yes'' -> 'yes' 2007-11-20 23:47:37 +00:00
stronk7
13877d12bd Applying one missing string. tableofcontentsabbrev. MDL-12071
Merged from MOODLE_19_STABLE
2007-11-20 23:44:08 +00:00
stronk7
19bd0b315e Adding one missing string. tableofcontentsabbrev. MDL-12071
Merged from MOODLE_19_STABLE
2007-11-20 23:41:52 +00:00
diml
036989246e added default values for datetime fields 2007-11-20 23:37:15 +00:00
diml
a602e1bc68 fix table name for deletion of indexes before regeneration 2007-11-20 23:22:56 +00:00
diml
6e97bc0808 fix unchecked foreach loops 2007-11-20 23:20:22 +00:00
sam_marshall
ca70075a39 MDL-12284 Moved require_js to weblib and improved it so that it works if called during header (also tidied up code) 2007-11-20 18:04:03 +00:00
tjhunt
75082bdd89 MDL-12286 - 'Save as new question' button ignores the setting in the 'Save in category' dropdown. Merged from MOODLE_19_STABLE. 2007-11-20 17:52:16 +00:00
tjhunt
71e197598c MDL-12172 - Sorry, more fall-out from converting continue buttons to use GET instead of POST. Sometimes, URLs were being passed in with & already repalced by & and we weren't handling that properly. Should now be fixed. Merged from MOODLE_19_STABLE. 2007-11-20 17:31:13 +00:00
tjhunt
b4d7d27cea MDL-12282 - Numerical question type - the units are displayed on the editing form with a stupidly large number of decimal places. Merged from MOODLE_18_STABLE. 2007-11-20 16:57:22 +00:00
tjhunt
987c5893ac MDL-12280 - Question bank forgets sort order when adding multiple questions to a quiz. Merged from MOODLE_19_STABLE. 2007-11-20 15:54:34 +00:00
tjhunt
13ccb7bd58 MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method returns true not an empty array. This patch allow subclasses to start their validate method with
$errors = parent::validation($data, $files);

which is what you naturally want to do if you are used to object oriented programming.

Merged from MOODLE_19_STABLE.
2007-11-20 15:08:05 +00:00
tjhunt
ea16c547ee Remove a developer debug notice and save a database query. Merged from MOODLE_19_STABLE. 2007-11-20 14:46:50 +00:00
nfreear
5cfea9fbae Follow up for MDL-12256, "Course AJAX has very poor accessibility - ALT text" - IE tooltip/ title hack. 2007-11-20 14:37:58 +00:00
ethem
488bc5f51b Fix for Canadian Postal Code
http://moodle.org/mod/forum/discuss.php?d=81736
2007-11-20 13:22:39 +00:00
tjhunt
fe93ba838b MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method signature was changed. This patch fixes all calls to parent::validation in the question editing forms. Merged from MOODLE_19_STABLE. 2007-11-20 12:41:04 +00:00
scyrma
828f84cf9a Makes it possible to confirm users using manual auth system. 2007-11-20 05:28:33 +00:00
toyomoyo
d052434c4f fixing header/formatting 2007-11-20 05:16:11 +00:00
moodler
b2d735f130 Automatic installer.php lang files by installer_builder (20071120) 2007-11-20 05:05:51 +00:00
toyomoyo
001f36522c MDL-12234, fixing unicode issues with global search 2007-11-20 04:12:18 +00:00
pichetp
705b5874ce MDL-12255 Adding questiontext decoding and subquestions validation when editing 2007-11-20 03:50:28 +00:00
pichetp
e9028ffc87 Solving MDL-12063 qtype_questions where left orphans when questions whe deleted or
qtype change
2007-11-20 03:48:29 +00:00
mattc-catalyst
1a5bc8ae5a MDL-12264 - course/info: check if course is hidden before displaying info about it.
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-11-20 02:32:09 +00:00
martinlanghoff
9b86470e53 MDL-12142 mailout-debugger: Now works on Windows too
Switched to use sys_get_temp_dir() to define
which tempdir to use.
2007-11-20 00:31:40 +00:00
martinlanghoff
4f957b116d accesslib: has_capability_in_accessdata() respects rdef locality a bit more
With this patch, we respect rdef locality when two roles
assignments in the same context have conflicting rdefs.
In that case, the most local rdef wins.

So RA locality still matters most. If you are a teacher
sitewide and a student in course X, student role trumps
teacher.

For a use case, see the discussion here
http://moodle.org/mod/forum/discuss.php?d=84472

Notes:

- If we wanted to have locality of RDEF trump everything
  we can. A comment in this patch shows how.

- I don't know how to reproduce this in pure SQL.

And Also:

This patch also fixes a bug where if CAP_PROHIBIT was set
_and_ another role added to it in the same context, we would
add or substract 1 to CAP_PROHIBIT, and it would lose its magic.

And while at it, tighten the code to avoid casts. All the
ints are unambiguously ints.
2007-11-20 00:18:31 +00:00
stronk7
9126bd7ee9 Some question formating...
Merged from MOODLE_19_STABLE
2007-11-20 00:10:05 +00:00
skodak
0112ed8e0d MDL-12249 fixed distribution for small groups; merged from MOODLE_19_STABLE 2007-11-19 22:55:39 +00:00
skodak
9509119b0e MDL-12249 fixed small group ration, can be overriden from config.php now; merged from MOODLE_19_STABLE 2007-11-19 21:41:02 +00:00
skodak
f16fa0a34b MDL-12249 groups UI cleanup and improvements - see tracker for details; merged from MOODLE_19_STABLE 2007-11-19 20:31:57 +00:00
diml
b9ce88c74c fix some keys 2007-11-19 20:09:38 +00:00
nfreear
f8eaeffa21 Fixes for bug MDL-12256, "Course AJAX has very poor accessibility - ALT text" (includes white-space cleanup). 2007-11-19 17:22:04 +00:00
nfreear
f7a5b3ad3a Fixes for bug MDL-12256, "Course AJAX has very poor accessibility - ALT text". 2007-11-19 17:21:28 +00:00
nfreear
11599e476d Initial fix for MDL-12256, "Course AJAX has very poor accessibility - ALT text" - test, imgAttributes.length NOT attributes.length. 2007-11-19 15:25:16 +00:00
sam_marshall
9b50bd46ad MDL-12075 Display individually colour-coded events in calendar rather than random day colours 2007-11-19 10:53:23 +00:00
moodler
21090e447a Merged from 1.9
Improvements to the tabs for assigning and overriding roles.   MDL-12120

Tabs are now all on the top row
Tabs have clearer titles
Other help texts improved
2007-11-19 07:13:02 +00:00
moodler
b8faa9a7d1 Merged fixes for override colouring MDL-12248 2007-11-19 06:59:19 +00:00
scyrma
a9237b8b45 MDL-3632 : this prevents people without mod/forum:viewhiddentimedposts to see hiddentimedposts. 2007-11-19 04:44:08 +00:00
toyomoyo
f2bcb0815d MDL-12218, display course specific role names on override page 2007-11-19 04:36:21 +00:00
toyomoyo
ed61510be6 changed to get_recordset_sql because get_records forces the first element to be$ 2007-11-19 04:13:15 +00:00
martinlanghoff
0cbcc8efc1 user_login() was not converted to using get_cache_flags().
It was still using the 'old' get_config() interface, so the 'cookie'
set by ntlmsso_finish() wasn't retrieved at all, and the automatic
login always failed.

Signed-off-by: Iñaki Arenaza <iarenuno@eteo.mondragon.edu>


Author: Iñaki Arenaza <iarenuno@eteo.mondragon.edu>
Committer: Martin Langhoff <martin@catalyst.net.nz>
2007-11-19 02:43:48 +00:00
martinlanghoff
58eada356d If the cache flag is not set, it doesn't make sense trying to test its value
Signed-off-by: Iñaki Arenaza <iarenuno@eteo.mondragon.edu>


Author: Iñaki Arenaza <iarenuno@eteo.mondragon.edu>
Committer: Martin Langhoff <martin@catalyst.net.nz>
2007-11-19 02:43:34 +00:00
martinlanghoff
a44240fa89 Fix typo in ntlmsso_finish()
Signed-off-by: Iñaki Arenaza <iarenuno@eteo.mondragon.edu>


Author: Iñaki Arenaza <iarenuno@eteo.mondragon.edu>
Committer: Martin Langhoff <martin@catalyst.net.nz>
2007-11-19 02:43:16 +00:00
toyomoyo
6bb7689ff9 merged fix for MDLSITE-294, needs a forced type cast 2007-11-19 02:25:22 +00:00
mattc-catalyst
6779dc6a02 MDL-12172: fixed get parameters not being submitted in Firefox
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-11-19 01:45:45 +00:00
toyomoyo
5bbf18cd6f changed to get_recordset_sql because get_records forces the first element to be key 2007-11-19 01:44:26 +00:00