Commit Graph

261 Commits

Author SHA1 Message Date
Rakesh Emmadi
f3b418c631 support where clause in on_conflict of insert mutation (close #2795) (#3002) 2019-10-09 05:09:20 -05:00
Marion Schleifer
453a544d83 add blogpost on modelling teams to docs (#3051) 2019-10-08 13:52:20 +05:30
Marion Schleifer
3d6e4bc09a change region in k8s deployment guide (#3048) 2019-10-07 16:06:07 +05:30
José Antonio Chio
e4b3c50469 update docs github social icon width (close #3024) (#3025) 2019-10-07 11:46:10 +05:30
Rakesh Emmadi
8972dfb018 remove brotli compression (#2967)
Although brotli itself is MIT-licensed, the Haskell brotli library that provides bindings to it is GPL-licensed, so we cannot use it unless we get a response on haskell-hvr/brotli#1.
2019-10-05 02:20:50 -05:00
Marion Schleifer
83f37716bb add blogpost on public queries to docs (#2925) 2019-10-04 18:24:01 +05:30
Santosh Yadav
9dc106b989 add a note on connection pooling to do docs (close #2860) (#2960) 2019-10-04 12:30:41 +05:30
Jason Brown
52b48b05c8 add networking note to remote schema docs (#2972)
Co-Authored-By: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2019-10-04 12:19:58 +05:30
Vamshi Surabhi
0f143f0ea8 fixes to the subscriptions improvements introduced with #2942 (#3005)
* fix incorrect references to result variables
* remove docs/code related to 'fallback' backend
2019-10-03 14:35:55 -05:00
Marion Schleifer
eacda7cad5 docs: add security announce mailing list (#2923) 2019-09-23 16:42:47 +05:30
Marion Schleifer
622af55acc fix postgres version in docs (#2919) 2019-09-23 12:37:42 +05:30
Marion Schleifer
8d91ab919a add file upload blogpost link to docs (#2911) 2019-09-20 15:14:14 +05:30
Rakesh Emmadi
8a0615ff70 add gzip brotli compression to http responses (close #2674) (#2751) 2019-09-19 18:24:40 +05:30
Rakesh Emmadi
9bd5826020 allow customising graphql schema for a table (close #981) (#2509)
* allow customizing GraphQL root field names, close #981

* document v2 track_table API in reference

* support customising column field names in GraphQL schema

* [docs] add custom column fields doc in API reference

* add tests

* rename 'ColField' to 'ColumnField'

* embed column's graphql field in 'PGColumnInfo'

-> Value constructor of 'PGCol' is not exposed
-> Using 'parseJSON' to construct 'PGCol' in 'FromJSON' instances

* avoid using 'Maybe TableConfig'

* refactors & 'custom_column_fields' -> 'custom_column_names'

* cli-test: add configuration field in metadata export test

* update expected keys in `FromJSON` instance of `TableMeta`

* use `buildSchemaCacheFor` to update configuration in v2 track_table

* remove 'GraphQLName' type and use 'isValidName' exposed from parser lib

* point graphql-parser-hs library git repo to hasura

* support 'set_table_custom_fields' query API & added docs and tests
2019-09-19 10:17:36 +05:30
Kevin Barrett
b544f75a10 docs: swap manual_mapping for manual_configuration (close #2887) (#2888)
The docs specify `manual_mapping` for array relationship manual configs, and also mention the attribute in a note. However, using `manual_mapping` errors; `manual_configuration` is the correct attribute name.
2019-09-17 11:38:23 +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
Marion Schleifer
480b34ea5e fix typos in documentation (#2562) 2019-09-11 12:47:14 +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
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
Rakesh Emmadi
de1ab241f8 allow creating permissions with conditions spanning tables (close #2512) (#2701) 2019-09-05 13:04:53 +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
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
Marion Schleifer
73d6ac8508 clarify docs on resolvers (close #2716) (#2784) 2019-08-27 14:38:49 +05:30
Alexis King
c48904551e Document enum tables and enum table metadata APIs 2019-08-26 00:54:56 -05:00
Tirumarai Selvan
98784212e2 allow configuring timeout for remote schema calls (close #2501) (#2753) 2019-08-23 14:27:19 +05:30
Rikin Kachhia
d511e2006f
fix auth permission example table syntax (#2756) 2019-08-21 14:04:31 +05:30
Marion Schleifer
2c108daef8 update docs footer + sample apps content (#2734) 2019-08-20 18:09:57 +05:30
AlbertGao
2d4f91472f fix error in migration docs (#2691) 2019-08-09 14:53:38 +05:30
Kaushlendra Pratap
0b9fdad806 add missing -- prefix from server flags in docs (close #2646) (#2697) 2019-08-09 14:43:37 +05:30
Rikin Kachhia
e3f68dbb67
add support for column comparision operators in permissions builder (close #2040) (#2606) 2019-07-29 14:58:27 +05:30
AlbertGao
a27488f463 update heroku documentation (#2526) 2019-07-29 06:24:39 +00:00
Tirumarai Selvan
50c6833cf0 add data clean-up docs for event triggers (#2596) 2019-07-26 17:24:38 +05:30
Anon Ray
a3e7a20a44 add notices in jwt docs regarding audience check (#2557)
- also update firebase sample-app README with correct JWT conf
2019-07-16 11:13:00 +00:00
Alexis King
8f9a41ff88 Support casting between PostGIS geometry and geography types in where expressions (close #1983) (#2495)
* server: Bump dependencies to allow Haddock to run successfully

* Support casting between PostGIS geometry and geography types in filters
2019-07-15 14:22:45 +05:30
Tobias Törnros
88a1be4a04 Use the event object in trigger payload (#2500)
Broken example. The data object is located in the event object in trigger payload. Info: https://docs.hasura.io/1.0/graphql/manual/event-triggers/payload.html
2019-07-12 14:08:53 +05:30
Anon Ray
f2f14e727b Merge pull request from GHSA-2j98-fw5g-j43v
* fix bug in audience check while verifying JWT

  - previously the check was converting the audience type into a string
  and then comparing with the conf value. all audience types (as it is a
  string or URI) will convert to plain strings
  - use the Audience type from the jose library for comparing

* add docs for audience

* add issuer check as well

* docs minor syntax fix

* skip audience check if not given in conf

* minor docs update

* qualify import jose library
2019-07-11 09:58:39 +00:00
Anon Ray
8f1e7dbc8d breaking: server logging changes (close #507, close #2171) (#1835) 2019-07-11 05:37:06 +00:00
Vamshi Surabhi
f1cf6d0b17
allow session variables in operators which expect array input (#2475) 2019-07-10 15:49:58 +05:30
Anon Ray
d2867cea0c add docs for JWT audience and issuer (#2496) 2019-07-09 15:09:32 +00:00
Rakesh Emmadi
9eb38e6c96 cache remote schema's introspection query response (fix #1679) (#2089) 2019-07-08 11:21:41 +05:30
Rikin Kachhia
9675e036ea
update jwt spec info (#2457) 2019-07-05 14:13:02 +05:30
Aravind Shankar
0aefbd0822 infer relationship type using uniqueness constraint of foreign key (close #969) (#2347) 2019-07-02 19:05:27 +05:30
matt
f7ac664cc4 update postgres permission documentation (fix #2404) (#2405) 2019-07-02 13:19:29 +05:30
Shahidh K Muhammed
aae68873da add note on exporting multiple schemas as migration (#2436) 2019-06-27 17:04:19 +05:30
Ajeet D'Souza
08df38aa8c add name of ci environment to telemetry data (#2382) 2019-06-26 11:53:40 +05:30