Commit Graph

6150 Commits

Author SHA1 Message Date
Luca Restagno
9882ddb2a5 console: fix edit postgres row with generated always (close #9389)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7708
GitOrigin-RevId: a8e2e8aa14c1e88ec0f5f587b533fa3e4da900c1
2023-01-30 15:12:15 +00:00
Vishnu Bharathi
54d5039180 ci: tag release v2.18.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7709
GitOrigin-RevId: 7a8397078d0d65f416214cff9c508c9ea0627ea0
2023-01-30 13:45:59 +00:00
Samir Talwar
3c470211fc test-harness: Use the default PostgreSQL port if none is specified.
This means we don't need to include the port in the connection string.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7683
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 3f6fb3fe4cb246a2fc593a2aea3820cf2c0e0e2c
2023-01-30 12:49:55 +00:00
Auke Booij
c36c085016 server: enable all the warnings (that we can)
See [Enable all the warnings](https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3). This PR follows that approach, except that it re-disables those warnings that would prevent a successful build.

There are some newer warning flags that older GHC versions don't recognize. So this also updates some of our CI routines to the GHC version that we're currently using for `graphql-engine` itself, namely 9.2.5. I don't see a reason to keep testing those libraries against older GHC versions.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7614
GitOrigin-RevId: d48a6db09dab29616e273549d0045f98ecb4586f
2023-01-30 11:24:49 +00:00
Aravind K P
a0c5e1669b cli: support ee-lite in CLI console
Closes https://hasurahq.atlassian.net/browse/PLAT-351

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7256
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Manas Agarwal <5352361+manasag@users.noreply.github.com>
GitOrigin-RevId: 5096e76f11ab2860fae9fa7cd71c9afaead20cc0
2023-01-30 09:28:28 +00:00
Solomon
f7d40519ce [Nix] Adds dc-api overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6889
GitOrigin-RevId: 3ede55fc3a921f4712f1736f338fb46a3e1a1ce7
2023-01-30 08:34:53 +00:00
Nicolas Beaussart
5c421aca95 console: hotfix neon auth back in console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7700
GitOrigin-RevId: 825e0c6214b35197c361235f957f081644b75085
2023-01-30 07:54:46 +00:00
Daniel Chambers
0abfc97df7 Implemented datasets support in Data Connector agent test suite
[GDC-718]: https://hasurahq.atlassian.net/browse/GDC-718?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7654
GitOrigin-RevId: 1d036cd39f717fce1ce0176103e40a1309ded3af
2023-01-30 07:00:26 +00:00
Rakesh Emmadi
ab99215828 server: log when events of scheduled & event triggers are fetched from database for delivery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7651
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 3149dae41c6a8a16caa1d44fbc0606451d6d2cfa
2023-01-30 06:08:08 +00:00
Solomon
7842bc34ee Refactor/move namingcase default into arg merging
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5289
GitOrigin-RevId: 39c5a5b839534dc5416d62ca20c5051ae4d8ef57
2023-01-30 05:00:54 +00:00
Varun Dey
16bde2ef34 console: User login with additional scopes for neon API v2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7655
GitOrigin-RevId: 7c6971c211f6666d229f51cc5455a6dccde7dda0
2023-01-28 13:43:03 +00:00
Jesse Hallett
b5e6f48d99 server: codecs for query collections
This is the complete set of codecs to cover the top-level `query_collections` field of `Metadata`.

Ticket: https://hasurahq.atlassian.net/browse/GDC-523

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7351
GitOrigin-RevId: 7a1a46e5006e1c5e25fba6ea4775270c70bc2785
2023-01-28 00:07:20 +00:00
Nicolas Beaussart
77a1c71e06 ci: setup smoke test for the ee console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7696
GitOrigin-RevId: 6cefc9f6a4e9a88457c8890bd7e37fbfe2aafa86
2023-01-27 17:13:20 +00:00
Antoine Leblanc
503fc6d7ae Fix libs' test config.
### Description

This fixes the libs' test config: without that line, hspec fails to run at build time. I haven't tried actually running the tests now that they build, fwiw.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7694
GitOrigin-RevId: 03d7bc969c4bd195e84080d50f1f6441a1d8d50f
2023-01-27 16:32:45 +00:00
Rob Dominguez
59eedc2fbf docs: scope style rules
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7681
GitOrigin-RevId: 03d8e8a237cf3cfa77a1f21267706b9297dccb90
2023-01-27 15:19:26 +00:00
Antoine Leblanc
128f8ca41e Disable documentation by default
### Description

Disable building documentation by default in the local build config.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7695
GitOrigin-RevId: c5c61e7ad7890ebac87365ab68ea7496c89cef3e
2023-01-27 15:13:03 +00:00
Daniel Harvey
4b0c737f0b [server] re-add native sql output
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7692
GitOrigin-RevId: c4e8d6ff2defe6c0ecd96a7233636fe0ebae1a85
2023-01-27 14:38:07 +00:00
Samir Talwar
b87314d9cf docs: Update the Azure Postgres guide to use the Flexible server mode.
"Single server" mode is deprecated by Azure, and does not support recent versions of PostgreSQL. We have also found a bug in it regarding timeouts.

Let's stop encouraging people to use it, instead favoring the new "Flexible server" mode.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7685
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 32639e72f20311cba4bb58f3b56aef1297290e78
2023-01-27 14:02:02 +00:00
Samir Talwar
cf3da2cec7 test-harness: Remove unnecessary indentation in runApp.
Not sure why there was so much nesting, but I did not like it.

Just a bit of cleanup while I was nosing around.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7684
GitOrigin-RevId: a17c94561fe1688d35a51afa5dfda37a7ea35d25
2023-01-27 11:15:11 +00:00
Daniel Harvey
4c20c46bdd [server]: revert native sql output
Reverts hasura/graphql-engine-mono#7617 whilst we look at server upgrade / downgrade tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7690
GitOrigin-RevId: e6e48f1bd90a8db36f372bf9f09c26e43d123ce5
2023-01-27 10:05:16 +00:00
Vishnu Bharathi
e20925850f ci: tag release v2.17.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7688
GitOrigin-RevId: 247e9b8e4299114064497be429f62aecbb20e747
2023-01-27 09:00:09 +00:00
Solomon
aff9f89ced [Nix] Add pg-client-hs overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7675
GitOrigin-RevId: 72d284fcc75f3cbf415ee22773172ea9382a3db9
2023-01-27 04:21:16 +00:00
Stefano Magni
f5ea2e6b5a console: Add the OpenTelemetry settings
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7665
GitOrigin-RevId: 9d150ec5137f8c2f8d1f0a921aa4a686720070a1
2023-01-27 00:45:53 +00:00
Solomon
c6b28b56d1 [Nix] Adds aeson-ordered overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7674
GitOrigin-RevId: c59b67313219a54d1f9e53db2167d93bc59c859e
2023-01-26 21:55:23 +00:00
Daniel Harvey
b80113912c server: generate native access sql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7617
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 48e0ccdda50a09bcbad1a86b7015a02f883889ab
2023-01-26 18:02:44 +00:00
Daniel Harvey
19d82c8fee [tooling] add make build-console-assets
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7680
GitOrigin-RevId: ff9f380d68df9085977462b8752e38cb752ae8a7
2023-01-26 14:45:33 +00:00
Solomon
8607769e51 [Nix] Adds resource-pool overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7673
GitOrigin-RevId: f4f28c9d3e7f8f79a52fc3a4237ab989fa1096ed
2023-01-26 14:41:41 +00:00
Stefano Magni
11294d2876 console: Fix the E2E tests in the frontend directory
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7661
GitOrigin-RevId: 3877a3b001da24e7e7db90fe51973695f5bb4c1e
2023-01-26 11:19:32 +00:00
Vijay Prasanna
6f32cc20c9 feature (console): add component that allows user to map RS fields to table columns
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7644
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 496a64abda035392fbad0a055d8d3bdb63bdbb84
2023-01-26 10:23:16 +00:00
Sean Park-Ross
5327fae8e4 Docs: Improve Creating Projects and Connecting Databases
[DOCS-425]: https://hasurahq.atlassian.net/browse/DOCS-425?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7609
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 8a395448ae820ecde8d36115a4ed7f70d2dd491c
2023-01-26 09:45:24 +00:00
Daniel Harvey
ab9c56b343 [server] allow feature flags to be overwritten by env vars
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7659
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 2a64ff09118aa0b5cbf494c45e4b178de366236b
2023-01-26 09:41:39 +00:00
awjchen
0680550fd7 Update ekg-core to a version without spinlocks
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7670
GitOrigin-RevId: 3b58f83bb23246c19ece3001747b95c942d9ad02
2023-01-26 01:15:18 +00:00
Matthew Goodwin
094f35666f refactor (console): Custom field names modal [GDC-654] [NX Migration Redo]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7666
GitOrigin-RevId: 914ed0935faa266716bdcd8ef0eca0304e5a0b0d
2023-01-26 00:00:57 +00:00
Nicolas Beaussart
09c9cf8b46 frontend: apply prettier
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7668
GitOrigin-RevId: 0ed901780092994ae40c2c57557c5854812a91b2
2023-01-25 20:55:24 +00:00
Abby Sassel
221af57e53 server: add troubleshooting advice for make test-sqlserver failure
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7663
GitOrigin-RevId: dfdfbcc0d36e67b6cb3b3b859d03c87f1153a980
2023-01-25 17:02:31 +00:00
Luca Restagno
7ff73d34c6 console: fix handling of bigint arrays
[NDAT-469]: https://hasurahq.atlassian.net/browse/NDAT-469?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7649
GitOrigin-RevId: 6c30a3a18db2e24786a540aebb8e6af61a4ac18b
2023-01-25 14:47:14 +00:00
Sean Park-Ross
ee18dbe8c2 Docs: Heading pill CSS fix
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7660
GitOrigin-RevId: 37a4b9dbb6f97ced3f751717024b7290e2de799e
2023-01-25 14:11:35 +00:00
Nicolas Beaussart
2c3d91b033 frontend: switch cli and server to use the new nx assets
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7533
GitOrigin-RevId: 8adde90a90115c2782dc77b9f30297499f22acab
2023-01-25 12:07:01 +00:00
Nicolas Beaussart
b893460759 console: fix cypress tests not running
GitOrigin-RevId: ca208e2248fcce9aa75da00ec06558aa1a49b983
2023-01-25 11:25:03 +00:00
Nicolas Beaussart
152cc6151c frontend: modify the code to have it work in nx
GitOrigin-RevId: e564d86de44bf81e708ca2c40bb505dec01076ce
2023-01-25 11:24:54 +00:00
Nicolas Beaussart
6849237a58 frontend: make a archive copy of the console files just in case
GitOrigin-RevId: a4074a537809b256caff6a16ef4b1d3853fcb16c
2023-01-25 11:24:46 +00:00
Nicolas Beaussart
bdcbda5f54 frontend: migrate console to the new frontend folder
GitOrigin-RevId: bde5a5e36ff0093d141f666b9183caafefa39cf8
2023-01-25 11:24:38 +00:00
Nicolas Beaussart
6203a280db frontend: prepare nx migration by removing the old copied files
GitOrigin-RevId: 07e74dcd87e84610efab22c1645d82db378df31f
2023-01-25 11:24:27 +00:00
Rakesh Emmadi
f2a5d7cef3 server/pro/multitenant: Postgres connection routing using kriti templates
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6822
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 61cfc00a97de88df1ede3f26829a0d78ec9c0bc5
2023-01-25 07:14:31 +00:00
Solomon
6c7882aa3e GDC Snowflake Integration Tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7528
GitOrigin-RevId: f90ee61899349735dc2fc0fbe6ed499614630a0f
2023-01-25 05:54:31 +00:00
awjchen
12fdac004f server: fix tracing bug where some errors prevent spans from being emitted
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7450
GitOrigin-RevId: 23f6c9cfea8e7ca64b39866d15d2e6187aaaa0d9
2023-01-25 03:38:21 +00:00
Daniele Cammareri
787c8b2b50 console: storybook component for import from OpenAPI beta version
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7618
GitOrigin-RevId: b9cefcca2b78f3dfb73dc76bd0ce320a87e00c57
2023-01-24 18:23:17 +00:00
Nicolas Beaussart
57e62c3d40 frontend: fix storybook not running
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7646
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: cc26aff8d9241bfbec1c019da9f681ec62a76ea3
2023-01-24 17:17:33 +00:00
Daniele Cammareri
bd0533fcf3 console: add support for array as query param in import from OAS
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7630
GitOrigin-RevId: ce8a374b055c4ced7bb6fddebdc11016a5787d23
2023-01-24 15:31:55 +00:00
Varun Choudhary
9138a09d3e console: remove cleanup_config from create event trigger metadata call for oss
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7571
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 8d5127bb98e9f990640324d73851c320530cd3f8
2023-01-24 12:39:28 +00:00