]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoMinor adjustments to some comments.
stronk7 [Wed, 16 Aug 2006 23:17:28 +0000 (23:17 +0000)]
Minor adjustments to some comments.

18 years agoFixing some potential problems with prefixes and object names.
stronk7 [Wed, 16 Aug 2006 23:01:46 +0000 (23:01 +0000)]
Fixing some potential problems with prefixes and object names.

18 years agoInitial commit of oci8po generator
stronk7 [Wed, 16 Aug 2006 22:58:51 +0000 (22:58 +0000)]
Initial commit of oci8po generator

18 years agoLine feed added + small bug
stronk7 [Wed, 16 Aug 2006 22:23:39 +0000 (22:23 +0000)]
Line feed added + small bug

18 years agoInitial version of the mssql generator
stronk7 [Wed, 16 Aug 2006 21:46:08 +0000 (21:46 +0000)]
Initial version of the mssql generator

18 years agoInitial version of the postgres7 generator
stronk7 [Wed, 16 Aug 2006 18:41:47 +0000 (18:41 +0000)]
Initial version of the postgres7 generator

18 years agoAdded one more configuration parameter to disable inline SQL to be added in enum...
stronk7 [Wed, 16 Aug 2006 18:37:33 +0000 (18:37 +0000)]
Added one more configuration parameter to disable inline SQL to be added in enum column lines

18 years agoProper parent init and comment close
stronk7 [Wed, 16 Aug 2006 17:53:24 +0000 (17:53 +0000)]
Proper parent init and comment close

18 years agoMinor change to do proper create table close
stronk7 [Wed, 16 Aug 2006 17:51:49 +0000 (17:51 +0000)]
Minor change to do proper create table close

18 years agoPartial rework of the mysql generator. Working now.
stronk7 [Wed, 16 Aug 2006 17:43:55 +0000 (17:43 +0000)]
Partial rework of the mysql generator. Working now.

18 years agoChanged one default
stronk7 [Wed, 16 Aug 2006 17:34:46 +0000 (17:34 +0000)]
Changed one default

18 years agoInitial commit of the base generator class.
stronk7 [Wed, 16 Aug 2006 17:28:41 +0000 (17:28 +0000)]
Initial commit of the base generator class.

18 years agoSave two queries if we are not going to output anything.
tjhunt [Wed, 16 Aug 2006 16:54:20 +0000 (16:54 +0000)]
Save two queries if we are not going to output anything.

18 years agoBug #6267 - questionlib.php delete_question infinite loop with rantom questions....
tjhunt [Wed, 16 Aug 2006 16:17:18 +0000 (16:17 +0000)]
Bug #6267 - questionlib.php delete_question infinite loop with rantom questions. Thanks to mbockol at carleton dot edu. Merged from MOODLE_16_STABLE.

18 years agopermission has to be signed integer in mysql. Mimic from sql files
stronk7 [Wed, 16 Aug 2006 16:06:37 +0000 (16:06 +0000)]
permission has to be signed integer in mysql. Mimic from sql files

18 years agoAdd/delete/update cron functions added.
mchampan [Wed, 16 Aug 2006 13:34:07 +0000 (13:34 +0000)]
Add/delete/update cron functions added.
IndexDBControl class added to abstract some index functionality out.

18 years agoDate field added to documents.
mchampan [Wed, 16 Aug 2006 13:31:55 +0000 (13:31 +0000)]
Date field added to documents.

18 years agosome more UI change
toyomoyo [Wed, 16 Aug 2006 09:11:43 +0000 (09:11 +0000)]
some more UI change

18 years agoUpdated to use new Roles System. Plus some fixes.
vyshane [Wed, 16 Aug 2006 08:54:07 +0000 (08:54 +0000)]
Updated to use new Roles System. Plus some fixes.

18 years agoRemove horrific code duplication in mod/quiz/lib.php.
tjhunt [Wed, 16 Aug 2006 08:46:10 +0000 (08:46 +0000)]
Remove horrific code duplication in mod/quiz/lib.php.

18 years agobumpoing up version, permission has to be signed integer in mysql!!! added new capabi...
toyomoyo [Wed, 16 Aug 2006 07:57:51 +0000 (07:57 +0000)]
bumpoing up version, permission has to be signed integer in mysql!!! added new capabilities in access.php

18 years agoFixing notices
vyshane [Wed, 16 Aug 2006 03:24:43 +0000 (03:24 +0000)]
Fixing notices

18 years agoAutomatic installer.php lang files by installer_builder (20060816)
moodler [Wed, 16 Aug 2006 02:50:27 +0000 (02:50 +0000)]
Automatic installer.php lang files by installer_builder (20060816)

18 years agoFixed forum_print_post. Thanks Yu :)
vyshane [Wed, 16 Aug 2006 02:33:43 +0000 (02:33 +0000)]
Fixed forum_print_post. Thanks Yu :)

18 years agoRefactor how question types register themselves with the question bank. This change...
tjhunt [Tue, 15 Aug 2006 21:25:38 +0000 (21:25 +0000)]
Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work.\r\rSee http://moodle.org/mod/forum/discuss.php?d=51796 for more details.

18 years agoCorrected include.
tjhunt [Tue, 15 Aug 2006 20:44:21 +0000 (20:44 +0000)]
Corrected include.

18 years agoCorrect comment.
tjhunt [Tue, 15 Aug 2006 20:43:09 +0000 (20:43 +0000)]
Correct comment.

18 years agoDelete stray space.
tjhunt [Tue, 15 Aug 2006 16:53:24 +0000 (16:53 +0000)]
Delete stray space.

18 years agoRemove horrific code duplication in mod/quiz/mod.html.
tjhunt [Tue, 15 Aug 2006 15:29:38 +0000 (15:29 +0000)]
Remove horrific code duplication in mod/quiz/mod.html.

18 years agoMerged from STABLE
thepurpleblob [Tue, 15 Aug 2006 14:39:47 +0000 (14:39 +0000)]
Merged from STABLE

18 years agoNew function get_field_select().
tjhunt [Tue, 15 Aug 2006 13:44:22 +0000 (13:44 +0000)]
New function get_field_select().

18 years agoLatest changes, nothing important.
stronk7 [Tue, 15 Aug 2006 11:30:32 +0000 (11:30 +0000)]
Latest changes, nothing important.

18 years agoA few fixes for the dropdown menus.
tomflannaghan [Tue, 15 Aug 2006 11:14:07 +0000 (11:14 +0000)]
A few fixes for the dropdown menus.

18 years agoJust adding support for reserved words....
stronk7 [Tue, 15 Aug 2006 10:15:52 +0000 (10:15 +0000)]
Just adding support for reserved words....

18 years agoReplaced isteacher and isadmin calls by has_capability
vyshane [Tue, 15 Aug 2006 09:56:41 +0000 (09:56 +0000)]
Replaced isteacher and isadmin calls by has_capability

18 years agoReplaced creator() calls with has_capability()
vyshane [Tue, 15 Aug 2006 09:45:11 +0000 (09:45 +0000)]
Replaced creator() calls with has_capability()

18 years agoAdded has_capability calls
vyshane [Tue, 15 Aug 2006 09:28:12 +0000 (09:28 +0000)]
Added has_capability calls

18 years agoInitial commit on HEAD of all the XMLDB stuff.
stronk7 [Tue, 15 Aug 2006 09:14:31 +0000 (09:14 +0000)]
Initial commit on HEAD of all the XMLDB stuff.

18 years agoInitial commit of the ddllib (to perform DDL operations)
stronk7 [Tue, 15 Aug 2006 09:08:17 +0000 (09:08 +0000)]
Initial commit of the ddllib (to perform DDL operations)

18 years agoMerged new "Database preset" support from Tom Flannaghan.
moodler [Tue, 15 Aug 2006 08:42:06 +0000 (08:42 +0000)]
Merged new "Database preset" support from Tom Flannaghan.

Still needs some tidy-up work but it's working.

18 years agosome more UI stuff
toyomoyo [Tue, 15 Aug 2006 08:29:29 +0000 (08:29 +0000)]
some more UI stuff

18 years agoAdded has_capability call
vyshane [Tue, 15 Aug 2006 06:37:55 +0000 (06:37 +0000)]
Added has_capability call

18 years agoAdded has_capability checks
vyshane [Tue, 15 Aug 2006 06:21:35 +0000 (06:21 +0000)]
Added has_capability checks

18 years agoUpdated with new capabilities
vyshane [Tue, 15 Aug 2006 05:01:00 +0000 (05:01 +0000)]
Updated with new capabilities

18 years agoAdded new capabilities
vyshane [Tue, 15 Aug 2006 04:13:22 +0000 (04:13 +0000)]
Added new capabilities

18 years agorevert ugly changes back to original
toyomoyo [Tue, 15 Aug 2006 02:28:04 +0000 (02:28 +0000)]
revert ugly changes back to original

18 years ago$CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293; merged...
skodak [Mon, 14 Aug 2006 20:57:18 +0000 (20:57 +0000)]
$CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293; merged from MOODLE_16_STABLE

18 years agoadding proper checks that the requested help file exists SC#292; merged from MOODLE_1...
skodak [Mon, 14 Aug 2006 20:08:52 +0000 (20:08 +0000)]
adding proper checks that the requested help file exists SC#292; merged from MOODLE_16_STABLE

18 years agoEndless loop fix from stable
moodler [Mon, 14 Aug 2006 15:20:49 +0000 (15:20 +0000)]
Endless loop fix from stable

18 years ago* $CFG->teachermanagepayments will have to go since we are moving away from the rigid...
ethem [Mon, 14 Aug 2006 15:06:11 +0000 (15:06 +0000)]
* $CFG->teachermanagepayments will have to go since we are moving away from the rigid hardcoded teacher role concept.

* If a teacher has_capability('enrol/authorize:managepayments'), send email about pending orders expiring.

* All isteacher converted to has_capability.

18 years agoRoles support added: enrol/authorize:managepayments
ethem [Mon, 14 Aug 2006 14:23:01 +0000 (14:23 +0000)]
Roles support added: enrol/authorize:managepayments

TO DO:
* $CFG->an_teachermanagepay will be removed.
   XXX??? What will be do while sending email to teachers about pending orders expiring???
   If this feature enabled and a teacher no role in managepayments, this will send an email and the teacher cannot manage payments.
   Extra work: get_course_teachers and a teacher has_capability(at course level), send this email.

* convert isteacher to has_capability.

18 years agoFIxed another ossible notice during upgrade
moodler [Mon, 14 Aug 2006 13:44:10 +0000 (13:44 +0000)]
FIxed another ossible notice during upgrade

18 years agoGuests can NEVER manage payments. CAP_PREVENT to CAP_PROHIBIT.
ethem [Mon, 14 Aug 2006 13:42:35 +0000 (13:42 +0000)]
Guests can NEVER manage payments. CAP_PREVENT to CAP_PROHIBIT.

18 years agoFixed some notices during install
moodler [Mon, 14 Aug 2006 13:42:34 +0000 (13:42 +0000)]
Fixed some notices during install

18 years agoReorder the table definitions in the file, to group them more logically.
tjhunt [Mon, 14 Aug 2006 13:32:39 +0000 (13:32 +0000)]
Reorder the table definitions in the file, to group them more logically.

18 years agoRoles support added: enrol/authorize:managepayments
ethem [Mon, 14 Aug 2006 13:29:24 +0000 (13:29 +0000)]
Roles support added: enrol/authorize:managepayments

18 years agoFixes from forum http://moodle.org/mod/forum/discuss.php?d=46048
moodler [Mon, 14 Aug 2006 08:59:38 +0000 (08:59 +0000)]
Fixes from forum    http://moodle.org/mod/forum/discuss.php?d=46048

18 years agoFixed bug in upgrade_plugins(). Capabilities were not being loaded correctly.
vyshane [Mon, 14 Aug 2006 08:59:01 +0000 (08:59 +0000)]
Fixed bug in upgrade_plugins(). Capabilities were not being loaded correctly.

18 years agofixed warning in participants block
skodak [Mon, 14 Aug 2006 08:54:45 +0000 (08:54 +0000)]
fixed warning in participants block

18 years agofixed admin page layout
skodak [Mon, 14 Aug 2006 08:52:15 +0000 (08:52 +0000)]
fixed admin page layout

18 years agosome UI changes
toyomoyo [Mon, 14 Aug 2006 08:46:44 +0000 (08:46 +0000)]
some UI changes

18 years agofixed warning during installation when creating admin account
skodak [Mon, 14 Aug 2006 08:44:30 +0000 (08:44 +0000)]
fixed warning during installation when creating admin account

18 years agoOnly need to pass contextid to this script
moodler [Mon, 14 Aug 2006 08:41:54 +0000 (08:41 +0000)]
Only need to pass contextid to this script

18 years agoCleaned up a bunch of notices and some logic
moodler [Mon, 14 Aug 2006 08:38:49 +0000 (08:38 +0000)]
Cleaned up a bunch of notices and some logic

18 years agofixed upgrade success notification, backup and blocks success messages are not red...
skodak [Mon, 14 Aug 2006 08:37:19 +0000 (08:37 +0000)]
fixed upgrade success notification, backup and blocks success messages are not red anymore...

18 years agoFIxed 'assign roles' link from course admin
moodler [Mon, 14 Aug 2006 08:34:11 +0000 (08:34 +0000)]
FIxed 'assign roles' link from course admin

18 years agoFixed bug #6238, bad debug statements
moodler [Mon, 14 Aug 2006 08:26:58 +0000 (08:26 +0000)]
Fixed bug #6238, bad debug statements

18 years agoFunction to get roles used in a context
moodler [Mon, 14 Aug 2006 08:14:02 +0000 (08:14 +0000)]
Function to get roles used in a context

18 years agoBug #6245 - rewritten multilang filter
skodak [Mon, 14 Aug 2006 07:46:03 +0000 (07:46 +0000)]
Bug #6245 - rewritten multilang filter

18 years agoAdded has_capability calls. Reverted forum_search to pre-roles until the
vyshane [Mon, 14 Aug 2006 07:37:53 +0000 (07:37 +0000)]
Added has_capability calls. Reverted forum_search to pre-roles until the
function is totally converted to work with roles.

18 years agoFixes for capability checks.
vyshane [Mon, 14 Aug 2006 07:25:18 +0000 (07:25 +0000)]
Fixes for capability checks.

18 years agoFormatting cleanups and comments
vyshane [Mon, 14 Aug 2006 07:15:03 +0000 (07:15 +0000)]
Formatting cleanups and comments

18 years agoprevent access to filters when disabled in filter settings SC#291; merged from MOODLE...
skodak [Mon, 14 Aug 2006 06:24:34 +0000 (06:24 +0000)]
prevent access to filters when disabled in filter settings SC#291; merged from MOODLE_16_STABLE

18 years agoFixed a typo
moodler [Mon, 14 Aug 2006 06:22:29 +0000 (06:22 +0000)]
Fixed a typo

18 years agoFix error string
moodler [Mon, 14 Aug 2006 06:03:30 +0000 (06:03 +0000)]
Fix error string

18 years agoSWEEPING CLEANUP
moodler [Mon, 14 Aug 2006 05:55:40 +0000 (05:55 +0000)]
SWEEPING CLEANUP

The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied

18 years agoAdvanced search page added.
mchampan [Mon, 14 Aug 2006 02:29:43 +0000 (02:29 +0000)]
Advanced search page added.

18 years agoSC 289, small, but non-exploitable hole in backup permissions checking. Merged from...
tjhunt [Sun, 13 Aug 2006 20:39:21 +0000 (20:39 +0000)]
SC 289, small, but non-exploitable hole in backup permissions checking. Merged from MOODLE_16_STABLE.

18 years agoTemporayr debug a bit more sensible
moodler [Sun, 13 Aug 2006 15:50:58 +0000 (15:50 +0000)]
Temporayr debug a bit more sensible

18 years agoSome wider caching
moodler [Sun, 13 Aug 2006 15:48:57 +0000 (15:48 +0000)]
Some wider caching

18 years agoCache context lookup per page for performance
moodler [Sun, 13 Aug 2006 13:28:01 +0000 (13:28 +0000)]
Cache context lookup per page for performance

18 years agoAdding roles to front page course list "add" button
moodler [Sun, 13 Aug 2006 13:17:38 +0000 (13:17 +0000)]
Adding roles to front page course list "add" button

18 years agoRemoved some old calls to isadmin
moodler [Sun, 13 Aug 2006 13:12:51 +0000 (13:12 +0000)]
Removed some old calls to isadmin

18 years agoTidying up some spelling
moodler [Sun, 13 Aug 2006 09:29:33 +0000 (09:29 +0000)]
Tidying up some spelling

18 years agoMore language-related tidyups and a new get_local_override() function
moodler [Sun, 13 Aug 2006 09:25:45 +0000 (09:25 +0000)]
More language-related tidyups and a new get_local_override() function

18 years agoChanges to string format for capabilities
moodler [Sun, 13 Aug 2006 09:11:45 +0000 (09:11 +0000)]
Changes to string format for capabilities

18 years agoNew strings for Roles and Capabilities
moodler [Sun, 13 Aug 2006 09:10:52 +0000 (09:10 +0000)]
New strings for Roles and Capabilities

18 years agoRemoved all of the "Restricted users" hack because Roles can do it all better.
moodler [Sun, 13 Aug 2006 07:01:57 +0000 (07:01 +0000)]
Removed all of the "Restricted users" hack because Roles can do it all better.

18 years agoAutomatic installer.php lang files by installer_builder (20060813)
moodler [Sun, 13 Aug 2006 02:49:19 +0000 (02:49 +0000)]
Automatic installer.php lang files by installer_builder (20060813)

18 years agoLatest changes added + some polish in keys.
stronk7 [Sat, 12 Aug 2006 23:03:59 +0000 (23:03 +0000)]
Latest changes added + some polish in keys.

18 years agoInitial version of the XMLDB file for this plugin
stronk7 [Sat, 12 Aug 2006 22:26:05 +0000 (22:26 +0000)]
Initial version of the XMLDB file for this plugin

18 years agoInitial version of the XMLDB file for this plugin
stronk7 [Sat, 12 Aug 2006 22:19:10 +0000 (22:19 +0000)]
Initial version of the XMLDB file for this plugin

18 years agoInitial version of the XMLDB file for this plugin
stronk7 [Sat, 12 Aug 2006 21:41:46 +0000 (21:41 +0000)]
Initial version of the XMLDB file for this plugin

18 years agoAdded une foreign+unique key
stronk7 [Sat, 12 Aug 2006 21:40:30 +0000 (21:40 +0000)]
Added une foreign+unique key

18 years agoAdded download link for all entries as KML
danstowell [Sat, 12 Aug 2006 19:03:16 +0000 (19:03 +0000)]
Added download link for all entries as KML

18 years agoAnother couple of latlong strings
danstowell [Sat, 12 Aug 2006 19:02:39 +0000 (19:02 +0000)]
Another couple of latlong strings

18 years agoAnother couple of latlong strings
danstowell [Sat, 12 Aug 2006 17:37:08 +0000 (17:37 +0000)]
Another couple of latlong strings

18 years agoNow latlong data types allow you to choose which labels appear in Google Earth
danstowell [Sat, 12 Aug 2006 17:36:22 +0000 (17:36 +0000)]
Now latlong data types allow you to choose which labels appear in Google Earth

18 years agofixed format_text caching - now respects text format, current language and course...
skodak [Sat, 12 Aug 2006 12:44:19 +0000 (12:44 +0000)]
fixed format_text caching - now respects text format, current language and course id (lang fix is needed for my multilang filter rewrite ;-); merged from MOODLE_16_STABLE

18 years agoAn example of how one unitialized variable can generate really
stronk7 [Sat, 12 Aug 2006 09:14:40 +0000 (09:14 +0000)]
An example of how one unitialized variable can generate really
dificult-to-trace bugs. Thanks to Jens Gammelgaard and support  B-)
(http://moodle.org/bugs/bug.php?op=show&bugid=6233)

Merged from MOODLE_16_STABLE