Commit Graph

1216 Commits

Author SHA1 Message Date
Ajeet D'Souza
a66fb42ce2 Make catalog metadata migrations work on all schema versions (fix #2826) (#2379)
* Separate DB and metadata migrations
* Refactor Migrate.hs to generate list of migrations at compile-time
* Replace ginger with shakespeare to improve performance
* Improve migration log messages
2019-10-11 00:13:57 -05:00
Alexis King
c0d7402e15
Fix two enum table reference bugs (fix #2820 and #3010) (#3074)
* Include enum types in schema whenever references are visible (fix #2820)
* Fix RQL parsing for nullable enum table references (fix #3010)
2019-10-10 21:22:16 -05:00
craigglennie
ddf5997eac ra-data-hasura: update readme explain some imports (close #2905) (#2906)
I was a little confused about where some of the imports in the example code came from, until I realised that they're created as part of the react-admin tutorial. I added a comment explaining that.
2019-10-10 21:39:50 +05:30
Oleg Butuzov
2e9d9bc621 update broken links in docs (#3055)
* Removed text about source code

Source code was removed by hasura/graphql-engine@fb3794c3

* links update for subscriptions/index

links updated because
1) facebook.github.io was changed to graphql.github.io/graphql-spec/
2) path to docs changed by apollographql/apollo-client@41ca8ff1
2019-10-10 21:28:24 +05:30
Rakesh Emmadi
b0d60ec14f fix hdb_catalog.hdb_column view (fix #3083) (#3084) 2019-10-10 10:11:17 -05:00
Shahidh K Muhammed
3f088cd7ac
remove generic rule from codeowners 2019-10-10 20:15:13 +05:30
Alexis King
3ef6feb394
server: Fix flaky logging test (#3081)
The changes in 0c74839934 adjusted the
format of error logs slightly to omit fields instead of including them
with null values. However, this was rarely triggered by this test
because it only looks at the first log message, but log messages can
sometimes be written out of order. This makes the test order-agnostic.
2019-10-10 08:40:19 -05:00
Shahidh K Muhammed
ae145c587f update manifests to v1.0.0-beta.7 2019-10-10 10:37:33 +05:30
Rikin Kachhia
bb8880d09a
fix console README and isProduction check while setting globals (#3076) 2019-10-09 19:23:21 +05:30
Rakesh Emmadi
f3b418c631 support where clause in on_conflict of insert mutation (close #2795) (#3002) 2019-10-09 05:09:20 -05:00
Rishichandra Wawhal
d3f80265f5 update graphiql explorer in hasura console and graphiql online (closes #2313) (#2994)
* update graphiql explorer

* update onegraph explorer in graphiql online
2019-10-08 16:17:18 +05:30
Rishichandra Wawhal
5ced530ccd separate server and cli env variables in console local dev (#2937) 2019-10-08 15:53:01 +05:30
Marion Schleifer
453a544d83 add blogpost on modelling teams to docs (#3051) 2019-10-08 13:52:20 +05:30
Rikin Kachhia
0fc70cd242
allow only tracked tables in manual relationship definition in console (#3046) 2019-10-08 13:45:05 +05:30
Toan Nguyen
0c74839934 add raw query field for error http log (close #2963) (#3020) 2019-10-07 13:04:33 -05:00
Kirankumar Ambati
3d4f28551d fix console lint issues, code formatting (#3028) 2019-10-07 17:51:02 +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
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