Commit Graph

7216 Commits

Author SHA1 Message Date
Philip Lykke Carlsen
e3ba41324b docs: logical model references, native query relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9462
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 29a40ebf19c60fa182449c3721bf1d8d9f2d999f
2023-06-08 14:04:09 +00:00
Rikin Kachhia
5601e1bd1f update install manifests with v2.27.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9480
GitOrigin-RevId: e41a50f9d3144a8306e16de458d06d3683b80cce
2023-06-08 13:57:55 +00:00
Julian
3e6b7816df Improve loading UX on permissions editor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9457
GitOrigin-RevId: 548c4ccadd4672d7cbdb12e637e919243edb0f2a
2023-06-08 13:22:38 +00:00
Daniel Harvey
be252cddf7 chore(ci-info): fix various compiler warnings
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9461
GitOrigin-RevId: 2160bd10c5464fad34bb5b9057beaa718c58a2ae
2023-06-08 12:25:22 +00:00
Rob Dominguez
b9b9ce361d docs: add missing explanations on logging page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9436
GitOrigin-RevId: 08bd33be10aa35e363b0bc665e2ee656c2178cb2
2023-06-08 11:44:24 +00:00
Martin Mark
a35e8ef691 Docs: MongoDB - Initial Draft
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9403
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: a2279a425d93f7cab22c47de9eda4cd913fbefe8
2023-06-08 10:52:05 +00:00
Vishnu Bharathi
88ca45fca3 ci: tag release v2.27.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9475
GitOrigin-RevId: 20482cd02b2466d4ae9ec30bb3dda67928dfd13d
2023-06-08 10:15:39 +00:00
pranshi06
1372a649df server: add support for ES-* ( ES256, ES384 and ES512) algorithms for signing the JWT
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9273
GitOrigin-RevId: e891a14e992e4345f5470e1e99dbfc21d9105c31
2023-06-08 09:27:42 +00:00
Daniel Chambers
d918e701a1 Upgrade cabal version used in CI server-build
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9471
GitOrigin-RevId: 006e63b2ad366ad6369e654beacd8768a570922c
2023-06-08 08:32:15 +00:00
hasura-bot
d4263d286a Use COPY --chmod to remove duplicated layer.
GITHUB_PR_NUMBER: 9687
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9687

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9407
Co-authored-by: Greg Schofield <3594838+gscho@users.noreply.github.com>
GitOrigin-RevId: 1d3a402cce66d01c2c85ee3b0b46ac6b4ce793c7
2023-06-07 22:55:45 +00:00
Matthew Goodwin
dc7a1f2270 console: bugfix to resolve error when using connection parameters with postgres/citus
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9465
GitOrigin-RevId: 8ee65b734314e6bfc7bd2806dc0ba77334e30c5c
2023-06-07 21:50:01 +00:00
surendran82
4613aaf56e docs: hasuracon banner ui updates
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9463
GitOrigin-RevId: 4310a82f05ebf09f81e24c15904d1e59089856ed
2023-06-07 18:23:43 +00:00
Luca Restagno
0407229c83 fix adapting of legacy notification to the new toast system
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9415
GitOrigin-RevId: bfc3d9f18a459e74b9f2b37dac6c4858c26acefa
2023-06-07 16:41:26 +00:00
Samir Talwar
092be72ac1 CI: Upgrade ci-util to use the latest Ubuntu and Docker patches.
It's been a while.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9440
GitOrigin-RevId: 15d3dabd23ae640ea1d6afeea2be9d59176c19e7
2023-06-07 15:17:04 +00:00
Rob Dominguez
60ba0566db docs: sidebar grouping
[DOCS-1023]: https://hasurahq.atlassian.net/browse/DOCS-1023?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9427
GitOrigin-RevId: afe1325ce28f4432bbba98b48016da0e7b90d733
2023-06-07 14:47:09 +00:00
Luca Restagno
eefa345bf8 Fixes and improvements on Native Queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9433
GitOrigin-RevId: 2a9b31e4867871a2f6c51db3c6449e0f496266c7
2023-06-07 13:15:07 +00:00
Varun Choudhary
504ef83b11 console: In the rest details, send the request variable value as a JSON object if type of variable is JSON instead of a string
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9396
GitOrigin-RevId: 5a72d144e6b47ef986ed056490649e791d3f1bea
2023-06-07 12:47:25 +00:00
Daniel Harvey
93860fd244 chore(tooling): fix make ghcid-* commands
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9453
GitOrigin-RevId: 491b1a82e1c820a5642f023fb409cf1e9844be5d
2023-06-07 12:20:11 +00:00
Varun Choudhary
0a55d3cf70 console: fix action with transform e2e tests
This PR fixes e2e tests for action with transforms

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9452
GitOrigin-RevId: b8f2254969a8d6fe3b64e468e114b0e509d48f2d
2023-06-07 11:42:10 +00:00
Toan Nguyen
4e990f5e58 server: fix the invalid CU memory limit allocation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9398
GitOrigin-RevId: 105162ca352f600ff52f21cdff4dd8f515dd36b9
2023-06-07 09:22:51 +00:00
kodiakhq[bot]
6f3359ae96 chore(tooling): import ekg-json into the monorepo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9424
Co-authored-by: Johan Tibell <17277+tibbe@users.noreply.github.com>
Co-authored-by: Oleg Grenrus <51087+phadej@users.noreply.github.com>
Co-authored-by: Mikhail Glushenkov <47439+23Skidoo@users.noreply.github.com>
Co-authored-by: Eric Conlon <37287+ejconlon@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com>
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: f493865321da664cef45e5f56f33bb00ae03c713
2023-06-07 08:38:48 +00:00
Jesse Hallett
d08222b8cf regenerate dc-api types with new definition order after ghc 9.4.5 upgrade
## Description

After the GHC 9.4.5 upgrade the generated dc-api openapi spec was emitted with a different order. This change regenerates the version-controlled spec and types with the new order so that our CI check will pass. Other than order of fields these files are the same as before.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9446
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: fbe00bef95e92cbe82b5213060826d096e98032d
2023-06-07 01:01:48 +00:00
Tom Harding
2c5e89e5d8 Fix array relationship aliasing (good news)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9438
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 14b225ad8c834f2aa9863cee951d39f203046282
2023-06-06 17:21:05 +00:00
Daniel Harvey
0c38a693ac chore(ci): Use hlint github action
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9434
GitOrigin-RevId: 2205da4c6384b89d31f830a5119514154019566d
2023-06-06 16:00:22 +00:00
Brandon Simmons
440a8664de server: Upgrade the HGE server to GHC 9.4.5
Upgrade to GHC 9.4.5, and update any tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8954
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 5261126777cb478567ea471c4bf5441bc345ea0d
2023-06-06 13:29:30 +00:00
Karthikeyan Chinnakonda
a0b2f29b93 server: generate streaming subscription field only when there is at least one cursor column accessible
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9399
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
GitOrigin-RevId: bd7f3fe3e95609c1634d531b95981c8ba15fba4e
2023-06-06 12:04:47 +00:00
Daniel Harvey
e7929f9661 chore(hedis): replace missing test/Main.hs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9431
GitOrigin-RevId: 24ddc07a7036ed3032fafebe3b39c698caf08ae0
2023-06-06 09:48:40 +00:00
Anon Ray
05862a4327 server: store collected source introspection to DB
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9237
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
GitOrigin-RevId: 77327742db2f8440fdf770db5ae1c034cbb06e3b
2023-06-06 08:51:51 +00:00
Rob Dominguez
792e7d9847 docs: add note about sticky sessions & add out-of-order subs use case
[DOCS-838]: https://hasurahq.atlassian.net/browse/DOCS-838?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[DOCS-840]: https://hasurahq.atlassian.net/browse/DOCS-840?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9425
GitOrigin-RevId: 2bd13aa325c4bc4a1677591fcf1858bf2963e3ea
2023-06-06 07:14:36 +00:00
Gil Mizrahi
15ce5196d0 throw an error on non-existing source in get_logical_model / get_native_query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9421
GitOrigin-RevId: 2839e587c2966aa4580a631c3eff389c98b275df
2023-06-05 15:17:24 +00:00
Daniel Harvey
0aeb48992e chore(testing): index all queries for Native Query tests by backend type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9416
GitOrigin-RevId: 7b10bd1f8e2cbb98ec86646d9f54b18ad42bf85c
2023-06-05 13:06:03 +00:00
Puru Gupta
328b7b793f server: add support for redis clusters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8867
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 6ab173b02f6b8bf97ccbcdb00110fe147771c751
2023-06-05 12:11:59 +00:00
Daniele Cammareri
58ff864b33 test: fix event trigger e2e test
## Description

Solving the issue raised here https://hasurahq.slack.com/archives/C049N7YU9EU/p1685109887435229

The event trigger test sometimes failed because the trigger created by previous tests was not cleaned up. An additional cleanup has been added to the `before` function that tries to delete the event trigger if exists.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9324
GitOrigin-RevId: 1bdc96312324cbad6d85a91a9ab827c0218290f4
2023-06-05 11:21:51 +00:00
Daniel Harvey
776a893eaa chore(server): non-nullable native query object relationships for SQLServer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9405
GitOrigin-RevId: eda4fb38c9abc4a5d631964b8f80928d545a3694
2023-06-05 09:26:47 +00:00
Varun Dey
84ae7a0652 console: Refactor cloud console onboarding
[GT-639]: https://hasurahq.atlassian.net/browse/GT-639?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9344
GitOrigin-RevId: 9f135937075baf12d1370508fa6717b7bcdbe4ce
2023-06-05 08:48:26 +00:00
Gil Mizrahi
d8a4d254f6 chore(tests): add a flag to trace the graphql commands sent to the server during a test.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9409
GitOrigin-RevId: 46d0c48b519bf32ddb9869a8a7af81aad302532b
2023-06-05 08:22:53 +00:00
Lyndon Maydwell
6487a44546 Adding function permissions to UDFs for Dataconnectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9349
GitOrigin-RevId: 0b71d06a13ad78a55a205a5755260b060525d340
2023-06-05 05:29:53 +00:00
Luca Restagno
eeb879f7f3 UI fix on the Permissions for (GDC)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9402
GitOrigin-RevId: bdee9bb7a67ef604474b04a761ebd59fe5150b06
2023-06-02 15:53:26 +00:00
Daniel Harvey
22ff735370 chore(server): non-nullable native query object relationships for BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9361
GitOrigin-RevId: e2af5f1a9761da7346d5913fcb25305dce378a7b
2023-06-02 15:20:10 +00:00
Daniel Chambers
e2345fb3bb Fixes to HTTP request recording in the Data Connector agent test suite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9394
GitOrigin-RevId: 873dc4e8ec744013f8303d197a91ec499e6a9c66
2023-06-02 14:34:49 +00:00
Sameer Kolhar
f04d2950f2 server: remove "__" prefixed types for schema-registry in the GQL Introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9339
GitOrigin-RevId: d6d098ab8e126d0d64a83e3ddb0d22eb512b2d60
2023-06-02 12:46:59 +00:00
Rob Dominguez
b8f8fea568 docs: update operators
[DOCS-836]: https://hasurahq.atlassian.net/browse/DOCS-836?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9175
GitOrigin-RevId: 6f3804890d862c7efe522352ff29d5b047a2e704
2023-06-02 11:41:27 +00:00
Tom Harding
b124c943a9 chore(server): allow recursive native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9373
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: b998da0e2725f687a00c2c6c993435e44df4f70f
2023-06-02 10:37:55 +00:00
Samir Talwar
dd46aa6715 server: Preserve ordering when possible, and sort when it's not.
When upgrading to GHC v9.4, we noticed a number of failures because the sort order of HashMaps has changed. With this changeset, I am endeavoring to mitigate this now and in the future.

This makes one of two changes in a few areas where we depend on the sort order of elements in a `HashMap`:

  1. the ordering of the request is preserved with `InsOrdHashMap`, or
  2. we sort the data after retrieving it.

Fortunately, we do not do this anywhere where we _must_ preserve order; it's "just" descriptions, error messages, and OpenAPI metadata. The main problem is that tests are likely to fail each time we upgrade GHC (or whatever is providing the hash seed).

[NDAT-705]: https://hasurahq.atlassian.net/browse/NDAT-705?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9390
GitOrigin-RevId: 84503e029b44094edbbc298651744bc2843c15f3
2023-06-02 09:31:26 +00:00
Luca Restagno
f6cb0d7310 Fix update_by_pk and delete_by_pk placeholders
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9375
GitOrigin-RevId: d73bc541f160e6f6f32dfa0f6b19cff730e73099
2023-06-02 09:00:01 +00:00
Luca Restagno
936134d157 Add tests interaction unit for the new relationship UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9354
GitOrigin-RevId: 0748d9db3695fe145b8a7813a7325fa98d1e71d5
2023-06-02 08:23:03 +00:00
Daniel Chambers
d421cdb726 Put the message property first when encoding error JSON
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9379
GitOrigin-RevId: 385035810190786f54a1db86e3a2e4a2c3bd5dee
2023-06-02 05:29:50 +00:00
Daniel Harvey
0034ae8892 chore(server): use new version of sandwich
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9386
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: 008312c7550025cb44d515fa3d01796175b60e29
2023-06-02 02:00:41 +00:00
Julian
921b148dc8 Logical Model Permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9276
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: ee1dddf813fac3f3a29c5444644e589a8e67d3cb
2023-06-01 18:31:37 +00:00
Sean Park-Ross
6102270f11 Docs: Feature Support Matrix for Oracle
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9079
GitOrigin-RevId: 472d09d5e0ff2743f0d071fab1d30f6a4beb3198
2023-06-01 17:31:18 +00:00