]> sipb.mit.edu Git - ikiwiki.git/commitdiff
some progress: try to send a single email per refresh per user instead of one email...
authorhttps://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web>
Sat, 7 Sep 2013 18:14:46 +0000 (14:14 -0400)
committeradmin <admin@branchable.com>
Sat, 7 Sep 2013 18:14:46 +0000 (14:14 -0400)
doc/todo/option_to_send_only_the_diff_in_notifyemail.mdwn

index 42b0d1ca61256dd3f3deaf1aa561d6000f05c301..83fb3d90b21588bab31627c9078214226685db97 100644 (file)
@@ -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]]