Andrew Davis
4fdb592ebb
rss MDL-23588 unescaped urls in the rss block
2010-07-30 08:27:04 +00:00
Petr Skoda
8571833f0b
MDL-23069 moving version and cron info into standard version.php - finally, yay!
2010-07-04 12:18:22 +00:00
Petr Skoda
4ca6cfbfd4
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 12:00:47 +00:00
nicolasconnault
b58961acaa
MDL-20565 When editing is off, hiding blocks whose sub-system is disabled at site level. When editing is on, printing a "[subsytem] is disabled" message.
2009-10-15 01:36:50 +00:00
poltawski
612e3be501
blocks/rss_client: MDL-13932 - alter output formating
...
Doesn't make much sense to have FORMAT_MOODLE for external
rss content.
2009-08-05 16:38:27 +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
53fe72ee1f
block_rss_client/rsslib MDL-1393 Clean up
...
- Remove obsolete magpie configuration
- Remove block_rss_client_submitters which has not been used for some
time
- Remove some block_rss_client setup from rsslib.php
2009-07-29 14:10:15 +00:00
poltawski
0864a0837b
block_rss_client: MDL-13932/MDL-7946 - Switch to use Simplepie
...
Simplepie is actively maintained and supports a broader range of feeds
2009-07-29 13:44:28 +00:00
tjhunt
f1a34d8f05
block_rss_client: MDL-13932 Clean up a lot of the crap.
...
This was all in order to do MDL-19889!
* The old tabbed interface is gone.
* The manage feeds UI has been completely rewritten to be a few
separate sane scripts like managefeeds.php, editfeed.php and viewfeed.php
* This is used from both Admin -> plugins -> blocks ... and as a link from the block edit_form.php
* new edit_form.php for the block replacing config_istance.php.
* A lot of stuff to do with UI specific to this block has been removed from rsslib.php
2009-07-29 11:18:55 +00:00
tjhunt
e92c286c20
block contexts: MDL-19098 every block should have a context
...
even non-course and sticky blocks.
The parent context is block_instances.parentcontextid.
The block context should be used for checking permissions directly
related to the block, like moodle/block:view or moodle/site:manageblocks.
However, if the block is displaying information about the current page,
for example the participants block showing who 'here', then it may be
better to use the context of the page where the bloack is appearing -
in other words $this->page->context - to check permissions about the
user's ability to see participants here.
Or, if the block is displaying something stronly related to courses,
for example, a course meny block, the block should probably use the
context for $this->page->course to check permissions.
2009-07-13 08:37:34 +00:00
tjhunt
f4d76b9cdf
blocklib: MDL-19010 fix some minor problems with existing blocks.
2009-06-05 08:28:45 +00:00
tjhunt
f474a4e583
blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php
2009-05-07 08:55:10 +00:00
tjhunt
cb6402296c
blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks
2009-05-06 09:28:26 +00:00
tjhunt
3179b0006a
blocklib: MDL-19010 Fix blocks that were relying on ->instance in an unfortunate way
2009-05-06 09:15:33 +00:00
tjhunt
ad52c04f4c
moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
...
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
Jonathan Newman
4d933beb8a
cvsimport fixups
2009-01-20 23:53:34 +00:00
skodak
f432bebff2
MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE
2008-07-24 21:59:13 +00:00
skodak
f28f2d9022
MDL-14679 towards blocks conversion
2008-06-02 20:15:51 +00:00
skodak
df61da5331
MDL-14027 cron sometimes hangs in rss_client block; merged from MOODLE_19_STABLE
2008-03-23 16:24:29 +00:00
moodler
433c242f1a
Merged new block versions from 1.9
2008-03-03 11:43:32 +00:00
moodler
2ace936bbd
MDL-11960 Hide RSS block on tag pages
2008-02-29 07:05:12 +00:00
moodler
874da31fcd
Merged a notice fix
2008-02-20 08:11:02 +00:00
moodler
92efb8f2dc
Merged fix for notice when feed dies
2008-02-01 03:06:11 +00:00
skodak
5c10879f55
MDL-11814 use system context for pinned blocks; merged from MOODLE_19_STABLE
2007-12-20 16:25:49 +00:00
scyrma
8e4636c26f
Fix a bug passed on after commit of by http://lists.moodle.org/arc/commits/2007-12/msg00352.html
...
There shouldn't be html tags in this place.
2007-12-19 05:58:27 +00:00
poltawski
325744cb14
MDL-9851 - RSS block links previously used to open in new window. Restoring this
...
behaviour. Had to tweak the cleaning to ensure the JS hack for XHTML complaint new
window gets through. Merged from MOODLE_18_STABLE
2007-09-03 10:26:44 +00:00
stronk7
6aad3d297e
Fix one-character-wrong-indentation. Nothing important.
2007-07-31 19:34:20 +00:00
stronk7
f0aae42f41
rss_client cron added. Min time between executions set to 5 mins. And
...
online fetching will use a double caching time, so chance of caching
feeds by the cron process will be near 100%. MDL-9292
2007-07-31 18:52:38 +00:00
stronk7
9c6808457e
Moving block_rss_timeout to block_rss_client_timeout. Work in progres...
2007-07-31 17:05:50 +00:00
stronk7
88dffda52c
Cleaning some trailing spaces here and there.
2007-07-30 17:11:55 +00:00
nicolasconnault
5db0cffcf6
MDL-8922: Had to modify another bunch of files to fix a simple problem:
...
when a config block contains a form, the previous form needs to be closed
properly (it was, but there were non-matching closing divs etc...).
2007-03-26 03:06:45 +00:00
poltawski
f419655de9
MDL-8922 Some Xhtml fixes, merged from MOODLE_18_STABLE
2007-03-15 16:58:16 +00:00
skodak
efe12f6c22
MDL-8524 general roles cleanup; MDL-8373 authenticated user role now created during upgrade from 1.7.x, xhtml and CSS cleanup in roles GUI; accesslib inline docs cleanup; risk bitmask fixes
2007-03-05 11:27:01 +00:00
skodak
440d164869
MDL-7861xhtml strict and css fixes in blocks
2007-01-09 23:45:24 +00:00
nfreear
808c2a69fe
Adding space in channel <img /> element. Minor whitespace cleanup.
2006-12-01 10:10:56 +00:00
skodak
810944af7f
we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left
2006-11-11 17:23:20 +00:00
skodak
45155244af
better cleaning of rss feeds SC#328; merged from MOODLE_17_STABLE
2006-10-24 22:40:07 +00:00
toyomoyo
8c449ca33f
merged fix for 6884
2006-10-17 06:25:50 +00:00
skodak
a3627bb77d
incorrect context used in rss_client block upgrade code MDL-6707 - part of the upgrade code is now rerun in existing installations - new upgrades should be ok, the cleanup of stale contexts and overrides will be done later as part on normal maintenance from cron
2006-10-01 16:17:30 +00:00
nfreear
fd2339cfd6
Fixes bug MDL-6548 "blog_menu block should use lists"
...
- also blocks: rss_client, admin_bookmark.
- also fixed &/& validation error in rss_client footer.
2006-09-22 15:15:48 +00:00
moodler
0e1cc9070b
Fixed a some debugging statements
2006-09-18 13:24:45 +00:00
vyshane
29ac3cc28d
Capability tweaks for rss_client block
2006-09-13 04:10:41 +00:00
vyshane
23973f1856
Modified to support Roles.
2006-09-12 06:57:05 +00:00
toyomoyo
cc398c7262
adding caapabilities
2006-09-04 08:45:08 +00:00
skodak
86a1ba04fd
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack
2006-09-02 11:44:04 +00:00
moodler
1a2ea6f488
Merged $course -> $COURSE fixes from 1.6 stable
2006-05-29 08:17:57 +00:00
moodler
9a7a199fd0
No need to restrict where RSS feeds can be displayed
2006-04-05 08:35:40 +00:00
dhawes
fec312fdf5
removed secondary cache to close bug 4625
2006-03-02 17:05:12 +00:00
mjollnir_
d5250d2f13
RSS client block: users can now add their own rss feeds and pick from their feeds and admin feeds. users don't see feeds added by other nonadmin users. this is probably only useful for my moodle since they can't edit any other pages
2006-01-16 03:02:42 +00:00
stronk7
7124cc16e7
Now rss_unhtmlentities() is not used anymore!
...
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 13:13:06 +00:00