-
Notifications
You must be signed in to change notification settings - Fork 3
/
Survey.sopm
402 lines (367 loc) · 20.3 KB
/
Survey.sopm
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
<?xml version="1.0" encoding="utf-8"?>
<otrs_package version="1.0">
<Name>Survey</Name>
<Version>7.1.1</Version>
<Framework>7.1.x</Framework>
<Vendor>Znuny</Vendor>
<URL>https://www.znuny.org/</URL>
<License>GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007</License>
<Description Lang="en">A customer survey tool.</Description>
<Description Lang="de">Tool für Kundenumfragen.</Description>
<Description Lang="es">Una herramienta de encuestas a clientes.</Description>
<Description Lang="hu">Egy ügyfélkérdőív eszköz.</Description>
<ChangeLog Version="7.1.1" Date="2024-08-08 08:19:35 +0200">Initial release for Znuny 7.1.</ChangeLog>
<ChangeLog Version="7.0.1" Date="2023-06-23 20:58:19 +0200">Initial release for Znuny 7.0</ChangeLog>
<ChangeLog Version="6.5.1" Date="2023-02-20 14:20:40 +0100">Initial release for Znuny 6.5.</ChangeLog>
<ChangeLog Version="6.4.1" Date="2022-07-29 11:23:09 +0200">Initial release for Znuny 6.4.</ChangeLog>
<ChangeLog Version="6.3.1" Date="2022-03-22 22:07:57 +0100">Ported to 6.3</ChangeLog>
<ChangeLog Version="6.2.1" Date="2021-11-09 10:49:42 +0100">Ported to 6.2</ChangeLog>
<Filelist>
<File Permission="660" Location="Kernel/Config/Files/XML/Survey.xml"/>
<File Permission="660" Location="Kernel/Language/bg_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/cs_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/da_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/de_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/el_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/en_GB_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/es_MX_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/es_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/fa_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/fi_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/fr_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/gl_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/hr_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/hu_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/id_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/it_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/ja_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/mk_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/ms_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/nb_NO_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/nl_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/pl_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/pt_BR_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/pt_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/ro_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/ru_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/sl_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/sr_Cyrl_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/sr_Latn_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/sv_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/sw_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/th_TH_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/uk_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/vi_VN_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/zh_CN_Survey.pm"/>
<File Permission="660" Location="Kernel/Language/zh_TW_Survey.pm"/>
<File Permission="660" Location="Kernel/Modules/AgentSurveyAdd.pm"/>
<File Permission="660" Location="Kernel/Modules/AgentSurveyEdit.pm"/>
<File Permission="660" Location="Kernel/Modules/AgentSurveyEditQuestions.pm"/>
<File Permission="660" Location="Kernel/Modules/AgentSurveyOverview.pm"/>
<File Permission="660" Location="Kernel/Modules/AgentSurveyStats.pm"/>
<File Permission="660" Location="Kernel/Modules/AgentSurveyZoom.pm"/>
<File Permission="660" Location="Kernel/Modules/PublicSurvey.pm"/>
<File Permission="660" Location="Kernel/Output/HTML/Layout/Survey.pm"/>
<File Permission="660" Location="Kernel/Output/HTML/SurveyMenu/Generic.pm"/>
<File Permission="660" Location="Kernel/Output/HTML/SurveyOverview/Small.pm"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/AgentSurveyAdd.tt"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/AgentSurveyEdit.tt"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/AgentSurveyEditQuestions.tt"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/AgentSurveyOverviewNavBar.tt"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/AgentSurveyOverviewSmall.tt"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/AgentSurveyStats.tt"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/AgentSurveyZoom.tt"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/PublicSurvey.tt"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/SmartTags/AgentSurveyAdd.tt"/>
<File Permission="660" Location="Kernel/Output/HTML/Templates/Standard/SmartTags/AgentSurveyEdit.tt"/>
<File Permission="660" Location="Kernel/System/Console/Command/Maint/Survey/RequestsDelete.pm"/>
<File Permission="660" Location="Kernel/System/Console/Command/Maint/Survey/RequestsSend.pm"/>
<File Permission="660" Location="Kernel/System/Stats/Dynamic/SurveyList.pm"/>
<File Permission="660" Location="Kernel/System/Survey.pm"/>
<File Permission="660" Location="Kernel/System/Survey/Answer.pm"/>
<File Permission="660" Location="Kernel/System/Survey/Question.pm"/>
<File Permission="660" Location="Kernel/System/Survey/Request.pm"/>
<File Permission="660" Location="Kernel/System/Survey/Vote.pm"/>
<File Permission="660" Location="Kernel/System/Ticket/Event/SurveySendRequest.pm"/>
<File Permission="660" Location="scripts/test/Console/Command/Maint/Survey/RequestsDelete.t"/>
<File Permission="660" Location="scripts/test/Console/Command/Maint/Survey/RequestsSend.t"/>
<File Permission="660" Location="scripts/test/Selenium/Agent/AgentSurveyAdd.t"/>
<File Permission="660" Location="scripts/test/Selenium/Agent/AgentSurveyEdit.t"/>
<File Permission="660" Location="scripts/test/Selenium/Agent/AgentSurveyEditQuestions.t"/>
<File Permission="660" Location="scripts/test/Selenium/Agent/AgentSurveyOverview.t"/>
<File Permission="660" Location="scripts/test/Selenium/Agent/AgentSurveyStats.t"/>
<File Permission="660" Location="scripts/test/Selenium/Agent/AgentSurveyZoom.t"/>
<File Permission="660" Location="scripts/test/Selenium/Output/SurveyMenu/Generic.t"/>
<File Permission="660" Location="scripts/test/Selenium/Output/SurveyOverview/Small.t"/>
<File Permission="660" Location="scripts/test/Selenium/Public/PublicSurvey.t"/>
<File Permission="660" Location="scripts/test/Stats/Dynamic/DynamicList.t"/>
<File Permission="660" Location="scripts/test/Survey.t"/>
<File Permission="660" Location="scripts/test/Survey/GetRequestRecipient.t"/>
<File Permission="660" Location="scripts/test/Survey/PublicAnswerSet.t"/>
<File Permission="660" Location="scripts/test/Survey/Vote/VoteGetAll.t"/>
<File Permission="660" Location="var/httpd/htdocs/js/Survey.Agent.CustomerUserConditions.js"/>
<File Permission="660" Location="var/httpd/htdocs/js/Survey.Agent.SurveyEditQuestions.js"/>
<File Permission="660" Location="var/httpd/htdocs/js/Survey.Agent.SurveyOverview.js"/>
<File Permission="660" Location="var/httpd/htdocs/js/Survey.Agent.SurveyStats.js"/>
<File Permission="660" Location="var/httpd/htdocs/js/Survey.Agent.SurveyZoom.js"/>
<File Permission="660" Location="var/httpd/htdocs/skins/Agent/default/css/Survey.Agent.Default.css"/>
<File Permission="660" Location="var/httpd/htdocs/skins/Customer/default/css/Survey.Customer.Default.css"/>
<File Permission="660" Location="var/packagesetup/Survey.pm"/>
</Filelist>
<DatabaseInstall Type="post">
<TableCreate Name="survey">
<Column Name="id" Required="true" PrimaryKey="true" AutoIncrement="true" Type="BIGINT"/>
<Column Name="surveynumber" Required="false" Size="50" Type="VARCHAR"/>
<Column Name="title" Required="false" Size="250" Type="VARCHAR"/>
<Column Name="introduction" Required="false" Size="1000" Type="VARCHAR"/>
<Column Name="description" Required="false" Size="1000" Type="VARCHAR"/>
<Column Name="notification_sender" Required="false" Size="250" Type="VARCHAR"/>
<Column Name="notification_subject" Required="false" Size="250" Type="VARCHAR"/>
<Column Name="notification_body" Required="false" Size="2000" Type="VARCHAR"/>
<Column Name="status" Required="false" Size="50" Type="VARCHAR"/>
<Column Name="send_conditions" Required="false" Size="2000" Type="VARCHAR"/>
<Column Name="create_time" Required="false" Type="DATE"/>
<Column Name="create_by" Required="false" Type="INTEGER"/>
<Column Name="change_time" Required="false" Type="DATE"/>
<Column Name="change_by" Required="false" Type="INTEGER"/>
</TableCreate>
<TableCreate Name="survey_queue">
<Column Name="survey_id" Required="true" Type="BIGINT"/>
<Column Name="queue_id" Required="true" Type="INTEGER"/>
<Unique Name="survey_queue_view">
<UniqueColumn Name="survey_id"/>
<UniqueColumn Name="queue_id"/>
</Unique>
<Index Name="survey_queue_survey_id">
<IndexColumn Name="survey_id"/>
</Index>
<Index Name="survey_queue_queue_id">
<IndexColumn Name="queue_id"/>
</Index>
</TableCreate>
<TableCreate Name="survey_answer">
<Column Name="id" Required="true" PrimaryKey="true" AutoIncrement="true" Type="BIGINT"/>
<Column Name="question_id" Required="true" Type="BIGINT"/>
<Column Name="answer" Required="true" Size="250" Type="VARCHAR"/>
<Column Name="position" Required="true" Type="INTEGER"/>
<Column Name="create_time" Required="false" Type="DATE"/>
<Column Name="create_by" Required="false" Type="INTEGER"/>
<Column Name="change_time" Required="false" Type="DATE"/>
<Column Name="change_by" Required="false" Type="INTEGER"/>
<Index Name="survey_answer_question_id">
<IndexColumn Name="question_id"/>
</Index>
</TableCreate>
<TableCreate Name="survey_question">
<Column Name="id" Required="true" PrimaryKey="true" AutoIncrement="true" Type="BIGINT"/>
<Column Name="survey_id" Required="true" Type="BIGINT"/>
<Column Name="question" Required="true" Size="250" Type="VARCHAR"/>
<Column Name="question_type" Required="true" Size="50" Type="VARCHAR"/>
<Column Name="position" Required="true" Type="SMALLINT"/>
<Column Name="answer_required" Required="false" Type="SMALLINT"/>
<Column Name="create_time" Required="false" Type="DATE"/>
<Column Name="create_by" Required="false" Type="INTEGER"/>
<Column Name="change_time" Required="false" Type="DATE"/>
<Column Name="change_by" Required="false" Type="INTEGER"/>
<Index Name="survey_question_survey_id">
<IndexColumn Name="survey_id"/>
</Index>
</TableCreate>
<TableCreate Name="survey_request">
<Column Name="id" Required="true" PrimaryKey="true" AutoIncrement="true" Type="BIGINT"/>
<Column Name="ticket_id" Required="true" Type="BIGINT"/>
<Column Name="survey_id" Required="true" Type="BIGINT"/>
<Column Name="valid_id" Required="true" Type="SMALLINT"/>
<Column Name="public_survey_key" Required="true" Size="250" Type="VARCHAR"/>
<Column Name="send_to" Required="true" Size="250" Type="VARCHAR"/>
<Column Name="send_time" Required="false" Type="DATE"/>
<Column Name="vote_time" Required="false" Type="DATE"/>
<Column Name="create_time" Required="false" Type="DATE"/>
<Index Name="survey_request_ticket_id">
<IndexColumn Name="ticket_id"/>
</Index>
<Index Name="survey_request_survey_id">
<IndexColumn Name="survey_id"/>
</Index>
<Index Name="survey_request_valid_id">
<IndexColumn Name="valid_id"/>
</Index>
</TableCreate>
<TableCreate Name="survey_vote">
<Column Name="id" Required="true" PrimaryKey="true" AutoIncrement="true" Type="BIGINT"/>
<Column Name="request_id" Required="true" Type="BIGINT"/>
<Column Name="question_id" Required="true" Type="BIGINT"/>
<Column Name="vote_value" Required="true" Size="1000" Type="VARCHAR"/>
<Column Name="create_time" Required="false" Type="DATE"/>
<Index Name="survey_vote_request_id">
<IndexColumn Name="request_id"/>
</Index>
<Index Name="survey_vote_question_id">
<IndexColumn Name="question_id"/>
</Index>
</TableCreate>
</DatabaseInstall>
<DatabaseUpgrade Type="post">
<TableAlter Name="survey_question" Version="1.0.14">
<ColumnChange NameOld="type" NameNew="question_type" Required="true" Size="50" Type="VARCHAR"/>
</TableAlter>
<TableAlter Name="survey" Version="1.0.18">
<ColumnAdd Name="notification_sender" Required="false" Size="250" Type="VARCHAR"/>
<ColumnAdd Name="notification_subject" Required="false" Size="250" Type="VARCHAR"/>
<ColumnAdd Name="notification_body" Required="false" Size="2000" Type="VARCHAR"/>
</TableAlter>
<TableCreate Name="survey_queue" Version="1.0.18">
<Column Name="survey_id" Required="true" Type="BIGINT"/>
<Column Name="queue_id" Required="true" Type="INTEGER"/>
</TableCreate>
<TableAlter Name="survey_request" Version="2.0.92">
<ColumnAdd Name="create_time" Required="false" Type="DATE"/>
</TableAlter>
<TableAlter Name="survey_question" Version="2.1.5">
<ColumnAdd Name="answer_required" Required="false" Type="SMALLINT"/>
</TableAlter>
<TableAlter Name="survey" Version="2.3.2">
<ColumnAdd Name="send_conditions" Required="false" Size="2000" Type="VARCHAR"/>
</TableAlter>
</DatabaseUpgrade>
<DatabaseUninstall Type="pre">
<TableDrop Name="survey"/>
<TableDrop Name="survey_queue"/>
<TableDrop Name="survey_answer"/>
<TableDrop Name="survey_question"/>
<TableDrop Name="survey_request"/>
<TableDrop Name="survey_vote"/>
</DatabaseUninstall>
<CodeUpgrade Type="post" Version="2.1.5"><![CDATA[
# create the package name
my $CodeModule = 'var::packagesetup::' . $Param{Structure}->{Name}->{Content};
$Kernel::OM->Get($CodeModule)->CodeUpgradeFromLowerThan_2_1_5();
]]></CodeUpgrade>
<CodeUpgrade Type="post" Version="2.0.92"><![CDATA[
# create the package name
my $CodeModule = 'var::packagesetup::' . $Param{Structure}->{Name}->{Content};
$Kernel::OM->Get($CodeModule)->CodeUpgradeFromLowerThan_2_0_92();
]]></CodeUpgrade>
<CodeUpgrade Type="post" Version="4.0.1"><![CDATA[
# create the package name
my $CodeModule = 'var::packagesetup::' . $Param{Structure}->{Name}->{Content};
$Kernel::OM->Get($CodeModule)->CodeUpgradeFromLowerThan_4_0_1();
]]></CodeUpgrade>
<CodeUpgrade Type="post" Version="4.0.91"><![CDATA[
# create the package name
my $CodeModule = 'var::packagesetup::' . $Param{Structure}->{Name}->{Content};
$Kernel::OM->Get($CodeModule)->CodeUpgradeFromLowerThan_4_0_91();
]]></CodeUpgrade>
<IntroInstall Type="pre" Title="Install Information" Lang="en"><![CDATA[
<br>
<strong>WELCOME</strong>
<br>
<br>
You are about to install the Survey add-on.<br>
<br>
<br>
]]></IntroInstall>
<IntroInstall Type="pre" Title="Installation Information" Lang="de"><![CDATA[
<br>
<strong>WILLKOMMEN</strong>
<br>
<br>
Sie sind im Begriff das Add-on Survey zu installieren.<br>
<br>
<br>
]]></IntroInstall>
<IntroInstall Type="pre" Title="Información de Instalación" Lang="es"><![CDATA[
<br>
<strong>BIENVENIDO</strong>
<br>
<br>
El módulo de encuesta para Znuny se instalará en breve.<br>
<br>
<br>
]]></IntroInstall>
<IntroInstall Type="pre" Title="Telepítési információk" Lang="hu"><![CDATA[
<br>
<strong>ÜDVÖZÖLJÜK</strong>
<br>
<br>
Ön a Survey Znuny csomag telepítésére készül.<br>
<br>
<br>
]]></IntroInstall>
<IntroUpgrade Type="pre" Title="Upgrade Information" Lang="en"><![CDATA[
<br>
<strong>WELCOME</strong>
<br>
<br>
You are about to upgrade the Survey add-on.<br>
<br>
<br>
]]></IntroUpgrade>
<IntroUpgrade Type="pre" Title="Upgrade Information" Lang="de"><![CDATA[
<br>
<strong>WILLKOMMEN</strong>
<br>
<br>
Sie sind im Begriff das Survey Add-on zu aktualisieren.<br>
<br>
<br>
]]></IntroUpgrade>
<IntroUpgrade Type="pre" Title="Información de Actualización" Lang="es"><![CDATA[
<br>
<strong>BIENVENIDO</strong>
<br>
<br>
Esta apunto de actualizar el módulo de encuestas de Znuny.<br>
<br>
<br>
]]></IntroUpgrade>
<IntroUpgrade Type="pre" Title="Frissítési információk" Lang="hu"><![CDATA[
<br>
<strong>ÜDVÖZÖLJÜK</strong>
<br>
<br>
Ön a Survey Znuny csomag frissítésére készül.<br>
<br>
<br>
]]></IntroUpgrade>
<IntroUninstall Type="pre" Title="Uninstallation Information" Lang="en"><![CDATA[
<br>
<strong>ATTENTION</strong>
<br>
<br>
If you uninstall this package, all database tables that were created during installation will be deleted.
All data from these tables will be irrevocably lost!
<br>
<br>
]]></IntroUninstall>
<IntroUninstall Type="pre" Title="Uninstallation Information" Lang="de"><![CDATA[
<br>
<strong>ACHTUNG</strong>
<br>
<br>
Bei der Deinstallation werden die von diesem Paket angelegten Datenbank-Tabellen gelöscht.
Alle darin enthaltenen Daten gehen unwiderruflich verloren!
<br>
<br>
]]></IntroUninstall>
<IntroUninstall Type="pre" Title="Información de Desinstalación" Lang="es"><![CDATA[
<br>
<strong>ATENCIÓN</strong>
<br>
<br>
Si usted desinstala este paquete, todas las tablas de la base de datos creadas durante la instalación serán borradas.
¡Todos los datos de esas tablas serán irrevocablemente perdidos!.
<br>
<br>
]]></IntroUninstall>
<IntroUninstall Type="pre" Title="Eltávolítási információk" Lang="hu"><![CDATA[
<br>
<strong>FIGYELEM</strong>
<br>
<br>
Ha eltávolítja ezt a csomagot, akkor a telepítés során létrehozott összes adatbázistábla törlésre kerül.
Az ezekben a táblákban lévő összes adat visszavonhatatlanul el fog veszni!
<br>
<br>
]]></IntroUninstall>
</otrs_package>