Skip to content

Commit

Permalink
Added auto mapping for unknown actions to Znuny.Form.Input.FieldIDMap…
Browse files Browse the repository at this point in the history
…ping.
  • Loading branch information
dennykorsukewitz committed Aug 26, 2024
1 parent 92b917d commit c0c66ec
Show file tree
Hide file tree
Showing 102 changed files with 360 additions and 50 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# 7.1.3 2024-??-??
- 2024-08-26 Added auto mapping for unknown actions to Znuny.Form.Input.FieldIDMapping.
- 2024-08-23 Fixed evaluation of ticket ID parameter in generic interface operation TicketGet.
- 2024-08-22 Console command Admin::PostMasterFilter::Import now will also update existing filters instead of only create new ones. Thanks to @meisterheister for reporting the issue. [#527](https://github.com/znuny/Znuny/issues/527)
- 2024-08-22 Added '--single-transaction' option to scripts/backup.pl for MySQL/MariaDB. The --single-transaction flag will start a transaction before running.
Expand Down
9 changes: 9 additions & 0 deletions Kernel/Config/Files/XML/Znuny.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3645,4 +3645,13 @@
</Hash>
</Value>
</Setting>

<Setting Name="AutoAttributFieldIDMapping" Required="0" Valid="1">
<Description Translatable="1">Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.</Description>
<Navigation>Frontend::Base</Navigation>
<Value>
<Item ValueType="Checkbox">1</Item>
</Value>
</Setting>

</otrs_config>
4 changes: 3 additions & 1 deletion Kernel/Language/ar_SA.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.074688115561392;
$Self->{Completeness} = 0.074675857541441;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -7903,6 +7903,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'غير فعال مؤقتاً',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/bg.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y - %T';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.196323046618516;
$Self->{Completeness} = 0.196290825537502;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7900,6 +7900,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'временно невалиден',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/ca.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.205515430072226;
$Self->{Completeness} = 0.205481700311833;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -7900,6 +7900,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'invàlid-temporalment',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/cs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.243598161523309;
$Self->{Completeness} = 0.243558181519777;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7906,6 +7906,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'neplatný-dočasně',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/da.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.344714379514117;
$Self->{Completeness} = 0.34465780403742;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -7902,6 +7902,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'ugyldig-midlertidigt',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/de.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.994418910045962;
$Self->{Completeness} = 0.99441982602987;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7900,6 +7900,8 @@ sub Data {
'Mapping der Ticketpriorität zum X-Priority E-Mail-Header für ausgehende E-Mails des Kommunikationskanals "Agent".',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'Mapping der Ticketpriorität zum X-Priority E-Mail-Header für ausgehende E-Mails des Kommunikationskanals "System".',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'Ergänzt Feld-Mapping für AgentTicketActionCommon für unbekannte Action. Wird von Znuny.Form.Input verwendet.',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'ungültig-temporär',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/el.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.136736703873933;
$Self->{Completeness} = 0.136714262268177;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7905,6 +7905,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'Προσωρινά Ακυρο',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/en_CA.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sub Data {
$Self->{DateFormatShort} = '%Y-%M-%D';
$Self->{DateInputFormat} = '%Y-%M-%D';
$Self->{DateInputFormatLong} = '%Y-%M-%D - %T';
$Self->{Completeness} = 0.00262639527248851;
$Self->{Completeness} = 0.00262596422123749;

# csv separator
$Self->{Separator} = ',';
Expand Down Expand Up @@ -7905,6 +7905,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => '',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/en_GB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.602921864740643;
$Self->{Completeness} = 0.60282291153783;

# csv separator
$Self->{Separator} = ',';
Expand Down Expand Up @@ -7902,6 +7902,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'invalid-temporarily',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/es.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.593893630991464;
$Self->{Completeness} = 0.593796159527326;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7913,6 +7913,8 @@ El control del acceso adicional para demostrar o no demostrar éste enlace puede
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'temporalmente-no-válido',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/es_CO.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.324688115561392;
$Self->{Completeness} = 0.324634826850484;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7901,6 +7901,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'temporalmente-inválido',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/es_MX.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.728988837820092;
$Self->{Completeness} = 0.72886919415723;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7900,6 +7900,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'temporalmente-inválido',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/et.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.165298752462246;
$Self->{Completeness} = 0.165271623174134;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -7900,6 +7900,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'ajutiselt kehtetu',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/fa.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.615397242284964;
$Self->{Completeness} = 0.615296241588708;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -7905,6 +7905,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'موقتا غیر معتبر',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/fi.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.188936309914642;
$Self->{Completeness} = 0.188905301165272;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7902,6 +7902,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'Poistettu käytöstä välikaikaisesti',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/fr.pm
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.382140512147078;
$Self->{Completeness} = 0.382077794190054;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7908,6 +7908,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'temporairement invalidé',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/fr_CA.pm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.327314510833881;
$Self->{Completeness} = 0.327260791071722;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7907,6 +7907,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'temporairement non valide',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/gl.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.461753118844386;
$Self->{Completeness} = 0.461677334646315;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7900,6 +7900,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'Non valido temporalmente',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/he.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.222586999343401;
$Self->{Completeness} = 0.222550467749877;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -7906,6 +7906,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'לא תקף זמנית',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/hi.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.256730137885752;
$Self->{Completeness} = 0.256688002625964;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7902,6 +7902,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'अवैध-अस्थायी रूप',
Expand Down
4 changes: 3 additions & 1 deletion Kernel/Language/hr.pm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.217662508207485;
$Self->{Completeness} = 0.217626784835057;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -7903,6 +7903,8 @@ sub Data {
'',
'Mapping of ticket priority to X-Priority email header for outgoing emails of communication channel "system".' =>
'',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# XML Definition: scripts/database/initial_insert.xml
'invalid-temporarily' => 'neispravno-privremeno',
Expand Down
Loading

0 comments on commit c0c66ec

Please sign in to comment.