More progress!

2 views
Skip to first unread message

Daniel Nouri

unread,
Apr 14, 2008, 7:47:56 AM4/14/08
to singing...@googlegroups.com
Last week was an excellent week for Singing & Dancing:

- The portlet branch has landed in trunk! We now have flexible Plone
3- style portlets for making subscribe boxes!

To try this out, log in as a manager, click the "Manage portlets"
link in the portlet column. In the next screen, select "Channel
subscribe portlet" from the dropdown. Then, choose header and
description texts, and the channel you want people to subscribe to
through this portlet.

Thomas has done an excellent job merging this into trunk,
considering the constantly moving trunk. For the changeset, see
[1].

- We now have proper indexing of subscriptions! Together with this
and our new BTree- based storage, we should be able to scale up to a
*lot* of subscribers now.

On the development side, this means that the 'ISubscriptions'
interface has become a lot simpler and more powerful; the interface
is now reduced to add(), remove() and query(). A lot of code that
was looking for the right subscription before can now simply use one
call to query(). For the changeset, see [2].

This also added dependencies to 'zope.app.catalog' and 'five.intid'.
Thanks to our set of automated tests, I was able to implement these
changes in a matter of two days. Speaking of which, we now have 230
tests to help us make sure things work!

- We have a view now that lets us send out queued messages. You've
probably noticed that S&D queues messages first before it sends them
out. This is so that the user sending out the newsletter doesn't
have to wait until every single mail is actually sent through the
SMTP server.

To use the view that will periodically flush the queue, you have to
set up a Zope ClockServer[3]. If you're using buildout, add this to
your [instance] stanza int your buildout configuration file:

zope-conf-additional =
<clock-server>
method /portal/@@dancing.utils/tick_and_dispatch
period 60
user admin
password admin
host localhost
</clock-server>

This assumes that your Plone site is at '/portal' in your ZODB.
Note that ClockServer ships with your Zope, so there's no need to
download it from the site.

- It looks like I'll be mentoring a student as part of the Google
Summer Of Code. His application topic is "Event-Based Incoming and
Outgoing E-mail for Plone". This is very good news for S&D as it
will give us 1) a mail-in gateway into Plone for handling bounce
messages, and 2) possibly refactoring of collective.singing so that
parts of it are moved into a more common Plone package, maybe
plone.mail.

We now have an IRC chat channel on Freenode called #singing-dancing.
Join our channel and talk to us! If you don't know how to use IRC,
there's instructions plone.org[4]. A good IRC client is Pidgin [5].

A beta release of S&D is now imminent. Headnet will deploy the latest
S&D on a site called handicap.dk[6] this week. Other deployments will
follow soon. If *you* are using S&D, let us know!


Cheers,
Daniel

[1] https://dev.plone.org/collective/changeset/62551
[2] https://dev.plone.org/collective/changeset/62628 and
https://dev.plone.org/collective/changeset/62629
[3] http://plope.com/software/ClockServer/
[4] http://plone.org/support/chat
[5] http://www.pidgin.im
[6] http://handicap.dk

Reply all
Reply to author
Forward
0 new messages