Commit Graph

7728 Commits

Author SHA1 Message Date
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
ananya-2410
f617b68b8b ci: tag release v2.31.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10026
GitOrigin-RevId: bf6d87df602029cd55b014f6c729c462739ffeb2
2023-08-02 08:54:54 +00:00
Vijay Prasanna
b3a5d19919 console: improvements to the stored procedure UI (error handling, empty states, prompts)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10016
GitOrigin-RevId: b44c73f9fcdfa9d51c98c5131bda02c802172dee
2023-08-02 05:31:53 +00:00
Rob Dominguez
729040830f docs: update data connector docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10022
GitOrigin-RevId: f5e11acf80a10749a5c8d1baf07908259d9a7518
2023-08-01 20:17:57 +00:00
Rob Dominguez
a87552db67 docs: resolve prettier issues
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10019
GitOrigin-RevId: 7bcbb14b924a2736341cf5dce212c48a09cf1c7e
2023-08-01 18:01:46 +00:00
Rob Dominguez
e7c1444010 docs: fix apollo federation console steps
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10018
GitOrigin-RevId: f9c96660cbe69c0c7dcb5ad9c26b7bc01e2bdbe8
2023-08-01 15:49:46 +00:00
Rob Dominguez
69396a8f64 docs: add admonition for creating seed data
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10017
GitOrigin-RevId: b414a4603ff65f9eaa499f4c4fbf43a522af0cc0
2023-08-01 15:23:12 +00:00
Rob Dominguez
8129868c32 docs: add google cloud sql mysql guide
[DOCS-1146]: https://hasurahq.atlassian.net/browse/DOCS-1146?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9948
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: af33c629da433c775453db08d4c4240ce98a324e
2023-08-01 11:43:02 +00:00
Luca Restagno
6a352555f7 Fix default value for array columns
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9969
GitOrigin-RevId: 26b0af011501d49d26ab0e4657bc7d76af23e307
2023-08-01 09:50:54 +00:00
Daniel Harvey
6aae78c8e1 chore(server): add track/untrack stored procedure metadata commands to bulk_atomic
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10013
GitOrigin-RevId: 3843e379e08bcb65e65110fc8217acc05cf7640a
2023-08-01 08:15:28 +00:00
David Overton
23d40fc500 Nested where
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9940
GitOrigin-RevId: c2115f1de4f647c4b559c98183c6260a1f5674dd
2023-08-01 05:41:36 +00:00
Daniel Chambers
374bbd1937 Fix inherited roles leaking supposedly-hidden data via native queries in Postgres
[GDC-1292]: https://hasurahq.atlassian.net/browse/GDC-1292?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9980
GitOrigin-RevId: 48174a559453d802991b475caf337808d2462356
2023-08-01 02:29:19 +00:00
Daniel Chambers
7b2647e4e9 Fix inherited roles leaking supposedly-hidden data via streaming subscriptions for Postgres
[GDC-1292]: https://hasurahq.atlassian.net/browse/GDC-1292?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9977
GitOrigin-RevId: 56da6f97477095a1930cd29ff87ba5c3832d59f4
2023-08-01 01:47:44 +00:00
Matthew Goodwin
51c1faec08 console: Fix react query decorator cache invalidation strategy
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9998
GitOrigin-RevId: 53343f6f55ff2d7354759ec81b9c66a01d893256
2023-07-31 18:14:35 +00:00
Matthew Goodwin
4290c87861 console: upgrade typescript to 5.x
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9997
GitOrigin-RevId: 0730212c3f1fdab134be0d097f3e4364e3aa4e85
2023-07-31 16:07:46 +00:00
Nicolas Inchauspe
3f5e38ac5a Console should show a clear warning when a connection string is stored in metadata
[DSF-459]: https://hasurahq.atlassian.net/browse/DSF-459?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9874
GitOrigin-RevId: dbe1f785d70af0d34e37764bef5c994db58b83fa
2023-07-31 14:26:11 +00:00
Sean Park-Ross
662607dadf Docs: Update unauthenticated access documentation with detailed steps and restructure content.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10003
GitOrigin-RevId: 5b181e248f80102796437961df15af7afb1c0cce
2023-07-31 11:48:07 +00:00
Rob Dominguez
0abf4368ae docs: deprecate coud otel docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9993
GitOrigin-RevId: 2e3840e75f8e0bf56366809d06907562bb1e32b3
2023-07-31 11:00:29 +00:00
Nicolas Inchauspe
fcefba5349 console: propose materialized views for tracking for postgres datasource
[DSF-497]: https://hasurahq.atlassian.net/browse/DSF-497?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9983
GitOrigin-RevId: 6c9f252d51f0f2006673947401980b96ec2f9316
2023-07-31 08:19:57 +00:00
Vijay Prasanna
430274a3bb console: fix extra subtitle in native query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9994
GitOrigin-RevId: 229aa560676bee74121421c188df8a7db0795287
2023-07-31 06:31:51 +00:00
hasura-bot
46f4f412e0 docs: fix typo in data validations using hasura permissions section
GITHUB_PR_NUMBER: 9804
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9804

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10001
Co-authored-by: Jakub Trochim <57753436+jtrochim2@users.noreply.github.com>
GitOrigin-RevId: 63d36cc6e1a8cb367661d40a1a9aae548d9b4039
2023-07-30 00:17:05 +00:00
Julian
a3deb5eff0 Group Permission editors into the same folder
This will make it easier to make changes and reuse code on the future.

They were grouped together by only the storybook title.

Now they are on the same folder, which is `frontend/libs/console/legacy-ce/src/lib/Permissions`.

Since now they are together, removed the title to all storybook stories.

Important: I did not make any behavior changes. Only moved code around. I need this for a separate PR but I thought it was good to create this isolated PR with non behavioral changes so it's easy to review (it has a lot of files changed).

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9974
GitOrigin-RevId: 940020d06e0144eac95c614f84aea122852396b9
2023-07-28 19:13:28 +00:00
Vishnu Bharathi
d303ebc266 docs: add section about container security
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9995
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: a18ac49144c1207bf86f9b37e1cabee8186e8e39
2023-07-28 15:51:00 +00:00
Rob Dominguez
bbdb7aae08 docs: update billing owner ux
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9992
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 4b6236f2f9a749eafeac4984ad13a34005829756
2023-07-28 14:43:21 +00:00
Rob Dominguez
a5b540f709 docs: add recipe for coupon expiration
[DOCS-1125]: https://hasurahq.atlassian.net/browse/DOCS-1125?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9959
GitOrigin-RevId: c95393d6ebb914f87043e20645aff99a75948520
2023-07-28 13:13:20 +00:00
Krushan Bauva
94a2b6348a server: add Prometheus metric hasura_websocket_message_write_time and fix hasura_websocket_message_queue_time
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9879
GitOrigin-RevId: 9dd82d01faa367fa67950a7f5f55a61fc396b27f
2023-07-28 11:38:57 +00:00
Samir Talwar
1a052dd44b server: Avoid partial fields wherever possible.
This turns on the `partial-fields` warning, which yells at you if you try and create fields on sum types that end up being partial functions. These are dangerous; we had a bug because we introduced a new case to a data type, making the field accessors partial, and leading to a crash in certain cases.

This means that we have introduced a few wrappers in various places where the field names are useful, but we want to avoid partial matches.

Unfortunately this can be turned off by prefixing the field name with an underscore. Ideally we would try and avoid exporting any field names with underscores, but lenses make this hard. I have removed some underscores for the areas in which we've seen this break in the past.

We will have to be vigilant.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9991
GitOrigin-RevId: fd69b1ef999682969f3507f0e97513f983da4da6
2023-07-28 10:54:24 +00:00
Nicolas Inchauspe
d2192eca9d console: fix query filter and sort validation
[DSF-488]: https://hasurahq.atlassian.net/browse/DSF-488?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9965
GitOrigin-RevId: d3fe971677033dcd3296e8f75896a57658197a8c
2023-07-28 10:02:29 +00:00
Vijay Prasanna
3aa56fc05f console: remove comments that contain internal doc links
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9978
GitOrigin-RevId: f16e82fe466039665abef1f633a82236f6288a43
2023-07-28 08:20:25 +00:00
Marion Schleifer
102fc81fd1 docs: backport hotfix fix typo
`optimise_permission_filters` -> `optimize_permission_filters`

NB: [hotfix commit](4bb6b3301c) in `graphql-engine`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9987
GitOrigin-RevId: c86959b19b9176ae1c50bd86d6859acf9ea0e173
2023-07-27 19:25:40 +00:00
Philip Lykke Carlsen
bda6aadca8 fix(mssql): Properly record the schema of referenced columns
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9985
GitOrigin-RevId: 0262c414a6421b79d5b8c0fc47b17c8efed22c6c
2023-07-27 15:06:47 +00:00