Commit Graph

7225 Commits

Author SHA1 Message Date
Auke Booij
3d77697664 server: Make StoredIntrospection hold EncJSON rather than structured data
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9157
GitOrigin-RevId: 788bd1012642164ec034e7c7c1059063671d6d75
2023-05-16 12:41:41 +00:00
Varun Choudhary
6436dbafd2 console: show detailed error message while importing inconsistent metadata
This PR fixes an issue with an error message while importing the inconsistent metadata.
The console shows the generic error message, not the detailed error.
More info - [slack thread ](https://hasurahq.slack.com/archives/C02G2M3C1T3/p1684223626357299)

## Related Issues 👾
https://hasurahq.atlassian.net/browse/GS-557

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9163
GitOrigin-RevId: 021f23aeac61ac5886549ee24e1a021946690cae
2023-05-16 11:56:09 +00:00
Varun Dey
1d2f1956cf console: Get delete project grants from neon while exchanging auth tokens
[GT-595]: https://hasurahq.atlassian.net/browse/GT-595?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9164
GitOrigin-RevId: cb01e1586b3591b046c80b29143aa3f114accf68
2023-05-16 11:06:12 +00:00
Philip Lykke Carlsen
e73f997284 feat(test-harness): Maintain pools of hge processes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9158
GitOrigin-RevId: 243e2d771cd8c31852b8b1959b006f27440f079d
2023-05-16 10:05:12 +00:00
Daniel Harvey
db8f3b4a28 chore(server): Native Query array -> array relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9152
GitOrigin-RevId: f6aceb4a86a782d72d836afd65fb6ad73d19e7d7
2023-05-16 08:37:05 +00:00
Anon Ray
af68742666 docs: add caching parameters to EE docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9077
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: ca0456e6a2592e8b4269ecec046f0c1a4364c2cd
2023-05-16 08:09:01 +00:00
Puru Gupta
d55c664d83 server/pro: add prometheus metrics for caching
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9140
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 945a6e650f8b8f1b04647d6f5a632ce767298229
2023-05-16 07:38:36 +00:00
Daniel Chambers
c664e1fbba Add track_tables metadata API
[GDC-1198]: https://hasurahq.atlassian.net/browse/GDC-1198?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9120
GitOrigin-RevId: bb86acaf8b06529a34113a80c3fe2409c3d69a63
2023-05-16 04:05:02 +00:00
Rob Dominguez
928a0c99bd docs: add relationships note to bq supported features
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9155
GitOrigin-RevId: 79df6405c5a29070b5e259b053d0452a65b022b8
2023-05-15 18:31:27 +00:00
Philip Lykke Carlsen
53841c98c9 refactor(test-harness): Make admin secret injectable
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9147
GitOrigin-RevId: e12138ad59fb690261e5b8e474d959623bce0826
2023-05-15 18:27:52 +00:00
Julian
29a10b1ae9 Create, list, and remove logical models and native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9086
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 9405e716ee5e1f64a6d64bdd86967a97e5922151
2023-05-15 17:49:41 +00:00
Julian
ef9e5f55c0 Send database connect telemetry event DSF-345
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9010
GitOrigin-RevId: c0c0d32abd675c97d81019cb2860c09ae26df9a9
2023-05-15 17:12:05 +00:00
pranshi06
0e6811d9df server: add HTTP response status in the Kriti context for Actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9125
GitOrigin-RevId: d0d35d1f9fa5ec04b42132007e2905087349fbd6
2023-05-15 16:35:22 +00:00
Anon Ray
c963b4b46f server: methods for loading and storing source introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9087
GitOrigin-RevId: 702c29b09ea880c7b37b1979b60c18dae39ed8cf
2023-05-15 15:58:43 +00:00
Luca Restagno
d0acdcf414 Fix suggested object relationships are being tracked as array
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9145
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: f4f404ce7fab461ad62138ac7115e95a62bdbb13
2023-05-15 15:33:58 +00:00
Krushan Bauva
ca0f007bc3 server: add new metric hasura_events_fetched_per_batch
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9121
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 3b68c1ec192c55f1fb765a8887271276e22f7bdd
2023-05-15 15:06:39 +00:00
Daniel Harvey
2b1fe6fdf9 chore(server): remove nqArgs from Native Query IR
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9142
GitOrigin-RevId: 00e29847cd1e8c0562ac7d862bbc072389d40e3a
2023-05-15 14:36:55 +00:00
Rob Dominguez
38aca92458 docs: update EE overview language
[DOCS-899]: https://hasurahq.atlassian.net/browse/DOCS-899?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9127
GitOrigin-RevId: 4c47b71864076b5390ebd6dc4ae8b0c41f80fa30
2023-05-15 11:55:31 +00:00
Daniel Harvey
308948d6b4 chore(server): ensure correct introspection types for NQ relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9133
GitOrigin-RevId: 7d352aa5495098ff91d1bbc1a06c6b1e71ce660e
2023-05-15 08:12:45 +00:00
Luca Restagno
aa8d2d9642 Fix toast notification with long text
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9130
GitOrigin-RevId: 4c313a00b5a372858db0fc3be4d050c81e7fc26c
2023-05-15 07:44:56 +00:00
Matthew Goodwin
36b739c57f console: better handling for unavailable GDC sources on connect and form pages
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9139
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 7fb0aeb07d13298bd420e25ca6b0408bdad9a029
2023-05-15 06:15:43 +00:00
Aaysha
06276b0055 Ensure all onboarding exit states are captured as details in the onboarding table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9075
GitOrigin-RevId: fe44e8042c4663ffe8e5c26449b4757b1c4ebbbf
2023-05-12 07:44:48 +00:00
Rob Dominguez
426e8aed42 docs: add pointers to ee trial
[DOCS-896]: https://hasurahq.atlassian.net/browse/DOCS-896?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9138
GitOrigin-RevId: e340b5fbdb83cfc126ef16eb831caa16c389fb3f
2023-05-11 20:31:51 +00:00
Brandon Simmons
f500b837d8 server/benchmarks: remove introspection from throughput benchmarks
The results seem to vary wildly, and it's also not realistic usage.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9137
GitOrigin-RevId: 208abd919ae9786471a37452a9a0d34ae3c4df30
2023-05-11 17:50:03 +00:00
hasura-bot
ae14af3fa5 docs: fix typo in remote-schemas overview
GITHUB_PR_NUMBER: 9520
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9520

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9128
Co-authored-by: Jahir Fiquitiva <10360816+jahirfiquitiva@users.noreply.github.com>
GitOrigin-RevId: 4e69199664540df711f6086c9f314e1b57bf5b0b
2023-05-11 12:19:42 +00:00
Jigyasu Arya
c70ef14901 docs: add strip banner for hasuracon 23
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9112
GitOrigin-RevId: 8db39624f55814902275237f6c466236ed0dd465
2023-05-11 11:12:13 +00:00
Nicolas Beaussart
29e91203a2 console: fix chormatic screenshots
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9126
GitOrigin-RevId: f6a31cf4470cfe9f70dea885ca6203bd26f390a1
2023-05-11 11:01:16 +00:00
pranshi06
2011f4cf37 server: time related modelling in Event Triggers for Postgres sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8846
GitOrigin-RevId: f9d99e3368f5722a8dbfc8aa037cd1f3971c4b98
2023-05-11 09:01:29 +00:00
Erik Magnusson
709b0dc97e console fix: refactor preferred relationship type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9105
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 35ff03dc439bccdaaa6828520bd28b0cac4d666a
2023-05-11 08:14:41 +00:00
paritosh-08
ae49a3f9db server: add the env var for toggling metric granularity
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9034
GitOrigin-RevId: 24a4ae932b7467a53060025e2772edbebaf94b5b
2023-05-11 05:21:16 +00:00
Samir Talwar
5642ede5da Nix: Remove LD_LIBRARY_PATH and see if anything breaks.
This is actively breaking people's workflow, and it may not actually be necessary any more.

Test by purging your caches and rebuilding the server:

```
$ cabal clean
$ rm -rf ~/.cabal/logs ~/.cabal/store ~/.cache/ghcide ~/.cache/hie-bios
$ cabal update
$ cabal build all
```

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9100
GitOrigin-RevId: ba11ad3538df42536624146dc2cc7f3360f428a2
2023-05-10 21:07:06 +00:00
Daniel Harvey
bccab82398 Expose launch darkly feature flags in v1alpha1/config endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9109
GitOrigin-RevId: b4f95139c6d85638fe5c301a7466bd318445aabf
2023-05-10 15:51:50 +00:00
Daniel Harvey
2aca76f0cc chore(server): native query postgres array relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9037
GitOrigin-RevId: c47ed4bd2fb7102ceed0159c4717d1555080cfd5
2023-05-10 15:20:23 +00:00
Matthew Goodwin
7f3d3eb5f8 console: native query landing page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9038
GitOrigin-RevId: bd9ac1518d9abc05fc7e3aa2b4fcb1c6af3e73fa
2023-05-10 14:22:13 +00:00
Samir Talwar
2aa53a1c42 CLI: Speed up the build.
This speeds up `make build` for the CLI in two ways:

1. The `-rebuild` argument to `gox` is removed, as it seems unnecessary most of the time.
2. The cli-ext binaries are only copied when they're changed, rather than copying them every time.

I also had to fix `clean-cli-ext` so it deletes files in the correct directory.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8710
GitOrigin-RevId: db0c1880577ff1819f961cbf23d34d4f8d67a30a
2023-05-10 13:49:32 +00:00
Daniel Harvey
b85272224e chore(postgres-agent): use capabilities from Rust POC agent
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9106
GitOrigin-RevId: 2536335b59ddf7e1353a41476f41ad4cfb389642
2023-05-10 11:42:25 +00:00
Vishnu Bharathi
171c680793 ci: tag release for v2.11.6 and v2.25.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9102
GitOrigin-RevId: 6dea49930c2fe3d5ab0ab50a87f2dcc9f976f224
2023-05-10 10:45:56 +00:00
Vijay Prasanna
7154855437 console: cache old browse rows introspection calls using react-query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9101
GitOrigin-RevId: c427bc21d9eec085e38622e4c55b0f597d0ea6f4
2023-05-10 08:45:20 +00:00
Daniel Harvey
3ce9c0f4c3 chore(server): Replace Aeson TH with generics in Hasura.Backends.*
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9097
GitOrigin-RevId: 0cbca27f4535358f86438b74c7e871c4fe03f2c2
2023-05-09 18:21:00 +00:00
Nicolas Beaussart
1c942fe69e frontend: upgrade to storybook 7
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9006
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: John Kiragu <11444316+kigsmtua@users.noreply.github.com>
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
Co-authored-by: Aaysha <109507451+aayshasura@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: fe4953db62326fb3a8de118f8bba2add9bb9c2c2
2023-05-09 17:41:28 +00:00
Mihir A Khandekar
8f40ff0953 CPS-861 show hasura ee logo for ee classic consoles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9093
GitOrigin-RevId: f48d8f843d3a88d04dd8fd5060cad055b43950bf
2023-05-09 17:20:42 +00:00
Daniel Chambers
89e3cca8b3 Use sets instead of lists in the Data Connector API types where the order of the list is irrelevant
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9089
GitOrigin-RevId: 292f68a4b44ed75ae6e336da57f02f40e6ded26f
2023-05-09 16:51:10 +00:00
Daniel Harvey
0da011f272 chore(server): move Lenses into RQL.IR.Select.Lenses
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9096
GitOrigin-RevId: 09d69af150f66309b523133c70364f96de40d9cb
2023-05-09 16:22:53 +00:00
Daniel Harvey
a51856c159 chore(server): resolve Native Query object relationships in schema cache
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9092
GitOrigin-RevId: 9c46188f0bc613e553c9e9c267a189efb1de8464
2023-05-09 15:50:13 +00:00
Jigyasu Arya
4b492e1d79 docs: add new product launch webinar banner for mysql, oracle & mariadb section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9091
GitOrigin-RevId: 215ba8051eb957f751258a22562eef3980de8c85
2023-05-09 14:50:49 +00:00
Rikin Kachhia
7a28f0a349 docs: update overview pages sidebar labels
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9094
GitOrigin-RevId: f406ba6d7919c964b7d95bbcf1d00d12a8bb2512
2023-05-09 14:28:23 +00:00
Nicolas Beaussart
9667164942 frontend: introduce tags system for libs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9063
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 1f5918b1e56452967a93739ffc21b4cfafbd84e4
2023-05-09 10:43:51 +00:00
Samir Talwar
b1ed4db28d docs: Clarify that aggregations aren't supported for implicit types.
You can't `sum` an `INTERVAL`, unfortunately.

I also removed _docs/.yarnrc_ as it seems to be unused; _docs/.yarnrc.yml_ is the new <del>shit</del> <ins>stuff</ins>.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9070
GitOrigin-RevId: bc0290471dfa1b697340cc926824eaa2dd034542
2023-05-09 09:05:20 +00:00
Daniel Chambers
09d14cfc9d Disable Snowflake agent's relationships capability
[GDC-1189]: https://hasurahq.atlassian.net/browse/GDC-1189?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8934
GitOrigin-RevId: 2fa754f1a38b1b7c00ef1754354172f78eb18590
2023-05-09 01:15:47 +00:00
Matthew Goodwin
54c6197ab7 console: fix stale react-query cache on story switching
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9085
GitOrigin-RevId: bf08d7ab68f1094ecfad1b5fb6e5a4625aa9e01f
2023-05-08 16:39:21 +00:00