pager_tree-integrations 1.1.1 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/pager_tree/integrations/live_call_routing/twilio/v3_controller.rb +11 -0
- data/app/mailers/pager_tree/integrations/live_call_routing/twilio/v3_mailer.rb +17 -0
- data/app/models/pager_tree/integrations/apex_ping/v3.rb +1 -1
- data/app/models/pager_tree/integrations/app_dynamics/v3.rb +1 -1
- data/app/models/pager_tree/integrations/auvik/v3.rb +1 -1
- data/app/models/pager_tree/integrations/aws_cloudwatch/v3.rb +1 -1
- data/app/models/pager_tree/integrations/azure_monitor/v3.rb +5 -6
- data/app/models/pager_tree/integrations/channel/hangouts/v3.rb +1 -1
- data/app/models/pager_tree/integrations/channel/microsoft_teams/v3.rb +1 -1
- data/app/models/pager_tree/integrations/channel/slack/v3.rb +1 -1
- data/app/models/pager_tree/integrations/cronitor/v3.rb +1 -1
- data/app/models/pager_tree/integrations/datadog/v3.rb +1 -1
- data/app/models/pager_tree/integrations/dead_mans_snitch/v3.rb +1 -1
- data/app/models/pager_tree/integrations/elast_alert/v3.rb +1 -1
- data/app/models/pager_tree/integrations/form/v3.rb +1 -1
- data/app/models/pager_tree/integrations/freshdesk/v3.rb +1 -1
- data/app/models/pager_tree/integrations/freshservice/v3.rb +1 -1
- data/app/models/pager_tree/integrations/grafana/v3.rb +1 -1
- data/app/models/pager_tree/integrations/healthchecks/v3.rb +1 -1
- data/app/models/pager_tree/integrations/honeybadger/v3.rb +1 -1
- data/app/models/pager_tree/integrations/hyperping/v3.rb +1 -1
- data/app/models/pager_tree/integrations/integration.rb +6 -2
- data/app/models/pager_tree/integrations/jira_server/v3.rb +1 -1
- data/app/models/pager_tree/integrations/jotform/v3.rb +1 -1
- data/app/models/pager_tree/integrations/kapacitor/v3.rb +1 -1
- data/app/models/pager_tree/integrations/live_call_routing/twilio/v3.rb +83 -40
- data/app/models/pager_tree/integrations/logic_monitor/v3.rb +1 -3
- data/app/models/pager_tree/integrations/mattermost/outgoing_webhook/v3.rb +1 -1
- data/app/models/pager_tree/integrations/new_relic/v3.rb +1 -3
- data/app/models/pager_tree/integrations/outgoing_event.rb +9 -0
- data/app/models/pager_tree/integrations/outgoing_webhook/v3.rb +2 -2
- data/app/models/pager_tree/integrations/pingdom/v3.rb +1 -1
- data/app/models/pager_tree/integrations/prometheus/v3.rb +1 -1
- data/app/models/pager_tree/integrations/prtg/v3.rb +1 -1
- data/app/models/pager_tree/integrations/server_guard24/v3.rb +1 -1
- data/app/models/pager_tree/integrations/site24x7/v3.rb +1 -1
- data/app/models/pager_tree/integrations/solar_winds/v3.rb +1 -1
- data/app/models/pager_tree/integrations/stackdriver/v3.rb +1 -1
- data/app/models/pager_tree/integrations/status_cake/v3.rb +1 -1
- data/app/models/pager_tree/integrations/twilio/incoming_sms/v3.rb +1 -1
- data/app/models/pager_tree/integrations/typeform/v3.rb +1 -1
- data/app/models/pager_tree/integrations/uptime/v3.rb +1 -1
- data/app/models/pager_tree/integrations/uptime_robot/v3.rb +1 -1
- data/app/models/pager_tree/integrations/webhook/v3.rb +21 -15
- data/app/models/pager_tree/integrations/zendesk/v3.rb +1 -3
- data/app/views/layouts/pager_tree/integrations/live_call_routing/twilio/mailer.html.erb +13 -0
- data/app/views/layouts/pager_tree/integrations/live_call_routing/twilio/mailer.text.erb +1 -0
- data/app/views/pager_tree/integrations/channel/hangouts/v3/_form_options.html.erb +4 -4
- data/app/views/pager_tree/integrations/channel/microsoft_teams/v3/_form_options.html.erb +5 -5
- data/app/views/pager_tree/integrations/channel/slack/v3/_form_options.html.erb +5 -5
- data/app/views/pager_tree/integrations/email/v3/_form_options.html.erb +5 -5
- data/app/views/pager_tree/integrations/form/v3/_form_options.html.erb +18 -18
- data/app/views/pager_tree/integrations/honeybadger/v3/_form_options.html.erb +1 -1
- data/app/views/pager_tree/integrations/jira_server/v3/_form_options.html.erb +4 -4
- data/app/views/pager_tree/integrations/live_call_routing/twilio/v3/_form_options.html.erb +16 -16
- data/app/views/pager_tree/integrations/live_call_routing/twilio/v3_mailer/call_recording.html.erb +1 -0
- data/app/views/pager_tree/integrations/live_call_routing/twilio/v3_mailer/call_recording.text.erb +1 -0
- data/app/views/pager_tree/integrations/mattermost/outgoing_webhook/v3/_form_options.html.erb +1 -1
- data/app/views/pager_tree/integrations/outgoing_webhook/v3/_form_options.html.erb +8 -8
- data/app/views/pager_tree/integrations/server_guard24/v3/_form_options.html.erb +3 -3
- data/app/views/pager_tree/integrations/webhook/v3/_form_options.html.erb +5 -5
- data/config/locales/en.yml +6 -2
- data/config/routes.rb +1 -0
- data/lib/generators/integration/templates/model.rb.tt +1 -1
- data/lib/pager_tree/integrations/version.rb +1 -1
- metadata +7 -2
@@ -1,15 +1,15 @@
|
|
1
1
|
<div class="grid grid-cols-1 gap-4">
|
2
|
-
<div class="form-group">
|
2
|
+
<div class="form-group group">
|
3
3
|
<%= form.label :option_token %>
|
4
4
|
<%= form.text_field :option_token, class: "form-control" %>
|
5
5
|
<p class="form-hint"><%== t(".option_token_hint_html") %></p>
|
6
6
|
</div>
|
7
7
|
</div>
|
8
8
|
|
9
|
-
<div class="grid grid-cols-1
|
10
|
-
<div class="form-group">
|
11
|
-
<%= form.check_box :option_capture_additional_data, class: "form-checkbox
|
9
|
+
<div class="grid grid-cols-1 gap-4">
|
10
|
+
<div class="form-group group">
|
11
|
+
<%= form.check_box :option_capture_additional_data, class: "form-checkbox" %>
|
12
12
|
<%= form.label :option_capture_additional_data, class: "inline-block" %>
|
13
|
-
<p class="form-hint"><%== t(".option_capture_additional_data_hint_html") %></p>
|
13
|
+
<p class="form-hint md:inline-block"><%== t(".option_capture_additional_data_hint_html") %></p>
|
14
14
|
</div>
|
15
15
|
</div>
|
data/config/locales/en.yml
CHANGED
@@ -59,6 +59,10 @@ en:
|
|
59
59
|
option_force_input_hint_html: "Force the caller to select a team (even if the integration only has one team)"
|
60
60
|
option_record_hint_html: "Record a voicemail when no one acknowledges the call"
|
61
61
|
option_record_emails_list_hint_html: "List of email addresses to notify when a voicemail has been recorded"
|
62
|
+
v3_mailer:
|
63
|
+
call_recording:
|
64
|
+
subject: "🎧 Alert #%{tiny_id} - New voicemail from %{from}"
|
65
|
+
body: "Alert #%{tiny_id} - New voicemail from %{from}"
|
62
66
|
mattermost:
|
63
67
|
outgoing_webhook:
|
64
68
|
v3:
|
@@ -79,10 +83,10 @@ en:
|
|
79
83
|
v3:
|
80
84
|
form_options:
|
81
85
|
option_token_hint_html: "The PagerTree-Token header can be used to authenticate requests (optional)"
|
82
|
-
option_capture_additional_data_hint_html: "Capture additional data from the webhook (optional)"
|
86
|
+
option_capture_additional_data_hint_html: "Capture additional data from the webhook (optional)"
|
83
87
|
# SCAFFOLD_INTEGRATION
|
84
88
|
|
85
|
-
|
89
|
+
|
86
90
|
activerecord:
|
87
91
|
attributes:
|
88
92
|
"pager_tree/integrations/integration":
|
data/config/routes.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pager_tree-integrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Miller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- app/jobs/pager_tree/integrations/application_job.rb
|
86
86
|
- app/jobs/pager_tree/integrations/outgoing_webhook_job.rb
|
87
87
|
- app/mailers/pager_tree/integrations/application_mailer.rb
|
88
|
+
- app/mailers/pager_tree/integrations/live_call_routing/twilio/v3_mailer.rb
|
88
89
|
- app/models/pager_tree/integrations/additional_datum.rb
|
89
90
|
- app/models/pager_tree/integrations/alert.rb
|
90
91
|
- app/models/pager_tree/integrations/apex_ping/v3.rb
|
@@ -137,6 +138,8 @@ files:
|
|
137
138
|
- app/models/pager_tree/integrations/webhook/v3.rb
|
138
139
|
- app/models/pager_tree/integrations/zendesk/v3.rb
|
139
140
|
- app/views/layouts/pager_tree/integrations/application.html.erb
|
141
|
+
- app/views/layouts/pager_tree/integrations/live_call_routing/twilio/mailer.html.erb
|
142
|
+
- app/views/layouts/pager_tree/integrations/live_call_routing/twilio/mailer.text.erb
|
140
143
|
- app/views/pager_tree/integrations/apex_ping/v3/_form_options.html.erb
|
141
144
|
- app/views/pager_tree/integrations/apex_ping/v3/_show_options.html.erb
|
142
145
|
- app/views/pager_tree/integrations/app_dynamics/v3/_form_options.html.erb
|
@@ -187,6 +190,8 @@ files:
|
|
187
190
|
- app/views/pager_tree/integrations/kapacitor/v3/_show_options.html.erb
|
188
191
|
- app/views/pager_tree/integrations/live_call_routing/twilio/v3/_form_options.html.erb
|
189
192
|
- app/views/pager_tree/integrations/live_call_routing/twilio/v3/_show_options.html.erb
|
193
|
+
- app/views/pager_tree/integrations/live_call_routing/twilio/v3_mailer/call_recording.html.erb
|
194
|
+
- app/views/pager_tree/integrations/live_call_routing/twilio/v3_mailer/call_recording.text.erb
|
190
195
|
- app/views/pager_tree/integrations/logic_monitor/v3/_form_options.html.erb
|
191
196
|
- app/views/pager_tree/integrations/logic_monitor/v3/_show_options.html.erb
|
192
197
|
- app/views/pager_tree/integrations/mattermost/outgoing_webhook/v3/_form_options.html.erb
|