Implement basics of blogentry-alert

Bug #336863 reported by Paul Everitt
2
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Chris Rossi

Bug Description

Implement the basics of sending an alert when a new blog entry is posted in the community.

Details
=========

- Read the UAT at https://bugs.launchpad.net/karl3/+bug/336495 (which leads to the writeup at http://carlos.agendaless.com/dko/policies/blog.html#blog-entry-alert)

- First success case is: create a new blog entry via a browser, all users in the community get an email per the formatting rules in the UAT

- Second success case is: ditto, but with attachments on the blog entry

Implementation Details
==================

- Blog is in src/karl.content

- Use get_setting for system name, system email domain

Postpone
===========

To keep this task manageable, let's carve parts out so we can get to a known success point without overload.

- Handling per-user, per-community tri-state (now, digest, never) preferences on alert sending

Revision history for this message
Paul Everitt (paul-agendaless) wrote :
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Here's the first task. I fully expect this to lead to a bunch of questions on details I omitted. Let's do our best to pick a manageable part of the problem as the first step and defer as much complexity until that part is tackled.

Changed in karl3:
assignee: nobody → chris-archimedeanco
importance: Undecided → Medium
milestone: none → m4
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

I just realized that attachments to a blog entry (or blog comment) aren't sent as email attachments. Instead, a hyperlink goes in the email to point at each attachment.

I'll update the UAT writeup to denote this.

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Here is a screenshot of an alert sent when a blogentry has multiple attachments.

Changed in karl3:
status: New → In Progress
Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Extraneous bug found: "Cancel" button does nothing in edit_profile view. Can probably fold fix into this bug.

Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Actually strike that last. I see I'm not doing anything with the user preferences on this go around so I'll likely not touch the cancel button code.

Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

First milestone checked in.

Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Unit test now fails after svn update. May be weird merge interaction caused by my forgetting to check in code yesterday. Investigating.

Revision history for this message
Chris Rossi (chris-archimedeanco) wrote :

Yep, someone was trying to triage my only half checked in code. Sorry about that! Fixed now.

Revision history for this message
Paul Everitt (paul-agendaless) wrote : Re: [Bug 336863] Re: Implement basics of blogentry-alert

That was me, sorry, should have let you know.

--Paul

On Mar 4, 2009, at 10:31 AM, Chris Rossi wrote:

> Yep, someone was trying to triage my only half checked in code. Sorry
> about that! Fixed now.
>
> --
> Implement basics of blogentry-alert
> https://bugs.launchpad.net/bugs/336863
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Porting KARL to a new architecture: In Progress
>
> Bug description:
>
> Implement the basics of sending an alert when a new blog entry is
> posted in the community.
>
> Details
> =========
>
> - Read the UAT at https://bugs.launchpad.net/karl3/+bug/336495
> (which leads to the writeup at http://carlos.agendaless.com/dko/policies/blog.html#blog-entry-alert)
>
> - First success case is: create a new blog entry via a browser, all
> users in the community get an email per the formatting rules in the
> UAT
>
> - Second success case is: ditto, but with attachments on the blog
> entry
>
> Implementation Details
> ==================
>
> - Blog is in src/karl.content
>
> - Use get_setting for system name, system email domain
>
> Postpone
> ===========
>
> To keep this task manageable, let's carve parts out so we can get to
> a known success point without overload.
>
> - Handling per-user, per-community tri-state (now, digest, never)
> preferences on alert sending

Changed in karl3:
status: In Progress → Fix Committed
Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.