~bigbes/core-go

ref: bf509aeeaa162557beee1a03fbdb7e8a863264e7 core-go/webhooks d---------
6c80f878 — Drew DeVault 5 years ago
webhooks: correct error case log format
3eaac6aa — Drew DeVault 5 years ago
webhooks: test error from delivery attempt
3a272385 — Drew DeVault 5 years ago
webhooks: add query validation function

The new function tests a query against a GraphQL schema and returns any
validation errors if they are found. This is useful for determining if a
GraphQL query will pass validation when creating a new webhook.
f500157c — Drew DeVault 5 years ago
webhooks: refactor exec code into separate func
8bd6005b — Drew DeVault 5 years ago
webhooks: initial prototype for GQL-native webhooks
33562018 — Drew DeVault 5 years ago
database.WithTx: rollback if func returns error

Previously, this only rolled back if the called function panicked. This
updates it to also roll back if the called function returns an error.
910a8619 — Drew DeVault 5 years ago
webhooks/legacy_test: verify headers are recorded
b98647b6 — Drew DeVault 5 years ago
Deduplicate webhook headers on subsequent attempts

This also updates the database with the final payload headers, including
the signature and nonce, which are generated afresh for each attempt.
70c7fe3b — Drew DeVault 5 years ago
webhooks/legacy: increase specificity of logging
d6bd006e — Drew DeVault 5 years ago
workers/legacy: correct Println with fmt directive
b7e39188 — Drew DeVault 5 years ago
Make worker logs less loud
da1a806e — Drew DeVault 5 years ago
webhooks/legacy: address Postgres-specific issues
6d45601d — Drew DeVault 5 years ago
webhooks/legacy_test.go: style
03619ed2 — Drew DeVault 5 years ago
webhooks/legacy: update only affected delivery

Forgot to add this where clause, whoops!
af2afebd — Drew DeVault 5 years ago
Add legacy webhooks worker implementation