Commit Graph

1960 Commits

Author SHA1 Message Date
Marion Schleifer
2185018255
docs: add note on permissions to certain mutations (close #5058) (#5135) 2020-06-24 09:01:31 +02:00
sezgi
0c34a92cb9
docs: content for Relay docs and example repo (close #4912) (#5150) 2020-06-23 13:08:41 -07:00
Brandon Simmons
2e84a729e2
Fix erroneously-commited cabal.project.dev change from f8a731 (#5183)
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-06-23 22:20:25 +05:30
Karthikeyan Chinnakonda
6a58c144f5
server: fix updating of headers behaviour in the update cron trigger API and create future events immediately (#5151)
* server: fix bug to update headers in an existing cron trigger and create future events

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-06-23 20:51:34 +05:30
Aleksandra Sikora
9936ace6ab
console: handle renaming cron triggers (#5167) 2020-06-23 15:56:51 +02:00
Rakesh Emmadi
ea23571049
fix introspection faling when multiple actions defined with PG scalar types (fix #5166) (#5173)
Introspection query is failing with `type info not found for xxxx` error message if multiple actions are defined with reused PG scalars. The fix for the same.
2020-06-23 15:35:54 +05:30
Praveen Durairaju
8e8f02daf1
docs: update http links to https (#5176) 2020-06-23 14:03:14 +05:30
Rikin Kachhia
623ed76e3d
docs: update cloud docs urls (#5175) 2020-06-23 00:37:46 +05:30
A K
c4e812e2fb
docs: add cloud docs header (#5171) 2020-06-22 21:48:04 +05:30
nizar-m
f8a7312a30
Regression benchmarks setup (#3310)
* Benchmark GraphQL queries using wrk

* fix console assets dir

* Store wrk parameters as well

* Add details about storing results in Readme

* Remove files in bench-wrk while computing server shasum

* Instead of just getting maximum throughput per query per version,
create plots using wrk2 for a given set of requests per second.
The maximum throughput is used to see what values of requests per second are feasible.

* Add id for version dropdown

* Allow specifiying env and args for GraphQL Engine

1) Arguments defined after -- will be applied as arguments to Hasura GraphQL Engine
2) Script will also pass the environmental variables to Hasura GraphQL Engine instances

Hasura GraphQL engine can be run with the given environmental variables and arguments as follows

$ export HASURA_GRAPHQL_...=....
$ python3 hge_wrk_bench.py -- --hge_arg1 val1 --hge_arg2 val2 ...

* Use matplotlib instead of plotly for figures

* Show throughput graph also.

It maybe useful in checking performance regression across versions

* Support storing results in s3

Use --upload-root-uri 's3://bucket/path' to upload results inside the
given path.When specified, the results will be uploaded to the bucket,
including latencies, latency histogram, and the test setup info.
The s3 credentials should be provided as given in AWS boto3 documentation.

* Allow specifying a name for the test scenario

* Fix open latency uri bug

* Update wrk docker image

* Keep ylim a little higher than maximum so that the throughput plot is clearly visible

* Show throughput plots for multiple queries at the same time

* 1) Adjust size of dropdowns
2) Make label for requests/sec invisible when plot type is throughput

* 1) Adding boto3 to requirements.txt
2) Removing CPU Key print line
3) Adding info about the tests that will be run with wrk2

* Docker builder fo wrk-websocket-server

* Make it optional to setup remote graphql-engine

* Listen on all interfaces and enable ping thread

* Add bench_scripts to wrk-websocket-server docker

* Use 127.0.0.1 instead of 'localhost' to address local hge

For some reason it seems wrk was hanging trying to resolve 'localhost'.
ping was able to fine from the same container, so I'm not sure what the
deal was. Probably some local misconfiguration on my machine, but maybe
this change will also help others.

* Store latency samples in subdirectory, server_shasum just once at start, additional docs

* Add a note on running the benchmarks in the simplest way

* Add a new section on how to run benchmarks on a new linux hosted instance

Co-authored-by: Nizar Malangadan <nizar-m@users.noreply.github.com>
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-06-19 22:40:17 +05:30
Chetan Kumar
39688af7e6
docs: add missing examples to API docs (close #4745) (#4844) 2020-06-19 15:20:56 +02:00
Sameer Kolhar
4293714519
console: add the ability to delete a role in permissions summary page (close #3353) (#4987) 2020-06-19 14:36:40 +05:30
Anon Ray
a7a60c2dfe
server: changes catalog initialization and logging for pro customization (#5139)
* new typeclass to abstract the logic of QueryLog-ing

* abstract the logic of logging websocket-server logs

  introduce a MonadWSLog typeclass

* move catalog initialization to init step

  expose a helper function to migrate catalog
  create schema cache in initialiseCtx

* expose various modules and functions for pro
2020-06-19 12:12:32 +05:30
Aleksandra Sikora
f2428e3984
console: allow manual edit of column types and handle array data types (close #2544, #3335, #2583) (#4546) 2020-06-18 12:43:19 +02:00
Marion Schleifer
268aa46df2
docs: add minor docs improvements (#5106) 2020-06-18 15:36:34 +05:30
Rikin Kachhia
3c76ddf493
console: misc UX improvements (close #4500, #4689) (#5066) 2020-06-18 10:36:42 +02:00
sezgi
171473cc2d
docs: fix pre.literal-block style (close #5130) (#5131) 2020-06-17 10:46:12 -07:00
sezgi
d13e26db46
docs: update copy to use "deny-list" (fix #5115) (#5116) 2020-06-17 08:40:11 -07:00
Egor Ogarkov
df8a0b7924
console: migrate wrap type utils to typescript (#4557) 2020-06-17 17:21:49 +02:00
Tirumarai Selvan
a70d278226
remove swp file (#5127)
introduced by mistake in 4fb0303f5b
2020-06-17 19:37:09 +05:30
Tirumarai Selvan
4fb0303f5b
correct entries in changelog (#5124) 2020-06-17 19:25:51 +05:30
Pavel Kostenko
213958ac09
console: fix typo in remote relationships tooltip (close #5113) 2020-06-17 10:26:37 +02:00
Karthikeyan Chinnakonda
d064959ac3
server: drop catalog dependencies when parent column/table is dropped containing a remote relationship (#5119) 2020-06-17 13:18:31 +05:30
sezgi
fe0aca2a6c
Merge pull request #5077 from sezgi/ui-tweaks
docs: design & UI fixes (close #5022)
2020-06-16 11:20:29 -07:00
sezgi
70bf152e4d
Merge branch 'master' into ui-tweaks 2020-06-16 11:09:49 -07:00
Vamshi Surabhi
6fc404329a
generalize query execution logic on Postgres (#5110)
* generalize PGExecCtx to support specialized functions for various operations

* fix tests compilation

* allow customising PGExecCtx when starting the web server
2020-06-16 23:14:59 +05:30
Rikin Kachhia
a3991bf677
Merge branch 'master' into ui-tweaks 2020-06-16 22:39:00 +05:30
Anon Ray
0cf4cbc5c6
server: refactor GQL execution check and config API (#5094)
Co-authored-by: Vamshi Surabhi <vamshi@hasura.io>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-06-16 20:53:06 +05:30
Rakesh Emmadi
4e229dc568
relay fixes (#5013)
* fix relay introspection failing if any views exist, fix #5020

* reduce base64 encoded node id length, close #5037

* make node field type non-nullable in an edge

* more relay tests with permissions & complete restructure of test yaml files

Co-authored-by: Aravind <aravindkp@outlook.in>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-06-16 19:55:49 +05:30
Rikin Kachhia
f03b5545c7
docs: fix multiple queries execution pattern (#5105) 2020-06-16 19:05:42 +05:30
Aravind
1f2037947d
cli: manage seed migrations as sql files (close #2431) (#3763) 2020-06-16 17:45:04 +05:30
Aravind
5a648a9bb2
cli: fix cron triggers not being exported on a metadata export (close #5047) (#5060) 2020-06-16 14:38:36 +05:30
Aravind
d7ca702542
cli: support squashing migrations with remote joins (close #4908) (#4924) 2020-06-16 12:10:20 +05:30
Sameer Kolhar
13e4edbdf8
cli: add flags --up-sql and --down-sql to migrate create command (close #5026) (#5039) 2020-06-16 11:30:20 +05:30
Sander Hahn
5117084755
install manifests: use caddy v2 for https setup (#4823) 2020-06-16 10:39:46 +05:30
sezgi
1e1d65309d docs: 16px font size under 1200px (fix #5022) 2020-06-15 16:12:47 -07:00
sezgi
c9e622ffb2 docs: design & UI fixes (fix #5022) 2020-06-15 16:12:47 -07:00
sezgi
8b6728de43 docs: change body font size to at least 18px (for higher resolutions); change font to Open Sans (fix #5022) 2020-06-15 16:12:47 -07:00
Marek Dano
65920fb77b
console: migrate main state to typescript (#4804) 2020-06-15 20:25:16 +02:00
Tirumarai Selvan
bb592a1bba
docs: add more description to 'HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE' (#5091) 2020-06-15 14:10:15 +05:30
Sameer Kolhar
fd00892371
console: reuse websocket connection in api explorer (#5064) 2020-06-12 16:32:21 +02:00
surendran82
c49dddf0c8
docs: update header (#5063) 2020-06-12 16:22:22 +05:30
Aleksandra Sikora
0bdfad4ef0
console: remove proposal-export-default-from (#5032) 2020-06-12 12:11:28 +02:00
Aleksandra Sikora
f73b847ddc
console: fix handling inconsistent objects (close #5072) (#5073) 2020-06-12 11:11:54 +02:00
Vamshi Surabhi
4c9362c91b
Merge pull request #4919 from jberryman/4736-security-testing
#4736 Improvements to auth testing
2020-06-11 23:11:26 +05:30
Brandon Simmons
d862afb4f8
Merge branch 'master' into 4736-security-testing 2020-06-11 13:21:48 -04:00
Marion Schleifer
cc2878debb
docs: remove duplicate labels and fix links (#4952) 2020-06-11 18:27:46 +05:30
soorajshankar
cb3252cf07
console: allow configuring session_argument for custom functions (close #4499) (#4922) 2020-06-11 14:38:32 +02:00
Marion Schleifer
2f791366b2
docs: add migration setup guide for v2 migrations (close #4746) (#4898) 2020-06-11 15:44:04 +05:30
Rishichandra Wawhal
7efc53206f
console: add default graphiql mode in api explorer (#5061) 2020-06-11 15:41:17 +05:30