sam_marshall
1e4c8535ef
Wiki - fixed 'Strip versions' that didn't work in postgres because of GROUP BY a select alias not being allowed. (Even tested in mysql this time...)
2006-10-04 10:03:02 +00:00
moodler
4e423cbf5d
Bye-bye to old database upgrade files and hellow to upgrade.php!
...
First order of business: drop all the extraneous user_xxx tables.
2006-10-04 09:47:05 +00:00
moodler
eb437bd351
Some changes to ddllib.php to make some functions a bit easier to call.
...
May not be final ... see MDL-6817 for details.
2006-10-04 09:44:38 +00:00
toyomoyo
c0c98c7c78
fixing roles support for backup/restore
2006-10-04 09:01:50 +00:00
vyshane
e0539647aa
Added $restore->mods[$mod->type]->granular to restore_create_sections() and to restore_create_modules(). This defines whether we are doing a granular restore where we care about the individual module instances to be restored, or whether we are not doing a granular restore, in which case we just restore all course module instances.
2006-10-04 08:35:00 +00:00
moodler
3a4c750bcc
FIxed up some more references to user tables
2006-10-04 07:36:58 +00:00
moodler
7b37cb9a01
Added new function
...
function user_has_role_assignment($userid, $roleid, $contextid=0)
2006-10-04 07:07:57 +00:00
bobopinna
acba841b09
Fixed a bad error code choose
...
Rewritten the GetErrorString function to fix bad error code call
2006-10-04 06:22:18 +00:00
bobopinna
e743389667
Added API property version required from ADL Test Suite
2006-10-04 06:18:49 +00:00
moodler
3ede4ecbcb
Fixes to remove access to user_coursecreators and use roles instead MDL-6800
2006-10-04 05:36:17 +00:00
moodler
7dfa686dbd
Added button to turn editing off again ... ugly but ...
2006-10-04 04:49:44 +00:00
moodler
c9f8e57f4a
FIxed category editing button
2006-10-04 04:45:58 +00:00
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