Commit Graph

1348 Commits

Author SHA1 Message Date
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
Rakesh Emmadi
084439db7e fix SQL generation if more than one aggregate order_by items present, fix #2981 (#2998) 2019-10-04 23:00:53 -05:00
Marion Schleifer
83f37716bb add blogpost on public queries to docs (#2925) 2019-10-04 18:24:01 +05:30
Rodolfo Silva
e0a7a8dd6f ra-data-hasrua: set 'asc' as default behavior to sort GET_LIST (#2916)
Right now if you provide a empty sort param you will get a error, because sort.order is undefined and don't have a function toLowerCase.
Like a common database we can set the default order direction as ASC.
2019-10-04 16:19:37 +05:30
Alain Armand
7148fdc598 community: change [Int] to [Int!] to get app to compile. (#2993) 2019-10-04 16:19: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
Tirumarai Selvan
5893cf47ed remove conflict_action type (#2950) 2019-10-03 15:18:49 +05:30
Rakesh Emmadi
55a788594b update custom column names on renaming/dropping columns (#2933) 2019-10-03 13:15:52 +05:30
nizar-m
44da458c81 fix hpc combine error (close #2946) (#2947)
* Fix hpc combine error

* Do not perform ciignore

* xfail test jsonb_has_all

* Bring back ciignore

* Refer jsonb_has_all xfaul to the corresponding issue in graphql-engine-internal
2019-10-02 12:06:27 +05:30
Mark van Driel
342e091f33 Fix typo in warning message (#2949) 2019-09-30 19:24:55 -05:00
Alexis King
18e8fbab1b
Parameterize all SQL values when multiplexing subscription queries (#2942)
Also, add support for explaining subscriptions while we’re at it.
2019-09-30 14:50:57 -05:00
Kirankumar Ambati
0beb27a1de updated heroku url property in console readme (#2957) 2019-09-30 15:20:13 +05:30
Kirankumar Ambati
0bf1d9ac83 fix typos (#2935) 2019-09-27 12:36:08 +05:30
Praveen Durairaj
68332fac54 community: move learn to a different repo (#2930)
* remove learn, update readme
2019-09-26 10:09:20 +05:30
Rishichandra Wawhal
1d1de94303 better key persistence in console (#2686)
* change login flow to handle admin secret persistence

* handle headers init state

* add tooltip for remember-me

* remove log, make label clickable

* fix a closure scope bug

* handle login verification at route level

* update Login.js

* refactor

* remove extra file

* refactor

* add id to tooltips

* remove adminsecretlabel + update admin secret storage flow

* fix heartIcon close handling

* .

* fix admin secret setting

* fix urlPrefix

* add admin secret header if not present

* update jwt analyzer icon

* persist if admin secret header has already been added

* set cli console mode as constant

* handle CLI admin secret errors

* make separate logout page

* fix typos

* fix typos

* fix typos

* fix typos

* fix cli error

* fix login page path
2019-09-25 21:16:28 +05:30
Alexis King
eb0c1f6642 fix console server-build script (#2790) 2019-09-24 18:42:24 +05:30
Praveen Durairaj
be57394ead remove deprecated folders from community (close #1399) (#2897) 2019-09-24 18:20:52 +05:30
Rakesh Emmadi
79414cb225 add brotli shared lib to packager image (#2924)
Add brotli library dependencies to the server docker image.

The compression feature introduced in #2751 requires brotli shared libraries at runtime. In original PR, adding them to server packager image was missing.
2019-09-24 15:52:50 +05:30
Rikin Kachhia
ddf27c1768
add console support for exists operator in permissions (close #2837) (#2878) 2019-09-23 17:23:12 +05:30
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
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