Andreas Fischer
86fa185a1b
Merge branch 'ticket/10605' into develop-olympus
...
* ticket/10605:
[ticket/10605] Use database updater function _sql() instead of $db->sql_query()
[ticket/10605] Put end of array on its own line because start of array is too.
[ticket/10605] Add parameter documentation to phpbb_delete_user_pms
[ticket/10605] Fix left join usage.
[ticket/10605] Add a section for updating from 3.0.10 to schema updates.
[ticket/10605] Fix syntax error in database updater.
[ticket/10605] Reset user´s pm count to 0 when deleting his PMs
[ticket/10605] Split query to be able to use indexes
[ticket/10605] Rename $delete_rows to $delete_ids.
[ticket/10605] Break long comment into multiple lines 80 chars short.
[ticket/10605] Remove unnecessary $delete_ids array.
[ticket/10605] Remove unnecessary array_keys calls on $delete_rows.
[ticket/10605] Remove unused variable declarations.
[ticket/10605] Turn $undelivered_user into a real array of counters.
[ticket/10605] Use unset() instead of checking user_id over and over again.
[ticket/10605] Prefix function with phpbb_ and use true instead of 1
[ticket/10605] Delete orphan private messages on update
[ticket/10605] Check for orphan privmsgs when deleting a user
Conflicts:
phpBB/install/database_update.php
2012-05-14 00:38:54 +02:00
Joas Schilling
4b6b41a1e5
[ticket/10605] Add parameter documentation to phpbb_delete_user_pms
...
PHPBB3-10605
2012-04-13 16:26:41 +02:00
Joas Schilling
b9324577ac
[ticket/10605] Reset user´s pm count to 0 when deleting his PMs
...
PHPBB3-10605
2012-03-27 17:32:55 +02:00
Joas Schilling
0397b46217
[ticket/10605] Split query to be able to use indexes
...
PHPBB3-10605
2012-03-27 17:29:03 +02:00
Andreas Fischer
9c8aab4d32
[ticket/10605] Rename $delete_rows to $delete_ids.
...
PHPBB3-10605
2012-03-27 02:02:17 +02:00
Andreas Fischer
ad073d22b9
[ticket/10605] Break long comment into multiple lines 80 chars short.
...
PHPBB3-10605
2012-03-27 01:43:09 +02:00
Andreas Fischer
dd53d0576d
[ticket/10605] Remove unnecessary $delete_ids array.
...
PHPBB3-10605
2012-03-27 01:39:49 +02:00
Andreas Fischer
9040f18d7c
[ticket/10605] Remove unnecessary array_keys calls on $delete_rows.
...
PHPBB3-10605
2012-03-27 01:35:01 +02:00
Andreas Fischer
dbc7a69ad2
[ticket/10605] Remove unused variable declarations.
...
PHPBB3-10605
2012-03-27 01:30:52 +02:00
Andreas Fischer
2203bc204e
[ticket/10605] Turn $undelivered_user into a real array of counters.
...
PHPBB3-10605
2012-03-27 01:29:29 +02:00
Andreas Fischer
e8830f605f
[ticket/10605] Use unset() instead of checking user_id over and over again.
...
PHPBB3-10605
2012-03-27 01:18:02 +02:00
rxu
5a9dd1994f
[ticket/10684] Adjust function and parameter name, minor changes.
...
PHPBB3-10684
2012-03-22 21:19:01 +08:00
Joas Schilling
ba6943a6a0
[ticket/10605] Prefix function with phpbb_ and use true instead of 1
...
PHPBB3-10605
2012-03-12 10:11:52 +01:00
rxu
da395edbca
[ticket/10684] Remove intval mapping for array keys
...
PHP manual for arrays http://php.net/manual/en/language.types.array.php states
that the following key cast will occur: Strings containing valid integers will
be cast to the integer type. E.g. the key "8" will actually be stored under 8.
Thus, no intval mapping for numeric array keys is needed.
PHPBB3-10684
2012-03-12 01:47:28 +08:00
rxu
321d0d9b56
[ticket/10684] Adjust pm_notifications() to handle stale bans
...
- Add parameter (array) to the function phpbb_get_banned_users_ids()
- Fix function pm_notification() to handle users with stale bans
PHPBB3-10684
2012-03-12 01:44:00 +08:00
Joas Schilling
17f5c6bf71
[ticket/10605] Check for orphan privmsgs when deleting a user
...
Also moved the hole code into a new function.
PHPBB3-10605
2012-02-18 12:00:12 +01:00
Igor Wiedler
2b3effb13c
[ticket/8616] Include old U_INBOX var for BC
...
PHPBB3-8616
2011-11-11 22:34:45 +01:00
Igor Wiedler
39f6d58315
[ticket/8616] Rename U_INBOX to U_VIEW_MESSAGE
...
PHPBB3-8616
2011-10-13 19:28:46 +02:00
Alan
f7c1341402
[ticket/8616] Direct links in pm notification emails
...
Import the "Direct links in pm notification emails" modification,
version 1.0.1.
PHPBB3-8616
2011-10-13 19:17:56 +02:00
Joas Schilling
2455a744e6
[ticket/7716] Data too long for column 'message_subject'
...
PHPBB3-7716
2010-08-21 15:14:16 -04:00
Josh Woody
15d7010d46
[ticket/9757] Fix empty template variable {HISTORY_TITLE}
...
The template variable {HISTORY_TITLE} was always being set to the empty string.
It is now filled with the title of the currently displayed message. It is not
showed in prosilver or subsilver2 for aesthetic reasons (title is already
prominent)
PHPBB3-9757
2010-07-29 13:19:19 -05:00
Chris Smith
f150bb8281
Do not permit unauthorised users to delete private messages from folder listing. #54355
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10322 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-12-11 22:27:00 +00:00
Joas Schilling
2e40ba022d
Fix Bug #51655 - Missing global vars phpbb_root_path & phpEx
...
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10165 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-09-19 12:21:39 +00:00
Andreas Fischer
57ed7fd088
Bug #39505 , r9677 - Add integer casting and allow array to be empty. Unset array when no longer needed.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10092 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-09-03 13:44:16 +00:00
Meik Sievertsen
0e98a3aee8
Even if the recipient of a PM is now inactive (for whatever reason) still display the information in PM recipient lists and do not hide it
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9918 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-04 13:08:26 +00:00
Meik Sievertsen
2958890439
Apply locale-independent basename() to attachment filenames. New function added: utf8_basename(). (Bug #43335 - Patch by ocean=Yohsuke)
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9905 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-01 12:28:50 +00:00
Meik Sievertsen
78b1c4caaa
Do not send private message back to sender if sender is in the same group the private message was sent to.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9876 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-27 15:05:59 +00:00
Nils Adermann
6e4a7c03d1
Users can report PMs to moderators which are then visible in a new MCP module
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9814 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-21 20:59:11 +00:00
Joas Schilling
d39d8481cf
Change bug #39505 - Pm history only shows pms of the receipts you currently reply to
...
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9677 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-26 10:07:59 +00:00
Joas Schilling
9c795870f9
Fix bug #37285 - [Change] Add quote-button for own pm's in pm-history
...
Authorised by: ToonArmy
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9671 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-24 21:13:53 +00:00
Andreas Fischer
0c57363fbc
Fix bug #46065 - Correctly show private message history
...
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9561 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-06-08 10:05:44 +00:00
Meik Sievertsen
e35b5c26e6
Fix skipping messages if using next/prev PM in history links. (Bug #22205 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9441 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-12 13:21:25 +00:00
Meik Sievertsen
e461162847
Fix race condition for updating post/topic/etc. counter. (reported by BartVB)
...
please do not try such fixes at home - the correct solution would be to create a second config table with integer columns. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9398 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-19 17:01:59 +00:00
Chris Smith
b86722d509
Fix regression introduced in r8951 #34985
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8993 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-10-10 17:38:17 +00:00
Meik Sievertsen
ed4797bb4e
Check users pm preferences for pm's sent to groups. (Bug #33245 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8964 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-30 15:49:10 +00:00
Chris Smith
7de4563d05
Add quoting support to PM history when composing a reply. #34285
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8951 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-27 11:38:42 +00:00
Meik Sievertsen
e12fce5f3d
Correctly delete message attachments. (Bug #23755 ) Also revamped and simplified delete_attachments() - it looks like we did not touch it for a long long time.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8890 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-19 15:39:43 +00:00
Meik Sievertsen
54db19aef0
#27855
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8567 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-05-26 12:00:17 +00:00
Meik Sievertsen
af8cb0674b
#24665
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8521 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-04-21 13:20:13 +00:00
Meik Sievertsen
325ff1fa1b
One commit for those fixes having a very tiny impact (mostly only whitespaces or forgotten spans, etc.)
...
Although i somehow mistakingly got #20445 and #15249 into it. :/
Removing s_watching_img from watch_topic_forum() function (Bug #20445 )
Changing order for post review if more than one post affected (Bug #15249 )
Language typos/fixes (Bug #20425 , #15719 , #15429 , #14669 , #13479 )
Style/Template fixes (Bug #20065 , #19405 , #19205 , #15028 , #14934 , #14821 , #14752 , #14497 , #13707 , #14738 )
Tiny code fixes (Bug #20165 , #20025 , #19795 , #14804 )
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8350 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-01-30 16:01:15 +00:00
Meik Sievertsen
8c26e780e3
- fix pm not_moved/removed retrieval (it was switched)
...
- cache db-size retrieval (saves a lot of seconds for very large boards)
git-svn-id: file:///svn/phpbb/trunk@8231 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-11-07 10:45:38 +00:00
Meik Sievertsen
ac88c61e63
- fix images off, css on problem for post/reply buttons
...
- changed calculating new/unread pm count to no longer rely on code logic, but apply all rules, operate on messages and then re-calculating after delivery.
git-svn-id: file:///svn/phpbb/trunk@8229 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-11-06 11:15:38 +00:00
Meik Sievertsen
bc0898f55e
fixing some annoying bugs
...
git-svn-id: file:///svn/phpbb/trunk@8204 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-10-19 13:10:13 +00:00
Meik Sievertsen
e6c79242e6
dumdidum... sorry. ;)
...
git-svn-id: file:///svn/phpbb/trunk@8146 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-10-05 14:30:11 +00:00
Meik Sievertsen
951f793dae
some fixes. :P
...
- language authors may review their email template files...
git-svn-id: file:///svn/phpbb/trunk@8092 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-09-18 14:49:19 +00:00
Meik Sievertsen
feee13f962
fixing some language and style bugs...
...
git-svn-id: file:///svn/phpbb/trunk@8079 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-09-05 13:33:18 +00:00
Meik Sievertsen
ff3843b39e
- make sure the copyright/disclaimer is consistent
...
- two fixes...
git-svn-id: file:///svn/phpbb/trunk@8061 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-08-21 15:09:52 +00:00
Nils Adermann
d104d3d969
- BBCode parsing order should ALWAYS be censor_text(), bbcode_secon_pass(), bbcode_nl2br(), smiley_text(), parse_attachments()
...
- using \r on custom bbcodes to allow line breaks [Bug #10758 ]
git-svn-id: file:///svn/phpbb/trunk@8050 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-08-19 13:40:53 +00:00
Meik Sievertsen
2bbd2fb1f9
some bugs fixed
...
git-svn-id: file:///svn/phpbb/trunk@8033 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-08-15 17:32:48 +00:00
Meik Sievertsen
e9188d4e05
Some changes... non-invasive...
...
git-svn-id: file:///svn/phpbb/trunk@8025 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-08-13 12:14:07 +00:00