phpBB
Statistics
| Revision:

root / branches / phpBB-3_0_0 / phpBB / includes / functions_messenger.php

History | View | Annotate | Download (41.5 kB)

  • svn:eol-style: LF
  • svn:keywords: Author Date Id Revision
# Date Author Comment
10831 10/27/2010 12:30 pm Git Gatekeeper

commit 6ff403c9f8fd19e5ddf81fdf3e8bb27018b519b9
Merge: 832b09d 9819700
Author: Andreas Fischer <>
Date: Wed Oct 27 13:06:21 2010 +0200

Merge branch 'ticket/cs278/9061' into develop-olympus
  • ticket/cs278/9061:
    [ticket/9061] Simplify conditional statements by reworking the logic....
10719 08/19/2010 04:27 pm Git Gatekeeper

commit c8bb9a2d37babae707a2006b8027e96d5758d940
Merge: 18079d0 2f312b2
Author: Andreas Fischer <>
Date: Sat Jul 31 02:04:54 2010 +0200

Merge branch 'ticket/jellydoughnut/9559' into develop-olympus
  • ticket/jellydoughnut/9559:...
10460 01/26/2010 04:52 pm Nils Adermann

Do not store email templates in database. [Bug #54505]

To explain what this is about, first a short phpBB code history lesson: ;-)

r9823 originally introduced the usage of our template class for emails. The
messenger class uses set_custom_template() to initialise the template object...

10449 01/26/2010 04:11 am Josh Woody

Further fixes for r10447 and r10448. Correctly account for custom language directories (caught by naderman)

10448 01/26/2010 03:43 am Josh Woody

Remove needless check (revising r10447)

10447 01/26/2010 03:30 am Josh Woody

Fall back to board default language email template if the file does not exist user's preferred language (#35595)

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