]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoSome SQL fixes
moodler [Fri, 15 Sep 2006 13:51:42 +0000 (13:51 +0000)]
Some SQL fixes

18 years agoFixed some notices
moodler [Fri, 15 Sep 2006 13:46:11 +0000 (13:46 +0000)]
Fixed some notices

18 years agoFixed some SQL error
moodler [Fri, 15 Sep 2006 13:42:40 +0000 (13:42 +0000)]
Fixed some SQL error

18 years agoGuest account could be getting the default role
moodler [Fri, 15 Sep 2006 13:28:18 +0000 (13:28 +0000)]
Guest account could be getting the default role

18 years agoSome random quote fixing
moodler [Fri, 15 Sep 2006 13:26:39 +0000 (13:26 +0000)]
Some random quote fixing

18 years agoFix typo.
tjhunt [Fri, 15 Sep 2006 13:18:28 +0000 (13:18 +0000)]
Fix typo.

18 years agoJust tidying
moodler [Fri, 15 Sep 2006 12:53:23 +0000 (12:53 +0000)]
Just tidying

18 years agoTidy up
ethem [Fri, 15 Sep 2006 12:35:08 +0000 (12:35 +0000)]
Tidy up

18 years agoTidy up
ethem [Fri, 15 Sep 2006 12:05:27 +0000 (12:05 +0000)]
Tidy up

18 years agoTidy up
ethem [Fri, 15 Sep 2006 11:40:37 +0000 (11:40 +0000)]
Tidy up

18 years agoNew string for capability: Manage payments
ethem [Fri, 15 Sep 2006 10:13:06 +0000 (10:13 +0000)]
New string for capability: Manage payments

18 years agoNew string for capability: Manage Payments
ethem [Fri, 15 Sep 2006 10:11:19 +0000 (10:11 +0000)]
New string for capability: Manage Payments

18 years agoGoodbye old config
ethem [Fri, 15 Sep 2006 09:57:10 +0000 (09:57 +0000)]
Goodbye old config

18 years agoMerge from 1.6 stable. Small fixes to make xhtml validate.
vyshane [Fri, 15 Sep 2006 09:38:46 +0000 (09:38 +0000)]
Merge from 1.6 stable. Small fixes to make xhtml validate.

18 years agoFIxed navigation
moodler [Fri, 15 Sep 2006 09:23:58 +0000 (09:23 +0000)]
FIxed navigation

18 years agochanging lib functions to work with roles, some functions might not work as expected now
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

18 years agoPassing cleanup
moodler [Fri, 15 Sep 2006 09:04:23 +0000 (09:04 +0000)]
Passing cleanup

18 years agoBringing phpinfo into the fold
moodler [Fri, 15 Sep 2006 08:59:02 +0000 (08:59 +0000)]
Bringing phpinfo into the fold

18 years agoFIxed docs
moodler [Fri, 15 Sep 2006 08:23:40 +0000 (08:23 +0000)]
FIxed docs

18 years agoFixed a notice when course->modinfo is empty
moodler [Fri, 15 Sep 2006 06:16:35 +0000 (06:16 +0000)]
Fixed a notice when course->modinfo is empty

18 years agoFixed some subscription typos
moodler [Fri, 15 Sep 2006 06:15:01 +0000 (06:15 +0000)]
Fixed some subscription typos

18 years agoUpdates for visual stuff
moodler [Fri, 15 Sep 2006 06:07:29 +0000 (06:07 +0000)]
Updates for visual stuff

18 years agoFixed bug in forum_search_posts(). More testing needed still.
vyshane [Fri, 15 Sep 2006 06:04:23 +0000 (06:04 +0000)]
Fixed bug in forum_search_posts(). More testing needed still.

18 years agoCleaning up assign and override interfaces
moodler [Fri, 15 Sep 2006 06:04:10 +0000 (06:04 +0000)]
Cleaning up assign and override interfaces

18 years agoFixed bug in get_records_sql(). This call:
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);

18 years agoSmall SQL fix. Removed unneeded WHERE clause
vyshane [Fri, 15 Sep 2006 03:18:59 +0000 (03:18 +0000)]
Small SQL fix. Removed unneeded WHERE clause

18 years agodo not add $restore->course_startdateoffset to ANY empty dates
gbateson [Thu, 14 Sep 2006 21:50:37 +0000 (21:50 +0000)]
do not add $restore->course_startdateoffset to ANY empty dates

18 years agoTidying
moodler [Thu, 14 Sep 2006 15:20:44 +0000 (15:20 +0000)]
Tidying

18 years agoTidied up the role assignment pages
moodler [Thu, 14 Sep 2006 14:49:45 +0000 (14:49 +0000)]
Tidied up the role assignment pages

18 years agoAllow columns to be zero
moodler [Thu, 14 Sep 2006 14:12:51 +0000 (14:12 +0000)]
Allow columns to be zero

18 years agoMerged from STABLE
thepurpleblob [Thu, 14 Sep 2006 13:59:08 +0000 (13:59 +0000)]
Merged from STABLE
Provides fix for bug MDL-5893

18 years agoReorganise settings a bit
moodler [Thu, 14 Sep 2006 13:56:27 +0000 (13:56 +0000)]
Reorganise settings a bit

18 years agoSome fixes to user policies (removed some which are no longer relevant)
moodler [Thu, 14 Sep 2006 13:54:21 +0000 (13:54 +0000)]
Some fixes to user policies (removed some which are no longer relevant)

18 years agomoved restorelog code to "hotpot_restore_mods", so it is only executed when backing...
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)

18 years agoDon't overwrite capabilities when loading default role
moodler [Thu, 14 Sep 2006 09:41:09 +0000 (09:41 +0000)]
Don't overwrite capabilities when loading default role

18 years agoAdded a new setting called $CFG->defaultuserroleid which defines
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.

18 years agochanging sql calls from user_students table to role_assignments table
toyomoyo [Thu, 14 Sep 2006 09:08:07 +0000 (09:08 +0000)]
changing sql calls from user_students table to role_assignments table

18 years agoMinor formatting tidyup
vyshane [Thu, 14 Sep 2006 08:57:41 +0000 (08:57 +0000)]
Minor formatting tidyup

18 years agoConverted forum searches so that they take into account the new Roles system. Search...
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.

18 years agoRemoved two style definitions (bug MDL-6209)
bobopinna [Thu, 14 Sep 2006 08:28:26 +0000 (08:28 +0000)]
Removed two style definitions (bug MDL-6209)

18 years agoRemoved a PHP4 notice
moodler [Thu, 14 Sep 2006 07:35:53 +0000 (07:35 +0000)]
Removed a PHP4 notice

18 years agoadd get_coursemodule_from_id/instance functions for compatability with Moodles <1.7
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

18 years agoreduce length of worksheet name to 31 chars if running under Moodle 1.5
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

18 years agoremove &nbsp; from blank cells when generating Excel sheet
gbateson [Thu, 14 Sep 2006 07:16:14 +0000 (07:16 +0000)]
remove &nbsp; from blank cells when generating Excel sheet

18 years agoBetter handling of forum id/object
moodler [Thu, 14 Sep 2006 07:13:08 +0000 (07:13 +0000)]
Better handling of forum id/object

18 years agoStrip tags from block skip link names
moodler [Thu, 14 Sep 2006 07:00:43 +0000 (07:00 +0000)]
Strip tags from block skip link names

18 years agoFixed some typos
moodler [Thu, 14 Sep 2006 06:54:54 +0000 (06:54 +0000)]
Fixed some typos

18 years agoFixed a notice
moodler [Thu, 14 Sep 2006 06:48:58 +0000 (06:48 +0000)]
Fixed a notice

18 years agofixing missing bracket
toyomoyo [Thu, 14 Sep 2006 06:43:01 +0000 (06:43 +0000)]
fixing missing bracket

18 years agoFixed a typo
moodler [Thu, 14 Sep 2006 06:30:02 +0000 (06:30 +0000)]
Fixed a typo

18 years agoMerged fix from http://moodle.org/mod/forum/discuss.php?d=38860 (Brian Jones)
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)

18 years agoRevert to standardwhite if theme is missing MDL-6257
moodler [Thu, 14 Sep 2006 05:15:06 +0000 (05:15 +0000)]
Revert to standardwhite if theme is missing    MDL-6257

18 years agoFixing up comments on debugging()
moodler [Thu, 14 Sep 2006 04:31:05 +0000 (04:31 +0000)]
Fixing up comments on debugging()

18 years agoMoved debugging() to weblib.php since it's really about output
moodler [Thu, 14 Sep 2006 04:25:17 +0000 (04:25 +0000)]
Moved debugging() to weblib.php since it's really about output

18 years agotaking out user_student table reference in SQL, replaced with role_assignment
toyomoyo [Thu, 14 Sep 2006 03:54:37 +0000 (03:54 +0000)]
taking out user_student table reference in SQL, replaced with role_assignment

18 years agoRemove obsolete themes link MDL-6518
moodler [Thu, 14 Sep 2006 03:35:19 +0000 (03:35 +0000)]
Remove obsolete themes link  MDL-6518

18 years agoreplacing legacy calls
toyomoyo [Thu, 14 Sep 2006 03:18:55 +0000 (03:18 +0000)]
replacing legacy calls

18 years agoFix for MDL-6517. Patch by David Mudrak.
vyshane [Thu, 14 Sep 2006 03:18:37 +0000 (03:18 +0000)]
Fix for MDL-6517. Patch by David Mudrak.

18 years agofix for overly advanced version numbers in HotPot module in Moodle 1.5 (see bug MDL...
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)

18 years ago'merged from 1.6'
urs_hunkler [Wed, 13 Sep 2006 17:31:35 +0000 (17:31 +0000)]
'merged from 1.6'

18 years agoMDL-6542 - Don't run the unit tests until the user is ready.
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.

18 years agoPut the unit test styles in the standard theme, rather than using the previous nasty...
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.

18 years agoMerged from 1.6. See bug MDL-6028
urs_hunkler [Wed, 13 Sep 2006 15:23:50 +0000 (15:23 +0000)]
Merged from 1.6. See bug MDL-6028

18 years agoFix ordering problem with question number column headings.
tjhunt [Wed, 13 Sep 2006 15:00:58 +0000 (15:00 +0000)]
Fix ordering problem with question number column headings.

18 years agoRemoving Eclipse .project file that Al committed by mistake.
tjhunt [Wed, 13 Sep 2006 14:54:51 +0000 (14:54 +0000)]
Removing Eclipse .project file that Al committed by mistake.

18 years agoFix typo.
tjhunt [Wed, 13 Sep 2006 13:25:11 +0000 (13:25 +0000)]
Fix typo.

18 years agoDelete what I assume is a bogus line.
tjhunt [Wed, 13 Sep 2006 13:25:00 +0000 (13:25 +0000)]
Delete what I assume is a bogus line.

18 years agoComplete work on Roll Forwards - Restore from previous semester (MDL-5532)
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

18 years agoCHanged a lot of CFG->debug stuff to use the new debuggin() function
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

18 years agoInitial work on Roll Forwards - Restore from previous semester (ongoing MDL-5532)
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

18 years agoThe debug variable is now much more flexible
moodler [Wed, 13 Sep 2006 09:22:16 +0000 (09:22 +0000)]
The debug variable is now much more flexible

18 years agoadding capabilitiies
toyomoyo [Wed, 13 Sep 2006 09:08:14 +0000 (09:08 +0000)]
adding capabilitiies

18 years agoFixed up debugging() function so it's more useful.
moodler [Wed, 13 Sep 2006 08:53:19 +0000 (08:53 +0000)]
Fixed up debugging() function so it's more useful.

18 years agoDeleted the moodle_error_handler after reading the docs more.
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

18 years agoAdded a simple moodle_error_hendler function I'm playing with
moodler [Wed, 13 Sep 2006 08:23:30 +0000 (08:23 +0000)]
Added a simple moodle_error_hendler function I'm playing with

18 years agoAdded forum_role_assign and forum_role_unassign
moodler [Wed, 13 Sep 2006 08:11:34 +0000 (08:11 +0000)]
Added forum_role_assign and forum_role_unassign

18 years agoAdded some checking that should not be necessary but I had notices in one extreme...
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

18 years agorole_assign() and role_unassign() now call these hooks in each module:
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)

18 years agoTidy-ups for user profile page
moodler [Wed, 13 Sep 2006 06:56:25 +0000 (06:56 +0000)]
Tidy-ups for user profile page

18 years agoFixed up this script so that self-unenrolment works as expected
moodler [Wed, 13 Sep 2006 06:41:58 +0000 (06:41 +0000)]
Fixed up this script so that self-unenrolment works as expected

18 years agoExpanded forum_add_user_default_subscriptions() for more contexts
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()

18 years ago1) Fixed API of require_capability() so it matches has_capability()
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

18 years agoremoving debug statement
toyomoyo [Wed, 13 Sep 2006 06:13:53 +0000 (06:13 +0000)]
removing debug statement

18 years agouse user_lastaccess table to find inactive time instead of user_students table
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

18 years agofixing a problem where a user hasn't got any entries on the user_lastaccess 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

18 years agoMissed some $COURSE conversion
moodler [Wed, 13 Sep 2006 05:33:09 +0000 (05:33 +0000)]
Missed some $COURSE conversion

18 years agoTidying add_to_log slghtly
moodler [Wed, 13 Sep 2006 05:31:12 +0000 (05:31 +0000)]
Tidying add_to_log slghtly

18 years agochanged to outer join as user_lastaccess table could contain null
toyomoyo [Wed, 13 Sep 2006 05:29:26 +0000 (05:29 +0000)]
changed to outer join as user_lastaccess table could contain null

18 years agoFixed some obvious typos
moodler [Wed, 13 Sep 2006 05:05:17 +0000 (05:05 +0000)]
Fixed some obvious typos

18 years agoRemoved duplicate defines
moodler [Wed, 13 Sep 2006 04:13:50 +0000 (04:13 +0000)]
Removed duplicate defines

18 years agoUse $COURSE and not the $course hack
moodler [Wed, 13 Sep 2006 04:11:36 +0000 (04:11 +0000)]
Use $COURSE and not the $course hack

18 years agoCapability tweaks for rss_client block
vyshane [Wed, 13 Sep 2006 04:10:41 +0000 (04:10 +0000)]
Capability tweaks for rss_client block

18 years agoMore capabilities tweaks
vyshane [Wed, 13 Sep 2006 04:09:31 +0000 (04:09 +0000)]
More capabilities tweaks

18 years agoFix for blocks capability updates. Somehow missed this commit last night.
vyshane [Wed, 13 Sep 2006 04:08:58 +0000 (04:08 +0000)]
Fix for blocks capability updates. Somehow missed this commit last night.

18 years agoNew strings (added a missing one); made the essay email string much more sane
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

18 years agomoodle/site:manageblocks tweak
vyshane [Wed, 13 Sep 2006 03:56:38 +0000 (03:56 +0000)]
moodle/site:manageblocks tweak

18 years agoAdded some more stats to reports, added more actions to collapsed view and increased...
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.

18 years agoAdded $USER->id in rss_display_feeds() call
vyshane [Wed, 13 Sep 2006 03:02:57 +0000 (03:02 +0000)]
Added $USER->id in rss_display_feeds() call

18 years agoFixed typo
vyshane [Wed, 13 Sep 2006 02:59:20 +0000 (02:59 +0000)]
Fixed typo

18 years agoNow the "AFTER" clause is supported by add_field()
stronk7 [Tue, 12 Sep 2006 22:58:04 +0000 (22:58 +0000)]
Now the "AFTER" clause is supported by add_field()