You are here: Gregarius - Devlog » 2005 » 11

Archive for November, 2005

Rounded corners

Gregarius has been suffering from a wicked rendering bug in Firefox (everyones favourite browser) and other Gecko browsers. If you had lots of items on a page, certain frames would break and be painted in weird places. We knew that the code to display rounded corners was triggering this behavior and the solution, till now, has been to disable the Rounded Corners plugin.

Rendering-bug-thumbnail

It appears that the exact cause for this bug is in Bugzilla Bug 252241. Please vote for this bug so that it gets some attention. In the mean time we have hacked the rounded corners plugin to work around this bug. You can download the new version by clicking here and overwriting this file onto /rss/plugins/roundedcorners.php. It should be safe to do this even with version 0.5.2.

Why do we love rounded corners? It is because as children we quickly discover that sharp corners hurt us and smooth rounded objects are usually delicious. Mmm… Ever seen kids try to eat smooth pebbles that they find lying around?

Posted by Sameer at Nov 26th 2005, 3:25 am | Filed under: tips, bugs, gregarius | 1 Comment

Extensions to Gregarius

Marco has kindly allowed me to post on this devlog about the slider plugin and a Lilina-like compact theme that I recently put on the repositories.

slider-thumbnail

I wanted a way to control the amount of each item that was displayed so I wrote the slider plugin. You can shrink all the displayed items down to their titles, or you expand them all out fully or you can set it so that only a few lines are displayed. The nice thing is that this setting is stored in a cookie and Gregarius remembers the setting when you move to another page or if you visit the site later using the same browser. You can also expand out a single item by simply hovering over it with your mouse for around 1 second. You would need to use a recent subversion snapshot or one of the nightlies to use this plugin. It is possible to use it with version 0.5.2 if you apply this one line patch.

The lilina theme is to attempt to mimic the interface of the Lilina aggregator. It is quite compact and allows you to scan a large number of feed titles and expand out (by clicking on the titles) only those items you are interested in reading. It also allows you to collapse the sidemenu so that you do not waste precious browser space. I am still working on this theme, so suggestions, ideas and comments are welcome.

Gregarius is easily extensible via plugins and themes and follows the wordpress model quite closely. The theme engine is quite powerful and will let you create almost any interface you would want to. A good starting point is the Plugin Authoring and the Theme Authoring documents on the wiki. If you get stuck, help is always available on the forums or on the dev-mailing list. Good luck!!

Posted by Sameer at Nov 13th 2005, 2:37 am | Filed under: docs, features, meta, gregarius | 2 Comments

Security Update

A security hole, which allows for arbitrary code execution, has been recently discovered in the Snoopy web client library, which is bundled with Gregarius.

Only Gregarius installations which are publicly accessible on the Internet, and whose administration area is not password-protected are affected, but to avoid unnecessary risk Gregarius 0.5.2 has been re-released with a fix for this security hole. You are strongly encouraged to upgrade your installation.

You should either:

  • Download the updated release from sourceforge.net: make sure you download either of rss-0.5.2a.tar.gz or rss-0.5.2a.zip, or:

  • Replace the rss/extlib/Snoopy.inc.php file with the fixed version, or:

  • Upgrade your installation using a nightly build.

We apologize for the inconvenience :)

Posted by Marco at Nov 1st 2005, 8:01 pm | Filed under: releases, bugs, gregarius | No Comments
Sponsored links

Mortgages | Forum for Plumbers | Internet advertising | Bad Credit Mortgages | Loans