Commit Graph

1230 Commits

Author SHA1 Message Date
nizar-m
842913f566 Add tests for directives skip and include and basic tests for fragments (fix #3180) (#3185)
* Add tests for directives include and skip
* Add basic tests for fragments
2019-10-20 06:59:41 -05:00
Rishichandra Wawhal
d14300e9c9 generate migrations for replace metadata (close #2996) (#2999) 2019-10-18 18:53:55 +05:30
Rakesh Emmadi
d8d21c1487 support computed fields returning scalars or set of tables (close #1387) (#2917) 2019-10-18 13:59:47 +05:30
Rishichandra Wawhal
d82c6d464f fix telemetry notification display (#3166) 2019-10-17 18:18:28 +05:30
Rikin Kachhia
1369876699
Revert "update manifests to v1.0.0-beta.8" (#3167) 2019-10-17 17:48:29 +05:30
Marion Schleifer
068d037efd add catalogue version downgrade instructions to docs (close #2620) (#2819) 2019-10-17 17:32:01 +05:30
Shahidh K Muhammed
7c1a964819 update manifests to v1.0.0-beta.8 2019-10-17 15:30:07 +05:30
Shahidh K Muhammed
b7fb4eb13e
cli-migrations: enable metadata api while applying migrations (#3163) 2019-10-17 15:28:27 +05:30
Rishichandra Wawhal
2e93abd6a9 display table check constraints in console (close #2898) (#3086) 2019-10-16 21:24:27 +05:30
Alexis King
e01008413e
Track variable uses within query validation for caching (fix #3097) (#3135)
This fix is a little ugly, but it’s the only simple solution without a
significant refactoring that restructures the relationship between
GraphQL/Validate and GraphQL/Resolve. The ugliness should go away if we
implement something like #2801.
2019-10-16 09:33:34 -05:00
Rishichandra Wawhal
86ab64232d fix setting new role name when perm edit is open (closes #2682) (#2997) 2019-10-15 18:49:23 +05:30
Rikin Kachhia
61d6610ed6
fix console row edit behaviour (close #3121) (#3133)
* handle unmodified fields
* handle setting default value
2019-10-15 15:13:10 +05:30
Rishichandra Wawhal
81de56dc70 community: tic-tac-toe: fix names bug and add docker-compose (#3058) 2019-10-11 16:27:55 +05:30
Shahidh K Muhammed
624ce0c6aa Revert "update manifests to v1.0.0-beta.7"
This reverts commit ae145c587f.
2019-10-11 11:14:25 +05:30
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