Commit Graph

7315 Commits

Author SHA1 Message Date
Nicolas Inchauspe
a7d106ec67 Generic select component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9113
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 8c2896c873053571b17a016015b9834a619cef80
2023-06-23 14:08:16 +00:00
Rob Dominguez
aaa1877452 docs: backport hotfix for moving schema reg
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9630
GitOrigin-RevId: 0995ebe1688a6fe7ea90474118a9fd89cbf9c304
2023-06-23 13:14:22 +00:00
Luca Restagno
9179135148 refactor: remove unnecessary code related to suggested relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9590
GitOrigin-RevId: 493707ac2b0edc567bf651b74d88f4ce19eb9735
2023-06-23 12:48:56 +00:00
hasura-bot
63e3dd2684 Added link to create issue in CONTRIBUTING.md
GITHUB_PR_NUMBER: 9159
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9159

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6618
Co-authored-by: Hridya Agrawal <66767013+hridaya423@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 5dab26369cb3bd716db1df63bd6a338056142028
2023-06-23 11:50:15 +00:00
Puru Gupta
f2fe9cfe3b server: add support for header resolution from env vars
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9509
GitOrigin-RevId: 818f747422c5444fcb55419729ad58d74b890d52
2023-06-23 08:39:28 +00:00
Nicolas Inchauspe
3af0d49dd7 console: fix remove source cascading
[DSF-437]: https://hasurahq.atlassian.net/browse/DSF-437?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9642
GitOrigin-RevId: fc18f90cc328b78124b3254783b44da6cb51022e
2023-06-23 07:43:47 +00:00
hasura-bot
5dc4630b5e docs: add flightcontrol deployment option #9725
GITHUB_PR_NUMBER: 9726
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9726

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9612
Co-authored-by: ModupeD <69601432+ModupeD@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 5fa574afcac728ec11458e9f27562ee6f9385637
2023-06-22 20:55:52 +00:00
hasura-bot
9e46fe2d55 SSO doc updates
GITHUB_PR_NUMBER: 9717
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9717

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9574
Co-authored-by: Steven Wilson <2165238+mendeni@users.noreply.github.com>
GitOrigin-RevId: b4e2f7d0e2fe8988debb614e76ef77587ae3cf9c
2023-06-22 16:49:25 +00:00
Samir Talwar
53a65b01a6 make: Always start all databases when running API tests.
We test remote relationships across databases, and so running e.g. the "Postgres" tests also runs the "Postgres-SQLServer" tests, the "Postgres-Cockroach" tests, etc.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9645
GitOrigin-RevId: bdc4e0f887d618f0c3b44868f552f545f0b228b0
2023-06-22 16:44:02 +00:00
Sean Park-Ross
25db931b85 Docs: Vector DBs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9640
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 4c0d1e45ba4c77524028c9b30510bab632aab461
2023-06-22 15:15:32 +00:00
Daniel Harvey
f5de6629c0 Revert "Docs Update beta and alpha tags"
Reverts hasura/graphql-engine-mono#9632

Stored Procedures for SQLServer should still be `alpha`:

<img width="329" alt="Screenshot 2023-06-22 at 10 31 33" src="https://github.com/hasura/graphql-engine-mono/assets/4729125/000c296e-367e-446c-b2c6-002428c56438">

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9636
GitOrigin-RevId: 54527ae63833f2e6085f394a52c53b55f0757d60
2023-06-22 11:21:30 +00:00
nevermore
cf5de54c98 console: add lz-string as a dependency in package.json
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9634
GitOrigin-RevId: 234286ca140d26e3cd906a2c97861cee5c72f330
2023-06-22 09:09:02 +00:00
David Overton
5b2970b44f Specify table schema via logical model in track_table API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9408
GitOrigin-RevId: 9ba20cd91e4d0066e0f14ce52cba0f55a7c5af31
2023-06-22 07:06:40 +00:00
Brandon Martin
26b38bbe5b Initial commit for hub information
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9631
GitOrigin-RevId: 64c40a30e3483fb0322ce9f2fbb2e9c1e3f1d9ba
2023-06-21 20:24:53 +00:00
Rikin Kachhia
bf99249bbc ci: update latest stable release as v2.28.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9622
GitOrigin-RevId: 2c9f7718b4fa484844c86aa34869ee295c992001
2023-06-21 20:07:53 +00:00
David Meleney
02ef253409 Docs Update beta and alpha tags
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9632
GitOrigin-RevId: 6d31c877c2e80e7741c9c612686dcbecbaa71521
2023-06-21 19:13:01 +00:00
Rob Dominguez
587fd20283 docs: fix logic in feedback
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9624
GitOrigin-RevId: 25a84785d6282b87b4874165177d33f86e632e3f
2023-06-21 15:17:34 +00:00
Samir Talwar
bf0afdfc0c docs: Add CLI instructions for Logical Models and friends.
Resolves [NDAT-732](https://hasurahq.atlassian.net/browse/NDAT-732).

We were missing CLI instructions for Logical Models, Native Queries, and Stored Procedures.

Now we are not.

Removes the "beta" label for Native Queries too.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9627
GitOrigin-RevId: c132c1b4a8de5626da6b403d263a946b648c0259
2023-06-21 14:58:03 +00:00
Sean Park-Ross
8a5dffb585 Docs: Schema Registry changes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9621
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 66cc8b90f48515e0368391af587836469f800364
2023-06-21 10:56:02 +00:00
David Overton
3e83370c96 Fix parsing of scalar types in the DataConnector backend
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9596
GitOrigin-RevId: 0161814a6678b67187147fcfa18d20523e480a9d
2023-06-21 06:50:51 +00:00
Rishichandra Wawhal
54f9eca1a3 docs: add docs page for schema registry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9606
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: d0dedd3dd85fec697c342c864afc381be9a9334f
2023-06-21 06:05:58 +00:00
Vishnu Bharathi
03731621d5 ci: tag release for v2.28.0 and v2.11.8
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9619
GitOrigin-RevId: 37ab8ea1a51c38b9a66372194add235928d89600
2023-06-21 04:53:11 +00:00
Amit
6d881487fa Docs update to include Azure Cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9616
GitOrigin-RevId: ab1c698de4da2150423de7bea9b89e90f1c1d420
2023-06-21 02:49:31 +00:00
Amit
4635b5c7d6 Docs update to include Azure Cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9617
GitOrigin-RevId: eeee551a58edde1d77c67bfb095aa5597b9f22d1
2023-06-21 02:26:11 +00:00
Martin Mark
f6ac976bda RFC: NoSQL Schema Sampling RFC
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9603
GitOrigin-RevId: b7029b9ddf38086cc05002631c844eff91efd70f
2023-06-20 13:25:34 +00:00
Samir Talwar
a394510252 packaging: Use Ubuntu Jammy for the server builder and base images.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9531
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: ac2121710324ee939c13b8e9239e54a088a525c3
2023-06-20 09:35:23 +00:00
Gil Mizrahi
f5f3367f31 include int in the like of pg types mapping and massage input
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9588
GitOrigin-RevId: 79881c0c75423de44a0bde7fba7f1379fbfa9016
2023-06-20 08:40:59 +00:00
Amit
86378d4d05 Azure Regions update
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9550
GitOrigin-RevId: bbc3dc125ce76757fd53a449be3d12ed71347561
2023-06-19 18:27:18 +00:00
Vijay Prasanna
40af05b1ee console (fix): remove license check for Native Queries and Logical Model features on Hasura CE
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9594
GitOrigin-RevId: 7c8a35b66e7d0bbeb3179d1895d1b63bccb0b588
2023-06-19 18:22:39 +00:00
Nicolas Inchauspe
92f244f9cc console: fix operation details modal layout
[DSF-424]: https://hasurahq.atlassian.net/browse/DSF-424?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9495
GitOrigin-RevId: 561bb3060c7b31bafa7f9a5be8e3fe08f7462f16
2023-06-19 15:49:08 +00:00
pranshi06
3124c93673 server: configurable header length limit for warp
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9363
GitOrigin-RevId: 8dd1e6a5f51d86ed20123c7ed7d42906fe5251bb
2023-06-19 12:34:35 +00:00
Vijay Prasanna
530e01d458 console (refactor): common hook to create and manage table relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9264
GitOrigin-RevId: 0cdbaf4eefe0932bc72c852da3abf88be78de47c
2023-06-19 11:52:11 +00:00
Daniel Harvey
51aca1639a chore(server): stop duplicate relationships in native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9577
GitOrigin-RevId: e3698f419bc3c5e801863e66c5d2f66bd3d0f7e9
2023-06-19 09:58:02 +00:00
Varun Choudhary
c55aa10515 console: fix ET e2e cypress test
This PR fixes the e2e tests for ET.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9584
GitOrigin-RevId: 39189f6a8d0819f71d09e8dddfedb8656947708d
2023-06-19 08:39:16 +00:00
Daniel Chambers
27b13fb679 Add initial basic group_by IR and GraphQL parser support
[GDC-1254]: https://hasurahq.atlassian.net/browse/GDC-1254?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9571
GitOrigin-RevId: daa68115fe577a56842a08c13728c821425a0aef
2023-06-19 05:06:21 +00:00
Julian
e8c67b1bfc Track nested logical models and Logical models details route
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9497
GitOrigin-RevId: bd5b38b0f8ad3f1f317418631af9f85dd14b9983
2023-06-16 19:00:17 +00:00
Luca Restagno
b309fc9211 Sync redux metadata with react-query and vice versa
[DSF-429]: https://hasurahq.atlassian.net/browse/DSF-429?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9565
GitOrigin-RevId: 6d53d39ebd445a17186233aa056ebe4d957c386b
2023-06-16 17:00:06 +00:00
Rob Dominguez
d711392fb1 docs: add prometheus grafana dashboard
[DOCS-1025]: https://hasurahq.atlassian.net/browse/DOCS-1025?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9377
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: d60a53c5a0937f1ea2eb087a84df59e4121e61c8
2023-06-16 12:30:52 +00:00
Gil Mizrahi
ee255fec61 docs: fix the bulk_atomic examples for native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9573
GitOrigin-RevId: 7dcf3c9ccff5ca98fa76994f897791708b5c16c4
2023-06-16 12:23:52 +00:00
Abhijeet Khangarot
4ca19c21ac frontend: fix neon button infinite load on error
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9551
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: d9fb4842fbe4fc549ed1bb8fd5827e3b19071e99
2023-06-16 12:19:06 +00:00
Daniel Harvey
98fdeda54e fix(server): skip insert when no values provided for SQLServer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9564
GitOrigin-RevId: 7d95ee428b8da7e246d9f1040f04d8abe359b667
2023-06-16 08:48:48 +00:00
Rob Dominguez
720a5a1aaf docs: add note to action relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9567
GitOrigin-RevId: bff5cac821b0979ff81bec5291d572766c89cc15
2023-06-16 08:05:52 +00:00
Rob Dominguez
11701bbd71 docs: remove self-hosted ee from regression tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9568
GitOrigin-RevId: 62a0adb7cc65ec06237a36a48d1b92e2d09d1697
2023-06-16 08:00:15 +00:00
Sameer Kolhar
ea6a83dfcb docs: update docs with new telemetry payload for EE edition after #9439
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9570
GitOrigin-RevId: c9c17962f57fbf6b30142964333596ae9dd16fff
2023-06-16 07:56:22 +00:00
Mihir A Khandekar
2fe08b6771 console: improved db latency check error handling
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9563
GitOrigin-RevId: 7e7ea76cb92bd9cd0d6544467dfa01576c63241e
2023-06-16 07:37:45 +00:00
hasura-bot
a5e51ac39a Update reference.mdx - typo in --server-port flag
GITHUB_PR_NUMBER: 9714
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9714

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9569
Co-authored-by: Dmitry Glavchev <3230176+garcia556@users.noreply.github.com>
GitOrigin-RevId: f6eaab364036d812194347f916ab3a17d7d28366
2023-06-15 22:03:34 +00:00
Gil Mizrahi
d1c1a992f5 include the response in the test-harness missing content-type assertion
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9562
GitOrigin-RevId: 2c30c85c2a7d97d2ae604f8f133f1beefbc2cacc
2023-06-15 13:42:04 +00:00
Rob Dominguez
3c277bdbc4 docs: add oss version admonition for nq and lm
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9548
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 329198406f12a4d0e9a8ec43e520336479486100
2023-06-15 11:57:40 +00:00
Philip Lykke Carlsen
9c2c5f6d91 refac: Handle feature flags per product
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9527
GitOrigin-RevId: 8babe4f4f28f76278d6242148b3c657112ca7745
2023-06-15 11:50:33 +00:00
Daniele Cammareri
6f5cf01f58 chore: add useCreateRestEndpoints hook
## Description

This PR adds a hook to create REST endpoints for a particular table. It uses a different approach than the one used in the "Try it" feature: it uses the introspection schema query results to identify which GraphQL operations correspond to the particular rest operation we want to create. The matching is performed by looking at the comment in the graphql schema. This lets us to quickly identify the correct GraphQL operation even in the presence of schema customizations, but, on the other end, it could not work if the user disabled or changed the default comment in the schema. We evaluated that, since this is a "quick start" feature, the pros outcomes the cons.

## How to test it

- Run Storybook
- Go to the `useCreateQueryCollection ` story
- Click "Create Rest endpoint"
- look at the network tab and the changes in the metadata displayed

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9464
GitOrigin-RevId: fc0d5f26d656a5e7f2c83ecda10703b851a88626
2023-06-15 11:01:14 +00:00