Commit Graph

7608 Commits

Author SHA1 Message Date
pranshi06
75f0629c5d server: change log level to error for triggers in Cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9873
GitOrigin-RevId: 703a16da479d35908a9a8c2862884d11a3135731
2023-08-10 10:04:05 +00:00
Aaysha
b66753175d frontend: Schema registry UI Redesign
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9964
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
GitOrigin-RevId: 7269c9d2107479c68dc6c112a34c2c11e2ad0bfe
2023-08-10 09:00:49 +00:00
Auke Booij
465940abc1 server: fix issue with remote schema customisation & null values
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9929
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 60f9c4f99d9229cd0f29763d8055e791837cddf1
2023-08-10 06:42:36 +00:00
Varun Dey
c6aa4e74bb Read config state using computed field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10089
GitOrigin-RevId: bad2152b9b2a3e1636c42967b1a9cf69fe0cb0ab
2023-08-10 05:36:27 +00:00
Samir Talwar
2d7bb085d5 server: Support _contains and _contained_in in permissions.
We recently added support for the `_contains` and `_contained_in` operators for PostgreSQL arrays. However, they weren't available in permissions.

This adds support for these operators for arrays too.

As these operators are overloaded to work with either JSONB or arrays, no validation is done on the value. If the value is not an array, it will fail when making a query.

[NDAT-806]: https://hasurahq.atlassian.net/browse/NDAT-806?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10075
GitOrigin-RevId: 02e4a57d39ac3303205c37add4186a587f65e409
2023-08-09 15:45:54 +00:00
paritosh-08
ed43fe9863 server/console: fix Apollo Federation UI to extend table types in other subgraphs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10071
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 5acbc792fd8b3fd9ae6a02ea740b3e13040b9c72
2023-08-09 12:55:14 +00:00
Tom Harding
29bb76d6d3 Fix inherited roles leaking supposedly-hidden data via aggregation predicates for BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10049
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: d0af2d29e29111097e17033e10c41d668eb5a351
2023-08-09 11:52:58 +00:00
Vijay Prasanna
79501fd7cb console: remove typo from relationships list
## Description
Remove an typo from the relationship details list

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10086
GitOrigin-RevId: 5ddc2af0f5b0a59b9bd3ef410b5e1dc6cd619a19
2023-08-09 10:41:57 +00:00
Rob Dominguez
3ec1e5e2da docs: add alerting subdir for cloud monitoring
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9711
Co-authored-by: Toan Nguyen  <1615675+hgiasac@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: a77346d408530d6802fac49109499d0842defd4f
2023-08-09 10:08:33 +00:00
Rob Dominguez
378aba7588 docs: transform vectordb page into subdirectory
[DOCS-1197]: https://hasurahq.atlassian.net/browse/DOCS-1197?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10078
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: e1e218318c115c469b7e90cd4b2fbb4b2bbbd767
2023-08-09 10:03:02 +00:00
Varun Choudhary
975b905999 console: update openTelemetry docs link from console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10012
GitOrigin-RevId: b804d84f53ffbee23b5a2c2f490d065bd0552031
2023-08-09 09:07:57 +00:00
Divi
91f010e84c ci: tag release v2.32.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10083
GitOrigin-RevId: 4d4e7c67f5a3d48df5d45077ceea59cebfec06e3
2023-08-09 07:55:42 +00:00
Matthew Goodwin
5c62b37ffe console: add new icons for one-to-one and one-to-many relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9989
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 421e8da78ff03990c4e2862429b7e05a327061b5
2023-08-09 07:16:11 +00:00
nevermore
3a8cc7faca docs: Hasura gateway plugin docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10081
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: a349bdf4b93fa63c06a776270bb07808f5420acd
2023-08-08 15:58:10 +00:00
Varun Dey
9a0c69100b Remove worker_id from query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10079
GitOrigin-RevId: b1a2927d078077c7772be657c6ab47ec6642736a
2023-08-08 14:39:07 +00:00
Rob Dominguez
d6d4eff7ad docs: add google cloud sql server guide
[DOCS-1147]: https://hasurahq.atlassian.net/browse/DOCS-1147?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10010
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: bb501e4d3fdde4aff105399218543f0502aa3667
2023-08-08 11:52:07 +00:00
Samir Talwar
83073fc2f8 server: Remove Weeder.
We don't care too much about Weeder's recommendations right now, so let's just remove it.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10076
GitOrigin-RevId: accf663d6183525d8ff8a72f3ee8d509a5286ef3
2023-08-08 10:39:27 +00:00
Varun Dey
95fcd44a45 Check worker status before calling success callback
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10070
GitOrigin-RevId: e25c9fb5b89c4463766eca0909120d57b2b4c14f
2023-08-08 08:04:14 +00:00
Rob Dominguez
6d3a426250 docs: add jupyter notebooks for data connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10009
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: c69c05b4502f3bb428ab7dfaba3e3252d18855bd
2023-08-07 17:22:20 +00:00
Luca Restagno
a3bf146a00 Improve support for array data types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9984
GitOrigin-RevId: 4bf77be7f039b809fa10dd57d2a8405a106c7534
2023-08-07 15:48:16 +00:00
Brandon Simmons
ff954543ac server: fix for #9552: respect enabled data_types list
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10037
GitOrigin-RevId: a6465d61c2687ea8acf314532ba723664b849694
2023-08-07 15:13:01 +00:00
Vijay Prasanna
4fd38a030e console: remove feature flag for GDC UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10072
GitOrigin-RevId: 6352e3a18572eae6317c025dcab203e808c7192a
2023-08-07 14:43:00 +00:00
Rob Dominguez
657661dec9 docs: add note about billing pausing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10063
GitOrigin-RevId: 0610d50425772c95390e4bd9eea5d12ea8829f9d
2023-08-07 12:01:39 +00:00
Matthew Goodwin
d729993dea console: Fix incorrect EE License behavior in Native Queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10064
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 8db3ffe28cfb3f6ea244bf811582d2b5bad41fc9
2023-08-07 10:38:53 +00:00
Luca Restagno
84d19037a5 Revert back to the old naming convention for suggested relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10055
GitOrigin-RevId: 9b97af1418342899c82792a988688409040b70af
2023-08-07 09:41:03 +00:00
Samir Talwar
71c31755c1 Upgrade the Nix lockfile and fix ghcid on macOS.
I was experiencing issues trying to install ghcid on macOS + aarch64. Turns out there's a patch for that but it's not enabled for GHC 9.4. I have added it.

We may want to push this upstream.

This also upgrades Ormolu, with only a tiny change.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10062
GitOrigin-RevId: 09d0bf115155267584e91c6a21caf8afc7d744a8
2023-08-07 08:59:51 +00:00
Rob Dominguez
a2353f5a35 docs: backport hotfix ref change for images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10066
GitOrigin-RevId: 96f224240adc8e9117ba484c786c956ba4944782
2023-08-07 07:38:01 +00:00
David Overton
5b70da8138 Nested permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10069
GitOrigin-RevId: 6bdde406a57e394f7bf4cc1bae2b6411cbb4ffe0
2023-08-07 04:58:22 +00:00
Matthew Goodwin
c30508b6e3 console: new nav tree component updates
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10051
GitOrigin-RevId: 77e95c6806f059327f51bbd854ab6575dcca2e7f
2023-08-04 19:01:34 +00:00
Matthew Goodwin
603fb42def console: fix storybook performance and stability issues due to console type addon
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10007
GitOrigin-RevId: d78a161f7f5696162409c2757c594fa0c74cfd1c
2023-08-04 16:40:13 +00:00
Matthew Goodwin
82c7797dbb console: table tracking gardening
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10053
GitOrigin-RevId: 36e4fd0c60409e60a4c5f2fb83891590feed43d1
2023-08-04 15:58:43 +00:00
Sean Park-Ross
665af84248 Docs: Add AI Chatbot
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10060
GitOrigin-RevId: fec8f355952064b2d8aa4a3cb346f6b392c724f6
2023-08-04 15:00:36 +00:00
Matthew Goodwin
150874356d console: add synchronous way to get feature flags
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10052
GitOrigin-RevId: 3514dadc8cedef4b6e9008e3b8f50bceeb996e3b
2023-08-04 14:55:10 +00:00
Rob Dominguez
a3a3ba6ecb docs: add update to cli migrations image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10061
GitOrigin-RevId: a46234921594f8d443c20557d10feaf80123bf8d
2023-08-04 14:23:04 +00:00
Sooraj
cd3bf1c7e0 docs: add open telemetry changes to the docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10057
GitOrigin-RevId: 33ec00dfae21fb2ef245066a017747ee97e20dc1
2023-08-04 11:35:06 +00:00
Vijay Prasanna
2b5d8ff3ef console: add support for improved function tracking in the new tracking UI for postgres/mssql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10006
GitOrigin-RevId: 7fa873d92c5151695a28e0762859c8e222a3e0cd
2023-08-04 11:22:18 +00:00
pranshi06
7647456718 server: configuration to specify which Header to pick for JWT Authentication
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9942
GitOrigin-RevId: 4f18d29f07c213a001d43b88e3ce2991230e28e6
2023-08-04 10:37:40 +00:00
Daniele Cammareri
c12c8e974c feat: improve remote schema relationships UX
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9947
GitOrigin-RevId: 9434ad4f80ad2b4926a4e18fb7d8abf336b2bd83
2023-08-04 09:57:21 +00:00
Vijay Prasanna
4fa4644cfd console: allow useCreateTableRelationships hook to work even if some DC-agent capabilities are not reachable
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10038
GitOrigin-RevId: 432d15cc72600cbc5d710fb299a9ee87e30fcea2
2023-08-04 07:34:22 +00:00
Daniel Chambers
016070df34 Add support for data redaction to the reference agent and added agent tests
[GDC-1292]: https://hasurahq.atlassian.net/browse/GDC-1292?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10039
GitOrigin-RevId: c36802d24261e77c0bf28b6bec7cb84bc3b95c3c
2023-08-04 06:17:54 +00:00
Matthew Goodwin
2fedf7fe8d console: editing logical models & gardening work
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10008
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
GitOrigin-RevId: 14c8b833700e67f680d70c3b0226b4d984880913
2023-08-03 21:06:57 +00:00
Samir Talwar
39686bd4ab docs: SQL Server Stored Procedures are in beta.
We missed this change in the documentation.

They'll be in GA soon.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10046
GitOrigin-RevId: 6e27926ce03c4805af07809326a8db65466dac22
2023-08-03 15:27:08 +00:00
Julian
c4ddb0e1f5 Display only local relationships in permissions builder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9996
GitOrigin-RevId: 8ce5c5546370fe41d6d1eb9a89bcd9ae92ecf974
2023-08-03 14:00:26 +00:00
Julian
5453617cd1 Permission tests
They cover the basic scenario of creating permissions.

We need to increase the amount of tests covering happy paths to prevent regressions, so this is a step forward in that direction.

This does not change logic in any way.

Adds data-testid when needed
Remove broken stories
Updates mocks
Pointing this against https://github.com/hasura/graphql-engine-mono/pull/9974 because it's based off of it. I recommend reviewing them together since they're related.

Jira ticket: https://hasurahq.atlassian.net/browse/DSF-496

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10000
GitOrigin-RevId: 6b452684e029669b9094796bf04bd09c24d00a8f
2023-08-03 12:40:22 +00:00
Rob Dominguez
aa2f84068c docs: restore disable_postgres_arrays in experimental features list
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10035
GitOrigin-RevId: c1ee2cd8f066df9a001065a521f41247bd8e32b2
2023-08-03 11:10:04 +00:00
Daniele Cammareri
6df45b37bf fix: fix "Create Rest endpoint" feature for edge cases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10025
GitOrigin-RevId: e47e15797863ed461e2b6d10d51b3195894fefe8
2023-08-03 10:24:16 +00:00
Daniel Chambers
68f7d6e9a4 Add inherited roles data redaction support to the Data Connector API
[GDC-1292]: https://hasurahq.atlassian.net/browse/GDC-1292?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10023
GitOrigin-RevId: d6947dd89dc59fce3f68b786192c59e731826c60
2023-08-03 06:10:53 +00:00
Rikin Kachhia
8c6f823f7b ci: update latest stable release as v2.31.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10034
GitOrigin-RevId: fe686e39e40ad8bb7fe3ec9a097b60ed88c2fc53
2023-08-02 16:37:45 +00:00
Luca Restagno
24e19ac113 Fix Remote Relationship relation visualization
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10030
GitOrigin-RevId: 02f26c9670bb8203ebb0750a01367ada3f4c477f
2023-08-02 16:10:54 +00:00
Philip Lykke Carlsen
2cb66592c3 fix: Apply naming conventions in more places
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9988
GitOrigin-RevId: e74797306a6a131b9b038a20cc6e40befb33ab77
2023-08-02 13:47:21 +00:00