]> git.mjollnir.org Git - moodle.git/log
moodle.git
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

18 years agoXMLDB schema initial commit for the quiz module.
stronk7 [Fri, 11 Aug 2006 19:29:47 +0000 (19:29 +0000)]
XMLDB schema initial commit for the quiz module.
Some doubts are pending to finish it properly.

18 years agoAdded one FK (recursive) to course_categories
stronk7 [Fri, 11 Aug 2006 18:41:39 +0000 (18:41 +0000)]
Added one FK (recursive) to course_categories

18 years agoAdded one comment about recursive FK for the future.
stronk7 [Fri, 11 Aug 2006 18:36:47 +0000 (18:36 +0000)]
Added one comment about recursive FK for the future.

18 years agoXMLDB schema initial commit for the lesson module
stronk7 [Fri, 11 Aug 2006 17:56:18 +0000 (17:56 +0000)]
XMLDB schema initial commit for the lesson module

18 years agoXMLDB schema initial commit for the lams module
stronk7 [Fri, 11 Aug 2006 17:39:38 +0000 (17:39 +0000)]
XMLDB schema initial commit for the lams module

18 years agoXMLDB schema initial commit for the label module
stronk7 [Fri, 11 Aug 2006 17:37:17 +0000 (17:37 +0000)]
XMLDB schema initial commit for the label module

18 years agoOops, filled now. I forgot to save changes before commit.
stronk7 [Fri, 11 Aug 2006 17:31:11 +0000 (17:31 +0000)]
Oops, filled now. I forgot to save changes before commit.

18 years agoXMLDB schema initial commit for the journal module
stronk7 [Fri, 11 Aug 2006 17:29:47 +0000 (17:29 +0000)]
XMLDB schema initial commit for the journal module

18 years agoXMLDB schema initial commit for the hotpot module
stronk7 [Fri, 11 Aug 2006 17:24:55 +0000 (17:24 +0000)]
XMLDB schema initial commit for the hotpot module

18 years agoXMLDB schema initial commit for the glossary module
stronk7 [Fri, 11 Aug 2006 17:11:46 +0000 (17:11 +0000)]
XMLDB schema initial commit for the glossary module

18 years agoGive some more chars to enum fields.
stronk7 [Fri, 11 Aug 2006 16:45:45 +0000 (16:45 +0000)]
Give some more chars to enum fields.

18 years agoXMLDB schema initial commit for forum module
stronk7 [Fri, 11 Aug 2006 16:35:11 +0000 (16:35 +0000)]
XMLDB schema initial commit for forum module

18 years agoBug 6239 - Allow questions to have some teacher-supplied commentary.
tjhunt [Fri, 11 Aug 2006 14:59:18 +0000 (14:59 +0000)]
Bug 6239 - Allow questions to have some teacher-supplied commentary.

While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590, and is why this patch makes the codebase 523 lines smaller.

18 years agoAdding new data field type, latlong, to HEAD
danstowell [Fri, 11 Aug 2006 13:17:29 +0000 (13:17 +0000)]
Adding new data field type, latlong, to HEAD

18 years agoAdded two strings
bobopinna [Fri, 11 Aug 2006 13:11:53 +0000 (13:11 +0000)]
Added two strings

18 years agoFixed a problem during scorm update.
bobopinna [Fri, 11 Aug 2006 12:26:06 +0000 (12:26 +0000)]
Fixed a problem during scorm update.
Now only the lost scoes tracks are deleted
Added support to IMS CP repository

18 years agoMerged from STABLE
thepurpleblob [Fri, 11 Aug 2006 12:16:38 +0000 (12:16 +0000)]
Merged from STABLE

18 years agoTidy up code flow in helpbutton.
tjhunt [Fri, 11 Aug 2006 10:33:29 +0000 (10:33 +0000)]
Tidy up code flow in helpbutton.

18 years agoChanging //TRANSLIT to //IGNORE because some weird bug
stronk7 [Fri, 11 Aug 2006 09:48:35 +0000 (09:48 +0000)]
Changing //TRANSLIT to //IGNORE because some weird bug
in the OS iconv libraries was breaking some texts.

Merged from MOODLE_16_STABLE

18 years agoMerged from STABLE
thepurpleblob [Fri, 11 Aug 2006 08:52:24 +0000 (08:52 +0000)]
Merged from STABLE

18 years agoLatitude and longitude lang strings for en_utf8 for data activity
danstowell [Fri, 11 Aug 2006 08:48:28 +0000 (08:48 +0000)]
Latitude and longitude lang strings for en_utf8 for data activity

18 years agoAdmin role assignment: changed from using get_string (too brittle) to
vyshane [Fri, 11 Aug 2006 03:58:52 +0000 (03:58 +0000)]
Admin role assignment: changed from using get_string (too brittle) to
get_roles_with_capability (more robust).