Commit Graph

16 Commits

Author SHA1 Message Date
Alex Schroeder
d7a1a5cc74 mail.pl: adapt to changes in the footer 2014-11-23 21:43:35 +01:00
Alex Schroeder
c8f606f9dc $q->endform to $q->end_form
When updating to CGI 4.06, it turns out that $q->endform
is no longer defined.
2014-10-10 16:43:01 +02:00
Alex Schroeder
e6d3ad8382 Fixed typo in AddModuleDescription sub name 2014-08-21 22:23:23 +02:00
Alex Schroeder
17bd795ef0 Automatically reformatted modules 2014-08-21 07:29:46 +03:00
Alex Schroeder
cc1e22810d Another fix for mail.pl... 2013-01-13 01:04:19 +01:00
Alex Schroeder
04e0f631fd Fix subscription migration for mail.pl 2013-01-13 00:57:58 +01:00
Alex Schroeder
429d346661 Added migration of subscriptions to mail.pl and tests. 2013-01-13 00:45:58 +01:00
Alex Schroeder
275376006e Fix encoding issues with the use of DB_File in mail.pl.
This also fixes the tests. Also get rid of wide character in print by
Test::Builder by adding the fix mentioned in the Test::More manpage.

The DB_File issue was necessary because a page name with an EN DASH
caused the script to crash, thus not printing the footer.
Unfortunately, this is solved by URL-encoding keys and values. This
means that your old mail.db is going to be invalid!
2013-01-12 23:55:08 +01:00
Alex Schroeder
c9e39a4c19 getting rid of $Id$ tags in $WikiDescription
Replaced the $Id$ tags in $WikiDescription for all the modules and wiki.pl itself with a link to the source and an appropriate wiki page, if possible. This is shown in action=version and should help users figure out what another wiki has installed.
2012-04-19 02:18:45 +02:00
Alex Schroeder
1034864867 (DraftCleanup): Delete it again. Brainfart. 2011-01-16 03:39:50 +00:00
Alex Schroeder
46b2eb1a26 (DraftCleanup): New subroutine. Add it to
@MyMaintenance.
2011-01-16 03:37:52 +00:00
Alex Schroeder
9ece0e4640 (MailNewSave): Only subscribe to a page to be
saved if that's also the page the user wants to save according to
GetId(). This is needed when saving a page X will also change
another page Y. GetId() will return X in both cases, so this code
is only triggered once.
2009-08-29 23:50:46 +00:00
Alex Schroeder
b2de79db59 (MailNewGetFooterTimestamp): Allow people to subscribe to pages even
if no email address has been set.
(DoMailSubscriptions): Provide a link to change the email address.
(DoMailSubscribe): If no mail is provided, allow to subscribe and
ask for an email address.
2009-06-07 14:09:57 +00:00
Alex Schroeder
0da5ec7394 (MailNewGetFooterTimestamp): New function to
allow people to subscribe to ordinary pages once they have their
email subscription set.
2009-06-07 13:46:52 +00:00
Alex Schroeder
453d758130 ($MailPattern): New.
(MailNewInitCookie): New.
(MailNewGetCommentForm): Added subscribe/unsubscribe link.
(MailIsSubscribed): New.
(NewMailDeletePage, MailAddSubscription): New.
(MailMenu): Added link to "All mail subscriptions".
(DoMailSubscriptions): Added unsubscription links.
(DoMailSubscriptionList): Support HTML output.
(MailLink): New.
(DoMailSubscribe, DoMailUnsubscribe): New.
(MailUnsubscribe): New.
(MailAddSubscription, MailSubscribe): Renamed to MailSubscribe.
2009-06-04 06:40:58 +00:00
Alex Schroeder
1fe2527c5f Work in progress 2009-05-17 22:43:50 +00:00