Fixes #3848 - Remove api user and password for sipgate integration.

This commit is contained in:
Rolf Schmidt 2021-11-18 12:10:34 +01:00
parent 890853aa4b
commit 8a97a41dc9
3 changed files with 0 additions and 35 deletions

View file

@ -87,9 +87,6 @@ class Form extends App.Controller
config = @config config = @config
cleanupInput = @cleanupInput cleanupInput = @cleanupInput
config.api_user = cleanupInput(@$('input[name=api_user]').val())
config.api_password = cleanupInput(@$('input[name=api_password]').val())
# default caller_id # default caller_id
default_caller_id = @$('input[name=default_caller_id]').val() default_caller_id = @$('input[name=default_caller_id]').val()
config.outbound.default_caller_id = cleanupInput(default_caller_id) config.outbound.default_caller_id = cleanupInput(default_caller_id)

View file

@ -99,25 +99,6 @@
</table> </table>
</div> </div>
<p><%- @T('In order for Zammad to access %s, a %s API user and password must be stored here', 'Sipgate', 'Sipgate') %>:<p>
<div class="settings-entry">
<table class="settings-list" style="width: 100%;">
<thead>
<tr>
<th width="20%"><%- @T('Type') %>
<th width="80%"><%- @T('Content') %>
</thead>
<tbody>
<tr>
<td class="settings-list-row-control"><%- @T('API User') %>
<td class="settings-list-control-cell"><input type="input" class="form-control form-control--small js-select" value="<%= @config.api_user %>" name="api_user" placeholder="someuser@example.com">
<tr>
<td class="settings-list-row-control"><%- @T('API Password') %>
<td class="settings-list-control-cell"><input type="password" class="form-control form-control--small js-select" value="<%= @config.api_password %>" name="api_password" placeholder="">
</tbody>
</table>
</div>
<h2><%- @T('User assignment to Sipgate users') %></h2> <h2><%- @T('User assignment to Sipgate users') %></h2>
<p><%- @T('User assignment to Sipgate users to be able to offer extended like open new ticket screen on answering a call.') %> <p><%- @T('User assignment to Sipgate users to be able to offer extended like open new ticket screen on answering a call.') %>

View file

@ -362,10 +362,6 @@ msgstr ""
msgid "API Key" msgid "API Key"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/integration/sipgate.jst.eco
msgid "API Password"
msgstr ""
#: db/seeds/settings.rb #: db/seeds/settings.rb
msgid "API Password Access" msgid "API Password Access"
msgstr "" msgstr ""
@ -378,10 +374,6 @@ msgstr ""
msgid "API Token Access" msgid "API Token Access"
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/integration/sipgate.jst.eco
msgid "API User"
msgstr ""
#: app/assets/javascripts/app/views/import/freshdesk.jst.eco #: app/assets/javascripts/app/views/import/freshdesk.jst.eco
#: app/assets/javascripts/app/views/import/zendesk.jst.eco #: app/assets/javascripts/app/views/import/zendesk.jst.eco
#: app/assets/javascripts/app/views/integration/github.jst.eco #: app/assets/javascripts/app/views/integration/github.jst.eco
@ -1947,7 +1939,6 @@ msgstr ""
#: app/assets/javascripts/app/models/knowledge_base_answer.coffee #: app/assets/javascripts/app/models/knowledge_base_answer.coffee
#: app/assets/javascripts/app/models/text_module.coffee #: app/assets/javascripts/app/models/text_module.coffee
#: app/assets/javascripts/app/views/integration/placetel.jst.eco #: app/assets/javascripts/app/views/integration/placetel.jst.eco
#: app/assets/javascripts/app/views/integration/sipgate.jst.eco
msgid "Content" msgid "Content"
msgstr "" msgstr ""
@ -4823,10 +4814,6 @@ msgstr ""
msgid "In addition, we have found emails in your mailbox that are older than %s weeks. You can import such emails as an \"archive\", which means that no notifications are sent and the tickets have the status \"closed\". However, you can find them in Zammad anytime using the search function. " msgid "In addition, we have found emails in your mailbox that are older than %s weeks. You can import such emails as an \"archive\", which means that no notifications are sent and the tickets have the status \"closed\". However, you can find them in Zammad anytime using the search function. "
msgstr "" msgstr ""
#: app/assets/javascripts/app/views/integration/sipgate.jst.eco
msgid "In order for Zammad to access %s, a %s API user and password must be stored here"
msgstr ""
#: app/assets/javascripts/app/views/integration/placetel.jst.eco #: app/assets/javascripts/app/views/integration/placetel.jst.eco
msgid "In order for Zammad to access %s, the %s API token must be stored here" msgid "In order for Zammad to access %s, the %s API token must be stored here"
msgstr "" msgstr ""