aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop-olympus' into developIgor Wiedler2012-03-311-1/+8
|\ | | | | | | | | | | | | * develop-olympus: [Ticket/10675] Correct language string ATTACH_DISK_FULL [feature/event-dispatcher] Adding composer.phar to .gitignore for olympus [ticket/10675] Add disk full language string when posting attachments
| * Merge remote-tracking branch 'Dickyf/ticket/10675' into develop-olympusIgor Wiedler2012-03-311-1/+8
| |\ | | | | | | | | | | | | | | | * Dickyf/ticket/10675: [Ticket/10675] Correct language string ATTACH_DISK_FULL [ticket/10675] Add disk full language string when posting attachments
| | * [ticket/10675] Add disk full language string when posting attachmentsRichard Foote2012-03-191-1/+8
| | | | | | | | | | | | | | | | | | | | | Add language string visible by admins only for when the disk does not have enough free space to upload attachments. PHPBB3-10675
* | | Merge branch 'develop-olympus' into developAndreas Fischer2012-03-221-26/+20
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10684] Adjust function and parameter name, minor changes. [ticket/10684] Rename function phpbb_get_banned_users_ids() parameter [ticket/10684] Remove intval mapping for array keys [ticket/10684] Adjust pm_notifications() to handle stale bans [ticket/10684] Cast user_id to integer [ticket/10684] Refactor $sql_ignore_users array update [ticket/10684] Remove isset() for $sql_ignore_users update [ticket/10684] Fix 2 typos in comment lines. [ticket/10684] Send notifications for users with stale bans Conflicts: phpBB/includes/functions_user.php
| * | [ticket/10684] Adjust function and parameter name, minor changes.rxu2012-03-221-2/+2
| | | | | | | | | | | | PHPBB3-10684
| * | [ticket/10684] Cast user_id to integerrxu2012-03-111-5/+7
| | | | | | | | | | | | PHPBB3-10684
| * | [ticket/10684] Refactor $sql_ignore_users array updaterxu2012-03-101-10/+3
| | | | | | | | | | | | PHPBB3-10684
| * | [ticket/10684] Remove isset() for $sql_ignore_users updaterxu2012-03-091-4/+1
| | | | | | | | | | | | PHPBB3-10684
| * | [ticket/10684] Fix 2 typos in comment lines.rxu2012-03-091-1/+1
| | | | | | | | | | | | PHPBB3-10684
| * | [ticket/10684] Send notifications for users with stale bansrxu2012-03-081-17/+19
| |/ | | | | | | PHPBB3-10684
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-03-021-0/+14
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/8652] Comment for also updating forum watch table in user_notification. [ticket/8652] Sending 2 emails on 2 replies
| * [ticket/8652] Comment for also updating forum watch table in user_notification.Andreas Fischer2012-03-021-2/+10
| | | | | | | | PHPBB3-8652
| * [ticket/8652] Sending 2 emails on 2 repliesBruno Ais2012-03-021-0/+6
| | | | | | | | | | | | | | | | | | | | This is a fix for the problem of the system sending 2 emails when there are 2 replies to a topic where the user is subscribed in a topic and the forum that contains the topic. This simple fix seems to solve the problem. In simple tests I made it shows it does. PHPBB3-8652
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | | | | | PHPBB3-9916
* | Merge remote-tracking branch 'nickvergessen/ticket/10484' into developOleg Pudeyev2011-11-241-5/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/10484: [ticket/10484] Use variables for sql_build_query() calls Conflicts: phpBB/includes/mcp/mcp_front.php
| * | [ticket/10484] Use variables for sql_build_query() callsJoas Schilling2011-11-211-5/+6
| | | | | | | | | | | | | | | | | | It's easier for mods/extensions to extend the arrays. PHPBB3-10484
* | | Merge remote-tracking branch 'naderman/feature/extension-manager' into developIgor Wiedler2011-11-191-7/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * naderman/feature/extension-manager: (67 commits) [feature/extension-manager] Removing now unused acp_search code [feature/extension-manager] Split disabling extensions up into steps as well [feature/extension-manager] Add documentation on caching in ext finder [feature/extension-manager] Reference correct new module basenames in install [feature/extension-manager] Rename default methods to core methods on finder. [feature/extension-manager] Document what the class loader stores in cache [feature/extension-manager] Add docblock to cached paths map in class loader [feature/extension-manager] Clear up docs of extension related template changes [feature/extension-manager] Use "core files" instead of "global files" in docs [feature/extension-manager] Add docblocks to new search backend methods [feature/extension-manager] Add docblocks to new methods in functions_module [feature/extension-manager] Clarify comment on ext meta class instantiator [feature/extension-manager] Add more info on suffixes in extension finder [feature/extension-manager] Clarify is_dir parameter description [feature/extension-manager] Clarify class finding method docblock [feature/extension-manager] Correct default path comment & remove double strlen [feature/extension-manager] Fix "disbale" typo in comment [feature/extension-manager] Properly remove old ACP language loading code [feature/extension-manager] Support extensions in subdirectories of ext/ [feature/extension-manager] Add prefix to extension meta data / install classes ...
| * | | [feature/extension-manager] Make search backends loadable from extensionsNils Adermann2011-09-291-7/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | Search backends are now required to be autoloadable. The database updater to 3.1 tries to guess the class name as phpbb_search_<oldname> which works for the default backends we ship. PHPBB3-10323
* | | Merge branch 'develop-olympus' into developNils Adermann2011-11-181-4/+4
|\ \ \ | |/ / |/| / | |/ | | * develop-olympus: [ticket/9776] Delete poll if no poll options were submitted.
| * [ticket/9776] Delete poll if no poll options were submitted.Joas Schilling2011-11-181-4/+4
| | | | | | | | PHPBB3-9776
* | [ticket/9608] Remove use of references in topic_reviewIgor Wiedler2011-08-141-1/+1
| | | | | | | | PHPBB3-9608
* | Merge branch 'develop-olympus' into developNils Adermann2011-06-101-0/+102
|\ \ | |/ | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/6712] Properly explain result of setting the bump interval to 0. [ticket/6712] Add phpbb_ function name prefix, more docs, rename current_time [ticket/6712] Pass $post_data by the value instead of by the reference. [ticket/6712] Bump does not create new topic icon on index. Conflicts: phpBB/includes/functions_posting.php
| * Merge branch 'ticket/rxu/6712' into develop-olympusNils Adermann2011-06-101-0/+102
| |\ | | | | | | | | | | | | | | | | | | | | | * ticket/rxu/6712: [ticket/6712] Properly explain result of setting the bump interval to 0. [ticket/6712] Add phpbb_ function name prefix, more docs, rename current_time [ticket/6712] Pass $post_data by the value instead of by the reference. [ticket/6712] Bump does not create new topic icon on index.
| | * [ticket/6712] Add phpbb_ function name prefix, more docs, rename current_timerxu2011-05-011-10/+21
| | | | | | | | | | | | PHPBB3-6712
| | * [ticket/6712] Pass $post_data by the value instead of by the reference.rxu2011-04-031-1/+1
| | | | | | | | | | | | PHPBB3-6712
| | * [ticket/6712] Bump does not create new topic icon on index.rxu2010-10-181-0/+91
| | | | | | | | | | | | | | | | | | Handle the topic bumping process more properly. PHPBB3-6712
* | | [ticket/9693] Removed useless $auth globalizations.Oleg Pudeyev2011-04-301-2/+2
| | | | | | | | | | | | PHPBB3-9693
* | | [ticket/7252] Removed an outdated comment pertaining to PHP 4.x.Oleg Pudeyev2011-04-171-1/+0
| | | | | | | | | | | | PHPBB3-7252
* | | [ticket/9684] Remove code in some more files especially includes/Joas Schilling2011-04-071-176/+24
| | | | | | | | | | | | | | | | | | Topic-Tracking is still missing. PHPBB3-9684
* | | Merge branch 'develop-olympus' into developOleg Pudeyev2011-02-241-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9874] view_log() performs unneeded count query over all log entries. [ticket/7834] Topic time didn't update when first post was deleted [ticket/9997] Fixed an inconsistency in the Moderator Control Panel [ticket/9872] Removed some useless code that broke delete_posts
| * | [ticket/7834] Topic time didn't update when first post was deletedCallum Macrae2011-02-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the first post of a topic was deleted, the topic time didn't update - it should have changed to the time of the next post. This commit simply applies lefty74's patch posted in the ticket. It gets the post time of the next post from the database, and updates the thread accordingly. This patch is not my work at all and all credits go to lefty74, I just transferred it onto GitHub PHPBB3-7834
* | | Merge branch 'develop-olympus' into developIgor Wiedler2011-01-101-1/+1
|\ \ \ | |/ /
| * | [ticket/9764] Allow $config['mime_triggers'] to be an empty string.Andreas Fischer2010-10-281-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | explode('|', '') and explode('|', NULL) both return array(0 => '') which can cause filespec::check_content() to reject everything starting with a '<' character in case $config['mime_triggers'] is an empty string or not set. fileupload::set_disallowed_content() now filters out empty strings by calling array_diff() on the passed array, so setting $config['mime_triggers'] to an empty string will turn off mime checking completely. On the other side we want to fail safe if $config['mime_triggers'] is not set at all. To do this, the array fileupload::$disallowed_content now contains some default strings to be filtered out. PHPBB3-9764
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* | Merge branch 'develop-olympus' into developIgor Wiedler2010-09-161-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9609] Change header() calls setting HTTP status to send_status_line(). [ticket/9613] Slightly update language strings. [ticket/9613] Fix missing database part for unread posts search load switch. [ticket/9613] Implement a load switch for unread posts search feature. [ticket/9785] Allow users to request new passwords when board is disabled. [ticket/9644] Check $mode before calling user_notification() from submit_post()
| * Merge branch 'ticket/bantu/9644' into develop-olympusIgor Wiedler2010-09-161-1/+1
| |\ | | | | | | | | | | | | * ticket/bantu/9644: [ticket/9644] Check $mode before calling user_notification() from submit_post()
| | * [ticket/9644] Check $mode before calling user_notification() from submit_post()Andreas Fischer2010-07-231-1/+1
| | | | | | | | | | | | PHPBB3-9644
* | | [ticket/7252] Replace magic values with PHP constants.Chris Smith2010-09-101-8/+9
|/ / | | | | | | | | | | | | get_supported_image_types() in includes/functions_posting.php contained the values of PHP constants hardcoded instead of using the constants. PHPBB3-7252
* | [ticket/9635] Useless parameter $data['post_time'] in function submit_post.Joas Schilling2010-08-191-1/+1
|/ | | | PHPBB3-9635
* [ticket/9147] "Change topic type"-option "Normal" always selected.Joas Schilling2010-05-281-1/+1
| | | | PHPBB3-9147
* [feature/notify_status] Define'd constants for notify_statusMark2010-05-161-8/+8
| | | | | | | define'd constants NOTIFY_YES, NOTIFY_NO to replace magic numbers in forums_watch table and topics_watch table PHPBB3-9179
* [ticket/9529] Topic review is not showing all selected posts.Joas Schilling2010-05-161-1/+1
| | | | PHPBB3-9529
* Bug #54945 again: MySQL 4 does not support aggregation in ORDER BY.Marek A. Ruszczyński2010-03-021-2/+2
| | | | | | Moved the MIN(smiley_order) to the SELECT column list now, so it can be used for sorting on MySQL 4, but also still works on MSSQL, which the bug was originally about.
* Fix Bug #57455 - Fix problems with firebird by no longer using 'count' as a ↵Andreas Fischer2010-02-081-1/+1
| | | | | | column alias. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10484 89ea8834-ac86-4346-8a33-228a782c2dd0
* [Fix] Do not automatically unsubscribe users from topics, when email and ↵Joas Schilling2010-01-241-1/+1
| | | | | | | | jabber is disabled. Authorised by: bantu git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10436 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix for #54945Marek A. R2009-12-241-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10378 89ea8834-ac86-4346-8a33-228a782c2dd0
* Ability to define constant PHPBB_USE_BOARD_URL_PATH to use board url for ↵Meik Sievertsen2009-08-171-1/+3
| | | | | | | | images/avatars/ranks/imageset... This feature does not change anything for those not using the constant and this feature is also quite in-flux. We need to test this with some applications and bridges and there may be other locations able to benefit from it. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10008 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix r9955 for Bug #49435Meik Sievertsen2009-08-121-2/+3
| | | | | | (Since $update_message was true in submit_post() the non-parsed text had been entered into the db [because $update_message was false before]) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9959 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix r9927 - of course isset()Meik Sievertsen2009-08-051-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9929 89ea8834-ac86-4346-8a33-228a782c2dd0
* submit_post() now accepts force_approved_state key passed to $data to ↵Meik Sievertsen2009-08-051-0/+8
| | | | | | indicate new posts being approved (true) or unapproved (false). git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9927 89ea8834-ac86-4346-8a33-228a782c2dd0