Commit Graph

1207 Commits

Author SHA1 Message Date
Rikin Kachhia
d1eeb3283c update code of conduct (#2886) 2019-09-16 14:07:52 +05:30
Praveen Durairaj
c3c0e3213f community: learn: add typescript-react-apollo (#2838) 2019-09-16 12:26:27 +05:30
Rónán
a7c53ceaf3 add link to rust remote-schema boilerplate (#2885)
* Add link to rust boilerplate

* Update README.md
2019-09-16 12:26:05 +05:30
Tirumarai Selvan
17b8b6e2de update remote schema boilerplate readme (#2884) 2019-09-16 11:02:08 +05:30
ajhool
7915441a69 fix hostname in pgAdmin docker compose (close #2865) (#2866) 2019-09-15 09:47:31 +05:30
Rakesh Emmadi
e5eb0c4f34 fix row comparison operator in event triggers (fix #2036) (#2868)
Update trigger is failing if any json/geometry columns are present in
event payload rows. Use '*<>' operator instead of '<>' to compare the
internal binary representation of rows if '<>' doesn’t work.
2019-09-12 18:22:01 -05:00
Raja Jain
7d27719f29 community: learn: flutter tutorial mods (#2859) 2019-09-11 15:03:39 +05:30
Marion Schleifer
480b34ea5e fix typos in documentation (#2562) 2019-09-11 12:47:14 +05:30
IMRAN KHAN
1487cc1d26 make destructive actions on console require typed out confirmation (close #1469) (#2400) 2019-09-10 20:32:04 +05:30
José Lorenzo Rodríguez
5609fba393 Implemented graceful shutdown for websockets (#2827) 2019-09-09 15:26:04 -05:00
Rikin Kachhia
eea1e33d19
fix console insert/edit row glitches (close #2840, #2665) (#2843) 2019-09-09 19:37:26 +05:30
Rikin Kachhia
a32f985252
update docs contributing guide (#2834) 2019-09-09 16:53:21 +05:30
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