Commit Graph

6532 Commits

Author SHA1 Message Date
paritosh-08
d5fcb4118f docs: add auth-hook cache card in EE overview
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8387
GitOrigin-RevId: 694003c9bc3504665b36db46d638af0ecc7394d1
2023-03-20 11:40:07 +00:00
Sean Park-Ross
d0ccddf75c Docs: Remove duplicated permissions example page in auth section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8385
GitOrigin-RevId: 6b528e928afae4bc1880162f1caf06905b225eca
2023-03-20 11:20:46 +00:00
Krushan Bauva
de0d4a3d3b docs: update version API reference docs to include server_type info
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8346
GitOrigin-RevId: a63dd3992f83c2942adc74d8ecb114f323f05e75
2023-03-20 10:03:55 +00:00
Daniel Harvey
fb562883f0 chore(ci): use ScalarType in LogicalModels tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8378
GitOrigin-RevId: afd4ac325dde8459ecd1ef8eb0bed855354327c2
2023-03-20 09:55:15 +00:00
Antoine Leblanc
6118b440b4 chore(server): revamp hlint config and add new undefined rule
### Description

This PR adds a new rule to our hlint config, that flags all uses of `undefined`. Any use of `undefined` will therefore be flagged in future PRs. Additionally, this PR cleans up our hlint config, including fixing the `ignore: { group: _ }` block: `group` isn't a valid key for `ignore`, and therefore that `ignore` block was _suppressing all hints_ in the matching files.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8311
GitOrigin-RevId: 51b702cfd056588a8dae9db4c9e4471ea039210e
2023-03-20 08:41:59 +00:00
Rikin Kachhia
0a1656b0b8 docs: fix nitpicks in mysql and oracle docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8367
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 319af3d3a621a6d49720f2cbb1fe38074b7646b6
2023-03-20 07:14:51 +00:00
Daniel Chambers
e9c697aaa9 Fix "limit" from permissions being incorrectly applied to aggregates in Data Connectors
[GDC-1064]: https://hasurahq.atlassian.net/browse/GDC-1064?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8345
GitOrigin-RevId: 9ef91944ba6408e1030a47de58f3271145433ee2
2023-03-20 04:02:23 +00:00
Stef Moreno
6e1ebd6a4b Update wiki Contributor guide
## Description
Updating wiki contributor guide in response to Jira [this ticket](https://www.google.com/url?q=https://hasurahq.atlassian.net/jira/software/projects/DOCS/boards/19?selectedIssue%3DDOCS-275&sa=D&source=calendar&ust=1679491564232347&usg=AOvVaw3LLVDh1KVpy5dnW5ZVUwpW).

## Preview
[Link](https://pr-8376---docusaurus-5kcgrtdh3a-wl.a.run.app/docs/wiki/contributions/#step-8-compare-and-pull-request)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8376
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: dc6c71aa91ec1a90892e8929875086adf6ad134c
2023-03-17 19:26:31 +00:00
Philip Lykke Carlsen
3b9b389c99 docs: Clarify the permissions necessary for update_by_pk
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8375
GitOrigin-RevId: 8f17f50b2f30c469c68e1059b922359eb6622552
2023-03-17 17:54:17 +00:00
Jesse Hallett
1ad37eff31 server: codecs for network config, graphql introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8132
GitOrigin-RevId: 6b800f35a76b6d38817862a4678644b8bf230a95
2023-03-17 17:46:16 +00:00
Philip Lykke Carlsen
e86a09bd93 docs: Wide numeric types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8360
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 5790f7fef9219a8d6ec296c7ca037e85ec79fd59
2023-03-17 17:07:19 +00:00
Nicolas Inchauspe
260c3ddcb4 console: add autocomplete ability to input field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8372
GitOrigin-RevId: dcbd61b9308aaff13e8937738a9b62fc08ec7508
2023-03-17 16:25:35 +00:00
Auke Booij
29f0660dee chore(server): remove some unused function arguments
These didn't trigger GHC warnings because their name starts with an underscore.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7954
GitOrigin-RevId: 6898b165f073e70aad06e1a2aa5f703ac385f9ed
2023-03-17 15:51:33 +00:00
Daniel Harvey
8d92c48c3c chore(server): logical models in Citus
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8356
GitOrigin-RevId: 98cb2dcaebe45b98d506279bc7a363b8d2696cd8
2023-03-17 11:28:31 +00:00
Puru Gupta
c437a42f6d server: rename SchemaCacheRef to AppStateRef and add AppContext to it
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8159
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
GitOrigin-RevId: a57f6dc8b3e992d86490e5c51508827f00151dfe
2023-03-17 10:30:38 +00:00
Erik Magnusson
662754ef9e Fix cloneable permissions between query types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8284
GitOrigin-RevId: 17c0590bcfa032d9a396851dfc0c97b2ee94feb1
2023-03-17 08:44:54 +00:00
Sean Park-Ross
18368d6c6d Docs: Oracle
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7961
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: e6a585c45c795cafca1ad0d9db4da606687eec81
2023-03-17 07:03:58 +00:00
Daniel Chambers
c1ea1ea5e6 Fix SQLite agent hard crashing if db file does not exist
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8364
GitOrigin-RevId: db56baaa11d79f5324bcdb39e7975920daeb7d62
2023-03-17 07:00:18 +00:00
Sean Park-Ross
50fa303783 Docs: Small Fixes 02
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8242
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 9d75153fd145eddab97411df4097562afce43a87
2023-03-16 18:30:05 +00:00
Tom Harding
3c683b0852 chore(api-tests): talk about permissions, not explicit roles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8359
GitOrigin-RevId: 5f0f106c8479b03bc3dbf445116c545bc43a2891
2023-03-16 16:49:53 +00:00
Tom Harding
ec24ea7182 Split permissions into Types and Metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8358
GitOrigin-RevId: 2684c01a5ce2808577920fa6f8a53ee4c13b5f4e
2023-03-16 16:09:48 +00:00
Daniel Harvey
01636a9cfb chore(server/tests): use more Logical Model test helpers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8348
GitOrigin-RevId: c9e168125696993a39ea816459c588108a880710
2023-03-16 15:02:15 +00:00
Tom Harding
97d655240c chore(api-tests): Move withPermissions out of Permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8351
GitOrigin-RevId: c1728269a415f5b77f38277edbdd8b28cd9211a5
2023-03-16 14:23:25 +00:00
Erik Magnusson
120beb5cc1 console: fix error notification handling for slowly running queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8352
GitOrigin-RevId: c452dcf9048cb1087a74c1c4783ba9db561b938e
2023-03-16 13:48:55 +00:00
Erik Magnusson
aafcbd4491 console: driver specific query type support for permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8302
GitOrigin-RevId: 68e9f6e53a5d8bb9c5d547bf1eb577f5603c8071
2023-03-16 13:14:42 +00:00
surendran82
f45782a683 docs: securing your api with hasura post webinar updates
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8349
GitOrigin-RevId: ba98c402958ce1989d80a662aba2b6c8d3ebf3b1
2023-03-16 12:42:38 +00:00
Tom Harding
080fbe8c5c Remove postMetadata permission command calls
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8336
GitOrigin-RevId: 588e0e46177ec18ee851a507cadba0f8f95ab457
2023-03-16 12:06:23 +00:00
Daniel Harvey
8d21bf207e chore(pg-client): don't explode test if we can't stop all the running Postgres jobs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8330
GitOrigin-RevId: 6e3b51bccc85116e49149300023114ce15170e75
2023-03-16 11:25:45 +00:00
Gil Mizrahi
021e769235 Logical models: check that specified named columns are returned from query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8312
GitOrigin-RevId: fc7c7a14115c0b228abc2f48d3cfac51d2852277
2023-03-16 10:45:46 +00:00
awjchen
9d30b7f5e9 server: use ekg-prometheus v0.3.0.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8319
GitOrigin-RevId: f45e2b6b5ad3d236470d26ee94a2027c77c9e489
2023-03-15 23:51:00 +00:00
Tom Harding
d60112c873 Generalise 'setupPermissionsAction'
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8335
GitOrigin-RevId: 106050f84339d2b97bc7cb69cefc312178cf5c26
2023-03-15 18:56:16 +00:00
Daniel Harvey
c441fa4a7f feature(server): allow untracking Logical Model when feature is off
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8339
GitOrigin-RevId: 20d4bfa465fa1ad6d1b2c630973e9c59a9d6178e
2023-03-15 18:20:58 +00:00
Luca Restagno
aea809b5c2 console: disable auto generated columns in the insert row form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8309
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: c65456269eb27965ee0283acf200967568f731ed
2023-03-15 17:44:58 +00:00
Tom Harding
c4a16db4d2 Fix the unit test ghcid make command
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8338
GitOrigin-RevId: 07f9780ee23c198c49f0fe2ab5e4074a6fc262e4
2023-03-15 17:10:52 +00:00
Erik Magnusson
ab6a1e65b4 console: permissions make default value for is null true
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8331
GitOrigin-RevId: a2262fa94b4b1a0c3dfbf62494748a0dc3a91885
2023-03-15 16:36:37 +00:00
Rob Dominguez
96646005f7 docs: feature index restructure
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7715
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 61a91af22333ef08db1ec623941ac9dd5dc50179
2023-03-15 16:36:27 +00:00
Daniel Harvey
95f5553af6 chore(server): split new statistics log from QueryLog
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8326
GitOrigin-RevId: 02ee652302de5328e63054a6448dca10de7b5c1b
2023-03-15 13:06:47 +00:00
Vishnu Bharathi
a3197745f1 ci: tag release v2.21.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8328
GitOrigin-RevId: ff76bbcf5ef1c360118f7119204af0ef5b408259
2023-03-15 12:17:08 +00:00
Divi
d03f5d78e0 ci: update base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8193
GitOrigin-RevId: d270c4453c5ab122e3e47a686fca256799ec7b17
2023-03-15 11:52:21 +00:00
Sean Park-Ross
5bbc04c4e4 Docs: Auth section rewrite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7544
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: a5ab88db4c0bbe838588970ef5bd3fb83c2c7f60
2023-03-15 11:02:23 +00:00
Rakesh Emmadi
9b6d403809 multitenant: enhancements to resize pools logs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8190
GitOrigin-RevId: 34ffbd2b79033850c3652d58fbf6b119e94c92ca
2023-03-15 10:30:48 +00:00
Daniel Harvey
cca883ab86 chore(tests): logical model test helper
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8314
GitOrigin-RevId: fc74d0c0bccea0368a41f1b88c9d8a599c93dcc8
2023-03-15 09:46:40 +00:00
paritosh-08
91552a1a05 server: move apollo-federation to GA
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8163
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
GitOrigin-RevId: d971720e79d5e08d1e68b31f7475c0eb6f06cac8
2023-03-15 08:15:51 +00:00
Rikin Kachhia
ce86f4ab73 docs: add note on admin secret for cloud one-click-deploy
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8299
GitOrigin-RevId: 5d274e6095785449a24c467dcd020a9597d42049
2023-03-15 07:07:51 +00:00
Vijay Prasanna
b043bf15b9 console: fix bug with untrack table option for GDC sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8219
GitOrigin-RevId: 104b6b0b2e966931120766ec83496486b21a8abd
2023-03-15 05:58:36 +00:00
Daniel Chambers
0b63b0b6b1 Fixed queries with no column fields and only introspection fields in Data Connectors
[GDC-1063]: https://hasurahq.atlassian.net/browse/GDC-1063?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8249
GitOrigin-RevId: 9d6dec3b4ef38fd7972bd0b9d3cfdfece1dcdcb5
2023-03-15 05:16:32 +00:00
Gavin Ray
af0c9417c4 super-connector: Mutations support for MySQL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7669
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: 0e3e764b0e10fc0065752503952b57fb9a67f29a
2023-03-15 03:14:39 +00:00
Jesse Hallett
17a96a0fc6 server: codecs for open telemetry configuration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8317
GitOrigin-RevId: 36dbe374164712167d7a4a31ea0509850060df36
2023-03-15 02:19:51 +00:00
Jesse Hallett
583e59fbe2 server: codecs for api limits
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8065
GitOrigin-RevId: 4a14f72fa4f832f1cc6cb7f5be8d146b4f00dd44
2023-03-15 01:38:52 +00:00
Julian@Hasura
472fc45239 console: Support X-Hasura-User-Id for number inputs DSF-162
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8261
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: 118bdb9261f92f6829ea19633de660388ff7db82
2023-03-15 00:24:43 +00:00