Commit Graph

6008 Commits

Author SHA1 Message Date
ananya-2410
cccc0dc309 ci: update catalog version for v2.17.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7483
GitOrigin-RevId: af9a79e69a7a679ee4eea0756e58ec770bf7d7df
2023-01-10 07:28:40 +00:00
Luca Restagno
22e8ab7755 Implement multiple rows selection [GCU-48]
[GCU-48]: https://hasurahq.atlassian.net/browse/GCU-48?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7443
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: ac9725178f6f3b4cb8f14997bcdbd86e494af9a6
2023-01-10 06:16:04 +00:00
Daniel Chambers
57607f5295 Refactor Update IR to generalize Update vs Update Many across backends - compositional approach [GDC-687]
[GDC-687]: https://hasurahq.atlassian.net/browse/GDC-687?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[GDC-687]: https://hasurahq.atlassian.net/browse/GDC-687?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7355
GitOrigin-RevId: fa02a83c0c594abe05c1071d0de5054478c32e56
2023-01-10 01:56:14 +00:00
Julian@Hasura
aefdf0dd81 Change Snowflake text from Database URL to JDBC Connection string - GDC-676, GDC-686
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7385
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: e14d76c206212ce9510f6cb7ef63c5434a54d471
2023-01-09 23:14:43 +00:00
Julian@Hasura
a40e266a33 Change text to exclude call outs to GDC on the Console connection dialogs - GDC-675
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7322
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: 7fc9a639753cc2d2772d0b1234861dbfc9666e68
2023-01-09 22:36:33 +00:00
Jesse Hallett
a3d567f771 server: update sample.hie.yaml with db-specific test suites
This change allows HLS to process the graphql-engine-test-postgres and graphql-engine-test-mssql projects correctly.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7240
GitOrigin-RevId: f1ed587251094c63a668201d9bc455701a65f367
2023-01-09 18:04:40 +00:00
Auke Booij
d96203f602 server: bring graphql-parser-hs GHC options in line with main code
This is mainly about removing `StandaloneKindSignatures`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7428
GitOrigin-RevId: 9b28c9b119f50c49a1b5c48391d537f1575700b4
2023-01-09 15:31:20 +00:00
Luca Restagno
126dfdde55 Fix: Alloydb connection form
[NDAT-457]: https://hasurahq.atlassian.net/browse/NDAT-457?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7462
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: e4ca09f84b98ff5051eebdf31fdd00a11fdac2e0
2023-01-09 14:40:15 +00:00
Julian@Hasura
6717e0a936 Multi select - GCU-46
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7307
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: d32c4328c3270a370326ab77e0a0f8faa6a4a7fe
2023-01-09 13:28:13 +00:00
Abby Sassel
62eafe26b6 server: replace note about ignored _stringifyNumbers in MSSQL remote relationships plan
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7463
GitOrigin-RevId: d6be472f13cd30da3a5f0ace05190698c94e3347
2023-01-09 10:52:18 +00:00
Sameer Kolhar
5935110165 console: Check DB Latency button shouldn't be shown if there are no datasources connected
[CPS-613]: https://hasurahq.atlassian.net/browse/CPS-613?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7387
GitOrigin-RevId: 7a65171b7ad21161db17f961a6e0409032e31e7f
2023-01-09 10:48:30 +00:00
Nicolas Inchauspe
c78b9ea50e console: fix sidebar story for prometheus usecases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7451
GitOrigin-RevId: 1d4cdc87331739a0d8bccb849e51719770667607
2023-01-09 10:13:23 +00:00
Daniele Cammareri
0ec4de1733 console: fix issues when generating actions from open API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7414
GitOrigin-RevId: 381a8e0eaa658cb93bd2947fd167129469d715f8
2023-01-09 09:38:06 +00:00
Rikin Kachhia
4baf9542c1 console: send DB initial state telemetry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7389
GitOrigin-RevId: 963673eeee6d2eee3b4ed0aa7c903004f1838005
2023-01-09 08:37:04 +00:00
Rikin Kachhia
50a5462857 cli: improve log messages to highlight database names
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7363
GitOrigin-RevId: 2b58511c374ee4d93a202e23c87c48b54ec363a6
2023-01-09 08:03:13 +00:00
Lyndon Maydwell
d34bea3e97 Metadata API for Suggesting Relationships from HGE
[GDC-629]: https://hasurahq.atlassian.net/browse/GDC-629?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7420
GitOrigin-RevId: 0bf69f8409d5141783f9cf5d8d54f798d9e05e65
2023-01-09 07:26:55 +00:00
Rob Dominguez
1128753069 docs: add links to feature docs for CLI commands
[DOCS-520]: https://hasurahq.atlassian.net/browse/DOCS-520?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[DOCS-520]: https://hasurahq.atlassian.net/browse/DOCS-520?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7419
GitOrigin-RevId: 52e8e54bf7068ee91fce19831db99d7a24afb00c
2023-01-09 04:27:34 +00:00
Stefano Magni
019e9ac20f console: Set the NPM version
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7436
GitOrigin-RevId: ea8475ef3c6afd86eea2f46d45e739ad1c313be4
2023-01-07 08:26:04 +00:00
Daniel Harvey
e58ebb10e0 [server/test] Postgres cross-schema tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7437
GitOrigin-RevId: f324fd4ede516238ec4904dd19c0094e21b69b7d
2023-01-06 15:36:19 +00:00
Varun Choudhary
5726ef56fe console/fix: creating async action from UI gets created as a sync action
[GS-347]: https://hasurahq.atlassian.net/browse/GS-347?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7432
GitOrigin-RevId: 4b27329ee84a51566b451e7a921d493f8659241d
2023-01-06 13:21:00 +00:00
Krushan Bauva
9a5ab43a15 docs: add note regarding audience in auth0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7452
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: 44e3371c1ac901dc45672bee20cd66ca994bf61f
2023-01-06 10:37:20 +00:00
Luca Restagno
d2e9a2d643 Add VS Code setting to correctly show TailwindCSS rem units in pixels
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7453
GitOrigin-RevId: afb78ebf5a2de34f164e338a93f030a43119cdb2
2023-01-06 10:33:10 +00:00
Puru Gupta
bf201e534c server: refactor serverctx data types
## Description
This PR merges the data type `ServeCtx` into `ServerCtx` to create a single data type which has all the required context to run HGE.

## Motivation
This consolidated data type will be easier to update/maintain in case of any changes to the user config.

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

[GS-301]: https://hasurahq.atlassian.net/browse/GS-301?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7396
GitOrigin-RevId: f37594d15855bb50e556a4b11a58609af3f9f312
2023-01-06 09:34:44 +00:00
Puru Gupta
f047b7dd17 server: update the jwt refresh thread to poll
## Description
This PR updates the JWK refresh thread to poll every second instead of the previous behaviour where the thread used to sleep based on the expiry time in `Cache-Control`/`Expires` response headers.

## Motivation
As a part of dynamically updating environment variables on cloud without restart the user projects, we want to implement a mechanism which makes HGE aware of any changes in the user configuration by updating a shared variable data type which can be accessed by relevant threads/core functionality before their execution.

The above updates requires us to make the threads polling in nature such that before executing their code, any change in the user config is captured and the appropriate behaviour is channelised. In the case of JWK updating thread, the thread used to sleep for the time as mentioned in the `Cache-Control` or `Expires` headers which make the thread unware of any new changes in the user config in that period of time, hence requiring a restart to propogate the new changes.

To solve this problem we have now updated the JWK update thread to poll every second for change in `AuthMode`(from a shared variable in subsequent changes to implement the dynamic env var update feature) and update the JWK accordingly such that it does not use any stale configurations and works without HGE restart.

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

### Solution and Design
- We store the expiry time in the `JWTCtx`
- On every poll check whether the current time exceeds the expiry time, in which case we call the JWK url to fetch the new JWK and expiry.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7177
Co-authored-by: Krushan Bauva <31391329+krushanbauva@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
GitOrigin-RevId: bc1e44a8c3823d7554167a7f01c3ce085646cedb
2023-01-06 06:40:40 +00:00
Vijay Prasanna
f3bdd3d11d fix (console): react table header offset in Run SQL result UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7454
GitOrigin-RevId: 79a3e825c0dbc20cf25039de64a5bb776010015d
2023-01-06 05:44:42 +00:00
Rob Dominguez
cda38563bc docs: add slug to front matter for event trigger clean up
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7457
GitOrigin-RevId: b6acc4dac457eceaaedff4265f1e5cf70d12e785
2023-01-05 20:21:22 +00:00
Erik Magnusson
31ab5bfc65 console: browse row truncation and row details dialog
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7314
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: bd6fe7eb80f0b7296519a6c3bcea74e051ad84c3
2023-01-05 11:33:46 +00:00
Abhijeet Khangarot
f896b1ad22 console: one click deployment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7022
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: f174a5260bc65273fdb45d6bc25a79b74b3e8207
2023-01-05 05:36:18 +00:00
Luca Restagno
7b48088898 Fix the import of a function
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7433
GitOrigin-RevId: 47766e730804fc77115bec47d50a16554c75e3d1
2023-01-05 02:40:12 +00:00
Rikin Kachhia
e9d98448f4 docs: improve graphiql styles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7434
GitOrigin-RevId: dc4ffd853672882a34e0732e6f778002a950555e
2023-01-04 12:19:20 +00:00
Varun Choudhary
237dbee415 console: fix indefinite loading state when modifying rest endpoints with null comments that created by older Hasura version
[GS-347]: https://hasurahq.atlassian.net/browse/GS-347?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7421
GitOrigin-RevId: 67671b8a1974f0c5c937005355ab335153bf37ce
2023-01-04 11:20:45 +00:00
Abhijeet Khangarot
3f87bb0aba console: remove global cursor disabled bootstrap style
[GT-403]: https://hasurahq.atlassian.net/browse/GT-403?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7402
GitOrigin-RevId: b4fecaefb89e820e61a1c6c76bebc93d563025b3
2023-01-04 10:25:21 +00:00
Gil Mizrahi
09d053c7ad Show RQL IR Select
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7423
GitOrigin-RevId: 0bd669c49bf27b409787f168be5c2778d74bceda
2023-01-04 08:29:43 +00:00
Philip Lykke Carlsen
b1f065447f server/tests: Update README.md files
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7426
GitOrigin-RevId: b16cbe61c5274146c9adc1434a48dc95c964dd8c
2023-01-03 14:27:22 +00:00
Philip Lykke Carlsen
67280023a2 server/tests: Ability to run HGE via external process.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7329
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 74b293a1d5fb7de52a85e42cfcb0314af0006822
2023-01-03 14:05:02 +00:00
Varun Choudhary
7671759010 console: feature flag banner is hide behind ace editor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7369
GitOrigin-RevId: 3d6a3e279bbf8fdf52eeaeca29e20a3ab0f63c0b
2023-01-03 08:45:23 +00:00
paritosh-08
9309d2512a server: quote object names for MSSQL event triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7398
GitOrigin-RevId: 47565981e0b5b5a198e2cd06e29b58d16693d75e
2023-01-03 06:47:38 +00:00
Stefano Magni
a60f7116d0 console: Introduce the OpenTelemetry form components in Storybook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7093
GitOrigin-RevId: a0b164c4411d5e20075069ea46d9d0a2ba15a461
2023-01-02 14:20:08 +00:00
Nicolas Inchauspe
eb0c9d563e console: fix wrong illustration is displayed for Prometheus enabled screen
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7383
GitOrigin-RevId: 78c4cc9a1fe95c7c889423ad85f853ba4f255379
2022-12-30 11:08:23 +00:00
Rob Dominguez
880182c805 docs: improve Long values for CLI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7399
GitOrigin-RevId: 6e848f6eae2e5418c386f814623c122646db12c7
2022-12-30 03:52:33 +00:00
Mohd Bilal
e75edb0629 cli: Add support for data connectors metadata changes.
closes https://hasurahq.atlassian.net/browse/PLAT-181

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7178
GitOrigin-RevId: f4c1c39ac33586870e38623bb85f09d5c98a3817
2022-12-29 14:37:47 +00:00
Mohd Bilal
06b7952149 cli: refactor migrate/migrate.go to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7232
GitOrigin-RevId: 51ed7ae004957d94568e16c8309920a5960cbc0d
2022-12-28 13:30:16 +00:00
paritosh-08
0b7ed96c46 server/telemetry: add experimental feature list
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7395
GitOrigin-RevId: f6a8c847c42c65616e816175135f0002e5f8c684
2022-12-28 07:16:35 +00:00
awjchen
1ec5efd5d3 server: replicate log-based data transfer metrics as prometheus metrics
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7354
GitOrigin-RevId: 3f49b8ebba515b42a9d7b22e83e6f39d9d6087c6
2022-12-28 03:49:33 +00:00
Meet Zaveri
3070470728 docs: document a new breaking change for v2 (related to extra GQL params)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7378
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 6dc830ed22e8e7196993f683c8cbed2c2bd2f4b5
2022-12-27 15:03:46 +00:00
Marion Schleifer
7dffbc6a0d docs: add bullet point on infinitive verb form in headings to docs wiki
## Description

This PR adds a bullet point on using the infinitive verb form in docs headings to the docs wiki.

## Quick link

[/docs/wiki/style/headings](https://marion-docs-update-wiki-to-u.hasura-docs-mono.pages.dev/docs/wiki/style/headings/)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7397
GitOrigin-RevId: 88b38d6c771f8e9fc7a70189cea15e6c9caf9f57
2022-12-27 14:49:31 +00:00
Rakesh Emmadi
9a3488920f docs: add an info note documenting known limitation with multiplexed subscriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7382
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: ce1a39d4ddb2f8500a5e2408acf6f3cfddcb44f6
2022-12-27 14:35:20 +00:00
Manas Agarwal
68f4f8a819 Docs: Add metrics_config metadata API docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7337
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
GitOrigin-RevId: e852f95917491504a44e425a6ee8176c3644416b
2022-12-27 14:27:24 +00:00
Rob Dominguez
3fc7320fbd docs: add hotfix links
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7391
GitOrigin-RevId: 836f7878bf169073f91af5524f13e19b3a75a046
2022-12-23 21:47:11 +00:00
Jesse Hallett
4f996fcb2f server: codecs for some health check types
Small PR with codecs for a few health check types. This adds a `HasCodec` implementation for `Seconds` to `hasura-prelude`.

Ticket: https://hasurahq.atlassian.net/browse/GDC-585

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7328
GitOrigin-RevId: 8da2d9115d76be7177e5cc72a333c5a9cf6f759a
2022-12-23 18:16:58 +00:00