22718 Commits

Author SHA1 Message Date
moodler
0baf9f0f23 Fixed roles link a bit 2006-10-04 04:40:55 +00:00
moodler
4610e45b11 FIxed for duplicate icons MDL-6811 2006-10-04 04:37:40 +00:00
moodler
ceb7638355 Automatic installer.php lang files by installer_builder (20061004) 2006-10-04 02:56:19 +00:00
toyomoyo
9b5d7a463e fixing typo 2006-10-04 02:43:29 +00:00
toyomoyo
7f8691201c fixed a bug where block instances aren't deleted properly 2006-10-04 02:43:11 +00:00
moodler
e020c546c7 Fix for access to users at site level MDL-6810 2006-10-04 02:14:25 +00:00
skodak
793a8c3af7 Assignment Module breaks MyMoodle Page MDL-6802, revisited - I hope it is correct now 2006-10-03 23:34:03 +00:00
skodak
93caac3a72 MDL-6805 Fix redirects in blog - edit button now properly redirects to self 2006-10-03 21:07:13 +00:00
skodak
db837673df MDL-6805 Fix redirects in blog; MDL-6807 fix blog capability checks 2006-10-03 20:41:15 +00:00
skodak
290cf2f484 fixed broken table layout in blog MDL-6806 2006-10-03 20:18:58 +00:00
ethem
dc754f4f56 Put back last commit. Some functions check $extra->id. 2006-10-03 19:39:21 +00:00
skodak
ab2f17b05b Completely disable all blog scripts when blog system disabled from site preferences MDL-6803 2006-10-03 19:21:35 +00:00
skodak
9731624c87 Assignment Module breaks MyMoodle Page MDL-6802, please test it 2006-10-03 18:31:51 +00:00
ethem
c008cd2fcf If an error occures, id returns 0.
The user, who will be sent email, may be confused for $record->id=0.
Merged from 16stable.
2006-10-03 18:21:14 +00:00
gustav_delius
1dab3c8384 The course upload size limit applies to students only, it should not be imposed for teacher uploads. 2006-10-03 18:19:38 +00:00
ethem
9c59948e63 * enrol_into_course() doesn't send welcome message unless $course->welcomemessage is set.
This is actually good thing, because we can send our welcome message.

* enrol_into_course() added in Moodle(2006091700), so authorize plugin requires this version.
2006-10-03 18:00:48 +00:00
tjhunt
158e545945 MDL-5601 - restoring a course with a multianswer question sometimes causes an error() for a non-fatal contition. Change it to a notify, and everything seems to work. I don't really understand why, but this change does not make matters worse, so I am committing it. Thanks to Joseph Rezeau. Merged from MOODLE_16_STABLE. 2006-10-03 17:57:16 +00:00
tjhunt
54f306788a MDL-6649 Only show the HTML editor for the first essay question on a page, since it is unreliable when there are lots. Merged from MOODLE_16_STABLE. 2006-10-03 17:32:22 +00:00
stronk7
2ddec1f4ac Changed PG rename_index() to use the old ALTER TABLE ... RENAME TO syntax
(pretty strange syntax, but seems to work)
2006-10-03 15:00:55 +00:00
tjhunt
2da448161a MDL-6297 shuffleanswers option not imported correctly for MC questions. 2006-10-03 14:01:38 +00:00
moodler
921a34d61b Added copyright notice (they paid moodle.com for this development)
http://moodle.org/mod/forum/discuss.php?d=55410
2006-10-03 12:51:24 +00:00
ethem
b99cb7fd23 No need extra $order->status check. These functions expired() and settled() do it for us. Merged from 16stable. 2006-10-03 09:05:38 +00:00
toyomoyo
5e67946d6c adding support for 1.6->1.7 backups 2006-10-03 08:54:46 +00:00
moodler
31aab450e0 Removed focussing altogether MDL-6750 2006-10-03 07:31:49 +00:00
moodler
088f12e3ff Automatic installer.php lang files by installer_builder (20061003) 2006-10-03 02:55:32 +00:00
moodler
8ea7e7b0f7 Merged endless loop fix from stable 2006-10-03 01:46:16 +00:00
moodler
50e07a4995 Patched login for discussions 2006-10-03 01:19:35 +00:00
stronk7
cc0bf61676 Now blocks deletion looks both for tables without and with the
"block_" part in table names.
This is an interim situation until "block_" will be required. See:
http://docs.moodle.org/en/Development:Coding#Database_structures
http://tracker.moodle.org/browse/MDL-6786

Also, it's the FIRST use of XMLDB DDL functions inside Moodle! B-)
2006-10-02 23:06:36 +00:00
skodak
5fe9a11d96 more diagnostics in has_capability() - number instead of context object detected and debug message displayed 2006-10-02 22:10:36 +00:00
skodak
403ba37a35 fixed has_capability context parameter in blog 2006-10-02 22:06:18 +00:00
skodak
26d038607a moodle/blog:view usage fixed in blog 2006-10-02 21:15:48 +00:00
skodak
11c467d939 some blog problems fixed - non existing capabilitites, pg incompatibilities;
in anycase the blog is still broken :-(
working on some more fixes now...
2006-10-02 20:50:49 +00:00
skodak
a44de9c12f fixed print_texarea() capability requirement 2006-10-02 19:47:11 +00:00
skodak
3055079518 fixed sql text quoting, other fixes in blog ahead 2006-10-02 19:21:26 +00:00
stronk7
f8ca405052 re-enabling the rename_field() test 2006-10-02 17:42:31 +00:00
stronk7
ae5a83e6fd rename_field() under mssql completed 2006-10-02 17:42:14 +00:00
moodler
8303eb8447 Fixes related to presets and MDL-6755.
The original code was shocking once I started reviewing it, and even
after heavy editing I'm still not happy with it, but at least it works
more like it was supposed to.

Needs more cleaning up to make it clearer and probably safer.

Also, presets can now contain langage packs and they'll be used.
The image gallery is an example.
2006-10-02 17:24:54 +00:00
moodler
44abaca047 Added another s() to the query strings. Thanks Petr! 2006-10-02 17:09:18 +00:00
stronk7
c562997ff8 rename_field() under oracle completed 2006-10-02 17:06:37 +00:00
tjhunt
ec6adca0f4 MDL-6761 Edit qestion link gone from question preview popup. It was checking the wrong capability. 2006-10-02 17:04:12 +00:00
stronk7
86bb076fc4 rename_field() under postgresql completed. 2006-10-02 17:02:35 +00:00
stronk7
dc7c388280 MySQL doesn't have check constraints. We use enums instead. 2006-10-02 17:02:07 +00:00
mits
2afc256919 Changed the currently selected admin menu bgcolor. 2006-10-02 16:51:48 +00:00
stronk7
f14080b0ad Prevent "id" fields to be renamed in generators 2006-10-02 16:47:02 +00:00
stronk7
6fdea1a0bd In my previous commit, "I" was "It" :-D
Plus one typo fixed.
2006-10-02 16:46:12 +00:00
stronk7
af72e37237 Prevent "id" fields to be renamed. I can cause lots of problems. 2006-10-02 16:37:41 +00:00
mits
d917ecd46b Highlight the currently selected admin menu.
Changed admin search result color.
2006-10-02 16:35:34 +00:00
stronk7
0e204a1012 Some adjustments to be able to get names without prefix 2006-10-02 16:28:51 +00:00
stronk7
6c02f04b5a rename_table() under postgresql completed 2006-10-02 16:27:18 +00:00
stronk7
3033991184 Set debug off on tests 2006-10-02 16:26:34 +00:00