Commit Graph

7035 Commits

Author SHA1 Message Date
Mihir A Khandekar
8f40ff0953 CPS-861 show hasura ee logo for ee classic consoles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9093
GitOrigin-RevId: f48d8f843d3a88d04dd8fd5060cad055b43950bf
2023-05-09 17:20:42 +00:00
Daniel Chambers
89e3cca8b3 Use sets instead of lists in the Data Connector API types where the order of the list is irrelevant
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9089
GitOrigin-RevId: 292f68a4b44ed75ae6e336da57f02f40e6ded26f
2023-05-09 16:51:10 +00:00
Daniel Harvey
0da011f272 chore(server): move Lenses into RQL.IR.Select.Lenses
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9096
GitOrigin-RevId: 09d69af150f66309b523133c70364f96de40d9cb
2023-05-09 16:22:53 +00:00
Daniel Harvey
a51856c159 chore(server): resolve Native Query object relationships in schema cache
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9092
GitOrigin-RevId: 9c46188f0bc613e553c9e9c267a189efb1de8464
2023-05-09 15:50:13 +00:00
Jigyasu Arya
4b492e1d79 docs: add new product launch webinar banner for mysql, oracle & mariadb section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9091
GitOrigin-RevId: 215ba8051eb957f751258a22562eef3980de8c85
2023-05-09 14:50:49 +00:00
Rikin Kachhia
7a28f0a349 docs: update overview pages sidebar labels
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9094
GitOrigin-RevId: f406ba6d7919c964b7d95bbcf1d00d12a8bb2512
2023-05-09 14:28:23 +00:00
Nicolas Beaussart
9667164942 frontend: introduce tags system for libs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9063
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 1f5918b1e56452967a93739ffc21b4cfafbd84e4
2023-05-09 10:43:51 +00:00
Samir Talwar
b1ed4db28d docs: Clarify that aggregations aren't supported for implicit types.
You can't `sum` an `INTERVAL`, unfortunately.

I also removed _docs/.yarnrc_ as it seems to be unused; _docs/.yarnrc.yml_ is the new <del>shit</del> <ins>stuff</ins>.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9070
GitOrigin-RevId: bc0290471dfa1b697340cc926824eaa2dd034542
2023-05-09 09:05:20 +00:00
Daniel Chambers
09d14cfc9d Disable Snowflake agent's relationships capability
[GDC-1189]: https://hasurahq.atlassian.net/browse/GDC-1189?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8934
GitOrigin-RevId: 2fa754f1a38b1b7c00ef1754354172f78eb18590
2023-05-09 01:15:47 +00:00
Matthew Goodwin
54c6197ab7 console: fix stale react-query cache on story switching
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9085
GitOrigin-RevId: bf08d7ab68f1094ecfad1b5fb6e5a4625aa9e01f
2023-05-08 16:39:21 +00:00
Samir Talwar
f42f1111cc CLI: Add test coverage for stored procedures.
This asserts that reading and writing metadata does not modify the stored procedures. We do not provide any support for working with them; this just ensures we do not accidentally corrupt them.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9081
GitOrigin-RevId: 7c9b31f060325cbdffd8803ea085d4957dc1c680
2023-05-08 14:46:37 +00:00
Erik Magnusson
7e2e5190b4 console: create remote relationship instead of local relationship if data source does not support local relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8963
GitOrigin-RevId: 7055b01924a485b387d8cffd8ee3fd014a8ab045
2023-05-08 14:23:26 +00:00
Erik Magnusson
48341c1ff9 console: Separate update into pre_update and post_update
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8918
GitOrigin-RevId: b7e066e951158f5ce1dafb062aef5cc1332d617f
2023-05-08 13:55:34 +00:00
Samir Talwar
f4f1c9f0df docs: Clarify the impact of using an object as input to order_by.
It appears this wasn't clear enough. We are now mode forceful in our recommendation to use arrays for `order_by`.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9067
GitOrigin-RevId: 643964c0bea0650751dd2605c13472c50649c650
2023-05-08 12:25:40 +00:00
Vijay Prasanna
556bb40eea console: add a progress indicator to the track all operation (new tracking UI)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8826
GitOrigin-RevId: 55d28ee1dbecdc428a669cb6758b172d6b43e397
2023-05-08 09:38:30 +00:00
Aaysha
0585be7996 frontend: Skip console onboarding based on url param
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8450
GitOrigin-RevId: 0b3e0c57a5ce35da58f11f0258fcfbe72507f6fc
2023-05-08 08:54:11 +00:00
paritosh-08
a81010d36d server: ignore null form encoded value in action
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9072
GitOrigin-RevId: d89812ad9f32d65b39137f0213ba91e7eae97be3
2023-05-08 08:28:22 +00:00
Samir Talwar
bc8c7406df Remove native MySQL dependencies and code wherever I found it.
This includes:

  - CI scripts
  - Cabal dependency lists
  - Dockerfiles
  - Docker Compose files
  - server test harness code

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9066
GitOrigin-RevId: 509d7931693c4755509d5b8e5bcf50b42cc24769
2023-05-05 22:20:55 +00:00
Matthew Goodwin
61228e2613 console: storybook component for add native query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9011
GitOrigin-RevId: 5d553d4de1772808195c7a87c9f8653183e9656b
2023-05-05 21:43:14 +00:00
Gil Mizrahi
181f780273 WIP IN PROGRESS Query for postgres dc
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9071
GitOrigin-RevId: 863417976f6c2483ba092a8e8d660dfea8aca0a4
2023-05-05 16:31:13 +00:00
Tom Harding
457127a6e2 Remove TemplateHaskell Aeson instances from RQL.Types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8997
GitOrigin-RevId: 741318f65281af7b26a616260baf3a9953707007
2023-05-05 14:38:00 +00:00
Anon Ray
c8df4ec8fb server/caching: collect all remote joins for caching check
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9064
GitOrigin-RevId: 6ad2bfacd2c02e496c7348ec90d281ab8eb84b01
2023-05-05 13:52:07 +00:00
Samir Talwar
37fe99418c dc-agents/postgres: Test on random ports.
The ports we use for testing often collide with other containers that other test suites leave lying around. This is annoying.

This fixes the problem by ensuring that PostgreSQL runs a on random port. FWe can query Docker to find out the allocated port.

I also changed the `make` target to run the agent too (though I kept the old behavior under a different target name).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9053
GitOrigin-RevId: 3ddea297905c0019c5ac42d896f5609f0d079e93
2023-05-05 13:02:02 +00:00
Rishichandra Wawhal
7baac3a5a7 install-manifests: comment offline console assets env var for enterprise/dockercompose
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9068
GitOrigin-RevId: e2f54db51e8fa439a12eff215165fdcd5153ec2b
2023-05-05 12:38:43 +00:00
Daniele Cammareri
608d41757f console: show a popup to suggest users use caching for queries slower than 1s in API Explorer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9041
GitOrigin-RevId: 7f97ad78e340dcda57ed92bb1d769d634db35f79
2023-05-05 11:24:15 +00:00
Rishichandra Wawhal
36064267bd install-manifests: comment offline assets env var in docker-compose
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9060
GitOrigin-RevId: e7804627bad287bef0f081492182d5dbaaa00bbe
2023-05-05 10:53:43 +00:00
Daniel Harvey
285a200a87 chore(server): delete MySQL native backend
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9050
GitOrigin-RevId: 1515fb0efdb1baa05ffe3ff7cf6f230acd0cde29
2023-05-05 10:32:56 +00:00
Daniele Cammareri
3f113802cb console: add support for x-www-form-urlencoded payload in import from OpenAPI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8781
GitOrigin-RevId: 81b79b1fe0e16024703c2cbc9df53ebb81f9cfb4
2023-05-05 09:51:33 +00:00
kodiakhq[bot]
2d839548af server/benchmarks/ci: benchmark graphql-engine-pro instead of oss
pro is a superset of the functionality of oss, so it's a better target,
and we expect benchmark results to be indicative of oss.

also tweak regression report view, tune highlighting of throughput benchmarks to be more lax

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8897
GitOrigin-RevId: c2d89cb61a841c9b5c76203bdcb4756ae9d7381f
2023-05-05 09:30:35 +00:00
Nicolas Beaussart
8b447a5880 frontend: switch to yarn berry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9052
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
GitOrigin-RevId: d9c8bc29f9309247944d130d545c6dcaccff366a
2023-05-05 08:57:54 +00:00
Rikin Kachhia
b4ca49fc8d docs: fix broken link in migrations docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9058
GitOrigin-RevId: ebedd041877cac8dc59cb62d2c405860b643be2b
2023-05-05 08:06:39 +00:00
Daniel Harvey
1181ca78a3 feature(server): metadata for native query -> native query object relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9026
GitOrigin-RevId: 5a0528ed48f6e0d2e9a3e7f5d3090a0208dad3e1
2023-05-04 14:33:06 +00:00
Sean Park-Ross
69556fe721 Docs: Event Trigger Delivery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8307
GitOrigin-RevId: 8dc024d5eb185e789ddf97e95ff4c355ef554dc4
2023-05-04 14:06:52 +00:00
Vijay Prasanna
38349f89ea console: add storybook component to create a logical model
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8908
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 7ec452b3787f191f11d02c846b9a0080fa918667
2023-05-04 14:03:56 +00:00
Daniel Harvey
cb9056ab8a chore(postgres-agent): introspect table names from database
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9042
GitOrigin-RevId: de2412ee2511d4cd0b72a660a85ac26a3214d735
2023-05-04 13:13:12 +00:00
Gil Mizrahi
d432eb4d3d Use a separate feature flag for stored procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9040
GitOrigin-RevId: f577f34fd773cbc886546d7866e5a77603087a37
2023-05-04 12:45:37 +00:00
Tom Harding
7617355aa9 Remove feature flag on logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8998
GitOrigin-RevId: 2cde88c5d595860aa97a5c8480442a1ff64a4360
2023-05-04 12:09:39 +00:00
Samir Talwar
397e95fc6a Upgrade Citus to v11.3.0 in tests.
Upgrades Citus to v11.3.0 in tests.

This breaks an assumption made by the tests for the `get_source_tables` metadata API, in which data is expected to be ordered. We fix it by explicitly ordering rather than relying on the goodwill of the database.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9039
GitOrigin-RevId: ee86db7e1c264d5009bb0203ac2f3fb2cda7b39f
2023-05-04 11:40:10 +00:00
Aaysha
a20c67da30 console: Add IDs for tracking clicks on buttons during one click deploy
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9043
GitOrigin-RevId: 1bb728e7da36448fc829a29f2784a1d61133e0e8
2023-05-04 11:13:42 +00:00
Daniel Harvey
e62339d20c feat(postgres data connector): Adding initial support for /Schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9018
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 4330c1201bac790b370d3d53d915f8ffe00ba0c9
2023-05-03 21:12:45 +00:00
Sean Park-Ross
3126f0b568 Docs: New What's New Notification
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8966
GitOrigin-RevId: 5bdc8c0b095e18d0b74a8afb7226bed74fd5ba55
2023-05-03 20:50:32 +00:00
Rob Dominguez
f9c55a2a04 docs: refactor metrics table for EE
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9013
GitOrigin-RevId: f867dc5daa22a9a76357280f5079eae5942963eb
2023-05-03 20:27:22 +00:00
Samir Talwar
c1705a09df api-tests: Fix the error messages to match those reported by Citus v11.3.0.
I also pinned Citus to v11.3. This should hopefully stop us from being surprised with random test failures in the future. We will need to bump this every now and again.

I have updated the Makefile to standardize Docker commands, and made sure we start all the containers even when running tests for a single database, as we need to test cross-DB remote joins. This ensures `make test-citus` actually works and runs all tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9035
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 9c36ab65eb05206bfddd639c257d6c5c5cedd2bd
2023-05-03 20:22:26 +00:00
Sean Park-Ross
b91c1f314f Docs: Small Changes 5
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8988
GitOrigin-RevId: 2abe5b949137fb5913d4197a6fa65d08797b0202
2023-05-03 13:46:54 +00:00
Sean Park-Ross
9fcc7f8ccf Docs: Add user ID for upcoming chatbot
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9020
GitOrigin-RevId: 10d9206d764abb33a059536b328f20fb3f03483d
2023-05-03 11:09:53 +00:00
Varun Choudhary
9e65da5429 console: : e2e testing for one-off scheduled triggers
This PR adds e2e testing for one-off scheduled triggers.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8965
GitOrigin-RevId: e2416376d8d5b7c339e32b232d657a5611158069
2023-05-03 11:05:54 +00:00
Philip Lykke Carlsen
c7d4117964 fix: Properly scope root-table references in relations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8976
GitOrigin-RevId: bbb54468f04e1df1d595691ccb21a9d28a4eb010
2023-05-03 10:30:23 +00:00
Gil Mizrahi
56e3bd182a chore(refactor): extract common functionality between stored procedures and native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9028
GitOrigin-RevId: ab5c1ca9c08600a758f07aa81370930c305d6b40
2023-05-03 10:00:56 +00:00
Tirumarai Selvan
ee59a220e1 Update docs for rotating admin secret for Cloud
Since zero-downtime changes in multi-tenant (v2.23), no downtime admin secret rotation works on Cloud as well.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9030
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: ff87980218203c05872327295439640f3909db2a
2023-05-03 09:29:52 +00:00
Vishnu Bharathi
0cf55739ba ci: tag release v2.25.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9027
GitOrigin-RevId: da6af09586664d9f5bc2919f109a9361efc036a6
2023-05-03 09:15:17 +00:00