Commit graph

7868 commits

Author SHA1 Message Date
dongsheng
5430f05b37 "MDL-18848, curl_cache is not specific to repository module any more" 2009-04-14 02:34:38 +00:00
poltawski
668fa0d667 simplepie: fix class name caseing: MDL-7946, MDL-13932 2009-04-13 16:00:44 +00:00
poltawski
80d72d56bc 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.
2009-04-13 15:29:08 +00:00
tjhunt
dcdf3b2918 filters: MDL-7336 separate out manage filters and common filter settings 2009-04-13 07:15:50 +00:00
tjhunt
86b455cfc7 filters: MDL-7336 finish implementing delete on the admin page 2009-04-13 07:15:19 +00:00
tjhunt
78ceb4d666 filters: MDL-7336 fix MySQL issues 2009-04-13 07:14:54 +00:00
tjhunt
604eb7be03 filters: MDL-7336 code to let people edit local filter config 2009-04-13 07:14:27 +00:00
tjhunt
0f74bb01ff filters: MDL-7336 settings page for setting the local enabled/disabled state 2009-04-13 07:12:41 +00:00
tjhunt
a042675877 filters: MDL-7336 function to get the information the local settings page will need. 2009-04-13 07:07:03 +00:00
tjhunt
3058afd429 filters: MDL-7336 performance testing script 2009-04-13 07:06:44 +00:00
tjhunt
16eaf7ed35 filters: MDL-7336 tweak to improve SQL performance 2009-04-13 07:06:22 +00:00
tjhunt
34f07866ba filters: MDL-7336 backup and restore of local filter settings. 2009-04-13 07:06:02 +00:00
tjhunt
5b8fa09b00 filters: MDL-7336 Finish admin settings page. 2009-04-13 07:04:07 +00:00
tjhunt
456c8cc738 filters: MDL-7336 redo global settings page to use the new libs
Note: ->stringfilters update not done yet.
2009-04-13 07:03:32 +00:00
tjhunt
ccc161f8f0 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
2009-04-13 06:56:32 +00:00
tjhunt
bbb459050e filters: MDL-7336 Set ->stringfilters on upgrade 2009-04-13 06:55:21 +00:00
tjhunt
1f8c468dbd filters: MDL-7336 rename get_active_filters -> filter_get_active_in_context and improve auto-sorting. 2009-04-13 06:54:34 +00:00
tjhunt
9421125080 filters: MDL-7336 create new moodle/filter:manage capability 2009-04-13 06:54:11 +00:00
tjhunt
1bd09db947 filters: MDL-7336 implement get_active_filters 2009-04-13 06:53:53 +00:00
tjhunt
56881fdc93 filters: MDL-7336 functions for g/setting local filter_active overrides 2009-04-13 06:53:33 +00:00
tjhunt
84e240a091 filters: MDL-7336 rework unit tests to use CheckSpecifiedFieldsExpectation. 2009-04-13 06:53:14 +00:00
tjhunt
e1a9622fad filters: MDL-7336 functions for getting and setting filter_config 2009-04-13 06:52:56 +00:00
tjhunt
c07e6d8da5 filters: MDL-7336 upgrade $CFG->textfilters into filter_active table. 2009-04-13 06:51:45 +00:00
tjhunt
0fc9c00901 filters: MDL-7336 database tables for per-context filter settings. 2009-04-13 06:42:02 +00:00
tjhunt
adff97c505 lib/dml: new compatibility method sql_cast_2signed for when MySQL thinks that 1 * -1 = 18446744073709551615 2009-04-10 09:33:26 +00:00
tjhunt
3efb762e6b simpletestlib: improve failure message from CheckSpecifiedFieldsExpectation 2009-04-10 09:32:53 +00:00
tjhunt
7e3a668c07 get_string unit tests: Switch to inline fixture setup 2009-04-10 04:59:09 +00:00
skodak
25bc3cd369 MDL-13843 treat default course grouping as current grouping at course level (groupmode is used the same way at course level) 2009-04-09 08:17:12 +00:00
tjhunt
1d59689fc9 ddllib.php: add required library 2009-04-08 11:46:39 +00:00
tjhunt
c9ec505b9e weblib progress_bar: Add a comment and fix some coding style. 2009-04-08 11:46:19 +00:00
tjhunt
5c2fec8b74 get_string: MDL-18813 get_string was broken for strings that were '' 2009-04-08 11:45:53 +00:00
tjhunt
3fb002215f weblib: fix bug with disabled pop_form()s 2009-04-07 07:40:40 +00:00
tjhunt
465d96958f UnitTestCaseUsingDatabase: fix bug with install_one_table_from_xmldb_file
The bug prevented you creating the first table from an install.xml file
2009-04-07 05:19:20 +00:00
sam_marshall
4d10247fdb 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 2009-04-06 09:48:39 +00:00
tjhunt
a4db2e7ca3 fomslib: MDL-18735 disabledif not working in IE if depended on element was a <select>.
This was a regression from MDL-18522. Sorry.
2009-04-06 02:56:37 +00:00
fmarier
316914bf6e MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
skodak
3a03653edf MDL-18772 fixed aut oupdating of grademax for SUM aggregation type 2009-04-05 20:17:04 +00:00
sam_marshall
2bf69a8588 MDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at module level 2009-04-03 13:11:05 +00:00
tjhunt
7fa95ef177 simpletestlib: Fix typo in error message 2009-04-03 08:38:30 +00:00
tjhunt
c464eda684 get_string: MDL-18669 - fixing a screw-up spotted by Dongsheng. Thanks. 2009-04-03 07:41:40 +00:00
fmarier
c65ab2be95 Password policy: MDL-17602 new "max consecutive identical characters" setting 2009-04-03 02:22:52 +00:00
sam_marshall
48f9c073ca MDL-18094: course/viewhiddenactivities didn't work (in some parts of the code) at module level 2009-04-02 16:32:12 +00:00
tjhunt
d8413bf3d2 lang editing: MDL-18776 fix regression from MDL-18669. 2009-04-02 09:37:29 +00:00
tjhunt
0c34c7eb50 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.
2009-04-02 02:42:11 +00:00
stronk7
c66158102e MDL-18766 Towards improved translation 2009-04-01 09:04:21 +00:00
tjhunt
edc0c49332 file api: MDL-18754 improve the names of some functions.
The new names are documented on
http://docs.moodle.org/en/Development:Convert_Draftarea_Files
2009-04-01 04:34:58 +00:00
tjhunt
b4cf937102 translation: MDL-18766 Prototype automatic translation system for Moodle.
If Google can do something like http://translate.google.com/, surely we
can do something just as good in Moodle. Here is a first attempt. It is
a bit rough around the edges, and only a couple of target lananguages
have been implemented so far. (More and better attempts welcome!)

In order to ensure that this gets adequate testing, I have made sure that
it gets turn on by default. However, if you really don't like it, you can
turn it off under Administration > Development -> Experimental settings.
2009-04-01 00:39:17 +00:00
skodak
c94985efb1 MDL-18552 different TeX trouble fix 2009-03-31 10:03:10 +00:00
jerome
f7631e7397 web service MDL-12886 administration: implement settings for servers (add amf debug option) 2009-03-31 03:29:01 +00:00
tjhunt
214f5850d1 MDL-15484 Avoid JavaScript errors after a popup has been blocked.
Also clean up coding style of some nearby functions.
2009-03-31 03:24:21 +00:00