Commit graph

35940 commits

Author SHA1 Message Date
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
6246de9526 filters: MDL-7336 settings page for setting the local enabled/disabled state
- managed to missed this bit when transferring my changes from git.
2009-04-13 08:24:20 +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
c9a2ecfa1b filters: MDL-7336 more preliminary refactoring of duplicated code in restore 2009-04-13 07:05:33 +00:00
tjhunt
7b8dcbc352 filters: MDL-7336 refactor in backup/restore ready for local filter settings. 2009-04-13 07:05:02 +00:00
tjhunt
6b037e0420 filters: MDL 7336 Remove remaining references to ->filters 2009-04-13 07:04:32 +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
d57f347420 filters: MDL-7336 ->formatstring is not mentioned anywhere else in the code, so remove. 2009-04-13 06:54:57 +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
moodlerobot
7d8bc1fee0 Updated the HEAD build version to 20090413 2009-04-13 00:42:12 +00:00
moodlerobot
be0d42017b Updated the HEAD build version to 20090412 2009-04-12 01:04:27 +00:00
moodlerobot
394f444b55 Updated the HEAD build version to 20090411 2009-04-11 00:33:47 +00:00
moodlerobot
9b8bec56ea Automatic installer.php lang files by installer_builder (20090411) 2009-04-11 00:23:48 +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
moodlerobot
646c723573 Updated the HEAD build version to 20090410 2009-04-10 00:34:04 +00:00
nicolasconnault
0000badd05 MDL-17273 Added a back button to the error message and fixed missing handling of "custom" scope. Merged from MOODLE_19_STABLE 2009-04-09 12:29:54 +00:00
tjhunt
522a8ac88c XHTML strict fix in the word censorship filter 2009-04-09 12:01:42 +00:00
skodak
c6b4179c38 MDL-18338 option for hiding of groups in user profile 2009-04-09 08:29:51 +00:00
skodak
790e5ae236 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 2009-04-09 08:23:56 +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
skodak
728a4ebe3b MDL-13843 user participation in separate group mode even if group mode not forced course-wide (improved consistency in groups at course level) 2009-04-09 07:58:49 +00:00
moodlerobot
7a1c41a5d3 Updated the HEAD build version to 20090409 2009-04-09 00:34:13 +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
moodlerobot
fa95ca0450 Updated the HEAD build version to 20090408 2009-04-08 00:34:10 +00:00
moodlerobot
355718f79b Automatic installer.php lang files by installer_builder (20090408) 2009-04-08 00:24:03 +00:00
skodak
59a82ee1d8 MDL-13224 fixed coding style 2009-04-07 07:45:03 +00:00
tjhunt
3fb002215f weblib: fix bug with disabled pop_form()s 2009-04-07 07:40:40 +00:00
rezaie9
88e99d8df9 Improvment in displaying tabs in Safari
Changes applyed by Shamim Rezaie (http://rezaie.info)
2009-04-07 07:25:05 +00:00