moodle.git
12 years agoAdding SimplePie feed parsing library MDL-7946, MDL-13932
poltawski [Mon, 13 Apr 2009 15:29:08 +0000 (15:29 +0000)]
Adding SimplePie feed parsing library MDL-7946, MDL-13932

To replace unmaintained magipie. Simplepie is actively maintained has some
nice features such as feed autodisovery. Implemented a simple extended class
which uses the Moodle core curl class from filelib.

Added unit test using the moodle.org sample files. Please note these tests will
fail if moodle can't make http connections out, so ensure proxy settings
etc are correct.

12 years agofilters: MDL-7336 settings page for setting the local enabled/disabled state
tjhunt [Mon, 13 Apr 2009 08:24:20 +0000 (08:24 +0000)]
filters: MDL-7336 settings page for setting the local enabled/disabled state

 - managed to missed this bit when transferring my changes from git.

12 years agofilters: MDL-7336 separate out manage filters and common filter settings
tjhunt [Mon, 13 Apr 2009 07:15:50 +0000 (07:15 +0000)]
filters: MDL-7336 separate out manage filters and common filter settings

12 years agofilters: MDL-7336 finish implementing delete on the admin page
tjhunt [Mon, 13 Apr 2009 07:15:19 +0000 (07:15 +0000)]
filters: MDL-7336 finish implementing delete on the admin page

12 years agofilters: MDL-7336 fix MySQL issues
tjhunt [Mon, 13 Apr 2009 07:14:54 +0000 (07:14 +0000)]
filters: MDL-7336 fix MySQL issues

12 years agofilters: MDL-7336 code to let people edit local filter config
tjhunt [Mon, 13 Apr 2009 07:14:27 +0000 (07:14 +0000)]
filters: MDL-7336 code to let people edit local filter config

12 years agofilters: MDL-7336 settings page for setting the local enabled/disabled state
tjhunt [Mon, 13 Apr 2009 07:12:41 +0000 (07:12 +0000)]
filters: MDL-7336 settings page for setting the local enabled/disabled state

12 years agofilters: MDL-7336 function to get the information the local settings page will need.
tjhunt [Mon, 13 Apr 2009 07:07:03 +0000 (07:07 +0000)]
filters: MDL-7336 function to get the information the local settings page will need.

12 years agofilters: MDL-7336 performance testing script
tjhunt [Mon, 13 Apr 2009 07:06:44 +0000 (07:06 +0000)]
filters: MDL-7336 performance testing script

12 years agofilters: MDL-7336 tweak to improve SQL performance
tjhunt [Mon, 13 Apr 2009 07:06:22 +0000 (07:06 +0000)]
filters: MDL-7336 tweak to improve SQL performance

12 years agofilters: MDL-7336 backup and restore of local filter settings.
tjhunt [Mon, 13 Apr 2009 07:06:02 +0000 (07:06 +0000)]
filters: MDL-7336 backup and restore of local filter settings.

12 years agofilters: MDL-7336 more preliminary refactoring of duplicated code in restore
tjhunt [Mon, 13 Apr 2009 07:05:33 +0000 (07:05 +0000)]
filters: MDL-7336 more preliminary refactoring of duplicated code in restore

12 years agofilters: MDL-7336 refactor in backup/restore ready for local filter settings.
tjhunt [Mon, 13 Apr 2009 07:05:02 +0000 (07:05 +0000)]
filters: MDL-7336 refactor in backup/restore ready for local filter settings.

12 years agofilters: MDL 7336 Remove remaining references to ->filters
tjhunt [Mon, 13 Apr 2009 07:04:32 +0000 (07:04 +0000)]
filters: MDL 7336 Remove remaining references to ->filters

12 years agofilters: MDL-7336 Finish admin settings page.
tjhunt [Mon, 13 Apr 2009 07:04:07 +0000 (07:04 +0000)]
filters: MDL-7336 Finish admin settings page.

12 years agofilters: MDL-7336 redo global settings page to use the new libs
tjhunt [Mon, 13 Apr 2009 07:03:32 +0000 (07:03 +0000)]
filters: MDL-7336 redo global settings page to use the new libs

Note: ->stringfilters update not done yet.

12 years agofilters: MDL-7336 change weblib to use the new code
tjhunt [Mon, 13 Apr 2009 06:56:32 +0000 (06:56 +0000)]
filters: MDL-7336 change weblib to use the new code

* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib

12 years agofilters: MDL-7336 Set ->stringfilters on upgrade
tjhunt [Mon, 13 Apr 2009 06:55:21 +0000 (06:55 +0000)]
filters: MDL-7336 Set ->stringfilters on upgrade

12 years agofilters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove.
tjhunt [Mon, 13 Apr 2009 06:54:57 +0000 (06:54 +0000)]
filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove.

12 years agofilters: MDL-7336 rename get_active_filters -> filter_get_active_in_context and impro...
tjhunt [Mon, 13 Apr 2009 06:54:34 +0000 (06:54 +0000)]
filters: MDL-7336 rename get_active_filters -> filter_get_active_in_context and improve auto-sorting.

12 years agofilters: MDL-7336 create new moodle/filter:manage capability
tjhunt [Mon, 13 Apr 2009 06:54:11 +0000 (06:54 +0000)]
filters: MDL-7336 create new moodle/filter:manage capability

12 years agofilters: MDL-7336 implement get_active_filters
tjhunt [Mon, 13 Apr 2009 06:53:53 +0000 (06:53 +0000)]
filters: MDL-7336 implement get_active_filters

12 years agofilters: MDL-7336 functions for g/setting local filter_active overrides
tjhunt [Mon, 13 Apr 2009 06:53:33 +0000 (06:53 +0000)]
filters: MDL-7336 functions for g/setting local filter_active overrides

12 years agofilters: MDL-7336 rework unit tests to use CheckSpecifiedFieldsExpectation.
tjhunt [Mon, 13 Apr 2009 06:53:14 +0000 (06:53 +0000)]
filters: MDL-7336 rework unit tests to use CheckSpecifiedFieldsExpectation.

12 years agofilters: MDL-7336 functions for getting and setting filter_config
tjhunt [Mon, 13 Apr 2009 06:52:56 +0000 (06:52 +0000)]
filters: MDL-7336 functions for getting and setting filter_config

12 years agofilters: MDL-7336 upgrade $CFG->textfilters into filter_active table.
tjhunt [Mon, 13 Apr 2009 06:51:45 +0000 (06:51 +0000)]
filters: MDL-7336 upgrade $CFG->textfilters into filter_active table.

12 years agofilters: MDL-7336 database tables for per-context filter settings.
tjhunt [Mon, 13 Apr 2009 06:42:02 +0000 (06:42 +0000)]
filters: MDL-7336 database tables for per-context filter settings.

12 years agoUpdated the HEAD build version to 20090413
moodlerobot [Mon, 13 Apr 2009 00:42:12 +0000 (00:42 +0000)]
Updated the HEAD build version to 20090413

12 years agoUpdated the HEAD build version to 20090412
moodlerobot [Sun, 12 Apr 2009 01:04:27 +0000 (01:04 +0000)]
Updated the HEAD build version to 20090412

12 years agoUpdated the HEAD build version to 20090411
moodlerobot [Sat, 11 Apr 2009 00:33:47 +0000 (00:33 +0000)]
Updated the HEAD build version to 20090411

12 years agoAutomatic installer.php lang files by installer_builder (20090411)
moodlerobot [Sat, 11 Apr 2009 00:23:48 +0000 (00:23 +0000)]
installer.php lang files by installer_builder (20090411)

12 years agolib/dml: new compatibility method sql_cast_2signed for when MySQL thinks that 1 ...
tjhunt [Fri, 10 Apr 2009 09:33:26 +0000 (09:33 +0000)]
lib/dml: new compatibility method sql_cast_2signed for when MySQL thinks that 1 * -1 = 18446744073709551615

12 years agosimpletestlib: improve failure message from CheckSpecifiedFieldsExpectation
tjhunt [Fri, 10 Apr 2009 09:32:53 +0000 (09:32 +0000)]
simpletestlib: improve failure message from CheckSpecifiedFieldsExpectation

12 years agoget_string unit tests: Switch to inline fixture setup
tjhunt [Fri, 10 Apr 2009 04:59:09 +0000 (04:59 +0000)]
get_string unit tests: Switch to inline fixture setup

12 years agoUpdated the HEAD build version to 20090410
moodlerobot [Fri, 10 Apr 2009 00:34:04 +0000 (00:34 +0000)]
Updated the HEAD build version to 20090410

12 years agoMDL-17273 Added a back button to the error message and fixed missing handling of...
nicolasconnault [Thu, 9 Apr 2009 12:29:54 +0000 (12:29 +0000)]
MDL-17273 Added a back button to the error message and fixed missing handling of "custom" scope. Merged from MOODLE_19_STABLE

12 years agoXHTML strict fix in the word censorship filter
tjhunt [Thu, 9 Apr 2009 12:01:42 +0000 (12:01 +0000)]
XHTML strict fix in the word censorship filter

12 years agoMDL-18338 option for hiding of groups in user profile
skodak [Thu, 9 Apr 2009 08:29:51 +0000 (08:29 +0000)]
MDL-18338 option for hiding of groups in user profile

12 years agoMDL-13843 user profile in separate group mode even if group mode not forced course...
skodak [Thu, 9 Apr 2009 08:23:56 +0000 (08:23 +0000)]
MDL-13843 user profile in separate group mode even if group mode not forced course-wide (improved consistency in groups at course level); merged from MOODLE_19_STABLE

12 years agoMDL-13843 treat default course grouping as current grouping at course level (groupmod...
skodak [Thu, 9 Apr 2009 08:17:12 +0000 (08:17 +0000)]
MDL-13843 treat default course grouping as current grouping at course level (groupmode is used the same way at course level)

12 years agoMDL-13843 user participation in separate group mode even if group mode not forced...
skodak [Thu, 9 Apr 2009 07:58:49 +0000 (07:58 +0000)]
MDL-13843 user participation in separate group mode even if group mode not forced course-wide (improved consistency in groups at course level)

12 years agoUpdated the HEAD build version to 20090409
moodlerobot [Thu, 9 Apr 2009 00:34:13 +0000 (00:34 +0000)]
Updated the HEAD build version to 20090409

12 years agoddllib.php: add required library
tjhunt [Wed, 8 Apr 2009 11:46:39 +0000 (11:46 +0000)]
ddllib.php: add required library

12 years agoweblib progress_bar: Add a comment and fix some coding style.
tjhunt [Wed, 8 Apr 2009 11:46:19 +0000 (11:46 +0000)]
weblib progress_bar: Add a comment and fix some coding style.

12 years agoget_string: MDL-18813 get_string was broken for strings that were ''
tjhunt [Wed, 8 Apr 2009 11:45:53 +0000 (11:45 +0000)]
get_string: MDL-18813 get_string was broken for strings that were ''

12 years agoUpdated the HEAD build version to 20090408
moodlerobot [Wed, 8 Apr 2009 00:34:10 +0000 (00:34 +0000)]
Updated the HEAD build version to 20090408

12 years agoAutomatic installer.php lang files by installer_builder (20090408)
moodlerobot [Wed, 8 Apr 2009 00:24:03 +0000 (00:24 +0000)]
installer.php lang files by installer_builder (20090408)

12 years agoMDL-13224 fixed coding style
skodak [Tue, 7 Apr 2009 07:45:03 +0000 (07:45 +0000)]
MDL-13224 fixed coding style

12 years agoweblib: fix bug with disabled pop_form()s
tjhunt [Tue, 7 Apr 2009 07:40:40 +0000 (07:40 +0000)]
weblib: fix bug with disabled pop_form()s

12 years agoImprovment in displaying tabs in Safari
rezaie9 [Tue, 7 Apr 2009 07:25:05 +0000 (07:25 +0000)]
Improvment in displaying tabs in Safari
Changes applyed by Shamim Rezaie (http://rezaie.info)

12 years agofix variable name typo
tjhunt [Tue, 7 Apr 2009 05:20:16 +0000 (05:20 +0000)]
fix variable name typo

12 years agoUnitTestCaseUsingDatabase: fix bug with install_one_table_from_xmldb_file
tjhunt [Tue, 7 Apr 2009 05:19:20 +0000 (05:19 +0000)]
UnitTestCaseUsingDatabase: fix bug with install_one_table_from_xmldb_file

The bug prevented you creating the first table from an install.xml file

12 years agoqtype admin: operator precedence bug when deleting qtypes
tjhunt [Tue, 7 Apr 2009 05:17:04 +0000 (05:17 +0000)]
qtype admin: operator precedence bug when deleting qtypes

12 years agoqtype admin: sort lang file properly
tjhunt [Tue, 7 Apr 2009 05:16:38 +0000 (05:16 +0000)]
qtype admin: sort lang file properly

12 years agoUpdated the HEAD build version to 20090407
moodlerobot [Tue, 7 Apr 2009 00:35:33 +0000 (00:35 +0000)]
Updated the HEAD build version to 20090407

12 years agoFixing:
rezaie9 [Mon, 6 Apr 2009 22:50:21 +0000 (22:50 +0000)]
Fixing:
- alignment of review options headers in quiz module
- inappropriate margin for navbar
- tabs problem (MDL-10719)
Changes applyed by Shamim Rezaie (http://rezaie.info)

12 years agoMDL-18797 string_manager::instance()->get_registered_plugin_types() does not return...
mudrd8mz [Mon, 6 Apr 2009 13:06:04 +0000 (13:06 +0000)]
MDL-18797 string_manager::instance()->get_registered_plugin_types() does not return "__exceptions" as places_to_search_for_lang_strings() used to do.

12 years agoMDL-18768: Limited size of context and modinfo caches to avoid memory problems with...
sam_marshall [Mon, 6 Apr 2009 09:48:39 +0000 (09:48 +0000)]
MDL-18768: Limited size of context and modinfo caches to avoid memory problems with code that loops through many courses, also changed forum role_assign to use recordset for all-courses loops

12 years agoMDL-18414 change sql query syntax
peterbulmer [Mon, 6 Apr 2009 06:15:58 +0000 (06:15 +0000)]
MDL-18414 change sql query syntax

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

12 years agoMDL-18413 limit coursedata strings before db
peterbulmer [Mon, 6 Apr 2009 06:15:00 +0000 (06:15 +0000)]
MDL-18413 limit coursedata strings before db

Conflicts:

enrol/mnet/enrol.php

Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>

12 years agotypo - reponse instead of response
arborrow [Mon, 6 Apr 2009 03:47:12 +0000 (03:47 +0000)]
typo - reponse instead of response

12 years agofomslib: MDL-18735 disabledif not working in IE if depended on element was a <select>.
tjhunt [Mon, 6 Apr 2009 02:56:37 +0000 (02:56 +0000)]
fomslib: MDL-18735 disabledif not working in IE if depended on element was a <select>.

This was a regression from MDL-18522. Sorry.

12 years agoshortanswer qtype: Add the problem case from http://moodle.org/mod/forum/discuss...
tjhunt [Mon, 6 Apr 2009 02:03:10 +0000 (02:03 +0000)]
shortanswer qtype: Add the problem case from moodle.org/mod/forum/discuss.php?d=120557 to the unit tests.

12 years agoUpdated the HEAD build version to 20090406
moodlerobot [Mon, 6 Apr 2009 00:35:04 +0000 (00:35 +0000)]
Updated the HEAD build version to 20090406

12 years agopassword policy: MDL-17602 disable consecutive identical characters check by default
fmarier [Sun, 5 Apr 2009 23:46:32 +0000 (23:46 +0000)]
password policy: MDL-17602 disable consecutive identical characters check by default

12 years agoMDL-17037 ran all GIF images through gifsicle and PNG through optipng
fmarier [Sun, 5 Apr 2009 23:33:00 +0000 (23:33 +0000)]
MDL-17037 ran all GIF images through gifsicle and PNG through optipng

12 years agoMDL-18772 fixed aut oupdating of grademax for SUM aggregation type
skodak [Sun, 5 Apr 2009 20:17:04 +0000 (20:17 +0000)]
MDL-18772 fixed aut oupdating of grademax for SUM aggregation type

12 years agoMDL-18778 more robust reset form defaults
skodak [Sun, 5 Apr 2009 19:32:33 +0000 (19:32 +0000)]
MDL-18778 more robust reset form defaults

12 years agotypo - missinf instead of missing
arborrow [Sun, 5 Apr 2009 05:12:12 +0000 (05:12 +0000)]
typo - missinf instead of missing

12 years agoUpdated the HEAD build version to 20090405
moodlerobot [Sun, 5 Apr 2009 00:34:06 +0000 (00:34 +0000)]
Updated the HEAD build version to 20090405

12 years agoUpdated the HEAD build version to 20090404
moodlerobot [Sat, 4 Apr 2009 00:31:34 +0000 (00:31 +0000)]
Updated the HEAD build version to 20090404

12 years agoMDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at...
sam_marshall [Fri, 3 Apr 2009 13:11:05 +0000 (13:11 +0000)]
MDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at module level

12 years agosimpletestlib: Fix typo in error message
tjhunt [Fri, 3 Apr 2009 08:38:30 +0000 (08:38 +0000)]
simpletestlib: Fix typo in error message

12 years agoMDL-17272 merged from MOODLE_19_STABLE
nicolasconnault [Fri, 3 Apr 2009 08:14:01 +0000 (08:14 +0000)]
MDL-17272 merged from MOODLE_19_STABLE

12 years agoget_string: MDL-18669 - fixing a screw-up spotted by Dongsheng. Thanks.
tjhunt [Fri, 3 Apr 2009 07:41:40 +0000 (07:41 +0000)]
get_string: MDL-18669 - fixing a screw-up spotted by Dongsheng. Thanks.

12 years ago"MDL-18520, fix warning in file system plugin"
dongsheng [Fri, 3 Apr 2009 07:32:51 +0000 (07:32 +0000)]
"MDL-18520, fix warning in file system plugin"

12 years ago"MDL-17475, fix bad sql when add repository instances"
dongsheng [Fri, 3 Apr 2009 07:31:43 +0000 (07:31 +0000)]
"MDL-17475, fix bad sql when add repository instances"

12 years agoFix XHTML strict problems in XMLDB.
tjhunt [Fri, 3 Apr 2009 05:47:59 +0000 (05:47 +0000)]
Fix XHTML strict problems in XMLDB.

12 years ago"MDL-17261, add language string, see details on tracker"
dongsheng [Fri, 3 Apr 2009 02:26:43 +0000 (02:26 +0000)]
"MDL-17261, add language string, see details on tracker"

12 years agoPassword policy: MDL-17602 new "max consecutive identical characters" setting
fmarier [Fri, 3 Apr 2009 02:22:52 +0000 (02:22 +0000)]
Password policy: MDL-17602 new "max consecutive identical characters" setting

12 years ago"MDL-17475, if webdav_server is empty, return null"
dongsheng [Fri, 3 Apr 2009 02:16:48 +0000 (02:16 +0000)]
"MDL-17475, if webdav_server is empty, return null"

12 years agomod/resource: MDL-18641 ability for resource type plugins to specify their own icon
fmarier [Fri, 3 Apr 2009 01:13:42 +0000 (01:13 +0000)]
mod/resource: MDL-18641 ability for resource type plugins to specify their own icon

12 years agoUpdated the HEAD build version to 20090403
moodlerobot [Fri, 3 Apr 2009 00:34:34 +0000 (00:34 +0000)]
Updated the HEAD build version to 20090403

12 years agoMDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at...
sam_marshall [Thu, 2 Apr 2009 16:32:12 +0000 (16:32 +0000)]
MDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at module level

12 years agoMDL-17273 Preventing import of corrupted csv files. Merged from MOODLE_19_STABLE
nicolasconnault [Thu, 2 Apr 2009 12:53:04 +0000 (12:53 +0000)]
MDL-17273 Preventing import of corrupted csv files. Merged from MOODLE_19_STABLE

12 years agoMDL-13501 Removing stats and visual reports from HEAD
nicolasconnault [Thu, 2 Apr 2009 12:51:14 +0000 (12:51 +0000)]
MDL-13501 Removing stats and visual reports from HEAD

12 years agoMDL-17810: Fix to stop you making activities depend on themselves
sam_marshall [Thu, 2 Apr 2009 12:00:09 +0000 (12:00 +0000)]
MDL-17810: Fix to stop you making activities depend on themselves

12 years agolang editing: MDL-18776 fix regression from MDL-18669.
tjhunt [Thu, 2 Apr 2009 09:37:29 +0000 (09:37 +0000)]
lang editing: MDL-18776 fix regression from MDL-18669.

12 years agoUpdate a comment as a test of committing via git.
tjhunt [Thu, 2 Apr 2009 07:50:33 +0000 (07:50 +0000)]
Update a comment as a test of committing via git.

12 years agoweb service MDL-12886 merged Pigui's Team work on course external file + some refactoring
jerome [Thu, 2 Apr 2009 06:59:14 +0000 (06:59 +0000)]
web service MDL-12886 merged Pigui's Team work on course external file + some refactoring

12 years ago"MDL-18520, change block_list into a static member of class"
dongsheng [Thu, 2 Apr 2009 06:21:05 +0000 (06:21 +0000)]
"MDL-18520, change block_list into a static member of class"

12 years ago"MDL-13224, language string for mymoodle options"
dongsheng [Thu, 2 Apr 2009 03:32:10 +0000 (03:32 +0000)]
"MDL-13224, language string for mymoodle options"

12 years ago"MDL-13224, convert type of courses limit, everything coming from database is string...
dongsheng [Thu, 2 Apr 2009 02:49:54 +0000 (02:49 +0000)]
"MDL-13224, convert type of courses limit, everything coming from database is string, merged from 1.9"

12 years agotranslation: MDL-18766 reverting. I guess it was not yet ready for prime-time.
tjhunt [Thu, 2 Apr 2009 02:42:11 +0000 (02:42 +0000)]
translation: MDL-18766 reverting. I guess it was not yet ready for prime-time.

I'll commit the patch to contrib in case anyone wishes to experiment further.

12 years agoUpdated the HEAD build version to 20090402
moodlerobot [Thu, 2 Apr 2009 00:33:24 +0000 (00:33 +0000)]
Updated the HEAD build version to 20090402

12 years agoMDL-18766 Towards improved translation
stronk7 [Wed, 1 Apr 2009 09:04:21 +0000 (09:04 +0000)]
MDL-18766 Towards improved translation

12 years ago"MDL-13224, select how many courses can be shown in mymoodle page"
dongsheng [Wed, 1 Apr 2009 07:38:32 +0000 (07:38 +0000)]
"MDL-13224, select how many courses can be shown in mymoodle page"

12 years ago"MDL-13224, select how many courses can be shown in mymoodle page"
dongsheng [Wed, 1 Apr 2009 07:32:57 +0000 (07:32 +0000)]
"MDL-13224, select how many courses can be shown in mymoodle page"

12 years ago"REPOSITORY/MDL-17466, display which plugin is valid"
dongsheng [Wed, 1 Apr 2009 05:47:14 +0000 (05:47 +0000)]
"REPOSITORY/MDL-17466, display which plugin is valid"

12 years ago"REPOSITORY/MDL-17466, display which plugin is valid"
dongsheng [Wed, 1 Apr 2009 05:40:37 +0000 (05:40 +0000)]
"REPOSITORY/MDL-17466, display which plugin is valid"