webhookdb 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (364) hide show
  1. checksums.yaml +7 -0
  2. data/data/messages/layouts/blank.email.liquid +10 -0
  3. data/data/messages/layouts/minimal.email.liquid +28 -0
  4. data/data/messages/layouts/standard.email.liquid +28 -0
  5. data/data/messages/partials/button.liquid +15 -0
  6. data/data/messages/partials/environment_banner.liquid +9 -0
  7. data/data/messages/partials/footer.liquid +22 -0
  8. data/data/messages/partials/greeting.liquid +3 -0
  9. data/data/messages/partials/logo_header.liquid +18 -0
  10. data/data/messages/partials/signoff.liquid +1 -0
  11. data/data/messages/styles/v1.liquid +346 -0
  12. data/data/messages/templates/errors/icalendar_fetch.email.liquid +29 -0
  13. data/data/messages/templates/invite.email.liquid +15 -0
  14. data/data/messages/templates/new_customer.email.liquid +24 -0
  15. data/data/messages/templates/org_database_migration_finished.email.liquid +7 -0
  16. data/data/messages/templates/org_database_migration_started.email.liquid +9 -0
  17. data/data/messages/templates/specs/_field_partial.liquid +1 -0
  18. data/data/messages/templates/specs/basic.email.liquid +2 -0
  19. data/data/messages/templates/specs/basic.fake.liquid +1 -0
  20. data/data/messages/templates/specs/with_field.email.liquid +2 -0
  21. data/data/messages/templates/specs/with_field.fake.liquid +1 -0
  22. data/data/messages/templates/specs/with_include.email.liquid +2 -0
  23. data/data/messages/templates/specs/with_partial.email.liquid +1 -0
  24. data/data/messages/templates/verification.email.liquid +14 -0
  25. data/data/messages/templates/verification.sms.liquid +1 -0
  26. data/data/messages/web/install-customer-login.liquid +48 -0
  27. data/data/messages/web/install-error.liquid +17 -0
  28. data/data/messages/web/install-success.liquid +35 -0
  29. data/data/messages/web/install.liquid +20 -0
  30. data/data/messages/web/partials/footer.liquid +4 -0
  31. data/data/messages/web/partials/form_error.liquid +1 -0
  32. data/data/messages/web/partials/header.liquid +3 -0
  33. data/data/messages/web/styles.liquid +134 -0
  34. data/data/windows_tz.txt +461 -0
  35. data/db/migrations/001_testing_pixies.rb +13 -0
  36. data/db/migrations/002_initial.rb +132 -0
  37. data/db/migrations/003_ux_overhaul.rb +20 -0
  38. data/db/migrations/004_incremental_backfill.rb +9 -0
  39. data/db/migrations/005_log_webhooks.rb +24 -0
  40. data/db/migrations/006_generalize_roles.rb +29 -0
  41. data/db/migrations/007_org_dns.rb +12 -0
  42. data/db/migrations/008_webhook_subscriptions.rb +19 -0
  43. data/db/migrations/009_nonunique_stripe_subscription_customer.rb +16 -0
  44. data/db/migrations/010_drop_integration_soft_delete.rb +14 -0
  45. data/db/migrations/011_webhook_subscriptions_created_at.rb +10 -0
  46. data/db/migrations/012_webhook_subscriptions_created_by.rb +9 -0
  47. data/db/migrations/013_default_org_membership.rb +30 -0
  48. data/db/migrations/014_webhook_subscription_deliveries.rb +26 -0
  49. data/db/migrations/015_dependent_integrations.rb +9 -0
  50. data/db/migrations/016_encrypted_columns.rb +9 -0
  51. data/db/migrations/017_skip_verification.rb +9 -0
  52. data/db/migrations/018_sync_targets.rb +25 -0
  53. data/db/migrations/019_org_schema.rb +9 -0
  54. data/db/migrations/020_org_database_migrations.rb +25 -0
  55. data/db/migrations/021_no_default_org_schema.rb +14 -0
  56. data/db/migrations/022_database_document.rb +15 -0
  57. data/db/migrations/023_sync_target_schema.rb +9 -0
  58. data/db/migrations/024_org_semaphore_jobs.rb +9 -0
  59. data/db/migrations/025_integration_backfill_cursor.rb +9 -0
  60. data/db/migrations/026_undo_integration_backfill_cursor.rb +9 -0
  61. data/db/migrations/027_sync_target_http_sync.rb +12 -0
  62. data/db/migrations/028_logged_webhook_path.rb +24 -0
  63. data/db/migrations/029_encrypt_columns.rb +97 -0
  64. data/db/migrations/030_org_sync_target_timeout.rb +9 -0
  65. data/db/migrations/031_org_max_query_rows.rb +9 -0
  66. data/db/migrations/032_remove_db_defaults.rb +12 -0
  67. data/db/migrations/033_backfill_jobs.rb +26 -0
  68. data/db/migrations/034_backfill_job_criteria.rb +9 -0
  69. data/db/migrations/035_synchronous_backfill.rb +9 -0
  70. data/db/migrations/036_oauth.rb +26 -0
  71. data/db/migrations/037_oauth_used.rb +9 -0
  72. data/lib/amigo/durable_job.rb +416 -0
  73. data/lib/pry/clipboard.rb +111 -0
  74. data/lib/sequel/advisory_lock.rb +65 -0
  75. data/lib/webhookdb/admin.rb +4 -0
  76. data/lib/webhookdb/admin_api/auth.rb +36 -0
  77. data/lib/webhookdb/admin_api/customers.rb +63 -0
  78. data/lib/webhookdb/admin_api/database_documents.rb +20 -0
  79. data/lib/webhookdb/admin_api/entities.rb +66 -0
  80. data/lib/webhookdb/admin_api/message_deliveries.rb +61 -0
  81. data/lib/webhookdb/admin_api/roles.rb +15 -0
  82. data/lib/webhookdb/admin_api.rb +34 -0
  83. data/lib/webhookdb/aggregate_result.rb +63 -0
  84. data/lib/webhookdb/api/auth.rb +122 -0
  85. data/lib/webhookdb/api/connstr_auth.rb +36 -0
  86. data/lib/webhookdb/api/db.rb +188 -0
  87. data/lib/webhookdb/api/demo.rb +14 -0
  88. data/lib/webhookdb/api/entities.rb +198 -0
  89. data/lib/webhookdb/api/helpers.rb +253 -0
  90. data/lib/webhookdb/api/install.rb +296 -0
  91. data/lib/webhookdb/api/me.rb +53 -0
  92. data/lib/webhookdb/api/organizations.rb +254 -0
  93. data/lib/webhookdb/api/replay.rb +64 -0
  94. data/lib/webhookdb/api/service_integrations.rb +402 -0
  95. data/lib/webhookdb/api/services.rb +27 -0
  96. data/lib/webhookdb/api/stripe.rb +22 -0
  97. data/lib/webhookdb/api/subscriptions.rb +67 -0
  98. data/lib/webhookdb/api/sync_targets.rb +232 -0
  99. data/lib/webhookdb/api/system.rb +37 -0
  100. data/lib/webhookdb/api/webhook_subscriptions.rb +96 -0
  101. data/lib/webhookdb/api.rb +92 -0
  102. data/lib/webhookdb/apps.rb +93 -0
  103. data/lib/webhookdb/async/audit_logger.rb +38 -0
  104. data/lib/webhookdb/async/autoscaler.rb +84 -0
  105. data/lib/webhookdb/async/job.rb +18 -0
  106. data/lib/webhookdb/async/job_logger.rb +45 -0
  107. data/lib/webhookdb/async/scheduled_job.rb +18 -0
  108. data/lib/webhookdb/async.rb +142 -0
  109. data/lib/webhookdb/aws.rb +98 -0
  110. data/lib/webhookdb/backfill_job.rb +107 -0
  111. data/lib/webhookdb/backfiller.rb +107 -0
  112. data/lib/webhookdb/cloudflare.rb +39 -0
  113. data/lib/webhookdb/connection_cache.rb +177 -0
  114. data/lib/webhookdb/console.rb +71 -0
  115. data/lib/webhookdb/convertkit.rb +14 -0
  116. data/lib/webhookdb/crypto.rb +66 -0
  117. data/lib/webhookdb/customer/reset_code.rb +94 -0
  118. data/lib/webhookdb/customer.rb +347 -0
  119. data/lib/webhookdb/database_document.rb +72 -0
  120. data/lib/webhookdb/db_adapter/column_types.rb +37 -0
  121. data/lib/webhookdb/db_adapter/default_sql.rb +187 -0
  122. data/lib/webhookdb/db_adapter/pg.rb +96 -0
  123. data/lib/webhookdb/db_adapter/snowflake.rb +137 -0
  124. data/lib/webhookdb/db_adapter.rb +208 -0
  125. data/lib/webhookdb/dbutil.rb +92 -0
  126. data/lib/webhookdb/demo_mode.rb +100 -0
  127. data/lib/webhookdb/developer_alert.rb +51 -0
  128. data/lib/webhookdb/email_octopus.rb +21 -0
  129. data/lib/webhookdb/enumerable.rb +18 -0
  130. data/lib/webhookdb/fixtures/backfill_jobs.rb +72 -0
  131. data/lib/webhookdb/fixtures/customers.rb +65 -0
  132. data/lib/webhookdb/fixtures/database_documents.rb +27 -0
  133. data/lib/webhookdb/fixtures/faker.rb +41 -0
  134. data/lib/webhookdb/fixtures/logged_webhooks.rb +56 -0
  135. data/lib/webhookdb/fixtures/message_deliveries.rb +59 -0
  136. data/lib/webhookdb/fixtures/oauth_sessions.rb +24 -0
  137. data/lib/webhookdb/fixtures/organization_database_migrations.rb +37 -0
  138. data/lib/webhookdb/fixtures/organization_memberships.rb +54 -0
  139. data/lib/webhookdb/fixtures/organizations.rb +32 -0
  140. data/lib/webhookdb/fixtures/reset_codes.rb +23 -0
  141. data/lib/webhookdb/fixtures/service_integrations.rb +42 -0
  142. data/lib/webhookdb/fixtures/subscriptions.rb +33 -0
  143. data/lib/webhookdb/fixtures/sync_targets.rb +32 -0
  144. data/lib/webhookdb/fixtures/webhook_subscriptions.rb +35 -0
  145. data/lib/webhookdb/fixtures.rb +15 -0
  146. data/lib/webhookdb/formatting.rb +56 -0
  147. data/lib/webhookdb/front.rb +49 -0
  148. data/lib/webhookdb/github.rb +22 -0
  149. data/lib/webhookdb/google_calendar.rb +29 -0
  150. data/lib/webhookdb/heroku.rb +21 -0
  151. data/lib/webhookdb/http.rb +114 -0
  152. data/lib/webhookdb/icalendar.rb +17 -0
  153. data/lib/webhookdb/id.rb +17 -0
  154. data/lib/webhookdb/idempotency.rb +90 -0
  155. data/lib/webhookdb/increase.rb +42 -0
  156. data/lib/webhookdb/intercom.rb +23 -0
  157. data/lib/webhookdb/jobs/amigo_test_jobs.rb +118 -0
  158. data/lib/webhookdb/jobs/backfill.rb +32 -0
  159. data/lib/webhookdb/jobs/create_mirror_table.rb +18 -0
  160. data/lib/webhookdb/jobs/create_stripe_customer.rb +17 -0
  161. data/lib/webhookdb/jobs/customer_created_notify_internal.rb +22 -0
  162. data/lib/webhookdb/jobs/demo_mode_sync_data.rb +19 -0
  163. data/lib/webhookdb/jobs/deprecated_jobs.rb +19 -0
  164. data/lib/webhookdb/jobs/developer_alert_handle.rb +14 -0
  165. data/lib/webhookdb/jobs/durable_job_recheck_poller.rb +17 -0
  166. data/lib/webhookdb/jobs/emailer.rb +15 -0
  167. data/lib/webhookdb/jobs/icalendar_enqueue_syncs.rb +25 -0
  168. data/lib/webhookdb/jobs/icalendar_sync.rb +23 -0
  169. data/lib/webhookdb/jobs/logged_webhook_replay.rb +17 -0
  170. data/lib/webhookdb/jobs/logged_webhook_resilient_replay.rb +15 -0
  171. data/lib/webhookdb/jobs/message_dispatched.rb +16 -0
  172. data/lib/webhookdb/jobs/organization_database_migration_notify_finished.rb +21 -0
  173. data/lib/webhookdb/jobs/organization_database_migration_notify_started.rb +21 -0
  174. data/lib/webhookdb/jobs/organization_database_migration_run.rb +24 -0
  175. data/lib/webhookdb/jobs/prepare_database_connections.rb +22 -0
  176. data/lib/webhookdb/jobs/process_webhook.rb +47 -0
  177. data/lib/webhookdb/jobs/renew_watch_channel.rb +24 -0
  178. data/lib/webhookdb/jobs/replication_migration.rb +24 -0
  179. data/lib/webhookdb/jobs/reset_code_create_dispatch.rb +23 -0
  180. data/lib/webhookdb/jobs/scheduled_backfills.rb +77 -0
  181. data/lib/webhookdb/jobs/send_invite.rb +15 -0
  182. data/lib/webhookdb/jobs/send_test_webhook.rb +25 -0
  183. data/lib/webhookdb/jobs/send_webhook.rb +20 -0
  184. data/lib/webhookdb/jobs/sync_target_enqueue_scheduled.rb +16 -0
  185. data/lib/webhookdb/jobs/sync_target_run_sync.rb +38 -0
  186. data/lib/webhookdb/jobs/trim_logged_webhooks.rb +15 -0
  187. data/lib/webhookdb/jobs/webhook_resource_notify_integrations.rb +30 -0
  188. data/lib/webhookdb/jobs/webhook_subscription_delivery_attempt.rb +29 -0
  189. data/lib/webhookdb/jobs.rb +4 -0
  190. data/lib/webhookdb/json.rb +113 -0
  191. data/lib/webhookdb/liquid/expose.rb +27 -0
  192. data/lib/webhookdb/liquid/filters.rb +16 -0
  193. data/lib/webhookdb/liquid/liquification.rb +26 -0
  194. data/lib/webhookdb/liquid/partial.rb +12 -0
  195. data/lib/webhookdb/logged_webhook/resilient.rb +95 -0
  196. data/lib/webhookdb/logged_webhook.rb +194 -0
  197. data/lib/webhookdb/message/body.rb +25 -0
  198. data/lib/webhookdb/message/delivery.rb +127 -0
  199. data/lib/webhookdb/message/email_transport.rb +133 -0
  200. data/lib/webhookdb/message/fake_transport.rb +54 -0
  201. data/lib/webhookdb/message/liquid_drops.rb +29 -0
  202. data/lib/webhookdb/message/template.rb +89 -0
  203. data/lib/webhookdb/message/transport.rb +43 -0
  204. data/lib/webhookdb/message.rb +150 -0
  205. data/lib/webhookdb/messages/error_icalendar_fetch.rb +42 -0
  206. data/lib/webhookdb/messages/invite.rb +23 -0
  207. data/lib/webhookdb/messages/new_customer.rb +14 -0
  208. data/lib/webhookdb/messages/org_database_migration_finished.rb +23 -0
  209. data/lib/webhookdb/messages/org_database_migration_started.rb +24 -0
  210. data/lib/webhookdb/messages/specs.rb +57 -0
  211. data/lib/webhookdb/messages/verification.rb +23 -0
  212. data/lib/webhookdb/method_utilities.rb +82 -0
  213. data/lib/webhookdb/microsoft_calendar.rb +36 -0
  214. data/lib/webhookdb/nextpax.rb +14 -0
  215. data/lib/webhookdb/oauth/front.rb +58 -0
  216. data/lib/webhookdb/oauth/intercom.rb +58 -0
  217. data/lib/webhookdb/oauth/session.rb +24 -0
  218. data/lib/webhookdb/oauth.rb +80 -0
  219. data/lib/webhookdb/organization/alerting.rb +35 -0
  220. data/lib/webhookdb/organization/database_migration.rb +151 -0
  221. data/lib/webhookdb/organization/db_builder.rb +429 -0
  222. data/lib/webhookdb/organization.rb +506 -0
  223. data/lib/webhookdb/organization_membership.rb +58 -0
  224. data/lib/webhookdb/phone_number.rb +38 -0
  225. data/lib/webhookdb/plaid.rb +23 -0
  226. data/lib/webhookdb/platform.rb +27 -0
  227. data/lib/webhookdb/plivo.rb +52 -0
  228. data/lib/webhookdb/postgres/maintenance.rb +166 -0
  229. data/lib/webhookdb/postgres/model.rb +82 -0
  230. data/lib/webhookdb/postgres/model_utilities.rb +382 -0
  231. data/lib/webhookdb/postgres/testing_pixie.rb +16 -0
  232. data/lib/webhookdb/postgres/validations.rb +46 -0
  233. data/lib/webhookdb/postgres.rb +176 -0
  234. data/lib/webhookdb/postmark.rb +20 -0
  235. data/lib/webhookdb/redis.rb +35 -0
  236. data/lib/webhookdb/replicator/atom_single_feed_v1.rb +116 -0
  237. data/lib/webhookdb/replicator/aws_pricing_v1.rb +488 -0
  238. data/lib/webhookdb/replicator/base.rb +1185 -0
  239. data/lib/webhookdb/replicator/column.rb +482 -0
  240. data/lib/webhookdb/replicator/convertkit_broadcast_v1.rb +69 -0
  241. data/lib/webhookdb/replicator/convertkit_subscriber_v1.rb +200 -0
  242. data/lib/webhookdb/replicator/convertkit_tag_v1.rb +66 -0
  243. data/lib/webhookdb/replicator/convertkit_v1_mixin.rb +65 -0
  244. data/lib/webhookdb/replicator/docgen.rb +167 -0
  245. data/lib/webhookdb/replicator/email_octopus_campaign_v1.rb +84 -0
  246. data/lib/webhookdb/replicator/email_octopus_contact_v1.rb +159 -0
  247. data/lib/webhookdb/replicator/email_octopus_event_v1.rb +244 -0
  248. data/lib/webhookdb/replicator/email_octopus_list_v1.rb +101 -0
  249. data/lib/webhookdb/replicator/fake.rb +453 -0
  250. data/lib/webhookdb/replicator/front_conversation_v1.rb +45 -0
  251. data/lib/webhookdb/replicator/front_marketplace_root_v1.rb +55 -0
  252. data/lib/webhookdb/replicator/front_message_v1.rb +45 -0
  253. data/lib/webhookdb/replicator/front_v1_mixin.rb +22 -0
  254. data/lib/webhookdb/replicator/github_issue_comment_v1.rb +58 -0
  255. data/lib/webhookdb/replicator/github_issue_v1.rb +83 -0
  256. data/lib/webhookdb/replicator/github_pull_v1.rb +84 -0
  257. data/lib/webhookdb/replicator/github_release_v1.rb +47 -0
  258. data/lib/webhookdb/replicator/github_repo_v1_mixin.rb +250 -0
  259. data/lib/webhookdb/replicator/github_repository_event_v1.rb +45 -0
  260. data/lib/webhookdb/replicator/icalendar_calendar_v1.rb +465 -0
  261. data/lib/webhookdb/replicator/icalendar_event_v1.rb +334 -0
  262. data/lib/webhookdb/replicator/increase_account_number_v1.rb +77 -0
  263. data/lib/webhookdb/replicator/increase_account_transfer_v1.rb +61 -0
  264. data/lib/webhookdb/replicator/increase_account_v1.rb +63 -0
  265. data/lib/webhookdb/replicator/increase_ach_transfer_v1.rb +78 -0
  266. data/lib/webhookdb/replicator/increase_check_transfer_v1.rb +64 -0
  267. data/lib/webhookdb/replicator/increase_limit_v1.rb +78 -0
  268. data/lib/webhookdb/replicator/increase_transaction_v1.rb +74 -0
  269. data/lib/webhookdb/replicator/increase_v1_mixin.rb +121 -0
  270. data/lib/webhookdb/replicator/increase_wire_transfer_v1.rb +61 -0
  271. data/lib/webhookdb/replicator/intercom_contact_v1.rb +36 -0
  272. data/lib/webhookdb/replicator/intercom_conversation_v1.rb +38 -0
  273. data/lib/webhookdb/replicator/intercom_marketplace_root_v1.rb +69 -0
  274. data/lib/webhookdb/replicator/intercom_v1_mixin.rb +105 -0
  275. data/lib/webhookdb/replicator/oauth_refresh_access_token_mixin.rb +65 -0
  276. data/lib/webhookdb/replicator/plivo_sms_inbound_v1.rb +102 -0
  277. data/lib/webhookdb/replicator/postmark_inbound_message_v1.rb +94 -0
  278. data/lib/webhookdb/replicator/postmark_outbound_message_event_v1.rb +107 -0
  279. data/lib/webhookdb/replicator/schema_modification.rb +42 -0
  280. data/lib/webhookdb/replicator/shopify_customer_v1.rb +58 -0
  281. data/lib/webhookdb/replicator/shopify_order_v1.rb +64 -0
  282. data/lib/webhookdb/replicator/shopify_v1_mixin.rb +161 -0
  283. data/lib/webhookdb/replicator/signalwire_message_v1.rb +169 -0
  284. data/lib/webhookdb/replicator/sponsy_customer_v1.rb +54 -0
  285. data/lib/webhookdb/replicator/sponsy_placement_v1.rb +34 -0
  286. data/lib/webhookdb/replicator/sponsy_publication_v1.rb +125 -0
  287. data/lib/webhookdb/replicator/sponsy_slot_v1.rb +41 -0
  288. data/lib/webhookdb/replicator/sponsy_status_v1.rb +35 -0
  289. data/lib/webhookdb/replicator/sponsy_v1_mixin.rb +165 -0
  290. data/lib/webhookdb/replicator/state_machine_step.rb +69 -0
  291. data/lib/webhookdb/replicator/stripe_charge_v1.rb +77 -0
  292. data/lib/webhookdb/replicator/stripe_coupon_v1.rb +62 -0
  293. data/lib/webhookdb/replicator/stripe_customer_v1.rb +60 -0
  294. data/lib/webhookdb/replicator/stripe_dispute_v1.rb +77 -0
  295. data/lib/webhookdb/replicator/stripe_invoice_item_v1.rb +82 -0
  296. data/lib/webhookdb/replicator/stripe_invoice_v1.rb +116 -0
  297. data/lib/webhookdb/replicator/stripe_payout_v1.rb +67 -0
  298. data/lib/webhookdb/replicator/stripe_price_v1.rb +60 -0
  299. data/lib/webhookdb/replicator/stripe_product_v1.rb +60 -0
  300. data/lib/webhookdb/replicator/stripe_refund_v1.rb +101 -0
  301. data/lib/webhookdb/replicator/stripe_subscription_item_v1.rb +56 -0
  302. data/lib/webhookdb/replicator/stripe_subscription_v1.rb +75 -0
  303. data/lib/webhookdb/replicator/stripe_v1_mixin.rb +116 -0
  304. data/lib/webhookdb/replicator/transistor_episode_stats_v1.rb +141 -0
  305. data/lib/webhookdb/replicator/transistor_episode_v1.rb +169 -0
  306. data/lib/webhookdb/replicator/transistor_show_v1.rb +68 -0
  307. data/lib/webhookdb/replicator/transistor_v1_mixin.rb +65 -0
  308. data/lib/webhookdb/replicator/twilio_sms_v1.rb +156 -0
  309. data/lib/webhookdb/replicator/webhook_request.rb +5 -0
  310. data/lib/webhookdb/replicator/webhookdb_customer_v1.rb +74 -0
  311. data/lib/webhookdb/replicator.rb +224 -0
  312. data/lib/webhookdb/role.rb +42 -0
  313. data/lib/webhookdb/sentry.rb +35 -0
  314. data/lib/webhookdb/service/auth.rb +138 -0
  315. data/lib/webhookdb/service/collection.rb +91 -0
  316. data/lib/webhookdb/service/entities.rb +97 -0
  317. data/lib/webhookdb/service/helpers.rb +270 -0
  318. data/lib/webhookdb/service/middleware.rb +124 -0
  319. data/lib/webhookdb/service/types.rb +30 -0
  320. data/lib/webhookdb/service/validators.rb +32 -0
  321. data/lib/webhookdb/service/view_api.rb +63 -0
  322. data/lib/webhookdb/service.rb +219 -0
  323. data/lib/webhookdb/service_integration.rb +332 -0
  324. data/lib/webhookdb/shopify.rb +35 -0
  325. data/lib/webhookdb/signalwire.rb +13 -0
  326. data/lib/webhookdb/slack.rb +68 -0
  327. data/lib/webhookdb/snowflake.rb +90 -0
  328. data/lib/webhookdb/spec_helpers/async.rb +122 -0
  329. data/lib/webhookdb/spec_helpers/citest.rb +88 -0
  330. data/lib/webhookdb/spec_helpers/integration.rb +121 -0
  331. data/lib/webhookdb/spec_helpers/message.rb +41 -0
  332. data/lib/webhookdb/spec_helpers/postgres.rb +220 -0
  333. data/lib/webhookdb/spec_helpers/service.rb +432 -0
  334. data/lib/webhookdb/spec_helpers/shared_examples_for_columns.rb +56 -0
  335. data/lib/webhookdb/spec_helpers/shared_examples_for_replicators.rb +915 -0
  336. data/lib/webhookdb/spec_helpers/whdb.rb +139 -0
  337. data/lib/webhookdb/spec_helpers.rb +63 -0
  338. data/lib/webhookdb/sponsy.rb +14 -0
  339. data/lib/webhookdb/stripe.rb +37 -0
  340. data/lib/webhookdb/subscription.rb +203 -0
  341. data/lib/webhookdb/sync_target.rb +491 -0
  342. data/lib/webhookdb/tasks/admin.rb +49 -0
  343. data/lib/webhookdb/tasks/annotate.rb +36 -0
  344. data/lib/webhookdb/tasks/db.rb +82 -0
  345. data/lib/webhookdb/tasks/docs.rb +42 -0
  346. data/lib/webhookdb/tasks/fixture.rb +35 -0
  347. data/lib/webhookdb/tasks/message.rb +50 -0
  348. data/lib/webhookdb/tasks/regress.rb +87 -0
  349. data/lib/webhookdb/tasks/release.rb +27 -0
  350. data/lib/webhookdb/tasks/sidekiq.rb +23 -0
  351. data/lib/webhookdb/tasks/specs.rb +64 -0
  352. data/lib/webhookdb/theranest.rb +15 -0
  353. data/lib/webhookdb/transistor.rb +13 -0
  354. data/lib/webhookdb/twilio.rb +13 -0
  355. data/lib/webhookdb/typed_struct.rb +44 -0
  356. data/lib/webhookdb/version.rb +5 -0
  357. data/lib/webhookdb/webhook_response.rb +50 -0
  358. data/lib/webhookdb/webhook_subscription/delivery.rb +82 -0
  359. data/lib/webhookdb/webhook_subscription.rb +226 -0
  360. data/lib/webhookdb/windows_tz.rb +32 -0
  361. data/lib/webhookdb/xml.rb +92 -0
  362. data/lib/webhookdb.rb +224 -0
  363. data/lib/webterm/apps.rb +45 -0
  364. metadata +1129 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: be2ac8bdc9d61dbc9242803cb742f663c3a66d16bf91cdd1bb2abb4a22823a17
4
+ data.tar.gz: 794351cf896df869dd5788d8a484e95452f6712def187df517b9552f78af6d14
5
+ SHA512:
6
+ metadata.gz: 31af8ed6857cd3c43221e37c207da123ca7baea8e3e9554d1b5c1eacd8a077aecf25d54bd96e2a42b10a1efa912cce9e25c9367cf289e1cffd13a4eafab11980
7
+ data.tar.gz: 7a7e114685260fecc42329fe03a23f48e53defa86e87f0841250a8abcac4b3ae7ed1516e6dcf240fbe7575fd6d4f67b57d6db239cd161eb344d63d3a17f91da0
@@ -0,0 +1,10 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ </head>
6
+ <body>
7
+ {% partial 'environment_banner' %}
8
+ {{ content }}
9
+ </body>
10
+ </html>
@@ -0,0 +1,28 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <meta name="viewport" content="width=device-width"/>
6
+ </head>
7
+ <body>
8
+
9
+ {% partial 'environment_banner' %}
10
+
11
+ <div style="padding: 20px; background-color: #F7F7F7">
12
+ <table width="100%">
13
+ <tr>
14
+ <td align="center" valign="top">
15
+ <center>
16
+ {% partial 'logo_header' %}
17
+ </center>
18
+ </td>
19
+ </tr>
20
+ <tr>
21
+ <td>
22
+ {{ content }}
23
+ </td>
24
+ </tr>
25
+ </table>
26
+ </div>
27
+ </body>
28
+ </html>
@@ -0,0 +1,28 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <meta name="viewport" content="width=device-width"/>
6
+ {% include 'styles/v1' %}
7
+ </head>
8
+ <body>
9
+
10
+ {% partial 'environment_banner' %}
11
+
12
+ <table bgcolor="#FFFFFF" width="100%">
13
+ <tr>
14
+ <td align="left" valign="top">
15
+ <div class="p2">
16
+ {% partial 'logo_header' %}
17
+
18
+ <div class="wrapper">
19
+ {{ content }}
20
+ </div>
21
+
22
+ {% partial 'footer' %}
23
+ </div>
24
+ </td>
25
+ </tr>
26
+ </table>
27
+ </body>
28
+ </html>
@@ -0,0 +1,15 @@
1
+ <table class="full-width m2">
2
+ <tr>
3
+ <td width="100%">
4
+ <table class="full-width">
5
+ <tr>
6
+ <td width="20%"></td>
7
+ <td width="60%" align="center" class="btn">
8
+ <a href="{{ button_url }}">{{ button_text }}</a>
9
+ </td>
10
+ <td width="20%"></td>
11
+ </tr>
12
+ </table>
13
+ </td>
14
+ </tr>
15
+ </table>
@@ -0,0 +1,9 @@
1
+ {% if environment.name != 'production' %}
2
+ <table class="full-width" style="background:#ffdcdc; width: 100%">
3
+ <tr>
4
+ <td>
5
+ <a href="{{ app_url }}" target="_blank"><h5 class="text-center text-uppercase text-emphasis p0 m0" >sent from {{ environment.name }}</h5></a>
6
+ </td>
7
+ </tr>
8
+ </table>
9
+ {% endif %}
@@ -0,0 +1,22 @@
1
+ <table class="full-width">
2
+ <tr>
3
+ <td align="left">
4
+ <div class="wrapper">
5
+ <table width="600" class="full-width-for-small-only">
6
+ <tr>
7
+ <td>
8
+ <hr/>
9
+ </td>
10
+ </tr>
11
+ <tr>
12
+ <td class="pt1">
13
+ <div class="text-center">
14
+ <a href="https://webhookdb.com">https://webhookdb.com</a>
15
+ </div>
16
+ </td>
17
+ </tr>
18
+ </table>
19
+ </div>
20
+ </td>
21
+ </tr>
22
+ </table>
@@ -0,0 +1,3 @@
1
+ <h1>
2
+ Hi {{ recipient.greeting | default: 'there' }}!
3
+ </h1>
@@ -0,0 +1,18 @@
1
+ <table class="full-width">
2
+ <tr>
3
+ <td align="left">
4
+ <div class="wrapper m1">
5
+ <table width="600" class="full-width-for-small-only">
6
+ <tr>
7
+ <td width="100%" class="text-right">
8
+ <a href="https://webhookdb.com/?utm_source=email&utm_medium=email&utm_campaign=logo">
9
+ <img src="https://static.webhookdb.com/images/logo-dark-sm.png" height="40"
10
+ class="center"/>
11
+ </a>
12
+ </td>
13
+ </tr>
14
+ </table>
15
+ </div>
16
+ </td>
17
+ </tr>
18
+ </table>
@@ -0,0 +1 @@
1
+ <p>&mdash; The team at WebhookDB 🪝</p>
@@ -0,0 +1,346 @@
1
+ <style type="text/css">
2
+ /* Box sizing:http://paulirish.com/2012/box-sizing-border-box-ftw/ */
3
+ *, :before, :after {
4
+ -webkit-box-sizing: border-box;
5
+ -moz-box-sizing: border-box;
6
+ box-sizing: border-box;
7
+ }
8
+ /* Client-specific Styles and Reset */
9
+
10
+ #outlook a {
11
+ padding:0;
12
+ }
13
+
14
+ body {
15
+ width:100%;
16
+ min-width: 100%;
17
+ -webkit-text-size-adjust:100%;
18
+ -ms-text-size-adjust:100%;
19
+ margin:0;
20
+ padding:0;
21
+ background-color: #f4faff;
22
+ }
23
+
24
+ /* .ExternalClass applies to Outlook.com (the artist formerly known as Hotmail) */
25
+
26
+ .ExternalClass {
27
+ width:100%;
28
+ }
29
+
30
+ .ExternalClass,
31
+ .ExternalClass p,
32
+ .ExternalClass span,
33
+ .ExternalClass font,
34
+ .ExternalClass td,
35
+ .ExternalClass div {
36
+ line-height: 100%;
37
+ }
38
+
39
+ #backgroundTable {
40
+ margin:0;
41
+ padding:0;
42
+ width:100%;
43
+ line-height: 100%;
44
+ }
45
+
46
+ img {
47
+ outline:none;
48
+ text-decoration:none;
49
+ -ms-interpolation-mode: bicubic;
50
+ /*max-width: 100%;*/
51
+ }
52
+
53
+ center {
54
+ max-width: 600px;
55
+ margin: 0 auto;
56
+ padding: 0;
57
+ }
58
+
59
+ a img {
60
+ border: none;
61
+ vertical-align: text-bottom;
62
+ }
63
+
64
+ table {
65
+ border-spacing: 0;
66
+ border-collapse: collapse;
67
+ }
68
+
69
+ td {
70
+ word-break: break-word;
71
+ -webkit-hyphens: none;
72
+ -moz-hyphens: none;
73
+ hyphens: none;
74
+ border-collapse: collapse;
75
+ }
76
+
77
+ table, tr, td {
78
+ padding: 0;
79
+ vertical-align: top;
80
+ text-align: left;
81
+ }
82
+
83
+ body, h1, h2, h3, h4, h5, h6, p, td, li, blockquote {
84
+ color: #08090a;
85
+ font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
86
+ font-weight: normal;
87
+ padding:0;
88
+ margin: 0;
89
+ text-align: left;
90
+ line-height: 1.4;
91
+ }
92
+
93
+ h1, h2, h3, h4, h5, h6 {
94
+ word-break: normal;
95
+ margin: 0 0 10px 0;
96
+ }
97
+
98
+ h1 {
99
+ font-size: 20px;
100
+ font-weight: bold;
101
+ }
102
+ h2 {
103
+ font-size: 18px;
104
+ font-weight: bold;
105
+ }
106
+ h3 {
107
+ font-size: 16px;
108
+ font-weight: bold;
109
+ }
110
+
111
+ body, p {
112
+ font-size: 16px;
113
+ line-height: 22px;
114
+ }
115
+
116
+ p, ul, ol {
117
+ margin-bottom: 12px;
118
+ }
119
+
120
+ ul.list-buffer li,
121
+ ol.list-buffer li,
122
+ menu.list-buffer li,
123
+ dl.list-buffer dd {
124
+ margin-bottom: 0.5em;
125
+ }
126
+
127
+ ul.no-bullets,
128
+ ol.no-bullets li {
129
+ list-style: none;
130
+ }
131
+
132
+ ul,
133
+ ol {
134
+ padding-left: 24px;
135
+ }
136
+
137
+ a, a:visited {
138
+ color: #0099ff;
139
+ text-decoration: none;
140
+ }
141
+
142
+ a:hover, a:active {
143
+ color: #2ba9ff;
144
+ }
145
+
146
+ .wrapper {
147
+ max-width: 600px;
148
+ width: 600px;
149
+ margin: 0;
150
+ }
151
+
152
+ .pl0, .p0 {padding-left: 0; }
153
+ .pr0, .p0 {padding-right: 0; }
154
+ .pt0, .p0 {padding-top: 0; }
155
+ .pb0, .p0 {padding-bottom: 0; }
156
+ .pl1, .p1 {padding-left: 6px; }
157
+ .pr1, .p1 {padding-right: 6px; }
158
+ .pt1, .p1 {padding-top: 6px; }
159
+ .pb1, .p1 {padding-bottom: 6px; }
160
+ .pl2, .p2 {padding-left: 16px; }
161
+ .pr2, .p2 {padding-right: 16px; }
162
+ .pt2, .p2 {padding-top: 16px; }
163
+ .pb2, .p2 {padding-bottom: 16px; }
164
+ .pl3, .p3 {padding-left: 32px; }
165
+ .pr3, .p3 {padding-right: 32px; }
166
+ .pt3, .p3 {padding-top: 32px; }
167
+ .pb3, .p3 {padding-bottom: 32px; }
168
+ .pl4, .p4 {padding-left: 48px; }
169
+ .pr4, .p4 {padding-right: 48px; }
170
+ .pt4, .p4 {padding-top: 48px; }
171
+ .pb4, .p4 {padding-bottom: 48px; }
172
+ .ml0, .m0 {margin-left: 0; }
173
+ .mr0, .m0 {margin-right: 0; }
174
+ .mt0, .m0 {margin-top: 0; }
175
+ .mb0, .m0 {margin-bottom: 0; }
176
+ .ml1, .m1 {margin-left: 6px; }
177
+ .mr1, .m1 {margin-right: 6px; }
178
+ .mt1, .m1 {margin-top: 6px; }
179
+ .mb1, .m1 {margin-bottom: 6px; }
180
+ .ml2, .m2 {margin-left: 16px; }
181
+ .mr2, .m2 {margin-right: 16px; }
182
+ .mt2, .m2 {margin-top: 16px; }
183
+ .mb2, .m2 {margin-bottom: 16px; }
184
+ .ml3, .m3 {margin-left: 32px; }
185
+ .mr3, .m3 {margin-right: 32px; }
186
+ .mt3, .m3 {margin-top: 32px; }
187
+ .mb3, .m3 {margin-bottom: 32px; }
188
+ .ml4, .m4 {margin-left: 48px; }
189
+ .mr4, .m4 {margin-right: 48px; }
190
+ .mt4, .m4 {margin-top: 48px; }
191
+ .mb4, .m4 {margin-bottom: 48px; }
192
+
193
+ .text-xxl {
194
+ font-size: 34px;
195
+ }
196
+
197
+ .text-large {
198
+ font-size: 28px;
199
+ }
200
+
201
+ .text-small {
202
+ font-size: 14px;
203
+ line-height: 1.4;
204
+ }
205
+
206
+ .text-tiny {
207
+ font-size: 12px;
208
+ line-height: 1.2;
209
+ }
210
+
211
+ .text-teenytiny {
212
+ font-size: 8px;
213
+ }
214
+
215
+ .text-center {
216
+ text-align: center;
217
+ }
218
+
219
+ .text-right {
220
+ text-align: right;
221
+ }
222
+
223
+ .text-left {
224
+ text-align: left;
225
+ }
226
+
227
+ .text-light {
228
+ font-weight: 200;
229
+ }
230
+
231
+ .text-semibold {
232
+ font-weight: 400;
233
+ }
234
+
235
+ .text-emphasis {
236
+ font-weight: 400;
237
+ color: #3d4542;
238
+ }
239
+
240
+ .text-italic {
241
+ font-style: italic;
242
+ }
243
+
244
+ .text-uppercase {
245
+ text-transform: uppercase;
246
+ }
247
+
248
+ pre {
249
+ white-space: pre;
250
+ text-align: left;
251
+ margin: 0 0 12px 0;
252
+ }
253
+
254
+ code,
255
+ pre {
256
+ background-color: #f1f1f1;
257
+ padding: 4px;
258
+ }
259
+
260
+ hr {
261
+ position: relative;
262
+ display: block;
263
+ height: 1px;
264
+ margin: 16px 0;
265
+ padding: 0;
266
+ border: 0;
267
+ border-top: 1px solid #e3e3e3;
268
+ }
269
+
270
+ blockquote {
271
+ font-weight: 100;
272
+ font-size: 18px;
273
+ border: none;
274
+ outline: none;
275
+ }
276
+
277
+ /** BUTTONS
278
+ ---------------------------------------- **/
279
+ .btn {
280
+ padding: 15px;
281
+ border-radius: 4px;
282
+ font-size: 16px;
283
+ text-align: center;
284
+ font-weight: bold;
285
+ text-decoration: none;
286
+ display: inline-block;
287
+ }
288
+
289
+ .btn a{
290
+ display: block;
291
+ }
292
+
293
+ .btn:hover {
294
+ text-decoration: none;
295
+ }
296
+
297
+ .btn {
298
+ background-color: #0099ff;
299
+ }
300
+ .btn:hover, .btn:focus, .btn:active {
301
+ background-color: #0099ff;
302
+ }
303
+ .btn a,
304
+ .btn a:hover,
305
+ .btn a:visited { color: #fff; }
306
+
307
+ .btn-medium {
308
+ font-size: 14px;
309
+ padding: 12px;
310
+ }
311
+
312
+ .btn-small {
313
+ font-size: 12px;
314
+ padding: 8px;
315
+ }
316
+
317
+ .btn-block {
318
+ max-width: 100%;
319
+ display: block;
320
+ }
321
+
322
+ /** TABLES
323
+ ---------------------------------------- **/
324
+ table.full-width { width: 100%!important; min-width: 100%; }
325
+ th, td {
326
+ padding: 6px 0;
327
+ }
328
+
329
+ tr.bordered th,
330
+ tr.bordered td
331
+ {
332
+ border-top: 1px solid #E3E3E3;
333
+ }
334
+
335
+ /** Small screen media queries
336
+ ---------------------------------------- **/
337
+ @media only screen and (max-width: 600px) {
338
+ .wrapper {
339
+ width: 95% !important;
340
+ }
341
+ .full-width-for-small-only {
342
+ width: 100% !important;
343
+ }
344
+ .spacer-main { padding: 30px 10px !important; }
345
+ }
346
+ </style>
@@ -0,0 +1,29 @@
1
+ {% expose subject %}WebhookDB: ICalendar Error{% endexpose %}
2
+
3
+ {% partial 'greeting' %}
4
+
5
+ <p>
6
+ WebhookDB encountered an error syncing an ICalendar feed. We have the following information about the failure:
7
+ </p>
8
+ <ul>
9
+ <li>Service Integration Name: {{ service_name }}, ID: <code>{{ opaque_id }}</code></li>
10
+ <li>Calendar ID (you send this to us when adding the calendar): <code>{{ external_calendar_id }}</code></li>
11
+ <li>Request: <code>{{ request_method }} {{ request_url }}</code></li>
12
+ <li>Response Status: <code>{{ response_status }}</code></li>
13
+ <li>Body: <code>{{ response_body }}</code></li>
14
+ </ul>
15
+ <p>
16
+ You should be able to reproduce this error by fetching the request URL above.
17
+ </p>
18
+ <p>
19
+ Usually errors like this indicate the calendar is no longer shared or available,
20
+ rather than being an error in WebhookDB.
21
+ </p>
22
+ <p>
23
+ If this calendar is no longer shared, it should be removed.
24
+ Use a DELETE request, as per <a href="{{ docs_url }}/guides/icalendar/#delete">{{ docs_url }}/guides/icalendar/#delete</a>.
25
+ </p>
26
+ <p>We'll continue to send daily emails when this happens, so please do fix this up when you get a chance.</p>
27
+ <p>Please file an issue at {{ oss_repo }} if you need any help.</p>
28
+
29
+ {% partial 'signoff' %}
@@ -0,0 +1,15 @@
1
+ {% expose subject %}Join {{ organization_name }} on WebhookDB{% endexpose %}
2
+
3
+ {% partial 'greeting' %}
4
+
5
+ <p>You have been invited to the {{ organization_name }} organization on <a href="https://webhookdb.com">webhookdb.com</a>.</p>
6
+ <p>WebhookDB allows you to query any API, in real time, with SQL.</p>
7
+ <p>To get started, head to <a href="{{ api_url }}/terminal">use the CLI in your browser</a> and then:</p>
8
+ <pre>> webhookdb auth login
9
+ > webhookdb org join {{ invite_code }}</pre>
10
+
11
+ <p>You can <a href="https://docs.webhookdb.com">read our WebhookDB guide</a> to learn more.</p>
12
+
13
+ <p>If you have any trouble, please reply to this email, we&rsquo;re happy to help out!</p>
14
+
15
+ {% partial 'signoff' %}
@@ -0,0 +1,24 @@
1
+ {% expose subject %}Welcome to WebhookDB{% endexpose %}
2
+
3
+ {% partial 'greeting' %}
4
+
5
+ <p>Thanks for signing up for WebhookDB! Here are some tips for getting started.</p>
6
+ <ul class="list-buffer">
7
+ <li>View our guide at <a href="https://docs.webhookdb.com">https://docs.webhookdb.com</a>.</li>
8
+ <li>View available integrations with: <code>webhookdb services list</code></li>
9
+ <li>Then set up a new integration: <code>webhookdb integrations create stripe_charge_v1</code></li>
10
+ <li>The CLI will take things from there, like showing you how to backfill historical data.</li>
11
+ <li>At this point, you can use any SQL viewer (like <code>psql</code> or <code>pgcli</code>) to check out your data.</li>
12
+ <li>Or use the CLI to see tables in your database: <code>webhookdb db tables</code></li>
13
+ <li>And query them: <code>webhookdb db sql "SELECT * from stripe_charges_v1_abc123"</code></li>
14
+ </ul>
15
+ <p class="text-small">
16
+ WebhookDB is open source &mdash; you can check out <a href="https://github.com/webhookdb/webhookdb">github.com/webhookdb/webhookdb</a>
17
+ and file an issue.
18
+ </p>
19
+ <p>
20
+ And finally &mdash; we're here to help!
21
+ Reply to this email if you need anything or want to say "hi".
22
+ </p>
23
+
24
+ {% partial 'signoff' %}
@@ -0,0 +1,7 @@
1
+ {% expose subject %}WebhookDB database migration finished{% endexpose %}
2
+
3
+ {% partial 'greeting' %}
4
+
5
+ <p>The WebhookDB database for {{ org_name }} has been fully migrated to {{ destination_host }}.</p>
6
+
7
+ {% partial 'signoff' %}
@@ -0,0 +1,9 @@
1
+ {% expose subject %}WebhookDB database migration started{% endexpose %}
2
+
3
+ {% partial 'greeting' %}
4
+
5
+ <p>The WebhookDB database for {{ org_name }} hosted at {{ source_host }} is being migrated to {{ destination_host }}.</p>
6
+ <p>While your migration is in progress, certain actions, like renaming your schema or tables, will not work.</p>
7
+ <p>We&rsquo;ll let you know as soon as it is complete.</p>
8
+
9
+ {% partial 'signoff' %}
@@ -0,0 +1 @@
1
+ partial has field of {{ field }}
@@ -0,0 +1,2 @@
1
+ {% expose subject %}subject to {{ recipient.to }}{% endexpose %}
2
+ email to {{ recipient.to }}
@@ -0,0 +1 @@
1
+ test message to {{ recipient.to }}
@@ -0,0 +1,2 @@
1
+ {% expose subject %}subject with field {{ field }} to {{ recipient.to }}{% endexpose %}
2
+ email to {{ recipient.to }}
@@ -0,0 +1 @@
1
+ test message to {{ recipient.to }}, field {{ field }}
@@ -0,0 +1,2 @@
1
+ field before is {{ field }}. including: {% include 'templates/specs/_field_partial' %}
2
+
@@ -0,0 +1 @@
1
+ {% partial 'signoff' %}
@@ -0,0 +1,14 @@
1
+ {% expose subject %}Your WebhookDB Verification Code{% endexpose %}
2
+
3
+ {% partial 'greeting' %}
4
+
5
+ <p>Your auth verification code is:</p>
6
+ <h2>{{ token }}</h2>
7
+ <p>
8
+ If the CLI prompt is still up, you can paste or type in this code.
9
+ Or you can finish logging in from a new prompt with:
10
+ </p>
11
+ <pre>webhookdb auth login --username="{{ email }}" --token={{ token }}</pre>
12
+ <p>If you didn&rsquo;t submit a request, you should get in contact with us by replying to this email.</p>
13
+
14
+ {% partial 'signoff' %}
@@ -0,0 +1 @@
1
+ Your WebhookDB verification code is: {{ token }}