Rikin Kachhia
1c6e962776
remove remote schema env var note ( #1932 )
2019-04-02 16:44:02 +05:30
Evert Smit
503190d1dc
Fix Docker for Mac DNS name in remote schema docs ( #1923 )
2019-04-02 07:25:58 +05:30
dsandip
d451b56d78
update permissions ref docs to include all config keys ( #1918 )
2019-04-01 14:28:39 +05:30
Aravind Shankar
ca7d8b3df5
rename metadata reset to metadta clear ( close #1851 ) ( #1893 )
...
The word "reset" is little ambiguous (reset to scratch or reset to last known consistent state). metadata reset clears the all the metadata to mimic a freshly installed hasura instance. This actually invokes the clear_metadata API in the backend and hence should also be called metadata clear for perfect clarity.
All references to metadata reset should be changed to metadata clear.
2019-03-29 10:44:56 +05:30
Shahidh K Muhammed
7bfcc764db
update migration, api-reference docs ( close #766 ) ( close #1345 ) ( close #1496 ) ( #1701 )
2019-03-28 16:21:58 +05:30
Simone Busoli
f6c11e545d
fix bash completion example docs on cli ( #1832 )
2019-03-28 07:28:20 +05:30
Rishichandra Wawhal
9dc833c808
add visual studio code integration guide to docs ( close #1656 ) ( #1828 )
...
add visual studio code guide to docs (close #1656 )
2019-03-27 14:07:54 +05:30
samuela
0f57e4cb4d
update jwt docs ( #1850 )
2019-03-27 14:02:47 +05:30
Tirumarai Selvan
36781199d0
breaking: drop id from event_triggers table ( fix #1840 ) ( #1857 )
2019-03-25 22:40:52 +05:30
Toan Nguyen
560c31f9fd
add a json path argument to query values inside json columns ( close #1598 ) ( #1661 )
2019-03-25 19:15:35 +05:30
Shahidh K Muhammed
b8700cce70
add spatial predicates for geography columns ( close #1674 ) ( #1735 )
...
This PR adds support for PostGIS spatial predicates on geography columns. The predicates are _st_d_within and _st_intersects.
2019-03-25 17:59:52 +05:30
Rakesh Emmadi
5bafdce9a3
fix delete mutation returning incorrect data ( fix #1794 ) ( fix #1763 ) ( #1827 )
...
From `alpha-40` we've been using a `WHERE` clause to fetch required rows and generate mutation response. This has a few limitations like the requirement of a primary key/unique constraint. This also returns inconsistent data on `delete` mutation as mentioned in #1794 .
Now, we're using `VALUES (..)` (refer [here](https://www.postgresql.org/docs/current/sql-values.html )) expression to form virtual table rows in `SQL` to generate mutation response.
Internal changes:-
- Not to use primary key/unique constraint columns:-
- Revert back to `ConstraintName` from `TableConstraint` in `TableInfo` type
- Remove `tcCols` field in `TableConstraint` type
- Modify `table_info.sql` and `fetchTableMeta` function `SQL`
- A test case to perform `delete` mutation and returning relational objects.
2019-03-22 12:38:42 +05:30
Aravind Shankar
8043ddeebf
accept a json or yaml file for metadata apply command ( close #1698 ) ( #1746 )
2019-03-20 10:40:06 +05:30
Anon Ray
6e464a1342
pg permission docs: make hasura user owner of system schemas ( fix #1697 ) ( #1727 )
...
There was a postgres permission issue in the docs. The hasura user
needed to be owner of the system schemas (hdb_catalog), otherwise it
won't be able to table schema changes during version upgrades.
2019-03-19 10:06:40 +05:30
Aravind Shankar
040bef2fd5
add options to create migration from files from sql and server ( close #1699 ) ( #1761 )
2019-03-18 22:10:04 +05:30
Rakesh Emmadi
4970fde767
document unique/primary key constraint requirement for mutation response ( #1776 )
2019-03-18 13:51:58 +05:30
Tanmai Gopal
75ec309e8a
update auth0 jwt guide to add debug instructions ( close #1769 ) ( #1771 )
2019-03-14 14:10:13 +05:30
Rikin Kachhia
6c2f64b68a
update docs ( #1748 )
...
* increase roles TOC depth
* update enum docs page
* open external links in docs in new tabs
* update nested object sort docs
2019-03-13 15:34:40 +05:30
Rikin Kachhia
c753426934
add image zoom in docs ( close #1483 ) ( #1752 )
2019-03-13 15:33:45 +05:30
Shahidh K Muhammed
efc97c0b5c
update digitalocean guide to include marketplace ( #1706 )
2019-03-07 12:40:16 +05:30
Rikin Kachhia
c35753932f
update docs ( #1696 )
2019-03-06 14:28:04 +05:30
Anon Ray
02d80c9ac6
read cookie while initialising websocket connection ( fix #1660 ) ( #1668 )
...
* read cookie while initialising websocket connection (fix #1660 )
* add tests for cookie on websocket init
* fix logic for tests
* enforce cors, and flag to force read cookie when cors disabled
- as browsers don't enforce SOP on websockets, we enforce CORS policy
on websocket handshake
- if CORS is disabled, by default cookie is not read (because XSS
risk!). Add special flag to force override this behaviour
* add log and forward origin header to webhook
- add log notice when cors is disabled, and cookie is not read on
websocket handshake
- forward origin header to webhook in POST mode. So that when CORS is
disabled, webhook can also enforce CORS independently.
* add docs, and forward all client headers to webhook
2019-03-04 13:16:53 +05:30
Rakesh Emmadi
377290a058
breaking: correct (de)serialisation of postgres numeric types in json ( fix #1523 ) ( #1662 )
2019-03-01 17:15:04 +05:30
nizar-m
1fa66dc622
add option to disable metadata and graphql apis ( close #1088 ) ( #1650 )
2019-02-28 19:23:03 +05:30
Shahidh K Muhammed
097bfb6bfa
revert "forward response headers from remote servers ( #1664 )"
...
This reverts commit c19fe35f4e
.
2019-02-28 17:20:56 +05:30
Anon Ray
c19fe35f4e
forward response headers from remote servers ( fix #1654 ) ( #1664 )
2019-02-28 17:15:07 +05:30
Nathan Waters
9cfdef3645
add fuzzy match search example to custom function docs ( #1555 )
2019-02-28 15:30:16 +05:30
Jonathan Chhabra
7d61422888
add section for unauthorized role in auth0 guide ( #1484 )
2019-02-28 15:08:16 +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
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
875076939c
update cli install instructions in migrations docs ( #1607 )
2019-02-17 17:15:34 +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
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
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
Rikin Kachhia
e8e0168da7
docs update ( #1535 )
2019-02-06 12:09:36 +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
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
Rikin Kachhia
29b2922394
update using existing database docs ( close #1417 ) ( #1460 )
2019-01-29 14:57:15 +05:30
Tanmai Gopal
c6e5add28a
update telemetry docs ( #1499 )
2019-01-28 22:27:39 +05:30
Anon Ray
4ae44f7b5d
add functions to server telemetry ( #1500 )
2019-01-28 22:16:44 +05:30
nizar-m
32387ba964
support union and interface types in remote schema ( close #1276 ) ( #1361 )
2019-01-28 22:15:10 +05:30
Shahidh K Muhammed
11e7c3f9d6
add anonymous telemetry ( #1401 )
2019-01-28 19:25:28 +05:30
Tirumarai Selvan
e590144d02
send session variables in event trigger payload ( close #1328 ) ( #1458 )
2019-01-28 11:42:52 +05:30
Rakesh Emmadi
0bf2457e23
allow exposing postgres functions through GraphQL interface ( close #333 ) ( #1073 )
2019-01-25 09:01:54 +05:30
Rikin Kachhia
5b66ca8c42
docs: cli related and syntax fix ( #1463 )
2019-01-24 19:46:34 +05:30
samuela
37da1c14a6
Update jwt.rst ( #1405 )
2019-01-21 17:38:32 +05:30
Rikin Kachhia
6ec47a94c8
update query/mutation docs pages ( #1426 )
2019-01-21 14:50:14 +05:30
Rikin Kachhia
2e72760852
add migration version limitation note in docs ( close #1108 ) ( #1413 )
2019-01-21 11:46:10 +05:30
nizar-m
916caf1575
add flag to disable prepared statements ( close #1392 ) ( #1396 )
2019-01-18 19:50:41 +05:30
Anon Ray
9c27b657d7
add docs for bypassing authorization workaround for remote schema ( close #1299 ) ( #1393 )
2019-01-18 09:48:54 +05:30
Tirumarai Selvan
aa36fc68d7
update docs community urls ( #1402 )
2019-01-17 19:02:56 +05:30
Tirumarai Selvan
9f6ce68e3c
refactor community content and folder structure ( #1353 )
2019-01-17 15:57:28 +05:30
Rakesh Emmadi
7ff1c8829a
add PostGIS operators in boolean expressions ( closes #1051 ) ( #1372 )
2019-01-17 11:51:38 +05:30
Shahidh K Muhammed
6b8120a6b2
add azure templates for existing postgres server ( #1385 )
2019-01-16 10:40:37 +05:30
Rikin Kachhia
58715100a0
show query variables in docs graphiql ( #1373 )
2019-01-15 20:04:39 +05:30
Rikin Kachhia
66b67cfe22
misc docs update ( #1374 )
2019-01-15 16:19:58 +05:30
Rikin Kachhia
03b5e76cde
add db password url encoding note ( #1359 )
2019-01-11 17:08:41 +05:30
Nathan Stitt
1b9540f996
allow specifying network interface with "server-host" option ( #1280 )
...
* allow specifying network interface with "server-host" option
* store host value as a HostPreference
* document server-host options
2019-01-11 16:37:13 +05:30
Rikin Kachhia
5820e5e41d
update docs config + base pages ( #1343 )
2019-01-08 22:39:05 +05:30
Rishichandra Wawhal
a9e2326ea8
remove auth0 webhook ref from docs and community ( #1341 )
2019-01-08 16:36:16 +05:30
Shahidh K Muhammed
feaeccba71
apply metadata also in cli migrations image ( close #1316 ) ( #1319 )
2019-01-08 14:35:03 +05:30
Rikin Kachhia
b04539bfe6
add how it works docs section ( #1227 )
2019-01-04 22:55:48 +05:30
Rishichandra Wawhal
97c4cf0e2a
update auth docs ( #1305 )
...
* fix broken auth example links
* add jwt examples
* misc auth docs changes
2019-01-04 19:31:18 +05:30
grenadejumper
f21fd41cc5
include documentation for Docker for Windows usage ( #1263 )
2018-12-31 14:16:43 +05:30
Gordon Johnston
ebf98281a5
docs: multiple root fields in subscription was removed ( #1264 )
...
In alpha33 the support for multiple root fields in a subscription was removed.
2018-12-24 12:31:17 +05:30
Rikin Kachhia
871d5e7f20
update docs ( #1221 )
2018-12-17 17:28:29 +05:30
dsandip
460fcfa755
add license information in getting started docs and do one-click guide ( #1213 )
2018-12-16 15:25:06 +05:30
Rakesh Emmadi
3026c49087
apply update permissions for upsert mutations ( #628 )
2018-12-15 21:40:29 +05:30
Rakesh Emmadi
708a29fc89
refactor server cli code, add more cli options & version command ( closes #51 , #144 , #1090 , #1195 ) ( #1200 )
2018-12-14 08:51:41 +05:30
Rikin Kachhia
b1a5e36a1e
fix syntax in docs ( #1206 )
2018-12-13 16:59:29 +05:30
Rikin Kachhia
b76039b6be
docs css refactor ( #1198 )
...
* fix cli docs toctree
* reorganize docs css
2018-12-12 21:40:32 +05:30
Rakesh Emmadi
ff6c95c2f8
allow ordering with aggregated fields ( close #1039 ) ( #1042 )
2018-12-12 18:28:39 +05:30
Anon Ray
77cbf12bb7
merge types with same structure in remote schema ( closes #1112 , #1135 ) ( #1145 )
2018-12-12 17:31:18 +05:30
Rikin Kachhia
9cbbac9456
fix titles in docs guides ( #1172 )
2018-12-07 18:03:21 +05:30
Rikin Kachhia
94f161c66e
update hasura cli docs ( #1173 )
2018-12-07 17:38:39 +05:30
Gagan Ganapathy
9e97a01665
add guide for subscriptions using apollo-client ( fix #444 ) ( #1018 )
2018-12-07 16:48:05 +05:30
dsandip
96e8536693
add docs for configuring webhook URL from env var ( #1084 )
2018-12-05 10:43:13 +05:30
Rikin Kachhia
d0effffbf6
Fix links in docs and README ( #1160 )
...
* fix docs syntax bug
* update link in README
2018-12-03 19:02:08 +05:30
Rikin Kachhia
8de12d5bcd
add table of contents to docs pages ( #1115 )
2018-12-03 17:42:24 +05:30
Rakesh Emmadi
3ea20bc4d7
allow authentication webhook with POST ( close #1138 ) ( #1147 )
2018-12-03 16:49:08 +05:30
Shahidh K Muhammed
71d9b8fd19
add create droplet button to DO docs ( #1150 )
2018-11-30 21:50:56 +05:30
Rikin Kachhia
a024f2a677
fix table in server flag docs ( #1142 )
2018-11-29 16:00:26 +05:30
Tirumarai Selvan
96e63d1da5
add details about current role more explicit ( #1140 )
2018-11-29 15:11:59 +05:30
Arpit Kushwaha
e3a3f2f6f8
typo fix in docs ( #1125 )
2018-11-29 10:31:04 +05:30
Shahidh K Muhammed
c985a6d1ed
update demo app links ( #1122 )
2018-11-27 16:01:56 +05:30
Anon Ray
512ee6fb9f
adds basic support for remote schemas/schema stitching ( #952 )
2018-11-23 18:32:46 +05:30
Rikin Kachhia
5b6a3862dc
modify many-to-many relationship docs ( close #1058 ) ( #1061 )
2018-11-23 14:59:03 +05:30
Shahidh K Muhammed
6fb24d5bf0
update server dockerfile, install manifests and docs ( #1097 )
2018-11-23 14:47:31 +05:30
Shahidh K Muhammed
64ec4e8207
update docs for pg_dump ( #1098 )
2018-11-23 13:44:34 +05:30
Rakesh Emmadi
58fe579497
support Postgres's DISTINCT ON ( close #1040 ) ( #1099 )
2018-11-23 07:23:56 +05:30
Dimitrios Mavrommatis
ef6e53a407
change descending ordering to nulls first ( fix #1008 ) ( #1009 )
2018-11-22 10:28:18 +05:30
Rikin Kachhia
f25d49a9ca
update multiple mutation docs with nested insert ( #1043 )
2018-11-19 16:13:17 +05:30
Praveen Durairaj
77a1f756de
add auth0 integration guide ( #1044 )
2018-11-18 11:38:10 +05:30
Praveen Durairaj
19a0dd9789
update jwt-config generate section ( #1036 )
...
* update jwt-config generate section
* update jwt claim rule for auth0
2018-11-15 18:51:25 +05:30
Rakesh Emmadi
b6773b36cd
add aggregations docs ( close #988 ) ( #991 )
...
* add aggregations docs
* add statistical aggregate functions
* change aggregation query page title
* fix api reference pages syntax bugs
* update query derived data docs page
* add better examples for aggregation docs
2018-11-15 17:13:03 +05:30
Rakesh Emmadi
1539d6b5a6
server port can be set with HASURA_GRAPHQL_SERVER_PORT env variable, closes #1033 ( #1038 )
2018-11-15 10:25:39 +05:30