Opened 15 years ago
Last modified 8 years ago
#6047 new enhancement
Don't send blog announcement, when `draft` is specified in categories
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | blog, FullBlogPlugin |
Cc: | Robert Corsaro, Steffen Hoffmann | Trac Release: | 0.11 |
Description
The FullBlogPlugin has a plugin that implements draft functionality. A draft is specified by entering draft in Categories. It would be a nice feature for the FullBlogNotificationPlugin if emails were not sent when draft was specified in Categories.
Attachments (0)
Change History (21)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
I'm starting to work on implementing this feature. Initially, I'll aim to have the email sent only to the blog author if draft is specified in the list of tags.
Once that is working, I'll consider adding the following additional logic:
- Only implement the aforementioned functionality if BlogDraftPlugin is installed.
- Add the following trac.ini options:
notify_if_draft
notify_author_if_draft
, which can over-ride thealways_notify_author
option.
If anyone else is interested in this feature, please let me know if you have any comments.
comment:3 Changed 15 years ago by
The draft plugin is really just an example, and other variations may appear in other plugins. It would seem to me that the general solution would be to have notification plugin check permission to recipients, and only send to recipients that have permission to read the blog post.
Disclaimer: I don't know any FullBlogNotificationPlugin details - only the FullBlogPlugin with sample plugins.
comment:4 Changed 15 years ago by
Owner: | changed from Nick Loeve to Ryan J Ollos |
---|
Reassigning ticket since I am now maintainer of the plugin.
comment:5 Changed 15 years ago by
Component: | FullBlogNotificationPlugin → FullBlogAnnouncementsPlugin |
---|---|
Owner: | changed from Ryan J Ollos to Robert Corsaro |
Moving this over to the FullBlogAnnouncementsPlugin to work on it there.
comment:6 follow-up: 9 Changed 15 years ago by
I have a trunk version of FullBlogAnnouncements in AnnouncerPlugin trunk. Please use that as the base for any >0.11 work that you do.
comment:7 follow-up: 8 Changed 15 years ago by
Component: | FullBlogAnnouncementsPlugin → AnnouncerPlugin |
---|---|
Owner: | changed from Robert Corsaro to Stephen Hansen |
comment:8 Changed 15 years ago by
Replying to doki_pen: In regard to owner changed from doki_pen to ixokai. in comment:7, did you intend to do that? It might be that the component has not been transferred to you from the previous owner (I saw this behavior with some plugins I adopted), and to fix it you just need to send an email to the tho admin otaku42.
comment:9 Changed 15 years ago by
Replying to doki_pen:
I have a trunk version of FullBlogAnnouncements in AnnouncerPlugin trunk. Please use that as the base for any >0.11 work that you do.
Sorry that I haven't had any time to follow-up on things lately, but I intend to continue with testing and development soon.
Do you intend to keep all of the plugins with the AnnouncerPlugin? I think that is a good idea, and if you do intend to do that I think it would also be good to remove the existing pages for FullBlogAnnouncementsPlugin and the other AnnouncerPlugin plugins, and make them sub-wiki-pages of the AnnouncerPlugin.
I'd be happy to help with this, I just don't want to do anything with the documentation that is outside of whatever you have in mind.
comment:10 Changed 15 years ago by
Owner: | changed from Stephen Hansen to anonymous |
---|---|
Status: | new → assigned |
Sounds good. Don't worry about me, I'm pretty easy going. I'm just happy to have any help that I can get!
comment:11 Changed 15 years ago by
- FullBlogAnnouncementsPlugin has been marked as obsolete.
- Relevant parts of wiki page have been moved to AnnouncerPlugin/PluginSupport/FullBlogPlugin.
- A
TitleIndex
has been added to the main page of the AnnouncerPlugin to list plugins: AnnouncerPlugin#Plugins
I'll do the same for the other two AnnouncerPlugin plugins if it looks okay with you.
comment:12 Changed 14 years ago by
Cc: | Robert Corsaro Steffen Hoffmann added; anonymous removed |
---|---|
Keywords: | blog added |
Owner: | changed from anonymous to Ryan J Ollos |
Status: | assigned → new |
Summary: | When `draft` is specified in categories, email should not be sent → Don't send blog announcement, when `draft` is specified in categories |
This is just a friendly reminder, that things seem to got stuck by not having the right persons filled into the right fields of this ticket.
Ryan shouldn't wait forever, if he's still up for the task of reorganizing wiki pages for AnnouncerPlugin plugins, right? Let him go on, please.
comment:13 Changed 14 years ago by
Ticket for this same feature in the FullBlogNotificationPlugin is #7604.
comment:15 Changed 14 years ago by
Keywords: | FullBlogPlugin added |
---|
comment:16 Changed 14 years ago by
So I've resumed work and I'm wondering were we are with this? I like the idea of using permissions to stop drafts from being sent. This is something I will implement globally in announcer via the filter interface (which I was going to drop, but I'm not going to now). On concern I have, although not a big concern, is that the announcement will show the post as modified instead of new when it changes from draft to live. I guess this should really be handled by the event publisher and not announcer. But think about it. When going from draft to live, issue a created event, instead of a modified event. Or even a new type of event called 'published' or something. For now, I'll leave things as is and you'll have to wait for the permissions to be put in place to get this functionality.
comment:17 follow-up: 19 Changed 14 years ago by
Priority: | normal → high |
---|---|
Status: | new → assigned |
comment:18 Changed 13 years ago by
Status: | assigned → new |
---|
comment:19 follow-up: 20 Changed 12 years ago by
Priority: | high → normal |
---|
Replying to rjollos:
Obviously not true, sorry. I'm just going through ticket to set the stage for squeezing more Announcer issues as time permits.
comment:20 Changed 12 years ago by
Replying to hasienda:
Obviously not true, sorry.
I've used the Priority = high on my projects to generate a list what I will work on next. I understand that this will cause problems when collaborating on project, so I will find some other way to track tickets that need attention.
comment:21 Changed 8 years ago by
Owner: | Ryan J Ollos deleted |
---|
See also #5556.