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 27, 2024
1 parent 47db165 commit 3d05625
Show file tree
Hide file tree
Showing 101 changed files with 357 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 @@
# 6.5.11 2024-??-??
- 2024-08-27 Added auto mapping for unknown actions to Znuny.Form.Input.FieldIDMapping.
- 2024-08-22 Added '--single-transaction' option to scripts/backup.pl for MySQL/MariaDB. The --single-transaction flag will start a transaction before running.
- 2024-07-29 Fixed evaluation of ticket ID parameter in generic interface operation TicketGet.
- 2024-07-25 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)
Expand Down
7 changes: 7 additions & 0 deletions Kernel/Config/Files/XML/Znuny.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3223,4 +3223,11 @@
</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 @@ -25,7 +25,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.0758331991627757;
$Self->{Completeness} = 0.075820991629105;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -8065,6 +8065,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -26,7 +26,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y - %T';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.200450813073579;
$Self->{Completeness} = 0.200418544752093;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8063,6 +8063,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -26,7 +26,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.203992915794558;
$Self->{Completeness} = 0.2039600772698;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -8063,6 +8063,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -32,7 +32,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.247464176461117;
$Self->{Completeness} = 0.247424339987122;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8069,6 +8069,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -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.357269360811464;
$Self->{Completeness} = 0.357211848036059;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -8065,6 +8065,8 @@ Opdater venligst dit framework først!',
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -25,7 +25,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.997262920624698;
$Self->{Completeness} = 0.997102382485512;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8062,6 +8062,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'Zeigt den Ticket-Titel in der "Notiz übergeben"-Aktion im Agenten-Interface an.',
'Loader module registration for the public interface.' => 'Lade-Modulregistrierung für das öffentliche Interface.',
'Adds the field mapping for AgentTicketActionCommon for an unknown action. Used by Znuny.Form.Input.' =>
'',

# 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 @@ -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.137497987441636;
$Self->{Completeness} = 0.137475853187379;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8068,6 +8068,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -31,7 +31,7 @@ sub Data {
$Self->{DateFormatShort} = '%Y-%M-%D';
$Self->{DateInputFormat} = '%Y-%M-%D';
$Self->{DateInputFormatLong} = '%Y-%M-%D - %T';
$Self->{Completeness} = 0.00257607470616648;
$Self->{Completeness} = 0.0025756600128783;

# csv separator
$Self->{Separator} = ',';
Expand Down Expand Up @@ -8068,6 +8068,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -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.619223957494767;
$Self->{Completeness} = 0.619124275595621;

# csv separator
$Self->{Separator} = ',';
Expand Down Expand Up @@ -8065,6 +8065,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -31,7 +31,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.617130896796007;
$Self->{Completeness} = 0.617031551835158;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8075,6 +8075,8 @@ El control del acceso adicional para demostrar o no demostrar éste enlace puede
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -26,7 +26,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.322814361616487;
$Self->{Completeness} = 0.322762395363812;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8063,6 +8063,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -25,7 +25,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.738689421993238;
$Self->{Completeness} = 0.738570508692853;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8062,6 +8062,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -25,7 +25,7 @@ sub Data {
$Self->{DateFormatShort} = '%D.%M.%Y';
$Self->{DateInputFormat} = '%D.%M.%Y';
$Self->{DateInputFormatLong} = '%D.%M.%Y - %T';
$Self->{Completeness} = 0.164224762518113;
$Self->{Completeness} = 0.164198325820992;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -8062,6 +8062,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -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.635485429077443;
$Self->{Completeness} = 0.635383129426916;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -8068,6 +8068,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -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.189019481564965;
$Self->{Completeness} = 0.188989053444945;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8065,6 +8065,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -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.396232490742232;
$Self->{Completeness} = 0.396168705730844;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8071,6 +8071,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -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.32410239896957;
$Self->{Completeness} = 0.324050225370251;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8070,6 +8070,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -25,7 +25,7 @@ sub Data {
$Self->{DateFormatShort} = '%D/%M/%Y';
$Self->{DateInputFormat} = '%D/%M/%Y';
$Self->{DateInputFormatLong} = '%D/%M/%Y - %T';
$Self->{Completeness} = 0.470294638544518;
$Self->{Completeness} = 0.470218931101095;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8062,6 +8062,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -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.221381420061182;
$Self->{Completeness} = 0.221345782356729;

# csv separator
$Self->{Separator} = '';
Expand Down Expand Up @@ -8068,6 +8068,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -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.253904363226534;
$Self->{Completeness} = 0.253863490019317;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8065,6 +8065,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 @@ -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.21655127998712;
$Self->{Completeness} = 0.216516419832582;

# csv separator
$Self->{Separator} = ';';
Expand Down Expand Up @@ -8066,6 +8066,8 @@ sub Data {
'Shows the title field in the NoteToLinkedTicket screen of the agent interface.' =>
'',
'Loader module registration for the public interface.' => '',
'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 3d05625

Please sign in to comment.