Alexis King
d1179f7f98
Don’t use Show for converting PGColTypes to SQL
2019-08-26 00:54:56 -05:00
Alexis King
9be6f706e6
Refactor GCtx to split query and mutation root operations
...
This mostly simplifies the RootFlds type to make it clearer what it’s
used for, but it has the convenient side-effect of preventing some
“impossible” cases using the type system.
2019-08-26 00:54:56 -05:00
José Lorenzo Rodríguez
c7a2320456
Implemented graceful shutdown for HTTP requests ( close #2698 ) ( #2717 )
...
* Listens for SIGTERM as the termination signal
* Stops accepting new connections once the signal is received
* Waits for all connections to be drained, before shutting down
* Forcefully kills all pending connections after 30 seconds
Currently this does not send a close message to websocket clients, I'd
like to submit that change as a separate pull request, but at least this
solve my biggest concern which is not getting confirmation for mutations
while restarting the server.
2019-08-26 00:31:27 -05:00
Rikin Kachhia
4bdf965d87
fix table permissions page UX glitches ( #2763 )
2019-08-23 18:04:41 +05:30
Shahidh K Muhammed
b8b71c1000
update manifests to v1.0.0-beta.5
2019-08-23 14:57:40 +05:30
Arun Kumar Mohan
b4ff745162
fix markdown rendering (learn.hasura.io) ( #2746 )
2019-08-23 14:35:27 +05:30
Vitalii Tverdokhlib
ed96197dab
use readiness probeon k8s manifests ( #2752 )
...
according to https://github.com/hasura/graphql-engine/issues/1532
2019-08-23 14:32:03 +05:30
Tirumarai Selvan
98784212e2
allow configuring timeout for remote schema calls ( close #2501 ) ( #2753 )
2019-08-23 14:27:19 +05:30
Tomasz Skowroński
669bb40e72
add more boilerplates for serverless triggers ( #748 )
...
#431
2019-08-23 11:02:22 +05:30
Rakesh Emmadi
8ac78fdaec
accept null values in order_by input field ( fix #2754 ) ( #2755 )
2019-08-22 03:14:27 -05:00
Rikin Kachhia
db0578843e
update console error pages image ( #2762 )
2019-08-21 16:54:12 +05:30
Rikin Kachhia
d511e2006f
fix auth permission example table syntax ( #2756 )
2019-08-21 14:04:31 +05:30
Rikin Kachhia
03ea997c3b
add schema permissions summary page + update table permissions page ( #2693 )
...
Schema permissions summary page
* show summary of access control for all roles across tables and actions
* allow copy of permissions from one role to others
Table permissions page
* highlight actions and roles as headers in table
* move bulk action selector to end of row
* scroll to edit/bulk section when opened
* pre-select table and action in clone section
2019-08-20 19:12:15 +05:30
Marion Schleifer
2c108daef8
update docs footer + sample apps content ( #2734 )
2019-08-20 18:09:57 +05:30
Praveen Durairaj
1418b43c52
community: explorer, voyager graphiql-online (close #2128,#2129) ( #2737 )
2019-08-20 11:30:42 +05:30
Tirumarai Selvan
7009e77c98
get all Set-Cookie headers ( fix #2688 ) ( #2739 )
2019-08-19 22:24:13 -05:00
Tirumarai Selvan
46f2ecaa65
don't send the request to the client on HTTP throw ( #2738 )
2019-08-19 21:18:04 -05:00
Rikin Kachhia
47057989af
set console asset version as build timestamp ( #2742 )
2019-08-19 14:40:41 +05:30
Rakesh Emmadi
3527b085fd
allow altering type of a column whose permissions defined only with session variables ( close #2070 ) ( #2683 )
...
* allow altering type of a column iff session vars are defined in permissions
* use a sum type to define dependency reason
* set jwt expiry test's expiry time to 4 seconds
* derive Data instance for necessary types to simplify 'hasStaticExp'
2019-08-16 16:35:22 -05:00
Marion Schleifer
b2b337552d
update contributing guide ( #2706 )
2019-08-14 17:38:27 +00:00
Praveen Durairaj
230d8efb40
community: update paths for sample-apps ( close #1915 ) ( #2723 )
2019-08-14 07:05:44 +00:00
Praveen Durairaj
8af9e33b1a
community: update todo-auth0 sample app ( close #1290 ) ( #2725 )
2019-08-14 07:04:56 +00:00
Marion Schleifer
ffbdabf2d0
open secure-your-endpoint docs in new tab from console ( #2709 )
2019-08-13 12:09:47 +05:30
Alexis King
2aa66ca6f5
Fix websocket race condition in server test suite ( fix #2710 ) ( #2712 )
2019-08-12 15:14:29 +05:30
José Lorenzo Rodríguez
e952495235
Use SIGINT as the stopsignal in the dockerfile ( #2685 )
...
Haskell expects the signal to be `SIGINT`, but the docker default is
`SIGTERM`.
2019-08-11 01:23:06 -05:00
Charlie Saunders
e90866752e
fix some typos in cli ( #2708 )
...
* fix typo in manual CLI update message
* fix a typo that was indicated in #2689
2019-08-10 17:13:45 +00:00
Shahidh K Muhammed
3042fd175e
build latest.cli-migrations image on release ( close #2591 ) ( #2707 )
2019-08-10 12:39:27 +00:00
Apoorv Vardhan
9e18f0d297
community: learn: add angular-graphql tutorial ( #2624 )
2019-08-10 10:17:51 +00:00
Rikin Kachhia
18822ded9a
update styles of data tables in console for better readability ( #2629 )
...
* add row striping
* reduce row vertical padding
* column widths based on content
* table width based on content
* handle display of data represented as objects (e.g. jsonb, geaography)
* display data with correct formatting in row expanded mode
* show pagination section even if numRows < page size
* hide filter/sort/pagination sections for object relationship
2019-08-09 16:27:44 +05:30
Rikin Kachhia
c79385864d
escape PG comment strings in console to allow quotes ( close #2641 ) ( #2676 )
2019-08-09 16:21:05 +05:30
AlbertGao
2d4f91472f
fix error in migration docs ( #2691 )
2019-08-09 14:53:38 +05:30
Vamshi Surabhi
52bf885f14
refactor schema.hs into multiple modules ( #2661 )
...
Mostly moving around things across modules. No change in
functionality.
2019-08-09 14:49:17 +05:30
Kaushlendra Pratap
0b9fdad806
add missing -- prefix from server flags in docs ( close #2646 ) ( #2697 )
2019-08-09 14:43:37 +05:30
Rakesh Emmadi
a03c78854d
capture Postgres error code 22025 as HTTP 400 bad request ( close #2486 ) ( #2671 )
2019-08-08 15:57:42 -05:00
Rikin Kachhia
01e71ca896
enable only normal and multiline inputs for text column editing ( #2684 )
2019-08-07 18:42:06 +05:30
Vamshi Surabhi
6a649c23f8
Merge pull request #2547 from jberryman/dev-scripts-and-doc-tweaks
...
Add local development swiss army knife script `scripts/dev.sh`
2019-08-07 12:42:38 +05:30
Vamshi Surabhi
a5a07634a5
Merge branch 'master' into dev-scripts-and-doc-tweaks
2019-08-07 12:08:46 +05:30
Rishichandra Wawhal
e92ffcf440
refactor console codebase with customResolver -> remoteSchema ( #2670 )
2019-08-06 14:30:30 +05:30
Raja Jain
242ecf5a47
community: learn: add flutter-graphql tutorial ( #2554 )
2019-08-06 04:03:11 +00:00
Josha Inglis
d19491ce54
improve console logic for view updatability check ( fix #2667 ) ( #2668 )
2019-08-05 13:35:37 +05:30
Rikin Kachhia
19069c2c2b
show proper console notifications for errors in db schema load & metadata reload
2019-08-02 18:13:10 +05:30
Rikin Kachhia
c1d4f76c1f
allow adding frequently used columns from table modify page ( close #2545 ) ( #2593 )
2019-08-02 14:01:30 +05:30
surendran82
1115d0c9a0
community: learn: home page design updates ( #2588 )
2019-08-01 12:46:43 +00:00
Shahidh K Muhammed
bfc6fc8a5e
update manifests to v1.0.0-beta.4
2019-08-01 16:26:32 +05:30
Anon Ray
b4a0a03631
log when request body parsing fails ( fix #2555 ) ( #2556 )
2019-08-01 16:21:59 +05:30
Alexis King
84ff3ff01b
Set LANG=C.UTF-8 in the docker container ( fix #2571 ) ( #2647 )
2019-08-01 13:00:07 +05:30
Tobias Törnros
727eee8493
fix typo on event triggers boilerplates for Netlify Functions ( #2493 )
2019-08-01 05:11:44 +00:00
Rakesh Emmadi
6b8a6ca48f
dont use sub-query for perm limit if aggregations are absent ( #2630 )
2019-08-01 05:09:52 +00:00
Rodrigo Quelhas
93737916a9
community: learn: ReasonML tutorial bug fixes ( #2642 )
2019-07-31 16:18:32 +00:00
Brandon Simmons
3e2e14357a
Add rebuild-ghc-options
to stack.yamls
...
I found this default a super annoying time waster.
2019-07-31 10:22:50 -04:00