aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/mailnotification.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-24 02:28:53 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-24 02:28:53 +0000
commit5c8351541d8bcdb09a137aa7fe029ce10e5db057 (patch)
tree03e9e0842e70ed3e121d39cc5afc693e5bbcdf27 /doc/todo/mailnotification.mdwn
parentb056a106b88de474d9899cb593b3f44ce5a52673 (diff)
downloadikiwiki-5c8351541d8bcdb09a137aa7fe029ce10e5db057.tar
ikiwiki-5c8351541d8bcdb09a137aa7fe029ce10e5db057.tar.gz
awesome new blog-based todo page
Diffstat (limited to 'doc/todo/mailnotification.mdwn')
-rw-r--r--doc/todo/mailnotification.mdwn36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/todo/mailnotification.mdwn b/doc/todo/mailnotification.mdwn
new file mode 100644
index 000000000..5aae98894
--- /dev/null
+++ b/doc/todo/mailnotification.mdwn
@@ -0,0 +1,36 @@
+Should support mail notification of new and changed pages.
+
+ Hmm, should be easy to implement this.. it runs as a svn post-coommit hook
+ already, so just look at the userdb, svnlook at what's changed, and send
+ mails to people who have subscribed.
+
+ A few details:
+ 1. [[Joey]] mentioned that being able to subscribe to globs as well as
+ explicitly named pages would be desirable.
+ 2. I think that since we're using Perl on the backend, being able to
+ let users craft their own arbitrary regexes would be good.
+
+ Joey points out that this is actually a security hole, because Perl
+ regexes let you embed (arbitrary?) Perl expressions inside them. Yuck!
+
+ It would also be good to be able to subscribe to all pages except discussion pages or the SandBox: `* !*/discussion !sandobx`, maybe --[[Joey]]
+
+ 3. Of course if you do that, you want to have form processing on the user
+ page that lets them tune it, and probably choose literal or glob by
+ default.
+
+ I think that the new globlist() function should do everything you need.
+ Adding a field to the prefs page will be trivial --[[Joey]]
+
+ The first cut, I suppose, could use one sendmail process to batch-mail all
+ subscribers for a given page. However, in the long run, I can see users
+ demanding a bit of feature creep:
+
+ 4. Each user should be able to tune whether they see the actual diff parts or
+ not.
+ 5. Each user should be able to set a maximum desired email size.
+ 6. We might want to support a user-specified shibboleth string that will be
+ included in the email they receive so they can easily procmail the messages
+ into a folder.
+
+ --[[BrandenRobinson]]