This repository has been archived by the owner on Apr 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddon-liam_xenforoUpdater.xml
226 lines (196 loc) · 18 KB
/
addon-liam_xenforoUpdater.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<?xml version="1.0" encoding="utf-8"?>
<addon addon_id="liam_xenforoUpdater" title="XenForo Updater" version_string="1.1.5.1" version_id="1010571" url="" install_callback_class="LiamW_XenForoUpdater_Installer" install_callback_method="install" uninstall_callback_class="LiamW_XenForoUpdater_Installer" uninstall_callback_method="uninstall">
<admin_navigation>
<navigation navigation_id="liam_updateXenForo" parent_navigation_id="toolsGroups" display_order="50000" link="tools/update" admin_permission_id="upgradeXenForo" debug_only="0" hide_no_children="0"/>
</admin_navigation>
<admin_permissions/>
<admin_style_properties/>
<admin_templates>
<template title="liam_xenforo_update_credentials"><![CDATA[<xen:title>{xen:phrase liam_xenforoupdater_update} {$productName} - {xen:phrase liam_xenforoupdater_customer_area_credentials}</xen:title>
<xen:form action="{xen:adminlink 'tools/update/step/license'}" method="post">
<xen:textboxunit name="email" label="{xen:phrase liam_xenforoupdater_xenforo_email}:" />
<xen:textboxunit name="password" type="password" label="{xen:phrase liam_xenforoupdater_xenforo_password}:" />
<xen:submitunit save="{xen:phrase continue}..." />
<input type="hidden" name="product" value="{$product}" />
<input type="hidden" name="_xfConfirm" value="1" />
</xen:form>]]></template>
<template title="liam_xenforo_update_initial"><![CDATA[<xen:title>{xen:phrase liam_xenforoupdater_update_xenforo_products} - {xen:phrase liam_xenforoupdater_information}</xen:title>
<xen:form action="{xen:adminlink 'tools/update/step/product'}" method="post">
<div class="baseHtml">
{xen:phrase liam_xenforoupdater_initial_information}
</div>
<xen:submitunit save="{xen:phrase continue}..." />
<input type="hidden" name="_xfConfirm" value="1" />
</xen:form>]]></template>
<template title="liam_xenforo_update_licenses"><![CDATA[<xen:title>{xen:phrase liam_xenforoupdater_update} {$productName} - {xen:phrase liam_xenforoupdater_select_license}</xen:title>
<xen:form action="{xen:adminlink 'tools/update/step/version'}" method="post">
<p>{xen:phrase liam_xenforoupdater_please_select_license}</p>
<xen:selectunit name="license_id" label="{xen:phrase liam_xenforoupdater_license}:">
<xen:option value="">({xen:phrase liam_xenforoupdater_select_license})</xen:option>
<xen:foreach loop="$licenses" key="$licenseId" value="$licenseName">
<xen:option value="{$licenseId}" selected="stripos({$xenOptions.boardTitle}, {$licenseName}) !== false">{$licenseName}</xen:option>
</xen:foreach>
</xen:selectunit>
<xen:submitunit save="{xen:phrase continue}..." />
<input type="hidden" name="product" value="{$product}" />
<input type="hidden" name="_xfConfirm" value="1" />
</xen:form>]]></template>
<template title="liam_xenforo_update_product"><![CDATA[<xen:title>{xen:phrase liam_xenforoupdater_update_xenforo_products} - {xen:phrase liam_xenforoupdater_product}</xen:title>
<xen:form action="{xen:adminlink 'tools/update/step/credentials'}" method="post">
<p>{xen:phrase liam_xenforoupdater_select_product_to_update}:</p>
<xen:selectunit label="{xen:phrase liam_xenforoupdater_product}:" name="product">
<xen:option value="">({xen:phrase liam_xenforoupdater_select_product})</xen:option>
<xen:options source="$availableProducts" />
</xen:selectunit>
<xen:submitunit save="{xen:phrase continue}..." />
<input type="hidden" name="_xfConfirm" value="1" />
</xen:form>]]></template>
<template title="liam_xenforo_update_version"><![CDATA[<xen:title>{xen:phrase liam_xenforoupdater_update} {$productName} - {xen:phrase liam_xenforoupdater_choose_version}</xen:title>
<xen:form action="{xen:adminlink 'tools/update/step/update'}" method="post">
<p>{xen:phrase liam_xenforoupdater_please_select_version}</p>
<xen:selectunit name="download_version_id" label="{xen:phrase liam_xenforoupdater_version}:">
<xen:options source="$versions" />
</xen:selectunit>
<xen:checkboxunit label="">
<xen:option name="ftp_upload" label="{xen:phrase liam_xenforoupdater_ftp_upload}" inputclass="Hider">
<xen:disabled>
<xen:controlunit label="{xen:phrase liam_xenforoupdater_host}:">
<xen:textbox placeholder="127.0.0.1" name="host" size="25" />:<xen:textbox name="port" size="2" placeholder="21" />
</xen:controlunit>
<xen:textboxunit label="{xen:phrase liam_xenforoupdater_user}:" name="user" />
<xen:textboxunit label="{xen:phrase liam_xenforoupdater_password}:" type="password" name="password" />
<xen:checkboxunit label="">
<xen:option name="ssl" label="{xen:phrase liam_xenforoupdater_ssl}" />
</xen:checkboxunit>
<xen:textboxunit label="{xen:phrase liam_xenforoupdater_xenforo_path}:" name="xf_path" placeholder="public_html">
<xen:explain>{xen:phrase liam_xenforoupdater_xenforo_path_explain}</xen:explain>
</xen:textboxunit>
</xen:disabled>
</xen:option>
<xen:explain>{xen:phrase liam_xenforoupdater_ftp_upload_explain}</xen:explain>
</xen:checkboxunit>
<xen:submitunit save="{xen:phrase liam_xenforoupdater_update} {$productName}" />
<input type="hidden" name="product" value="{$product}" />
<input type="hidden" name="license_id" value="{$licenseId}" />
<input type="hidden" name="_xfConfirm" value="1" />
</xen:form>]]></template>
</admin_templates>
<admin_template_modifications>
<modification template="home" modification_key="liam_xenforoUpdater_home" description="" execution_order="10" enabled="1" action="str_replace">
<find><![CDATA[<xen:if is="{$manualDeferredTotal}">
<p class="importantMessage">
<a href="{xen:adminlink tools/run-deferred}">{xen:phrase manual_rebuild_processes_have_been_stopped_before_completion}</a>
</p>
</xen:if>]]></find>
<replace><![CDATA[$0
<xen:if is="{$xenCache.liam_xenforoUpdater_notice}">
<p class="importantMessage">
<a href="{xen:adminlink tools/update}">{xen:phrase liam_xenforoUpdater_running_outdated_version_new_version_x_available_click_to_update, 'version={$xenCache.liam_xenforoUpdater_notice.versionString}'}</a>
</p>
</xen:if>]]></replace>
</modification>
</admin_template_modifications>
<code_events/>
<code_event_listeners>
<listener event_id="load_class_controller" execute_order="10" callback_class="LiamW_XenForoUpdater_Listener" callback_method="extendToolsController" active="1" hint="XenForo_ControllerAdmin_Tools" description="XenForo_ControllerAdmin_Tools"/>
</code_event_listeners>
<cron>
<entry entry_id="liam_xenforoUpdater_clean" cron_class="LiamW_XenForoUpdater_CronEntry_CleanUp" cron_method="cleanUp" active="1"><![CDATA[{"day_type":"dow","dow":["0"],"hours":["0"],"minutes":["0"]}]]></entry>
</cron>
<email_templates/>
<email_template_modifications/>
<optiongroups>
<group group_id="liam_xenforoUpdater" display_order="50000" debug_only="0"/>
<option option_id="liam_xenforoupdater_autopurge" edit_format="select" data_type="string" can_backup="1">
<default_value>disabled</default_value>
<edit_format_params>disabled={xen:phrase disabled}
all_auto={xen:phrase liam_xenforoupdater_all_auto}
zip_auto={xen:phrase liam_xenforoupdater_zip_auto}
dir_auto={xen:phrase liam_xenforoupdater_dir_auto}
all_cron={xen:phrase liam_xenforoupdater_all_cron}
zip_cron={xen:phrase liam_xenforoupdater_zip_cron}
dir_cron={xen:phrase liam_xenforoupdater_dir_cron}</edit_format_params>
<sub_options></sub_options>
<relation group_id="liam_xenforoUpdater" display_order="1"/>
</option>
</optiongroups>
<permissions>
<permission_groups/>
<permissions/>
<interface_groups/>
</permissions>
<phrases>
<phrase title="admin_navigation_liam_updateXenForo" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[Update XenForo Products]]></phrase>
<phrase title="cron_entry_liam_xenforoUpdater_clean" version_id="1010170" version_string="1.1.1"><![CDATA[XenForo Updater Data Cleanup]]></phrase>
<phrase title="liam_xenforoupdater_all_auto" version_id="1010170" version_string="1.1.1"><![CDATA[Purge all data after every update.]]></phrase>
<phrase title="liam_xenforoupdater_all_cron" version_id="1010170" version_string="1.1.1"><![CDATA[Purge all data periodically via a cron.]]></phrase>
<phrase title="liam_xenforoupdater_choose_version" version_id="3" version_string="Beta 3"><![CDATA[Choose Version]]></phrase>
<phrase title="liam_xenforoupdater_cookies_missing" version_id="10000" version_string="1.0.0"><![CDATA[The cookie parameter is missing from the request!]]></phrase>
<phrase title="liam_xenforoupdater_cookie_jar_lost_start_again" version_id="1010370" version_string="1.1.3"><![CDATA[The cookie jar has been lost :( Please start again.
(This would only happen due to an expired/invalidated session).]]></phrase>
<phrase title="liam_xenforoupdater_customer_area_credentials" version_id="3" version_string="Beta 3"><![CDATA[Customer Area Credentials]]></phrase>
<phrase title="liam_xenforoupdater_dir_auto" version_id="1010170" version_string="1.1.1"><![CDATA[Purge directories after every update.]]></phrase>
<phrase title="liam_xenforoupdater_dir_cron" version_id="1010170" version_string="1.1.1"><![CDATA[Purge directories periodically via a cron.]]></phrase>
<phrase title="liam_xenforoupdater_error_copying_files_check_error_log" version_id="1010070" version_string="1.1.0"><![CDATA[There was an error while copying files. Please check the server error log for more details.]]></phrase>
<phrase title="liam_xenforoupdater_error_copying_files_ftp_check_error_log" version_id="1010070" version_string="1.1.0"><![CDATA[There was an error while copying files via FTP. Please check the server error log for more details.]]></phrase>
<phrase title="liam_xenforoupdater_error_downloading_zip_check_error_log" version_id="1010070" version_string="1.1.0"><![CDATA[There was an error downloading the upgrade ZIP. Please check the server error log for more details.]]></phrase>
<phrase title="liam_xenforoupdater_error_extracting_zip_check_error_log" version_id="1010070" version_string="1.1.0"><![CDATA[There was an error extracting the upgrade ZIP. Please check the server error log for more details.]]></phrase>
<phrase title="liam_xenforoupdater_ftp_upload" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[FTP Upload]]></phrase>
<phrase title="liam_xenforoupdater_ftp_upload_explain" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[This will upload the files to the server using an FTP or FTPS connection, rather than by copying them directly.]]></phrase>
<phrase title="liam_xenforoupdater_ftp_upload_failed" version_id="1000035" version_string="1.0.0 Beta 5"><![CDATA[FTP Upload Failed. Check the server error log for more info.]]></phrase>
<phrase title="liam_xenforoupdater_host" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[Host]]></phrase>
<phrase title="liam_xenforoupdater_information" version_id="3" version_string="Beta 3"><![CDATA[Information]]></phrase>
<phrase title="liam_xenforoupdater_initial_information" version_id="1000035" version_string="1.0.0 Beta 5"><![CDATA[<p>This system will update your XenForo installation to the version you choose. Please confirm the following before continuing:
<ul>
<li>You're XenForo root directory is <em>recursively</em> writable by the PHP user, or you have a working FTP system for your XenForo root directory.</li>
<li>You have access to the XenForo Customer Area, and know the username and password.</li>
</ul>
</p>
<p>You agree that we will connect to the XenForo customer using your server, submitting the provided credentials. The download package will be downloaded to your server.</p>]]></phrase>
<phrase title="liam_xenforoupdater_invalid_credentials" version_id="10000" version_string="1.0.0"><![CDATA[Please provide valid credentials.]]></phrase>
<phrase title="liam_xenforoupdater_invalid_credentials_or_no_licenses" version_id="10000" version_string="1.0.0"><![CDATA[The login to the XenForo customer area failed or you have no downloadable licenses.]]></phrase>
<phrase title="liam_xenforoupdater_invalid_product" version_id="1010032" version_string="1.1.0 Beta 2"><![CDATA[The requested product is not valid. Please click the back button and refresh the page to select a different product.]]></phrase>
<phrase title="liam_xenforoupdater_license" version_id="10000" version_string="1.0.0"><![CDATA[License]]></phrase>
<phrase title="liam_xenforoupdater_must_select_license" version_id="3" version_string="Beta 3"><![CDATA[You must select a license to continue. Please press the back button to select a license.]]></phrase>
<phrase title="liam_xenforoupdater_no_downloads" version_id="2" version_string="Beta 2"><![CDATA[There are no downloads available for the requested license. Did you change the license ID in the HTML?]]></phrase>
<phrase title="liam_xenforoupdater_password" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[Password]]></phrase>
<phrase title="liam_xenforoupdater_please_select_license" version_id="3" version_string="Beta 3"><![CDATA[Please select the license to use for update:]]></phrase>
<phrase title="liam_xenforoupdater_please_select_version" version_id="10000" version_string="1.0.0"><![CDATA[Please select the version you wish to update to:]]></phrase>
<phrase title="liam_xenforoupdater_port" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[Port]]></phrase>
<phrase title="liam_xenforoupdater_product" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[Product]]></phrase>
<phrase title="liam_xenforoupdater_root_not_writable" version_id="1" version_string="Beta 1"><![CDATA[The XenForo root directory is not writable. Please make the XF root directory writable to use this add-on.]]></phrase>
<phrase title="liam_xenforoUpdater_running_outdated_version_new_version_x_available_click_to_update" version_id="1010033" version_string="1.1.0 Beta 3"><![CDATA[You are running an outdated version of XenForo. The latest version is {versionString}. Click to update.]]></phrase>
<phrase title="liam_xenforoupdater_select_license" version_id="2" version_string="Beta 2"><![CDATA[Select License]]></phrase>
<phrase title="liam_xenforoupdater_select_product" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[Select Product]]></phrase>
<phrase title="liam_xenforoupdater_select_product_to_update" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[Please select the product you wish to update]]></phrase>
<phrase title="liam_xenforoupdater_ssl" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[Connect using SSL]]></phrase>
<phrase title="liam_xenforoupdater_unable_to_create_directory" version_id="10000" version_string="1.0.0"><![CDATA[We were unable to create the directory to store update files in.]]></phrase>
<phrase title="liam_xenforoupdater_unable_to_extract_zip" version_id="1" version_string="Beta 1"><![CDATA[We were unable to extract the upgrade zip.]]></phrase>
<phrase title="liam_xenforoupdater_unknown_error_occured_during_download_and_copy" version_id="1010070" version_string="1.1.0"><![CDATA[An unknown error occurred during the download and copy process. Please manually update.]]></phrase>
<phrase title="liam_xenforoupdater_update" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[Update]]></phrase>
<phrase title="liam_xenforoupdater_update_xenforo" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[XenForo]]></phrase>
<phrase title="liam_xenforoupdater_update_xenforo_products" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[Update XenForo Products]]></phrase>
<phrase title="liam_xenforoupdater_update_xfes" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[XenForo Enhanced Search]]></phrase>
<phrase title="liam_xenforoupdater_update_xfmg" version_id="1010031" version_string="1.1.0 Beta 1"><![CDATA[XenForo Media Gallery]]></phrase>
<phrase title="liam_xenforoupdater_update_xfresource" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[XenForo Resource Manager]]></phrase>
<phrase title="liam_xenforoupdater_user" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[User]]></phrase>
<phrase title="liam_xenforoupdater_version" version_id="10000" version_string="1.0.0"><![CDATA[Version]]></phrase>
<phrase title="liam_xenforoupdater_xenforo_email" version_id="10000" version_string="1.0.0"><![CDATA[XenForo Customer Email]]></phrase>
<phrase title="liam_xenforoupdater_xenforo_password" version_id="10000" version_string="1.0.0"><![CDATA[XenForo Customer Password]]></phrase>
<phrase title="liam_xenforoupdater_xenforo_path" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[XenForo Path]]></phrase>
<phrase title="liam_xenforoupdater_xenforo_path_explain" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[This is the path to your XenForo <i>installation</i>, as accessed from your FTP server.]]></phrase>
<phrase title="liam_xenforoupdater_zip_auto" version_id="1010170" version_string="1.1.1"><![CDATA[Purge zip files after every update.]]></phrase>
<phrase title="liam_xenforoupdater_zip_cron" version_id="1010170" version_string="1.1.1"><![CDATA[Purge zip files periodically via a cron.]]></phrase>
<phrase title="liam_xenforoupdater_zip_extension_required" version_id="1010070" version_string="1.1.0"><![CDATA[The ZIP extension is required for this add-on to work. Please ask your host to recompile PHP with the <a href="http://php.net/manual/en/book.zip.php" target="_blank"><i>zip</i></a> extension.]]></phrase>
<phrase title="option_group_liam_xenforoUpdater" version_id="1010170" version_string="1.1.1"><![CDATA[XenForo Updater]]></phrase>
<phrase title="option_group_liam_xenforoUpdater_description" version_id="1010170" version_string="1.1.1"><![CDATA[]]></phrase>
<phrase title="option_liam_xenforoupdater_autopurge" version_id="1010170" version_string="1.1.1"><![CDATA[Auto Purge]]></phrase>
<phrase title="option_liam_xenforoupdater_autopurge_explain" version_id="1010170" version_string="1.1.1"><![CDATA[Select the option to use with regards to purging the downloaded and extracted data.]]></phrase>
</phrases>
<route_prefixes/>
<style_properties/>
<templates/>
<public_template_modifications/>
<bb_code_media_sites/>
<bb_codes/>
</addon>