Commit Graph

1345 Commits

Author SHA1 Message Date
Rikin Kachhia
1adbc983ee
add pg version support note to getting started guide (#2841) 2019-09-09 14:05:39 +05:30
Anubhav Jain
8372dc6a9b make docs version dropdown arrow consistent across browsers (close #1878) (#2144) 2019-09-09 14:00:11 +05:30
Rishichandra Wawhal
c343361f02 fix remote schema headers configuration in console (#2847) 2019-09-09 13:57:07 +05:30
Ben Kimpel
0c0a2d6288 handle "without time zone" dateTime types in permissions builder (close #2842) (#2844) 2019-09-07 01:00:25 +05:30
Rakesh Emmadi
c148e5753a support optional parameters in database url (close #1709) (#2344) 2019-09-05 15:59:26 -07:00
Marion Schleifer
5152de3022 improve documentation on queries (close #413) (#2799) 2019-09-05 20:23:50 +05:30
Rikin Kachhia
37366e0f57
add one-to-one rel nested mutation limitations + update upsert docs (#2825) 2019-09-05 18:21:00 +05:30
Arun Babu Neelicattu
927a48753e disable auto-update checks in cli-migrations container entrypoint (#2835) 2019-09-05 16:57:10 +05:30
Rakesh Emmadi
de1ab241f8 allow creating permissions with conditions spanning tables (close #2512) (#2701) 2019-09-05 13:04:53 +05:30
Victor Ferreira
27d85ca6bb fix a typo in limit description of schema (close #2810) (#2811) 2019-09-05 12:47:01 +05:30
Marion Schleifer
cb2a083359 improve relational insert docs + add section on upsert usage (#2757) 2019-09-04 14:17:55 +05:30
Marion Schleifer
04b1d4a145 update many-to-many relationship docs (#2821) 2019-09-04 12:38:32 +05:30
Rikin Kachhia
47fb329090
update enums docs (#2813) 2019-09-03 19:47:36 +05:30
Rishichandra Wawhal
5dfe3b86f2 add console support for setting table as enum (close #2767) (#2789) 2019-08-30 18:47:51 +05:30
Anne Ogborn
2d5d3210b5 update email address in code of conduct (#2803) 2019-08-30 14:54:49 +05:30
Shahidh K Muhammed
f9daaf40d3 update manifests to v1.0.0-beta.6 2019-08-29 18:38:18 +05:30
Rakesh Emmadi
f7c99689da support intersect filters on raster columns (close #2613) (#2704)
* initial raster support

* _st_intersects_geom -> _st_intersects_geom_nband

* add tests

* update docs

* improve docs

As requested by @marionschleifer

* new type for raster values

Suggested by @lexi-lambda

* replace `SEUnsafe "NULL"` with SENull
2019-08-29 18:37:05 +05:30
Rikin Kachhia
7f818b8b19
fix issue with inserting/editing boolean fields (close #2536, #2798) 2019-08-29 15:34:27 +05:30
rikinsk
78ca9f38a7 apply radio btn selection logic to insert item also 2019-08-29 15:31:40 +05:30
Alireza Ahmadi
ae97c36c9d fix issue with editing boolean fields (fix #2536) 2019-08-29 00:39:08 +04:30
Rakesh Emmadi
d9fb0f8780 use named notation for function arguments if any argument is not specified (fix #2730) (#2777)
* use positional arguments in SQL functions
* only allow omitting set of last arguments in functions
* disallow omitting of a non default argument in functions
2019-08-28 14:27:15 -05:00
Shahidh K Muhammed
298d5f96c7
change console codeowner 2019-08-28 14:15:39 +05:30
ziga
5b0a790b59 fix typo in cli (#2617) 2019-08-28 13:33:05 +05:30
Kirankumar Ambati
185292cd2a fix typo in console (#2527) 2019-08-28 13:31:40 +05:30
Alain Armand
ce11953038 learn: fix type bug in reasonml tutorial (#2564)
* Error on line 72

That line throws an error:
```ocaml
53 │         let onlineUsers = Array.map(u => <UserItem user=u />, data##on
       line_users);
  54 │
  55 │         let onlineUsersTitle =

  This has type:
    Js.Array.t({. "id": option(string), "user": option({. "name": string})})
      (defined as
      array({. "id": option(string), "user": option({. "name": string})}))
  But somewhere wanted:
    array({.. "name": string})
  The first object type has no method name

>>>> Finish compiling(exit: 1)
```

Works like this:

```ocaml
let online_users = data##online_users->Belt.Array.keepMap(x => x##user);
let onlineUsers = Array.map(u => <UserItem user=u />, online_users);
```
Or however you want to do it.

* Per pull conversation

added piped version, combining functions.
2019-08-27 16:22:09 +05:30
imsyf
eac5681100 learn: fix typos in apollo-android (#2772) 2019-08-27 15:56:38 +05:30
Praveen Durairaj
774cb986b0 learn: update content, add algolia search (close #2308) (#2731) 2019-08-27 15:28:40 +05:30
Marion Schleifer
73d6ac8508 clarify docs on resolvers (close #2716) (#2784) 2019-08-27 14:38:49 +05:30
Tirumarai Selvan
67d3eb3e27 unlock only locked rows during startup (#2778) 2019-08-26 19:41:38 -05:00
Alexis King
6b9b2b67cb
Support representing single-column Postgres tables as GraphQL enums (close #982) (#2672) 2019-08-26 01:05:56 -05:00
Alexis King
78ec906794 server: Include number of enum tables in metrics 2019-08-26 00:54:56 -05:00
Alexis King
c48904551e Document enum tables and enum table metadata APIs 2019-08-26 00:54:56 -05:00
Alexis King
c46ecc72dc Refactor non-table functions out of Hasura.RQL.DDL.Table 2019-08-26 00:54:56 -05:00
Alexis King
d4dcd28baa Slightly rearrange and cleanup Hasura.SQL.Value 2019-08-26 00:54:56 -05:00
Alexis King
00862fcad8 Centralize handling of expected PostgreSQL errors 2019-08-26 00:54:56 -05:00
Alexis King
7fa1452ca0 server: Rename a whole bunch of things
* PGTypeSimple → PGTypeScalar
* PGScalarTyped → WithScalarType
* PGColValue → PGScalarValue
* PGColInfo → PGColumnInfo
* PGRawColInfo → PGRawColumnInfo
* mkScalarSessionVar → mkTypedSessionVar
2019-08-26 00:54:56 -05:00
Alexis King
ed26da59a6 Add support for GraphQL enum types via enum table references
These changes also add a new type, PGColumnType, between PGColInfo and
PGScalarType, and they process PGRawColumnType values into PGColumnType
values during schema cache generation.
2019-08-26 00:54:56 -05:00
Alexis King
86663f9af7 Rename PGColType to PGScalarType 2019-08-26 00:54:56 -05:00
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