aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14972] replace all occurrences of sizeof() with the count()rxu2018-01-011-19/+19
| | | | PHPBB3-14972
* [ticket/15454] Add post template data to eventMarc Alexander2017-12-281-0/+2
| | | | PHPBB3-15454
* [ticket/15454] Add core.mcp_queue_approve_details_templateJakub Senko2017-11-131-2/+28
| | | | PHPBB3-15454
* [ticket/14954] Properly check if topic has attachments in mcp_queueMarc Alexander2017-01-021-1/+1
| | | | PHPBB3-14954
* [ticket/10961] Send HTTP 403 when applicableJakub Senko2016-09-011-0/+3
| | | | PHPBB3-10961
* [ticket/14680] Fix wrong function name being checked in mcp_queue.Mark Shaw2016-06-171-1/+1
| | | | PHPBB3-14680
* [ticket/13454] Remove unused variablesMarc Alexander2016-01-061-6/+5
| | | | | | This is part 5 and there is more to come. PHPBB3-13454
* [ticket/13454] Remove unused variablesMarc Alexander2016-01-061-2/+2
| | | | | | Part 4 PHPBB3-13454
* [ticket/13454] Remove unused variablesMarc Alexander2016-01-061-4/+1
| | | | | | This is part 2 of the pr. PHPBB3-13454
* Merge branch '3.1.x'Andreas Fischer2015-11-021-2/+3
|\ | | | | | | | | * 3.1.x: [ticket/13831] Store provided reason when deleting from Mod. Queue module.
| * Merge pull request #3983 from prototech/ticket/13831Andreas Fischer2015-11-021-2/+3
| |\ | | | | | | | | | | | | | | | | | | [ticket/13831] Store provided reason when deleting from Mod. Queue module. * prototech/ticket/13831: [ticket/13831] Store provided reason when deleting from Mod. Queue module.
| | * [ticket/13831] Store provided reason when deleting from Mod. Queue module.Cesar G2015-10-141-2/+3
| | | | | | | | | | | | PHPBB3-13831
* | | Merge branch '3.1.x'Tristan Darricau2015-10-191-0/+11
|\ \ \ | |/ / | | | | | | | | | * 3.1.x: [ticket/9252] Do not try to disapprove a post that was just approved
| * | Merge pull request #3666 from marc1706/ticket/9252Tristan Darricau2015-10-191-0/+11
| |\ \ | | |/ | |/| | | | | | | | | | | | | [ticket/9252] Do not try to disapprove a post that was just approved * marc1706/ticket/9252: [ticket/9252] Do not try to disapprove a post that was just approved
| | * [ticket/9252] Do not try to disapprove a post that was just approvedMarc Alexander2015-05-301-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Without this change, posts that are approved by someone right before another moderator is trying to disapprove a post are actually deleted instead of disapproved. PHPBB3-9252
* | | Merge branch '3.1.x'Marc Alexander2015-10-091-1/+1
|\ \ \ | |/ /
| * | Merge pull request #3934 from Zoddo/ticket/14181Marc Alexander2015-10-091-1/+1
| |\ \ | | | | | | | | | | | | [ticket/14181] Fix empty denial reason if the reason isn't translated
| | * | [ticket/14181] Fix empty denial reason if the reason isn't translatedHB2015-09-271-1/+1
| | | | | | | | | | | | | | | | PHPBB3-14181
* | | | Merge branch '3.1.x'Marc Alexander2015-10-071-0/+1
|\ \ \ \ | |/ / /
| * | | Merge pull request #3615 from rxu/ticket/13846Marc Alexander2015-10-071-0/+1
| |\ \ \ | | |/ / | |/| | | | | | [ticket/13846] Fix softdelete feature workflow in viewtopic
| | * | [ticket/13846] Fix MCP to disallow softdeleted posts deletion if not permitted.rxu2015-07-301-0/+1
| | |/ | | | | | | | | | PHPBB3-13846
* | | [ticket/9485] Add post_id to relevant $phpbb_log->add()Zoddo2015-08-301-0/+2
| | | | | | | | | | | | PHPBB3-9485
* | | [ticket/11444] Moving the in-board notifications to a method classNicofuma2015-07-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the in-board method for the notifications is hardcoded and cannot be disabled. This method should be in his own class extending `phpbb\notification\method\method_interface`. It also add the possibility, for each method, to be enabled by default (ie: no entry in the DB => notification enabled). https://tracker.phpbb.com/browse/PHPBB3-11444 https://tracker.phpbb.com/browse/PHPBB3-11967 PHPBB3-11444
* | | Merge branch '3.1.x'Joas Schilling2015-06-271-1/+1
|\ \ \ | |/ /
| * | [ticket/13962] MCP Queue dropdown for forum selectionRMcGirr832015-06-231-1/+1
| |/ | | | | | | PHPBB3-13962
* | [ticket/13654] Moving reporting into controllerMateBartus2015-04-161-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving report.php's content into different services and controllers to better comply with the MVC model. Also implementing: * Replacement for reasons_display() * Adding assign_meta_refresh_var() to \controller\helper * Adding separate routes for easy configuration * Updating unit tests to expect to correct results * Add BC tests PHPBB3-13654
* | [ticket/13455] Update calls to `request_var()`Gaëtan Muller2015-02-031-5/+5
| | | | | | | | PHPBB3-13455
* | Merge branch 'develop-ascraeus' into developJoas Schilling2015-02-021-5/+87
|\ \ | |/ | | | | | | Conflicts: phpBB/includes/mcp/mcp_queue.php
| * [ticket/13537] Add core events on mcp_queue for approval and disapprovalWolfsblvt2015-01-231-5/+87
| | | | | | | | | | | | | | | | Events added for the functions approve_posts(), approve_topics() and disapprove_posts() in mcp_queue.php, so that you can send notifications during approval and disapproval. PHPBB3-13537
* | [ticket/13468] Update calls to `add_log()`Gaëtan Muller2015-01-271-7/+26
| | | | | | | | PHPBB3-13468
* | [ticket/13450] Type-hint return value of $phpbb_container->get()Gaëtan Muller2015-01-121-0/+8
|/ | | | PHPBB3-13450
* [ticket/13116] Interchange post and topic approval notificationJakub Senko2014-09-291-2/+2
| | | | PHPBB3-13116
* [ticket/12990] Use the full services name for the notification's typesTristan Darricau2014-08-161-23/+23
| | | | PHPBB3-12990
* [ticket/12967] Fix undefined variable phpbb_dispatcher error.Cesar G2014-08-111-0/+1
| | | | PHPBB3-12967
* Merge pull request #2824 from brunoais/ticket/12927Joas Schilling2014-08-081-0/+23
|\ | | | | | | | | | | | | [ticket/12927] core.mcp_queue_get_posts2_query_before * brunoais/ticket/12927: [ticket/12927] core.mcp_queue_get_posts2_query_before
| * [ticket/12927] core.mcp_queue_get_posts2_query_beforebrunoais2014-08-081-0/+23
| | | | | | | | | | | | | | Adding the core.mcp_queue_get_posts2_query_before event to mcp backend. PHPBB3-12927
* | [ticket/12880] core.mcp_queue_!is_topics_query_beforebrunoais2014-08-071-0/+23
|/ | | | | | Adding core.mcp_queue_is_topics_query_before PHPBB3-12880
* [ticket/12612] Prefix check_ids() with phpbb_Joas Schilling2014-06-231-3/+3
| | | | PHPBB3-12612
* [ticket/12612] Prefix mcp_sorting() with phpbb_Joas Schilling2014-06-231-1/+1
| | | | PHPBB3-12612
* [ticket/12612] Prefix get_*_data() with phpbb_ and delete unused globalJoas Schilling2014-06-231-7/+7
| | | | PHPBB3-12612
* [ticket/12675] Fix code sniffer complaints introduced by recent commitsMarc Alexander2014-06-091-1/+1
| | | | PHPBB3-12675
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-4/+7
| | | | PHPBB3-12594
* [ticket/12270] Fixed topic counting bug and testsmarcosbc2014-05-241-0/+3
| | | | | | | | | Topics was not correctly counted (the counter didn't count topics that were re-approved, for example, but only the ones that were unapproved. This should also fix the test that wasn't working correctly. PHPBB3-12270
* [ticket/12270] Fixed tests not workingmarcosbc2014-05-211-6/+11
| | | | | | | The success message wasn't output correctly if we were approving topics. PHPBB3-12270
* [ticket/12270] No quote notif and double poster notification fixmarcosbc2014-05-101-10/+14
| | | | | | | | | Since a call was added to self::approve_topic(), the poster would get double-notified about it (even if it was later marked as read). Also, when creating a new topic with a quote, it would not be notified, this has also been fixed. PHPBB3-12270
* [ticket/12270] Fixed rebase conflictsmarcosbc2014-05-031-21/+14
| | | | PHPBB3-12270
* [ticket/12270] Correct confirm approval message for topicsmarcosbc2014-05-031-5/+17
| | | | | | | | | | | When clicking on approving a topic's first post in the MCP to approve the topic itself, the confirm box dialog asks whether to approve the post or not, instead of asking to approve the topic. To achieve this fix, we just need to count the topics to be approved and check if it's greater than zero. PHPBB3-12270
* [ticket/12270] Correcting to follow phpBB coding standardsmarcosbc2014-05-031-1/+3
| | | | | | | | | I forgot to put the brackets (so it follows the phpBB coding standards) and changed "count($topic_id_list) > 0" to "!empty($topic_id_list)", making the syntax more comprehensible. PHPBB3-12270
* [ticket/12270] Better structured code and no debug error messagemarcosbc2014-05-031-7/+11
| | | | | | | | | | | | A variable (that's not essential) has been removed, two if's has been merged to an if-else control structure. A variable named topic_ids_list has been renamed to topic_id_list to follow the naming standard in that file's code. Also, the debug error has been fixed by changing the topic data key 'username' to 'post_username' in the array_merge function in approve_topics(). PHPBB3-12270
* [ticket/12270] Correct notifications for posts/topics now workingmarcosbc2014-05-031-10/+14
| | | | | | | | | | | | | This patch should finally work correctly: Add the correct notification for post/topic approval without touching templates. This has been done by calling the function approve_topics() inside the approve_posts() function. It's the simplest way for this to work correctly. There may be a call to the DB but other ways (if any), without touching templates, would have been too messy for a function like this. PHPBB3-12270