Commit Graph

7047 Commits

Author SHA1 Message Date
Matthew Goodwin
20c61909a3 console: add breadcrumbs component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8895
GitOrigin-RevId: e111124adfa0df66fb255056dff05880d62e2d2f
2023-04-27 15:16:42 +00:00
Daniel Harvey
a0b1d69392 chore(server): make native queries pro-only
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8926
GitOrigin-RevId: 68d2091c97ed80e86f851d656749eab865f73ec4
2023-04-27 14:31:53 +00:00
Daniel Harvey
800b6aa9be chore(server): copy pasta Stored Procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8969
GitOrigin-RevId: 2a33ab836fc26619acbe160278c87d036253388d
2023-04-27 14:04:28 +00:00
Varun Choudhary
ccff2ce87d console: : e2e snapshot testing for cron triggers
This PR has e2e snapshot testing for the cron triggers.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8461
GitOrigin-RevId: d247f331538dd960a15c505515175d18f991c9b1
2023-04-27 13:36:26 +00:00
Daniel Harvey
c5a1dacc35 chore(server): skeleton Postgres GDC agent
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8938
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: c120910b256d07ef2a4a88a8f79a8e1e412305c3
2023-04-27 13:05:03 +00:00
Abhijeet Khangarot
3d6eb08d14 fix: turn off window refocus queries on surveys
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8911
GitOrigin-RevId: 98eeecc714b3ce3b0e32e4ef4b6e1180232b166f
2023-04-27 11:47:01 +00:00
Matthew Goodwin
5a58823693 console: Track/Untrack functions (postgres only) from the new tracking UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8857
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: cdc2d12edb760d4528ba0f70ec8ba0cbc9a98bbb
2023-04-27 08:24:16 +00:00
Tom Harding
b6799f0882 Import InsOrdHashMap, not OMap, OM, Map, HM, ...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8946
GitOrigin-RevId: 434e7c335bc69119020dd35761c7d4539bc51ff8
2023-04-27 07:43:22 +00:00
Rishichandra Wawhal
d3a96dcf80 frontend: remove clientID check for cloud users
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8960
GitOrigin-RevId: eafbbcf6f2a3ee09df7298376a3b06489080e1e6
2023-04-27 06:22:59 +00:00
Rob Dominguez
2f337789ed docs: fix versionedlink on homepage
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8957
GitOrigin-RevId: 2408b129a3ac3ea0539ea7dd3c93e569e2c67302
2023-04-26 22:44:02 +00:00
Tom Harding
4885a3fd9a Import J, not Aeson, A, JSON, Yaml...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8948
GitOrigin-RevId: d70c4a50b94ffe7d42a1fb1017051d351f236acc
2023-04-26 17:30:24 +00:00
Tom Harding
fb92b78b5f Document concurrent_bulk
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8951
GitOrigin-RevId: 4a323bc2558a58265f47985a808f50761cc87c69
2023-04-26 16:55:29 +00:00
Tom Harding
566b8b018c Add documentation for bulk_keep_going
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8950
GitOrigin-RevId: cd730f2ac97daa4cdca46427cd452f981e52497e
2023-04-26 16:26:00 +00:00
kodiakhq[bot]
bb8f6a76cc PLAT-438: improve traces from OpenTelemetry
[PLAT-438](https://hasurahq.atlassian.net/browse/PLAT-438)

After this change the top level trace is is annotated with `request_id` and `parameterized_query_hash`. It looks like this,  in jeager:

![image](https://user-images.githubusercontent.com/210815/233206107-73682a85-3306-4d1d-8a6c-148890dc1a38.png)

 bulk queries should output a separate `parameterized_query_hash` for each query span

...after the last two commits, things look like this (remove pointless spans, more attributes):

![image](https://user-images.githubusercontent.com/210815/233476532-47521f35-2cdf-4f7d-af13-39c7ce15c9ec.png)

[PLAT-438]: https://hasurahq.atlassian.net/browse/PLAT-438?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8824
GitOrigin-RevId: 0fd105c879161587d41b729b9bac968e92efae95
2023-04-26 16:21:29 +00:00
Tom Harding
7e334e08a4 Import HashMap, not HM, Map, M...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8947
GitOrigin-RevId: 18e52c928e1df535579e2077b4af6c2ce92bdcef
2023-04-26 15:43:44 +00:00
Rob Dominguez
3bc9c23bc6 docs: add ee trials to gdc-backed databases
[DOCS-877]: https://hasurahq.atlassian.net/browse/DOCS-877?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8923
GitOrigin-RevId: 1e09d7f2fa030f1a8f99f78086163b5a2bed0caa
2023-04-26 15:10:30 +00:00
Rob Dominguez
776fa51ab5 docs: update overview pages' titles
[DOCS-913]: https://hasurahq.atlassian.net/browse/DOCS-913?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8929
GitOrigin-RevId: 64a733ec808d0e8723a5c1cbe5f754829b7c1388
2023-04-26 15:05:00 +00:00
Sean Park-Ross
923c8eeb80 Docs: Amend Cloud Version Upgrades Note
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8886
GitOrigin-RevId: 7cf4544598a32afe25d6e40ff2e147e3bc5388b0
2023-04-26 14:56:21 +00:00
Rishichandra Wawhal
a3b5cfc8d4 docs: improve documentation for Hasura Enterprise
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8902
GitOrigin-RevId: 708d90f07a866891411d9e99799367880b4e9b1b
2023-04-26 12:04:43 +00:00
Daniel Harvey
107db24caf chore(tests): Move Native Queries and Logical Models tests to api-tests-pro
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8936
GitOrigin-RevId: 9c170f2ce2de68818a9efe52266b47e87a7c4726
2023-04-26 11:05:32 +00:00
Samir Talwar
3ce3a6b413 Nix: Upgrade nixpkgs so we can use Cabal v3.10.1.
This version includes an important fix for properly detecting changes in extra-source-files.

We also pin the same version in GitHub workflows.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8930
GitOrigin-RevId: 884d9b807041a9b6c622ab221cbdfb446d3ffdba
2023-04-26 09:22:15 +00:00
ananya-2410
e33dd144ec ci: tag release v2.24.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8935
GitOrigin-RevId: c0700fbbaccbba6357ef0284fc3b28ff6cc98209
2023-04-26 08:03:10 +00:00
Daniel Chambers
cb80942e4f Disable use of local relationships in metadata if Data Connector agents don't declare relationships capability
[GDC-489]: https://hasurahq.atlassian.net/browse/GDC-489?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8862
GitOrigin-RevId: cfff2d9c688185e00f4a830dbdbe173dba4ce7f0
2023-04-26 06:49:36 +00:00
Brandon Martin
56ec360cab Consistent mysql gdc connector name
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8928
GitOrigin-RevId: 6da82a2d953d6eb51cd6a2fa9417931bc32da752
2023-04-25 23:57:48 +00:00
Matthew Goodwin
7941d827f3 console: refactor logical models code ahead of future PR merges
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8927
GitOrigin-RevId: eb933ba3c69c814902ad294291d7dfd3fd2b52de
2023-04-25 22:50:04 +00:00
Julian
2c7b118d77 Remove Mongo from list of agents
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8919
GitOrigin-RevId: afc27311d040b3e479d04957614f54cfe6298df7
2023-04-25 22:16:51 +00:00
Samir Talwar
6afcf17df8 frontend: Use origin/main as the base when running Nx commands.
We may not want to assume that the `main` branch on a developer's machine (a) exists and (b) is up-to-date.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8915
GitOrigin-RevId: 441d1c4cb7d864601a5f7a81dbfd04ec5415161e
2023-04-25 21:43:28 +00:00
Gil Mizrahi
858c0634f3 add QueryWithDDL back
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8906
GitOrigin-RevId: 5304e2a3ffa71ed13c3f706cdf64bcef84d7c0c1
2023-04-25 21:06:58 +00:00
Karthikeyan Chinnakonda
c19bc58f1e Server: Websocket queue time and pre subscriptions start errors metrics [Subscription metrics - 3]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8870
GitOrigin-RevId: 35cb1f1c7ffe7c8dcdd65fa14c423fcd1c2de234
2023-04-25 20:29:30 +00:00
Rishi Divate
0361158ab7 docs: update MySQL, MariaDB and Oracle docs to reflect Beta
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8861
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: b12bbebd1673df8ba2ce5ccb2df6117c43991a2d
2023-04-25 19:46:00 +00:00
Erik Magnusson
94e68dbea7 fixed mix-up bug with compare and regular operators with tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8792
GitOrigin-RevId: 3b4c794d63173b8ea87ad48532464f9d69c205c4
2023-04-25 18:51:57 +00:00
Rob Dominguez
3f34e59e34 docs: swap ee links on overview
[DOCS-897]: https://hasurahq.atlassian.net/browse/DOCS-897?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8891
GitOrigin-RevId: 811b471bd9cdf4bac1775d5653d2e55c8f7f05a4
2023-04-25 18:06:20 +00:00
Matthew Goodwin
f83028d2b2 console: fix some minor issues with Alert functions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8859
GitOrigin-RevId: 3ed709bf46c3036232d723b4506f2940a465c9e1
2023-04-25 18:01:31 +00:00
Tom Harding
74f282ad16 chore(server): remove Eventing instances from RQL.Types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8909
GitOrigin-RevId: 302a9583c3364d507dfe106111ffcabac0b1dbf5
2023-04-25 17:18:30 +00:00
Daniel Harvey
c2424abd2e chore(server): add -fexpose-all-unfoldings in hasura-base and hasura-extras
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8890
GitOrigin-RevId: 3a028ea9e6f2e7d6829ceb411c460da1e971178b
2023-04-25 16:35:58 +00:00
Tom Harding
2a9575f922 Split Hasura.Session, remove RQL.Types dependency
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8921
GitOrigin-RevId: b3586942838be4d7a7d48b6b50c7e2643cd8fa06
2023-04-25 15:57:08 +00:00
Erik Magnusson
1c5e8837f9 console: fixed cloning bugs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8764
GitOrigin-RevId: aa6f5726bd0194135accc19913d67bfee6813d81
2023-04-25 15:21:04 +00:00
Brandon Martin
5b27561caa Update docker compose files, add graphql-data-connector
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8804
GitOrigin-RevId: 37d4ac91691857cd426bab550e2091b2b0311833
2023-04-25 14:42:46 +00:00
Samir Talwar
be67b0db59 server: Make HLint pass, by hook or by crook.
This fixes the simple HLint warnings, and adds a few suppressions to avoid noise.

The suppressions don't really solve the problems, but I think the warnings here are quite benign and I'm uncomfortable with how likely I would be to introduce a bug during refactoring.

In the case of _pg-client_ and _resource-pool_, we can't use the recommended functions anyway, and there doesn't seem to be a way to tell HLint to ignore entire packages.

I have updated the `make` targets to only fail if errors or warnings are found, not suggestions. This brings it in line with the CI job.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8910
GitOrigin-RevId: 596277b4ae5833876fc3f43875208c1279518a59
2023-04-25 14:03:02 +00:00
Daniel Harvey
7e20fd9088 chore(tests): run pro api-tests for all native databases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8892
GitOrigin-RevId: 6bf2629e676471ff94a34746beacb08cad14f4d0
2023-04-25 13:26:20 +00:00
Samir Talwar
e24bcf2a39 server/tests-py: Never allocate the same port twice.
We seem to be getting flakes where we try and use the same port for two different servers. This is because in certain cases we cannot simply allocate the port dynamically, but have to decide it in advance, leading to a race condition.

We resolve this by keeping track of the ports we allocate when using this method, making sure we never allocate them twice. We also make sure we allocate from a different pool of ports to the usual dynamic port pool (typically above port 32768, and often above port 49152).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8903
GitOrigin-RevId: 375a23867591a4566493dddbc550c58cf88ea392
2023-04-25 12:51:01 +00:00
Daniel Harvey
15ce4818b2 chore(server): fix Logical Model permissions for nested fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8889
GitOrigin-RevId: c86f5328170aaa40cc5bf469f5cbb98e01ac521d
2023-04-25 11:59:48 +00:00
Krushan Bauva
2a68a4ac18 server: API support for fetching events
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7587
GitOrigin-RevId: da9e77abe9e9eb0e414aaddccd021433cd40e604
2023-04-25 11:24:09 +00:00
Brandon Simmons
7066b52777 dev.sh: support graphql-engine-pro
So you can do:

```
$ HASURA_GRAPHQL_EE_LICENSE_KEY=... scripts/dev.sh graphql-engine-pro
```

along with the `--prof-*` modes etc.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8894
GitOrigin-RevId: 2257749b2936cbd3230beb23e774ac92989e2fbc
2023-04-25 10:54:30 +00:00
Vijay Prasanna
7b34899c7d console: use release_name property on the UI to display the release tag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8872
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 8e6294dd8e71c2301ec921ec81e71b25539eaae9
2023-04-25 09:43:18 +00:00
Tom Harding
6a53470728 Break Metadata.DTO.Utils into Autodocodec.Extended and RQL.Types.BackendTag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8874
GitOrigin-RevId: 77a8f61e1f5a5bb84908b5afd743a575e723d87f
2023-04-25 09:01:12 +00:00
Tom Harding
1a23e47818 Separate Hasura.EncJSON into its own package
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8875
GitOrigin-RevId: 9622bb67b6c357837db3e3a9f26e8e471ec7382c
2023-04-25 08:25:06 +00:00
Rishichandra Wawhal
1997589927 install-manifests: comment empty license key from enterprise docker-compose
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8900
GitOrigin-RevId: 487ed10dcaf416776e4d5049d4e12149bea9f76d
2023-04-25 07:55:13 +00:00
Varun Dey
09127215ca console: Show use case popup post onboarding
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8832
GitOrigin-RevId: c8e12e8c99e1b2b008cba7746eff94dd8797946e
2023-04-25 05:16:03 +00:00
Matthew Goodwin
aab5a2082b console: storybook components for list native query and list logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8858
GitOrigin-RevId: 9d659f1eb5af52d8776f318f7c843680102c8ede
2023-04-24 22:20:42 +00:00