Opened 14 years ago
Closed 14 years ago
#116 closed enhancement (fixed)
email2trac to also serve blogs
Reported by: | lucas.eisenzimmer@… | Owned by: | bas |
---|---|---|---|
Priority: | major | Milestone: | 0.80 |
Component: | email2trac | Version: | trunk |
Keywords: | Cc: |
Description
Hi Bas,
I have been playing around in order to creating/updating blog posts provided by the FullBlogPlugin. See the code attached. What do you think?
The distinction between tickets and blog posts is not satisfying at all, and the dependencies are also not processed yet (meaning that it should still work if the FullBlogPlugin is not installed).
Cheers, Lucas
Attachments (3)
Change History (10)
Changed 14 years ago by lucas.eisenzimmer@…
comment:1 Changed 14 years ago by bas
- Status changed from new to assigned
Lucas,
We do nou use this plugin, but it is a nice enhancement
just some questions:
- can you send a diff -u format patch. It is easier to read what has been changed
- If i read the patch correctly we have to make an new function to determine what we have to updatee a blog or ticket?
We can also setup an email address ans specifiy what the type is, eg:
trac_type: ticket||blog
So if a email is send to this address we now what we have to create or update.
comment:2 Changed 14 years ago by lucas.eisenzimmer@…
Hi Bas,
find attached a -u patch. Yes, it would be more clear to add a function which determines the type of thing (ticket/blog) to be created or updated. Setting up a separate email adress is also a possible solution, but if the distinction between ticket and blog can be achieved easily, there is no need to do that.
comment:3 Changed 14 years ago by lucas.eisenzimmer@…
- Resolution set to worksforme
- Status changed from assigned to closed
Alright. So here is a patch which has the following functions and requirements:
- Adds support for the FullBlogPlugin in terms of creating new blog posts and updating existing blog posts.
- Needs FullBlogPlugin to be installed. Will crash if there is no FullBlogPlugin installed
- Does not consider the TICKET_UPDATE flag. Ticket updates are enabled by default.
This patch is pretty much fitted to our needs, if anybody finds it useful or will enhance it, please feel free to do so.
comment:4 Changed 14 years ago by bas
- Resolution worksforme deleted
- Status changed from closed to reopened
reopen it and thanks for the patch and will look into it
comment:5 Changed 14 years ago by bas
Just a question do you also use email2trac for tickets or only for blogs? Because if a look at tha patch, ticket updates must be broken.
comment:6 Changed 14 years ago by bas
- Milestone set to 0.80
- Version changed from 0.6 to trunk
applied with modifictations to trunk. Can you test it and maybe write some info about it on the web pages
comment:7 Changed 14 years ago by bas
- Resolution set to fixed
- Status changed from reopened to closed
Patch for adding blog creating/updating capabilities