aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12612] Prefix upload_popup() with phpbb_Joas Schilling2014-06-231-1/+1
| | | | PHPBB3-12612
* [ticket/12612] Prefix handle_post_delete() with phpbb and remove unused globalJoas Schilling2014-06-231-2/+2
| | | | PHPBB3-12612
* [ticket/12612] Move functions from posting.php to functions_posting.phpJoas Schilling2014-06-181-0/+134
| | | | PHPBB3-12612
* Merge pull request #2357 from Nicofuma/ticket/11942Joas Schilling2014-05-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/11942] Delete post/topic reason should be added to logs * Nicofuma/ticket/11942: [ticket/11942] Don't change the reason to '' when hard deleting [ticket/11942] Don't show the checkbox if the post is already soft-deleted [ticket/11942] Remove useless IF in templates [ticket/11942] Apply the modifications to subsilver [ticket/11942] Always display delete reason [ticket/11942] Edits messages [ticket/11942] Change the formulation [ticket/11942] Adding the reason to hard deleted topic/post [ticket/11942] Delete post/topic reason should be added to logs
| * [ticket/11942] Edits messagesNicofuma2014-05-041-1/+1
| | | | | | | | PHPBB3-11942
* | [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | | | | | PHPBB3-12594
* | [ticket/12357] Support routes in generate_smilies() function.Cesar G2014-05-051-2/+2
|/ | | | PHPBB3-12357
* Merge remote-tracking branch 'github-nickvergessen/ticket/12273' into ↵Nils Adermann2014-05-021-3/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12273: (55 commits) [ticket/12273] Move $extension to constructor so the path is always set [ticket/12273] Find events.md relative from the path not the phpbb root [ticket/12273] Do not look in extensions docs/ and tests/ directory [ticket/12273] Also check file for adm "Location:" events [ticket/12273] Do not allow template events in non-html files [ticket/12273] Fix return description [ticket/12273] Update exporter to allow specifying an extension [ticket/12273] Allow to filter events for extensions [ticket/12273] Remove old parameter from function call [ticket/12273] Fix table header for adm events [ticket/12273] Add root path to recursive_event_filter_iterator [ticket/12273] Fix missing classes in export_events_for_wiki.php [ticket/12273] Use RecursiveDirectoryIterator with filter in php_exporter [ticket/12273] Use RecursiveDirectoryIterator in md_exporter [ticket/12273] Fix doc blocks [ticket/12273] Do not allow 3.1-A1 for template events [ticket/12273] Sort arguments alphabetically before exporting [ticket/12273] Do not allow 3.1-A1 version [ticket/12273] Update since version to 3.1.0-a* style [ticket/12273] Update existing events ...
| * [ticket/12273] Update since version to 3.1.0-a* styleJoas Schilling2014-04-251-1/+1
| | | | | | | | PHPBB3-12273
| * [ticket/12273] Update existing eventsJoas Schilling2014-04-251-2/+10
| | | | | | | | PHPBB3-12273
| * [ticket/12273] Fix long $vars lines for existing eventsJoas Schilling2014-04-241-1/+2
| | | | | | | | PHPBB3-12273
| * [ticket/12273] Fix missing $vars lineJoas Schilling2014-04-181-1/+2
| | | | | | | | PHPBB3-12273
| * [ticket/12273] Fix invalid @event and @since tagsJoas Schilling2014-04-181-1/+1
| | | | | | | | PHPBB3-12273
* | Merge remote-tracking branch 'github-nickvergessen/ticket/12371' into ↵Nils Adermann2014-05-021-27/+45
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12371: [ticket/12371] Fix language string [ticket/12371] Fix typos in comment [ticket/12371] Fix redirect link for approve_post and post_in_queue [ticket/12371] Delete the approve_post notification when editing a post [ticket/12371] Fix language in comment [ticket/12371] Reapprove the post and topic again in tests [ticket/12371] Correctly set is_starter when editing first post of the topic [ticket/12371] Add functional tests for reapproving [ticket/12371] Fix query in mcp_sorting() [ticket/12371] Rename disapprove and softdelete tests [ticket/12371] We do not group quote notifications anymore [ticket/12371] Fix SQL query [ticket/11772] Do not send out new topic/post notifications when reapproving [ticket/12052] Use different visibility when post was edited [ticket/12052] Add support for ITEM_UNAPPROVED to set_post_visibility method [ticket/12371] Do not add unlimited users as responders [ticket/12371] Do not update the notification entry unneccessarily [ticket/12371] Do not delete post related notifications when a post is deleted [ticket/12371] Allow notification types to redirect to a different url [ticket/12371] Do not group "quote" notifications
| * | [ticket/12371] Delete the approve_post notification when editing a postJoas Schilling2014-04-251-0/+8
| | | | | | | | | | | | | | | | | | | | | We need to delete the initial approve notification, so we can notify the user again, when his post got reapproved. PHPBB3-12371
| * | [ticket/12371] Correctly set is_starter when editing first post of the topicJoas Schilling2014-04-251-1/+1
| | | | | | | | | | | | PHPBB3-12371
| * | [ticket/12052] Use different visibility when post was editedJoas Schilling2014-04-251-4/+35
| | | | | | | | | | | | | | | | | | ... and needs to be reapproved. PHPBB3-12052
| * | [ticket/12371] Do not delete post related notifications when a post is deletedJoas Schilling2014-04-251-23/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | When a post is marked edited and therefor marked as softdeleted/unapproved, we should not delete the notifications, just like we can't delete the emails. Links are out there anyway and just keeping the notification is fail save. If we keep the notification we can just continue to update it when more posts are added. Also when we delete a post, we don't have to go though the table and find all related notifications to be able to delete them or even update them, when they have responders set. PHPBB3-12371
* | [ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code.Andreas Fischer2014-04-291-1/+0
|/ | | | | | | | | * There MUST NOT be trailing whitespace at the end of lines. * There MUST NOT be whitespace before the first content of a file. * There MUST NOT be whitespace after the last content of a file. * Functions MUST NOT contain multiple empty lines in a row. PHPBB3-12458
* Merge remote-tracking branch 'marc/ticket/12372' into develop-ascraeusJoas Schilling2014-04-141-1/+1
|\ | | | | | | | | | | | | | | | | | | * marc/ticket/12372: [ticket/12372] Use $() instead of jQuery() in core.js for toggleDisplay [ticket/12372] Use admin.js $(document).ready for hiding questionnaire details [ticket/12372] Rename JS function dE() to phpbb.toggleDisplay() [ticket/12372] Move dE() function core.js [ticket/12372] Unify definition of function dE() across all files [ticket/12372] Use jQuery in javascript dE() function
| * [ticket/12372] Rename JS function dE() to phpbb.toggleDisplay()Marc Alexander2014-04-071-1/+1
| | | | | | | | PHPBB3-12372
* | [ticket/12370] Do not delete topic notifications when the topic is visibleJoas Schilling2014-04-071-4/+8
|/ | | | | | | | | We should only delete the topic notifications, when the topic is not approved anymore. This happens, when the post was the last approved but is now unapproved because the user is on queue, or when it has been softdeleted while editing. PHPBB3-12370
* Merge branch 'ticket/10851' into ticket/10851-ascraeusMarc Alexander2014-04-041-0/+4
|\
| * [ticket/10851] Set disallowed content to empty array if checking is disabledMarc Alexander2014-04-031-0/+4
| | | | | | | | | | | | | | | | The disallowed content defaults to a standard set of mimetype triggers by default. If one doesn't want to check the attachments mimetype triggers then we need to set the disallowed content to an empty array. PHPBB3-10851
* | Merge pull request #2030 from rxu/ticket/12190Nathan Guse2014-02-191-0/+16
|\ \ | | | | | | Add core event "core.modify_submit_post_data"
| * | [ticket/12190] Add core event "core.modify_submit_post_data"rxu2014-02-201-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add core event - core.modify_submit_post_data to submit_post() function. This allows extensions to modify the whole post data before the post submitting, or even provide its own post submit procedure. PHPBB3-12190
* | | [ticket/12136] Use new pagination class in generate_smilies().Cesar G2014-01-261-4/+7
|/ / | | | | | | PHPBB3-12136
* | [ticket/11915] Provide the attachment file size to the template.Cesar G2014-01-171-0/+1
| | | | | | | | PHPBB3-11915
* | [ticket/12069] Globalize in submit_post()David King2013-12-081-1/+1
| | | | | | | | PHPBB3-12069
* | [ticket/12069] Fix event documentationDavid King2013-12-081-2/+2
| | | | | | | | PHPBB3-12069
* | [ticket/12069] Add core.submit_post_end eventDavid King2013-12-081-0/+17
| | | | | | | | PHPBB3-12069
* | [feature/plupload/integration] Integration of PluploadAndreas Fischer2013-10-111-2/+17
| | | | | | | | | | | | | | | | This commit is a highly-refactored and up-to-date version of Fyorl's work which was part of his Google Summer of Code 2012 project "Attachment Improvements". PHPBB3-10929
* | Merge branch 'develop-olympus' into developAndreas Fischer2013-09-021-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11769] Allow using 0 as poster name [ticket/11769] Allow '0' as username [ticket/11769] Allow '0' as username in notification mails [ticket/11769] Fix language issues in the doc blocks [ticket/11769] Correctly supply the post author's username in posting.php Conflicts: phpBB/includes/functions_posting.php
| * [ticket/11769] Allow '0' as usernameJoas Schilling2013-09-021-1/+1
| | | | | | | | PHPBB3-11769
| * [ticket/11769] Fix language issues in the doc blocksJoas Schilling2013-08-231-3/+3
| | | | | | | | PHPBB3-11769
| * [ticket/11769] Correctly supply the post author's username in posting.phpJoas Schilling2013-08-231-1/+4
| | | | | | | | | | | | | | | | Only supply the username, when it is a guest posting or we edit and it was supplied, otherwise post_data might hold data of the post we quote, in which case username is the original poster, not the current one. PHPBB3-11769
* | Merge remote-tracking branch 'brunoais/ticket11639' into developJoas Schilling2013-08-041-9/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * brunoais/ticket11639: [ticket/11639] Changing how censorship is handled. [ticket/11639] Removed a non-needed unset [ticket/11639] Whitespace fixing [ticket/11639] Whitespace fixing [ticket/11639] Added an useful comment. [ticket/11639] generate_text_for_display on functions_posting.php
| * | [ticket/11639] Changing how censorship is handled.brunoais2013-08-031-4/+2
| | | | | | | | | | | | | | | | | | | | | sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11639
| * | [ticket/11639] Removed a non-needed unsetBruno Ais2013-07-241-2/+0
| | | | | | | | | | | | | | | | | | | | | sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11639
| * | [ticket/11639] Whitespace fixingBruno Ais2013-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11639
| * | [ticket/11639] Whitespace fixingBruno Ais2013-07-151-2/+2
| | | | | | | | | | | | | | | | | | | | | sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11639
| * | [ticket/11639] Added an useful comment.Bruno Ais2013-07-151-1/+2
| | | | | | | | | | | | | | | | | | | | | sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11639
| * | [ticket/11639] generate_text_for_display on functions_posting.phpBruno Ais2013-07-151-8/+6
| | | | | | | | | | | | | | | | | | | | | sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11639
* | | [ticket/11717] Add 'has' to boolean variable and reduce line lengthMarc Alexander2013-07-221-4/+5
| | | | | | | | | | | | PHPBB3-11717
* | | [ticket/11717] Use topic_posts_approved instead of topic_repliesMarc Alexander2013-07-201-1/+4
| | | | | | | | | | | | | | | | | | | | | Due to the move to soft-delete, the topic_replies column no longer exists in the topics table. Instead, the column topic_posts_approved should be used. PHPBB3-11717
* | | [ticket/9657] Use the service instead of the static classJoas Schilling2013-07-111-9/+14
| | | | | | | | | | | | PHPBB3-9657
* | | Merge remote-tracking branch 'phpbb/develop' into ↵Joas Schilling2013-07-111-32/+25
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/softdelete-1-permission * phpbb/develop: (704 commits) [ticket/11630] Improvements to the PHP lint pre-commit hook [feature/auth-refactor] Move auth providers to separate directory [ticket/11619] Use HTTP/1.0 because of lack of chunked-encoding handling. [ticket/11619] Some tests for get_remote_file(). [ticket/11617] Remove spaces and tabs from empty lines [ticket/11617] Missing U_ACTION in acp_captcha.php [feature/auth-refactor] Fix code style issue [feature/auth-refactor] Fix comment grammar [feature/auth-refactor] Fix the actual cause of test failures [ticket/10838] Fix URL for wiki and remove irrelevant line [ticket/10838] Remove php 5.4 and builtin server references [ticket/10838] Fix missing data [ticket/10838] separate database used mentioned in unit tests [ticket/11585] Make $auth_admin class property [feature/auth-refactor] A possible fix for the functional test failures [ticket/11566] Subsilver template error displayed after table headers [ticket/11566] Remove extra pair of brackets from conditional statement [ticket/11566] Check that guest doesn't have reporting permission by default [ticket/11566] Add captcha to report post template in subsilver [ticket/11566] Use the new constant CONFIRM_REPORT for captcha init ... Conflicts: phpBB/docs/sphinx.sample.conf phpBB/feed.php phpBB/styles/prosilver/template/search_results.html phpBB/styles/prosilver/template/viewforum_body.html
| * | [ticket/11586] Move $filedata['thumbnail'] to where it might be returned.Andreas Fischer2013-06-031-3/+3
| | | | | | | | | | | | PHPBB3-11586
| * | [ticket/11586] Combine $filedata['post_attach'] assign into a single statement.Andreas Fischer2013-06-031-8/+1
| | | | | | | | | | | | PHPBB3-11586
| * | [ticket/11586] Use a variable for $cat_id == ATTACHMENT_CATEGORY_IMAGE.Andreas Fischer2013-06-031-8/+8
| | | | | | | | | | | | PHPBB3-11586