Daniel Harvey
b245e41630
[install-manifests] update CockroachDB to stable version
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7514
GitOrigin-RevId: a8cbb297437e4c2d9ba4cab5da1e464d4eac43e4
2023-01-12 11:46:24 +00:00
Rikin Kachhia
6adee5e0ff
console: update connect db page styles
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7505
GitOrigin-RevId: b8c538022f411e9c180f072e8e2f0554b5c09670
2023-01-12 10:46:43 +00:00
Vijay Prasanna
ca07ec4236
feature (console): add delete mutations utils + tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7501
GitOrigin-RevId: a82606c5d08f1cdf1093967480237a16d7f2af93
2023-01-12 09:06:18 +00:00
Solomon
f786101922
Gardening: Code cleanup around config transformations for dataconnector backends
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7481
GitOrigin-RevId: d1605b8a03e65cd16fc98aa4bc046c0b21b370cc
2023-01-11 23:13:26 +00:00
Rikin Kachhia
7275b6e39a
docs: miscellaneous fixes
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7503
GitOrigin-RevId: 9eebf9f1d10ca7a94bfb42770bc35c68add98817
2023-01-11 16:10:18 +00:00
Sean Park-Ross
af639392ce
Docs: Feedback component v2.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7242
GitOrigin-RevId: 4398205fc74b0a9745d15ade4c78a21467b7475f
2023-01-11 14:52:07 +00:00
Mohd Bilal
f82eaf7ea5
cli: Add --console-hge-endpoint
to hasura console
command that allows CLI to be configured to run inside a container
...
Closes: https://hasurahq.atlassian.net/browse/PLAT-370
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7408
GitOrigin-RevId: 79ca71a1b711f993410e2dbaafa717c11b459dce
2023-01-11 14:10:18 +00:00
Rob Dominguez
9bde77ab36
docs: update cli long punctuation and update commands
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7504
GitOrigin-RevId: dec1f870b9049ccc5cb793e960fb4040d18a3834
2023-01-11 13:34:08 +00:00
Smit Shah
5595e85e27
cli: make update prompts non-intrusive
...
## Description
This PR makes the blocking update prompt when running Hasura CLI non-blocking. Further details of the change can be found here, [PLAT-376](https://hasurahq.atlassian.net/browse/PLAT-376 ).
## Changelog ✍️
__Component__ : cli
__Type__: enhancement
__Product__: community-edition
### Short Changelog
cli: make the update notifications when running Hasura CLI non-blocking [#9367 ](https://github.com/hasura/graphql-engine/issues/9367 )
### Kodiak commit message
Information used by [Kodiak bot](https://kodiakhq.com/ ) while merging this PR.
#### Commit title
Make the update prompt non-intrusive
[PLAT-376]: https://hasurahq.atlassian.net/browse/PLAT-376?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[PLAT-376]: https://hasurahq.atlassian.net/browse/PLAT-376?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
closes https://github.com/hasura/graphql-engine/issues/9367
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7449
GitOrigin-RevId: 73cd019982b9355a8aaa9c6b2592f0413b17f410
2023-01-11 10:32:18 +00:00
Mohd Bilal
8cee3c53b9
cli: Use -
instead of *
in unordered list in docs and fix char cases
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7492
GitOrigin-RevId: 5b76d0a970193da4412ff1b595caec23996f265c
2023-01-11 08:39:18 +00:00
Rob Dominguez
db28a7f90a
docs: add icons to features
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7262
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: fe5eadde71bf247215ec8037a76114242363e34d
2023-01-11 03:23:06 +00:00
Rob Dominguez
2ad946df33
docs: update databases index tables styling
...
[DOCS-475]: https://hasurahq.atlassian.net/browse/DOCS-475?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7479
GitOrigin-RevId: 5a13c93c8dfc492b73f041e3755142272bcdf87b
2023-01-11 03:19:45 +00:00
Vijay Prasanna
30d477c72f
feat (console): update native db DAL methods to include GQL types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7318
GitOrigin-RevId: 4e2e4f8647838a26672f75735037bcd5778c9355
2023-01-11 03:15:18 +00:00
David Overton
a9f77acb32
Remove builtin scalar types from Data Connector backend
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7167
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: 926e7282b908e3a9669ac39d625aa54971e11c37
2023-01-11 02:37:26 +00:00
Gil Mizrahi
7393c152e3
add a temporary static flag for pqnp
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7485
GitOrigin-RevId: 482b0f11f21acb67c9fa95a93b88ac2e45df9430
2023-01-10 13:00:32 +00:00
Daniele Cammareri
0d9575a88a
console: add tracking events for import from openapi
...
## Description 🔖
closes https://hasurahq.atlassian.net/browse/GS-323
This PR add a couple of hooks to properly track import from OpenAPI feature.
This is needed because we tried to track the events using "Target Text" but it doesn't seem to work.
<img width="959" alt="image" src="https://user-images.githubusercontent.com/5709409/209819331-25245f4b-5ec9-4f84-8a0b-daa4133db540.png ">
[GS-323]: https://hasurahq.atlassian.net/browse/GS-323?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7406
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: ac6c3da1b2c9c9fbf3ca7363595e34e93ef19d1e
2023-01-10 09:29:17 +00:00
Naveen Naidu
99fb6ac22f
server/mssql: fix handling of special language characters in event trigger payload
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7448
GitOrigin-RevId: d87357fe2a54d755c893938db5fb6193316b0b79
2023-01-10 08:50:52 +00:00
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