Skip to content

Commit ee39041

Browse files
jepfdennykorsukewitzrkaldung
committed
Integrated packages Znuny4OTRS-OAuth2TokenManagement and Znuny4OTRS-MailAccounts.
Co-authored-by: Denny Korsukéwitz <[email protected]> Co-authored-by: Roy Kaldung <[email protected]>
1 parent 1474dc6 commit ee39041

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+6418
-1139
lines changed

CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# 6.3.1 2022-??-??
2+
- 2022-02-17 Integrated package Znuny4OTRS-MailAccounts.
3+
- 2022-02-17 Integrated package Znuny4OTRS-OAuth2TokenManagement.
24
- 2022-02-17 Updated CKEditor from version 4.16.0 to 4.17.1.
35
- 2022-02-16 Sector Nord AG: Added ProcessManagement TransitionAction - AppointmentUpdate and AppointmentRemove. Thanks to Sector Nord AG (@jsinagowitz). [#196](https://github.com/znuny/Znuny/pull/196)
46
- 2022-02-15 Fixed config navigation path for customer frontend module AJAXDynamicFieldWebservice. Thanks to Renée Bäcker (@reneeb). [#193](https://github.com/znuny/Znuny/pull/193)

COPYING-Third-Party

+5
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ o Name: CPAN Net::IMAP::Simple
106106
# Copyright (c) 2004 Casey West.
107107
# Copyright (c) 1999 Joao Fonseca.
108108

109+
o Name: CPAN Net::POP3::XOAuth2
110+
Web: n/a
111+
License: https://dev.perl.org/licenses/artistic.html
112+
Note: Copyright (C) Kizashi Nagata
113+
109114
o Name: CPAN Net::SSLGlue
110115
Web: n/a
111116
License: GNU v2 - http://www.gnu.org/licenses/gpl.html

Kernel/Config/Files/XML/Znuny.xml

+103
Original file line numberDiff line numberDiff line change
@@ -1416,4 +1416,107 @@
14161416
</Value>
14171417
</Setting>
14181418

1419+
<!--
1420+
OAuth2 token management
1421+
-->
1422+
<Setting Name="DBCRUD::OAuth2TokenConfig::CacheTTL" Required="1" Valid="1">
1423+
<Description Translatable="1">Cache settings for DBCRUD modules (default: 1 day).</Description>
1424+
<Navigation>Core</Navigation>
1425+
<Value>
1426+
<Item ValueType="String" ValueRegex="^\d+$">86400</Item>
1427+
</Value>
1428+
</Setting>
1429+
<Setting Name="Frontend::Module###AdminOAuth2TokenManagement" Required="0" Valid="1">
1430+
<Description Translatable="1">Frontend module registration for the agent interface.</Description>
1431+
<Navigation>Frontend::Admin::ModuleRegistration</Navigation>
1432+
<Value>
1433+
<Item ValueType="FrontendRegistration">
1434+
<Hash>
1435+
<Item Key="Group">
1436+
<Array>
1437+
<Item>admin</Item>
1438+
</Array>
1439+
</Item>
1440+
<Item Key="GroupRo">
1441+
<Array>
1442+
</Array>
1443+
</Item>
1444+
<Item Key="Description" Translatable="1"></Item>
1445+
<Item Key="NavBarName">AdminOAuth2TokenManagement</Item>
1446+
<Item Key="Title" Translatable="1">AdminOAuth2TokenManagement</Item>
1447+
</Hash>
1448+
</Item>
1449+
</Value>
1450+
</Setting>
1451+
<Setting Name="Frontend::NavigationModule###AdminOAuth2TokenManagement" Required="0" Valid="1">
1452+
<Description Translatable="1">Admin area navigation for the agent interface.</Description>
1453+
<Navigation>Frontend::Admin::ModuleRegistration::AdminOverview</Navigation>
1454+
<Value>
1455+
<Hash>
1456+
<Item Key="Group">
1457+
<Array>
1458+
<Item>admin</Item>
1459+
</Array>
1460+
</Item>
1461+
<Item Key="GroupRo">
1462+
<Array>
1463+
</Array>
1464+
</Item>
1465+
<Item Key="Module">Kernel::Output::HTML::NavBar::ModuleAdmin</Item>
1466+
<Item Key="Name" Translatable="1">OAuth2</Item>
1467+
<Item Key="Block">Communication</Item>
1468+
<Item Key="Description" Translatable="1">Manage OAuth2 tokens and their configurations.</Item>
1469+
<Item Key="IconBig">fa-id-badge</Item>
1470+
<Item Key="IconSmall"></Item>
1471+
</Hash>
1472+
</Value>
1473+
</Setting>
1474+
<Setting Name="Loader::Module::AdminOAuth2TokenManagement###200-OAuth2TokenManagement" Required="1" Valid="1">
1475+
<Description Translatable="1">Loader module registration for AdminOAuth2TokenManagement.</Description>
1476+
<Navigation>Frontend::Admin::ModuleRegistration::Loader</Navigation>
1477+
<Value>
1478+
<Hash>
1479+
<Item Key="CSS">
1480+
<Array>
1481+
<Item></Item>
1482+
</Array>
1483+
</Item>
1484+
<Item Key="JavaScript">
1485+
<Array>
1486+
<Item>Core.Agent.Admin.OAuth2TokenManagement.js</Item>
1487+
</Array>
1488+
</Item>
1489+
</Hash>
1490+
</Value>
1491+
</Setting>
1492+
<Setting Name="Frontend::NotifyModule###100-OAuth2TokenManagementTokenExpired" Required="1" Valid="1">
1493+
<Description Translatable="1">Displays notifications for missing and expired OAuth2 tokens.</Description>
1494+
<Navigation>Frontend::Agent::FrontendNotification</Navigation>
1495+
<Value>
1496+
<Hash>
1497+
<Item Key="Module">Kernel::Output::HTML::Notification::OAuth2TokenManagementTokenExpired</Item>
1498+
</Hash>
1499+
</Value>
1500+
</Setting>
1501+
1502+
<!--
1503+
Mail accounts
1504+
-->
1505+
<Setting Name="SendmailModule::AuthenticationType" Required="1" Valid="1" ConfigLevel="200">
1506+
<Description Translatable="1">Authentication type for sendmail module. If 'OAuth2 token' has been selected, SendmailModule::OAuth2TokenConfigName must also be configured.</Description>
1507+
<Navigation>Core::Email</Navigation>
1508+
<Value>
1509+
<Item ValueType="Select" SelectedID="password">
1510+
<Item ValueType="Option" Value="password" Translatable="1">Password</Item>
1511+
<Item ValueType="Option" Value="oauth2_token" Translatable="1">OAuth2 token</Item>
1512+
</Item>
1513+
</Value>
1514+
</Setting>
1515+
<Setting Name="SendmailModule::OAuth2TokenConfigName" Required="1" Valid="1" ConfigLevel="200">
1516+
<Description Translatable="1">Name of the OAuth2 token configuration to use for sending mails if 'OAuth2 token' was configured in SendmailModule::AuthenticationType.</Description>
1517+
<Navigation>Core::Email</Navigation>
1518+
<Value>
1519+
<Item ValueType="String" ValueRegex=""></Item>
1520+
</Value>
1521+
</Setting>
14191522
</otrs_config>

Kernel/Language/de.pm

+57
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,69 @@ sub Data {
3434
$Self->{ThousandSeparator} = '.';
3535
$Self->{Translation} = {
3636

37+
"Authentication type for sendmail module. If 'OAuth2 token' has been selected, SendmailModule::OAuth2TokenConfigName must also be configured." =>
38+
"Authentifikationstyp für das Sendmail-Modul. Falls 'OAuth2-Token' gewählt wurde, muss SendmailModule::OAuth2TokenConfigName ebenfalls konfiguriert werden.",
39+
"Name of the OAuth2 token configuration to use for sending mails if 'OAuth2 token' was configured in SendmailModule::AuthenticationType."
40+
=> "Name der OAuth2-Token-Konfiguration für den Versand von E-Mails, falls 'OAuth2-Token' in SendmailModule::AuthenticationType konfiguriert wurde.",
41+
'OAuth2 token' => 'OAuth2-Token',
42+
'OAuth2 token configuration' => 'OAuth2-Token-Konfiguration',
43+
'Authentication type' => 'Authentifikationstyp',
44+
3745
'Handles changes to data of modules which use the DBCRUD base module.'
3846
=> 'Verarbeitet Änderungen an Daten von Modulen, die das DBCRUD-Modul als Basis nutzen.',
47+
3948
'Default format for export files.' => 'Default-Format für Exportdateien.',
4049
'Separator for exported CSV files.' => 'Trennzeichen für exportierte CSV-Dateien.',
4150
'Quoting character for exported CSV files.' => 'Anführungszeichen für exportierte CSV-Dateien.',
4251
'Cache settings for DBCRUD modules (default: 1 day).' => 'Cache-Einstellungen für DBCRUD-Module (Standardwert: 1 Tag).',
4352

53+
'Manage OAuth2 tokens and their configurations' => 'OAuth2-Token und deren Konfigurationen verwalten',
54+
'Token status' => 'Token-Status',
55+
'Refresh token status' => 'Refresh-Token-Status',
56+
'OAuth2 token configurations' => 'OAuth2-Token-Konfigurationen',
57+
'Last token request failed.' => 'Letzter Token-Request ist fehlgeschlagen.',
58+
'Token has expired on %s.' => 'Token ist am %s abgelaufen.',
59+
'Token is valid until %s.' => 'Token ist gültig bis %s.',
60+
'No token was requested yet.' => 'Bisher wurde kein Token angefordert.',
61+
'Refresh token request is not configured.' => 'Refresh-Token-Request ist nicht konfiguriert.',
62+
'Last (refresh) token request failed.' => 'Letzter (Refresh-)Token-Request ist fehlgeschlagen.',
63+
'Refresh token has expired on %s.' => 'Refresh-Token ist am %s abgelaufen.',
64+
'Refresh token has expired.' => 'Refresh-Token ist abgelaufen.',
65+
'Refresh token is valid until %s.' => 'Refresh-Token ist gültig bis %s.',
66+
'Refresh token is valid (without expiration date).' => 'Refresh-Token ist gültig (ohne Ablaufdatum).',
67+
'No refresh token was requested yet.' => 'Bisher wurde kein Refresh-Token angefordert.',
68+
'Validity of token configuration' => 'Gültigkeit der Token-Konfiguration',
69+
'Request new token' => 'Neues Token anfordern',
70+
'Delete this token and its configuration.' => 'Token und dessen Konfiguration löschen.',
71+
72+
'Do you really want to delete this token and its configuration?' => 'Soll das Token und dessen Konfiguration wirklich gelöscht werden?',
73+
74+
'Add OAuth2 token configuration' => 'OAuth2-Token-Konfiguration hinzufügen',
75+
'Add a new OAuth2 token configuration based on the selected template.' => 'Neue OAuth2-Token-Konfiguration auf Basis der gewählten Vorlage hinzufügen',
76+
77+
'Import and export' => 'Import und Export',
78+
'Upload a YAML file to import token configurations. See documentation on OAuth2 token management for further details.'
79+
=> 'Datei im YAML-Format zum Import von Token-Konfigurationen hochladen. Beachten Sie die Dokumentation zum OAuth2-Token-Management für weitere Informationen.',
80+
'Overwrite existing token configurations' => 'Bestehende Token-Konfigurationen überschreiben',
81+
'Import token configurations' => 'Token-Konfigurationen importieren',
82+
'Export token configurations' => 'Token-Konfigurationen exportieren',
83+
84+
'Add by template' => 'Auf Basis von Template hinzufügen',
85+
'Base configuration' => 'Basiskonfiguration',
86+
'This is the template that was used to create this OAuth2 token configuration.' => 'Dies ist die Vorlage, die zur Erstellung dieser OAuth2-Token-Konfiguration verwendet wurde.',
87+
'Client ID' => 'Client-ID',
88+
'Client secret' => 'Client-Secret',
89+
90+
'Expired token' => 'Abgelaufenes Token',
91+
'Shows a notification for admins below the top menu if the OAuth2 token has expired.' => 'Zeigt für abgelaufenes OAuth2-Token eine Benachrichtigung für Admins unterhalb des Hauptmenüs.',
92+
93+
'Expired refresh token' => 'Abgelaufenes Refresh-Token',
94+
'Shows a notification for admins below the top menu if the OAuth2 refresh token has expired.' => 'Zeigt für abgelaufenes OAuth2-Refresh-Token eine Benachrichtigung für Admins unterhalb des Hauptmenüs.',
95+
96+
'An OAuth2 token configuration with this name already exists.' => 'Es existiert bereits eine OAuth2-Token-Konfiguration mit diesem Namen.',
97+
98+
'OAuth2 token for "%s" has expired.' => 'OAuth2-Token für "%s" ist abgelaufen.',
99+
'OAuth2 refresh token for "%s" has expired.' => 'OAuth2-Refresh-Token für "%s" ist abgelaufen.',
44100

45101
'Dynamic fields shown in the ticket bulk screen of the agent interface.' => 'Dynamische Felder, die in der Ticket-Sammelaktion in der Agentenoberfläche angezeigt werden.',
46102
'This configuration defines if a dynamic field has to be checked in the agent ticket bulk view to get set for each ticket. This prevents unwanted overwrite of dynamic field values with their default or even empty values.' => 'Diese Konfiguration definiert, ob ein dynamisches Feld in der Ticket-Sammelaktion zum Setzen mit einer Checkbox markiert werden muss. Dies verhindert das ungewollte Überschreiben von dynamischen Feldwerten durch deren Standardwerte oder sogar leeren Inhalt.',
@@ -9169,6 +9225,7 @@ Ihr Helpdesk-Team
91699225
'Do you really want to delete this statistic?',
91709226
'Do you really want to reset this setting to it\'s default value?',
91719227
'Do you really want to revert this setting to its historical value?',
9228+
'Do you really want to delete this token and its configuration?',
91729229
'Don\'t save, update manually',
91739230
'Draft title',
91749231
'Duplicate event.',

0 commit comments

Comments
 (0)