forked from FreePBX/userman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
module.xml
222 lines (222 loc) · 10.1 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<module>
<rawname>userman</rawname>
<name>User Management</name>
<version>14.0.18.5</version>
<publisher>Sangoma Technologies Corporation</publisher>
<license>AGPLv3+</license>
<licenselink>http://www.gnu.org/licenses/agpl-3.0.txt</licenselink>
<repo>standard</repo>
<description>
This Module manages all PBX users. It allows an Administrator to create a User Account that can be used by other applications for login or API purposes.
</description>
<more-info>https://wiki.freepbx.org/display/FPG/User+Management+Module</more-info>
<changelog>
*14.0.18.5* SMOBILE-294 select by module from userman-settings
*14.0.18.4* FREEI-3556
*14.0.18.3* Packaging of ver 14.0.18.3
*14.0.18.2* FREEI-3547: don't add AMPUSER/none/accountcode to asterisk database
*14.0.18.1* Packaging of ver 14.0.18.1
*14.0.18* Packaging of ver 14.0.18
*14.0.17* Add previous user e-mail address to extraData
*14.0.16* FREEPBX-21902- Remove directory in table kvstore - v13
*14.0.15* FREEI-2097 Handling quotes, if coming into username
*14.0.14* Packaging of ver 14.0.14
*14.0.13* FREEI-1623 Userman Delete button GUI improvement
*14.0.12* FREEI-1458 user manager: add instructions to select a directory to add users
*14.0.11* Fixed typo when calling delete group hook
*14.0.10* FREEI-1201 Ordering userman groups generates PHP error
*14.0.9* FREEI-932 some displayed info needs to be sanitized to prevent injected scripts from running
*14.0.8* Fix comments from FREEI-845
*14.0.7* Resolving a few XSS vulnerabilities
*14.0.6* Fixes FREEPBX-20337: added CSS class "confidential" to password input (FreePBX 14 backport)
*14.0.5* Use job class instead of cron
*14.0.4* Use lazy loading console commands
*14.0.3.49* FREEPBX-19572
*14.0.3.48* Fix landing page errors
*14.0.3.47* FREEPBX-18752 - improving help text
*14.0.3.46* Display user locks
*14.0.3.45* Bugfix/FREEPBX-17069 dashboard ucp accessible
*14.0.3.44* Added optional parameter forceType to sendEmail function
*14.0.3.43* FREEPBX-17883
*14.0.3.42* FREEPBX-17848
*14.0.3.41* Fixing FREEPBX-17563 Importing userman groups issue
*14.0.3.40* FREEPBX-16966 Remove 'FreePBX Support' option from Menu selections
*14.0.3.39* FREEPBX-16279 Error in database. Groups associated with a directory authenticated by voicemail
*14.0.3.38* FREEPBX-16966 Remove 'FreePBX Support' option from Menu selections
*14.0.3.37* FREEPBX-16241 FREEPBX-16494 FREEPBX-16377
*14.0.3.36* ZUC-121 Create users after extension is created
*14.0.3.35* FREEPBX-15647
*14.0.3.34* FREEPBX-15571
*14.0.3.33* Fix javascript error
*14.0.3.32* FREEPBX-15647
*14.0.3.31* FREEPBX-16131
*14.0.3.30* FREEPBX-16020 FREEPBX-15532
*14.0.3.29* FREEPBX-15571
*14.0.3.28* FREEPBX-15614
*14.0.3.27* FREEPBX-15304
*14.0.3.26* FREEPBX-15576 Add function to retrieve group locale settings
*14.0.3.25* FREEPBX-15464
*14.0.3.24* Openldap legacy: allow unauthenticated connection, openldap2 and msad2 views: fix secure connection select
*14.0.3.23* Ordering of directory deletions
*14.0.3.22* FREEPBX-15200 Use Custom Username option broken under Extensions
*14.0.3.21* Upgrade bug fixes
*14.0.3.20* Email
*14.0.3.19* Type equals text only
*14.0.3.18* More FREEPBX-15204
*14.0.3.17* FREEPBX-15204
*14.0.3.16* FREEPBX-15147 Always return empty array
*14.0.3.15* FREEPBX-15134
*14.0.3.14* FREEPBX-15137 Use doctrine for tables
*14.0.3.13* Dont lock down the password
*14.0.3.12* FREEPBX-15108 FREEPBX-15096
*14.0.3.11* Duplicate domains
*14.0.3.10* AD: Catch error if we cant find any primary groups
*14.0.3.9* Set default auth if one was not previously set
*14.0.3.8* Add account_suffix and use_tls configurations
*14.0.3.7* FREEPBX-14963 Put an alert in Userman if no directories are active
*14.0.3.6* FREEPBX-14973 add back removed function
*14.0.3.5* FREEPBX-14966 fix rnav options for different directories
*14.0.3.4* Bump
*14.0.3.3* Run force sync from the gui
*14.0.3.2* Merge from 13
*14.0.3.1* FREEPBX-14914 dont implement class
*14.0.3* Merge from 13
*14.0.2.1* Reduce key length in database
*14.0.2* FREEPBX-14209 use phppass instead of sha1s
*14.0.1.1* XML database creation
*14.0.1alpha7* Allow user and group counts above 1000
*14.0.1alpha1* Inital Release
</changelog>
<info/>
<category>Admin</category>
<menuitems>
<userman needsenginedb="yes">User Management</userman>
</menuitems>
<depends>
<phpversion>5.3.3</phpversion>
<version>14.0.12</version>
<module>core ge 13.0.84</module>
</depends>
<hooks>
<core class="Core" namespace="FreePBX\modules">
<method callingMethod="getQuickCreateDisplay" class="Userman" namespace="FreePBX\modules">getQuickCreateDisplay</method>
<method callingMethod="processQuickCreate" class="Userman" namespace="FreePBX\modules">processQuickCreate</method>
</core>
<bulkhandler class="Bulkhandler" namespace="FreePBX\modules" priority="150">
<method callingMethod="getHeaders" class="Userman" namespace="FreePBX\modules">bulkhandlerGetHeaders</method>
<method callingMethod="getTypes" class="Userman" namespace="FreePBX\modules">bulkhandlerGetTypes</method>
<method callingMethod="import" class="Userman" namespace="FreePBX\modules">bulkhandlerImport</method>
<method callingMethod="export" class="Userman" namespace="FreePBX\modules">bulkhandlerExport</method>
</bulkhandler>
</hooks>
<database>
<table name="userman_users">
<field name="id" type="integer" primarykey="true" autoincrement="true"/>
<field name="auth" type="string" length="150" default="freepbx" notnull="false"/>
<field name="authid" type="string" length="750" notnull="false"/>
<field name="username" type="string" length="150" notnull="false"/>
<field name="description" type="string" length="255" notnull="false"/>
<field name="password" type="string" length="255" notnull="false"/>
<field name="default_extension" type="string" length="45" default="none"/>
<field name="primary_group" type="integer" notnull="false"/>
<field name="permissions" type="blob" notnull="false"/>
<field name="fname" type="string" length="100" notnull="false"/>
<field name="lname" type="string" length="100" notnull="false"/>
<field name="displayname" type="string" length="200" notnull="false"/>
<field name="title" type="string" length="100" notnull="false"/>
<field name="company" type="string" length="100" notnull="false"/>
<field name="department" type="string" length="100" notnull="false"/>
<field name="language" type="string" length="100" notnull="false"/>
<field name="timezone" type="string" length="100" notnull="false"/>
<field name="dateformat" type="string" length="100" notnull="false"/>
<field name="timeformat" type="string" length="100" notnull="false"/>
<field name="datetimeformat" type="string" length="100" notnull="false"/>
<field name="email" type="text" notnull="false"/>
<field name="cell" type="string" length="100" notnull="false"/>
<field name="work" type="string" length="100" notnull="false"/>
<field name="home" type="string" length="100" notnull="false"/>
<field name="fax" type="string" length="100" notnull="false"/>
<key name="username_UNIQUE" type="unique">
<column name="username"/>
<column name="auth"/>
</key>
</table>
<table name="userman_users_settings">
<field name="uid" type="integer"/>
<field name="module" type="string" length="65"/>
<field name="key" type="string" length="190"/>
<field name="val" type="blob"/>
<field name="type" type="string" length="16" notnull="false"/>
<key name="index4" type="unique">
<column name="uid"/>
<column name="module"/>
<column name="key"/>
</key>
<key name="index2" type="index">
<column name="uid"/>
<column name="key"/>
</key>
<key name="index6" type="index">
<column name="module"/>
<column name="uid"/>
</key>
</table>
<table name="userman_groups">
<field name="id" type="integer" primarykey="true" autoincrement="true"/>
<field name="auth" type="string" length="150" default="freepbx" notnull="false"/>
<field name="authid" type="string" length="750" notnull="false"/>
<field name="groupname" type="string" length="150" notnull="false"/>
<field name="description" type="string" length="255" notnull="false"/>
<field name="language" type="string" length="100" notnull="false"/>
<field name="timezone" type="string" length="100" notnull="false"/>
<field name="dateformat" type="string" length="100" notnull="false"/>
<field name="timeformat" type="string" length="100" notnull="false"/>
<field name="datetimeformat" type="string" length="100" notnull="false"/>
<field name="priority" type="integer" default="5"/>
<field name="users" type="blob" notnull="false"/>
<field name="permissions" type="blob" notnull="false"/>
<field name="local" type="integer" notnull="true" default="0"/>
<key name="groupname_UNIQUE" type="unique">
<column name="groupname"/>
<column name="auth"/>
</key>
</table>
<table name="userman_groups_settings">
<field name="gid" type="integer"/>
<field name="module" type="string" length="65"/>
<field name="key" type="string" length="190"/>
<field name="val" type="blob"/>
<field name="type" type="string" length="16" notnull="false"/>
<key name="index4" type="unique">
<column name="gid"/>
<column name="module"/>
<column name="key"/>
</key>
<key name="index2" type="index">
<column name="gid"/>
<column name="key"/>
</key>
<key name="index6" type="index">
<column name="module"/>
<column name="gid"/>
</key>
</table>
<table name="userman_directories">
<field name="id" type="integer" primarykey="true" autoincrement="true"/>
<field name="name" type="string" length="250" notnull="false"/>
<field name="driver" type="string" length="150" default=""/>
<field name="active" type="boolean" default="0"/>
<field name="order" type="integer" default="5"/>
<field name="default" type="boolean" default="0"/>
<field name="locked" type="boolean" default="0"/>
</table>
</database>
<console>
<command>
<name>userman</name>
</command>
</console>
<supported>
<version>14.0</version>
</supported>
</module>