/
package-info.xml
58 lines (54 loc) · 3.73 KB
/
package-info.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
<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.elkarte.net/site/package-info">
<package-info xmlns="http://www.elkarte.net/site/package-info" xmlns:elk="http://www.elkarte.net/">
<id>Spuds:PWEntropy</id>
<name>Password Entropy</name>
<version>1.1.0</version>
<type>addon</type>
<license><![CDATA[
/**
* Password Entropy
*
* @author spuds
* @license MPL 1.1 http://mozilla.org/MPL/1.1/
*
* @version 1.1.0
*/
]]></license>
<install for="1.0 - 1.1.99">
<readme parsebbc="true">readme.txt</readme>
<license type="inline">This ElkArte addon is released under a MPL V1.1 license, a copy of it with its provisions is included with the package. This addon uses the zxcvbn-php library which is released under the The MIT License (MIT)</license>
<require-file name="languages/pwentropy.english.php" destination="LANGUAGEDIR/english">The language strings</require-file>
<require-file name="sources/Pwentropy.subs.php" destination="SUBSDIR">Support functions for PWEntropy</require-file>
<require-file name="sources/Pwentropy.controller.php" destination="CONTROLLERDIR">Main controller for PWEntropy</require-file>
<require-file name="sources/Pwentropy.class.php" destination="SUBSDIR">Interface class</require-file>
<require-file name="scripts/pwentropy.js" destination="THEMEDIR/scripts">The JS to show the strength meter</require-file>
<require-file name="css/pwentropy.css" destination="THEMEDIR/css">The CSS to show the strength meter</require-file>
<require-dir name="ext/ZxcvbnPhp" destination="SOURCEDIR/ext">The ZxcvbnPhp entropy library</require-dir>
<hook hook="integrate_action_register_before" file="SUBSDIR/Pwentropy.subs.php" function="irb_pwentropy" />
<hook hook="integrate_action_profile_before" file="SUBSDIR/Pwentropy.subs.php" function="ipb_pwentropy" />
<hook hook="integrate_sa_manage_registrations" file="SUBSDIR/Pwentropy.subs.php" function="imr_pwentropy" />
<hook hook="integrate_admin_areas" file="SUBSDIR/Pwentropy.subs.php" function="iaa_pwentropy" />
<hook hook="integrate_register_check" file="SUBSDIR/Pwentropy.subs.php" function="irc_pwentropy" />
<hook hook="integrate_account_profile_fields" file="SUBSDIR/Pwentropy.subs.php" function="iapf_pwentropy" />
<hook hook="integrate_load_profile_fields" file="SUBSDIR/Pwentropy.subs.php" function="ilpf_pwentropy" />
<redirect url="?action=admin;area=regcenter;sa=pwentropy" timeout="5000" />
</install>
<uninstall for="1.0 - 1.1.99">
<hook reverse="true" hook="integrate_action_register_before" file="SUBSDIR/Pwentropy.subs.php" function="irb_pwentropy" />
<hook reverse="true" hook="integrate_sa_manage_registrations" file="SUBSDIR/Pwentropy.subs.php" function="imr_pwentropy" />
<hook reverse="true" hook="integrate_admin_areas" file="SUBSDIR/Pwentropy.subs.php" function="iaa_pwentropy" />
<hook reverse="true" hook="integrate_action_profile_before" file="SUBSDIR/Pwentropy.subs.php" function="ipb_pwentropy" />
<hook reverse="true" hook="integrate_register_check" file="SUBSDIR/Pwentropy.subs.php" function="irc_pwentropy" />
<hook reverse="true" hook="integrate_account_profile_fields" file="SUBSDIR/Pwentropy.subs.php" function="iapf_pwentropy" />
<hook reverse="true" hook="integrate_load_profile_fields" file="SUBSDIR/Pwentropy.subs.php" function="ilpf_pwentropy" />
<remove-file name="SUBSDIR/Pwentropy.class.php" />
<remove-file name="LANGUAGEDIR/english/pwentropy.english.php" />
<remove-file name="SUBSDIR/Pwentropy.subs.php" />
<remove-file name="THEMEDIR/scripts/pwentropy.js" />
<remove-file name="THEMEDIR/css/pwentropy.css" />
<remove-file name="CONTROLLERDIR/Pwentropy.controller.php" />
<remove-dir name="SOURCEDIR/ext/ZxcvbnPhp" />
<redirect url="?action=admin;area=packages;sa=browse" timeout="5000" />
</uninstall>
</package-info>