vyshane
42fb3c858f
Converted forum searches so that they take into account the new Roles system. Search results will only include what the searcher should be able to see based on his/her capabilities.
2006-09-14 08:44:45 +00:00
bobopinna
9b3496f265
Removed two style definitions (bug MDL-6209)
2006-09-14 08:28:26 +00:00
moodler
438c5b8098
Removed a PHP4 notice
2006-09-14 07:35:53 +00:00
gbateson
29f4a60ffe
add get_coursemodule_from_id/instance functions for compatability with Moodles <1.7
2006-09-14 07:29:22 +00:00
gbateson
2a532aa68c
reduce length of worksheet name to 31 chars if running under Moodle 1.5
2006-09-14 07:17:53 +00:00
gbateson
3c4f45c2d9
remove from blank cells when generating Excel sheet
2006-09-14 07:16:14 +00:00
moodler
966620586e
Better handling of forum id/object
2006-09-14 07:13:08 +00:00
moodler
503eecab20
Strip tags from block skip link names
2006-09-14 07:00:43 +00:00
moodler
71832a910b
Fixed some typos
2006-09-14 06:54:54 +00:00
moodler
d78596d804
Fixed a notice
2006-09-14 06:48:58 +00:00
toyomoyo
c5a3467aa0
fixing missing bracket
2006-09-14 06:43:01 +00:00
moodler
89d57596bd
Fixed a typo
2006-09-14 06:30:02 +00:00
moodler
c64633f6f6
Merged fix from http://moodle.org/mod/forum/discuss.php?d=38860 (Brian Jones)
2006-09-14 05:46:49 +00:00
moodler
09ad59dcb8
Revert to standardwhite if theme is missing MDL-6257
2006-09-14 05:15:06 +00:00
moodler
2fca6e0b26
Fixing up comments on debugging()
2006-09-14 04:31:05 +00:00
moodler
fa989c3882
Moved debugging() to weblib.php since it's really about output
2006-09-14 04:25:17 +00:00
toyomoyo
9dcc11eb97
taking out user_student table reference in SQL, replaced with role_assignment
2006-09-14 03:54:37 +00:00
moodler
b88b740a80
Remove obsolete themes link MDL-6518
2006-09-14 03:35:19 +00:00
toyomoyo
61b03dc7a6
replacing legacy calls
2006-09-14 03:18:55 +00:00
vyshane
8d9a0ae64b
Fix for MDL-6517. Patch by David Mudrak.
2006-09-14 03:18:37 +00:00
gbateson
e9be584810
fix for overly advanced version numbers in HotPot module in Moodle 1.5 (see bug MDL-6538)
2006-09-13 23:59:38 +00:00
urs_hunkler
18a6481ffa
'merged from 1.6'
2006-09-13 17:31:35 +00:00
tjhunt
aa4f6af41a
MDL-6542 - Don't run the unit tests until the user is ready.
2006-09-13 16:19:56 +00:00
tjhunt
45f501a54b
Put the unit test styles in the standard theme, rather than using the previous nasty hack that had been broken by the admin page changes.
2006-09-13 16:16:39 +00:00
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