Commit Graph

1174 Commits

Author SHA1 Message Date
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
Joshua Yoerger
883ec85bfc correct argument type for insert_todos mutation (#2902)
C.f. the schema documentation for mutation_root > insert_todos in the [Try it out in GraphiQL](https://learn.hasura.io/graphql/graphiql) environment.
2019-09-18 15:31:46 +05:30
Rikin Kachhia
9f59e32240 update console telemetry config (#2899) 2019-09-18 12:25:29 +05:30
Aravind Shankar
5f3294f4a0 optimise migrate api for console on cli (#2895) 2019-09-18 11:06:16 +05:30
Praveen Durairaj
0a64ef99b5 ra-data-hasura: filter for count query, add httpClient (close #2100, #2741, #2771) (#2727)
* filter for count in GET_LIST and GET_MANY_REFERENCE

* update deps, add httpClient argument, release new version
2019-09-18 08:06:17 +05:30
Praveen Durairaj
3b5886ed92 community: svelte-apollo: fix connectionParams (close #2769) (#2893) 2019-09-17 13:14:10 +05:30
Praveen Durairaj
384b960f5d update package versions for next-postgres-graphql (close #2714) (#2894) 2019-09-17 13:13:04 +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
Alexis King
d9d47f0062
server: Don’t allow warnings when building in CI (#2892) 2019-09-17 00:00:42 -05:00
Vamshi Surabhi
41551f19bd
Merge pull request #2856 from lexi-lambda/more-subscription-multiplexing
Refactor query plan caching and improve subscription multiplexing
2019-09-17 09:13:29 +05:30
Alexis King
54e6439579 Change the way we determine whether or not queries are reusable
This fixes an issue where queries could incorrectly be considered
reusable if a variable was used in two positions: one where it affected
SQL generation and one where it did not.
2019-09-16 22:00:46 -05:00
Alexis King
264d70644b Multiplex all subscriptions, grouping them by their resolved SQL query 2019-09-16 22:00:46 -05:00
Alexis King
171d67899b Add Data.Time.Clock.Units for DiffTime literals and conversions 2019-09-16 22:00:46 -05:00
Ajeet D'Souza
99174cca9b propagate Postgres table comments to GraphQL schema descriptions (close #446) (#2397) 2019-09-16 20:51:11 -05:00
Shahidh K Muhammed
e275142c63 Revert "change console codeowner"
This reverts commit 298d5f96c7.
2019-09-16 14:22:43 +05:30
Aravind Shankar
b39d7b977b check for empty response on migration settings (#2877)
(close #2872) (close #2862)
2019-09-16 14:20:46 +05:30
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