]>
git.mjollnir.org Git - moodle.git/log
moodler [Fri, 15 Sep 2006 15:56:05 +0000 (15:56 +0000)]
We don't need these any more (obsolete because of role assignment)
moodler [Fri, 15 Sep 2006 15:07:43 +0000 (15:07 +0000)]
Fixed up a typo
moodler [Fri, 15 Sep 2006 15:04:38 +0000 (15:04 +0000)]
Various logic and capability fixes
moodler [Fri, 15 Sep 2006 14:56:32 +0000 (14:56 +0000)]
Fixed a bad bug in get_user_roles :-)
moodler [Fri, 15 Sep 2006 14:39:16 +0000 (14:39 +0000)]
New capability: moodle/user:viewhiddendetails
tjhunt [Fri, 15 Sep 2006 14:32:35 +0000 (14:32 +0000)]
MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of studnets. Now, there is no arbitrary upper limit in the datalib functions, and sensible upper limits on pages that display lists of users. However, if you try to get all the site students, then get_students prints a warning in debug mode, telling you that you need to rethink your code.
Also a few more ISNULL()s eliminated.
And a typo role_assignment -> role_assignments.
moodler [Fri, 15 Sep 2006 14:09:16 +0000 (14:09 +0000)]
Rename CONTEXT_USERID --> CONTEXT_USER for consistency
tjhunt [Fri, 15 Sep 2006 14:00:30 +0000 (14:00 +0000)]
The ISNULL() function is a nasty mysql-ism. The standard SQL syntax is "xxx IS NULL". Even mysql supports this, whereas noone else supports the mysql syntax.
moodler [Fri, 15 Sep 2006 13:51:42 +0000 (13:51 +0000)]
Some SQL fixes
moodler [Fri, 15 Sep 2006 13:46:11 +0000 (13:46 +0000)]
Fixed some notices
moodler [Fri, 15 Sep 2006 13:42:40 +0000 (13:42 +0000)]
Fixed some SQL error
moodler [Fri, 15 Sep 2006 13:28:18 +0000 (13:28 +0000)]
Guest account could be getting the default role
moodler [Fri, 15 Sep 2006 13:26:39 +0000 (13:26 +0000)]
Some random quote fixing
tjhunt [Fri, 15 Sep 2006 13:18:28 +0000 (13:18 +0000)]
Fix typo.
moodler [Fri, 15 Sep 2006 12:53:23 +0000 (12:53 +0000)]
Just tidying
ethem [Fri, 15 Sep 2006 12:35:08 +0000 (12:35 +0000)]
Tidy up
ethem [Fri, 15 Sep 2006 12:05:27 +0000 (12:05 +0000)]
Tidy up
ethem [Fri, 15 Sep 2006 11:40:37 +0000 (11:40 +0000)]
Tidy up
ethem [Fri, 15 Sep 2006 10:13:06 +0000 (10:13 +0000)]
New string for capability: Manage payments
ethem [Fri, 15 Sep 2006 10:11:19 +0000 (10:11 +0000)]
New string for capability: Manage Payments
ethem [Fri, 15 Sep 2006 09:57:10 +0000 (09:57 +0000)]
Goodbye old config
vyshane [Fri, 15 Sep 2006 09:38:46 +0000 (09:38 +0000)]
Merge from 1.6 stable. Small fixes to make xhtml validate.
moodler [Fri, 15 Sep 2006 09:23:58 +0000 (09:23 +0000)]
FIxed navigation
toyomoyo [Fri, 15 Sep 2006 09:08:48 +0000 (09:08 +0000)]
changing lib functions to work with roles, some functions might not work as expected now
moodler [Fri, 15 Sep 2006 09:04:23 +0000 (09:04 +0000)]
Passing cleanup
moodler [Fri, 15 Sep 2006 08:59:02 +0000 (08:59 +0000)]
Bringing phpinfo into the fold
moodler [Fri, 15 Sep 2006 08:23:40 +0000 (08:23 +0000)]
FIxed docs
moodler [Fri, 15 Sep 2006 06:16:35 +0000 (06:16 +0000)]
Fixed a notice when course->modinfo is empty
moodler [Fri, 15 Sep 2006 06:15:01 +0000 (06:15 +0000)]
Fixed some subscription typos
moodler [Fri, 15 Sep 2006 06:07:29 +0000 (06:07 +0000)]
Updates for visual stuff
vyshane [Fri, 15 Sep 2006 06:04:23 +0000 (06:04 +0000)]
Fixed bug in forum_search_posts(). More testing needed still.
moodler [Fri, 15 Sep 2006 06:04:10 +0000 (06:04 +0000)]
Cleaning up assign and override interfaces
vyshane [Fri, 15 Sep 2006 06:03:32 +0000 (06:03 +0000)]
Fixed bug in get_records_sql(). This call:
$rs = get_recordset_sql($sql, $limitfrom='', $limitnum='');
should really be:
$rs = get_recordset_sql($sql, $limitfrom, $limitnum);
vyshane [Fri, 15 Sep 2006 03:18:59 +0000 (03:18 +0000)]
Small SQL fix. Removed unneeded WHERE clause
gbateson [Thu, 14 Sep 2006 21:50:37 +0000 (21:50 +0000)]
do not add $restore->course_startdateoffset to ANY empty dates
moodler [Thu, 14 Sep 2006 15:20:44 +0000 (15:20 +0000)]
Tidying
moodler [Thu, 14 Sep 2006 14:49:45 +0000 (14:49 +0000)]
Tidied up the role assignment pages
moodler [Thu, 14 Sep 2006 14:12:51 +0000 (14:12 +0000)]
Allow columns to be zero
thepurpleblob [Thu, 14 Sep 2006 13:59:08 +0000 (13:59 +0000)]
Merged from STABLE
Provides fix for bug MDL-5893
moodler [Thu, 14 Sep 2006 13:56:27 +0000 (13:56 +0000)]
Reorganise settings a bit
moodler [Thu, 14 Sep 2006 13:54:21 +0000 (13:54 +0000)]
Some fixes to user policies (removed some which are no longer relevant)
gbateson [Thu, 14 Sep 2006 11:10:54 +0000 (11:10 +0000)]
moved restorelog code to "hotpot_restore_mods", so it is only executed when backing up a HotPot record. Also, modified restorelog code so that "course_startdateoffset" is not added to TIMEOPEN or TIMECLOSE if those fields are currently empty (empty has a special meaning for those fields)
moodler [Thu, 14 Sep 2006 09:41:09 +0000 (09:41 +0000)]
Don't overwrite capabilities when loading default role
moodler [Thu, 14 Sep 2006 09:39:23 +0000 (09:39 +0000)]
Added a new setting called $CFG->defaultuserroleid which defines
the role that ALL users get by default when they log in.
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