Brion Vibber
b31d2a51cf
Handle failure of Mail::factory() gracefully
2006-10-04 23:35:29 +00:00
Rob Church
70b000f0fb
* (bug 4979) Use simplified email addresses when running on Windows
2006-08-30 13:51:37 +00:00
Brion Vibber
f7d4f86c7b
* (bug 7010) Don't send email notifications for watched talk pages when user
...
has selected to receive only updates for their own talk page
2006-08-18 01:43:33 +00:00
Tim Starling
489a4a55cf
profiling
2006-07-26 03:51:49 +00:00
Brion Vibber
3b3fe578ef
* (bug 6243) Fix email for usernames containing dots when using PEAR::Mail
2006-06-09 08:24:47 +00:00
Domas Mituzas
1aacbbf476
autoload WikiError
2006-06-06 11:51:31 +00:00
Antoine Musso
69689725c1
Switching from phpdoc to doxygen (use less than 32MB of memory).
...
Run maintenance/mwdocgen.php to generate doc in ./docs/html/ .
2006-04-19 15:46:24 +00:00
Brion Vibber
f2c29baf9f
Update the FSF's address in all these GPL stub headers
2006-04-05 07:43:17 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7
* s~\t+$~~
2006-01-07 13:31:29 +00:00
Brion Vibber
5cfddf9a82
* (bug 3407) Fix encoding of subject and from/to headers on notification
...
mails; userMailer() now takes a MailAddress wrapper object instead of
a raw string to abstract things a level.
2005-12-12 06:04:45 +00:00
Brion Vibber
1a21a9ad74
* (bug 3211) Include Date, To mail headers when using PEAR::Mail
2005-12-12 04:51:53 +00:00
Brion Vibber
d815ca352f
* (bug 4201) Fix user-talk mode for Enotif, and general code cleanup
...
- treat NULL properly in watchlist lookup for notification sending
- consolidate a lot of ugly code that fiddles in those tables
- use user_newtalk consistently in enotif mode; watchlist for email notifications, user_newtalk for on-screen message and status check
- clean up handling of other peoples' user_talk pages when in the talk-only limited enotif: only your own will get sent, not other people watching your page
- and others watching your page _will_ work in watchable enotif mode
- add a watch on page + talk page consistently for the auto-add of the user talk page, not just half the page
- don't unwatch the user talk page on view! that's just wacky
- removed UserTalkUpdate, now redundant
- have User::setNewTalk() apply immediately
- clear newtalk from User::clearNotification() and User::clearAllNotifications()
2005-12-07 11:52:34 +00:00
Antoine Musso
0db8ece2b1
* code formatting
...
* comment
* useless calls
2005-12-04 20:20:03 +00:00
Antoine Musso
2ca68a256d
Clean up unused globals!
2005-12-04 18:27:59 +00:00
Niklas Laxström
c431c9af1a
Bug 3307: Remove an if that might break timezone
2005-09-14 21:04:48 +00:00
River Tarnell
b817c0c15f
merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively.
2005-08-02 13:35:19 +00:00
Brion Vibber
ebd444b306
Remove unused use of undefined variable
2005-07-22 11:21:57 +00:00
Brion Vibber
25c2891ceb
Cleaned up email notification message formatting:
...
* Wrap long lines on output (long URLs will not themselves break, though)
* Use correct formatting of user page and watched page links
* For anon editors, don't show a special:emailuser link
* Use shorter form for Special:Watchlist/edit
2005-07-10 02:52:33 +00:00
Brion Vibber
17cc63d4d9
* Removed -f parameter from mail() usage, likely to cause failures and bounces.
2005-06-02 03:12:54 +00:00
Tim Starling
5703792bbb
Removed "show updated marker" user preference option. It's now visually inoffensive, and has no performance penalty for reads, so there's no reason users would want to have it off. System administrators may want to have it off though, since it impacts on page save performance. Also changed the watchlist header format.
2005-05-29 04:29:29 +00:00
Anders Wegge Jakobsen
e4ffbce51d
Removed what seems to be unused strings from composeCommonMailtext(). More work needs to be done.
2005-05-28 19:30:45 +00:00
Tim Starling
51c6a4b640
one wl_notificationtimestamp update query for all users, instead of one for each
2005-05-28 15:33:22 +00:00
Anders Wegge Jakobsen
481c65ce2d
* (bug 2105) Add a space between -f and the from address in the mail() call.
2005-05-22 08:32:41 +00:00
Tim Starling
554bbccf31
Attempting to get enotif into working order. Many aesthetic changes, a fair number of bug fixes too. There's also a couple of non-enotif bug fixes in this commit somewhere.
2005-05-14 17:55:04 +00:00
Brion Vibber
6ae4afa16e
Regexp in wfQuotedPrintable_name_and_emailaddr is wrong and sometimes fails under conditions not fully explored. Should be removed and replaced with cleaner interface, probably. In the meantime, wrapping in a check and adding some debug statements.
2005-04-27 21:26:39 +00:00
Brion Vibber
aed4a04076
Clean up e-mail authentication code.
...
* Add Special:Confirmemail unlisted page for requesting confirmation emails and as the destination
* There is now a confirmation token separate from the login password, which is cleaner and hopefully a lot less confusing.
* Confirmation token expires after 7 days
* Added support functions for nullable timestamp columns: wfTimestampOrNull and Database::timestampOrNull
* userMailer now returns WikiError objects
* Added convenience functions to User for email management, consolidated some checks
There are changes to the user table, so run update.php
2005-04-25 18:38:43 +00:00
Ævar Arnfjörð Bjarmason
63745ea274
* Redundant, timeanddate() no longer takes that paramater.
2005-04-10 18:42:16 +00:00
Brion Vibber
be5d748b2d
patch typo
2005-03-26 08:31:21 +00:00
Brion Vibber
a8e068a247
* (bug 1746) Make full subject line quoted-printable
...
Applied patch by Tom Gries
2005-03-26 01:21:01 +00:00
Antoine Musso
2104f62734
fix phpdoc comment
2005-01-27 19:51:47 +00:00
Antoine Musso
9f329bc6e6
phpdoc comments
2005-01-27 18:19:16 +00:00
Jens Frank
8119743253
BUG#1366 two-level string substitution
2005-01-19 22:55:06 +00:00
Brion Vibber
bd444098ef
Start up code cleanup & style on Enotif code
2004-12-18 10:23:54 +00:00
Brion Vibber
6f926c59df
Refactor a bit; move a couple methods from UserMailer (?!) to User. Use the proper $wgRequest for checking reset var, avoid notice warning.
2004-12-18 07:16:11 +00:00
Brion Vibber
798270581d
(bug 454) Merge e-notif 2.00
...
From http://bugzilla.wikipedia.org/attachment.cgi?id=171&action=view
and extra files from http://www.tgries.de/mw/cvs15+enea200-minus-cvs.tgz
Undid a couple minor bits like the broken changing of minoreditletter.
Have not yet made general corrections/reworkings. Since this changes
the user and watchlist tables, you must run the updaters (installer or
update.php) on an existing database.
2004-12-18 03:47:11 +00:00
Antoine Musso
ba2afcd9fa
Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema
2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97
Changing comments layout preparing for generated documentation with Phpdocumentor
2004-09-02 23:28:24 +00:00
Brion Vibber
e75b83abb4
Fix typo in quote conversion
2004-08-22 23:32:05 +00:00
Antoine Musso
3d60242fb5
massive double to single quotes conversion. I have not noticed any bug after a lot of testing
2004-08-22 17:24:50 +00:00
Antoine Musso
2dcf678a36
Fix sourceforge bug #811928 :
...
Removed several occurences of "\r" which break headers in Outlook at least.
Tested ok on mozilla-thunderbird and The-Bat
2004-08-15 23:48:39 +00:00
Brion Vibber
6e755caf39
Remove useless Reply-To: header which is identical to the From: header.
...
[ 956984 ] Reply-to: is a duplicate of From:
2004-08-05 01:56:46 +00:00
Antoine Musso
01d96c5508
fix bug 956984 : duplicate to: header. One fix is not tested but I added comments
2004-05-20 03:04:14 +00:00
Tim Starling
8f22cb45b1
include_once -> require_once
2004-05-07 13:43:10 +00:00
Tim Starling
1212c94eac
error message returned even for non-PEAR function
2004-04-01 13:05:20 +00:00
Brion Vibber
86610a0d7c
Shorttags fix
2004-02-28 07:08:13 +00:00
Nicholas Pisarro, Jr
ba3cde9c17
Added the ability to do an authenticated SMTP login to send mail.
...
* by setting the array variable '$wgSMTP' in Local settings,
the source will use PEAR:mail to connect to a specific
SMTP server to send mail. It will use an authenticated
login, if requested.
* Example:
$wgSMTP = array ( "host" => "smtp.wherever.com",
"IDHost" => "mail.wikipedia.org",
"port" => "25",
"auth" => true,
"username" => "mailID",
"password" => "mailPswd");
2004-02-27 12:48:07 +00:00