]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoremove use of get_String("thischarset") replace it with utf-8 MDL-7570
skodak [Wed, 15 Nov 2006 20:39:26 +0000 (20:39 +0000)]
remove use of get_String("thischarset") replace it with utf-8 MDL-7570

18 years agoBroken next button when grading assignments MDL-7569; merged from MOODLE_17_STABLE
skodak [Wed, 15 Nov 2006 19:39:17 +0000 (19:39 +0000)]
Broken next button when grading assignments MDL-7569; merged from MOODLE_17_STABLE

18 years agoMDL-6949 fixed enrolment choice in course edit form
skodak [Wed, 15 Nov 2006 19:06:49 +0000 (19:06 +0000)]
MDL-6949 fixed enrolment choice in course edit form

18 years agoMDL-7428 - Quiz regrade removes student answers from essay questions that have been...
tjhunt [Wed, 15 Nov 2006 17:32:49 +0000 (17:32 +0000)]
MDL-7428 - Quiz regrade removes student answers from essay questions that have been graded. Merged from MOODLE_16_STABLE.

18 years agoMDL-7567 Numerical questions occasionally mix up the order of their answers. Merged...
tjhunt [Wed, 15 Nov 2006 16:58:44 +0000 (16:58 +0000)]
MDL-7567 Numerical questions occasionally mix up the order of their answers. Merged from MOODLE_16_STABLE.

18 years agoPostgreSQL script, based on ../install.sql (Bug MDL-7380 "groups".)
nfreear [Wed, 15 Nov 2006 15:24:30 +0000 (15:24 +0000)]
PostgreSQL script, based on ../install.sql (Bug MDL-7380 "groups".)

18 years agoMySQL script, extracted from ../install.sql (Bug MDL-7380 "groups".)
nfreear [Wed, 15 Nov 2006 15:23:56 +0000 (15:23 +0000)]
MySQL script, extracted from ../install.sql (Bug MDL-7380 "groups".)

18 years agoMDL-7513 Further tweak to the way defaultuser role works to unbreak one possible...
sam_marshall [Wed, 15 Nov 2006 14:23:43 +0000 (14:23 +0000)]
MDL-7513 Further tweak to the way defaultuser role works to unbreak one possible situation that my previous change just broke

18 years agoMDL-7513 - made it so a hack for Guest role only applies to that role and doesn't...
sam_marshall [Wed, 15 Nov 2006 13:36:57 +0000 (13:36 +0000)]
MDL-7513 - made it so a hack for Guest role only applies to that role and doesn't remove the course:view capability from other roles at site level when specifically assigned

18 years agoMDL-7309 Add error checking to the Quiz DB upgrade script. This should prevent the...
tjhunt [Wed, 15 Nov 2006 12:59:49 +0000 (12:59 +0000)]
MDL-7309 Add error checking to the Quiz DB upgrade script. This should prevent the mysterious failures that some people are seeing when upgrading quizzes from 1.5.x to 1.6.x. Merged from MOODLE_16_STABLE.

18 years agoWhitespace and $CFG->prefix fix (Bug MDL-7380 "groups".)
nfreear [Wed, 15 Nov 2006 10:23:52 +0000 (10:23 +0000)]
Whitespace and $CFG->prefix fix (Bug MDL-7380 "groups".)

18 years agoMerged from 1.7
vyshane [Wed, 15 Nov 2006 08:34:17 +0000 (08:34 +0000)]
Merged from 1.7

18 years agoAdd optional cli only and password protected access to cron.php MDL-7318; idea and...
skodak [Wed, 15 Nov 2006 08:29:24 +0000 (08:29 +0000)]
Add optional cli only and password protected access to cron.php MDL-7318; idea and patch submitted by Luke Hudson - thanks

18 years agoseparating the site course context and the site context, could be buggy, please repor...
toyomoyo [Wed, 15 Nov 2006 08:23:27 +0000 (08:23 +0000)]
separating the site course context and the site context, could be buggy, please report bugs!

18 years agoMerged from 1.7
vyshane [Wed, 15 Nov 2006 08:07:32 +0000 (08:07 +0000)]
Merged from 1.7

18 years agolittle bit of clean up. removed extra global var and format element helpbutton is...
jamiesensei [Wed, 15 Nov 2006 07:49:43 +0000 (07:49 +0000)]
little bit of clean up. removed extra global var and format element helpbutton is now included in element definition.

18 years agomigrated mod/lesson/mod.html to formslib
jamiesensei [Wed, 15 Nov 2006 07:44:33 +0000 (07:44 +0000)]
migrated mod/lesson/mod.html to formslib

18 years agoadded two new elements button and choosecoursefile which inherits from button
jamiesensei [Wed, 15 Nov 2006 07:40:49 +0000 (07:40 +0000)]
added two new elements button and choosecoursefile which inherits from button

added $supportsgroups bool parameter with default true to give method standard_coursemodule_elements($supportsgroups=true) on moodleform_mod

18 years agoMDL-6937
ethem [Wed, 15 Nov 2006 07:39:04 +0000 (07:39 +0000)]
MDL-6937
MDL-7561
MDL-7562

Need to be used new forms api.

Please see also:

* enrol.php: check_entry(), config_form(), process_config()
* localfuncs.php: validate_cc_form(), validate_echeck_form()

18 years agoadded removeOption method to allow removing options from a select drop down
jamiesensei [Wed, 15 Nov 2006 07:36:00 +0000 (07:36 +0000)]
added removeOption method to allow removing options from a select drop down

18 years agoadded action to redirect back to course page or to url in session var if cancel has...
jamiesensei [Wed, 15 Nov 2006 07:34:34 +0000 (07:34 +0000)]
added action to redirect back to course page or to url in session var if cancel has been pressed.

18 years agoneeded to add the option to pass an element id rather than a name to index.php as...
jamiesensei [Wed, 15 Nov 2006 07:26:48 +0000 (07:26 +0000)]
needed to add the option to pass an element id rather than a name to index.php as the choose parameter. XHTML strict doesn't allow giving a form a name attribute so we use the id of the form element to select the element to return the filename to. We use getElementById to find the element in the document.

18 years agoreenabling this for site level course, backup/restore/assign roles and so on.
toyomoyo [Wed, 15 Nov 2006 07:17:46 +0000 (07:17 +0000)]
reenabling this for site level course, backup/restore/assign roles and so on.
This provides a course context for the site course

18 years agomerged, adding missing fields
toyomoyo [Wed, 15 Nov 2006 06:28:37 +0000 (06:28 +0000)]
merged, adding missing fields

18 years agomerged, replacing deprecated functions
toyomoyo [Wed, 15 Nov 2006 06:23:28 +0000 (06:23 +0000)]
merged, replacing deprecated functions

18 years agoAdding hidden role assignment, currently used in course participants page and print_c...
toyomoyo [Wed, 15 Nov 2006 04:28:18 +0000 (04:28 +0000)]
Adding hidden role assignment, currently used in course participants page and print_course function.
Please test.

18 years agomerged fix for MDL-6928, correcting checks for auth_iscreator
toyomoyo [Wed, 15 Nov 2006 03:40:18 +0000 (03:40 +0000)]
merged fix for MDL-6928, correcting checks for auth_iscreator

18 years agoMerged from 1.7
vyshane [Wed, 15 Nov 2006 03:31:28 +0000 (03:31 +0000)]
Merged from 1.7

18 years agodropping studentcanpost in glossary, MDL_7170
toyomoyo [Wed, 15 Nov 2006 03:15:59 +0000 (03:15 +0000)]
dropping studentcanpost in glossary, MDL_7170

18 years agofixing indenting
toyomoyo [Wed, 15 Nov 2006 03:15:06 +0000 (03:15 +0000)]
fixing indenting

18 years agoAutomatic installer.php lang files by installer_builder (20061115)
moodler [Wed, 15 Nov 2006 03:12:00 +0000 (03:12 +0000)]
Automatic installer.php lang files by installer_builder (20061115)

18 years agoMerged from 1.7
vyshane [Wed, 15 Nov 2006 02:42:38 +0000 (02:42 +0000)]
Merged from 1.7

18 years agofixing alt tag to use capital "More"
toyomoyo [Wed, 15 Nov 2006 02:10:59 +0000 (02:10 +0000)]
fixing alt tag to use capital "More"

18 years agouse timeupdated field in paypal table MDL-7555
skodak [Tue, 14 Nov 2006 21:29:57 +0000 (21:29 +0000)]
use timeupdated field in paypal table MDL-7555

18 years agoMDL-7536 add proper slashing to data from paypal callback
skodak [Tue, 14 Nov 2006 21:12:17 +0000 (21:12 +0000)]
MDL-7536 add proper slashing to data from paypal callback

18 years agoMDL-7535 PayPal communication now fully utf-8 compatible, users must check/fix encodi...
skodak [Tue, 14 Nov 2006 20:52:15 +0000 (20:52 +0000)]
MDL-7535 PayPal communication now fully utf-8 compatible, users must check/fix encoding setting in their PayPal account - see linked docs from PayPal enrolment config page

18 years agoInitial commit of gu_utf8 installer file
moodler [Tue, 14 Nov 2006 19:52:55 +0000 (19:52 +0000)]
Initial commit of gu_utf8 installer file

18 years agowhile working, it's better to compare with original data (un-slashed)
stronk7 [Tue, 14 Nov 2006 16:31:33 +0000 (16:31 +0000)]
while working, it's better to compare with original data (un-slashed)

Merged from MOODLE_17_STABLE

18 years agoMDL-7531 Fix SQL that does not work in Oracle. Thanks to Mark Hetherington for the...
tjhunt [Tue, 14 Nov 2006 15:41:20 +0000 (15:41 +0000)]
MDL-7531 Fix SQL that does not work in Oracle. Thanks to Mark Hetherington for the fix. Merged from MOODLE_17_STABLE.

18 years agowhitespace fix in PayPal plugin
skodak [Tue, 14 Nov 2006 09:32:11 +0000 (09:32 +0000)]
whitespace fix in PayPal plugin

18 years agoMDL-7838 Fixed wrong Paypal spelling, should be PayPal
skodak [Tue, 14 Nov 2006 09:26:22 +0000 (09:26 +0000)]
MDL-7838 Fixed wrong Paypal spelling, should be PayPal
MDL-7539 PayPal pay button XHTML compliance
MDL-3137 PayPal acceptace logo displayed on enrollment page

18 years agoadd hooks to paypal plugin to allow testing on www.sandbox.paypal.com MDL-7528
skodak [Tue, 14 Nov 2006 08:53:39 +0000 (08:53 +0000)]
add hooks to paypal plugin to allow testing on www.sandbox.paypal.com MDL-7528

18 years agochanged width of form to 80% -aesthetic change
jamiesensei [Tue, 14 Nov 2006 06:09:36 +0000 (06:09 +0000)]
changed width of form to 80% -aesthetic change

18 years agomigrated journal/mod.html to formslib
jamiesensei [Tue, 14 Nov 2006 06:01:11 +0000 (06:01 +0000)]
migrated journal/mod.html to formslib

18 years agorange third parameter doesn't work pre PHP 5.0 removed the use of this.
jamiesensei [Tue, 14 Nov 2006 05:38:10 +0000 (05:38 +0000)]
range third parameter doesn't work pre PHP 5.0 removed the use of this.

18 years agoMerged from 1.7
vyshane [Tue, 14 Nov 2006 05:34:38 +0000 (05:34 +0000)]
Merged from 1.7

18 years agofix for bug - not seeing standard elements on activity module form on some versions...
jamiesensei [Tue, 14 Nov 2006 05:18:39 +0000 (05:18 +0000)]
fix for bug - not seeing standard elements on activity module form on some versions of PHP.

18 years agoMerged from 1.7.
vyshane [Tue, 14 Nov 2006 05:04:15 +0000 (05:04 +0000)]
Merged from 1.7.

18 years agoMerged from 1.7
vyshane [Tue, 14 Nov 2006 03:07:18 +0000 (03:07 +0000)]
Merged from 1.7

18 years agoadd custom submit button to registry
jamiesensei [Tue, 14 Nov 2006 03:00:26 +0000 (03:00 +0000)]
add custom submit button to registry

18 years agochecking in files for some new custom elements. And added a default help button to...
jamiesensei [Tue, 14 Nov 2006 02:57:19 +0000 (02:57 +0000)]
checking in files for some new custom elements. And added a default help button to the format drop down box.

18 years agoMerged from 1.7
vyshane [Tue, 14 Nov 2006 02:07:59 +0000 (02:07 +0000)]
Merged from 1.7

18 years agoSet Assoc mode always after DB connection. Discovered by MDL-7443
stronk7 [Mon, 13 Nov 2006 22:59:58 +0000 (22:59 +0000)]
Set Assoc mode always after DB connection. Discovered by MDL-7443

Merged from MOODLE_17_STABLE

18 years agoFetchmode needs to be explicity set to ASSOC. Plus 1 missing library
stronk7 [Mon, 13 Nov 2006 22:49:30 +0000 (22:49 +0000)]
Fetchmode needs to be explicity set to ASSOC. Plus 1 missing library
added. MDL-7443

Merged from MOODLE_17_STABLE

18 years agoMDL-7389 paypal plugin reports error when student correctly enrolled; merged from...
skodak [Mon, 13 Nov 2006 22:26:11 +0000 (22:26 +0000)]
MDL-7389  paypal plugin reports error when student correctly enrolled; merged from MOODLE_17_STABLE

18 years agoInterface fix in groups_add_member, remove_member - basicgrouplib.php, dbXX.php,...
nfreear [Mon, 13 Nov 2006 16:25:16 +0000 (16:25 +0000)]
Interface fix in groups_add_member, remove_member - basicgrouplib.php, dbXX.php, test_XX.php (Bug MDL-7380 "groups".)

18 years agoMerged user capabilities fix for 1.7
exe-cutor [Mon, 13 Nov 2006 11:54:07 +0000 (11:54 +0000)]
Merged user capabilities fix for 1.7

18 years ago*** empty log message ***
jamiesensei [Mon, 13 Nov 2006 09:20:42 +0000 (09:20 +0000)]
*** empty log message ***

18 years agoshifted hidden elements from standard_coursemodule_elements() into standard_hidden_c...
jamiesensei [Mon, 13 Nov 2006 09:18:47 +0000 (09:18 +0000)]
shifted hidden elements from standard_coursemodule_elements()  into standard_hidden_coursemodule_elements()  so that they can be included in a form without the other visible standard elements.

18 years agoMerged from 17stable.
ethem [Mon, 13 Nov 2006 08:43:16 +0000 (08:43 +0000)]
Merged from 17stable.

18 years agoremoving mod.html migrated to formslib
jamiesensei [Mon, 13 Nov 2006 07:56:01 +0000 (07:56 +0000)]
removing mod.html migrated to formslib

18 years agoNew feature: Show my payments only for users who has_capability('enrol/authorize...
ethem [Mon, 13 Nov 2006 07:53:32 +0000 (07:53 +0000)]
New feature: Show my payments only for users who has_capability('enrol/authorize:managepayments')

18 years agoglossary form migrated to formslib
jamiesensei [Mon, 13 Nov 2006 07:52:01 +0000 (07:52 +0000)]
glossary form migrated to formslib
and other formslib forms now using $COURSE global

18 years agosome changes to setHelpButton methods on elements and MoodleQuickForm to allow non...
jamiesensei [Mon, 13 Nov 2006 07:43:22 +0000 (07:43 +0000)]
some changes to setHelpButton methods on elements and MoodleQuickForm to allow non standard help buttons such as the grades pop up window.

18 years agoError message to use lang string nopostdiscussion
vyshane [Mon, 13 Nov 2006 07:38:51 +0000 (07:38 +0000)]
Error message to use lang string nopostdiscussion

18 years agoNew feature: Show my payments only for users who has_capability('enrol/authorize...
ethem [Mon, 13 Nov 2006 07:36:58 +0000 (07:36 +0000)]
New feature: Show my payments only for users who has_capability('enrol/authorize:managepayments')

18 years agoMerged from 1.7
vyshane [Mon, 13 Nov 2006 07:32:21 +0000 (07:32 +0000)]
Merged from 1.7

18 years agoReplacing with working image.
ikawhero [Mon, 13 Nov 2006 06:26:44 +0000 (06:26 +0000)]
Replacing with working image.

18 years agomerged fix for MDL-7441, wrong size for roles icon
toyomoyo [Mon, 13 Nov 2006 05:43:41 +0000 (05:43 +0000)]
merged fix for MDL-7441, wrong size for roles icon

18 years agofix for MDL-7483, add table header to user picture on participants listing
toyomoyo [Mon, 13 Nov 2006 03:43:12 +0000 (03:43 +0000)]
fix for MDL-7483, add table header to user picture on participants listing

18 years agoMerged from 1.7
vyshane [Mon, 13 Nov 2006 03:27:41 +0000 (03:27 +0000)]
Merged from 1.7

18 years agofix for MDL-7482, adding alt text for messaging controls
toyomoyo [Mon, 13 Nov 2006 02:41:50 +0000 (02:41 +0000)]
fix for MDL-7482, adding alt text for messaging controls

18 years agofix for MDL-7474, provide alt text for ascending/descending icons in glossary
toyomoyo [Mon, 13 Nov 2006 02:20:47 +0000 (02:20 +0000)]
fix for MDL-7474, provide alt text for ascending/descending icons in glossary

18 years agofix for MDL-7473, adding alt tag for printer friendly version
toyomoyo [Mon, 13 Nov 2006 02:07:10 +0000 (02:07 +0000)]
fix for MDL-7473, adding alt tag for printer friendly version

18 years agoreadded file uploads to forum post form, file processing was not updated because...
skodak [Sun, 12 Nov 2006 18:36:00 +0000 (18:36 +0000)]
readded file uploads to forum post form, file processing was not updated because it would need a rewrite MDL-6961

18 years agoGet course before require_login(); Merged from 17stable.
ethem [Sun, 12 Nov 2006 13:26:14 +0000 (13:26 +0000)]
Get course before require_login(); Merged from 17stable.

18 years agonew element type 'selectyesno' and some clean up to code for modvisible and modgroupm...
jamiesensei [Sun, 12 Nov 2006 11:30:12 +0000 (11:30 +0000)]
new element type 'selectyesno' and some clean up to code for modvisible and modgroupmode elements.

18 years agofixed problem with select box element for 'forum type' which must sometimes display...
jamiesensei [Sun, 12 Nov 2006 11:07:12 +0000 (11:07 +0000)]
fixed problem with select box element for 'forum type' which must sometimes display option which is otherwise unselectable.

18 years agofixed obsoleted use of course->category to find site course - now used SITEID instead...
skodak [Sun, 12 Nov 2006 08:55:13 +0000 (08:55 +0000)]
fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899

18 years agoadded many extra phpdoc style comments to file
jamiesensei [Sun, 12 Nov 2006 07:28:13 +0000 (07:28 +0000)]
added many extra phpdoc style comments to file

18 years agoPrevent admins from unassigning themselves MDL-7462
moodler [Sun, 12 Nov 2006 06:12:15 +0000 (06:12 +0000)]
Prevent admins from unassigning themselves   MDL-7462

18 years agoAutomatic installer.php lang files by installer_builder (20061112)
moodler [Sun, 12 Nov 2006 03:07:39 +0000 (03:07 +0000)]
Automatic installer.php lang files by installer_builder (20061112)

18 years agowe are going 100% unicode now - removed use of $CFG->unicodedb and current_charset...
skodak [Sat, 11 Nov 2006 17:23:20 +0000 (17:23 +0000)]
we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left

18 years agowe are going 100% unicode now - romoved use of $CFG->unicodedb and current_charset...
skodak [Sat, 11 Nov 2006 16:07:53 +0000 (16:07 +0000)]
we are going 100% unicode now - romoved use of $CFG->unicodedb and current_charset() which is now obsole and always returns UTF-8; MDL-7439

18 years agoAutomatic installer.php lang files by installer_builder (20061111)
moodler [Sat, 11 Nov 2006 03:12:18 +0000 (03:12 +0000)]
Automatic installer.php lang files by installer_builder (20061111)

18 years agoAutomatic installer.php lang files by installer_builder (20061110)
moodler [Fri, 10 Nov 2006 09:52:12 +0000 (09:52 +0000)]
Automatic installer.php lang files by installer_builder (20061110)

18 years agomerged, fields should be backed up regardless of whether user data is selected
toyomoyo [Fri, 10 Nov 2006 04:17:37 +0000 (04:17 +0000)]
merged, fields should be backed up regardless of whether user data is selected

18 years agomerged, fields should be restored regardless of whether user data is to be restored
toyomoyo [Fri, 10 Nov 2006 04:11:10 +0000 (04:11 +0000)]
merged, fields should be restored regardless of whether user data is to be restored

18 years agoAutomatic installer.php lang files by installer_builder (20061110)
moodler [Fri, 10 Nov 2006 03:12:35 +0000 (03:12 +0000)]
Automatic installer.php lang files by installer_builder (20061110)

18 years agomigrated mod/forum/mod.html to new formslib
jamiesensei [Fri, 10 Nov 2006 03:04:34 +0000 (03:04 +0000)]
migrated mod/forum/mod.html to new formslib

18 years agoadded check to stop installation in admin/index.php if db is not unicode MDL-6858
toyomoyo [Fri, 10 Nov 2006 02:42:13 +0000 (02:42 +0000)]
added check to stop installation in admin/index.php if db is not unicode MDL-6858

18 years agoeleminating dbencodingtests (always checked in 1.8 via environment) as 1.8 requires...
toyomoyo [Fri, 10 Nov 2006 02:34:59 +0000 (02:34 +0000)]
eleminating dbencodingtests (always checked in 1.8 via environment) as 1.8 requires unicode

18 years agoremoved extra erroneous help button
jamiesensei [Fri, 10 Nov 2006 02:23:12 +0000 (02:23 +0000)]
removed extra erroneous help button

18 years agoneed to pass course as customdata to form definition
jamiesensei [Fri, 10 Nov 2006 01:27:51 +0000 (01:27 +0000)]
need to pass course as customdata to form definition

18 years agocode improvement in count_courses_notin_metacourse() MDL-7424 - thanks Eloy!
skodak [Thu, 9 Nov 2006 23:35:06 +0000 (23:35 +0000)]
code improvement in count_courses_notin_metacourse() MDL-7424 - thanks Eloy!

18 years agocoding style changes MDL-6961
skodak [Thu, 9 Nov 2006 23:04:55 +0000 (23:04 +0000)]
coding style changes MDL-6961

18 years agocoding style changes MDL-MDL-6956
skodak [Thu, 9 Nov 2006 22:33:52 +0000 (22:33 +0000)]
coding style changes MDL-MDL-6956

18 years agocoding style fixes MDL-6954
skodak [Thu, 9 Nov 2006 22:16:44 +0000 (22:16 +0000)]
coding style fixes MDL-6954

18 years agocoding style fixes MDL-6949
skodak [Thu, 9 Nov 2006 22:08:30 +0000 (22:08 +0000)]
coding style fixes MDL-6949

18 years agocoding style fixes MDL-6954
skodak [Thu, 9 Nov 2006 21:58:12 +0000 (21:58 +0000)]
coding style fixes MDL-6954