Commit Graph

1473 Commits

Author SHA1 Message Date
Alexis King
fa9077f774 Add support for fine-grained dependency tracking to Incremental 2020-01-08 16:45:54 -06:00
Alexis King
89af4ae4d7 Move arrow transformers into a separate module 2020-01-08 16:45:54 -06:00
Alexis King
25c5f97de2 Fix new hdb_table_info_agg query to fetch column base types
We mostly want to do this to make queries against information_schema
tables work, which the console cares about. information_schema tables
use types like sql_identifier, which have no corresponding array types
defined! Therefore, in order to generate valid queries for _in and _nin
conditions, we need to treat them as their base types, instead.
2020-01-08 16:45:54 -06:00
Alexis King
e2eabcd54e Properly check that custom field names do not conflict with other fields 2020-01-08 16:45:53 -06:00
Alexis King
27997107ab Add caching for recreating event trigger functions 2020-01-08 16:45:46 -06:00
Alexis King
780857fb19 Switch to a CPS implementation of Rule
This is significantly more performance, even without specialization,
which dramatically improves compile times.
2020-01-08 16:45:46 -06:00
Alexis King
c322e8a5d4 Use a significantly more efficient table_info_agg view
Also, use the view in Schema.Diff to share some more logic.
2020-01-08 16:45:46 -06:00
Alexis King
447bac74e7 Split up Hasura.RQL.DDL.Schema.Cache
This should hopefully improve compile times by avoiding the need to
specialize everything at once.
2020-01-08 16:45:46 -06:00
Alexis King
5b969208c6 Use arrows instead of monads to define the schema cache construction 2020-01-08 16:43:06 -06:00
Alexis King
1387722970 Refactor schema cache construction to avoid imperative updates
wip: fix error codes in remote schema tests
2020-01-08 16:43:06 -06:00
Alexis King
f2963a25c3 Add Hasura.Incremental, a library for incremental builds 2020-01-08 16:43:06 -06:00
Marion Schleifer
28914022fc docs: add alt tags for all images (#3634) 2020-01-08 18:50:18 +05:30
Rikin Kachhia
ed8bc49d02
update console pro popup content (#3660) 2020-01-08 13:14:25 +05:30
surendran82
7e95463406 console: add hasura pro info button (#3594) 2020-01-08 12:30:21 +05:30
Ashish Rao
2fc49eaa63 cli: add browser flag to console command (close #3333) (#3601)
Co-authored-by: Ashish Rao <ashishrao@hasura.io>
Co-authored-by: Thibaut Tiberghien <thibaut@smplrspace.com>
2020-01-08 08:36:09 +05:30
Toan Nguyen
2aba7edf81 add query execution time and response size to ws-server logs in websocket transport (#3584) 2020-01-07 14:25:32 -06:00
Rikin Kachhia
dbfc9e2b8b
misc console improvements (#3435)
* persist rawSql content to LS
* handle cleanup of admin secret related persisted info if admin secret is removed
* show gql compatibility warning for invalid schemas and add to tooltip that types depending on the identifier will not be exposed over GraphQL
* display non trackable functions section even if there are no functions
* increase width of stack trace container on error page
* fix PG version fetch query
2020-01-07 14:51:41 +05:30
Rikin Kachhia
f78518ab17
add table of contents to subscriptions architecture doc (#3521) 2020-01-07 11:48:25 +05:30
Aravind Shankar
bf98f15dcf cli(fix): execute down migration in the correct order (#3625) 2020-01-06 15:21:00 +05:30
Shahidh K Muhammed
de720efefd
translations(mandarin): add readme.md (close #3170) (#3639)
Co-authored-by: Jagreet Das Gupta <jagreetdg@gmail.com>
Co-authored-by: johnbanq <cardinalist@yeah.net>
2020-01-06 12:48:28 +05:30
Don Livanec
fa1805dc59 docs: update url for community wiki tools and boilerplates (#3619) 2020-01-06 12:39:45 +05:30
Phylor
3ca92b9ac1 docs: fix Auth0 integration instructions (fix #2655) (#3214)
Co-authored-by: Praveen Durairaju <praveend.web@gmail.com>
2020-01-06 12:38:03 +05:30
Marion Schleifer
063d9cd7bd fix links in event-triggers.md (#3626) 2020-01-05 17:06:54 +05:30
Chirag Agarwal
68480d0214 translation(hindi): add security.md (#3162) 2020-01-05 11:32:23 +05:30
Marion Schleifer
1f0aa79b00 docs: fix color of paragraph anchor (#3629) 2020-01-03 17:22:28 +05:30
anubhuti-mishra
020cd93473 update hasura logo color on brand assets (#3617)
[skip ci]
2020-01-03 09:33:34 +05:30
Ashish Rao
45533aec54 display postgres version in About page of console (close #3461) (#3611) 2020-01-02 11:28:46 +05:30
Nomad-Go
c75b759f6f add lambda-cognito webhook example (fix #1180) (#1544) 2019-12-31 14:09:16 +05:30
Phil Freeman
9e2c8b420b Report errors in parallel when batching (#3605)
* Report errors in parallel when batching
* Add some more test cases
2019-12-30 17:18:20 -06:00
Rikin Kachhia
69179adb6d
add base code for console read only mode (#3466) 2019-12-30 17:22:20 +05:30
Luís Pinto
c86a8242f2 community: add netlify event-trigger echo boilerplate (#2985)
Co-authored-by: Praveen Durairaju <praveend.web@gmail.com>
2019-12-30 15:24:27 +05:30
Praveen Durairaju
8ee21368f9 docs: add canonical url, fix accessibility (#3599) 2019-12-30 14:32:06 +05:30
Praveen Durairaju
caab88a405 community(gatsby-postgres-graphql): remove createLink, update deps (close #965) (#3600) 2019-12-27 19:25:58 +05:30
Rahul Verma
c6ab1014af cli(fix): better error handling on non-json api responses (clos… (#3104)
Co-authored-by: Rahul Verma <51950008+rahulverma283@users.noreply.github.com>
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2019-12-27 16:28:36 +05:30
Aravind Shankar
337403d532 cli(fix): squash command not adding the last down (close #3401) (#3569)
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2019-12-27 11:35:20 +05:30
Simon
7f1cc633ee cli(migrations-docker): take a specific env var for database url (#3351)
Co-Authored-By: Shahidh K Muhammed <shahidh@hasura.io>
2019-12-27 10:00:06 +05:30
Tirumarai Selvan
c2829c662b cli(migrations-docker): randomize server port (fix #3479) (#3481)
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2019-12-27 09:35:29 +05:30
Rakesh Emmadi
181902cc6c fix absence of "args" input field omits session variable argument, fix #3576 (#3585) 2019-12-26 16:32:48 -06:00
Rikin Kachhia
3a7a3bf6bf
refactor docs schema section (#3489) 2019-12-26 17:35:37 +05:30
Rikin Kachhia
445061b99f rearrange PR template sections (#3592)
The current PR template has the server checklist above the Steps to verify and Limitations section. For non-server PRs this makes it very easy to miss adding and reading the content of those sections as the server checklist is huge and not relevant
2019-12-26 11:56:28 +05:30
Marion Schleifer
5eb9f602b3 update docs colour scheme (#3586) 2019-12-26 11:01:02 +05:30
Hajrudin
c1d121bf49 translation: add bosnian version for readme (#3107)
Co-authored-by: Marion Schleifer <marion@hasura.io>
Co-authored-by: Shahidh K Muhammed <shahidh@hasura.io>
2019-12-25 23:06:02 +05:30
Ashish Rao
1cea6bdc57 cli: use json logs on non-terminal envs (close #2770) (#3528)
Co-authored-by: Shahidh K Muhammed <shahidh@hasura.io>
2019-12-25 20:14:02 +05:30
Pradeep Murugesan
dece69c5a9 cli: add commands to manage inconsistent metadata (close #2766) (#2973)
Co-authored-by: Aravind Shankar <face11301@gmail.com>
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2019-12-25 14:03:06 +05:30
Shahidh K Muhammed
8ea6f77c7b
cli: add directory name as an argument to init cmd (#3590)
* add directory-name as an argument to init command

* change dev version to a const string
2019-12-25 14:01:29 +05:30
Vitalii Tverdokhlib
6d1fad6d69 community(sample-apps): update readme for quasar-framework-vue (#3563)
typo: quasar-framework-vue-graphql

Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2019-12-25 11:45:10 +05:30
nizar-m
1fca7591c1 Show request id on test failures (#3556)
Right now on errors, only the expected and the actual responses are
shown. The actual response sometimes may not have all the information,
and you may have to look at the logs. In this case, request id would be
of great help to get the extra information from the logs.
2019-12-24 21:35:32 -06:00
Alexis King
65eed04268
console: Bump dependencies to support Node v13.x (#3579) 2019-12-24 09:55:43 -06:00
Shahidh K Muhammed
6ef5b438c0
add git clone command to heroku update guide (close #3582) (#3587) 2019-12-24 19:00:54 +05:30
Anchal Agarwal
5ab2c53a94 add hindi translation for remote-schemas.md (#3267) 2019-12-24 18:30:46 +05:30