Commit Graph

2112 Commits

Author SHA1 Message Date
Brandon Simmons
c6ec16b776 IGNORE: testing kodiak auto-merge bot 2020-08-13 12:56:00 -04:00
Brandon Simmons
b34f6952fc Remove 'bulldozer' config, try 'kodiak' for auto-merge
see: https://github.com/chdsbd/kodiak

The main issue that bit us was not being able to auto update forked
branches, also:
https://github.com/palantir/bulldozer/issues/66
https://github.com/palantir/bulldozer/issues/145
2020-08-12 15:48:17 -04:00
Harish M
33d99b994d
console: migrate AlertBox component to typescript (#4721) 2020-08-12 15:31:53 +02:00
Lautaro Gruss
1b96d800c5
console: migrate login actions to typescript (#5499) 2020-08-12 11:20:43 +02:00
Brandon Simmons
8c5da552ac Add bulldozer auto-merge and -update configuration
We still need to add the github app (as of time of opening this PR)

Afterwards devs should be able to allow bulldozer to automatically
"update" the branch, merging in parent when it changes, as well as
automatically merge when all checks pass.

This is opt-in by adding the `auto-update-auto-merge` label to the PR.
2020-08-11 13:00:51 -04:00
Phil Freeman
b2561a719b
server: set hasura.tracecontext in RQL mutations [#5542] (#5555)
* server: set hasura.tracecontext in RQL mutations [#5542]

* Update test suite

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-08-10 12:34:24 -07:00
Sameer Kolhar
963e1106dc
cli: fix error while creating seed file from table names having upper case alphabets (#5549) 2020-08-10 11:28:03 +05:30
Aravind
2592236858
cli: improve error messages for metadata apply (close #5513) (#5548) 2020-08-10 10:54:00 +05:30
Brandon Simmons
788d8678a7
Merge pull request #5544 from jberryman/08-06-2020-telemetry-fixup
Fix telemetry reporting of transport (websocket was reported as http)
2020-08-06 17:54:17 -04:00
Brandon Simmons
5800b66f6b
Merge branch 'master' into 08-06-2020-telemetry-fixup 2020-08-06 16:30:56 -04:00
Tirumarai Selvan
f0e1195e42
add log kinds in cli-migrations image (#5529)
* add log kinds in cli-migrations image

* give hint to resolve timeout error

* minor changes and CHANGELOG
2020-08-06 21:18:55 +05:30
Brandon Simmons
2254ee2cf2 Fix telemetry reporting of transport (websocket was reported as http) 2020-08-06 10:07:23 -04:00
Rakesh Emmadi
34288e1eb5
fix introspection query if any enum column present in primary key (fix #5200) (#5522) 2020-08-05 19:38:36 +05:30
Rakesh Emmadi
cfd7944849
restrict env variables start with HASURA_GRAPHQL_ for headers configuration in actions, event triggers & remote schemas (#5519)
* restrict env variables start with HASURA_GRAPHQL_ for headers definition in actions & event triggers

* update CHANGELOG.md

* Apply suggestions from code review

Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-08-05 18:44:53 +05:30
Varun Choudhary
d4b4459c98
console: fix inconsistency in permissions builder (close #4119) (#5524) 2020-08-05 13:46:57 +02:00
Phil Freeman
01a4ceeca9
Show method and complete URI in traced HTTP calls (#5525)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-08-05 15:54:43 +05:30
Tirumarai Selvan
eb80d97b0a
change log kind from db_migrate to catalog_migrate (#5531) 2020-08-05 15:53:14 +05:30
Rikin Kachhia
925b668161
console: separate timeout statement from user statement in raw sql page (#5516) 2020-08-04 13:00:38 +02:00
Kentaro Suzuki
0ec014881a
console: increase size of redeliver event modal (close #5480) (#5502) 2020-08-03 15:55:04 +02:00
Varun Choudhary
b37b451992
console: fix primary key selector bug and raw sql error message (close #4226) (#5469) 2020-08-03 15:00:25 +02:00
Gnyani
7d06d7a6ab
console: prettify cron trigger JSON payload (close #5052) 2020-08-03 14:01:48 +02:00
Praveen Durairaju
b2af143211
docs: fix docs sitemap link generation (#5498) 2020-07-31 21:56:24 +05:30
sezgi
69b5a831c6
docs: update deployment guides and arch diagrams (#5475) 2020-07-31 20:56:55 +05:30
Sameer Kolhar
ebd6fe13f0
console: remove obsolete files and update dependencies (#5327) 2020-07-31 15:58:19 +02:00
Auke Booij
6ef70f963b
server: Fix compiler warning caused by GHC upgrade (#5489)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-07-31 17:20:32 +05:30
sezgi
b346df239a
docs: code cleanup (#5460)
* 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 #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