1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-04 16:06:00 +02:00

Merge branch 'ticket/15339' into ticket/15339-33

This commit is contained in:
Oliver Schramm 2017-10-28 03:52:48 +02:00
commit 297278a45c
10 changed files with 86 additions and 19 deletions

View File

@ -153,7 +153,9 @@ class release_3_0_6_rc1 extends \phpbb\db\migration\migration
'ACP_BOARD_CONFIGURATION',
array(
'module_basename' => 'acp_board',
'modes' => array('feed'),
'module_langname' => 'ACP_FEED_SETTINGS',
'module_mode' => 'feed',
'module_auth' => 'acl_a_board',
),
)),
array('module.add', array(
@ -161,7 +163,10 @@ class release_3_0_6_rc1 extends \phpbb\db\migration\migration
'ACP_CAT_USERS',
array(
'module_basename' => 'acp_users',
'modes' => array('warnings'),
'module_langname' => 'ACP_USER_WARNINGS',
'module_mode' => 'warnings',
'module_auth' => 'acl_a_user',
'module_display' => false,
),
)),
array('module.add', array(
@ -169,7 +174,9 @@ class release_3_0_6_rc1 extends \phpbb\db\migration\migration
'ACP_SERVER_CONFIGURATION',
array(
'module_basename' => 'acp_send_statistics',
'modes' => array('send_statistics'),
'module_langname' => 'ACP_SEND_STATISTICS',
'module_mode' => 'send_statistics',
'module_auth' => 'acl_a_server',
),
)),
array('module.add', array(
@ -177,7 +184,9 @@ class release_3_0_6_rc1 extends \phpbb\db\migration\migration
'ACP_FORUM_BASED_PERMISSIONS',
array(
'module_basename' => 'acp_permissions',
'modes' => array('setting_forum_copy'),
'module_langname' => 'ACP_FORUM_PERMISSIONS_COPY',
'module_mode' => 'setting_forum_copy',
'module_auth' => 'acl_a_fauth && acl_a_authusers && acl_a_authgroups && acl_a_mauth',
),
)),
array('module.add', array(
@ -185,7 +194,29 @@ class release_3_0_6_rc1 extends \phpbb\db\migration\migration
'MCP_REPORTS',
array(
'module_basename' => 'mcp_pm_reports',
'modes' => array('pm_reports','pm_reports_closed','pm_report_details'),
'module_langname' => 'MCP_PM_REPORTS_OPEN',
'module_mode' => 'pm_reports',
'module_auth' => 'acl_m_pm_report',
),
)),
array('module.add', array(
'mcp',
'MCP_REPORTS',
array(
'module_basename' => 'mcp_pm_reports',
'module_langname' => 'MCP_PM_REPORTS_CLOSED',
'module_mode' => 'pm_reports_closed',
'module_auth' => 'acl_m_pm_report',
),
)),
array('module.add', array(
'mcp',
'MCP_REPORTS',
array(
'module_basename' => 'mcp_pm_reports',
'module_langname' => 'MCP_PM_REPORT_DETAILS',
'module_mode' => 'pm_report_details',
'module_auth' => 'acl_m_pm_report',
),
)),
array('custom', array(array(&$this, 'add_newly_registered_group'))),

View File

@ -36,7 +36,9 @@ class release_3_0_8_rc1 extends \phpbb\db\migration\migration
'ACP_MESSAGES',
array(
'module_basename' => 'acp_board',
'modes' => array('post'),
'module_langname' => 'ACP_POST_SETTINGS',
'module_mode' => 'post',
'module_auth' => 'acl_a_board',
),
)),
array('config.add', array('load_unreads_search', 1)),

View File

@ -69,7 +69,9 @@ class auth_provider_oauth extends \phpbb\db\migration\migration
'UCP_PROFILE',
array(
'module_basename' => 'ucp_auth_link',
'modes' => array('auth_link'),
'module_langname' => 'UCP_AUTH_LINK_MANAGE',
'module_mode' => 'auth_link',
'module_auth' => 'authmethod_oauth',
),
)),
);

View File

@ -23,7 +23,9 @@ class contact_admin_acp_module extends \phpbb\db\migration\migration
'ACP_BOARD_CONFIGURATION',
array(
'module_basename' => 'acp_contact',
'modes' => array('contact'),
'module_langname' => 'ACP_CONTACT_SETTINGS',
'module_mode' => 'contact',
'module_auth' => 'acl_a_board',
),
)),
);

View File

@ -125,7 +125,9 @@ class dev extends \phpbb\db\migration\container_aware_migration
'ACP_GROUPS',
array(
'module_basename' => 'acp_groups',
'modes' => array('position'),
'module_langname' => 'ACP_GROUPS_POSITION',
'module_mode' => 'position',
'module_auth' => 'acl_a_group',
),
)),
array('module.add', array(
@ -133,7 +135,9 @@ class dev extends \phpbb\db\migration\container_aware_migration
'ACP_ATTACHMENTS',
array(
'module_basename' => 'acp_attachments',
'modes' => array('manage'),
'module_langname' => 'ACP_MANAGE_ATTACHMENTS',
'module_mode' => 'manage',
'module_auth' => 'acl_a_attach',
),
)),
array('module.add', array(
@ -141,7 +145,19 @@ class dev extends \phpbb\db\migration\container_aware_migration
'ACP_STYLE_MANAGEMENT',
array(
'module_basename' => 'acp_styles',
'modes' => array('install', 'cache'),
'module_langname' => 'ACP_STYLES_INSTALL',
'module_mode' => 'install',
'module_auth' => 'acl_a_styles',
),
)),
array('module.add', array(
'acp',
'ACP_STYLE_MANAGEMENT',
array(
'module_basename' => 'acp_styles',
'module_langname' => 'ACP_STYLES_CACHE',
'module_mode' => 'cache',
'module_auth' => 'acl_a_styles',
),
)),
array('module.add', array(
@ -149,7 +165,8 @@ class dev extends \phpbb\db\migration\container_aware_migration
'UCP_PROFILE',
array(
'module_basename' => 'ucp_profile',
'modes' => array('autologin_keys'),
'module_langname' => 'UCP_PROFILE_AUTOLOGIN_KEYS',
'module_mode' => 'autologin_keys',
),
)),
// Module will be renamed later

View File

@ -66,7 +66,9 @@ class extensions extends \phpbb\db\migration\migration
'ACP_EXTENSION_MANAGEMENT',
array(
'module_basename' => 'acp_extensions',
'modes' => array('main'),
'module_langname' => 'ACP_EXTENSIONS',
'module_mode' => 'main',
'module_auth' => 'acl_a_extensions',
),
)),
array('permission.add', array('a_extensions', true, 'a_styles')),

View File

@ -85,7 +85,9 @@ class notifications extends \phpbb\db\migration\migration
'UCP_MAIN',
array(
'module_basename' => 'ucp_notifications',
'modes' => array('notification_list'),
'module_langname' => 'UCP_NOTIFICATION_LIST',
'module_mode' => 'notification_list',
'module_auth' => 'cfg_allow_board_notifications',
),
)),
array('module.add', array(
@ -93,7 +95,8 @@ class notifications extends \phpbb\db\migration\migration
'UCP_PREFS',
array(
'module_basename' => 'ucp_notifications',
'modes' => array('notification_options'),
'module_langname' => 'UCP_NOTIFICATION_OPTIONS',
'module_mode' => 'notification_options',
),
)),
array('config.add', array('load_notifications', 1)),

View File

@ -45,7 +45,9 @@ class softdelete_mcp_modules extends \phpbb\db\migration\migration
'MCP_QUEUE',
array(
'module_basename' => 'mcp_queue',
'modes' => array('deleted_topics'),
'module_langname' => 'MCP_QUEUE_DELETED_TOPICS',
'module_mode' => 'deleted_topics',
'module_auth' => 'aclf_m_approve',
),
)),
array('module.add', array(
@ -53,7 +55,9 @@ class softdelete_mcp_modules extends \phpbb\db\migration\migration
'MCP_QUEUE',
array(
'module_basename' => 'mcp_queue',
'modes' => array('deleted_posts'),
'module_langname' => 'MCP_QUEUE_DELETED_POSTS',
'module_mode' => 'deleted_posts',
'module_auth' => 'aclf_m_approve',
),
)),
);

View File

@ -41,7 +41,9 @@ class add_help_phpbb extends \phpbb\db\migration\migration
'ACP_SERVER_CONFIGURATION',
array(
'module_basename' => 'acp_help_phpbb',
'modes' => array('help_phpbb'),
'module_langname' => 'ACP_HELP_PHPBB',
'module_mode' => 'help_phpbb',
'module_auth' => 'acl_a_server',
),
)),
);

View File

@ -23,7 +23,9 @@ class acp_storage_module extends \phpbb\db\migration\migration
'ACP_SERVER_CONFIGURATION',
array(
'module_basename' => 'acp_storage',
'modes' => array('settings'),
'module_langname' => 'ACP_STORAGE_SETTINGS',
'module_mode' => 'settings',
'module_auth' => 'acl_a_storage',
),
)),
);