]>
git.mjollnir.org Git - moodle.git/log
toyomoyo [Thu, 14 Sep 2006 09:08:07 +0000 (09:08 +0000)]
changing sql calls from user_students table to role_assignments table
vyshane [Thu, 14 Sep 2006 08:57:41 +0000 (08:57 +0000)]
Minor formatting tidyup
vyshane [Thu, 14 Sep 2006 08:44:45 +0000 (08:44 +0000)]
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.
bobopinna [Thu, 14 Sep 2006 08:28:26 +0000 (08:28 +0000)]
Removed two style definitions (bug MDL-6209)
moodler [Thu, 14 Sep 2006 07:35:53 +0000 (07:35 +0000)]
Removed a PHP4 notice
gbateson [Thu, 14 Sep 2006 07:29:22 +0000 (07:29 +0000)]
add get_coursemodule_from_id/instance functions for compatability with Moodles <1.7
gbateson [Thu, 14 Sep 2006 07:17:53 +0000 (07:17 +0000)]
reduce length of worksheet name to 31 chars if running under Moodle 1.5
gbateson [Thu, 14 Sep 2006 07:16:14 +0000 (07:16 +0000)]
remove from blank cells when generating Excel sheet
moodler [Thu, 14 Sep 2006 07:13:08 +0000 (07:13 +0000)]
Better handling of forum id/object
moodler [Thu, 14 Sep 2006 07:00:43 +0000 (07:00 +0000)]
Strip tags from block skip link names
moodler [Thu, 14 Sep 2006 06:54:54 +0000 (06:54 +0000)]
Fixed some typos
moodler [Thu, 14 Sep 2006 06:48:58 +0000 (06:48 +0000)]
Fixed a notice
toyomoyo [Thu, 14 Sep 2006 06:43:01 +0000 (06:43 +0000)]
fixing missing bracket
moodler [Thu, 14 Sep 2006 06:30:02 +0000 (06:30 +0000)]
Fixed a typo
moodler [Thu, 14 Sep 2006 05:46:49 +0000 (05:46 +0000)]
Merged fix from http://moodle.org/mod/forum/discuss.php?d=38860 (Brian Jones)
moodler [Thu, 14 Sep 2006 05:15:06 +0000 (05:15 +0000)]
Revert to standardwhite if theme is missing MDL-6257
moodler [Thu, 14 Sep 2006 04:31:05 +0000 (04:31 +0000)]
Fixing up comments on debugging()
moodler [Thu, 14 Sep 2006 04:25:17 +0000 (04:25 +0000)]
Moved debugging() to weblib.php since it's really about output
toyomoyo [Thu, 14 Sep 2006 03:54:37 +0000 (03:54 +0000)]
taking out user_student table reference in SQL, replaced with role_assignment
moodler [Thu, 14 Sep 2006 03:35:19 +0000 (03:35 +0000)]
Remove obsolete themes link MDL-6518
toyomoyo [Thu, 14 Sep 2006 03:18:55 +0000 (03:18 +0000)]
replacing legacy calls
vyshane [Thu, 14 Sep 2006 03:18:37 +0000 (03:18 +0000)]
Fix for MDL-6517. Patch by David Mudrak.
gbateson [Wed, 13 Sep 2006 23:59:38 +0000 (23:59 +0000)]
fix for overly advanced version numbers in HotPot module in Moodle 1.5 (see bug MDL-6538)
urs_hunkler [Wed, 13 Sep 2006 17:31:35 +0000 (17:31 +0000)]
'merged from 1.6'
tjhunt [Wed, 13 Sep 2006 16:19:56 +0000 (16:19 +0000)]
MDL-6542 - Don't run the unit tests until the user is ready.
tjhunt [Wed, 13 Sep 2006 16:16:39 +0000 (16:16 +0000)]
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.
urs_hunkler [Wed, 13 Sep 2006 15:23:50 +0000 (15:23 +0000)]
Merged from 1.6. See bug MDL-6028
tjhunt [Wed, 13 Sep 2006 15:00:58 +0000 (15:00 +0000)]
Fix ordering problem with question number column headings.
tjhunt [Wed, 13 Sep 2006 14:54:51 +0000 (14:54 +0000)]
Removing Eclipse .project file that Al committed by mistake.
tjhunt [Wed, 13 Sep 2006 13:25:11 +0000 (13:25 +0000)]
Fix typo.
tjhunt [Wed, 13 Sep 2006 13:25:00 +0000 (13:25 +0000)]
Delete what I assume is a bogus line.
thompson697 [Wed, 13 Sep 2006 13:19:39 +0000 (13:19 +0000)]
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
moodler [Wed, 13 Sep 2006 09:45:07 +0000 (09:45 +0000)]
CHanged a lot of CFG->debug stuff to use the new debuggin() function
thompson697 [Wed, 13 Sep 2006 09:40:55 +0000 (09:40 +0000)]
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
moodler [Wed, 13 Sep 2006 09:22:16 +0000 (09:22 +0000)]
The debug variable is now much more flexible
toyomoyo [Wed, 13 Sep 2006 09:08:14 +0000 (09:08 +0000)]
adding capabilitiies
moodler [Wed, 13 Sep 2006 08:53:19 +0000 (08:53 +0000)]
Fixed up debugging() function so it's more useful.
moodler [Wed, 13 Sep 2006 08:41:12 +0000 (08:41 +0000)]
Deleted the moodle_error_handler after reading the docs more.
it's not really as useful as I thought it might be
moodler [Wed, 13 Sep 2006 08:23:30 +0000 (08:23 +0000)]
Added a simple moodle_error_hendler function I'm playing with
moodler [Wed, 13 Sep 2006 08:11:34 +0000 (08:11 +0000)]
Added forum_role_assign and forum_role_unassign
moodler [Wed, 13 Sep 2006 08:09:18 +0000 (08:09 +0000)]
Added some checking that should not be necessary but I had notices in one extreme situation
moodler [Wed, 13 Sep 2006 08:07:14 +0000 (08:07 +0000)]
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)
moodler [Wed, 13 Sep 2006 06:56:25 +0000 (06:56 +0000)]
Tidy-ups for user profile page
moodler [Wed, 13 Sep 2006 06:41:58 +0000 (06:41 +0000)]
Fixed up this script so that self-unenrolment works as expected
moodler [Wed, 13 Sep 2006 06:40:30 +0000 (06:40 +0000)]
Expanded forum_add_user_default_subscriptions() for more contexts
Added forum_remove_user_subscriptions()
moodler [Wed, 13 Sep 2006 06:35:25 +0000 (06:35 +0000)]
1) Fixed API of require_capability() so it matches has_capability()
2) Extended role_unassign to clean up forum subscriptions etc as well
toyomoyo [Wed, 13 Sep 2006 06:13:53 +0000 (06:13 +0000)]
removing debug statement
toyomoyo [Wed, 13 Sep 2006 06:13:07 +0000 (06:13 +0000)]
use user_lastaccess table to find inactive time instead of user_students table
moodler [Wed, 13 Sep 2006 05:55:57 +0000 (05:55 +0000)]
fixing a problem where a user hasn't got any entries on the user_lastaccess table, temp solution as this could break other db
moodler [Wed, 13 Sep 2006 05:33:09 +0000 (05:33 +0000)]
Missed some $COURSE conversion
moodler [Wed, 13 Sep 2006 05:31:12 +0000 (05:31 +0000)]
Tidying add_to_log slghtly
toyomoyo [Wed, 13 Sep 2006 05:29:26 +0000 (05:29 +0000)]
changed to outer join as user_lastaccess table could contain null
moodler [Wed, 13 Sep 2006 05:05:17 +0000 (05:05 +0000)]
Fixed some obvious typos
moodler [Wed, 13 Sep 2006 04:13:50 +0000 (04:13 +0000)]
Removed duplicate defines
moodler [Wed, 13 Sep 2006 04:11:36 +0000 (04:11 +0000)]
Use $COURSE and not the $course hack
vyshane [Wed, 13 Sep 2006 04:10:41 +0000 (04:10 +0000)]
Capability tweaks for rss_client block
vyshane [Wed, 13 Sep 2006 04:09:31 +0000 (04:09 +0000)]
More capabilities tweaks
vyshane [Wed, 13 Sep 2006 04:08:58 +0000 (04:08 +0000)]
Fix for blocks capability updates. Somehow missed this commit last night.
mark-nielsen [Wed, 13 Sep 2006 04:03:45 +0000 (04:03 +0000)]
New strings (added a missing one); made the essay email string much more sane
vyshane [Wed, 13 Sep 2006 03:56:38 +0000 (03:56 +0000)]
moodle/site:manageblocks tweak
mark-nielsen [Wed, 13 Sep 2006 03:42:16 +0000 (03:42 +0000)]
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.
vyshane [Wed, 13 Sep 2006 03:02:57 +0000 (03:02 +0000)]
Added $USER->id in rss_display_feeds() call
vyshane [Wed, 13 Sep 2006 02:59:20 +0000 (02:59 +0000)]
Fixed typo
stronk7 [Tue, 12 Sep 2006 22:58:04 +0000 (22:58 +0000)]
Now the "AFTER" clause is supported by add_field()
stronk7 [Tue, 12 Sep 2006 22:56:52 +0000 (22:56 +0000)]
Now we support to use the previous attribute in fields declaration
stronk7 [Tue, 12 Sep 2006 22:23:00 +0000 (22:23 +0000)]
Two new functions added: add_field() and drop_field()
stronk7 [Tue, 12 Sep 2006 22:21:51 +0000 (22:21 +0000)]
Two more tests added: add_field() and drop_field()
stronk7 [Tue, 12 Sep 2006 22:20:50 +0000 (22:20 +0000)]
Added support for add_field and drop_field
stronk7 [Tue, 12 Sep 2006 22:15:44 +0000 (22:15 +0000)]
Delete one trailing comma
stronk7 [Tue, 12 Sep 2006 22:15:00 +0000 (22:15 +0000)]
Added functions to retrieve the proper add and drop field SQL.
stronk7 [Tue, 12 Sep 2006 22:13:45 +0000 (22:13 +0000)]
When dropping columns, look for check constraints and drop them too.
stronk7 [Tue, 12 Sep 2006 21:30:13 +0000 (21:30 +0000)]
Ops, forgot to delete some debug... :-/
stronk7 [Tue, 12 Sep 2006 21:24:03 +0000 (21:24 +0000)]
MSSQL needs to drop the default constraint before being able to drop the column
skodak [Tue, 12 Sep 2006 21:09:43 +0000 (21:09 +0000)]
partially fixed group management in workshop
skodak [Tue, 12 Sep 2006 21:07:54 +0000 (21:07 +0000)]
fixed group management in wiki
skodak [Tue, 12 Sep 2006 20:55:58 +0000 (20:55 +0000)]
groups assignment now works with assigned roles instead of user_students and user_teachers
skodak [Tue, 12 Sep 2006 20:54:21 +0000 (20:54 +0000)]
fixed harcoded string "Select a Role"
skodak [Tue, 12 Sep 2006 20:03:08 +0000 (20:03 +0000)]
get_component_string() now works for all enrollment plugins MDL-6522
skodak [Tue, 12 Sep 2006 19:54:33 +0000 (19:54 +0000)]
Changed sort order in Role definition page MDL-6522
stronk7 [Tue, 12 Sep 2006 17:45:25 +0000 (17:45 +0000)]
Added support for add_field, drop_field and rename_field PHP code generation.
stronk7 [Tue, 12 Sep 2006 17:41:22 +0000 (17:41 +0000)]
Changed some PHP comments.
stronk7 [Tue, 12 Sep 2006 16:45:46 +0000 (16:45 +0000)]
Fixed buggy condition. Now defaults are properly calculated by getPHP()
stronk7 [Tue, 12 Sep 2006 15:24:41 +0000 (15:24 +0000)]
Added rss_client->shared
stronk7 [Tue, 12 Sep 2006 15:19:10 +0000 (15:19 +0000)]
adding the user_lastaccess table
tjhunt [Tue, 12 Sep 2006 14:33:38 +0000 (14:33 +0000)]
Update help file to match the changes in the code and on Moodle docs I made some time ago.
moodler [Tue, 12 Sep 2006 14:02:15 +0000 (14:02 +0000)]
Fixed a bug that must have been there for a while, so that guest icons work again
moodler [Tue, 12 Sep 2006 09:31:23 +0000 (09:31 +0000)]
Revamped require_login() function to handle roles better.
moodler [Tue, 12 Sep 2006 09:30:05 +0000 (09:30 +0000)]
Tidying up a bit
moodler [Tue, 12 Sep 2006 09:22:27 +0000 (09:22 +0000)]
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.
toyomoyo [Tue, 12 Sep 2006 08:56:10 +0000 (08:56 +0000)]
replacing iscreator() calls with capabilty
moodler [Tue, 12 Sep 2006 08:28:36 +0000 (08:28 +0000)]
DOn't show "Add" links if you can't use them
vyshane [Tue, 12 Sep 2006 08:25:03 +0000 (08:25 +0000)]
Fixed bug preventing capability upgrades for blocks. Typo :(
moodler [Tue, 12 Sep 2006 08:22:14 +0000 (08:22 +0000)]
Small bump for guest role fix
moodler [Tue, 12 Sep 2006 08:17:33 +0000 (08:17 +0000)]
Reload default guest
moodler [Tue, 12 Sep 2006 08:15:07 +0000 (08:15 +0000)]
Missed one capability for guests
toyomoyo [Tue, 12 Sep 2006 07:39:25 +0000 (07:39 +0000)]
changed code to use the user_lastaccess table instead of the user table
toyomoyo [Tue, 12 Sep 2006 07:38:46 +0000 (07:38 +0000)]
changed code to use the new user_lastaccess table instead of the log table
toyomoyo [Tue, 12 Sep 2006 07:38:07 +0000 (07:38 +0000)]
changed code to use get_role_users function
toyomoyo [Tue, 12 Sep 2006 07:37:23 +0000 (07:37 +0000)]
added function get_role_users - returns all users assigned this role in this context (or higher) not very useful for participants list because of the count and paging. Could possibly expand it
moodler [Tue, 12 Sep 2006 07:10:49 +0000 (07:10 +0000)]
Reload the guest role using new defaults