moodle.git
14 years agoFirst checkin of tag system from GSOC student Luiz Cruz
moodler [Tue, 31 Jul 2007 07:51:32 +0000 (07:51 +0000)]
First checkin of tag system from GSOC student Luiz Cruz

It's a very simple first version.

TODO for 1.9:

   - Store rawname of each tag as well as normalised version and treat accordingly
   - Add blocks to the tag interest pages

14 years agoUpgrades to tag tables
moodler [Tue, 31 Jul 2007 07:34:03 +0000 (07:34 +0000)]
Upgrades to tag tables

14 years agoMDL-10550 Reverted some of Petr's changes, and added styling to the table.
nicolasconnault [Tue, 31 Jul 2007 07:26:13 +0000 (07:26 +0000)]
MDL-10550 Reverted some of Petr's changes, and added styling to the table.

14 years agoAdded tables for new tags
moodler [Tue, 31 Jul 2007 05:59:32 +0000 (05:59 +0000)]
Added tables for new tags

14 years agoadding a print_heading() call
toyomoyo [Tue, 31 Jul 2007 04:24:39 +0000 (04:24 +0000)]
adding a print_heading() call

14 years agofixing course outcomes edit page to not use user preference but proper grade_outcomes...
toyomoyo [Tue, 31 Jul 2007 04:09:00 +0000 (04:09 +0000)]
fixing course outcomes edit page to not use user preference but proper grade_outcomes_courses table, because course outcomes should not be a user preference

14 years agofixing print_grade_plugin_selector() to point to edit/courseoutcomes
toyomoyo [Tue, 31 Jul 2007 03:28:30 +0000 (03:28 +0000)]
fixing print_grade_plugin_selector() to point to edit/courseoutcomes

14 years agoadding courseoutcomes, removing favoutcomes
toyomoyo [Tue, 31 Jul 2007 03:23:07 +0000 (03:23 +0000)]
adding courseoutcomes, removing favoutcomes

14 years agoremoved and placed in courseoutcomes
toyomoyo [Tue, 31 Jul 2007 03:20:53 +0000 (03:20 +0000)]
removed and placed in courseoutcomes

14 years agofixing the average query to use subquery so that userids can be distinct, this preven...
toyomoyo [Tue, 31 Jul 2007 03:19:32 +0000 (03:19 +0000)]
fixing the average query to use subquery so that userids can be distinct, this prevents duplication of grades in case of multiple roles for same user

14 years agoReplaced the grade_outcomes_courses table that was deleted by accident
moodler [Tue, 31 Jul 2007 02:28:51 +0000 (02:28 +0000)]
Replaced the grade_outcomes_courses table that was deleted by accident

14 years agoPrevent some notices...
stronk7 [Mon, 30 Jul 2007 23:50:04 +0000 (23:50 +0000)]
Prevent some notices...

14 years agosearch cron was killing the rest of cron tasks!
stronk7 [Mon, 30 Jul 2007 23:42:16 +0000 (23:42 +0000)]
search cron was killing the rest of cron tasks!

Merged from MOODLE_18_STABLE

14 years agoNow the block->cron attribute is updated in the block table both
stronk7 [Mon, 30 Jul 2007 23:31:17 +0000 (23:31 +0000)]
Now the block->cron attribute is updated in the block table both
at install and upgrade (previously it was set only at install).

Plus general cleanup of whitespace.

14 years agovarious grade outcomes and scales improvements, fixes, changes and refactoring
skodak [Mon, 30 Jul 2007 22:56:45 +0000 (22:56 +0000)]
various grade outcomes and scales improvements, fixes, changes and refactoring
added new favoutcomes plugin settings page - to be used later, this replaces the grade_outcomes_grades table
admin settings - outcomes and scales both have settings page now

14 years agoMDL-10661 - another bloody invisiblefieldset bug. Merged from MOODLE_18_STABLE.
tjhunt [Mon, 30 Jul 2007 22:14:32 +0000 (22:14 +0000)]
MDL-10661 - another bloody invisiblefieldset bug. Merged from MOODLE_18_STABLE.

14 years agoDelete some trailing whitespaces...
stronk7 [Mon, 30 Jul 2007 19:13:19 +0000 (19:13 +0000)]
Delete some trailing whitespaces...

14 years agoMDL-10645 :: removed the quotes around $navigation" within print_navigation($navigation).
urs_hunkler [Mon, 30 Jul 2007 18:43:43 +0000 (18:43 +0000)]
MDL-10645 :: removed the quotes around $navigation" within print_navigation($navigation).

14 years agoFixed one minor XHTML problem
stronk7 [Mon, 30 Jul 2007 17:20:42 +0000 (17:20 +0000)]
Fixed one minor XHTML problem

14 years agoCleaning some trailing spaces here and there.
stronk7 [Mon, 30 Jul 2007 17:11:55 +0000 (17:11 +0000)]
Cleaning some trailing spaces here and there.

14 years agoUse of get_html_head_contributions was causing unwanted interaction bewteen question...
tjhunt [Mon, 30 Jul 2007 17:04:46 +0000 (17:04 +0000)]
Use of get_html_head_contributions was causing unwanted interaction bewteen question types. Switched to using a class variable.

14 years agoSince now, Moodle 2.0 will require PHP 5.2. MDL-10390
stronk7 [Mon, 30 Jul 2007 16:49:40 +0000 (16:49 +0000)]
Since now, Moodle 2.0 will require PHP 5.2. MDL-10390

Merged from MOODLE_18_STABLE

14 years agoMDL-9664 Attempting to address the issue. I need feedback from many people on this...
nicolasconnault [Mon, 30 Jul 2007 16:43:12 +0000 (16:43 +0000)]
MDL-9664 Attempting to address the issue. I need feedback from many people on this, so this commit is only a temporary fix.

14 years agoRe-adding some strings that were lost when stripping BOMB
stronk7 [Mon, 30 Jul 2007 15:16:22 +0000 (15:16 +0000)]
Re-adding some strings that were lost when stripping BOMB

14 years agoRe-adding some strings that were lost when stripping BOMB
stronk7 [Mon, 30 Jul 2007 15:12:01 +0000 (15:12 +0000)]
Re-adding some strings that were lost when stripping BOMB

14 years agoRe-adding some strings that were lost when stripping BOMB
stronk7 [Mon, 30 Jul 2007 15:06:52 +0000 (15:06 +0000)]
Re-adding some strings that were lost when stripping BOMB

14 years agoMDL-10637 Applied Eloy's suggested fix to the BOMs in the files he detected on his...
nicolasconnault [Mon, 30 Jul 2007 11:51:37 +0000 (11:51 +0000)]
MDL-10637 Applied Eloy's suggested fix to the BOMs in the files he detected on his oh-so-aware Mac :-)

14 years agoMDL-10300 - cleaning incorrectly applied to overall feedback.
tjhunt [Mon, 30 Jul 2007 10:33:43 +0000 (10:33 +0000)]
MDL-10300 - cleaning incorrectly applied to overall feedback.

14 years agoMDL-10656 - Way to control when Overall feedback is displayed, independantly of the...
tjhunt [Mon, 30 Jul 2007 10:05:11 +0000 (10:05 +0000)]
MDL-10656 - Way to control when Overall feedback is displayed, independantly of the other sorts of feedback. Also, improve the layout of those settings on the quiz editing form.

14 years agoMDL-10210 Updated the admin settings page for the grader report.
nicolasconnault [Mon, 30 Jul 2007 09:46:01 +0000 (09:46 +0000)]
MDL-10210 Updated the admin settings page for the grader report.

14 years agoChange the config.html form to match changes made in mod_form ages ago. Oops!
tjhunt [Mon, 30 Jul 2007 09:41:31 +0000 (09:41 +0000)]
Change the config.html form to match changes made in mod_form ages ago. Oops!

14 years agoEliminate commented code.
tjhunt [Mon, 30 Jul 2007 09:36:39 +0000 (09:36 +0000)]
Eliminate commented code.

14 years agoMDL-10210 Added help text for fields of 'text' type: "Leave this field empty to use...
nicolasconnault [Mon, 30 Jul 2007 09:01:14 +0000 (09:01 +0000)]
MDL-10210 Added help text for fields of 'text' type: "Leave this field empty to use the site default (currently $a)"

14 years agobug fix and hopefully faster grade average calculation
toyomoyo [Mon, 30 Jul 2007 08:50:26 +0000 (08:50 +0000)]
bug fix and hopefully faster grade average calculation

14 years agoMDL-10210 Re-organised the gradebook preferences, and now displaying site defaults...
nicolasconnault [Mon, 30 Jul 2007 07:12:33 +0000 (07:12 +0000)]
MDL-10210 Re-organised the gradebook preferences, and now displaying site defaults inside the dropdown menus instead of the labels.

14 years agofixing broken paging bar
toyomoyo [Mon, 30 Jul 2007 06:58:46 +0000 (06:58 +0000)]
fixing broken paging bar

14 years agoadding jumpto menu for import and export
toyomoyo [Mon, 30 Jul 2007 06:28:41 +0000 (06:28 +0000)]
adding jumpto menu for import and export

14 years agoadding jump menu
toyomoyo [Mon, 30 Jul 2007 06:23:24 +0000 (06:23 +0000)]
adding jump menu

14 years agoadding function get_fieldset_select() MDL-10181
toyomoyo [Mon, 30 Jul 2007 04:36:05 +0000 (04:36 +0000)]
adding function get_fieldset_select() MDL-10181

14 years agofixing notes style
toyomoyo [Mon, 30 Jul 2007 04:31:26 +0000 (04:31 +0000)]
fixing notes style

14 years agofixing some strings
toyomoyo [Mon, 30 Jul 2007 04:30:19 +0000 (04:30 +0000)]
fixing some strings

14 years agoAutomatic installer.php lang files by installer_builder (20070730)
moodler [Mon, 30 Jul 2007 04:29:24 +0000 (04:29 +0000)]
installer.php lang files by installer_builder (20070730)

14 years agomerged fix for MDL_10640, adding missing index for mdl_role_capabilities table during...
toyomoyo [Mon, 30 Jul 2007 02:42:17 +0000 (02:42 +0000)]
merged fix for MDL_10640, adding missing index for mdl_role_capabilities table during upgrade

14 years agoMDL-10544 placeholder for outcome edit forms grade/edit/outcome/
skodak [Sun, 29 Jul 2007 23:02:03 +0000 (23:02 +0000)]
MDL-10544 placeholder for outcome edit forms grade/edit/outcome/
MDL-10650 scales code moved to grade/edit/scale/
refactoring in grade/edit/

14 years agoMDL-10075 - changes done following Petr's patch and optional_param with default ltr
urs_hunkler [Sun, 29 Jul 2007 20:46:05 +0000 (20:46 +0000)]
MDL-10075 - changes done following Petr's patch and optional_param with default ltr

14 years agoMDL-9960 more support for NULLs in db values + unittests
skodak [Sun, 29 Jul 2007 15:20:51 +0000 (15:20 +0000)]
MDL-9960 more support for NULLs in db values + unittests

14 years agofixed grade category unit tests
skodak [Sun, 29 Jul 2007 13:58:57 +0000 (13:58 +0000)]
fixed grade category unit tests

14 years agoMDL-10636 reverting last commit
skodak [Sun, 29 Jul 2007 13:22:50 +0000 (13:22 +0000)]
MDL-10636 reverting last commit

14 years agoMinor change from 0 to null in formats. More correct and compatible
stronk7 [Sat, 28 Jul 2007 16:04:52 +0000 (16:04 +0000)]
Minor change from 0 to null in formats. More correct and compatible
with previous (0) implementation. MDL-9911

14 years agoUpdating PEAR-Excel lib doc. MDL-9911
stronk7 [Sat, 28 Jul 2007 15:15:26 +0000 (15:15 +0000)]
Updating PEAR-Excel lib doc. MDL-9911

14 years agoUpdating PEAR-Excel package to 0.9.1 MDL-9911
stronk7 [Sat, 28 Jul 2007 15:14:16 +0000 (15:14 +0000)]
Updating PEAR-Excel package to 0.9.1 MDL-9911

14 years agoMDL-10636
nicolasconnault [Sat, 28 Jul 2007 09:23:32 +0000 (09:23 +0000)]
MDL-10636
Attempting to fix a number of bugs related to backup/restore for gradebook

14 years agoAutomatic installer.php lang files by installer_builder (20070728)
moodler [Sat, 28 Jul 2007 06:02:11 +0000 (06:02 +0000)]
installer.php lang files by installer_builder (20070728)

14 years agoAdding one Moodle note about the local hack performed. MDL-9911
stronk7 [Sat, 28 Jul 2007 00:17:25 +0000 (00:17 +0000)]
Adding one Moodle note about the local hack performed. MDL-9911

Merged from MOODLE_18_STABLE

14 years agoMoodle hack to make the excel generation lib really better
stronk7 [Sat, 28 Jul 2007 00:04:44 +0000 (00:04 +0000)]
Moodle hack to make the excel generation lib really better
under UTF-8. Credit goes to Thomas Robb. MDL-9911

Merged from MOODLE_18_STABLE

14 years agoBug #MDL-10632, fixing the use of 'delete_event'.
mchurch [Fri, 27 Jul 2007 18:39:54 +0000 (18:39 +0000)]
Bug #MDL-10632, fixing the use of 'delete_event'.

14 years agoFixed bugs and typos in grade backups
nicolasconnault [Fri, 27 Jul 2007 13:38:06 +0000 (13:38 +0000)]
Fixed bugs and typos in grade backups

14 years agoMDL-10627 - "No message plugins installed" warning on admin page on head
tjhunt [Fri, 27 Jul 2007 11:31:34 +0000 (11:31 +0000)]
MDL-10627 - "No message plugins installed" warning on admin page on head

14 years agoCorrect display of unittest results for IE
dwoolhead [Fri, 27 Jul 2007 11:13:22 +0000 (11:13 +0000)]
Correct display of unittest results for IE

14 years agoMDL-10626 - Change HTML of checkboxes etc., to make it easier to style forms
tjhunt [Fri, 27 Jul 2007 11:05:34 +0000 (11:05 +0000)]
MDL-10626 - Change HTML of checkboxes etc., to make it easier to style forms

14 years agoImprovements to sql_bitand, etc. so that the caller does not have to worry about...
tjhunt [Fri, 27 Jul 2007 09:24:20 +0000 (09:24 +0000)]
Improvements to sql_bitand, etc. so that the caller does not have to worry about operator precidence.

14 years agoRepaired the language file that was causing the printing of a weird UTF-8 character...
nicolasconnault [Fri, 27 Jul 2007 06:18:39 +0000 (06:18 +0000)]
Repaired the language file that was causing the printing of a weird UTF-8 character in admin page

14 years agowhen unassign users in course, if user has no more course:view capability left, he...
toyomoyo [Fri, 27 Jul 2007 05:43:05 +0000 (05:43 +0000)]
when unassign users in course, if user has no more course:view capability left, he should be removed from all groups in course

14 years agoMDL-10557, adding format_string() to support multilang filter usage on grade item...
toyomoyo [Fri, 27 Jul 2007 02:28:59 +0000 (02:28 +0000)]
MDL-10557, adding format_string() to support multilang filter usage on grade item names

14 years agoMDL-10557, adding format_string prior to return of grade item name in order to suppor...
toyomoyo [Fri, 27 Jul 2007 01:59:47 +0000 (01:59 +0000)]
MDL-10557, adding format_string prior to return of grade item name in order to support multilang filger

14 years agoAdding not needed - but better - missing break
stronk7 [Thu, 26 Jul 2007 18:06:11 +0000 (18:06 +0000)]
Adding not needed - but better - missing break

14 years agoAdding some sql_bitXXX() functions to be able to generate
stronk7 [Thu, 26 Jul 2007 17:45:08 +0000 (17:45 +0000)]
Adding some sql_bitXXX() functions to be able to generate
cross-db bitwise operations. Not fully tested yet but I need
this in CVS to be able to test under Oracle.

14 years agoMDL-10239:
thepurpleblob [Thu, 26 Jul 2007 15:08:16 +0000 (15:08 +0000)]
MDL-10239:
Improper check for correct answer in true/false questions

14 years agoThis new moodle_url thing (which is really confusing by the way)
thepurpleblob [Thu, 26 Jul 2007 13:50:59 +0000 (13:50 +0000)]
This new moodle_url thing (which is really confusing by the way)
had broken the page. The selected category was being ignored.
Fixed, but possibly not in the most elegant way!!

14 years agoThis new moodle_url thing (which is really confusing by the way)
thepurpleblob [Thu, 26 Jul 2007 13:43:25 +0000 (13:43 +0000)]
This new moodle_url thing (which is really confusing by the way)
had broken the page. The selected category was being ignored.
Fixed, but possibly not in the most elegant way!!

14 years agoPossible error passing course id from page to page resolved
thepurpleblob [Thu, 26 Jul 2007 12:38:28 +0000 (12:38 +0000)]
Possible error passing course id from page to page resolved

14 years agoMinor tidyup.
tjhunt [Thu, 26 Jul 2007 12:04:34 +0000 (12:04 +0000)]
Minor tidyup.

14 years agoMDL-10619 - Quiz password form does not work.
tjhunt [Thu, 26 Jul 2007 11:39:04 +0000 (11:39 +0000)]
MDL-10619 - Quiz password form does not work.

14 years agoWhoops - parameters need to match category check and display of course.
thepurpleblob [Thu, 26 Jul 2007 11:04:28 +0000 (11:04 +0000)]
Whoops - parameters need to match category check and display of course.

14 years agoMDL-9123:
thepurpleblob [Thu, 26 Jul 2007 10:56:13 +0000 (10:56 +0000)]
MDL-9123:
Check that the selected category is allowed.

Merged from STABLE_18

14 years agoMDL-10550 Fixed small bugs
nicolasconnault [Thu, 26 Jul 2007 08:49:53 +0000 (08:49 +0000)]
MDL-10550 Fixed small bugs

14 years agoMDL-10210 Removed the loading of the $CFG versions of the preferences when the user...
nicolasconnault [Thu, 26 Jul 2007 07:58:00 +0000 (07:58 +0000)]
MDL-10210 Removed the loading of the $CFG versions of the preferences when the user versions are set to default. This means that a value set to default always stays at default unless it is changed manually.

14 years agoAutomatic installer.php lang files by installer_builder (20070726)
moodler [Thu, 26 Jul 2007 05:08:10 +0000 (05:08 +0000)]
installer.php lang files by installer_builder (20070726)

14 years agoadding some strings
toyomoyo [Thu, 26 Jul 2007 03:09:13 +0000 (03:09 +0000)]
adding some strings

14 years agomerged fix for MDL-10564, wrong userid used in get_my_courses() for blogs
toyomoyo [Thu, 26 Jul 2007 02:47:44 +0000 (02:47 +0000)]
merged fix for MDL-10564, wrong userid used in get_my_courses() for blogs

14 years agomerged fix for MDL_9804, course shortname limited to 15 chars on forms
toyomoyo [Thu, 26 Jul 2007 02:30:18 +0000 (02:30 +0000)]
merged fix for MDL_9804, course shortname limited to 15 chars on forms

14 years agoMDL-10544 basic UI for outcome item adding/editing implemented - todo: calculation...
skodak [Wed, 25 Jul 2007 22:12:17 +0000 (22:12 +0000)]
MDL-10544 basic UI for outcome item adding/editing implemented - todo: calculation support, lang strings, bugfixing...
whitespace cleanup

14 years agoMDL-10478 reworked collapse/expand for grade categories
skodak [Wed, 25 Jul 2007 19:57:47 +0000 (19:57 +0000)]
MDL-10478 reworked collapse/expand for grade categories

14 years agoOU Bug 2867 - Overview report keeps forgetting the 'Display options' settings. Merged...
tjhunt [Wed, 25 Jul 2007 17:08:41 +0000 (17:08 +0000)]
OU Bug 2867 - Overview report keeps forgetting the 'Display options' settings. Merged MOODLE_18_STABLE.

14 years agoMDL-9628 Moving Basic support for compact view from report class to grade_category...
nicolasconnault [Wed, 25 Jul 2007 15:04:31 +0000 (15:04 +0000)]
MDL-9628 Moving Basic support for compact view from report class to grade_category class, internal to the grade_tree recursive construction

14 years agoadded paddign-top:1em for removed <br /> in sitelink
urs_hunkler [Wed, 25 Jul 2007 14:58:40 +0000 (14:58 +0000)]
added paddign-top:1em for removed <br /> in sitelink

14 years agoremoved <br /> in sitelink
urs_hunkler [Wed, 25 Jul 2007 14:50:37 +0000 (14:50 +0000)]
removed <br /> in sitelink

14 years agoMDL-10604:
thepurpleblob [Wed, 25 Jul 2007 14:02:27 +0000 (14:02 +0000)]
MDL-10604:
Add ability to add sub categories directly from category screens.

Merged from STABLE_18

14 years agoMDL-10604:
thepurpleblob [Wed, 25 Jul 2007 13:57:26 +0000 (13:57 +0000)]
MDL-10604:
Add ability to add sub categories directly from category screens.

Merged from STABLE_18

14 years agoMDL-10604:
thepurpleblob [Wed, 25 Jul 2007 13:54:25 +0000 (13:54 +0000)]
MDL-10604:
Add ability to add sub categories directly from category screens.

14 years agoFix whitespace.
tjhunt [Wed, 25 Jul 2007 12:34:21 +0000 (12:34 +0000)]
Fix whitespace.

14 years agoTabs to spaces.
tjhunt [Wed, 25 Jul 2007 12:01:57 +0000 (12:01 +0000)]
Tabs to spaces.

14 years agochanged old getElementById(id).submit() to the new submitFormById(id) call.
urs_hunkler [Wed, 25 Jul 2007 11:19:42 +0000 (11:19 +0000)]
changed old getElementById(id).submit() to the new submitFormById(id) call.

14 years agoMDL-9628 Basic support for compact view
nicolasconnault [Wed, 25 Jul 2007 09:33:08 +0000 (09:33 +0000)]
MDL-9628 Basic support for compact view

14 years agochanging to more cross-db compatible is null
toyomoyo [Wed, 25 Jul 2007 09:12:31 +0000 (09:12 +0000)]
changing to more cross-db compatible is null

14 years agosome fixes for grade outcomes
toyomoyo [Wed, 25 Jul 2007 08:57:59 +0000 (08:57 +0000)]
some fixes for grade outcomes

14 years agoNew capability gradereport/outcomes:manage and implementation in tabs
moodler [Wed, 25 Jul 2007 07:53:09 +0000 (07:53 +0000)]
New capability gradereport/outcomes:manage and implementation in tabs

14 years agoadding some capabilities to outcomes
toyomoyo [Wed, 25 Jul 2007 07:51:01 +0000 (07:51 +0000)]
adding some capabilities to outcomes

14 years agoFix selected tabs
moodler [Wed, 25 Jul 2007 07:34:00 +0000 (07:34 +0000)]
Fix selected tabs

14 years agoIMproved tabs
moodler [Wed, 25 Jul 2007 07:25:46 +0000 (07:25 +0000)]
IMproved tabs