Kirill Zaborsky
2d9387e791
Add backoff for BigQuery calls
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3344
GitOrigin-RevId: ea5bdd02522e9a89c70501d4680e8741c3c6b6fc
2022-02-14 09:46:38 +00:00
Kirill Zaborsky
960cf2d954
Use 'hasura' as dataset in python test to unify it with hspec
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3636
GitOrigin-RevId: f4114fded09cbdd9875488610c635537478e4ab5
2022-02-14 06:23:07 +00:00
David Overton
8d0eb6b812
Use 429 error code when rate limit exceeded
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3628
GitOrigin-RevId: f5ae470b4036961e906125ef1a8446f0d48b39b1
2022-02-14 05:13:46 +00:00
Lyndon Maydwell
ff6aac31b8
Adding multiple jwt secrets (incorporating provenance requirements)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3173
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: 395a5d5854896f866b612895d6f41e29376c2caa
2022-02-13 23:34:39 +00:00
Auke Booij
47315b78d6
Add Note
explaining type collection
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3588
GitOrigin-RevId: f46d06e9476b22fe7abc699a5236ffefd23c1935
2022-02-10 18:14:01 +00:00
jkachmar
89714a85f6
Fixes 'Harness.Quoter' link typo
...
Just what it says on the tin.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3640
GitOrigin-RevId: 021f76720846f82ab893b206293681f1e0bfcacf
2022-02-10 16:09:35 +00:00
Daniel Chambers
dd403f92e2
Customization of table GraphQL schema descriptions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3570
GitOrigin-RevId: f642a4d9efdd26a344951fcab6c1bbbc1253dfa3
2022-02-10 06:32:44 +00:00
Kirill Zaborsky
773870f443
BigQuery hspec tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3435
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 78f698becb83bd9732eddbe419361aff2799dd2c
2022-02-09 15:30:13 +00:00
paritosh-08
4d2a5dba51
server: fix multiple calls to database on startup
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3569
GitOrigin-RevId: 820d56a7af7faa05292ef65734d5d40fe3dd4641
2022-02-09 05:14:29 +00:00
Gil Mizrahi
efec0bf9ca
server/postgres: LIMIT 1 on object relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3489
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
GitOrigin-RevId: f09a75508545cdbc34cf8728fad95bbb00bde018
2022-02-08 17:40:24 +00:00
Swann Moreau
8bd34b4a51
server, pro: add support for per-role allowlists
...
spec: https://github.com/hasura/graphql-engine-mono/pull/2278
Briefly:
- extend metadata so that allowlist entries get a new scope field
- update `add_collection_to_allowlist` to accept this new scope field,
and adds `update_scope_of_collection_in_allowlist` to change the scope
- scope can be global or role-based; a collection is available for every
role if it is global, and available to every listed role if it is role-based
- graphql-engine-oss is aware of role-based allowlist metadata; collections
with non-global scope are treated as if they weren't in the allowlist
To run the tests:
- `cabal run graphql-engine-tests -- unit --match Allowlist`
- py-tests against pro:
- launch `graphql-engine-pro` with `HASURA_GRAPHQL_ADMIN_SECRET` and `HASURA_GRAPHQL_ENABLE_ALLOWLIST`
- `pytest test_allowlist_queries.py --hge-urls=... --pg-urls=... --hge-key=... --test-allowlist-queries --pro-tests`
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2477
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
Co-authored-by: Robert <132113+robx@users.noreply.github.com>
GitOrigin-RevId: 01f8026fbe59d8701e2de30986511a452fce1a99
2022-02-08 16:54:49 +00:00
hasura-bot
195c05f14d
cli: improve handling of wrapped errors in migrate operations
...
GITHUB_PR_NUMBER: 7992
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7992
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3259
Co-authored-by: Shoki Hata <37888628+sho-hata@users.noreply.github.com>
GitOrigin-RevId: f93f251fb6de56212f7024eef06e965f85a9182a
2022-02-08 14:30:35 +00:00
Evie Ciobanu
111750e98f
docs/mssql: add update and update index
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3477
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 7e2d705baa98ceebf7a77dcd774756467e69a0b5
2022-02-08 13:19:46 +00:00
Varun Choudhary
b91cbe2903
console: enable support for update permissions for mssql
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3591
GitOrigin-RevId: 668505d81cb647a4cd7766b957f8676062ecde49
2022-02-08 10:50:11 +00:00
Evie Ciobanu
9337edf096
Evie/postgres/module docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3563
GitOrigin-RevId: e35aafbd210d526ed53db7088e1a47f89f0b9c44
2022-02-08 09:25:35 +00:00
Gil Mizrahi
8432407156
Add a tip on how to benchmark a query on postgres
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3593
GitOrigin-RevId: ebc3d05f788f45fd0b1cdebc40c090c7163824ad
2022-02-08 08:29:22 +00:00
Karthikeyan Chinnakonda
8d2acc833d
server: add a note about experimental features
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3598
GitOrigin-RevId: e7f8d2f8d1b9490f0e28e59073f7b6a62447c04c
2022-02-08 07:52:24 +00:00
paritosh-08
b75706dd12
server: validate REST endpoint queries after metadata change
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2338
Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
GitOrigin-RevId: 9cd6bb940ba74fe41bdf2db3c4f35e89c4fb0577
2022-02-08 04:47:52 +00:00
Auke Booij
c4ef2d21f8
Make optimize_permission_filters
an --experimental-features
flag
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3589
GitOrigin-RevId: 5e102e5dd348e170ebe10f04ff9598fdc4167522
2022-02-07 18:05:39 +00:00
hasura-bot
73ddb0be91
docs: update Azure doc with JWT set up steps ( fix #5413 )
...
GITHUB_PR_NUMBER: 5885
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/5885
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3226
Co-authored-by: jay <30862819+fr8in@users.noreply.github.com>
Co-authored-by: Divya Bhushan <11659160+divyabhushan@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 7202ff2c3666138056d6d06e3a270b3c300dde02
2022-02-07 15:02:51 +00:00
Rakesh Emmadi
793aede022
server/mssql: improve database exception handling and better API errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3487
GitOrigin-RevId: d3f696072e8290b45c2f81509ce31cb5c13a4aef
2022-02-07 14:12:55 +00:00
Sooraj
a1eced3180
console: Implement a relationship table component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3486
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
Co-authored-by: Martin Mark <74692114+martin-hasura@users.noreply.github.com>
GitOrigin-RevId: 730fe024d86d46de1b53bfbc7e171294527a407e
2022-02-07 11:08:26 +00:00
Ikechukwu Eze
0e9805ee07
console: tests for hooks
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3467
GitOrigin-RevId: ebf04a379a88b47996f908a062a894fe22f7c6ab
2022-02-07 10:08:53 +00:00
Daniel Chambers
ba5b7fedd4
Try to make JWK refresh integration tests more reliable in CI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3577
GitOrigin-RevId: a5f8f6e3dc373e8f2b44fcfdcb6b97696d8c62b5
2022-02-07 09:13:09 +00:00
Daniel Chambers
51b7d98419
console: Fix typo in Session Argument label
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3580
GitOrigin-RevId: 314da6b69551255b604cf8b38b155fcbb11e2308
2022-02-07 07:03:09 +00:00
Aishwarya Rao
0b22fe3991
docs: Docs for email change on Hasura Cloud
...
## Affected components ✍️
- ✅ Docs
Issue: https://github.com/hasura/lux/issues/3304
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2915
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Divya Bhushan <11659160+divyabhushan@users.noreply.github.com>
GitOrigin-RevId: 0c6fcd2857a79855f65b5b8fd95c181dacfa14a2
2022-02-07 06:05:48 +00:00
Divya Bhushan
ca8f197c31
docs: Removing duplicate reference to session variables in the Access control page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3535
GitOrigin-RevId: 7a17abc973e53013474dbbad6a58abd7cf1de549
2022-02-04 16:02:29 +00:00
Abhijeet Khangarot
4453745c57
console: add remote database relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3412
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 22052291dcc15e6a10ed573f5044537401d366fe
2022-02-04 13:56:27 +00:00
Kali Vara Purushotham Santhati
780d942fad
cli: skip tls verfication for all API requests when insecure-skip-tls-verify
flag is set
...
closes: https://github.com/hasura/graphql-engine/issues/4926
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3307
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 90222fc2e5b176fbf5721fea3f5b2af929ca93f4
2022-02-04 11:11:37 +00:00
hasura-bot
c9e998bd91
Migrate Dropdown to typescript
...
GITHUB_PR_NUMBER: 8065
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8065
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3436
Co-authored-by: yuta-ike <38308823+yuta-ike@users.noreply.github.com>
GitOrigin-RevId: a6a3f89ac64365c944423f7b50aaeb55cea1db1f
2022-02-04 05:51:13 +00:00
Antoine Leblanc
aaadd2c81f
Build schema cache for relationships from remote schemas
...
## Description
This PR is a subset of #3069 , that does roughly that #3031 was aiming to do: add the schema cache building phase for relationships from remote servers. This PR does not change any of the code that *uses* remote relationships, meaning we ignore the added schema cache information. It also contains dependency-tracking code, which was originally missing from #3031 ; in turn, this pulls some of the metadata API as well, since we identify remote relationships by how they were created.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3540
GitOrigin-RevId: ed962b6d07fd4adbf0a71e0d79736a4e8b422fea
2022-02-03 18:59:32 +00:00
hasura-bot
0f0393d6e9
docs: update heroku deploy guide
...
GITHUB_PR_NUMBER: 8132
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8132
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3565
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 304113897046bfd0b85af2b7fe3d0660a0f71d33
2022-02-03 17:12:00 +00:00
Auke Booij
c4cdacf989
First attempt at deduplicating permission filters
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3362
Co-authored-by: Chris Parks <592078+cdparks@users.noreply.github.com>
GitOrigin-RevId: 802c099c26ff024e6cf594ea0317480e260486e9
2022-02-03 16:14:44 +00:00
Robert
4cb6f96e22
haskell: remove outdated dependencies from cabal.project.freeze
...
Result of running `cabal freeze` locally and then removing the flags on local targets.
The context is that I keep seeing unintelligible diffs to `cabal.project.freeze` in PRs that add dependencies. The idea being that we should keep `cabal.project.freeze` in a state where `cabal freeze` (or whichever other way you're meant to update the freeze file) doesn't cause unrelated changes.
See https://github.com/hasura/graphql-engine-mono/issues/3545 for a follow-up ticket primarily aiming at documenting how we update the freeze file.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3538
GitOrigin-RevId: 45a5dadcdfe29d5c831807dc49f877a2380162fc
2022-02-03 15:35:38 +00:00
Solomon
9d78ba5ddd
Fixes env var error reporting in Webhook Debug Endpoint
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3549
GitOrigin-RevId: c0b48735ea50bf3782bfdcab2a1eeaa582f0c3b6
2022-02-03 14:57:30 +00:00
Philip Lykke Carlsen
e1918adb52
Replace "identity column" with "column mutability" data for all backends
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3373
GitOrigin-RevId: bf08cc9008a4b0b3ece4952528c15c45e57fc74c
2022-02-03 14:15:35 +00:00
Antoine Leblanc
bd2fce3691
Stable sort of extracted notes
...
## Description
This PR updates the notes-extracting script, to allow for a stable sort across runs:
- files are now treated in alphabetical order of the full file name:
- within a file, notes are treated in order
- that order is reflected in the generated index file
- within a note, references are sorted by file, then by line number
Additionally it fixes(?) a note whose format was unexpected.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3352
GitOrigin-RevId: 2b2b57ec0aa2657d75a88e4951e6b19bb2d665e3
2022-02-03 13:33:09 +00:00
Divya Bhushan
53ba2baf1d
docs: Capitalize URLs on the read replicas page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3562
GitOrigin-RevId: 654f1410c653009bfd606feebf6b44d252ed1dd9
2022-02-03 07:34:31 +00:00
Auke Booij
b4c56f26e1
Derive a few instances for PGMetadataStorageAppT
...
Use GHC's "deriving via" mechanism to obtain a few type class instances for free.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3382
GitOrigin-RevId: 43df1e2e3f770d07f8bc7101cc47b80fc7a34915
2022-02-02 17:26:27 +00:00
hasura-bot
8827ba360f
docs: update caddy example to use v2 format in digital ocean guide
...
GITHUB_PR_NUMBER: 7948
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7948
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3169
Co-authored-by: Jeremy Moseley <4382100+jmoseley@users.noreply.github.com>
Co-authored-by: Divya Bhushan <11659160+divyabhushan@users.noreply.github.com>
GitOrigin-RevId: e223e63f3f3bae6358db4d0763cac18b94e903b2
2022-02-02 16:33:19 +00:00
Brandon Martin
b081c8d6f9
Update CHANGELOG with more info for next release
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3548
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
GitOrigin-RevId: 14c8c95da51b97ea3417b3342582e63699baa457
2022-02-02 13:46:23 +00:00
Vishnu Bharathi
f4007596fb
tag release v2.2.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3558
GitOrigin-RevId: b4ba6830be191aac6ce9e8e5bef974bd5322260d
2022-02-02 12:49:55 +00:00
Vijay Prasanna
94eedbe07f
console: enable inherited roles by default
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3554
GitOrigin-RevId: 04db7ce07931d390b2c6e507b955c65399edae71
2022-02-02 10:13:39 +00:00
hasura-bot
569af7a1e5
docs: Updating port for using HTTPS in NGINX on Enable HTTPS page
...
GITHUB_PR_NUMBER: 7184
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7184
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1730
Co-authored-by: Arman ali <29430838+armanism24@users.noreply.github.com>
GitOrigin-RevId: bd0c524a60460cdc787c10191fc866f73f3602bd
2022-02-02 09:16:08 +00:00
Solomon
43ca77f120
Updates metadata api Event and Scheduled Trigger docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3547
GitOrigin-RevId: c9bd90bc7c6658f03cd9f1b2b5a4d690d48db7d7
2022-02-02 08:40:25 +00:00
hasura-bot
5e58e6df37
docs: Updating Caddyfile v2 config in Enable HTTPS file
...
GITHUB_PR_NUMBER: 6529
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6529
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/489
Co-authored-by: Francis Lavoie <2111701+francislavoie@users.noreply.github.com>
GitOrigin-RevId: 9bc3ff43fbaf0eda8c2cbb2c3dad46ce3a402938
2022-02-01 17:13:33 +00:00
hasura-bot
c25f02ff03
docs: edit the caddy file to exclude websocket on digital-ocean-one-click page
...
GITHUB_PR_NUMBER: 7179
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7179
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1722
Co-authored-by: Julius Francisco <53907+baldrailers@users.noreply.github.com>
GitOrigin-RevId: 34424445352066a9a01a465da8c4805e21cd7bce
2022-02-01 13:50:00 +00:00
Rikin Kachhia
514779dfb2
console: display version update banner only for oss
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3533
GitOrigin-RevId: 4c575b4d4a118857cc942d6e904d4f5d50ecd618
2022-02-01 12:19:25 +00:00
Robert
0c17f238a2
server: report duplicate entries in metadata lists using ToTxt instead of Show
...
This change is because in https://github.com/hasura/graphql-engine-mono/pull/2477 , errors come out as
```
multiple declarations exist for the following allowlist : [CollectionName {unCollectionName = NonEmptyText {unNonEmptyText = "collection_1"}}]'
```
which is awfully messy. This changes it to
```
multiple declarations exist for the following allowlist: collection_1
```
This should improve error messages across the board -- e.g. `RoleName` has a nice `ToTxt` instance, while we used to use a derived `Show` instances. However, there might just be instances where the `Show` instance was better, bit hard to be sure based on scanning the code since we don't have test coverage for these errors.
Broken out of the allowlist PR since it affects more than just the allowlist.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3470
GitOrigin-RevId: 7a2c29f17d9f15d840cb2f89caefcdd3aae44d25
2022-02-01 11:30:58 +00:00
Varun Choudhary
670e0953fb
console: radio input should auto-select on insert and edit row form
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3524
GitOrigin-RevId: 75ca446fea815b03c9a4b4edfff848bb8ce5e0f5
2022-02-01 10:33:48 +00:00