]> git.mjollnir.org Git - moodle.git/log
moodle.git
17 years agoIntroducing two new functions lang_standard_locations() and lang_extra_locations...
mudrd8mz [Mon, 23 Jul 2007 22:48:06 +0000 (22:48 +0000)]
Introducing two new functions lang_standard_locations() and lang_extra_locations() as a part of solving MDL-9361.

TODO rewrite the code to work with array returned by these functions.

17 years ago* MAJOR CHANGE: lang.php now uses two new core capabilities. With them, site admin...
mudrd8mz [Mon, 23 Jul 2007 22:31:19 +0000 (22:31 +0000)]
* MAJOR CHANGE: lang.php now uses two new core capabilities. With them, site admin may control who is able to edit master language packages (nobody by default) and who is able to customize local translation (legacy:admin by default). See MDL-10576 for details.
* More GUI improvements and code cleaning

17 years agoMDL-10579 Implement capability checks in grade import/export/report/edit pages -...
skodak [Mon, 23 Jul 2007 22:20:07 +0000 (22:20 +0000)]
MDL-10579 Implement capability checks in grade import/export/report/edit pages - work in progress
refactoring - reports now use real index.php

17 years agoRe-applying one fix that was fixed some time ago (rev 1.52) and
stronk7 [Mon, 23 Jul 2007 19:58:06 +0000 (19:58 +0000)]
Re-applying one fix that was fixed some time ago (rev 1.52) and
lost 2 revisions later (rev 1.54). It's only HEAD and not critical.
Now there aren't TEXT columns with DEFAULT clauses at all in xml files!

17 years agoMDL-10576 two new lang pack editing capabilities
skodak [Mon, 23 Jul 2007 19:50:20 +0000 (19:50 +0000)]
MDL-10576 two new lang pack editing capabilities

17 years agoMDL-9511 adding/renaming grading capabilities
skodak [Mon, 23 Jul 2007 19:22:48 +0000 (19:22 +0000)]
MDL-9511 adding/renaming grading capabilities

17 years agoImprove javadocs.
tjhunt [Mon, 23 Jul 2007 16:54:16 +0000 (16:54 +0000)]
Improve javadocs.

17 years agoLet's use the default (cached) list of fields here. MDL-10571
stronk7 [Mon, 23 Jul 2007 16:34:41 +0000 (16:34 +0000)]
Let's use the default (cached) list of fields here. MDL-10571

Merged from MOODLE_18_STABLE

17 years agoStarting work on MDL-10533 - Eliminate one totally evil abuse of $SESSION. Also,...
tjhunt [Mon, 23 Jul 2007 16:00:36 +0000 (16:00 +0000)]
Starting work on MDL-10533 - Eliminate one totally evil abuse of $SESSION. Also, document forum_print_post.

17 years agoNow the my page retrieves all the fields (modinfo included) from the course,
stronk7 [Mon, 23 Jul 2007 15:52:19 +0000 (15:52 +0000)]
Now the my page retrieves all the fields (modinfo included) from the course,
so print_overview() calls are working again.  MDL-10232

Merged from MOODLE_18_STABLE

17 years agoMDL-9742 - converting tabs to spaces
poltawski [Mon, 23 Jul 2007 15:38:31 +0000 (15:38 +0000)]
MDL-9742 - converting tabs to spaces

17 years agoFix whitespace, and round times to the previous multiple of the 'step' option, if...
tjhunt [Mon, 23 Jul 2007 14:55:35 +0000 (14:55 +0000)]
Fix whitespace, and round times to the previous multiple of the 'step' option, if necessary.

17 years agoMDL-10550
nicolasconnault [Mon, 23 Jul 2007 14:33:02 +0000 (14:33 +0000)]
MDL-10550

17 years agoMDL-10556 :: absolute positioning removed - I am powerless against Microsofts ignorance
urs_hunkler [Mon, 23 Jul 2007 11:40:39 +0000 (11:40 +0000)]
MDL-10556 :: absolute positioning removed - I am powerless against Microsofts ignorance

17 years ago*** empty log message ***
jgutierr25 [Mon, 23 Jul 2007 11:37:21 +0000 (11:37 +0000)]
*** empty log message ***

17 years agoMDL-10574 Backup and restore event table modulename column
dwoolhead [Mon, 23 Jul 2007 10:20:15 +0000 (10:20 +0000)]
MDL-10574 Backup and restore event table modulename column

17 years agoMerged fix for full link to post in search results , from stable
moodler [Mon, 23 Jul 2007 09:11:57 +0000 (09:11 +0000)]
Merged fix for full link to post in search results , from stable

17 years agoif limit is specified on first call, ignore it, retrieve all, so that we can cache...
toyomoyo [Mon, 23 Jul 2007 08:56:26 +0000 (08:56 +0000)]
if limit is specified on first call, ignore it, retrieve all, so that we can cache all entries, but only return the required number of entries at the end

17 years agomaking get_my_courses() respect $limit
toyomoyo [Mon, 23 Jul 2007 08:38:07 +0000 (08:38 +0000)]
making get_my_courses() respect $limit

17 years agolink to outcome editting interface
toyomoyo [Mon, 23 Jul 2007 08:23:25 +0000 (08:23 +0000)]
link to outcome editting interface

17 years agoVarious language string fixes for grade reports
moodler [Mon, 23 Jul 2007 08:13:59 +0000 (08:13 +0000)]
Various language string fixes for grade reports

17 years agoLanguage files for default grade plugins
moodler [Mon, 23 Jul 2007 07:54:29 +0000 (07:54 +0000)]
Language files for default grade plugins

17 years agoadding some outcome files
toyomoyo [Mon, 23 Jul 2007 07:49:52 +0000 (07:49 +0000)]
adding some outcome files

17 years agoMDL-10565, removing wrongly placed duplicate language file
toyomoyo [Mon, 23 Jul 2007 06:29:04 +0000 (06:29 +0000)]
MDL-10565, removing wrongly placed duplicate language file

17 years agoSmall improvement. Reducing the list of fields returned
stronk7 [Sun, 22 Jul 2007 23:02:04 +0000 (23:02 +0000)]
Small improvement. Reducing the list of fields returned
by get_my_courses().

Merged from MOODLE_18_STABLE

17 years agosome minor changes for better IE experience
stronk7 [Sun, 22 Jul 2007 22:45:13 +0000 (22:45 +0000)]
some minor changes for better IE experience

17 years agoMDL-7835 - add emailstop to user upload
poltawski [Sun, 22 Jul 2007 21:56:04 +0000 (21:56 +0000)]
MDL-7835 -  add emailstop to user upload

17 years agoMDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file...
skodak [Sun, 22 Jul 2007 21:43:47 +0000 (21:43 +0000)]
MDL-10111 migration of data into new gradebook; added new lib/db/upgradelib.php file (should be used by new groups upgrade code too)

17 years agoMDL-10343 - abort early when can't create temporary tables when syning users
poltawski [Sun, 22 Jul 2007 21:33:31 +0000 (21:33 +0000)]
MDL-10343 - abort early when can't create temporary tables when syning users
from LDAP

17 years agoMDL-10556 IE7 has CSS position absolute problems. Solved with IE inline JS expression.
urs_hunkler [Sun, 22 Jul 2007 19:20:23 +0000 (19:20 +0000)]
MDL-10556 IE7 has CSS position absolute problems. Solved with IE inline JS expression.

17 years agoMDL-10556 IE has position absolute problems. set to relative
urs_hunkler [Sun, 22 Jul 2007 19:18:56 +0000 (19:18 +0000)]
MDL-10556 IE has position absolute problems. set to relative

17 years agoMDL-10566 do not redirect when dubug message printed; do not redirect also in DEBUG_A...
skodak [Sun, 22 Jul 2007 17:34:41 +0000 (17:34 +0000)]
MDL-10566 do not redirect when dubug message printed; do not redirect also in DEBUG_ALL mode when error found - the DEBUG_DEVELOPER is not used by all developers all the time ;-)

17 years agoadded proper rs_close($rs)
skodak [Sun, 22 Jul 2007 16:02:57 +0000 (16:02 +0000)]
added proper rs_close($rs)

17 years agoSmall improvement. Reducing the list of fields returned
stronk7 [Sun, 22 Jul 2007 10:30:28 +0000 (10:30 +0000)]
Small improvement. Reducing the list of fields returned
by get_my_courses() in this block.

Merged from MOODLE_18_STABLE

17 years agoNew cross-db version of the big union query used by get_my_courses() function.
stronk7 [Sun, 22 Jul 2007 00:56:42 +0000 (00:56 +0000)]
New cross-db version of the big union query used by get_my_courses() function.
I've tested both the "IN" subquery and the "FROM" subquery and, under sites
with more courses, the "FROM" one seems to perform slightly better. MDL-9381

Merged from MOODLE_18_STABLE

17 years agoMDL-10563 item excluding implemented;
skodak [Sat, 21 Jul 2007 14:24:39 +0000 (14:24 +0000)]
MDL-10563 item excluding implemented;
improved/fixed grade edit page;
some other improvements and cleanup

17 years agoaggregation improvements; fixed aggregation of course category when changing type...
skodak [Sat, 21 Jul 2007 10:09:57 +0000 (10:09 +0000)]
aggregation improvements; fixed aggregation of course category when changing type; old gradebook upgrade wip (untested)

17 years agoMDL-10364 improved internal formula format
skodak [Sat, 21 Jul 2007 08:43:51 +0000 (08:43 +0000)]
MDL-10364 improved internal formula format

17 years agoMDL-10531:
thepurpleblob [Sat, 21 Jul 2007 07:48:56 +0000 (07:48 +0000)]
MDL-10531:
GIFT now handles Essay and Description type questions. See help/docs.

Merged from STABLE_18

17 years agoMDL-10531:
thepurpleblob [Sat, 21 Jul 2007 07:40:59 +0000 (07:40 +0000)]
MDL-10531:
GIFT now handles Essay and Description type questions. See help/docs.

17 years agoMDL-10531:
thepurpleblob [Sat, 21 Jul 2007 07:39:22 +0000 (07:39 +0000)]
MDL-10531:
GIFT now handles Essay and Description type questions. See help/docs.

Merged from STABLE_18

17 years agoAlign properly buttons and drop-down in navigation menu.
stronk7 [Fri, 20 Jul 2007 23:44:59 +0000 (23:44 +0000)]
Align properly buttons and drop-down in navigation menu.

17 years agoFinal improvements for glossary. Seems ready for 1.9dev.
stronk7 [Fri, 20 Jul 2007 23:38:24 +0000 (23:38 +0000)]
Final improvements for glossary. Seems ready for 1.9dev.

17 years agoFix whitespace.
tjhunt [Fri, 20 Jul 2007 17:40:09 +0000 (17:40 +0000)]
Fix whitespace.

17 years agoMDL-7925 - it happened again. Stupid bloodly forms lib. I have no idea what it was...
tjhunt [Fri, 20 Jul 2007 17:10:35 +0000 (17:10 +0000)]
MDL-7925 - it happened again. Stupid bloodly forms lib. I have no idea what it was playing at. Merged from MOODLE_18_STABLE.

17 years agoMDL-10524 minor simplification of median aggregation + fixed aggregation names in...
skodak [Fri, 20 Jul 2007 13:54:58 +0000 (13:54 +0000)]
MDL-10524 minor simplification of median aggregation + fixed aggregation names in lang

17 years agoMDL-10396:
thepurpleblob [Fri, 20 Jul 2007 13:03:19 +0000 (13:03 +0000)]
MDL-10396:
Add an option and a check to (optionally) prevent users being enrolled
in hidden courses.

Merged from STABLE_18

17 years agoMDL-9633 Fixed ranking in user report. Also enabled group mode on/off to alter total...
nicolasconnault [Fri, 20 Jul 2007 09:34:35 +0000 (09:34 +0000)]
MDL-9633 Fixed ranking in user report. Also enabled group mode on/off to alter total users. This required a refactoring of the grouping code into grade_report abstract class.

17 years agoMDL-10157:
thepurpleblob [Fri, 20 Jul 2007 08:57:05 +0000 (08:57 +0000)]
MDL-10157:
Turn the diagnostic prints into error_logs. The more normal "course skipped"
message now requires DEBUG_ALL or greater before it is generated at all.

Merged from STABLE_18

17 years agoMDL-9628 Fixed typos and added language strings. Corrected a bug that prevented a...
nicolasconnault [Fri, 20 Jul 2007 07:31:13 +0000 (07:31 +0000)]
MDL-9628 Fixed typos and added language strings. Corrected a bug that prevented a decimalpoints of 0 from being used (empty($decimalpoints)) -> is_null

17 years agoMDL-10345 Refactored grade_report_grader::get_groupavghtml() and grade_report_grader...
nicolasconnault [Fri, 20 Jul 2007 05:53:55 +0000 (05:53 +0000)]
MDL-10345 Refactored grade_report_grader::get_groupavghtml() and grade_report_grader::get_gradeavghtml() into one method: grade_report_grader::get_avghtml($grouponly=false)

17 years agoAutomatic installer.php lang files by installer_builder (20070720)
moodler [Fri, 20 Jul 2007 05:39:50 +0000 (05:39 +0000)]
Automatic installer.php lang files by installer_builder (20070720)

17 years agoMDL-10414 Corrected tabindex order
nicolasconnault [Fri, 20 Jul 2007 05:00:07 +0000 (05:00 +0000)]
MDL-10414 Corrected tabindex order

17 years agolib/accesslib: Performance optimisation
mattc-catalyst [Fri, 20 Jul 2007 04:05:34 +0000 (04:05 +0000)]
lib/accesslib: Performance optimisation

- On postgres query time drops from ~600ms to ~35ms in some
  instances, in other instances performance is around the same
  as old the implementation.

Author: Matt Clarkson <mattc@catalyst.net.nz>

17 years agoJust fixing one comment
stronk7 [Thu, 19 Jul 2007 21:33:21 +0000 (21:33 +0000)]
Just fixing one comment

17 years agoMDL-10524 fixed aggregation for course item + other minor improvements
skodak [Thu, 19 Jul 2007 17:36:36 +0000 (17:36 +0000)]
MDL-10524 fixed aggregation for course item + other minor improvements

17 years agoSplitting white-wood backgroud into two different backgrounds,
stronk7 [Thu, 19 Jul 2007 17:20:38 +0000 (17:20 +0000)]
Splitting white-wood backgroud into two different backgrounds,
one to be used with blocks (darker) and the other for
contents (brighter). Suggestion from Urs!

17 years agoAdding 'get_coursemodule_info' to the standard available functions for assignment...
mchurch [Thu, 19 Jul 2007 16:59:51 +0000 (16:59 +0000)]
Adding 'get_coursemodule_info' to the standard available functions for assignment types. As a minimum, this allows assignment types to add their own icon (like resource does).

17 years agoMDL-8056 - one if statement was missed during Matt Clarkson's/Eloy's commit on 15th...
tjhunt [Thu, 19 Jul 2007 16:51:17 +0000 (16:51 +0000)]
MDL-8056 - one if statement was missed during Matt Clarkson's/Eloy's commit on 15th July 2007. Merged from MOODLE_18_STABLE

17 years agocorrected display of blocks without title
urs_hunkler [Thu, 19 Jul 2007 11:06:19 +0000 (11:06 +0000)]
corrected display of blocks without title

17 years agoImprove display of preview attemtp summary on quiz view page.
tjhunt [Thu, 19 Jul 2007 10:27:54 +0000 (10:27 +0000)]
Improve display of preview attemtp summary on quiz view page.

17 years agoMDL-10527 changed overridden UI logic
skodak [Thu, 19 Jul 2007 10:04:08 +0000 (10:04 +0000)]
MDL-10527 changed overridden UI logic

17 years agoadding enableoutcomes flag
toyomoyo [Thu, 19 Jul 2007 09:02:50 +0000 (09:02 +0000)]
adding enableoutcomes flag

17 years agoMDL-10525 renaming class grade_grades and grade_grades_text - singulars for all grade...
skodak [Thu, 19 Jul 2007 08:15:19 +0000 (08:15 +0000)]
MDL-10525 renaming class grade_grades and grade_grades_text - singulars for all grade class names

17 years agoadding the grade_outcomes_courses table
toyomoyo [Thu, 19 Jul 2007 07:35:21 +0000 (07:35 +0000)]
adding the grade_outcomes_courses table

17 years agomerged fix for MDL-10445, adding of blocks on user blog page not possible
toyomoyo [Thu, 19 Jul 2007 06:06:28 +0000 (06:06 +0000)]
merged fix for MDL-10445, adding of blocks on user blog page not possible

17 years agoAdded support for flv files in resources MDL-9739
moodler [Thu, 19 Jul 2007 05:51:33 +0000 (05:51 +0000)]
Added support for flv files in  resources   MDL-9739

17 years agoAutomatic installer.php lang files by installer_builder (20070719)
moodler [Thu, 19 Jul 2007 05:45:29 +0000 (05:45 +0000)]
Automatic installer.php lang files by installer_builder (20070719)

17 years agoAdded support for flv
moodler [Thu, 19 Jul 2007 05:43:33 +0000 (05:43 +0000)]
Added support for flv

17 years agoFIixes to show MP3 player properly MDL-9739
moodler [Thu, 19 Jul 2007 05:19:24 +0000 (05:19 +0000)]
FIixes to show MP3 player properly  MDL-9739

17 years agomerged fix for MDL-10149, preventing the deletion of the last admin role
toyomoyo [Thu, 19 Jul 2007 05:19:05 +0000 (05:19 +0000)]
merged fix for MDL-10149, preventing the deletion of the last admin role

17 years agoFixed navigation on embedded media
moodler [Thu, 19 Jul 2007 03:45:30 +0000 (03:45 +0000)]
Fixed navigation on embedded media

17 years agomerged fix for MDL-10461, timemodied in role assignments not preserved
toyomoyo [Thu, 19 Jul 2007 03:37:53 +0000 (03:37 +0000)]
merged fix for MDL-10461, timemodied in role assignments not preserved

17 years agoAdding style to one more header.
stronk7 [Thu, 19 Jul 2007 00:02:13 +0000 (00:02 +0000)]
Adding style to one more header.

17 years agoMDL-10520 reverting previous commit - the db setup+upgrade code must be fixed first
skodak [Wed, 18 Jul 2007 21:37:30 +0000 (21:37 +0000)]
MDL-10520 reverting previous commit - the db setup+upgrade code must be fixed first

17 years agoAutomatic grading Google Summer of Code project (Epaile assignment module) by Arkaitz...
nicolasconnault [Wed, 18 Jul 2007 21:13:53 +0000 (21:13 +0000)]
Automatic grading Google Summer of Code project (Epaile assignment module) by Arkaitz Garo, First commit.

17 years agoadded returns to make debugging easier
urs_hunkler [Wed, 18 Jul 2007 21:08:21 +0000 (21:08 +0000)]
added returns to make debugging easier

17 years agocorrected an error in the sideblock structure for custom corners
urs_hunkler [Wed, 18 Jul 2007 21:06:40 +0000 (21:06 +0000)]
corrected an error in the sideblock structure for custom corners

17 years agoregular whitespace cleanup in grade code
skodak [Wed, 18 Jul 2007 19:56:07 +0000 (19:56 +0000)]
regular whitespace cleanup in grade code

17 years agofixed problem with quickgrading overriding nonexistent grades with no grade
skodak [Wed, 18 Jul 2007 19:53:24 +0000 (19:53 +0000)]
fixed problem with quickgrading overriding nonexistent grades with no grade

17 years agocorrected a wrong closing div
urs_hunkler [Wed, 18 Jul 2007 19:51:11 +0000 (19:51 +0000)]
corrected a wrong closing div

17 years agoMDL-9137 added new aggregation needed for upgrade - weighted + extra credit
skodak [Wed, 18 Jul 2007 19:29:32 +0000 (19:29 +0000)]
MDL-9137 added new aggregation needed for upgrade - weighted + extra credit
minor item edit form cleanup
fixed minor bug in grader/lib.php

17 years agoMDL-10517 Use of addslashes in assignment/lib.php
skodak [Wed, 18 Jul 2007 18:42:45 +0000 (18:42 +0000)]
MDL-10517 Use of addslashes in assignment/lib.php

17 years agoAvoid some nested boxes in calendar block
stronk7 [Wed, 18 Jul 2007 18:38:28 +0000 (18:38 +0000)]
Avoid some nested boxes in calendar block

17 years agoadded clearfix to class settingsform to correct collapsing
urs_hunkler [Wed, 18 Jul 2007 15:53:07 +0000 (15:53 +0000)]
added clearfix to class settingsform to correct collapsing

17 years agoadded a wrapper div to be able to handle content shorter than the side columns
urs_hunkler [Wed, 18 Jul 2007 15:41:26 +0000 (15:41 +0000)]
added a wrapper div to be able to handle content shorter than the side columns

17 years agoMDL-10478 Added category preference aggregationview. This one is linked with the...
nicolasconnault [Wed, 18 Jul 2007 14:54:35 +0000 (14:54 +0000)]
MDL-10478 Added category preference aggregationview. This one is linked with the more global preferences and $CFG. However, a category-specific preference needs implementing: grade_report_categorystate{$catid}, which equals GRADE_CATEGORY_EXPANDED or GRADE_CATEGORY_CONTRACTED. I've written a stub in grade/report/grader/lib.php around line 492 for pruning out the grade_tree according to these prefs.

We'll also need to implement the actions for the -/+ icons.

17 years agoMDL-10515 - Change HTML to make it easier to style multiple choice questions. Merged...
tjhunt [Wed, 18 Jul 2007 13:57:24 +0000 (13:57 +0000)]
MDL-10515 - Change HTML to make it easier to style multiple choice questions. Merged from MOODLE_18_STABLE

17 years agoMDL-10490 Letter type implemented
nicolasconnault [Wed, 18 Jul 2007 11:34:55 +0000 (11:34 +0000)]
MDL-10490 Letter type implemented

17 years agoMDL-10496:
thepurpleblob [Wed, 18 Jul 2007 09:14:28 +0000 (09:14 +0000)]
MDL-10496:
Correct role capability requirements had not been included, so menu
was not displayed for roles with only category update and/or bacup
selected (assigned at site level)

Merged from STABLE_18

17 years agoFixed up help button texts MDL-9628
moodler [Wed, 18 Jul 2007 09:07:50 +0000 (09:07 +0000)]
Fixed up help button texts   MDL-9628

17 years agoMove the "default role" into enrolments section MDL-10511
moodler [Wed, 18 Jul 2007 08:57:28 +0000 (08:57 +0000)]
Move the "default role" into enrolments section  MDL-10511

17 years agoMDL-10439 yet another attempt to fix definition_after_data() - see the bug report...
skodak [Wed, 18 Jul 2007 08:48:28 +0000 (08:48 +0000)]
MDL-10439 yet another attempt to fix definition_after_data() - see the bug report for sample usage

17 years agofixing 2 typos
toyomoyo [Wed, 18 Jul 2007 08:39:50 +0000 (08:39 +0000)]
fixing 2 typos

17 years agoadding capabilities check
toyomoyo [Wed, 18 Jul 2007 08:13:09 +0000 (08:13 +0000)]
adding capabilities check

17 years agoMDL-10480, implement average grade selection
toyomoyo [Wed, 18 Jul 2007 08:03:38 +0000 (08:03 +0000)]
MDL-10480, implement average grade selection

17 years agomerged fix for MDL-10469, users with doanything has no courses showing
toyomoyo [Wed, 18 Jul 2007 07:02:54 +0000 (07:02 +0000)]
merged fix for MDL-10469, users with doanything has no courses showing

17 years agonegative grades might be used so use null check instead. might break other db so...
toyomoyo [Wed, 18 Jul 2007 06:21:55 +0000 (06:21 +0000)]
negative grades might be used so use null check instead. might break other db so might need a sql_null() function or something similar

17 years agoAutomatic installer.php lang files by installer_builder (20070718)
moodler [Wed, 18 Jul 2007 06:17:19 +0000 (06:17 +0000)]
Automatic installer.php lang files by installer_builder (20070718)

17 years agoMDL-10345 Fixed bug that changed a null scale finalgrade to 1 due to passing through...
nicolasconnault [Wed, 18 Jul 2007 05:17:45 +0000 (05:17 +0000)]
MDL-10345 Fixed bug that changed a null scale finalgrade to 1 due to passing through bounded_number(1, null, 3)