Commit Graph

12 Commits

Author SHA1 Message Date
Tom Lanyon 365bec4c06 MDL-28701 Change all uses of $CFG->dataroot/cache to $CFG->cachedir 2011-09-10 10:35:46 +02:00
Petr Skoda c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00
Petr Skoda a762ba7271 MDL-23980 importing latest 1.3dev - this should fix the url encode problem 2010-08-28 13:46:54 +00:00
Martin Dougiamas 3455494c39 MDL-19698 Fixing regression caused by new SimplePie 2010-07-21 05:17:06 +00:00
Petr Skoda 73f272016a MDL-19698 importing latest dev version of simplepie, this should fix most PHP5.3 deprecated issues 2010-07-19 08:22:58 +00:00
Petr Skoda 6f5e085205 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 16:48:45 +00:00
poltawski d175fe4c53 lib/simplepie MDL-7946 - improve simplepie defaults
- Specify default low connect timeout in order that 'interactive' pages are
  not slowed down by slow feeds
- Set default cache feed duration of 1 hour

In RSS feed block:
- Try really hard in cron to retreive the feed
- Set the cache duration low in order to help cron refresh the cache
2009-07-30 18:57:19 +00:00
poltawski 1597e75d5e lib/simplepie MDL-7946 Set magpie HTTP headers with curl
This allows simplepie to set if-modified-since/if-none-match headers
to efficiently test if a feed has been updated without recieving the
whole content
2009-07-30 16:11:00 +00:00
poltawski 926987ab5e lib/simplepie: Improve Integration MDL-7946, MDL-13932
Added more unit tests, improved style and fixed:
- Failed behaviour of redirects
- Incorrect behaviour on feed retrival failure
- Ensured rss cache clear for unit test setup
2009-07-27 14:18:01 +00:00
skodak ec00bfc5cd MDL-19873 imported new SimplePie 1.2 2009-07-19 13:14:44 +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