Commit Graph

7035 Commits

Author SHA1 Message Date
Tom Harding
6695204d90 Implement get_table_info for GDC backends
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9176
GitOrigin-RevId: 88e75233b0c0fe2fa5077f1d1f4b2b2cbc0b6b37
2023-05-17 08:04:55 +00:00
Vijay Prasanna
7d397fcf73 console: integrate SQL server procedures to the console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9169
GitOrigin-RevId: 3daff76ae127a2727e6ece153e4b06e3c00a9a32
2023-05-17 07:38:27 +00:00
paritosh-08
67044e6675 docs: high cardinality label for metrics toggle
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9135
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 75932f6848c9df74f5d11023e29702b9ff124c35
2023-05-17 05:38:10 +00:00
Daniel Harvey
48d4882b6c chore(server): NQ -> NQ array relationships for SQLServer and BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9166
GitOrigin-RevId: ac713d50059737728796d89ee5bc8f907cf85ff8
2023-05-16 17:40:56 +00:00
Rakesh Emmadi
79d2e20e69 server: use stored introspection only when upstream remote schema unreachable
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9074
GitOrigin-RevId: e0dcdbcab0691e680fa7c8e0df4afe38aa2a7504
2023-05-16 17:03:10 +00:00
Tom Harding
56a015fdfd Introduce Backend::getTableInfo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9172
GitOrigin-RevId: 4c90f250d0172fd911eadbe5bbd6949770139cd0
2023-05-16 16:29:38 +00:00
Daniel Harvey
0fce0099b8 chore(server): use generics over TH in Hasura.Eventing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9143
GitOrigin-RevId: ed11588db37f5336698fc33f50066e75fa7f73a1
2023-05-16 15:53:37 +00:00
Daniel Harvey
ce1e068813 chore(server): remove NQ -> table relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9170
GitOrigin-RevId: 01258fbcde8471c1b693b06d37c3242fe4909107
2023-05-16 15:09:18 +00:00
Vijay Prasanna
7ed2b0b282 console: add support for SQL server stored procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9084
GitOrigin-RevId: a2b5d7012c171329834e905b34e5e9711e8beebb
2023-05-16 13:57:36 +00:00
Julian
3e6ea91770 Test Mongo nested relationships in console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9051
GitOrigin-RevId: 1727a8b4527f3a0d20285dcd66023b9586ffc80b
2023-05-16 13:23:05 +00:00
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