f34ecd2f8bfd6207db6c398a3d94382c53424632
nas

nas authored 13 years ago

1) <?xml version="1.0"?>
2) <!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">
3) <package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
4) 	<id>SimpleDeskTeam:SimpleDesk</id>
5) 	<name>SimpleDesk - Integrated Helpdesk for Simple Machines Forum</name>
jdarwood007 ! Added Remove attachments...

jdarwood007 authored 8 years ago

6) 	<version>2.1</version>
nas

nas authored 13 years ago

7) 	<type>modification</type>
8) 
jdarwood007 Ensure SImpleDesk is compat...

jdarwood007 authored 3 years ago

9) 	<install for="1.1.*, 2.0.*, 2.1 Beta 1, 2.1 Beta 2, Beta 3, 2.1 Beta 4, 2.1 RC1, 2.1 RC2">
10) 		<readme lang="english" parsebbc="true" type="inline">This mod is [b]not compatible[/b] with your version of SMF, it requires 2.1 RC3 or later.</readme>
gruffen ! Add a fallback readme for...

gruffen authored 13 years ago

11) 	</install>
12) 
jdarwood007 Ensure SImpleDesk is compat...

jdarwood007 authored 3 years ago

13) 	<install for="2.1 RC3, 2.1 RC4, 2.1.0-2.1.99">
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

14) 		<!-- readme files -->
15) 		<readme lang="english" parsebbc="true" type="file">language-readme/readme.english.txt</readme>
16) 
17) 		<!-- language files -->
18) 		<require-dir name="sd_language" destination="$themes_dir/default/languages" />
19) 
20) 		<!-- sources -->
21) 		<require-dir name="sd_source" destination="$sourcedir" />
22) 
23) 		<!-- templates -->
24) 		<require-dir name="sd_template" destination="$themedir" />
25) 
26) 		<!-- images -->
27) 		<require-dir name="images/simpledesk" destination="$themes_dir/default/images" />
28) 		<require-dir name="images/sd_plugins" destination="$themes_dir/default/images" />
29) 		<require-dir name="images/shd" destination="$imagesdir/admin" />
30) 		<require-file name="images/feature_shd.png" destination="$themes_dir/default/images/admin" /><!-- explicitly called from default theme in ACP -->
31) 
32) 		<!-- css -->
33) 		<require-file name="css/helpdesk.css" destination="$themedir/css" />
34) 		<require-file name="css/helpdesk_admin.css" destination="$themedir/css" />
jdarwood007 ! Fixed menu icons (Thanks...

jdarwood007 authored 8 years ago

35) 		<require-file name="css/helpdesk_icons.css" destination="$themedir/css" />
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

36) 
37) 		<!-- scripts -->
38) 		<require-file name="scripts/helpdesk_admin.js" destination="$themedir/scripts" />
39) 		<require-file name="scripts/helpdesk.js" destination="$themedir/scripts" />
40) 
41) 		<!-- bundled plugins -->
42) 		<require-dir name="sd_plugins_source" destination="$sourcedir" />
43) 		<require-dir name="sd_plugins_template" destination="$themes_dir/default" />
44) 		<require-dir name="sd_plugins_lang" destination="$languagedir" />
45) 
jdarwood007 Various Fixes and cleanup A...

jdarwood007 authored 5 years ago

46) 		<!-- All the hooks -->
47) 			<!-- SMF Core -->
48) 		<hook hook="integrate_pre_include" function="$sourcedir/sd_source/Subs-SimpleDesk.php" />
49) 		<hook hook="integrate_user_info" function="shd_init" />
50) 		<hook hook="integrate_actions" function="shd_init_actions" />
51) 		<hook hook="integrate_buffer" function="shd_buffer_replace" />
52) 		<hook hook="integrate_menu_buttons" function="shd_main_menu" />
53) 		<hook hook="integrate_load_permissions" function="shd_admin_smf_perms" />
54) 		<hook hook="integrate_error_types" function="shd_error_types" file="$sourcedir/sd_source/Subs-SimpleDesk.php" />
55) 		<hook hook="integrate_bbc_codes" function="shd_bbc_codes" file="$sourcedir/sd_source/Subs-SimpleDesk.php" />
56) 		<hook hook="integrate_post_parsebbc" function="shd_parse_wikilinks" file="$sourcedir/sd_source/Subs-SimpleDesk.php" />
57) 
58) 			<!-- Admin Section: Core -->
59) 		<hook hook="integrate_admin_include" function="$sourcedir/sd_source/Subs-SimpleDeskAdmin.php" />
60) 		<hook hook="integrate_admin_areas" function="shd_admin_bootstrap" />
61) 		<hook hook="integrate_admin_search" function="shd_admin_search" />
62) 
63) 			<!-- Admin Section: Attachments -->
64) 		<hook hook="integrate_remove_attachments" function="shd_remove_attachments" file="$sourcedir/sd_source/Subs-SimpleDeskAdmin.php" />
65) 		<hook hook="integrate_attachments_browse" function="shd_attachments_browse" file="$sourcedir/sd_source/Subs-SimpleDeskManageAttachments.php" />
66) 		<hook hook="integrate_attachment_remove" function="shd_attachment_remove" file="$sourcedir/sd_source/Subs-SimpleDeskManageAttachments.php" />
67) 
68) 			<!-- Admin Section: Packages -->
69) 		<hook hook="integrate_packages_sort_id" function="shd_packages_sort_id" file="$sourcedir/sd_source/Subs-SimpleDeskPackages.php" />
70) 		<hook hook="integrate_package_download" function="shd_package_download" file="$sourcedir/sd_source/Subs-SimpleDeskPackages.php" />
71) 		<hook hook="integrate_package_upload" function="shd_package_upload" file="$sourcedir/sd_source/Subs-SimpleDeskPackages.php" />
72) 		<hook hook="integrate_modification_types" function="shd_modification_types" file="$sourcedir/sd_source/Subs-SimpleDeskPackages.php" />
73) 
74) 			<!-- Admin Section: Other -->
75) 		<hook hook="integrate_convert_msgbody" function="shd_convert_msgbody" />
76) 		<hook hook="integrate_modifylanguages" function="shd_modifylanguages" />
77) 
78) 			<!-- Display -->
79) 		<hook hook="integrate_display_buttons" function="shd_display_btn_mvtopic" />
80) 
81) 			<!-- ShowAttachments -->
82) 		<hook hook="integrate_download_request" function="shd_download_request" file="$sourcedir/sd_source/Subs-SimpleDeskDisplay.php" />
83) 
84) 			<!-- BoardIndex -->
85) 		<hook hook="integrate_getboardtree" function="shd_add_to_boardindex" file="$sourcedir/sd_source/Subs-SimpleDeskBoardIndex.php" />
86) 
87) 			<!-- Profile -->
88) 		<hook hook="integrate_pre_profile_areas" function="shd_profile_areas" file="$sourcedir/sd_source/Subs-SimpleDeskProfile.php" />
89) 		<hook hook="integrate_profile_profileSaveGroups" function="shd_clear_active_tickets" />
90) 		<hook hook="integrate_profile_trackip" function="shd_profile_trackip" />
91) 
92) 			<!-- Other -->
jdarwood007 Use the SSI hook properly.

jdarwood007 authored 5 years ago

93) 		<hook hook="integrate_SSI" function="ssi_shd_called" file="$sourcedir/sd_source/SimpleDesk-SSI.php" />
jdarwood007 Various Fixes and cleanup A...

jdarwood007 authored 5 years ago

94) 
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

95) 		<!-- database changes -->
jdarwood007 Re-order custom fields

jdarwood007 authored 5 years ago

96) 		<database>install-sd.php</database>
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

97) 
jdarwood007 ! Make Profile section actu...

jdarwood007 authored 8 years ago

98) 		<redirect url="?action=admin;area=helpdesk_info" />
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

99) 	</install>
100) 
jdarwood007 Ensure SImpleDesk is compat...

jdarwood007 authored 3 years ago

101) 	<uninstall for="2.1 RC3, 2.1 RC4, 2.1.0-2.1.99">
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

102) 		<!-- database changes, undone -->
jdarwood007 Re-order custom fields

jdarwood007 authored 5 years ago

103) 		<database>uninstall-sd-optional.php</database>
104) 		<code type="file">uninstall-sd-required.php</code>
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

105) 
jdarwood007 Various Fixes and cleanup A...

jdarwood007 authored 5 years ago

106) 		<!-- All the hooks -->
107) 			<!-- SMF Core -->
108) 		<hook hook="integrate_pre_include" function="$sourcedir/sd_source/Subs-SimpleDesk.php" reverse="true" />
109) 		<hook hook="integrate_user_info" function="shd_init" reverse="true" />
110) 		<hook hook="integrate_actions" function="shd_init_actions" reverse="true" />
111) 		<hook hook="integrate_buffer" function="shd_buffer_replace" reverse="true" />
112) 		<hook hook="integrate_menu_buttons" function="shd_main_menu" reverse="true" />
113) 		<hook hook="integrate_load_permissions" function="shd_admin_smf_perms" reverse="true" />
114) 		<hook hook="integrate_error_types" function="shd_error_types" file="$sourcedir/sd_source/Subs-SimpleDesk.php" reverse="true" />
115) 		<hook hook="integrate_bbc_codes" function="shd_bbc_codes" file="$sourcedir/sd_source/Subs-SimpleDesk.php" reverse="true" />
116) 		<hook hook="integrate_post_parsebbc" function="shd_parse_wikilinks" file="$sourcedir/sd_source/Subs-SimpleDesk.php" reverse="true" />
117) 
118) 			<!-- Admin Section: Core -->
119) 		<hook hook="integrate_admin_include" function="$sourcedir/sd_source/Subs-SimpleDeskAdmin.php" reverse="true" />
120) 		<hook hook="integrate_admin_areas" function="shd_admin_bootstrap" reverse="true" />
121) 		<hook hook="integrate_admin_search" function="shd_admin_search" reverse="true" />
122) 
123) 			<!-- Admin Section: Attachments -->
124) 		<hook hook="integrate_remove_attachments" function="shd_remove_attachments" file="$sourcedir/sd_source/Subs-SimpleDeskAdmin.php" reverse="true" />
125) 		<hook hook="integrate_attachments_browse" function="shd_attachments_browse" file="$sourcedir/sd_source/Subs-SimpleDeskManageAttachments.php" reverse="true" />
126) 		<hook hook="integrate_attachment_remove" function="shd_attachment_remove" file="$sourcedir/sd_source/Subs-SimpleDeskManageAttachments.php" reverse="true" />
127) 
128) 			<!-- Admin Section: Packages -->
129) 		<hook hook="integrate_packages_sort_id" function="shd_packages_sort_id" file="$sourcedir/sd_source/Subs-SimpleDeskPackages.php" reverse="true" />
130) 		<hook hook="integrate_package_download" function="shd_package_download" file="$sourcedir/sd_source/Subs-SimpleDeskPackages.php" reverse="true" />
131) 		<hook hook="integrate_package_upload" function="shd_package_upload" file="$sourcedir/sd_source/Subs-SimpleDeskPackages.php" reverse="true" />
132) 		<hook hook="integrate_modification_types" function="shd_modification_types" file="$sourcedir/sd_source/Subs-SimpleDeskPackages.php" reverse="true" />
133) 
134) 			<!-- Admin Section: Other -->
135) 		<hook hook="integrate_convert_msgbody" function="shd_convert_msgbody" reverse="true" />
136) 		<hook hook="integrate_modifylanguages" function="shd_modifylanguages" reverse="true" />
137) 
138) 			<!-- Display -->
139) 		<hook hook="integrate_display_buttons" function="shd_display_btn_mvtopic" reverse="true" />
140) 
141) 			<!-- ShowAttachments -->
142) 		<hook hook="integrate_download_request" function="shd_download_request" file="$sourcedir/sd_source/Subs-SimpleDeskDisplay.php" reverse="true" />
143) 
144) 			<!-- BoardIndex -->
145) 		<hook hook="integrate_getboardtree" function="shd_add_to_boardindex" file="$sourcedir/sd_source/Subs-SimpleDeskBoardIndex.php" reverse="true" />
146) 
147) 			<!-- Profile -->
148) 		<hook hook="integrate_pre_profile_areas" function="shd_profile_areas" file="$sourcedir/sd_source/Subs-SimpleDeskProfile.php" reverse="true" />
149) 		<hook hook="integrate_profile_profileSaveGroups" function="shd_clear_active_tickets" reverse="true" />
150) 		<hook hook="integrate_profile_trackip" function="shd_profile_trackip" reverse="true" />
151) 
152) 			<!-- Other -->
jdarwood007 Use the SSI hook properly.

jdarwood007 authored 5 years ago

153) 		<hook hook="integrate_SSI" function="ssi_shd_called" file="$sourcedir/sd_source/SimpleDesk-SSI.php" reverse="true" />
jdarwood007 Various Fixes and cleanup A...

jdarwood007 authored 5 years ago

154) 
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

155) 		<!-- language files, removed -->
156) 		<remove-dir name="$themes_dir/default/languages/sd_language" />
157) 
158) 		<!-- source files, removed -->
159) 		<remove-dir name="$sourcedir/sd_source" />
160) 
161) 		<!-- template files, removed -->
162) 		<remove-dir name="$themedir/sd_template" />
163) 
164) 		<!-- images, removed -->
165) 		<remove-dir name="$themes_dir/default/images/simpledesk" />
166) 		<remove-dir name="$imagesdir/admin/shd" />
167) 		<remove-file name="$themes_dir/default/images/admin/feature_shd.png" />
168) 
169) 		<!-- css, removed -->
170) 		<remove-file name="$themedir/css/helpdesk.css" />
jdarwood007 ! Fixed menu icons (Thanks...

jdarwood007 authored 8 years ago

171) 		<remove-file name="$themedir/css/helpdesk_admin.css" />
172) 		<remove-file name="$themedir/css/helpdesk_icons.css" />
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

173) 
174) 		<!-- bundled plugins removed (NOTE: done one by one to avoid eating existing plugins on upgrade) -->
jdarwood007 Various Fixes and cleanup A...

jdarwood007 authored 5 years ago

175) 		<remove-dir name="$languagedir/sd_plugins_lang/SDPluginFrontPage.english.php" />
176) 		<remove-dir name="$languagedir/sd_plugins_lang/SDPluginStats.english.php" />
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

177) 
178) 		<!-- scripts, removed -->
jdarwood007 ! Fixed menu icons (Thanks...

jdarwood007 authored 8 years ago

179) 		<remove-file name="$themedir/scripts/helpdesk_admin.js" />
emanuele Basic stuff to cover instal...

emanuele authored 11 years ago

180) 		<remove-file name="$themedir/scripts/helpdesk.js" />
181) 	</uninstall>
182)