aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | [ticket/12880] core.mcp_queue_!is_topics_query_beforebrunoais2014-08-071-0/+23
| | | | | | | | | | | | | | | | | | Adding core.mcp_queue_is_topics_query_before PHPBB3-12880
* | | Merge pull request #2762 from brunoais/ticket/12876Joas Schilling2014-08-081-0/+14
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | [ticket/12876] core.mcp_mcp_front.mcp_front_view_queue_postid_list_after * brunoais/ticket/12876: [ticket/12876] core.mcp_mcp_front.mcp_front_view_queue_postid_list_after
| * | [ticket/12876] core.mcp_mcp_front.mcp_front_view_queue_postid_list_afterbrunoais2014-08-071-0/+14
| |/ | | | | | | | | | | | | Adding the core.mcp_mcp_front.mcp_front_view_queue_topicid_list_after event to mcp backend. PHPBB3-12876
* | Merge pull request #2763 from brunoais/ticket/12877Marc Alexander2014-08-071-0/+12
|\ \ | | | | | | | | | [ticket/12877] core.mcp_mcp_front_reports_listing_query_before
| * | [ticket/12877] core.mcp_mcp_front_reports_listing_query_beforebrunoais2014-07-231-0/+12
| |/ | | | | | | | | | | Adding core.mcp_mcp_front_reports_listing_query_before PHPBB3-12877
* | Merge pull request #2701 from Nicofuma/ticket/12818Andreas Fischer2014-07-111-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12818] Deleting a log entry in MCP produces a General error * Nicofuma/ticket/12818: [ticket/12818] Use assertGreaterThanOrEqual in the tests [ticket/12818] Don't use the id for i= [ticket/12818] Add tests [ticket/12818] Fix the conditions in the call to $log->delete() in mcp_logs
| * | [ticket/12818] Fix the conditions in the call to $log->delete() in mcp_logsTristan Darricau2014-07-061-2/+2
| |/ | | | | | | PHPBB3-12818
* | Merge branch 'develop-olympus' into develop-ascraeusTristan Darricau2014-07-101-0/+1
|\ \ | |/ |/| | | | | * develop-olympus: [ticket/12695] Add viewtopic language file for parse_attachments in mcp_post
| * [ticket/12695] Add viewtopic language file for parse_attachments in mcp_postMarc Alexander2014-07-101-0/+1
| | | | | | | | PHPBB3-12695
* | [ticket/12612] Prefix check_ids() with phpbb_Joas Schilling2014-06-235-16/+16
| | | | | | | | PHPBB3-12612
* | [ticket/12612] Prefix mcp_sorting() with phpbb_Joas Schilling2014-06-235-6/+6
| | | | | | | | PHPBB3-12612
* | [ticket/12612] Prefix get_*_data() with phpbb_ and delete unused globalJoas Schilling2014-06-238-33/+33
| | | | | | | | PHPBB3-12612
* | [ticket/12612] Prefix module url functions with phpbb_Joas Schilling2014-06-232-2/+2
| | | | | | | | PHPBB3-12612
* | [ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacyTristan Darricau2014-06-162-3/+3
| | | | | | | | PHPBB3-12721
* | [ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy rulesetTristan Darricau2014-06-161-1/+1
| | | | | | | | PHPBB3-12722
* | Merge pull request #2434 from Nicofuma/ticket/8610Joas Schilling2014-06-092-7/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/8610] Merging topics does not handle bookmarks correctly * Nicofuma/ticket/8610: [ticket/8610] Use css selector instead of xPath [ticket/8610] Add functional test when two topics are merged [ticket/8610] Throw an error when the dest topic isn't set [ticket/8610] Fix bookmarks when merging all the posts of a topic [ticket/8610] Merging topics does not handle bookmarks correctly
| * | [ticket/8610] Throw an error when the dest topic isn't setTristan Darricau2014-05-271-1/+1
| | | | | | | | | | | | PHPBB3-8610
| * | [ticket/8610] Fix bookmarks when merging all the posts of a topicTristan Darricau2014-05-271-4/+18
| | | | | | | | | | | | PHPBB3-8610
| * | [ticket/8610] Merging topics does not handle bookmarks correctlyTristan Darricau2014-05-101-3/+17
| | | | | | | | | | | | | | | | | | https://tracker.phpbb.com/browse/PHPBB3-8610 PHPBB3-8610
* | | [ticket/12675] Fix code sniffer complaints introduced by recent commitsMarc Alexander2014-06-091-1/+1
| | | | | | | | | | | | PHPBB3-12675
* | | [ticket/12639] Send a correct IN entry when deleting marked logsTristan Darricau2014-06-021-1/+1
| | | | | | | | | | | | PHPBB3-12639
* | | [ticket/12639] Delete entry in admin-log leads to mysql-errorTristan Darricau2014-05-311-2/+0
| | | | | | | | | | | | PHPBB3-12639
* | | Merge pull request #2433 from Nicofuma/ticket/10899Joas Schilling2014-05-301-13/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/10899] Using Delete All in log viewer with keyword search * Nicofuma/ticket/10899: [ticket/10899] Update doc block [ticket/10899] Use isset($field_value['IN']) [ticket/10899] Add event core.delete_log [ticket/10899] Remove trailing ; [ticket/10899] Fix typo in the class name [ticket/10899] Add unit tests [ticket/10899] Get $phpbb_log from the container [ticket/10899] Remove extra ';' [ticket/10899] Typo [ticket/10899] Refactoring in \phpbb\log\log_interface [ticket/10899] Using Delete All in log viewer with keyword search
| * | | [ticket/10899] Refactoring in \phpbb\log\log_interfaceTristan Darricau2014-05-101-16/+18
| | | | | | | | | | | | | | | | PHPBB3-10899
| * | | [ticket/10899] Using Delete All in log viewer with keyword searchTristan Darricau2014-05-101-2/+8
| |/ / | | | | | | | | | | | | | | | https://tracker.phpbb.com/browse/PHPBB3-10899 PHPBB3-10899
* | | Merge pull request #2357 from Nicofuma/ticket/11942Joas Schilling2014-05-301-8/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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] Don't change the reason to '' when hard deletingTristan Darricau2014-05-291-2/+2
| | | | | | | | | | | | | | | | PHPBB3-11942
| * | | [ticket/11942] Always display delete reasonTristan Darricau2014-05-111-2/+0
| | | | | | | | | | | | | | | | PHPBB3-11942
| * | | [ticket/11942] Adding the reason to hard deleted topic/postNicofuma2014-05-041-2/+2
| | | | | | | | | | | | | | | | PHPBB3-11942
| * | | [ticket/11942] Delete post/topic reason should be added to logsNicofuma2014-05-041-2/+2
| |/ / | | | | | | | | | | | | | | | https://tracker.phpbb.com/browse/PHPBB3-11942 PHPBB3-11942
* | | [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-2720-94/+140
| | | | | | | | | | | | PHPBB3-12594
* | | Merge pull request #2487 from n-aleha/ticket/12583Joas Schilling2014-05-261-7/+56
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12583] Add event core.mcp_warn_post_before/after * n-aleha/ticket/12583: [ticket/12583] Redirect only on non-empty $message [ticket/12583] Add event core.mcp_warn_post_before/after
| * | | [ticket/12583] Redirect only on non-empty $messagen-aleha2014-05-251-3/+7
| | | | | | | | | | | | | | | | PHPBB3-12583
| * | | [ticket/12583] Add event core.mcp_warn_post_before/aftern-aleha2014-05-231-5/+50
| | | | | | | | | | | | | | | | | | | | | | | | Event for when warning a user for a post. PHPBB3-12583
* | | | Merge pull request #2488 from n-aleha/ticket/12584Joas Schilling2014-05-261-7/+52
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12584] Add event core.mcp_warn_user_before/after * n-aleha/ticket/12584: [ticket/12584] Redirect only on non-empty $message [ticket/12584] Add event core.mcp_warn_user_before/after
| * | | | [ticket/12584] Redirect only on non-empty $messagen-aleha2014-05-251-3/+7
| | | | | | | | | | | | | | | | | | | | PHPBB3-12584
| * | | | [ticket/12584] Add event core.mcp_warn_user_before/aftern-aleha2014-05-251-5/+46
| |/ / / | | | | | | | | | | | | | | | | | | | | Event for when warning a user from MCP. PHPBB3-12584
* | | | Merge pull request #2134 from marcosbc/ticket/12270Joas Schilling2014-05-261-24/+58
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12270] Current post and topic approval notification message * marcosbc/ticket/12270: [ticket/12270] Fixed topic counting bug and tests [ticket/12270] Fixed tests not working [ticket/12270] No quote notif and double poster notification fix [ticket/12270] Fixed tests [ticket/12270] Fixed rebase conflicts [ticket/12270] Correct confirm approval message for topics [ticket/12270] Correcting to follow phpBB coding standards [ticket/12270] Better structured code and no debug error message [ticket/12270] Correct notifications for posts/topics now working [ticket/12270] Reverted templates [ticket/12270] Correct post&topic approval msg, no template changes [ticket/12270] Corrent post and topic approval notification message
| * | | [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
| * | | [ticket/12270] Reverted templatesmarcosbc2014-05-031-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some lines in the templates were not reverted correctly, so it's done now. PHPBB3-12270
| * | | [ticket/12270] Correct post&topic approval msg, no template changesmarcosbc2014-05-031-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following the previous commits, this patch removes the changes done to templates to depend only on code, as suggested by @nickvergessen. All previous modifications have been removed, with another one which checks, in the approve_posts() function, if it is sending a notification for post approval and it is the first one in the topic, send notification indicating that the topic has been approved (and not the post). If not the first post in the topic, do just as before (send a notification about a newly approved post). PHPBB3-12270
| * | | [ticket/12270] Corrent post and topic approval notification messagemarcosbc2014-05-031-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When you submit a post with needed approval (say user A), and then it gets approved by another user (user B), a subscribed user (user C) to that forum would receive a notification indicating: -A has replied to topic 'New Topic' in the forum 'xyz'. The expected result would be: -A has posted a new topic 'New topic' in the forum 'xyz'. This has fixed by adding a TOPIC_ID template variable to mcp_post.html and, in there, depending if the first post is the topic's first post or not, add a input's with name topic_id_list[] or post_id_list[] and then the respective value (TOPIC_ID or POST_ID). PHPBB3-12270
* | | [ticket/12501] Only select attachments uploaded before the post was reported.Cesar G2014-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The post text displayed to the user is the same as when it was reported, even if the post was edited afterwards, thus it follows that the attachments would be the same. This also addresses an issue where the index in the attachment bbcode no longer matches that of its corresponding attachment when new attachments are uploaded after the post is reported. PHPBB3-12501