1
0
mirror of https://github.com/hasura/graphql-engine.git synced 2024-12-22 06:51:32 +03:00
Commit Graph

2504 Commits

Author SHA1 Message Date
Varun Choudhary
b37b451992
console: fix primary key selector bug and raw sql error message (close ) () 2020-08-03 15:00:25 +02:00
Gnyani
7d06d7a6ab
console: prettify cron trigger JSON payload (close ) 2020-08-03 14:01:48 +02:00
Praveen Durairaju
b2af143211
docs: fix docs sitemap link generation () 2020-07-31 21:56:24 +05:30
sezgi
69b5a831c6
docs: update deployment guides and arch diagrams () 2020-07-31 20:56:55 +05:30
Sameer Kolhar
ebd6fe13f0
console: remove obsolete files and update dependencies () 2020-07-31 15:58:19 +02:00
Auke Booij
6ef70f963b
server: Fix compiler warning caused by GHC upgrade ()
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-07-31 17:20:32 +05:30
sezgi
b346df239a
docs: code cleanup ()
* remove unused css (using purgecss but also checking results manually)
* remove unused fonts
* remove unused examples_schema_migrations dir
* remove underscore & bootstrap pagination
* remove unused djangodocs files
* clean up djangodocs.css
* organize static files (move to _static/scripts and _static/styles)
* clean up and organize scripts (move out of layout.html and into hdocs.js)
* defer scripts that can be deferred
* remove global_tabs extension & files and replace with tabs directive in the only place it's used
2020-07-31 17:19:01 +05:30
Gnyani
58b0ac1352
console: trim trailing spaces in action handler URL (close ) 2020-07-31 13:24:37 +02:00
Anuj Shah
65e568e6dd
console: handle nested fragments in allowed queries (close ) () 2020-07-31 12:17:52 +02:00
Rikin Kachhia
116d04f7fe
docs: fix sitemap generation () 2020-07-31 14:51:13 +05:30
Rikin Kachhia
d1032b2414
console: make add column UX consistent with others () 2020-07-30 22:54:20 +02:00
Phil Freeman
253536c4ba
Merge branch 'master' into event-trigger-lock-timeout 2020-07-30 12:34:12 -07:00
Phil Freeman
c204f40206 Merge branch 'event-trigger-lock-timeout' of github.com:paf31/graphql-engine into event-trigger-lock-timeout 2020-07-30 12:33:57 -07:00
Phil Freeman
b24af62628 Remove prepareEvents 2020-07-30 12:33:43 -07:00
Brandon Simmons
091fd86538
Merge pull request from jberryman/5363-default-bounded-plan-cache
Support only bounded plan cache, with default of 4000
2020-07-30 15:01:47 -04:00
Phil Freeman
5dee5373ce
Merge branch 'master' into event-trigger-lock-timeout 2020-07-30 10:01:11 -07: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 () 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 () 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
Phil Freeman
ab73923a7e
Merge branch 'master' into event-trigger-lock-timeout 2020-07-29 19:38:01 -07:00
Anon Ray
2c397f9f4f
server: stop eventing subsystem threads when shutting down ()
* 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
Phil Freeman
8cc548abf0 Use TIMESTAMPTZ 2020-07-29 14:08:27 -07:00
Phil Freeman
c93a00b327
Merge branch 'master' into event-trigger-lock-timeout 2020-07-29 13:27:07 -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 ()
* 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 ()
* 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
Phil Freeman
ca190ef59a
Merge branch 'master' into event-trigger-lock-timeout 2020-07-28 16:12:13 -07:00
Phil Freeman
02ddcb34a0
Apply suggestions from code review
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
2020-07-28 16:11:51 -07:00
Brandon Simmons
1d4ec4eafb Support only the bounded cache, with default HASURA_GRAPHQL_QUERY_PLAN_CACHE_SIZE of 4000. Closes 2020-07-28 19:02:44 -04:00
Phil Freeman
fe70d9fbe8 Add a 30 minute timeout for event trigger locks 2020-07-28 13:45:20 -07:00
Phil Freeman
df51a8eb18
Attach request ID as tracing metadata ()
* 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 ()
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 ()
* 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 () 2020-07-27 07:15:43 +05:30
Aravind
2e5e59bd00
cli: handle failed update checks gracefully (close ) () 2020-07-27 07:15:08 +05:30
Phil Freeman
0ae5384115
Propagate the trace context to event triggers ()
* 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 () 2020-07-23 15:12:53 +02:00
Marion Schleifer
d4972feb55
docs: restructure deployment section () 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 () 2020-07-22 17:10:17 +05:30
Marion Schleifer
af5a70b202
docs: add learn link to authz index page () 2020-07-21 14:44:20 -07:00
Sameer Kolhar
ca650353de
console: left-align content on data table () 2020-07-21 16:54:14 +02:00
Rikin Kachhia
56da4891c3
console: UI updates ()
- 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 () 2020-07-21 14:52:14 +05:30
Praveen Durairaju
7c1c71c2b9
docs: add django jwt guide link (close ) () 2020-07-21 09:36:23 +02:00
Kentaro Suzuki
788095acba
console: fix import metadata button text (close ) () 2020-07-20 20:46:45 +02:00