Commit Graph

6382 Commits

Author SHA1 Message Date
hasura-bot
ab8096c83d Update docs data-validations.mdx refs #2599
GITHUB_PR_NUMBER: 8529
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8529

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4560
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 475ffaf8d5d37869a59ea002b4861cd91baaa090
2023-01-20 21:09:44 +00:00
Marion Schleifer
61336d8a7f docs: add note to alloy db guide
## Description

Add a note on permissions to AlloyDB guide.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7611
GitOrigin-RevId: 4f96af8483b62007e977aa67426ff952dcfc23c2
2023-01-20 18:28:26 +00:00
Nicolas Beaussart
63d4f97f3f frontend: make the scriptLoader works with gz files
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7616
GitOrigin-RevId: ae2c8db13ba3b9cea42fb31780e37102ea1b1a44
2023-01-20 18:24:37 +00:00
Stefano Magni
661f2ac245 console: Add OpenTelemetryConfig to Storybook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7390
GitOrigin-RevId: 181d86c31dbcab8297b7f2d60407d2966e4526a1
2023-01-20 17:50:47 +00:00
Sean Park-Ross
4c3f2884a5 Docs: Fix span animation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7613
GitOrigin-RevId: d0c19eb840948b23b2972188ecfab9363defe336
2023-01-20 17:13:51 +00:00
Nicolas Beaussart
41d5bf2a19 frontend: setup internal executor to create the assetLoader
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7612
GitOrigin-RevId: 4da8b7a642af3795ef9c31939e2d14ef7a755013
2023-01-20 16:05:52 +00:00
Auke Booij
83ea4a254d server: plumb StoredIntrospection while building the Schema Cache
We'd like to be able to build a Schema Cache from only serializable data. We already have Metadata. The data that's missing to build a Schema Cache is referred to as "stored introspection", and this includes:
- DB introspection
- User-defined enum values (i.e. contents of specific DB tables)
- Remote schema introspection

This PR introduces a new `StoredIntrospection` container that holds that data, and plumbs it through to the right parts of the schema cache building process, so that stored introspection can be used as a substitute for fresh introspection requests against live data sources.

The serialization of `StoredIntrospection` is intended to be straightforward: just take the serialized source introspection results, and put them in an appropriate JSON object. Though I don't think that this PR achieves that entirely.

In order for `StoredIntrospection` to be deserializable (through `aeson` instances), while keeping the required code changes low, this piggy-backs off of the `ResolvedSource` data type. `ResolvedSource` is _almost_ exactly what we want, and _almost_ deserializable, so this PR brings it across the finish line by moving a few things out of that type, and adding a `FromJSON (RawFunctionInfo b)` context to the `Backend` type class.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7053
GitOrigin-RevId: 5001b4ea086195cb5e65886747eac2a0a657b64c
2023-01-20 14:52:36 +00:00
pranshi06
ae5f3fe593 server: fix next_retry_at for MSSQL event triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7376
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
GitOrigin-RevId: 3a287271320fbb489dbabcd163b1b474fa5132b6
2023-01-20 11:16:30 +00:00
Daniel Harvey
0270dbf4b4 [server/tests] use fresh HGE for stringify numeric types tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7582
GitOrigin-RevId: 7c7832d322024b01987f1568a87793a7c0a969db
2023-01-20 10:40:01 +00:00
pranshi06
a5769645fa docs: update methods to remove event triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7518
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: 42fce71de2349d8fcafcb4bcd66f343e7d58246f
2023-01-20 07:49:25 +00:00
Daniel Chambers
d6cbbe3e49 Data Connectors update mutations support [GDC-713]
[GDC-713]: https://hasurahq.atlassian.net/browse/GDC-713?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7604
GitOrigin-RevId: e0d496b425bed48f2d53a66584f4c7ecd40b485e
2023-01-20 06:17:59 +00:00
Rikin Kachhia
ded69b361e server: serve local console assets even if console is disabled
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7568
GitOrigin-RevId: ef1548c80280f91aabd94075b658de7d04b8b7a3
2023-01-19 20:08:44 +00:00
Rishichandra Wawhal
37a15c25e8 console: fix HTTPS websocket protocol for subscriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7592
GitOrigin-RevId: 02b4e8df7ed64fbc9ec8a0d3fca64681285d6d5d
2023-01-19 13:14:07 +00:00
Philip Lykke Carlsen
cd5186be90 Implement Schema Parsers for Native Query Interface
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7574
GitOrigin-RevId: 0cb4638a7dd79abf6ccb05092c0c663c84675bbd
2023-01-19 11:27:24 +00:00
Mohd Bilal
094b5e6db2 cli: Support migrations for Cockroach DB in CLI Console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7550
GitOrigin-RevId: eb9d6c8dae1c1f7980df45f5080f8d7cab8791c9
2023-01-19 10:51:17 +00:00
Daniel Harvey
0dfeea2c5a [server/tests] de-dupe Postgres harness code
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7581
GitOrigin-RevId: 09f83190e0095d471d7aca6025c43026270d7b58
2023-01-19 10:09:30 +00:00
Vijay Prasanna
f5e17e6161 feature (console): adding consoleDataType to the table column type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7547
GitOrigin-RevId: 13967c84b3ab09b918e94d60ce4f8aa0244fce25
2023-01-19 08:22:24 +00:00
Vijay Prasanna
42a536a8ab feature (console): add DAL method to get defaultQueryRoot for a database based on driver type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7569
GitOrigin-RevId: 22e86bece0c66b9a0a3af9d8085e493a311d1139
2023-01-19 06:01:26 +00:00
Lyndon Maydwell
f1328393b9 Return availability information with agents in list_source_kinds API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7564
GitOrigin-RevId: f05400faab4a261a2992bb4baef39e209db49edb
2023-01-19 05:20:31 +00:00
David Meleney
fd9bcb7ba0 Docs Update AlloyDB guided setup to reflect UI changes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7527
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 3288ec7a989297d174acb50aa622fe0b4e92ed1b
2023-01-19 04:29:07 +00:00
Daniel Chambers
354f7593d9 Custom update column operator support for Data Connectors [GDC-688]
[GDC-688]: https://hasurahq.atlassian.net/browse/GDC-688?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7548
GitOrigin-RevId: 861638d6cc69803776640b50ffe1646b3cf0a7db
2023-01-19 04:22:58 +00:00
Nicolas Beaussart
f6427b993e frontend: fix css ordering issue in nx
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7584
GitOrigin-RevId: f61baa0cb8b08abfa240e6bda8a2a450e593752a
2023-01-18 22:23:36 +00:00
Vijay Prasanna
200f2bab7a feature (console): add a feature flag to enable BigQuery in the nav tree
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7566
GitOrigin-RevId: 72b7ac1775efaae40686bc8b91fe7d07d6de7513
2023-01-18 16:23:54 +00:00
Daniel Harvey
40bcd5545b [server/tests] make useHge work with Fixtures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7560
GitOrigin-RevId: 370e5b3ee4d508e7ca5eea426886bf6c82d0cde9
2023-01-18 15:53:01 +00:00
Abhijeet Khangarot
00d1cdaf2e console: one click deploy changes after design review
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7470
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: f4c6988b7d6c3fd10948444e9fc6553a9e78db6f
2023-01-18 14:32:02 +00:00
Rikin Kachhia
55eaa42973 console: send empty entity hash to telemetry in case of empty DB
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7572
GitOrigin-RevId: 314e598e0c5dae4f6299d0f2419704dd7dcdb4c1
2023-01-18 13:58:37 +00:00
Nicolas Inchauspe
bdaa642c93 console: extract a reusable checkbox from checkbox form field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7545
GitOrigin-RevId: 1dce687b708486ed1e190ddf4118bc7fd7fb956e
2023-01-18 13:19:09 +00:00
Nicolas Inchauspe
4c1d19db1a console: fix part of login screen unreachable
[PLAT-401]: https://hasurahq.atlassian.net/browse/PLAT-401?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7561
GitOrigin-RevId: 5c23e62e7b73cf135eed28eb465b77c216dc4eea
2023-01-18 11:05:45 +00:00
Vishnu Bharathi
6133f1c1da ci: tag release v2.17.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7567
GitOrigin-RevId: b3eaf2fc506fb1b1bbb06c3a829915d56b47409f
2023-01-18 07:59:39 +00:00
Daniel Chambers
c104ffdb51 Fix SQLite agent including built-in comparison operators as custom operators
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7565
GitOrigin-RevId: 83a8868a80a124aee05b8dd42a4ffa15489891ae
2023-01-18 07:36:00 +00:00
Luca Restagno
664db29bcc Preserve filters and sorts while switching between tables (and load from URL)
[GCU-47]: https://hasurahq.atlassian.net/browse/GCU-47?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7522
GitOrigin-RevId: 92ade94f2fbd6013986b28b5a97ba5683a4fdd2e
2023-01-17 19:10:05 +00:00
Daniel Harvey
611bd0363f [server] make Custom SQL metadata commands admin-only
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7549
GitOrigin-RevId: a87f4e083b3e3dfeb51fd6e1fbb3158fb4ac2edf
2023-01-17 16:09:58 +00:00
Rob Dominguez
4aef762786 docs: add instances of security announcements CTA
[DOCS-493]: https://hasurahq.atlassian.net/browse/DOCS-493?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7558
GitOrigin-RevId: d41afa63ae8df7278b02b7a82adc0506b8a00819
2023-01-17 14:52:09 +00:00
Rob Dominguez
ce890f9821 docs: add badge for marketplaces
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7557
GitOrigin-RevId: 4bd4199909517e44efef03afcf218e1a2bb67447
2023-01-17 14:48:20 +00:00
Luca Restagno
6783085ad8 Connect Datasource sticky bar
[NDAT-485]: https://hasurahq.atlassian.net/browse/NDAT-485?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7539
GitOrigin-RevId: 4a7bf3314db5d8ab0d7321155fd37de5af6020f8
2023-01-17 14:45:21 +00:00
Anon Ray
139aca3a25 server: add kind field to livequery-poller-log (GS-329)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7394
GitOrigin-RevId: 34663eb7c0c312b735c77e1855de32dd3a3fba5f
2023-01-17 13:55:16 +00:00
Nicolas Inchauspe
c50c6fde02 Lab/code editor placeholder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7543
GitOrigin-RevId: a5130966ed407f505dad5081acd8647d11eb8508
2023-01-17 12:55:48 +00:00
Daniele Cammareri
6ef4c871af console: fix Import from openAPI URL field issues
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7400
GitOrigin-RevId: 6016113892279ce0a4807cc60bad8adc7e557d29
2023-01-17 11:51:50 +00:00
Matt Hardman
714b07e7de console: refactor select permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7508
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: fa879c49d76859846a5ea80fcd02ec8cc67216d9
2023-01-17 11:20:00 +00:00
Rob Dominguez
03cf883a46 docs: add spellchecking
[DOCS-256]: https://hasurahq.atlassian.net/browse/DOCS-256?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7520
GitOrigin-RevId: 41ae163de3747164ef4b01cfcd155ecb941510bb
2023-01-17 10:32:11 +00:00
Tom Harding
9052208b6c Add a "roles and permissions" deep dive
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7467
GitOrigin-RevId: 915a963d3a237a7f95bed757e3cc5a5bf6c8134b
2023-01-17 09:41:36 +00:00
Daniel Chambers
308d310d62 Refactor Mock Data Connector Agent Integration Tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7531
GitOrigin-RevId: b5111a46ba42c22b110a021b8d0404b114edaba7
2023-01-17 06:44:48 +00:00
Lyndon Maydwell
8d6b9f70f1 Datasets implementation for dataconnectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7502
GitOrigin-RevId: 7ca9a16aa2b27f4efb1263c6415e5a718ca8ced8
2023-01-17 05:49:10 +00:00
Daniel Chambers
bfdeaf0334 Data Connectors insert mutations support [GDC-609]
[GDC-609]: https://hasurahq.atlassian.net/browse/GDC-609?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7513
GitOrigin-RevId: cb401e3ed84c5b60ec59b63dc478a1162b360135
2023-01-17 00:35:22 +00:00
Daniel Harvey
06b284cf33 [server] metadata API for native access
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7476
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: 781c29666e92004dc82918c2292fdacc27fded4c
2023-01-16 17:21:22 +00:00
Samir Talwar
4175b53395 server/api-tests: Add a Docker Compose file for the API tests.
We were previously using the Docker Compose file in the root directory
for manual testing _and_ the server API tests.

This splits them so we can e.g. add Yugabyte for easy manual testing.

In the future, this will also allow us to use ephemeral ports for API
test databases, while keeping the fixed ports for manual testing.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7524
GitOrigin-RevId: 7244e296b0ed0ace9782b6f44f321933a9d9a49d
2023-01-16 16:44:10 +00:00
Rikin Kachhia
e69b0599d3 console: set console page min-width
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7516
GitOrigin-RevId: 4a349630cbfef596f85b6fbdf43c02c79a031e82
2023-01-16 11:30:18 +00:00
Aravind K P
b906410b20 cli: fix missing usages of errors package
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7424
GitOrigin-RevId: 59fccdd90437fc39e4c2cd2581676b67dad87ac9
2023-01-16 09:42:31 +00:00
Vijay Prasanna
0bc363de6e feature (console): add GQL util function to generate insert mutations + tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7512
GitOrigin-RevId: 3e89bcd114a42c9e2fa97f1a05d5c871329c8dd9
2023-01-16 06:51:46 +00:00
Daniel Harvey
1280ca8533 [tooling] remove ghcid hacks from Makefile
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7491
GitOrigin-RevId: ffde0e86c33fbc8027091de21e0c762e60d50e1d
2023-01-13 13:43:45 +00:00