Migration complete

This commit is contained in:
2026-06-23 19:24:37 +02:00
parent 0436a99a7c
commit 39adc2171c
25 changed files with 517 additions and 25 deletions

View File

@@ -1,5 +1,11 @@
{
"app_pub_render_page_c6149e27cfdc21a20c8047e0e5cd5503.json": {
"hash": "95a8be583623f99ff47eef23a658e459"
},
"criteria_user_0cfa5d0143e6477a6bc20b11e255e850.json": {
"hash": "f29b40ef7a5b420b212848744fd9b7db"
},
"import_importer_classes_64d8f27f58ba02af52958c1d4f94f812.json": {
"hash": "2ff08f9036890eb77d7bc1c7fc02fc4c"
}
}

View File

@@ -0,0 +1,9 @@
{
"event_id": "app_pub_render_page",
"execute_order": 10,
"callback_class": "RomhackPlaza\\Master\\Listener",
"callback_method": "checkStyleVariation",
"active": true,
"hint": "",
"description": ""
}

View File

@@ -0,0 +1,9 @@
{
"event_id": "import_importer_classes",
"execute_order": 15,
"callback_class": "RomhackPlaza\\Master\\Listener",
"callback_method": "importImporterClasses",
"active": true,
"hint": "",
"description": ""
}

View File

@@ -41,11 +41,8 @@
"pages.json": {
"hash": "8d75bf99b2fb6528f84433f4519d4da3"
},
"rom_checker.json": {
"hash": "c9349db6120520e82d02b793a30e67ce"
},
"rom_hasher.json": {
"hash": "e14613a1bd0f1e1fadc084a009801570"
"hash": "f322c39dd3ea03343ab626a1da796c55"
},
"rom_patcher.json": {
"hash": "dff75392eea1fdffdaec193913d5d8a0"

View File

@@ -1,13 +0,0 @@
{
"parent_navigation_id": "tools",
"display_order": 300,
"navigation_type_id": "basic",
"type_config": {
"link": "{$xf.options.homePageUrl}/tools/rom-checker",
"display_condition": "",
"extra_attributes": {
"icon": "check"
}
},
"enabled": true
}

View File

@@ -3,7 +3,7 @@
"display_order": 200,
"navigation_type_id": "basic",
"type_config": {
"link": "{$xf.options.homePageUrl}/tools/rom-hasher",
"link": "{$xf.options.homePageUrl}/hash",
"display_condition": "",
"extra_attributes": {
"icon": "hash"

View File

@@ -13,6 +13,7 @@ namespace XF;
/**
* @property non-negative-int|null $rhpz_club_node_id Club Parent Node ID
* @property string|null $rhpz_delete_account_master_key Delete account Master key
* @property bool|null $rhpz_enable_migration Enable Migration functions
*/
class Options
{

View File

@@ -4,5 +4,8 @@
},
"rhpz_delete_account_master_key.json": {
"hash": "d649af68f404568ba3c06cc0a7121649"
},
"rhpz_enable_migration.json": {
"hash": "6a3f9a6223e06f02636e434bae26cc93"
}
}

View File

@@ -0,0 +1,13 @@
{
"edit_format": "onoff",
"edit_format_params": "",
"data_type": "boolean",
"sub_options": [],
"validation_class": "",
"validation_method": "",
"advanced": true,
"default_value": "0",
"relations": {
"romhackplaza": 500
}
}

View File

@@ -23,6 +23,12 @@
"version_string": "1.0.0",
"hash": "15d96c48f857b975c051d7c98b13a385"
},
"entries.txt": {
"global_cache": false,
"version_id": 1000000,
"version_string": "1.0.0",
"hash": "bc14b0a9c516310fc195a778937cc0a0"
},
"nav.about.txt": {
"global_cache": false,
"version_id": 1000000,
@@ -107,12 +113,6 @@
"version_string": "1.0.0",
"hash": "453aceb005ceaf54a47da15fee8b2a26"
},
"nav.rom_checker.txt": {
"global_cache": false,
"version_id": 1000000,
"version_string": "1.0.0",
"hash": "f5e8c49f0487c68231a8804df2379cc5"
},
"nav.rom_hasher.txt": {
"global_cache": false,
"version_id": 1000000,
@@ -155,6 +155,12 @@
"version_string": "1.0.0",
"hash": "8b275759f2215b3b242de29110f05a4c"
},
"option.rhpz_enable_migration.txt": {
"global_cache": false,
"version_id": 1000000,
"version_string": "1.0.0",
"hash": "5c647f124187d520df70e6c1610fb041"
},
"option_explain.rhpz_club_node_id.txt": {
"global_cache": false,
"version_id": 1000000,
@@ -167,6 +173,12 @@
"version_string": "1.0.0",
"hash": "d41d8cd98f00b204e9800998ecf8427e"
},
"option_explain.rhpz_enable_migration.txt": {
"global_cache": false,
"version_id": 1000000,
"version_string": "1.0.0",
"hash": "d98b161589c31532e68fe26daa70dc32"
},
"option_group.romhackplaza.txt": {
"global_cache": false,
"version_id": 1000000,

View File

@@ -0,0 +1 @@
Entries

View File

@@ -1 +0,0 @@
ROM Checker

View File

@@ -0,0 +1 @@
Enable Migration functions

View File

@@ -0,0 +1 @@
Enable migration endpoints and other things.

View File

@@ -1,4 +1,7 @@
{
"api_migrate_.json": {
"hash": "df6fcab95396a546b48a38eb9561b68f"
},
"api_romhackplaza_entry_.json": {
"hash": "5f1609f559980b44af09fd85c3b34a30"
},

View File

@@ -0,0 +1,11 @@
{
"route_type": "api",
"route_prefix": "migrate",
"sub_name": "",
"format": "",
"build_class": "",
"build_method": "",
"controller": "RomhackPlaza\\Master:Migrate",
"context": "",
"action_prefix": ""
}

View File

@@ -22,5 +22,14 @@
},
"public/rhpz_forum_overview_wrapper_search_button.json": {
"hash": "af109f16aca8a12c4f8496fc4431f4b8"
},
"public/rhpz_member_macros_member_stat_pairs_entry_count.json": {
"hash": "3d744e57f81abeb7f2d8291404f1e5b3"
},
"public/rhpz_member_view_add_entry_tab.json": {
"hash": "35151043dca0be7987a72ee8b1cffc6f"
},
"public/rhpz_member_view_add_entry_tabpanel.json": {
"hash": "5fcc29178d06fc924bdb604734cc9c59"
}
}

View File

@@ -0,0 +1,9 @@
{
"template": "member_macros",
"description": "Add RHPZ Entry count on member profile page",
"execution_order": 10,
"enabled": true,
"action": "str_replace",
"find": "<!--[XF:stat_pairs:above_reactions]-->",
"replace": "<dl class=\"pairs pairs--rows pairs--rows--centered\">\n\t<dt>{{ phrase('entries') }}</dt>\n\t<dd>\n\t\t{$user.rhpz_entry_count|number}\n\t</dd>\n</dl>"
}

View File

@@ -0,0 +1,9 @@
{
"template": "member_view",
"description": "Add entry tab on members page",
"execution_order": 10,
"enabled": true,
"action": "str_replace",
"find": "<!--[XF:tabs:after_recent_content]-->",
"replace": "<a href=\"{{ $xf.options.homePageUrl }}/database?userId={$user.user_id}\"\n class=\"tabs-tab\"\n id=\"entries\">{{ phrase('entries') }}</a>\n$0"
}

View File

@@ -0,0 +1,9 @@
{
"template": "member_view",
"description": "Add Entry tab panel",
"execution_order": 10,
"enabled": true,
"action": "str_replace",
"find": "<!--[XF:tab_panes:after_recent_content]-->",
"replace": "<li role=\"tabpanel\" aria-labelledby=\"entries\">\n\t<a href=\"{{$xf.options.homePageUrl}}/database?userId={$user.user_id}\" class=\"button\">Go to this page</a>\n</li>\n$0"
}