Commit Graph

2137 Commits

Author SHA1 Message Date
Gnyani
58b0ac1352
console: trim trailing spaces in action handler URL (close #5416) 2020-07-31 13:24:37 +02:00
Anuj Shah
65e568e6dd
console: handle nested fragments in allowed queries (close #5137) (#5252) 2020-07-31 12:17:52 +02:00
Rikin Kachhia
116d04f7fe
docs: fix sitemap generation (#5490) 2020-07-31 14:51:13 +05:30
Rikin Kachhia
d1032b2414
console: make add column UX consistent with others (#5486) 2020-07-30 22:54:20 +02:00
Brandon Simmons
091fd86538
Merge pull request #5474 from jberryman/5363-default-bounded-plan-cache
Support only bounded plan cache, with default of 4000
2020-07-30 15:01:47 -04:00
Brandon Simmons
40f87487e5
Merge branch 'master' into 5363-default-bounded-plan-cache 2020-07-30 12:37:22 -04:00
Rikin Kachhia
7045fffefa
console: misc updates (#5488) 2020-07-30 18:34:47 +02:00
Brandon Simmons
1e6bee49e3
Merge branch 'master' into 5363-default-bounded-plan-cache 2020-07-30 11:36:20 -04:00
Rikin Kachhia
8194494afa
console: fix telemetry (#5484) 2020-07-30 21:05:17 +05:30
Brandon Simmons
78b2251df8
Merge branch 'master' into 5363-default-bounded-plan-cache 2020-07-30 10:38:20 -04:00
Anon Ray
2c397f9f4f
server: stop eventing subsystem threads when shutting down (#5479)
* server: stop eventing subsystem threads when shutting down

* Apply suggestions from code review

Co-authored-by: Karthikeyan Chinnakonda <chkarthikeyan95@gmail.com>

Co-authored-by: Phil Freeman <phil@hasura.io>
Co-authored-by: Phil Freeman <paf31@cantab.net>
Co-authored-by: Karthikeyan Chinnakonda <chkarthikeyan95@gmail.com>
2020-07-29 19:34:50 -07:00
Brandon Simmons
b973479631
Merge branch 'master' into 5363-default-bounded-plan-cache 2020-07-29 12:09:21 -04:00
Anon Ray
046a783a14
server: pass http and websocket request to logging context (#5470)
* pass request body to logging context in all cases

* add message size logging on the websocket API

  this is required by graphql-engine-pro/#416

* message size logging on websocket API

  As we need to log all messages recieved/sent by the websocket server,
  it makes sense to log them as part of the websocket server event logs.
  Previously message recieved were logged inside the onMessage handler,
  and messages sent were logged only for "data" messages (as a server event log)

* fix review comments

Co-authored-by: Phil Freeman <phil@hasura.io>
2020-07-29 20:18:36 +05:30
Anon Ray
6c7e63791f
server: add logging for action handlers (#5471)
* server: add logging for action handlers

* add changelog entry

* change action-handler log type from internal to non-internal

* fix action-handler-log name
2020-07-29 19:00:29 +05:30
Brandon Simmons
2a0768d7ad
Merge branch 'master' into 5363-default-bounded-plan-cache 2020-07-28 20:23:26 -04:00
Brandon Simmons
1d4ec4eafb Support only the bounded cache, with default HASURA_GRAPHQL_QUERY_PLAN_CACHE_SIZE of 4000. Closes #5363 2020-07-28 19:02:44 -04:00
Phil Freeman
df51a8eb18
Attach request ID as tracing metadata (#5456)
* Propagate the trace context to event triggers

* Handle missing trace and span IDs

* Store trace context as one LOCAL

* Add migrations

* Documentation

* Include the request ID as trace metadata

* changelog

* Fix warnings

* Respond to code review suggestions

* Respond to code review

* Undo changelog

* Update CHANGELOG.md

* Typo

Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-07-28 13:06:54 -07:00
Naveen Naidu
664e9df9c6
Tracing: Simplify HTTP traced request (#5451)
Remove the Inversion of Control (SuspendRequest) and simplify
the tracing of HTTP Requests.

Co-authored-by: Phil Freeman <phil@hasura.io>
2020-07-28 11:51:56 -07:00
Anon Ray
434c78267c
server: log request/response sizes for event triggers (#5463)
* server: log request/response sizes for event triggers

  event triggers (and scheduled triggers) now have request/response size
  in their logs.

* add changelog entry
2020-07-28 10:52:44 -07:00
Brandon Simmons
3a6b2ec744 Bugfix to support 0-size HASURA_GRAPHQL_QUERY_PLAN_CACHE_SIZE
Also some minor refactoring of bounded cache module:
 - the maxBound check in `trim` was confusing and unnecessary
 - consequently trim was unnecessary for lookupPure

Also add some basic tests
2020-07-27 18:40:17 -04:00
Aravind
96f6bdd531
cli: support squashing actions in config v1 (#5249) 2020-07-27 07:15:43 +05:30
Aravind
2e5e59bd00
cli: handle failed update checks gracefully (close #5392) (#5403) 2020-07-27 07:15:08 +05:30
Phil Freeman
0ae5384115
Propagate the trace context to event triggers (#5409)
* Propagate the trace context to event triggers

* Handle missing trace and span IDs

* Store trace context as one LOCAL

* Add migrations

* Documentation

* changelog

* Fix warnings

* Respond to code review suggestions

* Respond to code review

* Undo changelog

* Update CHANGELOG.md

Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-07-23 13:39:26 -07:00
Marion Schleifer
59c4b008f5
docs: rename deployment guides directory (#5455) 2020-07-23 15:12:53 +02:00
Marion Schleifer
d4972feb55
docs: restructure deployment section (#5339) 2020-07-23 14:34:17 +02:00
Brandon Simmons
2eab6a89aa Fix latency buckets for telemetry data
These must have gotten messed up during a refactor. As a consequence
almost all samples received so far fall into the single erroneous 0 to
1K seconds (originally supposed to be 1ms?) bucket.

I also re-thought what the numbers should be, but these are still
arbitrary and might want adjusting in the future.
2020-07-22 12:29:38 -04:00
Rikin Kachhia
03305bb788
console: update sidebar icons for different action and trigger types (#5445) 2020-07-22 17:10:17 +05:30
Marion Schleifer
af5a70b202
docs: add learn link to authz index page (#5387) 2020-07-21 14:44:20 -07:00
Sameer Kolhar
ca650353de
console: left-align content on data table (#5408) 2020-07-21 16:54:14 +02:00
Rikin Kachhia
56da4891c3
console: UI updates (#5427)
- Schema page
  - Keep function sections expanded by default
  - Add Know more link for relationships
- Table relationships page
  - Add tooltips / know more links
  - Update add table relationship UI
  - Remote relationships -> remote schema relationships 
  - Make remote relationships UI consistent
- Events pages
  - fix breadcrumbs
  - update scheduled trigger info image
  - add note regarding UTC timezone based events to tooltip for cron triggers
2020-07-21 18:21:34 +05:30
Praveen Durairaju
47d2a77415
docs: fix heroku guide link in README (#5390) 2020-07-21 14:52:14 +05:30
Praveen Durairaju
7c1c71c2b9
docs: add django jwt guide link (close #1254) (#5385) 2020-07-21 09:36:23 +02:00
Kentaro Suzuki
788095acba
console: fix import metadata button text (close #5386) (#5415) 2020-07-20 20:46:45 +02:00
soorajshankar
4a116c793b
console: use requestAction instead of fetch (#5406) 2020-07-20 17:48:59 +02:00
Aravind
d8481c3a1c
tag release v1.3.0 (#5423) 2020-07-20 20:38:00 +05:30
Sameer Kolhar
d193af7d11
console: fix clear text issue on RawSQL page (#5351) 2020-07-20 16:57:13 +02:00
Todd Heslin
a677c62dae
console: fix custom root field placeholder for insert one mutation (close #5345) (#5346) 2020-07-20 16:15:52 +02:00
sezgi
0780ceef03
docs: update terminology and copy for remote relationships pages (#5401) 2020-07-20 18:15:08 +05:30
Nathan Jaremko
73ec489ada
infra: update Azure template to include Postgres 11 (fix #5399) (#5400) 2020-07-20 11:49:10 +02:00
Tirumarai Selvan
709460b9ce
update pg-client (#5421) 2020-07-20 13:45:15 +05:30
sezgi
74b1107b41
docs: open Intercom on feedback & add buttons (close #5264) (#5265) 2020-07-17 12:17:29 -07:00
sezgi
f33138f063
docs: change newsletter copy (#5402) 2020-07-17 11:44:49 -07:00
Marion Schleifer
e649dcebe2
docs: remove recommendation for action handler security (#5355) 2020-07-17 11:39:42 -07:00
Marion Schleifer
286ea31f36
docs: fix indexing problem (#5395) 2020-07-17 13:45:11 +05:30
Anon Ray
1eb36bbbb3
server: refactor 'pollQuery' to have a hook to process 'PollDetails' (#5391)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-07-16 18:49:42 +05:30
Praveen Durairaju
d6dab9dc01
docs: update newsletter api (#5369) 2020-07-15 19:46:30 +05:30
Sameer Kolhar
d8055a7ca6
console: add tooltips to certain headers on API Explorer (#5286) 2020-07-15 18:19:29 +05:30
Phil Freeman
0dddbe9e9d
Add MonadTrace and MonadExecuteQuery abstractions (#5383)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-07-15 16:10:48 +05:30
Soham Chowdhury
dbdf81b26d
docs: note libkrb5-dev dep on Debian, update GHC version (#5377)
* docs: note libkrb5-dev dep on Debian, update GHC version

* docs: note openssl/libssl-dev requirements on Debian
2020-07-15 11:03:33 +05:30
sezgi
a96e248a0c
docs: change "Step 0" to "Before you begin" (close #5335) (#5348) 2020-07-14 14:30:35 -07:00