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
paritosh-08
f7115891f7
server: event trigger log cleanup | change metedata API field name
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5965
GitOrigin-RevId: aa50006946e79fe4d9c971568221dc436040b738
2022-09-20 16:33:11 +00:00
Tom Harding
8dcc8f8fca
Implement aggregation tests for hspec
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5960
GitOrigin-RevId: bac9bae3ea39c005f0e7b9c5f7864f012d395ebb
2022-09-20 15:23:46 +00:00
paritosh-08
607b26362d
server: event trigger cleanup | fix query_timeout
field name
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5953
GitOrigin-RevId: b80b6672db5a73cafca77ba06cf25f71c7dc8c10
2022-09-20 12:47:22 +00:00
Varun Choudhary
95e2fe270b
console: filter manual trigger via source name
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5935
GitOrigin-RevId: f020a07f48e3662343467a34a8297d1760969a36
2022-09-20 11:58:25 +00:00
Samir Talwar
0b3c8ccaca
server/tests-py: Support running BigQuery tests with run.sh.
...
This fixes a few issues so that we can run `./server/tests-py/run.sh backend-bigquery` to run the Python integration tests for BigQuery locally.
* We forward the relevant environment variables to the Docker container.
* We increase the HTTP timeout, as I'm seeing requests taking up to 90s locally.
* We rewrite the setup so that it avoids `INSERT INTO`, which is not available using the BigQuery free tier. Instead, we use `CREATE TABLE ... AS SELECT ...`. This is the same method used by the Haskell integration tests.
We also capture local server output in a volume so it's easier to figure out what went wrong later.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5921
GitOrigin-RevId: c628f8c08a84f2582958659ab6d6494832471f6f
2022-09-20 10:56:36 +00:00
Abby Sassel
89f9a5fdf2
server/tests: add permissionRows
field and Permission
constructor
...
Factoring out some minor cleanup from a PR which [tests aggregate filters and permissions](https://github.com/hasura/graphql-engine-mono/pull/5936 ). This PR adds a `permissionRows` field to the `Permission`s type, needed to test row permissions (https://github.com/hasura/graphql-engine-mono/pull/5936 ) and some default constructors.
Relates to https://github.com/hasura/graphql-engine-mono/issues/5888
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5949
GitOrigin-RevId: 89679a49496364473976cc73afa4d064a02bbf21
2022-09-20 09:17:32 +00:00
Daniel Chambers
5c06eb7a3e
Remove duplicated Data Connector API types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5930
GitOrigin-RevId: 8c11387fa8556c3cdf8c92a0924ae53d31b953a5
2022-09-20 06:20:25 +00:00
Daniel Chambers
04ae6abf78
Exists support in filter expressions for Data Connector queries [GDW-133]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5904
GitOrigin-RevId: 6bad4c29a7d14d3881f9c57fe983d14cc41bdc4b
2022-09-20 04:01:33 +00:00
awjchen
dcca0c6275
server: support 128-bit trace ids
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5905
GitOrigin-RevId: 48a981a432b2e979bc7b42b32f9c7f53ab9e2598
2022-09-20 02:50:06 +00:00
Samir Talwar
6c03eef990
server: Add test cases for inconsistencies upon reloading or replacing the metadata.
...
I am working on https://github.com/hasura/graphql-engine/issues/8807 , and wanted to write a Haskell integration test case to reproduce it.
We have Python integration tests somewhat covering this behavior in *test_inconsistent_meta.py*, but no Haskell tests, so I thought I'd shore up the coverage here by adding a few test cases for working behavior.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5897
GitOrigin-RevId: 21500e530e413feaede5cbd8b4a94b07d25a6260
2022-09-19 18:49:31 +00:00
hasura-bot
71bba3e3aa
Add X-Forwarded-Origin header
...
GITHUB_PR_NUMBER: 8728
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8728
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5246
Co-authored-by: Wsevolod <31807671+kraftwerk28@users.noreply.github.com>
GitOrigin-RevId: b8229786a2b14a8be49303f9a6da10231c8fb331
2022-09-19 14:55:23 +00:00
Daniel Harvey
559cc78b2d
server: optimise CockroachDB metadata fetch
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5910
GitOrigin-RevId: 09deef75576fc916138888819db6689b4b61da2b
2022-09-19 14:07:59 +00:00
Nicolas Inchauspe
fb4104115d
console: enable disabled tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5825
GitOrigin-RevId: 2f70b60b9ec993bd6bf859f8901e064266830f15
2022-09-19 12:56:24 +00:00
hasura-bot
df5e887098
cli: fix bug when exporting metadata to remote_schemas.yaml
...
GITHUB_PR_NUMBER: 8921
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8921
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5744
Co-authored-by: Ryohei KOMATSUYAMA <54347899+kmtym1998@users.noreply.github.com>
GitOrigin-RevId: cc0948b62c3caccfb2c814433bb1a84508e3c37e
2022-09-19 12:20:26 +00:00
Rishichandra Wawhal
37443b299d
console: adds hidden oauth flow for Neon Integration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5855
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 57c884b215ff278d9cec279ab6f802a1242d06b9
2022-09-19 11:44:54 +00:00
Gil Mizrahi
a3036be77b
tests-hspec readme: update m1 workaround fix
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5931
GitOrigin-RevId: 4aeefb430e8aa7c3a257b0cce440842c3ed156df
2022-09-19 09:54:38 +00:00
Erik Magnusson
fed59e2a6c
refactor (console/browse-rows): useRows hook that fetches table rows for a pg tables
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5732
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 136d6a79bf742805572a4874b64c393156f4c72f
2022-09-19 09:21:21 +00:00
Vijay Prasanna
854edd07c4
feature (console): update gdc methods to fetch config schema from metadata API
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5875
GitOrigin-RevId: e0f0a5c17251fbdab4955cfc1abc2ba3fc4e27b5
2022-09-19 08:24:51 +00:00
Daniele Cammareri
df06d5cb0c
console: new remote schema preview tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5896
GitOrigin-RevId: 43c2a1b1331c58ad502c3da1ea87e29df6d9ab8c
2022-09-19 07:48:16 +00:00
Abby Sassel
71597778c9
server/postgres: fix non-latin text elements in array literals (copy). close hasura/graphql-engine#8961
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5916
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 9063f7ff39f684c4ab43f093706b872021b67b13
2022-09-18 16:08:15 +00:00
Daniele Cammareri
f34bd93e9c
console: remove allow list feature flag
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5889
GitOrigin-RevId: b9a3bab2bd83edb94137603850b405df1766e43b
2022-09-18 15:39:51 +00:00
Rikin Kachhia
30bc2185e6
install manifests: add offline console assets env var to docker-compose files
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5833
GitOrigin-RevId: 44007a91f06ea9a1abdfc98dd3ca512ab83b85a2
2022-09-17 22:49:33 +00:00
Philip Lykke Carlsen
26cdc03aa4
fix( #8904 ): Make BigQuery Computed Fields arguments optional
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5909
GitOrigin-RevId: 0d7c7de273c27bbd2338f42253754be0a06ea66e
2022-09-17 22:41:19 +00:00
Solomon
85cfd91908
allow exporting dc-agent test descriptions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5925
GitOrigin-RevId: a508e942c61c775823dff440a37fd8769ca42e21
2022-09-17 02:20:31 +00:00
awjchen
c3840fe2d1
server: graphql-ws: stop sending pings in response to pongs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5882
GitOrigin-RevId: 07fad6a24bb6eed9807e785e8201517126f7c302
2022-09-17 00:01:53 +00:00
Sean Park-Ross
56589b9f9a
Docs: Add Hasura Cloud section in deployment. Add disaster recovery information
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5712
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: f50f51172675153db388e360e85e31190dc77f3a
2022-09-16 17:10:37 +00:00
Sean Park-Ross
cabc8bd3ce
Docs: Change some Citus Hyperscale references to Postgres and amend info to specify Postgres flavours
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5893
GitOrigin-RevId: 0a8bb0fa7df101691e71ddf4b16953893e59499d
2022-09-16 16:11:53 +00:00
Rob Dominguez
bd60a01571
Docs: update feedback component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5856
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: 5b2ca6a4079d53a2c38fc99436d59978195da03d
2022-09-16 16:01:07 +00:00
Poojan Savani
d0af976ac2
Remove cron_trigger/scheduled_events using scheduled_time field
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5915
GitOrigin-RevId: ea4fa8eaf47185465bb9545c07dc4dbaab91b718
2022-09-16 15:24:04 +00:00
Abby Sassel
3056678e04
server/postgres: Implement execution of aggregation predicates
...
PR for the translation / execution step of [aggregation predicate filters](https://github.com/hasura/graphql-engine-mono/issues/5174 ).
[`translateAVAggregationPredicates`](translateAVAggregationPredicates) is the main change of note, everything else is a supporting or helper function. Please note this doesn't yet include [tests relating to permissions](https://hasurahq.slack.com/archives/C01RZPEPF0W/p1662560092197769 ); I decided to raise a PR without them for slightly faster feedback. I may include them in this PR or a separately if it's not trivial.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5724
GitOrigin-RevId: fcac258b64066e2bd45108372165a16fd957f5ab
2022-09-16 15:01:03 +00:00
Daniel Harvey
4bb4c91c0c
tooling: add coreutils to macos install docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5914
GitOrigin-RevId: 4a7383b7537987a5ab5f744ab49713c0f532a1b4
2022-09-16 14:16:21 +00:00
Rob Dominguez
d67e717524
Docs: update cloud db guides
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5901
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: a9c5cb43437d31c08b2ced0ea156f56a4224ba5d
2022-09-16 13:50:46 +00:00
Matt Hardman
35873b1897
console: create new form component without using forwardRef
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5755
GitOrigin-RevId: 9078553499377484b15d53bfbe0c19eaee9a376a
2022-09-16 10:50:07 +00:00
Rikin Kachhia
bd071ddc7f
docs: update Kriti reference
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5898
GitOrigin-RevId: ef2227eea519dde332eb20ecb5610413576599dc
2022-09-16 09:07:51 +00:00
Karthikeyan Chinnakonda
cb2349d5a0
server, pro server, console: provide an option to not include rows count while fetching scheduled events
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5650
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 8a55f3ca52cfbda4d4e75372b813b7acd421eabb
2022-09-15 19:12:04 +00:00
Abhijeet Khangarot
6762e7b28c
pro-console: integrate survey form in pro console
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5854
GitOrigin-RevId: 69904a84bd823db0000f3c81ed297d1006d785af
2022-09-15 18:02:13 +00:00