Commit Graph

6300 Commits

Author SHA1 Message Date
Nicolas Inchauspe
c8acf12d4f console: apply new sidebar design
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7635
GitOrigin-RevId: 5f4b24d30d39a2cf2c8eb4a0d0ccc60161389303
2023-02-15 12:38:16 +00:00
Luca Restagno
2b4acb11e7 console: Suggested relationship foreign key constraint on
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7880
GitOrigin-RevId: 24d2af47d308399ce489cda5bcf888b9d8a80fc5
2023-02-15 12:07:32 +00:00
Luca Restagno
01db431943 console: mutation support for add new row
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7915
GitOrigin-RevId: 2222e68d84866c5d27811dfaf49f165eec336c71
2023-02-15 11:36:26 +00:00
Mihir A Khandekar
b8355dba6a cloud console: update reducer state shape for entitlements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7991
GitOrigin-RevId: 4d9e492e7dbccffd374fe536cf74daedcdad4524
2023-02-15 11:05:36 +00:00
Varun Choudhary
ea76e01b0f console: support suffix for tls allow list
[GS-392]: https://hasurahq.atlassian.net/browse/GS-392?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7745
Co-authored-by: Krushan Bauva <31391329+krushanbauva@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 72c9a2eef1cfaaefa30a7d53764b1c3688b38ae7
2023-02-15 10:26:41 +00:00
Gil Mizrahi
7a3c1489ad set omit_request_id to true by default
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7978
GitOrigin-RevId: 7e359979b304ff63b8e582e460c7668f8207fe75
2023-02-15 09:53:19 +00:00
awjchen
2df8589097 server: fix race condition in metadata update
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7984
GitOrigin-RevId: edd4a581a5b785e7a09b2d4c8b2a5c6ccc7f8b63
2023-02-15 06:12:59 +00:00
Vijay Prasanna
9900027a8e feature (console): remove the GDC experimental feature flag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7942
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: 643c02d36f71b3e25060ddbb723bf57f31dd4318
2023-02-15 04:52:54 +00:00
Sean Park-Ross
2857a05b02 Docs: MySQL Add Info about not supporting PlanetScale
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7982
GitOrigin-RevId: c23f16ce70a7a8b294da74d278037b9370d3cd48
2023-02-14 23:28:26 +00:00
Mihir A Khandekar
829f5831ad update logic for console nav bar
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7888
GitOrigin-RevId: c0b8c7ea371d516fef0ed41dd4f11e6979fb9ae5
2023-02-14 15:10:55 +00:00
Gil Mizrahi
20e72ddb29 reject untrack naqi when naqi does not exist
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7975
GitOrigin-RevId: e56385e7396c3980d78b53acc6e9b3656fd9909d
2023-02-14 14:40:15 +00:00
rishi-div
e48dcba3d6 Rishi/docs/mysql alpha docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7843
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 32299f512587a154d6e40307116d56bb08ff4abb
2023-02-14 14:03:58 +00:00
Mohd Bilal
3be7c9b1e6 cli: increase max wait time for docker images to 5 minutes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7971
GitOrigin-RevId: 5ee5c93d5d0d9befc0e1f9741a0ffe829e8e64c3
2023-02-14 13:30:29 +00:00
Philip Lykke Carlsen
fed36dadc7 Fix: Unable to use environment variable for CockroachDB connection string in Cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7883
GitOrigin-RevId: b1f515c4de3b5f345991a0fad1152f42169f9d0d
2023-02-14 12:15:58 +00:00
Lyndon Maydwell
630bf277c1 SQLite Mutations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7573
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: 7807368faaa4bac5c0726c2dab041f8180a3fc31
2023-02-14 11:20:36 +00:00
Mihir A Khandekar
e443e25efe control-plane: update generated graphqltypes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7966
GitOrigin-RevId: e4b99e9f89bfaa5b02699416fd4d922d79d16656
2023-02-14 10:10:16 +00:00
Vijay Prasanna
31d2542cd2 feature (console): add BigQuery connect DB widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7884
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 86a6b490cd4b8ed2a6b1f8d9f85f58f91debe33b
2023-02-14 08:19:56 +00:00
Vijay Prasanna
ef532b5534 feature (console): add mssql connect DB widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7881
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 3fab1af9f71ef7a7edc45bfae90b6070eb9d9b93
2023-02-14 07:48:53 +00:00
Samir Talwar
2df5b80063 server/tests-py: Run in parallel on all PostgreSQL versions in CI.
If this works, we can start knocking out running in the old, sequential mode.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7909
GitOrigin-RevId: 4cda5b52b3c385dd3286ba1f58d5cd7c62b87314
2023-02-13 23:39:28 +00:00
Sean Park-Ross
0ede49d32e Docs: Add Docker instructions to connect db page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7786
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: ef831c0e94c69180b31f8e1430cedacccc1c1de1
2023-02-13 16:17:13 +00:00
Julian@Hasura
30b8adf6ae Clean console logs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7952
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: f30b861082344347ddca1f9f66d2952eb83ae23d
2023-02-13 14:33:22 +00:00
Erik Magnusson
b20a712443 feature(console): Rebuild Permissions Picker
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7662
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: c4d5a1d8d24124d435931c48389d6086410ed8ba
2023-02-13 12:12:55 +00:00
Aravind K P
0166f1892b cli: show expanded error information in debug logs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7431
GitOrigin-RevId: e261261b8da409fc68776e62a9d62e0b8b286054
2023-02-13 09:45:35 +00:00
Daniele Cammareri
eba7d44d02 console: show cross icon when status is null in invocation logs tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7940
GitOrigin-RevId: 5fde0b42a85f061c5d443445a914f4ce6b42b823
2023-02-13 09:13:56 +00:00
Toan Nguyen
22d515dcb6 cli: introduce BigQuery source
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5766
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: 1bd4718dbf7b0368e99e5d7c6dd08f362dbf5c2b
2023-02-13 08:31:42 +00:00
Auke Booij
334660d906 server: refactor FromJSON FromIntrospection instances
- Inline a few instances to avoid code duplication
- Use `(<$>)` to avoid `let`
- Improve error reporting when types of invalid kind are specified in `possibleTypes` or `interfaces`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7540
GitOrigin-RevId: 954fb710f94a275daff938b9a6e58765c4286d0c
2023-02-13 07:50:12 +00:00
Karthikeyan Chinnakonda
958a5e1a33 Include cron trigger's name in the error message
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7914
GitOrigin-RevId: 7bce2788ac154e7673402022414ab1fff653340d
2023-02-13 07:11:57 +00:00
Daniel Chambers
2ced1f2676 More tests for insert mutations for Data Connector agents
[GDC-719]: https://hasurahq.atlassian.net/browse/GDC-719?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7901
GitOrigin-RevId: b7f28c4b9604c0ca78c528deb2923e8519fae56a
2023-02-13 01:03:18 +00:00
Vijay Prasanna
58f4988b01 feature (console): add postgres connect DB widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7828
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 59d311f704d25d2cb4b02605e6351b45d5725fdc
2023-02-10 03:43:11 +00:00
Lyndon Maydwell
5a3f10363d Fixing omit_tracked argument to suggest_relationships API to be more granular
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7900
GitOrigin-RevId: 2116875b866ffc79ce5e3604751c62b8ac9c37e3
2023-02-10 01:53:30 +00:00
Matthew Goodwin
7c804c8a82 console: POC db connect select database draft design [GCU-107]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7897
GitOrigin-RevId: 4da175532c5422bd8985b9134f5aba7b190d05e0
2023-02-09 19:53:30 +00:00
Rikin Kachhia
ebb7ade403 docs: add data hub link to one-click-deploy docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7922
GitOrigin-RevId: 4a4c9ef1cba43e6482c6ea9652af31860e5a619c
2023-02-09 18:38:26 +00:00
Matthew Goodwin
fc9047ad02 console: more compact storybook sidebar UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7921
GitOrigin-RevId: 98763befe3e6ab385b1f9eec50e87531455f52ee
2023-02-09 17:05:20 +00:00
hasura-bot
f35e043cb6 [console] sort types alphabetically in remote schema type dropdown (close #9412)
GITHUB_PR_NUMBER: 9413
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9413

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7799
Co-authored-by: Tom Jenkinson <3259993+tjenkinson@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: 7392b4c0c5eb237a143ce7b398d0a85bef4602fc
2023-02-09 16:34:03 +00:00
Stefano Magni
5cba05b441 console: Rename the KnowMoreLink into LeanMoreLink and update the texts accordingly
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7889
GitOrigin-RevId: 1a9b38c57d2fd105f2b3063232399355935a9cce
2023-02-09 15:17:28 +00:00
Antoine Leblanc
dec8579db8 Allow backend execution to happen on the base app monad.
### Description

Each Backend executes queries against the database in a slightly different stack: Postgres uses its own `TXeT`, MSSQL uses a variant of it, BigQuery is simply in `ExceptT QErr IO`... To accommodate those variations, we had originally introduced an `ExecutionMonad b` type family in `BackendExecute`, allowing each backend to describe its own stack. It was then up to that backend's `BackendTransport` instance to implement running said stack, and converting the result back into our main app monad.

However, this was not without complications: `TraceT` is one of them: as it usually needs to be on the top of the stack, converting from one stack to the other implies the use `interpTraceT`, which is quite monstrous. Furthermore, as part of the Entitlement Services work, we're trying to move to a "Services" architecture in which the entire engine runs in one base monad, that delegates features and dependencies to monad constraints; and as a result we'd like to minimize the number of different monad stacks we have to maintain and translate from and to in the codebase.

To improve things, this PR changes `ExecutionMonad b` from an _absolute_ stack to a _relative_ one: i.e.: what needs to be stacked on top of our base monad for the execution. In `Transport`, we then only need to pop the top of the stack, and voila. This greatly simplifies the implementation of the backends, as there's no longer any need to do any stack transformation: MySQL's implementation becomes a `runIdentityT`! This also removes most mentions of `TraceT` from the execution code since it's no longer required: we can rely on the base monad's existing `MonadTrace` constraint.

To continue encapsulating monadic actions in `DBStepInfo` and avoid threading a bunch of `forall` all over the place, this PR introduces a small local helper: `OnBaseMonad`. One only downside of all this is that this requires adding `MonadBaseControl IO m` constraint all over the place: previously, we would run directly on `IO` and lift, and would therefore not need to bring that constraint all the way.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7789
GitOrigin-RevId: e9b2e431c5c47fa9851abf87545c0415ff6d1a12
2023-02-09 14:40:04 +00:00
Marion Schleifer
46ecb1e9c5 docs: add note about nested updates
## Description

This PR adds the information about Hasura not supporting nested updates in a note to the update page.

[Preview page](https://pr-7891---docusaurus-5kcgrtdh3a-wl.a.run.app/docs/latest/mutations/postgres/update/#replace-all-nested-array-objects-of-an-object)

From [this docs feedback](https://hasurahq.slack.com/archives/C042WA62YKF/p1675208903354599).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7891
GitOrigin-RevId: 3a7ac5cee35d68ca612faf82318e7ab91b5ac582
2023-02-09 13:23:13 +00:00
ananya-2410
c681771192 ci: tag release v2.19.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7911
GitOrigin-RevId: 154a508058b5f3dc8c4901fb6a22ab00009adc19
2023-02-09 12:24:28 +00:00
Stefano Magni
2f6b370ced console: Add stories and type utilities for the KnowMoreLink
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7578
GitOrigin-RevId: 7b297877cf57729a249a89563afc957ec15a86e0
2023-02-09 12:17:56 +00:00
Auke Booij
8e0e778cd5 server/tests: ensure that all responses have a Content-Type header
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7850
GitOrigin-RevId: 5e3ec3907177bd35974d5dd9a990dca399904139
2023-02-09 10:28:19 +00:00
Nicolas Beaussart
379d10690e console: fix monitoring operation filter not working
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7902
GitOrigin-RevId: 39a55a16c42f9fc46a35e5907661f44c5f0f3ef4
2023-02-09 08:09:41 +00:00
Varun Choudhary
466e60ca8c console: allow creating remote joins from and to the same remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7879
GitOrigin-RevId: bce0c66a17d5214800ae1b08d4ad46a9501e9295
2023-02-09 07:23:47 +00:00
kodiakhq[bot]
b01d3a45de server: dev build modes
Add some configurations for modern profiling modes, and integration into dev.sh

These require cabal 3.8 due to the use of `import`

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7671
GitOrigin-RevId: f793f64105cfd99fb51b247fa8bc050f6d4bd23e
2023-02-08 22:43:00 +00:00
Marion Schleifer
7a0b2b85bb docs: add page on recovering project
## Description

This PR adds a page on recovering a project. [Preview link](https://pr-7885---docusaurus-5kcgrtdh3a-wl.a.run.app/docs/latest/hasura-cloud/projects/recover/).

[Jira ticket](https://hasurahq.atlassian.net/jira/software/projects/DOCS/boards/19?selectedIssue=DOCS-555).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7885
GitOrigin-RevId: c39283b646a295971f19a8a1144fcb410c8cdbf2
2023-02-08 19:02:22 +00:00
Luca Restagno
41fac9960e fix: export data visibility
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7895
GitOrigin-RevId: d0767de8b8525e68c5d10c746e37940006a69a29
2023-02-08 17:53:42 +00:00
Marion Schleifer
69c7d5d046 docs: update cloud db guides in getting started
## Description

This PR updates the list of Cloud DB connection guides in the getting started guide.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7886
GitOrigin-RevId: b5c4552b5438f26973ee198dc9e222497ee38703
2023-02-08 16:43:23 +00:00
Philip Lykke Carlsen
1ded9b0837 server/docs: Add documentation of bigquery types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7860
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 3543245097d943be46acb208cc9722192246a17b
2023-02-08 16:38:32 +00:00
Nicolas Inchauspe
8b24e40f67 console: fix wrong color for active header entry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7890
GitOrigin-RevId: fa0df4ffadd46d2d857e2ab00ca79d7b5513590e
2023-02-08 16:32:53 +00:00
Tom Harding
89bbb24c54 Monomorphise NativeQueryName
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7865
GitOrigin-RevId: 6c26edeb40f3b523053ffc45220a3c1046585de3
2023-02-08 15:48:12 +00:00
Samir Talwar
23f78a05b1 server/tests-py: Enable TLS tests in parallel mode on CI.
Part of [NDAT-257](https://hasurahq.atlassian.net/browse/NDAT-257).

* Run the TLS tests on CI.
* Run non-TLS tests even when a TLS certificate is provided; just ignore it.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7806
GitOrigin-RevId: d705e2e5131a674070a98a893323a7b98a92f688
2023-02-08 14:42:27 +00:00