mantisbt:diff_emails_requirements
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mantisbt:diff_emails_requirements [2007/10/30 04:17] – Some comments on the proposed requirements. vboctor | mantisbt:diff_emails_requirements [2008/10/29 04:25] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Diff email Requirements ====== | ||
| + | * **Author**: Gianluca Sforna (giallu) | ||
| + | * **Status**: Draft | ||
| + | * **Associated Issue**: http:// | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | A different email style for notifications was requested more than once (with smaller variants) from ages. | ||
| + | |||
| + | Basically, what we want to obtain is a more compact (and readable) email to be sent to users, | ||
| + | so that only the relevant modifications that triggered the notifications will be shown. | ||
| + | |||
| + | An example is always worth 1000 words; a sample email I got from mantis: | ||
| + | |||
| + | < | ||
| + | The following issue has been UPDATED. | ||
| + | ====================================================================== | ||
| + | http:// | ||
| + | ====================================================================== | ||
| + | Reported By: giallu | ||
| + | Assigned To: | ||
| + | ====================================================================== | ||
| + | Project: | ||
| + | Issue ID: 8508 | ||
| + | Category: | ||
| + | Reproducibility: | ||
| + | Severity: | ||
| + | Priority: | ||
| + | Status: | ||
| + | ====================================================================== | ||
| + | Date Submitted: | ||
| + | Last Modified: | ||
| + | ====================================================================== | ||
| + | Summary: | ||
| + | Description: | ||
| + | Both config_inc.php.sample and config_defaults_inc.php set, by default or | ||
| + | after conditional checks, some parameters with example.com domains. | ||
| + | |||
| + | for instance, config_inc.php.sample has: | ||
| + | |||
| + | $g_webmaster_email = ' | ||
| + | |||
| + | While no harm is being done, I think the default should be to point to | ||
| + | localhost (which is, btw, what is done on the Fedora package with a patch) | ||
| + | ====================================================================== | ||
| + | |||
| + | ---------------------------------------------------------------------- | ||
| + | | ||
| + | | ||
| + | ---------------------------------------------------------------------- | ||
| + | ping | ||
| + | |||
| + | Issue History | ||
| + | Date Modified | ||
| + | ====================================================================== | ||
| + | 2007-10-25 07:13 giallu | ||
| + | 2007-10-28 19:58 giallu | ||
| + | 2007-10-28 19:58 giallu | ||
| + | 2007-10-28 19:58 giallu | ||
| + | ====================================================================== | ||
| + | </ | ||
| + | |||
| + | And one from Bugzilla, for a similar set of changes: | ||
| + | |||
| + | < | ||
| + | Please do not reply directly to this email. All additional | ||
| + | comments should be made in the comments box of this bug report. | ||
| + | |||
| + | Summary: Merge Review: openobex | ||
| + | |||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | bugzilla@redhat.com changed: | ||
| + | |||
| + | | ||
| + | ---------------------------------------------------------------------------- | ||
| + | | ||
| + | | ||
| + | Product|Fedora Extras | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ------- Additional Comments From xxx.xxx@xxx.xxx | ||
| + | Ping? | ||
| + | |||
| + | -- | ||
| + | Configure bugmail: https:// | ||
| + | ------- You are receiving this mail because: ------- | ||
| + | You are the QA contact for the bug, or are watching the QA contact. | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Implementation Notes ===== | ||
| + | |||
| + | The main problem with this implementation is that a single mail could include multiple operations, performed as a single update. | ||
| + | |||
| + | Since the changes are performed in different part of the code, the best approach looks like exploiting the existing history table, and compose the mail starting from that informations. | ||
| + | |||
| + | A new database field in mantis_bug_table will store the timestamp to start composing the diff from | ||
| + | |||
| + | ==== Database Changes ==== | ||
| + | |||
| + | * Required database changes to '' | ||
| + | * add a " | ||
| + | |||
| + | ==== Configuration ==== | ||
| + | |||
| + | Administrator configuration options: | ||
| + | * '' | ||
| + | |||
| + | User configuration options: | ||
| + | * '' | ||
| + | |||
| + | |||
| + | ==== Implementation Log ==== | ||
| + | * Nothing yet | ||
| + | |||
| + | |||
| + | |||
| + | ===== Feedback ===== | ||
| + | * Please provide feedback | ||
| + | |||
| + | * (jreese) This shouldn' | ||
| + | * (jreese) Is there a simple way to abstract this system in a manner which will allow ' | ||
| + | * (jreese) Thought experiment: Rather than simply modifying the existing system, perhaps we could adapt the event-based system that I created for plugins to also do work for the core API' | ||
| + | * (vboctor) As jreese said, this feature should take into consideration that we will need to support html emails and template based emails in the future. | ||
| + | * (vboctor) Currently if a user does multiple changes right each other, this will result into multiple emails. | ||
| + | * (vboctor) phpBB sends emails that notifies that a thread is modified, but doesn' | ||
| + | * (vboctor) Related features that are not really part of this feature: | ||
| + | * (vboctor) "Why are you receiving this email?" | ||
| + | * (vboctor) Would be nice to support a way where a user can disable future notifications relating a specific issue, even if the user is the reporter, developer, or an issue note author. | ||
| + | * (vboctor) If two users are updating an issue in parallel, then the first one that submits the changes wins and the second will get an error since the last_update time stamp will be different than the one retrieved when the data was retrieved from the database. | ||
