Add userOption PIP to upgrade instructions
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / package.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <package name="com.woltlab.wcf" xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/package.xsd">
3 <packageinformation>
4 <packagename>WoltLab Suite Core</packagename>
5 <packagedescription>Free CMS and web-framework, designed for awesome websites and communities.</packagedescription>
6 <packagedescription language="de">Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht.</packagedescription>
7 <isapplication>1</isapplication>
8 <version>5.4.0 Alpha 1</version>
9 <date>2021-03-03</date>
10 </packageinformation>
11
12 <authorinformation>
13 <author>WoltLab GmbH</author>
14 <authorurl>https://www.woltlab.com</authorurl>
15 </authorinformation>
16
17 <instructions type="install">
18 <instruction type="packageInstallationPlugin" />
19 <instruction type="acpMenu" />
20 <instruction type="userGroupOption" />
21 <instruction type="option" />
22
23 <instruction type="template" run="standalone" />
24
25 <instruction type="eventListener" />
26 <instruction type="script">acp/install.php</instruction>
27 <instruction type="cronjob" />
28 <instruction type="coreObject" />
29 <instruction type="clipboardAction" />
30 <instruction type="objectTypeDefinition" />
31 <instruction type="objectType" />
32 <instruction type="acpSearchProvider" />
33 <instruction type="style">defaultStyle.tar</instruction>
34
35 <instruction type="userOption" run="standalone" />
36
37 <instruction type="bbcode" />
38 <instruction type="smiley" />
39 <instruction type="userProfileMenu" />
40 <instruction type="userMenu" />
41 <instruction type="userNotificationEvent" />
42 <instruction type="aclOption" />
43 <instruction type="page" />
44 <instruction type="menu" />
45 <instruction type="menuItem" />
46 <instruction type="box" />
47 <instruction type="mediaProvider" />
48 <instruction type="templateListener" />
49
50 <instruction type="script">acp/post_install.php</instruction>
51 </instructions>
52
53 <instructions type="update" fromversion="5.3.*">
54 <!--
55 tar cvf com.woltlab.wcf/files_pre_check.tar -C wcfsetup/install/files/ \
56 acp/update_com.woltlab.wcf_5.4_checkSystemRequirements.php \
57 acp/update_com.woltlab.wcf_5.4_checkOwnerGroup.php
58 -->
59 <instruction type="file" run="standalone">files_pre_check.tar</instruction>
60
61 <!-- Checks that need to happen before the upgrade starts. -->
62 <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_checkSystemRequirements.php</instruction>
63 <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_checkOwnerGroup.php</instruction>
64
65 <!--
66 tar cvf com.woltlab.wcf/files_pre.tar -C wcfsetup/install/files/ \
67 acp/update_com.woltlab.wcf_5.4_session_1_cookies.php \
68 acp/database/update_com.woltlab.wcf_5.4_session_2_user_session.php \
69 acp/update_com.woltlab.wcf_5.4_session_3_migrate_session.php \
70 lib/util/HeaderUtil.class.php \
71 lib/system/package/plugin/AbstractPackageInstallationPlugin.class.php \
72 lib/system/package/plugin/DatabasePackageInstallationPlugin.class.php \
73 lib/system/package/plugin/FilePackageInstallationPlugin.class.php \
74 lib/system/package/plugin/ScriptPackageInstallationPlugin.class.php
75 -->
76 <instruction type="file" run="standalone">files_pre.tar</instruction>
77
78 <instruction type="packageInstallationPlugin" />
79
80 <!-- Deploy some of the options before running the upgrade to not brick the login if the upgrade aborts. -->
81 <instruction type="option" run="standalone">option_5.4.xml</instruction>
82
83 <!-- Preparations for the new session system. -->
84 <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_session_1_cookies.php</instruction>
85 <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_session_2_user_session.php</instruction>
86 <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_session_3_migrate_session.php</instruction>
87
88 <!-- New application code. -->
89 <instruction type="file" />
90 <instruction type="acpTemplate" />
91 <instruction type="template" />
92
93 <!-- Make all the new options available as early as possible. -->
94 <instruction type="option" run="standalone" />
95
96 <!-- Cleanup for the new session system. -->
97 <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_session_4_drop_virtual.php</instruction>
98 <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_session_5_drop_acp.php</instruction>
99 <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_session_6_clean_session.php</instruction>
100
101 <!-- Non-critical database adjustments. -->
102 <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4.php</instruction>
103
104 <!-- Index updates for `wcf1_tag_to_object`. -->
105 <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_wcf1_tag_to_object_step1.php</instruction>
106 <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_wcf1_tag_to_object_step2.php</instruction>
107 <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_wcf1_tag_to_object_step3.php</instruction>
108 <instruction type="database" run="standalone">acp/database/update_com.woltlab.wcf_5.4_wcf1_tag_to_object_step4.php</instruction>
109
110 <!-- Cleanup of the filesystem. -->
111 <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_removeFiles.php</instruction>
112
113 <!-- Misc. PIPs. -->
114 <instruction type="acpMenu" />
115 <instruction type="clipboardAction" />
116 <instruction type="eventListener" />
117 <instruction type="objectTypeDefinition" />
118 <instruction type="objectType" />
119 <instruction type="userGroupOption" />
120 <instruction type="userMenu" />
121 <instruction type="page" />
122 <instruction type="language" />
123 <instruction type="mediaProvider" />
124 <instruction type="userOption" />
125
126 <!-- Migration of multi-factor authentication. -->
127 <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_migrate_multifactor.php</instruction>
128
129 <!-- Migration of the rank images -->
130 <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_migrate_rank_images.php</instruction>
131
132 <!-- Update of the Google Fonts -->
133 <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.4_update_google_font.php</instruction>
134
135 <instruction type="script">acp/update_com.woltlab.wcf_5.4_deleteLanguageItems.php</instruction>
136 </instructions>
137 </package>