Auke Booij
7e10ff4e13
server: don't export the backend_only
permissions flag if it is set to false
while exporting metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6006
GitOrigin-RevId: 60207193b654407bffdbf8436f5be36f46c6d8c6
2022-09-26 06:11:57 +00:00
Abhijeet Khangarot
3c16b60253
console: update msw and add one graphql mock
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6040
GitOrigin-RevId: 7e22c61a5705f9b24b81079215becdb51b59924a
2022-09-23 19:06:27 +00:00
Sean Park-Ross
73b44484db
Docs: Clarify Databases > Getting Started > BigQuery docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6023
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: ce87ace7ec73f37fe9137fd24da42e0a33f3c198
2022-09-23 15:31:11 +00:00
Philip Lykke Carlsen
46ef2e5d2a
feat: Document aggregation predicates
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5894
GitOrigin-RevId: 2a06f7afdec6741aca7464eee42617aca920b9ad
2022-09-23 13:49:49 +00:00
Rob Dominguez
eaa6106a8d
docs: add supabase and enterprisedb guides
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6025
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: b4f5fea1ae12f036442e69c27572742b1d14780b
2022-09-23 12:15:43 +00:00
Sean Park-Ross
0ddad5b157
Docs: Fix dedicated VPC available on (Small)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6020
GitOrigin-RevId: fd3f65a0418cebb6beed9b9bded36a325c1adc57
2022-09-23 10:00:41 +00:00
hasura-bot
1dce311820
docs: add data source config explanation for local dev
...
GITHUB_PR_NUMBER: 8941
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8941
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5806
Co-authored-by: Shawn Erquhart <2112202+erquhart@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 51cd587f227e47a155655600ec85fa6df759c61d
2022-09-23 09:28:10 +00:00
Lyndon Maydwell
4d2e37b3e6
Raw Query Support for Data Connectors - GDW-394
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5890
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: f6bd2ed5fe170bcce262564cf4f45c95c9bdff94
2022-09-22 21:09:06 +00:00
Sean Park-Ross
e0c0d7b73f
Docs / Install-Manifests: Fix Azure Deployment Buttons
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6017
GitOrigin-RevId: ab3bb95f7243d96504adc05b6b20e0aa8229bf65
2022-09-22 20:30:05 +00:00
Samir Talwar
fef1caabce
server/tests-py: Support MSSQL and Citus with run.sh and run-new.sh.
...
This adds support for running the Python integration tests for MSSQL and Citus just as in CI, as follows:
```
./server/tests-py/run.sh backend-mssql
./server/tests-py/run.sh backend-citus
```
These run the named CI jobs, providing the appropriate backend.
(In reality, all backends are always provided, which is much simpler.)
It also provides the various databases to _server/tests-py/run-new.sh_, though the tests fail as they don't properly initialize the sources. (This will be fixed in the future by provisioning sources in the test framework itself.)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5997
GitOrigin-RevId: c276a4779a35bb538ef0dc02ac8b7cb2d5a8dec5
2022-09-22 19:03:44 +00:00
Brandon Simmons
d2b3ec8938
ci/benchmarks: fix copypaste bug affecting regression report highlighting in #5942
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6021
GitOrigin-RevId: eb77bf97a52e533c565bfb12a45c0851f832610d
2022-09-22 16:24:15 +00:00
Luca Restagno
66a698cbef
console: integrate redux into the new filters section component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5958
GitOrigin-RevId: 58f565ed293dcad71bb9239eb511531e44d63618
2022-09-22 15:41:39 +00:00
Gil Mizrahi
dd37456949
replace SELECT FROM
with SELECT 1 FROM
to fix count aggregates for cockroachdb
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5787
GitOrigin-RevId: f5f01a64ccffa36c93a0a88228ac927fbd3aa168
2022-09-22 13:58:03 +00:00
kodiakhq[bot]
81df74852e
ci/benchmarks: tweak what we present in regression report
...
- Make regression report more compact, remove `min` since it doesn't behave like a limit
- It looks like the low-load variants are probably just noisier with fewer samples, so remove them from the regression view:
![samples](https://user-images.githubusercontent.com/210815/191076137-f5c3a0c6-9586-4ea4-a5a7-66000e7a2540.png )
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5942
GitOrigin-RevId: 8a9ab00c251f04d7d5a542731696cb5f86ad2b78
2022-09-22 13:28:56 +00:00
Abby Sassel
37b846c28d
server/postgres: aggregation predicate filters should respect aggregation queries permissions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5936
GitOrigin-RevId: ecb6d677873676ec2bcb7d0bedd1ec707f8e05a1
2022-09-22 12:53:05 +00:00
Rob Dominguez
8eaa447bbb
docs: update multiple mutations in a request
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5969
GitOrigin-RevId: a739dd8a17a62e614219f785c9ba708f2ebf3e8f
2022-09-22 12:21:13 +00:00
Vijay Prasanna
1319304170
feature (console): Edit connection configuration for GDC sources
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5917
GitOrigin-RevId: 9913830a7a068b6d50910d7e77d88d185fb7f903
2022-09-22 12:12:43 +00:00
Sean Park-Ross
6329852db6
Docs: Improve Permission rules including disable root fields doc
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5769
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 81f32e1377aefc0a507052d2a583e3561d7b213c
2022-09-22 11:43:46 +00:00
Abby Sassel
b59008c880
server/postgres: implement execution of aggregation predicates (permissions)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5959
GitOrigin-RevId: eebfe36d217c333b393a308a1db19271809b6a87
2022-09-22 11:15:04 +00:00
Karthikeyan Chinnakonda
3b167b7df1
server: fix bug when streaming subscription cursor has custom name
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6009
GitOrigin-RevId: ba69bbd3a2c8f44e717cb64c8195041edc80a2d6
2022-09-22 09:52:36 +00:00
ananya-2410
c34d2504e8
ci: tag release v2.13.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6008
GitOrigin-RevId: 3b877e49dcf5ce4116b8b68581a9189521ac81f9
2022-09-22 08:19:04 +00:00
Abhijeet Khangarot
a81c028fe2
console: add neon banner for onboarding wizard
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6003
GitOrigin-RevId: f3556e3b6c9987b7dc139d6185fd909bb87d3fe8
2022-09-22 06:47:43 +00:00
Vijay Prasanna
969cb05bdf
fix (console): update @hasura/dc-agents-types dependency to 0.6.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5978
GitOrigin-RevId: 9fc7bad5c003a733b8d67f0240651ba60585d0b7
2022-09-22 05:49:57 +00:00
Raju Sunny
b69bd09ba4
docs: Adds observability best practices 1.0 to own branch
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5944
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 341f5362eb424098fe51d73d045a9381bacc31ef
2022-09-22 02:31:06 +00:00
Daniel Harvey
f80ec1d543
server: Rename AltJ to ViaJSON
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5911
GitOrigin-RevId: bd4dec9792f2137b2f4e3169e19109a3d3f63b50
2022-09-21 18:42:30 +00:00
Tom Harding
e71496efa5
Replace Hasura.RQL.Types.Numeric
with refined
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5913
GitOrigin-RevId: 96e218229a08dfbc5a598d709be1ee2083d41ec6
2022-09-21 18:03:04 +00:00
paritosh-08
1c7e19c209
server/docs: event trigger log cleanup | remove default for clear_older_than
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5998
GitOrigin-RevId: 1376fd2192c7daaf73e8099cdb2f1aab4b8c3cd1
2022-09-21 17:29:55 +00:00
Samir Talwar
8b8d7ab96d
server/tests-hspec: Simplifying the steps required to run these on macOS on aarch64.
...
This makes a few changes to the test scripts and makefiles in order to make things simpler for the average Apple user.
First of all, we change the `wait_for_mysql` function to use "localhost", not "127.0.0.1", as this fixed an issue on my system when attempting to connect to the MySQL server.
Secondly, we split the SQL Server test image into two:
* The first is the server itself, which now automatically uses `azure-sql-edge` as the image if you are on an aarch64 chip and using the `make` commands.
* The second is the initialization script. Because `sqlcmd` is not available in the `azure-sql-edge` image on aarch64, we use a separate container based on `mssql-tools` to initialize the server.
The README has been updated.
Tested on both macOS/aarch64 (with other changes) and Linux/x86_64.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5986
GitOrigin-RevId: b16e079861dcbcc66773295c47d715e443b67eea
2022-09-21 16:48:21 +00:00
paritosh-08
8053de81ac
docs: event trigger log cleanup | update image
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5994
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 146b267ecdbc2646359b68849aa0bcdda215c5fb
2022-09-21 16:13:38 +00:00
Rob Dominguez
0646b8ef86
docs: remove custom-docker-images from deployment and references
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5993
GitOrigin-RevId: f0d406fa2b4ee269cf87b6d3c2c4b0c4429b7e1a
2022-09-21 15:46:52 +00:00
Rob Dominguez
d88453194e
docs: add heroku migration page to cloud db guides
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5970
GitOrigin-RevId: 838702312ef30704a70da220870bcda1de928fad
2022-09-21 15:30:28 +00:00
Varun Choudhary
a7c0b02296
console: add auto clean form on events tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5956
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: febb6ae707c9ac9c1e77a25aa01c2d2283c0d7d9
2022-09-21 15:24:48 +00:00
Rikin Kachhia
e369f567c3
docs: add support for showing section local TOC
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5941
GitOrigin-RevId: e05b5d60624d755dc38d662919bde55826cde434
2022-09-21 14:38:40 +00:00
Daniel Harvey
231de5166a
server: bump CockroachDB image and un-skip fixed tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5967
GitOrigin-RevId: 28a2f8e94d091c8ddd272b6abf3828c40662ef38
2022-09-21 14:11:06 +00:00
paritosh-08
35ddcbec31
docs: event trigger auto cleanup api docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5867
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 9c6c58ec97ca43a4d8b9c3a3d61cf8e60d7cc7ea
2022-09-21 13:37:59 +00:00
Varun Choudhary
633cfde310
console docs: add docs for role based allow list
...
Add docs for role-based allow list
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5907
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: b7a6af1e9da23dada7dc6edef7f93e954fafa611
2022-09-21 13:09:23 +00:00
Rob Dominguez
e7e19c7678
docs: remove beta references for ee
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5971
GitOrigin-RevId: 825da7bf073205cb290c5c7eedc914004ceb658a
2022-09-21 13:03:18 +00:00
paritosh-08
d5739c5e13
docs: event trigger auto cleanup usage docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5945
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: a3448bce55074d089e7ffc6de3c67e59a34ed581
2022-09-21 12:18:14 +00:00
Daniel Harvey
e2ced4011d
server: import local Postgres modules as Postgres
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5962
GitOrigin-RevId: 862862c34b6c633c94ee8ae1f075afca2799fd2b
2022-09-21 11:35:50 +00:00
hasura-bot
e32bcb183c
docs: Clarify Cloud project time limit note
...
GITHUB_PR_NUMBER: 8987
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8987
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5973
Co-authored-by: dsandip <24300818+dsandip@users.noreply.github.com>
GitOrigin-RevId: 9cf4cc5598bb6f9c9511d59a678f1dfe6031b76d
2022-09-21 11:01:32 +00:00
Daniel Chambers
3365a18516
Rename DataConnector cross_table capability to subquery
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5980
GitOrigin-RevId: c289b2a7afb4d07214aac2b4d89c9b87a75e98aa
2022-09-21 10:48:05 +00:00
Rishichandra Wawhal
7365838f76
console: add hidden database creation flow for Neon integration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5938
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: b73a77e5c7d6be6befefa91e565ac9369c00297c
2022-09-21 08:58:15 +00:00
Aravind K P
451f252c0f
cli: [rfc] improve error handling
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4817
GitOrigin-RevId: 340f8d0cb3df496c1c0df1cc60fe3752dd58c75c
2022-09-21 08:29:37 +00:00
Daniele Cammareri
e065fd9ac7
console: add quick add to query collections modal
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5955
GitOrigin-RevId: a0da0ac017620c4bb6baa7e7c27fb77790237ce5
2022-09-21 07:38:45 +00:00
paritosh-08
876c906660
server: event trigger log cleanup | rename start_event_trigger_cleanups
API
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5976
GitOrigin-RevId: 752c905d31b3700aa49d816ec573df74715f6654
2022-09-21 06:00:39 +00:00
Daniel Chambers
dc9a86680c
Gardening: Clean up Data Connector API types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5977
GitOrigin-RevId: 1a6898d6416fff265a8add74d414c979f7fa3bc5
2022-09-21 05:13:03 +00:00
Brandon Simmons
fc9cc14943
ci/benchmarks: don't measure decompression in k6 (NOT REAL PERFORMANCE IMPROVEMENT)
...
See: https://github.com/grafana/k6/issues/2685
It might be interesting to think about taking into consideration decompression time when thinking about performance, but In general I think doing so is surprising and I wasted a lot of time trying to figure out why my optimizations to the compression codepath weren't improving things to the degree I expected
The downside here is we lose error reporting, so you'll need to only set
discardResponseBodies: true after the query has been tested.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5940
GitOrigin-RevId: 82a589a59b93f10ffb5391e4a3190459fb6e613b
2022-09-21 02:07:54 +00:00
Rob Dominguez
8bd343d67c
docs: update ERD for security best practices
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5943
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 81b1b8e308bbe8a78b3d63c61b08de4050311782
2022-09-20 20:51:58 +00:00
Auke Booij
4c8ea8e865
Import pg-client-hs
as PG
...
Result of executing the following commands:
```shell
# replace "as Q" imports with "as PG" (in retrospect this didn't need a regex)
git grep -lE 'as Q($|[^a-zA-Z])' -- '*.hs' | xargs sed -i -E 's/as Q($|[^a-zA-Z])/as PG\1/'
# replace " Q." with " PG."
git grep -lE ' Q\.' -- '*.hs' | xargs sed -i 's/ Q\./ PG./g'
# replace "(Q." with "(PG."
git grep -lE '\(Q\.' -- '*.hs' | xargs sed -i 's/(Q\./(PG./g'
# ditto, but for [, |, { and !
git grep -lE '\[Q\.' -- '*.hs' | xargs sed -i 's/\[Q\./\[PG./g'
git grep -l '|Q\.' -- '*.hs' | xargs sed -i 's/|Q\./|PG./g'
git grep -l '{Q\.' -- '*.hs' | xargs sed -i 's/{Q\./{PG./g'
git grep -l '!Q\.' -- '*.hs' | xargs sed -i 's/!Q\./!PG./g'
```
(Doing the `grep -l` before the `sed`, instead of `sed` on the entire codebase, reduces the number of `mtime` updates, and so reduces how many times a file gets recompiled while checking intermediate results.)
Finally, I manually removed a broken and unused `Arbitrary` instance in `Hasura.RQL.Network`. (It used an `import Test.QuickCheck.Arbitrary as Q` statement, which was erroneously caught by the first find-replace command.)
After this PR, `Q` is no longer used as an import qualifier. That was not the goal of this PR, but perhaps it's a useful fact for future efforts.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5933
GitOrigin-RevId: 8c84c59d57789111d40f5d3322c5a885dcfbf40e
2022-09-20 19:55:51 +00:00
Daniel Harvey
50a7b2ad17
server: use Postgres 15 for local testing
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5964
GitOrigin-RevId: bc97925c701805afeb8dbe8b84a906bc73a0352b
2022-09-20 17:01:53 +00:00