Commit Graph

6714 Commits

Author SHA1 Message Date
Vijay Prasanna
e2e8543400 console: refactor ConnectMssqlWidget component + add interaction tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8151
GitOrigin-RevId: c8f91f3cc608c8d9b720aa98d423a5f5c85d3bc9
2023-03-03 17:19:40 +00:00
Tom Harding
16dac48f0c chore(server): Factor out logical model metadata existence check
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8187
GitOrigin-RevId: c18b593c8dec68b655af369e83756c37a36f53f1
2023-03-03 16:46:07 +00:00
Tom Harding
6385b4b968 feat(server): Add metadata command to create logical model permissions in metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8184
GitOrigin-RevId: b38a39812acd4a0a5ced93945b476acf8480c792
2023-03-03 15:29:16 +00:00
Abhijeet Khangarot
d1b4472451 fix: add node modules to gitignore
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8181
GitOrigin-RevId: 5be080c804493f26e3edff09a54b1a06d2010ba1
2023-03-03 07:19:48 +00:00
Tom Harding
a8f1af21ca Remove incoherent pragmas in Network.URI.Extended
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8179
GitOrigin-RevId: 66a1c8d26ef2a4eecba8a49f906582e5f9eb871c
2023-03-03 06:02:57 +00:00
Tom Harding
dd24a29419 Handle docker when running make test-logical-models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8177
GitOrigin-RevId: 25faf2c94c5a605c49495e4da848683ae32c1927
2023-03-02 16:35:05 +00:00
Tom Harding
1574125f10 Separate the metadata and cache representations of logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8176
GitOrigin-RevId: a1ead98ea9d07b30ee09298e7f27a139d87711fa
2023-03-02 16:04:18 +00:00
Gil Mizrahi
60bd355a99 test: logimo validation prepared statement is deallocated
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8175
GitOrigin-RevId: 35ec7e69b616ebd7a4a30760b1698bd379e07d74
2023-03-02 15:30:35 +00:00
Philip Lykke Carlsen
8d02c88c1a refactor(github, hlint): Add hlint white-list of modules that can import backend instances
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8133
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: 2c8aded4e77003d176931432e33e6d4c8cccfc6c
2023-03-02 14:45:57 +00:00
Jigyasu Arya
d70603246c docs - update thin strip banners for snowflake, observability and security webinars
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8173
GitOrigin-RevId: 6b6b7d9fed85d5ff66cb7be23a9d723053bb51f1
2023-03-02 14:09:48 +00:00
Tom Harding
66c8b2d2c6 Encode logical models in ToJSON SourceInfo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8172
GitOrigin-RevId: cb8d5c8efa9017e725bba96de747a29909736eb8
2023-03-02 13:30:57 +00:00
Rikin Kachhia
29b5aee03a console: fix subscription protocol
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8166
GitOrigin-RevId: aa688d97c9d7f0217c628fcf2252e741ea61455d
2023-03-02 12:51:18 +00:00
Tom Harding
25a470b2fd Rename the logical model test example root fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8170
GitOrigin-RevId: fffa3f82f92326661b48d82144fe9fd8331916fe
2023-03-02 12:18:17 +00:00
Tom Harding
9091248a3a Run the API tests with WebSockets
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7802
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: hasura-bot <30118761+hasura-bot@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: gneeri <10553562+gneeri@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
Co-authored-by: Lyndon Maydwell <92299+sordina@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: Julian@Hasura <118911427+julian-mayorga@users.noreply.github.com>
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 547786fa9ff8635aec6d62f9198df185f4ff6473
2023-03-02 11:36:55 +00:00
Philip Lykke Carlsen
b70b847207 feat: Add nullability and descriptions to custom return types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8135
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: cdde3795b32d56103c0bf5ebb31af2eab60665f2
2023-03-02 10:57:39 +00:00
Vijay Prasanna
0d49cf02f3 console: fix missing props in ConnectPostgresWidget's read replicas field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8147
GitOrigin-RevId: 12aedbb5a7960ccdf26205eb49e0ba48d0c0d4f9
2023-03-02 05:09:46 +00:00
Nicolas Beaussart
1e0fa95493 frontend: update nx to 15.8.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8162
GitOrigin-RevId: 7d008762530bb07439a024638fc1221aee677873
2023-03-01 14:17:47 +00:00
Samir Talwar
59ca6fe81e CI: Make get-version.sh fail if any of the git commands fail.
We are seeing errors emitted from get-version.sh in some PRs, but it proceeds anyway, generating a nonsense version of "dev--".

Instead, let's fail fast so we can diagnose the issue.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8115
GitOrigin-RevId: bb8d25f0f56c807dbb9928b82e31c94d23d9d1f5
2023-03-01 14:17:36 +00:00
paritosh-08
e9e5aab169 docs: add comments to prometheus metrics table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8124
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 90ea5729f1b506daa06ea5a3e30b52b724191f6e
2023-03-01 12:44:37 +00:00
Varun Choudhary
11587fd546 storybook: modify existing CardRadioGroup component for vertical alignment of radio cards
This PR modifies the existing storybook component `CardRadioGroup` for vertical of radio cards. Earlier we have radio group card which are aligned horizontally.
Run the storybook from this branch locally
See the storybook component [here ](http://localhost:4400/?path=/story/components-cardradiogroup--with-three-card-vertical-without-value)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8141
GitOrigin-RevId: 6f460dbe0cb7ada5814e3ceb8be3e9ce7a3759d3
2023-03-01 10:26:31 +00:00
Divi
a53a2115dc ci: tag release v2.20.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8155
GitOrigin-RevId: 61672266190411c792c77d8fddd25dc3bac47c01
2023-03-01 08:09:54 +00:00
Daniel Chambers
81ffaafe6f Fixed unstable ordering in Data Connector agent test
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8143
GitOrigin-RevId: 4926e95f327123e8925340fed35c24687bd8189e
2023-03-01 01:30:44 +00:00
Nicolas Beaussart
f3951e1680 frontend: update nx to latest 15
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8079
Co-authored-by: Stefano Magni <173663+NoriSte@users.noreply.github.com>
GitOrigin-RevId: 46b1ed03ab225fccc9d769203d1af11a6bcdb63e
2023-02-28 19:42:51 +00:00
Nicolas Beaussart
fc4aec4330 console: fix graphiql version resolution
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8144
GitOrigin-RevId: 858ff17d6c12b7252ce43c85b5b6e883c741a466
2023-02-28 15:05:37 +00:00
Krushan Bauva
5319fe6bfc server: redact sensitive fields from multitenant logs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8085
GitOrigin-RevId: acf23c6eaaf84fa3218898be6484431ccc646ee9
2023-02-28 14:32:52 +00:00
Samir Talwar
6d9d774bae docs: Add documentation for the variants of run_sql.
Each database has its own `run_sql` command and assorted parameter support. Previously, we were only documenting PostgreSQL.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8137
GitOrigin-RevId: cc40fa9441f12c08898ddb2563205744ad2ec14e
2023-02-28 13:55:56 +00:00
Daniel Chambers
6b19069c37 Only load the schema once for all schema tests in the Data Connector agent test suite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8142
GitOrigin-RevId: 1e2340fa5670a9c11e424e85045dc18f5286cff7
2023-02-28 13:52:30 +00:00
Samir Talwar
987a0187e9 docs: Add API documentation for if_matched.
We document `on_conflict`, which handles upserts for Postgres, but we were missing the equivalent feature for MS SQL Server, `if_matched`.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8136
GitOrigin-RevId: 6ed2f7b24356879156145e2d6a8c2825bc8b6881
2023-02-28 12:45:57 +00:00
Manas Agarwal
fbb92230bb Deprecation message in Console Folder Readme
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8131
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: d0c187bb322e26105a8ecdb19da4e8478b7d09dd
2023-02-28 12:05:04 +00:00
Gil Mizrahi
7872be0e82 feature(server): support subscriptions in logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8076
GitOrigin-RevId: 84a3e89d97bdb81c02803b644f417dfe51834405
2023-02-28 11:18:43 +00:00
Varun Choudhary
1971f4f6e4 console: allow users to remove event trigger auto clean-up configuration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8036
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: da8df15ac3591a0fd5dfce8e0be26690479ef066
2023-02-28 09:59:14 +00:00
Puru Gupta
4e7fbbc2d6 server: use only server context and app env for dependent functions (remove passing of ServeOptions)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7920
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 6ebc4d0429fdfecf93950879b69e8b5f8f56b502
2023-02-28 09:11:27 +00:00
Vijay Prasanna
3034988a3b feature (console): clean up the ConnectPostgresWidget component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8022
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 870474c4e4f546a4c3876416b93cf0d932a97de5
2023-02-28 07:16:51 +00:00
Daniel Chambers
6a5fe902b7 Do nested JSON decoding in SQL in SQLite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8138
GitOrigin-RevId: f22ebe94664a112536acaa37e13189d9fddcd222
2023-02-28 02:40:44 +00:00
Brandon Martin
bf16f628ec Update manifests for athena, snowflake, mysql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8134
GitOrigin-RevId: d19a07efd7c372ee4ca26a414e6ca50c87afe3df
2023-02-27 16:51:26 +00:00
Varun Choudhary
546902240a console: show year in the date column while displaying event triggers, cron triggers and scheduled triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8128
GitOrigin-RevId: 4522406f5e79dbb352778fa6849c284b813a0386
2023-02-27 14:54:42 +00:00
Daniel Chambers
bbe756dbcc Upgrade sqlite3 in SQLite agent, upgrade deps with security flaws, remove Sequelize dep
[GDC-812]: https://hasurahq.atlassian.net/browse/GDC-812?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8120
GitOrigin-RevId: c15d5aaf0c9e71fcfcaa8d580d6d1423efcc416f
2023-02-27 14:02:16 +00:00
hasura-bot
aaf20b971f community: add graphql benchmark
GITHUB_PR_NUMBER: 9401
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9401

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7672
Co-authored-by: arjunyel <11153289+arjunyel@users.noreply.github.com>
Co-authored-by: Praveen Durairaju <14110316+praveenweb@users.noreply.github.com>
GitOrigin-RevId: 9b0e9a3dd4cee1ef0a76fb45dee3d5e76d404512
2023-02-27 13:15:01 +00:00
Nicolas Inchauspe
0b72259c1f Plat 473
[PLAT-473]: https://hasurahq.atlassian.net/browse/PLAT-473?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8123
GitOrigin-RevId: ed7d749e5ccf575419ca436dfcc0a28e15f8ca64
2023-02-27 10:47:17 +00:00
Puru Gupta
50f0e1df51 server: centralize various application state (introducing AppContext and AppEnv)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8108
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
GitOrigin-RevId: 4a1f1ba960be4e0d4838188645d10162c73ecf06
2023-02-24 18:11:05 +00:00
Erik Magnusson
601e1951bc console: support for relationship array handling for permissions builder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8089
GitOrigin-RevId: d24ee20ca56d5dc17a5857754770fbba5574759a
2023-02-24 16:28:52 +00:00
Erik Magnusson
938423ec54 console: add create "delete" permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8071
GitOrigin-RevId: efb545e134908b61eef71f79a477061753a4bb1c
2023-02-24 13:20:35 +00:00
Tom Harding
318cf1b692 Boolean expressions should talk about fields, not tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8098
GitOrigin-RevId: 93b6e5b675a9421e6079ca344e308e7362839bc1
2023-02-24 12:32:38 +00:00
Nicolas Inchauspe
975d4ae91b console: fix operations filters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8097
GitOrigin-RevId: 33a72186a38094bbcdee85d87d0f0a05aadb1736
2023-02-24 11:57:50 +00:00
Daniel Harvey
fbab8cd755 Revert "server: centralize various application state (introducing AppContext and AppEnv)"
The Postgres integration tests failed [here](https://buildkite.com/hasura/graphql-engine-mono/builds/30176#01867eb5-9635-4aaf-a147-44d43df03cbd), yet this merged. Looks like a missing required check. Have resolved that, but in the meantime, we should revert this PR until the test can be fixed.

Reverts hasura/graphql-engine-mono#7905

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8107
GitOrigin-RevId: 6ea329bc54f42d8c8686c5d26f0b2dbd43f991cf
2023-02-24 11:27:16 +00:00
Rikin Kachhia
a963fdcace console: fix browse rows page UI glitches
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8105
GitOrigin-RevId: 8ab4e3f77f7ca0b9e4dd7092423b01762c6dc33d
2023-02-24 10:51:53 +00:00
Stefano Magni
cb4334c78a fix(console): Disable the DropDown trigger when the disabled flag is passed
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8104
GitOrigin-RevId: 4bd1ad2089693b6c1dda10b5eed2c3559113fc27
2023-02-24 09:34:11 +00:00
Erik Magnusson
f9ec262ac0 NDAT-519-wrong-indexes-listed-when-multiple-schemas-have-tables-with-the-same-name-9420
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8083
GitOrigin-RevId: ca41229ac0227fb9e52c48c6a76eb80d0cf43fd4
2023-02-24 08:44:14 +00:00
Philip Lykke Carlsen
1af8d53c6f refactor(hlint): Demote Environment-from-OS to a suggestion
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8092
GitOrigin-RevId: 042aec936638fcb7890ecaa8cb368ed442100904
2023-02-23 21:44:44 +00:00
Samir Talwar
0271094df7 CI: Disable Python integration test groups covered by the new job.
We now run a lot of these at once by spawning a new HGE instance per
test class. The commented-out tests are now duplicated.

We have a lot of work to do to take care of the rest, but this should be
a decent start. With this change, we drop from 42 to 19 test groups.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8060
GitOrigin-RevId: e38e1a72cfa6eafac97065a435d2c8e1508b834e
2023-02-23 15:45:20 +00:00