Commit Graph

1093 Commits

Author SHA1 Message Date
dsandip
6a5f17c3a0 update auth docs (#1796) 2019-05-17 17:33:35 +05:30
Ajeet D'Souza
375a5db602 learn: fix typos (#2184) 2019-05-17 17:14:12 +05:30
Kittitat Upaphong
fd1577aab6 learn: update backend remote-schema doc (#2206)
need to add a protocol to the domain, otherwise will get an error 'Only absolute URLs are supported'.
2019-05-17 11:33:08 +05:30
Praveen Durairaj
a6d3fd2968 ra-data-hasura: add custom primary key support (#2194) 2019-05-16 21:16:35 +05:30
Shahidh K Muhammed
97246f95fc update manifests to v1.0.0-beta.1 2019-05-16 17:01:50 +05:30
Shahidh K Muhammed
7c89e951f2 serve console assets without any authorization checks (#2201) 2019-05-16 16:58:50 +05:30
Rishichandra Wawhal
aae8a1c72d community: add multiplayer tic tac toe to sample apps (#2150) 2019-05-16 16:36:22 +05:30
Shahidh K Muhammed
49535e447a update manifests to v1.0.0-beta.01 2019-05-16 14:45:15 +05:30
Anon Ray
81bdfafd69 ignore content-type header in auth webhook (#2197) 2019-05-16 14:41:15 +05:30
Rishichandra Wawhal
3ef1219fa0 change default endpoint to v1/graphql; remove semver checks (#2181) 2019-05-16 14:38:44 +05:30
Shahidh K Muhammed
76ceb707f4
bundle console assets into server (close #516, close #521, close #2130) (#2192)
This PR builds console static assets into the server docker image at `/srv/console-assets`. When env var `HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets` or flag `--console-assets-dir=/srv/console-assets` is set on the server, the files in this directory are served at `/console/assets/*`.

The console html template will have a variable called `cdnAssets: false` when this flag is set and it loads assets from server itself instead of CDN.

The assets are moved to a new bucket with a new naming scheme:

```
graphql-engine-cdn.hasura.io/console/assets/
   /common/{}
   /versioned/<version/{}
   /channel/<channel>/<version>/{}
```

Console served by CLI will still load assets from CDN - will fix that in the next release.
2019-05-16 13:15:29 +05:30
Rikin Kachhia
8b21ccbb0b add version requirement notes for features in docs (#2196) 2019-05-16 11:49:22 +05:30
Rakesh Emmadi
0b210cc245 support allow-list for graphql queries (closes #989) (#2075) 2019-05-16 11:43:25 +05:30
Rikin Kachhia
d6995c3547
add schema create/delete options in console (closes #2142) (#2143) 2019-05-15 19:30:44 +05:30
Rishichandra Wawhal
5c07ebc512 support composite unique keys from the console (close #506) (#2148) 2019-05-15 16:59:09 +05:30
Rishichandra Wawhal
5a8a34b8cf fix column comment handling in modify (fix #2164) (#2187) 2019-05-15 13:35:29 +05:30
Anon Ray
935eaf2211 booleans from env are case insensitve (fix #2177) (#2182) 2019-05-14 16:52:05 +05:30
Anon Ray
7d03e7af2f fix non-200 response for authorization errors on /v1/graphql (#2173) 2019-05-14 16:50:55 +05:30
Praveen Durairaj
8e0db21364 learn: multiple fixes (#2158) 2019-05-14 16:27:59 +05:30
Rakesh Emmadi
c6f40df6d5 close websocket connection on JWT expiry (fix #578) (#2156) 2019-05-14 11:54:46 +05:30
Anon Ray
ee783e142e fix sending duplicate content-type header to remote schemas (fix #2159) (#2170) 2019-05-13 18:17:01 +05:30
Rishichandra Wawhal
83234ef48a learn: add custom graphiql for react native (#2169) 2019-05-13 15:27:59 +05:30
Tirumarai Selvan
36e49ea75b manual event triggers (close #1687) (#2077) 2019-05-13 15:11:07 +05:30
Rishichandra Wawhal
5f903e40c9 learn: add react native tutorial (#2136) 2019-05-13 13:02:51 +05:30
Manishalexin
5b2be6f200 learn: add ios tutorial (close #2161) (#2162) 2019-05-13 12:10:00 +05:30
Praveen Durairaj
cede01570b learn: update homepage design (#2166) 2019-05-13 10:34:51 +05:30
Praveen Durairaj
80fdceaac7 community: react-apollo-todo: fix update todo queries (#2157) 2019-05-10 19:40:12 +05:30
Praveen Durairaj
eff684cc6a learn: add custom auth webhook for tutorials (#2154) 2019-05-10 15:37:56 +05:30
Praveen Durairaj
a63009c1cf learn: add vue graphql tutorials (#2091) 2019-05-10 15:33:30 +05:30
Praveen Durairaj
4253817c43 learn: add hasura backend course (#2134) 2019-05-10 15:06:24 +05:30
Rikin Kachhia
0bb96883d6
fix function table permission url (#2152) 2019-05-10 12:53:08 +05:30
Anon Ray
a21f6cd648 introduce v1/graphql (fix #1368) (#2064)
Changes compared to `/v1alpha1/graphql`

* Changed all graphql responses in **/v1/graphql** endpoint to be 200. All graphql clients expect responses to be HTTP 200. Non-200 responses are considered transport layer errors. 

* Errors in http and websocket layer are now consistent and have similar structure.
2019-05-10 11:35:10 +05:30
Arpit Kushwaha
d942266c59 update remote schema doc (#2149) 2019-05-09 16:10:41 +05:30
Praveen Durairaj
3080100d8f update auth0 guide (#2145) 2019-05-09 13:02:42 +05:30
Rakesh Emmadi
204cd3514b optimise server startup time (close #1430) (#2120)
1. Reuses postgres connections during startup which reduces the overhead of opening and closing connections. 
2. Faster schema cache building. This is done by fetching all the required data in a single sql statement.
2019-05-08 13:06:42 +05:30
Rishichandra Wawhal
a0bed89283 fix relationship rename for non-public schemas (close #1777) (#2127) 2019-05-07 17:54:44 +05:30
Vamshi Surabhi
fd85d0ba5b document subscriptions related config parameters (#2126) 2019-05-07 17:51:37 +05:30
swyx
57378dd21e add instructions on netlify function as event trigger (#2110) 2019-05-07 12:01:56 +05:30
Rikin Kachhia
5b9e99acd3 sanitize migration filenames (close #2094) (#2123) 2019-05-07 11:40:38 +05:30
savil
b2d98fba87 community: fix broken links (#1963)
the directory refactoring left these image URLs dangling
2019-05-07 11:06:19 +05:30
Shahidh K Muhammed
564bcb0239 update manifests to v1.0.0-alpha45 2019-05-06 16:58:57 +05:30
Anon Ray
dfaf7d3a1f fix duplicate headers being sent to remote schema (#2118) 2019-05-06 16:57:34 +05:30
Praveen Durairaj
fc4638fc9d ra-data-hasura: add support for multiple schemas (close #1729) (#2068) 2019-05-06 14:53:35 +05:30
Praveen Durairaj
e828ec9948 graphql-tutorials: remove gatsby tutorial site (#2119) 2019-05-06 14:52:10 +05:30
Praveen Durairaj
8538b5dadb graphql-tutorials: add videos to react tutorial (#2115) 2019-05-03 21:08:27 +05:30
Rakesh Emmadi
c4c36e0ef4 schema cache sync improvements (#2098)
* build schema cache function without db setup

The setup shouldn't happen for sync. The database is already setup by the instance which generated the event. This means that the sync is now faster.

* use SQL loop to drop hdb_views schema views and routines with ordering

This avoids deadlocks when schema is being changed concurrently

* schema sync now only processes the latest event

This becomes useful when a lot of schema change
events happen while we are still processing an
earlier event.
2019-05-03 16:12:26 +05:30
Rikin Kachhia
b24456788c
fix set column as unique bug (close #2096) (#2108) 2019-05-03 13:10:27 +05:30
Rikin Kachhia
c87940ae42
fix console expandable editor styles (#2111) 2019-05-03 13:09:33 +05:30
Rakesh Emmadi
b436948e7f update schema cache on a column's null-ability or type changes (fix #2101) (#2106) 2019-05-02 18:01:32 +05:30
Praveen Durairaj
09805e4124 tutorials: learn react sitemaps, content fixes (closes #2090) (#2079)
* added sitemap, content fix

* update content, fix content selection

* remove console.log

* add github links

* support moz-user-select-none

* fix mobile navigation collapse
2019-04-30 14:40:58 +05:30