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.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/pager_tree/integrations/live_call_routing/twilio/v3_controller.rb +11 -0
  3. data/app/mailers/pager_tree/integrations/live_call_routing/twilio/v3_mailer.rb +17 -0
  4. data/app/models/pager_tree/integrations/apex_ping/v3.rb +1 -1
  5. data/app/models/pager_tree/integrations/app_dynamics/v3.rb +1 -1
  6. data/app/models/pager_tree/integrations/auvik/v3.rb +1 -1
  7. data/app/models/pager_tree/integrations/aws_cloudwatch/v3.rb +1 -1
  8. data/app/models/pager_tree/integrations/azure_monitor/v3.rb +5 -6
  9. data/app/models/pager_tree/integrations/channel/hangouts/v3.rb +1 -1
  10. data/app/models/pager_tree/integrations/channel/microsoft_teams/v3.rb +1 -1
  11. data/app/models/pager_tree/integrations/channel/slack/v3.rb +1 -1
  12. data/app/models/pager_tree/integrations/cronitor/v3.rb +1 -1
  13. data/app/models/pager_tree/integrations/datadog/v3.rb +1 -1
  14. data/app/models/pager_tree/integrations/dead_mans_snitch/v3.rb +1 -1
  15. data/app/models/pager_tree/integrations/elast_alert/v3.rb +1 -1
  16. data/app/models/pager_tree/integrations/form/v3.rb +1 -1
  17. data/app/models/pager_tree/integrations/freshdesk/v3.rb +1 -1
  18. data/app/models/pager_tree/integrations/freshservice/v3.rb +1 -1
  19. data/app/models/pager_tree/integrations/grafana/v3.rb +1 -1
  20. data/app/models/pager_tree/integrations/healthchecks/v3.rb +1 -1
  21. data/app/models/pager_tree/integrations/honeybadger/v3.rb +1 -1
  22. data/app/models/pager_tree/integrations/hyperping/v3.rb +1 -1
  23. data/app/models/pager_tree/integrations/integration.rb +6 -2
  24. data/app/models/pager_tree/integrations/jira_server/v3.rb +1 -1
  25. data/app/models/pager_tree/integrations/jotform/v3.rb +1 -1
  26. data/app/models/pager_tree/integrations/kapacitor/v3.rb +1 -1
  27. data/app/models/pager_tree/integrations/live_call_routing/twilio/v3.rb +83 -40
  28. data/app/models/pager_tree/integrations/logic_monitor/v3.rb +1 -3
  29. data/app/models/pager_tree/integrations/mattermost/outgoing_webhook/v3.rb +1 -1
  30. data/app/models/pager_tree/integrations/new_relic/v3.rb +1 -3
  31. data/app/models/pager_tree/integrations/outgoing_event.rb +9 -0
  32. data/app/models/pager_tree/integrations/outgoing_webhook/v3.rb +2 -2
  33. data/app/models/pager_tree/integrations/pingdom/v3.rb +1 -1
  34. data/app/models/pager_tree/integrations/prometheus/v3.rb +1 -1
  35. data/app/models/pager_tree/integrations/prtg/v3.rb +1 -1
  36. data/app/models/pager_tree/integrations/server_guard24/v3.rb +1 -1
  37. data/app/models/pager_tree/integrations/site24x7/v3.rb +1 -1
  38. data/app/models/pager_tree/integrations/solar_winds/v3.rb +1 -1
  39. data/app/models/pager_tree/integrations/stackdriver/v3.rb +1 -1
  40. data/app/models/pager_tree/integrations/status_cake/v3.rb +1 -1
  41. data/app/models/pager_tree/integrations/twilio/incoming_sms/v3.rb +1 -1
  42. data/app/models/pager_tree/integrations/typeform/v3.rb +1 -1
  43. data/app/models/pager_tree/integrations/uptime/v3.rb +1 -1
  44. data/app/models/pager_tree/integrations/uptime_robot/v3.rb +1 -1
  45. data/app/models/pager_tree/integrations/webhook/v3.rb +21 -15
  46. data/app/models/pager_tree/integrations/zendesk/v3.rb +1 -3
  47. data/app/views/layouts/pager_tree/integrations/live_call_routing/twilio/mailer.html.erb +13 -0
  48. data/app/views/layouts/pager_tree/integrations/live_call_routing/twilio/mailer.text.erb +1 -0
  49. data/app/views/pager_tree/integrations/channel/hangouts/v3/_form_options.html.erb +4 -4
  50. data/app/views/pager_tree/integrations/channel/microsoft_teams/v3/_form_options.html.erb +5 -5
  51. data/app/views/pager_tree/integrations/channel/slack/v3/_form_options.html.erb +5 -5
  52. data/app/views/pager_tree/integrations/email/v3/_form_options.html.erb +5 -5
  53. data/app/views/pager_tree/integrations/form/v3/_form_options.html.erb +18 -18
  54. data/app/views/pager_tree/integrations/honeybadger/v3/_form_options.html.erb +1 -1
  55. data/app/views/pager_tree/integrations/jira_server/v3/_form_options.html.erb +4 -4
  56. data/app/views/pager_tree/integrations/live_call_routing/twilio/v3/_form_options.html.erb +16 -16
  57. data/app/views/pager_tree/integrations/live_call_routing/twilio/v3_mailer/call_recording.html.erb +1 -0
  58. data/app/views/pager_tree/integrations/live_call_routing/twilio/v3_mailer/call_recording.text.erb +1 -0
  59. data/app/views/pager_tree/integrations/mattermost/outgoing_webhook/v3/_form_options.html.erb +1 -1
  60. data/app/views/pager_tree/integrations/outgoing_webhook/v3/_form_options.html.erb +8 -8
  61. data/app/views/pager_tree/integrations/server_guard24/v3/_form_options.html.erb +3 -3
  62. data/app/views/pager_tree/integrations/webhook/v3/_form_options.html.erb +5 -5
  63. data/config/locales/en.yml +6 -2
  64. data/config/routes.rb +1 -0
  65. data/lib/generators/integration/templates/model.rb.tt +1 -1
  66. data/lib/pager_tree/integrations/version.rb +1 -1
  67. 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 md:grid-cols-3 gap-4">
10
- <div class="form-group">
11
- <%= form.check_box :option_capture_additional_data, class: "form-checkbox mr-1" %>
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>
@@ -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
@@ -5,6 +5,7 @@ PagerTree::Integrations::Engine.routes.draw do
5
5
  member do
6
6
  get :music
7
7
  post :queue_status
8
+ post :dropped
8
9
  end
9
10
  end
10
11
  end
@@ -35,7 +35,7 @@ module PagerTree::Integrations
35
35
  adapter_incoming_request_params.dig("id")
36
36
  end
37
37
 
38
- # TODO: Returns :create, :acknowledge, :resolve, or :other
38
+ # TODO: Returns :create, :resolve, or :other
39
39
  def adapter_action
40
40
  :other
41
41
  end
@@ -1,5 +1,5 @@
1
1
  module PagerTree
2
2
  module Integrations
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.3"
4
4
  end
5
5
  end
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.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-08-10 00:00:00.000000000 Z
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