Vijay Prasanna
0bdfd3ae39
feature (console): new tracking section for databases
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5391
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: 14cc2c6be93f1f366026db7d6acfc2eaa967815f
2022-08-25 14:08:55 +00:00
Daniel Harvey
d0ebb018e4
server: enable runSQL for cockroach
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5629
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 617da541d1754289dc6097c46ec1de3fcc6b48f9
2022-08-25 13:32:16 +00:00
Rikin Kachhia
c0b7d14adc
console: add min height to graphiql on explorer page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5572
GitOrigin-RevId: de3a8213eb550f5e6db93eea4b29a95b805eb7e0
2022-08-25 12:54:35 +00:00
Daniel Harvey
518bf38d48
tooling: make
commands for data-connectors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5395
GitOrigin-RevId: 76e10ac7ebb1fa655a7523d38174f049dc683105
2022-08-25 12:09:15 +00:00
Karthikeyan Chinnakonda
ee1665d0f6
Server: Enable streaming subscriptions by default
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5587
GitOrigin-RevId: 5e1568f03ece98945127299c7377ba7f8a4e3f3b
2022-08-25 08:24:26 +00:00
Brandon Simmons
746cae5f4b
benchmarks: Add Accept-Encoding: gzip
headers (NO REGRESSION)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5622
GitOrigin-RevId: 431f7f382573737af9b85966a58c5b262f8cb377
2022-08-25 06:43:18 +00:00
Lyndon Maydwell
8fdd0ac8f5
Adding FK support to the SQLite data connectors agent schema endpoint
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5598
GitOrigin-RevId: 3613c39958bd5dcb2aca497475f4bd69a3479e6f
2022-08-25 05:07:15 +00:00
Rishichandra Wawhal
7c0e378417
console: add experiment as user property on heap
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5601
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 6b7037750cab35e40c7b843520da4f49680043e6
2022-08-24 16:50:41 +00:00
Antoine Leblanc
1537bbd442
[ci] add benchmark for deep schema
...
### Description
This PR adds a new benchmarl set named `deep_schema`, that is made to replicate one very specific edge-case: schemas that have deeply nested remote relationships. Our schema-building code is, in essence, "depth-first", and there are a lot of subtleties in the way we jump across remote relationship boundaries: this set will allows us to better understand the performance implications of technical decisions we make wrt. schema building.
This set, unlike others, does not declare any query: we are, for now, only interested in the schema building, which is tested with an ad-hoc script.
## Remaining work
There are several points worth discussing, wrt. this PR:
- should we make the schema larger, to make measures more consistent?
- should we extend this idea of measuring schema build performance to other sets?
- how do we extend the report to include this new information?
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5517
GitOrigin-RevId: 9d8f4fddb9bbdca5ef85f3d22337b992acf13bce
2022-08-24 15:55:29 +00:00
Daniel Harvey
bffd9c7835
server: convert fetchFunctionMetadata
into typeclass
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5615
GitOrigin-RevId: 2b96e62f2b8268f5617f8a8caa81928d56768468
2022-08-24 14:33:31 +00:00
Daniel Harvey
a6aaeaf604
server: use updated pg-client-hs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5588
GitOrigin-RevId: ae4473e7a6301093b2ee98f12f2b013c50dec07a
2022-08-24 12:45:45 +00:00
Philip Lykke Carlsen
29b6ea54c0
refactor: Enable Aggregation Predicates IR for Postgres
...
This does not yet enable Aggregation Predicates to users, but enables building the execution backend and tests of the schema.
This is a prerequisite for:
* #5174
* #5261
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5607
GitOrigin-RevId: e07beb01949724545131629c111d41a7ec4636f2
2022-08-24 12:00:11 +00:00
Rob Dominguez
51ca899ddd
Docs: Add snippet missed from OSS pg default privileges merge
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5611
GitOrigin-RevId: 0393f12f2e602c041a8552267ed74fc92cf12aa4
2022-08-24 11:01:24 +00:00
hasura-bot
15a43026c6
Add default privileges to pg user permissions example ( close #3671 )
...
GITHUB_PR_NUMBER: 8575
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8575
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4687
Co-authored-by: Benoit Ranque <25712958+BenoitRanque@users.noreply.github.com>
GitOrigin-RevId: 11903ee1499d89f07772be575f90666c3f88d3e6
2022-08-24 10:18:05 +00:00
Daniel Harvey
066e2d6c7b
server: fetchTableMetadata does not send tables for CockroachDB
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5593
GitOrigin-RevId: 3a2f4ab30e8900494f32870b5e3d345877744071
2022-08-24 09:38:13 +00:00
Philip Lykke Carlsen
e7522978c5
fix: wrong argument in ghcid.mk
...
Just a small typo I found.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5602
GitOrigin-RevId: 9962f0d245b700f1a9c54604b36302545ccefaff
2022-08-24 09:02:24 +00:00
Samir Talwar
38c94d8cda
server/tests-py: Fix some warnings.
...
They're getting in the way of real problems.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5541
GitOrigin-RevId: 9bc99a0826715f6df77055cca79e428ad49742a8
2022-08-24 08:32:07 +00:00
Abhijeet Khangarot
150fbaea7c
pro-console: integrate onboarding wizard
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5559
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 35da0aa3c22f030f78d90bdd0ef6a7526c566016
2022-08-24 07:25:15 +00:00
Solomon
37601d7303
Adds support for GDC relationships in metadata API and adds support for foreign key constraints to GDC
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5561
GitOrigin-RevId: 221a5dae514c3ac60cc60ba1ec9451a04984d491
2022-08-23 21:47:26 +00:00
Rob Dominguez
0828f97dde
Docs: Add admonition for including heading while testing
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5591
GitOrigin-RevId: a260f5e1dc4d0d83e651a3a29f134d640715bd5d
2022-08-23 15:47:48 +00:00
Rob Dominguez
acc90587b4
docs: add runbook to wiki
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5464
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 9f2aba315fd08d3d63c4c9913525817e52096a95
2022-08-23 15:30:23 +00:00
Naveen Naidu
dae6cfa9a6
server: enforce event triggers name in a source to be unique
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5394
GitOrigin-RevId: 78015262365985329c18ed25897ca6d6f4422ecb
2022-08-23 08:51:11 +00:00
Poojan Savani
fc97c8e456
Hasura Cloud Document change for scheduled triggers data retention period
...
>
## Description ✍️
Hasura cloud each for each project retention period for hdb_cron_events and hdb_cron_event_invocation_logs tables is 1 month. which means that for any project in hasura cloud the user can only look at the past 1 month of data of Cron triggers.
### Catalog upgrade ✍
Does this PR change Hasura Catalog version?
- ❎ No
### Metadata ✍
Does this PR add a new Metadata feature?
- ❎ No
### GraphQL ✍
- ✅ No new GraphQL schema is generated
### Breaking changes ✍
- ✅ No Breaking changes
---
#### Commit title
Hasura Cloud Document change for scheduled triggers data retention period
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5566
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 751e544a0add51c5be6ad5c8e6b86624604b93eb
2022-08-23 07:41:29 +00:00
Daniele Cammareri
2120c601d3
console: remove new create remote schema add page feature flag
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5529
GitOrigin-RevId: cf487e53137cb884236bfa0a394a719506e11b1b
2022-08-23 07:36:56 +00:00
hasura-bot
49cbca45d2
cli-migrations: update docker-entrypoint.sh
to stop overwriting the PORT env var ( fix #8770 )
...
GITHUB_PR_NUMBER: 8772
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8772
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5425
Co-authored-by: George Czabania <1140167+stayradiated@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 16fe43d0358f3eb2c0fee7abacd58c3590a20e95
2022-08-23 06:18:30 +00:00
Erik Magnusson
46db01abd9
console: set Tooltip component typ to button
...
>
## Description ✍️
->
This PR sets a specific button type to the new Tooltip components Trigger component.
Since it defaulted to a "submit" button it created problems with submits where we used the Tooltip inside `<form />` tag
https://user-images.githubusercontent.com/32518962/185909664-24a4e3a5-d4e0-4887-9121-6b1d32ebed3c.mp4
## Review Setup 💻
- Navigate to http://localhost:3000/data/manage/connect
- Remove the line added to the Tooltip component
- Try pressing any tooltip inside the form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5565
GitOrigin-RevId: b8cfa0680b9a57ca022bcc814ec7b7fa7a9a7eb0
2022-08-23 05:39:05 +00:00
Philip Lykke Carlsen
4431fb5ea9
Add schema implementation for Aggregation Predicates
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5259
GitOrigin-RevId: f53e310951fa4eb7570006d8c616398a98078632
2022-08-22 15:59:21 +00:00
Vishnu Bharathi
967bdcc5d5
ci: update ubuntu base to latest focal release
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5562
GitOrigin-RevId: 0a8f8b8dfc3af69766fb426f2af0f6140e6f4809
2022-08-22 15:26:42 +00:00
Nicolas Inchauspe
6ca1fea4bf
Migrate ALL buttons to new Button component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5406
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: c6eb23f5820ea4fe2ee23bf323ba81cd20d152e0
2022-08-22 14:48:14 +00:00
Abby Sassel
ac55952169
fix cockroach_table_metadata.sql
syntax error
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5573
GitOrigin-RevId: cd4b4c954203fcb044cf6a5da6fd3bdab2799a52
2022-08-22 14:18:46 +00:00
hasura-bot
66bfc0cd76
update: make requested changes to streaming subscriptions demo
...
GITHUB_PR_NUMBER: 8815
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8815
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5556
Co-authored-by: arjunyel <11153289+arjunyel@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: bf7cae19dbe76623ff952d83901c6450d77b6b30
2022-08-22 13:43:13 +00:00
Tom Harding
d89ad0cd35
Add explanation of new test structure to the tests-hspec README ( close #4757 )
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5574
GitOrigin-RevId: 439da1fbf1d3b3a519f28393408eebbcf5817f63
2022-08-22 10:51:44 +00:00
Rob Dominguez
61d545c9b7
Docs: update EE references in Cloud+EE pages
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5134
GitOrigin-RevId: 33af200d7b4fb626be15f77ed73510ceff5b723e
2022-08-22 09:08:33 +00:00
Daniel Harvey
5a126a693e
server: MSSQL varchars compared to nvarchars
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5536
GitOrigin-RevId: ff2e5c9a71dbb02e729b7715d5df752675fc4656
2022-08-22 08:34:41 +00:00
Samir Talwar
2f186b50be
server/tests-py: Extract parts of a test out of YAML.
...
We plan on creating the source database dynamically, in the test setup.
This means that (a) we cannot assume that the metadata database and the
source database are the same, and (b) we need to drop and re-add the
source in code, not in YAML.
This changeset prepares the code for the introduction of a separate
source database, but doesn't go there yet. The separation is already
done but is too big to review in one go, so I have split this out.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5508
GitOrigin-RevId: b497a83ac4a100371762c2515c87ee3760d8d4ab
2022-08-22 07:22:24 +00:00
Vijay Prasanna
c0cff3c908
feature (console/data-relationships): generic relationships view table that's compatible with GDC
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5525
GitOrigin-RevId: 02bdfa11ae705db4a2e50f4696a3178797a00412
2022-08-22 06:19:42 +00:00
Rakesh Emmadi
a441308938
server/rfc: Computed fields in order by/filter/permission
...
>
### Description
>
RFC rendered [here](https://github.com/hasura/graphql-engine-mono/blob/rakeshkky/rfc/computed-fields-filter/rfcs/computed-fields-filters-perms-orderby.md )
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1642
GitOrigin-RevId: 69b7d11c9e85d0c539564b39d254baac71ce20f7
2022-08-22 05:31:20 +00:00
Daniel Chambers
f6d15e4ef2
SQLite Data Connector Agent fixes
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5505
GitOrigin-RevId: 928d83b3913864258f5cd452f6e5d410a5778cbd
2022-08-22 05:27:47 +00:00
Samir Talwar
ecd3989722
CI: Increase the verbosity of reporting when running pytest.
...
This passes the `-vv` argument to pytest, [which tells it not to truncate assertions](https://docs.pytest.org/en/7.1.x/how-to/output.html?highlight=verbose#verbosity ), and the `-r a` argument, which tells it to print a summary of all skipped, failed, errored, xfailed, etc. tests (i.e. everything that didn't pass).
This should help us understand what's going on when tests fail.
I have also pulled out other common parameters into variables, and added newlines.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5510
GitOrigin-RevId: 7d2410820b6c9372b1cf7867ce0450af728b7fc1
2022-08-22 05:12:54 +00:00
Vishnu Bharathi
5830720dbf
ci: remove changelog check and introduce changelog in PR template
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5520
GitOrigin-RevId: 94f9c54060e22e7cb4812b4fb5337d9391951b09
2022-08-22 04:44:47 +00:00
Daniel Chambers
1280b7f0f6
server: Remove redundant filter expressions from Data Connector queries
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5479
GitOrigin-RevId: 65ef71bbd7dfc69ec3e678bcf0eb5ccf9bc025f5
2022-08-22 04:23:49 +00:00
Abhijeet Khangarot
522c9ea31a
console: add onboarding wizard
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5372
GitOrigin-RevId: 088509185666500ab3d4a8d2db2aaeced4133901
2022-08-19 17:58:50 +00:00
Tom Harding
4a9da49f8d
Move ArrayParamPermissionSpec
under Postgres
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5492
GitOrigin-RevId: f9f002934acdb9cb9eb82772969663983de05a23
2022-08-19 16:13:07 +00:00
Philip Lykke Carlsen
0e921ca9a5
Define IR types for AggregationPredicates.
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5258
GitOrigin-RevId: 172b9de69f44635c5700b3f75ce17304ec56c18a
2022-08-19 15:41:47 +00:00
Daniel Harvey
6040cb065e
tests: Use async instead of forkIO in test setup
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5544
GitOrigin-RevId: e932e1f76c6e20121c64a429a6eb613d550c6eca
2022-08-19 14:57:02 +00:00
Daniel Harvey
2ff8aa8f7d
server: add PostgresKind for CockroachDB
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5550
GitOrigin-RevId: f53f88b64617500353bce5a699b89fcbb591d80f
2022-08-19 14:21:09 +00:00
pranshi06
e5df380d70
server: add rename_query_collection
metadata API
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5533
GitOrigin-RevId: d9c322034c4be01f87ecf05415dac1f90e906c8c
2022-08-19 13:37:16 +00:00
Tom Harding
283d51668f
Move BackendOnlyPermissionsSpec
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5539
GitOrigin-RevId: 96851c840ea945af250c8eb876ea183b8384f5d9
2022-08-19 12:59:03 +00:00
Daniel Harvey
8600d78456
server: Remove duplicated Expression and Constants from Query module
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5530
GitOrigin-RevId: 2e1ad22472e4abdbff0a3701d73c632dbbcf649f
2022-08-19 12:27:12 +00:00
Daniel Harvey
145fed8a7f
tooling: add make
commands for running unit tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5537
GitOrigin-RevId: 6427a51f729a4d4724299ea9a6a5d0e808882c86
2022-08-19 11:23:43 +00:00