urs_hunkler
80f7ef6fe9
Merged from 1.6. See bug MDL-6028
2006-09-13 15:23:50 +00:00
tjhunt
404518eb85
Fix ordering problem with question number column headings.
2006-09-13 15:00:58 +00:00
tjhunt
aedf2f0b85
Removing Eclipse .project file that Al committed by mistake.
2006-09-13 14:54:51 +00:00
tjhunt
2ec9591c4b
Fix typo.
2006-09-13 13:25:11 +00:00
tjhunt
43e3febb23
Delete what I assume is a bogus line.
2006-09-13 13:25:00 +00:00
thompson697
163ff97e84
Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
moodler
ea82d6b638
CHanged a lot of CFG->debug stuff to use the new debuggin() function
2006-09-13 09:45:07 +00:00
thompson697
c3b307b777
Initial work on Roll Forwards - Restore from previous semester (ongoing MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
2006-09-13 09:40:55 +00:00
moodler
ee437bbc2a
The debug variable is now much more flexible
2006-09-13 09:22:16 +00:00
toyomoyo
17d6a25e5c
adding capabilitiies
2006-09-13 09:08:14 +00:00
moodler
bd963c1c7e
Fixed up debugging() function so it's more useful.
2006-09-13 08:53:19 +00:00
moodler
4b743adbc3
Deleted the moodle_error_handler after reading the docs more.
...
it's not really as useful as I thought it might be
2006-09-13 08:41:12 +00:00
moodler
e6c5492368
Added a simple moodle_error_hendler function I'm playing with
2006-09-13 08:23:30 +00:00
moodler
d6cc763f73
Added forum_role_assign and forum_role_unassign
2006-09-13 08:11:34 +00:00
moodler
3d1885af1e
Added some checking that should not be necessary but I had notices in one extreme situation
2006-09-13 08:09:18 +00:00
moodler
0f161e1fee
role_assign() and role_unassign() now call these hooks in each module:
...
xxx_role_assign()
xxx_role_unassign()
so that modules can do stuff they might need to do (eg subscriptions etc)
2006-09-13 08:07:14 +00:00
moodler
e82dc9bb41
Tidy-ups for user profile page
2006-09-13 06:56:25 +00:00
moodler
761a15574c
Fixed up this script so that self-unenrolment works as expected
2006-09-13 06:41:58 +00:00
moodler
8d630fda5a
Expanded forum_add_user_default_subscriptions() for more contexts
...
Added forum_remove_user_subscriptions()
2006-09-13 06:40:30 +00:00
moodler
d74067e8e7
1) Fixed API of require_capability() so it matches has_capability()
...
2) Extended role_unassign to clean up forum subscriptions etc as well
2006-09-13 06:35:25 +00:00
toyomoyo
be2e1b6698
removing debug statement
2006-09-13 06:13:53 +00:00
toyomoyo
cbf0446d8a
use user_lastaccess table to find inactive time instead of user_students table
2006-09-13 06:13:07 +00:00
moodler
94fb6d1d62
fixing a problem where a user hasn't got any entries on the user_lastaccess table, temp solution as this could break other db
2006-09-13 05:55:57 +00:00
moodler
050c78c41d
Missed some $COURSE conversion
2006-09-13 05:33:09 +00:00
moodler
cb80265b21
Tidying add_to_log slghtly
2006-09-13 05:31:12 +00:00
toyomoyo
8ca1053a45
changed to outer join as user_lastaccess table could contain null
2006-09-13 05:29:26 +00:00
moodler
7da0af9feb
Fixed some obvious typos
2006-09-13 05:05:17 +00:00
moodler
040e8fd8b8
Removed duplicate defines
2006-09-13 04:13:50 +00:00
moodler
9103fd10f8
Use $COURSE and not the $course hack
2006-09-13 04:11:36 +00:00
vyshane
29ac3cc28d
Capability tweaks for rss_client block
2006-09-13 04:10:41 +00:00
vyshane
73b73d2101
More capabilities tweaks
2006-09-13 04:09:31 +00:00
vyshane
48f6bcddd2
Fix for blocks capability updates. Somehow missed this commit last night.
2006-09-13 04:08:58 +00:00
mark-nielsen
fa9234e0e0
New strings (added a missing one); made the essay email string much more sane
2006-09-13 04:03:45 +00:00
vyshane
0c4d9f492e
moodle/site:manageblocks tweak
2006-09-13 03:56:38 +00:00
mark-nielsen
260a56b114
Added some more stats to reports, added more actions to collapsed view and increased speed of lesson by using lesson_set_message() and redirects with 0 second delays.
2006-09-13 03:42:16 +00:00
vyshane
1975d8bd3e
Added $USER->id in rss_display_feeds() call
2006-09-13 03:02:57 +00:00
vyshane
7d02b43640
Fixed typo
2006-09-13 02:59:20 +00:00
stronk7
f0b50bbe89
Now the "AFTER" clause is supported by add_field()
2006-09-12 22:58:04 +00:00
stronk7
48c2be79be
Now we support to use the previous attribute in fields declaration
2006-09-12 22:56:52 +00:00
stronk7
f521d32b71
Two new functions added: add_field() and drop_field()
2006-09-12 22:23:00 +00:00
stronk7
12bda5832f
Two more tests added: add_field() and drop_field()
2006-09-12 22:21:51 +00:00
stronk7
0bd921db9e
Added support for add_field and drop_field
2006-09-12 22:20:50 +00:00
stronk7
0dd87cfa7a
Delete one trailing comma
2006-09-12 22:15:44 +00:00
stronk7
3ab2610037
Added functions to retrieve the proper add and drop field SQL.
2006-09-12 22:15:00 +00:00
stronk7
d256743c5b
When dropping columns, look for check constraints and drop them too.
2006-09-12 22:13:45 +00:00
stronk7
ec68af222e
Ops, forgot to delete some debug... :-/
2006-09-12 21:30:13 +00:00
stronk7
2a02841762
MSSQL needs to drop the default constraint before being able to drop the column
2006-09-12 21:24:03 +00:00
skodak
c15f680424
partially fixed group management in workshop
2006-09-12 21:09:43 +00:00
skodak
33e7885ee0
fixed group management in wiki
2006-09-12 21:07:54 +00:00
skodak
3fde1a3d2f
groups assignment now works with assigned roles instead of user_students and user_teachers
2006-09-12 20:55:58 +00:00