Commit graph

7694 commits

Author SHA1 Message Date
skodak
dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00
nicolasconnault
d263168375 MDL-15931 Using $CFG->unittestprefix now for filelib unit tests. MUCH slower but safe(r) 2009-04-21 12:22:36 +00:00
skodak
42f103be4c MDL-18910 moving modedit features to modname_supports() 2009-04-21 08:57:20 +00:00
nicolasconnault
f91a05e0e1 MDL-15931 More unit tests of file_info_* classes 2009-04-20 14:42:17 +00:00
nicolasconnault
2b726e9f3a MDL-15931 More unit tests of file_info_* classes 2009-04-20 13:10:42 +00:00
skodak
7467e72197 MDL-18900 reimplemented trusttext - now using separate db field; the API will be improved and documented together with the new support functions needed for new Editor element 2009-04-20 11:37:39 +00:00
skodak
cbc2b5df03 MDL-18901 reimplemented trusstext support in glossary + standardising format column for text fields 2009-04-20 10:05:50 +00:00
dongsheng
37051e5877 "MDL-18848, add default module to curl class" 2009-04-20 09:21:28 +00:00
skodak
0266b1ade4 MDL-15931 there is no need to pollute public api with tons of public functions that are in fact private ;-) 2009-04-20 09:04:53 +00:00
dongsheng
e189ec00f0 "MDL-18486, remove php varible from file picker code, all javascript code goes into a static file" 2009-04-20 08:53:21 +00:00
nicolasconnault
dd13271188 MDL-15931 refactored file_browser.php 2009-04-20 08:18:33 +00:00
tjhunt
c39a460735 simpletestlib: Fix typo in error message 2009-04-20 06:47:01 +00:00
tjhunt
7a9d505bb9 category paths: MDL-18897 call fix_course_sortorder eveywhere we insert a category to set category.path and .depth 2009-04-20 05:59:11 +00:00
tjhunt
3bba572f0e filters: MDL-7336 was missing the table prefix from one column.
Probably does not matter, but I'm adding it in case.
2009-04-20 02:07:46 +00:00
nicolasconnault
edfbf2fe81 MDL-15931 Adding testfilelib.php and a few comments in file API code 2009-04-18 15:16:13 +00:00
sam_marshall
0f9534c121 MDL-18297: Forgot that course cache needs rebuilding for upgraded dates 2009-04-17 16:21:15 +00:00
sam_marshall
e7c6bf0eab MDL-18297: Changed date conditions so that the text and behaviour is more natural. 2009-04-17 16:06:29 +00:00
sam_marshall
373fb9ddbe conditionlib whitespace / coding style fixes 2009-04-17 14:32:50 +00:00
nicolasconnault
509f67e34e MDL-18111 Added comments to filelib.php 2009-04-17 12:50:26 +00:00
skodak
f6949ddb95 MDL-18887 using exceptions instead of @ for ignoring of db update/insert failure 2009-04-17 08:05:55 +00:00
tjhunt
9434fef401 filters: MDL-18879 filter data not deleted when a context is deleted
Missed when implementing MDL-7336

Also, fix minor issues with deleting filters
2009-04-17 02:49:07 +00:00
tjhunt
14d20de162 filters: MDL-7336 fix upgrade problem when filterall is on. Thanks Nico for finding. 2009-04-16 09:13:30 +00:00
tjhunt
e1d1b7968f Improve documentation of our global variables 2009-04-16 08:59:46 +00:00
nicolasconnault
653a86489e MDL-18083 Committing gradebook improvements to head 2009-04-16 07:16:44 +00:00
skodak
4f5521dd02 MDL-14589 fixed incorrect file info api function result 2009-04-15 20:02:48 +00:00
tjhunt
56eeebdf81 pagelib: Fixing start-of-file comments in CVS to avoid merge problems when I switch to git. 2009-04-15 03:24:25 +00:00
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