Commit Graph

807 Commits

Author SHA1 Message Date
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
Rikin Kachhia
6fc78d2a3d
update docs footer (#1519) 2019-01-29 21:24:56 +05:30
samuela
f5bf7c961b update create relationship docs (#1481) 2019-01-29 20:10:13 +05:30
Shahidh K Muhammed
31050af32c update manifests to v1.0.0-alpha37 2019-01-29 15:45:32 +05:30
Rakesh Emmadi
4ef50d95c7 hdb_views should always be cleared before building schema cache (#1513) 2019-01-29 15:39:58 +05:30
Rikin Kachhia
29b2922394
update using existing database docs (close #1417) (#1460) 2019-01-29 14:57:15 +05:30
Rishichandra Wawhal
ef565590af remove the usage of spread operator in setState (#1490) 2019-01-29 13:10:53 +05:30
Shahidh K Muhammed
9b36dca243 update manifests to v1.0.0-alpha36 2019-01-29 10:56:25 +05:30
Shahidh K Muhammed
0bb233e825
infer topic based on version set in telemetry struct (#1511) 2019-01-29 10:37:22 +05:30
Rakesh Emmadi
3caff9b924 support jsonb and postgis operators in permissions (#1461)
* support jsonb and geometry operators on RQL bool exps, close #1408

* add tests for jsonb operators in /v1/query

TODO:-
-> add tests for geometry (postgis) operators

* support parsing session variables for st_d_within and has_key ops

-> Add tests for boolExp operators and select permissions

* improve parsing $st_d_within op's json value logic
2019-01-28 23:16:31 +05:30
Tanmai Gopal
c6e5add28a update telemetry docs (#1499) 2019-01-28 22:27:39 +05:30
Anupam Dagar
e528445c45 change json field placeholder from 'asdf' to 'bar' (close #1260) (#1261) 2019-01-28 22:24:55 +05:30
Anon Ray
91c19ecf3d test jwt with invalid signtaure and expired token (#1492) 2019-01-28 22:22:43 +05:30
Anon Ray
4ae44f7b5d add functions to server telemetry (#1500) 2019-01-28 22:16:44 +05:30