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 |
|
skodak
|
bc202f4390
|
fixed harcoded string "Select a Role"
|
2006-09-12 20:54:21 +00:00 |
|
skodak
|
be382aafb3
|
get_component_string() now works for all enrollment plugins MDL-6522
|
2006-09-12 20:03:08 +00:00 |
|
skodak
|
69eb59f28a
|
Changed sort order in Role definition page MDL-6522
|
2006-09-12 19:54:33 +00:00 |
|
stronk7
|
3be91b01b6
|
Added support for add_field, drop_field and rename_field PHP code generation.
|
2006-09-12 17:45:25 +00:00 |
|
stronk7
|
cb78437d64
|
Changed some PHP comments.
|
2006-09-12 17:41:22 +00:00 |
|
stronk7
|
88bf021308
|
Fixed buggy condition. Now defaults are properly calculated by getPHP()
|
2006-09-12 16:45:46 +00:00 |
|
stronk7
|
9a96282f2c
|
Added rss_client->shared
|
2006-09-12 15:24:41 +00:00 |
|
stronk7
|
8b9b510961
|
adding the user_lastaccess table
|
2006-09-12 15:19:10 +00:00 |
|
tjhunt
|
3542314884
|
Update help file to match the changes in the code and on Moodle docs I made some time ago.
|
2006-09-12 14:33:38 +00:00 |
|
moodler
|
32b9a98349
|
Fixed a bug that must have been there for a while, so that guest icons work again
|
2006-09-12 14:02:15 +00:00 |
|
moodler
|
1845f8b80e
|
Revamped require_login() function to handle roles better.
|
2006-09-12 09:31:23 +00:00 |
|
moodler
|
e4d81c60a9
|
Tidying up a bit
|
2006-09-12 09:30:05 +00:00 |
|
moodler
|
b1ce7811ad
|
Fixed MDL-6479 by adding two block columns on admin pages.
Also we now hide the blocks and headers completely until $SITE is properly
defined.
|
2006-09-12 09:22:27 +00:00 |
|
toyomoyo
|
ae9e4c064e
|
replacing iscreator() calls with capabilty
|
2006-09-12 08:56:10 +00:00 |
|