hasura-bot
52efcc208d
cli: allow specifying api hostname in console
command
...
GITHUB_PR_NUMBER: 7519
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7519
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2311
Co-authored-by: CJ Lazell <1819+cj@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: f5f2eb2ebf0eaa9f67f0f924003e839108e4034f
2021-11-15 07:16:37 +00:00
Sooraj
d867bb7303
console/actions: fix cypress tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2780
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 4ce4e24f122705fb808de0a32a2c09a30a0d78d4
2021-11-14 19:26:59 +00:00
Abby Sassel
aa38733d3b
server/rfc: update haskell test suite RFC with discussion
...
Document open Qs and design decisions from the last week (with @chrisdone @aniketd @0x777 @jkachmar). Please let me know if I've misunderstood anything, otherwise I'll assume agreement and try to get notes merged eod tomorrow.
[Rendered](https://github.com/hasura/graphql-engine-mono/pull/2827/files#diff-413b62860d531837479c6dd82ec2b2d9124861dd86a0d3ab67c5eaf7bff6d781 ).
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2827
GitOrigin-RevId: 34116cc119463dc1d67d4430dafba77cbbd941d6
2021-11-11 18:30:36 +00:00
Anon Ray
b3464c9cb2
server: fix JSON path in error when parsing sources in metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2839
GitOrigin-RevId: 9c46f289b28082bacb0a05a47ead643369d866d3
2021-11-11 15:56:36 +00:00
Nicolas Beaussart
59cc19e2d4
console: remove import order eslint rule
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2824
GitOrigin-RevId: cd17ab0fee72821e9379b518f152cd4cb0706105
2021-11-11 13:36:18 +00:00
Matt Hardman
7303dd739c
console: fix flaky manage database test
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2553
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
GitOrigin-RevId: b4ffb4ea1a14ce27e21a71a797efdde0b5affdd8
2021-11-11 12:16:05 +00:00
hasura-bot
bc10d9eb1c
cli: fix changelog hyperlink in the log message
...
GITHUB_PR_NUMBER: 6936
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6936
closes https://github.com/hasura/graphql-engine/issues/6682
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1365
Co-authored-by: pow-devops2020 <69558219+pow-devops2020@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: fbf66ea7e4abe0be8684b8e6cc7361f14a6faea0
2021-11-11 10:56:16 +00:00
Nikunj Shukla
e80804532e
cli-ext: add make file rule for clean build
...
* Updated Readme.md
* Updated Makefile with updated commands
* Added help for Make
* Fix for `cli-ext` building on mac https://github.com/hasura/graphql-engine-mono/issues/133
closes https://github.com/hasura/graphql-engine-mono/issues/133
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/138
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 02f882896997ba49657a58f7c2c9bdc877e258d5
2021-11-11 07:46:15 +00:00
Vishnu Bharathi
df143cf048
ci: init release graphql-engine oss pipeline on buildkite
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2652
GitOrigin-RevId: 91a57792d8bc0657b8d206678814e9c7ff270817
2021-11-11 04:41:45 +00:00
Karthikeyan Chinnakonda
5d1733519c
server: provide option to recreate event triggers of specific or all sources in reload_metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2723
GitOrigin-RevId: 5f18021f4892632c1823543595a26ec7f3d8bc32
2021-11-10 14:35:21 +00:00
Kali Vara Purushotham Santhati
7d26e86fa1
cli: fix cli-console failing to add migrations if there are tabs in SQL body
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2822
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 1036a177e81a24ac4d047b56aead42d297682c14
2021-11-10 12:36:35 +00:00
Evie Ciobanu
691b9233ce
server: IR Selection basic generators
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2627
GitOrigin-RevId: a8a80bf90655db874d269efcf12e59eb9a46575c
2021-11-10 11:13:04 +00:00
Aravind K P
97134b4d44
cli: defer validating plugins index and actions codegen repo
...
closes https://github.com/hasura/graphql-engine/issues/7695
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2647
GitOrigin-RevId: 675f8daa3a329f4159103178faf225e642acdb13
2021-11-10 09:22:06 +00:00
Anon Ray
0b1ecbf0a9
server: creating gen_hasura_uuid function should be idempotent
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2625
GitOrigin-RevId: aff53bbfcf284d352848e06843ec4086d6e8ea6e
2021-11-10 07:59:31 +00:00
Gavin Ray
1d228db305
contrib: Metadata V3 types + JSON Schema
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2726
Co-authored-by: BenoitRanque <25712958+BenoitRanque@users.noreply.github.com>
GitOrigin-RevId: 0a7a0452ad6dc4790fb2a745b905d4ad30e35836
2021-11-10 05:37:11 +00:00
Rakesh Emmadi
95be515a60
server/mssql: fix table_by_pk query returning empty array
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2810
GitOrigin-RevId: ed8e694d491d7bd28da0b39da2b1f1150d2e3735
2021-11-10 05:32:41 +00:00
David Overton
ec60386f9c
Allow "extensions" field in remote schema response
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2818
GitOrigin-RevId: 505e8bae6d3e11199c229bd2b86af09161eb8b66
2021-11-10 02:34:56 +00:00
Philip Lykke Carlsen
984955d194
( Fix #2795 ) Add haddock documentation to schema generation and helpers
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2806
GitOrigin-RevId: 24005d471d469076f03390ca32442a6a3ebbce44
2021-11-10 00:38:40 +00:00
Matt Hardman
55c7be6b61
console: add comments to tracked functions
...
Closes https://github.com/hasura/graphql-engine/issues/7628
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2745
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Alberto Francesco Motta <36401353+afmotta@users.noreply.github.com>
GitOrigin-RevId: 8a9c89a4175c5d0a48dada30a12cfdc0f4bf4250
2021-11-09 18:18:07 +00:00
Rikin Kachhia
e8023afaaf
docs: update CLI docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2801
GitOrigin-RevId: c58bc421beb8aab5631ca8de035a8b1b87f7110a
2021-11-09 14:38:27 +00:00
Karthikeyan Chinnakonda
adb20d1d7c
server: log DB locking queries during source catalog migration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2676
GitOrigin-RevId: f01574a30d3a6bf95467ce69bb8b5e69ce4cc057
2021-11-09 14:22:44 +00:00
Puru Gupta
504f13725f
server: forward auth webhook set-cookies header on response
...
>
High-Level TODO:
* [x] Code Changes
* [x] Tests
* [x] Check that pro/multitenant build ok
* [x] Documentation Changes
* [x] Updating this PR with full details
* [ ] Reviews
* [ ] Ensure code has all FIXMEs and TODOs addressed
* [x] Ensure no files are checked in mistakenly
* [x] Consider impact on console, cli, etc.
### Description
>
This PR adds support for adding set-cookie header on the response from the auth webhook. If the set-cookie header is sent by the webhook, it will be forwarded in the graphQL engine response.
Fixes a bug in test-server.sh: testing of get-webhook tests was done by POST method and vice versa. To fix, the parameters were swapped.
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR.
### Affected components
- [x] Server
- [ ] Console
- [ ] CLI
- [x] Docs
- [ ] Community Content
- [ ] Build System
- [x] Tests
- [ ] Other (list it)
### Related Issues
->
Closes [#2269 ](https://github.com/hasura/graphql-engine/issues/2269 )
### Solution and Design
>
### Steps to test and verify
>
Please refer to the docs to see how to send the set-cookie header from webhook.
### Limitations, known bugs & workarounds
>
- Support for only set-cookie header forwarding is added
- the value forwarded in the set-cookie header cannot be validated completely, the [Cookie](https://hackage.haskell.org/package/cookie ) package has been used to parse the header value and any unnecessary information is stripped off before forwarding the header. The standard given in [RFC6265](https://datatracker.ietf.org/doc/html/rfc6265 ) has been followed for the Set-Cookie format.
### Server checklist
#### Catalog upgrade
Does this PR change Hasura Catalog version?
- [x] No
- [ ] Yes
- [ ] Updated docs with SQL for downgrading the catalog
#### Metadata
Does this PR add a new Metadata feature?
- [x] No
#### GraphQL
- [x] No new GraphQL schema is generated
- [ ] New GraphQL schema is being generated:
- [ ] New types and typenames are correlated
#### Breaking changes
- [x] No Breaking changes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2538
Co-authored-by: Robert <132113+robx@users.noreply.github.com>
GitOrigin-RevId: d9047e997dd221b7ce4fef51911c3694037e7c3f
2021-11-09 12:01:31 +00:00
Philip Lykke Carlsen
3f8013abcb
Fix #2741 : Mechanically excise updateOperators
from class BackendSchema
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2743
GitOrigin-RevId: c1e56bf66e5e0743e3c5b53a23a5b8a7d85ddf85
2021-11-08 18:13:16 +00:00
Rikin Kachhia
d98c83c3a9
cli: add example for --from-table specifying schema for seed create
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2797
GitOrigin-RevId: d53a2bae6ca304c7b4d85a1796bfde6192c24d7a
2021-11-08 13:32:09 +00:00
Tirumarai Selvan
1b43f0caaa
tag release v2.1.0-beta.2
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2762
GitOrigin-RevId: 092e3fee604f9620198128a8c8aced434a20644e
2021-11-08 09:26:08 +00:00
Vijay Prasanna
3ba490dc06
console: use custom column names in postgres browse rows
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2693
GitOrigin-RevId: b1c4b7302eae5aa6f47137a2c848d4ae775ebf77
2021-11-08 07:29:23 +00:00
Sooraj
790cf5c599
console/actions: remove query and transform tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2779
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 3e38bd2f61a685ec5e0a032a6144a33fd81d9468
2021-11-05 17:59:08 +00:00
Vijay Prasanna
17039fd6b2
console: add new button component wrapper
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2700
Co-authored-by: Ikechukwu Eze <22247592+iykekings@users.noreply.github.com>
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 65c1291a6caf10380c31105d82b85f5d75a57752
2021-11-05 14:21:38 +00:00
Brandon Simmons
b167120f96
server: add explicit export lists in OSS server and enforce with warning
...
We'll see if this improves compile times at all, but I think it's worth
doing as at least the most minimal form of module documentation.
This was accomplished by first compiling everything with
-ddump-minimal-imports, and then a bunch of scripting (with help from
ormolu)
**EDIT** it doesn't seem to improve CI compile times but the noise floor is high as it looks like we're not caching library dependencies anymore
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2730
GitOrigin-RevId: 667eb8de1e0f1af70420cbec90402922b8b84cb4
2021-11-04 16:09:38 +00:00
hasura-bot
a886da2f21
server: address recent graphql-ws
related bugs
...
GITHUB_PR_NUMBER: 7730
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7730
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2685
Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
GitOrigin-RevId: 55bafd4eb1576e95803350f3ba9c7920a21de037
2021-11-04 12:40:02 +00:00
Ikechukwu Eze
1c15991605
console: use react-query for data fetching with custom hook
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2696
GitOrigin-RevId: 062b59470dae2a1cbba68ef47f2a52beec7ed4b8
2021-11-04 10:42:17 +00:00
Aravind K P
50d8448403
cli: fix actions transforms test
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2754
GitOrigin-RevId: 442ce3a279f598e175ab28223db3ccf68b20b706
2021-11-03 17:44:12 +00:00
Karthikeyan Chinnakonda
0c21100892
server: relocate some of the pre metadata separation source catalog migrations
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2687
GitOrigin-RevId: 9fd1c9bdfdf8de1e0d39333368ec799ae92a9e71
2021-11-03 14:21:40 +00:00
Philip Lykke Carlsen
7fd098c0a6
Manually graft OSS PR graphql-engine#6535.
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2758
GitOrigin-RevId: cf3c1a5c55e58c0c41853ebc65faf38213700c2c
2021-11-03 12:29:15 +00:00
Rishichandra Wawhal
ad90b09916
cloud-docs: add documentation for preview apps
...
>
### Description
Adds documentation for the cloud preview apps feature.
https://deploy-preview-2474--hasura-docs-mono.netlify.app/graphql/cloud/preview-apps.html
### Changelog
- [x] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.
### Affected components
- [ ] Server
- [ ] Console
- [ ] CLI
- [x] Docs
- [ ] Community Content
- [ ] Build System
- [ ] Tests
- [ ] Other (list it)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2474
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Vaishnavi <85152989+vaishnavigvs@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: c512d26fe3ffc047240497848b62cacdac2f32f3
2021-11-03 11:00:35 +00:00
Abhijeet Khangarot
e6c62e6793
console: request transformations for actions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2164
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: c34fb51f6f7836e7ccbcbfba26d357b86a6f1253
2021-11-03 08:59:34 +00:00
Aravind K P
bea2855b88
cli: support request_transforms in actions metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2738
GitOrigin-RevId: b125043dbb9321aa8319a6dcd6e1cd6a21f4dfe1
2021-11-03 06:38:48 +00:00
Karthikeyan Chinnakonda
04527bca4f
server:don't recreate event triggers unnecessarily when the metadata is reloaded
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2740
GitOrigin-RevId: 4888e2f3a69a5eb72440ca50da0b8cd5e3b2b29e
2021-11-03 01:20:39 +00:00
Solomon Bothwell
9c27f66768
docs: add actions transforms content
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2540
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>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: d9318aca67646c29b5d951a5d0603fc463e1467b
2021-11-02 14:36:36 +00:00
Philip Lykke Carlsen
ef4d194d79
RFC: Column Mutability
...
This PR contains two pull requests:
[Identity Columns](https://github.com/hasura/graphql-engine-mono/blob/rfc/identity-columns/rfcs/identity-columns.md ) collects information and product decisions about identity columns. There are some decisions we need to make explicit.
[Column Mutability](https://github.com/hasura/graphql-engine-mono/blob/rfc/identity-columns/rfcs/column-mutability.md ) proposes an implementation strategy for identity columns and similar that should be able to elegantly accommodate differences among backends. The idea is to model the notion of _column mutability_ rather than e.g. identity columns directly.
Please volunteer your opinions and perspectives on these topics in the PR comments.
---
Closes #2407
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2507
GitOrigin-RevId: 5eb14a53504985fd32933c182bee4cc13bb70a02
2021-11-02 13:43:28 +00:00
Ikechukwu Eze
5694d41025
console: avoid setting current datasource if imported metadata doesn't contain any source ( close #7725 )
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2735
GitOrigin-RevId: b1daf6a57fd148bb25bf292fa5f1efe671144df9
2021-11-02 12:47:16 +00:00
Divya Bhushan
7609ae84e1
docs: Fix typo in server config reference page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2707
GitOrigin-RevId: 1920099e67d48299fa762b36c26c6e627a0694ec
2021-11-02 11:15:15 +00:00
hasura-bot
197b66cc2b
changing “ (unicode) for " (UTF-8)
...
GITHUB_PR_NUMBER: 7607
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7607
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2460
Co-authored-by: Thiago Damas <2286973+thiagodamas@users.noreply.github.com>
GitOrigin-RevId: 839bbdcccb865d2f5710b85478a95c38d258d48e
2021-11-01 11:05:01 +00:00
Ikechukwu Eze
f15b5958c5
console: fix bug with displaying 1-to-1 relationship with the same column mapping
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2639
GitOrigin-RevId: 845889c1f20379e889f2344d93e74e5060c443ef
2021-10-31 10:16:44 +00:00
David Overton
aac64f2c81
Source typename customization (close graphql-engine#6974)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1616
GitOrigin-RevId: f7eefd2367929209aa77895ea585e96a99a78d47
2021-10-29 14:43:14 +00:00
Solomon Bothwell
ce052f0b1b
Move Request Transform into the Action Definition
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2717
GitOrigin-RevId: 7c17fa41e5df2cfbc49e0ce2a1f78b3627de7051
2021-10-29 04:13:29 +00:00
Swann Moreau
33d242779f
server: call auth webhook even if the request fails to parse
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2604
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
GitOrigin-RevId: fbecc77a519212e00c766c82e6efd5338661de49
2021-10-28 18:43:47 +00:00
Phil Freeman
05c5df49b5
server/rfc: Haskell integration test suite
...
[Rendered](https://github.com/hasura/graphql-engine-mono/blob/phil/hspec-test-suite-rfc/rfcs/hspec-test-suite.md )
Related to (but more broadly scoped than) https://github.com/hasura/graphql-engine/issues/7137
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2423
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
GitOrigin-RevId: 5845b0323653d2d8ccdce69c29855abb7f401b7a
2021-10-28 10:36:11 +00:00
Solomon Bothwell
256b59f030
Updates kriti pin to 0.2.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2697
GitOrigin-RevId: 89705a3cc5a67c28cbf8d120df190fc4e42c24ff
2021-10-28 00:26:30 +00:00
Philip Lykke Carlsen
faaf34cf94
Added a .git-blame-ignore-revs file
...
I've added a file `.git-blame-ignore-revs`, containing the rev of the
codebase-wide ormolu reformatting.
Issuing the command `git config blame.ignoreRevsFile .git-blame-ignore-revs`
causes `git blame` to 'see through' the renaming as best it can.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2699
GitOrigin-RevId: 0e62905e897e94e1fa51dc36c4e31015f0adb32a
2021-10-27 18:17:16 +00:00