Commit Graph

22 Commits

Author SHA1 Message Date
Aleks-Daniel Jakimenko
3a57912585 No more undefined map behaviour in scalar context (now in modules) 2015-05-02 04:11:36 +03:00
Aleks-Daniel Jakimenko
40ec24349a No more "*Sub = *NewSub", \&NewSub used instead. (Partial progress) 2015-04-11 23:41:33 +03:00
Aleks-Daniel Jakimenko
6f8d281d79 No more "use vars"! 2015-04-10 13:31:28 +03:00
Alex Schroeder
026478b1f0 mail.pl: added missing licence 2015-03-28 14:12:26 +01:00
Aleks-Daniel Jakimenko
d84d0c6b9b mail.pl: There is no reason to have module-global %h 2015-03-27 12:58:53 +02:00
Aleks-Daniel Jakimenko
4492ede096 "use strict;" in modules (some modules have problems) 2015-03-27 03:01:01 +02:00
Alex Schroeder
cb6a6bf4a6 mail.pl: adapt to changes in the footer 2014-11-23 21:43:35 +01:00
Alex Schroeder
7ae98f4ed9 $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
5aba2ae56f Fixed typo in AddModuleDescription sub name 2014-08-21 22:23:23 +02:00
Alex Jakimenko
ee932dee37 Automatically reformatted modules 2014-08-21 07:29:46 +03:00
Alex Schroeder
fd9a715634 Another fix for mail.pl... 2013-01-13 01:04:19 +01:00
Alex Schroeder
957729fd5d Fix subscription migration for mail.pl 2013-01-13 00:57:58 +01:00
Alex Schroeder
23fb0cf18b Added migration of subscriptions to mail.pl and tests. 2013-01-13 00:45:58 +01:00
Alex Schroeder
8e72af0a45 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
f11e2a8731 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
3095d86e76 (DraftCleanup): Delete it again. Brainfart. 2011-01-16 03:39:50 +00:00
Alex Schroeder
6caa5cae5a (DraftCleanup): New subroutine. Add it to
@MyMaintenance.
2011-01-16 03:37:52 +00:00
Alex Schroeder
4d4c13a60d (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
df8a230990 (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
be5f69d0e3 (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
c43879a65e ($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
afdfb444b0 Work in progress 2009-05-17 22:43:50 +00:00