Daniel Harvey
9c99bcb6f8
chore(server): move perms to custom return types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8604
GitOrigin-RevId: ff024429b3f06e4867334665f35d4bd404a85cba
2023-04-04 12:46:51 +00:00
Julian@Hasura
71a00338ff
console: Mongo Schema Form DSF-205
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8557
GitOrigin-RevId: 292043907095e37c7bb99725a754fb7da9f71743
2023-04-04 12:10:27 +00:00
Antoine Leblanc
0177510b8f
Fix haskell error in example code block
...
Fix trivial error in documentation.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8620
GitOrigin-RevId: 1b8410ae213b1e5f0954bdf4e957d29f1a668696
2023-04-04 11:28:35 +00:00
Antoine Leblanc
e9ae080d28
Add ManagedT
deep dive.
...
### Description
This small documentation PR explains why and how we use `ManagedT`, and how it solves problems we would have with `Managed`.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8615
GitOrigin-RevId: 5b7710a8cb6373fefb69bb4e9e8eda389c14c2da
2023-04-04 10:34:58 +00:00
Tom Harding
4854d3ca21
Add extremely basic support for BigQuery JSON fields
...
[NDAT-501]: https://hasurahq.atlassian.net/browse/NDAT-501?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8614
GitOrigin-RevId: 24530130499174a1a02e0fb4510859fcfeed207d
2023-04-04 09:45:17 +00:00
Philip Lykke Carlsen
df12c7cf46
fix(api-tests): Ensure the test runner runs the logger cleanup function.
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8602
GitOrigin-RevId: 7e07b8b0556a22edf4e058e23ff020cc5e8528f6
2023-04-04 09:01:44 +00:00
Vijay Prasanna
73509d865d
console: add missing variable in useDatabaseLatencyCheck
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8611
GitOrigin-RevId: e582afe1f8ebe3aacc341464ea9b78622ffff85d
2023-04-04 08:19:20 +00:00
Vijay Prasanna
880da0feaf
feature (console): add component to list and manage database connections in the manage DB section
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7970
GitOrigin-RevId: 18e26e4ce660611c8f5dc3f440f156ec9311be13
2023-04-04 07:21:44 +00:00
Shraddha Agrawal
f454a41c29
docs: add docs for logs & metrics exported by Cloud APM integrations
...
[CPS-275]: https://hasurahq.atlassian.net/browse/CPS-275?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8145
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: e01e7ee166cdf423d8585ab1eb041d806f47ad70
2023-04-04 06:11:41 +00:00
Amit
2e6250f349
Professional plan: billing by active hour
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8591
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 88d023af9d8f2ac949ec897854b7e0cd61662282
2023-04-04 00:08:10 +00:00
Varun Choudhary
6621dc6adb
console: e2e snapshot testing for event triggers
...
This PR adds e2e snapshot testing for event triggers.
We are testing it in 2 ways -
1. testing the shortest possible path to create ET and then modifying it to the longest possible path
- here we are testing the shortest path and see no extra fields are added to avoid regression. Then we modify the shortest path to the longest one and see nothing will break on the metadata side
2. testing the longest possible path to create ET and then modifying it to the shortest possible path
- here we are testing the longest path and see if all the fields are passing to avoid regression. Then we modify the longest path to the shortest one and see nothing will break on the metadata side
3. More info in the [doc](https://docs.google.com/document/d/1NjZsvd6xOq90lNMai8nKBaWl-LqBWrkiZCHSQ7wusdE/edit )
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8341
GitOrigin-RevId: f44d5297e70fe50fc4f2a2ac43a1707b71398ba1
2023-04-03 17:24:41 +00:00
Luca Restagno
c3451bd622
Allow users to track relationships from the manage database view
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8568
Co-authored-by: Julian@Hasura <118911427+julian-mayorga@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 6741cd59cd5432b18f72ffa965ccb84f2503fb4e
2023-04-03 15:35:57 +00:00
Rob Dominguez
4b2344f646
docs: fix sidebar icons
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8589
GitOrigin-RevId: 24f7310233bdd75c34a2053aebd4f6ad4d27385c
2023-04-03 15:01:12 +00:00
pranshi06
e6c8abf7d4
server: add connection_template as an argument in pg_test_connection_template
API
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8520
GitOrigin-RevId: 525bba9015ad4e143e94124e42ec4518252932cb
2023-04-03 14:27:12 +00:00
Auke Booij
7cc33dd8ec
server: refactor Hasura.Metadata.Class
...
- Remove `MonadMetadataStorageQueryAPI` which was only implemented by a default implementation
- Introduce `TransT` which can be used to easily derive `lift`ing implementations for `MonadBlaBlaBla` classes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8579
GitOrigin-RevId: 4f804fda7e2de5c9d75ee4df269f500ebd46b8c9
2023-04-03 13:36:50 +00:00
Gil Mizrahi
ed4f3b7406
feature(server): CockroachDB now supports distinct. Document and test
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8596
GitOrigin-RevId: 3dbc5fccb1d4387041a5a80794158c4f50b70848
2023-04-03 11:51:22 +00:00
Nicolas Beaussart
c08dc03d72
frontend: change lint staged to only show warnings
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8598
GitOrigin-RevId: 075ef047ced13a95087b10b64584bd21c611f884
2023-04-03 10:53:20 +00:00
Daniel Harvey
cb9f822fc0
chore(server): move user-defined-functions into Hasura.Function.*
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8595
GitOrigin-RevId: b3b7dec8504fe4daf324125e4017fa7d1945b3ca
2023-04-03 10:20:20 +00:00
Rikin Kachhia
0bfe558345
docs: update cloud getting-started and project pages
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8582
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: bfd8f4fbdfea6e54da1a9a9335ff3d2efbe8f851
2023-04-03 09:43:45 +00:00
Rishichandra Wawhal
80ec1c0684
frontend: remove telemetry notification on first load
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8327
GitOrigin-RevId: 7f2e7a2be2d3b74584c407e99f7491db69df661c
2023-04-03 09:11:25 +00:00
Rikin Kachhia
6a75ca1283
docs: update database quickstart
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8585
GitOrigin-RevId: b556d017eba8c73a024b1b430dbaf59cd1be03e5
2023-04-03 08:12:57 +00:00
ananya-2410
ff759bfbe1
ci: update base image of graphql-engine to focal-20230308
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8592
GitOrigin-RevId: ae36c41a7c0f012845d4d782ffa25aef566ae000
2023-04-03 07:01:40 +00:00
Tom Harding
7e06b30e4d
Add metadata commands for custom return type permissions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8587
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 660f2eda9cf1c7c612d66745064b3998c77804e0
2023-03-31 16:29:24 +00:00
Daniel Harvey
79682e0598
chore(server): move custom types out of logical models
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8565
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: 38bf56cc420a6c818a9ca7d6f846f5018535c808
2023-03-31 15:35:13 +00:00
Varun Choudhary
25c830a487
console[storybook]: fix interaction test for modify cron trigger
...
This PR fix interaction test for modify cron trigger storybook component.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8551
GitOrigin-RevId: 1da9bcf5b9b70f17598e029df5b5907485c2da79
2023-03-31 14:47:21 +00:00
Stefano Magni
2359322feb
feat(console): Add the IsFeatureEnabled core
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8410
GitOrigin-RevId: 2fc16f678fcb49226f2028c324d06314749e27f2
2023-03-31 10:54:22 +00:00
Sameer Kolhar
40921f20bc
console: fix issue to clear admin secret key on logout
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8503
GitOrigin-RevId: 7f94a2da01001b1b295151aa41c2e456c120f972
2023-03-31 09:20:32 +00:00
Vijay Prasanna
004dedca83
console: enable new data tab UI for BigQuery
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8474
GitOrigin-RevId: 21a4af7d9ebf9b78702785019b385066f63d09b7
2023-03-31 07:03:40 +00:00
Jesse Hallett
1e4a79e131
server: update metadata.openapi.json
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8574
GitOrigin-RevId: 456a7d6cad66b6281e90b0c2623274c04fe15f47
2023-03-30 21:56:46 +00:00
Auke Booij
79b8a6a07b
chore(server): move some query tags code to a sensible place
...
Also add a `default` implementation for `MonadQueryTags`.
This avoids a bunch of imports on `Hasura.GraphQL.Execute.Backend` which is a big module with lots of (transitive) dependencies.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8571
GitOrigin-RevId: 8ecca452721b77953e6d088c79d8d6f003f2996f
2023-03-30 21:19:38 +00:00
Jesse Hallett
b5ac49d1b5
server: codec for dataconnector ConnSourceConfig
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8271
GitOrigin-RevId: b5aaa86a5e453fecb1e88c2afb223857e50c8b7d
2023-03-30 18:37:51 +00:00
Daniel Harvey
4905dc1675
chore(tests): pass BigQuery service account env var through to HGE
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8532
GitOrigin-RevId: 68e4c846e23369f476fa672b987d6769fad43cbf
2023-03-30 17:59:01 +00:00
Anon Ray
5a81eaa9b6
server: core changes for zero-downtime env vars update on cloud
...
[GS-232]: https://hasurahq.atlassian.net/browse/GS-232?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7207
Co-authored-by: pranshi06 <85474619+pranshi06@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
GitOrigin-RevId: 90a771036da5275cd277f3daaf410381955c69de
2023-03-30 16:33:39 +00:00
Jesse Hallett
bd9f93eaef
server: codecs for backend configs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8269
GitOrigin-RevId: 34330f383ca82fb159842a171a763c178b462788
2023-03-30 15:53:55 +00:00
Daniel Harvey
7227e96278
feature(server): custom return types as discreet metadata entity
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8556
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: b7dcbcf378279c3bf4c8d223174b90c2cb4b9e53
2023-03-30 15:15:11 +00:00
Auke Booij
cfd33e0dba
ci(server): fix hlint ignore pragmas
...
Some fixes as a followup to #8311 . In particular, some pragmas were referring to a now-nonexistent hlint rule.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8569
GitOrigin-RevId: 2a180427b3e93a71c47569ff10b6c8b6b407f7a2
2023-03-30 14:31:59 +00:00
hasura-bot
22d9b54eae
Support _is_null operator in MSSQL permissions. fix #8479
...
GITHUB_PR_NUMBER: 9414
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9414
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7800
Co-authored-by: Nakano as a Service <20109935+NKNaaS@users.noreply.github.com>
GitOrigin-RevId: 9a409bd023a21cbc43c13f028d088bde7a21c62f
2023-03-30 13:46:49 +00:00
Erik Magnusson
eb3833516b
console: allow support for geometric type columns on the permissions UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8457
GitOrigin-RevId: 5c8708523f26e67bacd37a8a2c010c473d9a7a5c
2023-03-30 13:09:33 +00:00
Rakesh Emmadi
454fbc7f69
server/pro/cloud: add resolved connection template context in error response in dev mode
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8541
GitOrigin-RevId: 57f97ac336be8e656dcfcf4e339ad2ccc5c62393
2023-03-30 12:09:32 +00:00
Stefano Magni
0d078f2aca
chore(frontend): Add testing library to the EE E2E tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8498
GitOrigin-RevId: 3168d103907b48514e6044179e81c8602e293b0c
2023-03-30 10:43:03 +00:00
Philip Lykke Carlsen
ed813655f6
refactor(tests): late binding of shouldReturnYaml
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8558
GitOrigin-RevId: 5044f4c726b71760fdbb05b71a1fc79e4eaa8a31
2023-03-30 09:05:04 +00:00
Rikin Kachhia
16bd34f9c3
console: show PG trigger condition on Table modify page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8555
GitOrigin-RevId: 5cfac5789bee2f61c7be24db20e155bb4f07cb50
2023-03-30 06:59:04 +00:00
Varun Choudhary
a7053fd9b5
console: fix quick add dropdown of add operation from allow-list
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8548
GitOrigin-RevId: 3b90caf1c7d0a36176a2708609b976f833f1be77
2023-03-30 06:27:39 +00:00
paritosh-08
e317c1a53f
server: add new metrics for scheduled triggers
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8401
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 0cdec9e7b5e9251bf7c8b710b7552d065d62e195
2023-03-30 05:52:54 +00:00
Philip Lykke Carlsen
e40e89d2d7
refactor(test-harness): Split up and move Harness.Test.Schema
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8545
GitOrigin-RevId: 9069737c23a286b3cefab59714064beac1465295
2023-03-29 17:40:33 +00:00
paritosh-08
b7bae6dfec
server: add new metric for event trigger observability
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8380
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: df7d5c53668fc84e7d70d471e29774136f5d560a
2023-03-29 16:48:19 +00:00
paritosh-08
677a972956
server: improve connection template error message
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8517
GitOrigin-RevId: 3240e569322f3c9bf9376bbf4ea01c5d48218f07
2023-03-29 13:37:33 +00:00
Rob Dominguez
86c9982c51
docs: add pointer to support from policies index
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8481
GitOrigin-RevId: c27a4f6df2b227ca7f5c71e4ae73c85587f7c735
2023-03-29 12:16:49 +00:00
Karthikeyan Chinnakonda
f5ffeeba52
Process scheduled events with a timeout
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8542
GitOrigin-RevId: f6c9300af3d038d17848ac0c001a6044dbafa464
2023-03-29 11:26:12 +00:00
Naveen Naidu
4e3dbed938
server: revert changes to created_at column of 'hdb_catalog.event_log'
...
This PR reverts the following two commits:
1. https://github.com/hasura/graphql-engine-mono/pull/8287
2. https://github.com/hasura/graphql-engine-mono/pull/8467
We are undoing a migration that was done on `hdb_catalog.event_log` table which was done in d4ae6a517da63f2f43567dc16fda135b3cd1d7e6 . And as such, users who were using event triggers on that version will come across the error:
```json
{"detail":{"info":{"code":"not-supported","error":"Expected source catalog version <= 3, but the current version is 4","path":"$"},"kind":"catalog_migrate"},"level":"error","timestamp":"2023-03-28T10:17:24.289+0530","type":"startup"}
{"code":"not-supported","error":"Expected source catalog version <= 3, but the current version is 4","path":"$"}
```
To fix these errors please run the following SQL on the source where event triggers were created on:
```
UPDATE hdb_catalog.hdb_source_catalog_version SET version = 3, upgraded_on= NOW();
ALTER table hdb_catalog.event_log ALTER COLUMN created_at SET DEFAULT NOW();
ALTER table hdb_catalog.event_invocation_logs ALTER COLUMN created_at SET DEFAULT NOW();
```
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8534
GitOrigin-RevId: b6bbcce0163c8beed80619d3cea056e643b8c180
2023-03-29 10:33:30 +00:00