Phil Freeman
20913c254d
server: allocation limits ( #82 )
...
* server: allocation limits
* Move most of the allocation limits work into Pro
Co-authored-by: Brandon Simmons <brandon@hasura.io>
* code review changes
* fix build
Co-authored-by: Brandon Simmons <brandon@hasura.io>
GitOrigin-RevId: 035f15def48f4a0376cb2701eff9982c43a78e2d
2020-12-03 04:07:22 +00:00
Antoine Leblanc
3537e2acdc
server: fix primary key mutations issue ( closes #6255 ) ( #129 )
...
* Add update_by_pk test with more interesting permissions.
* Add new delete test with more interesting permissions.
* Fix byPk operations not providing all columns.
* Empty commit to unlock ci.
GitOrigin-RevId: eb1ca2cc4c59f421bc5fedf49bef91aa4bbdca94
2020-12-02 14:13:00 +00:00
Swann Moreau
e873c4e650
server: add metric for warp threads ( #88 )
...
* server: add ekg gauge to count number of warp threads currently alive
* Apply suggestions from code review
* Fix a weird impredicativity bug
* changelog
* Update server/src-lib/Hasura/App.hs
Co-authored-by: Brandon Simmons <brandon@hasura.io>
* Add hlint pragma :|
Co-authored-by: Phil Freeman <phil@hasura.io>
Co-authored-by: Phil Freeman <paf31@cantab.net>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
GitOrigin-RevId: 02e5d85cd8bdf7b1ebbe3395c61d8cac3abc135f
2020-12-02 06:16:58 +00:00
Phil Freeman
1843643c74
Disallow caching for remote joins with forwarded headers (master) ( #58 )
...
GitOrigin-RevId: 76eb061534fd2a068965b8b22517a0729d9e3020
2020-12-01 23:24:24 +00:00
Brandon Simmons
bcf251a469
Add missing PROFILING CPP pragma
...
GitOrigin-RevId: b50acc16cd7194e5a778a34592d44cf21c969d52
2020-12-01 16:05:10 +00:00
Auke Booij
3c3ed55914
server: schema that grows ( #105 )
...
This PR makes a bunch of schema generation code in Hasura.GraphQL.Schema backend-agnostic, by moving the backend-specific parts into a new BackendSchema type class. This way, the schema generation code can be reused for other backends, simply by implementing new instances of the BackendSchema type class.
This work is now in a state where the schema generators are sufficiently generic to accept the implementation of a new backend. That means that we can start exposing MS SQL schema. Execution is not implemented yet, of course.
The branch currently does not support computed fields or Relay. This is, in a sense, intentional: computed field support is normally baked into the schema generation (through the fieldSelection schema generator), and so this branch shows a programming technique that allows us to expose certain GraphQL schema depending on backend support. We can write support for computed fields and Relay at a later stage.
Co-authored-by: Antoine Leblanc <antoine@hasura.io>
GitOrigin-RevId: df369fc3d189cbda1b931d31678e9450a6601314
2020-12-01 15:51:13 +00:00
hasura-bot
7b31ff99d1
Support Postgres POSIX regex operators ( close #4317 ) ( #119 )
...
Co-authored-by: christophediprima <dipdipdip84@gmail.com>
Co-authored-by: dip <dipdipdip84@gmail.com>
Co-authored-by: Auke Booij <auke@hasura.io>
Co-authored-by: Antoine Leblanc <antoine@hasura.io>
GITHUB_PR_NUMBER: 6172
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6172
GitOrigin-RevId: 5192d238b527cd21b6efb2f74e279ecc34756c29
2020-11-27 10:54:52 +00:00
Auke Booij
86aef93d31
server: remove a few unused Lift instances ( #114 )
...
GitOrigin-RevId: b5679e9579d226f7209b73ac966d29391c308c06
2020-11-26 13:58:07 +00:00
Auke Booij
350d6b3d43
server: make the UnpreparedValue less tightly bound to the backend ( #108 )
...
Co-authored-by: Antoine Leblanc <antoine@hasura.io>
GitOrigin-RevId: 90cb7e1cc97961523085ae7ae3d195549b901b1f
2020-11-25 16:08:27 +00:00
hasura-bot
64743cb189
server: all remaining IR changes ( #75 )
...
Co-authored-by: Antoine Leblanc <antoine@hasura.io>
GITHUB_PR_NUMBER: 6233
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6233
Co-authored-by: Antoine Leblanc <antoine@hasura.io>
Co-authored-by: Auke Booij <auke@hasura.io>
GitOrigin-RevId: 268cdad529ad5d9bebeb5b881fda5413ea9d7715
2020-11-25 14:19:50 +00:00
hasura-bot
29925eb08d
server: metadata storage abstraction for scheduled triggers
...
An incremental PR towards https://github.com/hasura/graphql-engine/pull/5797
* metadata storage abstraction for scheduled triggers
Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Auke Booij <auke@hasura.io>
GITHUB_PR_NUMBER: 6131
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6131
* update pro server code
Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Auke Booij <auke@hasura.io>
GitOrigin-RevId: 17244a47b3e8633acf2492e0b0734b72025f0a09
2020-11-25 10:57:38 +00:00
hasura-bot
5ca8cd23a0
server: support remote relationship with ID scalar types ( #92 )
...
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
GITHUB_PR_NUMBER: 6227
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6227
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
GitOrigin-RevId: 666ec37d570e46482e0f27db2c97c9e3f9c1f4d3
2020-11-24 12:20:22 +00:00
hasura-bot
d955001046
server: schema cache syncing without relying on a Postgres table ( #40 )
...
An incremental PR towards # 5797 (OSS repo)
* schema cache syncing without relying on a Postgres table
Co-authored-by: rakeshkky <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GITHUB_PR_NUMBER: 6173
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6173
* fix pro compile issues
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
GitOrigin-RevId: 055b06ae477af80892124ff55d005d04a8034c34
2020-11-24 06:11:07 +00:00
hasura-bot
fb902d4209
Support tracking SQL functions as mutations. Closes #1514 ( #34 )
...
* Support tracking SQL functions as mutations. Closes #1514
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
GITHUB_PR_NUMBER: 6160
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6160
* Update docs/graphql/core/api-reference/schema-metadata-api/custom-functions.rst
Co-authored-by: Marion Schleifer <marion@hasura.io>
* Update docs/graphql/core/schema/custom-functions.rst
Co-authored-by: Marion Schleifer <marion@hasura.io>
* Update docs/graphql/core/schema/custom-functions.rst
Co-authored-by: Marion Schleifer <marion@hasura.io>
* Update docs/graphql/core/schema/custom-functions.rst
Co-authored-by: Brandon Simmons <brandon@hasura.io>
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: Marion Schleifer <marion@hasura.io>
GitOrigin-RevId: 8fd39258641ecace6e3e9930e497b1655ad35080
2020-11-18 18:05:59 +00:00
hasura-bot
8eebcb9bdf
server: query remote server in a remote join query iff all arguments are not null ( #31 )
...
* server: query remote server in a remote join query iff all arguments are not null
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
GITHUB_PR_NUMBER: 6199
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6199
* Update server/src-lib/Hasura/Backends/Postgres/Execute/RemoteJoin.hs
Co-authored-by: Brandon Simmons <brandon@hasura.io>
* Apply suggestions from code review
Co-authored-by: Brandon Simmons <brandon@hasura.io>
* Update server/tests-py/test_remote_relationships.py
Co-authored-by: Brandon Simmons <brandon@hasura.io>
* Apply suggestions from code review
Co-authored-by: Brandon Simmons <brandon@hasura.io>
* use guard instead of case match
* add comment about the remote relationship joining
* add a comment about the design discussion
* update CHANGELOG
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
GitOrigin-RevId: ce7e8288d37ad7c32705f96cb6363f6ad68f3c0a
2020-11-18 09:00:12 +00:00
Vishnu Bharathi P
58c44f55dd
Merge oss/master onto mono/main
...
GitOrigin-RevId: 1c8c4d60e033c8a0bc8b2beed24c5bceb7d4bcc8
2020-11-12 22:37:19 +05:30
Phil Freeman
9faf5d90f7
Pro: use local graphql-engine ( #14 )
...
* Use local graphql-engine, WIP
* Implement cacheLookup and cacheStore
* Fix the key generatio ncode, deduplicate
* changelog
* More deduplication
* Run tests from this repo
* remove changelog
Co-authored-by: Anon Ray <rayanon004@gmail.com>
GitOrigin-RevId: 80d10c4dfdcadbe9f49ec50fe67aa981202c98c9
2020-11-12 22:37:19 +05:30
Vishnu Bharathi P
666058ab7f
oss: renames dot files and folders
...
GitOrigin-RevId: 540aeec3be091e1cfb7b05a988f50445534ed663
2020-11-12 22:37:19 +05:30
Antoine Leblanc
70303a5a68
server: post-pdv Insert IR cleanup ( #6162 )
...
https://github.com/hasura/graphql-engine/pull/6162
2020-11-11 17:06:38 +00:00
Antoine Leblanc
fd5f64e1ed
server: remove postgres-specific code from OrderBy IR ( #6150 )
...
https://github.com/hasura/graphql-engine/pull/6150
2020-11-10 17:04:50 +00:00
Alexis King
6787a1b1b0
Fix the way replace_metadata drops event triggers ( fix #5461 ) ( #6137 )
...
https://github.com/hasura/graphql-engine/pull/6137
2020-11-10 12:02:38 +00:00
Antoine Leblanc
d769a7536e
server: remove postgres-specific code in Insert IR ( #6149 )
...
https://github.com/hasura/graphql-engine/pull/6149
2020-11-10 11:04:31 +00:00
Antoine Leblanc
f8ad1698a9
Move MutationCTE code to Postgres.Translate
. ( #6148 )
...
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-11-10 15:31:49 +05:30
Antoine Leblanc
7960cd1c87
server: generalize table name IR ( #6127 )
...
https://github.com/hasura/graphql-engine/pull/6127
2020-11-10 07:50:26 +00:00
Auke Booij
0b98e8c504
server: add hlint hints to replace case analysis with combinators ( #6145 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-09 13:27:16 +01:00
Antoine Leblanc
39843e48f2
server: split RQL.Types.DML ( #6101 )
...
https://github.com/hasura/graphql-engine/pull/6101
2020-11-09 10:03:38 +00:00
Rakesh Emmadi
ca47c92f50
server: avoid raising mutation check constraint violation in pg procedure ( #6123 )
...
https://github.com/hasura/graphql-engine/pull/6123
2020-11-06 13:22:22 +00:00
kodiakhq[bot]
8df3f07909
Merge branch 'master' into fix-6041
2020-11-05 16:08:58 +00:00
Rakesh Emmadi
8bf84dff17
Avoid hdb_views
schema for storing event trigger procedures ( #6135 )
...
https://github.com/hasura/graphql-engine/pull/6135
2020-11-05 12:12:13 +00:00
Tirumarai Selvan A
78afba7c2a
use readcommitted isolation level for event fetch
2020-11-05 17:24:37 +05:30
Karthikeyan Chinnakonda
81fd1ec083
server: minor refactoring in the remote joins execution module ( #6130 )
...
* server: refactor the fetchRemoteJoinFields function
* apply hlint suggestions
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-05 11:51:39 +05:30
Auke Booij
49a7a074c1
server: avoid two circular imports ( #6134 )
...
https://github.com/hasura/graphql-engine/pull/6134
2020-11-05 04:26:47 +00:00
Auke Booij
21e38760e3
server: re-implement table name validity filtering ( #6132 )
2020-11-04 14:40:01 +01:00
Antoine Leblanc
faf321ce17
server: generalize SQLExp in RQL.IR ( #6091 )
...
https://github.com/hasura/graphql-engine/pull/6091
2020-11-04 10:50:56 +00:00
Auke Booij
3bcde3d4b8
server: metadata separation: reorganize metadata types ( #6103 )
...
https://github.com/hasura/graphql-engine/pull/6103
2020-11-03 18:01:33 +00:00
Sasha Bogicevic
81e836a12c
server: configurable websocket keep alive interval ( #6092 )
...
Accept new server flag --websocket-keepalive to control
websockets keep-alive interval
Co-authored-by: Auke Booij <auke@hasura.io>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-03 18:04:48 +01:00
Auke Booij
fd8d51a37a
server: metadata separation: cleanup schema generation ( #6116 )
...
https://github.com/hasura/graphql-engine/pull/6116
2020-11-03 16:04:40 +00:00
tomjaguarpaw
004f14a83c
Generalize combinators from Monad to Applicative ( #5845 )
...
https://github.com/hasura/graphql-engine/pull/5845
2020-11-03 13:46:50 +00:00
Vamshi Surabhi
98c853f4f7
use only required session variables in multiplexed queries for subscriptions ( #4329 )
...
* use only required session variables in multiplexed queries for subscriptions
This will reduce the load on Postgres when the result of a subscription
is not dependent on the session variables of the request
* add DerivingVia to the project wide extension list
* expose a more specific function to filter session variables
* improve documentation of session variables of a cohort
Co-Authored-By: Alexis King <lexi.lambda@gmail.com>
* fix bad rebase
* add test for checking only required session variables are used to make query
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
2020-11-03 13:45:22 +05:30
Antoine Leblanc
88bd2ed022
server: generalize BoolExp ( #6082 )
...
https://github.com/hasura/graphql-engine/pull/6082
2020-11-02 11:50:40 +00:00
Auke Booij
62da89eb9d
server: multiple sources: generalize LazyTx to LazyTxT ( #6097 )
...
https://github.com/hasura/graphql-engine/pull/6097
2020-10-30 11:00:39 +00:00
Antoine Leblanc
61c990f177
server: split RQL.DML into four different parts ( #6072 )
...
* WIP: shuffle everything around
* remove all unused imports & unused top-level binds
* move types to IR subfolder
* revert unrelated changes to Query and Prepare
* reduce differences in remote join, deprecate Translate module
* clean mutation module
* cosmetic: code formatting
* moved some RQL-specific stuff out of IR
* fix misc compilation issues
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-29 16:58:13 +00:00
Karthikeyan Chinnakonda
2cb08a89cb
server: customize tracking tables with a custom name ( #5719 )
...
https://github.com/hasura/graphql-engine/pull/5719
2020-10-29 12:48:45 +00:00
Karthikeyan Chinnakonda
562b6ac43a
Server: support remote relationships to unions, interfaces and enum types ( #6080 )
...
* add support for joining to remote interface and union fields
* add test for making a remote relationship with an Union type
* add CHANGELOG
* remove the pretty-simple library
* remove unused imports from Remote.hs
* Apply suggestions from code review
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
* support remote relationships against enum fields as well
* update CHANGELOG
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-29 17:00:19 +05:30
Antoine Leblanc
8b577adfae
move NonEmptyText out of RQL.Types.Common ( #6086 )
2020-10-29 00:04:21 +00:00
Auke Booij
0540b279db
server: make more use of hlint ( #6059 )
...
https://github.com/hasura/graphql-engine/pull/6059
2020-10-28 16:40:33 +00:00
Karthikeyan Chinnakonda
c63801b573
server: fix bug when renaming table with manual relationships ( #5806 )
...
https://github.com/hasura/graphql-engine/pull/5806
2020-10-28 10:21:53 +00:00
Alexis King
bf466e3b63
server: Fix fine-grained incremental cache invalidation ( fix #3759 ) ( #6027 )
...
This issue was very tricky to track down, but fortunately easy to fix.
The interaction here is subtle enough that it’s difficult to put into
English what would go wrong in what circumstances, but the new unit test
captures precisely that interaction to ensure it remains fixed.
2020-10-27 14:52:19 -05:00
Antoine Leblanc
a8ed6a82e2
server: move Hasura.SQL to Hasura.Backends.Postgres ( #6053 )
...
https://github.com/hasura/graphql-engine/pull/6053
2020-10-27 13:53:49 +00:00
Antoine Leblanc
bea226fe37
server: unabbreviate function names ( #6028 )
...
https://github.com/hasura/graphql-engine/pull/6028
2020-10-27 10:34:31 +00:00
Auke Booij
8d0afb6f92
server: SQL that grows ( #6003 )
...
Add a backend type extension parameter to some RQL types, following the ideas of the paper "Trees that grow" (Najd & Jones 2016)
Co-authored-by: Antoine Leblanc <antoine@hasura.io>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-22 22:42:27 +02:00
Antoine Leblanc
983b8e4f09
Merge branch 'master' into clean-text
2020-10-22 14:51:43 +01:00
Sameer Kolhar
b72fc6922a
server: fix issue with tracking custom functions that return SETOF
materialized view ( close #5294 ) ( #5945 )
...
https://github.com/hasura/graphql-engine/pull/5945
2020-10-22 13:26:42 +00:00
Antoine Leblanc
91d8a7ab61
remove SQL.Text
, clean text functions
2020-10-22 14:07:48 +01:00
Antoine Leblanc
d9d2728a32
removed unused imports, remove warnings
2020-10-22 14:07:48 +01:00
Antoine Leblanc
5259be8960
revert change to SQL.Rewrite
2020-10-22 14:07:48 +01:00
Antoine Leblanc
440563e85c
revert SQL boolean case change
2020-10-22 14:07:47 +01:00
Antoine Leblanc
f46f807942
clean SQL text functions
2020-10-22 14:07:47 +01:00
Auke Booij
a4113eb9a6
add hlint config, run hlint through a github action, add to dev.sh ( #5957 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-16 13:55:18 +02:00
Karthikeyan Chinnakonda
3ea611f9fd
Server: Validate remote schema queries ( #5938 )
...
* [skip ci] use the args while making the fieldParser
* modify the execution part of the remote queries
* parse union queries deeply
* add test for remote schema field validation
* add tests for validating remote query arguments
Co-authored-by: Auke Booij <auke@hasura.io>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-13 14:03:11 +05:30
gahag
19b4f55ca1
server: implement websocket compression setting ( fixes #3292 ) ( #5928 )
...
https://github.com/hasura/graphql-engine/pull/5928
2020-10-12 09:14:23 +00:00
Auke Booij
84a129c8e4
server: heterogeneous execution of GraphQL queries ( #5869 )
...
https://github.com/hasura/graphql-engine/pull/5869
2020-10-07 10:23:17 +00:00
Antoine Leblanc
85c9283326
server: redesign MonadExecuteQuery in preparation for heterogeneous execution ( #5865 )
...
https://github.com/hasura/graphql-engine/pull/5865
2020-10-07 08:55:39 +00:00
Sameer Kolhar
af32ccff36
server: limit length of event trigger names ( close #5786 ) ( #5826 )
...
https://github.com/hasura/graphql-engine/pull/5826
2020-10-06 15:22:09 +00:00
Karthikeyan Chinnakonda
43a6290124
server: lower the isolation level to ReadCommited while inserting/updating invocation logs and events ( #5824 )
...
https://github.com/hasura/graphql-engine/pull/5824
2020-09-24 06:46:24 +00:00
Sameer Kolhar
10f41e7559
server: accept only non-negative integers for batch size and refetch interval ( close #5653 ) ( #5759 )
...
https://github.com/hasura/graphql-engine/pull/5759
2020-09-17 10:56:41 +00:00
Phil Freeman
7302abeed0
server: Add MonadQueryInstrumentation ( #5644 )
...
https://github.com/hasura/graphql-engine/pull/5644
2020-09-17 00:23:39 +00:00
Phil Freeman
dd5aa41fea
server: export RemoteJoin and FieldPath from RemoteJoin.hs ( #5769 )
...
https://github.com/hasura/graphql-engine/pull/5769
2020-09-16 21:57:47 +00:00
Karthikeyan Chinnakonda
9d047d1726
server: add custom timeouts to actions ( #5762 )
...
https://github.com/hasura/graphql-engine/pull/5762
2020-09-16 09:53:17 +00:00
Karthikeyan Chinnakonda
6eb7a7dd8a
Merge branch 'master' into scheduled-triggers-created-at-bug-5272
2020-09-16 03:33:41 +05:30
Anon Ray
91c1a4d2b1
Merge branch 'master' into disable-opt-server-init
2020-09-14 01:07:20 +05:30
Phil Freeman
c1862f229a
Merge branch 'master' into 512
2020-09-10 15:53:19 -07:00
Anon Ray
41c819881d
Merge branch 'master' into disable-opt-server-init
2020-09-10 16:31:59 +05:30
Karthikeyan Chinnakonda
92ef504c9e
Server: add URL templating for event triggers and remote schemas ( #5760 )
...
* add url templating for event triggers
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
2020-09-10 15:00:34 +05:30
Phil Freeman
e5f70b8439
Merge branch 'master' into 512
2020-09-09 20:36:22 -07:00
Phil Freeman
1c4c33155d
Merge branch 'master' into ekg-rts-metrics
2020-09-09 19:29:28 -07:00
Phil Freeman
34c16bb314
Merge branch 'master' into 512
2020-09-09 19:29:22 -07:00
Phil Freeman
ff5786e5c1
Merge branch 'master' into event-trigger-lock-timeout
2020-09-09 10:20:28 -07:00
Karthikeyan Chinnakonda
15c3bd9799
include created_at
field in CronEventPartial
2020-09-09 12:17:34 +05:30
Phil Freeman
1b2cda3d30
Move server_timestamp_ms out into Main.hs
2020-09-08 11:13:35 -07:00
Phil Freeman
2ae43c4a48
Fix error after merge
2020-09-08 10:14:10 -07:00
Phil Freeman
6b61aef2d8
server: move registerGcMetrics to runApp
2020-09-08 09:19:52 -07:00
Karthikeyan Chinnakonda
3e10eb6694
don't send created_at in the payload in case of cron triggers
2020-09-08 12:18:00 +05:30
Anon Ray
893a45a95a
server: disable optimization for Hasura.Server.Init module
...
- builds on CircleCI seems to run out of memory. Hence disabling
optimizations for this module.
2020-09-07 12:10:02 +05:30
Karthikeyan Chinnakonda
ee6797a8d8
refactor StandAloneEvent to OneOffEvents
2020-09-07 11:45:15 +05:30
Phil Freeman
91febd3dd5
Merge remote-tracking branch 'origin' into 512
2020-09-04 10:50:17 -07:00
Phil Freeman
7cb0e5884c
Tidying
2020-09-04 10:46:19 -07:00
Karthikeyan Chinnakonda
772e991079
use the created_at time of the scheduled event
...
- in case of cron events, use the created_at of the cron trigger
2020-09-04 22:44:54 +05:30
Karthikeyan Chinnakonda
0f5e2a2605
Merge branch 'master' into fix-schema-duplication
2020-09-03 23:55:33 +05:30
Tirumarai Selvan
1b42a502b7
remove redundant function call
...
Co-authored-by: Karthikeyan Chinnakonda <chkarthikeyan95@gmail.com>
2020-09-03 15:45:43 +05:30
Tirumarai Selvan A
463854e1f1
improve error message for event trigger internal error
2020-09-03 15:08:33 +05:30
Antoine Leblanc
25773a7d7a
clean unauthenticated context
2020-09-01 11:57:36 +01:00
Phil Freeman
9e792f2e61
server: Use event trigger name as tracing span name
2020-08-31 15:05:04 -07:00
Rakesh Emmadi
4ce6002af2
support customizing JWT claims ( close #3485 ) ( #3575 )
...
* improve jsonpath parser to accept special characters and property tests for the same
* make the JWTClaimsMapValueG parametrizable
* add documentation in the JWT file
* modify processAuthZHeader
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Marion Schleifer <marion@hasura.io>
2020-08-31 22:10:01 +05:30
Antoine Leblanc
bcd5a1a0c9
cosmetic fix
2020-08-31 13:39:34 +01:00
Antoine Leblanc
c6a03eabaf
Introduce safeSelectionSet
to prevent conflicts in root fields
2020-08-31 13:31:04 +01:00
Phil Freeman
d210a0df2d
server: Fix trace span names for queries and mutations ( #5668 )
2020-08-27 21:47:05 -05:00
Alexis King
8c29f15b4d
server: Bump GHC version to 8.10.2 ( #5659 )
2020-08-26 23:16:23 -05:00
Karthikeyan Chinnakonda
95b08086a8
Merge branch 'master' into remote-relationship-validation-bug-5133
2020-08-26 13:19:04 +05:30
Phil Freeman
f9267e556e
server: Improved tracing for nested inserts ( #5624 )
2020-08-24 17:32:56 -05:00