Commit Graph

670 Commits

Author SHA1 Message Date
Rakesh Emmadi
c731fde1e3 enforce column presets of update permission with upserts (fix #1647) (#1653) 2019-02-23 16:06:42 +05:30
Tirumarai Selvan
7851015cb2 refactor event processing logic (#1639) 2019-02-22 17:55:36 +05:30
Rakesh Emmadi
0833d35088 generate scalar types for SQL function arguments (fix #1632) (#1633)
Also involved a refactor of the internals to localise the context needed for each field
2019-02-22 15:57:38 +05:30
Anne Ogborn
6eae576e79 update dependencies needed for apollo in apollo-subscriptions guide (close #1643) (#1644) 2019-02-22 12:00:52 +05:30
Rikin Kachhia
626af8939f
handle empty header key in console APIExplorer (#1641) 2019-02-22 11:59:23 +05:30
Pilou
e7fba40fad added auth-jwt-roles boilerplate (#1570)
Added a boilerplate from [this original repository](https://github.com/platyplus/authentication-server) based on the discussions in [this issue](https://github.com/hasura/graphql-engine/issues/1420) and [this issue](https://github.com/hasura/graphql-engine/issues/1446).

[skip ci]
2019-02-21 16:42:47 +05:30
Praveen Durairaj
5fc2df2766 add nextjs-8-serverless sample app (#1640) 2019-02-21 15:27:20 +05:30
Shahidh K Muhammed
d3b994885e add google cloud gke cloud sql deployment guide to docs (close #1386) (#1628) 2019-02-20 14:09:50 +05:30
Rikin Kachhia
5a1fc5d46c
update console unable to connect to server msg (#1625) 2019-02-19 18:11:57 +05:30
Praveen Durairaj
6ef0b4dfdf fix console hot reloading and upgrade to babel 7 (#1618) 2019-02-19 14:00:48 +05:30
Igor Pashev
7ccc91ec4f remove grep from server makefile (#1614)
awk can do all the job.
2019-02-19 12:20:54 +05:30
Praveen Durairaj
76b51216fc fix ace editor cursor to match with the text (#1620) 2019-02-19 10:01:23 +05:30
Rikin Kachhia
875076939c
update cli install instructions in migrations docs (#1607) 2019-02-17 17:15:34 +05:30
Rishichandra Wawhal
386ab81b96 make events and remote-schema tabs independent of update checker (#1604)
* fix a bug where update check request failure would stop remote-schemas and event triggers tab from loading

* update graphiql test for with and without admin secret

* remove dev data api url from localDev env
2019-02-17 17:14:52 +05:30
Rikin Kachhia
75674859b3
update console permissions (close #1503, #1529, #1567, #1470) (#1605)
* show roles from all tables/views in the schema
* show operators and set values based on field type in permission builder
* add support for jsonb and postgis operators in permission builder
* add note for permissions for relationships
* enable only one Save permissions button if apply to other roles is selected
2019-02-17 16:06:29 +05:30
Rakesh Emmadi
7334c65087 update operators in metadata api docs (#1610) 2019-02-15 18:18:18 +05:30
Rikin Kachhia
c90b03dbc7
fix docs content (#1603) 2019-02-14 16:44:25 +05:30
Shahidh K Muhammed
12ecea16d0 update manifests to v1.0.0-alpha38 2019-02-14 15:10:02 +05:30
nizar-m
f83a8e591f rename access-key to admin-secret (close #1347) (#1540)
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret.

Server CLI and console all support the older flag but marks it as deprecated.
2019-02-14 15:07:47 +05:30
Tirumarai Selvan
51dd6157e1 remove wreq and set response timeout (close #1477) (#1501) 2019-02-14 13:07:59 +05:30
Aravind Shankar
d489f2d90f added a cli flag to skip update checks (close #1586) (#1600)
adds a global flag `--skip-update-check`
2019-02-14 11:46:36 +05:30
Anon Ray
199a24d050 add support for multiple domains in cors config (close #1436) (#1536)
Support for multiple domains (as CSV) in the `--cors-domain` flag and `HASURA_GRAPHQL_CORS_DOMAIN` env var.

Following are all valid configurations (must include scheme and optional port):
```shell
HASURA_GRAPHQL_CORS_DOMAIN="https://*.foo.bar.com:8080"
HASURA_GRAPHQL_CORS_DOMAIN="https://*.foo.bar.com, http://*.localhost, https://example.com"
HASURA_GRAPHQL_CORS_DOMAIN="*"
HASURA_GRAPHQL_CORS_DOMAIN="http://example.com, http://*.localhost, http://localhost:3000, https://*.foo.bar.com, https://foo.bar.com"
```

**Note**: top-level domains are not considered as part of wildcard domains. You have to add them separately. E.g - `https://*.foo.com` doesn't include `https://foo.com`.

The default (if the flag or env var is not specified) is `*`. Which means CORS headers are sent for all domains.
2019-02-14 11:28:38 +05:30
Vamshi Surabhi
68bb898b24
Update CONTRIBUTING.md 2019-02-14 10:47:27 +05:30
Vamshi Surabhi
392a37f12a
Update CONTRIBUTING.md 2019-02-14 10:46:14 +05:30
Rakesh Emmadi
2054bdc44e do not allow overloading already tracked functions (#1563) 2019-02-14 09:35:18 +05:30
Rakesh Emmadi
cba732d439 support column presets in update mutation (closes #1449, closes #1464) (#1473)
Also restricts altering type of columns which are used in presets
2019-02-11 18:15:30 +05:30
Rishichandra Wawhal
61aa39ee35 fix add-column button overflow in modify table (#1518) 2019-02-11 16:27:51 +05:30
Rishichandra Wawhal
ca7e2167e5 fix a bug where div keys repetition caused buggy render (#1578) 2019-02-11 16:27:26 +05:30
Praveen Durairaj
9c914f5637 add react-static-graphql sample app (#1569) 2019-02-08 15:14:35 +05:30
Tirumarai Selvan
9a6fa7fafc add delivery info to event payload (close #1476) (#1517)
Adds the following to the event payload:
```
    "delivery_info": {
        "max_retries": 0,
        "current_retry": 0
    }
```
2019-02-07 18:07:28 +05:30
mnlbox
572a563dfa add docker-compose-pgadmin manifest (close #1424) (#1494) 2019-02-07 17:20:27 +05:30
Karthik Venkateswaran
ad72984749 fix console custom functions bug (close #1561) (#1566) 2019-02-06 23:27:57 +05:30
Karthik Venkateswaran
39982d459a fix custom functions console bugs (close #1548, #1549) (#1552) 2019-02-06 22:00:57 +05:30
Rikin Kachhia
4bf9d19b13
fix console permissions bug (#1562) 2019-02-06 13:26:55 +05:30
Rikin Kachhia
e8e0168da7 docs update (#1535) 2019-02-06 12:09:36 +05:30
Shahidh K Muhammed
a25099427f
Create CODEOWNERS file (#1565)
This will automatically request reviews from owners https://help.github.com/articles/about-code-owners/
2019-02-06 11:13:35 +05:30
Shahidh K Muhammed
55cc5fb044
cli: add new install script, commands (#1556) 2019-02-05 18:21:21 +05:30
Anon Ray
4f6462e98f add config for stringified hasura claims in JWT (fix #1176) (#1538) 2019-02-05 17:34:16 +05:30
Rakesh Emmadi
96f8b05326 don't allow altering tracked SQL functions type to VOLATILE (fix #1546) (#1547) 2019-02-05 11:27:03 +05:30
Rikin Kachhia
729ed5b22f
fix docs footer for mobile (#1557) 2019-02-04 19:42:09 +05:30
Aravind Shankar
20be2e5ab1 add update-cli command to cli (close #1239) (#1251) 2019-02-04 16:21:29 +05:30
Darío Javier Cravero
5739b75000 allow exporting async functions as databases in json2graphql (#1543) 2019-02-01 17:04:36 +05:30
nizar-m
68da491d9d Improve error message when no operation specs are provided during event trigger creation (close #998) (#1541) 2019-02-01 15:07:38 +05:30
dsandip
5ea5424bfe add AGPL caveat in README (#1537) 2019-01-31 12:28:47 +05:30
Karthik Venkateswaran
1268ef63df don't strip x-hasura-access-key from headers for explain/analyze query, closes #1533 (#1534) 2019-01-31 11:13:24 +05:30
yiksanchan
2893fe7126 fix a typo in realtime chat sample app (#1522)
Fix a typo.
2019-01-30 12:57:29 +05:30
Daniel Compton
a5c9347d75 update help text for console command (close #1507) (#1508) 2019-01-29 21:32:49 +05:30
Rishichandra Wawhal
b9b13d47b9 Update README.md (#1380)
update readme for firebase-cloud-functions
2019-01-29 21:30:48 +05:30
Patt-tom McDonnell
638b837f17 sort table names alphabetically when creating new triggers (#1194) 2019-01-29 21:28:10 +05:30
Gopal Ojha
cf7d482652 add note for env var usage in webhook, remote schema urls (fix #970) (#1384) 2019-01-29 21:26:57 +05:30