Rob Dominguez
f5c25b2dcc
docs: add ref to discord for feedback component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8368
GitOrigin-RevId: 1c166d6dcd41d7bdd1e304e3ef7aab72077758d4
2023-03-21 12:55:28 +00:00
Rob Dominguez
f3d0829197
docs: update replace_metadata snippet
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8406
GitOrigin-RevId: a69bf5a510862d9c28d426f37eff5c81c3f367cd
2023-03-21 12:41:01 +00:00
Antoine Leblanc
1d76015629
delete ExecutionCtx
in favour of explicit argument passing
...
### Description
This small PR removes `ExecutionCtx`: it was only used as a `Reader` argument for `runGQ`, and two of its wrappers. Explicit argument passing removes one additional small record, and one more `runReaderT`.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8397
GitOrigin-RevId: cdf65f643283be37d493d483d46a586f0f9ef885
2023-03-21 12:37:21 +00:00
pranshi06
ea691b3c06
server: improve logging around 'Internal Exception' errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8369
GitOrigin-RevId: 22160a2c8a17d571ceeda0bf3e9b672bea31b8f9
2023-03-21 12:00:00 +00:00
Luca Restagno
21f9918677
console: add support for specific data types (datetime / time) for gdc
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8393
GitOrigin-RevId: c1eeb1fb6a5cb825853ec29d7ec1f8b0b702ad07
2023-03-21 11:18:36 +00:00
Antoine Leblanc
0a1628c0cc
Clean AppEnv
and AppContext
passing, remove RunT
, reduce ServerConfigCtx
uses
...
## Description
This PR does several different things that happen to overlap; the most important being:
- it removes `RunT`: it was redundant in places where we already had `Handler`, and only used in one other place, `SchemaUpdate`, for which a local `SchemaUpdateT` is more than enough;
- it reduces the number of places where we create a `ServerConfigCtx`, since now `HasServerConfigCtx` can be implemented directly by `SchemaUpdateT` and `Handler` based on the full `AppContext`;
- it drastically reduces the number of arguments we pass around in the app init code, by introducing `HasAppEnv`;
- it simplifies `HandlerCtx` to reduce duplication
In doing so, this changes paves the way towards removing `ServerConfigCtx`, since there are only very few places where we construct it: we can now introduce smaller classes than `HasServerConfigCtx`, that expose only a relevant subset of fields, and implement them where we now implement `HasServerConfigCtx`.
This PR is loosely based on ideas in #8337 , that are no longer applicable due to the changes introduced in #8159 . A challenge of this PR was the postgres tests, which were running in `PGMetadataStorageAppT CacheBuild` 🙀
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8392
GitOrigin-RevId: b90c1359066d20dbea329c87762ccdd1217b4d69
2023-03-21 10:45:56 +00:00
Daniel Harvey
eba0a3fb33
chore(tooling): Make command to run SQLServer repl
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8404
GitOrigin-RevId: 163ee869d436b29f3563a7ec3294f0786b32f19c
2023-03-21 09:47:13 +00:00
Krushan Bauva
6e6aa54d84
docs: add missing comma in get_scheduled_events API example
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8402
GitOrigin-RevId: 31b1cf90562cb2b504790f72832bbefbf09d2630
2023-03-21 09:16:11 +00:00
Nicolas Beaussart
5cd32ffd2a
frontend: house keeping
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8395
GitOrigin-RevId: e577c320e96227fe0c8c3dc85fc3170b12080c45
2023-03-21 08:52:51 +00:00
Matthew Goodwin
a9ab4bc418
Initial PR for work on frontend docker compose [DSF-193]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8313
GitOrigin-RevId: 34fc399b46ed09c2e4f6288811870ec00ad05753
2023-03-21 01:24:33 +00:00
awjchen
4f6240fb04
server: refactor ConnectionTemplateResolver
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8381
GitOrigin-RevId: 5286c384bb8c739170c90960a9b4a324a629c43b
2023-03-20 21:56:20 +00:00
Julian@Hasura
e501b60a82
console: Only use json string editor for jsonb columns DSF-211
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8396
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: bce8e6483bf163aecfdc54dfe23c91439dafaf59
2023-03-20 19:07:14 +00:00
Aaysha
bf5f5a0e30
frontend :Removing Heroku Banner from Connect database page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8389
GitOrigin-RevId: dfd709ef2dbb0f12f41f114022ed76b382fa7963
2023-03-20 16:55:59 +00:00
Puru Gupta
5ec4d6e91b
server: always add query type in http-log
logs (whenever available)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8353
GitOrigin-RevId: f7a2f8ab033043ed331c15b861218547de6f2744
2023-03-20 16:14:25 +00:00
Sean Park-Ross
c8f4ea27fc
Docs: Update pg_create_remote_relationship Metadata API Reference
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4745
GitOrigin-RevId: c7f4d9919c356a12bc5d5f5eae8023e5f14790ae
2023-03-20 12:48:18 +00:00
Julian@Hasura
d89c3f6698
Permissions: Support jsonb columns DSF-157
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8363
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: a7726c2b32e9faeb5ff6a6d6ea3b6fec24cf4667
2023-03-20 12:16:23 +00:00
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