-
Notifications
You must be signed in to change notification settings - Fork 8
/
module.xml
199 lines (198 loc) · 10.4 KB
/
module.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
<module>
<rawname>contactmanager</rawname>
<repo>standard</repo>
<name>Contact Manager</name>
<version>16.0.26.2</version>
<publisher>Sangoma Technologies Corporation</publisher>
<license>GPLv3+</license>
<licenselink>http://www.gnu.org/licenses/gpl-3.0.txt</licenselink>
<changelog>
*16.0.26.2* Packaging of ver 16.0.26.2
*16.0.26.1* Changed help text for the Favorite Contact List option
*16.0.26* Packaging of ver 16.0.26
*16.0.25* Packaging of ver 16.0.25
*16.0.24* FREEPBX-24364
*16.0.23* FREEI-154 Fixed issue with leading zero not being included for speed dial
*16.0.22* FREEI-5803
*16.0.21* FREEPBX-22652
*16.0.20* FREEPBX-22652
*16.0.19* FREEI-5625
*16.0.18.19* FREEI-5515
*16.0.18.18* FREEI-5019
*16.0.18.17* FREEPBX-23875
*16.0.18.16* FREEI-1261
*16.0.18.15* Packaging of ver 16.0.18.15
*16.0.18.14* Packaging of ver 16.0.18.14
*16.0.18.13* Packaging of ver 16.0.18.13
*16.0.18.12* Fixing FREEPBX-23533-not display the User Manager Group records
*16.0.18.11* Reverting Bootstrap and dependent libs fixes
*16.0.18.10* Packaging of ver 16.0.18.10
*16.0.18.9* Packaging of ver 16.0.18.9
*16.0.18.8* FREEI-4805
*16.0.18.7* FREEI-4793
*16.0.18.6* FREEI-4657
*16.0.18.5* Packaging of ver 16.0.18.5
*16.0.18.4* FREEI-616 Contact manager does not ask for confirmation before deleting
*16.0.18.3* SCD-227
*16.0.18.2* SCD-227
*16.0.18.1* FREEPBX-23229 and FREEI-4572
*16.0.18* bump
*16.0.17.13* Packaging of ver 16.0.17.13
*16.0.17.12* Packaging of ver 16.0.17.12
*16.0.17.11* SCD-186 and SCD-187
*16.0.17.10* SCD-104 Add favorite contacts
*16.0.17.9* FREEI-4498 fixed the issue of unable to remove a selected contact from contact manager
*16.0.17.8* Packaging of ver 16.0.17.8
*16.0.17.7* FREEPBX-23205
*16.0.17.6* FREEPBX-23208
*16.0.17.5* FREEPBX-23203: Trying to access array offset on value of type bool
*16.0.17.4* FREEI-4342 Moved update contact hook function inside foreach loop because the scope of the group variable is inside loop
*16.0.17.3* SCD-119 Recent changes for updating contacts is crashing the mysql with "Too many mysql connections" error in larger system while updating the userman group.
*16.0.17.2* SCD-120
*16.0.17.1* SCD-116 corrected server_uuid value in scd contact file
*16.0.17* SCD-97 modified code to regenerate SCD contact file upon contact update
*16.0.16* SCD-101
*16.0.15*
*16.0.14* SCD-74 removed all other protocol configurations from contact file url except for https
*16.0.13* SCD-31 change fetching internal IP, show display name as first name if both first and last name are empty
*16.0.12* SCD-31 changed the contents of the contact file generated
*16.0.11* SCD-20 added validation for case in which key 'PRIVATE_CONTACTS_UPDATED' is not set
*16.0.10* SCD-3 added method to generate user contact file and return the access URL
*16.0.9* FREEI-3834 Fixed restoring issue by bypassing cache datails in getGroups function and also fixed error while deleting multiple contacts - 'Trying to access array offset on value of type boolean'
*16.0.8* FREEI-3745 Can we remove the 'template creator' user from contacts
*16.0.7* bugfix/FREEPBX-22581-restore-fails-when-no-values-in-contact-manager
*16.0.6* FREEI-3238 Contact manager not restoring internal contacts
*16.0.5* Packaging of ver 16.0.5
*16.0.4* FREEI-2676-bulk-delete-feature-contactmanager
*16.0.3* FREEPBX-21227 Remove Contact Mgr Speeddial as destination
*16.0.2* Packaging of ver 16.0.2
*16.0.1alpha* 16.0.1 alpha release
</changelog>
<category>Admin</category>
<description>
The Contact Manager module lets you add contacts to groups.
</description>
<more-info>https://wiki.freepbx.org/display/F2/Contact+Manager+Module</more-info>
<menuitems>
<contactmanager needsenginedb="yes">Contact Manager</contactmanager>
</menuitems>
<depends>
<version>15.0.6.18</version>
<module>userman ge 13.0.70</module>
</depends>
<supported>
<version>16.0</version>
</supported>
<hooks>
<bulkhandler class="Bulkhandler" namespace="FreePBX\modules">
<method callingMethod="getHeaders" class="Contactmanager" namespace="FreePBX\modules">bulkhandlerGetHeaders</method>
<method callingMethod="getTypes" class="Contactmanager" namespace="FreePBX\modules">bulkhandlerGetTypes</method>
<method callingMethod="import" class="Contactmanager" namespace="FreePBX\modules">bulkhandlerImport</method>
<method callingMethod="export" class="Contactmanager" namespace="FreePBX\modules">bulkhandlerExport</method>
</bulkhandler>
<userman class="Userman" namespace="FreePBX\modules">
<method callingMethod="delGroup" class="Contactmanager" namespace="FreePBX\modules">usermanDelGroup</method>
<method callingMethod="addGroup" class="Contactmanager" namespace="FreePBX\modules">usermanAddGroup</method>
<method callingMethod="updateGroup" class="Contactmanager" namespace="FreePBX\modules">usermanUpdateGroup</method>
<method callingMethod="delUser" class="Contactmanager" namespace="FreePBX\modules">usermanDelUser</method>
<method callingMethod="addUser" class="Contactmanager" namespace="FreePBX\modules">usermanAddUser</method>
<method callingMethod="updateUser" class="Contactmanager" namespace="FreePBX\modules">usermanUpdateUser</method>
<method callingMethod="myShowPage" class="Contactmanager" namespace="FreePBX\modules">usermanShowPage</method>
<method callingMethod="getExtraUserDetailsDisplay" class="Contactmanager" namespace="FreePBX\modules">usermanUserDetails</method>
<method callingMethod="getExtraContactInfo" class="Contactmanager" namespace="FreePBX\modules">usermanAddContactInfo</method>
</userman>
<ucp class="Ucp">
<method callingMethod="constructModuleConfigPages" class="Contactmanager" namespace="FreePBX\modules">ucpConfigPage</method>
<method callingMethod="addUser" class="Contactmanager" namespace="FreePBX\modules">ucpAddUser</method>
<method callingMethod="updateUser" class="Contactmanager" namespace="FreePBX\modules">ucpUpdateUser</method>
<method callingMethod="delUser" class="Contactmanager" namespace="FreePBX\modules">ucpDelUser</method>
<method callingMethod="addGroup" class="Contactmanager" namespace="FreePBX\modules">ucpAddGroup</method>
<method callingMethod="updateGroup" class="Contactmanager" namespace="FreePBX\modules">ucpUpdateGroup</method>
<method callingMethod="delGroup" class="Contactmanager" namespace="FreePBX\modules">ucpDelGroup</method>
</ucp>
</hooks>
<database>
<table name="contactmanager_groups">
<field name="id" type="integer" primaryKey="true" autoincrement="true"/>
<field name="owner" type="integer"/>
<field name="name" type="string" length="80"/>
<field name="type" type="string" length="25"/>
</table>
<table name="contactmanager_group_entries">
<field name="id" type="integer" primarykey="true" autoincrement="true"/>
<field name="groupid" type="integer"/>
<field name="user" type="integer"/>
<field name="displayname" type="string" length="100" default=""/>
<field name="fname" type="string" length="100" default=""/>
<field name="lname" type="string" length="100" default=""/>
<field name="title" type="string" length="100" default=""/>
<field name="company" type="string" length="100" default=""/>
<field name="address" type="string" length="200" default=""/>
<field name="uuid" type="string" length="36" notnull="false"/>
<key name="uuid_index" type="unique">
<column name="uuid"/>
</key>
</table>
<table name="contactmanager_entry_speeddials">
<field name="id" type="string" length="5" primaryKey="true"/>
<field name="entryid" type="integer"/>
<field name="numberid" type="integer"/>
</table>
<table name="contactmanager_entry_numbers">
<field name="id" type="integer" primaryKey="true" autoincrement="true"/>
<field name="entryid" type="integer"/>
<field name="number" type="string" length="100" notnull="false"/>
<field name="extension" type="string" length="100" notnull="false"/>
<field name="countrycode" type="string" length="4" notnull="false"/>
<field name="nationalnumber" type="string" length="100" notnull="false"/>
<field name="regioncode" type="string" length="2" notnull="false"/>
<field name="locale" type="string" length="2" notnull="false"/>
<field name="stripped" type="string" length="100" notnull="false"/>
<field name="type" type="string" length="100" notnull="false"/>
<field name="flags" type="string" length="100" notnull="false"/>
<field name="E164" type="string" length="100" notnull="false"/>
<field name="possibleshort" type="boolean" notnull="false"/>
</table>
<table name="contactmanager_entry_images">
<field name="entryid" type="integer" primaryKey="true"/>
<field name="image" type="blob" notnull="false"/>
<field name="format" type="string" length="45"/>
<field name="gravatar" type="boolean" default="0"/>
</table>
<table name="contactmanager_entry_userman_images">
<field name="uid" type="integer" primaryKey="true"/>
<field name="image" type="blob" notnull="false"/>
<field name="format" type="string" length="45"/>
<field name="gravatar" type="boolean" default="0"/>
</table>
<table name="contactmanager_entry_xmpps">
<field name="id" type="integer" primaryKey="true" autoincrement="true"/>
<field name="entryid" type="integer"/>
<field name="xmpp" type="string" length="100" notnull="false"/>
</table>
<table name="contactmanager_entry_emails">
<field name="id" type="integer" primaryKey="true" autoincrement="true"/>
<field name="entryid" type="integer"/>
<field name="email" type="string" length="100" notnull="false"/>
</table>
<table name="contactmanager_entry_websites">
<field name="id" type="integer" primaryKey="true" autoincrement="true"/>
<field name="entryid" type="integer"/>
<field name="website" type="string" length="100" notnull="false"/>
</table>
<table name="contactmanager_general_favorites">
<field name="id" type="integer" primaryKey="true" autoincrement="true"/>
<field name="list_name" type="string" length="100" notnull="true"/>
<field name="contact_ids" type="blob"/>
</table>
<table name="contactmanager_user_favorites">
<field name="uid" type="integer"/>
<field name="contact_ids" type="blob"/>
</table>
</database>
<console>
<command>
<name>contactmanager</name>
</command>
</console>
</module>