Commit Graph

6445 Commits

Author SHA1 Message Date
Nicolas Beaussart
9e04135f98 frontend: pre sync console into nx
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7638
GitOrigin-RevId: 8866a609e83e6330786ddc741afcba9d45e1f42e
2023-01-23 22:22:02 +00:00
Sean Park-Ross
8259567d22 Docs: Document unavailability of subscriptions in remote schemas
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7475
GitOrigin-RevId: 60e5c30bac6f6f5633780ab56d1b535c95e7faa6
2023-01-23 20:57:32 +00:00
Matthew Goodwin
97fb7b95e8 console: big query modify tab read only support GCU-91
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7619
GitOrigin-RevId: 10722caad2128878ab6f9a95c9c0367122ff07f4
2023-01-23 18:48:25 +00:00
Rob Dominguez
23e232eedd docs: update getting-started docker
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7146
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: 7e5a35d3a9f78ab10feafdcfe6549eda6f033f90
2023-01-23 15:08:20 +00:00
Stefano Magni
24cba66344 console: Add OpenTelemetry to Metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7401
GitOrigin-RevId: 13b768e4a3d940bf2acf8fbc1fe38f89a6c10f05
2023-01-23 14:11:08 +00:00
Abby Sassel
85cda65261 server: introduce Native Query Interface prototype feature flag
[NDAT-490]: https://hasurahq.atlassian.net/browse/NDAT-490?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[NDAT-491]: https://hasurahq.atlassian.net/browse/NDAT-491?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[NDAT-468]: https://hasurahq.atlassian.net/browse/NDAT-468?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7487
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
GitOrigin-RevId: ba679fc69df4b669fc7936cd359b8268e8e1a23a
2023-01-23 13:37:13 +00:00
Erik Magnusson
e86d24b1fb console: add root field permissions to GDC permissions tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7536
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: eaa788e45e12900ac5237c4fb1c98d19f64778ed
2023-01-23 11:29:06 +00:00
Vishnu Bharathi
a6f81a7208 ci: update graphql-engine-base image to use latest ubuntu focal
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7626
GitOrigin-RevId: 0bceaf98f9f84066a2f130bf17688010ccd88c4b
2023-01-23 10:57:12 +00:00
Varun Choudhary
e321eb89c2 console: add console support for string query parameters in actions, events and cron triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7486
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 70eb20e8b88eef3281809748d08661a5b9cf269a
2023-01-23 08:08:47 +00:00
Erik Magnusson
c0c3fb9ec0 added default root source handling
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7608
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 7064199bbed3ac3b2835d4929b9dd2dece22845a
2023-01-23 07:30:33 +00:00
Krushan Bauva
5ec99aab03 docs: remove status parameter from get_scheduled_event_invocations Metadata API reference
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7585
GitOrigin-RevId: 76983ab1612c8d7be013caf9409ca7746252b07a
2023-01-23 06:32:34 +00:00
Daniel Chambers
0b35798fa7 Fix get_source_tables integration data connector config transformation test
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7605
GitOrigin-RevId: 02b33784375888854c3f663c3cf0a84b049682a6
2023-01-23 01:06:56 +00:00
awjchen
cc5ee8474a server: always validate the open telemetry metadata configuration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7446
GitOrigin-RevId: a66bcf654f3b973da0ab1a6f4b956446cd7a10d0
2023-01-22 03:42:20 +00:00
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