graphql-engine/server/src-lib/Data
Antoine Leblanc 5b54f9d766
server: add support for webhook connection expiration (#4196)
* add expiry time to webhook user info

This also adds an optional message to webhook errors: if we fail to
parse an expiry time, we will log a warning with the parse error.

* refactored Auth

This change had one main goal: put in common all expiry time
extraction code between the JWT and WebHook parts of the
code. Furthermore, this change also moves all WebHook specific code to
its own module, similarly to what is done for JWT.

* Remove dependency on string-conversions in favor of text-conversions

string-conversions silently uses UTF8 instead of being explicit about
it, and it uses lenientDecode when decoding ByteStrings when it’s
usually better to reject invalid UTF8 input outright. text-conversions
solves both those problems.

Co-authored-by: Alexis King <lexi.lambda@gmail.com>
2020-04-02 19:00:13 -05:00
..
Aeson export metadata without nulls, empty arrays & default values (#3393) 2019-12-14 00:47:38 -06:00
HashMap/Strict Use arrows instead of monads to define the schema cache construction 2020-01-08 16:43:06 -06:00
List allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
Parser server: add support for webhook connection expiration (#4196) 2020-04-02 19:00:13 -05:00
Sequence fix updating a column with multiple operators causing postgres query error (fix #3432) (#3458) 2019-12-03 14:00:37 -06:00
Text refactor to remove warnings especially with orphan instances (#1163) 2018-12-13 12:56:15 +05:30
Time/Clock Add request timings and count histograms to telemetry. Closes #3552 2020-02-03 18:50:10 -06:00
URL allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
TByteString.hs More robust forking, exception safety. Closes #3768 (#3860) 2020-03-05 23:29:26 +05:30