Auke Booij
20cbe9cfd3
server: fix an introspection query caching issue ( fix #4547 ) ( #4661 )
...
Introspection queries accept variables, but we need to make sure to
also touch the variables that we ignore, so that an introspection
query is marked not reusable if we are not able to build a correct
query plan for it.
A better solution here would be to deal with such unused variables
correctly, so that more introspection queries become reusable.
An even better solution would be to type-safely track *how* to reuse
which variables, rather than to split the reusage marking from the
planning.
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-05-18 14:27:56 +02:00
Rakesh Emmadi
6069cc95e3
docs: add single object mutations docs ( close #4622 ) ( #4625 )
2020-05-18 16:43:57 +05:30
Dien Vu
6b5a61cff6
docs: a sample Caddyfile for Caddy 2 to enable https section ( #4710 )
2020-05-18 13:56:02 +05:30
Rikin Kachhia
7a7ff29e08
console: fix undercores not being displayed in raw sql ( close #4754 ) ( #4799 )
2020-05-18 13:46:08 +05:30
Boda
de942282e6
Correct tic-tac-toe game port and bug ( #4565 )
...
* correct port number for tic-tac-toe game
* correct winning combo for tic-tac-toe game
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-05-18 11:44:23 +05:30
Aleksandra Sikora
78aa346d72
console: fix displaying boolean values in Edit Row tab ( #4682 )
2020-05-15 14:36:45 +05:30
Rishichandra Wawhal
5a39143518
console: add more themes to ace editor for supporting syntax highlighting ( #4600 )
2020-05-14 23:27:56 +05:30
Ryan Dsouza
619d167329
console: migrate HTML helpers, route hooks helpers and version utils to TypeScript ( #4641 )
2020-05-14 19:30:05 +05:30
Aleksandra Sikora
8a2d90cfb1
console: fix bulk selected rows state in data browser ( close #4654 ) ( #4673 )
2020-05-14 18:55:57 +05:30
Irshad Ansari
d039c12e1d
console: migrate Common/Modal to TypeScript ( #4532 )
2020-05-14 18:09:28 +05:30
Fadi Khadra
a94012b1b1
console: migrate WarningSymbol and TextInput to TypeScript ( #4562 )
2020-05-14 17:30:49 +05:30
Marek Dano
ced1b4d001
console: migrate TelemetryFilter file to TS ( #4579 )
2020-05-14 16:50:40 +05:30
gnyani
5d2b082194
console: trim column name input values ( fix #4526 ) ( #4545 )
2020-05-14 16:20:12 +05:30
Aleksandra Sikora
1cbb765acd
console: fix rows limit display in permissions editor if set to zero ( fix #4559 ) ( #4750 )
2020-05-14 15:35:00 +05:30
surendran82
0ed5b4cee6
docs: fix github button ( #4768 )
2020-05-14 12:29:45 +05:30
surendran82
bc9ebd0748
docs: add HasuraCon20 banner stripe ( #4758 )
2020-05-14 12:03:50 +05:30
Brandon Simmons
9b247d4ed7
Merge pull request #4518 from jberryman/ghc-8.10-migration
...
Migrate to GHC 8.10, upgrade dependencies. Closes #4517
2020-05-13 20:34:38 -04:00
Brandon Simmons
a77bb0570f
In websockets: rethrow resourceVanished as ConnectionClosed. Closes #4344
...
...hopefully. At least I no longer can easily induce any unexpected
exceptions after this and the GHC 8.10 + libs upgrade commit.
2020-05-13 19:13:13 -04:00
Brandon Simmons
ff62d5e0bf
Migrate to GHC 8.10, upgrade dependencies. Closes #4517
...
This also seems to squash a stubborn space leak we see with
subscriptions (linking to canonical #3388 for reference).
This may also fix some of the "Unexpected exception" websockets
exceptions we are now surfacing (see e.g. #4344 )
Also: dev.sh: fix hpc reporting
Initial work on this done by Vamshi.
2020-05-13 19:13:02 -04:00
Brandon Simmons
69f24d47b3
dev.sh: bump version due to addition of croniter python dependency
2020-05-13 17:40:01 -04:00
Tirumarai Selvan
cc8e2ccc78
Scheduled triggers ( close #1914 ) ( #3553 )
...
server: add scheduled triggers
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-13 18:03:16 +05:30
Auke Booij
2735d284c1
server: use a new version of graphql-parser-hs to avoid loss of precision ( #4741 )
...
Fixes #4733 . See also hasura/graphql-parser-hs#29 .
2020-05-13 12:10:46 +02:00
Auke Booij
e17e47ef8c
server: avoid code duplication using type classes ( #4624 )
...
There are two implementations of a Cache, namely a bounded and an
unbounded variant. This can be elegantly captured in a type class.
In addition to reducing the amount of error-prone code in the
definition of the cache, this version reduces the amount of
error-prone code in usage sites of the cache, as it makes the cache
into an abstract object, so that a calling site cannot distinguish
between cache types. Any decision about what should be cached should
be made through the interface of a cache, rather than at the callsite,
and this is captured by this variant.
2020-05-13 11:17:32 +02:00
Auke Booij
4d10a610f4
server: fix mishandling of GeoJSON inputs in subscriptions ( fix #3239 ) ( #4551 )
...
* Add support for multiple top-level fields in a subscription to improve testability of subscriptions
* Add an internal flag to enable multiple subscriptions
* Add missing call to withConstructorFn in live queries (fix #3239 )
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
2020-05-13 10:09:44 +02:00
Marion Schleifer
9a16e25769
docs: add page on query performance ( close #2316 ) ( #3693 )
2020-05-12 21:20:35 +05:30
Marion Schleifer
d17b2232d1
docs: update security guide ( #4730 )
2020-05-12 17:42:51 +05:30
Antoine Leblanc
201dcca59a
console: restore partial support for foreign tables ( fix #4714 ) ( #4742 )
2020-05-12 17:18:35 +05:30
Marion Schleifer
0df2c57fe6
docs: remove ids from mutation examples ( #4539 )
2020-05-12 16:17:06 +05:30
Jigyasu Arya
f993a6c907
console: fix checkbox for forwarding client headers in actions ( close #4595 ) ( #4669 )
2020-05-12 15:22:23 +05:30
Marion Schleifer
c843f787fe
docs: fix link in heroku deployment guide ( #4739 )
2020-05-12 12:40:57 +05:30
Fadi Khadra
cd1c562073
console: allow modifying default value for PK ( close #4075 ) ( #4679 )
2020-05-12 11:46:48 +05:30
Anon Ray
3dd72bf66c
docs: fix info on excluding scheme in CORS config ( #4685 )
2020-05-11 18:56:08 +05:30
Marion Schleifer
d335743e4b
docs: add section on actions vs remote schemas ( close #4093 ) ( #4284 )
...
* add section on actions vs remote schemas
* fix language
* add changelog
* update actionvs vs remote schemas
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-05-11 18:42:58 +05:30
Bert Verhelst
506af29dae
docs: add filter query example to check if no nested objects exist ( #4675 )
2020-05-11 18:27:03 +05:30
Shraddha Agrawal
fa509aad3c
docs: update cli reference ( #4728 )
2020-05-11 17:44:48 +05:30
Tirumarai Selvan
619553ef4e
add commit step to upgrading on heroku ( #4731 )
2020-05-11 17:07:01 +05:30
Praveen Durairaju
6ffb29b943
docs: migrate to google tag manager ( #4711 )
2020-05-08 13:14:20 +05:30
Aravind
f1c3b43f6f
cli: fix docs failing to build ( close #4637 ) ( #4698 )
2020-05-07 13:03:50 +05:30
Rikin Kachhia
c2fdcd0471
console: optimise count fetch in data browser ( #4692 )
...
* in table-browse-rows, make intelligent count
* update changelog
* simplify getting estimatedCount
* prevent doubled requests
* hide estimated count
* update changelog
* Update CHANGELOG.md
Co-authored-by: Rishichandra Wawhal <rishi@hasura.io>
Co-authored-by: Aleksandra Sikora <ola.zxcvbnm@gmail.com>
2020-05-06 23:37:56 +05:30
Shahidh K Muhammed
e14352eb72
tag release v1.2.1 ( #4680 )
2020-05-05 19:23:29 -05:00
jjangga0214
1211c23a2f
docs: update cli installation via npm instructions ( #4409 )
2020-05-05 12:35:44 +05:30
Rikin Kachhia
dcab20a5ee
docs: update image paths ( #4649 )
2020-05-05 09:22:08 +05:30
Can Taşpınar
9d815598cc
cli: include new commands in help text ( fix #4623 ) ( #4626 )
2020-05-05 09:21:20 +05:30
Marion Schleifer
9f4461b223
docs: fix action handler example ( #4663 )
2020-05-05 09:16:39 +05:30
ShahAnuj2610
8a58ef8b0c
readme: update badges ( close #4225 ) ( #4563 )
2020-05-04 09:43:53 +05:30
Rikin Kachhia
6a6225ed99
docs: update telemetry opt-out docs ( #4574 )
...
Co-Authored-By: Marion Schleifer <marion@hasura.io>
2020-05-03 06:15:18 +05:30
surendran82
5998d22231
console: add read replica support section to pro popup ( #4118 )
2020-05-02 14:41:40 +05:30
Rikin Kachhia
2ef36f6f3c
docs: update migrations docs ( #4639 )
2020-05-01 19:36:00 +05:30
Aleksandra Sikora
43f12db1d3
console: update @babel/core and @babel/preset-env ( #4628 )
2020-05-01 18:34:52 +05:30
Aleksandra Sikora
09d3c89d4c
console: fix data browser css issue in safari ( close #4632 ) ( #4634 )
2020-05-01 05:31:22 +05:30