Commit Graph

1298 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Matt Hardman
72dbafc319 console: add permissions form to work with GDC
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6558
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 6ec7ca366a9a1aea987ca1a2c14811d4c44e4d60
2022-10-27 21:50:16 +00:00
Erik Magnusson
fa98bfc8ee console: fixed misspelled cockroachdb in database connect form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6564
GitOrigin-RevId: ce19d5ec3b74cca6f34435cbe96aa0da3ca5aed7
2022-10-27 16:55:57 +00:00
Erik Magnusson
2029e20d0c updated ssl certs to only be enabled on pro/cloud versions for cockroach
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6529
GitOrigin-RevId: 7281a213b382c5801fc4583cfdf178102b676470
2022-10-27 14:44:12 +00:00
Varun Choudhary
bdf1aee641 console: console support for actions response transform
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6455
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 82040e5a05c035f3319a94cfb6dd94acb5259505
2022-10-27 14:07:25 +00:00
Vijay Prasanna
4589af44b4 fix (console): unable to remove custom_name for a GDC table's column
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6566
GitOrigin-RevId: 518a99ae63b3157fb0331be0eec49146a8499a54
2022-10-27 12:56:53 +00:00
Abhijeet Khangarot
6b1bda87b4 console: remove feature access check for neon
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6470
GitOrigin-RevId: 99d7ab426fedb086693af35d07958be7f7b6df75
2022-10-27 11:16:41 +00:00
Matthew Goodwin
7ecc6849e0 fix (console): submitting GQL table customisation erases other table config info on metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6561
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: a72c349d74faf9ef8f55ff17fc904aed9c741798
2022-10-27 05:45:19 +00:00
Rishichandra Wawhal
68ba302bcf console: remove code related to the sample DB experiment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6467
GitOrigin-RevId: 5a3fbc3c7d8d3947b5e7bad66140aaf11fa6ad8d
2022-10-26 15:55:15 +00:00
Vijay Prasanna
374846b63b refactor (console): sub routes for managing gdc tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6546
GitOrigin-RevId: 3876c171558dbd2b72881b79b181c52e3a331b11
2022-10-26 14:59:34 +00:00
hasura-bot
a2e6e50e27 Fix broken links
GITHUB_PR_NUMBER: 9138
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9138

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6462
Co-authored-by: arpitpandey0209 <9442768+arpitpandey0209@users.noreply.github.com>
GitOrigin-RevId: 85ce1a190477803f553deb31c1c95b512fa3fca0
2022-10-26 14:22:19 +00:00
Stefano Magni
b74050db09 console(fix): Fix the frequent target.closest.querySelector error
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6528
GitOrigin-RevId: 6895c8ecd2bc1bf6add265ab3520397c229033a9
2022-10-26 12:46:03 +00:00
Abhijeet Khangarot
9834acdb8a console: add tests for install metadata and migration template hooks
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6110
GitOrigin-RevId: 4ea89f60ba719ae8210d700893fcf30a4c4aab0a
2022-10-26 11:04:35 +00:00
Matthew Goodwin
2a64d1a002 feature (console): allow user to update GQL configuration for GDC source tables from the Modify Tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6463
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: b583d1d7e4eef4e796b820903a6be9c4e32fa316
2022-10-26 08:28:12 +00:00
Matt Hardman
0ed17e543c console: implement permissions builder for GDC
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6429
GitOrigin-RevId: ce956e93920f7edcd032814e6f7b4daad068bb77
2022-10-26 06:58:15 +00:00
Vijay Prasanna
7452472726 feature (console): allow user to add/update/delete local relationships for GDC sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6443
GitOrigin-RevId: bb4537438cd256c80be10759a1475d666014a284
2022-10-25 21:31:02 +00:00
Rikin Kachhia
a1b2882c70 console: fix API explorer headers action icons alignment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6525
GitOrigin-RevId: 535e7d74ae0397fa34fc2aefcb99fc2377e6a498
2022-10-25 16:04:56 +00:00
Erik Magnusson
e40b10b428 console: added ssl mode information to cockroach db
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6522
GitOrigin-RevId: aa5f1d881522c304d424d6927477d063d52467dc
2022-10-25 14:01:01 +00:00
Vijay Prasanna
f5c7eac7fd feature (console): allow user to edit column comments and custom GQL field names for GDC tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6469
GitOrigin-RevId: b08f45788966e7bf1636adf55939308432d64397
2022-10-25 12:16:48 +00:00
Erik Magnusson
4c216cd2e7 removed dependency of needing gdc to be enabled to reach connect db page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6516
GitOrigin-RevId: 8c9a42fd87b16b48d0b296a7160566df129b3b80
2022-10-25 09:57:03 +00:00
Luca Restagno
49e9c47db3 Docs: improve Console contributing instructions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6471
GitOrigin-RevId: bec885589e9e8e631e73dc288dea60375d5e9248
2022-10-25 08:14:52 +00:00
Erik Magnusson
3fee21f2a0 console: disable connection parameters field for cockroachdb
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6495
GitOrigin-RevId: e23a1212c3e35bc2dec5dccca5a8eda0a1636402
2022-10-25 06:25:58 +00:00
Stefano Magni
040a281392 platform(console): Refactor everything Analytics
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6153
GitOrigin-RevId: e0dea3acf995d8f73eed8fabae374e215ebcd964
2022-10-24 08:30:01 +00:00
Samir Talwar
c3afa0fdd7 Install and use ODBC Driver 18 for SQL Server (msodbcsql18).
This installs the ODBC Driver 18 for SQL Server in all our shipped Docker images, and update our tests and documentation accordingly.

This version supports arm64, and therefore can run natively (or via Docker) on macOS on aarch64.

`msodbcsql17` is still installed in production-targeted Docker images so that users do not _have_ to migrate to the new driver.

Nix expressions are packaged for the new driver, as it is not yet available in nixpkgs.

In this version, [the default encryption setting was changed from "no" to "yes"](https://techcommunity.microsoft.com/t5/sql-server-blog/odbc-driver-18-0-for-sql-server-released/ba-p/3169228). In addition, "mandatory" and "optional" were added as synonyms for "yes" and "no" respectively.

I have therefore modified all connection strings in tests to specify `Encrypt=optional` (and changed some from `Encrypt=no`). I chose "optional" rather than "no" because I feel it's more honest; these connection strings will work with or without an encrypted connection.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6241
GitOrigin-RevId: 959f88dd1f271ef06a3616bc46b358f364f6cdfd
2022-10-21 16:25:04 +00:00
Luca Restagno
b591d68d81 Console: refactor the table Modify tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6419
GitOrigin-RevId: 620e37be5275e339bff2d3da6758d894f035987f
2022-10-21 09:52:06 +00:00
Erik Magnusson
631f3994c2 console: added cloned row values to payload if they exist
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6447
GitOrigin-RevId: 23e7dd1e5a4cd3c79835f750fff1404fdf134da2
2022-10-20 14:36:50 +00:00
Vijay Prasanna
a9c887cd16 tests (console): add tests for getTableName util function
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6375
GitOrigin-RevId: 82acd22d60a878c6619158637290c923cd8b43f0
2022-10-20 11:35:16 +00:00
Nicolas Inchauspe
c274cb8a44 console: Prometheus settings in console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5743
GitOrigin-RevId: 6c6a10cabaf70437508b377fc9bb30b40537429e
2022-10-20 10:35:27 +00:00
Matthew Goodwin
afa1b27969 GDC Modify Tab - Table Comment and Table Columns
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6349
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 6053990f341b1fcc4e20371f14fa60dccc4c40f0
2022-10-20 05:18:47 +00:00
Nicolas Beaussart
dd493c1781 ci: bump memory to 4gb for node related pipelines
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6436
GitOrigin-RevId: 4dd6779bdfbbba40e47de88b05be30f62b545d22
2022-10-19 21:01:34 +00:00
Vijay Prasanna
ff94621ea0 chore (console): format changes on mockServiceWorker.js
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6431
GitOrigin-RevId: ff59eaab924e3884ac65badeb3283e9307d8d753
2022-10-19 10:16:34 +00:00
Daniele Cammareri
e91cba835b fix remote schema permissions with null default value
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6414
GitOrigin-RevId: 1b902b1ac7c541bdd79f933ef6fc008f875b517a
2022-10-19 06:46:55 +00:00
Vijay Prasanna
67087043c9 feature (console): allow user to view and update existing filter/sort(s) on GDC browse rows
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6344
GitOrigin-RevId: 5118ca2299753a0c8742662e5493bb97baf16d9c
2022-10-19 03:46:22 +00:00
Daniele Cammareri
e13ff5babe fix remote schema permissions with interfaces
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6417
GitOrigin-RevId: c3df729df040ea11ec61cf75536c8dec6b7cdbed
2022-10-18 21:21:29 +00:00
Daniele Cammareri
fbb0fbbe0b fix remote schema permmission when there are arguments
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6407
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: faa0d05bcee2ad033c7a610d5c6cf27bd6af09bf
2022-10-18 13:53:38 +00:00
Vijay Prasanna
2298c21ae0 feature (console): add storybook components for local relationships for GDC
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6290
GitOrigin-RevId: aadac5dc29db2d1fa6550a604e04a6baa3b7c661
2022-10-18 04:58:13 +00:00
Abhijeet Khangarot
49a2822dbe console: UI fixes for neon banner in connect db page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6376
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 8f2ec961be370097b48b684211606d34dbaa002d
2022-10-17 19:04:52 +00:00
Erik Magnusson
63ef6e722c console: refactor the data pages edit tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6380
GitOrigin-RevId: 15a96fd2f743d84570026aeeb75efbcbd9386c2a
2022-10-17 16:10:42 +00:00
Varun Choudhary
3757731228 console: Implemented batch_size API limit to tackle GraphQL batching attacks
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6337
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 826bbbf33ad9608db7807d919ba685d1b15c4e32
2022-10-17 12:39:02 +00:00
Varun Choudhary
b60b38d70b console: show total max connections in pool settings fields for CE/EE/Cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6080
GitOrigin-RevId: aafa8350f8d00d3f8ddb6e51964f06a25455aac5
2022-10-17 10:38:34 +00:00
Vijay Prasanna
f15e3f0148 feature (console): use list_source_kinds to get available drivers for the connect DB page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6359
GitOrigin-RevId: 2d75899258d1581c840ef14b161532f0f10a7b5e
2022-10-17 09:05:34 +00:00
Nicolas Inchauspe
c3578869be console: fix frequently used columns dropdown
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6340
GitOrigin-RevId: 242b7c1e21d2d800697b8748b794a086a756d2ae
2022-10-13 14:37:46 +00:00
Vijay Prasanna
ea1ed79280 fix (console): introspection type name with customization breaks getTableColumns
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6319
GitOrigin-RevId: eb2d33b564695285970ca5b07d526e96a749326c
2022-10-13 13:30:14 +00:00