Commit Graph

5761 Commits

Author SHA1 Message Date
Daniel Harvey
11ff01f3e9 [server] Fix CockroachDB live queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6551
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: e78ce17d3ff5c677360b2927dca04a91e144952e
2022-11-02 11:41:02 +00:00
Mohd Bilal
d63686f8d4 cli: refactor plugins to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6562
GitOrigin-RevId: 8ab6252bd5e3fa716f3c9d546418dfedefd837be
2022-11-02 11:11:54 +00:00
Samir Talwar
dbc027424b Rename relevantEq to (==~) for Ormolu's sake.
Ormolu v0.5 tries to reformat code using operators according to fixity. Unfortunately, it doesn't really understand backticked functions (even when they have an associated `infix` declaration), and so messes up the formatting.

This is probably a bug in Ormolu, but we can work around it by using a symbol operator.

Happy to bikeshed on `==~` (which I am reading as "pretty much equal to"). Please yell at me if you prefer something else.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6651
GitOrigin-RevId: 79af427422194460200b2b48339cdb9ee9b33c33
2022-11-02 10:43:48 +00:00
Stefano Magni
bf551be20f console(platform): Respect the Heap custom events convention
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6520
GitOrigin-RevId: afbf6139fe4bee0e17a90ee1b7a22c8442a75e28
2022-11-02 10:10:40 +00:00
Tom Harding
7df6198b68 Add multiplexed subscription testing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6637
GitOrigin-RevId: a92b333b88c548ba514e69598a86098d8f6243cc
2022-11-02 09:39:47 +00:00
Marion Schleifer
7b4a7917ce docs: fix typo in query tags docs
[Slack conversation](https://hasurahq.slack.com/archives/C041B2DLHJS/p1667350236988359?thread_ts=1667347400.158339&cid=C041B2DLHJS)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6658
GitOrigin-RevId: 2861aae877d125150e92a9f32d370ed2b1894c10
2022-11-02 08:02:19 +00:00
Mohd Bilal
52f21e7261 cli: refactor update package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6524
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 919262c2618a1319441ce3730802c06bd5bd450a
2022-11-02 07:20:53 +00:00
Varun Choudhary
bb0b95dd77 console: fix gql try it button
This PR fix the issue with `GraphIQL Try` button. The issue is when we create a new schema other then public and try the gql operation using the `GraphIQL Try` button, it give the query and all but the query field is just only table name not the schemaName_table name so it will give me an error saying that query_field doesn’t exist

[Slack thread](https://hasurahq.slack.com/archives/CKATHV1J7/p1667214392972649?thread_ts=1667202504.721889&cid=CKATHV1J7)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6635
GitOrigin-RevId: e1403db0c3e63d88d2380fe1137137329910f990
2022-11-02 06:50:43 +00:00
Mohd Bilal
1538490bdd cli: refactor migrate/database/hasuradb package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6514
GitOrigin-RevId: c4d83b28d8550f61167b6f4270166b9513f89891
2022-11-02 06:14:46 +00:00
Karthikeyan Chinnakonda
9177335c31 Source catalog migrations minor enhancements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6531
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 51dd55692f59d6ad0fd54674fb7d3ce00d5d83dd
2022-11-01 22:42:40 +00:00
Solomon
f5c68ee49e Fixes chinook table/column customizations to have consistent casing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6642
GitOrigin-RevId: 629879fa057c3860aac1c3a83d2dfd199edb44e1
2022-11-01 22:08:59 +00:00
Lyndon Maydwell
4b968b17e0 ConfigSpec Data Connector Agent Test
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6616
GitOrigin-RevId: dd5582cd6b61b7412d931035c043daa5fbb55c71
2022-11-01 21:38:12 +00:00
Daniel Harvey
cc87b25373 [tests] - allow Postgres source DB port to be overwritten in api-tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6646
GitOrigin-RevId: b96a68c5eab1ac33a226d2d89141e0de9eaeff93
2022-11-01 21:05:00 +00:00
Tom Harding
fbcf90d56f Add a test for Distinct queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6426
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 65387489ab0cabe0cb520799821380732ecef3e7
2022-11-01 19:58:46 +00:00
Rob Dominguez
600aaf9358 docs: add sla and update index
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6328
GitOrigin-RevId: 44aad1bee8189092901cd0b7890ab2102ec4ee8e
2022-11-01 18:04:34 +00:00
hasura-bot
d047ecefe2 docs : Updated screenshots in the docs fixes #8998
GITHUB_PR_NUMBER: 9148
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9148

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6500
Co-authored-by: Ayush Bajaj <68808280+BajajAyush@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 85eb4ceb11c5699ae8435740c0232d50ac623c6f
2022-11-01 17:33:34 +00:00
Auke Booij
29b2161402 Add benchmarks for allowlist operations
There are some incremental Metadata API methods that have no good justification for taking so much time to complete. This adds some of them to the CI benchmark suite, so that we can track their performance.

I have a prototype to speed up some of these methods 10x; see hasura/graphql-engine-mono#6613.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6627
GitOrigin-RevId: fecc7f28cae734b4acad68a63cbcdf0a2693d567
2022-11-01 17:28:15 +00:00
Daniel Harvey
4e630170ac [tests] Add Yugabyte to docker compose
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6532
GitOrigin-RevId: 1915c8f073ffb5f97d9e92faf436a8f03f4694b7
2022-11-01 15:19:18 +00:00
Vijay Prasanna
309ede358e fix (console): wrong UI form for editing local relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6645
GitOrigin-RevId: c63fa72340fe345fb1278723ad173059b7d9c540
2022-11-01 12:46:23 +00:00
Samir Talwar
5613edbef9 Upgrade the beta version of CockroachDB used in testing.
The old version has been removed.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6641
GitOrigin-RevId: e74aff038d3f8a59c82905d14d0f244e9dba4476
2022-10-31 23:10:13 +00:00
Vishnu Bharathi
9318cb2533 ci: tag release v2.15.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6639
GitOrigin-RevId: e8b73f1eed61c279bf53b90339dba5f09f0e2d9a
2022-10-31 15:58:31 +00:00
Gil Mizrahi
925db48839 update feature matrix roach distinct
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6631
GitOrigin-RevId: 1b91337c49621a7f3f453a264ad2ed1c8055c648
2022-10-31 15:21:47 +00:00
Stefano Magni
f24ef6ced5 console(fix, plaftorm): Fix the E2E tests lint process
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6550
GitOrigin-RevId: ff31b5990fc1d27e64346289a13e0dadab7883ea
2022-10-31 14:00:51 +00:00
Stefano Magni
41d31fba10 console: Avoid tracing some GraphiQL errors in Sentry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6603
GitOrigin-RevId: 779a6d31298ec2152d7088b31f02f00002ece226
2022-10-31 13:32:35 +00:00
Varun Choudhary
2bc05c1697 docs: add action response transform
This PR adds docs for the console support of action response transform.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6622
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: 215b6df9fc7e7f27e4cbd9798ba5a97d66b91138
2022-10-31 12:30:05 +00:00
hasura-bot
c92988bcbf Updated Screenshots In Docs (close #8883)
GITHUB_PR_NUMBER: 9087
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9087

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6264
Co-authored-by: sujithkumardola <47243708+Sujithkumardola@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: bccfb25a64237ffab44f89b462fc989577ee396a
2022-10-31 11:59:45 +00:00
Gil Mizrahi
b1894403a2 update the docs to exclude distinct_on for cockroach
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6604
GitOrigin-RevId: 99fe8d32faa950fe34e64e60e30875d1fa38713b
2022-10-31 10:53:42 +00:00
Mohd Bilal
5cffe3d723 cli: refactor migrate/source package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6512
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: ea3fd23e2783a2934eda061c31aed82a69f691f4
2022-10-31 10:17:15 +00:00
Erik Magnusson
e784e33d3d console: quickfix for missing redux prop props
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6626
GitOrigin-RevId: 9b4d014086603cb64fb89b580c4f28ad9120ee1a
2022-10-31 09:44:51 +00:00
Mohd Bilal
27875e0260 cli: port internal/hasura/v1metadata package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6378
GitOrigin-RevId: 5551a12f19f492bd34de6bb56b44f33d9386b53d
2022-10-31 09:14:10 +00:00
Mohd Bilal
a8a37b246b cli: port internal/hausra/sourceops/mssql to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6369
GitOrigin-RevId: a1dee4ec7bf2e3ef2d5b457e47cc4e0d1a6f7c07
2022-10-31 08:40:44 +00:00
Vishnu Bharathi
c729bd0ef3 ci: tag release v2.14.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6624
GitOrigin-RevId: a36d030369cc5572b9d11b4a65fd7294ece1fd56
2022-10-31 08:10:33 +00:00
Mohd Bilal
5a13c271f8 cli: port internal/hausra/sourceops/citus to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6367
GitOrigin-RevId: c71fdcf8c0422df899ca5054ae69eeedc157ac0d
2022-10-31 07:45:06 +00:00
Mohd Bilal
fa06d48b03 cli: refactor pkg/console package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6521
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: bf85f0561441360295fddaf6cda100c7b17af76a
2022-10-31 07:19:44 +00:00
hasura-bot
659b340ffa partial submission for docs:capitalization of headings #8885
GITHUB_PR_NUMBER: 9072
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9072

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6201
Co-authored-by: Phuong-Cat Ngo <44314126+catcecilia@users.noreply.github.com>
GitOrigin-RevId: 96fa8807ded210e3d384cb7d4181088804c01fb6
2022-10-28 17:42:52 +00:00
Vijay Prasanna
ae9d1308e6 fix (console): issue with opening create relationship form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6611
GitOrigin-RevId: 436608571ae1d4bd2d35c93a747d6c5fe05e6529
2022-10-28 17:37:11 +00:00
Stef Moreno
3ceb9171e1 docs: fix MS SQL connection string
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6607
GitOrigin-RevId: 2884588c41836352b65fe8226f2a91c8bdc525ab
2022-10-28 16:27:50 +00:00
Stefano Magni
2643fef930 console: Prevent using analytics-related props on React components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6544
GitOrigin-RevId: 9f461c73f28b9d8d310fe6dfd02f4224a33ba156
2022-10-28 16:23:47 +00:00
Rob Dominguez
712d3e4a9d Docs: Reorganize guides, tutorials, resources section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5273
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: c6b7bdaba648d49f37c315a5dd53497f42b6cbd6
2022-10-28 14:00:51 +00:00
Matthew Goodwin
bc15959bb7 fix (console): submitting GQL table customisation fails to merge correctly for root fields
This is a small continuation of this PR. It got merged before I could get these additional fixes in:

https://github.com/hasura/graphql-engine-mono/pull/6561

This PR addresses:

- Issues correctly merging custom root fields when saving that resulted in saved changes sometimes not saving
- Implements a fix @vijayprasanna13 made to issues with saving custom column names in a slightly refactored version of the same concept.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6575
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 161ad46a8c667e022447a89aca057fd7f07379a7
2022-10-28 13:55:50 +00:00
Mohd Bilal
3760b377b1 cli: refactor version package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6509
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 56c534327883de52ee93eeb4a83c9329fde6ec94
2022-10-28 10:00:12 +00:00
Mohd Bilal
e814260ccc cli: refactor util package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6508
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 41f4842593a7226966c53ffd6314809adbd72266
2022-10-28 09:32:21 +00:00
hasura-bot
3ca779797d server: deduplicate Postgres function names with HashSet (close #8888)
GITHUB_PR_NUMBER: 9112
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9112

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6353
Co-authored-by: Daniel Shuy <17351764+daniel-shuy@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: ebfb57b98fe93b86d5319dc78ac1308e00941a2e
2022-10-28 08:24:25 +00:00
Aravind K P
22ec874069 cli: port statestore/settings to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6492
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: 409b220908d773cc6b45bc7ebe11a6ea950e9d35
2022-10-28 07:51:58 +00:00
nevermore
f36b5697c0 console: Analytics cleanup in Neon Components
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6539
GitOrigin-RevId: 3e257247e65a9349e76e1485a2ab36383d94bcc6
2022-10-28 07:17:46 +00:00
Aravind K P
f82fc6d420 cli: port pkg/metadata to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6490
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: 10b2ddbd534895c28bc69a6cf1a68229f67e8e3d
2022-10-28 06:47:58 +00:00
Erik Magnusson
03b76e40e1 console: refactor browse rows to decouple redux
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6439
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 2088552f782faebbe3edfba8a2707733a67e89dc
2022-10-28 06:10:51 +00:00
Vishnu Bharathi
348668a3c5 ci: tag release v2.13.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6593
GitOrigin-RevId: f91405a0ea5b7204c944b7f247e10f0d88c88d57
2022-10-28 05:38:33 +00:00
Erik Magnusson
b19f41280b console: enabled cockroachdb as beta
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6565
GitOrigin-RevId: 615fd753618e87662456d68c3006c79abaa210e8
2022-10-28 05:21:05 +00:00
David Overton
87bcdb97c7 Use JSON instead of GraphQL for comparison operators
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6563
GitOrigin-RevId: 0819414df199292e0146ce3009295ce3e49f2439
2022-10-28 01:14:09 +00:00