root / trunk / phpBB / includes / functions_messenger.php

View | Annotate | Download (38.6 KB)

  • svn:eol-style: LF
  • svn:keywords: Author Date Id Revision
# Date Author Comment
10211 10/04/2009 07:14 PM Meik Sievertsen

Copy 3.0.x branch to trunk

10178 09/22/2009 04:09 PM Meik Sievertsen

Fix getting host for situations where the name/IP is not resolvable. Related to Bug #41025
Related revisions: r9387 and r10158

10158 09/17/2009 02:39 PM Meik Sievertsen

extend r9387 - check for existance of all functions we use...

10150 09/16/2009 09:11 AM Joas Schilling

Fix #51285 and more issues with template inherence on set_custom_template
Conflict introduced with r9839 and r9823

Authorised by: AcydBurn

10052 08/25/2009 10:04 AM Meik Sievertsen

Fix possible wrong encodings in email template files in messenger. Related to bug #46725

10015 08/18/2009 02:24 PM Meik Sievertsen

we will use the non-compliant way for mail() until we further inspected PHP's source.

10014 08/18/2009 10:59 AM Meik Sievertsen

Fix email problems on servers with PHP installations not accepting RFC-compliant subject string passed to the the mail()-function. (Bug #46725)

10011 08/18/2009 02:43 AM Chris Smith

Per RFC2047 section 5 do not use quoted strings for encoded recipient names

9957 08/11/2009 05:24 PM Meik Sievertsen

allow custom template path for email files

9823 07/22/2009 09:07 AM Meik Sievertsen

Parse email text files with the template engine.
Did not check if this influences styles template cache list/purge/etc.

9530 06/03/2009 04:29 PM Chris Smith

Correctly split UTF-8 encoded strings when using mail(). #45815

9450 04/17/2009 09:08 AM Meik Sievertsen

Messenger now also able to use a custom language path. (Bug #36545)

9449 04/16/2009 03:39 PM Meik Sievertsen

fix revision r9430 - all hail the math!

9430 04/10/2009 07:54 AM Meik Sievertsen

Correctly split long subject lines according to the used RFC. This fixes extra spaces within long subjects. (Bug #43715)

9429 04/08/2009 06:08 PM Meik Sievertsen

Erm, yes, we use EOL in queue too. :/ (me is ashamed). Paul, thanks for giving me access to debug this.

9427 04/08/2009 04:40 PM Meik Sievertsen

make sure eol is set (if PHP_EOL is empty? :o)

9389 03/17/2009 03:50 PM Meik Sievertsen

Mass Email works again for users with empty jabber address but notification set to 'both'. (Bug #39755)

9387 03/17/2009 03:23 PM Meik Sievertsen

Use FQDN for SMTP EHLO/HELO command. (Bug #41025)

9364 03/11/2009 04:23 PM Meik Sievertsen

Use OS-specific line endings for mail headers. (related to Bug #42755)

9363 03/11/2009 12:53 PM Meik Sievertsen

add IN_PHPBB check to generated cache files

9208 12/19/2008 08:36 PM Chris Smith

Missing read permission from calls to phpbb_chmod()

9078 11/22/2008 08:55 PM Meik Sievertsen

Do not try to send jabber notifications if no jid entered (Bug #36775)

8971 10/06/2008 07:50 AM Meik Sievertsen

some whitespace changes and opening files in binary mode in functions_messenger

8955 09/29/2008 05:58 PM Meik Sievertsen

Use phpBB 3.1.x method for storing cached data to prevent PHP bug with our usage of var_export(). (Thanks to Techie Micheal and HoL for pointing out possible problems)

8780 08/22/2008 02:52 PM Meik Sievertsen

change the way we do chmodd'ing. I know, my implementation really sucked... good we have motivated community members who point this out. ;) Thanks to faw for providing a way better function and for discussing and also abiding to our needs. :) LEW21 should maybe credited too... he gave the inspiration without knowing it.

8763 08/16/2008 09:06 PM Meik Sievertsen

the chmod change i already had within the changelog (by mistake). This should further secure writable directories and created files.
Installation need to be tested on different hosts.

8479 03/29/2008 01:22 AM Nils Adermann

Hiding everywhere little buggers, eh?

8449 03/18/2008 03:32 PM Meik Sievertsen

Do not error out if php_uname function disabled / Authenticating on SMTP Server (Bug #22235 - patch by HoL)

8285 12/26/2007 03:53 PM

This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.

8241 11/17/2007 09:04 PM Meik Sievertsen

some further fixes
- re-introduce grabbing random number from /dev/urandom

8232 11/10/2007 05:19 PM Meik Sievertsen

fixing tiny bugs

8146 10/05/2007 04:30 PM Meik Sievertsen

dumdidum... sorry. ;)

8090 09/14/2007 04:06 PM Meik Sievertsen

- correct jabber token handling
- undisclosed-recipients:; instead of undisclosed-recipient:;
- PM details button should not be there

8075 09/02/2007 07:24 PM Meik Sievertsen

fixing some bugs

8034 08/16/2007 01:28 PM Meik Sievertsen

- two new packages... diff and utf
- only 60 chars for topic title if new post (please see changelog for explanation)
- change utf8_wordwrap (had some bugs david and nils spotted - was not really functional, sorry for this. :D)

8033 08/15/2007 07:32 PM Meik Sievertsen

some bugs fixed

8025 08/13/2007 02:14 PM Meik Sievertsen

Some changes... non-invasive...

7909 07/19/2007 10:38 PM Meik Sievertsen

again, a lot of bug fixes

7830 07/03/2007 05:36 PM Meik Sievertsen

let's see if i can break something. :o

7813 06/30/2007 05:04 PM Meik Sievertsen

some fixes...

7736 06/09/2007 01:11 PM Meik Sievertsen

ok, mess around with the templates + fixing some bugs + adjusting headers for those files already modified to circumvent conflicts for those having their editor set to remove trailing spaces (not recommended!)

7689 05/26/2007 08:20 PM Meik Sievertsen

oi^2

7687 05/26/2007 06:38 PM Meik Sievertsen

hopefully not too late in the game. Checked in new jabber class (the class done by the flyspray project). It would be nice if this could be tested with more servers - jabber.org seems to work fine...
- other fixes

7631 05/18/2007 04:33 PM Meik Sievertsen

Disable DEBUG by default, enable backtrace by default

7231 03/25/2007 06:05 PM David M

:(

7230 03/25/2007 05:58 PM David M

fopen + fread + fclose -> file_get_contents

7007 02/18/2007 02:42 PM Meik Sievertsen

fixing some bugs
more mcp links for easier moderating different aspects (all, forum, topic)
i may have introduced new bugs with this commit due to me having fixed some things weeks ago and some code changed in between - please report if you see something not working as expected.

6977 02/09/2007 03:31 PM Meik Sievertsen

those were missing

6930 01/26/2007 05:09 PM Meik Sievertsen

- fix some oddities (doubled spaces for example)
- changed the way make_forum_select() is returning the forum list - now including skipped forums but being disabled. This should make identifying the correct forum much more easier.
- Changed some permission namings based on suggestions by the community...

6915 01/21/2007 07:33 PM Meik Sievertsen

fixing some bugs, most being submitted grammatical/spelling errors.

6846 01/06/2007 08:37 PM Meik Sievertsen

tiny alterations

6840 01/05/2007 10:30 AM Meik Sievertsen

forgot to add true to the var_export function. :(

6839 01/04/2007 05:07 PM Meik Sievertsen

- use var_export instead of our format_array function [Bug #6748]
- fix dumb error in column naming [Bug #6750]
- Make sure to catch some special conditions for cpf translation as well as correctly removing/adding default values on language installation/removing [Bug #6752]

6827 01/01/2007 01:56 PM Meik Sievertsen

fix typo

6826 12/31/2006 05:56 PM Meik Sievertsen

- telling the admin for what the board contact and board email addresses are used for and also making sure this explanation is correct ;)
- fixes for bugs #6694, #6664 and #6662

6803 12/24/2006 02:11 PM Meik Sievertsen

some fixes today
- most important change is the consolidation of the display attachment functions; merging them together to have one function we need to call.

6778 12/17/2006 07:06 PM David M

- we need at least 4.3.3, "phpversion() < '4.3'" will always be false

6771 12/16/2006 01:57 PM Meik Sievertsen

fix for bug #6140 (jabber not working)

6715 12/06/2006 06:35 PM Meik Sievertsen

changes to how errors are processed by the messenger

6700 12/02/2006 05:52 PM David M

by the power of math!

6650 11/24/2006 03:59 PM Meik Sievertsen

rather large update, most important things done:
- implemented provided patch/diff file for bug #5350 (Highway of Life) with some tiny changes and alterations
- more username/colour changes/fixes
- added a note about PM rule-dependant message removals so the user is not wondering too much if he can't remember his rules. :)...

6642 11/23/2006 03:54 PM Meik Sievertsen

davidmj came up with a simpler (and working in all cases!) approach. :) Bow to him...

6640 11/23/2006 01:44 PM Meik Sievertsen

do not process if all ASCII

6639 11/23/2006 12:53 PM Meik Sievertsen

new mail_encode function to make sure we abide to the rfc but not split in-between of multibyte characters. The used method is not 100% accurate, but a good compromise between compatibility, conformance and performance.

6629 11/21/2006 07:20 PM Meik Sievertsen

decrease the barrier for E_ALL error reporting and email traces from DEBUG_EXTRA to DEBUG

6574 11/12/2006 07:44 PM Meik Sievertsen

ok, this should work now for mail() and smtpmail. We also removed the newline from the spacer for mail_encode due to php's mail() function choking up on subjects with newlines.

6565 11/11/2006 05:20 PM Meik Sievertsen

seems like capitalizing menu titles introduced some problems. :) Also it might look strange for some languages - so therefore it is better be done within the language file directly.

6564 11/11/2006 01:24 PM Meik Sievertsen

let utf8 mails work again. I hope this is not giving problems for "strange" mail setups.

6548 11/03/2006 10:05 PM Meik Sievertsen

ok, i am an idiot...

6546 11/03/2006 06:50 PM Meik Sievertsen

- make sure the sql layer for mysql always states mysql4 and get to mysql if using mysql < 4
- assign some default vars to email templates (we always need some basic ones)

6478 10/11/2006 03:48 PM Meik Sievertsen

some fixes

6436 10/03/2006 08:35 PM Meik Sievertsen

- extend config checking to include check for writeable path
- removed not utilized user_allow_email column from schema
- removed inactive groups (they had no use at all, since inactive users are not able to login)
The only benefit those brought are distinguish users - but this is no longer needed too due to the inactive code present. This also allows us to retain group memberships as well as default settings for users being set inactive due to profile changes....

6389 09/23/2006 01:10 PM Meik Sievertsen

made sql_rowseek consistent with the dbal methods as well as fixing sql_query_limit for mssql, especially if sql_query_limit($sql, 0, 0) is given...

6380 09/18/2006 12:02 AM Nils Adermann

- no more encoding mixture, say hello to UTF-8 (I'll add a validation solution for PHP 4.3.3/4 ASAP) [side effect: fixes Bug #3762]
- take local server time into consideration for birthday/age calculation
- faster active topic search
- allow changing active topic time frame [Bug #4150]...

6352 09/04/2006 10:35 PM Meik Sievertsen

- fix security issue in download.php
- fixing some phpdocumentor warnings/errors
- adjust pop-before-smtp "auth" (nowadays no one should rely on it)
- add backtrace for smtp email errors if DEBUG_EXTRA is enabled

6312 08/22/2006 11:26 PM Meik Sievertsen

some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.

6193 07/20/2006 07:55 PM Meik Sievertsen

revert a change i made (we already adjust line endings to be rfc-compliant and use \n for the php mail function as suggested by the manual)

6149 07/06/2006 06:46 PM Meik Sievertsen

some bugfixes

6114 06/22/2006 05:14 PM Meik Sievertsen

time to squash some bugs

6058 06/13/2006 11:06 PM Meik Sievertsen

make sure custom profile fields are created correctly on registration (#2225)

6057 06/13/2006 08:50 PM grahamje

Only create a session if on doesn't exist. In theory, checking for the presence of a sid should be enough to determine this.....

6048 06/11/2006 08:13 PM Meik Sievertsen

- fixed a few bugs
- added user_add() function
- check posted images ([img]) for same domain/scipt and php files
- auth_api.html updated to the coding guidelines look&feel
- introduced ability to force non page-updates (cron is using it)
- correctly resend coppa email

6046 06/11/2006 01:53 AM Nils Adermann

- allow searching for post_count = 0 [Bug #2154]
- better permission check for user search by ip
- permissions for max attachments adjusted

6034 06/10/2006 01:46 AM Nils Adermann

This looks a bit like an ugly hack, I know :(
But hopefully it will solve most of our encoding problems with jabber [Bug #1585]

6015 06/06/2006 10:53 PM Meik Sievertsen

ok, this one is rather large... the most important change:
re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different

apart from this, code cleanage, bug fixing, etc.

5973 05/27/2006 06:24 PM Meik Sievertsen

- remove description from profile fields
- added disclaimer about DEBUG_EXTRA to the ACP (i think this is needed - some idiots might think it is wise to have this enabled on a production board. :) We may let it there for the Betas though, but it will be removed during the RC's)...

5967 05/26/2006 05:04 PM Meik Sievertsen

some tiny changes...

5868 04/30/2006 02:57 PM Meik Sievertsen

give location for missing email files for better support

5867 04/30/2006 02:50 PM Meik Sievertsen

empty is only accepting vars

5866 04/30/2006 02:19 PM Meik Sievertsen

- use php_uname('n') instead of posix_uname and HTTP_HOST
- updated the authors file a bit

5859 04/29/2006 03:14 PM Meik Sievertsen

reverting changes to the installer
do not introduce a function we never call outside of common.php

5853 04/27/2006 04:20 PM Nils Adermann

- allow searches for multibyte characters in fulltext_native
- use preg_quote safely

5813 04/21/2006 10:42 PM grahamje

Porting the random number generator code over
Fingers crossed that this doesn't break anything.... ;-)

5784 04/15/2006 04:48 PM Meik Sievertsen

- fixed some bugs
- made sql schemas consistent
- added correct sequences and generators to sql schemas
- extended some rows to hold more data. This solves issues with multibyte characters and too short topic titles, names, etc.
- allow multibyte characters in usernames

5678 03/21/2006 08:23 PM Meik Sievertsen

- a bunch of bugfixes. :P

5674 03/19/2006 11:25 PM Nils Adermann

- Bug 1104: fixed a typo ($necoding => $encoding)
- Bug 1139: active_topics now has a button to submit the "Display posts from previous <time>" form
- active_topics doesn't return NULL rows anymore
- fix a padding bug in the search forum listing

5628 03/14/2006 09:13 PM grahamje

A q should be followed by a u ;-)

5622 03/13/2006 12:19 AM Meik Sievertsen

- streamlined reports to consist of the feature set we decided upon (Nils, your turn now)
- use getenv instead of $_ENV (with $_ENV the case could be wrong)
- permission fixes (there was a bug arising with getting permission flags - re-added them and handled roles deletion differently)...

5494 01/25/2006 10:01 PM Meik Sievertsen

- moved add_log out of functions_admin (this file should only be included in admin/admin-related pages)
- fixed cookie based topic tracking
- added missing config variables
- other minor things

5403 12/30/2005 12:09 PM Nils Adermann

- mt_srand in unique_id working properly (swapped usec and sec)
- mt_srand in digest_md5 removed

5321 12/05/2005 07:52 PM Meik Sievertsen

- mass email

5315 11/30/2005 06:48 PM Meik Sievertsen

- added acp_language (language pack management)
- minor adjustments to cope with PHP5.x

5241 10/02/2005 08:17 PM Meik Sievertsen

- add even more bugs to the codebase
- changed submit_pm to carry on the from userdata

5194 08/18/2005 02:44 PM Meik Sievertsen

- fixing annoying queue bug

5157 06/10/2005 08:57 PM Meik Sievertsen

- log removing posts
- fix queue saving if package size is 0
- user memberships (not used atm)

5117 04/10/2005 08:07 PM Meik Sievertsen

- added updated coding guidelines
- introduced is_registered and is_bot flags for correct determinition of guest/registered/bot users
- changed bot code to act on useragent || ip

5116 04/10/2005 01:21 PM Meik Sievertsen

- fixed custom profile field get/store
- changed tz lang array to hold more descriptive timezones (no more tz+-13, dst is a seperate option)
- fixed bugs after jabber queue processing (data being escaped differently)

5114 04/09/2005 02:26 PM Meik Sievertsen

- Documentation related changes
- added resend activation email dialog
- fixed issue in session code
- log failed/successful admin re-authentication/login
- fixed simple forum dropdown box (used in mcp and posting)

5109 03/22/2005 12:10 AM Meik Sievertsen

- and my second attempt

5023 11/06/2004 03:22 PM Meik Sievertsen

- a bunch of updates, most of them bbcode related

5003 10/19/2004 09:26 PM Meik Sievertsen

- search updates

4979 09/05/2004 11:54 AM Meik Sievertsen

lets pm working again.

4978 09/04/2004 09:32 PM Meik Sievertsen

my turn to break the forum (and at least pm's are no longer working - will not last long). HARRRR

4904 05/31/2004 08:00 PM Meik Sievertsen

- added delete cookies link
- fixed global announcement links in viewforum
- do not display redirects in link forums as posts in forum overview

4898 05/26/2004 10:32 PM Meik Sievertsen

message/mail updates

4836 02/21/2004 01:47 PM Meik Sievertsen

- put consoring and smilie processing into functions (we use them all over the place) for better changing and consistency.
- changed docs/AUTHORS to reflect the recent code re-use in functions_messenger.php
- pleasing the users a little bit more by using table constants. :D...

4805 02/07/2004 12:00 PM Meik Sievertsen

some small changes to mailing again (to better cope with invalid email addresses)

4778 02/02/2004 02:06 PM psotfx

Wordwrap message

4777 02/01/2004 10:45 PM Meik Sievertsen

send mass mail immediatly
mail priority setting added
log session (see Note)

4775 01/31/2004 08:07 PM Meik Sievertsen

small change in handling recipients. ;)

4774 01/31/2004 04:49 PM Meik Sievertsen

new smtp auth methods. :) Digest MD5 is NOT tested, all others are working fine.

4682 11/23/2003 11:25 PM Meik Sievertsen

my attempt to break things...

4600 10/14/2003 03:30 PM psotfx

opsie

4599 10/14/2003 03:24 PM psotfx

Don't trigger_error when connect fails in queue, continue queue processing of next object on email/jabber failure

4595 10/13/2003 07:41 PM psotfx

Moved queue handling back to common ... forgot to introduce session start when error handling ... oopsie

4592 10/13/2003 01:33 AM psotfx

Minor changes

4591 10/12/2003 10:38 PM psotfx

Add jabber port, ignore queue lock if older than queue_interval ... probably means it didn't complete (this queue business may cause us problems ...)

4583 10/12/2003 05:29 PM psotfx

Updated the various "users of emailer", fixed issue(!) of jabber using the email address as the uid, blah fixes, blah, blah di blah yakety smackety

4578 10/12/2003 01:59 PM psotfx

Let's break lots of things

4558 10/12/2003 01:59 AM psotfx

oopsie, $fp no longer exists, using lock file instead

4553 10/12/2003 01:51 AM psotfx

Merge email and IM (jabber) messaging