From a234664c8015823cc51cfb72da1939c49c198d2c Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Sat, 7 Sep 2013 14:14:46 -0400 Subject: [PATCH] some progress: try to send a single email per refresh per user instead of one email per file per refresh per user --- doc/todo/option_to_send_only_the_diff_in_notifyemail.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/todo/option_to_send_only_the_diff_in_notifyemail.mdwn b/doc/todo/option_to_send_only_the_diff_in_notifyemail.mdwn index 42b0d1ca6..83fb3d90b 100644 --- a/doc/todo/option_to_send_only_the_diff_in_notifyemail.mdwn +++ b/doc/todo/option_to_send_only_the_diff_in_notifyemail.mdwn @@ -1,5 +1,9 @@ [[!tag wishlist]] +[[!template id=gitbranch branch=anarcat/notifyemail_diff author="[[anarcat]]"]] + It would be nice if [[plugins/notifyemail]] wouldn't send the complete page source, but only the things that changed, when notifying users. They can always follow the link to see the full page if they want. For bonus points, make that optional. --[[anarcat]] + +> I am working on a patch, in the branch mentionned above. So far, my first job was to make sure notifyemail sends a single email per refresh. Next step is to try to figure out the revisions to send to the user - I am not sure it's quite obvious in the iki internals which diffs we're working on, because of the pluggable nature of the software (and even the possibility that not RCS exists at all). So far, I am thinking of using `rcs_recentchanges()`, but how many commits to look back into? Feedback welcome. --[[anarcat]]